/*!
Copyright (c) 2026 Lenovo SSG BASD. All rights reserved.
@license Proprietary

This software is the confidential and proprietary property of Lenovo SSG BASD.
You shall not disclose such Confidential Information and shall use it only in
accordance with the terms of the license agreement.

--- Build Info ---
Version: 1.1.1
Build Time: 2026/2/26 17:21:00
Build Commit: 81e556ed827e2f043668506dae6fae8dbb9ef395
*/
import{useAttrs as e,ref as o,onMounted as r,unref as s,openBlock as l,createElementBlock as t}from"vue";import n from"../../node_modules/xgplayer/es/lang/jp.js";import './index.css';import '../../node_modules/xgplayer/dist/index.min.css';/* empty css                                            */import{useLocale as p}from"../../hooks/useLocale.js";import{videoPlayerLocale as m}from"./localeSetting.js";/* empty css          */import i from"../../_virtual/_plugin-vue_export-helper.js";import a from"../../node_modules/xgplayer/es/lang/i18n.js";import d from"../../node_modules/xgplayer/es/index.umd.js";import u from"../../node_modules/lodash-es/omit.js";const c=/* @__PURE__ */i(/* @__PURE__ */Object.assign({name:"GscVideoPlayer"},{__name:"index",props:{src:{type:[String,Array],default:""},poster:{type:String,default:""}},setup(i,{expose:c}){const g=i;let f;a.use(n);const y=e(),{locale:_}=p(),x=o();return r(()=>{f=new d({el:s(x),lang:m[s(_).gsc.locale||"en-US"],url:g.src,poster:g.poster,width:"100%",height:"100%",miniprogress:!0,enableContextmenu:!1,commonStyle:{playedColor:"#2c9cfa",volumeColor:"#55D187"},...u(y,["src","poster","id","el","lang"])})}),c({player:f}),(e,o)=>(l(),t("div",{ref_key:"playerRef",ref:x},null,512))}}),[["__scopeId","data-v-0583c70d"]]);export{c as default};