PageSourceSearch

https://its-lil.com/mobify/bundle/1116/pages-store-locator.js

js its-lil.com collected 2026-10-04 15:11:02 UTC 48,069 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[1540],{80538(e,t,n){n.r(t),n.d(t,{default:()=>V});var r=n(77810),l=n(64965),a=n(54183),o=n(59146),i=n(67234),s=n(71570),c=n(21052),p=n(20688),d=n(61892),u=n(89995),m=n(17364),x=n(45854),g=n(26732),E=n(90031),f=n(90892),h=n(34005),b=n(92825),v=n(62345),w=n(94615),F=n(46702),y=n(68021),k=n(42736),C=n(41991),S=n(88468),A=n(64180),W=n(18801);const z=["rows","textProps"],_=e=>{const t=e||"",n=t.indexOf("[오시는길]");return n<=0?t:r.createElement(r.Fragment,null,t.slice(0,n).trimEnd(),r.createElement("br",null),t.slice(n))},D=e=>{let{rows:t,textProps:n}=e,l=(0,W.A)(e,z);return r.createElement(i.s,(0,A.A)({direction:"column",gap:"8px",bg:"#FAFAFA",borderRadius:"16px",w:"100%"},l),t.map((e,t)=>r.createElement(i.s,{key:t,align:"center",justify:"center",gap:"12px",flexWrap:"wrap"},e.map((e,t)=>r.createElement(r.Fragment,{key:t},t>0&&r.createElement(o.a,{w:"1px",h:"10px",bg:"gray.300",flexShrink:0}),r.createElement(c.E,(0,A.A)({color:"gray.600"},n),e))))))},j=()=>r.createElement(i.s,{justify:"center",align:"center",w:"48px",h:"48px",bg:"#FEE500",borderRadius:"33px",boxShadow:"0px 6px 10px rgba(29, 29, 31, 0.02), 0px 1px 16px rgba(29, 29, 31, 0.04)",cursor:"pointer"},r.createElement(o.a,{as:"svg",w:"24px",h:"24px",viewBox:"0 0 24 24",fill:"none"},r.createElement("path",{d:"M12 3C6.48 3 2 6.58 2 10.94c0 2.8 1.86 5.27 4.66 6.67-.15.53-.96 3.41-.99 3.63 0 0-.02.17.09.23.11.07.23.03.23.03.31-.04 3.55-2.32 4.11-2.72.6.09 1.23.14 1.9.14 5.52 0 10-3.58 10-7.98C22 6.58 17.52 3 12 3Z",fill:"#392020"}))),R=({label:e,isActive:t,onClick:n})=>r.createElement(i.s,{as:"button",justify:"center",align:"center",px:{base:"12px",lg:"16px"},h:{base:"34px",lg:"40px"},border:"2px solid",borderColor:t?"#00C8F5":"#E1E3E6",bg:t?"#00C8F5":"#fff",borderRadius:"24px",cursor:"pointer",onClick:n,flexShrink:0,transition:"all 0.2s ease",sx:{"@media (hover: hover) and (pointer: fine)":{"&:hover":{bg:"primary",borderColor:"primary","& p":{color:"#fff !important"}}}}},r.createElement(c.E,{fontSize:{base:"14px",lg:"18px"},color:t?"#fff":"#6B7177",fontWeight:t?"700":"400",whiteSpace:"nowrap"},e)),O=({onClick:e,size:t="20px"})=>r.createElement(o.a,{as:"button",cursor:"pointer",onClick:e,flexShrink:0},r.createElement(o.a,{as:"svg",w:t,h:t,viewBox:"0 0 20 20"},r.createElement("path",{d:"M4 4L16 16M16 4L4 16",stroke:"#26272A",strokeWidth:"2",strokeLinecap:"round"}))),L=()=>r.createElement(i.s,{direction:"column",align:"center",gap:"12px",h:"100%",justifyContent:"center"},r.createElement(o.a,{as:"svg",w:"48px",h:"48px",viewBox:"0 0 48 48",fill:"none"},r.createElement("circle",{cx:"24",cy:"24",r:"19.5",stroke:"#CCCCCC",strokeWidth:"3"}),r.createElement("rect",{width:"3",height:"16",x:"22.5",y:"12.75",fill:"#CCCCCC",rx:"1.5"}),r.createElement("circle",{cx:"24",cy:"33.25",r:"1.5",fill:"#CCCCCC"})),r.createElement(c.E,{fontWeight:400,variant:"f20"},"검색 결과가 없습니다."));var B=n(28407),T=n(46026),P=n(10697),M=n(71658),H=n(1194),I=n(5444),K=n(95323),U=n(4026),$=n(61617);let Y=null;const J=()=>"undefined"==typeof window?Promise.resolve(null):window.Kakao&&window.Kakao.isInitialized&&window.Kakao.isInitialized()?Promise.resolve(window.Kakao):Y||(Y=(0,B.A)(function*(){var e;const t=null===(e=(0,U.getConfig)().app.sns)||void 0===e?void 0:e.kakao_js_key;if(!t)throw new Error("KAKAO_JS_KEY 가 설정되지 않았습니다. .env 와 Kakao Developers 콘솔을 확인해 주세요.");if(yield new Promise((e,t)=>{const n=document.querySelector("script[data-kakao-sdk]");if(n)return window.Kakao?e():(n.addEventListener("load",()=>e()),void n.addEventListener("error",t));const r=document.createElement("script");r.src="https://t1.kakaocdn.net/kakao_js_sdk/2.7.4/kakao.min.js",r.async=!0,r.setAttribute("data-kakao-sdk","true"),r.onload=()=>e(),r.onerror=t,document.head.appendChild(r)}),!window.Kakao)throw new Error("Kakao SDK 로드 실패");return window.Kakao.isInitialized()||window.Kakao.init(t),window.Kakao})(),Y.catch(()=>{Y=null}),Y),q=function(){var e=(0,B.A)(function*({store:e,url:t,imageUrl:n}){try{const r=yield J();if(!r)return;const l=`${window.location.origin}/static/img/home-hero/main-bottom1.webp`;r.Share.sendDefault({objectType:"location",address:e.address1||"",addressTitle:e.name,content:{title:e.name,description:[e.c_type,e.address1].filter(
1Boolean).join(" · "),imageUrl:n||l,link:{mobileWebUrl:t,webUrl:t}}})}catch(e){throw $.A.error("카카오 공유 실패",{error:null==e?void 0:e.message}),e}});return function(t){return e.apply(this,arguments)}}(),Q=({isOpen:e,onClose:t,store:n})=>{const{showAlert:l}=(0,k.Z)(),[a,s]=(0,r.useState)(!1);if((0,r.useEffect)(()=>{e&&J().catch(()=>{})},[e]),!e||!n)return null;const p=`${window.location.origin}/store-locator?store=${n.id}`,d=function(){var e=(0,B.A)(function*(){if(!a){s(!0);try{yield q({store:n,url:p}),t()}catch(e){l((null==e?void 0:e.message)||"카카오 공유에 실패했습니다.")}finally{s(!1)}}});return function(){return e.apply(this,arguments)}}();return r.createElement(r.Fragment,null,r.createElement(T.aF,{isOpen:e,onClose:t,isCentered:!0,size:"m"},r.createElement(P.m,null),r.createElement(M.$,null,r.createElement(H.s,null),r.createElement(I.r,null,"공유하기"),r.createElement(K.c,null,r.createElement(i.s,{direction:"column",gap:"24px"},r.createElement(i.s,{justify:"center",align:"center",p:"32px",bg:"#FAFAFA",borderRadius:"20px"},r.createElement(i.s,{gap:"24px"},r.createElement(o.a,{onClick:d},r.createElement(j,null)),r.createElement(o.a,{onClick:()=>{var e;
1null===(e=navigator.clipboard)||void 0===e||e.writeText(p).catch(()=>{}),l("URL이 복사되었습니다.")},cursor:"pointer"},r.createElement(i.s,{justify:"center",align:"center",w:"48px",h:"48px",bg:"#FFFFFF",borderRadius:"33px",boxShadow:"0px 6px 10px rgba(29, 29, 31, 0.02), 0px 1px 16px rgba(29, 29, 31, 0.04)"},r.createElement(v.FU,null))))),r.createElement(c.E,{variant:"f14",color:"gray.600",textAlign:"center"},"시크릿 모드에서는 일부 공유 기능 이용에 제한이 있을 수 있습니다.")),r.createElement(i.s,{justify:"center"},r.createElement(y.A,{size:"compact",variant:"solid-black",w:"80px",h:"44px",bg:"#26272A",fontWeight:700,onClick:t},"확인"))))))},Z=({store:e,isSelected:t,onSelect:n,onShare:l,onCardClick:a,onCopyAddress:s})=>r.createElement(i.s,{direction:"column",p:{base:"24px",lg:"40px"},gap:{base:"16px",lg:"20px"},bg:"#FFFFFF",border:t?"2px solid #00C8F5":"1.5px solid #E1E3E6",borderRadius:{base:"16px",lg:"24px"},cursor:"pointer",onClick:()=>a&&a(e),_hover:{borderColor:"primary"}},r.createElement(i.s,{direction:"column",gap:"10px"},r.createElement(i.s,{justify:"space-between",align:"center"},r.createElement(c.E,{variant:"f18"},(0,S.Dc)(e.c_storeCategory,S.Bi).join(" / ")||"릴 미니멀리움"),r.createElement(i.s,{justify:"center",align:"center",px:"10px",h:{base:"24px",lg:"28px"},bg:"직영매장"===e.c_type?"#E2FBFF":"#DBEAFE",borderRadius:"32px"},r.createElement(c.E,{fontSize:{base:"13px",lg:"15px"},color:"직영매장"===e.c_type?"#00C8F5":"#1E3A8A"},e.c_type||"편의점"))),r.createElement(c.E,{fontWeight:700,variant:"f24",lineHeight:{base:"22px",lg:"29px"}},e.name),r.createElement(i.s,{justify:"space-between",align:"flex-start",flexWrap:"wrap",display:{base:"flex",lg:"none"}},r.createElement(i.s,{align:"flex-start",gap:"2px",flex:1,minW:0,direction:"column"},r.createElement(c.E,{fontWeight:500,variant:"f18",color:"gray.600",noOfLines:3},_(e.address1||"서울 강남구 강남대로66길 7"))),r.createElement(i.s,{align:"center",gap:"12px",flexShrink:0},r.createElement(o.a,{cursor:"pointer",onClick:t=>{var n;t.stopPropagation(),null===(n=navigator.clipboard)||void 0===n||n.writeText(e.address1||""),s&&s()}},r.createElement(p.E,{src:(0,w.sU)("static/ico/address_copy.svg"),alt:"주소 복사",w:"24px",h:"24px"})),r.createElement(o.a,{cursor:"pointer",onClick:t=>{t.stopPropagation(),l&&l(e)}},r.createElement(v.li,null)))),r.createElement(i.s,{justify:"space-between",align:"flex-start",gap:"12px",flexWrap:"nowrap",display:{base:"none",lg:"flex"}},r.createElement(c.E,{fontWeight:500,variant:"f18",color:"gray.600",flex:1,minW:0},_(e.address1||"서울 강남구 강남대로66길 7")),r.createElement(i.s,{align:"center",gap:"12px",flexShrink:0},r.createElement(o.a,{cursor:"pointer",onClick:t=>{var n;t.stopPropagation(),null===(n=navigator.clipboard)||void 0===n||n.writeText(e.address1||""),s&&s()}},r.createElement(p.E,{src:(0,w.sU)("static/ico/address_copy.svg"),alt:"주소 복사",w:"24px",h:"24px"})),r.createElement(o.a,{cursor:"pointer",onClick:t=>{t.stopPropagation(),l&&l(e)}},r.createElement(v.li,null)))),e.c_storeTags&&r.createElement(c.E,{mt:"2px",variant:"f16",fontWeight:400,color:"gray.500"},(0,S.Dc)(e.c_storeTags,S.RJ).map(e=>`#${e}`).join(" "))),r.createElement(y.A,{size:"large",variant:"outline-black",w:"100%",fontWeight:400,transition:"all 0.2s ease-in-out",onClick:t=>{t.stopPropagation(),n&&n(e)}},"매장 상세보기")),G=({product:e,size:t="lg"})=>{const n="sm"===t;return r.createElement(i.s,{direction:"column",align:"center",gap:n?"8px":"24px",minW:"0"},r.createElement(i.s,(0,A.A)({justify:"center",align:"center",bg:"#F9F9F9",overflow:"hidden",borderRadius:n?"8px":"12px"},n?{maxW:"160px",maxH:"160px",w:"100%",h:"100%",aspectRatio:"1 / 1"}:{w:"160px",h:"140px"}),e.image?r.createElement(p.E,{src:(0,b.i)(e.image,"sw=240&q=80"),alt:e.name,maxW:"120px",maxH:"120px",objectFit:"contain"}):r.createElement(d.E,{w:"120px",h:"120px"})),r.createElement(i.s,{direction:"column",align:"center",gap:n?"2px":"4px",w:n?"90%":"160px"},r.createElement(c.E,{fontWeight:600,fontSize:n?"14px":"20px",lineHeight:1.3,textAlign:"center",w:"100%",noOfLines:2,minH:"2.6em"},e.name)))},N=()=>{const{allStores:e,selectedMapStore:t,setSelectedMapStore:n,setSearchCoordinates:A,resetToDefaultLocation:W,searchTerm:z,setSearchTerm:j,selectedCategories:B,setSelectedCategories:T,toggleCategory:P,selectedTags:M,setSelectedTags:H,toggleTag:I,selectedRegion:K,setSelectedRegion:U,setShowDistance:$,clearFilters:Y,data:J}=(0,g.x)(),{showAlert:q}=(0,k.Z)();(0,r.useEffect)(()=>()=>Y(),[]);const N=(0,l.zy)();(0,r.useEffect)(()=>{const e=new URLSearchParams(N.search),t=e.get("category"),n=e.get("tag");"as"===t?T(["minimallium","service_center"]):"minias"===t?H(["minias"]):t&&S.Q2.some(e=>e.id===t)&&T([t]),n&&S.k$.some(e=>e.id===n)&&H([n]),X(!0)},[]);const[V,X]=(0,r.useState)(!1),[ee,te]=(0,r.useState)([]),[ne,re]=(0,r.useState)(""),[le,ae]=(0,r.useState)(""),[oe,ie]=(0,r.useState)(null),[se,ce]=(0,r.useState)(null),[pe,de]=(0,r.useState)(null),[ue,me]=(0,r.useState)("results"),[xe,ge]=(0,r.useState)(null),[Ee,fe]=(0,r.useState)(null),[he,be]=(0,r.useState)(null),ve=(0,r.useRef)({}),we=(0,r.useRef)(null),Fe=(0,r.useRef)(0),ye=(0,r.useRef)(!1),ke=(0,r.useRef)(null),Ce=(0,r.useRef)(0),Se=(0,r.useRef)(!1);(0,r.useEffect)(()=>{!se&&ye.current&&(ye.current=!1,we.current&&(we.current.scrollTop=Fe.current))},[se]),(0,r.useEffect)(()=>{"results"===ue&&Se.current&&(Se.current=!1,ke.current&&(ke.current.scrollTop=Ce.current))},[ue]);const Ae=(0,r.useRef)(null),We=(0,r.useRef)(null),ze=(0,r.useRef)(null),_e=(0,a.A)({base:!1,lg:!0}),De=(0,r.useRef)(!1);(0,r.useEffect)(()=>
1{if(De.current)return;if(void 0===_e)return;const t=new URLSearchParams(N.search).get("store");if(!t||null==e||!e.length)return;const r=e.find(e=>e.id===t);r&&(De.current=!0,n(r),de(r),_e?ce(r):(ge(r),be("results"),me("storeDetail")))},[e,_e,N.search,n]);const je=((null==B?void 0:B.length)||0)+((null==M?void 0:M.length)||0)+(K&&"all"!==K?1:0)+ee.length;(0,r.useEffect)(()=>{(null!=B&&B.length||null!=M&&M.length)&&(X(!0),ce(null))},[B,M]);const Re=(0,r.useRef)(!0);(0,r.useEffect)(()=>{Re.current?Re.current=!1:(X(!0),ce(null),ge(null),me(e=>"storeDetail"===e||"storePreview"===e?"results":e))},[ne,le,ee]);const{data:Oe}=(0,E.useProductSearch)({parameters:{refine:["cgid=lil","orderable_only=false"],limit:25}}),Le=(0,r.useMemo)(()=>{var e;return(null==Oe||null===(e=Oe.hits)||void 0===e?void 0:e.map(e=>e.productId))||[]},[Oe]),Be=(0,r.useMemo)(()=>(0,h.DQ)(Oe),[Oe]),{data:Te}=(0,f.A)(Le,{expand:["images","prices"]},{enabled:Le.length>0}),{data:Pe}=(0,f.A)(Be,{expand:["images"]},{enabled:Be.length>0}),Me=(0,r.useMemo)(()=>{if(null==Oe||!Oe.hits)return[];const e={};Oe.hits.forEach(t=>{var n;(null===(n=t.representedProducts)||void 0===n?void 0:n.length)>0&&t.representedProducts.forEach(n=>{e[n.productId||n.id]=t.productId})});const t={};((null==Pe?void 0:Pe.data)||[]).forEach(n=>{const r=e[n.id]||n.id.split("-")[0];if(!t[r]){var l,a,o,i,s,c,p,d,u,m;const e=null===(l=n.imageGroups)||void 0===l?void 0:l.find(e=>"large"===e.viewType),x=null===(a=n.imageGroups)||void 0===a?void 0:a[0];t[r]=(null==e||null===(o=e.images)||void 0===o||null===(i=o[0])||void 0===i?void 0:i.disBaseLink)||(null==e||null===(s=e.images)||void 0===s||null===(c=s[0])||void 0===c?void 0:c.link)||(null==x||null===(p=x.images)||void 0===p||null===(d=p[0])||void 0===d?void 0:d.disBaseLink)||(null==x||null===(u=x.images)||void 0===u||null===(m=u[0])||void 0===m?void 0:m.link)||""}});const n=((null==Te?void 0:Te.data)||[]).map(e=>({id:e.id,name:e.name,image:t[e.id]||""})),r=n.findIndex(e=>(e.name||"").includes("노매뉴얼")),l=n.findIndex(e=>(e.name||"").includes("하이브리드")&&!(e.name||"").includes("노매뉴얼"));if(-1!==r&&-1!==l){const e=n[r];n[r]=n[l],n[l]=e}return n},[Oe,Te,Pe]),He=(0,r.useMemo)(()=>{const e={};return null!=Oe&&Oe.hits?(Oe.hits.forEach(t=>{const n=(t.representedProducts||[]).map(e=>e.productId||e.id).filter(Boolean);e[t.productId]=n}),e):e},[Oe]),Ie=(0,r.useMemo)(()=>{const e=new Set(Le);return Object.values(He).forEach(t=>t.forEach(t=>e.add(t))),e},[Le,He]),Ke=(0,r.useMemo)(()=>{const e={};return Me.forEach(t=>{t.image&&(e[t.id]=t.image)}),((null==Pe?void 0:Pe.data)||[]).forEach(t=>{var n,r,l,a,o,i,s,c,p,d;const u=null===(n=t.imageGroups)||void 0===n?void 0:n.find(e=>"large"===e.viewType),m=null===(r=t.imageGroups)||void 0===r?void 0:r[0],x=(null==u||null===(l=u.images)||void 0===l||null===(a=l[0])||void 0===a?void 0:a.disBaseLink)||(null==u||null===(o=u.images)||void 0===o||null===(i=o[0])||void 0===i?void 0:i.link)||(null==m||null===(s=m.images)||void 0===s||null===(c=s[0])||void 0===c?void 0:c.disBaseLink)||(null==m||null===(p=m.images)||void 0===p||null===(d=p[0])||void 0===d?void 0:d.link)||"";x&&(e[t.id]=x)}),e},[Me,Pe]),Ue=xe||se,$e=(0,r.useMemo)(()=>(0,S.rS)(Ue),[Ue]),{data:Ye}=(0,f.A)($e,{expand:["images","variations"]},{enabled:$e.length>0}),Je=(0,r.useMemo)(()=>{const e={};return Me.forEach(t=>{t.name&&(e[t.id]=t.name)}),e},[Me]),qe=(0,r.useMemo)(()=>{if(null==Ye||!Ye.data)return[];const e=new Map;return Ye.data.forEach(t=>{var n,r,l,a,o,i,s,c,p,d,u,m;const x=!0===(null===(n=t.type)||void 0===n?void 0:n.master)?t.id:(null===(r=t.master)||void 0===r?void 0:r.masterId)||t.id;if(!Ie.has(t.id)&&!Ie.has(x))return;if(e.has(x))return;const g=null===(l=t.imageGroups)||void 0===l?void 0:l.find(e=>"large"===e.viewType),E=null===(a=t.imageGroups)||void 0===a?void 0:a[0],f=Ke[x]||Ke[t.id]||(null==g||null===(o=g.images)||void 0===o||null===(i=o[0])||void 0===i?void 0:i.disBaseLink)||(null==g||null===(s=g.images)||void 0===s||null===(c=s[0])||void 0===c?void 0:c.link)||(null==E||null===(p=E.images)||void 0===p||null===(d=p[0])||void 0===d?void 0:d.disBaseLink)||(null==E||null===(u=E.images)||void 0===u||null===(m=u[0])||void 0===m?void 0:m.link)||"",h=Je[x]||t.name||"";e.set(x,{id:x,name:h,image:f})}),Array.from(e.values())},[Ye,Ie,Ke,Je]),Qe=(0,r.useMemo)(()=>{let e=(null==J?void 0:J.data)||[];return ne&&(e=e.filter(e=>{var t,n,r;return(null===(t=e.stateCode)||void 0===t?void 0:t.startsWith(ne))||(null===(n=e.city)||void 0===n?void 0:n.startsWith(ne))||(null===(r=e.address1)||void 0===r?void 0:r.startsWith(ne))})),le&&(e=e.filter(e=>{var t,n;return(null===(t=e.city)||void 0===t?void 0:t.includes(le))||(null===(n=e.address1)||void 0===n?void 0:n.includes(le))})),ee.length>0&&(e=e.filter(e=>{const t=(0,S.rS)(e);if(0===t.length)return!1;const n=new Set(t);return ee.some(e=>!!n.has(e)||(He[e]||[]).some(e=>n.has(e)))})),e},[J,ne,le,ee,He]),[Ze,Ge]=(0,r.useState)(30);(0,r.useEffect)(()=>{Ge(30)},[Qe.length,z,B,M,K,ne,le,ee]);const Ne=(0,r.useMemo)(()=>Qe.slice(0,Ze),[Qe,Ze]),Ve=(0,r.useCallback)(e=>{const t=e.currentTarget;t.scrollHeight-t.scrollTop-t.clientHeight<300&&Ge(e=>e<Qe.length?e+30:e)},[Qe.length]),Xe=(0,r.useCallback)((e,t)=>{const n=e.current,r=t.current;if(!n||!r)return;const l=n.clientHeight,a=n.scrollHeight-n.clientHeight;if(a<=0)return void(r.style.height="0px");const o=Math.max(40,n.clientHeight/n.scrollHeight*l),i=n.scrollTop/a;r.style.height=`${o}px`,r.style.transform=`translateY(${i*(l-o)}px)`},[]),et=(0,r.useCallback)((e,t,n)=>{e.preventDefault();const r=t.current,l=n.current;if(!r||!l)return;const a=e.clientY,o=r.scrollTop,i=r.scrollHeight-r.clientHeight,s=r.clientHeight-(l.offsetHeight||40);if(i<=0||s<=0)return;const c=e=>{const t=e.clientY-a;r.scrollTop=o+t/s*i},p=()=>{document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",p),document.body.style.userSelect=""};document.body.style.userSelect="none",document.addEventListener("mousemove",c),document.addEventListener("mouseup",p)},[]);(0,r.useEffect)(()=>
1{if(!_e)return;if(Xe(we,Ae),Xe(We,ze),"undefined"==typeof window)return;const e=()=>{Xe(we,Ae),Xe(We,ze)};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[_e,V,se,Ne,Qe.length,Me,Xe]);const tt=(0,r.useCallback)(t=>{const n=e.find(e=>e.id===t);n&&ie(n)},[e]),nt=(0,r.useCallback)(t=>{const n=e.find(e=>e.id===t);n&&(ce(n),X(!0),we.current&&(we.current.scrollTop=0))},[e]);(0,r.useEffect)(()=>("undefined"!=typeof window&&(window.__storeShareClick=tt,window.__storeDetailClick=nt),()=>{"undefined"!=typeof window&&(delete window.__storeShareClick,delete window.__storeDetailClick)}),[tt,nt]);const rt=()=>{X(!0),_e||me("results")},lt=e=>{"Enter"===e.key&&rt()},at=(0,r.useCallback)(e=>{const t=e||"";$(!1),re(t),ae(""),W();const n=S.vU[t];t&&n&&(A(n),de({id:`region-${t}`,latitude:n.lat,longitude:n.lng}),X(!0),_e||me("results"))},[W,A,$,_e]),ot=(0,r.useCallback)(e=>{const t=e||"";if($(!1),ae(t),t){const e=((null==J?void 0:J.data)||[]).find(e=>{var n,r;return(null===(n=e.city)||void 0===n?void 0:n.includes(t))||(null===(r=e.address1)||void 0===r?void 0:r.includes(t))});e&&(de(e),n(e)),X(!0),_e||me("results")}},[J,_e,$]),it=e=>{$(!1),te(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},st=e=>{var t;Ce.current=(null===(t=ke.current)||void 0===t?void 0:t.scrollTop)||0,ge(e),be("results"),n(e),de(e),me("storeDetail")};return _e?r.createElement(o.a,{position:"relative",flex:1,overflow:"hidden"},r.createElement(m.A,{title:"매장찾기 | 릴(lil) 홈페이지",description:"릴(lil) 가까운 매장찾기"}),r.createElement(o.a,{position:"absolute",top:"0",left:"0",right:"0",bottom:"0",zIndex:0},r.createElement(x.R,{selectedStore:t,panToStore:pe,stores:Qe,panelOffset:1162,onMarkerClick:e=>{n(e)},onDeselect:()=>n(null),onPanComplete:()=>de(null),height:"100%",width:"100%"})),r.createElement(i.s,{direction:"row",position:"absolute",left:"40px",right:"30px",top:"38px",bottom:"0",bg:"#FFFFFF",boxShadow:"4px 1px 14px rgba(29, 29, 31, 0.04)",borderRadius:"28px 28px 0 0",pt:"40px",px:"40px",pb:"0",gap:"40px",sx:{"@media (max-width: 1199px)":{gap:"20px"}},zIndex:1,maxW:V?"1162px":"632px",transition:"max-width 0.3s ease"},r.createElement(i.s,{direction:"column",w:"552px",minW:"480px",gap:"50px",h:"100%",position:"relative"},r.createElement(i.s,{align:"center",px:"24px",minH:"56px",h:"56px",border:"1px solid #B7B7BA",borderRadius:"32px",gap:"8px",flexShrink:0,_hover:{border:"1px solid #00C8F5"},_focusWithin:{borderColor:"#1D1D1F"},transition:"border-color 0.2s ease"},r.createElement(s.p,{variant:"unstyled",placeholder:"매장명 또는 주소를 입력하세요.",value:z||"",onChange:e=>j(e.target.value),onKeyPress:lt,fontSize:"16px",fontWeight:400,color:"#1A1A1A",_placeholder:{color:"#6B7177"},flex:1,h:"100%",border:"none"}),z&&r.createElement(o.a,{cursor:"pointer",onClick:()=>j("")},r.createElement(v.OI,null)),r.createElement(o.a,{cursor:"pointer",onClick:rt},r.createElement(v.dv,null))),r.createElement(i.s,{ref:We,direction:"column",gap:"30px",overflowY:"auto",flex:1,pb:"40px",onScroll:()=>Xe(We,ze),sx:{"&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none",msOverflowStyle:"none"}},r.createElement(i.s,{direction:"column",gap:"10px",mr:"10px"},r.createElement(c.E,{fontWeight:700,fontSize:"24px",lineHeight:"29px"},"매장검색"),r.createElement(i.s,{align:"center",p:"20px",gap:"12px",bg:"#F5F5F7",borderRadius:"16px",overflowX:"auto",flexWrap:"wrap"},S.Q2.map(e=>r.createElement(R,{key:e.id,label:e.label,isActive:null==B?void 0:B.includes(e.id),onClick:()=>P(e.id)})))),r.createElement(i.s,{direction:"column",gap:"24px",mr:"10px"},r.createElement(c.E,{fontWeight:700,fontSize:"24px"},"서비스 검색"),r.createElement(i.s,{align:"center",p:"20px",gap:"12px",bg:"#FAFAFA",borderRadius:"16px",overflowX:"auto",flexWrap:"wrap"},S.k$.map(e=>r.createElement(R,{key:e.id,label:e.label,isActive:null==M?void 0:M.includes(e.id),onClick:()=>I(e.id)})))),r.createElement(i.s,{direction:"column",gap:"24px",mr:"10px"},r.createElement(c.E,{fontWeight:700,fontSize:"24px"},"지역 검색"),r.createElement(i.s,{align:"center",p:"20px",gap:"12px",bg:"#FAFAFA",borderRadius:"16px"},r.createElement(u.A,{options:[{value:"",label:"전체"},...S.g4.map(e=>({value:e,label:e}))],value:ne,onChange:at,placeholder:"시/도",w:"238px",h:"56px"}),r.createElement(u.A,{options:[{value:"",label:"전체"},...(S._L[ne]||[]).map(e=>({value:e,label:e}))],value:le,onChange:ot,placeholder:"구/군",w:"238px",h:"56px",isDisabled:!ne}))),r.createElement(i.s,{direction:"column",gap:"24px"},r.createElement(c.E,{fontWeight:700,fontSize:"24px"},"판매 기기 검색"),r.createElement(i.s,{flexWrap:"wrap",gap:"18px",px:"12px"},Me.map(e=>{const t=ee.includes(e.id);return r.createElement(i.s,{key:e.id,direction:"column",align:"center",gap:"24px",cursor:"pointer",onClick:()=>it(e.id)},r.createElement(i.s,{justify:"center",align:"center",w:"160px",h:"140px",bg:"#F9F9F9",border:"2px s
1olid",borderColor:t?"#00C8F5":"transparent",borderRadius:"12px",overflow:"hidden",transition:"border-color 0.2s ease",_hover:{borderColor:"#00C8F5"}},e.image?r.createElement(p.E,{src:(0,b.i)(e.image,"sw=240&q=80"),alt:e.name,maxW:"120px",maxH:"120px",objectFit:"contain"}):r.createElement(d.E,{w:"120px",h:"120px"})),r.createElement(c.E,{fontWeight:600,fontSize:"20px",lineHeight:1.3,textAlign:"center",w:"160px",noOfLines:2,minH:"2.6em"},e.name))})))),r.createElement(o.a,{position:"absolute",top:"106px",right:"0",bottom:"0",w:"8px"},r.createElement(o.a,{ref:ze,w:"8px",bg:"#D9D9D9",borderRadius:"24px",position:"absolute",top:0,cursor:"pointer",onMouseDown:e=>et(e,We,ze),sx:{userSelect:"none","&:hover":{bg:"#C4C4C4"},"&:active":{bg:"#B0B0B0"}}}))),V&&r.createElement(o.a,{w:"1px",bg:"gray.300",alignSelf:"stretch",flexShrink:0}),V&&r.createElement(i.s,{direction:"row",w:"450px",minW:"360px",h:"100%",gap:"8px"},r.createElement(i.s,{ref:we,direction:"column",flex:1,gap:"16px",overflowY:"auto",h:"100%",pb:"40px",sx:{"&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none",msOverflowStyle:"none"},onScroll:e=>{Ve(e),Xe(we,Ae)}},se?r.createElement(r.Fragment,null,r.createElement(i.s,{justify:"space-between",align:"center",position:"sticky",top:"0",bg:"#FFFFFF",zIndex:2,py:"4px"},r.createElement(i.s,{align:"center",gap:"4px",cursor:"pointer",onClick:()=>{ye.current=!0,ce(null)}},r.createElement(o.a,{as:"svg",w:"24px",h:"24px",viewBox:"0 0 24 24"},r.createElement("path",{d:"M15 4L7 12L15 20",fill:"none",stroke:"#26272A",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),r.createElement(c.E,{fontWeight:700,fontSize:"24px"},"매장 상세보기")),r.createElement(o.a,{as:"button",w:"24px",h:"24px",cursor:"pointer",onClick:()=>{ce(null),X(!1)}},r.createElement(o.a,{as:"svg",w:"24px",h:"24px",viewBox:"0 0 24 24"},r.createElement("path",{d:"M5 5L19 19M19 5L5 19",stroke:"#26272A",strokeWidth:"2",strokeLinecap:"round"})))),r.createElement(i.s,{direction:"column",p:"40px",gap:"20px",bg:"#FFFFFF",border:"1px solid #E1E3E6",borderRadius:"24px"},r.createElement(i.s,{direction:"column",gap:"12px"},r.createElement(i.s,{justify:"space-between",align:"center"},r.createElement(c.E,{fontWeight:500,fontSize:"18px"},(0,S.Dc)(se.c_storeCategory,S.Bi).join(" / ")||"릴 미니멀리움"),r.createElement(i.s,{justify:"center",align:"center",px:"10px",h:{base:"24px",lg:"28px"},bg:"직영매장"===se.c_type?"#E2FBFF":"#DBEAFE",borderRadius:"32px"},r.createElement(c.E,{fontSize:{base:"13px",lg:"15px"},color:"직영매장"===se.c_type?"#00C8F5":"#1E3A8A"},se.c_type||"편의점"))),r.createElement(c.E,{fontWeight:700,fontSize:"24px"},se.name),r.createElement(i.s,{justify:"space-between",align:"flex-start",gap:"12px"},r.createElement(c.E,{fontWeight:500,fontSize:"18px",color:"gray.600",flex:1,minW:0},_(se.address1)),r.createElement(i.s,{align:"center",gap:"12px",flexShrink:0},r.createElement(o.a,{cursor:"pointer",onClick:()=>{var e;
1null===(e=navigator.clipboard)||void 0===e||e.writeText(se.address1||""),q("주소를 복사하였습니다.")}},r.createElement(p.E,{src:(0,w.sU)("static/ico/address_copy.svg"),alt:"주소 복사",w:"24px",h:"24px"})),r.createElement(o.a,{cursor:"pointer",onClick:()=>ie(se)},r.createElement(v.li,null))))),r.createElement(i.s,{direction:"column",gap:"16px"},r.createElement(i.s,{align:"center",gap:"8px"},r.createElement(F.JZ,null),r.createElement(c.E,{fontWeight:500,fontSize:"18px"},(0,S.PQ)(se))),r.createElement(D,{rows:(0,S.C8)(se.storeHours),p:"16px 20px",textProps:{fontSize:"14px",textAlign:"center"}})),"직영매장"===se.c_type&&r.createElement(i.s,{direction:"column",gap:"16px"},r.createElement(i.s,{align:"center",gap:"8px"},r.createElement(F.fh,null),r.createElement(c.E,{fontWeight:500,fontSize:"18px"},"전화번호")),r.createElement(c.E,{fontWeight:400,fontSize:"16px",lineHeight:"130%",color:"gray.600"},se.phone||"080-931-0399")),r.createElement(i.s,{direction:"column",gap:"16px"},r.createElement(i.s,{align:"center",gap:"8px"},r.createElement(F.Sz,null),r.createElement(c.E,{fontWeight:500,fontSize:"18px"},"제공 서비스")),se.c_storeTags&&r.createElement(c.E,{fontSize:"16px",color:"gray.600"},(0,S.Dc)(se.c_storeTags,S.RJ).join(", "))),r.createElement(i.s,{direction:"column",gap:"16px"},r.createElement(i.s,{align:"center",gap:"8px"},r.createElement(F.lr,null),r.createElement(c.E,{fontWeight:500,fontSize:"18px"},"구매 가능한 기기")),r.createElement(C.A,{fontSize:"13px",bulletColor:"gray.500",px:"4px"},r.createElement(c.E,{as:"span",color:"gray.600"},"기기 및 컬러별 재고 현황은 매장 상황에 따라 다를 수 있으니,",r.createElement("br",null),"매장에 문의 후 방문해 주세요.")),r.createElement(i.s,{flexWrap:"wrap",gap:"18px"},qe.map(e=>r.createElement(G,{key:e.id,product:e,size:"lg"})),0===qe.length&&r.createElement(c.E,{w:"100%",variant:"f16",color:"gray.600",textAlign:"center",py:"20px"},"판매 중인 기기 정보가 없습니다."))))):r.createElement(r.Fragment,null,r.createElement(i.s,{justify:"space-between",align:"center",position:"sticky",top:0,bg:"#FFFFFF",zIndex:1,pb:"16px"},r.createElement(i.s,{align:"center",gap:"4px"},r.createElement(c.E,{fontWeight:700,fontSize:"24px"},"검색결과"),r.createElement(c.E,{fontWeight:700,fontSize:"24px",color:"primary"},Qe.length)),r.createElement(o.a,{as:"button",w:"24px",h:"24px",cursor:"pointer",onClick:()=>{X(!1),ce(null)}},r.createElement(o.a,{as:"svg",w:"24px",h:"24px",viewBox:"0 0 24 24"},r.createElement("path",{d:"M5 5L19 19M19 5L5 19",stroke:"#26272A",strokeWidth:"2",strokeLinecap:"round"})))),r.createElement(i.s,{direction:"column",gap:"16px"},Ne.map((e,l)=>r.createElement(o.a,{key:e.id||l,ref:t=>{e.id&&(ve.current[e.id]=t)}},r.createElement(Z,{store:e,isSelected:(null==t?void 0:t.id)===e.id,onSelect:e=>{var t;Fe.current=(null===(t=we.current)||void 0===t?void 0:t.scrollTop)||0,ce(e),n(e),de(e),we.current&&(we.current.scrollTop=0)},onShare:ie,onCardClick:e=>{n(e),de(e)},onCopyAddress:()=>q("주소를 복사하였습니다.")}))),0===Qe.length&&r.createElement(L,null)))),r.createElement(o.a,{w:"8px",position:"relative",flexShrink:0,top:"65px"},r.createElement(o.a,{ref:Ae,"data-scroll-thumb":!0,w:"8px",bg:"#D9D9D9",borderRadius:"24px",position:"absolute",top:0,cursor:"pointer",onMouseDown:e=>et(e,we,Ae),sx:{userSelect:"none","&:hover":{bg:"#C4C4C4"},"&:active":{bg:"#B0B0B0"}}})))),r.createElement(Q,{isOpen:!!oe,onClose:()=>ie(null),store:oe})):r.createElement(o.a,{position:"relative",flex:1,overflow:"hidden"},r.createElement(m.A,{title:"매장찾기 | 릴(lil) 홈페이지",description:"릴(lil) 가까운 매장찾기"}),r.createElement(o.a,{position:"absolute",top:"0",left:"0",right:"0",bottom:"0",zIndex:0},r.createElement(x.R,{selectedStore:t,panToStore:pe,stores:Qe,panelOffset:0,onMarkerClick:e=>{n(e),ge(e),fe("pin"),me("storePreview")},onDeselect:()=>n(null),onPanComplete:()=>de(null),height:"100%",width:"100%"})),"map"===ue&&r.createElement(i.s,{direction:"column",position:"absolute",top:"0",left:"0",right:"0",zIndex:1,p:"16px 20px",gap:"12px",bg:"#fff",borderRadius:"0 0 24px 24px",boxShadow:"0px 0px 20px 0px rgba(0, 0, 0, 0.1)"},r.createElement(i.s,{align:"center",px:"24px",h:"56px",bg:"#FFFFFF",border:"1px solid #B7B7BA",borderRadius:"44px",gap:"8px",_hover:{border:"1px solid #00c8f5"},transition:"all 0.2s ease",_focusWithin:{borderColor:"#1D1D1F"}},r.createElement(s.p,{variant:"unstyled",placeholder:"매장명 또는 주소를 입력하세요.",value:z||"",onChange:e=>j(e.target.value),onKeyPress:lt,fontSize:"16px",color:"#1A1A1A",_placeholder:{color:"#6B7177",fontSize:"16px"},flex:1,h:"100%",border:"none"}),z&&r.createElement(o.a,{cursor:"pointer",onClick:()=>j("")},r.createElement(v.OI,null)),r.createElement(o.a,{cursor:"pointer",onClick:rt},r.createElement(v.dv,null))),r.createElement(i.s,{as:"button",align:"center",gap:"10px",onClick:()=>me("search")},r.createElement(i.s,{bg:"#fff",border:"1px solid #e1e3e5",borderRadius:"40px",w:"40px",h:"24px",justifyContent:"center",align:"center"},r.createElement(v.$b,null)),r.createElement(c.E,{fontSize:"16px",color:"gray.600"},"상세검색",je>0&&r.createElement(c.E,{as:"span",color:"primary",ml:"2px"},"(",je,")")))),"search"===ue&&r.createElement(i.s,{direction:"column",position:"fixed",top:"0",left:"0",right:"0",bottom:"0",bg:"#FFFFFF",zIndex:1500,overflowY:"auto"},r.createElement(i.s,{justify:"space-between",align:"center",p:"16px 20px",h:"50px",flexShrink:0,position:"sticky",top:"0",zIndex:3,bg:"#FFFFFF"},r.createElement(c.E,{fontWeight:700,fontSize:"18px"},"상세 검색"),r.createElement(O,{onClick:()=>me("map")})),r.createElement(i.s,{direction:"column",gap:"16px",p:"32px 20px 48px 20px",flex:1},r.createElement(i.s,{direction:"column",gap:"20px"},r.createElement(c.E,{fontWeight:700,fontSize:"16px"},"매장 검색"),r.createElement(i.s,{gap:"8px",flexWrap:"wrap",bg:"bgColor1",p:"24px",borderRadius:"16px"},S.Q2.map(e=>r.createElement(R,{key:e.id,label:e.label,isActive:null==B?void 0:B.includes(e.id),onClick:()=>P(e.id)})))),r.createElement(i.s,{direction:"column",gap:"20px"},r.createElement(c.E,{fontWeight:700,fontSize:"16px"},"서비스 검색"),r.createElement(i.s,{gap:"8px",flexWrap:"wrap",bg:"bgColor1",p:"24px",borderRadius:"16px"},S.k$.map(e=>r.createElement(R,{key:e.id,label:e.label,isActive:null==M?void 0:M.includes(e.id),onClick:()=>I(e.id)}
1)))),r.createElement(i.s,{direction:"column",gap:"20px"},r.createElement(c.E,{fontWeight:700,fontSize:"16px"},"지역 검색"),r.createElement(i.s,{gap:"12px",bg:"bgColor1",p:"24px",borderRadius:"16px"},r.createElement(u.A,{options:[{value:"",label:"전체"},...S.g4.map(e=>({value:e,label:e}))],value:ne||"",onChange:at,placeholder:"전체",flex:1,h:"56px"}),r.createElement(u.A,{options:[{value:"",label:"전체"},...(S._L[ne]||[]).map(e=>({value:e,label:e}))],value:le,onChange:ot,placeholder:"전체",flex:1,h:"56px",isDisabled:!ne}))),r.createElement(i.s,{direction:"column",gap:"16px"},r.createElement(c.E,{fontWeight:700,fontSize:"16px"},"판매 기기 검색"),r.createElement(i.s,{display:"grid",gridTemplateColumns:"minmax(0, 1fr) minmax(0, 1fr)",padding:"0 12px",width:"100%",gap:"20px",justifyItems:"center",mb:"20px"},Me.map(e=>{const t=ee.includes(e.id);return r.createElement(i.s,{key:e.id,direction:"column",align:"center",justify:"center",gap:"8px",minW:"0",cursor:"pointer",onClick:()=>it(e.id)},r.createElement(i.s,{justify:"center",align:"center",maxW:"160px",w:"100%",maxH:"160px",h:"100%",bg:"#F9F9F9",transition:"border-color 0.2s ease",border:"2px solid",borderColor:t?"#00C8F5":"transparent",_hover:{borderColor:"#00C8F5"},borderRadius:"12px",overflow:"hidden",p:"6px 8px"},e.image?r.createElement(p.E,{src:(0,b.i)(e.image,"sw=240&q=80"),alt:e.name,w:"120px",h:"120px",objectFit:"contain"}):r.createElement(d.E,{w:"120px",h:"120px"})),r.createElement(c.E,{fontWeight:700,fontSize:"16px",lineHeight:1.3,textAlign:"center",color:"#1D1D1F",maxW:"154px",noOfLines:2,minH:"2.6em"},e.name))})))),r.createElement(i.s,{p:"24px 20px 12px 20px",gap:"10px",bg:"#fff",w:"100%",bottom:"0px",position:"fixed",boxShadow:"0px 0px 20px 0px rgba(0, 0, 0, 0.1)"},r.createElement(y.A,{size:"large",variant:"outline-black",w:"50%",onClick:e=>{j(""),T([]),H([]),U("all"),re(""),ae(""),te([]),e.currentTarget.blur()},sx:{"@media (hover: none)":{"&:hover":{background:"#FFFFFF",color:"#1D1D1F",borderColor:"#1D1D1F"}}}},"초기화"),r.createElement(y.A,{size:"large",variant:"solid-black",w:"50%",onClick:()=>{rt(),me("results")}},"적용"))),r.createElement(i.s,{direction:"column",gap:"12px",p:"16px 20px",flexShrink:0,bg:"#fff",w:"100%",position:"absolute",boxShadow:"0px 0px 20px 0px rgba(0, 0, 0, 0.1)",borderRadius:"0 0 24px 24px"},r.createElement(i.s,{align:"center",px:"24px",h:"56px",bg:"#FFFFFF",border:"1px solid #1d1d1f",borderRadius:"44px",gap:"12px",_hover:{border:"1px solid #00c8f5"},transition:"all 0.2s ease",_focusWithin:{borderColor:"#1D1D1F"}},r.createElement(s.p,{variant:"unstyled",placeholder:"매장명 또는 주소를 입력하세요.",value:z||"",onChange:e=>j(e.target.value),onKeyPress:lt,fontSize:"16px",color:"gray.700",_placeholder:{color:"gray.600",fontSize:"16px"},flex:1,h:"100%",border:"none"}),z&&r.createElement(o.a,{cursor:"pointer",onClick:()=>j("")},r.createElement(v.OI,null)),r.createElement(o.a,{cursor:"pointer",onClick:rt},r.createElement(v.dv,null))),r.createElement(i.s,{as:"button",align:"center",gap:"10px",w:"fit-content",onClick:()=>me("search")},r.createElement(i.s,{h:"24px",p:"4px 12px",border:"1px solid #E1E3E5",borderRadius:"32px",justifyContent:"center",align:"center"},r.createElement(v.$b,null)),r.createElement(c.E,{fontSize:"16px",color:"gray.600"},"상세검색",je>0&&r.createElement(r.Fragment,null," (",r.createElement(c.E,{as:"span",color:"primary",fontWeight:"700"},je),")")))),"results"===ue&&r.createElement(i.s,{direction:"column",position:"absolute",left:"0",right:"0",bottom:"0",h:0===Qe.length?"200px":1===Qe.length?"auto":"70%",maxH:"70%",bg:"#FFFFFF",borderRadius:"20px 20px 0 0",boxShadow:"0px -4px 16px rgba(0,0,0,0.1)",zIndex:50},r.createElement(i.s,{justify:"space-between",align:"center",px:"24px",h:"56px",flexShrink:0,bg:"#fff",borderRadius:"20px 20px 0 0"},r.createElement(i.s,{align:"center",gap:"4px"},r.createElement(c.E,{fontWeight:700,fontSize:"18px"},"검색결과"),r.createElement(c.E,{fontWeight:700,fontSize:"18px",color:"primary"},Qe.length)),r.createElement(O,{onClick:()=>{me("map"),X(!1)}})),r.createElement(o.a,{ref:ke,flex:"1",overflowY:"auto",onScroll:Ve,sx:{"&::-webkit-scrollbar":{width:"8px"},"&::-webkit-scrollbar-thumb":{background:"#b7b7ba",borderRadius:"4px"},"&::-webkit-scrollbar-track":{background:"transparent"},scrollbarWidth:"thin",scrollbarColor:"#b7b7ba transparent"}},r.createElement(i.s,{direction:"column",gap:"12px",p:"0 16px 16px",h:0===Qe.length?"100%":void 0},Ne.map((e,l)=>r.createElement(o.a,{key:e.id||l},r.createElement(Z,{store:e,isSelected:(null==t?void 0:t.id)===e.id,onSelect:st,onShare:ie,onCardClick:e=>{n(e),de(e),ge(e),fe("results"),me("storePreview")},onCopyAddress:()=>q("주소를 복사하였습니다.")}))),0===Qe.length&&r.createElement(L,null)))),"storePreview"===ue&&xe&&r.createElement(i.s,{direction:"column",position:"fixed",left:"0",right:"0",bottom:"0",bg:"#FFFFFF",boxShadow:"0px -4px 16px rgba(0,0,0,0.1)",borderRadius:"20px 20px 0 0",zIndex:"1104"},r.createElement(i.s,{justify:"space-between",align:"center",p:"24px 24px 0 24px",gap:"12px"},r.createElement(i.s,{align:"center",gap:"10px",flex:1,minW:0},r.createElement(c.E,{variant:"f18",fontWeight:700,noOfLines:1},xe.name),r.createElement(o.a,{cursor:"pointer",onClick:()=>ie(xe),flexShrink:0},r.createElement(v.li,null))),r.createElement(O,{onClick:()=>me("results"===Ee?"results":"map")})),r.createElement(i.s,{direction:"column",p:"24px",gap:"12px"},r.createElement(i.s,{direction:"column",gap:"12px"},r.createElement(i.s,{align:"center",gap:"8px"},r.createElement(F.JZ,null),r.createElement(c.E,{fontWeight:500,variant:"f16"},(0,S.PQ)(xe))),r.createElement(D,{rows:(0,S.C8)(xe.storeHours),p:"24px",textProps:{variant:"f16",color:"#6B7177",textAlign:"center"}})),r.createElement(i.s,{direction:"column",gap:"12px"},r.createElement(i.s,{align:"center",gap:"8px"},r.createElement(F.Sz,null),r.createElement(c.E,{fontWeight:500,variant:"f16"},"제공 서비스")),xe.c_storeTags&&r.createElement(c.E,{variant:"f16",fontWeight:400,color:"#6B7177"},(0,S.Dc)(xe.c_storeTags,S.RJ).join(", "))),r.createElement(y.A,{variant:"outline-black",size:"large",w:"100%",fontWeight:400,onClick:()=>{be("storePreview"),me("storeDetail")}},"매장 상세보기"))),"storeDetail"===ue&&xe&&r.createElement(i.s,{direction:"column",position:"fixed",left:"0",right:"0",top:"0",bottom:"0",bg:"#FFFFFF",boxShadow:"0px -4px 16px rgba(0,0,0,0.1)",zIndex:"1104"},r.createElement(i.s,{justify:"space-between",align:"center",p:"20px 20px 24px 20px"},r.createElement(c.E,{variant:"f24",fontWeight:700},"매장 상세보기"),r.createElement(o.a,{ml:"8px"},r.createElement(O,{onClick:()=>{"results"===he&&(Se.current=!0),me("results"===he?"results":"storePreview")}}))),r.createElement(i.s,{p:"0 20px",pb:"40px",flexDirection:"column",gap:"20px",flex:"1",overflowY:"auto"},r.createElement(i.s,{direction:"column",gap:"12px"},r.createElement(i.s,{justifyContent:"space-between"},r.createElement(c.E,{variant:"f18",fontWeight:500},(0,S.Dc)(xe.c_storeCategory,S.Bi).join(" / ")||"릴 미니멀리움"),r.createElement(i.s,{justify:"center",align:"center",px:"10px",h:{base:"24px",lg:"28px"},bg:"직영매장"===xe.c_type?"#E2FBFF":"#DBEAFE",borderRadius:"32px"},r.createElement(c.E,{variant:"f15",color:"직영매장"===xe.c_type?"#00C8F5":"#1E3A8A"},xe.c_type||"편의점"))),r.createElement(c.E,{fontWeight:700,noOfLines:1,variant:"f24"},xe.name),r.createElement(i.s,{justifyContent:"space-between",alignItems:"flex-start",ga
1p:"12px"},xe.address1&&r.createElement(c.E,{variant:"f18",color:"gray.600",fontWeight:"500",flex:1,minW:0},_(xe.address1)),r.createElement(i.s,{gap:"8px",flexShrink:0},r.createElement(o.a,{cursor:"pointer",onClick:()=>{var e;const t=[xe.address1,xe.address2].filter(Boolean).join(" ");null===(e=navigator.clipboard)||void 0===e||e.writeText(t),q("주소가 복사 되었습니다.")}},r.createElement(p.E,{src:(0,w.sU)("static/ico/address_copy.svg"),alt:"주소 복사",w:"24px",h:"24px"})),r.createElement(o.a,{cursor:"pointer",onClick:()=>ie(xe),flexShrink:0},r.createElement(v.li,null))))),r.createElement(i.s,{direction:"column",gap:"16px"},r.createElement(i.s,{align:"center",gap:"8px"},r.createElement(F.JZ,null),r.createElement(c.E,{fontWeight:500,variant:"f18"},(0,S.PQ)(xe))),r.createElement(D,{rows:(0,S.C8)(xe.storeHours),p:"16px 20px",textProps:{variant:"f16",textAlign:"center"}})),"직영매장"===xe.c_type&&r.createElement(i.s,{direction:"column",gap:"16px"},r.createElement(i.s,{align:"center",gap:"8px"},r.createElement(F.fh,null),r.createElement(c.E,{fontWeight:500,variant:"f18"},"전화번호")),r.createElement(c.E,{fontWeight:400,variant:"f16",color:"gray.600"},xe.phone||"080-931-0399")),r.createElement(i.s,{direction:"column",gap:"16px"},r.createElement(i.s,{align:"center",gap:"8px"},r.createElement(F.Sz,null),r.createElement(c.E,{fontWeight:500,variant:"f18"},"제공 서비스")),xe.c_storeTags&&r.createElement(c.E,{variant:"f16",color:"gray.600"},(0,S.Dc)(xe.c_storeTags,S.RJ).join(", "))),r.createElement(i.s,{direction:"column",gap:"16px"},r.createElement(i.s,{align:"center",gap:"8px"},r.createElement(F.lr,null),r.createElement(c.E,{fontWeight:500,variant:"f18"},"구매 가능한 기기")),r.createElement(C.A,{bulletColor:"gray.600",color:"gray.600",fontSize:"13px"},"기기 및 컬러별 재고 현황은 매장 상황에 따라 다를 수 있으니,",r.createElement("br",null),"매장에 문의 후 방문해 주세요.")),r.createElement(o.a,{display:"grid",gridTemplateColumns:"minmax(0, 1fr) minmax(0, 1fr)",gap:"20px",p:"0 12px"},qe.map(e=>r.createElement(G,{key:e.id,product:e,size:"sm"})),0===qe.length&&r.createElement(c.E,{gridColumn:"1 / -1",variant:"f15",color:"gray.600",textAlign:"center",py:"20px"},"판매 중인 기기 정보가 없습니다.")))),r.createElement(Q,{isOpen:!!oe,onClose:()=>ie(null),store:oe}))};N.getTemplateName=()=>"store-locator";const V=N},89995(e,t,n){n.d(t,{A:()=>F});var r=n(64180),l=n(18801),a=n(77810),o=n(75826),i=n.n(o),s=n(59146),c=n(67234),p=n(33738),d=n(770),u=n(34927),m=n(14154),x=n(70895),g=n(76364),E=n(21052);const f=["isOpen","color"],h=["options","value","onChange","placeholder","label","helperText","isError","errorMessage","isDisabled","disabledValues","h","variant","fitOptions","fitLongestOption","valueFontSize"],b=e=>{let{isOpen:t,color:n}=e,o=(0,l.A)(e,f);return a.createElement(p.I,(0,r.A)({viewBox:"0 0 16 16",boxSize:"16px",color:n,transform:t?"rotate(180deg)":"none",transition:"transform 0.2s"},o),a.createElement("path",{d:"M4 6L8 10L12 6",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))};b.propTypes={isOpen:i().bool,color:i().string};const v={normal:"#B7B7BA",touched:"#1D1D1F",active:"primary",error:"#FF3333",disabled:"#E1E3E6"},w=e=>{let{options:t=[],value:n,onChange:o,placeholder:i="선택해주세요",label:p,helperText:f,isError:w=!1,errorMessage:F,isDisabled:y=!1,disabledValues:k=[],h:C="56px",variant:S="box",fitOptions:A=!1,fitLongestOption:W=!1,valueFontSize:z}=e,_=(0,l.A)(e,h);const D=t.find(e=>e.value===n),j="underline"===S,[R,O]=(0,a.useState)(!1),[L,B]=(0,a.useState)(!1),T=C||"56px",P=e=>`${parseInt(e)}px`,M="object"==typeof T?Object.fromEntries(Object.entries(T).map(([e,t])=>[e,P(t)])):P(T),H=(0,a.useCallback)(e=>y?"disabled":w?"error":e||L?"active":R?"touched":"normal",[y,w,L,R]),I=w&&F?F:f,K=w?"#FF3333":"#6B7177",U=w?"#FF3333":"#999999";return a.createElement(s.a,(0,r.A)({position:"relative",width:W?"fit-content":"100%"},_),p&&a.createElement(c.s,{px:"4px",mb:"8px"},a.createElement(E.E,{fontWeight:700,variant:"f16"},p)),a.createElement(d.W,{matchWidth:!A,isLazy:!0,strategy:"fixed",autoSelect:!1},({isOpen:e})=>{const r=H(e),l="error"===r?"#FF3333":"disabled"===r?"#999999":"#26272A",p="error"===r?"#FF3333":"disabled"===r?"#999999":D?"#1D1D1F":"#6B7177";return a.createElement(a.Fragment,null,a.createElement(u.I,{width:"100%",height:T,px:j?{base:"0",lg:"16px"}:"10px",bg:"disabled"===r?"gray.200":j?{base:"transparent",lg:"#FFFFFF"}:"#FFFFFF",borderStyle:"solid",borderWidth:j?{base:"0 0 1px 0",lg:"1px"}:"1px",borderColor:v[r],borderRadius:j?{base:"0",lg:"8px"}:"8px",cursor:y?"not-allowed":"pointer",isDisabled:y,onMouseEnter:()=>!y&&B(!0),onMouseLeave:()=>B(!1),onFocus:()=>!y&&O(!0),_hover:{},_focus:{outline:"none"},_active:{bg:"disabled"===r?"gray.200":j?{base:"transparent",lg:"#FFFFFF"}:"#FFFFFF"},textAlign:"left"},a.createElement(c.s,{alignItems:"center",gap:{base:"2px",lg:"4px"},width:"100%"},W?a.createElement(s.a,{flex:1,display:"grid",alignItems:"center",sx:{"& > *":{gridColumn:1,gridRow:1,minWidth:0}}},a.createElement(E.E,{fontSize:z||{base:"14px",lg:"16px"},lineHeight:M,color:p,textAlign:"left",isTruncated:!0},D?D.label:i),[i,...t.map(e=>e.label)].map((e,t)=>a.createElement(E.E,{key:`sizer-${t}
1`,"aria-hidden":!0,visibility:"hidden",whiteSpace:"nowrap",fontSize:z||{base:"14px",lg:"16px"},lineHeight:M},e))):a.createElement(E.E,{flex:1,fontSize:z||{base:"14px",lg:"16px"},lineHeight:M,color:p,textAlign:"left",isTruncated:!0},D?D.label:i),a.createElement(b,{isOpen:e,color:l}))),a.createElement(g.Z,null,a.createElement(x.c,{minW:"0",maxHeight:"288px",overflowY:"auto",bg:"#FFFFFF",border:"1px solid #1D1D1F",borderRadius:"8px",boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.1)",py:"16px",zIndex:1500},t.map((e,r)=>{const l=k.includes(e.value)&&e.value!==n;return t.length,a.createElement(m.D,{key:e.value,height:"37px",px:"16px",py:"8px",bg:e.value===n?"rgba(0, 200, 245, 0.05)":"transparent",_hover:l?{}:{bg:"rgba(0, 200, 245, 0.05)"},cursor:l?"not-allowed":"pointer",opacity:l?.4:1,isDisabled:l,onClick:()=>(e=>{k.includes(e.value)&&e.value!==n||null==o||o(e.value)})(e),_focus:{bg:l?"transparent":"rgba(0, 200, 245, 0.05)"}},a.createElement(E.E,{variant:"f16",color:l?"#999":"#1D1D1F",textAlign:"left",isTruncated:!A,whiteSpace:A?"nowrap":void 0},e.label))}))))}),I&&a.createElement(c.s,{px:"4px",mt:"8px",alignItems:"flex-start",gap:"4px"},a.createElement(s.a,{width:"3px",height:"3px",mt:"7px",borderRadius:"50%",bg:U,flexShrink:0}),a.createElement(E.E,{fontSize:"13px",color:K,flex:1},I)))};w.propTypes={options:i().arrayOf(i().shape({value:i().string.isRequired,label:i().string.isRequired})),value:i().string,onChange:i().func,placeholder:i().string,label:i().string,helperText:i().string,isError:i().bool,disabledValues:i().arrayOf(i().string),errorMessage:i().string,isDisabled:i().bool,h:i().oneOfType([i().string,i().object]),variant:i().oneOf(["box","underline"]),fitOptions:i().bool,fitLongestOption:i().bool};const F=w},90892(e,t,n){n.d(t,{A:()=>s});var r=n(10939),l=n(77810),a=n(90031);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach(function(t){(0,r.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}const s=(e,t={},n={})=>{const r=(0,l.useMemo)(()=>{const t=[];for(let n=0;n<e.length;n+=24)t.push(e.slice(n,n+24));for(;t.length<5;)t.push([]);return t},[e.join(",")]),o=e.length>0&&!1!==n.enabled,s=[(0,a.useProducts)({parameters:i(i({},t),{},{ids:r[0].join(",")})},{enabled:o&&r[0].length>0}),(0,a.useProducts)({parameters:i(i({},t),{},{ids:r[1].join(",")})},{enabled:o&&r[1].length>0}),(0,a.useProducts)({parameters:i(i({},t),{},{ids:r[2].join(",")})},{enabled:o&&r[2].length>0}),(0,a.useProducts)({parameters:i(i({},t),{},{ids:r[3].join(",")})},{enabled:o&&r[3].length>0}),(0,a.useProducts)({parameters:i(i({},t),{},{ids:r[4].join(",")})},{enabled:o&&r[4].length>0})],c=Math.max(1,Math.ceil(e.length/24)),p=s.slice(0,c).some(e=>e.isLoading);return{data:(0,l.useMemo)(()=>{if(p||0===e.length)return;const t=s.slice(0,c).filter(e=>{var t;return null===(t=e.data)||void 0===t?void 0:t.data}).flatMap(e=>e.data.data);return t.length>0?{data:t}:void 0},[s.map(e=>e.data).join(","),p,c]),isLoading:p}}},92825(e,t,n){n.d(t,{i:()=>r});const r=(e,t="sw=320&q=80")=>{if(!e)return e;let n=e;return!n.includes("/dw/image/v2/")&&n.includes("/on/demandware.static/")&&(n=n.replace("/on/demandware.static/","/dw/image/v2/BMKF_PRD/on/demandware.static/")),t&&(n+=(n.includes("?")?"&":"?")+t),n}}}]);

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.