@onlive.ai/common-121 0.2.227 → 0.2.230
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/{audi-dark.theme-CmBU76BS.d.cts → audi-dark.theme-BDa-xEbe.d.cts} +1 -1
- package/{audi-dark.theme-CmBU76BS.d.ts → audi-dark.theme-BDa-xEbe.d.ts} +1 -1
- package/{audi.theme-Dv00cyiq.d.cts → audi.theme-B-t6TJ4Q.d.cts} +1 -1
- package/{audi.theme-Dv00cyiq.d.ts → audi.theme-B-t6TJ4Q.d.ts} +1 -1
- package/{australia.theme-MBhnmXS4.d.cts → australia.theme-Do8ilkFN.d.cts} +1 -1
- package/{australia.theme-MBhnmXS4.d.ts → australia.theme-Do8ilkFN.d.ts} +1 -1
- package/{chunk-QP5HM4T4.js → chunk-5KMLMQ5U.js} +1 -1
- package/components/asset/asset-modal-portal.cjs +1 -1
- package/components/asset/asset-modal-portal.d.cts +1 -1
- package/components/asset/asset-modal-portal.d.ts +1 -1
- package/components/asset/asset-modal-portal.js +1 -1
- package/components/asset/asset.cjs +38 -39
- package/components/asset/asset.d.cts +1 -1
- package/components/asset/asset.d.ts +1 -1
- package/components/asset/asset.js +28 -29
- package/components/asset/asset.loaders.cjs +1 -1
- package/components/asset/asset.loaders.d.cts +1 -1
- package/components/asset/asset.loaders.d.ts +1 -1
- package/components/asset/asset.loaders.js +1 -1
- package/components/asset/asset.renderer.cjs +77 -78
- package/components/asset/asset.renderer.d.cts +1 -1
- package/components/asset/asset.renderer.d.ts +1 -1
- package/components/asset/asset.renderer.js +20 -21
- package/components/asset/asset.styles.cjs +1 -1
- package/components/asset/asset.styles.d.cts +1 -1
- package/components/asset/asset.styles.d.ts +1 -1
- package/components/asset/asset.styles.js +1 -1
- package/components/asset/asset.types.cjs +1 -1
- package/components/asset/asset.types.d.cts +1 -1
- package/components/asset/asset.types.d.ts +1 -1
- package/components/asset/asset.types.js +1 -1
- package/components/asset/index.cjs +38 -39
- package/components/asset/index.d.cts +1 -1
- package/components/asset/index.d.ts +1 -1
- package/components/asset/index.js +28 -29
- package/components/player/player.cjs +5 -6
- package/components/player/player.d.cts +6 -1
- package/components/player/player.d.ts +6 -1
- package/components/player/player.js +6 -7
- package/components/player/player.styles.cjs +1 -1
- package/components/player/player.styles.d.cts +1 -1
- package/components/player/player.styles.d.ts +1 -1
- package/components/player/player.styles.js +1 -1
- package/components/side-bar/index.cjs +15 -16
- package/components/side-bar/index.d.cts +1 -1
- package/components/side-bar/index.d.ts +1 -1
- package/components/side-bar/index.js +9 -10
- package/components/side-bar/side-bar.cjs +9 -10
- package/components/side-bar/side-bar.d.cts +1 -1
- package/components/side-bar/side-bar.d.ts +1 -1
- package/components/side-bar/side-bar.js +9 -10
- package/components/side-bar/side-bar.styles.cjs +1 -1
- package/components/side-bar/side-bar.styles.d.cts +1 -1
- package/components/side-bar/side-bar.styles.d.ts +1 -1
- package/components/side-bar/side-bar.styles.js +1 -1
- package/components/side-bar/side-bar.types.cjs +1 -1
- package/components/side-bar/side-bar.types.d.cts +1 -1
- package/components/side-bar/side-bar.types.d.ts +1 -1
- package/components/side-bar/side-bar.types.js +1 -1
- package/components/upload/index.cjs +1 -1
- package/components/upload/index.d.cts +1 -1
- package/components/upload/index.d.ts +1 -1
- package/components/upload/index.js +1 -1
- package/components/upload/upload.cjs +1 -1
- package/components/upload/upload.d.cts +1 -1
- package/components/upload/upload.d.ts +1 -1
- package/components/upload/upload.js +1 -1
- package/components/upload/upload.styles.cjs +1 -1
- package/components/upload/upload.styles.d.cts +1 -1
- package/components/upload/upload.styles.d.ts +1 -1
- package/components/upload/upload.styles.js +1 -1
- package/components/upload/upload.types.cjs +1 -1
- package/components/upload/upload.types.d.cts +1 -1
- package/components/upload/upload.types.d.ts +1 -1
- package/components/upload/upload.types.js +1 -1
- package/{cuernavaca.theme-CUjrY9Xc.d.cts → cuernavaca.theme-C7eI43Ti.d.cts} +1 -1
- package/{cuernavaca.theme-CUjrY9Xc.d.ts → cuernavaca.theme-C7eI43Ti.d.ts} +1 -1
- package/{cupra-diagonal.theme-CpQckNhJ.d.cts → cupra-diagonal.theme-CTnux7Xn.d.cts} +1 -1
- package/{cupra-diagonal.theme-CpQckNhJ.d.ts → cupra-diagonal.theme-CTnux7Xn.d.ts} +1 -1
- package/{cupra-events.theme-cVqmX62Y.d.cts → cupra-events.theme-DVzhEs0S.d.cts} +1 -1
- package/{cupra-events.theme-cVqmX62Y.d.ts → cupra-events.theme-DVzhEs0S.d.ts} +1 -1
- package/{cupra.theme-DKaGh_O3.d.cts → cupra.theme-DGD1gXAe.d.cts} +1 -1
- package/{cupra.theme-DKaGh_O3.d.ts → cupra.theme-DGD1gXAe.d.ts} +1 -1
- package/{dark-BxHAJ7kM.d.cts → dark-Bp5g8THy.d.cts} +1 -1
- package/{dark-BxHAJ7kM.d.ts → dark-Bp5g8THy.d.ts} +1 -1
- package/{germany.theme-nFG04X6c.d.cts → germany.theme-Dr2KwHjU.d.cts} +1 -1
- package/{germany.theme-nFG04X6c.d.ts → germany.theme-Dr2KwHjU.d.ts} +1 -1
- package/{hyundai.theme-Dxmi6-Jk.d.cts → hyundai.theme-a4zB1THd.d.cts} +1 -1
- package/{hyundai.theme-Dxmi6-Jk.d.ts → hyundai.theme-a4zB1THd.d.ts} +1 -1
- package/index.cjs +13 -14
- package/index.d.cts +7 -2
- package/index.d.ts +7 -2
- package/index.iife.js +99 -100
- package/index.js +114 -115
- package/{italy.theme-ghaT8KXg.d.cts → italy.theme-jr09Vs7Z.d.cts} +1 -1
- package/{italy.theme-ghaT8KXg.d.ts → italy.theme-jr09Vs7Z.d.ts} +1 -1
- package/{jac-dark.theme-DdqAsf4f.d.cts → jac-dark.theme-CnuWig-V.d.cts} +1 -1
- package/{jac-dark.theme-DdqAsf4f.d.ts → jac-dark.theme-CnuWig-V.d.ts} +1 -1
- package/{jac.theme-Di6EpMHt.d.cts → jac.theme-CLx_Lx9m.d.cts} +1 -1
- package/{jac.theme-Di6EpMHt.d.ts → jac.theme-CLx_Lx9m.d.ts} +1 -1
- package/{light-BlLrq4kY.d.cts → light-SRZLDwc5.d.cts} +1 -1
- package/{light-BlLrq4kY.d.ts → light-SRZLDwc5.d.ts} +1 -1
- package/{magimix.theme-BPqGCjtn.d.cts → magimix.theme-BBI5gGGE.d.cts} +1 -1
- package/{magimix.theme-BPqGCjtn.d.ts → magimix.theme-BBI5gGGE.d.ts} +1 -1
- package/{media-PYNZP2A2.js → media-SMLGLG2N.js} +2 -2
- package/{onlive-ai.theme-DhO68-0D.d.cts → onlive-ai.theme-BzWL7xq-.d.cts} +1 -1
- package/{onlive-ai.theme-DhO68-0D.d.ts → onlive-ai.theme-BzWL7xq-.d.ts} +1 -1
- package/{onlive.theme-DLBUb-9X.d.cts → onlive.theme-wChpAYgO.d.cts} +1 -1
- package/{onlive.theme-DLBUb-9X.d.ts → onlive.theme-wChpAYgO.d.ts} +1 -1
- package/package.json +2 -2
- package/peugeot.theme-2goyfg2G.d.cts +11 -0
- package/peugeot.theme-2goyfg2G.d.ts +11 -0
- package/react/components/asset/Asset.cjs +1 -1
- package/react/components/asset/Asset.jsx +1 -1
- package/react/components/side-bar/SideBar.cjs +1 -1
- package/react/components/side-bar/SideBar.jsx +1 -1
- package/react/components/upload/Upload.cjs +1 -1
- package/react/components/upload/Upload.jsx +1 -1
- package/{seat-cupra.theme-qDT2y1oc.d.cts → seat-cupra.theme-CmR-q7Xu.d.cts} +1 -1
- package/{seat-cupra.theme-qDT2y1oc.d.ts → seat-cupra.theme-CmR-q7Xu.d.ts} +1 -1
- package/{seat.theme-CLUnSkVY.d.cts → seat.theme-BCvHF65K.d.cts} +1 -1
- package/{seat.theme-CLUnSkVY.d.ts → seat.theme-BCvHF65K.d.ts} +1 -1
- package/services/audio.service.cjs +1 -1
- package/services/audio.service.d.cts +1 -1
- package/services/audio.service.d.ts +1 -1
- package/services/audio.service.js +1 -1
- package/services/conversation/conversation.service.cjs +1 -1
- package/services/conversation/conversation.service.d.cts +1 -1
- package/services/conversation/conversation.service.d.ts +1 -1
- package/services/conversation/conversation.service.js +1 -1
- package/services/conversation/conversation.types.cjs +1 -1
- package/services/conversation/conversation.types.d.cts +1 -1
- package/services/conversation/conversation.types.d.ts +1 -1
- package/services/conversation/conversation.types.js +1 -1
- package/services/conversation/index.cjs +1 -1
- package/services/conversation/index.d.cts +1 -1
- package/services/conversation/index.d.ts +1 -1
- package/services/conversation/index.js +1 -1
- package/services/conversation/mock/actor/agent.cjs +1 -1
- package/services/conversation/mock/actor/agent.d.cts +1 -1
- package/services/conversation/mock/actor/agent.d.ts +1 -1
- package/services/conversation/mock/actor/agent.js +1 -1
- package/services/conversation/mock/actor/index.cjs +1 -1
- package/services/conversation/mock/actor/index.d.cts +1 -1
- package/services/conversation/mock/actor/index.d.ts +1 -1
- package/services/conversation/mock/actor/index.js +1 -1
- package/services/conversation/mock/actor/strategies.cjs +1 -1
- package/services/conversation/mock/actor/strategies.d.cts +1 -1
- package/services/conversation/mock/actor/strategies.d.ts +1 -1
- package/services/conversation/mock/actor/strategies.js +1 -1
- package/services/conversation/mock/errors.cjs +1 -1
- package/services/conversation/mock/errors.d.cts +1 -1
- package/services/conversation/mock/errors.d.ts +1 -1
- package/services/conversation/mock/errors.js +1 -1
- package/services/conversation/mock/events.cjs +1 -1
- package/services/conversation/mock/events.d.cts +1 -1
- package/services/conversation/mock/events.d.ts +1 -1
- package/services/conversation/mock/events.js +1 -1
- package/services/conversation/mock/factory.cjs +1 -1
- package/services/conversation/mock/factory.d.cts +1 -1
- package/services/conversation/mock/factory.d.ts +1 -1
- package/services/conversation/mock/factory.js +1 -1
- package/services/conversation/mock/fixtures.cjs +1 -1
- package/services/conversation/mock/fixtures.d.cts +1 -1
- package/services/conversation/mock/fixtures.d.ts +1 -1
- package/services/conversation/mock/fixtures.js +1 -1
- package/services/conversation/mock/generators.cjs +1 -1
- package/services/conversation/mock/generators.d.cts +1 -1
- package/services/conversation/mock/generators.d.ts +1 -1
- package/services/conversation/mock/generators.js +1 -1
- package/services/conversation/mock/index.cjs +1 -1
- package/services/conversation/mock/index.d.cts +1 -1
- package/services/conversation/mock/index.d.ts +1 -1
- package/services/conversation/mock/index.js +1 -1
- package/services/conversation/mock/livekit/index.cjs +1 -1
- package/services/conversation/mock/livekit/index.d.cts +1 -1
- package/services/conversation/mock/livekit/index.d.ts +1 -1
- package/services/conversation/mock/livekit/index.js +1 -1
- package/services/conversation/mock/livekit/local-participant.cjs +1 -1
- package/services/conversation/mock/livekit/local-participant.d.cts +1 -1
- package/services/conversation/mock/livekit/local-participant.d.ts +1 -1
- package/services/conversation/mock/livekit/local-participant.js +1 -1
- package/services/conversation/mock/livekit/participant.cjs +1 -1
- package/services/conversation/mock/livekit/participant.d.cts +1 -1
- package/services/conversation/mock/livekit/participant.d.ts +1 -1
- package/services/conversation/mock/livekit/participant.js +1 -1
- package/services/conversation/mock/livekit/room.cjs +1 -1
- package/services/conversation/mock/livekit/room.d.cts +1 -1
- package/services/conversation/mock/livekit/room.d.ts +1 -1
- package/services/conversation/mock/livekit/room.js +1 -1
- package/services/conversation/mock/livekit/streams.cjs +1 -1
- package/services/conversation/mock/livekit/streams.d.cts +1 -1
- package/services/conversation/mock/livekit/streams.d.ts +1 -1
- package/services/conversation/mock/livekit/streams.js +1 -1
- package/services/conversation/mock/livekit/tracks.cjs +1 -1
- package/services/conversation/mock/livekit/tracks.d.cts +1 -1
- package/services/conversation/mock/livekit/tracks.d.ts +1 -1
- package/services/conversation/mock/livekit/tracks.js +1 -1
- package/services/conversation/mock/media.cjs +1 -1
- package/services/conversation/mock/media.d.cts +1 -1
- package/services/conversation/mock/media.d.ts +1 -1
- package/services/conversation/mock/media.js +1 -1
- package/services/conversation/mock/service.cjs +1 -1
- package/services/conversation/mock/service.d.cts +1 -1
- package/services/conversation/mock/service.d.ts +1 -1
- package/services/conversation/mock/service.js +1 -1
- package/services/conversation/mock/service.test.cjs +1 -1
- package/services/conversation/mock/service.test.d.cts +1 -1
- package/services/conversation/mock/service.test.d.ts +1 -1
- package/services/conversation/mock/service.test.js +1 -1
- package/services/conversation/mock/state.cjs +1 -1
- package/services/conversation/mock/state.d.cts +1 -1
- package/services/conversation/mock/state.d.ts +1 -1
- package/services/conversation/mock/state.js +1 -1
- package/services/conversation/mock/storybook.cjs +1 -1
- package/services/conversation/mock/storybook.d.cts +1 -1
- package/services/conversation/mock/storybook.d.ts +1 -1
- package/services/conversation/mock/storybook.js +1 -1
- package/services/conversation/mock/types.cjs +1 -1
- package/services/conversation/mock/types.d.cts +1 -1
- package/services/conversation/mock/types.d.ts +1 -1
- package/services/conversation/mock/types.js +1 -1
- package/services/deep-link.service.cjs +1 -1
- package/services/deep-link.service.d.cts +1 -1
- package/services/deep-link.service.d.ts +1 -1
- package/services/deep-link.service.js +1 -1
- package/services/faqs/faqs.service.cjs +1 -1
- package/services/faqs/faqs.service.d.cts +1 -1
- package/services/faqs/faqs.service.d.ts +1 -1
- package/services/faqs/faqs.service.js +1 -1
- package/services/faqs/faqs.types.cjs +1 -1
- package/services/faqs/faqs.types.d.cts +1 -1
- package/services/faqs/faqs.types.d.ts +1 -1
- package/services/faqs/faqs.types.js +1 -1
- package/services/faqs/index.cjs +1 -1
- package/services/faqs/index.d.cts +1 -1
- package/services/faqs/index.d.ts +1 -1
- package/services/faqs/index.js +1 -1
- package/services/file/file.service.cjs +1 -1
- package/services/file/file.service.d.cts +1 -1
- package/services/file/file.service.d.ts +1 -1
- package/services/file/file.service.js +1 -1
- package/services/file/file.types.cjs +1 -1
- package/services/file/file.types.d.cts +1 -1
- package/services/file/file.types.d.ts +1 -1
- package/services/file/file.types.js +1 -1
- package/services/file/index.cjs +1 -1
- package/services/file/index.d.cts +1 -1
- package/services/file/index.d.ts +1 -1
- package/services/file/index.js +1 -1
- package/services/firebase/firebase-api.cjs +1 -1
- package/services/firebase/firebase-api.d.cts +1 -1
- package/services/firebase/firebase-api.d.ts +1 -1
- package/services/firebase/firebase-api.js +1 -1
- package/services/multimedia/config.example.cjs +1 -1
- package/services/multimedia/config.example.d.cts +1 -1
- package/services/multimedia/config.example.d.ts +1 -1
- package/services/multimedia/config.example.js +1 -1
- package/services/multimedia/index.cjs +1 -1
- package/services/multimedia/index.d.cts +1 -1
- package/services/multimedia/index.d.ts +1 -1
- package/services/multimedia/index.js +1 -1
- package/services/multimedia/multimedia.service.cjs +1 -1
- package/services/multimedia/multimedia.service.d.cts +1 -1
- package/services/multimedia/multimedia.service.d.ts +1 -1
- package/services/multimedia/multimedia.service.js +1 -1
- package/services/multimedia/multimedia.types.cjs +1 -1
- package/services/multimedia/multimedia.types.d.cts +1 -1
- package/services/multimedia/multimedia.types.d.ts +1 -1
- package/services/multimedia/multimedia.types.js +1 -1
- package/services/product/index.cjs +1 -1
- package/services/product/index.d.cts +1 -1
- package/services/product/index.d.ts +1 -1
- package/services/product/index.js +1 -1
- package/services/product/product.service.cjs +1 -1
- package/services/product/product.service.d.cts +1 -1
- package/services/product/product.service.d.ts +1 -1
- package/services/product/product.service.js +1 -1
- package/services/product/product.types.cjs +1 -1
- package/services/product/product.types.d.cts +1 -1
- package/services/product/product.types.d.ts +1 -1
- package/services/product/product.types.js +1 -1
- package/services/request.provider.cjs +1 -1
- package/services/request.provider.d.cts +1 -1
- package/services/request.provider.d.ts +1 -1
- package/services/request.provider.js +1 -1
- package/services/session.service.cjs +1 -1
- package/services/session.service.d.cts +1 -1
- package/services/session.service.d.ts +1 -1
- package/services/session.service.js +1 -1
- package/services/sessions-api.service.cjs +1 -1
- package/services/sessions-api.service.d.cts +1 -1
- package/services/sessions-api.service.d.ts +1 -1
- package/services/sessions-api.service.js +1 -1
- package/services/sessions.controller.cjs +1 -1
- package/services/sessions.controller.d.cts +1 -1
- package/services/sessions.controller.d.ts +1 -1
- package/services/sessions.controller.js +1 -1
- package/services/sessions.types.cjs +1 -1
- package/services/sessions.types.d.cts +1 -1
- package/services/sessions.types.d.ts +1 -1
- package/services/sessions.types.js +1 -1
- package/services/upload/index.cjs +1 -1
- package/services/upload/index.d.cts +1 -1
- package/services/upload/index.d.ts +1 -1
- package/services/upload/index.js +1 -1
- package/services/upload/upload.service.cjs +1 -1
- package/services/upload/upload.service.d.cts +1 -1
- package/services/upload/upload.service.d.ts +1 -1
- package/services/upload/upload.service.js +1 -1
- package/{skoda.theme-ChGMp526.d.cts → skoda.theme-BCNfnrlu.d.cts} +1 -1
- package/{skoda.theme-ChGMp526.d.ts → skoda.theme-BCNfnrlu.d.ts} +1 -1
- package/themes/custom/audi-dark.theme.cjs +1 -1
- package/themes/custom/audi-dark.theme.d.cts +2 -2
- package/themes/custom/audi-dark.theme.d.ts +2 -2
- package/themes/custom/audi-dark.theme.js +1 -1
- package/themes/custom/audi.theme.cjs +1 -1
- package/themes/custom/audi.theme.d.cts +2 -2
- package/themes/custom/audi.theme.d.ts +2 -2
- package/themes/custom/audi.theme.js +1 -1
- package/themes/custom/australia.theme.cjs +1 -1
- package/themes/custom/australia.theme.d.cts +2 -2
- package/themes/custom/australia.theme.d.ts +2 -2
- package/themes/custom/australia.theme.js +1 -1
- package/themes/custom/cuernavaca.theme.cjs +1 -1
- package/themes/custom/cuernavaca.theme.d.cts +2 -2
- package/themes/custom/cuernavaca.theme.d.ts +2 -2
- package/themes/custom/cuernavaca.theme.js +1 -1
- package/themes/custom/cupra-diagonal.theme.cjs +1 -1
- package/themes/custom/cupra-diagonal.theme.d.cts +2 -2
- package/themes/custom/cupra-diagonal.theme.d.ts +2 -2
- package/themes/custom/cupra-diagonal.theme.js +1 -1
- package/themes/custom/cupra-events.theme.cjs +1 -1
- package/themes/custom/cupra-events.theme.d.cts +2 -2
- package/themes/custom/cupra-events.theme.d.ts +2 -2
- package/themes/custom/cupra-events.theme.js +1 -1
- package/themes/custom/cupra.theme.cjs +1 -1
- package/themes/custom/cupra.theme.d.cts +2 -2
- package/themes/custom/cupra.theme.d.ts +2 -2
- package/themes/custom/cupra.theme.js +1 -1
- package/themes/custom/germany.theme.cjs +1 -1
- package/themes/custom/germany.theme.d.cts +2 -2
- package/themes/custom/germany.theme.d.ts +2 -2
- package/themes/custom/germany.theme.js +1 -1
- package/themes/custom/glass.theme.cjs +1 -1
- package/themes/custom/glass.theme.d.cts +1 -1
- package/themes/custom/glass.theme.d.ts +1 -1
- package/themes/custom/glass.theme.js +1 -1
- package/themes/custom/hyundai.theme.cjs +1 -1
- package/themes/custom/hyundai.theme.d.cts +2 -2
- package/themes/custom/hyundai.theme.d.ts +2 -2
- package/themes/custom/hyundai.theme.js +1 -1
- package/themes/custom/italy.theme.cjs +1 -1
- package/themes/custom/italy.theme.d.cts +2 -2
- package/themes/custom/italy.theme.d.ts +2 -2
- package/themes/custom/italy.theme.js +1 -1
- package/themes/custom/jac-dark.theme.cjs +1 -1
- package/themes/custom/jac-dark.theme.d.cts +2 -2
- package/themes/custom/jac-dark.theme.d.ts +2 -2
- package/themes/custom/jac-dark.theme.js +1 -1
- package/themes/custom/jac.theme.cjs +1 -1
- package/themes/custom/jac.theme.d.cts +2 -2
- package/themes/custom/jac.theme.d.ts +2 -2
- package/themes/custom/jac.theme.js +1 -1
- package/themes/custom/magimix.theme.cjs +1 -1
- package/themes/custom/magimix.theme.d.cts +2 -2
- package/themes/custom/magimix.theme.d.ts +2 -2
- package/themes/custom/magimix.theme.js +1 -1
- package/themes/custom/onlive-ai.theme.cjs +1 -1
- package/themes/custom/onlive-ai.theme.d.cts +2 -2
- package/themes/custom/onlive-ai.theme.d.ts +2 -2
- package/themes/custom/onlive-ai.theme.js +1 -1
- package/themes/custom/onlive.theme.cjs +1 -1
- package/themes/custom/onlive.theme.d.cts +2 -2
- package/themes/custom/onlive.theme.d.ts +2 -2
- package/themes/custom/onlive.theme.js +1 -1
- package/themes/custom/peugeot.theme.cjs +372 -0
- package/themes/custom/peugeot.theme.css +369 -0
- package/themes/custom/peugeot.theme.d.cts +3 -0
- package/themes/custom/peugeot.theme.d.ts +3 -0
- package/themes/custom/peugeot.theme.js +372 -0
- package/themes/custom/seat-cupra.theme.cjs +1 -1
- package/themes/custom/seat-cupra.theme.d.cts +2 -2
- package/themes/custom/seat-cupra.theme.d.ts +2 -2
- package/themes/custom/seat-cupra.theme.js +1 -1
- package/themes/custom/seat.theme.cjs +36 -31
- package/themes/custom/seat.theme.css +36 -31
- package/themes/custom/seat.theme.d.cts +2 -2
- package/themes/custom/seat.theme.d.ts +2 -2
- package/themes/custom/seat.theme.js +36 -31
- package/themes/custom/skoda.theme.cjs +1 -1
- package/themes/custom/skoda.theme.d.cts +2 -2
- package/themes/custom/skoda.theme.d.ts +2 -2
- package/themes/custom/skoda.theme.js +1 -1
- package/themes/custom/transparency.theme.cjs +1 -1
- package/themes/custom/transparency.theme.d.cts +2 -2
- package/themes/custom/transparency.theme.d.ts +2 -2
- package/themes/custom/transparency.theme.js +1 -1
- package/themes/dark.cjs +1 -1
- package/themes/dark.d.cts +2 -2
- package/themes/dark.d.ts +2 -2
- package/themes/dark.js +1 -1
- package/themes/light.cjs +1 -1
- package/themes/light.d.cts +2 -2
- package/themes/light.d.ts +2 -2
- package/themes/light.js +1 -1
- package/{transparency.theme-GZeoSWwI.d.cts → transparency.theme-CGmZFrjm.d.cts} +1 -1
- package/{transparency.theme-GZeoSWwI.d.ts → transparency.theme-CGmZFrjm.d.ts} +1 -1
- package/types/deep-link.types.cjs +1 -1
- package/types/deep-link.types.d.cts +1 -1
- package/types/deep-link.types.d.ts +1 -1
- package/types/deep-link.types.js +1 -1
- package/types/globals.cjs +1 -1
- package/types/globals.d.cts +1 -1
- package/types/globals.d.ts +1 -1
- package/types/globals.js +1 -1
- package/types/tracking-options.cjs +1 -1
- package/types/tracking-options.d.cts +1 -1
- package/types/tracking-options.d.ts +1 -1
- package/types/tracking-options.js +1 -1
- package/utils/adopt-styles.cjs +1 -1
- package/utils/adopt-styles.d.cts +1 -1
- package/utils/adopt-styles.d.ts +1 -1
- package/utils/adopt-styles.js +1 -1
- package/utils/apply-optional-styles.cjs +428 -53
- package/utils/apply-optional-styles.d.cts +25 -23
- package/utils/apply-optional-styles.d.ts +25 -23
- package/utils/apply-optional-styles.js +428 -53
- package/utils/browser-preferences.cjs +1 -1
- package/utils/browser-preferences.d.cts +1 -1
- package/utils/browser-preferences.d.ts +1 -1
- package/utils/browser-preferences.js +1 -1
- package/utils/classify-media.cjs +1 -1
- package/utils/classify-media.d.cts +1 -1
- package/utils/classify-media.d.ts +1 -1
- package/utils/classify-media.js +1 -1
- package/utils/decorators.cjs +1 -1
- package/utils/decorators.d.cts +1 -1
- package/utils/decorators.d.ts +1 -1
- package/utils/decorators.js +1 -1
- package/utils/detected-lang.cjs +1 -1
- package/utils/detected-lang.d.cts +1 -1
- package/utils/detected-lang.d.ts +1 -1
- package/utils/detected-lang.js +1 -1
- package/utils/fullscreen.cjs +1 -1
- package/utils/fullscreen.d.cts +1 -1
- package/utils/fullscreen.d.ts +1 -1
- package/utils/fullscreen.js +1 -1
- package/utils/insert-script.cjs +1 -1
- package/utils/insert-script.d.cts +1 -1
- package/utils/insert-script.d.ts +1 -1
- package/utils/insert-script.js +1 -1
- package/utils/is-map-compatible.cjs +1 -1
- package/utils/is-map-compatible.d.cts +1 -1
- package/utils/is-map-compatible.d.ts +1 -1
- package/utils/is-map-compatible.js +1 -1
- package/utils/markdown.cjs +1 -1
- package/utils/markdown.d.cts +1 -1
- package/utils/markdown.d.ts +1 -1
- package/utils/markdown.js +1 -1
- package/utils/merge.cjs +1 -1
- package/utils/merge.d.cts +1 -1
- package/utils/merge.d.ts +1 -1
- package/utils/merge.js +1 -1
- package/utils/multiband-track-volume.cjs +1 -1
- package/utils/multiband-track-volume.d.cts +1 -1
- package/utils/multiband-track-volume.d.ts +1 -1
- package/utils/multiband-track-volume.js +1 -1
- package/utils/onlive-url-params.cjs +1 -1
- package/utils/onlive-url-params.d.cts +1 -1
- package/utils/onlive-url-params.d.ts +1 -1
- package/utils/onlive-url-params.js +1 -1
- package/utils/pretty-distance.cjs +1 -1
- package/utils/pretty-distance.d.cts +1 -1
- package/utils/pretty-distance.d.ts +1 -1
- package/utils/pretty-distance.js +1 -1
- package/utils/pretty-time.cjs +1 -1
- package/utils/pretty-time.d.cts +1 -1
- package/utils/pretty-time.d.ts +1 -1
- package/utils/pretty-time.js +1 -1
- package/utils/random-string.cjs +1 -1
- package/utils/random-string.d.cts +1 -1
- package/utils/random-string.d.ts +1 -1
- package/utils/random-string.js +1 -1
- package/utils/resource-type.cjs +1 -1
- package/utils/resource-type.d.cts +1 -1
- package/utils/resource-type.d.ts +1 -1
- package/utils/resource-type.js +1 -1
- package/utils/round-number.cjs +1 -1
- package/utils/round-number.d.cts +1 -1
- package/utils/round-number.d.ts +1 -1
- package/utils/round-number.js +1 -1
- package/utils/safe-html.cjs +1 -1
- package/utils/safe-html.d.cts +1 -1
- package/utils/safe-html.d.ts +1 -1
- package/utils/safe-html.js +1 -1
- package/utils/sanitize.cjs +1 -1
- package/utils/sanitize.d.cts +1 -1
- package/utils/sanitize.d.ts +1 -1
- package/utils/sanitize.js +1 -1
- package/utils/spread.cjs +1 -1
- package/utils/spread.d.cts +1 -1
- package/utils/spread.d.ts +1 -1
- package/utils/spread.js +1 -1
- package/utils/watch.cjs +1 -1
- package/utils/watch.d.cts +1 -1
- package/utils/watch.d.ts +1 -1
- package/utils/watch.js +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! @onlive.ai/common-121 v0.2.
|
|
2
|
-
"use strict";var
|
|
3
|
-
${(0,
|
|
1
|
+
/*! @onlive.ai/common-121 v0.2.230 | © 2026 Onlive.ai */
|
|
2
|
+
"use strict";var Y=Object.create;var j=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var J=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty;var E=(n,e)=>{for(var o in e)j(n,o,{get:e[o],enumerable:!0})},A=(n,e,o,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of B(e))!C.call(n,i)&&i!==o&&j(n,i,{get:()=>e[i],enumerable:!(s=y(e,i))||s.enumerable});return n};var h=(n,e,o)=>(o=n!=null?Y(J(n)):{},A(e||!n||!n.__esModule?j(o,"default",{value:n,enumerable:!0}):o,n)),P=n=>A(j({},"__esModule",{value:!0}),n),p=(n,e,o,s)=>{for(var i=s>1?void 0:s?y(e,o):e,l=n.length-1,v;l>=0;l--)(v=n[l])&&(i=(s?v(e,o,i):v(i))||i);return s&&i&&j(e,o,i),i};var R={};E(R,{AssetRenderer:()=>b});module.exports=P(R);var t=require("lit"),_=require("lit/directives/class-map.js"),c=require("lit/directives/if-defined.js"),a=require("lit/directives/when.js");var k=require("lit/directives/unsafe-html.js");var g=h(require("dompurify"),1),L={ALLOWED_TAGS:["p","br","span","b","strong","i","em","u","s","del","ul","ol","li","code","pre","a","h1","h2","h3","h4","table","thead","tbody","tr","th","td"],ALLOWED_ATTR:["href","target","rel","title","aria-label","role","colspan","rowspan"],FORCE_HTTPS:!0,ALLOW_DATA_ATTR:!1};g.default.addHook("afterSanitizeAttributes",n=>{"target"in n&&n.target==="_blank"&&n.setAttribute("rel","noopener noreferrer")});var w=(n,e=L)=>g.default.sanitize(n,e);function x(n=""){return(0,k.unsafeHTML)(D(n))}function D(n=""){return w(n,{ADD_ATTR:["target","rel","content","variant","size"],ADD_TAGS:["ol-"],CUSTOM_ELEMENT_HANDLING:{tagNameCheck:/^ol-/,attributeNameCheck:null,allowCustomizedBuiltInElements:!0}})}var H=(n,e)=>(customElements.get(n)?console.debug(`Custom element <${n}> is already defined, skipping definition of ${e.name}.`):window.customElements.define(n,e),e),F=(n,e)=>{let{kind:o,elements:s}=e;return{kind:o,elements:s,finisher(i){customElements.get(n)||window.customElements.define(n,i)}}},z=n=>e=>typeof e=="function"?H(n,e):F(n,e);var O=require("@onlive.ai/ui/dist/components/button/button.js"),X=require("@onlive.ai/ui/dist/components/icon/icon.js"),m=require("lit"),f=require("lit/decorators.js"),V=h(require("video.js"),1);var u=require("lit"),S=h(require("video.js/dist/video-js.min.css?inline"),1),M=u.css`
|
|
3
|
+
${(0,u.unsafeCSS)(S.default)}
|
|
4
4
|
.och__player {
|
|
5
5
|
width: 100%;
|
|
6
6
|
height: auto;
|
|
@@ -13,18 +13,17 @@
|
|
|
13
13
|
background: transparent;
|
|
14
14
|
transition: all 0.2s ease;
|
|
15
15
|
}
|
|
16
|
-
`;var d=class extends
|
|
16
|
+
`;var d=class extends m.LitElement{constructor(){super(...arguments);this.sources=[];this.player=null}connectedCallback(){super.connectedCallback();let o="videojs-font-face";if(!document.head.querySelector(`#${o}`)){let s=document.createElement("style");s.id=o,s.innerHTML=`
|
|
17
17
|
@font-face {
|
|
18
18
|
font-family: VideoJS;
|
|
19
19
|
src:
|
|
20
20
|
url(https://cdn.onlive.site/fonts/video-js/font/VideoJS.woff) format("woff"),
|
|
21
21
|
url(https://cdn.onlive.site/fonts/video-js/font/VideoJS.ttf) format("truetype");
|
|
22
|
-
}`,document.head.appendChild(
|
|
22
|
+
}`,document.head.appendChild(s)}}disconnectedCallback(){this.player?.dispose(),this.player=null,super.disconnectedCallback()}inferMimeType(o,s){let i=o.split("?")[0]?.toLowerCase()||"";if(i.endsWith(".m3u8")||i.endsWith(".m3u"))return"application/x-mpegURL";if(i.endsWith(".mpd"))return"application/dash+xml";if(s){let l=s.toLowerCase();return l==="application/x-mpegurl"||l==="application/vnd.apple.mpegurl"||l==="audio/mpegurl"||l==="audio/x-mpegurl"?"application/x-mpegURL":s}return i.endsWith(".webm")?"video/webm":i.endsWith(".ogv")?"video/ogg":i.endsWith(".mov")?"video/quicktime":i.endsWith(".mp3")?"audio/mpeg":i.endsWith(".m4a")?"audio/mp4":i.endsWith(".aac")?"audio/aac":i.endsWith(".wav")?"audio/wav":i.endsWith(".ogg")||i.endsWith(".oga")?"audio/ogg":(i.endsWith(".mp4")||i.endsWith(".m4v"),"video/mp4")}get normalizedSources(){return this.sources.map(o=>{let s=o.src;return{src:s,type:this.inferMimeType(s,o.type)}})}emitPlayerErrorDiagnostics(){if(!this.player)return;let o=this.player.error(),s={code:o?.code??null,message:o?.message??"unknown-error",currentSrc:this.player.currentSrc()||null,browser:navigator.userAgent,sources:this.normalizedSources};this.dispatchEvent(new CustomEvent("och-player-error",{detail:s,bubbles:!0,composed:!0}))}firstUpdated(){this.$player&&(this.player=(0,V.default)(this.$player,{controls:!0,sources:this.normalizedSources,html5:{vhs:{overrideNative:!0}},controlBar:{children:["playToggle","progressControl","volumePanel","fullscreenToggle"]}}),this.player.on("error",()=>this.emitPlayerErrorDiagnostics()))}updated(o){if(!this.player||!o.has("sources"))return;let s=this.normalizedSources;if(s.length>0){this.player.src(s);return}this.player.reset()}play(){this.player?.play()}pause(){this.player?.pause()}render(){return m.html`
|
|
23
23
|
<video
|
|
24
24
|
id="player"
|
|
25
25
|
class="och__player video-js video-js vjs-16-9 vjs-controls-enabled vjs-workinghover vjs-v8 vjs-theme-sea vjs_video_2321-dimensions vjs-has-started vjs-paused vjs-user-inactive"
|
|
26
26
|
>
|
|
27
|
-
${(0,V.repeat)(this.sources,o=>o.src,o=>p.html`<source src=${o.src} type=${o.type}></source>`)}
|
|
28
27
|
<p class="vjs-no-js">
|
|
29
28
|
To view this video please enable JavaScript, and consider upgrading to a web browser that
|
|
30
29
|
<a href="https://videojs.com/html5-video-support/" target="_blank"> supports HTML5 video </a>
|
|
@@ -2041,45 +2040,45 @@ video::-webkit-media-text-track-display {
|
|
|
2041
2040
|
transition: all 0.2s ease;
|
|
2042
2041
|
}
|
|
2043
2042
|
</style>
|
|
2044
|
-
`}};d.styles=[M],
|
|
2043
|
+
`}};d.styles=[M],p([(0,f.property)({type:Array})],d.prototype,"sources",2),p([(0,f.query)("#player")],d.prototype,"$player",2),d=p([z("och-player")],d);var b=class{formatFileSize(e){let o=["B","KB","MB","GB"];if(e===0)return"0 B";let s=Math.floor(Math.log(e)/Math.log(1024));return Math.round(e/1024**s*100)/100+" "+o[s]}formatDuration(e){let o=Math.floor(e/60),s=Math.floor(e%60);return`${o}:${s.toString().padStart(2,"0")}`}getMultimediaSubtype(e){let o=e.format||"";return o.startsWith("video/")?"video":o.startsWith("image/")?"image":o.includes("presentation")||o.includes("pdf")||o.includes("powerpoint")||o.includes("slides")||o.includes("application/vnd.ms-powerpoint")||o.includes("application/vnd.openxmlformats-officedocument.presentationml")||e.slides&&e.slides.length>0?"presentation":e.duration||e.vodUrl?"video":"image"}renderThumbnail(e,o,s,i,l,v){return!o.showThumbnail||e.type==="faq"?t.html``:t.html`
|
|
2045
2044
|
<div class="ol-asset__thumbnail">
|
|
2046
2045
|
${this.renderThumbnailContent(e)}
|
|
2047
2046
|
${this.renderMetadata(e,o)}
|
|
2048
2047
|
${this.renderThumbnailOverlay(e)}
|
|
2049
|
-
${this.renderHoverOverlay(e,
|
|
2048
|
+
${this.renderHoverOverlay(e,s,l,i,v)}
|
|
2050
2049
|
</div>
|
|
2051
|
-
`}renderThumbnailContent(e){switch(e.type){case"multimedia":{let o=e;switch(this.getMultimediaSubtype(o)){case"video":return this.renderVideoThumbnail(o);case"presentation":return this.renderPresentationThumbnail(o);default:return
|
|
2050
|
+
`}renderThumbnailContent(e){switch(e.type){case"multimedia":{let o=e;switch(this.getMultimediaSubtype(o)){case"video":return this.renderVideoThumbnail(o);case"presentation":return this.renderPresentationThumbnail(o);default:return t.html`
|
|
2052
2051
|
<img
|
|
2053
|
-
src="${(0,
|
|
2052
|
+
src="${(0,c.ifDefined)(o.thumbnail||o.url)}"
|
|
2054
2053
|
alt="${o.name}"
|
|
2055
2054
|
class="ol-asset__image"
|
|
2056
2055
|
/>
|
|
2057
|
-
`}}case"file":{let o=e;switch(this.getMultimediaSubtype(o)){case"video":return this.renderVideoThumbnail(o);case"presentation":return this.renderPresentationThumbnail(o);default:return
|
|
2056
|
+
`}}case"file":{let o=e;switch(this.getMultimediaSubtype(o)){case"video":return this.renderVideoThumbnail(o);case"presentation":return this.renderPresentationThumbnail(o);default:return t.html`
|
|
2058
2057
|
<img
|
|
2059
|
-
src="${(0,
|
|
2058
|
+
src="${(0,c.ifDefined)(o.thumbnail||o.url)}"
|
|
2060
2059
|
alt="${o.name}"
|
|
2061
2060
|
class="ol-asset__image"
|
|
2062
2061
|
/>
|
|
2063
|
-
`}}default:return
|
|
2062
|
+
`}}default:return t.html`
|
|
2064
2063
|
<img
|
|
2065
|
-
src="${(0,
|
|
2064
|
+
src="${(0,c.ifDefined)(e.thumbnail||e.url)}"
|
|
2066
2065
|
alt="${e.name}"
|
|
2067
2066
|
class="ol-asset__image"
|
|
2068
2067
|
/>
|
|
2069
|
-
`}}renderVideoThumbnail(e){return
|
|
2068
|
+
`}}renderVideoThumbnail(e){return t.html`
|
|
2070
2069
|
<och-player
|
|
2071
2070
|
class="ol-asset__video-player"
|
|
2072
2071
|
.sources=${[{src:e.url||"",type:e.format||"video/mp4"}]}
|
|
2073
2072
|
></och-player>
|
|
2074
|
-
`}renderPresentationThumbnail(e){return
|
|
2073
|
+
`}renderPresentationThumbnail(e){return t.html`
|
|
2075
2074
|
<div class="ol-asset__presentation-preview">
|
|
2076
|
-
${(0,
|
|
2075
|
+
${(0,a.when)(e.slides&&e.slides.length>0,()=>t.html`
|
|
2077
2076
|
<img
|
|
2078
2077
|
src="${e.slides[0]}"
|
|
2079
2078
|
alt="Presentation preview"
|
|
2080
2079
|
class="ol-asset__presentation-image"
|
|
2081
2080
|
/>
|
|
2082
|
-
`,()=>
|
|
2081
|
+
`,()=>t.html`
|
|
2083
2082
|
<div class="ol-asset__presentation-fallback">
|
|
2084
2083
|
<div class="ol-asset__presentation-icon">
|
|
2085
2084
|
<svg width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
|
@@ -2094,64 +2093,64 @@ video::-webkit-media-text-track-display {
|
|
|
2094
2093
|
</div>
|
|
2095
2094
|
`)}
|
|
2096
2095
|
</div>
|
|
2097
|
-
`}renderThumbnailOverlay(e){let o=[];if(e.type==="multimedia"||e.type==="file"){let
|
|
2098
|
-
<div class="ol-asset__duration">${this.formatDuration(
|
|
2099
|
-
`)}return
|
|
2100
|
-
<div class=${(0,
|
|
2096
|
+
`}renderThumbnailOverlay(e){let o=[];if(e.type==="multimedia"||e.type==="file"){let s=e;this.getMultimediaSubtype(s)==="video"&&s.duration&&o.push(t.html`
|
|
2097
|
+
<div class="ol-asset__duration">${this.formatDuration(s.duration)}</div>
|
|
2098
|
+
`)}return t.html`${o}`}renderContent(e,o){let s=!o.showName&&!o.showDescription&&!o.showTags&&(e.type!=="product"||!o.showPrice);return t.html`
|
|
2099
|
+
<div class=${(0,_.classMap)({"ol-asset__content":!0,"ol-asset__content--assets":!!s})}>
|
|
2101
2100
|
${this.renderName(e,o)}
|
|
2102
2101
|
${this.renderDescription(e,o)}
|
|
2103
2102
|
${this.renderPrice(e,o)}
|
|
2104
2103
|
${this.renderTags(e,o)}
|
|
2105
2104
|
</div>
|
|
2106
|
-
`}renderName(e,o){return e.type==="faq"?
|
|
2105
|
+
`}renderName(e,o){return e.type==="faq"?t.html``:e.type==="product"?o.showName?t.html`
|
|
2107
2106
|
<div class="ol-asset__name">${e.name}</div>
|
|
2108
|
-
`:
|
|
2107
|
+
`:t.html``:(e.type==="multimedia"||e.type==="file")&&this.getMultimediaSubtype(e)==="presentation"&&(!e.slides||e.slides.length===0)?t.html`
|
|
2109
2108
|
<div class="ol-asset__name">${e.name}</div>
|
|
2110
|
-
`:o.showName?
|
|
2109
|
+
`:o.showName?t.html`
|
|
2111
2110
|
<div class="ol-asset__name">${e.name}</div>
|
|
2112
|
-
`:
|
|
2113
|
-
<div class="ol-asset__description ol-asset__answer">${
|
|
2114
|
-
`:
|
|
2111
|
+
`:t.html``}renderDescription(e,o){if(e.type==="faq"){let i=e;return i.answer?t.html`
|
|
2112
|
+
<div class="ol-asset__description ol-asset__answer">${i.answer}</div>
|
|
2113
|
+
`:t.html``}return e.description?e.type==="product"?o.showDescription?t.html`
|
|
2115
2114
|
<div class="ol-asset__description">${x(e.description)}</div>
|
|
2116
|
-
`:
|
|
2115
|
+
`:t.html``:o.showDescription?t.html`
|
|
2117
2116
|
<div class="ol-asset__description">${e.description}</div>
|
|
2118
|
-
`:
|
|
2117
|
+
`:t.html``:t.html``}renderPrice(e,o){if(e.type!=="product"||!o.showPrice)return t.html``;let s=e;return s.price?t.html`
|
|
2119
2118
|
<div class="ol-asset__price">
|
|
2120
|
-
${
|
|
2119
|
+
${s.currency} ${s.price}
|
|
2121
2120
|
</div>
|
|
2122
|
-
`:
|
|
2121
|
+
`:t.html``}renderMetadata(e,o){if(!o.showMetadata)return t.html``;let s=[];if(o.showSize&&e.type!=="faq"&&"size"in e&&e.size&&typeof e.size=="number"&&s.push(t.html`
|
|
2123
2122
|
<div class="ol-asset__meta-item">
|
|
2124
2123
|
<span>${this.formatFileSize(e.size)}</span>
|
|
2125
2124
|
</div>
|
|
2126
|
-
`),o.showDuration&&(e.type==="multimedia"||e.type==="file")){let
|
|
2125
|
+
`),o.showDuration&&(e.type==="multimedia"||e.type==="file")){let i=e;this.getMultimediaSubtype(i)==="video"&&i.duration&&s.push(t.html`
|
|
2127
2126
|
<div class="ol-asset__meta-item">
|
|
2128
2127
|
<span>⏱️</span>
|
|
2129
|
-
<span>${this.formatDuration(
|
|
2128
|
+
<span>${this.formatDuration(i.duration)}</span>
|
|
2130
2129
|
</div>
|
|
2131
|
-
`)}return
|
|
2130
|
+
`)}return s.length===0?t.html``:t.html`
|
|
2132
2131
|
<div class="ol-asset__metadata">
|
|
2133
|
-
${
|
|
2132
|
+
${s}
|
|
2134
2133
|
</div>
|
|
2135
|
-
`}renderTags(e,o){if(!o.showTags)return
|
|
2134
|
+
`}renderTags(e,o){if(!o.showTags)return t.html``;let s=[];switch(e.type){case"product":s=e.tags||[];break;case"multimedia":case"file":s=e.labels||[];break}return s.length===0?t.html``:t.html`
|
|
2136
2135
|
<div class="ol-asset__tags">
|
|
2137
|
-
${
|
|
2138
|
-
<span class="ol-asset__tag">${
|
|
2136
|
+
${s.slice(0,3).map(i=>t.html`
|
|
2137
|
+
<span class="ol-asset__tag">${i}</span>
|
|
2139
2138
|
`)}
|
|
2140
2139
|
</div>
|
|
2141
|
-
`}renderLoading(){return
|
|
2140
|
+
`}renderLoading(){return t.html`
|
|
2142
2141
|
<div class="ol-asset__loading">
|
|
2143
2142
|
<div class="ol-asset__spinner"></div>
|
|
2144
2143
|
<span>Loading...</span>
|
|
2145
2144
|
</div>
|
|
2146
|
-
`}renderError(e){return
|
|
2145
|
+
`}renderError(e){return t.html`
|
|
2147
2146
|
<div class="ol-asset__error">
|
|
2148
2147
|
<span class="ol-asset__error-icon">⚠️</span>
|
|
2149
2148
|
<span>${e}</span>
|
|
2150
2149
|
</div>
|
|
2151
|
-
`}renderModal(e,o,
|
|
2152
|
-
<div class="ol-asset__modal-overlay" @click=${
|
|
2153
|
-
<div class="ol-asset__modal" @click=${
|
|
2154
|
-
<ol-button class="ol-asset__modal-close" @click=${
|
|
2150
|
+
`}renderModal(e,o,s){return o?t.html`
|
|
2151
|
+
<div class="ol-asset__modal-overlay" @click=${s}>
|
|
2152
|
+
<div class="ol-asset__modal" @click=${i=>i.stopPropagation()}>
|
|
2153
|
+
<ol-button class="ol-asset__modal-close" @click=${s}>
|
|
2155
2154
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
2156
2155
|
<line x1="18" y1="6" x2="6" y2="18"></line>
|
|
2157
2156
|
<line x1="6" y1="6" x2="18" y2="18"></line>
|
|
@@ -2162,53 +2161,53 @@ video::-webkit-media-text-track-display {
|
|
|
2162
2161
|
</div>
|
|
2163
2162
|
</div>
|
|
2164
2163
|
</div>
|
|
2165
|
-
`:
|
|
2164
|
+
`:t.html``}renderModalContent(e){switch(e.type){case"multimedia":{let o=e,s=this.getMultimediaSubtype(o);return s==="image"?t.html`
|
|
2166
2165
|
<img
|
|
2167
|
-
src="${(0,
|
|
2166
|
+
src="${(0,c.ifDefined)(o.url)}"
|
|
2168
2167
|
alt="${o.name}"
|
|
2169
2168
|
class="ol-asset__modal-image"
|
|
2170
2169
|
/>
|
|
2171
2170
|
<div class="ol-asset__modal-info">
|
|
2172
2171
|
<h3 class="ol-asset__modal-title">${o.name}</h3>
|
|
2173
|
-
${o.description?
|
|
2172
|
+
${o.description?t.html`<p class="ol-asset__modal-description">${o.description}</p>`:t.html``}
|
|
2174
2173
|
</div>
|
|
2175
|
-
`:
|
|
2174
|
+
`:t.html`
|
|
2176
2175
|
<div class="ol-asset__modal-info">
|
|
2177
2176
|
<h3 class="ol-asset__modal-title">${o.name}</h3>
|
|
2178
|
-
${o.description?
|
|
2179
|
-
<p class="ol-asset__modal-type">Type: ${
|
|
2177
|
+
${o.description?t.html`<p class="ol-asset__modal-description">${o.description}</p>`:t.html``}
|
|
2178
|
+
<p class="ol-asset__modal-type">Type: ${s}</p>
|
|
2180
2179
|
</div>
|
|
2181
|
-
`}case"file":{let o=e,
|
|
2180
|
+
`}case"file":{let o=e,s=this.getMultimediaSubtype(o);return s==="image"?t.html`
|
|
2182
2181
|
<img
|
|
2183
|
-
src="${(0,
|
|
2182
|
+
src="${(0,c.ifDefined)(o.url)}"
|
|
2184
2183
|
alt="${o.name}"
|
|
2185
2184
|
class="ol-asset__modal-image"
|
|
2186
2185
|
/>
|
|
2187
2186
|
<div class="ol-asset__modal-info">
|
|
2188
2187
|
<h3 class="ol-asset__modal-title">${o.name}</h3>
|
|
2189
|
-
${o.description?
|
|
2188
|
+
${o.description?t.html`<p class="ol-asset__modal-description">${o.description}</p>`:t.html``}
|
|
2190
2189
|
</div>
|
|
2191
|
-
`:
|
|
2190
|
+
`:t.html`
|
|
2192
2191
|
<div class="ol-asset__modal-info">
|
|
2193
2192
|
<h3 class="ol-asset__modal-title">${o.name}</h3>
|
|
2194
|
-
${o.description?
|
|
2195
|
-
<p class="ol-asset__modal-type">Type: ${
|
|
2193
|
+
${o.description?t.html`<p class="ol-asset__modal-description">${o.description}</p>`:t.html``}
|
|
2194
|
+
<p class="ol-asset__modal-type">Type: ${s}</p>
|
|
2196
2195
|
</div>
|
|
2197
|
-
`}case"faq":return
|
|
2196
|
+
`}case"faq":return t.html`
|
|
2198
2197
|
<div class="ol-asset__modal-faq">
|
|
2199
2198
|
<div class="ol-asset__modal-answer">${e.answer||e.description}</div>
|
|
2200
2199
|
</div>
|
|
2201
|
-
`;default:return
|
|
2200
|
+
`;default:return t.html`
|
|
2202
2201
|
<div class="ol-asset__modal-info">
|
|
2203
2202
|
<h3 class="ol-asset__modal-title">${e.name}</h3>
|
|
2204
|
-
${e.description?
|
|
2203
|
+
${e.description?t.html`<p class="ol-asset__modal-description">${e.description}</p>`:t.html``}
|
|
2205
2204
|
</div>
|
|
2206
|
-
`}}renderHoverOverlay(e,o,
|
|
2205
|
+
`}}renderHoverOverlay(e,o,s,i,l){let v=e.type==="multimedia"&&this.getMultimediaSubtype(e)==="video",T=(e.type==="multimedia"||e.type==="file")&&this.getMultimediaSubtype(e)==="presentation"&&(!e.slides||e.slides.length===0);return v?t.html`
|
|
2207
2206
|
<div class="ol-asset__video-controls">
|
|
2208
|
-
${(0,
|
|
2207
|
+
${(0,a.when)(s,()=>t.html`
|
|
2209
2208
|
<ol-button
|
|
2210
2209
|
class="ol-asset__video-btn ol-asset__video-btn--maximize"
|
|
2211
|
-
@click=${r=>{r.stopPropagation(),
|
|
2210
|
+
@click=${r=>{r.stopPropagation(),s(e)}}
|
|
2212
2211
|
title="Maximize ${e.name}"
|
|
2213
2212
|
>
|
|
2214
2213
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
@@ -2216,19 +2215,19 @@ video::-webkit-media-text-track-display {
|
|
|
2216
2215
|
</svg>
|
|
2217
2216
|
</ol-button>
|
|
2218
2217
|
`)}
|
|
2219
|
-
${(0,
|
|
2218
|
+
${(0,a.when)(o,()=>t.html`
|
|
2220
2219
|
<ol-button
|
|
2221
|
-
class="ol-asset__video-btn ol-asset__video-btn--download ${
|
|
2220
|
+
class="ol-asset__video-btn ol-asset__video-btn--download ${i?"ol-asset__video-btn--downloading":""}"
|
|
2222
2221
|
@click=${r=>{r.stopPropagation(),o(e)}}
|
|
2223
2222
|
title="Download ${e.name}"
|
|
2224
|
-
?disabled=${
|
|
2223
|
+
?disabled=${i}
|
|
2225
2224
|
>
|
|
2226
|
-
${(0,
|
|
2225
|
+
${(0,a.when)(i,()=>t.html`
|
|
2227
2226
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="ol-asset__download-spinner">
|
|
2228
2227
|
<circle cx="12" cy="12" r="10"></circle>
|
|
2229
2228
|
<path d="M12 2a10 10 0 0 1 10 10"></path>
|
|
2230
2229
|
</svg>
|
|
2231
|
-
`,()=>
|
|
2230
|
+
`,()=>t.html`
|
|
2232
2231
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
2233
2232
|
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path>
|
|
2234
2233
|
<polyline points="7,10 12,15 17,10"></polyline>
|
|
@@ -2238,10 +2237,10 @@ video::-webkit-media-text-track-display {
|
|
|
2238
2237
|
</ol-button>
|
|
2239
2238
|
`)}
|
|
2240
2239
|
</div>
|
|
2241
|
-
`:
|
|
2240
|
+
`:t.html`
|
|
2242
2241
|
<div class="ol-asset__hover-overlay">
|
|
2243
2242
|
<div class="ol-asset__hover-buttons">
|
|
2244
|
-
${(0,
|
|
2243
|
+
${(0,a.when)(e.type==="product",()=>t.html`
|
|
2245
2244
|
<ol-button
|
|
2246
2245
|
class="ol-asset__hover-btn ol-asset__hover-btn--external"
|
|
2247
2246
|
@click=${r=>{r.stopPropagation(),e.url&&(l?l(e.url):window.open(e.url,"_blank","noopener,noreferrer"))}}
|
|
@@ -2253,11 +2252,11 @@ video::-webkit-media-text-track-display {
|
|
|
2253
2252
|
<line x1="10" y1="14" x2="21" y2="3"></line>
|
|
2254
2253
|
</svg>
|
|
2255
2254
|
</ol-button>
|
|
2256
|
-
`,()=>
|
|
2257
|
-
${(0,
|
|
2255
|
+
`,()=>t.html`
|
|
2256
|
+
${(0,a.when)(s&&!T,()=>t.html`
|
|
2258
2257
|
<ol-button
|
|
2259
2258
|
class="ol-asset__hover-btn ol-asset__hover-btn--maximize"
|
|
2260
|
-
@click=${r=>{r.stopPropagation(),
|
|
2259
|
+
@click=${r=>{r.stopPropagation(),s(e)}}
|
|
2261
2260
|
title="Maximize ${e.name}"
|
|
2262
2261
|
>
|
|
2263
2262
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
@@ -2265,19 +2264,19 @@ video::-webkit-media-text-track-display {
|
|
|
2265
2264
|
</svg>
|
|
2266
2265
|
</ol-button>
|
|
2267
2266
|
`)}
|
|
2268
|
-
${(0,
|
|
2267
|
+
${(0,a.when)(o&&["multimedia","file"].includes(e.type),()=>t.html`
|
|
2269
2268
|
<ol-button
|
|
2270
|
-
class="ol-asset__hover-btn ol-asset__hover-btn--download ${
|
|
2269
|
+
class="ol-asset__hover-btn ol-asset__hover-btn--download ${i?"ol-asset__hover-btn--downloading":""}"
|
|
2271
2270
|
@click=${r=>{r.stopPropagation(),o(e)}}
|
|
2272
2271
|
title="Download ${e.name}"
|
|
2273
|
-
?disabled=${
|
|
2272
|
+
?disabled=${i}
|
|
2274
2273
|
>
|
|
2275
|
-
${(0,
|
|
2274
|
+
${(0,a.when)(i,()=>t.html`
|
|
2276
2275
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="ol-asset__download-spinner">
|
|
2277
2276
|
<circle cx="12" cy="12" r="10"></circle>
|
|
2278
2277
|
<path d="M12 2a10 10 0 0 1 10 10"></path>
|
|
2279
2278
|
</svg>
|
|
2280
|
-
`,()=>
|
|
2279
|
+
`,()=>t.html`
|
|
2281
2280
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
2282
2281
|
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path>
|
|
2283
2282
|
<polyline points="7,10 12,15 17,10"></polyline>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! @onlive.ai/common-121 v0.2.
|
|
2
|
-
var
|
|
3
|
-
${_
|
|
1
|
+
/*! @onlive.ai/common-121 v0.2.230 | © 2026 Onlive.ai */
|
|
2
|
+
var y=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var j=(n,e,o,t)=>{for(var i=t>1?void 0:t?A(e,o):e,l=n.length-1,v;l>=0;l--)(v=n[l])&&(i=(t?v(e,o,i):v(i))||i);return t&&i&&y(e,o,i),i};import{html as s}from"lit";import{classMap as E}from"lit/directives/class-map.js";import{ifDefined as c}from"lit/directives/if-defined.js";import{when as a}from"lit/directives/when.js";import{unsafeHTML as k}from"lit/directives/unsafe-html.js";import p from"dompurify";var w={ALLOWED_TAGS:["p","br","span","b","strong","i","em","u","s","del","ul","ol","li","code","pre","a","h1","h2","h3","h4","table","thead","tbody","tr","th","td"],ALLOWED_ATTR:["href","target","rel","title","aria-label","role","colspan","rowspan"],FORCE_HTTPS:!0,ALLOW_DATA_ATTR:!1};p.addHook("afterSanitizeAttributes",n=>{"target"in n&&n.target==="_blank"&&n.setAttribute("rel","noopener noreferrer")});var u=(n,e=w)=>p.sanitize(n,e);function m(n=""){return k(x(n))}function x(n=""){return u(n,{ADD_ATTR:["target","rel","content","variant","size"],ADD_TAGS:["ol-"],CUSTOM_ELEMENT_HANDLING:{tagNameCheck:/^ol-/,attributeNameCheck:null,allowCustomizedBuiltInElements:!0}})}var z=(n,e)=>(customElements.get(n)?console.debug(`Custom element <${n}> is already defined, skipping definition of ${e.name}.`):window.customElements.define(n,e),e),S=(n,e)=>{let{kind:o,elements:t}=e;return{kind:o,elements:t,finisher(i){customElements.get(n)||window.customElements.define(n,i)}}},f=n=>e=>typeof e=="function"?z(n,e):S(n,e);import"@onlive.ai/ui/dist/components/button/button.js";import"@onlive.ai/ui/dist/components/icon/icon.js";import{html as T,LitElement as Y}from"lit";import{property as B,query as J}from"lit/decorators.js";import C from"video.js";import{css as M,unsafeCSS as V}from"lit";import _ from"video.js/dist/video-js.min.css?inline";var h=M`
|
|
3
|
+
${V(_)}
|
|
4
4
|
.och__player {
|
|
5
5
|
width: 100%;
|
|
6
6
|
height: auto;
|
|
@@ -19,12 +19,11 @@ var A=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var c=(n,e,o,t
|
|
|
19
19
|
src:
|
|
20
20
|
url(https://cdn.onlive.site/fonts/video-js/font/VideoJS.woff) format("woff"),
|
|
21
21
|
url(https://cdn.onlive.site/fonts/video-js/font/VideoJS.ttf) format("truetype");
|
|
22
|
-
}`,document.head.appendChild(t)}}firstUpdated(){this.$player&&(this.player=
|
|
22
|
+
}`,document.head.appendChild(t)}}disconnectedCallback(){this.player?.dispose(),this.player=null,super.disconnectedCallback()}inferMimeType(o,t){let i=o.split("?")[0]?.toLowerCase()||"";if(i.endsWith(".m3u8")||i.endsWith(".m3u"))return"application/x-mpegURL";if(i.endsWith(".mpd"))return"application/dash+xml";if(t){let l=t.toLowerCase();return l==="application/x-mpegurl"||l==="application/vnd.apple.mpegurl"||l==="audio/mpegurl"||l==="audio/x-mpegurl"?"application/x-mpegURL":t}return i.endsWith(".webm")?"video/webm":i.endsWith(".ogv")?"video/ogg":i.endsWith(".mov")?"video/quicktime":i.endsWith(".mp3")?"audio/mpeg":i.endsWith(".m4a")?"audio/mp4":i.endsWith(".aac")?"audio/aac":i.endsWith(".wav")?"audio/wav":i.endsWith(".ogg")||i.endsWith(".oga")?"audio/ogg":(i.endsWith(".mp4")||i.endsWith(".m4v"),"video/mp4")}get normalizedSources(){return this.sources.map(o=>{let t=o.src;return{src:t,type:this.inferMimeType(t,o.type)}})}emitPlayerErrorDiagnostics(){if(!this.player)return;let o=this.player.error(),t={code:o?.code??null,message:o?.message??"unknown-error",currentSrc:this.player.currentSrc()||null,browser:navigator.userAgent,sources:this.normalizedSources};this.dispatchEvent(new CustomEvent("och-player-error",{detail:t,bubbles:!0,composed:!0}))}firstUpdated(){this.$player&&(this.player=C(this.$player,{controls:!0,sources:this.normalizedSources,html5:{vhs:{overrideNative:!0}},controlBar:{children:["playToggle","progressControl","volumePanel","fullscreenToggle"]}}),this.player.on("error",()=>this.emitPlayerErrorDiagnostics()))}updated(o){if(!this.player||!o.has("sources"))return;let t=this.normalizedSources;if(t.length>0){this.player.src(t);return}this.player.reset()}play(){this.player?.play()}pause(){this.player?.pause()}render(){return T`
|
|
23
23
|
<video
|
|
24
24
|
id="player"
|
|
25
25
|
class="och__player video-js video-js vjs-16-9 vjs-controls-enabled vjs-workinghover vjs-v8 vjs-theme-sea vjs_video_2321-dimensions vjs-has-started vjs-paused vjs-user-inactive"
|
|
26
26
|
>
|
|
27
|
-
${C(this.sources,o=>o.src,o=>b`<source src=${o.src} type=${o.type}></source>`)}
|
|
28
27
|
<p class="vjs-no-js">
|
|
29
28
|
To view this video please enable JavaScript, and consider upgrading to a web browser that
|
|
30
29
|
<a href="https://videojs.com/html5-video-support/" target="_blank"> supports HTML5 video </a>
|
|
@@ -2041,28 +2040,28 @@ video::-webkit-media-text-track-display {
|
|
|
2041
2040
|
transition: all 0.2s ease;
|
|
2042
2041
|
}
|
|
2043
2042
|
</style>
|
|
2044
|
-
`}};d.styles=[h],
|
|
2043
|
+
`}};d.styles=[h],j([B({type:Array})],d.prototype,"sources",2),j([J("#player")],d.prototype,"$player",2),d=j([f("och-player")],d);var g=class{formatFileSize(e){let o=["B","KB","MB","GB"];if(e===0)return"0 B";let t=Math.floor(Math.log(e)/Math.log(1024));return Math.round(e/1024**t*100)/100+" "+o[t]}formatDuration(e){let o=Math.floor(e/60),t=Math.floor(e%60);return`${o}:${t.toString().padStart(2,"0")}`}getMultimediaSubtype(e){let o=e.format||"";return o.startsWith("video/")?"video":o.startsWith("image/")?"image":o.includes("presentation")||o.includes("pdf")||o.includes("powerpoint")||o.includes("slides")||o.includes("application/vnd.ms-powerpoint")||o.includes("application/vnd.openxmlformats-officedocument.presentationml")||e.slides&&e.slides.length>0?"presentation":e.duration||e.vodUrl?"video":"image"}renderThumbnail(e,o,t,i,l,v){return!o.showThumbnail||e.type==="faq"?s``:s`
|
|
2045
2044
|
<div class="ol-asset__thumbnail">
|
|
2046
2045
|
${this.renderThumbnailContent(e)}
|
|
2047
2046
|
${this.renderMetadata(e,o)}
|
|
2048
2047
|
${this.renderThumbnailOverlay(e)}
|
|
2049
|
-
${this.renderHoverOverlay(e,t,l,i,
|
|
2048
|
+
${this.renderHoverOverlay(e,t,l,i,v)}
|
|
2050
2049
|
</div>
|
|
2051
2050
|
`}renderThumbnailContent(e){switch(e.type){case"multimedia":{let o=e;switch(this.getMultimediaSubtype(o)){case"video":return this.renderVideoThumbnail(o);case"presentation":return this.renderPresentationThumbnail(o);default:return s`
|
|
2052
2051
|
<img
|
|
2053
|
-
src="${
|
|
2052
|
+
src="${c(o.thumbnail||o.url)}"
|
|
2054
2053
|
alt="${o.name}"
|
|
2055
2054
|
class="ol-asset__image"
|
|
2056
2055
|
/>
|
|
2057
2056
|
`}}case"file":{let o=e;switch(this.getMultimediaSubtype(o)){case"video":return this.renderVideoThumbnail(o);case"presentation":return this.renderPresentationThumbnail(o);default:return s`
|
|
2058
2057
|
<img
|
|
2059
|
-
src="${
|
|
2058
|
+
src="${c(o.thumbnail||o.url)}"
|
|
2060
2059
|
alt="${o.name}"
|
|
2061
2060
|
class="ol-asset__image"
|
|
2062
2061
|
/>
|
|
2063
2062
|
`}}default:return s`
|
|
2064
2063
|
<img
|
|
2065
|
-
src="${
|
|
2064
|
+
src="${c(e.thumbnail||e.url)}"
|
|
2066
2065
|
alt="${e.name}"
|
|
2067
2066
|
class="ol-asset__image"
|
|
2068
2067
|
/>
|
|
@@ -2073,7 +2072,7 @@ video::-webkit-media-text-track-display {
|
|
|
2073
2072
|
></och-player>
|
|
2074
2073
|
`}renderPresentationThumbnail(e){return s`
|
|
2075
2074
|
<div class="ol-asset__presentation-preview">
|
|
2076
|
-
${
|
|
2075
|
+
${a(e.slides&&e.slides.length>0,()=>s`
|
|
2077
2076
|
<img
|
|
2078
2077
|
src="${e.slides[0]}"
|
|
2079
2078
|
alt="Presentation preview"
|
|
@@ -2164,7 +2163,7 @@ video::-webkit-media-text-track-display {
|
|
|
2164
2163
|
</div>
|
|
2165
2164
|
`:s``}renderModalContent(e){switch(e.type){case"multimedia":{let o=e,t=this.getMultimediaSubtype(o);return t==="image"?s`
|
|
2166
2165
|
<img
|
|
2167
|
-
src="${
|
|
2166
|
+
src="${c(o.url)}"
|
|
2168
2167
|
alt="${o.name}"
|
|
2169
2168
|
class="ol-asset__modal-image"
|
|
2170
2169
|
/>
|
|
@@ -2180,7 +2179,7 @@ video::-webkit-media-text-track-display {
|
|
|
2180
2179
|
</div>
|
|
2181
2180
|
`}case"file":{let o=e,t=this.getMultimediaSubtype(o);return t==="image"?s`
|
|
2182
2181
|
<img
|
|
2183
|
-
src="${
|
|
2182
|
+
src="${c(o.url)}"
|
|
2184
2183
|
alt="${o.name}"
|
|
2185
2184
|
class="ol-asset__modal-image"
|
|
2186
2185
|
/>
|
|
@@ -2203,9 +2202,9 @@ video::-webkit-media-text-track-display {
|
|
|
2203
2202
|
<h3 class="ol-asset__modal-title">${e.name}</h3>
|
|
2204
2203
|
${e.description?s`<p class="ol-asset__modal-description">${e.description}</p>`:s``}
|
|
2205
2204
|
</div>
|
|
2206
|
-
`}}renderHoverOverlay(e,o,t,i,l){let
|
|
2205
|
+
`}}renderHoverOverlay(e,o,t,i,l){let v=e.type==="multimedia"&&this.getMultimediaSubtype(e)==="video",b=(e.type==="multimedia"||e.type==="file")&&this.getMultimediaSubtype(e)==="presentation"&&(!e.slides||e.slides.length===0);return v?s`
|
|
2207
2206
|
<div class="ol-asset__video-controls">
|
|
2208
|
-
${
|
|
2207
|
+
${a(t,()=>s`
|
|
2209
2208
|
<ol-button
|
|
2210
2209
|
class="ol-asset__video-btn ol-asset__video-btn--maximize"
|
|
2211
2210
|
@click=${r=>{r.stopPropagation(),t(e)}}
|
|
@@ -2216,14 +2215,14 @@ video::-webkit-media-text-track-display {
|
|
|
2216
2215
|
</svg>
|
|
2217
2216
|
</ol-button>
|
|
2218
2217
|
`)}
|
|
2219
|
-
${
|
|
2218
|
+
${a(o,()=>s`
|
|
2220
2219
|
<ol-button
|
|
2221
2220
|
class="ol-asset__video-btn ol-asset__video-btn--download ${i?"ol-asset__video-btn--downloading":""}"
|
|
2222
2221
|
@click=${r=>{r.stopPropagation(),o(e)}}
|
|
2223
2222
|
title="Download ${e.name}"
|
|
2224
2223
|
?disabled=${i}
|
|
2225
2224
|
>
|
|
2226
|
-
${
|
|
2225
|
+
${a(i,()=>s`
|
|
2227
2226
|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="ol-asset__download-spinner">
|
|
2228
2227
|
<circle cx="12" cy="12" r="10"></circle>
|
|
2229
2228
|
<path d="M12 2a10 10 0 0 1 10 10"></path>
|
|
@@ -2241,7 +2240,7 @@ video::-webkit-media-text-track-display {
|
|
|
2241
2240
|
`:s`
|
|
2242
2241
|
<div class="ol-asset__hover-overlay">
|
|
2243
2242
|
<div class="ol-asset__hover-buttons">
|
|
2244
|
-
${
|
|
2243
|
+
${a(e.type==="product",()=>s`
|
|
2245
2244
|
<ol-button
|
|
2246
2245
|
class="ol-asset__hover-btn ol-asset__hover-btn--external"
|
|
2247
2246
|
@click=${r=>{r.stopPropagation(),e.url&&(l?l(e.url):window.open(e.url,"_blank","noopener,noreferrer"))}}
|
|
@@ -2254,7 +2253,7 @@ video::-webkit-media-text-track-display {
|
|
|
2254
2253
|
</svg>
|
|
2255
2254
|
</ol-button>
|
|
2256
2255
|
`,()=>s`
|
|
2257
|
-
${
|
|
2256
|
+
${a(t&&!b,()=>s`
|
|
2258
2257
|
<ol-button
|
|
2259
2258
|
class="ol-asset__hover-btn ol-asset__hover-btn--maximize"
|
|
2260
2259
|
@click=${r=>{r.stopPropagation(),t(e)}}
|
|
@@ -2265,14 +2264,14 @@ video::-webkit-media-text-track-display {
|
|
|
2265
2264
|
</svg>
|
|
2266
2265
|
</ol-button>
|
|
2267
2266
|
`)}
|
|
2268
|
-
${
|
|
2267
|
+
${a(o&&["multimedia","file"].includes(e.type),()=>s`
|
|
2269
2268
|
<ol-button
|
|
2270
2269
|
class="ol-asset__hover-btn ol-asset__hover-btn--download ${i?"ol-asset__hover-btn--downloading":""}"
|
|
2271
2270
|
@click=${r=>{r.stopPropagation(),o(e)}}
|
|
2272
2271
|
title="Download ${e.name}"
|
|
2273
2272
|
?disabled=${i}
|
|
2274
2273
|
>
|
|
2275
|
-
${
|
|
2274
|
+
${a(i,()=>s`
|
|
2276
2275
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" class="ol-asset__download-spinner">
|
|
2277
2276
|
<circle cx="12" cy="12" r="10"></circle>
|
|
2278
2277
|
<path d="M12 2a10 10 0 0 1 10 10"></path>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @onlive.ai/common-121 v0.2.
|
|
1
|
+
/*! @onlive.ai/common-121 v0.2.230 | © 2026 Onlive.ai */
|
|
2
2
|
"use strict";var s=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var d=(o,e)=>{for(var t in e)s(o,t,{get:e[t],enumerable:!0})},c=(o,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of n(e))!p.call(o,a)&&a!==t&&s(o,a,{get:()=>e[a],enumerable:!(r=l(e,a))||r.enumerable});return o};var b=o=>c(s({},"__esModule",{value:!0}),o);var g={};d(g,{styles:()=>x});module.exports=b(g);var i=require("lit"),x=i.css`
|
|
3
3
|
:host {
|
|
4
4
|
display: block;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @onlive.ai/common-121 v0.2.
|
|
1
|
+
/*! @onlive.ai/common-121 v0.2.230 | © 2026 Onlive.ai */
|
|
2
2
|
"use strict";var i=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var o=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var l=(s,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of o(e))!g.call(s,t)&&t!==n&&i(s,t,{get:()=>e[t],enumerable:!(r=a(e,t))||r.enumerable});return s};var d=s=>l(i({},"__esModule",{value:!0}),s);var p={};module.exports=d(p);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! @onlive.ai/common-121 v0.2.
|
|
1
|
+
/*! @onlive.ai/common-121 v0.2.230 | © 2026 Onlive.ai */
|