@saooti/octopus-sdk 42.0.2 → 42.0.4
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/dist/{AdvancedSearch-EkYCvb-A.mjs → AdvancedSearch-Bd9tK-4i.mjs} +5 -5
- package/dist/{CategoryFilter-BYF5Aj66.mjs → CategoryFilter-CNCjhnMP.mjs} +3 -3
- package/dist/{CategoryList-Bl4HF6IV.mjs → CategoryList-Buh73sPa.mjs} +1 -1
- package/dist/{CategoryPage-D31bXPFd.mjs → CategoryPage-guP6_hCq.mjs} +2 -2
- package/dist/{ChapteringModal-DeJlPZqt.mjs → ChapteringModal-B29-28dk.mjs} +1 -1
- package/dist/{CheckIdentityModal-C0mQhO1Y.mjs → CheckIdentityModal-Dh-7hC5M.mjs} +2 -2
- package/dist/{ClipboardModal-CZMe6yzC.mjs → ClipboardModal-DBIetCe6.mjs} +1 -1
- package/dist/{CommentInput-CJQJGuGh.mjs → CommentInput-BuXFDUZI.mjs} +4 -4
- package/dist/{CommentItem-BMdLtMSM.mjs → CommentItem-C1KdIG3j.mjs} +3 -3
- package/dist/{CommentList-CiyIfFVR.mjs → CommentList-DTKpZSb6.mjs} +2 -2
- package/dist/{CommentMoreActions-LkviE-Ys.mjs → CommentMoreActions-BiyzPozQ.mjs} +3 -3
- package/dist/{CommentName-Dd6_i8Aq.mjs → CommentName-BdoUJC9A.mjs} +2 -2
- package/dist/{CommentParentInfo-B1uIVuWE.mjs → CommentParentInfo-kXKfL3N4.mjs} +1 -1
- package/dist/{CommentPlayer-6khGC239.mjs → CommentPlayer-BIOwn4Ao.mjs} +2 -2
- package/dist/{CommentSection-DN2hTntd.mjs → CommentSection-CQGAn83J.mjs} +3 -3
- package/dist/{CommentStore-ClWYnxlP.mjs → CommentStore-CVBkPvHJ.mjs} +15 -15
- package/dist/{ContractPreviewModal-D09ZZRzk.mjs → ContractPreviewModal-BJEnYMoK.mjs} +2 -2
- package/dist/{DownloadPodcastButton-CllFnfRd.mjs → DownloadPodcastButton-CcUJ8Wuh.mjs} +2 -2
- package/dist/{EditCommentModal-DdQ0VbJD.mjs → EditCommentModal-DoVppFIY.mjs} +1 -1
- package/dist/{EmissionGroupChooser-Zcybs9xf.mjs → EmissionGroupChooser-B10wDKyp.mjs} +1 -1
- package/dist/{EmissionInlineList-BApYL38i.mjs → EmissionInlineList-Cn8j50o6.mjs} +5 -5
- package/dist/{EmissionItem-Drvrx9dD.mjs → EmissionItem-CQbtdUNM.mjs} +4 -4
- package/dist/{EmissionList-CTf4dsj_.mjs → EmissionList-E0Hsq0mr.mjs} +4 -4
- package/dist/{EmissionPage-H6mau7wr.mjs → EmissionPage-BY0IY-Ci.mjs} +8 -8
- package/dist/{EmissionPlayerItem-C0_Fu8k1.mjs → EmissionPlayerItem-KHWB18Ru.mjs} +3 -3
- package/dist/{EmissionPresentationItem-CoIUFFKW.mjs → EmissionPresentationItem-2hfEZ9Wc.mjs} +1 -1
- package/dist/{EmissionPresentationList-CkCczWdK.mjs → EmissionPresentationList-Da6YRCuJ.mjs} +3 -3
- package/dist/{EmissionsPage-DjdZ-b2g.mjs → EmissionsPage-BpPlQ1vL.mjs} +4 -4
- package/dist/{Error403Page-CZ9ePMyv.mjs → Error403Page-D7zKplcn.mjs} +2 -2
- package/dist/{FooterGarSection-BWvyWYzd.mjs → FooterGarSection-CwAVj0X8.mjs} +4 -4
- package/dist/{FooterSection-MLB3MbQn.mjs → FooterSection-CklRE0yr.mjs} +2 -2
- package/dist/{HomeDropdown-F5S8UGGq.mjs → HomeDropdown-D65QDBBQ.mjs} +2 -2
- package/dist/{HomePage-OvL6x1m2.mjs → HomePage-stJtq5XR.mjs} +3 -3
- package/dist/{LikeSection-C5hS-dkj.mjs → LikeSection-xB4hZ4kv.mjs} +3 -3
- package/dist/{ListPaginate--S_WMdzs.mjs → ListPaginate-gdpJpyC6.mjs} +2 -2
- package/dist/{LiveHorizontalList-DcjX6JyT.mjs → LiveHorizontalList-D1QZCKdq.mjs} +3 -3
- package/dist/{LiveList-rBKbHV1z.mjs → LiveList-CerWcFJv.mjs} +12 -12
- package/dist/{LivesPage-CBfjbjJS.mjs → LivesPage-C-jtDd4n.mjs} +2 -2
- package/dist/{MapPage-DPlAyhb2.mjs → MapPage-Bef5gLQu.mjs} +1 -1
- package/dist/{MobileMenu-Bstcgl68.mjs → MobileMenu-CV5t_RXg.mjs} +3 -3
- package/dist/{NewsletterModal-CjqEAdDc.mjs → NewsletterModal-CEI0I08q.mjs} +1 -1
- package/dist/{OrganisationChooser-CucAu_Zo.mjs → OrganisationChooser-CvHoHxHL.mjs} +6 -6
- package/dist/{OrganisationChooserLight-BF5X41Z_.mjs → OrganisationChooserLight-CJ7IbvRM.mjs} +2 -2
- package/dist/{PageNotFound-DZE0j-zQ.mjs → PageNotFound-Cgmgm9i1.mjs} +2 -2
- package/dist/{ParticipantInlineList-DQIv3BCY.mjs → ParticipantInlineList-CVsGpX6b.mjs} +4 -4
- package/dist/{ParticipantItem-DjCj0PAR.mjs → ParticipantItem-BIWNtU2J.mjs} +3 -3
- package/dist/{ParticipantPage-DKgl3Itz.mjs → ParticipantPage-BvSoNApw.mjs} +6 -6
- package/dist/{ParticipantsPage-OV4-0XDV.mjs → ParticipantsPage-ho_vMsWs.mjs} +6 -6
- package/dist/{PlayerAnonymousModal-CN9K91v7.mjs → PlayerAnonymousModal-DI-OzIJ0.mjs} +2 -2
- package/dist/{PlayerCompact-C4Z3zX1V.mjs → PlayerCompact-BjS5HFvK.mjs} +3 -3
- package/dist/{PlayerComponent-BvFCwOZH.mjs → PlayerComponent-CajQtPxX.mjs} +52 -52
- package/dist/{PlayerLarge-Dreq0MkF.mjs → PlayerLarge-H4sl7hoe.mjs} +5 -5
- package/dist/{PlayerPlayButton-DwK-Xwxw.mjs → PlayerPlayButton-DfzHBM_X.mjs} +4 -4
- package/dist/{PlayerProgressBar-CSPhQUMv.mjs → PlayerProgressBar-CSY72hgw.mjs} +2 -2
- package/dist/{PlayerStore-oWt4z_Pm.mjs → PlayerStore-C4T1vCHz.mjs} +1 -1
- package/dist/{PlayerVideo-B-yey4sP.mjs → PlayerVideo-BfR5fBo_.mjs} +3 -3
- package/dist/{PlayerVideoDigiteka-Be7q9IOr.mjs → PlayerVideoDigiteka-C6ZA6XkR.mjs} +2 -2
- package/dist/{PlayerVideoHls-Bpr0t84b.mjs → PlayerVideoHls-B8dm2-2-.mjs} +3 -3
- package/dist/{PlaylistPage-DsqLnr3q.mjs → PlaylistPage-DTy_55xp.mjs} +8 -8
- package/dist/{PlaylistsPage-D-AmEXaF.mjs → PlaylistsPage-m-ST2PUd.mjs} +6 -6
- package/dist/{PodcastFilterList-D0OHATs3.mjs → PodcastFilterList-Bz8c8rOJ.mjs} +2 -2
- package/dist/{PodcastImage-Fq6P5R4t.mjs → PodcastImage-BGQti5JM.mjs} +3 -3
- package/dist/{PodcastInlineList-S8FyZaKh.mjs → PodcastInlineList-WvkPSh1V.mjs} +1 -1
- package/dist/{PodcastInlineListTemplate-CSNYVfeg.mjs → PodcastInlineListTemplate-D1bIqp9s.mjs} +3 -3
- package/dist/{PodcastIsPlaying-D1Y0PrPe.mjs → PodcastIsPlaying-mWJppqAl.mjs} +1 -1
- package/dist/{PodcastItem-CRQzSYa8.mjs → PodcastItem-CYPwjD38.mjs} +26 -25
- package/dist/{PodcastList-Q7UB5Jvo.mjs → PodcastList-BfqxVGag.mjs} +10 -10
- package/dist/{PodcastList-jSaSktGX.mjs → PodcastList-D3jE4KxK.mjs} +5 -5
- package/dist/PodcastPage-GTzk5mUv.mjs +409 -0
- package/dist/{PodcastPlayBar-CRwY1aJj.mjs → PodcastPlayBar-YJnOuGTK.mjs} +3 -3
- package/dist/{PodcastPlayBasicButton-DxyYfLdG.mjs → PodcastPlayBasicButton-BYpnGOO1.mjs} +1 -1
- package/dist/{PodcastPlayButton-Cp8DrQtU.mjs → PodcastPlayButton-CJ8BRg-T.mjs} +3 -3
- package/dist/{PodcastPlaylistInlineList-BFwIvuIS.mjs → PodcastPlaylistInlineList-CmgnXWqI.mjs} +4 -4
- package/dist/{PodcastPresentationList-Ds_Xziyu.mjs → PodcastPresentationList-BBbhrj5M.mjs} +8 -8
- package/dist/{PodcastProgressBar-Dy18FXco.mjs → PodcastProgressBar-DDmGqHRZ.mjs} +3 -3
- package/dist/{PodcastRawTranscript-Lmhj4ZcK.mjs → PodcastRawTranscript-uMquvyIx.mjs} +2 -2
- package/dist/{PodcastRubriqueList-PdtD_3e_.mjs → PodcastRubriqueList-CMcls_jK.mjs} +2 -2
- package/dist/{PodcastSwiperList-CsD6U7nC.mjs → PodcastSwiperList-CR4Daki7.mjs} +4 -4
- package/dist/{PodcastmakerHeader-BM0dL0mN.mjs → PodcastmakerHeader-Blma5tOE.mjs} +1 -1
- package/dist/{PodcastsPage-DFlL6kGB.mjs → PodcastsPage-BZfbH613.mjs} +4 -4
- package/dist/{ProductorSearch-14Fsq-1F.mjs → ProductorSearch-Cyo0OOte.mjs} +2 -2
- package/dist/{ProgressBar-ict3WjO9.mjs → ProgressBar-h-6hD6C6.mjs} +1 -1
- package/dist/{QrCode-DFVyJ6jp.mjs → QrCode-CB7uCURG.mjs} +1 -1
- package/dist/{QrCodeModal-CmSioVji.mjs → QrCodeModal-uLXUjfFk.mjs} +1 -1
- package/dist/{RadioCurrently-B4l5Zpqx.mjs → RadioCurrently-CxTpzc3O.mjs} +3 -3
- package/dist/{RadioHistory-DGvnUjt5.mjs → RadioHistory-DaY_apJL.mjs} +2 -2
- package/dist/{RadioImage-Ch0YOZpr.mjs → RadioImage-CGdu0tqS.mjs} +4 -4
- package/dist/{RadioList-BekzGcfZ.mjs → RadioList-Dwjy8BJK.mjs} +4 -4
- package/dist/{RadioPage-YaFXvWH3.mjs → RadioPage-B0cZlWcd.mjs} +4 -4
- package/dist/{RadioPlanning-Dx14nK5H.mjs → RadioPlanning-yTAzd4fk.mjs} +2 -2
- package/dist/{RadioProgressBar-w1nQ8czX.mjs → RadioProgressBar-DLRlsyeG.mjs} +1 -1
- package/dist/{RecaptchaModal-BF9ULSTd.mjs → RecaptchaModal-eBNvLZYg.mjs} +1 -1
- package/dist/{ReportAbuseModal-CwGBRV_C.mjs → ReportAbuseModal-0i7fa_Kb.mjs} +3 -3
- package/dist/{RightsIndicator-CpIxnsUR.mjs → RightsIndicator-BFKSa05U.mjs} +1 -1
- package/dist/{RightsWrapper-D1qVfCcg.mjs → RightsWrapper-BRWuAx2F.mjs} +2 -2
- package/dist/{RubriqueFilter-DdXpISEj.mjs → RubriqueFilter-BLW_L9Wm.mjs} +2 -2
- package/dist/{RubriqueList-Bf3kNyk9.mjs → RubriqueList-DKBuYW37.mjs} +2 -2
- package/dist/{RubriquePage-4OHOajcE.mjs → RubriquePage-D4b-tHSI.mjs} +4 -4
- package/dist/{SearchPage-BJlU-BcT.mjs → SearchPage-DiEabf9d.mjs} +2 -2
- package/dist/{ShareAnonymous-B41ATCRg.mjs → ShareAnonymous-DnvGBSfx.mjs} +3 -3
- package/dist/{ShareModalPlayer-BalJpjQZ.mjs → ShareModalPlayer-CXYjEN8k.mjs} +1 -1
- package/dist/{ShareNewsletter-f03J6RoH.mjs → ShareNewsletter-C6U_Jjnm.mjs} +2 -2
- package/dist/{SharePlayer-elOCoCRi.mjs → SharePlayer-B7YLKRAB.mjs} +2 -2
- package/dist/{SharePlayerRadio-B9oLzSBG.mjs → SharePlayerRadio-Dy6UuwWM.mjs} +2 -2
- package/dist/{SharePlayerTypes-AWfa6Qz_.mjs → SharePlayerTypes-CeecVrvy.mjs} +1 -1
- package/dist/{ShareSocialsButtons-Bwxad4Y7.mjs → ShareSocialsButtons-ty0wa4Hj.mjs} +2 -2
- package/dist/{SimpleLayout-CAFYRTMf.mjs → SimpleLayout-BgflH0r5.mjs} +2 -2
- package/dist/SmartLinkPage-BmXB-5t-.mjs +131 -0
- package/dist/{SubscribeButtons-NKhPZ-sJ.mjs → SubscribeButtons-Bqc3UtOf.mjs} +2 -2
- package/dist/{SwiperList-CxSo0qdA.mjs → SwiperList-nkm8nHZC.mjs} +1 -1
- package/dist/{TagList-DsQde007.mjs → TagList-BcJZfwL5.mjs} +1 -1
- package/dist/{TagPage-DdSPU923.mjs → TagPage-DFUbxGht.mjs} +3 -3
- package/dist/{TopBar-CpjDKdG9.mjs → TopBar-1YG7Pruy.mjs} +6 -6
- package/dist/{UserButtonContent-COb8p914.mjs → UserButtonContent-CKxL8aX3.mjs} +2 -2
- package/dist/{VideoModuleBox-Dz6dkVFU.mjs → VideoModuleBox-B54AebXt.mjs} +1 -1
- package/dist/VideoPage-BxYH2SFo.mjs +148 -0
- package/dist/{classicApi-Cos2uZQj.mjs → classicApi-DR5O2l0-.mjs} +242 -258
- package/dist/{downloadHelper-0s6Woxx4.mjs → downloadHelper-DqI60vwY.mjs} +1 -1
- package/dist/index.css +1 -1
- package/dist/index.mjs +83 -82
- package/dist/tests.mjs +2 -2
- package/dist/{useAdvancedParamInit-CK1S2A-5.mjs → useAdvancedParamInit-DIw4V0uk.mjs} +5 -5
- package/dist/useDayjs-CCvXE-aF.mjs +28 -0
- package/dist/{useErrorHandler-DAWwxGjG.mjs → useErrorHandler-CNqmf6tv.mjs} +1 -1
- package/dist/{useImageProxy-Bp5COBoB.mjs → useImageProxy-C3duE5Uj.mjs} +1 -1
- package/dist/{useOrgaComputed-BfGR8BOq.mjs → useOrgaComputed-ZwTfEXF-.mjs} +1 -1
- package/dist/{usePlayerLogicProgress-Bp5H95rW.mjs → usePlayerLogicProgress--FrjZ3zY.mjs} +2 -2
- package/dist/{usePodcastView-Cpwi9Cpz.mjs → usePodcastView-EmNdC0A1.mjs} +4 -3
- package/dist/usePresentationItem-PCEJ9BHI.mjs +100 -0
- package/dist/{useRights-BuILddIF.mjs → useRights-D4GJoff9.mjs} +1 -1
- package/dist/{useRubriquesFilterComputed-CDhO1bNi.mjs → useRubriquesFilterComputed-BKI04l9G.mjs} +1 -1
- package/dist/{useRubriquesFilterParam-BAM07jph.mjs → useRubriquesFilterParam-C5AZlQOX.mjs} +1 -1
- package/dist/{useSharePlatforms-PyN99oER.mjs → useSharePlatforms-DWJtsHHs.mjs} +5 -5
- package/dist/{useSimplePageParam-B6eU_F2z.mjs → useSimplePageParam-DJBHk-Yr.mjs} +1 -1
- package/dist/{useTranslation-CQT91TGE.mjs → useTranslation-xTuUuIiz.mjs} +14 -14
- package/dist/{usefetchRadioData-KflsZpkI.mjs → usefetchRadioData-SnCkZcGt.mjs} +1 -1
- package/package.json +1 -1
- package/src/components/composable/usePresentationItem.ts +3 -1
- package/src/components/layouts/PresentationItem.vue +8 -1
- package/src/stores/AuthStore.ts +10 -1
- package/src/stores/CacheStore.ts +1 -3
- package/dist/PodcastPage-D4IWvzX2.mjs +0 -409
- package/dist/SmartLinkPage-C3pyttZO.mjs +0 -131
- package/dist/VideoPage-Dpbfsyi_.mjs +0 -148
- package/dist/usePresentationItem-DOW0xnDy.mjs +0 -99
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n } from "./useResizePhone-4hSkK5pa.mjs";
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
1
|
+
import { E as e } from "./classicApi-DR5O2l0-.mjs";
|
|
2
|
+
import { n as t } from "./useResizePhone-4hSkK5pa.mjs";
|
|
3
|
+
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
4
|
+
import { t as r } from "./displayHelper-DQtoqc_6.mjs";
|
|
5
|
+
import { t as i } from "./useOrgaComputed-ZwTfEXF-.mjs";
|
|
6
|
+
import { t as a } from "./useDayjs-CCvXE-aF.mjs";
|
|
7
|
+
import { t as o } from "./RightsIndicator-BFKSa05U.mjs";
|
|
7
8
|
import { t as s } from "./PodcastSeasonInfo-DDGSqj8M.mjs";
|
|
8
|
-
import { t as c } from "./PodcastImage-
|
|
9
|
+
import { t as c } from "./PodcastImage-BGQti5JM.mjs";
|
|
9
10
|
import { computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineAsyncComponent as g, defineComponent as _, nextTick as v, normalizeClass as y, onBeforeMount as b, openBlock as x, ref as S, resolveComponent as C, toDisplayString as w, unref as T, useTemplateRef as E, withCtx as D } from "vue";
|
|
10
11
|
import { useI18n as O } from "vue-i18n";
|
|
11
12
|
import k from "dayjs";
|
|
@@ -39,51 +40,51 @@ var A = {
|
|
|
39
40
|
}), M = { class: "podcast-item-info" }, N = { class: "podcast-item-status text-secondary h6 mx-2" }, P = ["datetime"], F = { class: "mx-2 d-flex align-items-center justify-content-between mt-2" }, I = {
|
|
40
41
|
key: 0,
|
|
41
42
|
class: "useless-div-for-podcastmaker"
|
|
42
|
-
}, L = /*#__PURE__*/
|
|
43
|
+
}, L = /*#__PURE__*/ n(/* @__PURE__ */ _({
|
|
43
44
|
__name: "PodcastItemInfo",
|
|
44
45
|
props: { podcast: {
|
|
45
46
|
default: () => ({}),
|
|
46
47
|
type: Object
|
|
47
48
|
} },
|
|
48
|
-
setup(
|
|
49
|
-
let
|
|
50
|
-
return (
|
|
49
|
+
setup(t) {
|
|
50
|
+
let n = g(() => import("./PodcastPlayBar-YJnOuGTK.mjs")), r = t, { t: c } = O(), { isPodcastmaker: _ } = i(), { formatDate: v } = a(), y = l(() => v(r.podcast.pubDate)), b = l(() => r.podcast.organisation.name.length > 30 ? r.podcast.organisation.name.substring(0, 30) + "..." : r.podcast.organisation.name);
|
|
51
|
+
return (r, i) => {
|
|
51
52
|
let a = C("router-link");
|
|
52
53
|
return x(), f("div", M, [
|
|
53
|
-
p("div", N, [p("time", { datetime:
|
|
54
|
+
p("div", N, [p("time", { datetime: t.podcast.pubDate }, w(y.value), 9, P), h(s, { podcast: t.podcast }, null, 8, ["podcast"])]),
|
|
54
55
|
h(a, {
|
|
55
56
|
to: {
|
|
56
57
|
name: "podcast",
|
|
57
|
-
params: { podcastId:
|
|
58
|
+
params: { podcastId: t.podcast.podcastId }
|
|
58
59
|
},
|
|
59
60
|
class: "text-dark flex-grow-1 title-podcast-item basic-line-clamp three-line",
|
|
60
|
-
title: T(c)("Episode name page", { name:
|
|
61
|
+
title: T(c)("Episode name page", { name: t.podcast.title })
|
|
61
62
|
}, {
|
|
62
63
|
default: D(() => [h(o, {
|
|
63
64
|
inline: "",
|
|
64
|
-
podcast:
|
|
65
|
+
podcast: t.podcast,
|
|
65
66
|
action: "edit"
|
|
66
|
-
}, null, 8, ["podcast"]), m(" " + w(
|
|
67
|
+
}, null, 8, ["podcast"]), m(" " + w(t.podcast.title), 1)]),
|
|
67
68
|
_: 1
|
|
68
69
|
}, 8, ["to", "title"]),
|
|
69
|
-
T(e).emissionsPage.progressBar ? (x(), u(T(
|
|
70
|
+
T(e).emissionsPage.progressBar ? (x(), u(T(n), {
|
|
70
71
|
key: 0,
|
|
71
72
|
"display-buton-play": !0,
|
|
72
|
-
podcast:
|
|
73
|
+
podcast: t.podcast,
|
|
73
74
|
class: "me-2"
|
|
74
75
|
}, null, 8, ["podcast"])) : d("", !0),
|
|
75
76
|
p("div", F, [
|
|
76
77
|
T(_) ? (x(), f("div", I)) : d("", !0),
|
|
77
|
-
|
|
78
|
+
t.podcast.animators && t.podcast.animators.length !== 0 ? (x(), u(j, {
|
|
78
79
|
key: 1,
|
|
79
80
|
class: "w-0 flex-grow-1",
|
|
80
|
-
animator:
|
|
81
|
+
animator: t.podcast.animators[0]
|
|
81
82
|
}, null, 8, ["animator"])) : d("", !0),
|
|
82
83
|
T(_) ? d("", !0) : (x(), u(a, {
|
|
83
84
|
key: 2,
|
|
84
85
|
to: {
|
|
85
86
|
name: "productor",
|
|
86
|
-
params: { productorId:
|
|
87
|
+
params: { productorId: t.podcast.organisation.id }
|
|
87
88
|
},
|
|
88
89
|
class: "text-dark producer-podcast-item"
|
|
89
90
|
}, {
|
|
@@ -101,9 +102,9 @@ var A = {
|
|
|
101
102
|
fetchConference: {}
|
|
102
103
|
},
|
|
103
104
|
setup(e) {
|
|
104
|
-
let
|
|
105
|
+
let n = e, i = S(!1), a = S(!1), o = S(!1), s = S("up"), u = S(!1), m = S(void 0), g = S(void 0), _ = E("descriptionPodcast"), C = E("descriptionPodcastContainer"), w = l(() => k(n.podcast.pubDate).format()), D = l(() => n.podcast.description ?? "");
|
|
105
106
|
b(() => {
|
|
106
|
-
|
|
107
|
+
i.value = window.matchMedia("(hover: none)").matches, m.value = t(A, 100), g.value = t(j, 100);
|
|
107
108
|
});
|
|
108
109
|
function O() {
|
|
109
110
|
if (a.value) return;
|
|
@@ -141,10 +142,10 @@ var A = {
|
|
|
141
142
|
o.value ? (x(), f("div", {
|
|
142
143
|
key: 0,
|
|
143
144
|
ref: "descriptionPodcastContainer",
|
|
144
|
-
class: y(["element-description description-podcast-item html-wysiwyg-content", [o.value && D.value !== "" ? "visible" : "invisible", !
|
|
145
|
+
class: y(["element-description description-podcast-item html-wysiwyg-content", [o.value && D.value !== "" ? "visible" : "invisible", !i.value && u.value ? "after-element-description" : "mobile-description-podcast-item"]])
|
|
145
146
|
}, [p("div", {
|
|
146
147
|
ref: "descriptionPodcast",
|
|
147
|
-
innerHTML: T(
|
|
148
|
+
innerHTML: T(r).urlify(D.value)
|
|
148
149
|
}, null, 8, z)], 2)) : d("", !0),
|
|
149
150
|
p("div", {
|
|
150
151
|
onMouseenter: n[0] ||= (...e) => m.value && m.value(...e),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { t as i } from "./ListPaginate
|
|
4
|
-
import { t as a } from "./useErrorHandler-
|
|
2
|
+
import { l as t, r as n, u as r } from "./classicApi-DR5O2l0-.mjs";
|
|
3
|
+
import { t as i } from "./ListPaginate-gdpJpyC6.mjs";
|
|
4
|
+
import { t as a } from "./useErrorHandler-CNqmf6tv.mjs";
|
|
5
5
|
import { r as o, t as s } from "./podcast-BoNHyuLe.mjs";
|
|
6
6
|
import { t as c } from "./ClassicLazy-DhdsXyI4.mjs";
|
|
7
|
-
import { t as l } from "./PodcastItem-
|
|
7
|
+
import { t as l } from "./PodcastItem-CYPwjD38.mjs";
|
|
8
8
|
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, defineComponent as v, onBeforeMount as y, openBlock as b, ref as x, renderList as S, resolveComponent as C, toDisplayString as w, unref as T, watch as E, withCtx as D } from "vue";
|
|
9
9
|
import { useI18n as O } from "vue-i18n";
|
|
10
10
|
import { AxiosError as k } from "axios";
|
|
@@ -72,7 +72,7 @@ var A = { class: "octopus-element-list" }, j = /*@__PURE__*/ v({
|
|
|
72
72
|
let j = e, M = v, N = x(!0), P = x(j.first), F = x(j.size), I = x(0), L = x(!1), R = x([]), { t: z } = O(), { handle403: B } = a(), V = n(), H = d(() => L.value || j.justSizeChosen ? R.value : R.value.slice(P.value, Math.min(P.value + F.value, I.value))), U = d(() => `${j.first}|${j.size}`), W = d(() => `${G.value}|${j.emissionId}|${j.sortCriteria}|${K.value}
|
|
73
73
|
${j.iabId}|${j.participantId}|${j.query}|${j.monetisable}|${j.popularSort}|
|
|
74
74
|
${j.rubriqueId}|${j.rubriquageId}|${j.before}|${j.after}|${j.includeHidden}|${j.noRubriquageId}|${j.validity}|
|
|
75
|
-
${j.withVideo}|${j.includeTag}|${j.beneficiaries}|${j.emissionGroups}`), G = d(() => j.organisationId ? j.organisationId : V.filterOrgaId ? [V.filterOrgaId] : []), K = d(() => j.popularSort ?
|
|
75
|
+
${j.withVideo}|${j.includeTag}|${j.beneficiaries}|${j.emissionGroups}`), G = d(() => j.organisationId ? j.organisationId : V.filterOrgaId ? [V.filterOrgaId] : []), K = d(() => j.popularSort ? t.POPULARITY : j.sortCriteria ?? t.DATE), q = d(() => {
|
|
76
76
|
if (!j.displaySortText) return "";
|
|
77
77
|
switch (j.sortCriteria) {
|
|
78
78
|
case "SCORE": return " " + z("sort by score");
|
|
@@ -88,9 +88,9 @@ var A = { class: "octopus-element-list" }, j = /*@__PURE__*/ v({
|
|
|
88
88
|
}), y(() => J(!1));
|
|
89
89
|
async function J(e) {
|
|
90
90
|
N.value = !0;
|
|
91
|
-
let
|
|
92
|
-
j.validity !== void 0 && j.validity !== "" && (
|
|
93
|
-
let
|
|
91
|
+
let t;
|
|
92
|
+
j.validity !== void 0 && j.validity !== "" && (t = j.validity === "true" || j.validity === !0);
|
|
93
|
+
let n = {
|
|
94
94
|
first: e ? 0 : P.value,
|
|
95
95
|
size: F.value,
|
|
96
96
|
organisationId: G.value,
|
|
@@ -107,7 +107,7 @@ var A = { class: "octopus-element-list" }, j = /*@__PURE__*/ v({
|
|
|
107
107
|
rubriqueId: j.rubriqueId?.length ? j.rubriqueId : void 0,
|
|
108
108
|
rubriquageId: j.rubriquageId?.length ? j.rubriquageId : void 0,
|
|
109
109
|
includeHidden: j.includeHidden,
|
|
110
|
-
validity:
|
|
110
|
+
validity: t,
|
|
111
111
|
processingStatus: [s.Ready, s.Processing],
|
|
112
112
|
withVideo: j.withVideo,
|
|
113
113
|
tags: j.includeTag?.length ? j.includeTag : void 0,
|
|
@@ -115,7 +115,7 @@ var A = { class: "octopus-element-list" }, j = /*@__PURE__*/ v({
|
|
|
115
115
|
season: j.seasons
|
|
116
116
|
};
|
|
117
117
|
try {
|
|
118
|
-
Y(e, await
|
|
118
|
+
Y(e, await r.searchFull(n, !0));
|
|
119
119
|
} catch (e) {
|
|
120
120
|
e instanceof k ? B(e) : console.error("error", e);
|
|
121
121
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { t as n } from "./ListPaginate
|
|
4
|
-
import { t as r } from "./useErrorHandler-
|
|
5
|
-
import { t as i } from "./useOrgaComputed-
|
|
2
|
+
import { p as t } from "./classicApi-DR5O2l0-.mjs";
|
|
3
|
+
import { t as n } from "./ListPaginate-gdpJpyC6.mjs";
|
|
4
|
+
import { t as r } from "./useErrorHandler-CNqmf6tv.mjs";
|
|
5
|
+
import { t as i } from "./useOrgaComputed-ZwTfEXF-.mjs";
|
|
6
6
|
import { t as a } from "./ClassicLazy-DhdsXyI4.mjs";
|
|
7
7
|
import { t as o } from "./ClassicSearch-CtL1cpnF.mjs";
|
|
8
|
-
import { t as s } from "./PodcastItem-
|
|
8
|
+
import { t as s } from "./PodcastItem-CYPwjD38.mjs";
|
|
9
9
|
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, onBeforeMount as _, openBlock as v, ref as y, renderList as b, resolveComponent as x, toDisplayString as S, unref as C, watch as w, withCtx as T } from "vue";
|
|
10
10
|
import { useI18n as E } from "vue-i18n";
|
|
11
11
|
//#region src/components/display/playlist/PodcastList.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
import { t as e } from "./ClassicLoading-CXfMjpyl.mjs";
|
|
2
|
+
import { E as t, i as n, r as ee, t as r, u as te } from "./classicApi-DR5O2l0-.mjs";
|
|
3
|
+
import { t as i } from "./displayHelper-DQtoqc_6.mjs";
|
|
4
|
+
import { t as ne } from "./GeneralStore-Darfv4af.mjs";
|
|
5
|
+
import { t as re } from "./useErrorHandler-CNqmf6tv.mjs";
|
|
6
|
+
import { t as a } from "./useSeoTitleUrl-UfPXDCPa.mjs";
|
|
7
|
+
import { t as ie } from "./useOrgaComputed-ZwTfEXF-.mjs";
|
|
8
|
+
import { t as ae } from "./emission-CQ1VuxRc.mjs";
|
|
9
|
+
import { t as oe } from "./useSeasonsManagement-DwbmJywJ.mjs";
|
|
10
|
+
import { t as se } from "./CommentStore-CVBkPvHJ.mjs";
|
|
11
|
+
import { t as ce } from "./RightsIndicator-BFKSa05U.mjs";
|
|
12
|
+
import { t as o } from "./ClassicLazy-DhdsXyI4.mjs";
|
|
13
|
+
import { t as le } from "./PodcastImage-BGQti5JM.mjs";
|
|
14
|
+
import { t as s } from "./ParticipantDescription-DVSfKvtg.mjs";
|
|
15
|
+
import { t as c } from "./PodcastInlineList-WvkPSh1V.mjs";
|
|
16
|
+
import { t as l } from "./PodcastRawTranscript-uMquvyIx.mjs";
|
|
17
|
+
import { t as ue } from "./youtubeVideoHelper-Cdlokujb.mjs";
|
|
18
|
+
import { t as u } from "./usePodcastView-EmNdC0A1.mjs";
|
|
19
|
+
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineAsyncComponent as y, defineComponent as b, guardReactiveProps as x, normalizeClass as S, normalizeProps as C, onBeforeUnmount as w, openBlock as T, ref as E, renderList as de, renderSlot as D, resolveComponent as O, toDisplayString as k, toRefs as fe, unref as A, useTemplateRef as j, watch as M, withCtx as N } from "vue";
|
|
20
|
+
import { useI18n as pe } from "vue-i18n";
|
|
21
|
+
import { useRoute as P, useRouter as F } from "vue-router";
|
|
22
|
+
import me from "vue-material-design-icons/NewspaperVariantOutline.vue";
|
|
23
|
+
//#region src/components/display/podcasts/PodcastModuleBox.vue?vue&type=script&setup=true&lang.ts
|
|
24
|
+
var he = {
|
|
25
|
+
key: 0,
|
|
26
|
+
class: "module-box"
|
|
27
|
+
}, I = { class: "mb-2 w-100" }, L = { class: "d-flex justify-content-between flex-wrap mb-2" }, R = ["datetime"], z = {
|
|
28
|
+
key: 1,
|
|
29
|
+
class: "text-danger"
|
|
30
|
+
}, B = { class: "d-flex flex-column align-items-end" }, V = ["datetime"], ge = {
|
|
31
|
+
key: 0,
|
|
32
|
+
class: "mb-3 text-secondary"
|
|
33
|
+
}, H = ["innerHTML"], _e = ["innerHTML"], U = { class: "my-3" }, ve = { class: "mb-1" }, ye = {
|
|
34
|
+
key: 0,
|
|
35
|
+
class: "mb-1"
|
|
36
|
+
}, be = {
|
|
37
|
+
key: 1,
|
|
38
|
+
class: "mb-1"
|
|
39
|
+
}, xe = {
|
|
40
|
+
key: 2,
|
|
41
|
+
class: "mb-1"
|
|
42
|
+
}, W = {
|
|
43
|
+
key: 3,
|
|
44
|
+
class: "mb-1"
|
|
45
|
+
}, G = {
|
|
46
|
+
key: 4,
|
|
47
|
+
class: "mb-1"
|
|
48
|
+
}, K = {
|
|
49
|
+
key: 5,
|
|
50
|
+
class: "mb-1"
|
|
51
|
+
}, q = ["href", "title"], Se = { key: 8 }, J = {
|
|
52
|
+
key: 0,
|
|
53
|
+
class: "me-5 text-secondary"
|
|
54
|
+
}, Ce = { class: "d-flex align-items-center flex-wrap" }, we = /* @__PURE__ */ b({
|
|
55
|
+
__name: "PodcastModuleBox",
|
|
56
|
+
props: {
|
|
57
|
+
podcast: {},
|
|
58
|
+
playingPodcast: {},
|
|
59
|
+
podcastConference: {}
|
|
60
|
+
},
|
|
61
|
+
emits: ["updatePodcast"],
|
|
62
|
+
setup(e, { emit: ee }) {
|
|
63
|
+
let r = y(() => import("./ErrorMessage-B4gtlriP.mjs").then((e) => e.n)), te = y(() => import("./PodcastPlayBar-YJnOuGTK.mjs")), ne = y(() => import("./SubscribeButtons-Bqc3UtOf.mjs").then((e) => e.n)), re = y(() => import("./LikeSection-xB4hZ4kv.mjs")), a = y(() => import("./DownloadPodcastButton-CcUJ8Wuh.mjs")), ie = y(() => import("./PodcastPlannedSpinner-DcDDays8.mjs")), se = y(() => import("./CountDown-o6ye6yv1.mjs")), o = y(() => import("./TagList-BcJZfwL5.mjs")), c = y(() => import("./ShareAnonymous-DnvGBSfx.mjs")), ue = y(() => import("./PodcastRubriqueList-CMcls_jK.mjs")), d = e, b = ee, { t: x } = pe(), C = fe(d), { isLiveReadyToRecord: w, isCounter: E, timeRemaining: de, isPlannedInProcessor: M, date: P, duration: we, durationIso: Te, isPodcastmaker: Y, editRight: X } = u(C.podcast, C.podcastConference), Ee = n(), Z = F(), { areSeasonsEnabled: De } = oe(), Oe = j("podcastRawTranscript"), ke = f(() => {
|
|
64
|
+
let e = d.podcast?.rubriqueIds ?? [];
|
|
65
|
+
return d.podcast?.emission?.rubriqueIds && (e = [...new Set(e.concat(d.podcast?.emission?.rubriqueIds))]), e;
|
|
66
|
+
}), Ae = f(() => d.podcast?.availability.visibility ? d.podcast?.processingStatus === "ERROR" ? x("Podcast in ERROR, please contact Saooti") : Pe.value ? x("Podcast not validated") : "" : x("Podcast is not visible for listeners")), je = f(() => d.podcast?.conferenceId !== void 0 && d.podcast?.conferenceId !== 0 && d.podcast?.processingStatus === "READY"), Me = f(() => d.podcastConference !== void 0 && d.podcastConference.status === "DEBRIEFING"), Ne = f(() => !Y.value && X.value && Ee.isRoleLive), Pe = f(() => d.podcast?.availability !== void 0 && !1 === d.podcast?.valid), Fe = f(() => $(d.podcast?.annotations?.photoCredit)), Ie = f(() => $(d.podcast?.annotations?.audioCredit)), Le = f(() => $(d.podcast?.annotations?.authorCredit)), Re = f(() => !(t.generalParameters.podcastmaker ?? !1)), Q = f(() => {
|
|
67
|
+
let e = [];
|
|
68
|
+
return d.podcast.tags && e.push(...d.podcast.tags), d.podcast.emission.tags && e.push(...d.podcast.emission.tags), e;
|
|
69
|
+
}), ze = f(() => De(d.podcast.emission) && d.podcast.seasonNumber !== void 0), Be = f(() => d.podcast.emission.seasonMode === ae.SEASON_WITH_PODCAST_NUMBERING && d.podcast.seasonEpisodeNumber !== void 0), Ve = f(() => d.podcast.annotations?.subtitle && t.podcastPage?.hideSubtitle !== !0), He = f(() => t.podcastPage?.descriptionOrSummary !== "summary"), Ue = f(() => d.podcast.summary && t.podcastPage?.descriptionOrSummary !== "description" && t.podcastPage?.descriptionOrSummary !== void 0);
|
|
70
|
+
function $(e) {
|
|
71
|
+
return e === void 0 ? "" : e.split(",").map((e) => e.trim()).join(", ");
|
|
72
|
+
}
|
|
73
|
+
function We(e) {
|
|
74
|
+
return i.urlify(e);
|
|
75
|
+
}
|
|
76
|
+
function Ge() {
|
|
77
|
+
w.value ? Z.push("/main/pub/lives") : window.history.length > 1 ? Z.go(-1) : Z.push("/");
|
|
78
|
+
}
|
|
79
|
+
function Ke() {
|
|
80
|
+
Oe.value.reset();
|
|
81
|
+
}
|
|
82
|
+
let qe = f(() => t.podcastPage.hideTags === !0 ? !1 : Q.value !== void 0 && Q.value.length !== 0);
|
|
83
|
+
return (n, ee) => {
|
|
84
|
+
let i = O("router-link");
|
|
85
|
+
return e.podcast ? (T(), h("section", he, [
|
|
86
|
+
e.podcastConference && A(w) && Ne.value ? D(n.$slots, "recording-item-button", {
|
|
87
|
+
key: 0,
|
|
88
|
+
podcast: e.podcast,
|
|
89
|
+
live: !0,
|
|
90
|
+
recording: e.podcastConference,
|
|
91
|
+
onDeleteItem: Ge,
|
|
92
|
+
onValidatePodcast: (e) => b("updatePodcast", e)
|
|
93
|
+
}) : A(X) && Re.value ? D(n.$slots, "edit-box", {
|
|
94
|
+
key: 1,
|
|
95
|
+
podcast: e.podcast,
|
|
96
|
+
displayStudioAccess: Me.value,
|
|
97
|
+
onUpdateTranscription: Ke,
|
|
98
|
+
onValidatePodcast: (e) => b("updatePodcast", e)
|
|
99
|
+
}) : m("", !0),
|
|
100
|
+
g("div", I, [
|
|
101
|
+
v(le, {
|
|
102
|
+
class: S([[A(w) && e.podcastConference && e.podcastConference !== "null" && e.podcastConference.status ? e.podcastConference.status.toLowerCase() + "-shadow" : ""], "me-3"]),
|
|
103
|
+
"show-processing": "",
|
|
104
|
+
"hide-play": A(w),
|
|
105
|
+
podcast: e.podcast,
|
|
106
|
+
"playing-podcast": e.playingPodcast,
|
|
107
|
+
"fetch-conference": e.podcastConference,
|
|
108
|
+
"is-animator-live": Ne.value
|
|
109
|
+
}, null, 8, [
|
|
110
|
+
"class",
|
|
111
|
+
"hide-play",
|
|
112
|
+
"podcast",
|
|
113
|
+
"playing-podcast",
|
|
114
|
+
"fetch-conference",
|
|
115
|
+
"is-animator-live"
|
|
116
|
+
]),
|
|
117
|
+
g("div", L, [
|
|
118
|
+
A(P).length === 0 ? m("", !0) : (T(), h("time", {
|
|
119
|
+
key: 0,
|
|
120
|
+
class: S(je.value ? "" : "me-5"),
|
|
121
|
+
datetime: e.podcast.pubDate
|
|
122
|
+
}, k(A(P)), 11, R)),
|
|
123
|
+
je.value ? (T(), h("div", z, k(A(x)("Episode record in live")), 1)) : m("", !0),
|
|
124
|
+
g("div", B, [g("time", { datetime: A(Te) }, k(A(we)), 9, V), A(X) ? m("", !0) : (T(), p(A(c), {
|
|
125
|
+
key: 0,
|
|
126
|
+
podcast: e.podcast,
|
|
127
|
+
"organisation-id": e.podcast.organisation.id
|
|
128
|
+
}, null, 8, ["podcast", "organisation-id"]))])
|
|
129
|
+
]),
|
|
130
|
+
g("h2", { class: S({ "mb-3": !Ve.value }) }, [v(ce, {
|
|
131
|
+
podcast: e.podcast,
|
|
132
|
+
action: "edit",
|
|
133
|
+
inline: ""
|
|
134
|
+
}, null, 8, ["podcast"]), _(" " + k(e.podcast.title), 1)], 2),
|
|
135
|
+
Ve.value ? (T(), h("h3", ge, k(e.podcast.annotations.subtitle), 1)) : m("", !0),
|
|
136
|
+
A(M) ? (T(), p(A(ie), { key: 1 })) : m("", !0),
|
|
137
|
+
A(E) ? (T(), p(A(se), {
|
|
138
|
+
key: 2,
|
|
139
|
+
"time-remaining": A(de)
|
|
140
|
+
}, null, 8, ["time-remaining"])) : m("", !0),
|
|
141
|
+
Ue.value ? (T(), h("div", {
|
|
142
|
+
key: 3,
|
|
143
|
+
class: S(["description-text html-wysiwyg-content", { "mb-4": Ue.value && He.value }]),
|
|
144
|
+
innerHTML: We(e.podcast.summary)
|
|
145
|
+
}, null, 10, H)) : m("", !0),
|
|
146
|
+
He.value ? (T(), h("div", {
|
|
147
|
+
key: 4,
|
|
148
|
+
class: "description-text html-wysiwyg-content",
|
|
149
|
+
innerHTML: We(e.podcast.description)
|
|
150
|
+
}, null, 8, _e)) : m("", !0),
|
|
151
|
+
g("div", U, [
|
|
152
|
+
g("div", ve, [_(k(A(x)("Emission") + " : ") + " ", 1), v(i, {
|
|
153
|
+
to: {
|
|
154
|
+
name: "emission",
|
|
155
|
+
params: { emissionId: e.podcast.emission.emissionId }
|
|
156
|
+
},
|
|
157
|
+
title: A(x)("Series name page", { name: e.podcast.emission.name })
|
|
158
|
+
}, {
|
|
159
|
+
default: N(() => [_(k(e.podcast.emission.name), 1)]),
|
|
160
|
+
_: 1
|
|
161
|
+
}, 8, ["to", "title"])]),
|
|
162
|
+
v(s, { participants: e.podcast.animators }, null, 8, ["participants"]),
|
|
163
|
+
v(s, {
|
|
164
|
+
participants: e.podcast.guests,
|
|
165
|
+
"is-guest": !0
|
|
166
|
+
}, null, 8, ["participants"]),
|
|
167
|
+
A(Y) ? m("", !0) : (T(), h("div", ye, [_(k(A(x)("Producted by : ")) + " ", 1), v(i, { to: {
|
|
168
|
+
name: "productor",
|
|
169
|
+
params: { productorId: e.podcast.organisation.id }
|
|
170
|
+
} }, {
|
|
171
|
+
default: N(() => [_(k(e.podcast.organisation.name), 1)]),
|
|
172
|
+
_: 1
|
|
173
|
+
}, 8, ["to"])])),
|
|
174
|
+
ze.value ? (T(), h("div", be, k(`${A(x)("Podcast - Season")} : ${e.podcast.seasonNumber}`), 1)) : m("", !0),
|
|
175
|
+
Be.value ? (T(), h("div", xe, k(`${A(x)("Podcast - Episode number")} : ${e.podcast.seasonEpisodeNumber}`), 1)) : m("", !0),
|
|
176
|
+
Fe.value === "" ? m("", !0) : (T(), h("div", W, k(A(x)("Photo credits") + " : " + Fe.value), 1)),
|
|
177
|
+
Ie.value === "" ? m("", !0) : (T(), h("div", G, k(A(x)("Audio credits") + " : " + Ie.value), 1)),
|
|
178
|
+
Le.value === "" ? m("", !0) : (T(), h("div", K, k(A(x)("Author credits") + " : " + Le.value), 1)),
|
|
179
|
+
e.podcast.article && !A(Ee).isGarRole ? (T(), h("a", {
|
|
180
|
+
key: 6,
|
|
181
|
+
class: "btn d-flex align-items-center my-2 w-fit-content mb-1",
|
|
182
|
+
href: e.podcast.article,
|
|
183
|
+
rel: "noreferrer noopener",
|
|
184
|
+
target: "_blank",
|
|
185
|
+
title: A(x)("New window", { text: A(x)("See associated article") })
|
|
186
|
+
}, [v(me, { class: "me-1" }), g("div", null, k(A(x)("See associated article")), 1)], 8, q)) : m("", !0),
|
|
187
|
+
A(t).emissionsPage.progressBar ? (T(), p(A(te), {
|
|
188
|
+
key: 7,
|
|
189
|
+
podcast: e.podcast
|
|
190
|
+
}, null, 8, ["podcast"])) : m("", !0),
|
|
191
|
+
A(X) && !A(Y) ? (T(), h("div", Se, [e.podcast.annotations && e.podcast.annotations.SOURCE_KIND === "RSS" ? (T(), h("div", J, k(A(x)("From RSS")), 1)) : m("", !0), Ae.value === "" ? m("", !0) : (T(), p(A(r), {
|
|
192
|
+
key: 1,
|
|
193
|
+
message: Ae.value
|
|
194
|
+
}, null, 8, ["message"]))])) : m("", !0),
|
|
195
|
+
g("div", Ce, [v(A(re), {
|
|
196
|
+
"edit-right": A(X),
|
|
197
|
+
podcast: e.podcast
|
|
198
|
+
}, null, 8, ["edit-right", "podcast"]), A(t).podcastPage.downloadButton ? (T(), p(A(a), {
|
|
199
|
+
key: 0,
|
|
200
|
+
podcast: e.podcast
|
|
201
|
+
}, null, 8, ["podcast"])) : m("", !0)])
|
|
202
|
+
])
|
|
203
|
+
]),
|
|
204
|
+
qe.value ? (T(), p(A(o), {
|
|
205
|
+
key: 2,
|
|
206
|
+
"tag-list": Q.value,
|
|
207
|
+
"orga-id": e.podcast.organisation.id,
|
|
208
|
+
"podcast-annotations": e.podcast.annotations,
|
|
209
|
+
max: A(t).podcastPage.maxTags
|
|
210
|
+
}, null, 8, [
|
|
211
|
+
"tag-list",
|
|
212
|
+
"orga-id",
|
|
213
|
+
"podcast-annotations",
|
|
214
|
+
"max"
|
|
215
|
+
])) : m("", !0),
|
|
216
|
+
ke.value?.length ? (T(), p(A(ue), {
|
|
217
|
+
key: 3,
|
|
218
|
+
"orga-id": e.podcast.organisation.id,
|
|
219
|
+
"rubrique-ids": ke.value
|
|
220
|
+
}, null, 8, ["orga-id", "rubrique-ids"])) : m("", !0),
|
|
221
|
+
v(l, {
|
|
222
|
+
ref_key: "podcastRawTranscript",
|
|
223
|
+
ref: Oe,
|
|
224
|
+
"podcast-id": e.podcast.podcastId
|
|
225
|
+
}, null, 8, ["podcast-id"]),
|
|
226
|
+
A(Y) ? (T(), p(A(ne), {
|
|
227
|
+
key: 4,
|
|
228
|
+
class: "mt-4",
|
|
229
|
+
content: e.podcast.emission,
|
|
230
|
+
"window-width": 1e3,
|
|
231
|
+
"justify-center": !1
|
|
232
|
+
}, null, 8, ["content"])) : m("", !0)
|
|
233
|
+
])) : m("", !0);
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
}), Te = { class: "page-box" }, Y = { key: 2 }, X = /* @__PURE__ */ b({
|
|
237
|
+
__name: "PodcastPage",
|
|
238
|
+
props: {
|
|
239
|
+
updateStatus: {},
|
|
240
|
+
playingPodcast: {},
|
|
241
|
+
podcastId: {},
|
|
242
|
+
useEmissionTitle: { type: Boolean }
|
|
243
|
+
},
|
|
244
|
+
setup(i) {
|
|
245
|
+
let ae = y(() => import("./ShareSocialsButtons-ty0wa4Hj.mjs")), oe = y(() => import("./SharePlayer-B7YLKRAB.mjs").then((e) => e.n)), ce = y(() => import("./CommentSection-CQGAn83J.mjs")), le = y(() => import("./PodcastmakerHeader-Blma5tOE.mjs")), s = i, l = E(!1), u = E(!1), _ = E(void 0), b = E(void 0), O = E(void 0), k = E(void 0), fe = P(), { t: j } = pe(), { isPodcastmaker: F, isEditRights: me, authOrgaId: he } = ie(), { updatePathParams: I } = a(), { handle403: L } = re(), R = n(), z = ne(), B = ee(), V = se(), ge = f(() => _.value?.emission?.annotations?.HIDE_SUGGESTIONS === "true"), H = f(() => _.value ? _.value.emission.annotations?.mainIabId ? parseInt(_.value.emission.annotations.mainIabId, 10) : _.value.emission.iabIds?.length ? _.value.emission.iabIds[0] : 0 : 0), _e = f(() => _.value === void 0 ? [] : z.storedCategories.filter((e) => _.value?.emission.iabIds && _.value.emission.iabIds.indexOf(e.id) !== -1).sort((e, t) => e.id === H.value ? -1 : +(t.id === H.value))), U = f(() => me(_.value?.organisation.id)), ve = f(() => _.value?.conferenceId !== void 0 && _.value?.conferenceId !== 0 && _.value?.processingStatus === "READY_TO_RECORD"), ye = f(() => !F.value && U.value && R.isRoleLive), be = f(() => ve.value ? j("Live episode") : j("Episode"));
|
|
246
|
+
M(() => s.updateStatus, () => {
|
|
247
|
+
b.value && b.value !== null && (b.value.status = s.updateStatus);
|
|
248
|
+
}), M(() => s.podcastId, async () => {
|
|
249
|
+
await Se(), !(!_.value || u.value) && V.initCommentUser();
|
|
250
|
+
}, { immediate: !0 }), w(() => {
|
|
251
|
+
z.contentToDisplayUpdate(null), clearTimeout(O.value);
|
|
252
|
+
});
|
|
253
|
+
async function xe() {
|
|
254
|
+
if (!(!_.value || _.value.conferenceId == null || _.value.processingStatus !== "READY_TO_RECORD")) {
|
|
255
|
+
if (b.value = {
|
|
256
|
+
conferenceId: _.value.conferenceId,
|
|
257
|
+
title: ""
|
|
258
|
+
}, ye.value) try {
|
|
259
|
+
b.value = await r.fetchData({
|
|
260
|
+
api: 9,
|
|
261
|
+
path: "conference/" + _.value.conferenceId
|
|
262
|
+
});
|
|
263
|
+
} catch {
|
|
264
|
+
await G();
|
|
265
|
+
}
|
|
266
|
+
else await G();
|
|
267
|
+
b.value && b.value.conferenceId !== -1 && b.value.status !== "PUBLISHING" && b.value.status !== "DEBRIEFING" && W();
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
async function W() {
|
|
271
|
+
b.value?.status !== "PUBLISHING" && (O.value = setTimeout(async () => {
|
|
272
|
+
await G(), W();
|
|
273
|
+
}, 3e3));
|
|
274
|
+
}
|
|
275
|
+
async function G() {
|
|
276
|
+
try {
|
|
277
|
+
let e = await r.fetchData({
|
|
278
|
+
api: 9,
|
|
279
|
+
path: "conference/info/" + _.value?.conferenceId
|
|
280
|
+
});
|
|
281
|
+
b.value = {
|
|
282
|
+
...b.value,
|
|
283
|
+
...e
|
|
284
|
+
};
|
|
285
|
+
} catch {}
|
|
286
|
+
}
|
|
287
|
+
function K(e) {
|
|
288
|
+
_.value = e, B.updateOrgaIfNecessary(e.organisation.id);
|
|
289
|
+
}
|
|
290
|
+
function q() {
|
|
291
|
+
u.value = !0, l.value = !0;
|
|
292
|
+
}
|
|
293
|
+
async function Se() {
|
|
294
|
+
l.value = !1, u.value = !1;
|
|
295
|
+
try {
|
|
296
|
+
let e = await r.fetchData({
|
|
297
|
+
api: 0,
|
|
298
|
+
path: "podcast/" + s.podcastId
|
|
299
|
+
});
|
|
300
|
+
if (e.organisation.privacy !== "PUBLIC" && B.filterOrgaId !== e.organisation.id && fe.query.productor !== e.organisation.id) {
|
|
301
|
+
q();
|
|
302
|
+
return;
|
|
303
|
+
}
|
|
304
|
+
if (K(e), z.contentToDisplayUpdate(e), (!_.value.availability.visibility || _.value.processingStatus !== "READY_TO_RECORD" && _.value.processingStatus !== "READY" && _.value.processingStatus !== "PROCESSING" || !1 === _.value.valid) && !U.value) {
|
|
305
|
+
u.value = !0, l.value = !0;
|
|
306
|
+
return;
|
|
307
|
+
}
|
|
308
|
+
J(), I(_.value.title), await V.getCommentsConfig(_.value), (b.value?.videoProfile?.includes("video_") && _.value.processingStatus === "READY_TO_RECORD" || _.value.video?.videoId !== void 0) && (k.value = ue.getYoutubeId(_.value?.tags ?? [])), l.value = !0;
|
|
309
|
+
} catch (e) {
|
|
310
|
+
L(e), q();
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
function J() {
|
|
314
|
+
if (_.value?.processingStatus !== "PLANNED") {
|
|
315
|
+
xe();
|
|
316
|
+
return;
|
|
317
|
+
}
|
|
318
|
+
O.value = setTimeout(async () => {
|
|
319
|
+
K(await te.get(s.podcastId)), J();
|
|
320
|
+
}, 2e3);
|
|
321
|
+
}
|
|
322
|
+
return (n, ee) => (T(), h("section", Te, [l.value && !u.value && _.value ? (T(), h(d, { key: 0 }, [A(F) ? (T(), p(A(le), {
|
|
323
|
+
key: 0,
|
|
324
|
+
"page-title": i.useEmissionTitle ? _.value.emission.name : be.value,
|
|
325
|
+
"img-url": _.value.imageUrl
|
|
326
|
+
}, null, 8, ["page-title", "img-url"])) : m("", !0), g("div", { class: S(["d-flex flex-column page-element", A(F) ? "page-element-podcastmaker" : ""]) }, [
|
|
327
|
+
v(we, {
|
|
328
|
+
"playing-podcast": i.playingPodcast,
|
|
329
|
+
podcast: _.value,
|
|
330
|
+
"podcast-conference": b.value,
|
|
331
|
+
onUpdatePodcast: K
|
|
332
|
+
}, {
|
|
333
|
+
"recording-item-button": N((e) => [D(n.$slots, "recording-item-button", C(x(e)))]),
|
|
334
|
+
"edit-box": N((e) => [D(n.$slots, "edit-box", C(x(e)))]),
|
|
335
|
+
_: 3
|
|
336
|
+
}, 8, [
|
|
337
|
+
"playing-podcast",
|
|
338
|
+
"podcast",
|
|
339
|
+
"podcast-conference"
|
|
340
|
+
]),
|
|
341
|
+
A(t).podcastPage.ShareButtons ? (T(), p(A(ae), {
|
|
342
|
+
key: 0,
|
|
343
|
+
"organisation-id": _.value.organisation.id
|
|
344
|
+
}, null, 8, ["organisation-id"])) : m("", !0),
|
|
345
|
+
!A(F) && U.value && !k.value ? (T(), p(A(oe), {
|
|
346
|
+
key: 1,
|
|
347
|
+
podcast: _.value,
|
|
348
|
+
emission: _.value?.emission,
|
|
349
|
+
"organisation-id": A(he)
|
|
350
|
+
}, null, 8, [
|
|
351
|
+
"podcast",
|
|
352
|
+
"emission",
|
|
353
|
+
"organisation-id"
|
|
354
|
+
])) : m("", !0),
|
|
355
|
+
v(A(ce), { podcast: _.value }, null, 8, ["podcast"]),
|
|
356
|
+
v(c, {
|
|
357
|
+
"emission-id": _.value.emission.emissionId,
|
|
358
|
+
href: "/main/pub/emission/" + _.value.emission.emissionId,
|
|
359
|
+
title: A(j)("More episodes of this emission"),
|
|
360
|
+
"button-text": A(j)("All podcast emission button"),
|
|
361
|
+
"title-tag": "h3"
|
|
362
|
+
}, null, 8, [
|
|
363
|
+
"emission-id",
|
|
364
|
+
"href",
|
|
365
|
+
"title",
|
|
366
|
+
"button-text"
|
|
367
|
+
]),
|
|
368
|
+
ge.value ? m("", !0) : (T(), h("section", Y, [v(o, { "min-height": 550 }, {
|
|
369
|
+
default: N(() => [v(c, {
|
|
370
|
+
class: "mt-4",
|
|
371
|
+
"title-tag": "h3",
|
|
372
|
+
"organisation-id": [_.value.organisation.id],
|
|
373
|
+
"podcast-id": i.podcastId,
|
|
374
|
+
title: A(j)("Suggested listening")
|
|
375
|
+
}, null, 8, [
|
|
376
|
+
"organisation-id",
|
|
377
|
+
"podcast-id",
|
|
378
|
+
"title"
|
|
379
|
+
])]),
|
|
380
|
+
_: 1
|
|
381
|
+
}), (T(!0), h(d, null, de(_e.value, (e) => (T(), p(o, {
|
|
382
|
+
key: e.id,
|
|
383
|
+
"min-height": 550
|
|
384
|
+
}, {
|
|
385
|
+
default: N(() => [v(c, {
|
|
386
|
+
class: "mt-4",
|
|
387
|
+
"title-tag": "h3",
|
|
388
|
+
"iab-id": e.id,
|
|
389
|
+
href: "/main/pub/category/" + e.id,
|
|
390
|
+
title: A(j)("More episodes of this category : ", { name: e.name }),
|
|
391
|
+
"button-text": A(j)("All podcast button", { name: e.name }),
|
|
392
|
+
"organisation-id": [_.value.organisation.id]
|
|
393
|
+
}, null, 8, [
|
|
394
|
+
"iab-id",
|
|
395
|
+
"href",
|
|
396
|
+
"title",
|
|
397
|
+
"button-text",
|
|
398
|
+
"organisation-id"
|
|
399
|
+
])]),
|
|
400
|
+
_: 2
|
|
401
|
+
}, 1024))), 128))]))
|
|
402
|
+
], 2)], 64)) : m("", !0), v(e, {
|
|
403
|
+
"loading-text": l.value ? void 0 : A(j)("Loading content ..."),
|
|
404
|
+
"error-text": u.value ? A(j)("This episode is not available for (re)listening") : void 0
|
|
405
|
+
}, null, 8, ["loading-text", "error-text"])]));
|
|
406
|
+
}
|
|
407
|
+
});
|
|
408
|
+
//#endregion
|
|
409
|
+
export { X as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, r as t } from "./PlayerStore-
|
|
2
|
-
import { t as n } from "./ProgressBar-
|
|
1
|
+
import { n as e, r as t } from "./PlayerStore-C4T1vCHz.mjs";
|
|
2
|
+
import { t as n } from "./ProgressBar-h-6hD6C6.mjs";
|
|
3
3
|
import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineAsyncComponent as l, defineComponent as u, openBlock as d, toDisplayString as f, unref as p } from "vue";
|
|
4
4
|
//#region src/components/display/podcasts/PodcastPlayBar.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var m = { class: "d-flex align-items-center" }, h = { class: "d-flex align-items-center podcast-play-bar flex-grow-1" }, g = { class: "me-2" }, _ = { class: "position-relative flex-grow-1" }, v = { class: "ms-2" }, y = /* @__PURE__ */ u({
|
|
@@ -15,7 +15,7 @@ var m = { class: "d-flex align-items-center" }, h = { class: "d-flex align-items
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
setup(u) {
|
|
18
|
-
let y = l(() => import("./PodcastPlayBasicButton-
|
|
18
|
+
let y = l(() => import("./PodcastPlayBasicButton-BYpnGOO1.mjs")), b = u, x = e(), S = r(() => b.podcast?.podcastId === x.playerPodcast?.podcastId && x.playerElapsed ? x.playerElapsed * 100 : 0), C = r(() => b.podcast?.podcastId === x.playerPodcast?.podcastId && x.playerElapsed && x.playerElapsed > 0 && x.playerTotal && x.playerTotal > 0 ? t.formatDuration(Math.round(x.playerElapsed * x.playerTotal)) : "00:00"), w = r(() => t.formatDuration(Math.round(b.podcast.duration / 1e3)));
|
|
19
19
|
function T(e) {
|
|
20
20
|
if (!x.playerPodcast || b.podcast?.podcastId !== x.playerPodcast.podcastId) return;
|
|
21
21
|
let t = e.currentTarget.getBoundingClientRect(), n = e.currentTarget.clientWidth, r = (e.clientX - t.left) / n;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./PlayerStore-
|
|
1
|
+
import { n as e } from "./PlayerStore-C4T1vCHz.mjs";
|
|
2
2
|
import { computed as t, createBlock as n, createElementBlock as r, defineComponent as i, openBlock as a, unref as o } from "vue";
|
|
3
3
|
import { useI18n as s } from "vue-i18n";
|
|
4
4
|
import c from "vue-material-design-icons/Play.vue";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { E as t, u as n } from "./classicApi-DR5O2l0-.mjs";
|
|
3
3
|
import { t as r } from "./useResizePhone-4hSkK5pa.mjs";
|
|
4
|
-
import { n as i, r as a } from "./PlayerStore-
|
|
4
|
+
import { n as i, r as a } from "./PlayerStore-C4T1vCHz.mjs";
|
|
5
5
|
import { t as o } from "./podcast-BoNHyuLe.mjs";
|
|
6
6
|
import { t as ee } from "./PlayVideoIcon-BhTQpMyL.mjs";
|
|
7
7
|
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, defineAsyncComponent as p, defineComponent as m, normalizeClass as h, openBlock as g, ref as _, resolveDynamicComponent as v, toDisplayString as y, unref as b, withModifiers as x } from "vue";
|
|
@@ -49,7 +49,7 @@ var D = {
|
|
|
49
49
|
},
|
|
50
50
|
setup(e) {
|
|
51
51
|
w.extend(te);
|
|
52
|
-
let m = p(() => import("./PodcastIsPlaying-
|
|
52
|
+
let m = p(() => import("./PodcastIsPlaying-mWJppqAl.mjs")), N = e, P = _(""), { t: F } = S(), I = i(), L = C(), { isPhone: R } = r(), z = c(() => N.fetchConference?.videoProfile?.includes("video_") && o.ReadyToRecord === N.podcast.processingStatus || "video" in N.podcast && N.podcast.video?.videoId !== void 0 || "videoId" in N.podcast && N.podcast.videoId !== void 0), B = c(() => N.fetchConference !== void 0 && N.fetchConference.toString() !== "null" && I.playerLive?.conferenceId === N.fetchConference.conferenceId), V = c(() => I.playerPodcast?.podcastId === N.podcast.podcastId || B.value), H = c(() => N.fetchConference === void 0 && U.value), U = c(() => N.podcast?.conferenceId !== void 0 && N.podcast.conferenceId !== 0 && o.ReadyToRecord === N.podcast.processingStatus), W = c(() => N.podcast !== void 0 && !1 !== N.podcast.valid && N.podcast.availability.visibility !== void 0 && N.podcast.availability.visibility), G = c(() => R.value ? 36 : P.value === "audio" ? 50 : 40), K = c(() => !H.value && o.Planned !== N.podcast.processingStatus), q = c(() => N.justButtons !== !0 && !(W.value && !H.value && o.Planned !== N.podcast.processingStatus) || o.Processing === N.podcast.processingStatus && N.showProcessing), J = c(() => H.value ? T : o.Ready === N.podcast.processingStatus || N.fetchConference ? N.podcast.valid ? !N.podcast.availability.visibility && N.podcast.availability.date ? T : oe : ie : o.Planned === N.podcast.processingStatus || o.Processing === N.podcast.processingStatus ? ae : o.Cancelled === N.podcast.processingStatus ? E : ne), Y = c(() => H.value ? F("Podcast linked to waiting live") : o.Ready === N.podcast.processingStatus || N.fetchConference ? N.podcast.valid ? !N.podcast.availability.visibility && N.podcast.availability.date ? F("Podcast publish in future") : F("Podcast no visible") : F("Podcast to validate") : o.Planned === N.podcast.processingStatus || o.Processing === N.podcast.processingStatus ? F("Podcast in process") : o.Cancelled === N.podcast.processingStatus ? F("Podcast in cancelled status") : F("Podcast in error")), X = c(() => N.fetchConference !== void 0 && N.fetchConference.conferenceId !== -1 && (N.fetchConference.status === "RECORDING" || N.fetchConference.status === "PENDING")), Z = c(() => a.formatDuration(Math.round(N.podcast.duration / 1e3))), Q = c(() => !N.podcast || N.podcast.duration <= 1 ? "" : w.duration({ milliseconds: N.podcast.duration }).toISOString());
|
|
53
53
|
async function $(e) {
|
|
54
54
|
if (H.value) return;
|
|
55
55
|
if (V.value && e === I.playerVideo) {
|