beelink/dist/js/chunk-bfb7be0e.bf51c95d.js.map
2020-12-02 16:56:14 +08:00

1 line
28 KiB
Plaintext

{"version":3,"sources":["webpack:///./src/static/images/share.png","webpack:///./src/components/VideoPlay.vue?18b9","webpack:///./src/components/VideoCont.vue?6fdb","webpack:///./src/views/regime/VideoInfo.vue?4bda","webpack:///./src/static/images/watch.png","webpack:///./src/views/regime/VideoInfo.vue","webpack:///./src/components/VideoPlay.vue","webpack:///./src/components/VideoPlay.vue?3a69","webpack:///./src/components/VideoPlay.vue?45b8","webpack:///./src/components/VideoCont.vue","webpack:///./src/components/VideoCont.vue?f007","webpack:///./src/components/VideoCont.vue?be26","webpack:///./src/views/regime/VideoInfo.vue?c397","webpack:///./src/views/regime/VideoInfo.vue?0795"],"names":["module","exports","class","title","result","url","fileid","videoid","yuanyin","statusdesc","date","createdAt","watch","share","status","videoinfo","score","src","alt","srcset","show","style","id","centered","footer","dialogClass","visible","fxtc","getContainer","modalNode","width","closeIcon","fx","props","type","String","setup","ctx","play","console","log","lan","index","then","res","shareUrl","shareImg","shareTitle","window","open","value","TCPlayer","fileID","appID","setTimeout","to","from","next","dispose","document","getElementsByClassName","render","__scopeId","$t","update","drop","confirm-loading","confirmLoading","handleOk","Number","e","router","push","back","components","VideoPlay","VideoCont","VideoReview","query","commentlist"],"mappings":"mGAAAA,EAAOC,QAAU,khB,yDCAjB,W,oCCAA,W,oCCAA,W,4CCAAD,EAAOC,QAAU,slC,0JCCRC,MAAM,a,GACFA,MAAM,Q,sOADf,yBAMM,MANN,EAMM,CALF,yBAGM,MAHN,EAGM,CAFF,yBAAkE,GAAtDC,MAAO,EAAAC,OAAOD,MAAQE,IAAK,EAAAD,OAAOE,Q,wBAC9C,yBAA2K,GAA/JC,QAAS,EAAAH,OAAOG,QAAUC,QAAS,EAAAJ,OAAOK,WAAaC,KAAM,EAAAN,OAAOO,UAAYC,MAAO,EAAAR,OAAOQ,MAAQC,MAAO,EAAAT,OAAOS,MAAQC,OAAQ,EAAA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ent":["module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABP0lEQVQ4T52TvUoDQRSFz80PM6V/WPsWFgo+gUp2xVIElUzERsHCQrAQtFAQ/MmOCvZiZtEHCBYKgs/gG1hY7hbukQQWjMmuq9PNzJ2Pc86dK9o1HwGZQf96jjwzjdvrEVX5fBNwqL+EbdEuIICExIOU8JEWMcFr7JsLWFtV48mBQEa7dwnLFFkUQHW2XQDJVuw3Fgao6D0iRTt7BcEKgHcAY6mCIPJMIxfQeRxaC2ANInsAJ0AsFwaoMDgXYh2C/ahmdnUY3BQGqFbzVEQ2ADmMvPpOR2lhgHLBsQBbBI5iz2ynNrULlgjM51qo3p1NlkuVFwpO4prZHJRRfgbd4C6nIq/+lBVw4RB/AnTLrlLo/x/wly4Mkl+4C1neewAEXOwZ/9ev/K1AOXsv4FzmMOXBSAwLMAugJDnjXEAQ218jtK8l7ImPBwAAAABJRU5ErkJggg==\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./VideoPlay.vue?vue&type=style&index=0&id=0e133a80&lang=scss&scoped=true\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./VideoCont.vue?vue&type=style&index=0&id=003d59b2&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./VideoInfo.vue?vue&type=style&index=0&id=f3c916e0&lang=scss&scoped=true\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAQCAYAAAD0xERiAAAC80lEQVQ4T21UTWhUVxg95yWdeRs1URdWV2Kxi4qIaLSLQpGWblTIeyaUQqsJgu+lcdNNtZMQR9NAFyXQn7wXf5JUIsKQedPWKFm10oUVXTluqlioICWbqkWQ+8bMO2WGzptJ9FtdvnvOud+93/ku8aqIvluXTax+WjwAcBuANQD+BXBXwJV4qX0KvUcfr6RyZSJbDI+DGiW4GsAjCbdJPRHYSaALwCbVhZNc7Ax838pviv060m4/3vADyI8g3YCFnOn2r688zI6CfQBHAbwNYta8WHsEvb3VGi4Vy0TBjAUehpQ35cXTyOeTGiA7N/GeyJ0ky7HjLdTFR0Yse/uGUyCHE2C64nj9qZgdBf0ALyRKchV3YKxRjR2FUwD6mtWpYLq9D0GqlstEQc6qVSn1GdefIUrjHbbsBxJvxK53sEHMRJM9FlSAdB7UrMRDJAcbxAYuWwznSewxzytbmImCEwTz1NJW4w4+TKsqhQuQbOP476bEKLhGcJVxvHdSXOHbzWp/7Q9Rw8wWw/u0eNN0H/uk9bHtYvhI0Hjs+l+nYnOBD4tjseN1LsNG4aygXcxG4T0Ct4zjfbwMUAofJsJExfG+arnScRIjxvHWL8cGlyTuZCYKPydwmtSbptv/q0kMfgKxKb6z2FXvrES7NPkbJGNc//30mj+f26wX1XtQkiOufbPaNpk/BdyMHe9AKvbj2Q+YJAuC5i3pcmK1OZTcpFp1Kz2fRimuFF6luNs8j9+o+8wuBkdATifQUMXxv2xaY3IU0BcNPwocj51jn6UdL4VDlnAGwGHjeBdbTBtOWTVPSWdMefFUw7SZubNvWVZ1R5LobuXQQLlp2tfzIIYkXIhd7+iyCUCh0Ga3/TMNstaI31FdGjY9g78AqBv0/6BdCvdBqI3TXggXTXVt/0vj1HyDSR/SGIEOQH9LvEXgqYAOUl0ANwp4CuBk7Hhha1df+jXqm/MTndmK1UdgP6DtAFcBegawLOhKnNEM9g88aRWqrf8DhK1QcCrNvQ0AAAAASUVORK5CYII=\"","<template>\n <div class=\"videoinfo\">\n <div class=\"info\">\n <VideoPlay :title=\"result.title\" :url=\"result.fileid\"></VideoPlay>\n <VideoCont :videoid=\"result.videoid\" :yuanyin=\"result.statusdesc\" :date=\"result.createdAt\" :watch=\"result.watch\" :share=\"result.share\" :status=\"result.status\"></VideoCont>\n </div>\n <VideoReview :videoinfo=\"result.score\" class=\"review\" v-if=\"result.status == 1\"></VideoReview>\n </div>\n</template>\n<style lang=\"scss\" scoped>\n.videoinfo{\n width: 1320px;\n height: 563px;\n .info{\n display: flex;\n justify-content: space-between;\n }\n .review{\n margin-top: 28px;\n }\n}\n</style>\n<script lang=\"ts\">\nimport { defineComponent, onMounted, ref } from 'vue';\nimport VideoPlay from \"@/components/VideoPlay.vue\"\nimport VideoCont from \"@/components/VideoCont.vue\"\nimport VideoReview from \"@/components/VideoReview.vue\";\nimport { getcommentlist, videodetail } from '@/api';\nimport { useRoute } from 'vue-router';\nexport default defineComponent({\n components:{\n VideoPlay,\n VideoCont,\n VideoReview\n },\n setup(){\n // console.log(1)\n console.log(useRoute().query)\n const result=ref({})\n const commentlist=ref({})\n const videoid=ref(useRoute().query.id)\n onMounted(async () => {\n result.value= await videodetail(useRoute().query.id)\n // commentlist.value=await getcommentlist({type:2,id:videoid.value})\n })\n \n return {\n result,\n commentlist,\n videoid\n }\n \n }\n})\n</script>","<template>\n <div class=\"video\">\n <div class=\"title\">{{title}}</div>\n <div class=\"title fenxiang\" @click=\"show\"> <img src=\"@/static/images/fenxiang.png\" alt=\"\"> 立即分享</div>\n <video style=\"width:100%; height:100%;\" :id=\"'a' + url\" ></video>\n <div class=\"modal-container\">\n <!-- @cancel=\"hideNoticeModal\" -->\n\n <a-modal\n centered\n :footer=\"null\"\n dialogClass=\"modal-dialog\"\n v-model:visible=\"fxtc\"\n title=\"请选择分享途径\"\n :getContainer=\"modalNode\"\n width=\"4rem\"\n >\n <template v-slot:closeIcon>\n <img src=\"@/static/images/delete.png\" class=\"close\" />\n </template>\n <div class=\"notice-container report\">\n <div @click=\"fx(1)\">\n <img src=\"@/static/images/weibo.png\" alt=\"\" srcset=\"\">\n 新浪微博\n </div>\n <div @click=\"fx(2)\">\n <img src=\"@/static/images/facebook.png\" alt=\"\" srcset=\"\">\n Facebook\n </div>\n \n </div>\n \n </a-modal>\n </div>\n </div>\n</template>\n<style lang=\"scss\" scoped>\n.video{\n width: 976px;\n height: 563px;\n border-radius: 17px;\n background: white;\n position: relative;\n // background-color: #0f0;\n overflow: hidden;\n >video{\n width: 100%;\n height: 100%;\n }\n .title{\n position: absolute;\n top: 23px;\n left: 51px;\n font-size: 13px;\n color: #fff;\n z-index: 999;\n }\n .fenxiang{\n left: unset;\n right: 51px;\n display: flex;\n align-items: center;\n >img{\n width: 11px;\n height: 11px;\n margin-right: 11px;\n }\n }\n}\n.modal-container {\n ::v-deep(.ant-modal-header){\n padding: 0;\n }\n ::v-deep(.ant-modal-title){\n font-size: 12px;\n margin-top: -0.09rem;\n padding-bottom: 20px;\n }\n ::v-deep(.ant-modal-close){\n top: 8px;\n }\n ::v-deep(.ant-modal-body){\n padding: 0;\n }\n ::v-deep(.modal-dialog) {\n border-radius: 36px;\n overflow: hidden;\n .close {\n width: 14px;\n height: 14px;\n }\n .ant-modal-content {\n box-sizing: border-box;\n padding: 35px 30px;\n // width: 569px;\n background: #ffffff;\n box-shadow: 0px 4px 6px 0px rgba(102, 102, 102, 0.07);\n border-radius: 26px;\n overflow: hidden;\n .notice-container {\n display: flex;\n align-items: center;\n padding-top: 30px;\n >div{\n width: auto;\n display: flex;\n align-items: center;\n font-size: 12px;\n >img{\n width: 35px;\n margin-right: 5px;\n }\n }\n >div:first-child{\n margin-right: 80px;\n\n }\n }\n .report {\n .sub-title {\n margin-bottom: 50px;\n }\n }\n }\n }\n }\n</style>\n<script lang=\"ts\">\nimport { share } from '@/api';\nimport router from '@/router';\nimport { useI18n } from '@/utils/i18n';\nimport { defineComponent, onMounted, onUpdated, ref, watch } from 'vue';\nimport { onBeforeRouteLeave, useRouter } from 'vue-router';\n\nexport default defineComponent({\n props:{\n url: {\n type: String\n },\n title: {\n type: String\n }\n },\n setup(props, ctx){\n console.log(1)\n let play: any;\n const lan = useI18n()\n const fxtc = ref(false)\n // onMounted(()=>{\n // console.log(props.url)\n // play = window.TCPlayer('a' + props.url, { \n // fileID: props.url,\n // appID: '1303872925' \n // });\n // })\n onMounted(()=>{\n console.log(props.url)\n if(props.url){\n console.log(props.url)\n play = window.TCPlayer('a' + props.url, { \n fileID: props.url,\n appID: '1303872925' \n });\n }else{\n watch(()=> props.url,()=>{\n console.log(props.url)\n setTimeout(()=>{\n play = window.TCPlayer('a' + props.url, { \n fileID: props.url,\n appID: '1303872925' \n });\n }, 500)\n \n })\n }\n \n })\n \n onBeforeRouteLeave((to, from, next) => {\n console.log(121)\n play.dispose()\n next()\n })\n function fx(index: number){\n console.log(index)\n share().then((res: any)=>{\n console.log(res)\n let url = \"\";\n if(index == 1){\n url = `https://service.weibo.com/share/share.php?url=${res.shareUrl}&appkey=2754574056&language=zh_cn&pic=${res.shareImg}&searchPic=true&title=${res.shareTitle}`\n }else {\n url = `https://www.facebook.com/sharer/sharer.php?%20u=${res.shareUrl}&t=${res.shareTitle}`\n }\n window.open(url, \"_blank\")\n })\n }\n function show(){\n fxtc.value = true\n }\n return{\n lan,\n modalNode: () =>\n document.getElementsByClassName(\"modal-container\")[0],\n fx,\n fxtc,\n show\n }\n \n }\n})\n</script>","\nimport { share } from '@/api';\nimport router from '@/router';\nimport { useI18n } from '@/utils/i18n';\nimport { defineComponent, onMounted, onUpdated, ref, watch } from 'vue';\nimport { onBeforeRouteLeave, useRouter } from 'vue-router';\n\nexport default defineComponent({\n props:{\n url: {\n type: String\n },\n title: {\n type: String\n }\n },\n setup(props, ctx){\n console.log(1)\n let play: any;\n const lan = useI18n()\n const fxtc = ref(false)\n // onMounted(()=>{\n // console.log(props.url)\n // play = window.TCPlayer('a' + props.url, { \n // fileID: props.url,\n // appID: '1303872925' \n // });\n // })\n onMounted(()=>{\n console.log(props.url)\n if(props.url){\n console.log(props.url)\n play = window.TCPlayer('a' + props.url, { \n fileID: props.url,\n appID: '1303872925' \n });\n }else{\n watch(()=> props.url,()=>{\n console.log(props.url)\n setTimeout(()=>{\n play = window.TCPlayer('a' + props.url, { \n fileID: props.url,\n appID: '1303872925' \n });\n }, 500)\n \n })\n }\n \n })\n \n onBeforeRouteLeave((to, from, next) => {\n console.log(121)\n play.dispose()\n next()\n })\n function fx(index: number){\n console.log(index)\n share().then((res: any)=>{\n console.log(res)\n let url = \"\";\n if(index == 1){\n url = `https://service.weibo.com/share/share.php?url=${res.shareUrl}&appkey=2754574056&language=zh_cn&pic=${res.shareImg}&searchPic=true&title=${res.shareTitle}`\n }else {\n url = `https://www.facebook.com/sharer/sharer.php?%20u=${res.shareUrl}&t=${res.shareTitle}`\n }\n window.open(url, \"_blank\")\n })\n }\n function show(){\n fxtc.value = true\n }\n return{\n lan,\n modalNode: () =>\n document.getElementsByClassName(\"modal-container\")[0],\n fx,\n fxtc,\n show\n }\n \n }\n})\n","import { render } from \"./VideoPlay.vue?vue&type=template&id=0e133a80&scoped=true&bindings={}\"\nimport script from \"./VideoPlay.vue?vue&type=script&lang=ts\"\nexport * from \"./VideoPlay.vue?vue&type=script&lang=ts\"\n\nimport \"./VideoPlay.vue?vue&type=style&index=0&id=0e133a80&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-0e133a80\"\n\nexport default script"," <template>\n <div class=\"cont\">\n <div class=\"title\">{{lan.$t('shipinshuju')}}</div>\n <div class=\"info\">\n <div class=\"item\">\n <img src=\"@/static/images/livewatch.png\" alt=\"\" />\n <span> {{lan.$t('shangchuanshijian')}} </span>\n <span>{{date}}</span>\n \n </div>\n <div class=\"item\">\n <img src=\"@/static/images/watch.png\" alt=\"\" />\n <span>{{lan.$t('bofangliang')}}</span>\n <span> {{watch}}</span>\n \n </div>\n <div class=\"item\">\n <img src=\"@/static/images/share.png\" alt=\"\" />\n <span>{{lan.$t('zhuanfaliang')}}</span>\n <span>{{share}}</span>\n </div>\n <div class=\"item item1\" v-if=\"status==0\">\n <span>{{lan.$t('zhuangtai')}}</span>\n <span class=\"status\">{{lan.$t('shenheing')}}</span>\n </div>\n <!-- <div class=\"item item1\" v-if=\"status==1\">\n <span>{{lan.$t('zhuangtai')}}</span>\n <span class=\"status1\">{{lan.$t('shenheing')}}</span>\n \n </div> -->\n <div class=\"item item1\" v-if=\"status==2\">\n <span>{{lan.$t('zhuangtai')}}</span>\n <span class=\"status1\" style=\"color: #D12C2E\">{{lan.$t('shenheweitongguo')}}</span>\n </div>\n <div class=\"item item1\" v-if=\"status==2\">\n <span style=\"flex-shrink:0\">{{lan.$t('yuanyin')}}</span>\n <span> {{yuanyin}} </span>\n </div>\n \n </div>\n <div class=\"button\">\n <div class=\"modify\" @click=\"update(videoid)\">{{lan.$t('xiugaishipin')}}</div>\n <div class=\"del\" @click=\"drop(videoid)\">{{lan.$t('shanchushipin')}}</div>\n <a-modal\n title=\"确认删除\"\n v-model:visible=\"visible\"\n :confirm-loading=\"confirmLoading\"\n @ok=\"handleOk\"\n >\n <p>{{lan.$t('querenshanchu')}}</p>\n </a-modal>\n </div>\n </div>\n</template>\n<style lang=\"scss\" scoped>\n.cont {\n width: 316px;\n height: 563px;\n background-color: #fff;\n border-radius: 17px;\n padding: 0 28px;\n position: relative;\n .title {\n padding: 23px 0 11px 0;\n font-size: 13px;\n color: #111;\n line-height: 1;\n border-bottom: 1px solid #eee;\n }\n .info {\n .item1{\n position: relative;\n left:-12px\n }\n .status{\n color: #07AD97!important;\n // font-weight: bold;\n }\n .status1{\n color: #D12C2D!important;\n }\n .item {\n display: flex;\n align-content: center;\n margin-top: 23px;\n > img {\n width: 24px;\n height: 24px;\n // background-color: #0f0;\n }\n > span {\n font-size: 11px;\n color: #666;\n margin-left: 10px;\n }\n }\n }\n .button {\n position: absolute;\n width: 260px;\n bottom: 28px;\n display: flex;\n justify-content: space-between;\n > div {\n width: 114px;\n height: 23px;\n border-radius: 3px;\n font-size: 10px;\n color: #fff;\n line-height: 23px;\n text-align: center;\n cursor: pointer;\n }\n .modify {\n background-color: #08ae98;\n }\n .del {\n background-color: #d12c2e;\n }\n }\n}\n</style>\n<script lang=\"ts\">\nimport { videodel } from '@/api';\nimport router from '@/router';\nimport { useI18n } from '@/utils/i18n';\nimport { defineComponent, ref } from \"vue\";\nimport { useRoute } from 'vue-router';\n\nexport default defineComponent({\n props:{\n date: {\n type:String\n },\n watch: {\n type:Number\n },\n share: {\n type:Number\n },\n status: {\n type:Number\n },\n videoid: {\n type:Number\n },\n yuanyin: {\n type: String\n }\n },\n setup(){\n const lan: any = useI18n();\n console.log(1)\n const visible = ref(false);\n const confirmLoading = ref(false);\n let id = 0;\n function drop(e: number){\n console.log(e);\n id = e;\n visible.value = true;\n }\n function update(e: number) {\n router.push(\"/mine/video?id=\"+e)\n }\n function handleOk() {\n \n confirmLoading.value = true;\n videodel(id).then(()=>{\n visible.value = false;\n confirmLoading.value = false;\n router.back()\n })\n }\n return{\n drop,\n update,\n confirmLoading,\n visible,\n handleOk,\n lan\n }\n }\n});\n</script>","\nimport { videodel } from '@/api';\nimport router from '@/router';\nimport { useI18n } from '@/utils/i18n';\nimport { defineComponent, ref } from \"vue\";\nimport { useRoute } from 'vue-router';\n\nexport default defineComponent({\n props:{\n date: {\n type:String\n },\n watch: {\n type:Number\n },\n share: {\n type:Number\n },\n status: {\n type:Number\n },\n videoid: {\n type:Number\n },\n yuanyin: {\n type: String\n }\n },\n setup(){\n const lan: any = useI18n();\n console.log(1)\n const visible = ref(false);\n const confirmLoading = ref(false);\n let id = 0;\n function drop(e: number){\n console.log(e);\n id = e;\n visible.value = true;\n }\n function update(e: number) {\n router.push(\"/mine/video?id=\"+e)\n }\n function handleOk() {\n \n confirmLoading.value = true;\n videodel(id).then(()=>{\n visible.value = false;\n confirmLoading.value = false;\n router.back()\n })\n }\n return{\n drop,\n update,\n confirmLoading,\n visible,\n handleOk,\n lan\n }\n }\n});\n","import { render } from \"./VideoCont.vue?vue&type=template&id=003d59b2&scoped=true&bindings={}\"\nimport script from \"./VideoCont.vue?vue&type=script&lang=ts\"\nexport * from \"./VideoCont.vue?vue&type=script&lang=ts\"\n\nimport \"./VideoCont.vue?vue&type=style&index=0&id=003d59b2&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-003d59b2\"\n\nexport default script","\nimport { defineComponent, onMounted, ref } from 'vue';\nimport VideoPlay from \"@/components/VideoPlay.vue\"\nimport VideoCont from \"@/components/VideoCont.vue\"\nimport VideoReview from \"@/components/VideoReview.vue\";\nimport { getcommentlist, videodetail } from '@/api';\nimport { useRoute } from 'vue-router';\nexport default defineComponent({\n components:{\n VideoPlay,\n VideoCont,\n VideoReview\n },\n setup(){\n // console.log(1)\n console.log(useRoute().query)\n const result=ref({})\n const commentlist=ref({})\n const videoid=ref(useRoute().query.id)\n onMounted(async () => {\n result.value= await videodetail(useRoute().query.id)\n // commentlist.value=await getcommentlist({type:2,id:videoid.value})\n })\n \n return {\n result,\n commentlist,\n videoid\n }\n \n }\n})\n","import { render } from \"./VideoInfo.vue?vue&type=template&id=f3c916e0&scoped=true&bindings={}\"\nimport script from \"./VideoInfo.vue?vue&type=script&lang=ts\"\nexport * from \"./VideoInfo.vue?vue&type=script&lang=ts\"\n\nimport \"./VideoInfo.vue?vue&type=style&index=0&id=f3c916e0&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-f3c916e0\"\n\nexport default script"],"sourceRoot":""}