import{_ as i,o as n,s as l,n as t,c,e as v,m as r,v as _,y as I,w as d,l as b,F as w,z as x,k,j as N,K as R,L as C}from"./entry.4a1e3e7a.js";import{A as m}from"./alchemyElement.5a05415b.js";import{_ as V}from"./index.b20a02b0.js";import"./index.533f36eb.js";import"./index.362fb190.js";import"./index.fe59aa4c.js";import"./star.657407f3.js";import"./createProductTags.f1acaa5d.js";const T={mixins:[m],computed:{fragrance(){return this.getIngredient("fragrance")},productId(){var e;return(e=this.fragrance)==null?void 0:e.value},productName(){var e;return(e=this.fragrance)==null?void 0:e.productName},productLink(){var e;return(e=this.fragrance)==null?void 0:e.productUrl},productImage(){var e;return(e=this.fragrance)==null?void 0:e.productImageUrl},gaCategory(){var e;return(e=this.fragrance)==null?void 0:e.gaCategory},previousRecommendation(){return this.getValue("previous_recommendation")},newRecommendation(){return this.getValue("new_recommendation")}}},B={class:"ifra-table-row"},F={class:"ifra-align-right"},L={class:"ifra-align-right"};function S(e,u,p,f,g,a){const o=V;return n(),l("tr",B,[t("td",null,[a.productId?(n(),c(o,{key:0,id:a.productId,href:a.productLink,name:a.productName,src:a.productImage,"ga-category":a.gaCategory,layout:"small"},null,8,["id","href","name","src","ga-category"])):v("",!0)]),r(),t("td",F,_(a.previousRecommendation),1),r(),t("td",L,_(a.newRecommendation),1)])}const $=i(T,[["render",S],["__scopeId","data-v-d829cb20"]]);const E={components:{IfraTableRow:$},mixins:[m]},A=e=>(R("data-v-e996759f"),e=e(),C(),e),P={class:"ifra-table"},U=A(()=>t("thead",{class:"ifra-table-header"},[t("tr",null,[t("th",null,"Fragrance"),r(),t("th",{class:"ifra-align-right"},"Previous:"),r(),t("th",{class:"ifra-align-right"},"New:")])],-1));function j(e,u,p,f,g,a){const o=k,h=I("IfraTableRow"),y=N;return n(),c(y,null,{default:d(()=>[b(o,{level:2},{default:d(()=>[r("Fragrance Recommendation")]),_:1}),r(),t("table",P,[U,r(),t("tbody",null,[(n(!0),l(w,null,x(e.element.nestedElements,s=>(n(),c(h,{key:s.id,element:s},null,8,["element"]))),128))])])]),_:1})}const O=i(E,[["render",j],["__scopeId","data-v-e996759f"]]);export{O as default};