PageSourceSearch

https://www.lionrapid.com/assets/entries/pages_content-page.BC4_NM64.js

js lionrapid.com collected 2026-10-05 06:32:36 UTC 8,424 bytes, 1 lines download raw bytes

1import{j as e,c as N,S as T,N as S,K as q,q as D,L,Q as R,M as E,F as U,P as F,e as I,i as H,a as M,b as $,o as O}from"../chunks/chunk-6q9pZAB4.js";import{u as Y}from"../chunks/chunk-DZLQ_eX3.js";import{f as u,m as k,a as V,t as Q,A as P,g as X,b as K,d as W,n as G,o as J,p as Z,q as ee}from"../chunks/chunk-BppPENrj.js";import{r as te,b as ae,f as se}from"../chunks/chunk-Ca14g5cv.js";import"../chunks/chunk-DaQ-XLju.js";/* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      *//* empty css                      */const le="[&>p]:text-sm [&>p]:text-text-muted [&>p]:leading-relaxed [&>p]:mb-3 [&>ul]:list-disc [&>ul]:pl-5 [&>ul]:text-sm [&>ul]:text-text-muted [&>ul]:mb-3 [&>ol]:list-decimal [&>ol]:pl-5 [&>ol]:text-sm [&>ol]:text-text-muted [&>ol]:mb-3 [&_a]:text-primary [&_a]:underline",_="w-full max-w-2xl mx-auto px-5",ie=({block:a,media:s,lang:d})=>{switch(a.kind){case"subhead":return a.heading?e.jsx("div",{className:`${_} pt-8 pb-1`,children:e.jsx("h2",{className:"text-xl sm:text-2xl font-bold text-text-strong tracking-tight",children:a.heading})}):null;case"pullquote":return a.heading?e.jsx("div",{className:"w-full max-w-3xl mx-auto px-5 py-10",children:e.jsx("p",{className:"font-display text-2xl sm:text-3xl font-bold leading-tight tracking-tight text-primary text-balance text-center",children:a.heading})}):null;case"image":{const l=a.media?te(a.media,s,d):null;return l?e.jsxs("figure",{className:"w-full max-w-4xl mx-auto px-5 py-6 flex flex-col gap-2",children:[l,a.caption&&e.jsx("figcaption",{className:"text-sm text-text-faint text-center",children:a.caption})]}):null}default:return a.body?e.jsx("div",{className:`${_} py-2 ${le}`,dangerouslySetInnerHTML:{__html:a.body}}):null}},z=({blocks:a,media:s,lang:d="en"})=>e.jsx(e.Fragment,{children:a.map((l,i)=>e.jsx(ie,{block:l,media:s,lang:d},i))}),re="[&>p]:text-text-muted [&>p]:leading-relaxed [&>p]:mb-4 [&_a]:text-primary [&_a]:underline [&>h2]:font-bold [&>h2]:text-text-strong [&>h2]:mt-6 [&>h2]:mb-2";function oe({page:a}){const s=N(),d=a.fields,l=(r,v="")=>u(d?.[r],s)||v,i=l("hero_media"),c=i.startsWith("image:")?a.media?.[i.slice(6)]:void 0,y=l("title",a.nav_label_en),n=l("post_date"),p=l("author"),h=l("tags").split(",").map(r=>r.trim()).filter(Boolean),f=k(a.field_list??[],s),b=(a.field_list??[]).filter(r=>r.type==="section");return e.jsxs(T,{children:[e.jsxs("article",{className:"w-full",children:[c&&e.jsx("div",{className:"w-full max-w-5xl mx-auto px-5 pt-8",children:e.jsx("img",{src:c.src,alt:u(c.alt,s),width:c.width,height:c.height,fetchPriority:"high",decoding:"async",className:"w-full h-auto max-h-[28rem] object-cover rounded-2xl"})}),e.jsxs("header",{className:"w-full max-w-2xl mx-auto px-5 pt-10 flex flex-col gap-4",children:[(n||p)&&e.jsxs("div",{className:"flex items-center gap-2 text-sm text-text-faint",children:[n&&e.jsx("time",{dateTime:n,children:V(n)}),n&&p&&e.jsx("span",{"aria-hidden":!0,children:"·"}),p&&e.jsx("span",{children:p})]}),e.jsx("h1",{className:"text-display",children:y}),h.length>0&&e.jsx("div",{className:"flex flex-wrap gap-2",children:h.map(r=>e.jsx(S,{to:`/blog/tag/${Q(r)}`,className:"text-xs uppercase tracking-wide border border-border-soft rounded-full px-2.5 py-0.5 text-text-muted hover:text-primary hover:border-primary transition-colors",children:r},r))})]}),e.jsxs("div",{className:"w-full max-w-2xl mx-auto px-5 py-10 flex flex-col gap-6",children:[f.length>0&&e.jsx(z,{blocks:f,media:a.media,lang:s}),b.map(r=>e.jsx("div",{className:re,dangerouslySetInnerHTML:{__html:u(r,s)}},r.key))]}),e.jsx("div",{className:"w-full max-w-2xl mx-auto px-5 pb-16",children:e.jsx(S,{to:"/blog",className:"text-sm text-primary underline",children:"← All posts"})})]}),e.jsx(P,{slug:a.slug})]})}const ne="[&>p]:text-sm [&>p]:text-text-muted [&>p]:leading-relaxed [&>p]:mb-3 [&_a]:text-primary [&_a]:underline";function de(){const a=Y(),s=N();if(a.layout==="post")return e.jsx(oe,{page:a});const d=a.fields,l=a.field_list??[],i=(m,t="")=>u(d?.[m],s)||t,c=X(l,s),y=K(l,s),n=W(l,s),p=G(l,s),h=J(l,s),f=Z(l,s),b=k(l,s),r=ee(l,s),v=l.filter(m=>m.type==="section"),w=new Set,o=[];for(const m of l)if(!w.has(m.type))switch(w.add(m.type),m.type){case"feature":o.push(c.map((t,j)=>e.jsx(U,{eyebrow:t.eyebrow,title:t.title,reverse:j%2===1,media:se(t,void 0,a.media,s),children:t.paragraphs.map((g,x)=>e.jsx("p",{children:g},x))},`feature-${j}`)));break;case"stat":p.length>0&&o.push(e.jsx(E,{stats:p},"stats"));break;case"quote":h.length>0&&o.push(e.jsx(R,{quotes:h},"quotes"));break;case"compare":f.length>0&&o.push(e.jsx(L,{rows:f,usLabel:i("compare_us_label","LionRapid"),themLabel:i("compare_them_label","The other tool")},"compare"));break;case"item":y.length>0&&o.push(e.jsx("section",{className:"w-full max-w-6xl mx-auto px-5 py-8 grid gap-4 sm:grid-cols-2",children:y.map(t=>e.jsxs("div",{className:"rounded-xl border border-border-soft bg-panel p-5 flex flex-col gap-2",children:[e.jsx("h3",{className:"font-bold text-text-strong",children:t.title}),t.body&&e.jsx("p",{className:"text-sm text-text-muted leading-relaxed",children:t.body}),t.chips.length>0&&e.jsx("p",{className:"text-xs text-text-faint",children:t.chips.join(" · ")})]},t.title))},"items"));break;case"faq":n.length>0&&o.push(e.jsx(D,{data:n,eyebrow:i("faq_eyebrow","FAQ"),heading:i("faq_heading","Frequently asked questions")},"faq"));break;case"block":b.length>0&&o.push(e.jsx("div",{className:"py-10 sm:py-16",children:e.jsx(z,{blocks:b,media:a.media,lang:s})},"blocks"));break;case"bubble":r.forEach((t,j)=>{const g=t.media.startsWith("image:")?t.media.slice(6):"",x=g?a.media?.[g]:void 0,A=x?void 0:ae(g)??void 0,C=t.endX&&t.endY&&Number.isFinite(Number(t.endX))&&Number.isFinite(Number(t.endY))?{x:Number(t.endX),y:Number(t.endY)}:void 0,B=t.scale&&Number.isFinite(Number(t.scale))&&Number(t.scale)>0?Number(t.scale):void 0;o.push(e.jsx(q,{imageSrc:x?.src,imageAlt:x?u(x.alt,s):"",media:A,template:t.text||void 0,words:t.words.length?t.words:void 0,wordColor:t.color||"primary",bubbleStyle:t.style||"thought",startCorner:t.corner||"top-left",endPoint:C,scale:B},`bubble-${j}`))});break;case"section":o.push(e.jsx("section",{className:"w-full max-w-2xl mx-auto px-5 py-6",children:v.map(t=>e.jsx("div",{className:ne,dangerouslySetInnerHTML:{__html:u(t,s)}},t.key))},"rich"));break}return e.jsxs(T,{children:[e.jsx(F,{eyebrow:i("eyebrow"),title:i("title",a.nav_label_en),lede:i("lede")}),o,i("cta_heading")&&e.jsx(I,{heading:i("cta_heading"),subline:i("cta_subline")}),e.jsx(P,{slug:a.slug})]})}const ce=Object.freeze(Object.defineProperty({__proto__:null,Page:de},Symbol.toStringTag,{value:"Module"})),Te={serverOnlyHooks:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:!0}},isClientRuntimeLoaded:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:!0}},onBeforeRenderEnv:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:null}},dataEnv:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:{server:!0}}},onRenderClient:{type:"standard",definedAtData:{filePathToShowToUser:"vike-react/__internal/integration/onRenderClient",fileExportPathToShowToUser:[]},valueSerialized:{type:"pointer-import",value:O}},Page:{type:"standard",definedAtData:{filePathToShowToUser:"/pages/content-page/+Page.tsx",fileExportPathToShowToUser:[]},valueSerialized:{type:"plus-file",exportValues:ce}},hydrationCanBeAborted:{type:"standard",definedAtData:{filePathToShowToUser:"vike-react/config",fileExportPathToShowToUser:["default","hydrationCanBeAborted"]},valueSerialized:{type:"js-serialized",value:!0}},Layout:{type:"cumulative",definedAtData:[{filePathToShowToUser:"/pages/+Layout.t
1sx",fileExportPathToShowToUser:[]}],valueSerialized:[{type:"plus-file",exportValues:$}]},lang:{type:"standard",definedAtData:{filePathToShowToUser:"/pages/+lang.ts",fileExportPathToShowToUser:[]},valueSerialized:{type:"plus-file",exportValues:M}},Loading:{type:"standard",definedAtData:{filePathToShowToUser:"vike-react/__internal/integration/Loading",fileExportPathToShowToUser:[]},valueSerialized:{type:"pointer-import",value:H}}};export{Te as configValuesSerialized};

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.