PageSourceSearch

https://devhub.best/_next/static/chunks/app/blog/layout-e01660f300795281.js

js devhub.best collected 2026-10-04 14:38:40 UTC 8,745 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9584],{1316:(e,t,a)=>{"use strict";a.d(t,{p:()=>i});var n=a(79141);a(33761);var s=a(68775);function i(e){let{className:t,type:a,...i}=e;return(0,n.jsx)("input",{type:a,"data-slot":"input",onWheel:e=>{"number"===a&&e.target.blur()},className:(0,s.cn)("border-input file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",t),...i})}},5192:(e,t,a)=>{"use strict";a.d(t,{Dialog:()=>o,DialogContent:()=>A,DialogDescription:()=>m,DialogHeader:()=>g,DialogTitle:()=>f,DialogTrigger:()=>l,Es:()=>x,HM:()=>c});var n=a(79141);a(33761);var s=a(69624),i=a(5453),r=a(68775);function o(e){let{...t}=e;return(0,n.jsx)(s.bL,{"data-slot":"dialog",...t})}function l(e){let{...t}=e;return(0,n.jsx)(s.l9,{"data-slot":"dialog-trigger",...t})}function d(e){let{...t}=e;return(0,n.jsx)(s.ZL,{"data-slot":"dialog-portal",...t})}function c(e){let{...t}=e;return(0,n.jsx)(s.bm,{"data-slot":"dialog-close",...t})}function u(e){let{className:t,...a}=e;return(0,n.jsx)(s.hJ,{"data-slot":"dialog-overlay",className:(0,r.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",t),...a})}function A(e){let{className:t,children:a,...o}=e;return(0,n.jsxs)(d,{"data-slot":"dialog-portal",children:[(0,n.jsx)(u,{}),(0,n.jsxs)(s.UC,{"data-slot":"dialog-content",className:(0,r.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",t),...o,children:[a,(0,n.jsxs)(s.bm,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,n.jsx)(i.A,{}),(0,n.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function g(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"dialog-header",className:(0,r.cn)("flex flex-col gap-2 text-center sm:text-left",t),...a})}function x(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"dialog-footer",className:(0,r.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...a})}function f(e){let{className:t,...a}=e;return(0,n.jsx)(s.hE,{"data-slot":"dialog-title",className:(0,r.cn)("text-lg leading-none font-semibold",t),...a})}function m(e){let{className:t,...a}=e;return(0,n.jsx)(s.VY,{"data-slot":"dialog-description",className:(0,r.cn)("text-muted-foreground text-sm",t),...a})}},14462:(e,t,a)=>{"use strict";a.d(t,{SubscribeForm:()=>c});var n=a(79141),s=a(33761),i=a(68775),r=a(98760),o=a(5192),l=a(1316);let d=e=>{var t,a,d,c,u,A,g,x,f,m;let{className:v,data:p,onSubmit:b}=e,[h,j]=(0,s.useState)(!1),[y,w]=(0,s.useState)(null),D=async e=>{if(e.preventDefault(),!b)return;let t=e.currentTarget,a=t.email.value,{error:n}=await b(a);w(null!=n?n:null),j(!0),t.reset()};return p.disabled?null:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("section",{className:(0,i.cn)("flex items-center justify-center py-16",v),children:(0,n.jsxs)("div",{className:"mx-auto w-full max-w-screen-sm px-6 xl:px-0",children:[(0,n.jsxs)("div",{className:"mb-8",children:[(0,n.jsx)("h2",{className:"mb-2 text-center text-3xl font-bold tracking-tight",children:p.title}),(0,n.jsx)("p",{className:"text-muted-foreground text-center",children:p.description})]}),(0,n.jsxs)("form",{onSubmit:D,className:"flex items-center justify-center gap-4",children:[(0,n.jsx)(l.p,{type:"email",placeholder:null!=(f=p.emailPlaceHolder)?f:"Enter your email",id:"email",name:"subscribe-email",className:"!max-w-72 flex-1",required:!0}),(0,n.jsx)(r.$,{type:"submit",variant:p.button.variant||"default",className:(0,i.cn)("",p.button.customClassName),children:null!=(m=p.button.title)?m:"Subscribe"})]})]})}),(0,n.jsx)(o.Dialog,{open:h,onOpenChange:j,children:(0,n.jsxs)(o.DialogContent,{children:[(0,n.jsxs)(o.DialogHeader,{children:[(0,n.jsx)(o.DialogTitle,{children:y?"Error":null==(t=p.doneDialog)?void 0:t.t
1itle}),(0,n.jsx)(o.HM,{})]}),(0,n.jsx)("div",{className:"py-4",children:null!=y?y:null==(a=p.doneDialog)?void 0:a.description}),(0,n.jsx)("div",{className:"mt-4 flex justify-end",children:(null==(c=p.doneDialog)||null==(d=c.button)?void 0:d.title)&&(0,n.jsx)(r.$,{variant:(null==(A=p.doneDialog)||null==(u=A.button)?void 0:u.variant)||"default",onClick:()=>j(!1),children:null==(x=p.doneDialog)||null==(g=x.button)?void 0:g.title})})]})})]})};function c(e){let{data:t,className:a}=e,s=async e=>{try{if(!(await fetch("/api/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e})})).ok)throw Error("Something went wrong");return{}}catch(e){return{error:e.message}}};return(0,n.jsx)(d,{data:t,className:a,onSubmit:s})}},15725:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>n});let n={src:"/_next/static/media/allentown.fd9d470d.jpg",height:400,width:400,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/2wBDAQoKCgoKCgsMDAsPEA4QDxYUExMUFiIYGhgaGCIzICUgICUgMy03LCksNy1RQDg4QFFeT0pPXnFlZXGPiI+7u/v/wgARCAAIAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAT/xAAVAQEBAAAAAAAAAAAAAAAAAAACA//aAAwDAQACEAMQAAAAuBp//8QAHRAAAgIBBQAAAAAAAAAAAAAAAQQCAwAFEhNBcf/aAAgBAQABPwBzXHVKqOML7rAZ+RHWf//EABkRAAIDAQAAAAAAAAAAAAAAAAIRAAESIf/aAAgBAgEBPwDIsnT7P//EABgRAAMBAQAAAAAAAAAAAAAAAAERIQAC/9oACAEDAQE/ACUOVJv/2Q==",blurWidth:8,blurHeight:8}},72103:(e,t,a)=>{Promise.resolve().then(a.bind(a,93757)),Promise.resolve().then(a.bind(a,14462)),Promise.resolve().then(a.bind(a,15725))},93757:(e,t,a)=>{"use strict";a.d(t,{AdsProvider:()=>d,N:()=>l});var n=a(79141),s=a(33761),i=a(10520),r=a(40405);let o=(0,s.createContext)({failed:!1});function l(){return(0,s.useContext)(o)}function d(e){let{children:t}=e,[a,l]=(0,s.useState)(!1),d=(0,s.useMemo)(()=>({failed:a}),[a]);return(0,n.jsxs)(o.Provider,{value:d,children:[r._.NEXT_PUBLIC_GOOGLE_ADS_PUB_ID&&(0,n.jsx)(i.default,{async:!0,src:"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=".concat(r._.NEXT_PUBLIC_GOOGLE_ADS_PUB_ID),crossOrigin:"anonymous",strategy:"lazyOnload",onError:()=>l(!0)}),t]})}},98760:(e,t,a)=>{"use strict";a.d(t,{$:()=>l,r:()=>o});var n=a(79141);a(33761);var s=a(66052),i=a(50172),r=a(68775);let o=(0,i.F)("inline-flex items-center cursor-pointer justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",outline:"border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function l(e){let{className:t,variant:a,size:i,asChild:l=!1,...d}=e,c=l?s.DX:"button";return(0,n.jsx)(c,{"data-slot":"button",className:(0,r.cn)(o({variant:a,size:i,className:t})),...d})}}},e=>{var t=t=>e(e.s=t);e.O(0,[8932,3433,6201,7879,7123,5e3,8775,9626,8402,7358],()=>t(72103)),_N_E=e.O()}]);

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.