PageSourceSearch

https://personalive.ai/_next/static/chunks/app/reports/page-f83c594fd0b92965.js

js personalive.ai collected 2026-10-02 00:25:33 UTC 12,555 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[22],{832:function(e){e.exports=function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",s="week",a="month",i="quarter",o="year",l="date",u="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},f="en",m={};m[f]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};var v="$isDayjsObject",g=function(e){return e instanceof y||!(!e||!e[v])},p=function e(t,r,n){var s;if(!t)return f;if("string"==typeof t){var a=t.toLowerCase();m[a]&&(s=a),r&&(m[a]=r,s=a);var i=t.split("-");if(!s&&i.length>1)return e(i[0])}else{var o=t.name;m[o]=t,s=o}return!n&&s&&(f=s),s||!n&&f},x=function(e,t){if(g(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new y(r)},$={s:h,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+h(Math.floor(r/60),2,"0")+":"+h(r%60,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),s=t.clone().add(n,a),i=r-s<0,o=t.clone().add(n+(i?-1:1),a);return+(-(n+(r-s)/(i?s-o:o-s))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(u){return({M:a,y:o,w:s,d:"day",D:l,h:n,m:r,s:t,ms:e,Q:i})[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};$.l=p,$.i=g,$.w=function(e,t){return x(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var y=function(){function h(e){this.$L=p(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[v]=!0}var f=h.prototype;return f.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if($.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(c);if(n){var s=n[2]-1||0,a=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)):new Date(n[1],s,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)}}return new Date(t)}(e),this.init()},f.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},f.$utils=function(){return $},f.isValid=function(){return this.$d.toString()!==u},f.isSame=function(e,t){var r=x(e);return this.startOf(t)<=r&&r<=this.endOf(t)},f.isAfter=function(e,t){return x(e)<this.startOf(t)},f.isBefore=function(e,t){return this.endOf(t)<x(e)},f.$g=function(e,t,r){return $.u(e)?this[t]:this.set(r,e)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(e,i){var u=this,c=!!$.u(i)||i,d=$.p(e),h=function(e,t){var r=$.w(u.$u?Date.UTC(u.$y,t,e):new Date(u.$y,t,e),u);return c?r:r.endOf("day")},f=function(e,t){return $.w(u.toDate()[e].apply(u.toDate("s"),(c?[0,0,0,0]:[23,59,59,999]).slice(t)),u)},m=this.$W,v=this.$M,g=this.$D,p="set"+(this.$u?"UTC":"");switch(d){case o:return c?h(1,0):h(31,11);case a:return c?h(1,v):h(0,v+1);case s:var x=this.$locale().weekStart||0,y=(m<x?m+7:m)-x;return h(c?g-y:g+(6-y),v);case"day":case l:return f(p+"Hours",0);case n:return f(p+"Minutes",1);case r:return f(p+"Seconds",2);case t:return f(p+"Milliseconds",3);default:return this.clone()}},f.endOf=function(e){return this.startOf(e,!1)},f.$set=function(s,i){var u,c=$.p(s),d="set"+(this.$u?"UTC":""),h=((u={}).day=d+"Date",u[l]=d+"Date",u[a]=d+"Month",u[o]=d+"FullYear",u[n]=d+"Hours",u[r]=d+"Minutes",u[t]=d+"Seconds",u[e]=d+"Milliseconds",u)[c],f="day"===c?this.$D+(i-this.$W):i;if(c===a||c===o){var m=this.clone().set(l,1);m.$d[h](f),m.init(),this.$d=m.set(l,Math.min(this.$D,m.daysInMonth())).$d}else h&&this.$d[h](f);return this.init(),this},f.set=function(e,t){return this.clone().$set(e,t)},f.get=function(e){return this[$.p(e)]()},f.add=function(e,i){var l,u=this;e=Number(e);var c=$.p(i),d=function(t){var r=x(u);return $.w(r.date(r.date()+Math.round(t*e)),u)};if(c===a)return this.set(a,this.$M+e);if(c===o)return this.set(o,this.$y+e);if("day"===c)return d(1);if(c===s)return d(7);var h=((l={})[r]=6e4,l[n]=36e5,l[t]=1e3,l)[c]||1,f=this.$d.getTime()+e*h;return $.w(f,this)},f.subtract=function(e,t){return this.add(-1*e,t)},f.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||u;var n=e||"YYYY-MM-DDTHH:mm:ssZ",s=$.z(this),a=this.$H,i=this.$m,o=this.$M,l=r.weekdays,c=r.months,h=r.meri
1diem,f=function(e,r,s,a){return e&&(e[r]||e(t,n))||s[r].slice(0,a)},m=function(e){return $.s(a%12||12,e,"0")},v=h||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(d,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return $.s(t.$y,4,"0");case"M":return o+1;case"MM":return $.s(o+1,2,"0");case"MMM":return f(r.monthsShort,o,c,3);case"MMMM":return f(c,o);case"D":return t.$D;case"DD":return $.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(r.weekdaysMin,t.$W,l,2);case"ddd":return f(r.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(a);case"HH":return $.s(a,2,"0");case"h":return m(1);case"hh":return m(2);case"a":return v(a,i,!0);case"A":return v(a,i,!1);case"m":return String(i);case"mm":return $.s(i,2,"0");case"s":return String(t.$s);case"ss":return $.s(t.$s,2,"0");case"SSS":return $.s(t.$ms,3,"0");case"Z":return s}return null}(e)||s.replace(":","")})},f.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},f.diff=function(e,l,u){var c,d=this,h=$.p(l),f=x(e),m=(f.utcOffset()-this.utcOffset())*6e4,v=this-f,g=function(){return $.m(d,f)};switch(h){case o:c=g()/12;break;case a:c=g();break;case i:c=g()/3;break;case s:c=(v-m)/6048e5;break;case"day":c=(v-m)/864e5;break;case n:c=v/36e5;break;case r:c=v/6e4;break;case t:c=v/1e3;break;default:c=v}return u?c:$.a(c)},f.daysInMonth=function(){return this.endOf(a).$D},f.$locale=function(){return m[this.$L]},f.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=p(e,t,!0);return n&&(r.$L=n),r},f.clone=function(){return $.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},h}(),b=y.prototype;return x.prototype=b,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W","day"],["$M",a],["$y",o],["$D",l]].forEach(function(e){b[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),x.extend=function(e,t){return e.$i||(e(t,y,x),e.$i=!0),x},x.locale=p,x.isDayjs=g,x.unix=function(e){return x(1e3*e)},x.en=m[f],x.Ls=m,x.p={},x}()},4362:(e,t,r)=>{Promise.resolve().then(r.bind(r,9668)),Promise.resolve().then(r.bind(r,6821)),Promise.resolve().then(r.bind(r,5506))},9668:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var n=r(5155),s=r(2115),a=r(832),i=r.n(a);let o=[{label:"Survey",value:"market"},{label:"Focus Group",value:"focus-group"}];function l(e){var t;let{posts:r}=e,[a,l]=(0,s.useState)("All"),[u,c]=(0,s.useState)(""),d=[{label:"All",value:"All"},...o],h=r.filter(e=>{var t,r;let n=u.toLowerCase(),s=e.title.toLowerCase().includes(n)||e.summary.toLowerCase().includes(n)||(null==(t=e.labels)?void 0:t.some(e=>e.toLowerCase().includes(n))),i="All"===a||(null==(r=e.labels)?void 0:r.includes(a));return s&&i});return(0,n.jsx)("div",{className:"min-h-screen bg-gray-50",children:(0,n.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6",children:[(0,n.jsx)("div",{className:"sticky top-0 z-10 bg-white shadow-sm rounded-xl p-4 mb-8",children:(0,n.jsxs)("div",{className:"flex flex-col md:flex-row md:items-center gap-4",children:[(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("input",{type:"text",placeholder:"Search reports...",className:"w-full px-4 py-2.5 pl-10 pr-4 border border-gray-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-200",value:u,onChange:e=>c(e.target.value)}),(0,n.jsx)("svg",{className:"absolute left-3 top-3 h-5 w-5 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),u&&(0,n.jsx)("button",{onClick:()=>c(""),className:"absolute right-3 top-3 text-gray-400 hover:text-gray-600 transition-colors duration-200",children:(0,n.jsx)("svg",{className:"h-5 w-5",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.jsx)("div",{className:"flex flex-wrap gap-2",children:d.map(e=>(0,n.jsx)("button",{onClick:()=>l(e.value),className:"px-3 py-1.5 rounded-lg text-sm transition-all duration-200 ".concat(a===e.value?"bg-blue-600 text-white shadow-sm":"bg-gray-100 text-gray-700 hover:bg-gray-200"),children:e.label},e.value))})]})}),(0,n.jsx)("div",{children:0===h.length?(0,n.jsx)("div",{className:"bg-white rounded-xl shadow-sm p-8 text-center",children:(0,n.jsxs)("div",{className:"max-w-md mx-auto",children:[(0,n.jsx)("svg",{className:"mx-auto h-12 w-12 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9.172 16.172a4 4 0 015.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),(0,n.jsx)("h3",{className:"mt-4 text-lg font-semibold text-gray-900",children:"No reports found"}),(0,n.jsx)("p",{className:"mt-2 text-sm text-gray-600",children:u?"We c
1ouldn't find any reports matching \"".concat(u,'". Try adjusting your search terms or browse all categories.'):"All"!==a?'No reports available in the "'.concat(null==(t=o.find(e=>e.value===a))?void 0:t.label,'" category at the moment.'):"No reports are available at the moment. Please check back later."})]})}):(0,n.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8",children:h.map((e,t)=>{var r,s,a;return(0,n.jsxs)("div",{className:"group bg-white rounded-xl shadow-sm hover:shadow-lg transition-all duration-300 overflow-hidden",children:[(0,n.jsx)("a",{href:"/reports/".concat(null==e||null==(r=e.report)?void 0:r.topic_id),target:"_blank",className:"block",children:(0,n.jsxs)("div",{style:{overflow:"hidden",aspectRatio:"2/1",position:"relative",backgroundColor:"#f8f9fa"},children:[(0,n.jsx)("img",{src:(null==e?void 0:e.mainimg)&&e.mainimg.startsWith("http")?null==e?void 0:e.mainimg:"https://placehold.co/800x570",alt:e.title,className:"w-full h-full object-cover transition-transform duration-300 group-hover:scale-105"}),(0,n.jsx)("div",{className:"absolute top-4 left-4",children:(0,n.jsx)("span",{className:"px-3 py-1.5 bg-white/90 backdrop-blur-sm text-gray-800 text-sm font-medium rounded-full",children:null==(s=o.find(t=>{var r;return t.value===(null==e||null==(r=e.labels)?void 0:r[0])}))?void 0:s.label})})]})}),(0,n.jsxs)("div",{className:"p-6",children:[(0,n.jsx)("a",{href:"/reports/".concat(null==e||null==(a=e.report)?void 0:a.topic_id),target:"_blank",className:"block group-hover:text-blue-600 transition-colors duration-200",children:(0,n.jsx)("h3",{className:"text-xl font-semibold text-gray-900 mb-3 line-clamp-2 leading-tight",children:(null==e?void 0:e.title)||"Untitled"})}),(0,n.jsx)("p",{className:"text-gray-600 text-sm mb-5 line-clamp-3 leading-relaxed",children:null==e?void 0:e.summary}),(0,n.jsxs)("div",{className:"flex items-center justify-between text-xs text-gray-500 pt-2 border-t border-gray-100",children:[(0,n.jsx)("span",{className:"font-medium",children:i()(e.created_at).format("MMM DD YYYY")}),(0,n.jsxs)("span",{className:"flex items-center font-medium",children:[(0,n.jsx)("svg",{className:"h-3.5 w-3.5 mr-1.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})}),"Personalive.ai"]})]})]})]},t)})})})]})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[874,390,441,684,358],()=>t(4362)),_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.