PageSourceSearch

https://laravel.com/build/assets/page--hO8Vx_p.js

js laravel.com collected 2026-10-01 08:31:28 UTC 4,158 bytes, 2 lines download raw bytes

1import{u as d,j as e}from"./inertia-DhFjHnTX.js";import{D as n}from"./default-layout-Df_BJnrz.js";import{P as r,L as m}from"./cn-aBpCqZB1.js";import{B as c}from"./button-Dv-hYggq.js";import"./index-BalyG4mG.js";import"./default-favicon-BtiMPQ5h.js";import"./form-consent-DGWdLrrI.js";function t(l){return l.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"")}function x(){const{sections:l}=d().props;return e.jsxs(e.Fragment,{children:[e.jsx(r,{title:"Legal",ogImage:"laravel-legal.png",canonical:"legal"}),e.jsx("main",{className:"pb-24 lg:pb-30",children:e.jsxs("div",{className:"container",children:[e.jsxs("header",{className:"my-10 max-w-2xl space-y-4 text-balance lg:my-15",children:[e.jsx("h1",{className:"text-4xl text-sand-light-12",children:"Legal documents and policies"}),e.jsx("p",{className:"text-lg text-sand-light-12",children:"Explore all of Laravel's legal documents and policies in one place. These documents govern the use of Laravel's services, products, and community resources."})]}),e.jsxs("div",{className:"relative mt-9 grid grid-cols-12 gap-4 max-md:flex max-md:flex-col-reverse lg:mt-10 lg:gap-6 xl:gap-x-10",children:[e.jsx("div",{className:"col-span-12 md:col-span-8 xl:col-span-9",children:l.map((s,i)=>e.jsxs("div",{id:`section-${t(s.name)}`,className:`${i>0?"mt-10 lg:mt-16":""} flex flex-col gap-3`,children:[e.jsx("div",{className:"lg:w-1/4 xl:w-1/5",children:e.jsx("div",{className:"sticky top-24 py-4 text-2xl text-nowrap text-sand-light-12 lg:text-3xl",children:s.name})}),e.jsx("div",{className:"col-span-1 w-full flex-1 lg:col-span-3",children:e.jsx("div",{className:"divide-y divide-sand-light-4 rounded-lg border border-sand-light-4",children:s.documents.map(a=>e.jsxs("div",{id:`document-${t(s.name)}-${t(a.title)}`,className:"px-4 py-4 transition-colors first:rounded-t-lg last:rounded-b-lg hover:bg-white md:px-8 lg:px-16",children:[e.jsxs(m,{href:a.href,className:"block md:hidden",children:[e.jsx("div",{className:"flex flex-col items-start justify-between md:flex-row md:items-center",children:e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("h3",{className:"text-base font-medium text-sand-light-12",children:a.title}),e.jsx("span",{className:"text-sm text-sand-light-11",children:a.updated==="Continuously updated"?a.updated:`Last updated ${a.updated}`})]})}),e.jsx("div",{className:"mt-6 text-sm font-medium text-sand-light-12",children:"Read document"})]}),e.jsxs("div",{className:"hidden flex-col items-start justify-between md:flex md:flex-row md:items-center",children:[e.jsxs("div",{className:"space-y-0.5",children:[e.jsx("h3",{className:"text-base font-medium text-sand-light-12",children:a.title}),e.jsx("span",{className:"text-sm text-sand-light-11",children:a.updated==="Continuously updated"?a.updated:`Last updated ${a.updated}`})]}),e.jsx(c,{variant:"secondary",size:"sm",href:a.href,children:"Read document"})]})]},`${s.name}-${a.title}`))})})]},s.name))}),e.jsx(o,{sections:l})]})]})})]})}x.layout=l=>e.jsx(n,{children:l});function o({sections:l}){return e.jsx("div",{className:"relative col-span-4 min-h-[500px] md:mt-20 xl:col-span-3",children:e.jsx("div",{className:"top-20 md:sticky",children:e.jsxs("div",{className:"hide-scrollbar max-h-[88vh] overflow-y-auto",children:[e.jsxs("h3",{className:"mb-3 flex items-center gap-2 text-xs font-medium text-sand-light-11",children:[e.jsx("svg",{className:"inline-block size-4 text-sand-light-9",viewBox:"0 0 16 16",fill:"currentColor",children:e.jsx("path",{d:"M2 4h12v1.5H2V4zm0 3.25h8v1.5H2v-1.5zm0 3.25h10v1.5H2v-1.5z"})}),"On this page"]}),e.jsx("div",{className:"border-l border-sand-light-5 pr-4",children:e.jsx("nav",{children:l.map(s=>e.jsxs("div",{className:"mb-2",children:[e.jsx("a",{href:`#section-${t(s.name)}`,className:"block py-1 pl-4 text-sm text-sand-light-11 transition-colors hover:text-sand-light-12",children:s.name}),s.documents.map(i=>e.jsx("a",{href:`#document-${t(s.name)}-${t(i.title)}`,className:"block py-1 pl-8 text-xs text-sand-light-10 transition-colors hover:text-sand-light-12",children:i.title},i.title))]},s.name))})})]})})})}export{x as default};
2//# sourceMappingURL=page--hO8Vx_p.js.map

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.