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UAAU,EACVyI,UAAYC,GAAmB,iBAANA,GAAkBF,EAAyBG,SAASD,IAEjFtJ,GAAI,CACAU,KAAMsE,OACNpE,UAAU,GAEd4I,KAAM,CACF9I,KAAM+I,OACN7I,UAAU,EACVsF,aAAS3C,GAEbmG,WAAY,CACRhJ,KAAM+I,OACN7I,UAAU,EACVsF,aAAS3C,GAEbtC,SAAU,CACNP,KAAMgE,OACN9D,UAAU,EACVsF,QAASA,IAAM,MAEnBiB,KAAM,CACFzG,KAAMsE,OACNpE,UAAU,EACVsF,QAASA,IAAM,M,sEC7BnBrG,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,qqBAAsqB,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,8EAA8E,MAAQ,GAAG,SAAW,wMAAwM,eAAiB,CAAC,mqBAAmqB,WAAa,MAExtD,S","sources":["webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/CarouselType.vue?vue&type=style&index=1&id=5d005750&prod&lang=css","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/PostType.vue?vue&type=style&index=0&id=16890f40&prod&scoped=true&lang=scss","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?5039","webpack://nextcloud/./apps/settings/src/components/AppStoreDiscover/CarouselType.vue?547e","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?9aad","webpack://nextcloud/./apps/settings/src/components/AppStoreDiscover/PostType.vue?bdb8","webpack:///nextcloud/apps/settings/src/composables/useGetLocalizedValue.ts","webpack:///nextcloud/apps/settings/src/constants/AppDiscoverTypes.ts","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/common.ts","webpack:///nextcloud/apps/settings/src/components/AppStoreDiscover/CarouselType.vue?vue&type=style&index=0&id=5d005750&prod&scoped=true&lang=scss"],"sourcesContent":["// 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/components/NcButton'\\nimport NcIconSvgWrapper from '@nextcloud/vue/components/NcIconSvgWrapper'\\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\\tinset-inline-end: -54px;\\n\\t\\t}\\n\\t\\t&--previous {\\n\\t\\t\\tinset-inline-start: -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","// 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-16890f40]{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-16890f40]{flex-direction:row-reverse}.app-discover-post h3[data-v-16890f40],.app-discover-post h4[data-v-16890f40]{font-size:24px;font-weight:600;margin-block:0 1em}.app-discover-post__text[data-v-16890f40]{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-16890f40]{padding-block-end:0}.app-discover-post__media[data-v-16890f40]{display:block;overflow:hidden;max-width:450px;border-radius:var(--border-radius-rounded)}.app-discover-post__media--fullwidth[data-v-16890f40]{max-width:unset;max-height:unset}.app-discover-post__media--end[data-v-16890f40]{border-end-start-radius:0;border-start-start-radius:0}.app-discover-post__media--start[data-v-16890f40]{border-end-end-radius:0;border-start-end-radius:0}.app-discover-post__media img[data-v-16890f40],.app-discover-post__media-element[data-v-16890f40]{height:100%;width:100%;object-fit:cover;object-position:center}.app-discover-post__play-icon[data-v-16890f40]{position:absolute;top:-46px;inset-inline-end:-46px}.app-discover-post__play-icon-wrapper[data-v-16890f40]{position:relative;top:-50%;inset-inline-start:-50%}.app-discover-post--small.app-discover-post[data-v-16890f40]{flex-direction:column;max-height:500px}.app-discover-post--small.app-discover-post--reverse[data-v-16890f40]{flex-direction:column-reverse}.app-discover-post--small .app-discover-post__text[data-v-16890f40]{flex:1 1 50%}.app-discover-post--small .app-discover-post__media[data-v-16890f40]{min-width:100%}.app-discover-post--small .app-discover-post__media--end[data-v-16890f40]{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-16890f40]{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,+CACC,iBAAA,CACA,SAAA,CACA,sBAAA,CAEA,uDACC,iBAAA,CACA,QAAA,CACA,uBAAA,CAMF,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\\tposition: absolute;\\n\\t\\ttop: -46px; // half of the icon height\\n\\t\\tinset-inline-end: -46px; // half of the icon width\\n\\n\\t\\t&-wrapper {\\n\\t\\t\\tposition: relative;\\n\\t\\t\\ttop: -50%;\\n\\t\\t\\tinset-inline-start: -50%;\\n\\t\\t}\\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","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=5d005750&prod&scoped=true&lang=scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\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=5d005750&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=5d005750&prod&lang=css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\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=5d005750&prod&lang=css\";\n export default content && content.locals ? content.locals : undefined;\n","import { render, staticRenderFns } from \"./CarouselType.vue?vue&type=template&id=5d005750&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=5d005750&prod&scoped=true&lang=scss\"\nimport style1 from \"./CarouselType.vue?vue&type=style&index=1&id=5d005750&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 \"5d005750\",\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=16890f40&prod&scoped=true&lang=scss\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\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=16890f40&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=16890f40&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=16890f40&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 \"16890f40\",\n null\n \n)\n\nexport default component.exports","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","/**\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","// 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-5d005750]{font-size:24px;font-weight:600;margin-block:0 1em}.app-discover-carousel__wrapper[data-v-5d005750]{display:flex}.app-discover-carousel__button[data-v-5d005750]{color:var(--color-text-maxcontrast);position:absolute;top:calc(50% - 22px)}.app-discover-carousel__button-wrapper[data-v-5d005750]{position:relative}.app-discover-carousel__button--next[data-v-5d005750]{inset-inline-end:-54px}.app-discover-carousel__button--previous[data-v-5d005750]{inset-inline-start:-54px}.app-discover-carousel__tabs[data-v-5d005750]{display:flex;flex-direction:row;justify-content:center}.app-discover-carousel__tabs>*[data-v-5d005750]{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,sBAAA,CAED,0DACC,wBAAA,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\\tinset-inline-end: -54px;\\n\\t\\t}\\n\\t\\t&--previous {\\n\\t\\t\\tinset-inline-start: -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"],"names":["___CSS_LOADER_EXPORT___","push","module","id","defineComponent","name","components","NcButton","NcIconSvgWrapper","PostType","props","commonAppDiscoverProps","content","type","Array","required","setup","translatedHeadline","useLocalizedValue","computed","headline","currentIndex","ref","Math","min","length","shownElement","value","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","undefined","_v","_s","_e","staticClass","on","$event","scopedSlots","_u","key","fn","proxy","_b","_l","index","total","apps","loadState","knownRoutes","Object","fromEntries","map","app","href","RouterLink","String","data","routerProps","linkProps","immediate","handler","match","target","rel","appId","generateUrl","to","params","category","$route","_t","AppLink","text","default","media","inline","Boolean","domId","translatedText","localizedMedia","mediaSources","src","flat","mediaAlt","alt","isImage","mime","startsWith","isFullWidth","mediaLink","link","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","dict","language","getLanguage","getLocalizedValue","split","en","APP_DISCOVER_KNOWN_TYPES","validator","v","includes","date","Number","expiryDate"],"sourceRoot":""}
|