PageSourceSearch

https://lnkpie.com/_next/static/chunks/5035-b61bcd1a6758fea4.js

js lnkpie.com collected 2026-10-07 19:30:23 UTC 30,128 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5035],{16146:function(e,t,i){i.d(t,{j:function(){return h}});var a=i(57437),l=i(96586),n=i(81130),r=i(93897),s=i(30697),o=i(11465),u=i(66471),c=i(29501);let m=()=>{let{register:e}=(0,c.Gc)();return(0,a.jsxs)(l.J,{className:"gap-16",children:[(0,a.jsxs)(l.J,{className:"gap-8",children:[(0,a.jsx)("span",{className:"font-medium text-body2 text-gray600",children:(0,s.t)("card-number")}),(0,a.jsxs)(n.k,{className:"w-full gap-8",children:[(0,a.jsx)(u.Z,{placeholder:"1234",className:"h-auto w-full border-none bg-gray100 py-14",maxLength:4,isNumber:!0,...e("cardNumber1")}),(0,a.jsx)(u.Z,{placeholder:"1234",className:"h-auto w-full border-none bg-gray100 py-14",maxLength:4,isNumber:!0,...e("cardNumber2")}),(0,a.jsx)(u.Z,{placeholder:"1234",className:"h-auto w-full border-none bg-gray100 py-14",maxLength:4,isNumber:!0,...e("cardNumber3")}),(0,a.jsx)(u.Z,{placeholder:"1234",isNumber:!0,maxLength:4,type:"password",className:"h-auto w-full border-none bg-gray100 py-14",...e("cardNumber4")})]})]}),(0,a.jsx)(n.k,{className:"w-full gap-8",children:(0,a.jsxs)(l.J,{className:"grow gap-8",children:[(0,a.jsx)("span",{className:"font-medium text-body2 text-gray600",children:(0,s.t)("valid-period")}),(0,a.jsxs)(n.k,{className:"w-full gap-8",children:[(0,a.jsx)(u.Z,{placeholder:"MM",className:"h-auto w-full border-none bg-gray100 py-14",maxLength:2,isNumber:!0,...e("expMonth")}),(0,a.jsx)(u.Z,{placeholder:"YY",className:"h-auto w-full border-none bg-gray100 py-14",maxLength:2,isNumber:!0,...e("expYear")})]})]})}),(0,a.jsx)(n.k,{className:"w-full gap-8",children:(0,a.jsxs)(l.J,{className:"grow gap-8",children:[(0,a.jsx)("span",{className:"font-medium text-body2 text-gray600",children:(0,s.t)("card-password-front-2-digits")}),(0,a.jsx)(u.Z,{placeholder:(0,s.t)("front-2-digits"),className:"h-auto w-full border-none bg-gray100 py-14",type:"password",maxLength:2,...e("password")})]})}),(0,a.jsx)(n.k,{className:"w-full gap-8",children:(0,a.jsxs)(l.J,{className:"grow gap-8",children:[(0,a.jsx)("span",{className:"font-medium text-body2 text-gray600",children:(0,s.t)("birthdate")}),(0,a.jsx)(u.Z,{placeholder:"250101",className:"h-auto w-full border-none bg-gray100 py-14",maxLength:6,isNumber:!0,...e("birth")})]})})]})};var d=i(33894),p=i(87825);let x=()=>{let{selectedPay:e,onChangeSelectedPay:t}=(0,p.HC)();return(0,a.jsx)(l.J,{className:"gap-14 py-8",children:p.u8.map(i=>(0,a.jsx)(n.k,{align:"center",className:"gap-4",children:(0,a.jsx)(d.Y,{name:i.id,image:i.image,label:(0,s.t)(i.label),selected:e===i.id,onClick:()=>{t(i.id)}})},i.id))})},h=e=>{let{className:t,premiumId:i,membershipProductId:u}=e,{paymentMethod:c,onChangePaymentMethod:d,onChangeSelectedPay:h}=(0,p.HC)();return(0,a.jsxs)(l.J,{className:(0,r.cn)("w-full gap-16 p-16",t),children:[(0,a.jsx)("span",{className:"font-bold text-subtitle text-text100",children:(0,s.t)("payment-method2")}),(0,a.jsx)("div",{className:"grid grid-cols-2 gap-8",children:p.LM.map(e=>(i||u)&&"CARD"!==e.id?null:(0,a.jsxs)(n.k,{centered:!0,className:(0,r.cn)("h-42 cursor-pointer gap-4 roun
1ded-8 border border-gray200 p-12",{"border-text100":c===e.id}),onClick:()=>{if(d(e.id),"EASY_PAY"===e.id){h(p.u8[0].id);return}h("KAKAO_PAY")},children:[e.icon&&(0,a.jsx)(o.J,{name:e.icon,size:24}),(0,a.jsx)("span",{className:"font-medium text-body1 text-text100",children:(0,s.t)(e.label)})]},e.id))}),(()=>{switch(c){case"CARD":if(i||u)return(0,a.jsx)(m,{});return null;case"EASY_PAY":return(0,a.jsx)(x,{});default:return null}})()]})}},42713:function(e,t,i){i.d(t,{A:function(){return n}});var a=i(57437),l=i(96586);i(2265);let n=e=>{let{title:t,description:i}=e;return(0,a.jsxs)(l.J,{className:"gap-12 p-16",children:[(0,a.jsx)("h1",{className:"font-bold text-h1 text-text100 whitespace-pre-line",children:t}),i&&(0,a.jsx)("p",{className:"text-subtitle text-text60 whitespace-pre-line",children:i})]})}},49103:function(e,t,i){i.d(t,{_:function(){return s}});var a=i(57437),l=i(81130),n=i(93897);i(2265);var r=i(144);let s=e=>(0,a.jsx)(l.k,{centered:!0,className:(0,n.cn)("fixed bottom-0 w-full max-w-480 bg-white px-16 py-12",e.wrapperClassName),children:(0,a.jsx)(r.z,{...e,className:(0,n.cn)(e.className,"w-full max-w-440")})})},55581:function(e,t,i){i.d(t,{A:function(){return q},z:function(){return G}});var a=i(57437),l=i(3232),n=i(42713),r=i(49103),s=i(91845),o=i(85792),u=i(74113),c=i(96586),m=i(81130),d=i(74393),p=i(89628),x=i(30697),h=i(29827),g=i(99376),b=i(7680),f=i(2265),v=i(29501),y=i(16146),j=i(87825),N=i(11465),C=i(860);let w=e=>{let{isOpen:t,onClose:i,onExit:l,premium:n,onPaymentSuccess:r}=e;return(0,a.jsx)(d.t,{isOpen:t,onClose:i,className:"items-start overflow-y-scroll",fadeClassName:"w-full max-w-480",isDataModal:!1,children:(0,a.jsx)(j.PaymentProvider,{premiumId:n.id,children:(0,a.jsx)(P,{premium:n,onClose:i,onPaymentSuccess:r})})})},k=e=>new Promise(t=>{setTimeout(t,e)}),P=e=>{let{premium:t,onClose:i,onPaymentSuccess:d}=e,f=(0,g.useRouter)(),w=(0,h.NL)(),{paymentMethod:P}=(0,j.HC)(),{formState:{isValid:T}}=(0,v.Gc)(),{onSubmitBillingPayment:_}=(0,p.V7)({premiumId:t.id}),L=async()=>{try{for(let e=0;e<6;e++){let e=(await (0,l.hi)().users.getPremiumStatus()).userPremium;if((null==e?void 0:e.isActive)&&e.premium.id===t.id)break;await k(500)}await Promise.all([w.invalidateQueries({queryKey:["premium"]}),w.invalidateQueries({queryKey:["profile-premium"]}),Promise.resolve(null==d?void 0:d())])}catch(e){console.warn("프리미엄 상태 동기화 실패:",e)}},I=async()=>{try{await _({totalAmount:t.price,orderName:t.productType}),await L(),b.IJ.open(e=>{let{isOpen:i,close:l,unmount:n}=e;return(0,a.jsx)(C.v,{isOpen:i,showCloseButton:!1,onClose:l,onExit:n,title:(0,x.t)("plan-payment-dialog-title"),onConfirm:()=>{l(),f.refresh()},subTitle:(0,x.t)("plan-payment-dialog-subtitle",{type:t.productType.toUpperCase()})})}),i()}catch(e){u.ToastManager.show({text:(0,l.iC)(e,(0,x.t)("payment-failed"))}),console.log(e)}};return(0,a.jsxs)(o.V,{contentClassName:"bg-white min-h-[100dvh]",children:[(0,a.jsx)(s.BackHeader,{onBack:i,className:"static"}),(0,a.jsx)(n.A,{title:(0,x.t)("payment")}),(0,a.jsxs)(c.J,{className:"gap-16 p-16",children:[(0,a.jsx)("span",{className:"font-bold text-subtitle text-text100",children:(0,x.t)("order")}),(0,a.jsxs)(m.k,{className:"gap-12",children:[(0,a.jsx)(m.k,{centered:!0,className:"size-64 shrink-0 rounded-4 bg-gradient-to-b from-[#403735] to-[#1C1717]",children:(0,a.jsx)(N.J,{name:"Crown",size:24,className:"text-white-40"})}),(0,a.jsxs)(c.J,{className:"w-full gap-4",children:[(0,a.jsx)("span",{className:"font-bold text-subtitle text-text100",children:t.productType}),(0,a.jsx)("span",{className:"text-body2 text-text80",children:t.productType}),(0,a.jsxs)(m.k,{align:"center",justify:"between",className:"w-full",children:[(0,a.jsx)("span",{className:"text-body3 text-text60",children:(0,x.t)("total-payment-amount")}),(0,a.jsxs)("span",{className:"font-bold text-body1 text-text100",children:[t.price.toLocaleString()," ",(0,x.t)("won")]})]})]})]})]}),(0,a.jsx)(y.j,{premiumId:t.id}),(0,a.jsx)(r._,{wrapperClassName:"bottom-0",disabled:"CARD"!==P&&!T,onClick:I,children:(0,x.t)("do-payment")})]})};var T=i(99860),_=i(2112),L=i(61014),I=i(52459),S=i(93897),M=i(51043),J=i(37673),E=i(88240),A=i(77691),D=i(27648),F=i(14991),O=i(44905),R=i(144),z=i(17224);let Y=e=>{let{isOpen:t,onClose:i,onExit:l,currentPremium:n,nextPremium:r,onConfirm:s,isCouponUsing:o,isInappPurchased:u}=e,d=(0,f.useMemo)(()=>o?(0,x.t)("plan-change-dialog-subscribe-title"):(0,x.t)("plan-change-dialog-change-title"),[o]),p=(0,f.useMemo)(()=>u&&!A.pv.isNative?(0,x.t)("plan-change-dialog-inapp-change-subtitle"):o?(0,x.t)("plan-change-dialog-coupon-subtitle"):(0,x.t)("plan-change-dialog-change-subtitle",{price:null==r?void 0:r.price.toLocaleStr
1ing()}),[o,r,u]),h=(0,f.useMemo)(()=>o?(0,x.t)("plan-change-dialog-coupon-using"):(0,x.t)("plan-change-dialog-price-format",{price:null==n?void 0:n.price.toLocaleString()}),[o,n]);return(0,a.jsx)(C.v,{isOpen:t,onClose:i,onExit:l,hideCloseIcon:!0,title:d,subTitle:p,onConfirm:s,children:(0,a.jsxs)(c.J,{className:"gap-8",children:[(0,a.jsxs)(c.J,{className:"gap-8 rounded-6 bg-gray100 p-12",children:[(0,a.jsx)("span",{className:"text-body3 text-text60 leading-[100%]",children:(0,x.t)("plan-change-dialog-current-membership")}),(0,a.jsxs)(m.k,{align:"center",justify:"between",children:[(0,a.jsx)("span",{className:"font-medium text-body1 text-text100 leading-[100%]",children:null==n?void 0:n.productType}),(0,a.jsx)("span",{className:"font-medium text-body1 text-text100 leading-[100%]",children:h})]})]}),(0,a.jsxs)(c.J,{className:"gap-8 rounded-6 bg-gray100 p-12",children:[(0,a.jsx)("span",{className:"whitespace-pre-line text-body3 text-text60 leading-[100%]",children:(0,x.t)("plan-change-dialog-new-membership")}),(0,a.jsxs)(m.k,{align:"center",justify:"between",children:[(0,a.jsx)("span",{className:"font-medium text-body1 text-text100 leading-[100%]",children:null==r?void 0:r.productType}),(0,a.jsxs)("span",{className:"font-medium text-body1 text-text100 leading-[100%]",children:[null==r?void 0:r.price.toLocaleString()," ",(0,x.t)("won")]})]})]})]})})},B=e=>[{type:"Free",title:"FREE",list:[e("premium-plan-dialog-free-tab-3"),e("premium-plan-dialog-free-page-seo"),e("premium-plan-dialog-free-basic-design"),e("premium-plan-dialog-free-music-link-20")],color1:"#464646",color2:"#1C1717",checkIconColor:"#FFFFFF66",recommended:!1,planType:"Individual"},{type:"Pro",title:"PRO",list:[e("premium-plan-dialog-pro-tab-5"),e("premium-plan-dialog-pro-logo-remove"),e("premium-plan-dialog-pro-stats-90days"),e("premium-plan-dialog-pro-premium-fonts"),e("premium-plan-dialog-pro-music-link-100")],color1:"#403735",color2:"#1C1717",checkIconColor:"#DC8977",recommended:!0,planType:"Individual"},{type:"Pro+",title:"PRO+",list:[e("premium-plan-dialog-proplus-all-features"),e("premium-plan-dialog-proplus-tab-10"),e("premium-plan-dialog-proplus-stats-all"),e("premium-plan-dialog-proplus-profile-10"),e("premium-plan-dialog-proplus-music-unlimited")],color1:"#353E40",color2:"#171B1C",checkIconColor:"#80969D",re
1commended:!1,planType:"Individual"},{type:"TeamPro",title:"Team PRO",list:[e("premium-plan-dialog-team-pro-all-features"),e("premium-plan-dialog-team-pro-profile-1"),e("premium-plan-dialog-team-pro-members")],color1:"#353740",color2:"#17181C",checkIconColor:"hsla(224, 26%, 58%, 1)",recommended:!1,planType:"Team"},{type:"TeamPro+",title:"Team PRO+",list:[e("premium-plan-dialog-team-proplus-all-features"),e("premium-plan-dialog-team-proplus-profile-10"),e("premium-plan-dialog-team-proplus-members")],color1:"#3D3540",color2:"#1B171C",checkIconColor:"hsla(261, 57%, 66%, 1)",recommended:!1,planType:"Team"},{type:"Enterprise",title:"Enterprise",list:[e("premium-plan-dialog-enterprise-more-members"),e("premium-plan-dialog-enterprise-dedicated-support"),e("premium-plan-dialog-enterprise-other-features")],color1:"#40353F",color2:"#1C171A",checkIconColor:"hsla(305, 30%, 61%, 1)",recommended:!1,planType:"Enterprise"}],H=(e,t)=>t?Object.entries(t).reduce((e,t)=>{var i;let[a,l]=t;return e.replace("{".concat(a,"}"),null!==(i=null==l?void 0:l.toString())&&void 0!==i?i:"")},e):e,Z=(e,t,i)=>{let a=(0,x.t)(e,i);return a==="{".concat(e,"}")?H(t,i):a},q=e=>{var t,i,n,r;let{isOpen:s,onClose:m,onExit:p,defaultType:h,enableHistoryNavigation:g}=e,v=B(x.t),[y,j]=(0,f.useState)(v[1]),[N,k]=(0,f.useState)([]),[P,S]=(0,f.useState)(h||"Individual");(0,f.useRef)(null);let H=(0,f.useRef)({Individual:new Set,Team:new Set}),q=(0,A.B6)(),K=(0,M.aF)(),{status:G,refetchPremium:U}=(0,I.gw)(),{data:Q}=(0,L.h)({id:"premium-list",fn:(0,l.hi)().premium.getPremiums,enabled:s,onDataChangeCallback(e){if("Free"===G.type)j(v[1]);else{var t;j(null!==(t=v.find(e=>e.type===G.type))&&void 0!==t?t:v[1])}}}),W=(0,f.useMemo)(()=>G.isActive,[G]),$=(0,f.useMemo)(()=>!G.userPremium,[G]),ee=(0,f.useMemo)(()=>{var e,t,i;return!!(null===(e=G.userPremium)||void 0===e?void 0:e.app)&&!!(null===(t=G.userPremium)||void 0===t?void 0:t.isActive)&&!(null===(i=G.userPremium)||void 0===i?void 0:i.isCoupon)},[G.userPremium]),et=(0,f.useMemo)(()=>{var e,t;return!!(null===(e=G.userPremium)||void 0===e?void 0:e.app)&&"CANCELLED"===G.userPremium.app.status&&(null===(t=G.userPremium)||void 0===t?void 0:t.isActive)},[G.userPremium]),ei=(null===(t=G.userPremium)||void 0===t?void 0:t.subscriptionProvider)==="PG",ea=ei&&!!(null===(i=G.userPremium)||void 0===i?void 0:i.canCancelSubscription),el=ei&&!!(null===(n=G.userPremium)||void 0===n?void 0:n.canResumeSubscription),en=el?null===(r=G.userPremium)||void 0===r?void 0:r.accessEndDate:null,er=en?Z("premium-plan-dialog-subscription-cancel-scheduled-date","구독 해지 예정일 {date}",{date:(0,J.p6)(en)}):null,es=W&&(!ei||ea||el),eo=(0,f.useMemo)(()=>W&&G.type===y.type,[W,G.type,y.type]),eu=null==Q?void 0:Q.find(e=>e.productType===y.type),ec=(0,f.useMemo)(()=>"Free"!==y.type&&!("Free"===y.type&&"Free"===G.type),[y.type,G.type]);(0,f.useEffect)(()=>{s&&E.ga.track("premium_sub_view",{event_category:"프리미엄 구독"})},[s]);let em=(0,f.useCallback)(e=>{let t=e.currentTarget,i=t.scrollHeight-t.clientHeight,a=t.scrollTop/i*100,l=H.current[P],n="Individual"===P?"personal_premium_sub_view_scroll_depth":"team_premium_sub_view_scroll_depth";for(let e of[30,60,90,100])a>=e&&!l.has(e)&&(l.add(e),E.ga.track(n,{event_category:"프리미엄 구독 스크롤",event_label:"".concat(e,"%"),value:e}),F.c1.trackCustom(n,{depth:e}))},[P]),ed=(0,f.useCallback)(e=>{S(e),"Individual"===e?E.ga.track("personal_premium_sub_menu_click",{event_category:"프리미엄 구독 페이지 개인 플랜 버튼 클릭"}):"Team"===e&&E.ga.track("team_premium_sub__menu_click",{event_category:"프리미엄 구독 페이지 팀 플랜 버튼 클릭"})},[]);(0,f.useEffect)(()=>{if(A.tY){A.pv.sendNativeMessage("get-subscriptions",{skus:["premium.pro","premium.proplus","premium.teampro","premium.teamproplus"]});let e=A.pv.addNativeEventListener("purchase-failed",()=>{T.default.finish(),U()}),t=A.pv.addNativeEventListener("subscribe-product-result",async e=>{try{"android"===e.os&&await (0,l.hi)().inAppPurchase.androidImmediate({purchaseToken:e.purchase.purchaseToken}),"ios"===e.os&&await (0,l.kJ)().inAppPurchase.iosImmediate({originalTransactionId:e.purchase.transactionId}),A.pv.sendNativeMessage("purchase-subscription-confirmed",{purchase:e.purchase,isConsumable:!1})}catch(t){console.warn("[IAP] subscription verification failed",t),"ios"===e.os&&A.pv.sendNativeMessage("purchase-subscription-verification-failed",{transactionId:e.purchase.transactionId})}finally{await U(),T.default.finish()}}),i=A.pv.addNativeEventListener("subscriptions",e=>{k(e.subscriptions)});return A.pv.sendNativeMessage("purchase-subscription-listener-ready",{}),()=>{A.pv.sendNativeMessage("purchase-subscription-listener-not-ready",{}),e(),t(),i()}}},[U]);let ep=()=>{b.IJ.open(e=>{var t,i;let{isOpen:l,close:n,unmount:r}=e,s=()=>{n(),setTimeout(()=>{r()},150)};return(0,a.jsx)(Y,{isOpen:l,onClose:s,onExit:s,currentPremium:null===(t=G.userPremium)||void 0===t?void 0:t.premium,nextPremium:eu,isCouponUsing:(null===(i=G.userPremium)||void 0===i?void 0:i.subscriptionProvider)==="COUPON",isInappPurchased:ee,onConfirm:()=>{s(),ef()}})})},ex=()=>{eu&&b.IJ.open(e=>{let{isOpen:t,close:i,unmount:l}=e;return(0,a.jsx)(w,{isOpen:t,onClose:i,onExit:l,premium:eu,onPaymentSuccess:async()=>{await U()}})})},eh=()=>{let e=ei?Z("premium-plan-dialog-pg-cancel-subscription-guide-sub-title","구독을 해지하면 다음 정기 결제가 중단됩니다. 현재 이용 기간 종료일까지 프리미엄 혜택은 계속 유지되며, 이후 무료 플랜으로 전환됩니다. 구독을 해지하시겠습니까?"):(0,x.t)("premium-plan-dialog-cancel-subscription-guide-sub-title");b.IJ.open(t=>{let{isOpen:i,close:n,unmount:r}=t;return(0,a.jsx)(C.v,{isOpen:i,onClose:n,onExit:r,title:(0,x.t)("premium-plan-dialog-subscription-cancel-guide"),subTitle:e,onConfirm:async()=>{await (0,l.hi)().premium.cancelPremium(),n(),await U(),b.IJ.open(e=>{let{isOpen:t,close:i,unmount:l}=e;return(0,a.jsx)(C.v,{isOpen:t,showCloseButton:!1,onClose:i,onExit:l,title:Z("premium-plan-dialog-cancel-success","구독이 취소되었습니다."),onConfirm:i})})}})})},eg=(0,f.useMemo)(()=>W?(0,x.t)("premium-plan-dialog-change-subscription"):(null==y?void 0:y.type)==="Pro"&&$?(0,x.t)("premium-plan-dialog-start-7day-trial"):(0,x.t)("subscribe"),[$,W,null==y?void 0:y.type]),eb=async()=>{"Pro"===y.type?E.ga.track("premium_sub_personal_pro",{event_category:"프리미엄 구독"}):"Pro+"===y.type?E.ga.track("premium_sub_personal_pro_plus",{event_category:"프리미엄 구독"}):"TeamPro"===y.type?E.ga.track("premium_sub_team_pro",{event_category:"프리미엄 구독"}):"TeamPro+"===y.type&&E.ga.track("premium_sub_team_pro_plus",{event_category:"프리미엄 구독"}),W?ep():ef()},ef=async()=>
1{if(A.pv.isNative){var e,t;let i="ios"===q?null==eu?void 0:eu.iosSku:null==eu?void 0:eu.androidSku,a=$?"ios"===q?null==eu?void 0:eu.iosPromotionSku:null==eu?void 0:eu.androidPromotionSku:null;i&&(A.pv.sendNativeMessage("subscribe-product",{sku:i,basePlanId:"ios"===q?"":"default",offerId:a,accountId:null==K?void 0:K.id,purchaseToken:ee?null===(t=G.userPremium)||void 0===t?void 0:null===(e=t.app)||void 0===e?void 0:e.androidPurchaseToken:void 0}),T.default.loading())}else ex()},ev=async()=>{T.default.loading();try{await (0,l.hi)().premium.resumePremium(),await U(),u.ToastManager.show({text:(0,x.t)("premium-plan-dialog-resume-success")})}catch(e){console.warn(e)}finally{T.default.finish()}};return(0,a.jsx)(d.t,{isOpen:s,onClose:m,className:"items-start overflow-y-scroll",fadeClassName:"w-full max-w-480",enableHistoryNavigation:g,onScroll:em,children:(0,a.jsxs)(o.V,{contentClassName:"bg-black py-24 pb-240 min-h-[100dvh]",children:[(0,a.jsxs)(c.J,{className:"-mt-24 px-24 pb-24",style:{background:"linear-gradient(180deg, #3E3534 0%, #000000 100%)"},children:[(0,a.jsx)(_.X,{className:"h-56 items-center",children:(0,a.jsx)(z.h,{name:"Close",size:24,className:"text-white",onClick:()=>{E.ga.track("premium_sub_view_end",{event_category:"프리미엄 구독"}),m()}})}),(0,a.jsxs)(c.J,{className:"gap-16",children:[(0,a.jsx)("h1",{className:"font-bold text-28 text-white",children:(0,x.t)("premium-plan-dialog-title")}),(0,a.jsx)("p",{className:"whitespace-pre-line text-subtitle text-white-80 leading-snug",children:(0,x.t)("premium-plan-dialog-subtitle")})]})]}),(0,a.jsx)(O._,{tabItems:[{text:(0,x.t)("premium-plan-individual"),id:"Individual"},{text:(0,x.t)("premium-plan-team"),id:"Team"}],variant:"black",tabType:"hug",startIndex:"Team"===h?1:0,onTabChange:ed,carouselItems:[(0,a.jsx)(V,{premiumList:Q,status:G.userPremium,selectedPlan:y,setSelectedPlan:j,nativeSubscriptions:N},"Individual"),(0,a.jsx)(X,{premiumList:Q,status:G.userPremium,selectedPlan:y,setSelectedPlan:j,nativeSubscriptions:N},"Team")]}),(0,a.jsxs)(c.J,{className:"gap-24 px-24",children:[(0,a.jsxs)(c.J,{className:"gap-4",children:[(0,a.jsx)("p",{className:"font-bold text-body3 text-white-80",children:(0,x.t)("premium-plan-dialog-membership-notice")}),(0,a.jsxs)("ul",{className:"list-disc pl-16 text-white-80",children:[(0,a.jsx)("li",{className:"text-body3 leading-snug",children:(0,x.t)("premium-plan-dialog-notice-appstore")}),(0,a.jsx)("li",{className:"text-body3 leading-snug",children:(0,x.t)("premium-plan-dialog-notice-profile-delete")}),(0,a.jsx)("li",{className:"text-body3 leading-snug",children:(0,x.t)("premium-plan-dialog-notice-plan-change")}),(0,a.jsx)("li",{className:"text-body3 leading-snug",children:(0,x.t)("premium-plan-dialog-notice-benefits-change")}),(0,a.jsxs)("li",{className:"text-body3 leading-snug",children:[(0,x.t)("premium-plan-dialog-notice-detail-info-prefix")," ",(0,a.jsx)(D.default,{className:"underline underline-offset-4",href:"/term",children:(0,x.t)("premium-plan-dialog-terms-of-service")})," ",(0,x.t)("premium-plan-dialog-notice-and")," ",(0,a.jsx)(D.default,{className:"underline underline-offset-4",href:"/payment-policy",children:(0,x.t)("premium-plan-dialog-payment-terms")})," ",(0,x.t)("premium-plan-dialog-notice-detail-info-suffix")]})]})]}),(0,a.jsxs)(_.X,{className:"justify-center gap-12",children:[(0,a.jsx)(D.default,{className:"font-medium text-body2 text-white-60",href:"/term",children:(0,x.t)("premium-plan-dialog-terms-of-service")}),(0,a.jsx)("span",{className:"text-body2 text-white-60",children:"|"}),(0,a.jsx)(D.default,{className:"font-medium text-body2 text-white-60",href:"/policy",children:(0,x.t)("premium-plan-dialog-privacy-policy")})]}),es&&!el&&(0,a.jsx)(_.X,{className:"justify-center",children:(0,a.jsx)("a",{className:"cursor-pointer font-medium text-body2 text-white-40 underline underline-offset-8",onClick:()=>{if(el){ev();return}if(A.pv.isNative){ee&&A.pv.sendNativeMessage("cancel-subscription");return}if(ee){b.IJ.open(e=>{let{isOpen:t,close:i,unmount:l}=e;return(0,a.jsx)(C.v,{isOpen:t,onClose:i,showCloseButton:!1,onExit:l,title:(0,x.t)("premium-plan-dialog-subscription-cancel-guide"),subTitle:(0,x.t)("premium-plan-dialog-inapp-cancel-guide"),onConfirm:i})});return}eh()},children:el||et?(0,x.t)("premium-plan-dialog-resume-subscription"):(0,x.t)("premium-plan-dialog-cancel-subscription")})})]}),(ec||el)&&(0,a.jsxs)(c.J,{centered:!0,className:"fixed bottom-0 w-full max-w-480 gap-10 bg-black px-16 py-12",children:[el?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(R.z,{size:"basic-L",className:"w-full rounded-12 bg-white font-bold text-black",variant:"solid",onClick:()=>{ev()},children:Z("premium-plan-dialog-continue-subscription","구독 계속하기")}),er&&(0,a.jsx)("p",{className:"text-body1 font-medium text-white",children:er})]}):eo?(0,a.jsx)(R.z,{className:"w-full bg-white-12 font-bold text-white",variant:"solid",children:(0,x.t)("premium-plan-dialog-subscribed")}):(0,a.jsx)(R.z,{className:"w-full font-bold text-black",variant:"solid",onClick:eb,children:eg}),(null==y?void 0:y.type)!=="Free"&&!eo&&(0,a.jsx)("p",{className:"text-body2 text-white",children:(0,x.t)("premium-plan-dialog-monthly-payment",{price:null==eu?void 0:eu.price.toLocaleStr
1ing()})})]})]})})},V=e=>{let{premiumList:t,status:i,selectedPlan:l,setSelectedPlan:n,nativeSubscriptions:r}=e,s=B(x.t).filter(e=>"Individual"===e.planType);return(0,a.jsx)(c.J,{children:(0,a.jsx)(c.J,{className:"gap-24 p-24",children:s.map(e=>(0,a.jsx)(K,{plan:e,premium:null==t?void 0:t.find(t=>t.productType===e.type),isSelected:(null==l?void 0:l.type)===e.type,onClick:()=>n(e),isSubscribed:(null==i?void 0:i.premium.productType)===e.type,nativeSubscriptions:r},e.type))})})},X=e=>{let{premiumList:t,status:i,selectedPlan:l,setSelectedPlan:n,nativeSubscriptions:r}=e,s=B(x.t).filter(e=>"Team"===e.planType||"Enterprise"===e.planType);return(0,a.jsx)(c.J,{children:(0,a.jsx)(c.J,{className:"gap-24 p-24",children:s.map(e=>(0,a.jsx)(K,{plan:e,premium:null==t?void 0:t.find(t=>t.productType===e.type),isSelected:(null==l?void 0:l.type)===e.type,onClick:()=>n(e),isSubscribed:(null==i?void 0:i.premium.productType)===e.type,nativeSubscriptions:r},e.type))})})},K=e=>{let{plan:t,premium:i,isSelected:l,isSubscribed:n,onClick:r,nativeSubscriptions:s}=e,o=(0,f.useMemo)(()=>{var e,a,l,n;if("Free"===t.type)return"FREE";if((null==s?void 0:s.length)&&"android"===A.pv.os){let t=null==s?void 0:s.find(e=>e.productId===(null==i?void 0:i.androidSku));if(t){let i=null===(e=t.subscriptionOfferDetails)||void 0===e?void 0:e.find(e=>null===e.offerId);if(i){let e=null===(l=i.pricingPhases)||void 0===l?void 0:null===(a=l.pricingPhaseList)||void 0===a?void 0:a[0];return(null==e?void 0:e.formattedPrice)||"FREE"}}}return(null==i?void 0:i.iosSku)!=null&&(null==s?void 0:s.find(e=>e.sku===(null==i?void 0:i.iosSku)))?(null==s?void 0:null===(n=s.find(e=>e.sku===(null==i?void 0:i.iosSku)))||void 0===n?void 0:n.price)||"FREE":"".concat(((null==i?void 0:i.price)||0).toLocaleString()).concat((0,x.t)("won"))},[s,i,t.type]);return(0,a.jsx)(c.J,{className:(0,S.cn)("cursor-pointer gap-16 rounded-12 p-24",{"outline outline-2 outline-white":l}),style:{background:"linear-gradient(180deg, ".concat(t.color1," 0%, ").concat(t.color2," 100%)")},onClick:()=>{"Enterprise"!==t.planType&&r(t)},children:(0,a.jsx)(c.J,{className:"gap-16",children:(0,a.jsxs)(c.J,{className:"gap-12",children:[(0,a.jsxs)(_.X,{className:"items-center gap-4",children:[(0,a.jsx)("h4",{className:"font-bold text-main text-white",children:t.title}),t.recommended&&(0,a.jsx)("span",{className:"rounded-full bg-black-20 px-8 py-6 font-medium text-caption2 text-gray0",children:(0,x.t)("recommended")}),n&&(0,a.jsxs)(_.X,{className:"ml-auto items-center gap-2 rounded-full bg-white px-8 py-6 font-medium text-black text-caption2",children:[(0,a.jsx)("span",{children:(0,x.t)("premium-plan-dialog-in-use")}),(0,a.jsx)(N.J,{name:"Check",size:12})]})]}),(0,a.jsxs)(c.J,{className:"gap-16",children:[(0,a.jsx)(c.J,{className:"gap-12",children:t.list.map(e=>(0,a.jsxs)(m.k,{align:"center",className:"gap-4",children:[(0,a.jsx)(N.J,{name:"Check",size:16,className:"text-white-40",style:{color:t.checkIconColor}}),(0,a.jsx)("span",{className:"text-body2 text-white",children:e})]},e))}),"Enterprise"===t.planType&&(0,a.jsx)("button",{className:"w-full rounded-8 bg-black px-16 py-12 font-medium text-body2 text-white",onClick:e=>{e.preventDefault(),e.stopPropagation()},children:(0,x.t)("premium-plan-dialog-enterprise-contact")}),"Enterprise"!==t.planType&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("hr",{className:"border-white-20"}),(0,a.jsxs)(m.k,{align:"end",justify:"end",className:"gap-8",children:[(0,a.jsx)("span",{className:"font-bold text-20 text-white leading-[100%]",children:o}),(0,a.jsx)("span",{className:"-mb-2 text-body2 text-white-80",children:(0,x.t)("premium-plan-dialog-per-month")})]})]})]})]})})})},G=()=>{b.IJ.open(e=>{let{isOpen:t,close:i,unmount:l}=e,n=()=>{i(),setTimeout(()=>{l()},150)};return(0,a.jsx)(q,{isOpen:t,onClose:n,onExit:n})})}},33894:function(e,t,i){i.d(t,{Y:function(){return s}});var a=i(57437),l=i(2112),n=i(11465),r=i(93897);let s=e=>{let{name:t,selected:i,image:s,label:o,onClick:u}=e;return(0,a.jsxs)(l.X,{align:"center",className:"h-20 cursor-pointer gap-1.5",onClick:u,children:[(0,a.jsx)(n.J,{name:i?"CheckboxSelect":"CheckboxBlankCircleLine",size:20,className:(0,r.cn)("text-gray400",{"text-black":i})}),(0,a.jsx)("input",{name:t,className:"sr-only",type:"radio"}),s&&(0,a.jsx)("img",{src:s,alt:o,className:"h-20"}),o&&(0,a.jsx)("label",{htmlFor:t,className:"text-gray-500 cursor-pointer text-body3",children:o})]})}},52459:function(e,t,i){i.d(t,{gw:function(){return d}});var a=i(57437),l=i(3232),n=i(55581),r=i(51043),s=i(7680),o=i(2265),u=i(61014),c=i(32286);let m={profileCount:1,musicLinkCount:20,tabCount:3};Date.now(),Date.now(),new Date().setHours(23,59,59,999);let d=()=>{let{query:e}=(0,c.J)(),t=(0,r.hD)(),i=(0,r.aF)(),{data:d,refetch:p}=(0,u.h)({id:"premium",fn:(0,l.hi)().users.getPremiumStatus,enabled:!!i}),{data:x}=(0,u.h)({id:"profile-premium",fn:(0,l.hi)().users.getProfilePremiumStatus,enabled:!!t&&!!i,params:t}),h=(0,o.useMemo)(()=>{var e,t,i,a,l;let n="number"==typeof(null==d?void 0:d.maxProfileCount)?d.maxProfileCount:void 0;return(null==d?void 0:null===(e=d.userPremium)||void 0===e?void 0:e.isActive)?{userPremium:d.userPremium,isActive:d.userPremium.isActive,type:d.userPremium.premium.productType,currentMusicLinkCount:null!==(a=d.currentMusicLinkCount)&&void 0!==a?a:0,currentProfileCount:null!==(l=d.currentProfileCount)&&void 0!==l?l:0,maxMusicLinkCount:d.userPremium.premium.musicLinkLimit?9999999:d.userPremium.premium.musicLinkCount,maxProfileCount:null!=n?n:d.userPremium.premium.profileCount,maxTabCount:d.userPremium.premium.additionalTabCount}:{userPremium:null==d?void 0:d.userPremium,isActive:!1,type:"Free",currentMusicLinkCount:null!==(t=null==d?void 0:d.currentMusicLinkCount)&&void 0!==t?t:0,currentProfileCount:null!==(i=null==d?void 0:d.currentProfileCount)&&void 0!==i?i:0,maxMusicLinkCount:m.musicLinkCount,maxProfileCount:null!=n?n:m.profileCount,maxTabCount:m.tabCount}},[d]);return{status:h,profileStatus:(0,o.useMemo)(()=>{var e,t,i,a,l;let n="number"==typeof(null==x?void 0:x.maxProfileCount)?x.maxProfileCount:void 0;return(null==x?void 0:null===(e=x.userPremium)||void 0===e?void 0:e.isActive)?{userPremium:x.userPremium,isActive:x.userPremium.isActive,type:x.userPremium.premium.productType,currentMusicLinkCount:null!==(a=x.currentMusicLinkCount)&&void 0!==a?a:0,currentProfileCount:null!==(l=x.currentProfileCount)&&void 0!==l?l:0,maxMusicLinkCount:x.userPremium.premium.musicLinkLimit?9999999:x.userPremium.premium.musicLinkCount,maxProfileCount:null!=n?n:x.userPremium.premium.profileCount,maxTabCount:x.userPremium.premium.additionalTabCount}:{userPremium:null==x?void 0:x.userPremium,isActive:!1,type:"Free",currentMusicLinkCount:null!==(t=null==x?void 0:x.currentMusicLinkCount)&&void 0!==t?t:0,currentProfileCount:null!==(i=null==x?void 0:x.currentProfileCount)&&void 0!==i?i:0,maxMusicLinkCount:m.musicLinkCount,maxProfileCount:null!=n?n:m.profileCount,maxTabCount:m.tabCount}},[x]),openPremium:(e,t)=>
1{s.IJ.open(i=>{let{isOpen:l,close:r,unmount:s}=i;return(0,a.jsx)(n.A,{isOpen:l,onClose:()=>{r(),null==e||e()},onExit:s,defaultType:t})})},refetchPremium:p,freeBenefit:m,startDateObject:(0,o.useMemo)(()=>new Date(e.startDate?e.startDate:Date.now()-6048e5),[e.startDate]),endDateObject:(0,o.useMemo)(()=>new Date(e.endDate?e.endDate:new Date().setHours(23,59,59,999)),[e.endDate])}}},14991:function(e,t,i){i.d(t,{c1:function(){return n}});let a=()=>"function"==typeof window.fbq,l=(e,t)=>{if(!a()){console.warn("Meta Pixel is not loaded yet");return}window.fbq&&window.fbq("track",e,t)},n={track:l,trackCustom:(e,t)=>{if(!a()){console.warn("Meta Pixel is not loaded yet");return}window.fbq&&window.fbq("trackCustom",e,t)},trackPageView:()=>{l("PageView")},trackPurchase:e=>{l("Purchase",e)},trackAddToCart:e=>{l("AddToCart",e)},trackInitiateCheckout:e=>{l("InitiateCheckout",e)},trackLead:e=>{l("Lead",e)},trackCompleteRegistration:e=>{l("CompleteRegistration",e)},trackViewContent:e=>{l("ViewContent",e)},trackSearch:e=>{l("Search",e)}}}}]);

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.