PageSourceSearch

https://chatfuel.com/_next/static/chunks/5003-6c0e26aba02de11a.js

js chatfuel.com collected 2026-09-24 08:29:57 UTC 13,911 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5003],{42943:function(e,t,a){"use strict";a.d(t,{D:function(){return AuthorAvatar}});var n=a(85893);function AuthorAvatar(e){let{url:t,name:a,size:l,className:i=""}=e;return(0,n.jsx)("div",{className:"relative shrink-0 overflow-hidden rounded-full bg-white/10 ".concat(i),style:{width:l,height:l},children:t?(0,n.jsx)("img",{alt:a,className:"absolute inset-0 h-full w-full object-cover",src:t}):(0,n.jsxs)("svg",{className:"absolute inset-0 h-full w-full",viewBox:"0 0 ".concat(l," ").concat(l),fill:"none","aria-hidden":!0,children:[(0,n.jsx)("circle",{cx:l/2,cy:.385*l,r:.18*l,fill:"white",fillOpacity:"0.3"}),(0,n.jsx)("ellipse",{cx:l/2,cy:.82*l,rx:.29*l,ry:.193*l,fill:"white",fillOpacity:"0.3"})]})})}a(67294)},63699:function(e,t,a){"use strict";a.d(t,{e:function(){return ReviewAvatar}});var n=a(85893);function ReviewAvatar(e){let{avatarUrl:t}=e;return(0,n.jsx)("div",{className:"relative h-11 w-11 shrink-0 overflow-hidden rounded-full bg-white/10",children:t?(0,n.jsx)("img",{alt:"",className:"absolute inset-0 h-full w-full object-cover",src:t}):(0,n.jsxs)("svg",{className:"absolute inset-0 h-full w-full",viewBox:"0 0 44 44",fill:"none","aria-hidden":!0,children:[(0,n.jsx)("circle",{cx:"22",cy:"16",r:"7",fill:"white",fillOpacity:"0.3"}),(0,n.jsx)("ellipse",{cx:"22",cy:"36",rx:"12",ry:"8",fill:"white",fillOpacity:"0.3"})]})})}a(67294)},26940:function(e,t,a){"use strict";a.d(t,{Z:function(){return StarRating}});var n=a(85893);a(67294);let l="/assets/template-installation";function StarRating(e){let{rating:t}=e,a=Math.floor(t);return(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[Array.from({length:a}).map((e,t)=>(0,n.jsx)("div",{className:"relative h-[18px] w-[18px] shrink-0",children:(0,n.jsx)("img",{alt:"",className:"absolute inset-0 h-full w-full",src:"".concat(l,"/icon-star-filled.svg")})},t)),t-a>=.5&&(0,n.jsx)("div",{className:"relative h-[18px] w-[18px] shrink-0 overflow-hidden",children:(0,n.jsx)("div",{className:"absolute",style:{inset:"8.33%"},children:(0,n.jsx)("img",{alt:"",className:"absolute inset-0 h-full w-full",width:"15",height:"15",src:"".concat(l,"/icon-star-half.png")})})})]})}},29576:function(e,t,a){"use strict";a.d(t,{w:function(){return TemplateCard}});var n=a(85893);a(67294);var l=a(27561),i=a(96182),r=a(99193),s=a(42943);let c="/assets/template-installation";function TemplateCard(e){var t,a,o;let{template:u,author:d}=e,{t:x}=(0,l.$G)("templates"),m=(0,i._)(),p=null!==(t=r.Yo[u.iconType])&&void 0!==t?t:r.Yo.cursor,f=null!==(a=r.Re[u.iconType])&&void 0!==a?a:r.Re.cursor;return(0,n.jsxs)("a",{href:"".concat(m,"/templates/").concat(u.id),className:"group relative flex h-[210px] w-full cursor-pointer flex-col overflow-hidden rounded-[24px] p-6 text-left",style:{backgroundImage:"linear-gradient(123.65deg, rgba(217,217,217,0.05) 0.59%, rgba(4,11,22,0.05) 100%), linear-gradient(90deg, #0e1520 0%, #0e1520 100%)"},children:[(0,n.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,n.jsx)("div",{className:"relative h-11 w-11 flex-shrink-0 overflow-hidden rounded-xl",style:{backgroundImage:p},children:(0,n.jsx)("img",{alt:"",className:"absolute left-[10px] top-[10px] h-6 w-6",src:"".concat(c,"/").concat(f)})}),d&&(0,n.jsx)(s.D,{url:d.avatarUrl,name:d.name,size:36})]}),(0,n.jsx)("p",{className:"mt-auto whitespace-nowrap font-body text-[13px] font-normal leading-[18px] tracking-[-0.13px] text-white/70",children:(null!==(o=u.installs)&&void 0!==o?o:0)>0?x("installs",{count:u.installs}):x("new")}),(0,n.jsxs)("div",{className:"mt-[10px] flex flex-col gap-2",children:[(0,n.jsx)("p",{className:"line-clamp-2 font-display text-[18px] font-medium leading-6 tracking-[-0.54px] text-white",children:u.title}),(0,n.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,n.jsx)("span",{className:"truncate font-body text-[16px] font-medium leading-[22px] tracking-[-0.16px] text-white/70",children:x("categoryName.".concat((0,r.Be)(u.category)),u.category)}),null!=u.rating&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"mt-0.5 h-1 w-1 flex-shrink-0 rounded-full bg-white/50"}),(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)("span",{className:"font-body text-[15px] font-medium leading-[19px] tracking-[-0.15px] text-white/70",children:u.rating.toFixed(1).replace(".",",")}
1),(0,n.jsx)("img",{alt:"",className:"h-3.5 w-3.5",src:"".concat(c,"/icon-star.svg")})]})]})]})]})]})}},96182:function(e,t,a){"use strict";a.d(t,{_:function(){return useLocalePrefix}});var n=a(27561);function useLocalePrefix(){let{i18n:e}=(0,n.$G)(),t=e.language;return t&&"en"!==t?"/".concat(t):""}},99193:function(e,t,a){"use strict";a.d(t,{Be:function(){return categoryToSlug},Re:function(){return l},Yo:function(){return n},zo:function(){return toAuthorDirectory}}),a(34155);let n={cursor:"linear-gradient(335deg, #F7EAFF -184.62%, #5E0E6C 131.69%)",moon:"linear-gradient(344deg, #EAEFFF -332.97%, #0E226C 137.04%)",repeat:"linear-gradient(340deg, #EAFFFF -351.08%, #6C1E3A 105.96%)",chat:"linear-gradient(340deg, #EAF7FF -351.08%, #1E556C 105.96%)",grow:"linear-gradient(336deg, #EEEAFF -201.55%, #2F0E6C 124.49%)"},l={cursor:"icon-cursor.svg",moon:"icon-moon.svg",repeat:"icon-repeat.svg",chat:"icon-chat.svg",grow:"icon-grow.svg"};function categoryToSlug(e){return e.toLowerCase().replace(/\s*&\s*/g,"-").replace(/\s+/g,"-")}function toAuthorDirectory(e){return Object.fromEntries(e.map(e=>[e.id,e]))}},85003:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return g},default:function(){return _slug_}});var n=a(85893),l=a(67294),i=a(27561),r=a(41664),s=a.n(r),c=a(96182),o=a(99193),u=a(6936),d=a(29576),x=a(42943),m=a(26940),p=a(63699);let f=[{pattern:/wa\.me|whatsapp/i,icon:"icon-wa.svg",label:"WhatsApp"},{pattern:/instagram\.com/i,icon:"icon-social-instagram.svg",label:"Instagram"},{pattern:/facebook\.com|fb\.com/i,icon:"icon-social-facebook.svg",label:"Facebook"},{pattern:/tiktok\.com/i,icon:"icon-social-tiktok.svg",label:"TikTok"},{pattern:/m\.me|messenger/i,icon:"icon-social-messenger.svg",label:"Messenger"}];function AuthorPage(e){var t,a,r;let{author:h,templates:g}=e,{t:v}=(0,i.$G)("templates"),w=(0,c._)(),[j,b]=(0,l.useState)(""),N=(0,l.useMemo)(()=>g.reduce((e,t)=>{var a;return e+(null!==(a=t.installs)&&void 0!==a?a:0)},0),[g]),y=v("author.all"),k=(0,l.useMemo)(()=>{let e=g.reduce((e,t)=>(e.includes(t.category)||e.push(t.category),e),[]);return[y,...e]},[g]),T=j||y,E=(0,l.useMemo)(()=>T===y?g:g.filter(e=>e.category===T),[g,T,y]);return(0,n.jsxs)("div",{className:"flex min-h-screen w-full flex-col bg-[#040b16] text-white",children:[(0,n.jsxs)("main",{className:"flex-1 px-4 pb-[80px] pt-8 md:px-8 md:pt-[56px] lg:px-[110px]",children:[(0,n.jsxs)("nav",{className:"mb-4 mt-15 flex items-center gap-1 font-body text-[15px] font-medium tracking-[-0.15px] md:mb-8",children:[(0,n.jsx)(s(),{href:"".concat(w,"/templates"),className:"text-white/50 transition-colors hover:text-white/80",children:v("author.breadcrumb")}),(0,n.jsx)("span",{className:"mx-1 text-white",children:">"}),(0,n.jsx)("span",{className:"text-white",children:h.name})]}),(0,n.jsxs)("div",{className:"flex flex-col items-start gap-8 lg:flex-row lg:gap-[42px]",children:[(0,n.jsxs)("aside",{className:"flex w-full shrink-0 flex-col gap-8 lg:w-[310px]",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,n.jsx)(x.D,{url:h.avatarUrl,name:h.name,size:124}),(0,n.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,n.jsx)("h1",{className:"whitespace-nowrap font-display text-[24px] font-normal leading-6 tracking-[-0.72px] text-white",children:h.name}),(0,n.jsxs)("div",{className:"flex items-center gap-1.5 font-body text-[15px] font-medium leading-[19px] tracking-[-0.15px] text-white/70",children:[(0,n.jsx)("span",{children:v("author.templatesCount",{count:g.length})}),(0,n.jsx)("div",{className:"mt-0.5 h-1 w-1 shrink-0 rounded-full bg-white/50"}),(0,n.jsx)("span",{children:v("author.installsCount",{count:N.toLocaleString("en-US")})})]})]})]}),(0,n.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,n.jsx)("p",{className:"font-display text-[18px] font-medium leading-6 tracking-[-0.54px] text-white/90",children:v("author.about")}),(0,n.jsx)("div",{className:"flex flex-col gap-2",children:h.aboutParagraphs.map((e,t)=>(0,n.jsx)("p",{className:"font-body text-[16px] font-medium leading-[22px] tracking-[-0.16px] text-white/70",children:e},t))})]}),h.socialLinks.length>0&&(0,n.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,n.jsx)("p",{className:"font-display text-[18px] font-medium leading-6 tracking-[-0.54px] text-white/90",children:v("author.links")}),(0,n.jsx)("div",{className:"flex flex-wrap items-center gap-3",children:h.socialLinks.map((e,t)=>{let{icon:a,label:l}=function(e){let t=f.find(t=>{let{pattern:a}=t;return a.test(e)});return null!=t?t:{icon:"icon-globe.svg",label:"Website"}}(e);return(0,n.jsx)("a",{href:e,target:"_blank",rel:"noreferrer","aria-label":l,className:"flex h-5 w-5 shrink-0 overflow-hidden opacity-70 transition-opacity hover:opacity-100",children:(0,n.jsx)("img",{alt:l,src:"".concat("/assets/template-installation","/").concat(a),className:"h-5 w-5"})},t)})})]})]}),(0,n.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-14",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,n.jsx)("p",{className:"font-display text-[18px] font-medium leading-6 tracking-[-0.54px] text-white/90",children:v("author.templates")}
1),(0,n.jsx)("div",{className:"flex flex-wrap items-center gap-3",children:k.map(e=>(0,n.jsx)("button",{type:"button",onClick:()=>b(e),className:"whitespace-nowrap rounded-full py-2 font-body text-[16px] font-medium tracking-[-0.16px] transition-colors ".concat(e===T?"bg-white/10 px-4 text-white":"border border-white/10 px-3 text-white/50 hover:text-white/80"),children:e===y?e:v("categoryName.".concat((0,o.Be)(e)),e)},e))}),(0,n.jsx)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 md:gap-5 lg:grid-cols-3",children:E.map(e=>(0,n.jsx)(d.w,{template:e,author:h},e.id))})]}),(null!==(t=h.reviews)&&void 0!==t?t:[]).length>0&&(0,n.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("span",{className:"font-display text-[18px] font-medium leading-6 tracking-[-0.54px] text-white/90",children:v("author.reviews")}),(0,n.jsx)("div",{className:"flex h-[22px] w-[22px] shrink-0 items-center justify-center rounded-full bg-white/10 p-1",children:(0,n.jsx)("span",{className:"w-full text-center font-body text-[14px] font-medium leading-[19px] tracking-[-0.14px] text-white/90",children:(null!==(a=h.reviews)&&void 0!==a?a:[]).length})})]}),(0,n.jsx)("div",{className:"flex flex-col",children:(null!==(r=h.reviews)&&void 0!==r?r:[]).map((e,t)=>(0,n.jsxs)("div",{className:"flex items-start gap-4 border-b border-[rgba(255,255,255,0.1)] py-8 ".concat(0===t?"border-t":""),children:[(0,n.jsx)(p.e,{avatarUrl:e.avatarUrl}),(0,n.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-2",children:[(0,n.jsxs)("div",{className:"flex w-full items-center justify-between",children:[(0,n.jsx)("span",{className:"whitespace-nowrap font-display text-[18px] font-medium leading-6 tracking-[-0.54px] text-white/90",children:e.name}),(0,n.jsx)(m.Z,{rating:e.rating})]}),(0,n.jsx)("p",{className:"font-body text-[16px] font-medium leading-[22px] tracking-[-0.16px] text-[rgba(255,255,255,0.8)] opacity-90",children:e.text})]})]},t))})]})]})]})]}),(0,n.jsx)(u.os,{})]})}var h=a(79164),g=!0,_slug_=e=>{var t;let{author:a,templates:l,locale:r,isLocaleCanonical:s}=e,{t:c}=(0,i.$G)("templates");return(0,n.jsx)(h.Z,{locale:r,isLocaleCanonical:s,persistHeader:!0,whiteHeader:!0,hideFooter:!0,minScreen:!1,title:c("page.author.title",{name:a.name}),description:null!==(t=a.aboutParagraphs[0])&&void 0!==t?t:c("page.author.descriptionFallback",{name:a.name}),children:(0,n.jsx)(AuthorPage,{author:a,templates:l})})}},34155:function(e){var t,a,n,l=e.exports={};function defaultSetTimout(){throw Error("setTimeout has not been defined")}function defaultClearTimeout(){throw Error("clearTimeout has not been defined")}function runTimeout(e){if(t===setTimeout)return setTimeout(e,0);if((t===defaultSetTimout||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(a){try{return t.call(null,e,0)}catch(a){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){t=defaultSetTimout}try{a="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){a=defaultClearTimeout}}();var i=[],r=!1,s=-1;function cleanUpNextTick(){r&&n&&(r=!1,n.length?i=n.concat(i):s=-1,i.length&&drainQueue())}function drainQueue(){if(!r){var e=runTimeout(cleanUpNextTick);r=!0;for(var t=i.length;t;){for(n=i,i=[];++s<t;)n&&n[s].run();s=-1,t=i.length}n=null,r=!1,function(e){if(a===clearTimeout)return clearTimeout(e);if((a===defaultClearTimeout||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(e);try{a(e)}catch(t){try{return a.call(null,e)}catch(t){return a.call(this,e)}}}(e)}}function Item(e,t){this.fun=e,this.array=t}function noop(){}l.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var a=1;a<arguments.length;a++)t[a-1]=arguments[a];i.push(new Item(e,t)),1!==i.length||r||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},l.title="browser",l.browser=!0,l.env={},l.argv=[],l.version="",l.versions={},l.on=noop,l.addListener=noop,l.once=noop,l.off=noop,l.removeListener=noop,l.removeAllListeners=noop,l.emit=noop,l.prependListener=noop,l.prependOnceListener=noop,l.listeners=function(e){return[]},l.binding=function(e){throw Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(e){throw Error("process.chdir is not supported")},l.umask=function(){return 0}}}]);

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.