1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8543],{16475:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/search/result/review",function(){return i(27286)}])},4839:function(e,t,i){"use strict";var n=i(85893),r=i(67294),a=i(27415),o=i(25675),l=i.n(o),s=i(41768);let c=e=>e.includes("images.unpa.me")||e.includes("images-dev.unpa.me");t.Z=e=>{var t;let{src:i,imageSize:o,isResponsive:d=!0,...u}=e,[p,h]=(0,r.useState)(!1);return p?(0,n.jsx)(s.Z,{id:"/fallback/images/icon/unpa-ic-default-profile.svg",width:o[0].width,height:o[0].height,className:u.className}):c(i)?(0,n.jsx)(a.Z,{src:i,imageSize:o,isResponsive:d,...u,onError:e=>{var t;null===(t=u.onError)||void 0===t||t.call(u,e),h(!0)}}):(0,n.jsx)(l(),{src:i,...u,alt:null!==(t=u.alt)&&void 0!==t?t:"",width:o[0].width,height:o[0].height,className:u.className,unoptimized:!0,onError:e=>{var t;null===(t=u.onError)||void 0===t||t.call(u,e),h(!0)}})}},84501:function(e,t,i){"use strict";var n=i(85893);i(67294);var r=i(85444),a=i(49694),o=i(95086),l=i(95573),s=i(3544),c=i(41768),d=i(54465);t.Z=e=>{let{id:t,open:i,title:r,closable:o=!0,closeText:d,confirmText:p,onClose:h,onConfirm:f,onBeforeClose:g,children:m,maskClick:x=!0,className:v}=e,{closing:w,onModalClose:b,onModalConfirm:y}=(0,l.Z)({onClose:h,onConfirm:f});return i?(0,n.jsx)(a.Z,{id:t,children:(0,n.jsxs)(u,{closing:w,className:v,children:[(0,n.jsx)(s.zd,{onClick:()=>x&&b()}),(0,n.jsxs)("section",{className:"modal-container",children:[(0,n.jsxs)("header",{className:"modal-header",children:[(0,n.jsx)("h1",{children:r}),o&&(0,n.jsx)("button",{type:"button",onClick:b,children:(0,n.jsx)(c.Z,{id:"/common/images/icon/unpa-ic-close-black.svg",width:24,height:24,className:"modal-closable-button"})})]}),m,(0,n.jsxs)("div",{className:"modal-actions",children:[d&&(0,n.jsx)("button",{type:"button",onClick:null!=g?g:b,className:d&&!p?"confirm":"close",children:d}),p&&(0,n.jsx)("button",{className:"confirm",type:"button",onClick:y,children:p})]})]})]})}):null};let u=r.ZP.div.withConfig({displayName:"ModalSheetBottom__StyledWrapper",componentId:"sc-771a1024-0"})(["",""],e=>{let{closing:t}=e;return(0,r.iv)(["position:relative;.modal-container{position:fixed;left:0;bottom:0;z-index:1000;width:100%;max-height:85vh;border-radius:12px 12px 0 0;background-color:#fff;overflow:auto;animation:"," 0.2s forwards;@media screen and (width <= 280px){width:260px;}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px 16px 0;position:sticky;top:0;background-color:#fff;h1{color:var(--color-black);font-weight:bold;font-size:18px;line-height:18px;}}.modal-actions{display:flex;justify-content:space-between;width:100%;padding:0 16px 16px;gap:8px;position:sticky;bottom:0;background-color:#fff;button{display:inline-block;width:100%;color:var(--color-black);font-weight:bold;font-size:16px;@media ","{height:48px;}@media ","{height:52px;}}.close{border:1px solid #e5e5e5;border-radius:8px;}.confirm{color:var(--color-white);background-color:var(--color-main);border-radius:8px;}}"],t?o.jX:o.Ii,d.B.pc.min_width_1024,d.B.mobile.max_width_1024)})},46906:function(e,t,i){"use strict";i.d(t,{L:function(){return n},V:function(){return r}});let n=10,r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;return"number"!=typeof e?1:("number"!=typeof t&&(t=n),Math.ceil(e/t))}},27235:function(e,t,i){"use strict";var n=i(85893),r=i(84501),a=i(41768),o=i(85444);t.Z=e=>{let{title:t,open:i,onClose:o,updater:s,currentValue:c,sortTypes:d}=e,u=e=>{s(e),o()};return(0,n.jsx)(r.Z,{open:i,title:t,closable:!1,onClose:o,children:(0,n.jsx)(l,{children:d.map((e,t)=>(0,n.jsxs)("button",{"data-active":c===e,onClick:()=>u(e),children:[(0,n.jsx)("span",{children:e}),(0,n.jsx)(a.Z,{id:"/common/images/icon/unpa-ic-check-orange.svg",width:24,height:23})]},e))})})};let l=o.ZP.div.withConfig({displayName:"BottomSheetSort__StyledWrapper",componentId:"sc-bde6df4-0"})(["display:flex;flex-direction:column;width:100%;margin-top:11px;padding:0 15px;button{display:flex;justify-content:space-between;align-items:center;height:50px;padding:13.5px 0;color:var(--color-black-700);font-weight:500;font-size:16px;line-height:1.13;svg{visibility:hidden;}&[data-active='true']{color:var(--color-main);svg{visibility:visible;}}}"])},39690:function(e,t,i){"use strict";i.d(t,{Z:function(){return d}});var n=i(85893);
1i(67294);var r=i(85444),a=i(54465);function o(e){let{brand:t}=e;return(0,n.jsx)(l,{className:"line-clamp-1 review-product-brand",children:t})}let l=r.ZP.h3.withConfig({displayName:"BrandReviewProduct__StyledWrapper",componentId:"sc-cd1f208-0"})(["color:#777;font-size:14px;font-weight:500;line-height:1.43;@media ","{font-size:12px;line-height:1.17;}"],a.B.mobile.max_width_1024);function s(e){let{title:t}=e;return(0,n.jsx)(c,{className:"line-clamp-2 review-product-title",children:t})}let c=r.ZP.h2.withConfig({displayName:"TitleReviewProduct__StyledWrapper",componentId:"sc-71ccce79-0"})(["color:#333;font-weight:bold;font-size:18px;line-height:1.33;-webkit-line-clamp:1;@media ","{min-height:18px;font-size:14px;-webkit-line-clamp:1;}"],a.B.mobile.max_width_1024);function d(e){let{productName:t,brandName:i,content:r,className:a}=e;return(0,n.jsxs)(u,{className:a,children:[(0,n.jsxs)("div",{className:"product-info",children:[(0,n.jsx)(o,{brand:i}),(0,n.jsx)(s,{title:t})]}),(0,n.jsx)("p",{className:"line-clamp-2",children:r})]})}let u=r.ZP.article.withConfig({displayName:"ReviewProductContent__StyledWrapper",componentId:"sc-e26dd68b-0"})(["display:flex;flex-direction:column;flex-grow:1;gap:8px;.product-info{display:flex;flex-direction:column;}@media ","{gap:2px;}p{color:#555;font-size:14px;font-weight:400;line-height:20px;-webkit-line-clamp:2;@media ","{font-size:13px;line-height:18px;}}"],a.B.mobile.max_width_1024,a.B.mobile.max_width_1024)},38861:function(e,t,i){"use strict";i.d(t,{Z:function(){return x}});var n=i(85893);i(67294);var r=i(85444),a=i(54465),o=i(32494),l=i(41768),s=i(11163),c=i(78986),d=i(65489),u=i(16032),p=i(99684),h=i(19184),f=i(2706),g=i(24187),m=i(85945);function x(e){let{reviewId:t,likeCount:i,likedByMe:r,firebaseEventValues:a}=e,x=(0,s.useRouter)(),{isError:w}=(0,c.Z)(),{isNative:b}=(0,d.Z)(),{openLoginNotice:y}=(0,u.Z)(),j=(0,h.E)(),_=(0,m.NL)(),{mutate:E}=(0,p.uV)("/reviews/{reviewId}/like",{params:{path:{reviewId:t}},mutationOptions:{onMutate:()=>{let e=!r;return(0,g.l)(_,{reviewId:t,liked:e}),{nextLiked:e}},onSuccess:(e,i,n)=>{n&&((0,f.W)({reviewId:t,liked:n.nextLiked}),j({event_label:"unpa_review_like_click",id:t,status:n.nextLiked?"on":"off",...a}))},onError:(e,i,n)=>{n&&(0,g.l)(_,{reviewId:t,liked:!n.nextLiked})}}});return(0,n.jsxs)(v,{type:"button",onClick:e=>{if(e.preventDefault(),e.stopPropagation(),w)return b?y():x.push("/signin");E({params:{path:{reviewId:t}}})},"aria-label":"ì¢ìì ".concat(i.toLocaleString(),"ê°"),"aria-pressed":r,children:[(0,n.jsx)(l.Z,{id:"/review/images/icon/ic_heart_".concat(r?"filled":"outline",".svg"),width:28,height:28,"aria-hidden":"true"}),(0,n.jsx)("span",{"aria-hidden":"true",children:(0,o._)({value:i,lang:"ko"})})]})}let v=r.ZP.button.withConfig({displayName:"ReviewLikeButton__StyledLikeButton",componentId:"sc-44068fd3-0"})(["position:absolute;right:16px;bottom:16px;z-index:2;display:flex;flex-direction:column;align-items:center;color:var(--color-white);> span{height:18px;display:flex;align-items:flex-end;font-size:13px;font-weight:500;text-align:center;}@media ","{right:8px;bottom:8px;> svg{width:24px;height:24px;}> span{font-size:12px;}}"],a.B.mobile.max_width_1024)},2417:function(e,t,i){"use strict";i.d(t,{Z:function(){return l}});var n=i(85893),r=i(85444),a=i(54465);let o={VIEW_HOT:{label:"ì¡°íì",value:"HOT",color:"#ff5527"},LIKE_HOT:{label:"ì¢ìì",value:"HOT",color:"#ff5527"},MONTHLY_BEST:{label:"ì´ë¬ì",value:"BEST",color:"#8D43F6"}};function l(e){let{badge:t}=e;if(!t)return;let{label:i,value:r,color:a}=o[t];return(0,n.jsxs)(s,{$color:a,children:[(0,n.jsx)("span",{className:"label",children:i}),(0,n.jsx)("span",{className:"value",children:r})]})}let s=r.ZP.div.withConfig({displayName:"ReviewBookmarkBadge__StyledWrapper",componentId:"sc-692abafa-0"})(["position:absolute;top:12px;right:12px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:52px;height:64px;padding-top:6px;border-radius:2px;clip-path:polygon(0 0,100% 0,100% 100%,50% 78%,0 100%);background-color:",";color:var(--color-white);font-weight:700;text-align:center;.label{font-size:12px;line-height:18px;}.value{font-size:16px;line-height:18px;}@media ","{top:8px;right:8px;width:36px;height:46px;padding-top:2px;border-radius:1.5px;.label{font-size:9px;line-height:14px;}.value{font-size:11px;line-height:14px;}}"],e=>{let{$color:t}=e;return t},a.B.mobile.max_width_1024)},55159:function(e,t,i){"use strict";i.d(t,{Z:function(){return s}});var n=i(85893);
1i(67294);var r=i(85444),a=i(54465),o=i(4839),l=i(41768);function s(e){let{profileImageUrl:t,nickname:i}=e;return(0,n.jsxs)(c,{children:[t?(0,n.jsx)(o.Z,{src:t,imageSize:[{width:20,height:20},{width:18,height:18}],alt:i+"ëì íë¡í ì´ë¯¸ì§",className:"review-profile-image"}):(0,n.jsx)(l.Z,{id:"/fallback/images/icon/unpa-ic-default-profile.svg",width:20,height:20,className:"none-review-profile-image"}),(0,n.jsx)("p",{className:"line-clamp-1",children:i})]})}let c=r.ZP.div.withConfig({displayName:"ReviewCardProfile__StyledProfileWrapper",componentId:"sc-13d8c4f9-0"})(["display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.38;color:#555;.review-profile-image,.none-review-profile-image{border-radius:99px;}p{max-width:100%;}@media ","{.review-profile-image,.none-review-profile-image{width:20px;height:20px;}}@media ","{gap:4px;font-size:12px;line-height:1.5;.review-profile-image,.none-review-profile-image{width:18px;height:18px;}}"],a.B.pc.min_width_1024,a.B.mobile.max_width_1024)},7487:function(e,t,i){"use strict";i.d(t,{Z:function(){return c}});var n=i(85893);i(67294);var r=i(85444),a=i(54465),o=i(19720),l=i(32494),s=i(47291);function c(e){let{viewCount:t,createdAt:i,showDivider:r=!0}=e,{isMobile:a}=(0,o.Z)();return(0,n.jsxs)(d,{children:[(0,n.jsx)("p",{children:"".concat(a?"ì¡°íì":"ì¡°í"," ").concat((0,l._)({value:t,lang:"ko"}))}),r&&(0,n.jsx)("span",{className:"divider"}),(0,n.jsx)("p",{children:(0,s.m)(i)})]})}let d=r.ZP.div.withConfig({displayName:"ReviewCardViewCountAndTime__StyledViewCountAndTime",componentId:"sc-97fbdf77-0"})(["min-width:fit-content;display:flex;justify-content:space-between;align-items:center;gap:4px;p{font-size:13px;line-height:1.38;color:var(--color-black-700);white-space:nowrap;}.divider{width:1px;height:10px;background-color:var(--color-black-400);}@media ","{width:100%;gap:8px;.divider{display:none;}p{line-height:1.17;font-size:12px;}}"],a.B.mobile.max_width_1024)},32494:function(e,t,i){"use strict";i.d(t,{_:function(){return a}});let n=(e,t)=>{let i=Math.pow(10,t);return(Math.trunc(e*i)/i).toString()},r={ko:{thousand:"ì²",million:"ë§"},en:{thousand:"K",million:"M"}},a=e=>{let{value:t,lang:i="en"}=e;if(t>=1e4){let e=n(t/1e4,1);return e.endsWith(".0")?e[0]+r[i].million:e+r[i].million}if(!(t>=1e3))return t.toString();{let e=n(t/1e3,1);return e.endsWith(".0")?e[0]+r[i].thousand:e+r[i].thousand}}},47291:function(e,t,i){"use strict";i.d(t,{m:function(){return a}});var n=i(27484),r=i.n(n);let a=function(e){var t;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"list",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=r()(null!==(t=n.baseTime)&&void 0!==t?t:Date.now()).tz("Asia/Seoul"),o=r()(e).tz("Asia/Seoul");if(!o.isValid())return"";let l=Math.max(0,a.diff(o,"minute")),s=a.diff(o,"hour"),c=a.diff(o,"day");return l<1?"ë°©ê¸ ì ":l<60?"".concat(l,"ë¶ ì "):s<24?"".concat(s,"ìê° ì "):c<30?"".concat(c,"ì¼ ì "):o.format("detail-pc"===i?"YYYY.MM.DD":"YY.MM.DD")}},73053:function(e,t,i){"use strict";function n(e){return e?e.replace(/\s+/g,"").length:0}i.d(t,{p:function(){return n}})},17871:function(e,t,i){"use strict";i.d(t,{Gc:function(){return a},Nn:function(){return s},Oi:function(){return o},UJ:function(){return c},Vr:function(){return l},tE:function(){return u}});var n=i(1604),r=i(73053);let a=150,o=2e3,l=2,s={FREE_FORMAT:"FREE_FORMAT",EASY_REVIEW:"EASY_REVIEW"},c=[{id:"easyReviewReason",title:"ì¬ì© ê³ê¸°"},{id:"easyReviewTiming",title:"ì¬ì© ìí©"},{id:"easyReviewFeedback",title:"ì¥ë¨ì "},{id:"easyReviewTip",title:"ì í ì¬ì© í"},{id:"easyReviewReuse",title:"ì§ì ì¬ì© ìí¥"}],d=n.z.object({productId:n.z.number(),productName:n.z.string(),brandName:n.z.string(),imageUrl:n.z.string().url(),options:n.z.array(n.z.string()),categoryId:n.z.number(),subCategoryId:n.z.number()}),u=n.z.object({product:d.nullable(),productOption:n.z.string().nullable(),inlineProductName:n.z.string().nullable(),inlineBrandName:n.z.string().nullable(),answers:n.z.array(n.z.object({questionId:n.z.number(),optionId:n.z.number()})).default([]),reviewType:n.z.enum([s.FREE_FORMAT,s.EASY_REVIEW]).default(s.FREE_FORMAT),content:n.z.string().optional(),easyReviewReason:n.z.string().optional(),easyReviewTiming:n.z.string().optional(),easyReviewFeedback:n.z.string().optional(),easyReviewTip:n.z.string().optional(),easyReviewReuse:n.z.string().optional(),images:n.z.array(n.z.object({id:n.z.number(),contentType:n.z.string().optional(),signedUrl:n.z.string().url().optional(),isPrimary:n.z.boolean(),uploadedUrl:n.z.string().url().optional(),imageBlob:n.z.custom(e=>e instanceof File).optional(),blobUrl:n.z.string().optional(),isPreviewLoading:n.z.boolean().optional()})),rating:n.z.number(),skinType:n.z.string().optional().nullable(),skinTone:n.z.string().optional().nullable(),personalColor:n.z.string().optional().nullable(),skinWorry:n.z.array(n.z.string()).optional().nullable(),sponsored:n.z.boolean(),snsUrls:n.z.array(n.z.string()).default([]),draftId:n.z.number().optional(),reviewDraftId:n.z.number().optional()}).superRefine((e,t)=>
1{if(!e.product&&!e.inlineProductName&&!e.inlineBrandName){t.addIssue({code:"custom",path:["product"]});return}if(!e.product&&!e.inlineProductName){t.addIssue({code:"custom",path:["inlineProductName"]});return}if(e.product&&e.product.options.length>0&&!e.productOption){t.addIssue({code:"custom",path:["productOption"]});return}if(0===e.rating){t.addIssue({code:"custom",path:["rating"]});return}if(e.product&&e.answers.length<3){t.addIssue({code:"custom",path:["answers"]});return}if("EASY_REVIEW"===e.reviewType){if([e.easyReviewReason,e.easyReviewTiming,e.easyReviewFeedback,e.easyReviewTip,e.easyReviewReuse].map(e=>(0,r.p)(null!=e?e:"")).reduce((e,t)=>e+t,0)<a){t.addIssue({code:"custom",path:["easyReviewReason"]});return}}else{var i;if((0,r.p)(null!==(i=e.content)&&void 0!==i?i:"")<a){t.addIssue({code:"custom",path:["content"]});return}}if(e.images.length<l){t.addIssue({code:"custom",message:"ìµì ".concat(l,"ì¥ ì´ìì ì´ë¯¸ì§ë¥¼ ì¶ê°í´ 주ì¸ì."),path:["images"]});return}})},42984:function(e,t,i){"use strict";i.d(t,{Z:function(){return j}});var n=i(85893),r=i(85444),a=i(41664),o=i.n(a),l=i(27415),s=i(38861),c=i(54465),d=i(25675),u=i.n(d),p=i(2417);function h(e){let{imageUrl:t,productName:i,likeCount:r,reviewId:a,likedByMe:o,badge:c,searchKeyword:d}=e;return(0,n.jsxs)(f,{children:[(0,n.jsx)(p.Z,{badge:c}),t?(0,n.jsx)(l.Z,{className:"review-thumbnail-image",src:t,imageSize:[{width:238,height:310},{width:159,height:210}],alt:"ì¸ëìíì°ì¹ 리뷰 ì´ë¯¸ì§ - [".concat(i,"]")}):(0,n.jsx)(u(),{width:238,height:310,src:"/n/images/unpa-no-image.png",alt:"".concat(i," 리뷰 ì¬ë¤ì¼ ì´ë¯¸ì§"),className:"none-image"}),(0,n.jsx)(s.Z,{reviewId:a,likeCount:r,likedByMe:o,firebaseEventValues:{page_name:"search_result",keyword:d,...null!==c&&{badge:null==c?void 0:c.toLocaleLowerCase()}}})]})}let f=r.ZP.div.withConfig({displayName:"ReviewItemThumbnail__StyledWrapper",componentId:"sc-47a345b6-0"})(["position:relative;margin-bottom:8px;.review-thumbnail-image{width:100%;height:auto;aspect-ratio:156 / 180;border-radius:8px;object-fit:cover;}::before{content:'';position:absolute;left:0;bottom:0;z-index:1;width:100%;height:145px;border-radius:0 0 8px 8px;background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,0.6) 100%);}@media ","{::before{height:30%;}}"],c.B.mobile.max_width_1024);var g=i(19184),m=i(54898),x=i(11163),v=i(39690),w=i(90197),b=i(55159),y=i(7487);function j(e){let{data:t}=e,{id:i,productName:r,thumbnailImageUrl:a="/fallback/images/icon/unpa-ic-image-error.svg",brandName:l,likeCount:s,createdAt:c,viewCount:d,user:u,likedByMe:p,badge:f}=t,v=(0,g.E)(),{query:{q:j}}=(0,x.useRouter)();return(0,n.jsx)(_,{children:(0,n.jsxs)(o(),{href:"/reviews/".concat(i),onClick:()=>{v({event_label:"unpa_review_click",page_name:"search_result",...f&&{badge:(0,m.I)(f)},keyword:String(null!=j?j:""),id:i})},children:[(0,n.jsx)(h,{imageUrl:a,productName:r,likeCount:s,reviewId:i,likedByMe:null!=p&&p,badge:f,searchKeyword:String(null!=j?j:"")}),(0,n.jsx)(E,{productName:r,brandName:l,content:(0,w.x)(t)}),(0,n.jsxs)("article",{className:"review-card-footer",children:[u&&(0,n.jsx)(b.Z,{profileImageUrl:u.profileImageUrl,nickname:u.nickname}),(0,n.jsx)(y.Z,{viewCount:d,createdAt:c,showDivider:!1})]})]})})}let _=r.ZP.li.withConfig({displayName:"ReviewItem__StyledWrapper",componentId:"sc-f9bb86fa-0"})(["position:relative;max-width:238px;> a{display:flex;flex-direction:column;}article.review-card-footer{margin-top:4px;display:flex;flex-direction:column;gap:4px;}@media ","{width:100%;article.review-card-footer{margin-top:5px;gap:5px;}}"],c.B.mobile.max_width_1024),E=(0,r.ZP)(v.Z).withConfig({displayName:"ReviewItem__StyledReviewProductContent",componentId:"sc-f9bb86fa-1"})(["&&{gap:4px;}"])},40412:function(e,t,i){"use strict";i.d(t,{E:function(){return s}});var n=i(93202),r=i(23171),a=i(26953),o=i(41476),l=i(11163);let s=e=>{let{tabType:t}=e,{query:{q:i=""}}=(0,l.useRouter)(),s={BRAND:{path:"/search/brands"},PRODUCT:{path:"/search/products",extraQuery:{orderField:"ì íëì"===(0,a.e)(e=>e.sortType)?"RELEVANCE":"POPULARITY"}},REVIEW:{path:"/search/reviews",extraQuery:{orderField:"ì íëì"===(0,o.l)(e=>e.sortType)?"RELEVANCE":"LATEST"}}}[t],c=s.path,d="extraQuery"in s?s.extraQuery:{},u={query:(0,n.U)(i),...d};return{...(0,r.ZP)([c,u],{pageSize:12}),keyword:i}}},78719:function(e,t,i){"use strict";i.d(t,{y:function(){return a}});var n=i(67294),r=i(8249);let a=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{requestHideFooter:i,releaseHideFooter:a}=(0,r.q)();(0,n.useLayoutEffect)(()=>
1{if(t&&!1!==e)return i(),()=>a()},[e,t,i,a])}},23171:function(e,t,i){"use strict";i.d(t,{Do:function(){return l}});var n=i(59403),r=i(46906),a=i(37575);let o={page:1,pageSize:r.L},l=e=>Array.isArray(e)&&e.length>=2&&!e[0].startsWith("/")&&"string"==typeof e[0]?{url:e.slice(0,3).join("/"),data:e.length>3?e[3]:null}:{url:Array.isArray(e)?e[0]:e,data:Array.isArray(e)?e[1]:null};t.ZP=function(e){var t,i,s;let c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=(0,a.Z)(),u=async(e,t)=>{let{queryKey:i,pageParam:n=o}=e,{url:a,data:s}=l(i);t.pageSize&&(n={...n,pageSize:t.pageSize}),t.initialPage&&1===n.page&&(n={...n,page:t.initialPage});let{data:c}=await d.GET({url:a,data:{...s,page:null==n?void 0:n.page,pageSize:null==n?void 0:n.pageSize}}),u=(0,r.V)(null==c?void 0:c.totalCount,null==n?void 0:n.pageSize);return{...c,...n,totalPage:u}},p=(0,n.N)({queryKey:e,queryFn:e=>u(e,c),getNextPageParam:e=>{let{result:t,results:i,...n}=e;if(!(n.page>=Number(null==n?void 0:n.totalPage)))return{...n,page:n.page+1}},getPreviousPageParam:e=>{let{result:t,results:i,...n}=e;if(!(n.page<=1))return{...n,page:n.page-1}},...c}),h=null===(t=p.data)||void 0===t?void 0:t.pages,f=null==h?void 0:null===(i=h[h.length-1])||void 0===i?void 0:i.page,g=p.hasNextPage&&void 0!==f?f+1:void 0;return{totalCount:null==h?void 0:null===(s=h[0])||void 0===s?void 0:s.totalCount,mergePages:null==h?void 0:h.flatMap(e=>{var t;return null!==(t=e.results)&&void 0!==t?t:e.result}),nextPage:g,...p}}},33803:function(e,t,i){"use strict";i.d(t,{Z:function(){return r}});var n=i(67294);function r(e){let{root:t=null,target:i,onIntersect:r,onUnintersect:a,threshold:o=.5,rootMargin:l="0px",enabled:s=!1}=e;(0,n.useEffect)(()=>{try{if(!s)return;let e=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting?r():null==a||a()})},{root:t&&t.current,rootMargin:l,threshold:o}),n=i&&i.current;if(!n)return;return e.observe(n),()=>{e.unobserve(n),e.disconnect()}}catch(e){}},[s,r,a,o,t,l,i])}},90197:function(e,t,i){"use strict";i.d(t,{x:function(){return r}});var n=i(17871);let r=e=>{if(!e)return"";let{reviewType:t,contentText:i,content:r}=e;if(t===n.Nn.FREE_FORMAT)return i||r||"";let{easyReviewReason:a,easyReviewTiming:o,easyReviewFeedback:l,easyReviewTip:s,easyReviewReuse:c}=e;return[a,o,l,s,c].filter(Boolean).join(" ")}},54898:function(e,t,i){"use strict";i.d(t,{I:function(){return n}});let n=e=>e.toLowerCase()},26953:function(e,t,i){"use strict";i.d(t,{L:function(){return r},e:function(){return o}});var n,r,a=i(73445);(n=r||(r={})).RELEVANCE="ì íëì",n.POPULAR="ì¸ê¸°ì";let o=(0,a.Ue)(e=>({sortType:"ì íëì",updateSortType:t=>{e({sortType:t})},resetSortType:()=>e({sortType:"ì íëì"})}))},41476:function(e,t,i){"use strict";i.d(t,{Z:function(){return r},l:function(){return o}});var n,r,a=i(73445);(n=r||(r={})).RELEVANCE="ì íëì",n.LATEST="ìµì ì";let o=(0,a.Ue)(e=>({sortType:"ì íëì",updateSortType:t=>{e({sortType:t})},resetSortType:()=>e({sortType:"ì íëì"})}))},27286:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return V},default:function(){return W}});var n=i(85893),r=i(9008),a=i.n(r),o=i(57862),l=i(65681),s=i(62877),c=i(93202),d=i(75280),u=i(56545),p=i(85444),h=i(5243),f=i(54465),g=i(40844),m=i(29337),x=i(42984),v=i(67294),w=i(33803),b=i(40412),y=i(19720),j=i(76248),_=i(27235),E=i(41768),z=i(41476),N=()=>{let[e,t]=(0,v.useState)(!1),[i,r]=(0,z.l)(e=>[e.sortType,e.updateSortType],j.X);return(0,n.jsxs)(R,{children:[(0,n.jsxs)("button",{type:"button",onClick:()=>t(!0),children:[(0,n.jsx)(E.Z,{id:"/search/images/icon/unpa-ic-array.svg",width:16,height:16}),i]}),(0,n.jsx)(_.Z,{title:"리뷰 ì ë ¬",open:e,updater:r,onClose:()=>t(!1),sortTypes:Object.values(z.Z),currentValue:i})]})};let R=p.ZP.div.withConfig({displayName:"ReviewSortMobile__StyledWrapper",componentId:"sc-b6d9170-0"})(["> button{display:flex;color:var(--color-black-800);font-weight:500;font-size:14px;font-style:normal;font-stretch:normal;line-height:1.14;letter-spacing:normal;}"]);var Z=()=>{let[e,t]=(0,z.l)(e=>[e.sortType,e.updateSortType],j.X),i=e===z.Z.RELEVANCE?"/search/images/icon/unpa-ic-check-orange.svg":"/search/images/icon/unpa-ic-check-gray.svg",r=e===z.Z.LATEST?"/search/images/icon/unpa-ic-check-orange.svg":"/search/images/icon/unpa-ic-check-gray.svg";return(0,n.jsxs)(k,{children:[(0,n.jsx)("input",{type:"radio",value:z.Z.RELEVANCE,id:z.Z.RELEVANCE,checked:e===z.Z.RELEVANCE,onChange:()=>t(z.Z.RELEVANCE)}),(0,n.jsxs)("label",{htmlFor:z.Z.RELEVANCE,children:[(0,n.jsx)(E.Z,{id:i,width:16,height:16}),(0,n.jsx)("span",{children:z.Z.RELEVANCE})]}),(0,n.jsx)("input",{type:"radio",value:z.Z.LATEST,id:z.Z.LATEST,checked:e===z.Z.LATEST,onChange:()=>t(z.Z.LATEST)}),(0,n.jsxs)("label",{htmlFor:z.Z.LATEST,children:[(0,n.jsx)(E.Z,{id:r,width:16,height:16}),(0,n.jsx)("span",{children:z.Z.LATEST})]})]})};let k=p.ZP.div.withConfig({displayName:"ReviewSortPc__StyledWrapper",componentId:"sc-56fdb483-0"})(["display:flex;gap:8px;> label{display:flex;gap:2px;align-items:center;}> input[type='radio']{display:none;}> input[type='radio'] + label{color:#999;> span{font-weight:500;font-size:14px;font-style:normal;font-stretch:normal;line-height:1.71;letter-spacing:normal;}}> input[type='radio']:checked + label{color:var(--color-main);}"]);var S=()=>{let{isMobile:e}=(0,y.Z)();return e?(0,n.jsx)(N,{}):(0,n.jsx)(Z,{})},P=i(15334),T=i(78719),C=()=>{let e=(0,v.useRef)(null),{mergePages:t=[],totalCount:i=0,isFetching:r,isLoading:a,hasNextPage:o,isError:l,fetchNextPage:s,keyword:c}=(0,b.E)({tabType:"REVIEW"});return((0,w.Z)({target:e,enabled:o&&!r,onIntersect:s}),(0,T.y)(o,!!c),l)?(0,n.jsx)(P.Z,{}):a||0!==t.length?(0,n.jsxs)(I,{children:[(0,n.jsxs)("div",{className:"title-wrapper",children:[(0,n.jsxs)("h1",{className:"title",children:["리뷰 ",(0,n.jsx)("span",{children:null==i?void 0:i.toLocaleStr
1ing()})]}),(0,n.jsx)(S,{})]}),!a&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("ul",{className:"card-list",children:t.map(e=>(0,n.jsx)(x.Z,{data:e},e.id))}),(0,n.jsx)("div",{ref:e})]})]}):(0,n.jsx)(m.Z,{})};let I=p.ZP.div.withConfig({displayName:"SearchReviewResult__StyledWrapper",componentId:"sc-3ef7fc4e-0"})(["display:flex;flex-direction:column;width:100%;padding:20px 16px 70px;.title-wrapper{display:flex;justify-content:space-between;margin-bottom:16px;.title{color:#333;font-weight:bold;font-size:18px;line-height:1.33;> span{color:#ff5527;}}}.card-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:24px;column-gap:10px;}@media ","{padding-left:0;padding-right:0;.title-wrapper{margin-bottom:20px;.title{font-size:20px;line-height:1.2;}}.card-list{grid-template-columns:repeat(4,1fr);gap:24px;width:100%;}}"],f.B.pc.min_width_1024);var A=i(11163),L=()=>{let{query:{q:e=""}}=(0,A.useRouter)(),t=(0,z.l)(e=>e.resetSortType);return(0,v.useEffect)(()=>{t()},[e,t]),(0,n.jsxs)(O,{children:[(0,n.jsx)(C,{}),(0,n.jsx)(B,{mobileSize:"medium",moveWithScroll:!0})]})};let O=p.ZP.div.withConfig({displayName:"ScreenSearchReviewResult__StyledWrapper",componentId:"sc-6505dc48-0"})(["display:flex;flex:1;width:100%;margin:0 auto;@media ","{width:","px;padding:0;}"],f.B.pc.min_width_1024,h.Dl),B=(0,p.ZP)(g.Z).withConfig({displayName:"ScreenSearchReviewResult__StyledTopButton",componentId:"sc-6505dc48-1"})(["@media ","{bottom:68px !important;}"],f.B.mobile.max_width_1024),M=()=>{let{query:{q:e=""}}=(0,A.useRouter)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.Z,{title:"".concat((0,c.U)(e)," ê²ì ê²°ê³¼ | ì¸ëìíì°ì¹"),desc:"".concat((0,l.u)((0,c.U)(e))," ê²ìë ì í 리뷰ë¶í° ì¸ëë ì¼í ì¶ì²í
ì íì¸í´ë³´ì¸ì.")}),(0,n.jsx)(a(),{children:(0,n.jsx)("meta",{name:"robots",content:"noindex, follow"})}),(0,n.jsx)(u.Z,{}),(0,n.jsx)(d.Z,{currentTab:"review"}),(0,n.jsx)(s.Z,{}),(0,n.jsx)(L,{})]})};var V=!0,W=M;M.getLayoutProps=()=>({header:{hidden:!0},main:{backgroundColor:"white"},footer:{hideOnScroll:!0}})},59403:function(e,t,i){"use strict";i.d(t,{N:function(){return s}});var n=i(32161),r=i(52924),a=i(9499);class o extends r.z{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,t){super.setOptions({...e,behavior:(0,a.Gm)()},t)}getOptimisticResult(e){return e.behavior=(0,a.Gm)(),super.getOptimisticResult(e)}fetchNextPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"forward",pageParam:e}}})}fetchPreviousPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"backward",pageParam:e}}})}createResult(e,t){var i,n,r,o,l,s;let{state:c}=e,d=super.createResult(e,t),{isFetching:u,isRefetching:p}=d,h=u&&(null==(i=c.fetchMeta)?void 0:null==(n=i.fetchMore)?void 0:n.direction)==="forward",f=u&&(null==(r=c.fetchMeta)?void 0:null==(o=r.fetchMore)?void 0:o.direction)==="backward";return{...d,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,a.Qy)(t,null==(l=c.data)?void 0:l.pages),hasPreviousPage:(0,a.ZF)(t,null==(s=c.data)?void 0:s.pages),isFetchingNextPage:h,isFetchingPreviousPage:f,isRefetching:p&&!h&&!f}}}var l=i(67187);function s(e,t,i){let r=(0,n._v)(e,t,i);return(0,l.r)(r,o)}},76248:function(e,t,i){"use strict";function n(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(let[i,n]of e)if(!Object.is(n,t.get(i)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(let i of e)if(!t.has(i))return!1;return!0}let i=Object.keys(e);if(i.length!==Object.keys(t).length)return!1;for(let n=0;n<i.length;n++)if(!Object.prototype.hasOwnProperty.call(t,i[n])||!Object.is(e[i[n]],t[i[n]]))return!1;return!0}i.d(t,{X:function(){return n}})}},function(e){e.O(0,[5675,1604,7776,532,2888,9774,179],function(){return e(e.s=16475)}),_N_E=e.O()}]);
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.