PageSourceSearch

https://assets.soulspot.co.kr/assets/soulspot_web_hp/_next/static/…/ai-course/complete-134559bc69def8aa.js

js soulspot.co.kr collected 2026-10-08 11:21:42 UTC 27,838 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[474],{90:(e,t,l)=>{"use strict";l.d(t,{$:()=>n,A:()=>a});var s=l(7876);let n="M4.7706 0.0508929C4.24811 0.160178 3.87517 0.362625 3.49465 0.744229C3.20406 1.03625 3.08196 1.22616 2.95323 1.58806C2.75729 2.14255 2.80084 2.85828 3.07155 3.52653C3.0848 3.55878 2.98541 3.5758 2.69955 3.59192C2.46513 3.60454 2.23266 3.63966 2.00573 3.69673C1.10367 3.94576 0.349276 4.66776 0.0870824 5.53219L0 5.82063V14.7785L0.0870824 15.0669C0.225674 15.5045 0.476904 15.9026 0.818224 16.2257C1.15954 16.5487 1.58027 16.7864 2.04265 16.9176L2.34744 17H14.6526L14.9574 16.9176C15.4197 16.7864 15.8405 16.5487 16.1818 16.2257C16.5231 15.9026 16.7743 15.5045 16.9129 15.0669L17 14.7785V5.82063L16.9129 5.53219C16.6507 4.66776 15.8963 3.94576 14.9943 3.69673C14.7673 3.63966 14.5349 3.60454 14.3004 3.59192C14.0146 3.5758 13.9152 3.55878 13.9285 3.52653C14.1793 2.90754 14.2399 2.18106 14.0818 1.68211C13.9512 1.26916 13.7978 1.03357 13.4419 0.695857C12.962 0.24259 12.5238 0.0508929 11.8697 0.00968688C10.7329 -0.0619757 9.4863 0.403831 8.69594 1.1957L8.5 1.39098L8.30407 1.1957C7.92355 0.814995 7.30262 0.426226 6.79621 0.254236C6.09861 0.0159574 5.31487 -0.0619757 4.7706 0.0508929ZM5.90362 1.86037C6.27751 1.95085 6.51414 2.07447 6.81515 2.33514C7.11804 2.5976 7.34143 2.91113 7.43987 3.21211C7.57333 3.62148 7.65095 3.58744 6.61637 3.5749C5.73324 3.56326 5.71336 3.56147 5.50134 3.46741C5.21183 3.33204 4.97
176 3.11006 4.83497 2.83588C4.69961 2.55998 4.69109 2.18554 4.81698 2.01893C4.99493 1.78155 5.35935 1.72869 5.90362 1.86037ZM11.9691 1.84783C12.1868 1.94547 12.2673 2.09059 12.2663 2.38082C12.2654 2.83409 11.9625 3.26138 11.4987 3.46741C11.2866 3.56147 11.2668 3.56326 10.3836 3.5749C9.34905 3.58744 9.42667 3.62148 9.56013 3.21211C9.70117 2.78034 10.164 2.26079 10.6155 2.02878C11.0244 1.81738 11.7012 1.7278 11.9691 1.84783ZM7.55345 7.1643V8.95587H1.87133L1.88174 7.47783L1.8931 5.99979L1.99816 5.83048C2.11648 5.63968 2.29917 5.49457 2.50835 5.4238C2.62099 5.38528 3.15295 5.37543 5.10189 5.37453L7.55345 5.37274V7.1643ZM14.4916 5.4238C14.7008 5.49457 14.8835 5.63968 15.0018 5.83048L15.1069 5.99979L15.1183 7.47783L15.1287 8.95587H9.44655V5.37274L11.8981 5.37453C13.847 5.37543 14.379 5.38528 14.4916 5.4238ZM7.55345 12.9869V15.2263L5.10189 15.2246C3.15295 15.2237 2.62099 15.2138 2.50835 15.1753C2.29338 15.1002 2.11291 14.9563 1.99816 14.7686L1.8931 14.5993L1.88268 12.6734L1.87133 10.7474H7.55345V12.9869ZM15.1173 12.6734L15.1069 14.5993L15.0018 14.7686C14.8871 14.9563 14.7066 15.1002 14.4916 15.1753C14.379 15.2138 13.847 15.2237 11.8981 15.2246L9.44655 15.2263V10.7474H15.1287L15.1173 12.6734Z";function a(e){let{className:t}=e;return(0,s.jsx)("svg",{className:t,width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:n,fill:"currentColor"})})}},305:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});var s=l(4232),n=l(2655);function a(){let[e,t]=(0,s.useState)(!1);return(0,s.useEffect)(()=>t((0,n.a)()),[]),e}},396:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/ai-course/complete",function(){return l(8924)}])},1295:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});let s={src:"https://assets.soulspot.co.kr/assets/soulspot_web_hp/_next/static/media/img_stamp.d97c152b.webp",height:216,width:216,blurDataURL:"data:image/webp;base64,UklGRrwAAABXRUJQVlA4WAoAAAAQAAAABwAABwAAQUxQSD0AAAABX2CmbZsW1SiO7/6ZRkREHG/aBSW19WR2kw/kGuDQKGKQgBpEQM1Dg7+wEf2Pmb40cIMToQbIBquDj7IVAFZQOCBYAAAA8AIAnQEqCAAIAAJAOCWYABDwO8A9BjfAP1ANVZa3SSAA/u5tzWiRlkDSiZ9H3w4UXMbz/qFEJeOpegFyqPTZ1lXA5XgS/cuyfq5ctNzVH/5JepP3sU4AAA==",blurWidth:8,blurHeight:8}},2655:(e,t,l)=>{"use strict";function s(){let e=window.parent;return!!e.navigator.userAgent&&(null!==e.navigator.userAgent.match(/iPhone|iPad|iPod/i)||"MacIntel"===e.navigator.platform&&e.navigator.maxTouchPoints>2)}l.d(t,{a:()=>s})},2957:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var s=l(7876),n=l(7209),a=l(9720),i=l(2301),r=l(8217);function o(e){let{className:t}=e,{t:l}=(0,n.Bd)(r.VN);return(0,s.jsxs)("div",{className:(0,i.cn)("flex w-full items-center justify-center gap-[10px] rounded-[10px] bg-[#F4F5F7] px-[15px] py-[5px]",t),children:[(0,s.jsx)(a.h,{className:"w-[13px] shrink-0 text-[#717278]"}),(0,s.jsx)("span",{"aria-hidden":!0,className:"h-[13px] w-px shrink-0 bg-[#7172784D]"}),(0,s.jsx)("p",{className:"soul-selectable text-center text-[13px] leading-[25px] font-semibold whitespace-nowrap text-[#717278]",children:l("prize_contact")})]})}},3007:(e,t,l)=>{"use strict";l.d(t,{DX:()=>n,pv:()=>a});var s=l(3301);let n="YYYY.MM.DD";function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?(0,s.A)(e).format(t||"YYYY-MM-DD HH:mm:ss"):null}},3301:(e,t,l)=>{"use strict";l.d(t,{A:()=>x});var s=l(6557),n=l.n(s),a=l(1576),i=l.n(a),r=l(4301),o=l.n(r),c=l(8962),d=l.n(c);n().extend(i()),n().extend(o()),n().extend(d()),n().tz.setDefault("Asia/Seoul");let x=n()},3547:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var s=l(7876),n=l(7209);function a(e){let{className:t=""}=e;return(0,s.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsxs)("g",{clipPath:"url(#icon-my-location)",children:[(0,s.jsx)("path",{d:"M10.9943 18.9902C15.4103 18.9902 18.9901 15.4104 18.9901 10.9944C18.9901 6.5784 15.4103 2.99854 10.9943 2.99854C6.57828 2.99854 2.99841 6.5784 2.99841 10.9944C2.99841 15.4104 6.57828 18.9902 10.9943 18.9902Z",stroke:"currentColor",strokeWidth:"1.49922"}),(0,s.jsx)("path",{d:"M10.9943 13.493C12.3743 13.493 13.493 12.3743 13.493 10.9943C13.493 9.61431 12.3743 8.49561 10.9943 8.49561C9.61431 8.49561 8.49561 9.61431 8.49561 10.9943C8.49561 12.3743 9.61431 13.493 10.9943 13.493Z",fill:"currentColor"}),(0,s.jsx)("path",{d:"M10.9943 0.999512V4.99744",stroke:"currentColor",strokeWidth:"1.49922",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M10.9943 16.9912V20.9891",stroke:"currentColor",strokeWidth:"1.49922",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M0.999512 10.9941H4.99744",stroke:"currentColor",strokeWidth:"1.49922",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M16.9912 10.9941H20.9891",stroke:"currentColor",strokeWidth:"1.49922",strokeLinecap:"round"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"icon-my-location",children:(0,s.jsx)("rect",{width:"21.9886",height:"21.9886",fill:"white"})})})]})}var i=l(2301),r=l(8217);function o(e){let{onClick:t,className:l}=e,{t:o}=(0,n.Bd)(r.VN);return(0,s.jsx)("button",{type:"button",onClick:t,"aria-label":o("my_location"),className:(0,i.cn)("flex h-[40px] w-[40px] items-center justify-center rounded-[12px] border-[1.34px] border-[#
1EEEEEE] bg-white text-[#000000] shadow-[1px_2px_2px_-4px_#0000001A,2px_7px_15px_-3px_#0000001A] active:scale-[0.98]",l),children:(0,s.jsx)(a,{})})}},3774:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var s=l(7876),n=l(1777),a=l(9394),i=l(6130),r=l(9835),o=l(9156),c=l(5611);function d(e){var t;let{onRestart:l,detail:d}=e,x=(0,n.d4)(o.q),p=(0,n.d4)(o.K2),u=(0,c.kG)(null!=(t=null==x?void 0:x.code)?t:null)||(0,r.Aw)(null==p?void 0:p.name);return(0,s.jsx)(i.A,{children:(0,s.jsx)(a.A,{isOpened:!u,detail:d,onRestart:l,onRetry:()=>window.location.reload()})})}},4549:(e,t,l)=>{"use strict";l.d(t,{F_:()=>p,Gn:()=>c,s$:()=>d,sL:()=>x,se:()=>o});var s=l(3800),n=l(8117);let a=[n.ES,n.St,n.Z_,n.P3],i=[[/pop/i,n.ES],[/drama/i,n.St],[/movie|film/i,n.Z_]],r={"k-pop":n.ES,"k-drama":n.St,"k-movie":n.Z_,"k-contents":n.P3};function o(e,t){let l=(null!=e?e:[]).find(e=>e.id===t);if(!l)return console.warn("No matching post category (id: ".concat(t,")!")),n.ES;let s=function(e){if(null==e||""===e)return null;let t=r[e.toLowerCase()];if(void 0!==t)return t;let l=Number(e);return a.includes(l)?l:null}(l.key);if(null!==s)return s;let o=i.find(e=>{let[t]=e;return t.test(l.name)});return o?o[1]:(console.warn("Unknown post category name (".concat(l.name,")!")),n.ES)}function c(e,t){var l;return o((null==(l=e.post_categories)?void 0:l.length)?e.post_categories:t,e.post.category_id)}function d(e){var t;return null!=(t=n.Uh[null!=e?e:s.KY])?t:n.qL}function x(e){try{return new URL(e,window.location.origin).origin}catch(e){return""}}function p(e){var t;return null!=(t=Array.isArray(e)?e[0]:e)?t:""}},5123:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var s=l(4232),n=l(4161),a=l(7268);function i(e){let[t,l]=(0,s.useState)(null),[i,r]=(0,s.useState)(null),o=(0,s.useCallback)(async()=>{var t;let{status:s,coordinates:i}=await (0,a.AM)(n.$h);if(!i)return void r(s===n.$n?"denied":"unavailable");l(i),null==(t=e.current)||t.panTo(i)},[e]);return{coordinates:t,error:i,clearError:(0,s.useCallback)(()=>r(null),[]),moveToMyLocation:o}}},5140:(e,t,l)=>{"use strict";l.d(t,{A:()=>p});var s=l(7876),n=l(4232),a=l(7209),i=l(3074),r=l(3998),o=l(2301),c=l(8217);let d="max-w-[270px]",x="aspect-[900/495]";function p(e){let{coupon:t}=e,{t:l}
1=(0,a.Bd)(c.VN),[p,u]=(0,n.useState)(null),h=t.barcode_image&&t.barcode_image!==p?t.barcode_image:null;return(0,s.jsx)("div",{className:(0,o.cn)("flex w-full flex-col items-center rounded-[10px] bg-[#F8F7F4] px-[20px] pt-[20px]",!h&&"pb-[20px]"),children:(0,s.jsxs)("div",{className:"flex w-full max-w-[290px] flex-col items-center",children:[t.prize.coupon_image?(0,s.jsx)("div",{className:(0,o.cn)("relative w-full rounded-[10px]",d),children:(0,s.jsx)(i.A,{src:t.prize.coupon_image,alt:t.prize.name,hugsHeight:!0,reserveClassName:x})}):(0,s.jsx)("div",{className:(0,o.cn)("flex w-full items-center justify-center rounded-[10px]",x,d),children:(0,s.jsx)("span",{className:"text-ai-gray-300 text-[13px] leading-[20px]",children:l("prize_gifticon_alt")})}),h?(0,s.jsx)("div",{className:"relative w-full",children:(0,s.jsx)(i.A,{src:h,alt:t.code,hugsHeight:!0,reserveClassName:"aspect-[350/125]",className:"mix-blend-multiply",onError:()=>u(h)})}):(0,s.jsx)("p",{className:"my-[20px] w-full text-[#555555] text-center text-[20px] leading-[30px] font-medium tracking-[1px]",children:(0,r.D5)(t.code)})]})})}},6449:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var s=l(7876),n=l(7209),a=l(305),i=l(2379),r=l(8217);function o(e){let{error:t,onClose:l}=e,{t:o}=(0,n.Bd)(r.VN),c="denied"===t,d=(0,a.A)()&&c;return(0,s.jsx)(i.A,{isOpened:!!t,title:o(c?"game_location_denied_title":"game_location_unavailable_title"),description:o(d?"location_permission_reload_description":c?"location_permission_description":"game_location_unavailable_description"),primaryButtonText:o(d?"game_location_reload":"confirm"),onPrimaryClick:d?()=>window.location.reload():l})}},6868:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var s=l(7876),n=l(7209),a=l(90),i=l(8217);function r(e){let{headlineKey:t,description:l,notes:r,footnote:o}=e,{t:c}=(0,n.Bd)(i.VN);return(0,s.jsxs)("div",{className:"flex flex-col items-center",children:[(0,s.jsxs)("p",{className:"mb-[5px] text-center text-[18px] leading-[25px] font-bold break-keep",children:[(0,s.jsx)(a.A,{className:"text-ai-accent-pink mr-[6px] inline-block align-[-2px]"}),(0,s.jsx)(n.x6,{i18nKey:t,t:c,components:{1:(0,s.jsx)("span",{className:"text-ai-accent-pink"})}})]}),l?(0,s.jsx)("p",{className:"text-ai-gray-300 text-center text-[16px] leading-[22px] whitespace-pre-wrap",children:l}):null,(null==r?void 0:r.length)?(0,s.jsx)("ul",{className:"text-ai-gray-300 flex flex-col gap-[2px] text-center text-[16px] leading-[22px]",children:r.map(e=>(0,s.jsxs)("li",{className:"whitespace-pre-line",children:[(0,s.jsx)("span",{"aria-hidden":!0,children:"• "}),e]},e))}):null,o?(0,s.jsx)("p",{className:"text-ai-gray-300 mt-[15px] text-center text-[16px] leading-[22px] whitespace-pre-line",children:o}):null]})}},8725:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var s=l(4232);let n=function(e){let{enabled:t=!0,onIntersect:l,rootMargin:n="0px",threshold:a=0}=e,[i,r]=(0,s.useState)(null),o=(0,s.useRef)(l),c=(0,s.useRef)(!1),d=(0,s.useCallback)(e=>{r(e)},[]);return(0,s.useEffect)(()=>{o.current=l},[l]),(0,s.useEffect)(()=>{if(!t||!i)return;let e=()=>{c.current||(c.current=!0,Promise.resolve().then(()=>o.current()).catch(e=>{console.error(e)}).finally(()=>{c.current=!1}))};if("undefined"==typeof IntersectionObserver)return void e();let l=new IntersectionObserver(t=>{let l=t[0];l&&function(e){let{width:t,height:l}=e.intersectionRect;return t*l>=1}(l)&&e()},{rootMargin:n,threshold:a});return l.observe(i),()=>{l.disconnect()}},[t,n,i,a]),{observedRef:d}}},8924:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSP:()=>es,default:()=>en});var s=l(7876),n=l(3592),a=l(809),i=l(1213),r=l(4232),o=l(9099),c=l(1777),d=l(553),x=l(7209),p=l(3774),u=l(8477),h=l(9759),m=l(5875),f=l(3547),g=l(6449),j=l(5123);function b(e){let{post:t,title:l,backLabel:n,onClose:a}=e,i=(0,r.useMemo)(()=>[t],[t]),o=(0,r.useRef)(null),{coordinates:c,error:d,clearError:x,moveToMyLocation:p}=(0,j.A)(o);return(0,u.createPortal)((0,s.jsxs)("div",{className:"fixed inset-0 z-40 bg-white",children:[(0,s.jsx)(m.A,{posts:i,hideNumbers:!0,hidePath:!0,keepCameraOnUnfocus:!0,markerWidth:41,myLocation:c,controlRef:o,className:"absolute inset-0 h-full w-full bg-[#EEEEEE]"}),(0,s.jsx)(h.A,{title:l,onBack:a,backLabel:n,className:"absolute top-0 left-0 z-20 w-full"}),(0,s.jsx)(f.A,{onClick:()=>void p(),className:"absolute right-[20px] bottom-[40px] z-20"}),(0,s.jsx)(g.A,{error:d,onClose:x})]}),document.body)}var k=l(8230),A=l.n(k),w=l(8725);function v(){return(0,s.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M11.875 2.5H3.125C2.43464 2.5 1.875 3.05964 1.875 3.75V12.5C1.875 13.1904 2.43464 13.75 3.125 13.75H11.875C12.5654 13.75 13.125 13.1904 13.125 12.5V3.75C13.125 3.05964 12.5654 2.5 11.875 2.5Z",stroke:"#FF0A73",strokeWidth:"1.24854",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M10 1.25V3.75",stroke:"#FF0A73",strokeWidth:"1.24854",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M5 1.25V3.75",stroke:"#FF0A73",strokeWidth:"1.24854",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M1.875 6.25H13.125",stroke:"#FF0A73",strokeWidth:"1.24854",strokeLinecap:"round",strokeLinejoin:"round"})]})}function _(){return(0,s.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("g",{clipPath:"url(#clip0_27_2649)",children:(0,s.jsx)("path",{d:"M7.29395 0.293945C4.25323 0.293945 1.79395 2.64145 1.79395 5.54395C1.79395 9.48145 7.29395 15.2939 7.29395 15.2939C7.29395 15.2939 12.7939 9.48145 12.7939 5.54395C12.7939 2.64145 10.3347 0.293945 7.29395 0.293945ZM7.29395 7.41895C6.20966 7.41895 5.32966 6.57895 5.32966 5.54395C5.32966 4.50895 6.20966 3.66895 7.29395 3.66895C8.37823 3.66895 9.25823 4.50895 9.25823 5.54395C9.25823 6.57895 8.37823 7.41895 7.29395 7.41895Z",fill:"#FF0A73"})}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_27_2649",children:(0,s.jsx)("rect",{width:"15",height:"15",fill:"white"})})})]})}var C=l(8217);
1function N(e){let{completedDate:t,earnedStamps:l,totalSpots:n}=e,{t:a}=(0,x.Bd)(C.VN);return(0,s.jsxs)("div",{className:"flex flex-col gap-[4px]",children:[(0,s.jsxs)("div",{className:"flex items-center gap-[6px] text-[13px] leading-[18px] font-medium",children:[(0,s.jsx)(v,{}),(0,s.jsx)("span",{children:a("completed_date",{date:t})})]}),(0,s.jsxs)("div",{className:"flex items-center gap-[6px] text-[13px] leading-[18px] font-medium",children:[(0,s.jsx)(_,{}),(0,s.jsx)("span",{children:a("completed_stamps",{earned:l,total:n})})]})]})}var y=l(3074),L=l(6566);let S={src:"https://assets.soulspot.co.kr/assets/soulspot_web_hp/_next/static/media/img_pin_explain.4a24464b.webp"};function B(e){let{spot:t,categoryName:l,onOpenMap:n}=e,{t:a}=(0,x.Bd)(C.VN),i=(0,r.useMemo)(()=>[t],[t]),o=(0,r.useRef)(null);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"my-[4px] h-[1px] w-full bg-[#F0C2D6]"}),(0,s.jsxs)("div",{className:"flex gap-[12px]",children:[(0,s.jsx)("div",{className:"relative w-[120px] shrink-0 self-start overflow-hidden rounded-[10px] ".concat(t.list_image?"":"bg-gray-200"," ").concat(L.eP),children:t.list_image?(0,s.jsx)(y.A,{src:t.list_image,alt:t.title}):(0,s.jsx)("span",{className:"px-[4px] text-center text-[10px] text-gray-500",children:t.title})}),(0,s.jsxs)("div",{className:"flex flex-1 flex-col justify-between",children:[(0,s.jsxs)("div",{children:[l?(0,s.jsx)("span",{className:"text-ai-accent-pink mb-[3px] block text-[10px] leading-[15px] font-extrabold tracking-[0.4px]",children:l}):null,(0,s.jsx)("h3",{className:"mb-[3px] text-[14px] leading-[16.9px] font-bold tracking-[-0.2px]",children:t.title}),(0,s.jsx)("p",{className:"text-ai-gray-600 mb-[8px] text-[11px] leading-[16.5px]",children:t.location_name})]}),(0,s.jsx)("button",{type:"button",onPointerDown:e=>{o.current={x:e.clientX,y:e.clientY}},onPointerUp:e=>{let t=o.current;o.current=null,t&&8>=Math.hypot(e.clientX-t.x,e.clientY-t.y)&&n()},onKeyDown:e=>"Enter"===e.key||" "===e.key?n():void 0,"aria-label":a("map_expand"),className:"relative h-[98px] w-full overflow-hidden rounded-[10px] bg-gray-100",children:(0,s.jsx)(m.A,{posts:i,hideNumbers:!0,hidePath:!0,keepCameraOnUnfocus:!0,markerWidth:34,className:"h-full w-full"})})]})]}),(0,s.jsxs)("p",{className:"text-center text-[10px] leading-[18px] font-medium text-black",children:[(0,s.jsx)("img",{src:S.src,alt:"",width:"8px",className:"mr-[6.5px] inline-block align-text-bottom"}),(0,s.jsx)(x.x6,{i18nKey:"map_expand_notice",t:a,components:{1:(0,s.jsx)("span",{className:"font-extrabold text-[#E60968]"})}})]})]})}function E(e){let{className:t=""}=e;return(0,s.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,children:[(0,s.jsx)("path",{d:"M5.20878 9.93026C7.81639 9.93026 9.93026 7.81639 9.93026 5.20878C9.93026 2.60118 7.81639 0.487305 5.20878 0.487305C2.60118 0.487305 0.487305 2.60118 0.487305 5.20878C0.487305 7.81639 2.60118 9.93026 5.20878 9.93026Z",stroke:"currentColor",strokeWidth:"0.975",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M10.7229 10.7229L8.54541 8.54541",stroke:"currentColor",strokeWidth:"0.975",strokeLinecap:"round",strokeLinejoin:"round"})]})}var M=l(9976),F=l(2301);function P(e){let{spot:t,isSelected:l,onSelect:n}=e;return(0,s.jsxs)("button",{type:"button",onClick:n,className:(0,F.cn)("relative flex-1 self-end rounded-[10px] border-[2.41px] transition-colors",L.eP,l?"border-ai-accent-pink":"border-transparent"),children:[t.list_image?(0,s.jsx)(y.A,{src:t.list_image,alt:t.title,className:"rounded-[8px]"}):(0,s.jsx)("span",{className:"absolute inset-0 flex items-center justify-center rounded-[8px] bg-gray-200 px-[4px] text-center text-[10px] text-gray-500",children:t.title}),(0,s.jsx)("span",{className:"text-ai-accent-pink absolute top-[8px] left-[8px] z-10 flex items-center justify-center rounded-full bg-white",style:{width:20.33,height:20.33},children:(0,s.jsx)(E,{})}),t.stamped_date?(0,s.jsx)(M.A,{size:40,ringWidth:3,className:"absolute right-[-10px] bottom-[-10px] z-10"}):null]})}var V=l(5140),W=l(90);let R="#FF0A73";function D(e){let{className:t=""}=e;return(0,s.jsxs)("svg",{width:"46",height:"46",viewBox:"0 0 46 46",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,"aria-hidden":"true",children:[(0,s.jsx)("rect",{width:"46",height:"46",rx:"23",fill:"#FEE4EE"}),(0,s.jsx)("path",{d:"M23 9.99951V13.6662",stroke:R,strokeWidth:"2",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M16 11.666L17.8333 14.8414",stroke:R,strokeWidth:"2",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M30 11.666L28.1667 14.8414",stroke:R,strokeWidth:"2",strokeLinecap:"round"}),(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:W.$,fill:R,transform:"translate(15 18)"})]})}function Z(e){let{className:t}=e,{t:l}=(0,x.Bd)(C.VN);return(0,s.jsxs)("div",{className:(0,F.cn)("flex w-full items-center gap-[15px] rounded-[12px] bg-[#FEF3F7] px-[20px] py-[15px]",t),children:[(0,s.jsx)(D,{className:"shrink-0"}),(0,s.jsx)("p",{className:"text-[#717278] min-w-0 flex-1 text-[14px] leading-[22px] break-keep whitespace-pre-line",children:(0,s.jsx)(x.x6,{i18nKey:"prize_check_hint",t:l,components:{1:(0,s.jsx)("span",{className:"text-ai-accent-pink font-bold"})}})})]})}var z=l(6868),H=l(9678),Q=l(3007);let O={src:"https://assets.soulspot.co.kr/assets/soulspot_web_hp/_next/static/media/img_touch_guide.7d878d2d.webp"};function U(e){var t,l;let{course:n,categories:a,selectedSpotId:i,onSelectSpot:r,isPrizeOpened:o,onTogglePrize:c,onOpenSpotMap:d}=e,{t:p}=(0,x.Bd)(C.VN),u=(0,H.AJ)(a),h=null!=(t=n.prize_coupon)?t:null,m=n.spots.filter(e=>e.stamped_date).length,f=n.spots.find(e=>e.id===i);return(0,s.jsxs)("div",{className:"flex w-full flex-col gap-[20px]",children:[(0,s.jsxs)("div",{className:"border-ai-accent-pink bg-ai-bg-pink flex w-full flex-col gap-[15px] rounded-[16px] border p-[20px]",children:[(0,s.jsxs)("div",{className:"flex items-start justify-between gap-[10px]",children:[(0,s.jsx)(N,{completedDate:null!=(l=(0,Q.pv)(n.completed_date,Q.DX))?l:"",earnedStamps:m,totalSpots:n.spots.length}),h?(0,s.jsx)("button",{type:"button",onClick:()=>c(n.id),className:"bg-ai-accent-pink shrink-0 rounded-[10px] p-[11px] text-[12px] leading-[18px] font-bold text-white active:scale-[0.98]",children:p("prize_check")}):null]}),(0,s.jsxs)("p",{className:"text-ai-accent-pink border-t border-[#F0C2D6] pt-[12px] text-center text-[12px] leading-[18px] font-bold",children:[(0,s.jsx)("img",{src:O.src,alt:"",width:"18px",className:"mr-[6.9px] inline-block align-text-bottom"}),p("poster_tap_notice")]}),(0,s.jsx)("div",{className:"flex w-full gap-[15px]",children:n.spots.map(e=>(0,s.jsx)(P,{spot:e,isSelected:i===e.id,onSelect:()=>r(e.id)},e.id))}),f?(0,s.jsx)(B,{spot:f,categoryName:u(f.origin_post_category_id),onOpenMap:()=>d(f)}):null]}),h&&o?(0,s.jsx)(V.A,{coupon:h}):null,h?(0,s.jsxs)("div",{className:"flex w-full flex-col",children:[(0,s.jsx)(z.A,{headlineKey:"prize_won"}),(0,s.jsx)(Z,{className:"mt-[15px]"})]}):null]})}var Y=l(2957),I=l(6277),K=l(6130),X=l(1714);function q(e){let{slug:t,courses:l,categories:n,onBack:a,hasNextPage:i,isLoading:r,onLoadNextPage:o,selectedSpotId:c,onSelectSpot:d,openedPrizeCourseId:p,onTogglePrize:u,onOpenSpotMap:m}=e,{t:f}=(0,x.Bd)(C.VN),{observedRef:g}=(0,w.A)({enabled:i&&!r,onIntersect:o,rootMargin:"200px 0px"});return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(K.A,{isScrollable:!0,fit:"width",header:(0,s.jsx)(h.A,{title:f("completed_heading"),onBack:a,backLabel:f("go_back")}),children:(0,s.jsx)("div",{className:"relative flex min-h-full flex-1 flex-col bg-white",children:(0,s.jsxs)("main",{className:"flex flex-1 flex-col items-center px-[20px] pt-[80px] pb-[40px]",children:[(0,s.jsx)("h1",{className:"mb-[15px] text-[24px] font-bold text-black",children:f("completed_title")}),(0,s.jsx)("div",{className:"mb-[30px] flex w-full flex-col gap-[20px]",children:l.map(e=>(0,s.jsx)(U,{course:e,categories:n,selectedSpotId:c,onSelectSpot:d,isPrizeOpened:p===e.id,onTogglePrize:u,onOpenSpotMap:m},e.id))}),i?(0,s.jsx)("div",{ref:g,className:"flex h-[40px] w-full items-center justify-center",children:r?(0,s.jsx)("span",{className:"border-ai-gray-200 border-t-ai-accent-pink h-[20px] w-[20px] animate-spin rounded-full border-2"}):null}):null,(0,s.jsxs)("div",{className:"mt-auto flex w-full flex-col pt-[30px]",children:[(0,s.jsx)(I.r,{variant:"outlineDark",className:"border-ai-gray-200 h-[65px] font-medium text-black",asChild:!0,children:(0,s.jsx)(A(),{href:(0,X.ki)(t,L.SX),children:f("browse_other_courses")})}),(0,s.jsx)(Y.A,{className:"mt-[20px]"})]})]})})})})}function G(e){let{slug:t,onBack:l}=e,{t:n}=(0,x.Bd)(C.VN);return(0,s.jsxs)(K.A,{children:[(0,s.jsx)(h.A,{title:n("completed_title"),onBack:l,backLabel:n("go_back")}),(0,s.jsxs)("div",{className:"my-auto flex flex-col items-center px-[20px]",children:[(0,s.jsx)("h2",{className:"text-center text-[20px] leading-[27px] font-bold text-black",children:n("no_completed_title")}),(0,s.jsx)("p",{className:"text-ai-gray-600 mt-[12px] text-center text-[14px] leading-[21px] font-medium whitespace-pre-line",children:n("no_completed_description")})]}),(0,s.jsx)("div",{className:"shrink-0 px-[20px] pb-[40px]",children:(0,s.jsx)(I.r,{variant:"primary",asChild:!0,children:(0,s.jsx)(A(),{href:(0,X.OB)(t),children:n("browse_other_courses")})})})]})}var T=l(9156),J=l(4549),$=l(3800),ee=l(1678),et=l(5611);function el(e){var t,l;let{slug:n}=e,a=(0,o.useRouter)(),{t:i}=(0,x.Bd)(C.VN),{data:u,status:h}=(0,d.useSession)(),[m,f]=(0,r.useState)(null),[g,j]=(0,r.useState)(null),[k,A]=(0,r.useState)(null),w=(0,r.useCallback)(e=>{j(null),f(e)},[]),v=(0,r.useCallback)(e=>{f(null),j(t=>t===e?null:e)},[]),_=(0,c.d4)(T.QN),{courses:N,categories:y,hasNextPage:L,isLoading:S,loadNextPage:B}=function(e){var t,l,s,n;let a=(0,o.useRouter)(),i=(0,c.wA)(),[d,x]=(0,r.useState)(null!=(l=null==e?void 0:e.completed_ai_courses)?l:[]),[p,u]=(0,r.useState)(null!=(s=null==e?void 0:e.post_categories)?s:[]),[h,m]=(0,r.useState)(1),[f,g]=(0,r.useState)(!1),[j,b]=(0,r.useState)((null!=(n=null==e||null==(t=e.completed_ai_courses)?void 0:t.length)?n:0)>=20),k=(0,r.useCallback)(async()=>
1{if(!f&&j){g(!0);try{var e,t;let{result:l}=await (0,ee.uQ)({page:h+1,locale:null!=(e=a.locale)?e:$.KY}),s=null!=(t=null==l?void 0:l.completed_ai_courses)?t:[];x(e=>[...e,...s]),u(e=>(function(e,t){var l;let s=new Set(e.map(e=>e.id)),n=(null!=(l=null==t?void 0:t.post_categories)?l:[]).filter(e=>!s.has(e.id));return n.length?[...e,...n]:e})(e,l)),m(e=>e+1),b(s.length>=20)}catch(e){b(!1),i((0,T.t5)({task:T.uU,code:(0,et.Ou)(e),detail:(0,et.gg)(e)}))}finally{g(!1)}}},[i,j,f,h,a.locale]);return{courses:d,categories:p,hasNextPage:j,isLoading:f,loadNextPage:k}}(_),E=null!=(l=null==u||null==(t=u.soulspotUser)?void 0:t.id)?l:null,M=(0,X.Fx)(n,(0,J.F_)(a.query.from)),F=void 0!==a.query.map,P=(0,r.useCallback)(e=>{A(e);let t=(0,X.MB)(a.asPath,["map"]);a.push("".concat(t).concat(t.includes("?")?"&":"?").concat("map","=").concat(e.id),void 0,{shallow:!0,scroll:!1})},[a]),V=(0,r.useCallback)(()=>{if(F)return void a.back();A(null)},[F,a]);(0,r.useEffect)(()=>{F||A(null)},[F]);let W=(0,r.useCallback)(()=>{a.replace(M)},[M,a]);return((0,r.useEffect)(()=>{"loading"===h||E||a.replace((0,X.OB)(n))},[a,h,n,E]),E)?_&&!N.length?(0,s.jsx)(G,{slug:n,onBack:W}):_?(0,s.jsxs)(s.Fragment,{children:[k?(0,s.jsx)(b,{post:k,title:k.title,backLabel:i("go_back"),onClose:V}):null,(0,s.jsx)(q,{slug:n,courses:N,categories:y,onBack:W,hasNextPage:L,isLoading:S,onLoadNextPage:()=>void B(),selectedSpotId:m,onSelectSpot:w,openedPrizeCourseId:g,onTogglePrize:v,onOpenSpotMap:P})]}):(0,s.jsx)(p.A,{}):null}var es=!0;function en(e){let{slug:t}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.A,{titleKey:"ai_course.title"}),(0,s.jsx)("main",{children:(0,s.jsx)(el,{slug:t})},t),(0,s.jsx)(a.A,{}),(0,s.jsx)(i.A,{})]})}},9976:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var s=l(7876),n=l(9318),a=l(2301),i=l(1295);let r={src:"https://assets.soulspot.co.kr/assets/soulspot_web_hp/_next/static/media/img_bin_stamp.733ca326.webp",height:216,width:216,blurDataURL:"data:image/webp;base64,UklGRrQAAABXRUJQVlA4WAoAAAAQAAAABwAABwAAQUxQSD0AAAABX2CmbZsW1SiO7/6ZRkREHG/aBSW19WR2kw/kGuDQKGKQgBpEQM1Dg7+wEf2Pmb40cIMToQbIBquDj7IVAFZQOCBQAAAAkAIAnQEqCAAIAAJAOCWkAA9gDUAP0APqusTRkcAA/vm7aPfgVrkPxYHivBW0MYPKkH3HwTGvqjtzGA/glmWtYLYPdCAlH3maiKv8CUKAAAA=",blurWidth:8,blurHeight:8};function o(e){let{size:t,isStamped:l=!0,ringWidth:o=0,ringColor:c="#FFFFFF",className:d}=e;return(0,s.jsx)("span",{className:(0,a.cn)("relative block shrink-0 rounded-full",d),style:{width:t+2*o,height:t+2*o,padding:o,backgroundColor:o>0?c:void 0},children:(0,s.jsx)("span",{className:"relative block h-full w-full",children:(0,s.jsx)(n.A,{src:l?i.A:r,alt:"",layout:"fill",objectFit:"contain"})})})}}},e=>{e.O(0,[222,281,809,213,184,636,593,792],()=>e(e.s=396)),_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.