PageSourceSearch

https://sodagift.com/_next/static/chunks/7553-e329a056e2abd071.js

js sodagift.com collected 2026-09-25 06:18:11 UTC 10,347 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]="f9e9e3b0-62f9-476b-b4cb-df10b09fd6fb",e._sentryDebugIdIdentifier="sentry-dbid-f9e9e3b0-62f9-476b-b4cb-df10b09fd6fb")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7553],{1048:(e,t,i)=>{i.d(t,{X:()=>f});var l=i(14232),r=i(92532),a=i(26104),n=i(70931),o=i(87987),d=i(33586),s=i(29683),c=i(70704),u=i(63688);let f=e=>{var t;let{countryCode:i,options:f}=e,p=s.A.defaults(f,{size:8,needRefresh:!1,requestIf:()=>!0}),h=(0,a.r)(),g=(0,c.Pj)(),{redirectToErrorPage:x}=(0,d.u)(),{data:b,isValidating:_,mutate:v,size:m,setSize:y}=(0,r.Ay)((e,t)=>p.requestIf()&&(!t||t.content.length)?"/v1/giftees?page=".concat(e,"&size=").concat(p.size).concat(i?"&country=".concat(i):""):null,{revalidateFirstPage:!1,dedupingInterval:1e3,revalidateOnFocus:!1,onError(e){e.status===o.lw.Status.Unauthorized?(g.auth.logout(),h.push("/auth")):x(e)},onSuccess(e){var t;let i=null==e?void 0:e.map(e=>e.content.map(e=>(0,u.Mc)(e))).flat();null==(t=g.user)||t.setGiftees(i)}}),A=(0,l.useMemo)(()=>null==b?void 0:b[0].totalElements,[b]),j=(0,l.useMemo)(()=>(null==b?void 0:b[0].totalPages)===m,[b,m]),[C,I]=(0,l.useState)(null);(0,l.useEffect)(()=>{p.needRefresh&&v().then(()=>I(null!=i?i:"")).catch(()=>void 0)},[p.needRefresh,v,i]);let w=p.needRefresh&&C===(null!=i?i:"");(0,l.useEffect)(()=>{i||"number"!=typeof A||(0,n.JE)(A)},[A,i]);let k=(0,l.useCallback)(()=>{_||j||y(e=>e+1)},[_,j,y]);return{data:(null==(t=g.user)?void 0:t.$gifteeList)||[],total:A,loading:_,refreshed:w,forceInvalidate(){v()},nextData:k}}},3141:(e,t,i)=>{i.d(t,{A:()=>s});var l=i(37876),r=i(5811),a=i(14232),n=i(18827),o=i(29319);let d={Hr:(0,n.Ay)(o.A).withConfig({componentId:"sc-33ee781-0"})(["width:100%;height:1px;min-height:1px;"," ",""],e=>"height: ".concat(e.height?"".concat(e.height,"px"):e.thick?"10px":"1px",";"),e=>"background-color: ".concat(e.color?e.color:e.thick?"#f4f4f4":"#d9d9d9",";"))},s=(0,r.PA)((0,a.forwardRef)(function(e,t){return(0,l.jsx)(d.Hr,{ref:t,role:"separator",...e})}))},5458:(e,t,i)=>{i.d(t,{A:()=>h});var l=i(37876),r=i(29454),a=i(5811),n=i(14232),o=i(26104),d=i(22502),s=i(87987),c=i(67327),u=i(7545),f=i(29683),p=i(70704);let h=(0,a.PA)(function(e){let{preventAccessIfAlreadyAuthenticated:t,children:i}=e,a=(0,p.Pj)(),{appendUTMParamsToUrl:h}=(0,d.c)(),{auth:g,routeHistory:x}=a,{isLoggedIn:b,accessToken:_,isJustAfterSignedUp:v}=g,m=(0,o.r)(),y="/auth",A=f.A.getEnv("STAGE");return((0,n.useEffect)(()=>{m.isReady&&(()=>{var e,i,l;if(t){if(b){if("prod"!==A&&v)return m.replace("/type-referral-code?fromSignUp=true");let t=h(null!=(e=u.A.getItem(s.Zg.RedirectTo))?e:m.query.redirectTo);if(t)return u.A.removeItem(s.Zg.RedirectTo),m.replace(t);if(t=h(y),!x.canGoBack||f.A.includes(["/auth","/auth/signup"],x.current)&&x.previous.includes("/bugs"))return m.replace("/".concat((0,c.Ax)(r.A.get(s.Zg.Destination),{withSeoFriendlyName:!0}).seoFriendlyName));if(f.A.includes(["/auth","/auth/signup"],x.current.split("?")[0])&&("APPLE"===_.decoded.payload.provider||"GOOGLE"===_.decoded.payload.provider||"FACEBOOK"===_.decoded.payload.provider))if(t.includes("/auth"))return m.replace("/".concat((0,c.Ax)(r.A.get(s.Zg.Destination),{withSeoFriendlyName:!0}).seoFriendlyName));else return u.A.removeItem(s.Zg.RedirectTo),m.replace(t);return m.back()}return}let a=h(null!=(l=null!=(i=u.A.getItem(s.Zg.RedirectTo))?i:m.query.redirectTo)?l:y);b||_.value||(a.includes("/auth")&&u.A.setItem(s.Zg.RedirectTo,m.asPath),m.replace(a))})()},[m.isReady,b,t,_,x]),!b&&!t||t&&b)?null:(0,l.jsx)(l.Fragment,{children:i})})},24078:(e,t,i)=>{i.d(t,{A:()=>c});var l=i(37876),r=i(54587),a=i.n(r),n=i(14232),o=i(89953);let d=String.fromCharCode(8205),s=/\uFE0F/g,c=(0,n.memo)(function(e){let{emoji:t,ext:i="svg",width:r=72,height:n=72,style:c}=e,u=o.A.convert.toCodePoint(0>t.indexOf(d)?t.replace(s,""):t);return(0,l.jsx)(a(),{src:"https://fastly.jsdelivr.net/gh/jdecked/twemoji@latest/assets/".concat("png"===i?"72x72":"svg","/").concat(u,".").concat(i),width:r,height:n,alt:t,draggable:!1,style:c}
1)})},43767:(e,t,i)=>{i.d(t,{A:()=>l});let l={ns:"domain/giftee-card",en:{update_giftee_info:"Update Giftee Info",delete_giftee:"Delete Giftee",cancel:"Cancel",are_you_sure_blah:"Are you sure you want to delete giftee?",giftee_deleted:"The giftee was deleted",yes_delete_it:"Yes, delete it",no_keep_it:"No, keep it",unavailable_for_delivery:"Unavailable for delivery,",unchoosable_giftee:"Unchoosable giftee,",please_refer_to_blah:"please refer to the Description.",select:"Select"},ko:{update_giftee_info:"받는 분 정보 수정",delete_giftee:"받는 분 삭제",cancel:"취소",are_you_sure_blah:"받는 분을 삭제하시겠습니까?",giftee_deleted:"받는 분을 삭제했습니다.",yes_delete_it:"네, 삭제할게요",no_keep_it:"취소",unavailable_for_delivery:"배송 불가능한 주소입니다,",unchoosable_giftee:"선택 불가능한 받는 분입니다,",please_refer_to_blah:"상품 상세를 참고해 주세요.",select:"선택"},ja:{update_giftee_info:"受取人情報の修正",delete_giftee:"受取人の削除",cancel:"キャンセル",are_you_sure_blah:"受取人を削除しますか?",giftee_deleted:"受取人を削除しました。",yes_delete_it:"はい、削除します",no_keep_it:"キャンセル",unavailable_for_delivery:"配送不可の住所です、",unchoosable_giftee:"選択できない受取人です、",please_refer_to_blah:"商品詳細をご覧ください。",select:"選択"}}},86241:(e,t,i)=>{i.d(t,{A:()=>v});var l=i(37876),r=i(14232),a=i(18827),n=i(43767),o=i(91143),d=i(54067),s=i(65103),c=i(19363),u=i(29319),f=i(24078),p=i(26104),h=i(55197),g=i(87987),x=i(29683),b=i(97904),_=i(93526);let v=(0,r.memo)(function(e){var t,i,r,a;let v=(0,p.r)(),{locale:y}=v,{data:A,selectable:j=!1,editable:C=!1,isFilterPassed:I=!0,onClick:w,onUpdate:k,onDelete:S,...R}=e,{t:F}=(0,h.Z)(n.A),G=b.find(e=>e.code===A.country),z="string"==typeof I;return(0,l.jsx)(u.A,{...R,children:(0,l.jsxs)(m.GifteeCard__ContentWrapper,{$selectable:j,onClick:j?()=>{z||null==w||w(A)}:void 0,children:[j&&(0,l.jsx)(m.GifteeCard__Select,{children:(0,l.jsx)(c.A,{size:12,color:"#7b7b7b",style:{fontWeight:500},children:F("select")})}),(0,l.jsxs)(u.A,{flexDirection:"row",style:{alignItems:"center",justifyContent:"space-between"},children:[(0,l.jsxs)(u.A,{flexDirection:"row",style:{gap:12,alignItems:"center",paddingRight:50},children:[(0,l.jsx)(s.A,{src:"/image/icon/profile.svg",width:40,height:40,alt:"friend"}),(0,l.jsxs)(u.A,{style:{gap:5},children:[(0,l.jsx)(c.A,{size:14,bold:!0,children:A.name}),(0,l.jsxs)(u.A,{flexDirection:"row",style:{gap:4},children:[A.relationship&&(0,l.jsx)(u.A,{style:{padding:"0 4px",borderRadius:2,background:"#f4f4f4",width:"fit-content"},children:(0,l.jsx)(c.A,{size:12,color:"#6f6f6f",bold:!0,children:null==(t=(0,_.yv)({locale:y,relationship:A.relationship}))?void 0:t.text})}),(0,l.jsxs)(u.A,{flexDirection:"row",style:{gap:4,alignItems:"center",padding:"0 4px",borderRadius:2,background:"#f4f4f4",width:"fit-content"},children:[(0,l.jsx)(f.A,{emoji:G.flag,width:12,height:12}),(0,l.jsx)(c.A,{size:12,color:"#6f6f6f",bold:!0,children:G["name".concat(x.A.capitalize(y))]})]})]})]})]}),C&&!j&&(0,l.jsx)(o.A,{onClick:()=>v.push("/account/friends/".concat(A.id,"/update-friend")),children:(0,l.jsx)(d.h,{name:"chevron-right-thin",size:20,fill:"#9d9d9d"})})]}),(A.email||A.phoneNumber||(null==(i=A.address)?void 0:i.full))&&(0,l.jsxs)(m.GifteeCard__SubInfoWrapper,{children:[A.email&&(0,l.jsx)(m.GifteeCard__SubInfoItem,{children:(0,l.jsx)(c.A,{size:13,color:"#0f0f0f",children:A.email})}),A.phoneNumber&&(0,l.jsx)(m.GifteeCard__SubInfoItem,{children:(0,l.jsx)(c.A,{size:13,color:"#0f0f0f",children:x.A.makeFormattedNumber(A.phoneNumber,G.code).replace(/ /g,"")})}),(null==(r=A.address)?void 0:r.full)&&(0,l.jsx)(m.GifteeCard__SubInfoItem,{children:(0,l.jsx)(c.A,{size:13,color:"#0f0f0f",children:null==(a=A.address)?void 0:a.full})})]}),"string"==typeof I&&(0,l.jsx)(m.FilterFailed__Text,{semiBold:!0,size:11,color:g.Q1.Semantic.Negative,children:I+" "+F("please_refer_to_blah")})]})})}),m={GifteeCard__ContentWrapper:(0,a.Ay)(u.A).withConfig({componentId:"sc-4ad4bad0-0"})(["padding:16px;background:white;border:1px solid #ebebeb;border-radius:12px;gap:12px;cursor:",";"],e=>{let{$selectable:t}=e;return t?"pointer":"default"}),GifteeCard__Select:(0,a.Ay)(u.A).attrs({className:"giftee-card-select"}).withConfig({componentId:"sc-4ad4bad0-1"})(["position:absolute;right:14px;top:14px;padding:3px 8px;border:1px solid #ebebeb;background:transparent;border-radius:20px;z-index:1;"]),GifteeCard__SubInfoWrapper:(0,a.Ay)(u.A).withConfig({componentId:"sc-4ad4bad0-2"})(["gap:4px;background:#fafafa;border-radius:8px;padding:12px 16px;"]),GifteeCard__SubInfoItem:(0,a.Ay)(u.A).withConfig({componentId:"sc-4ad4bad0-3"})(["flex-direction:row;align-items:center;gap:4px;"]),FilterFailed__Text:(0,a.Ay)(c.A).withConfig({componentId:"sc-4ad4bad0-4"})(["margin-top:6px;"])}},93526:(e,t,i)=>{i.d(t,{Ay:()=>n,yv:()=>a});var l=i(33812);let r={en:[{text:"Parents",value:l.p.Parent},{text:"Sibling",value:l.p.Sibling},{text:"Child",value:l.p.Child},{text:"Relative",value:l.p.Relative},{text:"Friend",value:l.p.Friend},{text:"Couple",value:l.p.Couple},{text:"Business",value:l.p.Business},{text:"School",value:l.p.School},{text:"Religion",value:l.p.Religion},{text:"Other",value:l.p.Other}],ko:[{text:"부모님",value:l.p.Parent},{text:"형제",value:l.p.Sibling},{text:"자녀",value:l.p.Child},{text:"친척",value:l.p.Relative},{text:"친구",value:l.p.Friend},{text:"연인",value:l.p.Couple},{text:"비즈니스",value:l.p.Business},{text:"학교",value:l.p.School},{text:"종교",value:l.p.Religion},{text:"기타",value:l.p.Other}],ja:[{text:"親",value:l.p.Parent},{text:"兄弟・姉妹",value:l.p.Sibling},{text:"子ども",value:l.p.Child},{text:"親戚",value:l.p.Relative},{text:"友達",value:l.p.Friend},{text:"恋人",value:l.p.Couple},{text:"ビジネス",value:l.p.Business},{text:"学校",value:l.p.School},{text:"宗教",value:l.p.Religion},{text:"その他",value:l.p.Other}]},a=e=>{let{locale:t,relationship:i}=e;return r[t].find(e=>e.value===i)},n=r}}]);

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.