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,CAACyE,IAAID,EAAOpD,IAAI6C,MAAM,CAAC,IAAMnE,EAAI4B,aAAUhF,EAAYoD,EAAIoD,mBAAmBsB,EAAOpD,KAAK,OAAStB,EAAI4B,QAAU5B,EAAIoD,mBAAmBsB,EAAOpD,UAAO1E,EAAU,KAAO8H,EAAO5C,OAAO,IAAG9B,EAAIqE,GAAG,KAAMrE,EAAI4B,QAAS1B,EAAG,MAAM,CAACiE,MAAM,CAAC,IAAMnE,EAAIoD,mBAAmBpD,EAAIqB,aAAa,GAAGC,KAAK,IAAMtB,EAAIwB,YAAYxB,EAAIO,MAAM,GAAGP,EAAIqE,GAAG,KAAKnE,EAAG,MAAM,CAAC8D,YAAY,wCAAwC,EAAGhE,EAAI4B,SAAW5B,EAAIsC,cAAepC,EAAG,mBAAmB,CAAC8D,YAAY,+BAA+BG,MAAM,CAAC,KAAOnE,EAAImD,qBAAqB,KAAO,MAAMnD,EAAIO,MAAM,IAAI,GAAGP,EAAIO,MAAM,EAC36B,GACsB,IMMpB,EACA,KACA,WACA,MAI8B","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=48c8e8d4&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?86b0","webpack://nextcloud/./apps/settings/src/components/AppStoreDiscover/PostType.vue?bdb8"],"sourcesContent":["/**\n * @copyright Copyright (c) 2024 Ferdinand Thiessen <opensource@fthiessen.de>\n *\n * @author Ferdinand Thiessen <opensource@fthiessen.de>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\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","/**\n * @copyright Copyright (c) 2024 Ferdinand Thiessen <opensource@fthiessen.de>\n *\n * @author Ferdinand Thiessen <opensource@fthiessen.de>\n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\nimport { 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-48c8e8d4]{width:100%;background-color:var(--color-primary-element-light);border-radius:var(--border-radius-rounded);display:flex;flex-direction:row}.app-discover-post--reverse[data-v-48c8e8d4]{flex-direction:row-reverse}.app-discover-post h3[data-v-48c8e8d4],.app-discover-post h4[data-v-48c8e8d4]{font-size:24px;font-weight:600;margin-block:0 1em}.app-discover-post__text[data-v-48c8e8d4]{display:block;padding:var(--border-radius-rounded);width:100%}.app-discover-post__media[data-v-48c8e8d4]{display:block;overflow:hidden;max-height:300px;max-width:450px;border-radius:var(--border-radius-rounded)}.app-discover-post__media--fullwidth[data-v-48c8e8d4]{max-width:unset;max-height:unset}.app-discover-post__media--end[data-v-48c8e8d4]{border-end-start-radius:0;border-start-start-radius:0}.app-discover-post__media--start[data-v-48c8e8d4]{border-end-end-radius:0;border-start-end-radius:0}.app-discover-post__media img[data-v-48c8e8d4],.app-discover-post__media-element[data-v-48c8e8d4]{height:100%;width:100%;object-fit:cover;object-position:center}.app-discover-post__play-icon[data-v-48c8e8d4]{position:absolute;top:-46px;right:-46px}.app-discover-post__play-icon-wrapper[data-v-48c8e8d4]{position:relative;top:-50%;left:-50%}@media only screen and (max-width: 699px){.app-discover-post[data-v-48c8e8d4]{flex-direction:column}.app-discover-post--reverse[data-v-48c8e8d4]{flex-direction:column-reverse}.app-discover-post__media[data-v-48c8e8d4]{min-width:100%}.app-discover-post__media--end[data-v-48c8e8d4]{border-radius:var(--border-radius-rounded);border-start-end-radius:0;border-start-start-radius:0}.app-discover-post__media--start[data-v-48c8e8d4]{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,UAAA,CACA,mDAAA,CACA,0CAAA,CAEA,YAAA,CACA,kBAAA,CACA,6CACC,0BAAA,CAGD,8EACC,cAAA,CACA,eAAA,CACA,kBAAA,CAGD,0CACC,aAAA,CACA,oCAAA,CACA,UAAA,CAGD,2CACC,aAAA,CACA,eAAA,CAEA,gBAAA,CACA,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,CAUH,0CACC,oCACC,qBAAA,CAEA,6CACC,6BAAA,CAGD,2CACC,cAAA,CAEA,gDACC,0CAAA,CACA,yBAAA,CACA,2BAAA,CAGD,kDACC,0CAAA,CACA,uBAAA,CACA,yBAAA,CAAA\",\"sourcesContent\":[\"\\n.app-discover-post {\\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\\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\\tpadding: var(--border-radius-rounded);\\n\\t\\twidth: 100%;\\n\\t}\\n\\n\\t&__media {\\n\\t\\tdisplay: block;\\n\\t\\toverflow: hidden;\\n\\n\\t\\tmax-height: 300px;\\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// Ensure section works on mobile devices\\n@media only screen and (max-width: 699px) {\\n\\t.app-discover-post {\\n\\t\\tflex-direction: column;\\n\\n\\t\\t&--reverse {\\n\\t\\t\\tflex-direction: column-reverse;\\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',{staticClass:\"app-discover-post\",class:{ 'app-discover-post--reverse': _vm.media && _vm.media.alignment === 'start' },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=e6b87e98\"\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=48c8e8d4&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=48c8e8d4&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=48c8e8d4&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=48c8e8d4&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 \"48c8e8d4\",\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","knownRoutes","fromEntries","entries","loadState","map","_v$app","k","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","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":""}