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BM,EAAOlC,KAAK,OAASrD,EAAIyD,QAAUzD,EAAIiF,mBAAmBM,EAAOlC,UAAO/G,EAAU,KAAOiJ,EAAO7B,OAAO,IAAG1D,EAAIM,GAAG,KAAMN,EAAIyD,QAASvD,EAAG,MAAM,CAACG,MAAM,CAAC,IAAML,EAAIiF,mBAAmBjF,EAAIoD,aAAa,GAAGC,KAAK,IAAMrD,EAAIuD,YAAYvD,EAAIQ,MAAM,GAAGR,EAAIM,GAAG,KAAKJ,EAAG,MAAM,CAACO,YAAY,wCAAwC,EAAGT,EAAIyD,SAAWzD,EAAI+D,cAAe7D,EAAG,mBAAmB,CAACO,YAAY,+BAA+BJ,MAAM,CAAC,KAAOL,EAAIgF,qBAAqB,KAAO,MAAMhF,EAAIQ,MAAM,IAAI,GAAGR,EAAIQ,MAAM,EAC36B,GACsB,IMGpB,EACA,KACA,WACA,MAI8B,O","sources":["webpack:///nextcloud/apps/settings/src/constants/AppDiscoverTypes.ts","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/common.ts","webpack:///nextcloud/apps/settings/src/composables/useGetLocalizedValue.ts","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/CarouselType.vue?vue&type=style&index=0&id=25def848&prod&scoped=true&lang=scss","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/PostType.vue?vue&type=style&index=0&id=72a2ea36&prod&scoped=true&lang=scss","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/CarouselType.vue?vue&type=style&index=1&id=25def848&prod&lang=css","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/CarouselType.vue","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/CarouselType.vue?vue&type=script&lang=ts","webpack://nextcloud/./apps/settings/src/components/AppStoreDiscover/CarouselType.vue?2b39","webpack://nextcloud/./apps/settings/src/components/AppStoreDiscover/CarouselType.vue?f27d","webpack://nextcloud/./apps/settings/src/components/AppStoreDiscover/CarouselType.vue?982a","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/PostType.vue","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/AppLink.vue","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/AppLink.vue?vue&type=script&lang=ts","webpack://nextcloud/./apps/settings/src/components/AppStoreDiscover/AppLink.vue?8487","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/PostType.vue?vue&type=script&lang=ts","webpack://nextcloud/./apps/settings/src/components/AppStoreDiscover/PostType.vue?b872","webpack://nextcloud/./apps/settings/src/components/AppStoreDiscover/PostType.vue?bdb8"],"sourcesContent":["/**\n * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n/**\n * Currently known types of app discover section elements\n */\nexport const APP_DISCOVER_KNOWN_TYPES = ['post', 'showcase', 'carousel'];\n","import { APP_DISCOVER_KNOWN_TYPES } from '../../constants/AppDiscoverTypes.ts';\n/**\n * Common Props for all app discover types\n */\nexport const commonAppDiscoverProps = {\n type: {\n type: String,\n required: true,\n validator: (v) => typeof v === 'string' && APP_DISCOVER_KNOWN_TYPES.includes(v),\n },\n id: {\n type: String,\n required: true,\n },\n date: {\n type: Number,\n required: false,\n default: undefined,\n },\n expiryDate: {\n type: Number,\n required: false,\n default: undefined,\n },\n headline: {\n type: Object,\n required: false,\n default: () => null,\n },\n link: {\n type: String,\n required: false,\n default: () => null,\n },\n};\n","import { getLanguage } from '@nextcloud/l10n';\nimport { computed } from 'vue';\n/**\n * Helper to get the localized value for the current users language\n * @param dict The dictionary to get the value from\n * @param language The language to use\n */\nconst getLocalizedValue = (dict, language) => dict[language] ?? dict[language.split('_')[0]] ?? dict.en ?? null;\n/**\n * Get the localized value of the dictionary provided\n * @param dict Dictionary\n * @return String or null if invalid dictionary\n */\nexport const useLocalizedValue = (dict) => {\n /**\n * Language of the current user\n */\n const language = getLanguage();\n return computed(() => !dict?.value ? null : getLocalizedValue(dict.value, language));\n};\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `h3[data-v-25def848]{font-size:24px;font-weight:600;margin-block:0 1em}.app-discover-carousel__wrapper[data-v-25def848]{display:flex}.app-discover-carousel__button[data-v-25def848]{color:var(--color-text-maxcontrast);position:absolute;top:calc(50% - 22px)}.app-discover-carousel__button-wrapper[data-v-25def848]{position:relative}.app-discover-carousel__button--next[data-v-25def848]{right:-54px}.app-discover-carousel__button--previous[data-v-25def848]{left:-54px}.app-discover-carousel__tabs[data-v-25def848]{display:flex;flex-direction:row;justify-content:center}.app-discover-carousel__tabs>*[data-v-25def848]{color:var(--color-text-maxcontrast)}`, \"\",{\"version\":3,\"sources\":[\"webpack://./apps/settings/src/components/AppStoreDiscover/CarouselType.vue\"],\"names\":[],\"mappings\":\"AACA,oBACC,cAAA,CACA,eAAA,CACA,kBAAA,CAIA,iDACC,YAAA,CAGD,gDACC,mCAAA,CACA,iBAAA,CACA,oBAAA,CAEA,wDACC,iBAAA,CAID,sDACC,WAAA,CAED,0DACC,UAAA,CAIF,8CACC,YAAA,CACA,kBAAA,CACA,sBAAA,CAEA,gDACC,mCAAA\",\"sourcesContent\":[\"\\nh3 {\\n\\tfont-size: 24px;\\n\\tfont-weight: 600;\\n\\tmargin-block: 0 1em;\\n}\\n\\n.app-discover-carousel {\\n\\t&__wrapper {\\n\\t\\tdisplay: flex;\\n\\t}\\n\\n\\t&__button {\\n\\t\\tcolor: var(--color-text-maxcontrast);\\n\\t\\tposition: absolute;\\n\\t\\ttop: calc(50% - 22px); // 50% minus half of button height\\n\\n\\t\\t&-wrapper {\\n\\t\\t\\tposition: relative;\\n\\t\\t}\\n\\n\\t\\t// See padding of discover section\\n\\t\\t&--next {\\n\\t\\t\\tright: -54px;\\n\\t\\t}\\n\\t\\t&--previous {\\n\\t\\t\\tleft: -54px;\\n\\t\\t}\\n\\t}\\n\\n\\t&__tabs {\\n\\t\\tdisplay: flex;\\n\\t\\tflex-direction: row;\\n\\t\\tjustify-content: center;\\n\\n\\t\\t> * {\\n\\t\\t\\tcolor: var(--color-text-maxcontrast);\\n\\t\\t}\\n\\t}\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.app-discover-post[data-v-72a2ea36]{max-height:300px;width:100%;background-color:var(--color-primary-element-light);border-radius:var(--border-radius-rounded);display:flex;flex-direction:row;justify-content:start}.app-discover-post--reverse[data-v-72a2ea36]{flex-direction:row-reverse}.app-discover-post h3[data-v-72a2ea36],.app-discover-post h4[data-v-72a2ea36]{font-size:24px;font-weight:600;margin-block:0 1em}.app-discover-post__text[data-v-72a2ea36]{display:block;width:100%;padding:var(--border-radius-rounded);overflow-y:scroll}.app-discover-post:has(.app-discover-post__media) .app-discover-post__text[data-v-72a2ea36]{padding-block-end:0}.app-discover-post__media[data-v-72a2ea36]{display:block;overflow:hidden;max-width:450px;border-radius:var(--border-radius-rounded)}.app-discover-post__media--fullwidth[data-v-72a2ea36]{max-width:unset;max-height:unset}.app-discover-post__media--end[data-v-72a2ea36]{border-end-start-radius:0;border-start-start-radius:0}.app-discover-post__media--start[data-v-72a2ea36]{border-end-end-radius:0;border-start-end-radius:0}.app-discover-post__media img[data-v-72a2ea36],.app-discover-post__media-element[data-v-72a2ea36]{height:100%;width:100%;object-fit:cover;object-position:center}.app-discover-post__play-icon[data-v-72a2ea36]{position:absolute;top:-46px;right:-46px}.app-discover-post__play-icon-wrapper[data-v-72a2ea36]{position:relative;top:-50%;left:-50%}.app-discover-post--small.app-discover-post[data-v-72a2ea36]{flex-direction:column;max-height:500px}.app-discover-post--small.app-discover-post--reverse[data-v-72a2ea36]{flex-direction:column-reverse}.app-discover-post--small .app-discover-post__text[data-v-72a2ea36]{flex:1 1 50%}.app-discover-post--small .app-discover-post__media[data-v-72a2ea36]{min-width:100%}.app-discover-post--small .app-discover-post__media--end[data-v-72a2ea36]{border-radius:var(--border-radius-rounded);border-start-end-radius:0;border-start-start-radius:0}.app-discover-post--small .app-discover-post__media--start[data-v-72a2ea36]{border-radius:var(--border-radius-rounded);border-end-end-radius:0;border-end-start-radius:0}`, \"\",{\"version\":3,\"sources\":[\"webpack://./apps/settings/src/components/AppStoreDiscover/PostType.vue\"],\"names\":[],\"mappings\":\"AACA,oCACC,gBAAA,CACA,UAAA,CACA,mDAAA,CACA,0CAAA,CAEA,YAAA,CACA,kBAAA,CACA,qBAAA,CAEA,6CACC,0BAAA,CAGD,8EACC,cAAA,CACA,eAAA,CACA,kBAAA,CAGD,0CACC,aAAA,CACA,UAAA,CACA,oCAAA,CACA,iBAAA,CAID,4FACC,mBAAA,CAGD,2CACC,aAAA,CACA,eAAA,CAEA,eAAA,CACA,0CAAA,CAEA,sDACC,eAAA,CACA,gBAAA,CAGD,gDACC,yBAAA,CACA,2BAAA,CAGD,kDACC,uBAAA,CACA,yBAAA,CAGD,kGACC,WAAA,CACA,UAAA,CACA,gBAAA,CACA,sBAAA,CAIF,+CAOC,iBAAA,CACA,SAAA,CACA,WAAA,CARA,uDACC,iBAAA,CACA,QAAA,CACA,SAAA,CAUF,6DACC,qBAAA,CACA,gBAAA,CAEA,sEACC,6BAAA,CAKD,oEACC,YAAA,CAGD,qEACC,cAAA,CAEA,0EACC,0CAAA,CACA,yBAAA,CACA,2BAAA,CAGD,4EACC,0CAAA,CACA,uBAAA,CACA,yBAAA\",\"sourcesContent\":[\"\\n.app-discover-post {\\n\\tmax-height: 300px;\\n\\twidth: 100%;\\n\\tbackground-color: var(--color-primary-element-light);\\n\\tborder-radius: var(--border-radius-rounded);\\n\\n\\tdisplay: flex;\\n\\tflex-direction: row;\\n\\tjustify-content: start;\\n\\n\\t&--reverse {\\n\\t\\tflex-direction: row-reverse;\\n\\t}\\n\\n\\th3, h4 {\\n\\t\\tfont-size: 24px;\\n\\t\\tfont-weight: 600;\\n\\t\\tmargin-block: 0 1em;\\n\\t}\\n\\n\\t&__text {\\n\\t\\tdisplay: block;\\n\\t\\twidth: 100%;\\n\\t\\tpadding: var(--border-radius-rounded);\\n\\t\\toverflow-y: scroll;\\n\\t}\\n\\n\\t// If there is media next to the text we do not want a padding on the bottom as this looks weird when scrolling\\n\\t&:has(&__media) &__text {\\n\\t\\tpadding-block-end: 0;\\n\\t}\\n\\n\\t&__media {\\n\\t\\tdisplay: block;\\n\\t\\toverflow: hidden;\\n\\n\\t\\tmax-width: 450px;\\n\\t\\tborder-radius: var(--border-radius-rounded);\\n\\n\\t\\t&--fullwidth {\\n\\t\\t\\tmax-width: unset;\\n\\t\\t\\tmax-height: unset;\\n\\t\\t}\\n\\n\\t\\t&--end {\\n\\t\\t\\tborder-end-start-radius: 0;\\n\\t\\t\\tborder-start-start-radius: 0;\\n\\t\\t}\\n\\n\\t\\t&--start {\\n\\t\\t\\tborder-end-end-radius: 0;\\n\\t\\t\\tborder-start-end-radius: 0;\\n\\t\\t}\\n\\n\\t\\timg, &-element {\\n\\t\\t\\theight: 100%;\\n\\t\\t\\twidth: 100%;\\n\\t\\t\\tobject-fit: cover;\\n\\t\\t\\tobject-position: center;\\n\\t\\t}\\n\\t}\\n\\n\\t&__play-icon {\\n\\t\\t&-wrapper {\\n\\t\\t\\tposition: relative;\\n\\t\\t\\ttop: -50%;\\n\\t\\t\\tleft: -50%;\\n\\t\\t}\\n\\n\\t\\tposition: absolute;\\n\\t\\ttop: -46px; // half of the icon height\\n\\t\\tright: -46px; // half of the icon width\\n\\t}\\n}\\n\\n.app-discover-post--small {\\n\\t&.app-discover-post {\\n\\t\\tflex-direction: column;\\n\\t\\tmax-height: 500px;\\n\\n\\t\\t&--reverse {\\n\\t\\t\\tflex-direction: column-reverse;\\n\\t\\t}\\n\\t}\\n\\n\\t.app-discover-post {\\n\\t\\t&__text {\\n\\t\\t\\tflex: 1 1 50%;\\n\\t\\t}\\n\\n\\t\\t&__media {\\n\\t\\t\\tmin-width: 100%;\\n\\n\\t\\t\\t&--end {\\n\\t\\t\\t\\tborder-radius: var(--border-radius-rounded);\\n\\t\\t\\t\\tborder-start-end-radius: 0;\\n\\t\\t\\t\\tborder-start-start-radius: 0;\\n\\t\\t\\t}\\n\\n\\t\\t\\t&--start {\\n\\t\\t\\t\\tborder-radius: var(--border-radius-rounded);\\n\\t\\t\\t\\tborder-end-end-radius: 0;\\n\\t\\t\\t\\tborder-end-start-radius: 0;\\n\\t\\t\\t}\\n\\t\\t}\\n\\t}\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `\n.slide-in-enter-active,\n.slide-in-leave-active,\n.slide-out-enter-active,\n.slide-out-leave-active {\n transition: all .4s ease-out;\n}\n.slide-in-leave-to,\n.slide-out-enter {\n opacity: 0;\n transform: translateX(50%);\n}\n.slide-in-enter,\n.slide-out-leave-to {\n opacity: 0;\n transform: translateX(-50%);\n}\n`, \"\",{\"version\":3,\"sources\":[\"webpack://./apps/settings/src/components/AppStoreDiscover/CarouselType.vue\"],\"names\":[],\"mappings\":\";AA2LA;;;;EAIA,4BAAA;AACA;AAEA;;EAEA,UAAA;EACA,0BAAA;AACA;AAEA;;EAEA,UAAA;EACA,2BAAA;AACA\",\"sourcesContent\":[\"<!--\\n - SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors\\n - SPDX-License-Identifier: AGPL-3.0-or-later\\n-->\\n<template>\\n\\t<section :aria-roledescription=\\\"t('settings', 'Carousel')\\\" :aria-labelledby=\\\"headingId ? `${headingId}` : undefined\\\">\\n\\t\\t<h3 v-if=\\\"headline\\\" :id=\\\"headingId\\\">\\n\\t\\t\\t{{ translatedHeadline }}\\n\\t\\t</h3>\\n\\t\\t<div class=\\\"app-discover-carousel__wrapper\\\">\\n\\t\\t\\t<div class=\\\"app-discover-carousel__button-wrapper\\\">\\n\\t\\t\\t\\t<NcButton class=\\\"app-discover-carousel__button app-discover-carousel__button--previous\\\"\\n\\t\\t\\t\\t\\ttype=\\\"tertiary-no-background\\\"\\n\\t\\t\\t\\t\\t:aria-label=\\\"t('settings', 'Previous slide')\\\"\\n\\t\\t\\t\\t\\t:disabled=\\\"!hasPrevious\\\"\\n\\t\\t\\t\\t\\t@click=\\\"currentIndex -= 1\\\">\\n\\t\\t\\t\\t\\t<template #icon>\\n\\t\\t\\t\\t\\t\\t<NcIconSvgWrapper :path=\\\"mdiChevronLeft\\\" />\\n\\t\\t\\t\\t\\t</template>\\n\\t\\t\\t\\t</NcButton>\\n\\t\\t\\t</div>\\n\\n\\t\\t\\t<Transition :name=\\\"transitionName\\\" mode=\\\"out-in\\\">\\n\\t\\t\\t\\t<PostType v-bind=\\\"shownElement\\\"\\n\\t\\t\\t\\t\\t:key=\\\"shownElement.id ?? currentIndex\\\"\\n\\t\\t\\t\\t\\t:aria-labelledby=\\\"`${internalId}-tab-${currentIndex}`\\\"\\n\\t\\t\\t\\t\\t:dom-id=\\\"`${internalId}-tabpanel-${currentIndex}`\\\"\\n\\t\\t\\t\\t\\tinline\\n\\t\\t\\t\\t\\trole=\\\"tabpanel\\\" />\\n\\t\\t\\t</Transition>\\n\\n\\t\\t\\t<div class=\\\"app-discover-carousel__button-wrapper\\\">\\n\\t\\t\\t\\t<NcButton class=\\\"app-discover-carousel__button app-discover-carousel__button--next\\\"\\n\\t\\t\\t\\t\\ttype=\\\"tertiary-no-background\\\"\\n\\t\\t\\t\\t\\t:aria-label=\\\"t('settings', 'Next slide')\\\"\\n\\t\\t\\t\\t\\t:disabled=\\\"!hasNext\\\"\\n\\t\\t\\t\\t\\t@click=\\\"currentIndex += 1\\\">\\n\\t\\t\\t\\t\\t<template #icon>\\n\\t\\t\\t\\t\\t\\t<NcIconSvgWrapper :path=\\\"mdiChevronRight\\\" />\\n\\t\\t\\t\\t\\t</template>\\n\\t\\t\\t\\t</NcButton>\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\t\\t<div class=\\\"app-discover-carousel__tabs\\\" role=\\\"tablist\\\" :aria-label=\\\"t('settings', 'Choose slide to display')\\\">\\n\\t\\t\\t<NcButton v-for=\\\"index of content.length\\\"\\n\\t\\t\\t\\t:id=\\\"`${internalId}-tab-${index}`\\\"\\n\\t\\t\\t\\t:key=\\\"index\\\"\\n\\t\\t\\t\\t:aria-label=\\\"t('settings', '{index} of {total}', { index, total: content.length })\\\"\\n\\t\\t\\t\\t:aria-controls=\\\"`${internalId}-tabpanel-${index}`\\\"\\n\\t\\t\\t\\t:aria-selected=\\\"`${currentIndex === (index - 1)}`\\\"\\n\\t\\t\\t\\trole=\\\"tab\\\"\\n\\t\\t\\t\\ttype=\\\"tertiary-no-background\\\"\\n\\t\\t\\t\\t@click=\\\"currentIndex = index - 1\\\">\\n\\t\\t\\t\\t<template #icon>\\n\\t\\t\\t\\t\\t<NcIconSvgWrapper :path=\\\"currentIndex === (index - 1) ? mdiCircleSlice8 : mdiCircleOutline\\\" />\\n\\t\\t\\t\\t</template>\\n\\t\\t\\t</NcButton>\\n\\t\\t</div>\\n\\t</section>\\n</template>\\n\\n<script lang=\\\"ts\\\">\\nimport type { PropType } from 'vue'\\nimport type { IAppDiscoverCarousel } from '../../constants/AppDiscoverTypes.ts'\\n\\nimport { mdiChevronLeft, mdiChevronRight, mdiCircleOutline, mdiCircleSlice8 } from '@mdi/js'\\nimport { translate as t } from '@nextcloud/l10n'\\nimport { computed, defineComponent, nextTick, ref, watch } from 'vue'\\nimport { commonAppDiscoverProps } from './common.ts'\\nimport { useLocalizedValue } from '../../composables/useGetLocalizedValue.ts'\\n\\nimport NcButton from '@nextcloud/vue/dist/Components/NcButton.js'\\nimport NcIconSvgWrapper from '@nextcloud/vue/dist/Components/NcIconSvgWrapper.js'\\nimport PostType from './PostType.vue'\\n\\nexport default defineComponent({\\n\\tname: 'CarouselType',\\n\\n\\tcomponents: {\\n\\t\\tNcButton,\\n\\t\\tNcIconSvgWrapper,\\n\\t\\tPostType,\\n\\t},\\n\\n\\tprops: {\\n\\t\\t...commonAppDiscoverProps,\\n\\n\\t\\t/**\\n\\t\\t * The content of the carousel\\n\\t\\t */\\n\\t\\tcontent: {\\n\\t\\t\\ttype: Array as PropType<IAppDiscoverCarousel['content']>,\\n\\t\\t\\trequired: true,\\n\\t\\t},\\n\\t},\\n\\n\\tsetup(props) {\\n\\t\\tconst translatedHeadline = useLocalizedValue(computed(() => props.headline))\\n\\n\\t\\tconst currentIndex = ref(Math.min(1, props.content.length - 1))\\n\\t\\tconst shownElement = ref(props.content[currentIndex.value])\\n\\t\\tconst hasNext = computed(() => currentIndex.value < (props.content.length - 1))\\n\\t\\tconst hasPrevious = computed(() => currentIndex.value > 0)\\n\\n\\t\\tconst internalId = computed(() => props.id ?? (Math.random() + 1).toString(36).substring(7))\\n\\t\\tconst headingId = computed(() => `${internalId.value}-h`)\\n\\n\\t\\tconst transitionName = ref('slide-in')\\n\\t\\twatch(() => currentIndex.value, (o, n) => {\\n\\t\\t\\tif (o < n) {\\n\\t\\t\\t\\ttransitionName.value = 'slide-in'\\n\\t\\t\\t} else {\\n\\t\\t\\t\\ttransitionName.value = 'slide-out'\\n\\t\\t\\t}\\n\\n\\t\\t\\t// Wait next tick\\n\\t\\t\\tnextTick(() => {\\n\\t\\t\\t\\tshownElement.value = props.content[currentIndex.value]\\n\\t\\t\\t})\\n\\t\\t})\\n\\n\\t\\treturn {\\n\\t\\t\\tt,\\n\\t\\t\\tinternalId,\\n\\t\\t\\theadingId,\\n\\n\\t\\t\\thasNext,\\n\\t\\t\\thasPrevious,\\n\\t\\t\\tcurrentIndex,\\n\\t\\t\\tshownElement,\\n\\n\\t\\t\\ttransitionName,\\n\\n\\t\\t\\ttranslatedHeadline,\\n\\n\\t\\t\\tmdiChevronLeft,\\n\\t\\t\\tmdiChevronRight,\\n\\t\\t\\tmdiCircleOutline,\\n\\t\\t\\tmdiCircleSlice8,\\n\\t\\t}\\n\\t},\\n})\\n</script>\\n\\n<style scoped lang=\\\"scss\\\">\\nh3 {\\n\\tfont-size: 24px;\\n\\tfont-weight: 600;\\n\\tmargin-block: 0 1em;\\n}\\n\\n.app-discover-carousel {\\n\\t&__wrapper {\\n\\t\\tdisplay: flex;\\n\\t}\\n\\n\\t&__button {\\n\\t\\tcolor: var(--color-text-maxcontrast);\\n\\t\\tposition: absolute;\\n\\t\\ttop: calc(50% - 22px); // 50% minus half of button height\\n\\n\\t\\t&-wrapper {\\n\\t\\t\\tposition: relative;\\n\\t\\t}\\n\\n\\t\\t// See padding of discover section\\n\\t\\t&--next {\\n\\t\\t\\tright: -54px;\\n\\t\\t}\\n\\t\\t&--previous {\\n\\t\\t\\tleft: -54px;\\n\\t\\t}\\n\\t}\\n\\n\\t&__tabs {\\n\\t\\tdisplay: flex;\\n\\t\\tflex-direction: row;\\n\\t\\tjustify-content: center;\\n\\n\\t\\t> * {\\n\\t\\t\\tcolor: var(--color-text-maxcontrast);\\n\\t\\t}\\n\\t}\\n}\\n</style>\\n\\n<style>\\n.slide-in-enter-active,\\n.slide-in-leave-active,\\n.slide-out-enter-active,\\n.slide-out-leave-active {\\n transition: all .4s ease-out;\\n}\\n\\n.slide-in-leave-to,\\n.slide-out-enter {\\n opacity: 0;\\n transform: translateX(50%);\\n}\\n\\n.slide-in-enter,\\n.slide-out-leave-to {\\n opacity: 0;\\n transform: translateX(-50%);\\n}\\n</style>\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('section',{attrs:{\"aria-roledescription\":_vm.t('settings', 'Carousel'),\"aria-labelledby\":_vm.headingId ? `${_vm.headingId}` : undefined}},[(_vm.headline)?_c('h3',{attrs:{\"id\":_vm.headingId}},[_vm._v(\"\\n\\t\\t\"+_vm._s(_vm.translatedHeadline)+\"\\n\\t\")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"app-discover-carousel__wrapper\"},[_c('div',{staticClass:\"app-discover-carousel__button-wrapper\"},[_c('NcButton',{staticClass:\"app-discover-carousel__button app-discover-carousel__button--previous\",attrs:{\"type\":\"tertiary-no-background\",\"aria-label\":_vm.t('settings', 'Previous slide'),\"disabled\":!_vm.hasPrevious},on:{\"click\":function($event){_vm.currentIndex -= 1}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('NcIconSvgWrapper',{attrs:{\"path\":_vm.mdiChevronLeft}})]},proxy:true}])})],1),_vm._v(\" \"),_c('Transition',{attrs:{\"name\":_vm.transitionName,\"mode\":\"out-in\"}},[_c('PostType',_vm._b({key:_vm.shownElement.id ?? _vm.currentIndex,attrs:{\"aria-labelledby\":`${_vm.internalId}-tab-${_vm.currentIndex}`,\"dom-id\":`${_vm.internalId}-tabpanel-${_vm.currentIndex}`,\"inline\":\"\",\"role\":\"tabpanel\"}},'PostType',_vm.shownElement,false))],1),_vm._v(\" \"),_c('div',{staticClass:\"app-discover-carousel__button-wrapper\"},[_c('NcButton',{staticClass:\"app-discover-carousel__button app-discover-carousel__button--next\",attrs:{\"type\":\"tertiary-no-background\",\"aria-label\":_vm.t('settings', 'Next slide'),\"disabled\":!_vm.hasNext},on:{\"click\":function($event){_vm.currentIndex += 1}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('NcIconSvgWrapper',{attrs:{\"path\":_vm.mdiChevronRight}})]},proxy:true}])})],1)],1),_vm._v(\" \"),_c('div',{staticClass:\"app-discover-carousel__tabs\",attrs:{\"role\":\"tablist\",\"aria-label\":_vm.t('settings', 'Choose slide to display')}},_vm._l((_vm.content.length),function(index){return _c('NcButton',{key:index,attrs:{\"id\":`${_vm.internalId}-tab-${index}`,\"aria-label\":_vm.t('settings', '{index} of {total}', { index, total: _vm.content.length }),\"aria-controls\":`${_vm.internalId}-tabpanel-${index}`,\"aria-selected\":`${_vm.currentIndex === (index - 1)}`,\"role\":\"tab\",\"type\":\"tertiary-no-background\"},on:{\"click\":function($event){_vm.currentIndex = index - 1}},scopedSlots:_vm._u([{key:\"icon\",fn:function(){return [_c('NcIconSvgWrapper',{attrs:{\"path\":_vm.currentIndex === (index - 1) ? _vm.mdiCircleSlice8 : _vm.mdiCircleOutline}})]},proxy:true}],null,true)})}),1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-4.use[1]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CarouselType.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-4.use[1]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CarouselType.vue?vue&type=script&lang=ts\"","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/sass-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CarouselType.vue?vue&type=style&index=0&id=25def848&prod&scoped=true&lang=scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/sass-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CarouselType.vue?vue&type=style&index=0&id=25def848&prod&scoped=true&lang=scss\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CarouselType.vue?vue&type=style&index=1&id=25def848&prod&lang=css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CarouselType.vue?vue&type=style&index=1&id=25def848&prod&lang=css\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./CarouselType.vue?vue&type=template&id=25def848&scoped=true\"\nimport script from \"./CarouselType.vue?vue&type=script&lang=ts\"\nexport * from \"./CarouselType.vue?vue&type=script&lang=ts\"\nimport style0 from \"./CarouselType.vue?vue&type=style&index=0&id=25def848&prod&scoped=true&lang=scss\"\nimport style1 from \"./CarouselType.vue?vue&type=style&index=1&id=25def848&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"25def848\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('article',{ref:\"container\",staticClass:\"app-discover-post\",class:{\n\t\t'app-discover-post--reverse': _vm.media && _vm.media.alignment === 'start',\n\t\t'app-discover-post--small': _vm.isSmallWidth\n\t},attrs:{\"id\":_vm.domId}},[(_vm.headline || _vm.text)?_c(_vm.link ? 'AppLink' : 'div',{tag:\"component\",staticClass:\"app-discover-post__text\",attrs:{\"href\":_vm.link}},[_c(_vm.inline ? 'h4' : 'h3',{tag:\"component\"},[_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_vm.translatedHeadline)+\"\\n\\t\\t\")]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.translatedText))])],1):_vm._e(),_vm._v(\" \"),(_vm.mediaSources)?_c(_vm.mediaLink ? 'AppLink' : 'div',{tag:\"component\",staticClass:\"app-discover-post__media\",class:{\n\t\t\t'app-discover-post__media--fullwidth': _vm.isFullWidth,\n\t\t\t'app-discover-post__media--start': _vm.media?.alignment === 'start',\n\t\t\t'app-discover-post__media--end': _vm.media?.alignment === 'end',\n\t\t},attrs:{\"href\":_vm.mediaLink}},[_c(_vm.isImage ? 'picture' : 'video',{ref:\"mediaElement\",tag:\"component\",staticClass:\"app-discover-post__media-element\",attrs:{\"muted\":!_vm.isImage,\"playsinline\":!_vm.isImage,\"preload\":!_vm.isImage && 'auto'},on:{\"ended\":function($event){_vm.hasPlaybackEnded = true}}},[_vm._l((_vm.mediaSources),function(source){return _c('source',{key:source.src,attrs:{\"src\":_vm.isImage ? undefined : _vm.generatePrivacyUrl(source.src),\"srcset\":_vm.isImage ? _vm.generatePrivacyUrl(source.src) : undefined,\"type\":source.mime}})}),_vm._v(\" \"),(_vm.isImage)?_c('img',{attrs:{\"src\":_vm.generatePrivacyUrl(_vm.mediaSources[0].src),\"alt\":_vm.mediaAlt}}):_vm._e()],2),_vm._v(\" \"),_c('div',{staticClass:\"app-discover-post__play-icon-wrapper\"},[(!_vm.isImage && _vm.showPlayVideo)?_c('NcIconSvgWrapper',{staticClass:\"app-discover-post__play-icon\",attrs:{\"path\":_vm.mdiPlayCircleOutline,\"size\":92}}):_vm._e()],1)],1):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.linkProps)?_c('a',_vm._b({},'a',_vm.linkProps,false),[_vm._t(\"default\")],2):(_vm.routerProps)?_c('RouterLink',_vm._b({},'RouterLink',_vm.routerProps,false),[_vm._t(\"default\")],2):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-4.use[1]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppLink.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-4.use[1]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AppLink.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AppLink.vue?vue&type=template&id=46e86908\"\nimport script from \"./AppLink.vue?vue&type=script&lang=ts\"\nexport * from \"./AppLink.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-4.use[1]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PostType.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??clonedRuleSet-4.use[1]!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PostType.vue?vue&type=script&lang=ts\"","\n import API from \"!../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/sass-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PostType.vue?vue&type=style&index=0&id=72a2ea36&prod&scoped=true&lang=scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/sass-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PostType.vue?vue&type=style&index=0&id=72a2ea36&prod&scoped=true&lang=scss\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./PostType.vue?vue&type=template&id=72a2ea36&scoped=true\"\nimport script from \"./PostType.vue?vue&type=script&lang=ts\"\nexport * from \"./PostType.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PostType.vue?vue&type=style&index=0&id=72a2ea36&prod&scoped=true&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"72a2ea36\",\n null\n \n)\n\nexport default component.exports"],"names":["APP_DISCOVER_KNOWN_TYPES","commonAppDiscoverProps","type","String","required","validator","v","includes","id","date","Number","default","undefined","expiryDate","headline","Object","link","useLocalizedValue","dict","language","getLanguage","computed","value","getLocalizedValue","split","en","___CSS_LOADER_EXPORT___","push","module","defineComponent","name","components","NcButton","NcIconSvgWrapper","PostType","props","content","Array","setup","translatedHeadline","currentIndex","ref","Math","min","length","shownElement","hasNext","hasPrevious","internalId","random","toString","substring","headingId","transitionName","watch","o","n","nextTick","t","mdiChevronLeft","mdiChevronRight","mdiCircleOutline","mdiCircleSlice8","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","_vm","this","_c","_self","_setupProxy","attrs","_v","_s","_e","staticClass","on","$event","scopedSlots","_u","key","fn","proxy","_b","_l","index","total","apps","loadState","knownRoutes","fromEntries","map","app","href","RouterLink","data","routerProps","linkProps","immediate","handler","match","target","rel","appId","generateUrl","to","params","category","$route","_t","AppLink","text","media","inline","Boolean","domId","translatedText","localizedMedia","mediaSources","src","flat","mediaAlt","alt","isImage","mime","startsWith","isFullWidth","mediaLink","hasPlaybackEnded","showPlayVideo","container","width","containerWidth","useElementSize","isSmallWidth","mediaElement","mediaIsVisible","useElementVisibility","threshold","watchEffect","video","muted","play","pause","ended","currentTime","mdiPlayCircleOutline","generatePrivacyUrl","url","fileName","class","alignment","tag","source"],"sourceRoot":""}
|