{"version":3,"file":"PlayerProgressBar-BAOBWS7y.mjs","names":[],"sources":["../src/components/misc/player/progressbar/PlayerProgressBar.vue","../src/components/misc/player/progressbar/PlayerProgressBar.vue"],"sourcesContent":["<template>\n  <AdsProgressBar v-if=\"vastStore.isAdPlaying\" :class=\"classProgress\" />\n  <RadioProgressBar v-else-if=\"playerStore.radioUrl\" :class=\"classProgress\" />\n  <PodcastProgressBar\n    v-else\n    :show-comments=\"showComments\"\n    :display-alert-bar=\"displayAlertBar\"\n    :percent-live-progress=\"percentLiveProgress\"\n    :duration-live-position=\"durationLivePosition\"\n    :player-error=\"playerError\"\n    :listen-time=\"listenTime\"\n    :class-progress=\"classProgress\"\n  />\n</template>\n<script setup lang=\"ts\">\nimport { defineAsyncComponent } from \"vue\";\nimport { usePlayerStore } from \"../../../../stores/PlayerStore\";\nimport { useVastStore } from \"../../../../stores/VastStore\";\nconst RadioProgressBar = defineAsyncComponent(\n  () => import(\"../radio/RadioProgressBar.vue\"),\n);\nconst AdsProgressBar = defineAsyncComponent(\n  () => import(\"../ads/AdsProgressBar.vue\"),\n);\nconst PodcastProgressBar = defineAsyncComponent(\n  () => import(\"./PodcastProgressBar.vue\"),\n);\n\n//Props \ndefineProps({\n  classProgress: { default: \"\", type: String },\n  playerError: { default: false, type: Boolean },\n  showComments: { default: false, type: Boolean },\n  displayAlertBar: { default: false, type: Boolean },\n  percentLiveProgress: { default: 0, type: Number },\n  durationLivePosition: { default: 0, type: Number },\n  listenTime: { default: 0, type: Number },\n})\n\n//Composables\nconst playerStore = usePlayerStore();\nconst vastStore = useVastStore();\n\n</script>\n","<template>\n  <AdsProgressBar v-if=\"vastStore.isAdPlaying\" :class=\"classProgress\" />\n  <RadioProgressBar v-else-if=\"playerStore.radioUrl\" :class=\"classProgress\" />\n  <PodcastProgressBar\n    v-else\n    :show-comments=\"showComments\"\n    :display-alert-bar=\"displayAlertBar\"\n    :percent-live-progress=\"percentLiveProgress\"\n    :duration-live-position=\"durationLivePosition\"\n    :player-error=\"playerError\"\n    :listen-time=\"listenTime\"\n    :class-progress=\"classProgress\"\n  />\n</template>\n<script setup lang=\"ts\">\nimport { defineAsyncComponent } from \"vue\";\nimport { usePlayerStore } from \"../../../../stores/PlayerStore\";\nimport { useVastStore } from \"../../../../stores/VastStore\";\nconst RadioProgressBar = defineAsyncComponent(\n  () => import(\"../radio/RadioProgressBar.vue\"),\n);\nconst AdsProgressBar = defineAsyncComponent(\n  () => import(\"../ads/AdsProgressBar.vue\"),\n);\nconst PodcastProgressBar = defineAsyncComponent(\n  () => import(\"./PodcastProgressBar.vue\"),\n);\n\n//Props \ndefineProps({\n  classProgress: { default: \"\", type: String },\n  playerError: { default: false, type: Boolean },\n  showComments: { default: false, type: Boolean },\n  displayAlertBar: { default: false, type: Boolean },\n  percentLiveProgress: { default: 0, type: Number },\n  durationLivePosition: { default: 0, type: Number },\n  listenTime: { default: 0, type: Number },\n})\n\n//Composables\nconst playerStore = usePlayerStore();\nconst vastStore = useVastStore();\n\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAkByB,2BACjB,OAAO,kCAAA;mBAEQ,2BACf,OAAO,gCAAA;uBAEY,2BACnB,OAAO,oCAAA;gBAeK,eAAA;cACF,aAAA;;;;;;;;;;;;QCxCM,OAAA,UAAU,eAAA,UAAA,GAAhC,YAAsE,OAAA,mBAAA;;EAAxB,OAAK,eAAE,OAAA,aAAa;2BACrC,OAAA,YAAY,YAAA,UAAA,GAAzC,YAA4E,OAAA,qBAAA;;EAAxB,OAAK,eAAE,OAAA,aAAa;yCACxE,YASE,OAAA,uBAAA;;EAPC,iBAAe,OAAA;EACf,qBAAmB,OAAA;EACnB,yBAAuB,OAAA;EACvB,0BAAwB,OAAA;EACxB,gBAAc,OAAA;EACd,eAAa,OAAA;EACb,kBAAgB,OAAA"}