PageSourceSearch

https://familiesforlife.sg/assets/Paragraph.29cec341.js

js familiesforlife.sg collected 2026-10-03 20:16:45 UTC 1,741 bytes, 1 lines download raw bytes

1import{c1 as a,bM as t,bK as e,bR as s,bQ as o,c2 as n,c3 as l,c7 as d,c8 as p,cc as c,cg as r,bP as i,cp as u,ev as m,ce as v,cf as g,eu as f,cn as b}from"./commonmodules.b9c1dd40.js";import{_ as h,a as y}from"./index.d3bd9396.js";import{D as j}from"./model.3fbe869d.js";import w from"./RenderHtml.81f5c09a.js";import"./axios.1263d4b1.js";import"./vue-router.5e13d197.js";import"./element-plus.80abf16b.js";import"./lodash-es.480d1bd8.js";const x={class:"camps-paragraph"};var D=h(a({__name:"Paragraph",props:{domId:null,componentData:null,save:{type:Function}},setup(a){const h=a;m((a=>({"00ddb3f1":i(S)})));const D=t(j),_=e((()=>D.value.style||"")),R=e((()=>{if(_.value)return"";const a=D.value.style||"";try{return JSON.parse(a)}catch(t){return a}})),S=e((()=>{var a,t,e,s;return D.value.paddingTop||D.value.paddingRight||D.value.paddingBottom||D.value.paddingLeft?`${null!=(a=D.value.paddingTop)?a:0}px ${null!=(t=D.value.paddingRight)?t:0}px ${null!=(e=D.value.paddingBottom)?e:0}px ${null!=(s=D.value.paddingLeft)?s:0}px`:"initial"})),T=e((()=>f(D.value.content,y.getXssWhiteList())));return s((()=>{h.componentData&&(D.value={...j,...JSON.parse(h.componentData)})})),o((()=>h.componentData),(a=>{a&&(D.value={...j,...JSON.parse(h.componentData)})}),{immediate:!0}),o(T,(async()=>{await b();const a=window.location.hash;if(a){const t=document.querySelector(a);t&&setTimeout((()=>{const a=t.getBoundingClientRect().top+window.scrollY-200;window.scrollTo({top:a,behavior:"smooth"})}),1e3)}}),{immediate:!0}),(a,t)=>(n(),l("div",x,[(n(),d(c("style"),null,{default:p((()=>[v(g(i(_)),1)])),_:1})),r(w,{content:i(T),class:"paragraph",style:u(i(R))}
1,null,8,["content","style"])]))}}),[["__scopeId","data-v-6565f310"]]);export{D as default};

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.