PageSourceSearch

https://thecatchup.ai/_next/static/chunks/5657.7a220c5f32309c72.js

js thecatchup.ai collected 2026-10-05 13:52:45 UTC 9,715 bytes, 9 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5657],{18608:(e,t,r)=>{r.d(t,{AnimatePresence:()=>p});var n=r(95155),i=r(12115),s=r(39551),o=r(28819),a=r(65239),l=r(89166),c=r(79196);let u=e=>e.key||"";function d(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}let p=e=>{let{children:t,custom:r,initial:p=!0,onExitComplete:h,presenceAffectsLayout:f=!0,mode:m="sync",propagate:x=!1,anchorX:g="left",anchorY:y="top",root:v}=e,[b,j]=(0,c.usePresence)(x),w=(0,i.useMemo)(()=>d(t),[t]),C=x&&!b?[]:w.map(u),P=(0,i.useRef)(!0),N=(0,i.useRef)(w),k=(0,o.useConstant)(()=>new Map),I=(0,i.useRef)(new Set),[E,S]=(0,i.useState)(w),[L,M]=(0,i.useState)(w);(0,a.useIsomorphicLayoutEffect)(()=>{!x||b||L.length||null==j||j()},[b,x,L.length,j]),(0,a.useIsomorphicLayoutEffect)(()=>{P.current=!1,N.current=w;for(let e=0;e<L.length;e++){let t=u(L[e]);C.includes(t)?(k.delete(t),I.current.delete(t)):!0!==k.get(t)&&k.set(t,!1)}},[L,C.length,C.join("-")]);let R=[];if(w!==E){let e=[...w],t=0;for(let r of L){let n=C.indexOf(u(r));-1===n?(e.splice(t++,0,r),R.push(r)):t=n+R.length+1}return"wait"===m&&R.length&&(e=R),M(d(e)),S(w),null}let{forceRender:_}=(0,i.useContext)(s.LayoutGroupContext);return(0,n.jsx)(n.Fragment,{children:L.map(e=>{let t=u(e),i=(!x||!!b)&&(w===L||C.includes(t));return(0,n.jsx)(l.PresenceChild,{isPresent:i,initial:(!P.current||!!p)&&void 0,custom:r,presenceAffectsLayout:f,mode:m,root:v,onExitComplete:i?void 0:()=>{if(I.current.has(t)||!k.has(t))return;I.current.add(t),k.set(t,!0);let e=!0;k.forEach(t=>{t||(e=!1)}),e&&(null==_||_(),M(N.current),x&&(null==j||j()),h&&h())},anchorX:g,anchorY:y,children:e},t)})})}},89166:(e,t,r)=>{r.d(t,{PresenceChild:()=>c});var n=r(95155),i=r(12115),s=r(15131),o=r(28819),a=r(65239),l=r(92420);let c=e=>{let{children:t,initial:r,isPresent:c,onExitComplete:d,custom:p,presenceAffectsLayout:h,mode:f,anchorX:m,anchorY:x,root:g}=e,y=(0,o.useConstant)(u),v=(0,i.useId)(),b=(0,i.useRef)(c),j=(0,i.useRef)(d);(0,a.useIsomorphicLayoutEffect)(()=>{b.current=c,j.current=d});let w=!0,C=(0,i.useMemo)(()=>(w=!1,{id:v,initial:r,isPresent:c,custom:p,onExitComplete:e=>{for(let t of(y.set(e,!0),y.values()))if(!t)return;d&&d()},register:e=>(y.set(e,!1),()=>{var t;y.delete(e),b.current||y.size||null==(t=j.current)||t.call(j)})}),[c,y,d]);return h&&w&&(C={...C}),(0,i.useMemo)(()=>{y.forEach((e,t)=>y.set(t,!1))},[c]),i.useEffect(()=>{c||y.size||!d||d()},[c]),t=(0,n.jsx)(l.PopChild,{pop:"popLayout"===f,isPresent:c,anchorX:m,anchorY:x,root:g,children:t}),(0,n.jsx)(s.PresenceContext.Provider,{value:C,children:t})};function u(){return new Map}},92420:(e,t,r)=>{r.d(t,{PopChild:()=>c});var n=r(95155),i=r(78757),s=r(12115),o=r(24866);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class l extends s.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,i.s)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,i.s)(e)&&e.offsetWidth||0,n=(0,i.s)(e)&&e.offsetHeight||0,s=getComputedStyle(t),o=this.props.sizeRef.current;o.height=parseFloat(s.height),o.width=parseFloat(s.width),o.top=t.offsetTop,o.left=t.offsetLeft,o.right=r-o.width-o.left,o.bottom=n-o.height-o.top,o.direction=s.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function c(e){var t;let{children:r,isPresent:i,anchorX:c,anchorY:u,root:d,pop:p}=e,h=(0,s.useId)(),f=(0,s.useRef)(null),m=(0,s.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:x}=(0,s.useContext)(o.MotionConfigContext),g=function(...e){return s.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=a(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():a(e[t],null)}}}}(...e),e)}(f,!1!==p?(null==(t=r.props)?void 0:t.ref)??(null==r?void 0:r.ref):void 0);return(0,s.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:n,right:s,bottom:o,direction:a}=m.current;if(i||!1===p||!f.current||!e||!t)return;let l="rtl"===a,g="left"===c?l?`right: ${s}`:`left: ${n}`:l?`left: ${n}`:`right: ${s}`,y="bottom"===u?`bottom: ${o}`:`top: ${r}`;f.current.dataset.motionPopId=h;
1let v=document.createElement("style");x&&(v.nonce=x);let b=d??document.head;return b.appendChild(v),v.sheet&&v.sheet.insertRule(`
2          [data-motion-pop-id="${h}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${t}px !important;
6            ${g}px !important;
7            ${y}px !important;
8          }
9        `),()=>{var e;null==(e=f.current)||e.removeAttribute("data-motion-pop-id"),b.contains(v)&&b.removeChild(v)}},[i]),(0,n.jsx)(l,{isPresent:i,childRef:f,sizeRef:m,pop:p,children:!1===p?r:s.cloneElement(r,{ref:g})})}},95657:(e,t,r)=>{r.r(t),r.d(t,{default:()=>u});var n=r(95155),i=r(12115);let s="productHuntModalSeen";var o=r(18608),a=r(20708),l=r(5772);let c=e=>{let{isOpen:t,onClose:r}=e,[s,c]=(0,i.useState)(!1);(0,i.useEffect)(()=>{t&&c(!0)},[t]);let u=()=>{c(!1),localStorage.setItem("productHuntModalSeen","true"),r()};return t?(0,n.jsx)(o.AnimatePresence,{children:s&&(0,n.jsxs)("div",{children:[(0,n.jsx)(a.P.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black/50 backdrop-blur-sm z-[9999]",onClick:e=>{e.preventDefault(),u()}}),(0,n.jsx)("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center p-4",children:(0,n.jsxs)(a.P.div,{initial:{opacity:0,scale:.9,y:-20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.9,y:-20},transition:{duration:.3,ease:"easeOut",type:"spring",stiffness:300,damping:25},className:"bg-white rounded-2xl shadow-2xl max-w-2xl w-full relative overflow-hidden",onClick:e=>e.stopPropagation(),children:[(0,n.jsx)("button",{type:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),u()},className:"absolute top-4 right-4 w-8 h-8 flex items-center justify-center rounded-full bg-gray-100 hover:bg-gray-200 transition-colors duration-200 z-50",children:(0,n.jsx)("svg",{className:"w-5 h-5 text-gray-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),(0,n.jsxs)("div",{className:"relative p-8",children:[(0,n.jsxs)(a.P.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.1},className:"text-center mb-8",children:[(0,n.jsxs)("div",{className:"flex items-center justify-center mb-6 relative",children:[(0,n.jsx)("div",{className:"w-16 h-16 bg-white rounded-full flex items-center justify-center shadow-lg relative z-10",children:(0,n.jsx)(l.default,{src:"/img/catchup_logo.png",alt:"Catch Up AI Logo",width:64,height:64,className:"object-contain"})}),(0,n.jsx)("div",{className:"w-16 h-16 bg-white rounded-full flex items-center justify-center shadow-lg relative z-20 -ml-3",children:(0,n.jsx)(l.default,{src:"/img/product_hunt_logo.png",alt:"Product Hunt Logo",width:64,height:64,className:"object-contain"})})]}),(0,n.jsx)("h2",{className:"text-4xl font-bold text-gray-900 mb-3",children:"\uD83D\uDE80 We're Live!"}),(0,n.jsx)("p",{className:"text-xl text-gray-700 font-medium",children:"Catch Up AI is live on Product Hunt"}),(0,n.jsx)("p",{className:"text-base text-gray-600 mt-2",children:"Upvote us and help us reach #1!"})]}),(0,n.jsx)(a.P.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-center mb-8",children:(0,n.jsxs)("div",{className:"bg-purple-100 rounded-xl p-6",children:[(0,n.jsx)("div",{className:"flex items-center justify-center mb-4",children:(0,n.jsx)("div",{className:"text-4xl",children:"\uD83C\uDFAF"})}),(0,n.jsx)("p",{className:"text-gray-700 text-base leading-relaxed",children:"Catch Up AI is now live on Product Hunt! Your support means the world to us. Help us spread the word and reach more teams who need better performance feedback and AI-powered insights."})]})}),(0,n.jsxs)(a.P.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3},className:"space-y-4",children:[(0,n.jsx)("div",{className:"flex justify-center",children:(0,n.jsx)("a",{href:"https://www.producthunt.com/products/precision-praise-by-catch-up-ai?embed=true&utm_source=badge-featured&utm_medium=badge&utm_source=badge-precision-praise-by-catch-up-ai",target:"_blank",rel:"noopener noreferrer",onClick:u,children:(0,n.jsx)(l.default,{src:"https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=1021574&theme=light&t=1
9759820447893",alt:"Precision Praise by Catch Up AI - AI that upgrades vague compliments into precise kudos | Product Hunt",width:250,height:54,unoptimized:!0})})}),(0,n.jsx)("button",{type:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),u()},className:"w-full bg-gray-100 text-gray-700 py-3 px-6 rounded-xl font-medium hover:bg-gray-200 transition-colors duration-200",children:"Maybe Later"})]}),(0,n.jsx)(a.P.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.4},className:"text-center mt-6",children:(0,n.jsx)("p",{className:"text-xs text-gray-500",children:"Thank you for being part of our journey! \uD83D\uDE4F"})})]})]})})]})}):null},u=()=>{let{shouldShowModal:e}=(()=>{let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=()=>{try{if("true"===localStorage.getItem(s))return void t(!1);"2025-10-07"===new Date().toISOString().split("T")[0]?t(!0):t(!1)}catch(e){t(!1)}};e();let r=setInterval(e,6e4);return()=>clearInterval(r)},[]),{shouldShowModal:e,markModalAsSeen:()=>{try{localStorage.setItem(s,"true"),t(!1)}catch(e){}}}})(),[t,r]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{e&&r(!0)},[e]),(0,n.jsx)(c,{isOpen:t,onClose:()=>{r(!1)}})}}}]);

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.