PageSourceSearch

https://www.thedesignersfoundry.com/_next/static/chunks/1412.da31b52cfe04e6e3.js

js thedesignersfoundry.com collected 2026-10-03 19:23:12 UTC 7,390 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1412,7145],{4414:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var r=a(37876),s=a(14682),i=a(66304),n=a(66371),o=a(68496),l=a(14232),c=a(31742),d=a.n(c);function u(e){let{color:t}=e,[a,c]=(0,l.useState)(""),[u,h]=(0,l.useState)(!1),[m,f]=(0,l.useState)(!0),[g,x]=(0,l.useState)("Subscribe!");function p(){h((0,o.t)(a)),f(0===a.length)}return(0,l.useEffect)(()=>{!1==u&&!0==m?x("Subscribe!"):!1==u?x("Invalid Email!"):x("Subscribe!")},[u,m]),(0,r.jsxs)(n.A,{container:!0,className:"".concat(d().emailSubContainer," ").concat("white"==t&&d().white),"data-valid":u,children:[(0,r.jsx)(n.A,{className:d().inputContainer,"data-valid":u,"data-empty":m,size:12,children:(0,r.jsx)(s.A,{sx:{p:0,m:0,border:"none","&:before":{content:"none"},"&:after":{content:"none"},color:"inherit",typography:"h5",zIndex:10},onChange:e=>{c(e.target.value)},onBlur:()=>p(),value:a,placeholder:"[email protected]"})}),(0,r.jsx)(n.A,{className:d().subscribeButton,onClick:()=>void(p(),!1!==u&&!0!=m&&fetch("/api/context/subscribeToEmail",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:a})}).then(e=>{200!==e.status?(h(!1),x("There Was An Issue!")):x("Subscribed!")}).catch(e=>{h(!1),x("There Was An Issue!")})),"data-valid":u,"data-empty":m,size:12,children:(0,r.jsx)(i.A,{variant:"h5",className:"bold",children:g})})]})}},26191:e=>{e.exports={white:"#fff",black:"#272727",red:"var(--red)",grey800:"var(--grey800)",grey700:"var(--grey700)",grey600:"var(--grey600)",grey500:"var(--grey500)",grey400:"var(--grey400)",grey300:"var(--grey300)",grey200:"var(--grey200)",grey100:"var(--grey100)",facebook:"var(--twitter)",green:"var(--green)",footerContainer:"footer_footerContainer__smGEi",copyRight:"footer_copyRight__6vZXy",footerColumn:"footer_footerColumn__u_mfK",first:"footer_first__a66XB",siteDetails:"footer_siteDetails__BtsKK",socialContainer:"footer_socialContainer__nxLdV",socialIcons:"footer_socialIcons__JlUcs"}},31742:e=>{e.exports={white:"emailSub_white___w70_",black:"#272727",red:"var(--red)",grey800:"var(--grey800)",grey700:"var(--grey700)",grey600:"var(--grey600)",grey500:"var(--grey500)",grey400:"var(--grey400)",grey300:"var(--grey300)",grey200:"var(--grey200)",grey100:"var(--grey100)",facebook:"var(--twitter)",green:"var(--green)",emailSubContainer:"emailSub_emailSubContainer__XLDxc",inputContainer:"emailSub_inputContainer__YFX0W",subscribeButton:"emailSub_subscribeButton___GH6V"}},48414:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=a(19993).A},57145:(e,t,a)=>{"use strict";a.d(t,{A:()=>b});var r=a(14232),s=a(69241),i=a(21849),n=a(13323),o=a(75279),l=a(57929),c=a(99093),d=a(75556),u=a(37876);let h=(0,d.A)(),m=(0,c.A)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,t[`maxWidth${(0,o.A)(String(a.maxWidth))}`],a.fixed&&t.fixed,a.disableGutters&&t.disableGutters]}}),f=e=>(0,l.A)({props:e,name:"MuiContainer",defaultTheme:h});var g=a(64170),x=a(66438),p=a(63915);let b=function(e={}){let{createStyledComponent:t=m,useThemeProps:a=f,componentName:l="MuiContainer"}=e,c=t(({theme:e,ownerState:t})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}}),({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce((t,a)=>{let r=e.breakpoints.values[a];return 0!==r&&(t[e.breakpoints.up(a)]={maxWidth:`${r}${e.breakpoints.unit}`}),t},{}),({theme:e,ownerState:t})=>({..."xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},...t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}}}));return r.forwardRef(function(e,t){let r=a(e),{className:d,component:h="div",disableGutters:m=!1,fixed:f=!1,maxWidth:g="lg",classes:x,...p}=r,b={...r,component:h,disableGutters:m,fixed:f,maxWidth:g},y=((e,t)=>{let{classes:a,fixed:r,disableGutters:s,maxWidth:l}=e,c={root:["root",l&&`maxWidth${(0,o.A)(String(l))}`,r&&"fixed",s&&"disableGutters"]};return(0,n.A)(c,e=>(0,i.Ay)(t,e),a)})(b,l);return(0,u.jsx)(c,{as:h,ownerState:b,className:(0,s.A)(y.root,d),ref:t,...p})})}({createStyledComponent:(0,x.Ay)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,t["maxWidth".concat((0,g.A)(String(a.maxWidth)))],a.fixed&&t.fixed,a.disableGutters&&t.disableGutters]}}),useThemeProps:e=>(0,p.b)({props:e,name:"MuiContainer"})})},62944:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>g});var r=a(37876),s=a(57145),i=a(69585),n=a(66304),o=a(42008),l=a(66371),c=a(26191),d=a.n(c),u=a(6318),h=a(4414),m=a(85883),f=a(14232);function g(){let e=(0,m.al)(),t=(0,m.Ww)(),a=new Date().getFullYear(),c=function(){let[e,t]=(0,f.useState)([]);return(0,f.useEffect)(()=>{(async()=>{let e=await fetch("/api/context/getFooterPages"),a=await e.json();a.success&&t(a.pages)})()},[]),e}();return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(s.A,{id:"footer",component:"footer",maxWidth:"false",className:"noMargin",children:(0,r.jsxs)(l.A,{container:!0,className:d().footerContainer,children:[(0,r.jsx)(l.A,{size:12,children:(0,r.jsx)(i.A,{"aria-label":"home",disableRipple:!0,href:"/",color:"text",sx:{px:0,p:0,mb:{xs:"var(--marginYMobile)",md:0},mt:{xs:4,md:8},maxWidth:{xs:"444px",md:"222px"},height:"auto",width:"100%"},children:(0,r.jsx)(u.Logo,{})})}),(0,r.jsxs)(l.A,{container:!0,sx:{position:"relative"},size:12,children:[(0,r.jsxs)(n.A,{variant:"h6",className:d().copyRight,children:["\xa9",a," The Designers Foundry"]}),(0,r.jsxs)(l.A,{pb:{xs:8,md:0},rowGap:{xs:2,md:0},className:"".concat(d().footerColumn," ").concat(d().first),size:{xs:12,md:3},children:[(0,r.jsxs)(o.A,{columnGap:{xs:2,md:0},component:"a",href:"/typefaces",className:d().siteDetails,children:[(0,r.jsx)(n.A,{variant:"h6",children:"36 Designers"}),(0,r.jsx)(n.A,{variant:"h6",children:"58 Type Families"})]}),(0,r.jsx)(o.A,{display:"flex",className:d().socialContainer,sx:{gap:2},children:(0,r.jsx)(i.A,{"aria-label":"Instagram",className:"".concat(d().socialIcons),href:"https://www.instagram.com/tdfoundry",target:"_blank",disableRipple:!0,children:(0,r.jsx)(u.InstagramIcon,{})})})]}),(()=>{let a=e||t?"h5":"h6",s=["homepage","faq","good","custom-fonts","policies","contact","licenses"],i=[{title:"Typefaces",href:"/typefaces"},{title:"Custom Type",href:"/custom-fonts"},{title:"FAQs",href:"/faq"},{title:"Contact Us",href:"/contact"}
1,{title:"Licensing",href:"/licenses"},{title:"About TDF",href:"/about"},{title:"News",href:"/news"},{title:"Goods",href:"/goods"},...c.filter(e=>!s.includes(e.slug)).map(e=>({title:e.title,href:"/".concat(e.slug)}))],u=Math.ceil(i.length/2);return[i.slice(0,u),i.slice(u)].map((e,t)=>(0,r.jsx)(l.A,{rowGap:{xs:2,md:0},pb:{xs:2,md:0},className:"".concat(d().footerColumn),size:{xs:12,md:3},children:e.map(e=>(0,r.jsx)(o.A,{className:"".concat(d().footerLink),children:(0,r.jsx)(n.A,{variant:a,component:"a",href:e.href,children:e.title})},e.href))},"footer-col-".concat(t)))})(),(0,r.jsx)(l.A,{sx:{justifyContent:"flex-end"},className:"".concat(d().footerColumn," ").concat(d().subscribeContainer),size:{xs:12,md:3},children:(0,r.jsx)(h.A,{})})]})]})})})}},99093:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(69469).Ay)()}}]);

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.