PageSourceSearch

https://statics.piclumen.com/app-1790732990660/_nuxt/pNUNKWPj.js

js piclumen.com collected 2026-10-01 12:01:37 UTC 9,153 bytes, 1 lines download raw bytes

1import{_ as t,eW as e,eX as a,aP as r,bO as s,eY as n}from"./ByN6CAfd.js";import{c as l,o as i,I as o,Y as u,V as c,d as p,l as d,K as m,L as x,N as g,e as f,P as b,S as h,a as v,g as w,J as y,aK as S,aV as T,X as _,r as R,Z as k,aP as C,w as O}from"./Dyr2t_CH.js";import{c as N,G as A,fD as M,M as I,cf as P,x as $}from"./BqsN58w6.js";import{u as E}from"./Bd9XLu1m.js";import"./pyVxiBLO.js";import"./DTLJGphe.js";import"./hcMDYYqe.js";const L=["src","alt"],U=t({__name:"TextAvatar",props:{avatar:{type:String,default:""},name:{type:String,required:!0},bordered:{type:Boolean,default:!1},borderWidth:{type:Number,default:1}},setup(t){const e=t,a=["#3E7086","#3F7773","#475569","#4F7A5B","#52525B","#5B638F","#64748B","#667A3A","#6B7280","#71717A","#735C8F","#78716C","#83506F","#965A38","#9F5B67","#A8574B"],r=d((()=>e.name.trim().charAt(0).toUpperCase()||"?")),s=d((()=>{let t=0;for(const a of e.name)t=a.charCodeAt(0)+((t<<5)-t);return a[Math.abs(t)%a.length]}));return(e,a)=>t.avatar?(i(),l("img",{key:1,src:t.avatar,class:x(["rounded-full pointer-events-none shrink-0 aspect-square",{bordered:t.bordered}]),style:m({"--border-width":t.borderWidth+"px"}),alt:`${t.name}'s profile photo`,loading:"lazy"},null,14,L)):(i(),l("div",{key:0,class:x(["flex shrink-0 items-center justify-center rounded-full text-base font-medium text-white",{bordered:t.bordered}]),style:m({backgroundColor:p(s),"--border-width":t.borderWidth+"px"}),"aria-hidden":"true"},[o(e.$slots,"default",{},(()=>[u(c(p(r)),1)]),!0)],6))}},[["__scopeId","data-v-3af30f06"]]),j=["aria-label"],B={__name:"TrustpilotScore",props:{score:{type:Number,required:!0},total:{type:Number,default:5}},setup(t){const r=t,s=d((()=>Math.floor(r.score))),n=d((()=>r.score%1!=0)),o=d((()=>r.total-s.value-(n.value?1:0)));return(r,u)=>{const c=e,d=a;return i(),l("div",{class:"flex items-center gap-0.5","aria-label":`Rated ${t.score} out of ${t.total} stars`},[(i(!0),l(b,null,h(p(s),(t=>(i(),g(c,{key:t,class:"size-5 shrink-0 text-success-900"})))),128)),p(n)?(i(),g(d,{key:0,class:"size-5 shrink-0 text-success-900"})):f("",!0),(i(!0),l(b,null,h(p(o),(t=>(i(),g(c,{key:t,class:"size-5 shrink-0 text-text-t-3"})))),128))],8,j)}}},W={class:"flex items-center justify-between gap-3"},z={class:"flex min-w-0 items-center gap-2"},D={class:"truncate text-base leading-6 text-text-1"},q={class:"flex items-center justify-between gap-3"},F={class:"shrink-0 truncate text-sm leading-[22px] text-text-t-7"},V={class:"flex flex-col gap-1"},H={key:0,class:"truncate text-base font-semibold leading-6 text-text-1"},X={class:"line-clamp-4 text-sm leading-[22px] text-text-t-7"},J={__name:"TrustpilotCard",props:{avatar:{type:String,default:""},userName:{type:String,required:!0},score:{type:Number,required:!0},total:{type:Number,default:5},date:{type:String,required:!0},title:{type:String,default:""},content:{type:String,required:!0},href:{type:String,default:""}},setup(t){const e=t,a=R(!1),s=d((()=>a.value&&e.href?"a":"div")),n=d((()=>a.value&&e.href?{href:e.href,target:"_blank",rel:"noopener noreferrer nofollow"}:{}));return(e,o)=>{const u=U,d=r;
1return i(),l("div",{onMouseenter:o[0]||(o[0]=t=>a.value=!0),class:"group flex flex-col gap-4 rounded-3xl border border-border-t-3 bg-gradient-to-b from-[rgba(0,181,122,0.16)] to-[rgba(0,181,122,0.04)] p-6 backdrop-blur-[16px] no-underline transition-[border-color] duration-200 hover:border-border-t-2"},[v("div",W,[v("div",z,[w(u,{avatar:t.avatar,name:t.userName,class:"size-8"},null,8,["avatar","name"]),v("span",D,c(t.userName),1)]),(i(),g(_(p(s)),S(T(p(n))),{default:y((()=>[w(d,{class:"size-4 shrink-0 text-text-t-7","aria-hidden":"true"})])),_:1},16))]),v("div",q,[w(B,{score:t.score,total:t.total},null,8,["score","total"]),v("span",F,c(t.date),1)]),v("div",V,[t.title?(i(),l("p",H,c(t.title),1)):f("",!0),v("p",X,c(t.content),1)])],32)}}},K={class:"whitespace-nowrap text-base font-medium leading-6 text-text-t-2"},Y={__name:"TrustpilotViewMore",props:{expanded:{type:Boolean,default:!1}},emits:["click"],setup:t=>(e,a)=>{const r=s;return i(),l("button",{type:"button",class:"flex items-center gap-2 rounded-full border border-border-t-3 bg-fill-ww-11 p-4 shadow-[0_4px_8px_rgba(0,0,0,0.12),0_8px_24px_rgba(0,0,0,0.16)] backdrop-blur-[12px] transition-opacity hover:opacity-90",onClick:a[0]||(a[0]=t=>e.$emit("click"))},[v("span",K,c(t.expanded?e.$t("TRUSTPILOT_COM.SHOW_LESS"):e.$t("TRUSTPILOT_COM.SHOW_MORE")),1),w(r,{class:x(["size-5 shrink-0 text-text-t-2 transition-transform duration-300",{"rotate-180":t.expanded}])},null,8,["class"])])}};function G(t,{bestRating:e=5,worstRating:a=1}={}){if(!t?.userName||!t?.content)return null;const r=function(t){if(null==t||""===t)return;const e=new Date(t);return Number.isNaN(e.getTime())?void 0:e.toISOString().slice(0,10)}(t.isoDate??t.publishTime),s={"@type":"Review",author:{"@type":"Person",name:t.userName},reviewRating:{"@type":"Rating",ratingValue:String(t.score),bestRating:String(t.bestRating??t.total??e),worstRating:String(t.worstRating??a)},reviewBody:t.content};return r&&(s.datePublished=r),t.title&&(s.name=t.title),s}const Z={class:"mx-auto flex w-full max-w-[1344px] flex-col items-center gap-12 px-6 py-12 max-xs:px-4"},Q={class:"flex w-full flex-col items-center gap-2"},tt={href:"https://www.trustpilot.com/review/piclumen.com",target:"_blank",rel:"nofollow",class:"flex w-fit max-w-full flex-wrap items-center justify-center gap-2"},et={class:"flex items-center"},at={class:"text-sm leading-[22px] text-text-1"},rt={class:"flex items-center gap-1 text-sm leading-[22px] text-success-900"},st={class:"text-center text-3.5xl font-semibold text-text-1 max-xs:text-xl max-xs:leading-7"},nt={class:"text-center text-[15px] leading-[22px] text-text-t-2"},lt={class:"trustpilot-inner"},it={class:"trustpilot-waterfall-wrapper"},ot={class:"trustpilot-waterfall"},ut={class:"trustpilot-waterfall__action"},ct={__name:"Trustpilot",props:{pageTitle:{type:String,default:""},pageDescription:{type:String,default:""}},async setup(t){let e,a;const r=t,s=R(!1),o=P().public.cmsUrl,u=$()(N().path,"en"),{data:m}=([e,a]=C((()=>E(`${o}/api/app/review/list?slug=${u}`,{timeout:2500},"$2WmIPLXU83"))),e=await e,a(),e);function f(t){return{id:t.reviewId,avatar:t.authorAvatar||"",userName:t.authorName,score:t.rating,total:5,date:t.publishTime?new Date(Number(t.publishTime)).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"}):"",publishTime:t.publishTime?Number(t.publishTime):void 0,title:t.title,content:t.text,href:t.url}}const y=d((()=>{const t=m.value?.result;return Array.isArray(t)?t.map(f):[]}));!function(t,e={}){const a=N(),{t:r}=A(),s=M("cms-page-head",(()=>({}))),n=d((()=>{const n=e.bestRating??5,l=e.worstRating??1,i=String(e.reviewCount??e.ratingCount??4437),o=t.value.map((t=>G(t,{bestRating:n,worstRating:l}))).filter(Boolean);return o.length?{"@context":"https://schema.org","@type":"SoftwareApplication",name:k(e.title)||s.value?.title||r("SEO_META.SCHEMA_WEB_APP_NAME"),description:k(e.description)||s.value?.description||"",url:k(e.url)||`https://www.piclumen.com${a.path}`,applicationCategory:"MultimediaApplication",operatingSystem:"Web",aggregateRating:{"@type":"AggregateRating",ratingValue:String(e.score??4.8),bestRating:String(n),worstRating:String(l),reviewCount:i,ratingCount:i},review:o}:null}));I((()=>n.value?{script:[{key:"trustpilot-reviews-schema",type:"application/ld+json",innerHTML:JSON.stringify(n.value)}]}:{}))}(y,{score:4.8,reviewCount:4345,title:d((()=>r.pageTitle)),description:d((()=>r.pageDescription))});const S=M("trustpilot-random-3",(()=>[]));return O(y,(t=>{if(S.value.length||!t.length)return;const e=t.filter((t=>t.avatar)),a=e.length>=3?e:t;S.value=[...a].sort((()=>Math.random()-.5)).slice(0,3)}),{immediate:!0}),(t,e)=>{const a=U,r=n;return i(),l("section",Z,[v("div",Q,[v("a",tt,[v("div",et,[(i(!0),l(b,null,h(p(S),((t,e)=>(i(),g(a,{bordered:!0,key:t.id,avatar:t.avatar,name:t.userName,class:x(["size-6 text-xs",{"-mr-2":e<(p(S)?.length??0)-1}])},null,8,["avatar","name","class"])))),128))]),v("span",at,c(t.$t("TRUSTPILOT_COM.REVIEW_COUNT")),1),e[1]||(e[1]=v("span",{class:"h-4 w-px shrink-0 bg-text-t-3","aria-hidden":"true"},null,-1)),v("span",rt,[w(r,{class:"size-4 shrink-0 text-success-900"}),v("span",null,c(t.$t("TRUSTPILOT_COM.TRUSTSCORE")),1),v("span",null,c(t.$t("TRUSTPILOT_COM.SCORE",{score:4.8,total:5..toFixed(1)})),1)]),w(B,{score:4.8,total:5})]),v("h2",st,c(t.$t("TRUSTPILOT_COM.TITLE")),1),v("p",nt,c(t.$t("TRUSTPILOT_COM.DESCRIPTION")),1)]),v("div",{class:x(["trustpilot-panel w-full",{"is-expanded":p(s)}])},[v("div",lt,[v("div",it,[v("div",ot,[(i(!0),l(b,null,h(p(y),(t=>(i(),g(J,{key:t.id,class:"mb-4 break-inside-avoid",avatar:t.avatar,"user-name":t.userName,score:t.score,total:t.total,date:t.date,title:t.title,content:t.content,href:t.href},null,8,["avatar","user-name","score","total","date","title","content","href"])))),128))])]),e[2]||(e[2]=v("div",{class:"trustpilot-waterfall__gradient","aria-hidden":"true"},null,-1))]),v("div",ut,[w(Y,{expanded:p(s),onClick:e[0]||(e[0]=t=>s.value=!p(s))},null,8,["expanded"])])],2)])}}},pt=t(ct,[["__scopeId","data-v-5faddb62"]]);export{pt as default};

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.