1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DW-r3oHY.js","./IZR80Hiv.js","./entry.CasQH4DA.css","./5rjX-dOu.js"])))=>i.map(i=>d[i]); 2import{a2 as I,bI as s,au as r,ar as t,aD as x,bX as f,bu as N,cz as Z,cH as q,bP as b,cf as o,aA as u,at as c,cm as i,i as G,bW as H,as as w,d9 as C,az as h,bs as y,aq as K,aC as A,a1 as k}from"./IZR80Hiv.js";import F from"./COMpiWMR.js";import W from"./D3JYQth1.js";import X from"./BO-o7Czo.js";import{b as Y}from"./DXw-lM56.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"93.1-production"};var n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bfe03c5a-9252-4f88-9154-eebdaf7b2edd",e._sentryDebugIdIdentifier="sentry-dbid-bfe03c5a-9252-4f88-9154-eebdaf7b2edd")}catch{}})();const J={},Q={"aria-hidden":"true",class:"h-4 w-4",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};function U(e,n){return s(),r("svg",Q,[...n[0]||(n[0]=[t("path",{d:"M17.1159 2.00994C17.3704 2.04585 17.6298 2.21079 17.8032 2.44692C17.9202 2.60627 18.0368 2.85667 18.2396 3.38389C18.6424 4.43101 18.8418 4.77347 19.2297 5.08422C19.442 5.2543 19.9004 5.47345 20.5273 5.70451C20.8144 5.81034 21.1297 5.9354 21.2279 5.98243C21.7997 6.25614 22.0597 6.66993 21.9885 7.19255C21.9353 7.58298 21.683 7.8703 21.1904 8.10152C21.0761 8.15513 20.7977 8.26642 20.5717 8.34883C19.0514 8.90314 18.8379 9.11606 18.2462 10.668C17.9648 11.4061 17.8207 11.6646 17.588 11.8496C17.406 11.9942 17.2609 12.0492 17.0275 12.0621C16.7049 12.0798 16.4789 11.9944 16.2597 11.7717C16.0448 11.5535 15.9707 11.404 15.575 10.3908C15.2441 9.54347 14.9834 9.15799 14.5531 8.87969C14.3184 8.72789 14.0103 8.58978 13.4193 8.37138C12.7147 8.111 12.4878 7.99751 12.2754 7.79921C12.1447 7.67719 12.0897 7.60561 12.025 7.47329C11.9433 7.30622 11.9421 7.29989 11.9421 7.03724C11.9421 6.78511 11.9459 6.76296 12.011 6.62638C12.1138 6.41082 12.2387 6.2686 12.4473 6.12981C12.6626 5.98663 12.7684 5.93962 13.4287 5.6937C13.9819 5.48764 14.1557 5.41335 14.4077 5.27522C14.945 4.9807 15.1985 4.63043 15.5839 3.64966C15.9582 2.69723 16.0254 2.55656 16.2056 2.34722C16.4261 2.09095 16.7748 1.96179 17.1159 2.00994ZM17.1131 5.01231C17.4758 5.73056 17.8755 6.20015 18.4393 6.57015C18.6567 6.71282 18.9814 6.88916 19.1926 6.97921L19.3128 7.03047L19.026 7.16879C18.1006 7.61505 17.5689 8.14194 17.1057 9.07158L16.9672 9.34972L16.8141 9.04935C16.3487 8.13641 15.84 7.63035 14.9473 7.19222L14.6205 7.03185L14.833 6.93588C15.0771 6.82559 15.5013 6.57752 15.6961 6.43121C16.1337 6.10234 16.5004 5.63831 16.8172 5.01231L16.9653 4.71966L17.1131 5.01231ZM9.04283 8.25123C9.42226 8.30593 9.7539 8.59977 10.0037 9.10267C10.0461 9.18817 10.1488 9.43303 10.2318 9.64679C10.7937 11.0945 10.9375 11.4119 11.2375 11.8665C11.526 12.3035 11.8581 12.6116 12.3398 12.8891C12.7318 13.1148 13.0838 13.2649 14.0079 13.6002C14.8278 13.8978 15.1044 14.0353 15.3691 14.2772C15.6396 14.5244 15.7556 14.7777 15.7556 15.1213C15.7556 15.4648 15.6397 15.718 15.3692 15.9654C15.0952 16.216 14.871 16.3251 13.8857 16.687C12.8464 17.0687 12.3629 17.2978 11.9498 17.604C11.7093 17.7823 11.4287 18.0864 11.238 18.3753C10.9411 18.8252 10.7713 19.1988 10.2539 20.5402C9.95403 21.3179 9.76487 21.6204 9.44554 21.833C9.11097 22.0557 8.64265 22.0557 8.30808 21.833C7.98116 21.6154 7.79448 21.3117 7.47928 20.4847C6.86146 18.8637 6.62115 18.4016 6.1358 17.9009C5.69162 17.4427 5.18068 17.1692 3.86788 16.687C2.88755 16.3269 2.658 16.2156 2.3903 15.9708C2.11448 15.7185 2 15.4694 2 15.1213C2 14.7732 2.11448 14.524 2.3903 14.2718C2.658 14.0269 2.88755 13.9156 3.86788 13.5556C4.65824 13.2653 5.0375 13.1032 5.37069 12.9133C6.28591 12.3918 6.69418 11.8172 7.32102 10.1687C7.67111 9.24794 7.75905 9.04921 7.92875 8.79523C8.11901 8.51051 8.42432 8.29173 8.6769 8.25911C8.73798 8.25123 8.81295 8.24156 8.84349 8.23763C8.87403 8.2337 8.96373 8.23983 9.04283 8.25123ZM8.96628 11.0172C9.6104 12.6904 10.2767 13.5907 11.3632 14.2558C11.7824 14.5124 12.2191 14.716 12.9084 14.9762C13.11 15.0522 13.2781 15.1175 13.2819 15.1212C13.2857 15.1248 13.2358 15.1453 13.1708 15.1666C12.9056 15.2538 12.1459
215.5689 11.8799 15.7021C10.4478 16.4193 9.69694 17.3273 8.96628 19.2254C8.92024 19.345 8.87981 19.44 8.87648 19.4364C8.87315 19.4327 8.7986 19.2499 8.71082 19.03C8.01814 17.2949 7.28042 16.4188 5.93664 15.7355C5.62318 15.576 4.88532 15.266 4.58279 15.1666C4.51786 15.1453 4.46844 15.1241 4.47299 15.1196C4.47752 15.1151 4.5787 15.0761 4.6978 15.033C6.93117 14.2247 7.84528 13.3573 8.70064 11.2347C8.79418 11.0026 8.87337 10.8098 8.87661 10.8062C8.87988 10.8026 8.92024 10.8975 8.96628 11.0172Z","fill-rule":"evenodd"},null,-1)])])}const ee=Object.assign(I(J,[["render",U]]),{__name:"AtmTranslatedReviewIcon"}),te=x({__name:"IncentivizedReviewPopover",props:{id:{}},setup(e){const l=`review-${e.id}`;return(v,g)=>(s(),r("div",{class:"atm-incentivized-review-popover w-fit",style:N({"--anchor-name":`--review-${e.id}`})},[t("button",{popovertarget:l,class:"incentivized-button flex items-center gap-1",type:"button"},[f(v.$slots,"trigger",{},void 0,!0)]),t("div",{id:l,class:"incentivized-popover z-10 w-max max-w-[90vw] rounded-md border border-woom-grey-mid bg-white p-3 md:max-w-96",popover:""},[f(v.$slots,"content",{},void 0,!0)])],4))}}),ne=Object.assign(I(te,[["__scopeId","data-v-c26d7842"]]),{__name:"AtmIncentivizedReviewPopover"}),ie=A(()=>k(()=>import("./DW-r3oHY.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(e=>e.default||e)),oe=A(()=>k(()=>import("./5rjX-dOu.js"),__vite__mapDeps([3,1,2]),import.meta.url).then(e=>e.default||e)),se={class:"mol-review flex flex-col gap-6 border-b border-woom-grey-mid py-5 md:grid md:grid-cols-[1fr_3fr]"},ae={class:"flex gap-3 max-md:items-center md:md:row-span-3 md:flex-col md:border-r md:border-woom-grey-mid md:pr-2",role:"complementary"},re={class:"flex h-14 w-14 items-center justify-center rounded-full bg-woom-grey uppercase"},le={class:"flex flex-col gap-2"},de={key:0,class:"flex items-center gap-2"},ce={class:"text-sm"},ue={class:"relative flex flex-col gap-3 md:col-start-2"},ve={key:0},me=["datetime"],pe={class:"flex flex-col gap-5 md:col-start-2"},_e={key:1,class:"flex items-center gap-1"},be={class:"text-2xs"},ge={class:"text-start text-2xs"},fe={class:"flex flex-col gap-3 md:col-start-2"},we={key:0,class:"flex gap-2"},Ce={class:"flex gap-3"},he={id:"vote-helpful"},ye={class:"flex gap-1"},ze=["disabled"],T=x({__name:"Review",props:{review:{}},setup(e){const n=e,{t:l}=Z({useScope:"local"}),{friendlyDate:v}=q(),{reviewsVoted:g,voteReview:B}=Y(),_=n.review.id,m=K(()=>g.value.includes(_)),d=b(!1),p=b(n.review.helpfulCount),R=b(),D=async()=>{if(!(m.value||d.value)){d.value=!0;try{const a=await $fetch("/api/reviews-product-vote",{params:{product_review_id:_}});R.value=a.count,p.value=+p.value+1,B(_)}finally{d.value=!1}}};return(a,Ie)=>{const L=ie,$=F,j=oe,E=ee,V=W,P=ne,O=X;return s(),r("article",se,[t("aside",ae,[t("div",re,o(e.review.author.slice(0,2)),1),t("div",le,[e.review.verified?(s(),r("span",de,[u(L,{class:"w-6"}),t("span",ce,o(a.$t("reviews.badgeVerifiedCustomer")),1)])):c("",!0),t("div",null,o(e.review.author),1)])]),t("header",ue,[u($,{rating:e.review.rating},null,8,["rating"]),e.review.title?(s(),r("span",ve,o(e.review.title),1)):c("",!0),t("time",{class:"absolute top-0 right-0 font-bold",datetime:e.review.dateCreated},o(i(v)(e.review.dateCreated)),9,me)]),t("section",pe,[t("p",null,o(e.review.comments),1),e.review.replies.length?(s(!0),r(G,{key:0},H(e.review.replies,(S,M)=>(s(),w(j,{key:M,reply:S},null,8,["reply"]))),128)):c("",!0),e.review.isTranslated?(s(),r("div",_e,[u(E,{class:"fill-woom-black"}),t("span",be,o(i(l)("translatedByAI")),1)])):c("",!0),e.review.incentivized?(s(),w(P,{key:2,id:e.review.id},{trigger:C(()=>[u(V,{class:"h-5 w-5"}),t("span",ge,o(i(l)("badgeIncentivized")),1)]),content:C(()=>[h(o(i(l)("incentivizedTooltip")),1)]),_:1},8,["id"])):c("",!0)]),t("footer",fe,[+i(p)>0?(s(),r("span",we,[u(O,{class:y(["w-6",{"animate-pop":i(d)}])},null,8,["class"]),h(" "+o(a.$t("reviews.helpfulReviewDisplay",{count:i(p)})),1)])):c("",!0),t("div",Ce,[t("strong",he,o(a.$t("reviews.helpfulReviewHeading")),1),t("div",ye,[t("button",{id:"vote-yes","aria-labelledby":"vote-helpful vote-yes",onClick:D,disabled:i(d)||i(m),class:y(i(d)||i(m)?"cursor-not-allowed text-woom-grey-taupe":"underline transition-colors hover:text-woom-red")},o(i(d)?a.$t("reviews.helpfulReviewButton.submitting"):i(m)?a.$t("reviews.helpfulReviewButton.submitted"):a.$t("reviews.helpfulReviewButton.idle")),11,ze)])])])])}}});function z(e){const n=e;n.__i18n=n.__i18n||[],n.__i18n.push({locale:"",resource:{da:{badgeIncentivized:{t:0,b:{t:2,i:[{t:3}],s:"PÃ¥ opfordring"}},incentivizedTooltip:{t:0,b:{t:2,i:[{t:3}],s:"Anmeldelsen blev skrevet til gengæld for en belønning, sÃ¥som en rabat. Belønningen blev tilbudt uanset vurderingen eller holdningen i anmeldelsen."}},translatedByAI:{t:0,b:{t:2,i:[{t:3}],s:"Oversat med AI"}}},de:{badgeIncentivized:{t:0,b:{t:2,i:[{t:3}],s:"Incentivierte Bewertung"}},incentivizedTooltip:{t:0,b:{t:2,i:[{t:3}],s:"Diese Bewertung wurde durch eine Gegenleistung, beispielsweise ein Rabatt, motiviert. Die Gegenleistung wurde unabhängig von Sternebewertung und Inhalt gewährt."}},translatedByAI:{t:0,b:{t:2,i:[{t:3}],s:"Automatische AI Ãbersetzung"}}},en:{badgeIncentivized:{t:0,b:{t:2,i:[{t:3}],s:"Incentivized"}},incentivizedTooltip:{t:0,b:{t:2,i:[{t:3}],s:"This review was written in exchange for a reward, such as a discount. The incentive was offered regardless of the rating or sentiment of the review."}},translatedByAI:{t:0,b:{t:2,i:[{t:3}],s:"Automated AI translation"}}},fi:{badgeIncentivized:{t:0,b:{t:2,i:[{t:3}],s:"Kannustettu arvostelu"}},incentivizedTooltip:{t:0,b:{t:2,i:[{t:3}],s:"Tämä arvostelu on kirjoitettu palkkiota, kuten alennusta, vastaan. Kannustin on annettu arvosanasta ja mielipiteestä riippumatta."}},translatedByAI:{t:0,b:{t:2,i:[{t:3}],s:"Automaattinen tekoälykäännös"}}},fr:{badgeIncentivized:{t:0,b:{t:2,i:[{t:3}],s:"Avis récompensé"}},incentivizedTooltip:{t:0,b:{t:2,i:[{t:3}],s:"Cet avis a été rédigé en échange dâune récompense, telle quâune remise. Lâavantage était offert indépendamment de la note ou de lâopinion exprimée."}},translatedByAI:{t:0,b:{t:2,i:[{t:3}],s:"Traduction automatique"}}},nl:{badgeIncentivized:{t:0,b:{t:2,i:[{t:3}],s:"Met beloning"}},incentivizedTooltip:{t:0,b:{t:2,i:[{t:3}],s:"Deze beoordeling is geschreven in ruil voor een beloning, zoals een korting. De beloning is gegeven, ongeacht de beoordeling of de inhoud ervan."}},translatedByAI:{t:0,b:{t:2,i:[{t:3}],s:"Automatisch vertaald m.b.v. AI"}}},sv:{badgeIncentivized:{t:0,b:{t:2,i:[{t:3}],s:"Belöning kopplad till recensionen"}},incentivizedTooltip:{t:0,b:{t:2,i:[{t:3}],s:"Den här recension skrevs i utbyte mot en belöning, till exempel en rabatt. Belöningen erbjöds oavsett betyg eller omdöme."}},translatedByAI:{t:0,b:{t:2,i:[{t:3}],s:"Automatisk AI-översättning"}}},pl:{badgeIncentivized:{t:0,b:{t:2,i:[{t:3}],s:"Premia"}},incentivizedTooltip:{t:0,b:{t:2,i:[{t:3}],s:"Ta recenzja zostaÅa napisana w zamian za nagrodÄ, takÄ jak zniżka. PremiÄ oferowano niezależnie od oceny lub opinii zawartej w recenzji."}},translatedByAI:{t:0,b:{t:2,i:[{t:3}],s:"Automatyczne tÅumaczenie AI"}}},es:{badgeIncentivized:{t:0,b:{t:2,i:[{t:3}],s:"Con incentivo"}},incentivizedTooltip:{t:0,b:{t:2,i:[{t:3}],s:"Esta reseña se ha escrito a cambio de una recompensa como, por ejemplo, un descuento. El incentivo se ofrecÃa independientemente de la valoración de la reseña o de si esta era negativa o positiva."}},translatedByAI:{t:0,b:{t:2,i:[{t:3}],s:"Traducción automática con IA"}}},ro:{badgeIncentivized:{t:0,b:{static:"",t:2,i:[]}},incentivizedTooltip:{t:0,b:{static:"",t:2,i:[]}},translatedByAI:{t:0,b:{static:"",t:2,i:[]}}}}})}typeof z=="function"&&z(T);const Re=Object.assign(T,{__name:"MolReview"});export{Re as default}; 3//# sourceMappingURL=UbdilcHJ.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.