PageSourceSearch

https://www.mob.ch/_nuxt/_slugOrId_.MtOeRrUv.js

js mob.ch collected 2026-10-02 04:53:03 UTC 6,016 bytes, 7 lines download raw bytes

1import{K as _,a7 as a,aa as C,aw as G,at as F,a3 as o,M as r,N as s,S as h,ay as g,T as d,Q as u,a6 as y,a4 as w,aX as B,R as S,a8 as c}from"./entry.nP9U-F0k.js";import{u as v}from"./use-show-header-switch.RjVIyK22.js";import{a as A}from"./safe-access.ZLlTBWHi.js";import{c as E}from"./componentBase.mdQ2P-1U.js";const b={name:"AllDynamic",components:{Grid:a(()=>c(()=>import("./grid.ZLD41Dgy.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url)),ItemBackButton:a(()=>c(()=>import("./item-back-button.aB8iAJJi.js"),__vite__mapDeps([9,1,2,10,11]),import.meta.url)),ContentFilterBar:a(()=>c(()=>import("./content-filter-bar.Xca6QFkL.js"),__vite__mapDeps([12,1,2,13,14,15,16,17,18,5,6,19,20]),import.meta.url))},mixins:[E],provide(){return{showCustomFlag:this.dynamicContentGrid?.showCustomFlag}},setup(){return{showHeaderSwitch:v()}},data(){return{isLoading:!0}},computed:{...C({__:"config/__",contentFilters:"contentFilters",currentFilterMenuItems:"filterMenuItems/activeFilterMenuItems",themeConfig:"configuration/theme/theme",getGridBySlugOrId:"content/dynamicContentGrid/byIdOrSlug",contentIdsById:"content/dynamicContentGrid/contentIdsById",contentById:"content/gridItems/byIDs",independentContentById:"content/gridItems/independentByIDs",customerSegments:"user/index/customerSegments",applicationConfig:"config/applicationConfig",showHeaderFilter:"navigation/showHeaderFilter",alert:"configuration/alert/getAlert",disabledAlert:"user/index/disabledAlert",applicationConfigs:"config/applicationConfigs"}),dynamicContentGridId(){return this.dynamicContentGrid?.id},dynamicContentGrid(){return this.getGridBySlugOrId(this.$route.params?.slugOrId)},itemIDs(){return this.contentIdsById(this.dynamicContentGridId)},gridItems(){return this.isFilterIndependent?this.independentContentById(this.itemIDs):this.contentById(this.itemIDs)},noItems(){return this.gridItems.length===0},themeFlavor(){return this.themeConfig.grid?.["content-grid"]?.flavor??"inline"},isFilterIndependent(){return this.dynamicContentGrid?["Favourites","Recently Read","Filter Set"].includes(this.dynamicContentGrid.filterEngine):!1},sortedGridItems(){const t=this.gridItems.filter(e=>this.nodeForTargetedUser(e));return this.dynamicContentGrid&&this.dynamicContentGrid.sortEngine&&this.dynamicContentGrid.sortEngine==="Random"?[...t].sort(()=>.5-Math.random()):t},gridProps(){return this.dynamicContentGrid?{items:this.sortedGridItems,layout:"MediumGrid",variant:"content",flavour:this.themeFlavor,rowCount:this.gridItems.length,isLoading:this.isLoading,imageAspectRatio:"4x3"}:null},pageFilterClasses(){return{"page-filter--alert":this.alertVisible&&!this.showHeaderSwitch,"page-filter--switch":!this.alertVisible&&this.showHeaderSwitch,"page-filter--switch-alert":this.alertVisible&&this.showHeaderSwitch}},showFilters(){return!!this.currentFilterMenuItems?.length},alertVisible(){return A("default",["alert","variant"])(this.themeConfig)==="fallback"?!0:this.alert&&this.disabledAlert!==this.calcAlertEquals(this.alert)}},watch:{async contentFilters(){const{start:t,finish:e}=G();this.$nextTick(()=>t()),await this.fetchData(),e()}},async created(){await this.fetchData()},mounted(){this.dynamicContentGridId&&this.$nextTick(()=>{this.$digitalDataLayer.pushPage({},!1,"",document.referrer,this.dynamicContentGridId)})},methods:{nodeForTargetedUser(t){const e=t?.cSegments?t?.cSegments:[];return F(e,this.customerSegments,this.$store.getters["user/index/userCallWasCalled"])},calcAlertEquals(t){return`${t.id}.${t.updatedAt}`},async fetchData(){const t=Math.floor(Date.now()/1e3),e=this.dynamicContentGrid;if(e){this.isLoading=!0,this.$store.commit("navigation/setShowHeaderFilter",e.filterEngine!=="FilterSet"),this.$store.commit("content/dynamicContentGrid/setRecentFetch",{id:this.dynamicContentGridId,time:t});const l=Array.isArray(e.storyCategories)?e.storyCategories.map(n=>n.id):[],m={filterEngine:e.filterEngine,sortEngine:e.sortEngine,contentType:e.contentType,contentTypeList:e.contentTypeList,limit:1e3,regionIds:Array.isArray(e.regions)?e.regions.map(n=>n.id):[],categoryIds:e.filterEngine==="Filter Set"?l:[]};await this.$store.dispatch("content/dynamicContentGrid/loadDynamicGridItems",{id:this.dynamicContentGridId,time:t,settings:m,isFilterIndependent:this.isFilterIndependent}),this.isLoading=!1}}}},D={class:"container all-dynamic"},L={class:"all-dynamic__header d-flex justify-content-left align-items-center"},k={key:0,class:"all-dynamic__header__title"},P={key:0};function T(t,e,l,m,n,i){const p=o("ContentFilterBar"),f=o("ItemBackButton"),I=o("Grid");
1return r(),s("div",{class:h({"page-base-spacing":!i.showFilters})},[i.showFilters?(r(),s("div",{key:0,class:h([i.pageFilterClasses,"page-filter d-print-none page-base-spacing"])},[g(p)],2)):d("",!0),u("div",D,[u("div",L,[g(f,{class:"item-back-button",small:t.isMobileLayout},null,8,["small"]),i.dynamicContentGrid&&i.dynamicContentGrid.title?(r(),s("div",k,y(t.__(i.dynamicContentGrid.title)),1)):d("",!0)]),i.noItems&&!n.isLoading?(r(),s("div",P,y(t.__("Sorry, we couldn't find any items that matches your criteria.")),1)):i.gridProps?(r(),w(I,B(S({key:1},i.gridProps)),null,16)):d("",!0)])],2)}const R=_(b,[["render",T],["__scopeId","data-v-6f0ba4ab"]]);export{R as default};
2function __vite__mapDeps(indexes) {
3  if (!__vite__mapDeps.viteFileDeps) {
4    __vite__mapDeps.viteFileDeps = ["./grid.ZLD41Dgy.js","./entry.nP9U-F0k.js","./entry.O9KOVcsn.css","./outdoor-tracking.A6ccQLYj.js","./link-btn.k0qM79oZ.js","./generic-link.9desWZgJ.js","./index.tsdXPcWo.js","./link-btn.jN2ZQscP.css","./grid.gNV_TnlI.css","./item-back-button.aB8iAJJi.js","./navigation-button.1tQKI9mv.js","./navigation-button.x2ayvC3n.css","./content-filter-bar.Xca6QFkL.js","./is-safari.Uj6n_Aoz.js","./viewport-observer.A5nhnINA.js","./filter-mixin.fv7yG-Lw.js","./getFormattedWithCurrency.MYE5rmO1.js","./getCurrencySymbol.JfSKjZx-.js","./Button.s7BydATz.js","./Button.st5Q9GVb.css","./content-filter-bar.NzSfWMAw.css"]
5  }
6  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
7}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.