PageSourceSearch

https://bombon.rs/_next/static/immutable/chunks/15zg184w0d_q5.js

js bombon.rs collected 2026-10-06 13:06:57 UTC 25,733 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,27244,e=>{"use strict";var t=e.i(43476);e.s(["default",0,function(){return(0,t.jsx)("div",{id:"awwwards",style:{position:"fixed",zIndex:999,transform:"translateY(-50%)",top:"50%",right:0},children:(0,t.jsx)("a",{href:"https://www.awwwards.com/sites/bombon-royal-swedish-candy",target:"_blank",rel:"noopener noreferrer",children:(0,t.jsxs)("svg",{width:"53.08",height:"171.358",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{className:"js-color-bg",fill:"#7a58a8",d:"M0 0h53.08v171.358H0z"}),(0,t.jsx)("g",{className:"js-color-text",fill:"white",children:(0,t.jsx)("path",{d:"M20.047 153.665v-1.9h3.888v-4.093h-3.888v-1.9h10.231v1.9h-4.59v4.093h4.59v1.9zM29.898 142.236c-.331.565-.784.997-1.359 1.294s-1.222.446-1.944.446c-.721 0-1.369-.149-1.943-.446a3.316 3.316 0 0 1-1.36-1.294c-.331-.564-.497-1.232-.497-2.002s.166-1.438.497-2.002a3.316 3.316 0 0 1 1.36-1.294c.574-.297 1.223-.445 1.943-.445.723 0 1.369.148 1.944.445a3.307 3.307 0 0 1 1.359 1.294c.331.564.497 1.232.497 2.002s-.166 1.438-.497 2.002m-1.703-3.347c-.435-.33-.967-.496-1.601-.496-.633 0-1.166.166-1.601.496-.433.332-.649.78-.649 1.346 0 .564.217 1.013.649 1.345.435.331.968.497 1.601.497.634 0 1.166-.166 1.601-.497.435-.332.649-.78.649-1.345.001-.566-.214-1.014-.649-1.346M22.911 134.852v-1.813h1.186a3.335 3.335 0 0 1-.951-1.009 2.423 2.423 0 0 1-.352-1.271c0-.682.19-1.229.57-1.645.381-.413.932-.621 1.652-.621h5.262v1.812h-4.721c-.419 0-.727.096-.921.285-.195.19-.292.447-.292.769 0 .302.115.58.35.833.234.254.577.458 1.03.613.454.156.993.234 1.616.234h2.938v1.813h-7.367zM29.898 125.136a3.314 3.314 0 0 1-1.359 1.294c-.575.297-1.222.445-1.944.445-.721 0-1.369-.148-1.943-.445a3.322 3.322 0 0 1-1.36-1.294c-.331-.565-.497-1.232-.497-2.002 0-.771.166-1.438.497-2.003a3.313 3.313 0 0 1 1.36-1.293c.574-.297 1.223-.446 1.943-.446.723 0 1.369.149 1.944.446s1.028.728 1.359 1.293.497 1.232.497 2.003c.001.769-.166 1.436-.497 2.002m-1.703-3.347c-.435-.331-.967-.497-1.601-.497-.633 0-1.166.166-1.601.497-.433.331-.649.778-.649 1.345 0 .564.217 1.013.649 1.344.435.332.968.498 1.601.498.634 0 1.166-.166 1.601-.498.435-.331.649-.779.649-1.344.001-.567-.214-1.014-.649-1.345M22.911 117.75v-1.812h1.199c-.419-.265-.742-.586-.972-.966s-.345-.784-.345-1.213c0-.272.05-.569.146-.892l1.682.336a1.429 1.429 0 0 0-.205.76c0 .576.261 1.048.783 1.418.521.37 1.342.557 2.461.557h2.617v1.812h-7.366zM29.812 111.252c-.391.511-.857.851-1.403 1.016l-.776-1.446c.381-.138.68-.329.893-.577.215-.249.321-.544.321-.885a1.2 1.2 0 0 0-.168-.658c-.112-.175-.294-.263-.548-.263-.225 0-.406.105-.548.313-.142.21-.291.534-.446.973-.019.068-.058.17-.117.307-.224.565-.506 1.004-.848 1.315-.34.313-.779.467-1.314.467-.381 0-.727-.102-1.039-.306a2.185 2.185 0 0 1-.744-.84 2.554 2.554 0 0 1-.279-1.207c0-.497.105-.949.314-1.359.211-.408.506-.725.886-.949l.993 1.082c-.43.292-.644.686-.644 1.184a.84.84 0 0 0 .154.504.471.471 0 0 0 .401.212c.176 0 .338-.103.49-.307.15-.205.334-.604.547-1.199.205-.564.474-1.001.805-1.308.332-.308.756-.46 1.271-.46.721 0 1.299.229 1.732.687s.65 1.057.65 1.797c.001.759-.194 1.396-.583 1.907M35.481 17.006l-4.782 14.969h-3.266l-2.584-9.682-2.584 9.682h-3.268l-4.782-14.969h3.713l2.673 10.276 2.525-10.276h3.445l2.524 10.276 2.674-10.276zM37.978 27.163c1.426 0 2.496 1.068 2.496 2.495 0 1.425-1.07 2.495-2.496 2.495-1.425 0-2.494-1.07-2.494-2.495-.001-1.427 1.069-2.495 2.494-2.495"})})]})})})}])},93490,e=>{"use strict";var t=e.i(43476),a=e.i(71645);e.s(["default",0,function(){return(0,a.useEffect)(()=>{let e=document.createElement("script");return e.src="https://assets.awwwards.com/assets/js/embed_ribbon.js",e.async=!0,document.body.appendChild(e),()=>{document.body.removeChild(e)}},[]),(0,t.jsx)("div",{id:"awwwards-embed","data-appearance":"horizontal","data-color":"#f686b3","data-type":"1","data-category":"E-commerce","data-date":"Sep. 25","data-link":"https://www.awwwards.com/sites/bombon-royal-swedish-candy",style:{position:"fixed",zIndex:999,transform:"translateY(50%)",top:"50%",right:0},children:(0,t.jsxs)("p",{children:["He sido nominado como"," ",(0,t.jsx)("strong",{children:"submission.awardCategory.nameHonors"})," en"," ",(0,t.jsx)("a",{href:"https://www.awwwards.com/",children:"Awwwards"}),"."]})})}])},83964,e=>{"use strict";var t=e.i(43476),a=e.i(71645),s=e.i(44110),l=e.i(63662),r=e.i(57688),n=e.i(89970),i=e.i(6
15747);function o({hovered:e}){let s=(0,a.useRef)(),l=64/39,r=e=>{let t=[];for(let a=0;a<40;a++){let s=a*l,r=4+(e?2*Math.sin(.7*a):0);t.push({x:s,y:r})}let a=`M ${t[0].x} ${t[0].y}`;for(let e=1;e<t.length-1;e++){let s=(t[e].x+t[e+1].x)/2,l=(t[e].y+t[e+1].y)/2;a+=` Q ${t[e].x} ${t[e].y}, ${s} ${l}`}return a+` T ${t[t.length-1].x} ${t[t.length-1].y}`};return(0,i.useGSAP)(()=>{s.current?.setAttribute("d",r(!1))},[]),(0,a.useEffect)(()=>{(()=>{let t=s.current;if(!t)return;let a=r(e);n.gsap.to(t,{duration:.4,attr:{d:a},ease:"power2.inOut"})})()},[e]),(0,t.jsx)("svg",{className:"w-12 max-md:w-12",height:8,children:(0,t.jsx)("path",{ref:s,fill:"none",stroke:"#212121",strokeWidth:2,strokeLinecap:"round"})})}var c=e.i(67235),m=e.i(94245);e.i(61745);let d=({href:e,className:a,setIsActive:l,children:r})=>(0,t.jsx)(s.Link,{target:"_top",className:(0,c.cn)(a),href:e,onClick:()=>l(!1),children:r});function x({isActive:e,setIsActive:s}){let o=(0,a.useRef)(null);(0,i.useGSAP)(()=>{let e=o.current?.querySelector(".background");if(!e)return;let t=t=>{let{innerWidth:a,innerHeight:s}=window,l=(t.clientX/a-.5)*50,r=(t.clientY/s-.5)*50;n.default.to(e,{x:l,y:r,duration:.5,ease:"power3.out"})};return window.addEventListener("mousemove",t),()=>{window.removeEventListener("mousemove",t)}},{scope:o});let h=(0,m.useTranslations)("Header");return(0,t.jsxs)("div",{ref:o,className:(0,c.cn)("absolute top-0 left-0 z-1 flex h-screen w-full items-end justify-center overflow-hidden bg-pink-200 pb-10 transition",e?"pointer-events-auto opacity-100":"pointer-events-none opacity-0"),children:[(0,t.jsx)("div",{className:"pointer-events-none absolute top-1/2 left-1/2 flex h-screen w-full -translate-1/2 scale-110 items-center justify-center",children:(0,t.jsx)(r.default,{src:"/images/menu-bg.svg",width:2200,height:1280,alt:"Decorative background",className:"background h-full w-full max-w-none object-cover"})}),(0,t.jsxs)("div",{className:"heading-1 absolute top-1/2 left-1/2 w-full -translate-1/2 text-purple-50",children:[(0,t.jsxs)("div",{className:"mb-12 flex items-center justify-center gap-10 max-md:flex-col",children:[(0,t.jsx)(d,{setIsActive:s,href:"/",className:"heading-1 hover:text-blackish text-[5rem] transition-all hover:!text-[6.875rem] max-md:text-[4rem] max-md:hover:!text-[5rem]",children:h("home")}),(0,t.jsx)(r.default,{src:"/images/menu-candy.png",alt:"Decorative candy",width:80,height:80,className:"top-0 left-0 max-md:absolute max-md:-translate-1/2"}),(0,t.jsx)(d,{setIsActive:s,href:"/shop",className:"heading-1 hover:text-blackish text-[5rem] transition-all hover:!text-[6.875rem] max-md:text-[4rem] max-md:hover:!text-[5rem]",children:h("shop")})]}),(0,t.jsxs)("div",{className:"flex items-center justify-center gap-10 max-md:flex-col",children:[(0,t.jsx)(d,{setIsActive:s,href:"/shop?tag=mix",className:"heading-1 hover:text-blackish text-[5rem] transition-all hover:!text-[6.875rem] max-md:text-[4rem] max-md:hover:!text-[5rem]",children:h("mixes")}),(0,t.jsx)(r.default,{src:"/images/menu-candy.png",alt:"Decorative candy",width:80,height:80,className:"right-0 bottom-0 max-md:absolute max-md:translate-1/2"}),(0,t.jsx)(d,{setIsActive:s,href:"/contact",className:"heading-1 hover:text-blackish text-[5rem] transition-all hover:!text-[6.875rem] max-md:text-[4rem] max-md:hover:!text-[5rem]",children:h("contact")})]})]}),(0,t.jsxs)("div",{className:"relative flex-col max-lg:flex max-lg:items-center",children:[(0,t.jsxs)("div",{className:"order-2 mb-10 flex justify-center gap-3 max-md:mb-6",children:[(0,t.jsx)(d,{setIsActive:s,href:"/",className:"text-blackish text-4xl transition hover:text-purple-500",children:(0,t.jsx)(l.Icon,{icon:"feather:instagram"})}),(0,t.jsx)(d,{setIsActive:s,href:"/",className:"text-blackish text-4xl transition hover:text-purple-500",children:(0,t.jsx)(l.Icon,{icon:"feather:facebook"})}),(0,t.jsx)(d,{setIsActive:s,href:"/",className:"text-blackish text-4xl transition hover:text-purple-500",children:(0,t.jsx)(l.Icon,{icon:"feather:linkedin"})})]}),(0,t.jsx)("div",{className:"fineprint text-blackish order-3 flex gap-6 font-medium max-md:flex-wrap max-md:justify-center max-md:gap-y-2",children:(0,t.jsxs)("p",{className:"max-md:w-full max-md:text-center",children:["©",new Date().getFullYear()," ",h("copy")]})})]})]})}var h=e.i(45173),p=e.i(54469),u=e.i(5298);function f({node:e,image:n}){let{removeCartItem:i,updateCart:o}=(0,a.useContext)(h.CartContext),[d,x]=(0,a.useState)(e.quantity),[p,g]=(0,a.useState)(!1),w=async t=>{g(!0),(1!=d||t)&&(t?x(d+1):x(d-1),await o(e.id,t?d+1:d-1).then(()=>{g(!1)}))};(0,a.useEffect)(()=>{x(e.quantity)},[e.quantity]);let b=e.merchandise.product.tags,j=((e=[])=>Object.entries(u.collectionsMap).find(([,t])=>e.map(e=>e.toLowerCase()).includes(t))?.[0]||null)(b),v=(0,m.useTranslations)("Components.MiniCartProduct");
1return(0,t.jsx)("div",{className:"CartProduct mb-3",children:(0,t.jsxs)("div",{className:"relative flex items-stretch",children:[(0,t.jsx)(s.Link,{target:"_top",href:`/shop/${j}/${e.merchandise.product.handle}`,children:(0,t.jsx)("div",{className:"bg-purple-0 relative mr-6 aspect-square h-35 overflow-hidden rounded-4xl max-sm:h-32",children:n?(0,t.jsx)(r.default,{src:n,alt:e.merchandise.product.title,fill:!0,className:b.includes("mix")?"object-cover":"object-contain",priority:!0,sizes:"33vw"}):(0,t.jsx)(r.default,{alt:"Placeholder image",src:"/images/placeholder.svg",fill:!0,className:"object-contain",priority:!0,sizes:"33vw"})})}),(0,t.jsxs)("div",{className:"flex flex-1 flex-col justify-between pt-3",children:[(0,t.jsxs)("div",{className:"mb-3 flex gap-6",children:[(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsx)("h3",{className:"font-roundo line-clamp-1 text-[1.375rem] leading-[1.4] font-semibold capitalize",children:e.merchandise.product.title})}),(0,t.jsx)("button",{className:"cursor-pointer rounded-full bg-purple-200 px-2 py-1 transition hover:bg-purple-100",onClick:()=>i(e.id),children:(0,t.jsx)(l.Icon,{icon:"fa6-solid:xmark",className:"text-blackish h-6 w-6 p-1"})})]}),(0,t.jsxs)("div",{className:"border-b-purple-0 flex items-end justify-between border-b-2 pb-5",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"paragraph-sm mb-1 text-purple-500",children:v("quantity")}),(0,t.jsxs)("div",{className:(0,c.cn)("flex items-center gap-3",p?"pointer-events-none opacity-20":""),children:[(0,t.jsx)("div",{onClick:()=>w(!1),className:"bg-purple-0 flex h-6 w-6 cursor-pointer items-center justify-center rounded-full transition hover:bg-purple-200 active:bg-purple-300",children:(0,t.jsx)(l.Icon,{icon:"fa6-solid:minus",className:"h-4 w-4"})}),(0,t.jsxs)("span",{className:"price",children:[e.merchandise.weight*d,"GRAMS"===e.merchandise.weightUnit&&"g"]}),(0,t.jsx)("div",{onClick:()=>w(!0),className:"bg-purple-0 flex h-6 w-6 cursor-pointer items-center justify-center rounded-full transition hover:bg-purple-200 active:bg-purple-300",children:(0,t.jsx)(l.Icon,{icon:"fa6-solid:plus",className:"h-4 w-4"})})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"paragraph-sm mb-1 text-purple-500",children:v("price")}),(0,t.jsxs)("p",{className:"price font-semibold",children:[e.quantity*e.merchandise.price.amount," ",e.merchandise.price.currencyCode]})]})]})]})]})})}var g=e.i(55667);let w=function(){let e=(0,g.useLenis)(),{cartItems:n,cartOpen:i,setCartOpen:o,checkoutUrl:d}=(0,a.useContext)(h.CartContext);(0,a.useEffect)(()=>{e&&(i?e.stop():e.start())},[i,e]);let x=(0,m.useTranslations)("Components.MiniCart");return(0,t.jsxs)("div",{className:(0,c.cn)(i?"pointer-events-auto opacity-100":"pointer-events-none opacity-0","absolute top-0 left-0 z-99 h-[100svh] w-full transition-all duration-500"),children:[(0,t.jsx)("div",{className:"fixed top-0 left-0 h-screen w-screen bg-[#C1B8CF]/70",onClick:()=>o(!1)}),(0,t.jsxs)("div",{className:(0,c.cn)("fixed top-0 right-0 flex h-[100svh] w-166 flex-col overflow-hidden rounded-l-4xl max-md:h-200 max-md:w-full max-md:justify-between max-md:rounded-l-none max-md:rounded-b-4xl max-md:shadow-2xl",0===n.length?"bg-gradient-to-b from-purple-50 to-[#CFC3E0] to-70%":"bg-purple-50"),children:[(0,t.jsxs)("div",{className:"flex h-full flex-col pt-12",children:[(0,t.jsx)("div",{className:"px-8",children:(0,t.jsxs)("div",{className:"border-b-purple-0 mb-16 flex items-start justify-between border-b-2 pb-5 max-lg:mb-10",children:[(0,t.jsx)("p",{className:"heading-3 max-w-100 font-bold capitalize",children:x("heading")}),(0,t.jsx)(l.Icon,{icon:"fa6-solid:xmark",className:"h-8 w-8 cursor-pointer",onClick:()=>o(!1)})]})}),(0,t.jsx)("div",{className:(0,c.cn)(0!=n.length&&"pr-8"),children:(0,t.jsx)("div",{className:(0,c.cn)("flex-1",0!=n.length&&"max-h-[50vh] overflow-y-auto pr-3 pb-8 pl-8 max-xl:max-h-[45vh] max-lg:max-h-[30vh] max-md:max-h-75 [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-purple-200 [&::-webkit-scrollbar-track]:rounded-full [&::-webkit-scrollbar-track]:bg-purple-50"),"data-lenis-prevent":!0,children:0!=n.length?(0,t.jsx)(t.Fragment,{children:n.toReversed().map(({node:e})=>
1{if(e)return(0,t.jsx)(f,{node:e,image:e.merchandise.image?.url||"/images/placeholder.svg"},e.id)})}):(0,t.jsxs)("div",{className:"flex h-full flex-col items-center justify-between pb-12",children:[(0,t.jsxs)("div",{className:"mt-10 flex flex-col items-center",children:[(0,t.jsx)("p",{className:"paragraph-lg w-full text-center font-semibold text-purple-400",children:x("noProducts")}),(0,t.jsx)(r.default,{src:"/images/gummy-empty.png",alt:"No products in the cart",width:534,height:534,className:"h-[50vh] w-auto max-w-none opacity-60 mix-blend-hard-light max-md:h-auto max-md:w-4/5"})]}),(0,t.jsx)(s.Link,{target:"_top",href:"/shop",className:"",children:(0,t.jsx)(p.Button,{className:"mt-6",onClick:()=>o(!1),children:x("shop")})})]})})})]}),0!=n.length&&(0,t.jsxs)("div",{className:"relative bg-purple-100 px-8 py-12",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute top-0 left-0 h-35 w-full -translate-y-full bg-gradient-to-b from-[#CFC3E0]/0 to-[#CFC3E0]"}),(0,t.jsx)("div",{className:"pointer-events-none absolute top-0 left-0 h-10 w-full -translate-y-full bg-gradient-to-b from-[#BCACD4]/0 to-[#BCACD4]"}),(0,t.jsxs)("p",{className:"paragraph-lg flex justify-between font-bold",children:[x("cartTotal"),(0,t.jsxs)("span",{children:[n.reduce((e,{node:t})=>e+parseInt(t.merchandise.price.amount)*t.quantity,0)," ","RSD"]})]}),(0,t.jsx)("p",{className:"paragraph-sm mt-2 font-medium",children:x("info")}),(0,t.jsxs)("div",{className:"mt-8 flex gap-4 max-md:flex-col",children:[(0,t.jsx)(s.Link,{target:"_top",onClick:()=>o(!1),className:"flex w-1/2 items-center gap-3 max-md:w-full",href:"/cart",children:(0,t.jsx)(p.Button,{variant:"secondary",className:"w-full",children:x("viewCart")})}),d&&(0,t.jsx)(s.Link,{href:d,target:"_blank",className:"flex w-1/2 items-center gap-3 max-md:w-full",children:(0,t.jsxs)(p.Button,{className:"w-full",children:[x("checkout"),(0,t.jsx)(l.Icon,{icon:"formkit:arrowright"})]})})]})]})]})]})};e.s(["default",0,function(){let e=0,[n,i]=(0,a.useState)(!1),[m,d]=(0,a.useState)(!1),{cartItems:p,cartOpen:u,setCartOpen:f}=(0,a.useContext)(h.CartContext);return p.map(({node:t})=>e+=t?.quantity),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("header",{className:"fixed top-0 z-50 w-full",children:[(0,t.jsxs)("div",{className:"relative z-2 container flex items-center justify-between py-8 max-md:py-4",children:[(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsxs)(s.Link,{target:"_top",href:"/",className:"relative",onClick:()=>d(!1),children:[(0,t.jsx)(r.default,{src:"/images/logo.svg",alt:"Logo",width:192,height:33,className:"max-w-48 opacity-100 transition max-md:hidden"}),(0,t.jsx)(r.default,{src:"/images/logo-sm.svg",alt:"Logo",width:67,height:44,className:"hidden w-16 max-w-none opacity-100 transition max-md:block"})]})}),(0,t.jsxs)("div",{className:"relative flex w-[66px] cursor-pointer justify-center rounded-2xl border-b-2 border-b-purple-200 bg-purple-50 px-2 py-3 max-md:w-[56px] max-md:py-2",onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),onClick:()=>d(!m),children:[(0,t.jsxs)("div",{className:(0,c.cn)("flex flex-col transition",m&&"pointer-events-none opacity-0"),children:[(0,t.jsx)(o,{hovered:n}),(0,t.jsx)(o,{hovered:n}),(0,t.jsx)(o,{hovered:n})]}),(0,t.jsx)(l.Icon,{icon:"bytesize:close",className:(0,c.cn)("pointer-events-none absolute top-1/2 left-1/2 h-[25px] w-[25px] -translate-1/2 opacity-0 transition",m&&"pointer-events-auto opacity-100")})]}),(0,t.jsxs)("div",{className:"flex flex-1 justify-end gap-19",children:[(0,t.jsx)(s.Link,{target:"_top",className:"links max-lg:hidden",href:"/shop",children:"shop"}),(0,t.jsxs)("button",{onClick:()=>f(!0),className:"links flex cursor-pointer items-center gap-2",children:["cart",e>0&&(0,t.jsx)("span",{className:"font-roundo inline-block h-10 w-10 content-center rounded-full bg-purple-100 text-2xl leading-[1.05] font-medium max-md:h-5 max-md:w-5 max-md:text-sm max-md:leading-none max-md:font-semibold",children:e})]})]})]}),(0,t.jsx)(x,{isActive:m,setIsActive:d}),(0,t.jsx)(w,{})]})," "]})}],83964)},86273,e=>{"use strict";var t=e.i(43476),a=e.i(63662),s=e.i(44110),l=e.i(57688),r=e.i(89970),n=e.i(71645),i=e.i(83495),o=e.i(95187);let c=(0,o.createServerReference)("4047cf7ca99bd94c73837153f33d56e8102dc9d7e9",o.callServer,void 0,o.findSourceMapURL,"newsletterSignUp");var m=e.i(54469),d=e.i(94245);
1function x(){let[e,a]=(0,n.useState)("idle"),[s,l]=(0,n.useState)(""),r=async e=>{e.preventDefault(),a("pending");let t=new FormData(e.target).get("email");try{let e=await c({email:t});201===e.status?(a("success"),l("Thank you for signing up!")):(a("error"),l(e.message||"Something went wrong. Please try again."))}catch(e){a("error"),l("An unexpected error occurred. Please try again.")}},i=(0,d.useTranslations)("Footer");return(0,t.jsxs)("div",{className:"my-8 flex flex-row justify-between max-md:flex-col max-md:items-center",children:[(0,t.jsx)("h5",{className:"heading-4 mb-4 w-1/2 font-bold text-purple-800 max-md:mb-8 max-md:text-center max-sm:w-full",children:i("newsletterTitle")}),(0,t.jsxs)("div",{className:"w-1/2 max-md:w-full",children:[(0,t.jsxs)("form",{onSubmit:r,className:"flex items-center gap-4 max-md:gap-10 max-sm:flex-col",children:[(0,t.jsx)("input",{type:"email",name:"email",placeholder:i("palceholder"),id:"email",className:"price grow border-b-1 border-purple-800 px-0 pb-3 text-purple-800 !normal-case placeholder:text-purple-800 focus:border-b-1 focus:border-purple-50 focus:outline-none max-sm:w-full",required:!0,disabled:"pending"===e}),(0,t.jsxs)(m.Button,{type:"submit","data-cursor":"pointer",className:"button max-md:p-[1rem] max-md:px-10 max-sm:w-full",disabled:"pending"===e,children:[i("pending"===e?"newsletterLoading":"newsletterBtn")," "]})]}),"success"===e&&(0,t.jsx)("p",{className:"paragraph-lg mt-4 text-purple-600 max-sm:text-center",children:s}),"error"===e&&(0,t.jsx)("p",{className:"paragraph-lg mt-4 text-purple-600 max-sm:text-center",children:s})]})]})}function h(){let e=(0,d.useTranslations)("Footer");return(0,t.jsx)("div",{className:"absolute bottom-10 left-0 z-11 flex w-full justify-center overflow-x-clip",children:(0,t.jsxs)("div",{className:"text-blackish flex w-full flex-row justify-center gap-6 max-md:justify-center max-md:gap-4 max-sm:flex-wrap max-sm:items-center",children:[(0,t.jsxs)("p",{className:"fineprint max-sm:w-full max-sm:text-center",children:["©",new Date().getFullYear()," ",e("copy")]}),(0,t.jsx)("p",{className:"fineprint max-sm:hidden",children:"•"}),(0,t.jsx)(s.Link,{target:"_top",href:"https://square43.com",className:"fineprint",children:"Design by Square43"})]})})}r.default.registerPlugin(i.ScrollTrigger),r.default.registerPlugin(i.ScrollTrigger),e.s(["default",0,function(){let e=[{name:".heart",x:80,y:-320},{name:".bear",x:-30,y:-160},{name:".gumdrop",x:-120,y:-230},{name:".gummy",x:140,y:-200},{name:".liquorice",x:180,y:-160},{name:".sour",x:50,y:-140},{name:".sweet",x:0,y:-180},{name:".raspberry",x:100,y:-190}];(0,n.useEffect)(()=>(e.forEach((e,t)=>{r.default.fromTo(e.name,{},{y:e.y-80*t,x:e.x-20*t,ease:"none",rotate:()=>50*(.5>Math.random()?-1:1),scrollTrigger:{trigger:".footer-trigger",start:"top bottom",end:"bottom top",scrub:!0}})}),()=>{i.ScrollTrigger.getAll().forEach(e=>e.kill())}),[]);let o=(0,d.useTranslations)("Footer");return(0,t.jsxs)("div",{className:"footer-trigger relative overflow-clip bg-purple-200",id:"contact",children:[(0,t.jsxs)("div",{className:"container flex flex-col",children:[(0,t.jsxs)("div",{className:"mb-37 flex flex-col flex-wrap items-center gap-10",children:[(0,t.jsx)("h1",{className:"heading-2 text-blackish text-center",children:o("heading")}),(0,t.jsx)("p",{className:"paragraph text-blackish w-5/8 text-center max-lg:w-full",children:o("subheading")})]}),(0,t.jsx)("div",{className:"relative z-10 flex flex-col gap-4",children:(0,t.jsx)(x,{})}),(0,t.jsxs)("div",{className:"flex flex-row max-md:flex-col",children:[(0,t.jsxs)("div",{className:"my-66 flex w-1/6 flex-col gap-6 max-lg:my-40 max-md:my-30 max-md:w-full",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-6 max-md:flex-row max-md:justify-center max-sm:flex-col max-sm:items-center",children:[(0,t.jsx)(s.Link,{target:"_top",href:"/",className:"text-blackish button",children:o("home")}),(0,t.jsx)(s.Link,{target:"_top",href:"/shop",className:"text-blackish button",children:o("shop")}),(0,t.jsx)(s.Link,{target:"_top",href:"/shop?tag=mix",className:"text-blackish button",children:o("mixes")}),(0,t.jsx)(s.Link,{target:"_top",href:"/contact",className:"text-blackish button",children:o("contact")})]}),(0,t.jsxs)("div",{className:"mb-25 flex w-full flex-row gap-3 max-md:mb-12 max-md:justify-center",children:[(0,t.jsx)("div",{className:"group flex h-8 w-8 flex-wrap items-center justify-center rounded-full hover:cursor-pointer",children:(0,t.jsx)(a.Icon,{icon:"meteor-icons:instagram",className:"text-blackish h-8 w-8 transition group-hover:scale-130"})}),(0,t.jsx)("div",{className:"group flex h-8 w-8 flex-wrap items-center justify-center rounded-full hover:cursor-pointer",children:(0,t.jsx)(a.Icon,{icon:"meteor-icons:facebook",className:"text-blackish h-8 w-8 transition group-hover:scale-130"})}),(0,t.jsx)("div",{className:"group flex h-8 w-8 flex-wrap items-center justify-center rounded-full hover:cursor-pointer",children:(0,t.jsx)(a.Icon,{icon:"meteor-icons:linkedin",className:"text-blackish h-8 w-8 object-cover transition group-hover:scale-130"})})]})]}),(0,t.jsxs)("div",{className:"relative w-5/6 max-md:mt-50 max-md:h-[300px] max-md:w-full",children:[(0,t.jsx)(l.default,{src:"/images/footer/footerkesa.png",width:913,he
1ight:674,alt:"footerbag",className:"absolute right-70 bottom-0 z-1 max-w-160 max-lg:right-20 max-lg:-bottom-30 max-lg:w-140 max-md:w-150 max-sm:right-0 max-sm:bottom-0 max-sm:w-[full] max-sm:max-w-full"}),(0,t.jsx)(l.default,{src:"/images/footer/sweet.png",width:365,height:365,alt:"candy",className:"sweet pointer-events-none absolute top-3/5 left-3/8 w-91 max-lg:top-1/3 max-md:top-1/5 max-md:w-80 max-sm:top-4/5 max-sm:left-1/5 max-sm:w-50"}),(0,t.jsx)(l.default,{src:"/images/footer/raspberry.png",width:298,height:298,alt:"candy",className:"raspberry pointer-events-none absolute top-2/3 left-5/8 w-73 max-lg:top-1/3 max-md:top-2/5 max-md:w-80 max-sm:top-4/5 max-sm:left-1/2 max-sm:w-50"}),(0,t.jsx)(l.default,{src:"/images/footer/bear.png",width:329,height:329,alt:"candy",className:"bear pointer-events-none absolute top-3/7 left-3/7 w-82 max-lg:top-1/3 max-md:top-0 max-md:left-1/3 max-md:w-80 max-sm:top-3/5 max-sm:w-50"}),(0,t.jsx)(l.default,{src:"/images/footer/gumdrop.png",width:295,height:295,alt:"candy",className:"gumdrop pointer-events-none absolute top-1/5 left-3/8 w-73 max-lg:top-1/3 max-md:top-0 max-md:left-2/8 max-md:w-80 max-sm:top-3/5 max-sm:left-1/3 max-sm:w-50"}),(0,t.jsx)(l.default,{src:"/images/footer/gummy.png",width:213,height:213,alt:"candy",className:"gummy pointer-events-none absolute top-3/7 left-4/9 w-53 max-lg:top-1/3 max-md:top-1/5 max-md:left-2/5 max-md:w-50 max-sm:top-4/5 max-sm:left-2/5 max-sm:w-50"}),(0,t.jsx)(l.default,{src:"/images/footer/heart.png",width:265,height:265,alt:"candy",className:"heart pointer-events-none absolute top-1/3 left-3/4 w-66 max-lg:top-1/3 max-md:top-1/5 max-md:left-1/2 max-md:w-80 max-sm:top-3/5 max-sm:left-1/5 max-sm:w-50"}),(0,t.jsx)(l.default,{src:"/images/footer/liquorice.png",width:370,height:370,alt:"candy",className:"liquorice pointer-events-none absolute top-1/3 left-1/2 w-92 max-lg:top-1/3 max-md:top-0 max-md:left-3/10 max-md:w-80 max-sm:top-3/5 max-sm:left-0 max-sm:w-50"}),(0,t.jsx)(l.default,{src:"/images/footer/sour.png",width:311,height:311,alt:"candy",className:"sour pointer-events-none absolute top-5/7 left-5/8 w-78 max-lg:top-1/3 max-md:top-2/5 max-md:w-80 max-sm:top-3/5 max-sm:w-60"})]})]})]}),(0,t.jsx)(h,{}),(0,t.jsx)(l.default,{src:"/images/footer/oblak.png",alt:"footer cloud",width:2222,height:547,className:"pointer-events-none absolute bottom-0 left-1/2 z-10 w-[2222px] max-w-none -translate-x-1/2 mix-blend-screen max-lg:w-[1200px]"})]})}],86273)},75696,e=>{"use strict";var t=e.i(61745),a=e.i(43476);e.s(["default",0,function({locale:e,...s}){if(!e)throw Error(void 0);return(0,a.jsx)(t.IntlProvider,{locale:e,...s})}])}]);

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.