PageSourceSearch

https://sodagift.com/_next/static/chunks/8057-ad87be3d1b914ba9.js

js sodagift.com collected 2026-09-25 06:17:05 UTC 10,262 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7db50dfe-da78-4900-8f8e-86e62fd77e49",e._sentryDebugIdIdentifier="sentry-dbid-7db50dfe-da78-4900-8f8e-86e62fd77e49")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8057],{19893:(e,t,n)=>{n.d(t,{A:()=>l});var i=n(14232),r=n(87987),o=n(29683);let l=e=>{let{ref:t}=e,[n,l]=(0,i.useState)(!0),[d,a]=(0,i.useState)(!1),[c,s]=(0,i.useState)(0);(0,i.useEffect)(()=>{document.getElementById(r.HJ)&&s(document.getElementById(r.HJ).offsetWidth)},[]);let h=(0,i.useCallback)(o.A.throttle(()=>{(null==t?void 0:t.current)&&(l(t.current.scrollLeft<=0),a(t.current.scrollLeft+t.current.clientWidth>=t.current.scrollWidth-5))},100),[t]);return(0,i.useEffect)(()=>{let e=null==t?void 0:t.current;if(!e)return;let n=()=>{h()};return e.addEventListener("scroll",n),()=>{e.removeEventListener("scroll",n)}},[t,h]),{isScrollAtStart:n,isScrollAtEnd:d,handleClickPrevBtn:()=>{n||(t.current.scrollBy({left:-c+.2*c,behavior:"smooth"}),h())},handleClickNextBtn:()=>{d||(t.current.scrollBy({left:c-.2*c,behavior:"smooth"}),h())},updateScrollState:h}}},45106:(e,t,n)=>{n.d(t,{A:()=>v});var i=n(37876),r=n(14232),o=n(18827),l=n(91143),d=n(54067),a=n(82909),c=n(38547),s=n(19363),h=n(29319),u=n(26128),f=n(19756),p=n(59194),m=n(65334),b=n(26104),g=n(70931),x=n(87987),w=n(2616),y=n(90748),A=n(29683);let v=(0,r.memo)(function(e){let{data:t,onClick:n,priority:o=!1,direction:a="vertical",showSaveItemBtn:y=!0,mobileThumbnailSize:v=110,desktopThumbnailSize:j=140}=e,{discountedPrice:I,discountRate:k,ranking:S,localPrice:z}=t||{},B=(0,w.L)(t),{query:{giftTo:_}}=(0,b.r)(),T=t?A.A.getItemDetailPath(t,_):"",[$,E]=(0,r.useState)(!1);return(0,i.jsxs)(h.A,{children:[(0,i.jsxs)(C.Card__Btn,{href:T,onClick:e=>{n&&n(e)},$direction:a,$mobileThumbnailSize:v,$desktopThumbnailSize:j,children:[(0,i.jsx)(C.ThumbnailWrapper,{$borderRadius:8,$mobileThumbnailSize:v,$desktopThumbnailSize:j,children:t?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(p.A,{image:t.thumbnail,alt:"".concat(null==t?void 0:t.name," item image"),fetchPriority:o?"high":"auto",ratio:100}),y&&(0,i.jsx)(f.A,{item:t}),S&&(0,i.jsx)(C.RankingTag,{children:(0,i.jsx)(s.A,{size:13,color:"white",bold:!0,children:S})})]}):(0,i.jsx)(c.Ay,{width:"100%",height:"100%",style:{borderRadius:4},type:c.Y8.Rect})}),!t&&(0,i.jsx)(c.Ay,{width:"60%",height:40,style:{borderRadius:4},type:c.Y8.Rect}),t&&(0,i.jsxs)(C.Info,{$direction:a,children:[(0,i.jsxs)(C.BrandName,{children:[(0,i.jsx)(C.BrandNameText,{size:12,color:"#0f0f0f",semiBold:!0,children:t.brand.name}),(0,i.jsx)(l.A,{onClick:e=>{e.preventDefault(),(0,g.c1)({brandId:t.brand.id,brandName:t.brand.name}),E(!0)},style:{padding:2},children:(0,i.jsx)(d.h,{name:"information-filled",size:14,fill:"#cbcbcb"})})]}),(0,i.jsxs)(h.A,{style:{paddingRight:18},children:[(0,i.jsx)(C.ItemName,{size:13,numberOfLines:2,ellipsis:!0,color:"#0F0F0F",children:t.name}),(0,i.jsxs)(C.ItemCard__DiscountWrapper,{children:[k>0&&"vertical"===a&&!B&&(0,i.jsx)(s.A,{color:"#9d9d9d",size:12,lineThrough:!0,style:{display:k>0||"vertical"===a?"block":"none"},children:t.price.format(x.v3.FullSymbol)}),(0,i.jsxs)(h.A,{style:{flexDirection:"row",alignItems:"center"},children:[k>0&&(0,i.jsxs)(s.A,{size:13,color:x.Q1.FrenchRose.CR800,black:!0,style:{marginRight:2},children:[(100*k).toFixed(0),"%"]}),(0,i.jsx)(s.A,{size:13,black:!0,color:"#0F0F0F",children:(B?z:I).format(x.v3.FullSymbol)})]})]}),(0,i.jsx)(m.A,{type:t.type})]})]})]}),(null==t?void 0:t.brand)&&(0,i.jsx)(u.A,{visible:$,onDismiss:()=>E(!1),brand:t.brand})]})}),C={Card__Btn:(0,o.Ay)(a.A).withConfig({componentId:"sc-745084ce-0"})(["display:flex;flex-direction:",";gap:","px;width:100%;max-width:",";text-decoration:none;@media screen and (min-width:","px){max-width:",";}"],e=>{let{$direction:t}=e;return"vertical"===t?"column":"row"},e=>{let{$direction:t}=e;return"vertical"===t?6:12},e=>
1{let{$direction:t,$mobileThumbnailSize:n}=e;return"horizontal"===t||"auto"===n?"auto":"".concat(n,"px")},y.C9+1,e=>{let{$direction:t,$desktopThumbnailSize:n}=e;return"horizontal"===t||"auto"===n?"auto":"".concat(n,"px")}),ThumbnailWrapper:(0,o.Ay)(h.A).withConfig({componentId:"sc-745084ce-1"})(["box-sizing:border-box;position:relative;overflow:hidden;width:",";height:",";border:1px solid rgba(217,217,217,0.5);border-radius:4px;@media screen and (min-width:","px){width:",";height:",";}"],e=>{let{$mobileThumbnailSize:t}=e;return"auto"===t?"auto":"".concat(t,"px")},e=>{let{$mobileThumbnailSize:t}=e;return"auto"===t?"auto":"".concat(t,"px")},y.C9+1,e=>{let{$desktopThumbnailSize:t}=e;return"auto"===t?"auto":"".concat(t,"px")},e=>{let{$desktopThumbnailSize:t}=e;return"auto"===t?"auto":"".concat(t,"px")}),Info:(0,o.Ay)(h.A).withConfig({componentId:"sc-745084ce-2"})(["flex:1;padding-right:",";"],e=>{let{$direction:t}=e;return"vertical"===t?0:"28px"}),RankingTag:(0,o.Ay)(h.A).withConfig({componentId:"sc-745084ce-3"})(["position:absolute;top:1px;left:1px;width:18px;height:18px;background-color:rgba(72,72,72,1);border-top-left-radius:4px;justify-content:center;align-items:center;"]),BrandName:(0,o.Ay)(h.A).withConfig({componentId:"sc-745084ce-4"})(["flex-direction:row;align-items:flex-start;"]),BrandNameText:(0,o.Ay)(s.A).withConfig({componentId:"sc-745084ce-5"})(["margin-bottom:2px;line-height:1.5;"]),ItemName:(0,o.Ay)(s.A).withConfig({componentId:"sc-745084ce-6"})(["margin-bottom:4px;white-space:break-spaces;height:36px;line-height:18px;"]),ItemCard__DiscountWrapper:(0,o.Ay)(h.A).withConfig({componentId:"sc-745084ce-7"})(["margin-bottom:6px;"])}},54628:(e,t,n)=>{n.d(t,{A:()=>h});var i=n(37876),r=n(14232),o=n(18827),l=n(62074),d=n(62536),a=n(19363);let c=(0,r.memo)(function(e){let{title:t,selected:n,lastChip:r,size:o=13,...l}=e;return(0,i.jsx)(s.Container,{...l,$selected:n,$lastChip:r,children:(0,i.jsx)(s.Text,{ellipsis:!0,color:n?"white":"#0F0F0F",size:o,semiBold:!0,children:t})})}),s={Container:(0,o.Ay)(d.A).withConfig({componentId:"sc-a4b4bc8f-0"})(["display:flex;justify-content:center;align-items:center;padding:6px 12px;border:",";border-radius:100px;background:",";&:hover{border-color:#0f0f0f;}"],e=>{let{$selected:t}=e;return t?0:"1px solid #EBEBEB"},e=>{let{$selected:t}=e;return t?"black":"white"}),Text:(0,o.Ay)(a.A).withConfig({componentId:"sc-a4b4bc8f-1"})([""])},h=(0,r.memo)(function(e){let{groups:t,selectedGroupId:n,onClick:r,setActiveIndex:o}=e;return(0,i.jsx)(u.Container__ScrollView,{direction:"horizontal",children:t.map(e=>(0,i.jsx)(c,{title:e.name,selected:n===e.id,onClick:()=>{null==o||o(0),null==r||r(e.id)}},e.id))})}),u={Container__ScrollView:(0,o.Ay)(l.A).attrs({hideIndicator:!0}).withConfig({componentId:"sc-bb4f816f-0"})(["padding:0 16px;justify-content:flex-start;gap:9px;"])}},62074:(e,t,n)=>{n.d(t,{A:()=>h});var i=n(37876),r=n(14232),o=n(18827),l=n(19893),d=n(43115),a=n(54067),c=n(29319),s=n(78697);let h=(0,r.memo)((0,r.forwardRef)(function(e,t){let{direction:n="vertical",hideIndicator:o,showNavigationArrowOnSide:d,navigationArrowTopPosition:c,disableScroll:h,contentContainerStyle:f,children:p,style:m,...b}=e,{type:g}=(0,s.kW)(),[x,w]=(0,r.useState)(!1),[y,A]=(0,r.useState)(!1),v=(0,r.useRef)(null==t?void 0:t.current),C=(0,r.useRef)(null),{isScrollAtStart:j,isScrollAtEnd:I,handleClickPrevBtn:k,handleClickNextBtn:S,updateScrollState:z}=(0,l.A)({ref:v}),B=(0,r.useMemo)(()=>"object"==typeof d&&(null==d?void 0:d.options)?d.options:{},[d]);(0,r.useEffect)(()=>{function e(){let e=v.current.offsetWidth;w(C.current.scrollWidth>e)}return e(),z(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[p,z]);let _=(0,r.useMemo)(()=>!!(d&&"desktop"===g&&x)&&(!B.showOnHover||y),[x,d,g,B.showOnHover,y]);return(0,i.jsxs)(u.ScrollViewContainer,{onMouseEnter:()=>{A(!0)},onMouseLeave:()=>{A(!1)},style:e.style,children:[_&&!j&&(0,i.jsx)(u.NavigationBtnContainer,{$direction:"left",children:(0,i.jsx)(u.NavigationBtn,{onClick:k,$navigationArrowTopPosition:c,style:{left:13},children:(0,i.jsx)(a.h,{name:"chevron-left",size:16,color:"#606060"})})}),(0,i.jsx)(u.ScrollView,{ref:e=>{e&&(v.current=e,t&&(t.current=e))},$direction:n,$hideIndicator:o,$disableScroll:h,onScroll:t=>{z(),e.onScroll&&e.onScroll(t)},style:f,children:(0,i.jsx)(u.ScrollViewChildren,{ref:C,$direction:n,...b,children:p})}),_&&!I&&(0,i.jsx)(u.NavigationBtnContainer,{$direction:"right",children:(0,i.jsx)(u.NavigationBtn,{onClick:S,$navigationArrowTopPosition:c,style:{right:13},children:(0,i.jsx)(a.h,{name:"chevron-right",size:16,color:"#606060"})})})]})})),u={ScrollViewContainer:(0,o.Ay)(c.A).withConfig({componentId:"sc-9f0db5cf-0"})([""]),ScrollView:(0,o.Ay)(c.A).withConfig({componentId:"sc-9f0db5cf-1"})(["-webkit-overflow-scrolling:touch;"," "," ",""],e=>{let{$direction:t}=e;return"horizontal"===t?"\n        overflow-x: auto;\n        overflow-y: hidden;\n      ":"\n        overflow-x: hidden;\n        overflow-y: auto;\n      "},e=>{let{$hideIndicator:t}=e;return t?"\n        &::-webkit-scrollbar {\n          display: none;\n        }\n      ":""},e=>{let{$disableScroll:t}=e;return t?"overflow: hidden;":"overflow: auto;"}),ScrollViewChildren:(0,o.Ay)(c.A).withConfig({componentId:"sc-9f0db5cf-2"})(["max-width:unset;",""],e=>{let{$direction:t}=e;return"horizontal"===t?"\n        flex-direction: row;\n      ":"\n        flex-direction: column;\n      "}),NavigationBtnContainer:(0,o.Ay)(c.A).withConfig({componentId:"sc-9f0db5cf-3"})(["position:absolute;top:0;left:",";right:",";width:62px;height:100%;background:",";z-index:1;"],e=>{let{$direction:t}=e;return"left"===t?0:"unset"},e=>{let{$direction:t}=e;return"right"===t?0:"unset"},e=>{let{$direction:t}=e;return"left"===t?"linear-gradient(-90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.50) 100%);":"linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.50) 100%);"}),NavigationBtn:(0,o.Ay)(d.A).withConfig({componentId:"sc-9f0db5cf-4"})(["position:absolute;top:","%;padding:9px;background:white;border:1px solid #ebebeb;border-radius:50%;transform:translateY(-50%);"],e=>{let{$navigationArrowTopPosition:t}=e;return t||50})}}}]);

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.