PageSourceSearch

https://wordiebox-mauve.vercel.app/_next/static/chunks/app/word-of-the-day/page-2ead94ef8e4b31fb.js

js wordiebox-mauve.vercel.app collected 2026-10-03 08:03:27 UTC 4,561 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4298],{5148:function(e,t,a){Promise.resolve().then(a.bind(a,6638))},6638:function(e,t,a){"use strict";a.d(t,{default:function(){return m}});var s=a(7437),l=a(2265),r=a(9212),n=a.n(r),x=a(7007),i=a(8154),o=function(){let[e,t]=(0,l.useState)(""),[a,r]=(0,l.useState)(""),[n,o]=(0,l.useState)(!1),[c,d]=(0,l.useState)(!1),p=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;return(0,l.useEffect)(()=>{""===e?d(!1):e.match(p)?d(!1):e.match(p)?d(!1):d(!0)},[e,c]),(0,s.jsxs)("div",{className:"w-[90%] mx-auto max-w-[560px] text-center",children:[(0,s.jsx)("p",{className:"text-center font-bold text-24 text-[#1C1C1C] mt-10 laptop:mt-20",children:"Need more words?"}),(0,s.jsxs)("div",{className:" mx-auto mt-4 w-full max-w-[360px] flex flex-col gap-3",children:[(0,s.jsx)("input",{type:"email",name:"email",placeholder:"Enter email address",value:e,onChange:e=>t(e.target.value),className:"px-3 py-2 outline-none h-fit w-full bg-transparent border-[#1C1C1C] border shadow-darkbox"}),(0,s.jsx)("button",{className:"p-2 w-full h-fit bg-[#FFCC00] border-[#1C1C1C] border shadow-darkbox",onClick:()=>{e.match(p)?""===e||c||x.Z.post("newsletter",{email:e},{headers:{"Content-Type":"application/json","Access-Control-Allow-Credentials":!0}}).then(e=>{r("success"),o(!0)}).catch(e=>{e.response.data.message.includes("exists")&&(r("used"),o(!0)),e.response.data.message.includes("Failed")&&(r("fail"),o(!0))}):d(!0)},children:"Join our waitlist"})]}),(0,s.jsx)(i.Z,{visible:n,updateView:e=>{o(e),t("")},status:a,email:e})]})},c=a(7485);let d=()=>(0,s.jsx)("div",{className:"flex flex-col justify-center items-center bg-modalBlur absolute min-h-[100px] top-0 left-0 z-[350] w-full h-full",children:(0,s.jsx)(c.iT,{height:56,width:56,color:"#21AB68",wrapperStyle:{},wrapperClass:"",visible:!0,ariaLabel:"oval-loading",secondaryColor:"#4F7D54",strokeWidth:5,strokeWidthSecondary:5})});var p=a(5071),m=()=>{let e=n()(),[t,a]=(0,l.useState)(!1),[r,x]=(0,l.useState)({message:"",word:"",meaning:""});return(0,l.useEffect)(()=>{a(!0),fetch("/api/dictionary").then(async e=>{x(await e.json()),a(!1)}).catch(e=>console.error(e))},[]),(0,s.jsx)(p.Z,{title:"Word Of The Day",children:(0,s.jsx)("div",{className:"relative w-full min-h-[400px] laptop:max-w-[947px] px-4 tablet:px-6 laptop:px-8 desktop:px-0 mx-auto",children:t?(0,s.jsx)(d,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{className:"text-[#1C1C1C] text-24 font-normal text-center",children:e.format("Do MMMM YYYY")}),(0,s.jsx)("div",{className:"text-black border border-[#1C1C1C] bg-[#FFF5C4] shadow-darkbox p-8 w-full my-6",children:(0,s.jsx)("h2",{className:"text-48 tablet:text-[90px] tablet:leading-[inherit] font-bold text-center capitalize-first-letter",children:r.word})}),(0,s.jsx)("p",{className:"text-center font-semibold text-24 text-[#1C1C1C] mt-10",children:"Meaning"}),(0,s.jsx)("p",{className:"px-4 w-[90%] max-w-[758px] mx-auto text-center mt-6 text-[24px] text-[#1C1C1C] capitalize-first-letter",children:r.meaning}),(0,s.jsx)(o,{})]})})})}},5071:function(e,t,a){"use strict";var s=a(7437),l=a(3140),r=a(9881),n=a(6463);a(2265),t.Z=e=>{let{children:t,title:a}=e,x=(0,n.useRouter)();return(0,s.jsxs)("div",{className:"w-full bg-[#FFFFFF] dark:bg-[#1C1C1C]",id:"hero",children:[(0,s.jsxs)("div",{className:"w-full px-4 tablet:px-6 laptop:px-0 mx-auto py-[50px] tablet:py-[80px] laptop:py-[100px]",children:[(0,s.jsxs)("div",{className:"relative text-center mb-8 flex flex-col gap-6 tablet:justify-center dark:text-[#1C1C1C] tablet:items-center",children:[(0,s.jsxs)("p",{className:"text-[#757575] dark:text-[#FFFFFF] font-medium",children:[(0,s.jsx)("span",{className:"cursor-pointer",onClick:()=>{x.back()},children:"Tools/"}),(0,s.jsx)("span",{className:"text-[#1C1C1C] dark:text-[#FFFFFF] capitalize",children:a})]}),(0,s.jsx)("h1",{className:"font-bold text-[#1C1C1C] dark:text-[#FFFFFF] mx-auto text-center text-24 tablet:text-32 mt-5 tablet:mt-0 capitalize",children:a})]}),t,(0,s.jsxs)("div",{className:"w-full max-w-[980px] mx-auto py-[50px] tablet:py-[80px] laptop:py-[100px]",children:[(0,s.jsx)("h1",{className:"font-bold text-[#1C1C1C] dark:text-[#FFFFFF] text-24 tablet:text-32 px-4 tablet:px-6 laptop:px-8 desktop:px-0 my-5 tablet:my-5 capitalize",children:"Other Apps"}),(0,s.jsx)(l.default,{})]})]}),(0,s.jsx)(r.GoogleTagManager,{gtmId:"GTM-K8ST54XF"}),(0,s.jsx)(r.GoogleAnalytics,{gaId:"G-P8TXFVSRPZ"})]})}}},function(e){e.O(0,[6990,9571,8173,231,9224,8498,6717,3140,2971,7023,1744],function(){return e(e.s=5148)}),_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.