/*!
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
*/
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./index.css');require('../../node_modules/xgplayer/dist/index.min.css');const e=require("vue"),r=require("../../node_modules/xgplayer/es/lang/jp.js");;/* empty css                                              */const l=require("../../hooks/useLocale.js"),o=require("./localeSetting.js");;/* empty css            */const s=require("../../_virtual/_plugin-vue_export-helper.js"),t=require("../../node_modules/xgplayer/es/lang/i18n.js"),u=require("../../node_modules/xgplayer/es/index.umd.js"),n=require("../../node_modules/lodash-es/omit.js"),a=Object.assign({name:"GscVideoPlayer"},{__name:"index",props:{src:{type:[String,Array],default:""},poster:{type:String,default:""}},setup(s,{expose:a}){const d=s;let i;t.default.use(r.default);const c=e.useAttrs(),{locale:p}=l.useLocale(),g=e.ref();return e.onMounted(()=>{i=new u.default({el:e.unref(g),lang:o.videoPlayerLocale[e.unref(p).gsc.locale||"en-US"],url:d.src,poster:d.poster,width:"100%",height:"100%",miniprogress:!0,enableContextmenu:!1,commonStyle:{playedColor:"#2c9cfa",volumeColor:"#55D187"},...n.default(c,["src","poster","id","el","lang"])})}),a({player:i}),(r,l)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"playerRef",ref:g},null,512))}}),d=s.default(a,[["__scopeId","data-v-0583c70d"]]);exports.default=d;