PageSourceSearch

https://memetic.design/_next/static/chunks/d64613ba421ddd0f.js

js memetic.design collected 2026-10-08 19:05:11 UTC 16,366 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,58359,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(42447);function s({fieldKey:e,as:s="div",className:l="",children:i}){let o=(0,r.useIsEditMode)(),d=(0,a.useRef)(null),c=(0,a.useRef)(!1);return o?(0,t.jsx)(n,{fieldKey:e,Tag:s,className:l,elRef:d,registeredRef:c,children:i}):(0,a.createElement)(s,{className:l},i)}function n({fieldKey:e,Tag:t,className:s,elRef:n,registeredRef:l,children:i}){let{registerField:o,updateField:d,getFieldValue:c,pushUndo:x,markUnsaved:m}=(0,r.useEditContext)();(0,a.useEffect)(()=>{!l.current&&n.current&&(o(e,"string"==typeof i?i:n.current.innerHTML),l.current=!0)},[e,o,i,n,l]),(0,a.useEffect)(()=>{let t=()=>{let t=c(e);void 0!==t&&n.current&&(n.current.innerHTML=t)};return window.addEventListener("edit-undo",t),()=>window.removeEventListener("edit-undo",t)},[e,c,n]);let p=(0,a.useCallback)(()=>{n.current&&(d(e,n.current.innerHTML),m())},[e,d,m,n]),u=(0,a.useCallback)(e=>{e.preventDefault();let t=e.clipboardData.getData("text/plain");document.execCommand("insertText",!1,t)},[]),f=(0,a.useCallback)(()=>{x()},[x]);return(0,a.createElement)(t,{ref:n,className:`editable-field ${s}`,contentEditable:!0,suppressContentEditableWarning:!0,"data-editable":e,onInput:p,onPaste:u,onFocus:f},i)}e.s(["default",()=>s])},81653,e=>{"use strict";var t=e.i(43476),a=e.i(71645);function r({children:e}){let[r,s]=(0,a.useState)({x:-100,y:-100}),[n,l]=(0,a.useState)(!1),[i,o]=(0,a.useState)("rgba(42,42,42,0.6)"),[d,c]=(0,a.useState)("%23ff2e08"),x=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=()=>{let e=getComputedStyle(document.documentElement);o(e.getPropertyValue("--dot-grid").trim()||"rgba(42,42,42,0.6)"),c(encodeURIComponent(e.getPropertyValue("--accent").trim()||"#ff2e08"))};e();let t=new MutationObserver(e);return t.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),()=>t.disconnect()},[]),(0,t.jsxs)("div",{ref:x,className:"flex flex-col min-w-0 relative ml-[240px] max-md:ml-0 pt-[52px] max-md:pt-[55px] w-[calc(100%-240px)] max-md:w-full",onMouseMove:e=>{s({x:e.clientX,y:e.clientY}),l(!0)},onMouseLeave:()=>l(!1),children:[(0,t.jsxs)("div",{className:"fixed inset-0 h-screen pointer-events-none z-0",children:[(0,t.jsx)("div",{className:"absolute inset-0",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='10' height='10' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='2' height='2' fill='${encodeURIComponent(i)}'/%3E%3C/svg%3E")`,backgroundSize:"10px 10px"}}),n&&(0,t.jsx)("div",{className:"absolute inset-0",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='10' height='10' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='2' height='2' fill='${d}'/%3E%3C/svg%3E")`,backgroundSize:"10px 10px",maskImage:`radial-gradient(circle 80px at ${r.x}px ${r.y}px, black, transparent)`,WebkitMaskImage:`radial-gradient(circle 80px at ${r.x}px ${r.y}px, black, transparent)`}})]}),e]})}e.s(["default",()=>r])},43395,e=>{"use strict";var t=e.i(43476),a=e.i(87771),r=e.i(62319),s=e.i(46932),n=e.i(87652),l=e.i(22016),i=e.i(71645),o=e.i(68399),d=e.i(56691),c=e.i(58359),x=e.i(81653);function m(){let e=(0,i.useRef)(null),[a,r]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let t=e.current;if(!t)return;let a=t.querySelector("mux-player");if(!a)return;let s=()=>r(!0),n=()=>r(!1);return a.addEventListener("ended",s),a.addEventListener("play",n),()=>{a.removeEventListener("ended",s),a.removeEventListener("play",n)}},[]),(0,t.jsxs)("div",{ref:e,className:"w-1/2 shrink-0 min-w-0 max-[1100px]:w-full relative",style:{aspectRatio:"4/3"},children:[(0,t.jsx)(o.default,{defaultHiddenCaptions:!0,playbackId:"Ag02qZ7O29jU9LpT3sc302lojWvcdXmZQJwjyuSkKfpKw",accentColor:"#ff2e08",title:"",style:{width:"100%",height:"100%"},autoPlay:"muted",muted:!0}
1),a&&(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black/60 z-10",children:(0,t.jsxs)("button",{onClick:()=>{let t=e.current;if(!t)return;let a=t.querySelector("mux-player");a&&(a.currentTime=0,a.play?.(),r(!1))},className:"flex items-center gap-2 px-5 py-2.5 text-[14px] font-['Geist'] text-white border border-white/30 hover:border-white/60 transition-colors cursor-pointer bg-transparent",children:[(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("polyline",{points:"1 4 1 10 7 10"}),(0,t.jsx)("path",{d:"M3.51 15a9 9 0 1 0 2.13-9.36L1 10"})]}),"Replay"]})})]})}function p({children:e}){let[a,r]=(0,i.useState)(null),s=(0,i.useRef)(null),n=(0,i.useCallback)(()=>{s.current&&clearInterval(s.current),s.current=null,r(null)},[]),l=(0,i.useCallback)(()=>{s.current=setInterval(()=>{r(function(){let e=3+Math.floor(4*Math.random()),t=.3+.7*Math.random(),a=[];for(let r=0;r<e;r++){let e=80*Math.random(),r=5+30*Math.random();a.push({top:e,bottom:Math.max(0,100-e-r),x:(2*Math.random()-1)*12*t,skew:(2*Math.random()-1)*8*t,isRed:Math.random()>.35})}return a}())},50+30*Math.random()),setTimeout(n,500),setTimeout(l,2e3+3e3*Math.random()+500)},[n]);return((0,i.useEffect)(()=>{let e=setTimeout(l,2e3+3e3*Math.random());return()=>{clearTimeout(e),s.current&&clearInterval(s.current)}},[l]),a)?(0,t.jsxs)("span",{className:"relative inline-block",children:[(0,t.jsx)("span",{className:"invisible",children:e}),a.map((a,r)=>(0,t.jsx)("span",{className:"absolute top-0 left-0",style:{color:a.isRed?"var(--accent)":"var(--text-primary)",clipPath:`inset(${a.top}% 0 ${a.bottom}% 0)`,transform:`translateX(${a.x}px) skewX(${a.skew}deg)`},children:e},r))]}):(0,t.jsx)(t.Fragment,{children:e})}function u({project:e,aspectRatio:a="597/348",layout:r="stacked"}){let d="row"===r,c=e.linkType||"case-study",x="website"===c&&e.websiteUrl?e.websiteUrl:"coming-soon"===c?void 0:`/${e.slug}`,m="website"===c&&e.websiteUrl,[p,u]=(0,i.useState)(!1),[f,h]=(0,i.useState)(!1),[b,g]=(0,i.useState)({x:0,y:0}),[v,j]=(0,i.useState)(!1),y=(0,i.useRef)(null),N=(0,n.useInView)(y,{amount:.3});(0,i.useEffect)(()=>{window.matchMedia("(max-width: 768px)").matches&&e.thumbnailMuxId&&(N?(u(!0),h(!0)):u(!1))},[N,e.thumbnailMuxId]);let w="website"===c?"VISIT WEBSITE":"coming-soon"===c?"":"VIEW CASE STUDY",k=e=>{if(!y.current)return;let t=y.current.getBoundingClientRect();g({x:e.clientX-t.left,y:e.clientY-t.top})},M=(0,t.jsxs)("div",{ref:y,className:d?"grid grid-cols-[minmax(0,3fr)_minmax(0,2fr)] relative cursor-pointer max-md:grid-cols-1 max-md:cursor-default":"flex flex-col relative cursor-pointer max-md:cursor-default ",onMouseEnter:t=>{window.matchMedia("(max-width: 768px)").matches||(j(!0),e.thumbnailMuxId&&(u(!0),h(!0)),k(t))},onMouseLeave:()=>{!window.matchMedia("(max-width: 768px)").matches&&(j(!1),e.thumbnailMuxId&&u(!1))},onMouseMove:k,children:[(0,t.jsx)("div",{className:"w-full bg-[var(--surface-sunken)] overflow-hidden flex items-center justify-center relative",style:{aspectRatio:a,...!e.thumbnail&&!e.thumbnailMuxId&&e.thumbGradient?{background:e.thumbGradient}:{}},children:e.thumbnailMuxId?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("img",{src:`https://image.mux.com/${e.thumbnailMuxId}/thumbnail.jpg?time=0`,alt:e.name,className:"w-full h-full object-cover",style:{opacity:+!f}}),(0,t.jsx)(o.default,{defaultHiddenCaptions:!0,playbackId:e.thumbnailMuxId,muted:!0,loop:!0,title:"",accentColor:"#ff2e08",autoPlay:p?"muted":void 0,paused:!p,preload:"auto",style:{width:"100%",height:"100%",position:"absolute",inset:"0",opacity:f?"1":"0","--controls":"none","--media-object-fit":"cover"}})]}):e.thumbnail?(0,t.jsx)("img",{src:`/${e.thumbnail}`,alt:e.name,className:"w-full h-full object-cover"}):(0,t.jsxs)("span",{className:"font-['Inter'] text-[13px] text-[rgba(255,255,255,0.3)] tracking-[0.2488px] leading-[19.5px]",children:[e.slug.replace(/-/g,""),".ai"]})}),(0,t.jsxs)("div",{className:d?"flex flex-col gap-[4px] px-[32px] py-[28px] border-l border-[var(--border)] max-md:border-l-0 max-md:px-5 max-md:pt-4 max-md:pb-10":"flex flex-col gap-[4px] px-[24px] py-[16px]",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,t.jsx)("span",{className:`font-['Geist'] font-medium text-[var(--text-primary)] leading-[1.3] ${d?"text-[28px] tracking-[-0.2px] max-md:text-[18px]":"text-[18px] tracking-[0.18px]"}`,children:e.name}),e.badge&&(0,t.jsx)("span",{className:"font-['Geist_Mono'] text-[14px] text-[var(--text-muted)] leading-[1.6] tracking-[0.42px] uppercase shrink-0",children:e.badge})]}),e.desc&&(0,t.jsx)("span",{className:"font-['Geist_Mono'] text-[13px] text-[var(--text-muted)] leading-[1.6] tracking-[0.03em] uppercase",children:e.desc}),d&&e.about&&(0,t.jsx)("p",{className:"font-['Geist'] text-[16px] text-[var(--text-primary)] leading-[1.6] tracking-[0.16px] mt-4 max-w-[520px] max-md:text-[15px] max-md:mt-2",children:e.about}),e.tags.length>0&&(0,t.jsx)("div",{className:`flex flex-wrap gap-2 ${d?"mt-auto pt-6 max-md:pt-0 max-md:mt-3":"mt-3"}`,children:e.tags.map(e=>(0,t.jsx)("span",{className:"font-['Geist_Mono'] text-[13px] text-[var(--text-muted)] leading-[1.6] tracking-[0.03em] uppercase bg-[var(--surface-sunken)] px-1.5 py-px",children:e},e))})]}),w&&v&&(0,t.jsx)(s.motion.div,{className:"absolute pointer-events-none z-30 max-md:hidden",style:{left:b.x,top:b.y},initial:{opacity:0,scale:.8}
1,animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{duration:.15},children:(0,t.jsx)("div",{className:"relative translate-x-4 translate-y-4 border border-[var(--accent)] bg-[color-mix(in_srgb,var(--surface)_90%,transparent)] px-[20px] py-[10px]",children:(0,t.jsx)("span",{className:"font-['Geist_Mono'] text-[13px] tracking-[0.52px] text-[var(--text-primary)] uppercase whitespace-nowrap font-medium",children:w})})})]});return x?m?(0,t.jsx)("a",{href:x,target:"_blank",rel:"noopener noreferrer",className:"no-underline block cursor-pointer",children:M}):(0,t.jsx)(l.default,{href:x,className:"no-underline block cursor-pointer",children:M}):M}function f({children:e}){return(0,t.jsx)("span",{className:"font-['Geist_Mono'] text-[14px] leading-[1.6] tracking-[0.42px] text-[var(--text-muted)] uppercase",children:e})}function h({content:e,previews:n}){let i=e.projects.filter(e=>e.featured);return(0,t.jsxs)("div",{className:"flex min-h-screen max-md:flex-col",children:[(0,t.jsx)(a.default,{projects:e.projects,previews:n}),(0,t.jsxs)(x.default,{children:[(0,t.jsx)(r.default,{hideBrand:!0,projects:e.projects}),(0,t.jsxs)("main",{className:"flex-1 overflow-y-auto hide-scrollbar flex flex-col relative z-10",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-[56px] relative z-[1] ",children:[(0,t.jsxs)("section",{className:"flex items-start max-[1100px]:flex-col border-y border-[var(--border)] bg-[var(--background)] border-t-0 ",children:[(0,t.jsxs)("div",{className:"flex-1 min-w-0 p-[24px] flex flex-col justify-between self-stretch max-md:px-5 max-[1100px]:gap-[48px] max-[1100px]:justify-start max-[1100px]:self-auto",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-[24px]",children:[(0,t.jsxs)(c.default,{fieldKey:"heroHeadline",as:"h1",className:"font-['Bebas_Neue'] text-[82px] leading-18 tracking-[-0.8px] text-[var(--text-primary)] w-[364px] max-md:text-[72px] max-md:leading-[0.95] max-md:w-auto",children:[e.heroHeadline.replace(".","").split("INTENTIONAL").map((e,a,r)=>a<r.length-1?(0,t.jsxs)("span",{children:[e,(0,t.jsx)(p,{children:"INTENTIONAL"})]},a):(0,t.jsx)("span",{children:e},a)),(0,t.jsx)("span",{className:"text-[var(--accent)]",children:"."})]}),(0,t.jsx)(c.default,{fieldKey:"description",as:"p",className:"font-['Geist'] text-[16px] leading-[1.6] tracking-[0.16px] text-[var(--text-primary)] w-[434px] max-md:w-auto",children:e.description})]}),(0,t.jsx)("a",{href:"https://cal.com/abnux/30min",target:"_blank",rel:"noopener noreferrer",className:"font-['Geist'] text-[14px] tracking-[0.14px] no-underline transition-opacity hover:opacity-80",style:{color:"var(--accent)"},children:"Talk to founder  →"})]}),(0,t.jsx)(m,{})]}),(0,t.jsxs)("section",{className:"border-y border-[var(--border)] bg-[var(--background)]",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between px-[24px] py-[17px] border-b border-[var(--border)] max-md:px-5",children:[(0,t.jsx)(f,{children:"Featured Projects"}),(0,t.jsx)(l.default,{href:"/projects",className:"font-['Geist'] text-[14px] leading-[1.6] tracking-[0.14px] no-underline transition-opacity",style:{color:"var(--accent)"},children:"View all →"})]}),(0,t.jsx)("div",{className:"flex flex-col",children:i.map((e,a)=>(0,t.jsx)(s.motion.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.3,delay:.06*a},className:"bg-[var(--background)] border-b border-[var(--border)] last:border-b-0",children:(0,t.jsx)(u,{project:e,aspectRatio:"597/348",layout:"row"})},e.slug))})]}),(0,t.jsx)("section",{className:"border-y border-[var(--border)] bg-[var(--background)]",children:(0,t.jsxs)("div",{className:"grid grid-cols-3 max-md:grid-cols-1",children:[(0,t.jsxs)("div",{className:"px-[24px] py-[24px] border-r border-[var(--border)] max-md:border-r-0",children:[(0,t.jsx)("div",{className:"font-['Geist_Mono'] text-[14px] leading-[1.6] tracking-[0.42px] text-[var(--text-muted)] uppercase mb-[8px]",children:"What We Do"}),(0,t.jsx)(c.default,{fieldKey:"footer.whatWeDo",as:"p",className:"font-['Geist'] text-[16px] leading-[1.6] tracking-[0.16px] text-[var(--text-primary)]",children:e.footer.whatWeDo})]}),(0,t.jsxs)("div",{className:"px-[24px] py-[24px] border-r border-[var(--border)] max-md:border-r-0",children:[(0,t.jsx)("div",{className:"font-['Geist_Mono'] text-[14px] leading-[1.6] tracking-[0.42px] text-[var(--text-muted)] uppercase mb-[8px]",children:"Previously"}),(0,t.jsx)(c.default,{fieldKey:"footer.previously",as:"p",className:"font-['Geist'] text-[16px] leading-[1.6] tracking-[0.16px] text-[var(--text-primary)]",children:e.footer.previously})]}),(0,t.jsxs)("div",{className:"px-[24px] py-[24px]",children:[(0,t.jsx)("div",{className:"font-['Geist_Mono'] text-[14px] leading-[1.6] tracking-[0.42px] text-[var(--text-muted)] uppercase mb-[8px]",children:"Clients Raised"}),(0,t.jsx)(c.default,{fieldKey:"footer.clientsRaised",as:"p",className:"font-['Bebas_Neue'] text-[44px] text-[var(--accent)] leading-none mb-[4px]",children:e.footer.clientsRaised}),(0,t.jsx)(c.default,{fieldKey:"footer.clientsRaisedLabel",as:"p",className:"font-['Geist_Mono'] text-[14px] leading-[1.6] tracking-[0.42px] text-[var(--text-muted)]",children:e.footer.clientsRaisedLabel})]})]})}),(0,t.jsxs)("section",{className:"border-y border-[var(--border)] bg-[var(--background)]",children:[(0,t.jsx)("div",{className:"flex items-center justify-between px-[24px] py-[17px] border-b border-[var(--border)] max-md:px-5",children:(0,t.jsx)(f,{children:"Note from Founder"})}),(0,t.jsxs)("div",{className:"flex max-md:flex-col",children:[(0,t.jsx)("div",{className:"w-[340px] shrink-0 border-r border-[var(--border)] max-md:w-full max-md:border-r-0 max-md:border-b max-md:border-[var(--border)]",children:(0,t.jsx)("img",{src:`/${e.founderNote.photo}`,alt:"Abhinav Chhikara, founder of Memetic",className:"w-full h-full object-cover block",style:{aspectRatio:"4/5"}})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0 p-[24px] flex flex-col gap-[24px] max-md:px-5",children:[(0,t.jsxs)(c.default,{fieldKey:"founderNote.title",as:"h2",className:"font-['Bebas_Neue'] text-[52px] leading-[1.02] tracking-[-0.5px] text-[var(--text-primary)] max-w-[560px] max-md:text-[44px]",children:[e.founderNote.title,(0,t.jsx)("span",{className:"text-[var(--accent)]",children:"."})]}),(0,t.jsx)(c.default,{fieldKey:"founderNote.bio",as:"p",className:"font-['Geist'] text-[16px] leading-[1.6] tracking-[0.16px] text-[var(--text-primary)] max-w-[560px]",children:e.founderNote.bio}),(0,t.jsx)("div",{className:"mt-auto flex flex-wrap gap-x-[24px] gap-y-[8px] pt-[24px]",children:e.founderNote.socials.map(e=>(0,t.jsxs)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"font-['Geist_Mono'] text-[13px] leading-[1.6] tracking-[0.39px] uppercase text-[var(--text-muted)] hover:text-[var(--accent)] transition-colors no-u
1nderline",children:[e.label,e.stat?` — ${e.stat}`:""," ↗"]},e.label))})]})]})]})]}),(0,t.jsx)(d.default,{})]})]})]})}e.s(["default",()=>h])}]);

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.