1import{d as D}from"./_vite_index_DlbDXCSJ.js";import"./_vite__sentry-release-injection-file_BFY1NBm6.js";import{formatMoney as k}from"./_vite_index_DmuHcPRU.js";import{_ as L}from"./_vite_DiscountStar.vue_vue_type_script_setup_true_lang_CEw1XGQ8.js";import{E as M}from"./_vite_index_CxGULuLh.js";import{d as E,C as H,o as t,D as s,e as o,F as m,at as h,i as B,a as w,R as y,c as C}from"./_vite_runtime-core.esm-bundler_BD1FGUA9.js";import{r as N,ak as n,u as d}from"./_vite_reactivity.esm-bundler_BPc4qUhj.js";import"./_vite_shopify_DmHxksp5.js";import"./_vite_index_CWMh2Sv_.js";import"./_vite_index_BxljrHT8.js";import"./_vite__MapCache_DV0EoT-I.js";import"./_vite__arrayPush_qS2cr0hY.js";import"./_vite_popper_gGiT_RTn.js";import"./_vite_runtime-dom.esm-bundler_C5zu4q2U.js";import"./_vite_icon_Caef22TS.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new r.Error().stack;p&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[p]="a630fd07-e250-4159-a85f-6403f6f1bf25",r._sentryDebugIdIdentifier="sentry-dbid-a630fd07-e250-4159-a85f-6403f6f1bf25")}catch{}})();{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};i._sentryModuleMetadata=i._sentryModuleMetadata||{},i._sentryModuleMetadata[new i.Error().stack]=Object.assign({},i._sentryModuleMetadata[new i.Error().stack],{"_sentryBundlerPluginAppKey:artlogo-shopify-theme":!0})}const P={class:"relative rounded-[36px] border-4 border-accent-red border-solid px-4 md:px-8 py-8 max-w-4xl mx-auto text-base text-left sm:text-center"},F={class:"space-y-6"},S={class:"m-0 text-4xl text-gray-800 font-black"},V=["innerHTML"],j={class:"text-2xl text-accent-red font-bold line-through"},q={class:"text-4xl font-black"},I={class:"sm:flex sm:justify-center text-left space-y-8 sm:space-y-0 sm:space-x-8"},K=["innerHTML"],O={key:1,class:"list-disc pl-7"},U={key:0,class:"underline cursor-pointer hover:text-red-600"},z={class:"flex"},A=["src"],J=["innerHTML"],Q={class:"text-left lg:absolute lg:bottom-6"},R={class:"font-black text-3xl"},fe=E({__name:"ProductInfo",props:{option:{}},setup(r){const p=r,v=["description2","description3"],T=H(()=>v.map(e=>{const c=p.option[e];let u=[];if(c&&typeof c=="string")try{u=JSON.parse(c)}catch(a){console.error(`Failed to parse descriptions for ${e}`,a)}return u}).filter(e=>e.length>0)),b=D("(max-width: 575px)"),x=N({});return(e,c)=>(t(),s("div",P,[o("div",F,[o("h3",S,n(e.option.product_title),1),o("div",{class:"prose mx-auto leading-6 prose-lg md:prose-xl",innerHTML:e.option.description1},null,8,V),o("div",null,[o("div",j,n(d(k)(e.option.compare_at_price)),1),o("div",q,n(d(k)(e.option.price)),1)]),o("div",I,[(t(!0),s(m,null,h(T.value,(u,a)=>(t(),s("div",{key:a,class:"leading-5 sm:max-w-80 m-0 pl-0 sm:pl-5"},[(t(!0),s(m,null,h(u,(f,_)=>(t(),s(m,{key:_},[f.type==="richtext"?(t(),s("div",{key:0,class:"prose-headings:font-bold prose-headings:mb-0",innerHTML:f.value},null,8,K)):f.type==="ul"?(t(),s("ul",O,[(t(!0),s(m,null,h(f.value,(l,g)=>(t(),s("li",{key:g,class:"mt-2"},[B(d(M),{visible:x.value[`${a}-${_}-${g}`],"onUpdate:visible":$=>x.value[`${a}-${_}-${g}`]=$,trigger:d(b)?"click":"hover",placement:"top-start",width:d(b)?300:370,class:"rounded-lg bg-slate-100 p-2.5"},{reference:w(()=>[l.title?(t(),s("span",U,n(l.title),1)):y("",!0)]),default:w(()=>[o("div",z,[l.image?(t(),s("img",{key:0,src:l.image,alt:"",class:"mr-4 w-24 h-24 rounded-lg"},null,8,A)):y("",!0),o("p",{class:"m-0",innerHTML:l.description},null,8,J)])]),_:2},1032,["visible","onUpdate:visible","trigger","width"])]))),128))])):y("",!0)],64))),128))]))),128))]),o("div",Q,[o("div",R,n(e.option.inventory_quantity),1),o("div",null,"Package"+n(e.option.inventory_quantity!==1?"s":"")+" left",1)])]),e.option.discount?(t(),C(L,{key:0,class:"transition absolute top-0 right-0 translate-x-1/4 md:translate-x-1/2 -translate-y-1/2 z-10",discount:e.option.discount},null,8,["discount"])):y("",!0)]))}});export{fe as default}; 2//# sourceMappingURL=/cdn/shop/t/430/assets/_vite_ProductInfo_BevXWXOl.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.