@futdevpro/ccap 1.1.2465 → 1.1.2468
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/client-dist/{agent-instances.module-MRNWJLZO.js → agent-instances.module-VUQ3WKL7.js} +2 -2
- package/client-dist/{ca.module-WKTMY2BD.js → ca.module-VM6IQMRU.js} +2 -2
- package/client-dist/{cc.module-DBOF4GX6.js → cc.module-GJA6CC23.js} +2 -2
- package/client-dist/{chunk-WGMOPLZ6.js → chunk-2FOCFCO5.js} +2 -2
- package/client-dist/{chunk-3TIB5YD2.js → chunk-3MFVD5RM.js} +2 -2
- package/client-dist/{chunk-HDI6OFJK.js → chunk-3WQIXQZM.js} +2 -2
- package/client-dist/{chunk-B3UDFK6B.js → chunk-4LKPVMO6.js} +2 -2
- package/client-dist/{chunk-WOMOERTP.js → chunk-5AR5R5RF.js} +2 -2
- package/client-dist/{chunk-BY5S7LBN.js → chunk-5ZVPZQXF.js} +2 -2
- package/client-dist/{chunk-EORRGY6D.js → chunk-64PKHZ5H.js} +2 -2
- package/client-dist/{chunk-6FREFSZS.js → chunk-7A3YPIVH.js} +2 -2
- package/client-dist/{chunk-MJPCYBF7.js → chunk-7JQOJYSC.js} +2 -2
- package/client-dist/{chunk-SZSOPHEM.js → chunk-7TNUH2IP.js} +2 -2
- package/client-dist/{chunk-73D6QEBK.js → chunk-AG5BHZGU.js} +2 -2
- package/client-dist/{chunk-KACOL75A.js → chunk-AY3NSOV3.js} +2 -2
- package/client-dist/{chunk-PNW32G55.js → chunk-B2DDYYPJ.js} +2 -2
- package/client-dist/{chunk-KUFNFR6T.js → chunk-BO2II3FZ.js} +2 -2
- package/client-dist/{chunk-5T5TQB7Y.js → chunk-BUIONWGD.js} +2 -2
- package/client-dist/{chunk-S7EQ7FSV.js → chunk-BVDTPDKF.js} +2 -2
- package/client-dist/{chunk-QAWRTTIN.js → chunk-C3HRVDPN.js} +2 -2
- package/client-dist/{chunk-VNEJHE75.js → chunk-CB3N5MSJ.js} +2 -2
- package/client-dist/{chunk-ZJ6ZYEXF.js → chunk-CPALPE2Y.js} +2 -2
- package/client-dist/{chunk-MHV4MGPW.js → chunk-CYQPGGDE.js} +2 -2
- package/client-dist/{chunk-F3Y3FOCP.js → chunk-DAUPED3D.js} +2 -2
- package/client-dist/{chunk-S4Y5DTHG.js → chunk-DFZZPUYK.js} +2 -2
- package/client-dist/{chunk-XRBSKRT5.js → chunk-DVXIB53D.js} +2 -2
- package/client-dist/{chunk-7YJ4FCW7.js → chunk-EKQ3XRMK.js} +2 -2
- package/client-dist/{chunk-WUOXMHQP.js → chunk-FDTK6XR4.js} +2 -2
- package/client-dist/{chunk-B62KXF5I.js → chunk-FPNHVMER.js} +2 -2
- package/client-dist/{chunk-OJZR7AFD.js → chunk-FWYD3ZQP.js} +2 -2
- package/client-dist/{chunk-BJYO3IOZ.js → chunk-GLZ6RU6H.js} +2 -2
- package/client-dist/{chunk-2UQV3LEA.js → chunk-H2V5H5F3.js} +2 -2
- package/client-dist/{chunk-RRXZRYFL.js → chunk-H3K575DX.js} +2 -2
- package/client-dist/{chunk-C5W7UJHU.js → chunk-ICEEU2HD.js} +2 -2
- package/client-dist/{chunk-VCAUGN65.js → chunk-J47AXPZA.js} +2 -2
- package/client-dist/{chunk-BJPYSBOT.js → chunk-JFLJIMP3.js} +2 -2
- package/client-dist/{chunk-Q4W4WATF.js → chunk-JNQIC7ZR.js} +2 -2
- package/client-dist/{chunk-33C4ER4Z.js → chunk-JQMDH3HQ.js} +2 -2
- package/client-dist/{chunk-FIWWFQAG.js → chunk-K5S3TYV3.js} +2 -2
- package/client-dist/{chunk-FIWWFQAG.js.map → chunk-K5S3TYV3.js.map} +1 -1
- package/client-dist/{chunk-QR2HLBR4.js → chunk-KP4M4EEU.js} +2 -2
- package/client-dist/{chunk-RCDWNDY4.js → chunk-KQJYXBQY.js} +2 -2
- package/client-dist/{chunk-24TTUBSZ.js → chunk-LYUVOMIT.js} +2 -2
- package/client-dist/{chunk-PAFN4A3X.js → chunk-MCOTJOET.js} +2 -2
- package/client-dist/{chunk-OX655XP7.js → chunk-N7PULJLP.js} +2 -2
- package/client-dist/{chunk-6VUXCPPZ.js → chunk-NHCMMBIN.js} +2 -2
- package/client-dist/{chunk-ESLRZUKP.js → chunk-NTU4O7S5.js} +2 -2
- package/client-dist/{chunk-GCJK6PQ4.js → chunk-OYBKARKA.js} +2 -2
- package/client-dist/{chunk-4QVAT7G2.js → chunk-RFTPKD64.js} +2 -2
- package/client-dist/{chunk-32CYSU2C.js → chunk-RUJR3URW.js} +2 -2
- package/client-dist/{chunk-ZRNECP4X.js → chunk-RXCW5FOQ.js} +2 -2
- package/client-dist/{chunk-OU6LZKDC.js → chunk-SE4DVRGX.js} +2 -2
- package/client-dist/{chunk-RFPMXFCO.js → chunk-SM7WXSR6.js} +2 -2
- package/client-dist/{chunk-MY2LZHOM.js → chunk-VBQ4ALUA.js} +2 -2
- package/client-dist/{chunk-QJQCOC4R.js → chunk-WI4FBNXN.js} +2 -2
- package/client-dist/{chunk-MIHFTLSB.js → chunk-XCXZFV67.js} +2 -2
- package/client-dist/{chunk-S5XOSBYJ.js → chunk-XJ4CPKPR.js} +2 -2
- package/client-dist/{chunk-EITST6EO.js → chunk-XJ5DOJTL.js} +2 -2
- package/client-dist/{chunk-YYMJS7TD.js → chunk-YUOOW6KN.js} +2 -2
- package/client-dist/{chunk-HHO3FIZ6.js → chunk-ZEBCI46A.js} +2 -2
- package/client-dist/{consultant.module-UEP4DFBD.js → consultant.module-NS65LNJ2.js} +2 -2
- package/client-dist/{crd.module-ML3X5IM3.js → crd.module-CWSKPV6U.js} +2 -2
- package/client-dist/{dashboard.module-FIZ3JNMY.js → dashboard.module-5WQDFPFK.js} +2 -2
- package/client-dist/{do.module-JK6CIZB6.js → do.module-37JCY4EO.js} +2 -2
- package/client-dist/{document-library.module-UGVOV6VQ.js → document-library.module-RZ5GE64U.js} +2 -2
- package/client-dist/{embedding-eval.module-ASVHBJUS.js → embedding-eval.module-OIEBWGII.js} +2 -2
- package/client-dist/{embedding-registry.module-IOXI3UAB.js → embedding-registry.module-VCUPNBXP.js} +2 -2
- package/client-dist/{err.module-5PE5JMMA.js → err.module-HBVIW6BY.js} +2 -2
- package/client-dist/{feedback.module-TWLEAY6X.js → feedback.module-ZKNVJOZF.js} +2 -2
- package/client-dist/{host-runtime-mcp.module-K42AQTG7.js → host-runtime-mcp.module-S4MCNBLO.js} +2 -2
- package/client-dist/index.html +1 -1
- package/client-dist/{live-dev-pipeline.module-CZCQGABC.js → live-dev-pipeline.module-2FOHOCOQ.js} +2 -2
- package/client-dist/{logs.module-IP7M627V.js → logs.module-7DKVIQSQ.js} +2 -2
- package/client-dist/{main-ZKRKWJJY.js → main-ORVDVXMK.js} +3 -3
- package/client-dist/{master-control-remote-poc.module-BXVHPW62.js → master-control-remote-poc.module-3ELNMU7A.js} +2 -2
- package/client-dist/{mobile-app.module-3H6EE7JT.js → mobile-app.module-WUHONAVH.js} +2 -2
- package/client-dist/{model-registry.module-CN4FUQ2P.js → model-registry.module-DQE3DNYQ.js} +2 -2
- package/client-dist/{oc.module-FN6OMS3L.js → oc.module-T3OXTPGY.js} +2 -2
- package/client-dist/{orc.module-A6QFZNHJ.js → orc.module-7HMOGZKS.js} +2 -2
- package/client-dist/{project-management.module-3VRNTOY6.js → project-management.module-R3B53UYO.js} +2 -2
- package/client-dist/project-source-routed.module-W2ADCTZQ.js +2 -0
- package/client-dist/{scheduler.module-XB5GBDI2.js → scheduler.module-UUA562NK.js} +2 -2
- package/client-dist/{session.module-QEYX2DGX.js → session.module-K2CHG4CQ.js} +2 -2
- package/client-dist/{set.module-AUXKVJTL.js → set.module-TE4TKCOE.js} +2 -2
- package/client-dist/{setup.module-66ZMYWDY.js → setup.module-ESOXJJYC.js} +2 -2
- package/client-dist/{terminals.module-XFVFOW46.js → terminals.module-EIMUWKQX.js} +2 -2
- package/client-dist/{voice-notes-poc.module-NIQODCHZ.js → voice-notes-poc.module-JDWELA76.js} +2 -2
- package/client-dist/{wfs.module-3GBXYWN2.js → wfs.module-A3K3IDFV.js} +2 -2
- package/package.json +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal.control-service.d.ts +10 -0
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal.control-service.d.ts.map +1 -1
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal.control-service.js +46 -5
- package/server/build/src/_modules/external-sessions/_modules/claude-code/_services/core/terminal/cc-adapter-terminal.control-service.js.map +1 -1
- package/client-dist/project-source-routed.module-C4NQNIYT.js +0 -2
- /package/client-dist/{agent-instances.module-MRNWJLZO.js.map → agent-instances.module-VUQ3WKL7.js.map} +0 -0
- /package/client-dist/{ca.module-WKTMY2BD.js.map → ca.module-VM6IQMRU.js.map} +0 -0
- /package/client-dist/{cc.module-DBOF4GX6.js.map → cc.module-GJA6CC23.js.map} +0 -0
- /package/client-dist/{chunk-WGMOPLZ6.js.map → chunk-2FOCFCO5.js.map} +0 -0
- /package/client-dist/{chunk-3TIB5YD2.js.map → chunk-3MFVD5RM.js.map} +0 -0
- /package/client-dist/{chunk-HDI6OFJK.js.map → chunk-3WQIXQZM.js.map} +0 -0
- /package/client-dist/{chunk-B3UDFK6B.js.map → chunk-4LKPVMO6.js.map} +0 -0
- /package/client-dist/{chunk-WOMOERTP.js.map → chunk-5AR5R5RF.js.map} +0 -0
- /package/client-dist/{chunk-BY5S7LBN.js.map → chunk-5ZVPZQXF.js.map} +0 -0
- /package/client-dist/{chunk-EORRGY6D.js.map → chunk-64PKHZ5H.js.map} +0 -0
- /package/client-dist/{chunk-6FREFSZS.js.map → chunk-7A3YPIVH.js.map} +0 -0
- /package/client-dist/{chunk-MJPCYBF7.js.map → chunk-7JQOJYSC.js.map} +0 -0
- /package/client-dist/{chunk-SZSOPHEM.js.map → chunk-7TNUH2IP.js.map} +0 -0
- /package/client-dist/{chunk-73D6QEBK.js.map → chunk-AG5BHZGU.js.map} +0 -0
- /package/client-dist/{chunk-KACOL75A.js.map → chunk-AY3NSOV3.js.map} +0 -0
- /package/client-dist/{chunk-PNW32G55.js.map → chunk-B2DDYYPJ.js.map} +0 -0
- /package/client-dist/{chunk-KUFNFR6T.js.map → chunk-BO2II3FZ.js.map} +0 -0
- /package/client-dist/{chunk-5T5TQB7Y.js.map → chunk-BUIONWGD.js.map} +0 -0
- /package/client-dist/{chunk-S7EQ7FSV.js.map → chunk-BVDTPDKF.js.map} +0 -0
- /package/client-dist/{chunk-QAWRTTIN.js.map → chunk-C3HRVDPN.js.map} +0 -0
- /package/client-dist/{chunk-VNEJHE75.js.map → chunk-CB3N5MSJ.js.map} +0 -0
- /package/client-dist/{chunk-ZJ6ZYEXF.js.map → chunk-CPALPE2Y.js.map} +0 -0
- /package/client-dist/{chunk-MHV4MGPW.js.map → chunk-CYQPGGDE.js.map} +0 -0
- /package/client-dist/{chunk-F3Y3FOCP.js.map → chunk-DAUPED3D.js.map} +0 -0
- /package/client-dist/{chunk-S4Y5DTHG.js.map → chunk-DFZZPUYK.js.map} +0 -0
- /package/client-dist/{chunk-XRBSKRT5.js.map → chunk-DVXIB53D.js.map} +0 -0
- /package/client-dist/{chunk-7YJ4FCW7.js.map → chunk-EKQ3XRMK.js.map} +0 -0
- /package/client-dist/{chunk-WUOXMHQP.js.map → chunk-FDTK6XR4.js.map} +0 -0
- /package/client-dist/{chunk-B62KXF5I.js.map → chunk-FPNHVMER.js.map} +0 -0
- /package/client-dist/{chunk-OJZR7AFD.js.map → chunk-FWYD3ZQP.js.map} +0 -0
- /package/client-dist/{chunk-BJYO3IOZ.js.map → chunk-GLZ6RU6H.js.map} +0 -0
- /package/client-dist/{chunk-2UQV3LEA.js.map → chunk-H2V5H5F3.js.map} +0 -0
- /package/client-dist/{chunk-RRXZRYFL.js.map → chunk-H3K575DX.js.map} +0 -0
- /package/client-dist/{chunk-C5W7UJHU.js.map → chunk-ICEEU2HD.js.map} +0 -0
- /package/client-dist/{chunk-VCAUGN65.js.map → chunk-J47AXPZA.js.map} +0 -0
- /package/client-dist/{chunk-BJPYSBOT.js.map → chunk-JFLJIMP3.js.map} +0 -0
- /package/client-dist/{chunk-Q4W4WATF.js.map → chunk-JNQIC7ZR.js.map} +0 -0
- /package/client-dist/{chunk-33C4ER4Z.js.map → chunk-JQMDH3HQ.js.map} +0 -0
- /package/client-dist/{chunk-QR2HLBR4.js.map → chunk-KP4M4EEU.js.map} +0 -0
- /package/client-dist/{chunk-RCDWNDY4.js.map → chunk-KQJYXBQY.js.map} +0 -0
- /package/client-dist/{chunk-24TTUBSZ.js.map → chunk-LYUVOMIT.js.map} +0 -0
- /package/client-dist/{chunk-PAFN4A3X.js.map → chunk-MCOTJOET.js.map} +0 -0
- /package/client-dist/{chunk-OX655XP7.js.map → chunk-N7PULJLP.js.map} +0 -0
- /package/client-dist/{chunk-6VUXCPPZ.js.map → chunk-NHCMMBIN.js.map} +0 -0
- /package/client-dist/{chunk-ESLRZUKP.js.map → chunk-NTU4O7S5.js.map} +0 -0
- /package/client-dist/{chunk-GCJK6PQ4.js.map → chunk-OYBKARKA.js.map} +0 -0
- /package/client-dist/{chunk-4QVAT7G2.js.map → chunk-RFTPKD64.js.map} +0 -0
- /package/client-dist/{chunk-32CYSU2C.js.map → chunk-RUJR3URW.js.map} +0 -0
- /package/client-dist/{chunk-ZRNECP4X.js.map → chunk-RXCW5FOQ.js.map} +0 -0
- /package/client-dist/{chunk-OU6LZKDC.js.map → chunk-SE4DVRGX.js.map} +0 -0
- /package/client-dist/{chunk-RFPMXFCO.js.map → chunk-SM7WXSR6.js.map} +0 -0
- /package/client-dist/{chunk-MY2LZHOM.js.map → chunk-VBQ4ALUA.js.map} +0 -0
- /package/client-dist/{chunk-QJQCOC4R.js.map → chunk-WI4FBNXN.js.map} +0 -0
- /package/client-dist/{chunk-MIHFTLSB.js.map → chunk-XCXZFV67.js.map} +0 -0
- /package/client-dist/{chunk-S5XOSBYJ.js.map → chunk-XJ4CPKPR.js.map} +0 -0
- /package/client-dist/{chunk-EITST6EO.js.map → chunk-XJ5DOJTL.js.map} +0 -0
- /package/client-dist/{chunk-YYMJS7TD.js.map → chunk-YUOOW6KN.js.map} +0 -0
- /package/client-dist/{chunk-HHO3FIZ6.js.map → chunk-ZEBCI46A.js.map} +0 -0
- /package/client-dist/{consultant.module-UEP4DFBD.js.map → consultant.module-NS65LNJ2.js.map} +0 -0
- /package/client-dist/{crd.module-ML3X5IM3.js.map → crd.module-CWSKPV6U.js.map} +0 -0
- /package/client-dist/{dashboard.module-FIZ3JNMY.js.map → dashboard.module-5WQDFPFK.js.map} +0 -0
- /package/client-dist/{do.module-JK6CIZB6.js.map → do.module-37JCY4EO.js.map} +0 -0
- /package/client-dist/{document-library.module-UGVOV6VQ.js.map → document-library.module-RZ5GE64U.js.map} +0 -0
- /package/client-dist/{embedding-eval.module-ASVHBJUS.js.map → embedding-eval.module-OIEBWGII.js.map} +0 -0
- /package/client-dist/{embedding-registry.module-IOXI3UAB.js.map → embedding-registry.module-VCUPNBXP.js.map} +0 -0
- /package/client-dist/{err.module-5PE5JMMA.js.map → err.module-HBVIW6BY.js.map} +0 -0
- /package/client-dist/{feedback.module-TWLEAY6X.js.map → feedback.module-ZKNVJOZF.js.map} +0 -0
- /package/client-dist/{host-runtime-mcp.module-K42AQTG7.js.map → host-runtime-mcp.module-S4MCNBLO.js.map} +0 -0
- /package/client-dist/{live-dev-pipeline.module-CZCQGABC.js.map → live-dev-pipeline.module-2FOHOCOQ.js.map} +0 -0
- /package/client-dist/{logs.module-IP7M627V.js.map → logs.module-7DKVIQSQ.js.map} +0 -0
- /package/client-dist/{main-ZKRKWJJY.js.map → main-ORVDVXMK.js.map} +0 -0
- /package/client-dist/{master-control-remote-poc.module-BXVHPW62.js.map → master-control-remote-poc.module-3ELNMU7A.js.map} +0 -0
- /package/client-dist/{mobile-app.module-3H6EE7JT.js.map → mobile-app.module-WUHONAVH.js.map} +0 -0
- /package/client-dist/{model-registry.module-CN4FUQ2P.js.map → model-registry.module-DQE3DNYQ.js.map} +0 -0
- /package/client-dist/{oc.module-FN6OMS3L.js.map → oc.module-T3OXTPGY.js.map} +0 -0
- /package/client-dist/{orc.module-A6QFZNHJ.js.map → orc.module-7HMOGZKS.js.map} +0 -0
- /package/client-dist/{project-management.module-3VRNTOY6.js.map → project-management.module-R3B53UYO.js.map} +0 -0
- /package/client-dist/{project-source-routed.module-C4NQNIYT.js.map → project-source-routed.module-W2ADCTZQ.js.map} +0 -0
- /package/client-dist/{scheduler.module-XB5GBDI2.js.map → scheduler.module-UUA562NK.js.map} +0 -0
- /package/client-dist/{session.module-QEYX2DGX.js.map → session.module-K2CHG4CQ.js.map} +0 -0
- /package/client-dist/{set.module-AUXKVJTL.js.map → set.module-TE4TKCOE.js.map} +0 -0
- /package/client-dist/{setup.module-66ZMYWDY.js.map → setup.module-ESOXJJYC.js.map} +0 -0
- /package/client-dist/{terminals.module-XFVFOW46.js.map → terminals.module-EIMUWKQX.js.map} +0 -0
- /package/client-dist/{voice-notes-poc.module-NIQODCHZ.js.map → voice-notes-poc.module-JDWELA76.js.map} +0 -0
- /package/client-dist/{wfs.module-3GBXYWN2.js.map → wfs.module-A3K3IDFV.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as et}from"./chunk-
|
|
1
|
+
import{c as et}from"./chunk-ICEEU2HD.js";import"./chunk-LYUVOMIT.js";import{a as $,b as $e,c as v,d as Z,e as E,f as B,g as F,h as tt,i as it,j as nt,k as ot,l as at,m as Te,n as Me,o as fe,p as ue,q as H}from"./chunk-AY3NSOV3.js";import"./chunk-YUOOW6KN.js";import"./chunk-5ZVPZQXF.js";import"./chunk-UFBTR2BG.js";import"./chunk-RXCW5FOQ.js";import"./chunk-N7PULJLP.js";import{a as q,b as W}from"./chunk-6Y7O2W4H.js";import"./chunk-GLZ6RU6H.js";import"./chunk-3WQIXQZM.js";import"./chunk-XCXZFV67.js";import{a as ee}from"./chunk-FLAJXIYW.js";import{k as me}from"./chunk-KQJYXBQY.js";import{a as Oe}from"./chunk-5UPNU54P.js";import{j as Je}from"./chunk-4LKPVMO6.js";import{I as Ke,p as wt}from"./chunk-K5S3TYV3.js";import{$a as de,Aa as Xe,Ba as He,C as G,D as P,E as Ge,Fa as d,Ga as u,Ha as R,Hb as qe,J as k,K as D,Kb as je,L as h,M as U,Q as J,T as se,U as O,Ua as Ze,X as We,Z as n,a as re,aa as X,b as Fe,cb as pe,da as g,fa as c,ga as S,h as St,ha as Y,hb as y,ia as I,jb as Ye,k as Ne,la as f,ma as Qe,na as z,oa as T,pa as M,qa as o,ra as r,sa as p,tb as _e,ua as L,ub as Ue,va as b,wa as _,z as Be,za as ze}from"./chunk-TBMJSIBB.js";var xt=St(wt());var he=class i{static buildSnapshot(l){let e=i.buildSceneExpandRationale({instances:l.instances,nowMs:l.nowMs});return{exportedAt:new Date(l.nowMs).toISOString(),clientVersion:l.clientVersion,instances:l.instances.map(a=>i.mapInstanceSlice(a)),characters:l.characters.map(a=>i.mapCharacterSlice(a)),characterRationale:e.perCharacter,skippedInstancesRationale:e.skippedOffline}}static buildSceneExpandRationale(l){let e=[],a=[],t=fe.sceneRecentActivityWindowMs;for(let s of l.instances){if(s.presence===W.offline){a.push(`offline_skipped:instanceId=${s.instanceId}`);continue}let m=s.rawSessionStatuses??[];if(m.length<=1){e.push(`single_row_instance:instanceId=${s.instanceId}`);continue}let x=m.filter(w=>fe.isWorkingSessionRecentAndOnline({row:w,nowMs:l.nowMs,windowMs:t}));if(x.length===0){let A=fe.pickNewestSessionByLastActivity({sessions:m})?.sessionId??"none";e.push(`fallback_all_sessions_idle:instanceId=${s.instanceId}:primarySessionId=${A}`);continue}for(let w of x)e.push(`composite_working_session:instanceId=${s.instanceId}:sessionId=${w.sessionId}`)}return{perCharacter:e,skippedOffline:a}}static mapInstanceSlice(l){let e=l.panelActiveSessionRows.map(t=>({sessionId:t.sessionId,presence:t.presence,displayLabel:t.displayLabel})),a=l.rawSessionStatuses??[];return{instanceId:l.instanceId,characterType:l.characterType,presence:l.presence,activitySummary:l.activitySummary,latestSessionId:l.latestSessionId,connectionStatus:l.connectionStatus,rawSessionStatuses:a,assignedSlotIndex:l.assignedSlotIndex,panelActiveSessionRows:e,visualsDisplayName:l.visuals.displayName}}static mapCharacterSlice(l){return{instanceId:l.instanceId,sessionId:l.sessionId,presence:l.presence,scenePlacement:l.scenePlacement,activitySummary:l.activitySummary,assignedSlotIndex:l.assignedSlotIndex,latestSessionId:l.latestSessionId,animState:l.animState}}};var j=class{static doT(l){return l*32}},kt=4,Dt=3,Ot=40,$t=18,Co=j.doT(kt),vo=j.doT(Dt),xo=j.doT(Ot),bo=j.doT($t);var Tt=32,So=j.doT(Tt),ye=.5,ge=6;var rt=.1;var le=class{static resolve(l){let e=l.character,a=e.sessionId,t=e.instanceId;if(!a||a.trim().length===0)return t;let s=`::${a}`;return t.endsWith(s)?t.slice(0,t.length-s.length):t}};var Mt=["app-do-char-lower-body",""],Ce=(()=>{class i{pantsColor=O.required();isWalking=O(!1);static \u0275fac=function(a){return new(a||i)};static \u0275cmp=P({type:i,selectors:[["","app-do-char-lower-body",""]],inputs:{pantsColor:[1,"pantsColor"],isWalking:[1,"isWalking"]},attrs:Mt,decls:12,vars:6,consts:[["d","M11,63 Q10,63 10,64 L9.5,67 Q9.5,68 10.5,68 L19,68 Q20,68 20,67 L20,64 Q20,63 19,63 Z","fill","#1a1a2e"],["d","M21,63 Q20,63 20,64 L19.5,67 Q19.5,68 20.5,68 L29,68 Q30,68 30,67 L30,64 Q30,63 29,63 Z","fill","#1a1a2e"],["x","11","y","63","width","8","height","1","rx","0.5","fill","rgba(255,255,255,0.06)"],["x","21","y","63","width","8","height","1","rx","0.5","fill","rgba(255,255,255,0.06)"],[1,"do-leg-left"],["x","11","y","44","width","7","height","20","rx","1.5"],["x","11","y","44","width","7","height","20","rx","1.5","fill","url(#doLight3D)"],["x","15","y","45","width","3","height","18","rx","1","fill","rgba(10,15,25,0.12)"],[1,"do-leg-right"],["x","22","y","44","width","7","height","20","rx","1.5"],["x","22","y","44","width","7","height","20","rx","1.5","fill","url(#doLight3D)"],["x","22","y","45","width","3","height","18","rx","1","fill","rgba(10,15,25,0.12)"]],template:function(a,t){a&1&&(h(),p(0,"path",0)(1,"path",1)(2,"rect",2)(3,"rect",3),o(4,"g",4),p(5,"rect",5)(6,"rect",6)(7,"rect",7),r(),o(8,"g",8),p(9,"rect",9)(10,"rect",10)(11,"rect",11),r()),a&2&&(n(4),I("do-leg--walking",t.isWalking()),n(),c("fill",t.pantsColor()),n(3),I("do-leg--walking",t.isWalking()),n(),c("fill",t.pantsColor()))},styles:[`@charset "UTF-8";.do-leg--walking{transform-origin:15px 44px}.do-leg-left.do-leg--walking{animation:do-svg-leg-swing-l .45s ease-in-out infinite alternate}.do-leg-right.do-leg--walking{animation:do-svg-leg-swing-r .45s ease-in-out infinite alternate}@keyframes do-svg-leg-swing-l{0%{transform:rotate(-15deg)}to{transform:rotate(15deg)}}@keyframes do-svg-leg-swing-r{0%{transform:rotate(15deg)}to{transform:rotate(-15deg)}}
|
|
2
2
|
/*# sourceMappingURL=do-char-lower-body.component-NLZ3HGBO.css.map */
|
|
3
3
|
`],encapsulation:2})}return i})();var Pe="M7.1,40.5 C6.2,40.2 5.1,40.4 4.2,41 C2.5,42 1.4,43.8 1.6,45.5 C1.8,46.8 2.8,47.7 4.2,47.7 C5.4,47.6 6.4,46.8 6.7,45.5 C6.95,44.5 6.85,43.5 6.5,42.7 C6.65,42.4 7.1,42.5 7.55,43 C8.35,44 8.55,45.2 8.25,46.2 C8,47 7.15,47.45 6.45,47.2 C5.85,46.95 5.65,46.2 5.85,45.5 C6.1,44.5 6.75,43.5 7.25,42.4 C7.55,41.6 7.35,40.9 7.1,40.5 Z";var Ie="translate(20,0) scale(-1,1) translate(-20,0)";var Pt=["app-do-char-arms",""];function It(i,l){if(i&1&&(h(),p(0,"path",3)(1,"path",4)),i&2){let e=_();c("fill",e.shirtColor())}}function Et(i,l){if(i&1&&(h(),p(0,"path",5)(1,"path",6)),i&2){let e=_();c("fill",e.shirtColor())}}function Lt(i,l){if(i&1&&(h(),p(0,"path",5)(1,"path",6)(2,"rect",7)),i&2){let e=_();c("fill",e.shirtColor())}}function At(i,l){if(i&1&&(h(),p(0,"path",8)(1,"path",9)),i&2){let e=_();c("fill",e.shirtColor())}}function Vt(i,l){if(i&1&&(h(),p(0,"path",10)(1,"path",11)),i&2){let e=_();c("fill",e.shirtColor())}}function Rt(i,l){if(i&1&&(h(),p(0,"path",10)(1,"path",11)(2,"rect",12)),i&2){let e=_();c("fill",e.shirtColor())}}function Ft(i,l){if(i&1&&(h(),p(0,"path",13)(1,"path",14)(2,"rect",15)),i&2){let e=_();c("fill",e.shirtColor())}}function Nt(i,l){if(i&1&&(h(),p(0,"path",16)(1,"path",17)(2,"rect",18)),i&2){let e=_();c("fill",e.shirtColor())}}function Bt(i,l){if(i&1&&(h(),p(0,"path",19)(1,"path",20)(2,"rect",21)),i&2){let e=_();c("fill",e.skinColor())}}function Gt(i,l){if(i&1&&(h(),p(0,"path",22)(1,"path",23)(2,"rect",24)),i&2){let e=_();c("fill",e.shirtColor())}}function Wt(i,l){if(i&1&&(h(),p(0,"path",25)(1,"path",26)(2,"rect",27)),i&2){let e=_();c("fill",e.shirtColor())}}function Qt(i,l){if(i&1&&(h(),p(0,"path",28)(1,"path",29)(2,"rect",30)),i&2){let e=_();c("fill",e.skinColor())}}function zt(i,l){if(i&1&&(h(),o(0,"g"),p(1,"path",31)(2,"ellipse",32)(3,"ellipse",33),r(),o(4,"g"),p(5,"path",31)(6,"ellipse",32)(7,"ellipse",33),r()),i&2){let e=_();n(),c("d",e.openclawClawPathLeftStanding),n(3),c("transform",e.openclawClawMirrorX20),n(),c("d",e.openclawClawPathLeftStanding)}}function Xt(i,l){if(i&1&&(h(),p(0,"path",34)(1,"path",35)),i&2){let e=_();c("fill",e.skinColor()),n(),c("fill",e.skinColor())}}var ve=(()=>{class i{skinColor=O.required();shirtColor=O.required();clothingStyle=O.required();characterType=O(v.ccap);clothingType=B;charType=v;openclawClawPathLeftStanding=Pe;openclawClawMirrorX20=Ie;static \u0275fac=function(a){return new(a||i)};static \u0275cmp=P({type:i,selectors:[["","app-do-char-arms",""]],inputs:{skinColor:[1,"skinColor"],shirtColor:[1,"shirtColor"],clothingStyle:[1,"clothingStyle"],characterType:[1,"characterType"]},attrs:Pt,decls:17,vars:5,consts:[["x","7","y","21","width","4","height","10","rx","1.5","fill","rgba(10,15,25,0.10)"],["cx","6","cy","20","rx","4","ry","1.2","fill","rgba(10,15,25,0.15)"],["cx","34","cy","20","rx","4","ry","1.2","fill","rgba(10,15,25,0.15)"],["d","M2,19 Q0,20 1,27 L2.5,33 L9,33 L10.5,27 Q12,20 10,19 Z"],["d","M2,19 Q0,20 1,27 L2.5,33 L9,33 L10.5,27 Q12,20 10,19 Z","fill","url(#doLight3D)"],["d","M3,19 Q1,20 1.5,27 L3,33 L9,33 L10.5,27 Q11,20 9,19 Z"],["d","M3,19 Q1,20 1.5,27 L3,33 L9,33 L10.5,27 Q11,20 9,19 Z","fill","url(#doLight3D)"],["x","2","y","32","width","8","height","1","rx","0.5","fill","rgba(10,15,25,0.14)"],["d","M30,19 Q28,20 29,27 L30.5,33 L37,33 L38.5,27 Q40,20 38,19 Z"],["d","M30,19 Q28,20 29,27 L30.5,33 L37,33 L38.5,27 Q40,20 38,19 Z","fill","url(#doLight3D)"],["d","M31,19 Q29,20 29.5,27 L31,33 L37,33 L38.5,27 Q39,20 37,19 Z"],["d","M31,19 Q29,20 29.5,27 L31,33 L37,33 L38.5,27 Q39,20 37,19 Z","fill","url(#doLight3D)"],["x","30","y","32","width","8","height","1","rx","0.5","fill","rgba(10,15,25,0.14)"],["d","M2.5,31 Q1.5,32 2,37 L3,42 L8,42 L9,37 Q9.5,32 8.5,31 Z"],["d","M2.5,31 Q1.5,32 2,37 L3,42 L8,42 L9,37 Q9.5,32 8.5,31 Z","fill","url(#doLight3D)"],["x","2","y","39.5","width","7","height","2","rx","0.8","fill","rgba(10,15,25,0.10)"],["d","M3,31 Q2,32 2.5,36 L3.5,39 L8,39 L9,36 Q9.5,32 8.5,31 Z"],["d","M3,31 Q2,32 2.5,36 L3.5,39 L8,39 L9,36 Q9.5,32 8.5,31 Z","fill","url(#doLight3D)"],["x","3","y","38","width","6","height","3","rx","1","fill","#dde0e4"],["d","M3,31 Q2,32 2.5,37 L3.5,42 L8,42 L9,37 Q9.5,32 8.5,31 Z"],["d","M3,31 Q2,32 2.5,37 L3.5,42 L8,42 L9,37 Q9.5,32 8.5,31 Z","fill","url(#doLight3D)"],["x","6","y","33","width","3","height","7","rx","1","fill","rgba(30,15,10,0.08)"],["d","M31.5,31 Q30.5,32 31,37 L32,42 L37,42 L38,37 Q38.5,32 37.5,31 Z"],["d","M31.5,31 Q30.5,32 31,37 L32,42 L37,42 L38,37 Q38.5,32 37.5,31 Z","fill","url(#doLight3D)"],["x","31","y","39.5","width","7","height","2","rx","0.8","fill","rgba(10,15,25,0.10)"],["d","M31,31 Q30,32 30.5,36 L31.5,39 L36,39 L37,36 Q37.5,32 36.5,31 Z"],["d","M31,31 Q30,32 30.5,36 L31.5,39 L36,39 L37,36 Q37.5,32 36.5,31 Z","fill","url(#doLight3D)"],["x","31","y","38","width","6","height","3","rx","1","fill","#dde0e4"],["d","M31,31 Q30,32 30.5,37 L31.5,42 L36,42 L37,37 Q37.5,32 36.5,31 Z"],["d","M31,31 Q30,32 30.5,37 L31.5,42 L36,42 L37,37 Q37.5,32 36.5,31 Z","fill","url(#doLight3D)"],["x","31","y","33","width","3","height","7","rx","1","fill","rgba(30,15,10,0.08)"],["fill","#c0392b","stroke","#1a0808","stroke-width","0.55","stroke-linejoin","round","stroke-linecap","round"],["cx","3.4","cy","42.8","rx","1.05","ry","0.68","fill","rgba(255,255,255,0.45)"],["cx","5.95","cy","45.05","rx","0.78","ry","0.52","fill","rgba(255,255,255,0.33)"],["d","M3.5,41 L3,43.5 Q3,44.5 4,44.5 L7.5,44 Q8.5,44 8.5,43 L8.5,41 Z"],["d","M36.5,41 L37,43.5 Q37,44.5 36,44.5 L32.5,44 Q31.5,44 31.5,43 L31.5,41 Z"]],template:function(a,t){if(a&1&&(g(0,It,2,1)(1,Et,2,1)(2,Lt,3,1),h(),p(3,"rect",0),g(4,At,2,1)(5,Vt,2,1)(6,Rt,3,1)(7,Ft,3,1)(8,Nt,3,1)(9,Bt,3,1)(10,Gt,3,1)(11,Wt,3,1)(12,Qt,3,1),p(13,"ellipse",1)(14,"ellipse",2),g(15,zt,8,3)(16,Xt,2,2)),a&2){let s,m,x,w;f((s=t.clothingStyle())===t.clothingType.hoodie?0:s===t.clothingType.formal?1:2),n(4),f((m=t.clothingStyle())===t.clothingType.hoodie?4:m===t.clothingType.formal?5:6),n(3),f((x=t.clothingStyle())===t.clothingType.hoodie?7:x===t.clothingType.formal?8:9),n(3),f((w=t.clothingStyle())===t.clothingType.hoodie?10:w===t.clothingType.formal?11:12),n(5),f(t.characterType()===t.charType.openclaw?15:16)}},encapsulation:2})}return i})();var Ht=["app-do-char-torso",""];function Zt(i,l){i&1&&(h(),p(0,"rect",5))}function Yt(i,l){if(i&1&&(h(),p(0,"path",2)(1,"path",3)(2,"path",4),g(3,Zt,1,0,":svg:rect",5)),i&2){let e=_();c("fill",e.shirtColor()),n(3),f(e.isWorking()?-1:3)}}function Ut(i,l){i&1&&(h(),p(0,"path",8)(1,"line",9)(2,"line",10)(3,"path",11)(4,"path",12)(5,"rect",13)(6,"path",14)(7,"rect",15)(8,"path",16))}function qt(i,l){if(i&1&&(h(),p(0,"path",6)(1,"path",7),g(2,Ut,9,0)),i&2){let e=_();c("fill",e.shirtColor()),n(2),f(e.isWorking()?-1:2)}}function jt(i,l){if(i&1&&(h(),p(0,"path",6)(1,"path",7)(2,"path",17)),i&2){let e=_();c("fill",e.shirtColor())}}var xe=(()=>{class i{shirtColor=O.required();clothingStyle=O.required();isWorking=O(!1);clothingType=B;static \u0275fac=function(a){return new(a||i)};static \u0275cmp=P({type:i,selectors:[["","app-do-char-torso",""]],inputs:{shirtColor:[1,"shirtColor"],clothingStyle:[1,"clothingStyle"],isWorking:[1,"isWorking"]},attrs:Ht,decls:5,vars:1,consts:[["x","9","y","42.5","width","22","height","1.5","rx","0.5","fill","rgba(10,15,25,0.15)"],["d","M24,19 L31,21 L31,44 Q31,45 30,45 L22,45 Z","fill","rgba(10,15,25,0.12)"],["d","M4,21 Q4,18 9,18 Q20,16 31,18 Q36,18 36,21 L32,45 Q32,46 30,46 L10,46 Q8,46 8,45 Z"],["d","M4,21 Q4,18 9,18 Q20,16 31,18 Q36,18 36,21 L32,45 Q32,46 30,46 L10,46 Q8,46 8,45 Z","fill","url(#doLight3D)"],["d","M14,20 Q20,25 26,20","stroke","rgba(10,15,25,0.14)","stroke-width","1","fill","none","stroke-linecap","round"],["x","13","y","36","width","14","height","8","rx","2","fill","rgba(10,15,25,0.10)"],["d","M5,21 Q5,18 10,18 Q20,16 30,18 Q35,18 35,21 L31,44 Q31,45 30,45 L10,45 Q9,45 9,44 Z"],["d","M5,21 Q5,18 10,18 Q20,16 30,18 Q35,18 35,21 L31,44 Q31,45 30,45 L10,45 Q9,45 9,44 Z","fill","url(#doLight3D)"],["d","M16,17 L16,45 L24,45 L24,17 Z","fill","#dde0e4","opacity","0.9"],["x1","15.5","y1","20","x2","16","y2","45","stroke","rgba(10,15,25,0.10)","stroke-width","0.6"],["x1","24.5","y1","20","x2","24","y2","45","stroke","rgba(10,15,25,0.10)","stroke-width","0.6"],["d","M16,18 L14,20 L16,26","fill","rgba(10,15,25,0.08)"],["d","M24,18 L26,20 L24,26","fill","rgba(10,15,25,0.08)"],["x","18","y","17.5","width","4","height","2","rx","0.5","fill","rgba(10,15,25,0.12)"],["d","M19,18.5 L20,20.5 L21,18.5","fill","#7f2d2d"],["x","18.5","y","20.5","width","3","height","13","rx","0.8","fill","#7f2d2d"],["d","M18,33.5 L20,37 L22,33.5","fill","#7f2d2d"],["d","M16,19 Q20,22 24,19","stroke","rgba(10,15,25,0.14)","stroke-width","0.8","fill","none","stroke-linecap","round"]],template:function(a,t){if(a&1&&(g(0,Yt,4,2)(1,qt,3,2)(2,jt,3,1),h(),p(3,"rect",0)(4,"path",1)),a&2){let s;f((s=t.clothingStyle())===t.clothingType.hoodie?0:s===t.clothingType.formal?1:2)}},encapsulation:2})}return i})();var Kt=["app-do-char-neck-head",""],te=(()=>{class i{skinColor=O.required();headLightGradientElementId=O("doLightVert");static \u0275fac=function(a){return new(a||i)};static \u0275cmp=P({type:i,selectors:[["","app-do-char-neck-head",""]],inputs:{skinColor:[1,"skinColor"],headLightGradientElementId:[1,"headLightGradientElementId"]},attrs:Kt,decls:6,vars:3,consts:[["x","16","y","13","width","8","height","6","rx","1"],["cx","20","cy","14","rx","5","ry","1.5","fill","rgba(30,15,10,0.16)"],["d","M11.5,7.5 Q11.5,1.5 20,1.5 Q28.5,1.5 28.5,7.5 Q28.5,12.5 25,14 L15,14 Q11.5,12.5 11.5,7.5 Z"],["cx","20","cy","17","rx","8","ry","1.8","fill","rgba(10,15,25,0.18)"],["d","M24,3 Q28.5,5 28.5,7.5 Q28.5,12.5 25,14 L22,14 Q25,11 24,3 Z","fill","rgba(30,15,10,0.07)"]],template:function(a,t){a&1&&(h(),p(0,"rect",0)(1,"ellipse",1)(2,"path",2)(3,"path",2)(4,"ellipse",3)(5,"path",4)),a&2&&(c("fill",t.skinColor()),n(2),c("fill",t.skinColor()),n(),c("fill","url(#"+t.headLightGradientElementId()+")"))},encapsulation:2})}return i})();var Jt=["app-do-char-face",""],ie=(()=>{class i{eyeColor=O.required();static \u0275fac=function(a){return new(a||i)};static \u0275cmp=P({type:i,selectors:[["","app-do-char-face",""]],inputs:{eyeColor:[1,"eyeColor"]},attrs:Jt,decls:9,vars:2,consts:[["cx","16","cy","7.2","rx","2.2","ry","1.6","fill","white","opacity","0.92"],["cx","24","cy","7.2","rx","2.2","ry","1.6","fill","white","opacity","0.92"],["cx","16.5","cy","7.5","r","1.2"],["cx","24.5","cy","7.5","r","1.2"],["cx","16.6","cy","7.6","r","0.55","fill","#111"],["cx","24.6","cy","7.6","r","0.55","fill","#111"],["cx","15.8","cy","6.8","r","0.4","fill","white","opacity","0.6"],["cx","23.8","cy","6.8","r","0.4","fill","white","opacity","0.6"],["d","M17.5,11.5 Q20,13 22.5,11.5","stroke","#a0522d","stroke-width","0.8","fill","none","stroke-linecap","round"]],template:function(a,t){a&1&&(h(),p(0,"ellipse",0)(1,"ellipse",1)(2,"circle",2)(3,"circle",3)(4,"circle",4)(5,"circle",5)(6,"circle",6)(7,"circle",7)(8,"path",8)),a&2&&(n(2),c("fill",t.eyeColor()),n(),c("fill",t.eyeColor()))},encapsulation:2})}return i})();var ei=["app-do-char-hair",""];function ti(i,l){if(i&1&&(h(),p(0,"path",0)(1,"path",1)(2,"path",2)(3,"path",3)),i&2){let e=_();c("fill",e.hairColor()),n(),c("fill",e.hairColor()),n(),c("fill",e.hairColor())}}function ii(i,l){if(i&1&&(h(),p(0,"path",0)(1,"path",4)(2,"path",5)(3,"path",3)),i&2){let e=_();c("fill",e.hairColor()),n(),c("fill",e.hairColor()),n(),c("fill",e.hairColor())}}function ni(i,l){if(i&1&&(h(),p(0,"path",6)(1,"path",7)(2,"path",8)(3,"path",9)),i&2){let e=_();c("fill",e.hairColor())}}function oi(i,l){if(i&1&&(h(),p(0,"circle",10)(1,"circle",11)(2,"circle",12)(3,"circle",13)(4,"circle",14)(5,"circle",15)(6,"circle",16)(7,"circle",17)(8,"circle",18)),i&2){let e=_();c("fill",e.hairColor()),n(),c("fill",e.hairColor()),n(),c("fill",e.hairColor()),n(),c("fill",e.hairColor()),n(),c("fill",e.hairColor()),n(),c("fill",e.hairColor()),n(),c("fill",e.hairColor())}}function ai(i,l){if(i&1&&(h(),p(0,"path",19)(1,"path",20)(2,"path",21)),i&2){let e=_();c("fill",e.hairColor()),n(),c("fill",e.hairColor())}}function ri(i,l){}var ne=(()=>{class i{hairColor=O.required();hairStyle=O.required();hairType=F;static \u0275fac=function(a){return new(a||i)};static \u0275cmp=P({type:i,selectors:[["","app-do-char-hair",""]],inputs:{hairColor:[1,"hairColor"],hairStyle:[1,"hairStyle"]},attrs:ei,decls:6,vars:1,consts:[["d",`M10.5,7 Q10,3.5 12,0.5 Q15,-1.5 20,-1.5 Q25,-1.5 28,0.5 Q30,3.5 29.5,7
|
|
4
4
|
Q27,4 20,3.5 Q13,4 10.5,7 Z`],["d","M10.5,7 Q9.5,5 10.5,2 Q11,0.5 12,0.5 Q10.5,3 10,6.5 Q10,8 10.5,9.5 Z"],["d","M29.5,7 Q30.5,5 29.5,2 Q29,0.5 28,0.5 Q29.5,3 30,6.5 Q30,8 29.5,9.5 Z"],["d","M14,0.5 Q17,-1.5 20,-1.5 Q23,-1.5 26,0.5 Q23,-0.5 20,-0.5 Q17,-0.5 14,0.5 Z","fill","white","opacity","0.10"],["d",`M10.5,7 Q9,5 10.5,2 Q11,0.5 12,0.5 Q10,3 9.5,7 Q9,11 9.5,15
|
|
@@ -15,4 +15,4 @@ import{c as et}from"./chunk-C5W7UJHU.js";import"./chunk-24TTUBSZ.js";import{a as
|
|
|
15
15
|
/*# sourceMappingURL=do-instance-status-detail.component-RX7JXDOE.css.map */`]})}return i})();var Nn=["app-do-svg-char",""];function Bn(i,l){if(i&1&&(h(),p(0,"g",10)),i&2){let e=_();S("eyeColor",e.instanceState().visuals.eyeColor)}}function Gn(i,l){i&1&&(h(),p(0,"rect",15)(1,"rect",16)),i&2&&(c("x",-25),n(),c("x",-24))}function Wn(i,l){i&1&&(h(),p(0,"rect",17)(1,"rect",18)),i&2&&(c("x",-25),n(),c("x",-24))}function Qn(i,l){if(i&1&&(h(),o(0,"text",13),d(1),r()),i&2){let e=_();n(),R(" ",e.displaySessionName_$()," ")}}function zn(i,l){if(i&1){let e=L();h(),o(0,"g",19),b("click",function(t){k(e);let s=_();return D(s.handleBubbleClick(t))}),o(1,"g"),p(2,"rect",20)(3,"rect",21)(4,"rect",22),o(5,"text",23),d(6),r()(),p(7,"polygon",24)(8,"line",25)(9,"line",25),r()}if(i&2){let e=_();I("do-char-bubble--clickable",e.isBubbleClickable_$()),n(),c("transform","translate("+e.bubbleOffsetX_$()+", 0)"),n(),c("x",-e.bubbleWidth_$()/2-4)("width",e.bubbleWidth_$()+8),n(),c("x",-e.bubbleWidth_$()/2-1)("width",e.bubbleWidth_$()+2),n(),c("x",-e.bubbleWidth_$()/2)("width",e.bubbleWidth_$()),n(2),R(" ",e.truncatedLastMessage_$()," "),n(),c("points",e.bubbleTailPoints_$()),n(),c("x1",e.bubbleOffsetX_$()-3.5),n(),c("x1",e.bubbleOffsetX_$()+3.5)}}var oe=2e3,we=10,yt=14,gt=28,Ct=(()=>{class i{layout_DS=G(ue);instanceState=O.required();bubbleClick=new J;hairType=F;clothingType=B;charType=v;walkInTimerId=null;atDoorForWalkIn_$=X(!1);resolvedAnim_$=X($.standing);animEffectRef;isAnimEffectDestroyed=!1;constructor(){this.animEffectRef=Ye(()=>{let e=this.instanceState();queueMicrotask(()=>{this.isAnimEffectDestroyed||this.syncAnimState(e)})})}ngOnDestroy(){this.isAnimEffectDestroyed=!0,this.walkInTimerId&&clearTimeout(this.walkInTimerId),this.animEffectRef.destroy()}slotPosition_$=y(()=>{let e=this.instanceState(),a=e.presence===W.working,t=e.scenePlacement,s=this.layout_DS.derived_$(),m;t===$e.meeting?m=s.meetingSlots:a?m=s.workstationSlots:m=s.restSlots;let x=Math.max(0,e.assignedSlotIndex);if(x<m.length)return m[x];let w=x-m.length,A=w%3,V=Math.floor(w/3);if(t===$e.meeting){let Re=s.floorConference;return{x:Re.x+48+A*72,y:Re.y+40+V*44}}if(a)return{x:s.floorWorkspace.x+80+A*96,y:s.floorWorkspace.y+80+V*120};let N=Math.max(1,this.layout_DS.grid_$().restCols),ae=w%N,K=Math.floor(w/N),ke=Math.max(72,Math.round((s.floorLounge.w-80)/Math.max(1,N))),De=Math.max(88,Math.round(s.floorLounge.h/Math.max(2,this.layout_DS.grid_$().restRows+1)));return{x:s.floorLounge.x+40+ae*ke,y:s.floorLounge.y+52+K*De}});targetPosition_$=y(()=>this.resolvedAnim_$()===$.walkingOut?this.layout_DS.getDoorPosition():this.atDoorForWalkIn_$()?this.layout_DS.getDoorPosition():this.slotPosition_$());get hostTransform(){let e=this.targetPosition_$();return`translate(${e.x}px, ${e.y}px)`}hostTransition_$=y(()=>{let e=this.resolvedAnim_$();return e===$.walkingIn&&!this.atDoorForWalkIn_$()?`transform ${oe}ms ease-in-out`:e===$.walkingOut?`transform ${oe}ms ease-in-out, opacity ${oe}ms ease-in`:e===$.walkingBetween?`transform ${oe}ms ease-in-out`:"none"});get hostTransition(){return this.hostTransition_$()}get hostOpacity(){return this.resolvedAnim_$()===$.walkingOut?"0":"1"}get hostTransformOrigin(){return"0 0"}displayName_$=y(()=>{let e=this.instanceState(),a=e.visuals?.displayName?.trim()??"";if(a)return a.length>we?a.slice(0,we):a;let t=e.instanceId??"";return t.length>we?t.slice(0,we):t});displaySessionName_$=y(()=>{let e=this.instanceState().sessionName??"";return e?e.length>yt?e.slice(0,yt-1)+"\u2026":e:""});truncatedLastMessage_$=y(()=>{let e=this.instanceState().lastMessage??"";return e?e.length>gt?e.slice(0,gt-1)+"\u2026":e:""});bubbleWidth_$=y(()=>{let e=this.truncatedLastMessage_$().length;return Math.max(40,Math.min(100,e*3.2+16))});upperBodyTransform_$=y(()=>{switch(this.instanceState().visuals.bodyType??E.average){case E.slim:return"translate(20,0) scale(0.82,1) translate(-20,0)";case E.stocky:return"translate(20,0) scale(1.15,1) translate(-20,0)";case E.athletic:return"translate(20,0) scale(1.1,1) translate(-20,0)";default:return""}});lowerBodyTransform_$=y(()=>{switch(this.instanceState().visuals.bodyType??E.average){case E.slim:return"translate(20,0) scale(0.85,1) translate(-20,0)";case E.stocky:return"translate(20,0) scale(1.1,1) translate(-20,0)";case E.athletic:return"translate(20,0) scale(0.92,1) translate(-20,0)";default:return""}});isWorking_$=y(()=>this.resolvedAnim_$()===$.working);isWalking_$=y(()=>{let e=this.resolvedAnim_$();return e===$.walkingIn||e===$.walkingOut||e===$.walkingBetween});isBubbleClickable_$=y(()=>!!this.instanceState().latestSessionId);bubbleOffsetX_$=y(()=>this.instanceState().assignedSlotIndex%2===0?-18:18);bubbleTailPoints_$=y(()=>{let e=this.bubbleOffsetX_$();return`${e-4},-68.5 ${e+4},-68.5 0,-64`});handleBubbleClick(e){e.stopPropagation();let a=this.instanceState().latestSessionId;a&&this.bubbleClick.emit(a)}syncAnimState(e){this.walkInTimerId&&(clearTimeout(this.walkInTimerId),this.walkInTimerId=null);let a=e.animState;if(a===$.walkingIn){this.resolvedAnim_$.set($.walkingIn),this.atDoorForWalkIn_$.set(!0),this.walkInTimerId=setTimeout(()=>{this.atDoorForWalkIn_$.set(!1),this.walkInTimerId=setTimeout(()=>{let t=e.presence===W.working?$.working:$.sitting;this.resolvedAnim_$.set(t),this.walkInTimerId=null},oe)},50);return}if(a===$.walkingBetween){this.atDoorForWalkIn_$.set(!1),this.resolvedAnim_$.set($.walkingBetween),this.walkInTimerId=setTimeout(()=>{let t=e.presence===W.working?$.working:$.sitting;this.resolvedAnim_$.set(t),this.walkInTimerId=null},oe);return}this.atDoorForWalkIn_$.set(!1),this.resolvedAnim_$.set(a??$.standing)}static \u0275fac=function(a){return new(a||i)};static \u0275cmp=P({type:i,selectors:[["","app-do-svg-char",""]],hostVars:8,hostBindings:function(a,t){a&2&&Y("transform",t.hostTransform)("transition",t.hostTransition)("opacity",t.hostOpacity)("transform-origin",t.hostTransformOrigin)},inputs:{instanceState:[1,"instanceState"]},outputs:{bubbleClick:"bubbleClick"},attrs:Nn,decls:21,vars:21,consts:[["cx","0","cy","5","rx","20","ry","4.5","fill","black","opacity","0.08"],["cx","0","cy","4","rx","15","ry","3.5","fill","black","opacity","0.15"],["cx","0","cy","3","rx","10","ry","2.5","fill","black","opacity","0.25"],["cx","0","cy","2","rx","5","ry","1.2","fill","black","opacity","0.40"],["transform","scale(0.8) translate(-20, -68)","filter","url(#doCharEffect)"],[1,"do-char-body"],["app-do-char-lower-body","",3,"pantsColor","isWalking"],["app-do-char-arms","",3,"skinColor","shirtColor","clothingStyle","characterType"],["app-do-char-torso","",3,"shirtColor","clothingStyle","isWorking"],["app-do-char-neck-head","",3,"skinColor"],["app-do-char-face","",3,"eyeColor"],["app-do-char-hair","",3,"hairColor","hairStyle"],["x","0","y","17","text-anchor","middle","fill","#d1d5db","font-size","6","font-family","monospace"],["x","0","y","24","text-anchor","middle","fill","#22d3ee","font-size","4","font-family","monospace","opacity","0.8"],[1,"do-char-bubble",3,"do-char-bubble--clickable"],["y","9","width","50","height","20","rx","4","fill","none","stroke","rgba(0,229,255,0.08)","stroke-width","1.5","filter","url(#doGlowSmall)"],["y","10","width","48","height","18","rx","3","fill","rgba(10,12,16,0.82)","stroke","rgba(0,229,255,0.15)","stroke-width","0.4"],["y","9","width","50","height","12","rx","4","fill","none","stroke","rgba(0,229,255,0.08)","stroke-width","1.5","filter","url(#doGlowSmall)"],["y","10","width","48","height","10","rx","3","fill","rgba(10,12,16,0.82)","stroke","rgba(0,229,255,0.15)","stroke-width","0.4"],[1,"do-char-bubble",3,"click"],["y","-86","height","24","rx","6","fill","transparent"],["y","-83","height","16","rx","5","fill","none","stroke","rgba(0,255,200,0.15)","stroke-width","2","filter","url(#doGlowSmall)"],["y","-82","height","14","rx","4","fill","rgba(15,20,30,0.92)","stroke","rgba(0,255,200,0.4)","stroke-width","0.6"],["x","0","y","-73","text-anchor","middle","fill","#cbd5e1","font-size","4.5","font-family","monospace"],["fill","rgba(15,20,30,0.92)"],["y1","-68.5","x2","0","y2","-64.5","stroke","rgba(0,255,200,0.4)","stroke-width","0.5"]],template:function(a,t){if(a&1&&(h(),p(0,"ellipse",0)(1,"ellipse",1)(2,"ellipse",2)(3,"ellipse",3),o(4,"g",4)(5,"g",5)(6,"g"),p(7,"g",6),r(),o(8,"g"),p(9,"g",7)(10,"g",8),r(),p(11,"g",9),g(12,Bn,1,1,":svg:g",10),p(13,"g",11),r()(),o(14,"g"),g(15,Gn,2,2)(16,Wn,2,2),o(17,"text",12),d(18),r(),g(19,Qn,2,1,":svg:text",13),r(),g(20,zn,10,13,":svg:g",14)),a&2){let s;n(5),I("do-char-body--working",t.isWorking_$()),n(),c("transform",t.lowerBodyTransform_$()),n(),S("pantsColor",t.instanceState().visuals.pantsColor)("isWalking",t.isWalking_$()),n(),c("transform",t.upperBodyTransform_$()),n(),S("skinColor",t.instanceState().visuals.skinColor)("shirtColor",t.instanceState().visuals.shirtColor)("clothingStyle",t.instanceState().visuals.clothingStyle)("characterType",(s=t.instanceState().characterType)!==null&&s!==void 0?s:t.charType.ccap),n(),S("shirtColor",t.instanceState().visuals.shirtColor)("clothingStyle",t.instanceState().visuals.clothingStyle)("isWorking",t.isWorking_$()),n(),S("skinColor",t.instanceState().visuals.skinColor),n(),f(t.isWorking_$()?-1:12),n(),S("hairColor",t.instanceState().visuals.hairColor)("hairStyle",t.instanceState().visuals.hairStyle),n(2),f(t.displaySessionName_$()?15:16),n(3),R(" ",t.displayName_$()," "),n(),f(t.displaySessionName_$()?19:-1),n(),f(t.truncatedLastMessage_$()?20:-1)}},dependencies:[Ce,ve,xe,te,ie,ne],styles:[`@charset "UTF-8";.do-char-body--working[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_do-svg-working 2.5s ease-in-out infinite;transform-origin:20px 68px}@keyframes _ngcontent-%COMP%_do-svg-working{0%,to{transform:rotate(0) translateY(0)}25%{transform:rotate(-2deg) translateY(-1px)}75%{transform:rotate(2deg) translateY(-1px)}}.do-char-bubble[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_do-svg-bubble-float 3s ease-in-out infinite}.do-char-bubble--clickable[_ngcontent-%COMP%]{cursor:pointer}.do-char-bubble--clickable[_ngcontent-%COMP%]:hover rect[_ngcontent-%COMP%]:nth-child(3){stroke:#00ffc8cc;stroke-width:1}.do-char-bubble--clickable[_ngcontent-%COMP%]:hover text[_ngcontent-%COMP%]{fill:#22d3ee}@keyframes _ngcontent-%COMP%_do-svg-bubble-float{0%,to{transform:translateY(0)}50%{transform:translateY(-2px)}}
|
|
16
16
|
/*# sourceMappingURL=do-svg-char.component-25JGGQAE.css.map */`]})}return i})();var Hn=["svgElement"],Ve=(i,l)=>l.trackId;function Zn(i,l){return this.trackInstance(l)}var Yn=()=>[0,1,2];function Un(i,l){if(i&1&&(h(),o(0,"g"),p(1,"rect",393)(2,"rect",394)(3,"line",395)(4,"line",395)(5,"line",395),r()),i&2){let e=l.$implicit;n(),c("x",e.x)("y",e.y)("width",e.w)("height",e.h),n(),c("x",e.x)("y",e.y)("width",e.w)("height",e.h),n(),c("x1",e.x+e.w*.25)("y1",e.y)("x2",e.x+e.w*.25)("y2",e.y+e.h),n(),c("x1",e.x+e.w*.5)("y1",e.y)("x2",e.x+e.w*.5)("y2",e.y+e.h),n(),c("x1",e.x+e.w*.75)("y1",e.y)("x2",e.x+e.w*.75)("y2",e.y+e.h)}}function qn(i,l){if(i&1&&(h(),o(0,"g"),p(1,"rect",396)(2,"rect",397)(3,"line",395)(4,"line",395)(5,"line",395),r()),i&2){let e=l.$implicit,a=_();n(),c("x",a.layoutDerived_$().buildingOuter.x+a.layoutDerived_$().buildingOuter.w-28)("y",a.layoutDerived_$().buildingOuter.y+76+e*180),n(),c("x",a.layoutDerived_$().buildingOuter.x+a.layoutDerived_$().buildingOuter.w-28)("y",a.layoutDerived_$().buildingOuter.y+76+e*180),n(),c("x1",a.layoutDerived_$().buildingOuter.x+a.layoutDerived_$().buildingOuter.w-28)("y1",a.layoutDerived_$().buildingOuter.y+76+e*180+32)("x2",a.layoutDerived_$().buildingOuter.x+a.layoutDerived_$().buildingOuter.w-4)("y2",a.layoutDerived_$().buildingOuter.y+76+e*180+32),n(),c("x1",a.layoutDerived_$().buildingOuter.x+a.layoutDerived_$().buildingOuter.w-28)("y1",a.layoutDerived_$().buildingOuter.y+76+e*180+64)("x2",a.layoutDerived_$().buildingOuter.x+a.layoutDerived_$().buildingOuter.w-4)("y2",a.layoutDerived_$().buildingOuter.y+76+e*180+64),n(),c("x1",a.layoutDerived_$().buildingOuter.x+a.layoutDerived_$().buildingOuter.w-28)("y1",a.layoutDerived_$().buildingOuter.y+76+e*180+96)("x2",a.layoutDerived_$().buildingOuter.x+a.layoutDerived_$().buildingOuter.w-4)("y2",a.layoutDerived_$().buildingOuter.y+76+e*180+96)}}function jn(i,l){if(i&1&&(h(),p(0,"rect",402)(1,"line",403)),i&2){let e=_().$implicit;c("x",e.x+18)("y",e.y+4),n(),c("x1",e.x+20)("y1",e.y+9)("x2",e.x+40)("y2",e.y+9)}}function Kn(i,l){if(i&1&&(h(),p(0,"rect",404)(1,"line",405)),i&2){let e=_().$implicit;c("x",e.x+18)("y",e.y+4),n(),c("x1",e.x+20)("y1",e.y+9)("x2",e.x+40)("y2",e.y+9)}}function Jn(i,l){if(i&1&&(h(),o(0,"g"),p(1,"rect",398)(2,"rect",399),g(3,jn,2,6)(4,Kn,2,6),p(5,"ellipse",400)(6,"ellipse",401),r()),i&2){let e=l.$implicit;n(),c("x",e.x)("y",e.y),n(),c("x",e.x+2)("y",e.y+2),n(),f(e.monitorIsCyan?3:4),n(2),c("cx",e.x+32)("cy",e.y+40),n(),c("cx",e.x+32)("cy",e.y+40)}}function eo(i,l){if(i&1&&(h(),o(0,"g"),p(1,"ellipse",406)(2,"ellipse",407),r()),i&2){let e=l.$implicit;n(),c("cx",e.x)("cy",e.y),n(),c("cx",e.x)("cy",e.y)}}function to(i,l){if(i&1&&(h(),o(0,"g"),p(1,"rect",408)(2,"rect",409)(3,"ellipse",410)(4,"ellipse",410)(5,"rect",411),r()),i&2){let e=l.$implicit;n(),c("x",e.x)("y",e.y)("width",e.w)("height",e.h),n(),c("x",e.x+4)("y",e.y+4)("width",e.w-8)("height",e.h-8),n(),c("cx",e.x+28)("cy",e.y+e.h/2),n(),c("cx",e.x+e.w-28)("cy",e.y+e.h/2),n(),c("x",e.x+2)("y",e.y-2)("width",e.w-4)}}function io(i,l){if(i&1){let e=L();h(),o(0,"g",412),b("click",function(){let t=k(e).$implicit,s=_();return D(s.handleSceneCharacterClick(t))})("dblclick",function(){let t=k(e).$implicit,s=_();return D(s.handleSceneCharacterDblClick(t))})("bubbleClick",function(t){k(e);let s=_();return D(s.handleThoughtBubbleClick(t))}),r()}if(i&2){let e=l.$implicit;S("instanceState",e)}}function no(i,l){if(i&1){let e=L();o(0,"app-do-instance-panel",413),b("instanceClick",function(t){k(e);let s=_();return D(s.handlePanelOpenVisualEditor(t))})("mousedown",function(t){return k(e),D(t.stopPropagation())}),r()}if(i&2){let e=_();S("instances",e.darkOffice_DS.instances_$())}}function oo(i,l){i&1&&(o(0,"div",388)(1,"span"),d(2,"Az iroda \xFCres \u2013 nincs online instance."),r()())}function ao(i,l){i&1&&(o(0,"div",389),p(1,"span",414),r())}function ro(i,l){if(i&1){let e=L();o(0,"div",415),b("mousedown",function(t){return k(e),D(t.stopPropagation())}),o(1,"div",416)(2,"button",417),b("click",function(){k(e);let t=_();return D(t.handleErrorDismiss())}),d(3,"\u2715"),r(),p(4,"app-ccap-error-display",418),r()()}if(i&2){let e=_();n(4),S("error",e.darkOffice_DS.loadError_$())}}function lo(i,l){if(i&1){let e=L();o(0,"app-s-modal",419),b("closed",function(){k(e);let t=_();return D(t.handleEditorClose())}),o(1,"app-do-visual-editor",420),b("close",function(){k(e);let t=_();return D(t.handleEditorClose())}),r()()}if(i&2){let e=_();S("isOpen",!!e.selectedInstance_$())("title","Karakter be\xE1ll\xEDt\xE1sok")("maxWidth","6xl"),n(),S("instanceState",e.selectedInstance_$())}}function co(i,l){if(i&1){let e=L();o(0,"app-do-chat-popup",421),b("close",function(){k(e);let t=_();return D(t.handleChatPopupClose())}),r()}if(i&2){let e=_();S("sessionId",e.darkOffice_DS.chatPopupSessionId_$())}}function so(i,l){i&1&&p(0,"app-do-instance-status-detail")}var po=1536,_o=864,vt=(()=>{class i{darkOffice_DS=G(H);officeLayout_DS=G(ue);sceneWorldW_$=y(()=>this.officeLayout_DS.derived_$().worldW);sceneWorldH_$=y(()=>this.officeLayout_DS.derived_$().worldH);layoutDerived_$=y(()=>this.officeLayout_DS.derived_$());environmentBackdropRect_$=y(()=>{let e=this.officeLayout_DS.derived_$(),a=e.environmentOverflowPx,t=e.worldW,s=e.worldH;return{x:-a,y:-a,w:a*2+t,h:a*2+s}});forestSouthGroupTransform_$=y(()=>`translate(0, ${this.officeLayout_DS.derived_$().worldH-_o})`);forestEastGroupTransform_$=y(()=>`translate(${this.officeLayout_DS.derived_$().worldW-po}, 0)`);entrancePathRect_$=y(()=>{let e=this.officeLayout_DS.derived_$(),a=96;return{x:e.door.x-a/2,y:e.door.y,w:a,h:Math.max(40,e.worldH-e.door.y)}});decorLampSouthWestBase_$=y(()=>{let e=this.officeLayout_DS.derived_$();return{x:Math.max(24,Math.min(e.door.x-420,e.worldW-120)),y:e.door.y+6}});decorLampSouthEastBase_$=y(()=>{let e=this.officeLayout_DS.derived_$();return{x:Math.min(e.worldW-30,Math.max(e.door.x+420,120)),y:e.door.y+6}});northWindowRects_$=y(()=>{let e=this.officeLayout_DS.derived_$().buildingOuter,a=5,t=64,s=16,m=e.w-2*t-s*(a-1),x=Math.max(48,m/a),w=[];for(let A=0;A<a;A++)w.push({x:e.x+t+A*(x+s),y:e.y+4,w:x,h:24});return w});svgRef;selectedInstance_$=y(()=>this.darkOffice_DS.resolveOfficeInstanceById(this.darkOffice_DS.selectedInstanceId_$()));scale_$=X(1);centerX_$=X(912);centerY_$=X(528);isDragging_$=X(!1);viewBox_$=y(()=>{let e=this.scale_$(),a=this.sceneWorldW_$(),t=this.sceneWorldH_$(),s=a/e,m=t/e,x=this.clampCenter(this.centerX_$(),a,s),w=this.clampCenter(this.centerY_$(),t,m);return`${x-s/2} ${w-m/2} ${s} ${m}`});zoomPercent_$=y(()=>Math.round(this.scale_$()*100));isZoomMax_$=y(()=>this.scale_$()>=ge);isZoomMin_$=y(()=>this.scale_$()<=ye);wheelHandler=e=>{this.onWheel(e)};dragStartMouseX=0;dragStartMouseY=0;dragStartCx=0;dragStartCy=0;ngAfterViewInit(){this.svgRef.nativeElement.addEventListener("wheel",this.wheelHandler,{passive:!1})}ngOnDestroy(){this.svgRef?.nativeElement.removeEventListener("wheel",this.wheelHandler)}trackInstance(e){return e.instanceId}handleSceneCharacterClick(e){let a=le.resolve({character:e});this.darkOffice_DS.openInstanceStatusDetail(a)}handleSceneCharacterDblClick(e){let a=le.resolve({character:e});this.darkOffice_DS.closeInstanceStatusDetail(),this.darkOffice_DS.selectInstance(a)}handlePanelOpenVisualEditor(e){this.darkOffice_DS.selectInstance(e)}handleThoughtBubbleClick(e){this.darkOffice_DS.openChatPopup(e)}handleEditorClose(){this.darkOffice_DS.selectInstance(null)}handleChatPopupClose(){this.darkOffice_DS.closeChatPopup()}handleErrorDismiss(){this.darkOffice_DS.dismissError()}handleZoomIn(){this.applyZoomAtPoint(this.scale_$()+.15,.5,.5)}handleZoomOut(){this.applyZoomAtPoint(this.scale_$()-.15,.5,.5)}handleZoomReset(){this.scale_$.set(1),this.centerX_$.set(this.sceneWorldW_$()/2),this.centerY_$.set(this.sceneWorldH_$()/2)}handleMouseDown(e){e.button!==0&&e.button!==1||(e.preventDefault(),this.isDragging_$.set(!0),this.dragStartMouseX=e.clientX,this.dragStartMouseY=e.clientY,this.dragStartCx=this.centerX_$(),this.dragStartCy=this.centerY_$())}handleMouseMove(e){if(!this.isDragging_$())return;let t=this.svgRef.nativeElement.getBoundingClientRect(),s=this.scale_$(),m=(e.clientX-this.dragStartMouseX)*(this.sceneWorldW_$()/s)/t.width,x=(e.clientY-this.dragStartMouseY)*(this.sceneWorldH_$()/s)/t.height;this.centerX_$.set(this.dragStartCx-m),this.centerY_$.set(this.dragStartCy-x)}handleMouseUp(){this.isDragging_$.set(!1)}onWheel(e){e.preventDefault();let t=this.svgRef.nativeElement.getBoundingClientRect(),s=(e.clientX-t.left)/t.width,m=(e.clientY-t.top)/t.height,x=this.scale_$(),w=this.centerX_$(),A=this.centerY_$(),V=w+this.sceneWorldW_$()/x*(s-.5),N=A+this.sceneWorldH_$()/x*(m-.5),ae=-e.deltaY*.001,K=Math.max(ye,Math.min(ge,x+ae));if(Math.abs(K-x)<1e-6)return;let ke=V+this.sceneWorldW_$()/K*(.5-s),De=N+this.sceneWorldH_$()/K*(.5-m);this.scale_$.set(K),this.centerX_$.set(ke),this.centerY_$.set(De)}applyZoomAtPoint(e,a,t){let s=this.scale_$(),m=Math.max(ye,Math.min(ge,e));if(Math.abs(m-s)<1e-6)return;let x=this.centerX_$(),w=this.centerY_$(),A=x+this.sceneWorldW_$()/s*(a-.5),V=w+this.sceneWorldH_$()/s*(t-.5),N=A+this.sceneWorldW_$()/m*(.5-a),ae=V+this.sceneWorldH_$()/m*(.5-t);this.scale_$.set(m),this.centerX_$.set(N),this.centerY_$.set(ae)}clampCenter(e,a,t){let s=a*rt,m=s-t/2,x=a-s+t/2;return Math.min(x,Math.max(m,e))}static \u0275fac=function(a){return new(a||i)};static \u0275cmp=P({type:i,selectors:[["app-do-office-scene"]],viewQuery:function(a,t){if(a&1&&ze(Hn,5),a&2){let s;Xe(s=He())&&(t.svgRef=s.first)}},decls:443,vars:274,consts:[["svgElement",""],[1,"do-scene-container"],["preserveAspectRatio","xMidYMid meet","xmlns","http://www.w3.org/2000/svg",1,"do-svg-canvas",3,"mousedown","mousemove","mouseup","mouseleave"],["id","doGlowSmall","x","-50%","y","-50%","width","200%","height","200%"],["stdDeviation","2","result","blur"],["in","blur"],["in","SourceGraphic"],["id","doGlowMid","x","-50%","y","-50%","width","200%","height","200%"],["stdDeviation","5","result","blur"],["id","doGlowWide","x","-80%","y","-80%","width","260%","height","260%"],["stdDeviation","8","result","blur"],["id","doLight3D","x1","0","y1","0","x2","1","y2","0.5"],["offset","0%","stop-color","white","stop-opacity","0.12"],["offset","40%","stop-color","white","stop-opacity","0.02"],["offset","100%","stop-color","black","stop-opacity","0.15"],["id","doLightVert","x1","0","y1","0","x2","0","y2","1"],["offset","0%","stop-color","white","stop-opacity","0.10"],["offset","50%","stop-color","white","stop-opacity","0"],["offset","100%","stop-color","black","stop-opacity","0.08"],["id","doCharEffect","x","-30%","y","-20%","width","160%","height","150%"],["in","SourceAlpha","stdDeviation","1.5","result","shadow"],["dx","1","dy","2","in","shadow","result","offsetShadow"],["flood-color","#050510","flood-opacity","0.4","result","shadowColor"],["in","shadowColor","in2","offsetShadow","operator","in","result","coloredShadow"],["operator","dilate","radius","0.3","in","SourceAlpha","result","expanded"],["stdDeviation","1.2","in","expanded","result","rimBlur"],["flood-color","#00e5ff","flood-opacity","0.12","result","rimColor"],["in","rimColor","in2","rimBlur","operator","in","result","rimGlow"],["in","coloredShadow"],["in","rimGlow"],["id","doFloorGridWork","width","32","height","32","patternUnits","userSpaceOnUse"],["x1","0","y1","0","x2","32","y2","0","stroke","#00e5ff","stroke-width","0.4","opacity","0.12"],["x1","0","y1","0","x2","0","y2","32","stroke","#00e5ff","stroke-width","0.4","opacity","0.12"],["cx","0","cy","0","r","0.7","fill","#00e5ff","opacity","0.1"],["id","doFloorGridLounge","width","32","height","32","patternUnits","userSpaceOnUse"],["x1","0","y1","0","x2","32","y2","0","stroke","#ff2dd9","stroke-width","0.35","opacity","0.09"],["x1","0","y1","0","x2","0","y2","32","stroke","#ff2dd9","stroke-width","0.35","opacity","0.09"],["cx","0","cy","0","r","0.6","fill","#ff2dd9","opacity","0.07"],["id","doFloorGridConference","width","32","height","32","patternUnits","userSpaceOnUse"],["x1","0","y1","0","x2","32","y2","0","stroke","#00e5ff","stroke-width","0.35","opacity","0.1"],["cx","0","cy","0","r","0.55","fill","#00e5ff","opacity","0.06"],["id","doGlassReflection","x1","0","y1","0","x2","1","y2","1"],["offset","0%","stop-color","white","stop-opacity","0.08"],["offset","30%","stop-color","white","stop-opacity","0.02"],["offset","50%","stop-color","white","stop-opacity","0.06"],["offset","100%","stop-color","white","stop-opacity","0.01"],["id","doForestTile","width","144","height","144","patternUnits","userSpaceOnUse"],["width","144","height","144","fill","#081210"],["x","34","y","42","width","4","height","13","fill","#1a120a","rx","1"],["cx","36","cy","28","r","16","fill","#14381c"],["cx","27","cy","22","r","10","fill","#123218"],["cx","45","cy","23","r","9","fill","#0f2d16"],["cx","36","cy","28","r","16","fill","none","stroke","#39ff88","stroke-width","0.3","opacity","0.06"],["x","88","y","33","width","4","height","11","fill","#1a120a","rx","1"],["cx","90","cy","20","r","14","fill","#123218"],["cx","82","cy","14","r","9","fill","#14381c"],["cx","99","cy","16","r","8","fill","#0f2d16"],["x","58","y","78","width","5","height","14","fill","#1a120a","rx","1"],["cx","60","cy","63","r","17","fill","#14381c"],["cx","51","cy","56","r","11","fill","#0f2d16"],["cx","70","cy","58","r","10","fill","#123218"],["cx","60","cy","63","r","17","fill","none","stroke","#39ff88","stroke-width","0.3","opacity","0.05"],["x","113","y","68","width","3","height","10","fill","#1a120a","rx","1"],["cx","115","cy","58","r","12","fill","#123218"],["cx","108","cy","53","r","7","fill","#14381c"],["cx","122","cy","55","r","6","fill","#0f2d16"],["x","23","y","106","width","4","height","12","fill","#1a120a","rx","1"],["cx","25","cy","93","r","15","fill","#14381c"],["cx","17","cy","87","r","9","fill","#123218"],["cx","34","cy","88","r","8","fill","#0f2d16"],["x","78","y","114","width","5","height","14","fill","#1a120a","rx","1"],["cx","80","cy","98","r","16","fill","#123218"],["cx","71","cy","91","r","10","fill","#14381c"],["cx","89","cy","93","r","9","fill","#0f2d16"],["cx","80","cy","98","r","16","fill","none","stroke","#39ff88","stroke-width","0.3","opacity","0.07"],["x","123","y","120","width","3","height","10","fill","#1a120a","rx","1"],["cx","125","cy","108","r","11","fill","#14381c"],["cx","118","cy","103","r","7","fill","#0f2d16"],["cx","132","cy","104","r","6","fill","#123218"],["cx","5","cy","48","r","13","fill","#14381c"],["cx","-3","cy","42","r","8","fill","#123218"],["cx","13","cy","43","r","7","fill","#0f2d16"],["cx","149","cy","48","r","13","fill","#14381c"],["cx","141","cy","42","r","8","fill","#123218"],["cx","157","cy","43","r","7","fill","#0f2d16"],["cx","139","cy","128","r","12","fill","#123218"],["cx","132","cy","123","r","7","fill","#14381c"],["cx","-5","cy","128","r","12","fill","#123218"],["cx","-12","cy","123","r","7","fill","#14381c"],["cx","42","cy","2","r","12","fill","#123218"],["cx","35","cy","-3","r","7","fill","#0f2d16"],["cx","50","cy","-1","r","6","fill","#14381c"],["cx","42","cy","146","r","12","fill","#123218"],["cx","35","cy","141","r","7","fill","#0f2d16"],["cx","50","cy","143","r","6","fill","#14381c"],["cx","110","cy","138","r","12","fill","#14381c"],["cx","103","cy","133","r","7","fill","#123218"],["cx","110","cy","-6","r","12","fill","#14381c"],["cx","103","cy","-11","r","7","fill","#123218"],["cx","18","cy","18","rx","9","ry","5","fill","#123218","opacity","0.7"],["cx","72","cy","38","rx","8","ry","4","fill","#0f2d16","opacity","0.6"],["cx","130","cy","42","rx","9","ry","5","fill","#14381c","opacity","0.6"],["cx","48","cy","88","rx","8","ry","4","fill","#123218","opacity","0.6"],["cx","105","cy","82","rx","9","ry","5","fill","#0f2d16","opacity","0.55"],["cx","15","cy","130","rx","8","ry","4","fill","#14381c","opacity","0.55"],["cx","65","cy","128","rx","9","ry","5","fill","#123218","opacity","0.6"],["cx","100","cy","135","rx","8","ry","4","fill","#0f2d16","opacity","0.5"],["cx","55","cy","15","r","5","fill","#0d1a10","opacity","0.3"],["cx","120","cy","28","r","4","fill","#0d1a10","opacity","0.3"],["cx","20","cy","72","r","5","fill","#0d1a10","opacity","0.3"],["cx","95","cy","55","r","4","fill","#0d1a10","opacity","0.25"],["cx","42","cy","115","r","5","fill","#0d1a10","opacity","0.3"],["cx","135","cy","90","r","4","fill","#0d1a10","opacity","0.25"],["cx","75","cy","12","r","0.7","fill","#39ff88","opacity","0.15"],["cx","75","cy","12","r","2.5","fill","#39ff88","opacity","0.02"],["cx","15","cy","108","r","0.6","fill","#39ff88","opacity","0.12"],["cx","15","cy","108","r","2","fill","#39ff88","opacity","0.02"],["cx","130","cy","75","r","0.5","fill","#ff2dd9","opacity","0.08"],["cx","130","cy","75","r","1.5","fill","#ff2dd9","opacity","0.012"],["id","doEnvironment"],["fill","#0a120e"],["fill","#0b150f","opacity","0.6"],["fill","url(#doForestTile)"],["x","0","y","0","fill","#0a120e"],["x","0","y","0","fill","#0b150f","opacity","0.6"],["cx","200","cy","780","r","18","fill","#0d1a10","opacity","0.4"],["cx","1350","cy","50","r","22","fill","#0d1a10","opacity","0.3"],["cx","60","cy","400","r","15","fill","#0d1a10","opacity","0.35"],["cx","1470","cy","450","r","20","fill","#0d1a10","opacity","0.3"],["id","doForestEdge","opacity","0.9"],["cx","-10","cy","-5","r","22","fill","#14381c"],["cx","-20","cy","-12","r","14","fill","#123218"],["cx","60","cy","0","r","20","fill","#123218"],["cx","50","cy","-8","r","13","fill","#0f2d16"],["cx","72","cy","-5","r","11","fill","#14381c"],["cx","150","cy","-5","r","18","fill","#14381c"],["cx","140","cy","-12","r","12","fill","#123218"],["cx","250","cy","2","r","20","fill","#123218"],["cx","240","cy","-6","r","13","fill","#0f2d16"],["cx","262","cy","-3","r","11","fill","#14381c"],["cx","360","cy","-3","r","17","fill","#14381c"],["cx","352","cy","-10","r","11","fill","#123218"],["cx","470","cy","0","r","19","fill","#0f2d16"],["cx","460","cy","-8","r","12","fill","#14381c"],["cx","580","cy","-4","r","18","fill","#123218"],["cx","570","cy","-11","r","11","fill","#14381c"],["cx","700","cy","2","r","20","fill","#14381c"],["cx","690","cy","-6","r","13","fill","#0f2d16"],["cx","830","cy","-2","r","17","fill","#123218"],["cx","820","cy","-9","r","11","fill","#14381c"],["cx","950","cy","0","r","19","fill","#14381c"],["cx","940","cy","-8","r","12","fill","#0f2d16"],["cx","1080","cy","-3","r","18","fill","#123218"],["cx","1070","cy","-10","r","11","fill","#14381c"],["cx","1200","cy","2","r","20","fill","#14381c"],["cx","1190","cy","-6","r","13","fill","#123218"],["cx","1320","cy","-1","r","17","fill","#0f2d16"],["cx","1312","cy","-8","r","11","fill","#14381c"],["cx","1430","cy","0","r","19","fill","#14381c"],["cx","1420","cy","-7","r","12","fill","#123218"],["cx","1540","cy","-3","r","22","fill","#123218"],["cx","1550","cy","-10","r","14","fill","#0f2d16"],["cx","100","cy","12","rx","14","ry","7","fill","#123218","opacity","0.6"],["cx","310","cy","8","rx","12","ry","6","fill","#0f2d16","opacity","0.55"],["cx","530","cy","10","rx","13","ry","6","fill","#14381c","opacity","0.5"],["cx","770","cy","6","rx","14","ry","7","fill","#123218","opacity","0.55"],["cx","1000","cy","10","rx","12","ry","6","fill","#0f2d16","opacity","0.5"],["cx","1260","cy","8","rx","13","ry","6","fill","#14381c","opacity","0.55"],["cx","1480","cy","12","rx","12","ry","6","fill","#123218","opacity","0.5"],["cx","-10","cy","868","r","22","fill","#14381c"],["cx","-18","cy","876","r","14","fill","#0f2d16"],["cx","70","cy","870","r","19","fill","#123218"],["cx","60","cy","878","r","12","fill","#14381c"],["cx","180","cy","866","r","20","fill","#14381c"],["cx","170","cy","874","r","13","fill","#123218"],["cx","300","cy","872","r","17","fill","#0f2d16"],["cx","292","cy","880","r","11","fill","#14381c"],["cx","420","cy","868","r","19","fill","#123218"],["cx","410","cy","876","r","12","fill","#14381c"],["cx","550","cy","870","r","18","fill","#14381c"],["cx","540","cy","878","r","11","fill","#0f2d16"],["cx","660","cy","866","r","20","fill","#123218"],["cx","650","cy","874","r","13","fill","#14381c"],["cx","870","cy","868","r","19","fill","#14381c"],["cx","860","cy","876","r","12","fill","#123218"],["cx","990","cy","872","r","18","fill","#0f2d16"],["cx","980","cy","880","r","11","fill","#14381c"],["cx","1110","cy","868","r","20","fill","#123218"],["cx","1100","cy","876","r","13","fill","#14381c"],["cx","1230","cy","870","r","17","fill","#14381c"],["cx","1222","cy","878","r","11","fill","#0f2d16"],["cx","1350","cy","866","r","19","fill","#123218"],["cx","1340","cy","874","r","12","fill","#14381c"],["cx","1460","cy","870","r","18","fill","#14381c"],["cx","1450","cy","878","r","11","fill","#123218"],["cx","1540","cy","868","r","22","fill","#123218"],["cx","1550","cy","876","r","14","fill","#0f2d16"],["cx","130","cy","858","rx","13","ry","6","fill","#123218","opacity","0.6"],["cx","360","cy","854","rx","12","ry","6","fill","#0f2d16","opacity","0.55"],["cx","500","cy","856","rx","14","ry","7","fill","#14381c","opacity","0.5"],["cx","940","cy","854","rx","13","ry","6","fill","#123218","opacity","0.55"],["cx","1170","cy","858","rx","12","ry","6","fill","#0f2d16","opacity","0.5"],["cx","1400","cy","856","rx","14","ry","7","fill","#14381c","opacity","0.55"],["cx","-5","cy","100","r","20","fill","#123218"],["cx","-14","cy","92","r","13","fill","#14381c"],["cx","5","cy","94","r","10","fill","#0f2d16"],["cx","-3","cy","200","r","18","fill","#14381c"],["cx","-12","cy","192","r","11","fill","#123218"],["cx","-5","cy","310","r","20","fill","#123218"],["cx","-14","cy","302","r","13","fill","#0f2d16"],["cx","-2","cy","420","r","17","fill","#14381c"],["cx","-10","cy","412","r","11","fill","#123218"],["cx","-5","cy","530","r","19","fill","#0f2d16"],["cx","-14","cy","522","r","12","fill","#14381c"],["cx","-3","cy","640","r","18","fill","#123218"],["cx","-12","cy","632","r","11","fill","#14381c"],["cx","-5","cy","750","r","20","fill","#14381c"],["cx","-14","cy","742","r","13","fill","#0f2d16"],["cx","12","cy","150","rx","12","ry","6","fill","#0f2d16","opacity","0.55"],["cx","8","cy","260","rx","11","ry","5","fill","#14381c","opacity","0.5"],["cx","14","cy","370","rx","12","ry","6","fill","#123218","opacity","0.55"],["cx","10","cy","480","rx","11","ry","5","fill","#0f2d16","opacity","0.5"],["cx","12","cy","590","rx","12","ry","6","fill","#14381c","opacity","0.55"],["cx","8","cy","700","rx","11","ry","5","fill","#123218","opacity","0.5"],["cx","1542","cy","90","r","20","fill","#14381c"],["cx","1550","cy","82","r","13","fill","#123218"],["cx","1542","cy","200","r","18","fill","#123218"],["cx","1550","cy","192","r","11","fill","#0f2d16"],["cx","1540","cy","310","r","20","fill","#14381c"],["cx","1548","cy","302","r","13","fill","#123218"],["cx","1542","cy","420","r","17","fill","#0f2d16"],["cx","1550","cy","412","r","11","fill","#14381c"],["cx","1540","cy","530","r","19","fill","#123218"],["cx","1548","cy","522","r","12","fill","#14381c"],["cx","1542","cy","640","r","18","fill","#14381c"],["cx","1550","cy","632","r","11","fill","#0f2d16"],["cx","1540","cy","750","r","20","fill","#123218"],["cx","1548","cy","742","r","13","fill","#14381c"],["cx","1526","cy","150","rx","12","ry","6","fill","#123218","opacity","0.55"],["cx","1530","cy","260","rx","11","ry","5","fill","#0f2d16","opacity","0.5"],["cx","1524","cy","370","rx","12","ry","6","fill","#14381c","opacity","0.55"],["cx","1528","cy","480","rx","11","ry","5","fill","#123218","opacity","0.5"],["cx","1526","cy","590","rx","12","ry","6","fill","#0f2d16","opacity","0.55"],["cx","1530","cy","700","rx","11","ry","5","fill","#14381c","opacity","0.5"],["x","18","y","120","width","4","height","24","fill","#1a1a2e"],["x","14","y","116","width","12","height","6","rx","2","fill","#1a1a2e","stroke","#00e5ff","stroke-width","0.8","opacity","0.7"],["cx","20","cy","119","r","3","fill","#00e5ff","opacity","0.6"],["cx","20","cy","119","r","10","fill","#00e5ff","opacity","0.06"],["cx","20","cy","148","rx","14","ry","6","fill","#00e5ff","opacity","0.04"],["x","1514","y","115","width","4","height","24","fill","#1a1a2e"],["x","1510","y","111","width","12","height","6","rx","2","fill","#1a1a2e","stroke","#ff2dd9","stroke-width","0.8","opacity","0.7"],["cx","1516","cy","114","r","3","fill","#ff2dd9","opacity","0.6"],["cx","1516","cy","114","r","10","fill","#ff2dd9","opacity","0.06"],["cx","1516","cy","143","rx","14","ry","6","fill","#ff2dd9","opacity","0.04"],["x","90","y","710","width","4","height","24","fill","#1a1a2e"],["x","86","y","706","width","12","height","6","rx","2","fill","#1a1a2e","stroke","#39ff88","stroke-width","0.8","opacity","0.7"],["cx","92","cy","709","r","3","fill","#39ff88","opacity","0.6"],["cx","92","cy","709","r","10","fill","#39ff88","opacity","0.06"],["cx","92","cy","738","rx","14","ry","6","fill","#39ff88","opacity","0.04"],["x","1440","y","710","width","4","height","24","fill","#1a1a2e"],["x","1436","y","706","width","12","height","6","rx","2","fill","#1a1a2e","stroke","#39ff88","stroke-width","0.8","opacity","0.7"],["cx","1442","cy","709","r","3","fill","#39ff88","opacity","0.6"],["cx","1442","cy","709","r","10","fill","#39ff88","opacity","0.06"],["cx","1442","cy","738","rx","14","ry","6","fill","#39ff88","opacity","0.04"],["cx","15","cy","500","r","1.5","fill","#7d5cff","opacity","0.4"],["cx","15","cy","500","r","4","fill","#7d5cff","opacity","0.04"],["cx","1520","cy","300","r","1.5","fill","#00e5ff","opacity","0.35"],["cx","1520","cy","300","r","4","fill","#00e5ff","opacity","0.04"],["cx","1460","cy","840","r","1.2","fill","#ffc857","opacity","0.3"],["cx","1460","cy","840","r","3.5","fill","#ffc857","opacity","0.04"],["cx","80","cy","50","r","1","fill","#ff2dd9","opacity","0.3"],["cx","80","cy","50","r","3","fill","#ff2dd9","opacity","0.04"],["r","1","fill","#39ff88","opacity","0.35"],["r","3","fill","#39ff88","opacity","0.04"],["cx","400","cy","20","r","1.2","fill","#ff4d6d","opacity","0.3"],["cx","400","cy","20","r","3.5","fill","#ff4d6d","opacity","0.04"],["fill","#0e160f","rx","2"],["stroke","#39ff88","stroke-width","0.8","opacity","0.15"],["id","doGround"],["fill","#101022","opacity","0.6"],["fill","url(#doFloorGridWork)"],["fill","#0e1218","opacity","0.92"],["fill","#141820","opacity","0.35"],["fill","#111126","opacity","0.6"],["fill","url(#doFloorGridLounge)"],["fill","#101022","opacity","0.55"],["fill","url(#doFloorGridConference)","opacity","0.5"],["stroke","#00e5ff","stroke-width","3","opacity","0.08","filter","url(#doGlowMid)"],["stroke","#00e5ff","stroke-width","1.2","opacity","0.3"],["stroke","#ff2dd9","stroke-width","1.2","opacity","0.25"],["stroke","#00e5ff","stroke-width","3","opacity","0.06","filter","url(#doGlowMid)"],["stroke","#ff2dd9","stroke-width","1.2","opacity","0.22"],["id","doBuilding"],["fill","none","stroke","#2e2e58","stroke-width","2","rx","4"],["fill","#161630","opacity","0.3","rx","4"],["stroke","#00e5ff","stroke-width","3","opacity","0.06","filter","url(#doGlowSmall)"],["stroke","#00e5ff","stroke-width","1","opacity","0.25"],["stroke","#ff2dd9","stroke-width","3","opacity","0.06","filter","url(#doGlowSmall)"],["stroke","#ff2dd9","stroke-width","1","opacity","0.25"],["width","32","height","32","fill","none","stroke","#00e5ff","stroke-width","0.5","opacity","0.15","rx","2"],["width","32","height","32","fill","none","stroke","#ff2dd9","stroke-width","0.5","opacity","0.15","rx","2"],["id","doWindowsNorth"],["id","doWindowsEast"],["id","doEntrance"],["width","96","height","24","fill","#0c1028","rx","1"],["width","44","height","20","fill","#0c1028","rx","1","stroke","#39ff88","stroke-width","0.8","opacity","0.35"],["width","44","height","20","fill","url(#doGlassReflection)"],["stroke","#39ff88","stroke-width","1","opacity","0.5"],["width","60","height","14","fill","#161630","rx","2","stroke","#39ff88","stroke-width","0.8","opacity","0.5"],["text-anchor","middle","fill","#39ff88","font-size","8","font-weight","bold","font-family","monospace","opacity","0.8"],["stroke","#39ff88","stroke-width","1.5","opacity","0.3","filter","url(#doGlowSmall)"],["stroke","#39ff88","stroke-width","2","opacity","0.35","filter","url(#doGlowSmall)"],["id","doInterior"],["text-anchor","middle","fill","#6060a0","font-size","8","font-family","monospace","opacity","0.5"],["text-anchor","middle","fill","#505870","font-size","8","font-family","monospace","opacity","0.4"],["text-anchor","middle","fill","#8060a0","font-size","8","font-family","monospace","opacity","0.5"],["stroke","#00e5ff","stroke-width","1.2","opacity","0.22"],["stroke","#ff2dd9","stroke-width","1","opacity","0.18"],["id","doConferenceFurniture"],["fill","#1c1c36","rx","4","stroke","#00e5ff","stroke-width","0.9","opacity","0.45"],["fill","#222240","rx","3","opacity","0.9"],["stroke","#ff2dd9","stroke-width","0.6","opacity","0.35"],["x","480","y","128","width","64","height","64","fill","#181832","rx","3","stroke","#50508a","stroke-width","0.8"],["x","482","y","130","width","60","height","60","fill","#222240","rx","2"],["x1","482","y1","145","x2","542","y2","145","stroke","#3a3a60","stroke-width","0.6"],["x1","482","y1","160","x2","542","y2","160","stroke","#3a3a60","stroke-width","0.6"],["x1","482","y1","175","x2","542","y2","175","stroke","#3a3a60","stroke-width","0.6"],["cx","538","cy","136","r","1.5","fill","#00e5ff","opacity","0.7"],["cx","538","cy","142","r","1.5","fill","#ff2dd9","opacity","0.7"],["cx","538","cy","152","r","1.5","fill","#39ff88","opacity","0.7"],["cx","538","cy","158","r","1.5","fill","#39ff88","opacity","0.7"],["cx","538","cy","168","r","1.5","fill","#ff4d4d","opacity","0.5"],["cx","538","cy","174","r","1.5","fill","#00e5ff","opacity","0.5"],["x","480","y","128","width","64","height","64","fill","none","rx","3","stroke","#00e5ff","stroke-width","0.5","opacity","0.15"],["cx","512","cy","194","rx","8","ry","2","fill","#00e5ff","opacity","0.02"],["id","doLoungeCoffeeTable"],["width","44","height","32","fill","#1c1c36","rx","3","stroke","#50508a","stroke-width","0.6"],["width","36","height","24","fill","#282848","rx","2"],["r","5","fill","#1a1006","opacity","0.3"],["r","3","fill","#3a2810","opacity","0.5"],["rx","2.5","ry","1.5","fill","#5a3a18","opacity","0.4"],["width","10","height","14","fill","#1e1e38","rx","1","stroke","#50508a","stroke-width","0.3","opacity","0.4"],["stroke","#00e5ff","stroke-width","3","opacity","0.1","filter","url(#doGlowMid)"],["stroke","#00e5ff","stroke-width","1.2","opacity","0.35"],["stroke","#606878","stroke-width","2","opacity","0.08","filter","url(#doGlowMid)"],["stroke","#606878","stroke-width","1","opacity","0.28"],["stroke","#ff2dd9","stroke-width","3","opacity","0.08","filter","url(#doGlowMid)"],["stroke","#ff2dd9","stroke-width","1.2","opacity","0.3"],["r","6","fill","#ffc857","opacity","0.1"],["r","2.5","fill","#ffc857","opacity","0.3"],["r","6","fill","#ffc857","opacity","0.12"],["r","2.5","fill","#ffc857","opacity","0.35"],["r","5","fill","#ffc857","opacity","0.08"],["r","2","fill","#ffc857","opacity","0.25"],["r","5","fill","#ff2dd9","opacity","0.1"],["r","2","fill","#ff2dd9","opacity","0.25"],["r","5","fill","#ff2dd9","opacity","0.08"],["r","2","fill","#ff2dd9","opacity","0.2"],["x","156","y","274","width","8","height","10","fill","#1a120a","rx","2"],["x","154","y","270","width","12","height","6","fill","#1e1e38","rx","2"],["cx","160","cy","264","r","8","fill","#14381c","opacity","0.7"],["cx","154","cy","260","r","5","fill","#123218","opacity","0.6"],["cx","166","cy","261","r","5","fill","#14381c","opacity","0.6"],["x","446","y","274","width","8","height","9","fill","#1a120a","rx","2"],["x","444","y","270","width","12","height","6","fill","#1e1e38","rx","2"],["cx","450","cy","264","r","7","fill","#123218","opacity","0.7"],["cx","444","cy","261","r","4.5","fill","#14381c","opacity","0.6"],["cx","456","cy","262","r","4","fill","#123218","opacity","0.5"],["x","1076","y","146","width","8","height","9","fill","#1a120a","rx","2"],["x","1074","y","142","width","12","height","6","fill","#1e1e38","rx","2"],["cx","1080","cy","136","r","7","fill","#14381c","opacity","0.6"],["cx","1074","cy","133","r","4.5","fill","#123218","opacity","0.5"],["cx","1086","cy","134","r","4","fill","#14381c","opacity","0.5"],["x","1376","y","526","width","8","height","10","fill","#1a120a","rx","2"],["x","1374","y","522","width","12","height","6","fill","#1e1e38","rx","2"],["cx","1380","cy","516","r","8","fill","#123218","opacity","0.6"],["cx","1374","cy","512","r","5","fill","#14381c","opacity","0.5"],["cx","1386","cy","514","r","5","fill","#123218","opacity","0.5"],["id","doFxOver"],["rx","60","ry","22","fill","#39ff88","opacity","0.12"],["rx","35","ry","12","fill","#39ff88","opacity","0.06"],["app-do-svg-char","",2,"cursor","pointer",3,"instanceState"],[3,"instances"],[1,"do-zoom-controls",3,"mousedown"],["type","button","title","Zoom in",1,"do-zoom-btn",3,"click","disabled"],[1,"do-zoom-label"],["type","button","title","Zoom out",1,"do-zoom-btn",3,"click","disabled"],["type","button","title","Reset view",1,"do-zoom-btn","do-zoom-reset-btn",3,"click","disabled"],[1,"do-empty-label"],[1,"do-loading-overlay"],[1,"do-error-overlay"],[3,"isOpen","title","maxWidth"],[3,"sessionId"],["fill","#0c1028","rx","2","stroke","#00e5ff","stroke-width","0.8","opacity","0.4"],["fill","url(#doGlassReflection)"],["stroke","#3a3a60","stroke-width","0.5","opacity","0.4"],["width","24","height","128","fill","#0c1028","rx","2","stroke","#ff2dd9","stroke-width","0.8","opacity","0.4"],["width","24","height","128","fill","url(#doGlassReflection)"],["width","64","height","32","fill","#1e1e38","rx","2","stroke","#50508a","stroke-width","0.6"],["width","60","height","28","fill","#262646","rx","1"],["rx","10","ry","6","fill","#14142a","opacity","0.7"],["rx","7","ry","4","fill","#1e1e38","stroke","#50508a","stroke-width","0.4"],["width","24","height","14","fill","#0a1a40","rx","1","stroke","#00e5ff","stroke-width","0.5","opacity","0.6"],["stroke","#00e5ff","stroke-width","0.3","opacity","0.35"],["width","24","height","14","fill","#0a1a40","rx","1","stroke","#ff2dd9","stroke-width","0.5","opacity","0.6"],["stroke","#ff2dd9","stroke-width","0.3","opacity","0.35"],["rx","16","ry","11","fill","#14142a","opacity","0.88","stroke","#ff2dd9","stroke-width","0.55","opacity","0.5"],["rx","11","ry","7","fill","#1e1e38","stroke","#50508a","stroke-width","0.35"],["fill","#1c1c36","rx","5","stroke","#ff2dd9","stroke-width","0.8","opacity","0.35"],["fill","#282848","rx","4"],["rx","12","ry","9","fill","#222240","opacity","0.6"],["height","6","fill","#1c1c36","rx","3"],["app-do-svg-char","",2,"cursor","pointer",3,"click","dblclick","bubbleClick","instanceState"],[3,"instanceClick","mousedown","instances"],[1,"do-loading-dot"],[1,"do-error-overlay",3,"mousedown"],[1,"do-error-panel"],["type","button","title","Bez\xE1r\xE1s",1,"do-error-close-btn",3,"click"],[3,"error"],[3,"closed","isOpen","title","maxWidth"],[3,"close","instanceState"],[3,"close","sessionId"]],template:function(a,t){if(a&1){let s=L();o(0,"div",1),h(),o(1,"svg",2,0),b("mousedown",function(x){return k(s),D(t.handleMouseDown(x))})("mousemove",function(x){return k(s),D(t.handleMouseMove(x))})("mouseup",function(){return k(s),D(t.handleMouseUp())})("mouseleave",function(){return k(s),D(t.handleMouseUp())}),o(3,"defs")(4,"filter",3),p(5,"feGaussianBlur",4),o(6,"feMerge"),p(7,"feMergeNode",5)(8,"feMergeNode",6),r()(),o(9,"filter",7),p(10,"feGaussianBlur",8),o(11,"feMerge"),p(12,"feMergeNode",5)(13,"feMergeNode",6),r()(),o(14,"filter",9),p(15,"feGaussianBlur",10),o(16,"feMerge"),p(17,"feMergeNode",5)(18,"feMergeNode",6),r()(),o(19,"linearGradient",11),p(20,"stop",12)(21,"stop",13)(22,"stop",14),r(),o(23,"linearGradient",15),p(24,"stop",16)(25,"stop",17)(26,"stop",18),r(),o(27,"filter",19),p(28,"feGaussianBlur",20)(29,"feOffset",21)(30,"feFlood",22)(31,"feComposite",23)(32,"feMorphology",24)(33,"feGaussianBlur",25)(34,"feFlood",26)(35,"feComposite",27),o(36,"feMerge"),p(37,"feMergeNode",28)(38,"feMergeNode",29)(39,"feMergeNode",6),r()(),o(40,"pattern",30),p(41,"line",31)(42,"line",32)(43,"circle",33),r(),o(44,"pattern",34),p(45,"line",35)(46,"line",36)(47,"circle",37),r(),o(48,"pattern",38),p(49,"line",39)(50,"line",36)(51,"circle",40),r(),o(52,"linearGradient",41),p(53,"stop",42)(54,"stop",43)(55,"stop",44)(56,"stop",45),r(),o(57,"pattern",46),p(58,"rect",47)(59,"rect",48)(60,"circle",49)(61,"circle",50)(62,"circle",51)(63,"circle",52)(64,"rect",53)(65,"circle",54)(66,"circle",55)(67,"circle",56)(68,"rect",57)(69,"circle",58)(70,"circle",59)(71,"circle",60)(72,"circle",61)(73,"rect",62)(74,"circle",63)(75,"circle",64)(76,"circle",65)(77,"rect",66)(78,"circle",67)(79,"circle",68)(80,"circle",69)(81,"rect",70)(82,"circle",71)(83,"circle",72)(84,"circle",73)(85,"circle",74)(86,"rect",75)(87,"circle",76)(88,"circle",77)(89,"circle",78)(90,"circle",79)(91,"circle",80)(92,"circle",81)(93,"circle",82)(94,"circle",83)(95,"circle",84)(96,"circle",85)(97,"circle",86)(98,"circle",87)(99,"circle",88)(100,"circle",89)(101,"circle",90)(102,"circle",91)(103,"circle",92)(104,"circle",93)(105,"circle",94)(106,"circle",95)(107,"circle",96)(108,"circle",97)(109,"circle",98)(110,"ellipse",99)(111,"ellipse",100)(112,"ellipse",101)(113,"ellipse",102)(114,"ellipse",103)(115,"ellipse",104)(116,"ellipse",105)(117,"ellipse",106)(118,"circle",107)(119,"circle",108)(120,"circle",109)(121,"circle",110)(122,"circle",111)(123,"circle",112)(124,"circle",113)(125,"circle",114)(126,"circle",115)(127,"circle",116)(128,"circle",117)(129,"circle",118),r()(),o(130,"g",119),p(131,"rect",120)(132,"rect",121)(133,"rect",122)(134,"rect",123)(135,"rect",124)(136,"circle",125)(137,"circle",126)(138,"circle",127)(139,"circle",128),o(140,"g",129),p(141,"circle",130)(142,"circle",131)(143,"circle",132)(144,"circle",133)(145,"circle",134)(146,"circle",135)(147,"circle",136)(148,"circle",137)(149,"circle",138)(150,"circle",139)(151,"circle",140)(152,"circle",141)(153,"circle",142)(154,"circle",143)(155,"circle",144)(156,"circle",145)(157,"circle",146)(158,"circle",147)(159,"circle",148)(160,"circle",149)(161,"circle",150)(162,"circle",151)(163,"circle",152)(164,"circle",153)(165,"circle",154)(166,"circle",155)(167,"circle",156)(168,"circle",157)(169,"circle",158)(170,"circle",159)(171,"circle",160)(172,"circle",161)(173,"ellipse",162)(174,"ellipse",163)(175,"ellipse",164)(176,"ellipse",165)(177,"ellipse",166)(178,"ellipse",167)(179,"ellipse",168),o(180,"g"),p(181,"circle",169)(182,"circle",170)(183,"circle",171)(184,"circle",172)(185,"circle",173)(186,"circle",174)(187,"circle",175)(188,"circle",176)(189,"circle",177)(190,"circle",178)(191,"circle",179)(192,"circle",180)(193,"circle",181)(194,"circle",182)(195,"circle",183)(196,"circle",184)(197,"circle",185)(198,"circle",186)(199,"circle",187)(200,"circle",188)(201,"circle",189)(202,"circle",190)(203,"circle",191)(204,"circle",192)(205,"circle",193)(206,"circle",194)(207,"circle",195)(208,"circle",196)(209,"ellipse",197)(210,"ellipse",198)(211,"ellipse",199)(212,"ellipse",200)(213,"ellipse",201)(214,"ellipse",202),r(),p(215,"circle",203)(216,"circle",204)(217,"circle",205)(218,"circle",206)(219,"circle",207)(220,"circle",208)(221,"circle",209)(222,"circle",210)(223,"circle",211)(224,"circle",212)(225,"circle",213)(226,"circle",214)(227,"circle",215)(228,"circle",216)(229,"circle",217)(230,"ellipse",218)(231,"ellipse",219)(232,"ellipse",220)(233,"ellipse",221)(234,"ellipse",222)(235,"ellipse",223),o(236,"g"),p(237,"circle",224)(238,"circle",225)(239,"circle",226)(240,"circle",227)(241,"circle",228)(242,"circle",229)(243,"circle",230)(244,"circle",231)(245,"circle",232)(246,"circle",233)(247,"circle",234)(248,"circle",235)(249,"circle",236)(250,"circle",237)(251,"ellipse",238)(252,"ellipse",239)(253,"ellipse",240)(254,"ellipse",241)(255,"ellipse",242)(256,"ellipse",243),r()(),o(257,"g"),p(258,"rect",244)(259,"rect",245)(260,"circle",246)(261,"circle",247)(262,"ellipse",248),o(263,"g"),p(264,"rect",249)(265,"rect",250)(266,"circle",251)(267,"circle",252)(268,"ellipse",253),r(),o(269,"g"),p(270,"rect",254)(271,"rect",255)(272,"circle",256)(273,"circle",257)(274,"ellipse",258),r(),o(275,"g"),p(276,"rect",259)(277,"rect",260)(278,"circle",261)(279,"circle",262)(280,"ellipse",263),r()(),p(281,"circle",264)(282,"circle",265),o(283,"g"),p(284,"circle",266)(285,"circle",267)(286,"circle",268)(287,"circle",269),r(),p(288,"circle",270)(289,"circle",271)(290,"circle",272)(291,"circle",273)(292,"circle",274)(293,"circle",275)(294,"rect",276)(295,"line",277)(296,"line",277),r(),o(297,"g",278),p(298,"rect",279)(299,"rect",280)(300,"rect",281)(301,"rect",282)(302,"rect",283)(303,"rect",284)(304,"rect",285)(305,"rect",286)(306,"line",287)(307,"line",288)(308,"line",289)(309,"line",290)(310,"line",291),r(),o(311,"g",292),p(312,"rect",293)(313,"rect",294)(314,"line",295)(315,"line",296)(316,"line",295)(317,"line",296)(318,"line",297)(319,"line",298)(320,"line",297)(321,"line",298)(322,"rect",299)(323,"rect",300)(324,"rect",300)(325,"rect",299),o(326,"g",301),T(327,Un,6,20,":svg:g",null,Qe),r(),o(329,"g",302),T(330,qn,6,16,":svg:g",null,z),r(),o(332,"g",303),p(333,"rect",304)(334,"rect",305)(335,"rect",306)(336,"rect",305)(337,"rect",306)(338,"line",307)(339,"rect",308),o(340,"text",309),d(341," CCAP "),r(),p(342,"line",310)(343,"line",311),r()(),o(344,"g",312)(345,"text",313),d(346," WORKSPACE "),r(),o(347,"text",314),d(348," LOBBY "),r(),o(349,"text",315),d(350," LOUNGE "),r(),o(351,"text",313),d(352," CONFERENCE "),r(),p(353,"line",316)(354,"line",317),T(355,Jn,7,9,":svg:g",null,Ve),o(357,"g",318),p(358,"rect",319)(359,"rect",320)(360,"line",321),T(361,eo,3,4,":svg:g",null,Ve),r(),o(363,"g"),p(364,"rect",322)(365,"rect",323)(366,"line",324)(367,"line",325)(368,"line",326)(369,"circle",327)(370,"circle",328)(371,"circle",329)(372,"circle",330)(373,"circle",331)(374,"circle",332)(375,"rect",333)(376,"ellipse",334),r(),T(377,to,6,15,":svg:g",null,Ve),o(379,"g",335),p(380,"rect",336)(381,"rect",337)(382,"circle",338)(383,"circle",339)(384,"ellipse",340)(385,"rect",341),r(),p(386,"line",342)(387,"line",343)(388,"line",344)(389,"line",345)(390,"line",346)(391,"line",347)(392,"circle",348)(393,"circle",349)(394,"circle",350)(395,"circle",351)(396,"circle",352)(397,"circle",353)(398,"circle",354)(399,"circle",355)(400,"circle",356)(401,"circle",357)(402,"rect",358)(403,"rect",359)(404,"circle",360)(405,"circle",361)(406,"circle",362)(407,"rect",363)(408,"rect",364)(409,"circle",365)(410,"circle",366)(411,"circle",367)(412,"rect",368)(413,"rect",369)(414,"circle",370)(415,"circle",371)(416,"circle",372)(417,"rect",373)(418,"rect",374)(419,"circle",375)(420,"circle",376)(421,"circle",377),r(),o(422,"g",378),p(423,"ellipse",379)(424,"ellipse",380),r(),T(425,io,1,1,":svg:g",381,Zn,!0),r(),g(427,no,1,1,"app-do-instance-panel",382),U(),o(428,"div",383),b("mousedown",function(x){return k(s),D(x.stopPropagation())}),o(429,"button",384),b("click",function(){return k(s),D(t.handleZoomIn())}),d(430,"+"),r(),o(431,"span",385),d(432),r(),o(433,"button",386),b("click",function(){return k(s),D(t.handleZoomOut())}),d(434,"\u2212"),r(),o(435,"button",387),b("click",function(){return k(s),D(t.handleZoomReset())}),d(436,"\u21BA"),r()(),g(437,oo,3,0,"div",388)(438,ao,2,0,"div",389)(439,ro,5,1,"div",390),r(),g(440,lo,2,4,"app-s-modal",391)(441,co,1,1,"app-do-chat-popup",392)(442,so,1,0,"app-do-instance-status-detail")}a&2&&(I("do-scene--dragging",t.isDragging_$()),n(),c("viewBox",t.viewBox_$()),n(39),c("x",t.layoutDerived_$().floorWorkspace.x)("y",t.layoutDerived_$().floorWorkspace.y),n(4),c("x",t.layoutDerived_$().floorLounge.x)("y",t.layoutDerived_$().floorLounge.y),n(4),c("x",t.layoutDerived_$().floorConference.x)("y",t.layoutDerived_$().floorConference.y),n(83),c("x",t.environmentBackdropRect_$().x)("y",t.environmentBackdropRect_$().y)("width",t.environmentBackdropRect_$().w)("height",t.environmentBackdropRect_$().h),n(),c("x",t.environmentBackdropRect_$().x)("y",t.environmentBackdropRect_$().y)("width",t.environmentBackdropRect_$().w)("height",t.environmentBackdropRect_$().h),n(),c("x",t.environmentBackdropRect_$().x)("y",t.environmentBackdropRect_$().y)("width",t.environmentBackdropRect_$().w)("height",t.environmentBackdropRect_$().h),n(),c("width",t.sceneWorldW_$())("height",t.sceneWorldH_$()),n(),c("width",t.sceneWorldW_$())("height",t.sceneWorldH_$()),n(45),c("transform",t.forestSouthGroupTransform_$()),n(56),c("transform",t.forestEastGroupTransform_$()),n(27),c("transform",t.forestEastGroupTransform_$()),n(6),c("transform","translate("+(t.decorLampSouthWestBase_$().x-90)+","+(t.decorLampSouthWestBase_$().y-710)+")"),n(6),c("transform","translate("+(t.decorLampSouthEastBase_$().x-1440)+","+(t.decorLampSouthEastBase_$().y-710)+")"),n(8),c("transform",t.forestEastGroupTransform_$()),n(7),c("cx",t.layoutDerived_$().door.x)("cy",t.layoutDerived_$().door.y-48),n(),c("cx",t.layoutDerived_$().door.x)("cy",t.layoutDerived_$().door.y-48),n(3),c("x",t.entrancePathRect_$().x)("y",t.entrancePathRect_$().y)("width",t.entrancePathRect_$().w)("height",t.entrancePathRect_$().h),n(),c("x1",t.entrancePathRect_$().x)("y1",t.entrancePathRect_$().y+2)("x2",t.entrancePathRect_$().x)("y2",t.entrancePathRect_$().y+t.entrancePathRect_$().h-4),n(),c("x1",t.entrancePathRect_$().x+t.entrancePathRect_$().w)("y1",t.entrancePathRect_$().y+2)("x2",t.entrancePathRect_$().x+t.entrancePathRect_$().w)("y2",t.entrancePathRect_$().y+t.entrancePathRect_$().h-4),n(2),c("x",t.layoutDerived_$().floorWorkspace.x)("y",t.layoutDerived_$().floorWorkspace.y)("width",t.layoutDerived_$().floorWorkspace.w)("height",t.layoutDerived_$().floorWorkspace.h),n(),c("x",t.layoutDerived_$().floorWorkspace.x)("y",t.layoutDerived_$().floorWorkspace.y)("width",t.layoutDerived_$().floorWorkspace.w)("height",t.layoutDerived_$().floorWorkspace.h),n(),c("x",t.layoutDerived_$().floorLobby.x)("y",t.layoutDerived_$().floorLobby.y)("width",t.layoutDerived_$().floorLobby.w)("height",t.layoutDerived_$().floorLobby.h),n(),c("x",t.layoutDerived_$().floorLobby.x)("y",t.layoutDerived_$().floorLobby.y)("width",t.layoutDerived_$().floorLobby.w)("height",t.layoutDerived_$().floorLobby.h),n(),c("x",t.layoutDerived_$().floorLounge.x)("y",t.layoutDerived_$().floorLounge.y)("width",t.layoutDerived_$().floorLounge.w)("height",t.layoutDerived_$().floorLounge.h),n(),c("x",t.layoutDerived_$().floorLounge.x)("y",t.layoutDerived_$().floorLounge.y)("width",t.layoutDerived_$().floorLounge.w)("height",t.layoutDerived_$().floorLounge.h),n(),c("x",t.layoutDerived_$().floorConference.x)("y",t.layoutDerived_$().floorConference.y)("width",t.layoutDerived_$().floorConference.w)("height",t.layoutDerived_$().floorConference.h),n(),c("x",t.layoutDerived_$().floorConference.x)("y",t.layoutDerived_$().floorConference.y)("width",t.layoutDerived_$().floorConference.w)("height",t.layoutDerived_$().floorConference.h),n(),c("x1",t.layoutDerived_$().zoneSplitX)("y1",t.layoutDerived_$().floorWorkspace.y)("x2",t.layoutDerived_$().zoneSplitX)("y2",t.layoutDerived_$().floorLounge.y+t.layoutDerived_$().floorLounge.h),n(),c("x1",t.layoutDerived_$().zoneSplitX)("y1",t.layoutDerived_$().floorWorkspace.y)("x2",t.layoutDerived_$().zoneSplitX)("y2",t.layoutDerived_$().floorLounge.y+t.layoutDerived_$().floorLounge.h),n(),c("x1",t.layoutDerived_$().zoneSplitX+1.5)("y1",t.layoutDerived_$().floorWorkspace.y)("x2",t.layoutDerived_$().zoneSplitX+1.5)("y2",t.layoutDerived_$().floorLounge.y+t.layoutDerived_$().floorLounge.h),n(),c("x1",t.layoutDerived_$().zoneSplitLobbyLoungeX)("y1",t.layoutDerived_$().floorWorkspace.y)("x2",t.layoutDerived_$().zoneSplitLobbyLoungeX)("y2",t.layoutDerived_$().floorLounge.y+t.layoutDerived_$().floorLounge.h),n(),c("x1",t.layoutDerived_$().zoneSplitLobbyLoungeX)("y1",t.layoutDerived_$().floorWorkspace.y)("x2",t.layoutDerived_$().zoneSplitLobbyLoungeX)("y2",t.layoutDerived_$().floorLounge.y+t.layoutDerived_$().floorLounge.h),n(2),c("x",t.layoutDerived_$().buildingOuter.x)("y",t.layoutDerived_$().buildingOuter.y)("width",t.layoutDerived_$().buildingOuter.w)("height",t.layoutDerived_$().buildingOuter.h),n(),c("x",t.layoutDerived_$().buildingOuter.x)("y",t.layoutDerived_$().buildingOuter.y)("width",t.layoutDerived_$().buildingOuter.w)("height",t.layoutDerived_$().buildingOuter.h),n(),c("x1",t.layoutDerived_$().buildingOuter.x+4)("y1",t.layoutDerived_$().buildingOuter.y+4)("x2",t.layoutDerived_$().buildingOuter.x+t.layoutDerived_$().buildingOuter.w-4)("y2",t.layoutDerived_$().buildingOuter.y+4),n(),c("x1",t.layoutDerived_$().buildingOuter.x+4)("y1",t.layoutDerived_$().buildingOuter.y+4)("x2",t.layoutDerived_$().buildingOuter.x+t.layoutDerived_$().buildingOuter.w-4)("y2",t.layoutDerived_$().buildingOuter.y+4),n(),c("x1",t.layoutDerived_$().buildingOuter.x+4)("y1",t.layoutDerived_$().buildingOuter.y+t.layoutDerived_$().buildingOuter.h-4)("x2",t.layoutDerived_$().buildingOuter.x+t.layoutDerived_$().buildingOuter.w-4)("y2",t.layoutDerived_$().buildingOuter.y+t.layoutDerived_$().buildingOuter.h-4),n(),c("x1",t.layoutDerived_$().buildingOuter.x+4)("y1",t.layoutDerived_$().buildingOuter.y+t.layoutDerived_$().buildingOuter.h-4)("x2",t.layoutDerived_$().buildingOuter.x+t.layoutDerived_$().buildingOuter.w-4)("y2",t.layoutDerived_$().buildingOuter.y+t.layoutDerived_$().buildingOuter.h-4),n(),c("x1",t.layoutDerived_$().buildingOuter.x+4)("y1",t.layoutDerived_$().buildingOuter.y+4)("x2",t.layoutDerived_$().buildingOuter.x+4)("y2",t.layoutDerived_$().buildingOuter.y+t.layoutDerived_$().buildingOuter.h-4),n(),c("x1",t.layoutDerived_$().buildingOuter.x+4)("y1",t.layoutDerived_$().buildingOuter.y+4)("x2",t.layoutDerived_$().buildingOuter.x+4)("y2",t.layoutDerived_$().buildingOuter.y+t.layoutDerived_$().buildingOuter.h-4),n(),c("x1",t.layoutDerived_$().buildingOuter.x+t.layoutDerived_$().buildingOuter.w-4)("y1",t.layoutDerived_$().buildingOuter.y+4)("x2",t.layoutDerived_$().buildingOuter.x+t.layoutDerived_$().buildingOuter.w-4)("y2",t.layoutDerived_$().buildingOuter.y+t.layoutDerived_$().buildingOuter.h-4),n(),c("x1",t.layoutDerived_$().buildingOuter.x+t.layoutDerived_$().buildingOuter.w-4)("y1",t.layoutDerived_$().buildingOuter.y+4)("x2",t.layoutDerived_$().buildingOuter.x+t.layoutDerived_$().buildingOuter.w-4)("y2",t.layoutDerived_$().buildingOuter.y+t.layoutDerived_$().buildingOuter.h-4),n(),c("x",t.layoutDerived_$().buildingOuter.x)("y",t.layoutDerived_$().buildingOuter.y),n(),c("x",t.layoutDerived_$().buildingOuter.x+t.layoutDerived_$().buildingOuter.w-32)("y",t.layoutDerived_$().buildingOuter.y),n(),c("x",t.layoutDerived_$().buildingOuter.x)("y",t.layoutDerived_$().buildingOuter.y+t.layoutDerived_$().buildingOuter.h-32),n(),c("x",t.layoutDerived_$().buildingOuter.x+t.layoutDerived_$().buildingOuter.w-32)("y",t.layoutDerived_$().buildingOuter.y+t.layoutDerived_$().buildingOuter.h-32),n(2),M(t.northWindowRects_$()),n(3),M(Ze(273,Yn)),n(3),c("x",t.layoutDerived_$().door.x-48)("y",t.layoutDerived_$().door.y-8),n(),c("x",t.layoutDerived_$().door.x-46)("y",t.layoutDerived_$().door.y-6),n(),c("x",t.layoutDerived_$().door.x-46)("y",t.layoutDerived_$().door.y-6),n(),c("x",t.layoutDerived_$().door.x+2)("y",t.layoutDerived_$().door.y-6),n(),c("x",t.layoutDerived_$().door.x+2)("y",t.layoutDerived_$().door.y-6),n(),c("x1",t.layoutDerived_$().door.x)("y1",t.layoutDerived_$().door.y-6)("x2",t.layoutDerived_$().door.x)("y2",t.layoutDerived_$().door.y+14),n(),c("x",t.layoutDerived_$().door.x-30)("y",t.layoutDerived_$().door.y-24),n(),c("x",t.layoutDerived_$().door.x)("y",t.layoutDerived_$().door.y-13),n(2),c("x1",t.layoutDerived_$().door.x-26)("y1",t.layoutDerived_$().door.y-9)("x2",t.layoutDerived_$().door.x+26)("y2",t.layoutDerived_$().door.y-9),n(),c("x1",t.layoutDerived_$().door.x-48)("y1",t.layoutDerived_$().door.y+16)("x2",t.layoutDerived_$().door.x+48)("y2",t.layoutDerived_$().door.y+16),n(2),c("x",t.layoutDerived_$().labelWorkspaceX)("y",t.layoutDerived_$().ceilingNeonY-12),n(2),c("x",t.layoutDerived_$().floorLobby.x+t.layoutDerived_$().floorLobby.w/2)("y",t.layoutDerived_$().ceilingNeonY-12),n(2),c("x",t.layoutDerived_$().labelLoungeX)("y",t.layoutDerived_$().ceilingNeonY-12),n(2),c("x",t.layoutDerived_$().labelConferenceX)("y",t.layoutDerived_$().floorConference.y+20),n(2),c("x1",t.layoutDerived_$().floorWorkspace.x+8)("y1",t.layoutDerived_$().topFloorBottomY)("x2",t.layoutDerived_$().floorWorkspace.x+t.layoutDerived_$().floorWorkspace.w-8)("y2",t.layoutDerived_$().topFloorBottomY),n(),c("x1",t.layoutDerived_$().floorWorkspace.x+8)("y1",t.layoutDerived_$().topFloorBottomY+1.5)("x2",t.layoutDerived_$().floorWorkspace.x+t.layoutDerived_$().floorWorkspace.w-8)("y2",t.layoutDerived_$().topFloorBottomY+1.5),n(),M(t.layoutDerived_$().workstationDesks),n(3),c("x",t.layoutDerived_$().conference.table.x)("y",t.layoutDerived_$().conference.table.y)("width",t.layoutDerived_$().conference.table.w)("height",t.layoutDerived_$().conference.table.h),n(),c("x",t.layoutDerived_$().conference.table.x+4)("y",t.layoutDerived_$().conference.table.y+4)("width",t.layoutDerived_$().conference.table.w-8)("height",t.layoutDerived_$().conference.table.h-8),n(),c("x1",t.layoutDerived_$().conference.table.x+12)("y1",t.layoutDerived_$().conference.table.y+16)("x2",t.layoutDerived_$().conference.table.x+t.layoutDerived_$().conference.table.w-12)("y2",t.layoutDerived_$().conference.table.y+16),n(),M(t.layoutDerived_$().conference.chairs),n(2),c("transform","translate("+(t.layoutDerived_$().floorWorkspace.x-128)+",0)"),n(14),M(t.layoutDerived_$().loungeSofas),n(3),c("x",t.layoutDerived_$().floorLounge.x+t.layoutDerived_$().floorLounge.w-100)("y",t.layoutDerived_$().floorLounge.y+t.layoutDerived_$().floorLounge.h/2-16),n(),c("x",t.layoutDerived_$().floorLounge.x+t.layoutDerived_$().floorLounge.w-96)("y",t.layoutDerived_$().floorLounge.y+t.layoutDerived_$().floorLounge.h/2-12),n(),c("cx",t.layoutDerived_$().floorLounge.x+t.layoutDerived_$().floorLounge.w-84)("cy",t.layoutDerived_$().floorLounge.y+t.layoutDerived_$().floorLounge.h/2),n(),c("cx",t.layoutDerived_$().floorLounge.x+t.layoutDerived_$().floorLounge.w-84)("cy",t.layoutDerived_$().floorLounge.y+t.layoutDerived_$().floorLounge.h/2),n(),c("cx",t.layoutDerived_$().floorLounge.x+t.layoutDerived_$().floorLounge.w-84)("cy",t.layoutDerived_$().floorLounge.y+t.layoutDerived_$().floorLounge.h/2-1),n(),c("x",t.layoutDerived_$().floorLounge.x+t.layoutDerived_$().floorLounge.w-72)("y",t.layoutDerived_$().floorLounge.y+t.layoutDerived_$().floorLounge.h/2-6),n(),c("x1",t.layoutDerived_$().floorWorkspace.x+12)("y1",t.layoutDerived_$().ceilingNeonY)("x2",t.layoutDerived_$().zoneSplitX-8)("y2",t.layoutDerived_$().ceilingNeonY),n(),c("x1",t.layoutDerived_$().floorWorkspace.x+12)("y1",t.layoutDerived_$().ceilingNeonY)("x2",t.layoutDerived_$().zoneSplitX-8)("y2",t.layoutDerived_$().ceilingNeonY),n(),c("x1",t.layoutDerived_$().zoneSplitX+8)("y1",t.layoutDerived_$().ceilingNeonY)("x2",t.layoutDerived_$().zoneSplitLobbyLoungeX-8)("y2",t.layoutDerived_$().ceilingNeonY),n(),c("x1",t.layoutDerived_$().zoneSplitX+8)("y1",t.layoutDerived_$().ceilingNeonY)("x2",t.layoutDerived_$().zoneSplitLobbyLoungeX-8)("y2",t.layoutDerived_$().ceilingNeonY),n(),c("x1",t.layoutDerived_$().zoneSplitLobbyLoungeX+8)("y1",t.layoutDerived_$().ceilingNeonY)("x2",t.layoutDerived_$().floorLounge.x+t.layoutDerived_$().floorLounge.w-12)("y2",t.layoutDerived_$().ceilingNeonY),n(),c("x1",t.layoutDerived_$().zoneSplitLobbyLoungeX+8)("y1",t.layoutDerived_$().ceilingNeonY)("x2",t.layoutDerived_$().floorLounge.x+t.layoutDerived_$().floorLounge.w-12)("y2",t.layoutDerived_$().ceilingNeonY),n(),c("cx",t.layoutDerived_$().labelWorkspaceX-200)("cy",t.layoutDerived_$().ceilingNeonY+2),n(),c("cx",t.layoutDerived_$().labelWorkspaceX-200)("cy",t.layoutDerived_$().ceilingNeonY+2),n(),c("cx",t.layoutDerived_$().labelWorkspaceX)("cy",t.layoutDerived_$().ceilingNeonY+2),n(),c("cx",t.layoutDerived_$().labelWorkspaceX)("cy",t.layoutDerived_$().ceilingNeonY+2),n(),c("cx",t.layoutDerived_$().labelWorkspaceX+200)("cy",t.layoutDerived_$().ceilingNeonY+2),n(),c("cx",t.layoutDerived_$().labelWorkspaceX+200)("cy",t.layoutDerived_$().ceilingNeonY+2),n(),c("cx",t.layoutDerived_$().labelLoungeX-120)("cy",t.layoutDerived_$().ceilingNeonY+2),n(),c("cx",t.layoutDerived_$().labelLoungeX-120)("cy",t.layoutDerived_$().ceilingNeonY+2),n(),c("cx",t.layoutDerived_$().labelLoungeX+120)("cy",t.layoutDerived_$().ceilingNeonY+2),n(),c("cx",t.layoutDerived_$().labelLoungeX+120)("cy",t.layoutDerived_$().ceilingNeonY+2),n(22),c("cx",t.layoutDerived_$().door.x)("cy",t.layoutDerived_$().door.y+8),n(),c("cx",t.layoutDerived_$().door.x)("cy",t.layoutDerived_$().door.y+8),n(),M(t.darkOffice_DS.characters_$()),n(2),f(t.darkOffice_DS.instances_$().length?427:-1),n(2),S("disabled",t.isZoomMax_$()),n(3),R("",t.zoomPercent_$(),"%"),n(),S("disabled",t.isZoomMin_$()),n(2),S("disabled",t.isZoomMin_$()),n(2),f(!t.darkOffice_DS.loading_$()&&!t.darkOffice_DS.instances_$().length&&!t.darkOffice_DS.isServerUnreachable_$()?437:-1),n(),f(t.darkOffice_DS.loading_$()&&!t.darkOffice_DS.instances_$().length?438:-1),n(),f(t.darkOffice_DS.loadError_$()?439:-1),n(),f(t.selectedInstance_$()?440:-1),n(),f(t.darkOffice_DS.chatPopupSessionId_$()?441:-1),n(),f(t.darkOffice_DS.instanceStatusDetailInstanceId_$()?442:-1))},dependencies:[me,ee,_t,mt,ut,ht,Ct],styles:[`@charset "UTF-8";[_nghost-%COMP%]{display:block;width:100%;height:100%}.do-scene-container[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;overflow:hidden;background:#0a120e;cursor:grab}.do-scene--dragging[_ngcontent-%COMP%]{cursor:grabbing}.do-svg-canvas[_ngcontent-%COMP%]{position:absolute;inset:0;width:100%;height:100%;display:block}.do-zoom-controls[_ngcontent-%COMP%]{position:absolute;top:.625rem;right:.625rem;z-index:20;display:flex;align-items:center;gap:.25rem;background:#0a0c10cc;border:1px solid rgba(0,255,200,.2);border-radius:.5rem;padding:.25rem .375rem;backdrop-filter:blur(6px);-webkit-user-select:none;user-select:none;cursor:default}.do-zoom-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border-radius:.25rem;border:1px solid rgba(0,255,200,.25);background:transparent;color:#d1d5db;font-size:1rem;line-height:1;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.do-zoom-btn[_ngcontent-%COMP%]:hover:not(:disabled){background:#00ffc81a;border-color:#00ffc880;color:#22d3ee}.do-zoom-btn[_ngcontent-%COMP%]:disabled{opacity:.3;cursor:default}.do-zoom-reset-btn[_ngcontent-%COMP%]{font-size:.875rem}.do-zoom-label[_ngcontent-%COMP%]{font-size:.625rem;font-family:monospace;color:#6b7280;min-width:2.5rem;text-align:center;letter-spacing:.03em}.do-empty-label[_ngcontent-%COMP%]{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:10;pointer-events:none}.do-empty-label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background:#0a0c10bf;color:#6b7280;font-size:.875rem;padding:.5rem 1.25rem;border-radius:.5rem;border:1px solid rgba(107,114,128,.3);backdrop-filter:blur(4px)}.do-loading-overlay[_ngcontent-%COMP%]{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:10;pointer-events:none}.do-loading-dot[_ngcontent-%COMP%]{display:inline-block;width:.625rem;height:.625rem;border-radius:50%;background:#22d3ee;animation:_ngcontent-%COMP%_do-pulse 1.2s ease-in-out infinite}@keyframes _ngcontent-%COMP%_do-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.75)}}.do-error-overlay[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;background:#0009;backdrop-filter:blur(4px);cursor:default}.do-error-panel[_ngcontent-%COMP%]{position:relative;max-width:36rem;width:90%;max-height:80%;overflow-y:auto;border-radius:.75rem;background:#10101cf2;border:1px solid rgba(255,77,77,.3);box-shadow:0 0 30px #ff4d4d1a;padding:.25rem}.do-error-close-btn[_ngcontent-%COMP%]{position:absolute;top:.5rem;right:.5rem;z-index:1;display:flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border-radius:.25rem;border:1px solid rgba(255,77,77,.3);background:#10101ce6;color:#d1d5db;font-size:.875rem;line-height:1;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.do-error-close-btn[_ngcontent-%COMP%]:hover{background:#ff4d4d26;border-color:#ff4d4d80;color:#ff4d4d}
|
|
17
17
|
/*# sourceMappingURL=do-office-scene.component-ILYUPFGH.css.map */`]})}return i})();var bt=(()=>{class i{static refreshIntervalMs=30*xt.second;darkOffice_DS=G(H);globalError_CS=G(Je);refreshTimerId;ngOnInit(){this.darkOffice_DS.loadInstanceData(),this.refreshTimerId=setInterval(()=>{this.darkOffice_DS.loadInstanceData()},i.refreshIntervalMs)}ngOnDestroy(){this.refreshTimerId!==void 0&&clearInterval(this.refreshTimerId)}refreshNow(){this.darkOffice_DS.loadInstanceData()}copyDiagnosticsToClipboard(){return Ne(this,null,function*(){let e=he.buildSnapshot({instances:this.darkOffice_DS.instances_$(),characters:this.darkOffice_DS.characters_$(),nowMs:Date.now(),clientVersion:Ke.version}),a=JSON.stringify(e,null,2),t=yield this.globalError_CS.copyToClipboard(a);t.ok||this.globalError_CS.showError(t.error,"dark-office-diagnostics-copy")})}static \u0275fac=function(a){return new(a||i)};static \u0275cmp=P({type:i,selectors:[["app-ccap-dark-office"]],hostAttrs:[1,"block","h-full","overflow-hidden"],decls:21,vars:3,consts:[[1,"h-full","bg-ccapBackground","relative","overflow-hidden"],[1,"absolute","top-2","left-2","z-10","flex","items-center","gap-2","pointer-events-none"],[1,"text-[11px]","text-neutral-500","font-mono","bg-ccapBackground/80","backdrop-blur-sm","px-2","py-0.5","rounded","border","border-neutral-700/50","pointer-events-auto"],["type","button",1,"px-2","py-0.5","border","border-neonCyan/30","rounded","text-neutral-400","text-[11px]","hover:bg-neutral-800","hover:border-neonCyan/60","disabled:opacity-40","transition-colors","bg-ccapBackground/80","backdrop-blur-sm","pointer-events-auto",3,"click","disabled"],["type","button","title","Dark Office \xE1llapot \xE9s scene rationale m\xE1sol\xE1sa JSON-ban (diagnostics export)","aria-label","Copy diagnostics JSON",1,"p-1","border","border-neutral-600/50","rounded","text-neutral-400","hover:bg-neutral-800","hover:border-neonCyan/50","transition-colors","bg-ccapBackground/80","backdrop-blur-sm","pointer-events-auto","inline-flex","items-center","justify-center",3,"click"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","aria-hidden","true",1,"w-3.5","h-3.5"],["x","9","y","9","width","13","height","13","rx","2","ry","2"],["d","M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"],[1,"absolute","bottom-2","left-2","z-10","flex","items-center","gap-3","text-[11px]","text-neutral-600","bg-ccapBackground/70","backdrop-blur-sm","px-2","py-1","rounded","border","border-neutral-700/30","pointer-events-none"],[1,"flex","items-center","gap-1"],[1,"w-1.5","h-1.5","rounded-full","bg-emerald-400/70","inline-block"],[1,"w-1.5","h-1.5","rounded-full","bg-amber-400/70","inline-block"],[1,"w-1.5","h-1.5","rounded-full","bg-neutral-600","inline-block"]],template:function(a,t){a&1&&(o(0,"div",0),p(1,"app-do-office-scene"),o(2,"div",1)(3,"span",2),d(4),r(),o(5,"button",3),b("click",function(){return t.refreshNow()}),d(6),r(),o(7,"button",4),b("click",function(){return t.copyDiagnosticsToClipboard()}),h(),o(8,"svg",5),p(9,"rect",6)(10,"path",7),r()()(),U(),o(11,"div",8)(12,"span",9),p(13,"span",10),d(14," Dolgozik "),r(),o(15,"span",9),p(16,"span",11),d(17," Idle "),r(),o(18,"span",9),p(19,"span",12),d(20," Offline "),r()()()),a&2&&(n(4),R(" ",t.darkOffice_DS.instances_$().length," instance "),n(),S("disabled",t.darkOffice_DS.loading_$()),n(),R(" ",t.darkOffice_DS.loading_$()?"...":"Refresh"," "))},dependencies:[vt],encapsulation:2})}return i})();var uo=[{path:"",pathMatch:"full",component:bt}],sl=(()=>{class i{static \u0275fac=function(a){return new(a||i)};static \u0275mod=Ge({type:i});static \u0275inj=Be({imports:[Ue,je.forChild(uo),me,ee]})}return i})();export{sl as DarkOffice_Module};
|
|
18
|
-
//# sourceMappingURL=do.module-
|
|
18
|
+
//# sourceMappingURL=do.module-37JCY4EO.js.map
|
package/client-dist/{document-library.module-UGVOV6VQ.js → document-library.module-RZ5GE64U.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{a as k}from"./chunk-
|
|
1
|
+
import{a as k}from"./chunk-JFLJIMP3.js";import{a as ne}from"./chunk-BVDTPDKF.js";import"./chunk-JQMDH3HQ.js";import{o as X,p as ee,v as te}from"./chunk-EO4DNTT4.js";import{j}from"./chunk-4LKPVMO6.js";import"./chunk-K5S3TYV3.js";import{$a as L,C as E,D as S,E as q,Eb as J,Fa as r,Ga as m,Gb as P,Ha as x,Hb as W,Ia as A,J as f,K as b,Kb as Y,L as B,M as H,Pa as I,Q as $,Qa as O,Ra as C,Z as a,aa as D,ab as U,bb as T,da as s,ga as v,ha as Z,hb as K,ia as F,k as h,la as u,oa as V,pa as M,pb as z,qa as i,ra as n,sa as w,sb as R,ua as g,ub as Q,va as p,wa as c,z as G}from"./chunk-TBMJSIBB.js";function ce(t,d){if(t&1){let e=g();i(0,"button",18),p("click",function(o){f(e);let _=c();return b(_.handleSetDefaultClick(o))}),B(),i(1,"svg",4),w(2,"path",19),n()()}}function ue(t,d){t&1&&(i(0,"span",9),r(1," T4/T5 default "),n())}function se(t,d){t&1&&(i(0,"span",10),r(1," chunked "),n())}function me(t,d){t&1&&(i(0,"span",11),r(1," uploading "),n())}function _e(t,d){t&1&&(i(0,"span",12),r(1," error "),n())}function pe(t,d){if(t&1&&(i(0,"span",13),r(1),n()),t&2){let e=c();a(),x(" ",e.document.status," ")}}function xe(t,d){if(t&1&&(i(0,"span",14),r(1),n()),t&2){let e=c();a(),x("",e.document.chunkCount," chunk")}}function Ce(t,d){if(t&1&&(i(0,"span",14),r(1),n()),t&2){let e=c();a(),x("",e.document.pageCount," oldal")}}function fe(t,d){if(t&1&&(i(0,"span",14),r(1),L(2,"number"),n()),t&2){let e=c();a(),x("",U(2,1,e.document.totalChars)," karakter")}}function be(t,d){if(t&1&&(i(0,"div",15),r(1),n()),t&2){let e=c();a(),m(e.document.sourceFileName)}}function De(t,d){if(t&1&&(i(0,"div",16),r(1),n()),t&2){let e=c();a(),m(e.document.description)}}function ve(t,d){if(t&1&&(i(0,"div",17),r(1),L(2,"date"),n()),t&2){let e=c();a(),m(T(2,1,e.document.createdAt,"short"))}}var ie=(()=>{class t{document;isDefaultCorpus=!1;cardClick=new $;deleteClick=new $;setDefaultClick=new $;handleCardClick(){this.cardClick.emit()}handleDeleteClick(e){e.stopPropagation(),this.deleteClick.emit()}handleSetDefaultClick(e){e.stopPropagation(),this.setDefaultClick.emit()}static \u0275fac=function(l){return new(l||t)};static \u0275cmp=S({type:t,selectors:[["app-ccap-document-library-card"]],inputs:{document:"document",isDefaultCorpus:"isDefaultCorpus"},outputs:{cardClick:"cardClick",deleteClick:"deleteClick",setDefaultClick:"setDefaultClick"},decls:21,vars:14,consts:[[1,"border","rounded-lg","bg-neutral-800/50","p-4","flex","flex-col","gap-2","hover:bg-neutral-800/70","hover:border-neutral-600","cursor-pointer","text-sm","relative","group",3,"click"],[1,"absolute","top-2","right-2","flex","items-center","gap-1","opacity-0","group-hover:opacity-100","transition-opacity"],["type","button","title","Be\xE1ll\xEDt\xE1s T4/T5 default corpus-nak",1,"p-1","rounded","text-neutral-500","hover:text-ccapAccent","hover:bg-neutral-700/50"],["type","button","title","Dokumentum t\xF6rl\xE9se",1,"p-1","rounded","text-neutral-500","hover:text-red-400","hover:bg-neutral-700/50",3,"click"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"w-4","h-4"],["points","3 6 5 6 21 6"],["d","M19 6v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6m3 0V4a2 2 0 012-2h4a2 2 0 012 2v2"],[1,"font-semibold","text-neutral-100","break-words","pr-12"],[1,"flex","items-center","gap-2","flex-wrap"],[1,"inline-flex","items-center","px-2","py-0.5","rounded","text-xs","font-medium","bg-ccapAccent/20","text-ccapAccent","border","border-ccapAccent/50"],[1,"inline-flex","items-center","px-2","py-0.5","rounded","text-xs","font-medium","bg-green-900/40","text-green-400","border","border-green-700/50"],[1,"inline-flex","items-center","px-2","py-0.5","rounded","text-xs","font-medium","bg-amber-900/40","text-amber-400","border","border-amber-700/50"],[1,"inline-flex","items-center","px-2","py-0.5","rounded","text-xs","font-medium","bg-red-900/40","text-red-400","border","border-red-700/50"],[1,"inline-flex","items-center","px-2","py-0.5","rounded","text-xs","font-medium","bg-neutral-700/50","text-neutral-400","border","border-neutral-600/50"],[1,"text-neutral-400","text-xs"],[1,"text-neutral-500","text-xs","break-all"],[1,"text-neutral-500","text-xs","break-words","line-clamp-2"],[1,"text-neutral-600","text-xs"],["type","button","title","Be\xE1ll\xEDt\xE1s T4/T5 default corpus-nak",1,"p-1","rounded","text-neutral-500","hover:text-ccapAccent","hover:bg-neutral-700/50",3,"click"],["d","M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"]],template:function(l,o){l&1&&(i(0,"div",0),p("click",function(){return o.handleCardClick()}),i(1,"div",1),s(2,ce,3,0,"button",2),i(3,"button",3),p("click",function(y){return o.handleDeleteClick(y)}),B(),i(4,"svg",4),w(5,"polyline",5)(6,"path",6),n()()(),H(),i(7,"div",7),r(8),n(),i(9,"div",8),s(10,ue,2,0,"span",9)(11,se,2,0,"span",10)(12,me,2,0,"span",11)(13,_e,2,0,"span",12)(14,pe,2,1,"span",13)(15,xe,2,1,"span",14)(16,Ce,2,1,"span",14)(17,fe,3,3,"span",14),n(),s(18,be,2,1,"div",15)(19,De,2,1,"div",16)(20,ve,3,4,"div",17),n()),l&2&&(F("border-ccapAccent",o.isDefaultCorpus)("border-neutral-700",!o.isDefaultCorpus),a(2),u(o.isDefaultCorpus?-1:2),a(6),m(o.document.name),a(2),u(o.isDefaultCorpus?10:-1),a(),u(o.document.status==="chunked"?11:o.document.status==="uploading"?12:o.document.status==="error"?13:14),a(4),u(o.document.chunkCount!==void 0?15:-1),a(),u(o.document.pageCount!==void 0?16:-1),a(),u(o.document.totalChars!==void 0?17:-1),a(),u(o.document.sourceFileName?18:-1),a(),u(o.document.description?19:-1),a(),u(o.document.createdAt?20:-1))},dependencies:[R,z],styles:[`[_nghost-%COMP%]{display:block}
|
|
2
2
|
/*# sourceMappingURL=dl-card.component-VVFULDQ3.css.map */`]})}return t})();function Ee(t,d){if(t&1&&(i(0,"div",10),r(1),n()),t&2){let e=c();a(),m(e.uploadError_$())}}function ye(t,d){if(t&1&&(i(0,"div",11),r(1),n()),t&2){let e=c();a(),A(" Felt\xF6ltve! Dokumentum id: ",e.uploadResult_$().documentId," \u2014 ",e.uploadResult_$().chunkCount," chunk. ")}}var oe=(()=>{class t{uploadDone=new $;cancel=new $;selectedFile_$=D(null);documentName_$=D("");description_$=D("");isUploading_$=D(!1);uploadError_$=D(null);uploadResult_$=D(null);docLibrary_DS=E(k);onFileChange(e){let l=e.target,o=l.files!==null&&l.files.length>0?l.files[0]:null;if(this.selectedFile_$.set(o),o!==null&&this.documentName_$().trim()===""){let _=o.name,y=_.lastIndexOf("."),le=y>0?_.substring(0,y):_;this.documentName_$.set(le)}}onUpload(){return h(this,null,function*(){let e=this.selectedFile_$(),l=this.documentName_$().trim();if(!(e===null||l==="")){this.isUploading_$.set(!0),this.uploadError_$.set(null),this.uploadResult_$.set(null);try{let o=yield this.docLibrary_DS.uploadDocument({file:e,name:l,description:this.description_$().trim()!==""?this.description_$().trim():void 0});this.uploadResult_$.set(o),this.uploadDone.emit()}catch(o){let _=o instanceof Error?o.message:"Felt\xF6lt\xE9s sikertelen.";this.uploadError_$.set(_)}finally{this.isUploading_$.set(!1)}}})}static \u0275fac=function(l){return new(l||t)};static \u0275cmp=S({type:t,selectors:[["app-ccap-document-library-upload"]],outputs:{uploadDone:"uploadDone",cancel:"cancel"},decls:27,vars:6,consts:[[1,"border","border-neutral-700","rounded-lg","bg-neutral-800/60","p-4","flex","flex-col","gap-4"],[1,"flex","items-center","justify-between"],[1,"text-base","font-semibold","text-neutral-100"],["type","button",1,"text-neutral-500","hover:text-neutral-300","text-sm",3,"click"],[1,"flex","flex-col","gap-3"],[1,"flex","flex-col","gap-1"],[1,"text-xs","text-neutral-400"],["type","file",1,"text-sm","text-neutral-300","file:mr-3","file:py-1","file:px-3","file:rounded","file:border-0","file:text-sm","file:bg-neutral-700","file:text-neutral-200","hover:file:bg-neutral-600",3,"change"],["type","text","placeholder","pl. Projekt specifik\xE1ci\xF3",1,"px-3","py-2","bg-neutral-900","border","border-neutral-700","rounded","text-neutral-100","text-sm","focus:outline-none","focus:border-neutral-500",3,"input","value"],["rows","2","placeholder","R\xF6vid le\xEDr\xE1s a dokumentumr\xF3l...",1,"px-3","py-2","bg-neutral-900","border","border-neutral-700","rounded","text-neutral-100","text-sm","focus:outline-none","focus:border-neutral-500","resize-none",3,"input","value"],[1,"text-red-400","text-sm"],[1,"text-green-400","text-sm"],[1,"flex","items-center","gap-3"],["type","button",1,"px-4","py-2","bg-ccapAccent","text-white","rounded","text-sm","disabled:opacity-50",3,"click","disabled"],["type","button",1,"px-4","py-2","border","border-neutral-600","rounded","text-neutral-300","text-sm","hover:border-neutral-400",3,"click"]],template:function(l,o){l&1&&(i(0,"div",0)(1,"div",1)(2,"h2",2),r(3,"Dokumentum felt\xF6lt\xE9se"),n(),i(4,"button",3),p("click",function(){return o.cancel.emit()}),r(5," M\xE9gse "),n()(),i(6,"div",4)(7,"div",5)(8,"label",6),r(9,"F\xE1jl"),n(),i(10,"input",7),p("change",function(y){return o.onFileChange(y)}),n()(),i(11,"div",5)(12,"label",6),r(13,"Dokumentum neve"),n(),i(14,"input",8),p("input",function(y){return o.documentName_$.set(y.target.value)}),n()(),i(15,"div",5)(16,"label",6),r(17,"Le\xEDr\xE1s (opcion\xE1lis)"),n(),i(18,"textarea",9),p("input",function(y){return o.description_$.set(y.target.value)}),r(19," "),n()()(),s(20,Ee,2,1,"div",10)(21,ye,2,2,"div",11),i(22,"div",12)(23,"button",13),p("click",function(){return o.onUpload()}),r(24),n(),i(25,"button",14),p("click",function(){return o.cancel.emit()}),r(26," M\xE9gse "),n()()()),l&2&&(a(14),v("value",o.documentName_$()),a(4),v("value",o.description_$()),a(2),u(o.uploadError_$()?20:-1),a(),u(o.uploadResult_$()?21:-1),a(2),v("disabled",o.isUploading_$()||o.selectedFile_$()===null||o.documentName_$().trim()===""),a(),x(" ",o.isUploading_$()?"Felt\xF6lt\xE9s...":"Felt\xF6lt\xE9s"," "))},styles:[`[_nghost-%COMP%]{display:block}
|
|
3
3
|
/*# sourceMappingURL=dl-upload.component-SQKGY42V.css.map */`]})}return t})();var Se=(t,d)=>d.id;function Le(t,d){t&1&&(i(0,"div",4),r(1,"Bet\xF6lt\xE9s..."),n())}function ke(t,d){if(t&1&&(i(0,"div",5),r(1),n()),t&2){let e=c();a(),m(e.docLibrary_DS.error_$())}}function $e(t,d){t&1&&(i(0,"p",6),r(1,"M\xE9g nincs felt\xF6lt\xF6tt dokumentum."),n())}function Te(t,d){if(t&1){let e=g();i(0,"app-ccap-document-library-card",10),p("cardClick",function(){let o=f(e).$implicit,_=c();return b(_.onCardClick(o))})("deleteClick",function(){let o=f(e).$implicit,_=c();return b(_.onDeleteRequest(o))})("setDefaultClick",function(){let o=f(e).$implicit,_=c();return b(_.onSetDefaultCorpus(o))}),n()}if(t&2){let e=d.$implicit,l=c();v("document",e)("isDefaultCorpus",e.id===l.docLibrary_DS.defaultCorpusDocumentId_$())}}function we(t,d){if(t&1){let e=g();i(0,"app-ccap-document-library-upload",11),p("uploadDone",function(){f(e);let o=c();return b(o.onUploadDone())})("cancel",function(){f(e);let o=c();return b(o.showUpload_$.set(!1))}),n()}}function Ie(t,d){if(t&1&&(i(0,"p",17),r(1),n()),t&2){let e=c(2);a(),m(e.deleteError_$())}}function Fe(t,d){if(t&1){let e=g();I(0),i(1,"div",9)(2,"div",12)(3,"h3",13),r(4,"Dokumentum t\xF6rl\xE9se"),n(),i(5,"p",14),r(6," Biztosan t\xF6r\xF6lni szeretn\xE9d a k\xF6vetkez\u0151 dokumentumot? "),n(),i(7,"p",15),r(8),n(),i(9,"p",16),r(10," A dokumentumhoz tartoz\xF3 chunk-ok \xE9s embedding-ek is t\xF6rl\u0151dnek. "),n(),s(11,Ie,2,1,"p",17),i(12,"div",18)(13,"button",19),p("click",function(){f(e);let o=c();return b(o.onDeleteCancel())}),r(14," M\xE9gse "),n(),i(15,"button",20),p("click",function(){f(e);let o=c();return b(o.onDeleteConfirm())}),r(16),n()()()()}if(t&2){let e=c(),l=e.deleteConfirmDoc_$();a(8),m(l.name),a(3),u(e.deleteError_$()?11:-1),a(2),v("disabled",e.isDeleting_$()),a(2),v("disabled",e.isDeleting_$()),a(),x(" ",e.isDeleting_$()?"T\xF6rl\xE9s...":"T\xF6rl\xE9s"," ")}}var ae=(()=>{class t{showUpload_$=D(!1);deleteConfirmDoc_$=D(null);isDeleting_$=D(!1);deleteError_$=D(null);docLibrary_DS=E(k);globalError_CS=E(j);router=E(P);ngOnInit(){this.docLibrary_DS.loadDocuments(),this.docLibrary_DS.loadDefaultCorpusDocumentId()}onCardClick(e){this.router.navigate(["/document-library",e.id])}onUploadDone(){this.showUpload_$.set(!1),this.docLibrary_DS.loadDocuments()}onSetDefaultCorpus(e){return h(this,null,function*(){try{yield this.docLibrary_DS.setDefaultCorpusDocumentId({documentId:e.id})}catch(l){this.globalError_CS.showError(l,"doc-library-set-default-corpus")}})}onDeleteRequest(e){this.deleteError_$.set(null),this.deleteConfirmDoc_$.set(e)}onDeleteCancel(){this.deleteConfirmDoc_$.set(null),this.deleteError_$.set(null)}onDeleteConfirm(){return h(this,null,function*(){let e=this.deleteConfirmDoc_$();if(e!==null){this.isDeleting_$.set(!0),this.deleteError_$.set(null);try{yield this.docLibrary_DS.deleteDocument({documentId:e.id}),this.deleteConfirmDoc_$.set(null)}catch(l){let o=l instanceof Error?l.message:"T\xF6rl\xE9s sikertelen.";this.deleteError_$.set(o),this.globalError_CS.showError(l,"doc-library-delete")}finally{this.isDeleting_$.set(!1)}}})}static \u0275fac=function(l){return new(l||t)};static \u0275cmp=S({type:t,selectors:[["app-ccap-document-library"]],decls:14,vars:5,consts:[[1,"flex","flex-col","gap-4","p-4","max-w-5xl","mx-auto"],[1,"flex","items-center","justify-between"],[1,"text-xl","font-semibold","text-neutral-100"],["type","button",1,"px-3","py-1.5","rounded","bg-ccapAccent","text-black","text-sm","font-semibold",3,"click"],[1,"text-neutral-400","text-sm"],[1,"text-red-400","text-sm"],[1,"text-neutral-500","text-sm"],[1,"grid","grid-cols-1","sm:grid-cols-2","lg:grid-cols-3","gap-3"],[3,"document","isDefaultCorpus"],[1,"fixed","inset-0","z-50","flex","items-center","justify-center","bg-black/60"],[3,"cardClick","deleteClick","setDefaultClick","document","isDefaultCorpus"],[3,"uploadDone","cancel"],[1,"bg-neutral-800","border","border-neutral-600","rounded-lg","p-6","max-w-md","w-full","mx-4","shadow-xl"],[1,"text-base","font-semibold","text-neutral-100","mb-2"],[1,"text-sm","text-neutral-300","mb-1"],[1,"text-sm","font-mono","text-neutral-200","mb-1","break-words"],[1,"text-xs","text-neutral-500","mb-4"],[1,"text-sm","text-red-400","mb-3"],[1,"flex","gap-2","justify-end"],["type","button",1,"px-4","py-2","text-sm","border","border-neutral-500","rounded","hover:bg-neutral-700","disabled:opacity-50",3,"click","disabled"],["type","button",1,"px-4","py-2","text-sm","bg-red-600","text-white","rounded","hover:bg-red-500","disabled:opacity-50",3,"click","disabled"]],template:function(l,o){l&1&&(i(0,"div",0)(1,"div",1)(2,"h1",2),r(3,"Dokumentumt\xE1r"),n(),i(4,"button",3),p("click",function(){return o.showUpload_$.set(!0)}),r(5," Felt\xF6lt\xE9s "),n()(),s(6,Le,2,0,"div",4)(7,ke,2,1,"div",5)(8,$e,2,0,"p",6),i(9,"div",7),V(10,Te,1,2,"app-ccap-document-library-card",8,Se),n(),s(12,we,1,0,"app-ccap-document-library-upload")(13,Fe,17,5,"div",9),n()),l&2&&(a(6),u(o.docLibrary_DS.isLoading_$()?6:-1),a(),u(o.docLibrary_DS.error_$()?7:-1),a(),u(!o.docLibrary_DS.isLoading_$()&&o.docLibrary_DS.documents_$().length===0&&!o.docLibrary_DS.error_$()?8:-1),a(2),M(o.docLibrary_DS.documents_$()),a(2),u(o.showUpload_$()?12:-1),a(),u(o.deleteConfirmDoc_$()!==null?13:-1))},dependencies:[ie,oe],styles:[`[_nghost-%COMP%]{display:block}
|
|
4
4
|
/*# sourceMappingURL=document-library.component-I7LEZUZA.css.map */`]})}return t})();var Ve=(t,d)=>d.id;function Me(t,d){t&1&&(i(0,"div",2),r(1,"Bet\xF6lt\xE9s..."),n())}function Ae(t,d){if(t&1&&(i(0,"div",3),r(1),n()),t&2){let e=c();a(),m(e.docLibrary_DS.error_$())}}function Ue(t,d){if(t&1&&(i(0,"p",9),r(1),n()),t&2){c(2);let e=C(6);a(),m(e.description)}}function ze(t,d){t&1&&(i(0,"span",12),r(1," chunked "),n())}function Re(t,d){t&1&&(i(0,"span",13),r(1," uploading "),n())}function Pe(t,d){t&1&&(i(0,"span",14),r(1," error "),n())}function je(t,d){if(t&1&&(i(0,"span",15),r(1),n()),t&2){c(2);let e=C(6);a(),x(" ",e.status," ")}}function Ne(t,d){if(t&1&&(i(0,"span",16),r(1),n()),t&2){c(2);let e=C(6);a(),m(e.mimeType)}}function Be(t,d){if(t&1){let e=g();i(0,"span",33),r(1," T4/T5 default corpus "),n(),i(2,"button",34),p("click",function(){f(e);let o=c(2);return b(o.onClearDefaultCorpus())}),r(3," Jel\xF6l\xE9s elt\xE1vol\xEDt\xE1sa "),n()}}function Oe(t,d){if(t&1){let e=g();i(0,"button",35),p("click",function(){f(e);let o=c(2);return b(o.onSetDefaultCorpus())}),r(1," Be\xE1ll\xEDt\xE1s T4/T5 default corpus-nak "),n()}}function Ge(t,d){if(t&1&&(i(0,"div",19),r(1),n()),t&2){c(2);let e=C(6);a(),x(" ",e.errorMessage," ")}}function qe(t,d){if(t&1&&(i(0,"div",28)(1,"span",29),r(2,"Chunk m\xE9ret"),n(),i(3,"span",36),r(4),n()()),t&2){c(3);let e=C(6);a(4),x("",e.chunkSize," karakter")}}function He(t,d){if(t&1&&(i(0,"div",28)(1,"span",29),r(2,"Chunk overlap"),n(),i(3,"span",36),r(4),n()()),t&2){c(3);let e=C(6);a(4),x("",e.chunkOverlap," karakter")}}function Ze(t,d){if(t&1&&(i(0,"div",28)(1,"span",29),r(2,"\xC1tlagos chunk m\xE9ret"),n(),i(3,"span",36),r(4),L(5,"number"),n()()),t&2){c(3);let e=C(6);a(4),x("~",T(5,1,e.totalChars/e.chunkCount,"1.0-0")," karakter")}}function Ke(t,d){if(t&1&&(i(0,"div",24)(1,"h2",25),r(2,"Chunkol\xE1si r\xE9szletek"),n(),i(3,"div",26),s(4,qe,5,1,"div",28)(5,He,5,1,"div",28)(6,Ze,6,4,"div",28),n()()),t&2){c(2);let e=C(6);a(4),u(e.chunkSize!==void 0?4:-1),a(),u(e.chunkOverlap!==void 0?5:-1),a(),u(e.chunkCount!==void 0&&e.totalChars!==void 0&&e.chunkCount>0?6:-1)}}function Qe(t,d){if(t&1&&(i(0,"div",27)(1,"span",37),r(2,"Forr\xE1s f\xE1jl"),n(),i(3,"span",38),r(4),n()()),t&2){c(2);let e=C(6);a(4),m(e.sourceFileName)}}function Je(t,d){if(t&1&&(i(0,"div",28)(1,"span",29),r(2,"MIME t\xEDpus"),n(),i(3,"span",36),r(4),n()()),t&2){c(2);let e=C(6);a(4),m(e.mimeType)}}function We(t,d){if(t&1&&(i(0,"div",28)(1,"span",29),r(2,"L\xE9trehozva"),n(),i(3,"span",39),r(4),L(5,"date"),n()()),t&2){c(2);let e=C(6);a(4),m(T(5,1,e.createdAt,"medium"))}}function Ye(t,d){if(t&1&&(i(0,"div",28)(1,"span",29),r(2,"M\xF3dos\xEDtva"),n(),i(3,"span",39),r(4),L(5,"date"),n()()),t&2){c(2);let e=C(6);a(4),m(T(5,1,e.updatedAt,"medium"))}}function Xe(t,d){t&1&&(i(0,"span",43),r(1,"Bet\xF6lt\xE9s..."),n())}function et(t,d){if(t&1&&r(0),t&2){let e=c().$implicit;x(" \u2014 score: ",e.lastTestScore,"/10 ")}}function tt(t,d){if(t&1&&(i(0,"option",49),r(1),s(2,et,1,1),n()),t&2){let e,l=d.$implicit;v("value",l.id),a(),A(" ",(e=l.modelId)!==null&&e!==void 0?e:"\u2013"," (",(e=l.embeddingBackend)!==null&&e!==void 0?e:"\u2013",") "),a(),u(l.lastTestScore!==void 0&&l.lastTestScore!==null?2:-1)}}function nt(t,d){if(t&1){let e=g();i(0,"select",47),p("change",function(o){f(e);let _=c(3);return b(_.handleRegistryEntryChange(o.target.value))}),i(1,"option",48),r(2,"\u2014 V\xE1lassz embedding modellt \u2014"),n(),V(3,tt,3,4,"option",49,Ve),n()}if(t&2){let e=c(3);v("value",e.docLibrary_DS.selectedRegistryEntryId_$()),a(3),M(e.docLibrary_DS.registryEntries_$())}}function it(t,d){t&1&&(i(0,"span",45),r(1,"Nincs el\xE9rhet\u0151 embedding modell a registry-ben."),n())}function ot(t,d){if(t&1){let e=g();i(0,"div",17)(1,"button",50),p("click",function(){f(e);let o=c(3);return b(o.handleStartIndexing())}),r(2),n()()}if(t&2){let e=c(3);a(),v("disabled",e.docLibrary_DS.indexingActive_$()),a(),x(" ",e.docLibrary_DS.indexingActive_$()?"Indexel\xE9s folyamatban...":"Indexel\xE9s ind\xEDt\xE1sa"," ")}}function at(t,d){if(t&1&&(i(0,"span",29),r(1," Folyamatban: "),i(2,"span",54),r(3),n()()),t&2){c(2);let e=C(10);a(3),m(e.pending)}}function rt(t,d){if(t&1&&(i(0,"span",29),r(1," Hiba: "),i(2,"span",55),r(3),n()()),t&2){c(2);let e=C(10);a(3),m(e.error)}}function lt(t,d){t&1&&(i(0,"p",58),r(1,"Indexel\xE9s k\xE9sz \u2014 minden chunk sikeresen embeddelve."),n())}function dt(t,d){if(t&1&&(i(0,"p",59),r(1),n()),t&2){c(3);let e=C(10);a(),x(" Indexel\xE9s befejez\u0151d\xF6tt \u2014 ",e.error," chunk hib\xE1val z\xE1rult. ")}}function ct(t,d){if(t&1&&(i(0,"div",56),w(1,"div",57),n(),s(2,lt,2,0,"p",58)(3,dt,2,1,"p",59)),t&2){c(2);let e=C(10),l=c(2);a(),Z("width",l.indexingPercent_$(),"%"),F("bg-ccapAccent",e.error===0)("bg-amber-500",e.error>0),a(),u(e.completed===e.total&&e.error===0?2:e.pending===0&&e.error>0?3:-1)}}function ut(t,d){if(t&1&&(i(0,"div",46)(1,"div",51)(2,"span",29),r(3," \xD6sszesen: "),i(4,"span",52),r(5),n()(),i(6,"span",29),r(7," K\xE9sz: "),i(8,"span",53),r(9),n()(),s(10,at,4,1,"span",29)(11,rt,4,1,"span",29),n(),s(12,ct,4,7),n()),t&2){c();let e=C(10);a(5),m(e.total),a(4),m(e.completed),a(),u(e.pending>0?10:-1),a(),u(e.error>0?11:-1),a(),u(e.total>0?12:-1)}}function st(t,d){t&1&&(i(0,"p",43),r(1,"M\xE9g nincs indexel\xE9si adat ehhez a modellhez."),n())}function mt(t,d){if(t&1&&(i(0,"div",31)(1,"h2",40),r(2,"Embedding indexel\xE9s"),n(),i(3,"div",41)(4,"span",42),r(5,"Embedding modell:"),n(),s(6,Xe,2,0,"span",43)(7,nt,5,1,"select",44)(8,it,2,0,"span",45),n(),s(9,ot,3,2,"div",17),I(10),s(11,ut,13,5,"div",46)(12,st,2,0,"p",43),n()),t&2){let e=c(2);a(6),u(e.docLibrary_DS.registryLoading_$()?6:7),a(2),u(e.docLibrary_DS.registryEntries_$().length===0&&!e.docLibrary_DS.registryLoading_$()?8:-1),a(),u(e.docLibrary_DS.selectedRegistryEntryId_$().length>0?9:-1),a();let l=O(e.docLibrary_DS.indexingStatus_$());a(),u(l!==null?11:e.docLibrary_DS.selectedRegistryEntryId_$().length>0?12:-1)}}function _t(t,d){t&1&&(i(0,"div",32)(1,"h2",40),r(2,"Embedding indexel\xE9s"),n(),i(3,"p",60),r(4,' A dokumentum m\xE9g nincs felcs\xE1nkolva \u2014 az indexel\xE9s csak \u201Echunked" st\xE1tusz\xFA dokumentumon ind\xEDthat\xF3. '),n()())}function pt(t,d){if(t&1){let e=g();i(0,"div",4)(1,"div",6)(2,"div",7)(3,"h1",8),r(4),n(),s(5,Ue,2,1,"p",9),n(),i(6,"button",10),p("click",function(){f(e);let o=c();return b(o.onDeleteRequest())}),r(7," T\xF6rl\xE9s "),n()(),i(8,"div",11),s(9,ze,2,0,"span",12)(10,Re,2,0,"span",13)(11,Pe,2,0,"span",14)(12,je,2,1,"span",15)(13,Ne,2,1,"span",16),n(),i(14,"div",17),s(15,Be,4,0)(16,Oe,2,0,"button",18),n(),s(17,Ge,2,1,"div",19),i(18,"div",20)(19,"div",21)(20,"div",22),r(21,"Oldalak"),n(),i(22,"div",23),r(23),n()(),i(24,"div",21)(25,"div",22),r(26,"Chunk\xF6k"),n(),i(27,"div",23),r(28),n()(),i(29,"div",21)(30,"div",22),r(31,"\xD6sszes karakter"),n(),i(32,"div",23),r(33),L(34,"number"),n()()(),s(35,Ke,7,3,"div",24),i(36,"div",24)(37,"h2",25),r(38,"Forr\xE1s f\xE1jl \xE9s adatok"),n(),i(39,"div",26),s(40,Qe,5,1,"div",27)(41,Je,5,1,"div",28),i(42,"div",28)(43,"span",29),r(44,"Dokumentum ID"),n(),i(45,"span",30),r(46),n()(),s(47,We,6,4,"div",28)(48,Ye,6,4,"div",28),n()(),s(49,mt,13,5,"div",31)(50,_t,5,0,"div",32),n()}if(t&2){let e,l=c(),o=C(6);a(4),m(o.name),a(),u(o.description?5:-1),a(),v("disabled",l.isDeleting_$()),a(3),u(o.status==="chunked"?9:o.status==="uploading"?10:o.status==="error"?11:12),a(4),u(o.mimeType?13:-1),a(2),u(o.id===l.docLibrary_DS.defaultCorpusDocumentId_$()?15:16),a(2),u(o.status==="error"&&o.errorMessage?17:-1),a(6),x(" ",(e=o.pageCount)!==null&&e!==void 0?e:"\u2013"," "),a(5),x(" ",l.docLibrary_DS.selectedChunkCount_$()||o.chunkCount||"\u2013"," "),a(5),x(" ",o.totalChars!==void 0?U(34,17,o.totalChars):"\u2013"," "),a(2),u(o.status==="chunked"||o.chunkCount?35:-1),a(5),u(o.sourceFileName?40:-1),a(),u(o.mimeType?41:-1),a(5),m(o.id),a(),u(o.createdAt?47:-1),a(),u(o.updatedAt?48:-1),a(),u(o.status==="chunked"?49:50)}}function xt(t,d){if(t&1&&(i(0,"p",66),r(1),n()),t&2){let e=c(2);a(),m(e.deleteError_$())}}function Ct(t,d){if(t&1){let e=g();i(0,"div",5)(1,"div",61)(2,"h3",62),r(3,"Dokumentum t\xF6rl\xE9se"),n(),i(4,"p",63),r(5," Biztosan t\xF6r\xF6lni szeretn\xE9d a k\xF6vetkez\u0151 dokumentumot? "),n(),i(6,"p",64),r(7),n(),i(8,"p",65),r(9," A dokumentumhoz tartoz\xF3 chunk-ok \xE9s embedding-ek is t\xF6rl\u0151dnek. "),n(),s(10,xt,2,1,"p",66),i(11,"div",67)(12,"button",68),p("click",function(){f(e);let o=c();return b(o.onDeleteCancel())}),r(13," M\xE9gse "),n(),i(14,"button",69),p("click",function(){f(e);let o=c();return b(o.onDeleteConfirm())}),r(15),n()()()()}if(t&2){let e=c(),l=C(6);a(7),m(l==null?null:l.name),a(3),u(e.deleteError_$()?10:-1),a(2),v("disabled",e.isDeleting_$()),a(2),v("disabled",e.isDeleting_$()),a(),x(" ",e.isDeleting_$()?"T\xF6rl\xE9s...":"T\xF6rl\xE9s"," ")}}var re=(()=>{class t{deleteConfirmVisible_$=D(!1);isDeleting_$=D(!1);deleteError_$=D(null);indexingPercent_$=K(()=>{let e=this.docLibrary_DS.indexingStatus_$();return e===null||e.total<=0?0:(e.completed+e.error)/e.total*100});docLibrary_DS=E(k);globalError_CS=E(j);route=E(J);router=E(P);documentId="";ngOnInit(){let e=this.route.snapshot.paramMap.get("id");this.documentId=e!==null&&e.trim()!==""?e.trim():"",this.documentId.length>0&&this.docLibrary_DS.loadDocumentDetail({documentId:this.documentId}),this.docLibrary_DS.loadDefaultCorpusDocumentId(),this.docLibrary_DS.loadRegistryEntries()}ngOnDestroy(){this.docLibrary_DS.stopIndexingPolling(),this.docLibrary_DS.selectedRegistryEntryId_$.set(""),this.docLibrary_DS.indexingStatus_$.set(null)}onSetDefaultCorpus(){return h(this,null,function*(){let e=this.docLibrary_DS.selectedDocument_$();if(e!==null)try{yield this.docLibrary_DS.setDefaultCorpusDocumentId({documentId:e.id})}catch(l){this.globalError_CS.showError(l,"doc-library-detail-set-default-corpus")}})}onClearDefaultCorpus(){return h(this,null,function*(){try{yield this.docLibrary_DS.setDefaultCorpusDocumentId({documentId:""})}catch(e){this.globalError_CS.showError(e,"doc-library-detail-clear-default-corpus")}})}handleRegistryEntryChange(e){this.docLibrary_DS.selectedRegistryEntryId_$.set(e),this.docLibrary_DS.indexingStatus_$.set(null),this.docLibrary_DS.stopIndexingPolling(),e.length>0&&this.documentId.length>0&&this.docLibrary_DS.loadIndexingStatus({documentId:this.documentId,registryEntryId:e})}handleStartIndexing(){return h(this,null,function*(){let e=this.docLibrary_DS.selectedRegistryEntryId_$();if(!(e.length===0||this.documentId.length===0))try{yield this.docLibrary_DS.startIndexing({documentId:this.documentId,registryEntryId:e})}catch(l){this.globalError_CS.showError(l,"doc-library-detail-indexing")}})}onDeleteRequest(){this.deleteError_$.set(null),this.deleteConfirmVisible_$.set(!0)}onDeleteCancel(){this.deleteConfirmVisible_$.set(!1),this.deleteError_$.set(null)}onDeleteConfirm(){return h(this,null,function*(){let e=this.docLibrary_DS.selectedDocument_$();if(e!==null){this.isDeleting_$.set(!0),this.deleteError_$.set(null);try{yield this.docLibrary_DS.deleteDocument({documentId:e.id}),this.deleteConfirmVisible_$.set(!1),this.router.navigate(["/document-library"])}catch(l){let o=l instanceof Error?l.message:"T\xF6rl\xE9s sikertelen.";this.deleteError_$.set(o),this.globalError_CS.showError(l,"doc-library-detail-delete")}finally{this.isDeleting_$.set(!1)}}})}static \u0275fac=function(l){return new(l||t)};static \u0275cmp=S({type:t,selectors:[["app-ccap-document-library-detail"]],decls:9,vars:5,consts:[[1,"flex","flex-col","gap-4","p-4","max-w-3xl","mx-auto","text-neutral-100"],["routerLink","/document-library",1,"text-ccapAccent","hover:underline","text-sm","mb-2","inline-block"],[1,"text-neutral-400","text-sm"],[1,"text-red-400","text-sm"],[1,"flex","flex-col","gap-4"],[1,"fixed","inset-0","z-50","flex","items-center","justify-center","bg-black/60"],[1,"flex","items-start","justify-between","gap-4"],[1,"flex-1","min-w-0"],[1,"text-2xl","font-bold","text-neutral-100","break-words"],[1,"text-neutral-400","text-sm","mt-1","break-words"],["type","button",1,"shrink-0","px-3","py-1.5","text-xs","border","border-red-700/50","text-red-400","rounded","hover:bg-red-900/30","disabled:opacity-50",3,"click","disabled"],[1,"flex","flex-wrap","items-center","gap-3","text-sm"],[1,"inline-flex","items-center","px-2","py-0.5","rounded","text-xs","font-medium","bg-green-900/40","text-green-400","border","border-green-700/50"],[1,"inline-flex","items-center","px-2","py-0.5","rounded","text-xs","font-medium","bg-amber-900/40","text-amber-400","border","border-amber-700/50"],[1,"inline-flex","items-center","px-2","py-0.5","rounded","text-xs","font-medium","bg-red-900/40","text-red-400","border","border-red-700/50"],[1,"inline-flex","items-center","px-2","py-0.5","rounded","text-xs","font-medium","bg-neutral-700/50","text-neutral-400","border","border-neutral-600/50"],[1,"text-neutral-500","text-xs","font-mono"],[1,"flex","items-center","gap-3"],["type","button",1,"px-3","py-1.5","text-xs","border","border-neutral-600","text-neutral-300","rounded","hover:bg-neutral-700","hover:border-ccapAccent/50","hover:text-ccapAccent"],[1,"text-red-400","text-sm","border","border-red-700/50","rounded","p-3","bg-red-900/20"],[1,"grid","grid-cols-2","sm:grid-cols-3","gap-3"],[1,"border","border-neutral-700","rounded","p-3","bg-neutral-800/50"],[1,"text-neutral-500","text-xs","mb-1"],[1,"text-lg","font-bold","tabular-nums","text-neutral-100"],[1,"border","border-neutral-700","rounded-lg","p-4","bg-neutral-800/50"],[1,"text-base","font-semibold","text-neutral-200","mb-3"],[1,"grid","gap-2","text-sm"],[1,"flex","justify-between","gap-4"],[1,"flex","justify-between"],[1,"text-neutral-400"],[1,"font-mono","text-neutral-200","text-xs","break-all","text-right"],[1,"border","border-neutral-700","rounded-lg","p-4","flex","flex-col","gap-3"],[1,"border","border-neutral-700","rounded-lg","p-4","flex","flex-col","gap-2"],[1,"inline-flex","items-center","px-2.5","py-1","rounded","text-xs","font-medium","bg-ccapAccent/20","text-ccapAccent","border","border-ccapAccent/50"],["type","button",1,"text-xs","text-neutral-500","hover:text-neutral-300",3,"click"],["type","button",1,"px-3","py-1.5","text-xs","border","border-neutral-600","text-neutral-300","rounded","hover:bg-neutral-700","hover:border-ccapAccent/50","hover:text-ccapAccent",3,"click"],[1,"font-mono","text-neutral-200"],[1,"text-neutral-400","shrink-0"],[1,"font-mono","text-neutral-200","break-all","text-right"],[1,"text-neutral-200"],[1,"text-base","font-semibold","text-neutral-200"],[1,"flex","flex-wrap","items-center","gap-3"],[1,"text-sm","text-neutral-400","whitespace-nowrap"],[1,"text-xs","text-neutral-500"],[1,"flex-1","min-w-[200px]","bg-neutral-700","border","border-neutral-600","rounded","px-2","py-1","text-sm","text-neutral-100","focus:outline-none","focus:border-neutral-400",3,"value"],[1,"text-xs","text-amber-400"],[1,"border","border-neutral-700/50","rounded","p-3","bg-neutral-900/50"],[1,"flex-1","min-w-[200px]","bg-neutral-700","border","border-neutral-600","rounded","px-2","py-1","text-sm","text-neutral-100","focus:outline-none","focus:border-neutral-400",3,"change","value"],["value",""],[3,"value"],["type","button",1,"px-4","py-2","bg-ccapAccent","text-black","font-semibold","rounded","text-sm","disabled:opacity-50",3,"click","disabled"],[1,"flex","flex-wrap","gap-4","text-sm","mb-2"],[1,"font-mono","text-neutral-100"],[1,"font-mono","text-green-400"],[1,"font-mono","text-amber-400"],[1,"font-mono","text-red-400"],[1,"w-full","h-2","bg-neutral-700","rounded","overflow-hidden"],[1,"h-full","transition-all","duration-300"],[1,"text-xs","text-green-400","mt-1"],[1,"text-xs","text-amber-400","mt-1"],[1,"text-neutral-500","text-sm"],[1,"bg-neutral-800","border","border-neutral-600","rounded-lg","p-6","max-w-md","w-full","mx-4","shadow-xl"],[1,"text-base","font-semibold","text-neutral-100","mb-2"],[1,"text-sm","text-neutral-300","mb-1"],[1,"text-sm","font-mono","text-neutral-200","mb-1","break-words"],[1,"text-xs","text-neutral-500","mb-4"],[1,"text-sm","text-red-400","mb-3"],[1,"flex","gap-2","justify-end"],["type","button",1,"px-4","py-2","text-sm","border","border-neutral-500","rounded","hover:bg-neutral-700","disabled:opacity-50",3,"click","disabled"],["type","button",1,"px-4","py-2","text-sm","bg-red-600","text-white","rounded","hover:bg-red-500","disabled:opacity-50",3,"click","disabled"]],template:function(l,o){if(l&1&&(i(0,"div",0)(1,"div")(2,"a",1),r(3," Vissza a list\xE1hoz "),n()(),s(4,Me,2,0,"div",2)(5,Ae,2,1,"div",3),I(6),s(7,pt,51,19,"div",4)(8,Ct,16,5,"div",5),n()),l&2){a(4),u(o.docLibrary_DS.isLoading_$()?4:-1),a(),u(o.docLibrary_DS.error_$()?5:-1),a();let _=O(o.docLibrary_DS.selectedDocument_$());a(),u(_!==null?7:-1),a(),u(o.deleteConfirmVisible_$()?8:-1)}},dependencies:[X,ee,W,R,z],styles:[`[_nghost-%COMP%]{display:block}
|
|
5
5
|
/*# sourceMappingURL=dl-detail.component-2PIEFIZG.css.map */`]})}return t})();var ft=[{path:"",pathMatch:"full",component:ae},{path:":id",component:re}],en=(()=>{class t{static \u0275fac=function(l){return new(l||t)};static \u0275mod=q({type:t});static \u0275inj=G({providers:[ne,k],imports:[Q,te,Y.forChild(ft)]})}return t})();export{en as DocumentLibrary_Module};
|
|
6
|
-
//# sourceMappingURL=document-library.module-
|
|
6
|
+
//# sourceMappingURL=document-library.module-RZ5GE64U.js.map
|