import"./ecb79917.js";import{a as r,j as i,F as s}from"./index.9be5fb1a.js";import"./a36cb30c.js";import"./d060b8a3.js";import"./119338b3.js";import"./097174ad.js";import"./f84d33f8.js";import"./1cfd448b.js";import"./a5033887.js";import"./3245d962.js";import"./c215153d.js";import"./0ddb42b7.js";/* empty css        */import{C as p}from"./9fa561c1.js";import{w as a}from"./a6a953cf.js";import{K as c}from"./c05ec191.js";import"./ac04e32d.js";import"./3fd5546a.js";import"./2e4f433f.js";import"./391fa51f.js";import"./66d5f687.js";import"./fc0e79f7.js";import"./fd5caeb3.js";function V({data:o,handle:t}){const{title:m}=o,n=t.replace("50ml","100ml"),l=t.replace("100ml","50ml");return r(a,{as:"div",className:"w-full gap-2 block",children:({open:e})=>i(s,{children:[r(a.Button,{className:"text-left w-full m-auto py-[1.25rem]",children:i("div",{className:"flex justify-between product-variant-padding",children:[r("span",{className:"product-variant-selection",children:t.includes("100ml")?r("span",{children:"100ml"}):r("span",{children:"50ml"})}),r(p,{className:`${e?"rotate-180":""} flex transition-transform transform-gpu duration-500 w-6 h-6 align-middle `})]})}),r(c,{show:e,enter:"transform transition ease-in-out duration-500 sm:duration-700",enterFrom:"translate-y-0 opacity-0",enterTo:"translate-y-3 opacity-100",leave:"transform transition ease-in-out duration-500 sm:duration-700",leaveFrom:"translate-y-4 opacity-100",leaveTo:"translate-y-0 opacity-0",children:r(a.Panel,{className:"relative  pt-6 grid gap-2 border-t border-gray-400 lg:hover:bg-gray-100",children:r("a",{href:`${t.includes("100ml")?`${l}`:`${n}`}`,className:"py-2 font-semibold text-md product-variant-padding mb-8 md:mb-0",children:t.includes("100ml")?r("span",{children:"50ml"}):r("span",{children:"100ml"})})})})]})},m)}export{V as ProductVariantSelector};
//# sourceMappingURL=9744c11e.js.map