PageSourceSearch

https://www.prix-pose.com/build/assets/watson-theme-review-DEM55-cp.js

js prix-pose.com collected 2026-10-09 05:06:26 UTC 4,328 bytes, 3 lines download raw bytes

1import{_ as p}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{r as f,H as x,c as s,d as e,t as v,F as _,e as d,C as a,b as l}from"./index-Dvm4xnRL.js";const L={class:"reviews"},y={key:0,class:"reviews__container"},C={class:"reviews__review"},k={class:"reviews__name"},M={key:0,class:"reviews__rating"},z={key:0,xmlns:"http://www.w3.org/2000/svg",height:"1em",class:"reviews__star",viewBox:"0 0 536 512"},S=["innerHTML"],B={class:"reviews__footer"},b={class:"reviews__date"},R={key:0},H={key:0,class:"reviews__nav"},F={class:"reviews__nav-text"},I={__name:"watson-theme-review",props:{reviews:{type:Array,required:!0}},setup(w){const o=w,n=f(0),r=x(()=>o.reviews[n.value]||null);function c(u){const t=Math.floor(u.rating/2),i=u.rating%2===1,m=5-(i?t+1:t);return{fullStars:t,needsHalfStar:i,emptyStars:m}}function g(){n.value===0?n.value=o.reviews.length-1:n.value--}function h(){n.value===o.reviews.length-1?n.value=0:n.value++}return(u,t)=>(l(),s("div",L,[o.reviews.length!==0||r.value!==null?(l(),s("div",y,[e("div",C,[e("div",k,v(r.value.name),1),r.value.rating!==""?(l(),s("div",M,[(l(!0),s(_,null,d(c(r.value).fullStars,i=>(l(),s("svg",{key:`review-full-star-${i}`,xmlns:"http://www.w3.org/2000/svg",height:"1em",class:"reviews__star",viewBox:"0 0 576 512"},[...t[0]||(t[0]=[e("path",{fill:"currentColor",d:"M316.9 18c-5.3-11-16.5-18-28.8-18s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329l-24.6 145.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329l104.2-103.1c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7l-143.7-21.2L316.9 18z"},null,-1)])]))),128)),c(r.value).needsHalfStar?(l(),s("svg",z,[...t[1]||(t[1]=[e("path",{fill:"currentColor",d:"M508.55 171.51L362.18 150.2 296.77 17.81C290.89 5.98 279.42 0 267.95 0c-11.4 0-22.79 5.9-28.69 17.81l-65.43 132.38-146.38 21.29c-26.25 3.8-36.77 36.09-17.74 54.59l105.89 103-25.06 145.48C86.98 495.33 103.57 512 122.15 512c4.93 0 10-1.17 14.87-3.75l130.95-68.68 130.94 68.7c4.86 2.55 9.92 3.71 14.83 3.71 18.6 0 35.22-16.61 31.66-37.4l-25.03-145.49 105.91-102.98c19.04-18.5 8.52-50.8-17.73-54.6zm-121.74 123.2l-18.12 17.62 4.28 24.88 19.52 113.45-102.13-53.59-22.38-11.74.03-317.19 51.03 103.29 11.18 22.63 25.01 3.64 114.23 16.63-82.65 80.38z"},null,-1)])])):a("",!0),(l(!0),s(_,null,d(c(r.value).emptyStars,i=>(l(),s("svg",{key:`review-empty-star-${i}`,xmlns:"http://www.w3.org/2000/svg",height:"1em",class:"reviews__star",viewBox:"0 0 576 512"},[...t[2]||(t[2]=[e("path",{fill:"currentColor",d:"M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z"},null,-1)])]))),128))])):a("",!0)]),e("div",{class:"reviews__text",innerHTML:r.value.text},null,8,S),e("div",B,[e("div",b,[r.value.date!==""?(l(),s("span",R," Review date: "+v(r.value.date),1)):a("",!0)]),o.reviews.length>=2?(l(),s("div",H,[e("button",{type:"button",onClick:g},[...t[3]||(t[3]=[e("svg",{xmlns:"http://www.w3.org/2000/svg",height:"1em",class:"reviews__nav-button",viewBox:"0 0 512 512"},[e("path",{fill:"currentColor",d:"M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zM142.1 273l135.5 135.5c9.4 9.4 24.6 9.4 33.9 0l17-17c9.4-9.4 9.4-24.6 0-33.9L226.9 256l101.6-101.6c9.4-9.4 9.4-24.6 0-33.9l-17-17c-9.4-9.4-24.6-9.4-33.9 0L142.1 239c-9.4 9.4-9.4 24.6 0 34z"})],-1)])]),e("div",F,v(n.value+1)+"/"+v(w.reviews.length),1),e("button",{type:"button",onClick:h},[...t[4]||(t[4]=[e("svg",{xmlns:"http://www.w3.org/2000/svg",height:"1em",class:"reviews__nav-button",viewBox:"0 0 512 512"},[e("path",{fill:"currentColor",d:`M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zm113.9 231L234.4 103.5c-9.4-9.4-24.6-9.4-33.9 0l-17 17c-9.4 9.4-9.4 24.6 0
2                 33.9L285.1 256 183.5 357.6c-9.4 9.4-9.4 24.6 0 33.9l17 17c9.4 9.4 24.6 9.4 33.9 0L369.9 273c9.4-9.4 9.4-24.6 0-34z`})],-1)])])])):a("",!0)])])):a("",!0)]))}},V=p(I,[["__scopeId","data-v-62e961a7"]]);export{V as default};
3//# sourceMappingURL=watson-theme-review-DEM55-cp.js.map

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.