@saooti/octopus-sdk 42.0.2 → 42.0.3
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-CRM10skn.mjs} +5 -5
- package/dist/{CategoryFilter-BYF5Aj66.mjs → CategoryFilter-Brp-KFg7.mjs} +3 -3
- package/dist/{CategoryList-Bl4HF6IV.mjs → CategoryList-CMOJ2PnA.mjs} +1 -1
- package/dist/{CategoryPage-D31bXPFd.mjs → CategoryPage-Bc37UcZy.mjs} +2 -2
- package/dist/{ChapteringModal-DeJlPZqt.mjs → ChapteringModal-CyH6QLeE.mjs} +1 -1
- package/dist/{CheckIdentityModal-C0mQhO1Y.mjs → CheckIdentityModal-CHV9trKX.mjs} +2 -2
- package/dist/{ClipboardModal-CZMe6yzC.mjs → ClipboardModal-B0Jt9ME7.mjs} +1 -1
- package/dist/{CommentInput-CJQJGuGh.mjs → CommentInput-ChEnqzNa.mjs} +4 -4
- package/dist/{CommentItem-BMdLtMSM.mjs → CommentItem-BE3-5CFl.mjs} +3 -3
- package/dist/{CommentList-CiyIfFVR.mjs → CommentList-B0fDtqIH.mjs} +2 -2
- package/dist/{CommentMoreActions-LkviE-Ys.mjs → CommentMoreActions-DFTHxzHB.mjs} +3 -3
- package/dist/{CommentName-Dd6_i8Aq.mjs → CommentName-ByE5TV4u.mjs} +2 -2
- package/dist/{CommentParentInfo-B1uIVuWE.mjs → CommentParentInfo-DyzP495k.mjs} +1 -1
- package/dist/{CommentPlayer-6khGC239.mjs → CommentPlayer-2eRUFpll.mjs} +2 -2
- package/dist/{CommentSection-DN2hTntd.mjs → CommentSection-DQx3qX6H.mjs} +3 -3
- package/dist/{CommentStore-ClWYnxlP.mjs → CommentStore-C4lkShsH.mjs} +15 -15
- package/dist/{ContractPreviewModal-D09ZZRzk.mjs → ContractPreviewModal-BxOE6aiU.mjs} +2 -2
- package/dist/{DownloadPodcastButton-CllFnfRd.mjs → DownloadPodcastButton-Dcgt8FfA.mjs} +2 -2
- package/dist/{EditCommentModal-DdQ0VbJD.mjs → EditCommentModal-K6D1-4gU.mjs} +1 -1
- package/dist/{EmissionGroupChooser-Zcybs9xf.mjs → EmissionGroupChooser-B0UXS-d_.mjs} +1 -1
- package/dist/{EmissionInlineList-BApYL38i.mjs → EmissionInlineList-CRJ4pIxb.mjs} +5 -5
- package/dist/{EmissionItem-Drvrx9dD.mjs → EmissionItem-8WTkKsCa.mjs} +4 -4
- package/dist/{EmissionList-CTf4dsj_.mjs → EmissionList-ucpW_ejS.mjs} +4 -4
- package/dist/{EmissionPage-H6mau7wr.mjs → EmissionPage-B8Nlb52Y.mjs} +8 -8
- package/dist/{EmissionPlayerItem-C0_Fu8k1.mjs → EmissionPlayerItem-BzuNcAsq.mjs} +3 -3
- package/dist/{EmissionPresentationItem-CoIUFFKW.mjs → EmissionPresentationItem-ZU93UKW2.mjs} +1 -1
- package/dist/{EmissionPresentationList-CkCczWdK.mjs → EmissionPresentationList-LY-FEWC2.mjs} +3 -3
- package/dist/{EmissionsPage-DjdZ-b2g.mjs → EmissionsPage-wzpDLmzO.mjs} +4 -4
- package/dist/{Error403Page-CZ9ePMyv.mjs → Error403Page-DLaOyud0.mjs} +2 -2
- package/dist/{FooterGarSection-BWvyWYzd.mjs → FooterGarSection-BwFRytaV.mjs} +4 -4
- package/dist/{FooterSection-MLB3MbQn.mjs → FooterSection-VGdzyEZf.mjs} +2 -2
- package/dist/{HomeDropdown-F5S8UGGq.mjs → HomeDropdown-CNSPuJot.mjs} +2 -2
- package/dist/{HomePage-OvL6x1m2.mjs → HomePage-CGaCXQBm.mjs} +3 -3
- package/dist/{LikeSection-C5hS-dkj.mjs → LikeSection-D_q391TU.mjs} +3 -3
- package/dist/{ListPaginate--S_WMdzs.mjs → ListPaginate-B-PYbP3K.mjs} +2 -2
- package/dist/{LiveHorizontalList-DcjX6JyT.mjs → LiveHorizontalList-CDIDwBWJ.mjs} +3 -3
- package/dist/{LiveList-rBKbHV1z.mjs → LiveList-Dvxk12Cc.mjs} +12 -12
- package/dist/{LivesPage-CBfjbjJS.mjs → LivesPage-BByFveAd.mjs} +2 -2
- package/dist/{MapPage-DPlAyhb2.mjs → MapPage-w7hUFr9g.mjs} +1 -1
- package/dist/{MobileMenu-Bstcgl68.mjs → MobileMenu-D19pTUkT.mjs} +3 -3
- package/dist/{NewsletterModal-CjqEAdDc.mjs → NewsletterModal-BekCWfJB.mjs} +1 -1
- package/dist/{OrganisationChooser-CucAu_Zo.mjs → OrganisationChooser-ywDaRPU9.mjs} +6 -6
- package/dist/{OrganisationChooserLight-BF5X41Z_.mjs → OrganisationChooserLight-CMNA-YR5.mjs} +2 -2
- package/dist/{PageNotFound-DZE0j-zQ.mjs → PageNotFound-kY0Vk237.mjs} +2 -2
- package/dist/{ParticipantInlineList-DQIv3BCY.mjs → ParticipantInlineList-n3IcMXXU.mjs} +4 -4
- package/dist/{ParticipantItem-DjCj0PAR.mjs → ParticipantItem-CoS5qVct.mjs} +3 -3
- package/dist/{ParticipantPage-DKgl3Itz.mjs → ParticipantPage-CqwpZDjv.mjs} +6 -6
- package/dist/{ParticipantsPage-OV4-0XDV.mjs → ParticipantsPage-BzZFxuAX.mjs} +6 -6
- package/dist/{PlayerAnonymousModal-CN9K91v7.mjs → PlayerAnonymousModal-Clf2m_PO.mjs} +2 -2
- package/dist/{PlayerCompact-C4Z3zX1V.mjs → PlayerCompact-ff2-h0Ys.mjs} +3 -3
- package/dist/{PlayerComponent-BvFCwOZH.mjs → PlayerComponent-BIZ29VAP.mjs} +52 -52
- package/dist/{PlayerLarge-Dreq0MkF.mjs → PlayerLarge-C958Fkm_.mjs} +5 -5
- package/dist/{PlayerPlayButton-DwK-Xwxw.mjs → PlayerPlayButton-DL0e7DAU.mjs} +4 -4
- package/dist/{PlayerProgressBar-CSPhQUMv.mjs → PlayerProgressBar-DK9ClWaE.mjs} +2 -2
- package/dist/{PlayerStore-oWt4z_Pm.mjs → PlayerStore-DlQZRxsf.mjs} +1 -1
- package/dist/{PlayerVideo-B-yey4sP.mjs → PlayerVideo-BRkaIXH7.mjs} +3 -3
- package/dist/{PlayerVideoDigiteka-Be7q9IOr.mjs → PlayerVideoDigiteka-CNfWw0hs.mjs} +2 -2
- package/dist/{PlayerVideoHls-Bpr0t84b.mjs → PlayerVideoHls-Czu2Xvob.mjs} +3 -3
- package/dist/{PlaylistPage-DsqLnr3q.mjs → PlaylistPage-BV_3q5Pg.mjs} +8 -8
- package/dist/{PlaylistsPage-D-AmEXaF.mjs → PlaylistsPage-g82vXz51.mjs} +6 -6
- package/dist/{PodcastFilterList-D0OHATs3.mjs → PodcastFilterList-CpH9ALL0.mjs} +2 -2
- package/dist/{PodcastImage-Fq6P5R4t.mjs → PodcastImage-Kr7qE9PW.mjs} +3 -3
- package/dist/{PodcastInlineList-S8FyZaKh.mjs → PodcastInlineList-CSPSuPXn.mjs} +1 -1
- package/dist/{PodcastInlineListTemplate-CSNYVfeg.mjs → PodcastInlineListTemplate-CBGWengl.mjs} +3 -3
- package/dist/{PodcastIsPlaying-D1Y0PrPe.mjs → PodcastIsPlaying-CvZMCgrV.mjs} +1 -1
- package/dist/{PodcastItem-CRQzSYa8.mjs → PodcastItem-B6xZ9spO.mjs} +26 -25
- package/dist/{PodcastList-jSaSktGX.mjs → PodcastList-DM2kODR9.mjs} +5 -5
- package/dist/{PodcastList-Q7UB5Jvo.mjs → PodcastList-DN7U6G3x.mjs} +10 -10
- package/dist/PodcastPage-ClPlzjJY.mjs +409 -0
- package/dist/{PodcastPlayBar-CRwY1aJj.mjs → PodcastPlayBar-C-7lR6Or.mjs} +3 -3
- package/dist/{PodcastPlayBasicButton-DxyYfLdG.mjs → PodcastPlayBasicButton-akh9XtTL.mjs} +1 -1
- package/dist/{PodcastPlayButton-Cp8DrQtU.mjs → PodcastPlayButton-CqjJC_GT.mjs} +3 -3
- package/dist/{PodcastPlaylistInlineList-BFwIvuIS.mjs → PodcastPlaylistInlineList-DTJpiuMG.mjs} +4 -4
- package/dist/{PodcastPresentationList-Ds_Xziyu.mjs → PodcastPresentationList-B0D9wjP2.mjs} +8 -8
- package/dist/{PodcastProgressBar-Dy18FXco.mjs → PodcastProgressBar-CIf_zX6H.mjs} +3 -3
- package/dist/{PodcastRawTranscript-Lmhj4ZcK.mjs → PodcastRawTranscript-EqIv2k5F.mjs} +2 -2
- package/dist/{PodcastRubriqueList-PdtD_3e_.mjs → PodcastRubriqueList-DCchX3n9.mjs} +2 -2
- package/dist/{PodcastSwiperList-CsD6U7nC.mjs → PodcastSwiperList-PSwifeRx.mjs} +4 -4
- package/dist/{PodcastmakerHeader-BM0dL0mN.mjs → PodcastmakerHeader-DpCkSoQE.mjs} +1 -1
- package/dist/{PodcastsPage-DFlL6kGB.mjs → PodcastsPage-CSWymx6J.mjs} +4 -4
- package/dist/{ProductorSearch-14Fsq-1F.mjs → ProductorSearch-l_LHvS3J.mjs} +2 -2
- package/dist/{ProgressBar-ict3WjO9.mjs → ProgressBar-CB9kEepm.mjs} +1 -1
- package/dist/{QrCode-DFVyJ6jp.mjs → QrCode-D-3wdYEC.mjs} +1 -1
- package/dist/{QrCodeModal-CmSioVji.mjs → QrCodeModal-BAk2VQzU.mjs} +1 -1
- package/dist/{RadioCurrently-B4l5Zpqx.mjs → RadioCurrently-r21pyYBe.mjs} +3 -3
- package/dist/{RadioHistory-DGvnUjt5.mjs → RadioHistory-BNqw7gzG.mjs} +2 -2
- package/dist/{RadioImage-Ch0YOZpr.mjs → RadioImage-IbBgMDUL.mjs} +4 -4
- package/dist/{RadioList-BekzGcfZ.mjs → RadioList-CLjDwo6u.mjs} +4 -4
- package/dist/{RadioPage-YaFXvWH3.mjs → RadioPage-Bx4i1Mpi.mjs} +4 -4
- package/dist/{RadioPlanning-Dx14nK5H.mjs → RadioPlanning-Br27Ttix.mjs} +2 -2
- package/dist/{RadioProgressBar-w1nQ8czX.mjs → RadioProgressBar-Cb3AfYLQ.mjs} +1 -1
- package/dist/{RecaptchaModal-BF9ULSTd.mjs → RecaptchaModal-CxtAdOpC.mjs} +1 -1
- package/dist/{ReportAbuseModal-CwGBRV_C.mjs → ReportAbuseModal-iggcskxa.mjs} +3 -3
- package/dist/{RightsIndicator-CpIxnsUR.mjs → RightsIndicator-D_7amy65.mjs} +1 -1
- package/dist/{RightsWrapper-D1qVfCcg.mjs → RightsWrapper-Bo6Xza5_.mjs} +2 -2
- package/dist/{RubriqueFilter-DdXpISEj.mjs → RubriqueFilter-CJDRNtiD.mjs} +2 -2
- package/dist/{RubriqueList-Bf3kNyk9.mjs → RubriqueList-CISdSdFN.mjs} +2 -2
- package/dist/{RubriquePage-4OHOajcE.mjs → RubriquePage-C8CF_iFS.mjs} +4 -4
- package/dist/{SearchPage-BJlU-BcT.mjs → SearchPage-DvLjGwKI.mjs} +2 -2
- package/dist/{ShareAnonymous-B41ATCRg.mjs → ShareAnonymous-GQ600Owz.mjs} +3 -3
- package/dist/{ShareModalPlayer-BalJpjQZ.mjs → ShareModalPlayer-pB-HAwc-.mjs} +1 -1
- package/dist/{ShareNewsletter-f03J6RoH.mjs → ShareNewsletter-Cdyw0GB9.mjs} +2 -2
- package/dist/{SharePlayer-elOCoCRi.mjs → SharePlayer-XribbnSm.mjs} +2 -2
- package/dist/{SharePlayerRadio-B9oLzSBG.mjs → SharePlayerRadio-Co0G90iE.mjs} +2 -2
- package/dist/{SharePlayerTypes-AWfa6Qz_.mjs → SharePlayerTypes-Crlc6fV2.mjs} +1 -1
- package/dist/{ShareSocialsButtons-Bwxad4Y7.mjs → ShareSocialsButtons-oPwpAJiG.mjs} +2 -2
- package/dist/{SimpleLayout-CAFYRTMf.mjs → SimpleLayout-DO6e66-u.mjs} +2 -2
- package/dist/SmartLinkPage-Bfe3J2rs.mjs +131 -0
- package/dist/{SubscribeButtons-NKhPZ-sJ.mjs → SubscribeButtons-BsUSeVE2.mjs} +2 -2
- package/dist/{SwiperList-CxSo0qdA.mjs → SwiperList-05VP6fwg.mjs} +1 -1
- package/dist/{TagList-DsQde007.mjs → TagList-CpH_cvNv.mjs} +1 -1
- package/dist/{TagPage-DdSPU923.mjs → TagPage-B7mbRbqr.mjs} +3 -3
- package/dist/{TopBar-CpjDKdG9.mjs → TopBar-DljepaOt.mjs} +6 -6
- package/dist/{UserButtonContent-COb8p914.mjs → UserButtonContent-B20fPV-J.mjs} +2 -2
- package/dist/{VideoModuleBox-Dz6dkVFU.mjs → VideoModuleBox-DJdYQGMX.mjs} +1 -1
- package/dist/VideoPage-Bllo2Q-Y.mjs +148 -0
- package/dist/{classicApi-Cos2uZQj.mjs → classicApi-CT9k0xvp.mjs} +234 -257
- package/dist/{downloadHelper-0s6Woxx4.mjs → downloadHelper-DkfB6XQg.mjs} +1 -1
- package/dist/index.mjs +83 -82
- package/dist/tests.mjs +2 -2
- package/dist/{useAdvancedParamInit-CK1S2A-5.mjs → useAdvancedParamInit-Y3eC3aep.mjs} +5 -5
- package/dist/useDayjs-ayZHsoc2.mjs +28 -0
- package/dist/{useErrorHandler-DAWwxGjG.mjs → useErrorHandler-Chh24Net.mjs} +1 -1
- package/dist/{useImageProxy-Bp5COBoB.mjs → useImageProxy-C_wlfbSP.mjs} +1 -1
- package/dist/{useOrgaComputed-BfGR8BOq.mjs → useOrgaComputed-CmlIJ5XC.mjs} +1 -1
- package/dist/{usePlayerLogicProgress-Bp5H95rW.mjs → usePlayerLogicProgress-B0mjPIEj.mjs} +2 -2
- package/dist/{usePodcastView-Cpwi9Cpz.mjs → usePodcastView-wkow7peQ.mjs} +4 -3
- package/dist/{usePresentationItem-DOW0xnDy.mjs → usePresentationItem-C37nsJnQ.mjs} +20 -19
- package/dist/{useRights-BuILddIF.mjs → useRights-CXa0yDii.mjs} +1 -1
- package/dist/{useRubriquesFilterComputed-CDhO1bNi.mjs → useRubriquesFilterComputed-goozXeIB.mjs} +1 -1
- package/dist/{useRubriquesFilterParam-BAM07jph.mjs → useRubriquesFilterParam-CrsdD0Oj.mjs} +1 -1
- package/dist/{useSharePlatforms-PyN99oER.mjs → useSharePlatforms-B7Xnf_If.mjs} +5 -5
- package/dist/{useSimplePageParam-B6eU_F2z.mjs → useSimplePageParam-D6TmZIPG.mjs} +1 -1
- package/dist/{useTranslation-CQT91TGE.mjs → useTranslation-D3t40JaE.mjs} +14 -14
- package/dist/{usefetchRadioData-KflsZpkI.mjs → usefetchRadioData-knVpkZCB.mjs} +1 -1
- package/package.json +1 -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
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { E as e, h as t, l as n, p as r, u as i, y as a } from "./classicApi-CT9k0xvp.mjs";
|
|
2
|
+
import { n as o } from "./PlayerStore-DlQZRxsf.mjs";
|
|
3
|
+
import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
4
|
+
import { t as c } from "./displayHelper-DQtoqc_6.mjs";
|
|
5
|
+
import { t as ee } from "./useImageProxy-C_wlfbSP.mjs";
|
|
6
|
+
import { r as l } from "./useSharePlatforms-B7Xnf_If.mjs";
|
|
7
|
+
import { t as u } from "./useSeoTitleUrl-UfPXDCPa.mjs";
|
|
8
|
+
import { t as d } from "./useSharePath-D9G8Jdlb.mjs";
|
|
9
|
+
import "./logo_saooti_play_black-Doe3es2H.mjs";
|
|
10
|
+
import { Fragment as f, computed as p, createBlock as te, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, normalizeStyle as b, onMounted as x, openBlock as S, ref as C, renderList as ne, resolveDirective as re, resolveDynamicComponent as ie, toDisplayString as w, unref as T, withDirectives as E } from "vue";
|
|
11
|
+
import D from "vue-material-design-icons/Play.vue";
|
|
12
|
+
//#region src/components/pages/SmartLinkPage.vue?vue&type=script&setup=true&lang.ts
|
|
13
|
+
var O = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "background"
|
|
16
|
+
}, k = ["src"], A = { key: 1 }, j = { class: "content" }, M = { class: "left" }, N = {
|
|
17
|
+
width: "250",
|
|
18
|
+
height: "250",
|
|
19
|
+
class: "img-box",
|
|
20
|
+
"aria-hidden": "true",
|
|
21
|
+
alt: ""
|
|
22
|
+
}, P = ["innerHTML"], F = { class: "platforms" }, I = ["onClick"], L = { class: "platform-label" }, R = { class: "footer" }, z = {
|
|
23
|
+
target: "_blank",
|
|
24
|
+
href: "/"
|
|
25
|
+
}, B = ["href"], ae = { key: 0 }, V = { key: 1 }, H = /*#__PURE__*/ s(/* @__PURE__ */ y({
|
|
26
|
+
__name: "SmartLinkPage",
|
|
27
|
+
props: {
|
|
28
|
+
playlistId: {},
|
|
29
|
+
emissionId: {}
|
|
30
|
+
},
|
|
31
|
+
setup(s) {
|
|
32
|
+
let { updatePathParams: y } = u(), { useProxyImageUrl: H } = ee(), { getPlatformsWithLinks: U, initPlatforms: W } = l(), G = C(null);
|
|
33
|
+
x(async () => {
|
|
34
|
+
s.playlistId ? (G.value = await r.get(s.playlistId), W(G.value.organisation.id)) : s.emissionId ? (G.value = await a.get(s.emissionId), W(G.value.orga.id)) : console.error("No content defined"), y(K.value), oe(), de();
|
|
35
|
+
});
|
|
36
|
+
let K = p(() => s.playlistId ? G.value.title : s.emissionId ? G.value.name : ""), q = p(() => {
|
|
37
|
+
let t = G.value.description;
|
|
38
|
+
if (e.smartLink.showOnlyFirstParagraphInDescription === !0) {
|
|
39
|
+
let e = t.match(/^(.+?(?:\n+.*?)*<\/p>)/);
|
|
40
|
+
e && e.length >= 2 && (t = e[1]);
|
|
41
|
+
}
|
|
42
|
+
return c.urlify(t);
|
|
43
|
+
}), J = p(() => {
|
|
44
|
+
if (G.value) {
|
|
45
|
+
if (s.playlistId) return G.value.organisation;
|
|
46
|
+
if (s.emissionId) return G.value.orga;
|
|
47
|
+
}
|
|
48
|
+
}), Y = C(null), { getSharePath: X } = d();
|
|
49
|
+
async function oe() {
|
|
50
|
+
J.value && (Y.value = await t.getAttributes(J.value.id));
|
|
51
|
+
}
|
|
52
|
+
let Z = p(() => {
|
|
53
|
+
if (s.playlistId) return X({
|
|
54
|
+
name: "playlist",
|
|
55
|
+
params: { playlistId: s.playlistId }
|
|
56
|
+
}, Y.value);
|
|
57
|
+
if (s.emissionId) return X({
|
|
58
|
+
name: "emission",
|
|
59
|
+
params: { emissionId: s.emissionId }
|
|
60
|
+
}, Y.value);
|
|
61
|
+
}), se = p(() => G.value ? U(G.value.annotations) : []);
|
|
62
|
+
function ce(e) {
|
|
63
|
+
return { "--gradient-color": e.color };
|
|
64
|
+
}
|
|
65
|
+
function le(e) {
|
|
66
|
+
window.open(e, "_blank").focus();
|
|
67
|
+
}
|
|
68
|
+
let ue = o(), Q = C(null);
|
|
69
|
+
async function de() {
|
|
70
|
+
if (s.playlistId) {
|
|
71
|
+
let e = await r.getContent(s.playlistId);
|
|
72
|
+
if (e.length > 0) {
|
|
73
|
+
let t = e[e.length - 1].podcastId;
|
|
74
|
+
Q.value = await i.get(t);
|
|
75
|
+
}
|
|
76
|
+
} else if (s.emissionId) {
|
|
77
|
+
let e = await i.searchFull({
|
|
78
|
+
emissionId: s.emissionId,
|
|
79
|
+
sort: n.DATE,
|
|
80
|
+
size: 1
|
|
81
|
+
});
|
|
82
|
+
e.count > 0 && (Q.value = e.result[0]);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
function $() {
|
|
86
|
+
Q.value && ue.playerPlay(Q.value);
|
|
87
|
+
}
|
|
88
|
+
return (e, t) => {
|
|
89
|
+
let n = re("lazy");
|
|
90
|
+
return S(), h(f, null, [G.value ? (S(), h("div", O, [g("img", { src: T(H)(G.value.imageUrl, "1600") }, null, 8, k)])) : m("", !0), G.value ? (S(), h("article", A, [
|
|
91
|
+
g("div", j, [
|
|
92
|
+
g("div", M, [E(g("img", N, null, 512), [[n, T(H)(G.value.imageUrl, "250")]]), Q.value ? (S(), h("button", {
|
|
93
|
+
key: 0,
|
|
94
|
+
class: "btn btn-primary play-button pe-3 hide-phone",
|
|
95
|
+
onClick: $
|
|
96
|
+
}, [v(D, { class: "me-2" }), _(" " + w(e.$t("SmartLink - Listen to latest episode")), 1)])) : m("", !0)]),
|
|
97
|
+
g("h1", null, w(K.value), 1),
|
|
98
|
+
g("div", { innerHTML: q.value }, null, 8, P),
|
|
99
|
+
Q.value ? (S(), h("button", {
|
|
100
|
+
key: 0,
|
|
101
|
+
class: "btn btn-primary play-button pe-3 mt-4 show-phone-flex",
|
|
102
|
+
onClick: $
|
|
103
|
+
}, [v(D, { class: "me-2" }), _(" " + w(e.$t("SmartLink - Listen to latest episode")), 1)])) : m("", !0)
|
|
104
|
+
]),
|
|
105
|
+
g("div", F, [(S(!0), h(f, null, ne(se.value, (e) => (S(), h("div", {
|
|
106
|
+
key: e.name,
|
|
107
|
+
class: "platform-btn"
|
|
108
|
+
}, [g("button", {
|
|
109
|
+
class: "btn w-100",
|
|
110
|
+
style: b(ce(e)),
|
|
111
|
+
onClick: (t) => le(e.url)
|
|
112
|
+
}, [(S(), te(ie(e.icon), {
|
|
113
|
+
size: 36,
|
|
114
|
+
"fill-color": e.color,
|
|
115
|
+
class: "me-2"
|
|
116
|
+
}, null, 8, ["fill-color"])), g("span", L, w(e.title), 1)], 12, I)]))), 128))]),
|
|
117
|
+
g("div", R, [g("a", z, [g("span", null, w(e.$t("SmartLink - Made by")), 1), t[0] ||= g("img", {
|
|
118
|
+
src: "/img/logo_saooti_play_black.svg",
|
|
119
|
+
height: "24",
|
|
120
|
+
class: "ms-2"
|
|
121
|
+
}, null, -1)]), Z.value ? (S(), h("a", {
|
|
122
|
+
key: 0,
|
|
123
|
+
target: "_blank",
|
|
124
|
+
href: Z.value
|
|
125
|
+
}, [s.playlistId ? (S(), h("span", ae, w(e.$t("SmartLink - To playlist on podcastmaker", { organisation: J.value.name })), 1)) : s.emissionId ? (S(), h("span", V, w(e.$t("SmartLink - To emission on podcastmaker", { organisation: J.value.name })), 1)) : m("", !0)], 8, B)) : m("", !0)])
|
|
126
|
+
])) : m("", !0)], 64);
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
}), [["__scopeId", "data-v-0ccb517f"]]);
|
|
130
|
+
//#endregion
|
|
131
|
+
export { H as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { w as t } from "./classicApi-CT9k0xvp.mjs";
|
|
3
3
|
import { t as n } from "./useResizePhone-4hSkK5pa.mjs";
|
|
4
4
|
import { t as r } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
5
|
-
import { r as i } from "./useSharePlatforms-
|
|
5
|
+
import { r as i } from "./useSharePlatforms-B7Xnf_If.mjs";
|
|
6
6
|
import { t as a } from "./ClassicPopover-6uo-YUgO.mjs";
|
|
7
7
|
import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, normalizeClass as h, onMounted as g, openBlock as _, renderList as v, resolveDynamicComponent as y, toDisplayString as b, unref as x, vShow as S, withCtx as C, withDirectives as w } from "vue";
|
|
8
8
|
import T from "vue-material-design-icons/Plus.vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
2
|
import { t } from "./domHelper-BPw2kGCL.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { E as n } from "./classicApi-CT9k0xvp.mjs";
|
|
4
4
|
import { t as r } from "./useResizePhone-4hSkK5pa.mjs";
|
|
5
5
|
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, getCurrentInstance as d, nextTick as f, onMounted as p, openBlock as m, ref as h, renderList as g, renderSlot as _, unref as v, useTemplateRef as y, watch as b, withCtx as x } from "vue";
|
|
6
6
|
import { Swiper as S, SwiperSlide as C } from "swiper/vue";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./useTagOf-Btweq3v2.mjs";
|
|
2
|
-
import { t } from "./useSimplePageParam-
|
|
2
|
+
import { t } from "./useSimplePageParam-D6TmZIPG.mjs";
|
|
3
3
|
import { t as n } from "./useSeoTitleUrl-UfPXDCPa.mjs";
|
|
4
|
-
import { t as r } from "./PodcastList-
|
|
4
|
+
import { t as r } from "./PodcastList-DN7U6G3x.mjs";
|
|
5
5
|
import { t as i } from "./ouest_france_logo-9dPaEPNA.mjs";
|
|
6
6
|
import { computed as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineAsyncComponent as d, defineComponent as f, isRef as p, openBlock as m, ref as h, toDisplayString as g, unref as _, watch as v } from "vue";
|
|
7
7
|
import { useI18n as y } from "vue-i18n";
|
|
@@ -43,7 +43,7 @@ var b = {
|
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
setup(i) {
|
|
46
|
-
let f = d(() => import("./ProductorSearch-
|
|
46
|
+
let f = d(() => import("./ProductorSearch-l_LHvS3J.mjs").then((e) => e.n)), S = i, C = h(""), w = h(!1), { searchPattern: T, organisationId: E, searchMinSize: D, paginateFirst: O, isInit: k } = t(S), { isOuestFranceTag: A, formateOfTag: j } = e(), { updatePathParams: M } = n(), { t: N } = y(), P = a(() => E.value ? [E.value] : []), F = a(() => {
|
|
47
47
|
if (D.value.length) return "SCORE";
|
|
48
48
|
});
|
|
49
49
|
return v(() => S.tag, async () => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as e, i as t, r as n } from "./classicApi-CT9k0xvp.mjs";
|
|
2
2
|
import { t as r } from "./useResizePhone-4hSkK5pa.mjs";
|
|
3
|
-
import { t as i } from "./useImageProxy-
|
|
3
|
+
import { t as i } from "./useImageProxy-C_wlfbSP.mjs";
|
|
4
4
|
import { t as a } from "./GeneralStore-Darfv4af.mjs";
|
|
5
5
|
import { t as o } from "./ClassicPopover-6uo-YUgO.mjs";
|
|
6
|
-
import { t as s } from "./useRubriquesFilterComputed-
|
|
7
|
-
import { t as c } from "./HomeDropdown-
|
|
6
|
+
import { t as s } from "./useRubriquesFilterComputed-goozXeIB.mjs";
|
|
7
|
+
import { t as c } from "./HomeDropdown-CNSPuJot.mjs";
|
|
8
8
|
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, defineAsyncComponent as _, defineComponent as v, mergeProps as y, normalizeClass as b, normalizeStyle as x, onBeforeUnmount as S, onMounted as C, openBlock as w, ref as T, renderList as E, resolveComponent as D, toDisplayString as O, unref as k, vShow as A, watch as j, withCtx as M, withDirectives as N } from "vue";
|
|
9
9
|
import { useI18n as P } from "vue-i18n";
|
|
10
10
|
import F from "axios";
|
|
@@ -32,7 +32,7 @@ var R = ["src"], z = ["src"], B = {
|
|
|
32
32
|
options: {}
|
|
33
33
|
},
|
|
34
34
|
setup(r) {
|
|
35
|
-
let d = _(() => import("./MobileMenu-
|
|
35
|
+
let d = _(() => import("./MobileMenu-D19pTUkT.mjs")), v = r, { t: x } = P(), { useProxyImageUrl: S } = i(), { rubriqueQueryParam: C } = s(), T = t(), j = a(), F = n(), q = u(() => v.isPhone || Y.value), J = u(() => Y.value && v.scrolled && !v.isPhone), Y = u(() => v.titleDisplay.length !== 0), X = u(() => [
|
|
36
36
|
{
|
|
37
37
|
title: x("Radio & Live"),
|
|
38
38
|
routeName: "lives",
|
|
@@ -197,7 +197,7 @@ var R = ["src"], z = ["src"], B = {
|
|
|
197
197
|
__name: "TopBar",
|
|
198
198
|
props: { options: {} },
|
|
199
199
|
setup(e) {
|
|
200
|
-
let n = _(() => import("./SubscribeButtons-
|
|
200
|
+
let n = _(() => import("./SubscribeButtons-BsUSeVE2.mjs").then((e) => e.n)), o = T(!1), s = T(0), c = T(0), h = T(""), v = T(!1), { isPhone: y, windowWidth: E } = r(), { useProxyImageUrl: D } = i(), M = t(), P = a(), I = u(() => P.contentToDisplay?.podcastId ? P.contentToDisplay.emission.name : P.contentToDisplay?.playlistId ? P.contentToDisplay.title : P.contentToDisplay?.emissionId || P.contentToDisplay?.id ? P.contentToDisplay.name : ""), L = u(() => P.contentToDisplay?.podcastId ? P.contentToDisplay.emission : P.contentToDisplay?.emissionId || P.contentToDisplay?.playlistId ? P.contentToDisplay : null);
|
|
201
201
|
j(() => P.contentToDisplay, async () => {
|
|
202
202
|
if (!P.contentToDisplay) {
|
|
203
203
|
h.value = "", v.value = !1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { E as t, i as n, w as r } from "./classicApi-CT9k0xvp.mjs";
|
|
3
3
|
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, normalizeClass as p, openBlock as m, renderList as h, resolveComponent as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
|
|
4
4
|
import { useI18n as b } from "vue-i18n";
|
|
5
5
|
import { useRoute as x } from "vue-router";
|
|
@@ -29,7 +29,7 @@ var C = ["aria-label"], w = { class: "p-0 m-0" }, T = { key: 0 }, E = { class: "
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
setup(e) {
|
|
32
|
-
let f = e, { t: N } = b(), P =
|
|
32
|
+
let f = e, { t: N } = b(), P = n(), F = r(), I = x(), L = a(() => P.authProfile?.userId !== void 0), R = a(() => "/sso/login?redirect_url=" + encodeURI(F.frontendUrl + I.fullPath)), z = a(() => P.authOrgaId !== void 0), B = a(() => P.authProfile?.organisations ?? []), V = a(() => P.isGarRole || f.isEducation ? [] : [{
|
|
33
33
|
title: N("Help"),
|
|
34
34
|
href: "https://help.octopus.saooti.com/Aide/"
|
|
35
35
|
}, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./displayHelper-DQtoqc_6.mjs";
|
|
2
|
-
import { t } from "./PodcastRawTranscript-
|
|
2
|
+
import { t } from "./PodcastRawTranscript-EqIv2k5F.mjs";
|
|
3
3
|
import { createCommentVNode as n, createElementBlock as r, createElementVNode as i, createVNode as a, defineAsyncComponent as o, defineComponent as s, openBlock as c, toDisplayString as l, unref as u } from "vue";
|
|
4
4
|
//#region src/components/display/podcasts/VideoModuleBox.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var d = {
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { t as e } from "./ClassicLoading-CXfMjpyl.mjs";
|
|
2
|
+
import { i as t, r as n, t as r, w as i } from "./classicApi-CT9k0xvp.mjs";
|
|
3
|
+
import { n as a } from "./PlayerStore-DlQZRxsf.mjs";
|
|
4
|
+
import { t as o } from "./GeneralStore-Darfv4af.mjs";
|
|
5
|
+
import { t as s } from "./useErrorHandler-Chh24Net.mjs";
|
|
6
|
+
import { t as c } from "./useSeoTitleUrl-UfPXDCPa.mjs";
|
|
7
|
+
import { t as l } from "./CommentStore-C4lkShsH.mjs";
|
|
8
|
+
import { t as u } from "./ClassicNav-DYez6p1J.mjs";
|
|
9
|
+
import { t as d } from "./usePodcastView-wkow7peQ.mjs";
|
|
10
|
+
import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as ee, createTextVNode as v, createVNode as y, defineAsyncComponent as b, defineComponent as x, onBeforeUnmount as S, openBlock as C, ref as w, renderList as T, resolveComponent as E, toDisplayString as D, unref as O, watch as te, withCtx as k } from "vue";
|
|
11
|
+
import { useI18n as ne } from "vue-i18n";
|
|
12
|
+
import { useRoute as re } from "vue-router";
|
|
13
|
+
import ie from "vue-material-design-icons/ChevronLeft.vue";
|
|
14
|
+
//#region src/components/pages/VideoPage.vue?vue&type=script&setup=true&lang.ts
|
|
15
|
+
var ae = { class: "page-box" }, oe = {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "d-flex video-page-container"
|
|
18
|
+
}, se = { class: "w-70-responsive" }, ce = {
|
|
19
|
+
key: 1,
|
|
20
|
+
class: "d-flex flex-column align-items-center flex-grow-1 blue-bg p-3"
|
|
21
|
+
}, le = { class: "w-30-responsive info-video-container" }, ue = { class: "d-flex flex-column flex-grow-1 w-100" }, A = {
|
|
22
|
+
key: 1,
|
|
23
|
+
class: "text-center text-danger h3"
|
|
24
|
+
}, j = /* @__PURE__ */ x({
|
|
25
|
+
__name: "VideoPage",
|
|
26
|
+
props: { podcastId: {
|
|
27
|
+
default: 0,
|
|
28
|
+
type: Number
|
|
29
|
+
} },
|
|
30
|
+
setup(x) {
|
|
31
|
+
let j = b(() => import("./PlayerVideoDigiteka-CNfWw0hs.mjs")), M = b(() => import("./PlayerVideoHls-Czu2Xvob.mjs")), N = b(() => import("./CommentSection-DQx3qX6H.mjs")), P = b(() => import("./VideoModuleBox-DJdYQGMX.mjs")), F = b(() => import("./CountdownOctopus-D0X5hVBu.mjs")), I = x, L = w(!1), R = w(void 0), z = w(!1), B = w(0), V = w(void 0), H = w(void 0), U = w(void 0), { isLiveReadyToRecord: W, isCounter: de, timeRemaining: fe, date: G, duration: K, durationIso: pe, editRight: me } = d(R, H), { handle403: he } = s(), { updatePathParams: ge } = c(), _e = t(), ve = i(), ye = o(), be = a(), xe = n(), q = l(), { t: J } = ne(), Se = re(), Y = p(() => R.value?.video?.videoId), Ce = p(() => q.getCanPostComment(V.value, R.value, _e.authOrgaId !== void 0)), X = p(() => Ce.value ? [J("Information"), J("Comments")] : []), Z = p(() => H.value !== void 0 && H.value.conferenceId !== -1 && (H.value.status === "RECORDING" || H.value.status === "PENDING")), we = p(() => !Z.value || !H.value ? "" : `${ve.hlsUrl}live/video_${H.value.hlsIdentifier}/index.m3u8`), Te = p(() => R.value?.organisation?.privacy === "SECURED"), Q = p(() => {
|
|
32
|
+
if (H.value?.status === "PUBLISHING") return J("In the process of being published");
|
|
33
|
+
});
|
|
34
|
+
te(() => I.podcastId, async () => {
|
|
35
|
+
await Ee(), R.value && (q.initCommentUser(), V.value = await q.getCommentsConfig(R.value));
|
|
36
|
+
}, { immediate: !0 }), S(() => {
|
|
37
|
+
clearInterval(U.value);
|
|
38
|
+
});
|
|
39
|
+
async function Ee() {
|
|
40
|
+
L.value = !1, z.value = !1;
|
|
41
|
+
try {
|
|
42
|
+
R.value = await r.fetchData({
|
|
43
|
+
api: 0,
|
|
44
|
+
path: "podcast/" + I.podcastId
|
|
45
|
+
}), document.title = R.value.title + " - " + ye.metaTitle;
|
|
46
|
+
let e = R.value.organisation, t = e.privacy !== "PUBLIC" && xe.filterOrgaId !== e.id && Se.query.productor !== e.id, n = (!R.value.availability.visibility || ![
|
|
47
|
+
"READY_TO_RECORD",
|
|
48
|
+
"READY",
|
|
49
|
+
"PROCESSING"
|
|
50
|
+
].includes(R.value.processingStatus ?? "") || !R.value.valid) && !me.value;
|
|
51
|
+
t || n ? z.value = !0 : (ge(R.value.title), R.value.conferenceId && R.value.processingStatus !== "READY" && (await $(), U.value = setInterval(() => {
|
|
52
|
+
$();
|
|
53
|
+
}, 3e3), be.playerPlay({
|
|
54
|
+
...R.value,
|
|
55
|
+
conferenceId: R.value.conferenceId,
|
|
56
|
+
hlsIdentifier: H.value?.hlsIdentifier
|
|
57
|
+
}, !0)));
|
|
58
|
+
} catch (e) {
|
|
59
|
+
he(e), z.value = !0;
|
|
60
|
+
}
|
|
61
|
+
L.value = !0;
|
|
62
|
+
}
|
|
63
|
+
async function $() {
|
|
64
|
+
if (!R.value?.conferenceId) return;
|
|
65
|
+
let e = await r.fetchData({
|
|
66
|
+
api: 9,
|
|
67
|
+
path: "conference/info/" + R.value.conferenceId
|
|
68
|
+
});
|
|
69
|
+
H.value = {
|
|
70
|
+
...e,
|
|
71
|
+
conferenceId: R.value.conferenceId,
|
|
72
|
+
title: ""
|
|
73
|
+
}, e.status === "DEBRIEFING" && clearInterval(U.value);
|
|
74
|
+
}
|
|
75
|
+
return (t, n) => {
|
|
76
|
+
let r = E("router-link");
|
|
77
|
+
return C(), g("section", ae, [
|
|
78
|
+
L.value && !z.value ? (C(), g(f, { key: 0 }, [y(r, {
|
|
79
|
+
to: {
|
|
80
|
+
name: "podcast",
|
|
81
|
+
params: { podcastId: x.podcastId }
|
|
82
|
+
},
|
|
83
|
+
class: "mt-3 mb-3 w-fit-content d-flex align-items-center",
|
|
84
|
+
title: O(J)("Episode name page", { name: R.value?.title })
|
|
85
|
+
}, {
|
|
86
|
+
default: k(() => [y(ie), v(D(O(J)("Episode page")), 1)]),
|
|
87
|
+
_: 1
|
|
88
|
+
}, 8, ["to", "title"]), Y.value || O(W) ? (C(), g("div", oe, [_("div", se, [O(W) ? (C(), g(f, { key: 0 }, [Z.value ? (C(), m(O(M), {
|
|
89
|
+
key: 0,
|
|
90
|
+
"hls-url": we.value,
|
|
91
|
+
"is-secured": Te.value,
|
|
92
|
+
responsive: !0
|
|
93
|
+
}, null, 8, ["hls-url", "is-secured"])) : h("", !0), O(de) || Q.value ? (C(), g("div", ce, [y(O(F), {
|
|
94
|
+
"time-remaining": O(fe),
|
|
95
|
+
"override-text": Q.value
|
|
96
|
+
}, null, 8, ["time-remaining", "override-text"])])) : h("", !0)], 64)) : (C(), m(O(j), {
|
|
97
|
+
key: 1,
|
|
98
|
+
"video-id": Y.value,
|
|
99
|
+
"podcast-id": x.podcastId,
|
|
100
|
+
responsive: ""
|
|
101
|
+
}, null, 8, ["video-id", "podcast-id"]))]), _("div", le, [_("div", ue, [X.value.length ? (C(), m(u, {
|
|
102
|
+
key: 0,
|
|
103
|
+
"active-tab": B.value,
|
|
104
|
+
"onUpdate:activeTab": n[0] ||= (e) => B.value = e,
|
|
105
|
+
"tab-number": X.value.length,
|
|
106
|
+
transparent: !0
|
|
107
|
+
}, ee({
|
|
108
|
+
tab0: k(() => [y(O(P), {
|
|
109
|
+
podcast: R.value,
|
|
110
|
+
date: O(G),
|
|
111
|
+
duration: O(K)
|
|
112
|
+
}, null, 8, [
|
|
113
|
+
"podcast",
|
|
114
|
+
"date",
|
|
115
|
+
"duration"
|
|
116
|
+
])]),
|
|
117
|
+
tab1: k(() => [_("section", null, [y(O(N), {
|
|
118
|
+
podcast: R.value,
|
|
119
|
+
class: "module-box-transparent"
|
|
120
|
+
}, null, 8, ["podcast"])])]),
|
|
121
|
+
_: 2
|
|
122
|
+
}, [T(X.value, (e, t) => ({
|
|
123
|
+
name: t,
|
|
124
|
+
fn: k(() => [v(D(e), 1)])
|
|
125
|
+
}))]), 1032, ["active-tab", "tab-number"])) : (C(), m(O(P), {
|
|
126
|
+
key: 1,
|
|
127
|
+
class: "p-2 video-module-box",
|
|
128
|
+
podcast: R.value,
|
|
129
|
+
date: O(G),
|
|
130
|
+
duration: O(K),
|
|
131
|
+
"duration-iso": O(pe)
|
|
132
|
+
}, null, 8, [
|
|
133
|
+
"podcast",
|
|
134
|
+
"date",
|
|
135
|
+
"duration",
|
|
136
|
+
"duration-iso"
|
|
137
|
+
]))])])])) : h("", !0)], 64)) : h("", !0),
|
|
138
|
+
!z.value && !Y.value && !O(W) ? (C(), g("div", A, D(O(J)("The episode does not have an associated video")), 1)) : h("", !0),
|
|
139
|
+
y(e, {
|
|
140
|
+
"loading-text": L.value ? void 0 : O(J)("Loading content ..."),
|
|
141
|
+
"error-text": z.value ? O(J)("This episode is not available for (re)listening") : void 0
|
|
142
|
+
}, null, 8, ["loading-text", "error-text"])
|
|
143
|
+
]);
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
//#endregion
|
|
148
|
+
export { j as default };
|