@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
|
@@ -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-DR5O2l0-.mjs";
|
|
2
|
+
import { n as o } from "./PlayerStore-C4T1vCHz.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-C3duE5Uj.mjs";
|
|
6
|
+
import { r as l } from "./useSharePlatforms-DWJtsHHs.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-DR5O2l0-.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-DWJtsHHs.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-DR5O2l0-.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-DJBHk-Yr.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-BfqxVGag.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-Cyo0OOte.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-DR5O2l0-.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-C3duE5Uj.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-BKI04l9G.mjs";
|
|
7
|
+
import { t as c } from "./HomeDropdown-D65QDBBQ.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-CV5t_RXg.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-Bqc3UtOf.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-DR5O2l0-.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-uMquvyIx.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-DR5O2l0-.mjs";
|
|
3
|
+
import { n as a } from "./PlayerStore-C4T1vCHz.mjs";
|
|
4
|
+
import { t as o } from "./GeneralStore-Darfv4af.mjs";
|
|
5
|
+
import { t as s } from "./useErrorHandler-CNqmf6tv.mjs";
|
|
6
|
+
import { t as c } from "./useSeoTitleUrl-UfPXDCPa.mjs";
|
|
7
|
+
import { t as l } from "./CommentStore-CVBkPvHJ.mjs";
|
|
8
|
+
import { t as u } from "./ClassicNav-DYez6p1J.mjs";
|
|
9
|
+
import { t as d } from "./usePodcastView-EmNdC0A1.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-C6ZA6XkR.mjs")), M = b(() => import("./PlayerVideoHls-B8dm2-2-.mjs")), N = b(() => import("./CommentSection-CQGAn83J.mjs")), P = b(() => import("./VideoModuleBox-B54AebXt.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 };
|