PageSourceSearch

https://www.mob.ch/_nuxt/rich-text-node-slim.XJ4O29P9.js

js mob.ch collected 2026-10-02 04:52:11 UTC 4,731 bytes, 7 lines download raw bytes

1import{K as c,a7 as a,a8 as n,a3 as p,M as l,a4 as o,a5 as m,N as y,O as _,P as f,R as b,aW as k,T as g}from"./entry.nP9U-F0k.js";import v from"./rich-text-text.O1XSLwk1.js";import x from"./rich-text-asset.eI8oD8u_.js";import{C}from"./link.kaz3-TNZ.js";import"./safe-access.ZLlTBWHi.js";import"./generic-link.9desWZgJ.js";import"./index.tsdXPcWo.js";const T={components:{RichTextNodeSlim:a(()=>n(()=>Promise.resolve().then(()=>R),void 0,import.meta.url)),RichTextAsset:a(()=>n(()=>import("./rich-text-asset.eI8oD8u_.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url)),RichTextText:a(()=>n(()=>import("./rich-text-text.O1XSLwk1.js"),__vite__mapDeps([5,1,2]),import.meta.url)),GenericLink:a(()=>n(()=>import("./generic-link.9desWZgJ.js").then(e=>e.g),__vite__mapDeps([6,1,2,7]),import.meta.url)),CustomLink:C},props:{type:{type:String,required:!0},value:{type:[Array,String,Object],required:!1,default:null},childNodes:{type:Array,required:!1,default:()=>[]},options:{type:Object,required:!1,default:()=>{}},lazyRenderingEnabled:{type:Boolean,required:!1,default:!1},noBottomMargin:{type:Boolean,required:!1,default:!1},routeObject:{type:Object,required:!1,default:()=>{}}},computed:{nodeTag(){switch(this.type){case"paragraph":return"p";case"entry-hyperlink":case"asset-hyperlink":return p("CustomLink");case"hyperlink":case"button":return"CustomLink";case"ordered-list":return"ol";case"unordered-list":return"ul";case"list-item":return"li";case"heading-1":return"h1";case"heading-2":return"h2";case"heading-3":return"h3";case"heading-4":return"h4";case"heading-5":return"h5";case"heading-6":return"h6";case"text":return v;case"embedded-asset-inline":case"embedded-asset-block":return x}return"span"},nodeProps(){let e={value:this.value};switch(this.type){case"asset-hyperlink":e={title:this.value?.title,url:this.value?.url,target:"_blank",type:"GenericLink",size:"inherit"};break;case"entry-hyperlink":return{page:this.value,type:"GenericLink",size:"inherit"};case"button":case"hyperlink":if(this.routeObject)if(this.routeObject.isRoute){let t=this.routeObject.url;t&&!t.startsWith("http://")&&!t.startsWith("https://")&&(t=this.localePath(t)),e={href:t||"",target:this.routeObject.target}}else e={href:""};else this.value.startsWith("mailto:")?e={href:this.value}:this.value.startsWith("target_blank:")?e={href:this.value.split("target_blank:")[1],target:"_blank"}:e={href:this.value};e.type="a",e.size="inherit";break;case"text":if(!this.options)break;e.marks=this.options.marks;break;case"embedded-asset-inline":case"embedded-asset-block":e={title:this.value.title,description:this.value.description,id:this.value.id,contentType:this.value.contentType,url:this.value.url,details:this.value.details};break}return e},nodeRenderable(){switch(this.type){case"paragraph":case"entry-hyperlink":case"asset-hyperlink":return this.childNodes.length>0||!!this.value;case"text":case"embedded-asset-inline":case"embedded-asset-block":return!!this.value}return!0},nodeClasses(){return[...this.mainClass,...this.additionalClasses,...this.markClasses,this.noBottomMargin?"mb-0":void 0]},markClasses(){if(this.childNodes?.length>0&&this.childNodes[0].type==="text"&&this.childNodes[0].options?.marks?.length){const e=[];if(this.type==="hyperlink"||this.type==="entry-hyperlink"||this.type==="asset-hyperlink"){const t=this.childNodes[0].options?.marks?.map(s=>s.toLowerCase());t.includes("bold")&&e.push("font-weight-bold"),t.includes("italic")&&e.push("font-italic"),t.includes("underline")&&e.push("text-decoration-underline")}return e}return[]},mainClass(){return typeof this.type=="string"?[`rich-text-${this.type.toLowerCase()}`]:[]},additionalClasses(){let e=[];switch(this.type){case"button":e=[...e,"btn","btn-primary","btn-block","btn-lg"];break}return e}}};function O(e,t,s,L,N,r){const d=u;return r.nodeRenderable?(l(),o(k(r.nodeTag),b({key:0,class:r.nodeClasses},r.nodeProps),{default:m(()=>[(l(!0),y(_,null,f(s.childNodes,(i,h)=>(l(),o(d,{key:h,type:i.type,value:i.value,options:i.options,"child-nodes":i.childNodes,"lazy-rendering-enabled":s.lazyRenderingEnabled},null,8,["type","value","options","child-nodes","lazy-rendering-enabled"]))),128))]),_:1},16,["class"])):g("",!0)}
1const u=c(T,[["render",O]]),R=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"}));export{u as default};
2function __vite__mapDeps(indexes) {
3  if (!__vite__mapDeps.viteFileDeps) {
4    __vite__mapDeps.viteFileDeps = ["./rich-text-asset.eI8oD8u_.js","./entry.nP9U-F0k.js","./entry.O9KOVcsn.css","./safe-access.ZLlTBWHi.js","./rich-text-asset.D7h8jABk.css","./rich-text-text.O1XSLwk1.js","./generic-link.9desWZgJ.js","./index.tsdXPcWo.js"]
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.