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AAQ,SAAW5B,EAAI4B,SAAW,QAAQgD,GAAG,CAAC,MAAQ,SAASC,GAAQ7E,EAAIoC,kBAAmB,CAAI,IAAI,CAACpC,EAAI8E,GAAI9E,EAAIqB,cAAc,SAAS0D,GAAQ,OAAO7E,EAAG,SAAS,CAAC8E,IAAID,EAAOzD,IAAIkD,MAAM,CAAC,IAAMxE,EAAI4B,aAAU/E,EAAYmD,EAAIyD,mBAAmBsB,EAAOzD,KAAK,OAAStB,EAAI4B,QAAU5B,EAAIyD,mBAAmBsB,EAAOzD,UAAOzE,EAAU,KAAOkI,EAAOjD,OAAO,IAAG9B,EAAI0E,GAAG,KAAM1E,EAAI4B,QAAS1B,EAAG,MAAM,CAACsE,MAAM,CAAC,IAAMxE,EAAIyD,mBAAmBzD,EAAIqB,aAAa,GAAGC,KAAK,IAAMtB,EAAIwB,YAAYxB,EAAIO,MAAM,GAAGP,EAAI0E,GAAG,KAAKxE,EAAG,MAAM,CAACmE,YAAY,wCAAwC,EAAGrE,EAAI4B,SAAW5B,EAAIsC,cAAepC,EAAG,mBAAmB,CAACmE,YAAY,+BAA+BG,MAAM,CAAC,KAAOxE,EAAIwD,qBAAqB,KAAO,MAAMxD,EAAIO,MAAM,IAAI,GAAGP,EAAIO,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/PostType.vue?vue&type=style&index=0&id=72a2ea36&prod&scoped=true&lang=scss","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, `.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","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","_ref","_ref2","_dict$language","split","en","___CSS_LOADER_EXPORT___","push","module","apps","loadState","knownRoutes","fromEntries","map","app","_app$app","href","defineComponent","name","components","RouterLink","props","data","routerProps","linkProps","watch","immediate","handler","_this$$route$params$c","_this$$route$params","match","target","rel","appId","generateUrl","concat","to","params","category","$route","_vm","this","_c","_self","_setupProxy","_b","_t","_e","AppLink","NcIconSvgWrapper","text","media","inline","Boolean","domId","setup","translatedHeadline","translatedText","localizedMedia","_props$media","content","mediaSources","src","flat","mediaAlt","_localizedMedia$value","_localizedMedia$value2","alt","isImage","_mediaSources$value","mime","startsWith","isFullWidth","mediaLink","_localizedMedia$value3","_localizedMedia$value4","hasPlaybackEnded","ref","showPlayVideo","_localizedMedia$value5","container","width","containerWidth","useElementSize","isSmallWidth","mediaElement","mediaIsVisible","useElementVisibility","threshold","watchEffect","video","muted","play","pause","ended","currentTime","mdiPlayCircleOutline","generatePrivacyUrl","url","fileName","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","_vm$media","_vm$media2","staticClass","class","alignment","attrs","tag","_v","_s","on","$event","_l","source","key"],"sourceRoot":""}