1(self.webpackChunkcapa=self.webpackChunkcapa||[]).push([[168],{97717:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/faq/search",function(){return n(54827)}])},21786:function(e,t,n){"use strict";n.d(t,{IJ:function(){return s},Tg:function(){return i},_l:function(){return o}});var r=n(55988),l=n(67769);let s=e=>({hasBillingKey:e.some(e=>1===e.methodType||2===e.methodType),hasUsableCard:e.some(e=>"TOSS"===e.pgProvider&&!e.isInvalid),hasUsableMainCard:e.some(e=>1===e.methodType&&"TOSS"===e.pgProvider&&!e.isInvalid),hasAnyCard:e.length>0}),i=()=>{var e;let{data:t}=(0,r.MuF)({refetchOnMount:!0,staleTime:3e4,suspense:!0});return s(null!==(e=null==t?void 0:t.result)&&void 0!==e?e:[])},o=e=>{let{defaultStep:t}=e,{hasBillingKey:n}=i(),[r,s]=(0,l.useState)(n?t:1);return{step:r,setStep:s,hasBillingKey:n}}},69405:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(80121);function l(e){let{variant:t,context:l}=e,s=async()=>{let e=(await Promise.resolve().then(n.bind(n,75044))).default;l?e.openChat(void 0,"문ì: ".concat(l)):e.showMessenger()};return"inline"===t?(0,r.jsx)("button",{onClick:s,style:{padding:"12px 24px",borderRadius:8,border:"none",backgroundColor:"#2563EB",color:"#FFFFFF",fontSize:14,fontWeight:500,cursor:"pointer",display:"flex",alignItems:"center",gap:8,width:"fit-content"},children:"\uD83D\uDCAC ì±ëí¡ì¼ë¡ 문ìí기"}):"empty"===t?(0,r.jsxs)("div",{style:{textAlign:"center",padding:"48px 32px"},children:[(0,r.jsx)("p",{style:{fontSize:16,fontWeight:600,color:"#374151",marginBottom:8},children:"ê²ì ê²°ê³¼ê° ììµëë¤"}),(0,r.jsx)("p",{style:{fontSize:14,color:"#9CA3AF",marginBottom:24},children:"ë¤ë¥¸ ê²ìì´ë¡ ìëíìê±°ë ì±ëí¡ì¼ë¡ ì§ì 문ìí´ ì£¼ì¸ì."}),(0,r.jsx)("button",{onClick:s,style:{padding:"14px 28px",borderRadius:10,border:"none",backgroundColor:"#2563EB",color:"#FFFFFF",fontSize:14,fontWeight:500,cursor:"pointer",display:"inline-flex",alignItems:"center",gap:8},children:"\uD83D\uDCAC ì±ëí¡ì¼ë¡ 문ìí기"})]}):(0,r.jsxs)("div",{style:{borderRadius:12,backgroundColor:"#F9FAFB",padding:32,border:"1px solid #E5E7EB",textAlign:"center",marginTop:32},children:[(0,r.jsx)("p",{style:{fontSize:16,fontWeight:500,color:"#374151",marginBottom:16},children:"ìíë ëµë³ì ì°¾ì§ ëª»íì
¨ëì?"}),(0,r.jsx)("button",{onClick:s,style:{padding:"12px 24px",borderRadius:8,border:"none",backgroundColor:"#2563EB",color:"#FFFFFF",fontSize:14,fontWeight:500,cursor:"pointer",display:"inline-flex",alignItems:"center",gap:8},children:"\uD83D\uDCAC ì±ëí¡ì¼ë¡ 문ìí기"})]})}},99158:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(80121),l=n(71744),s=n(67769),i=n(4031);let o={lg:{width:720,height:64,radius:14,font:17,icon:24},md:{width:560,height:52,radius:12,font:15,icon:20}};function a(e){let{size:t="md",defaultValue:a}=e,c=(0,l.useRouter)(),[d,u]=(0,s.useState)(a||""),[h,x]=(0,s.useState)([]),[f,p]=(0,s.useState)(0),[m,g]=(0,s.useState)(!1),v=(0,s.useRef)(),C=(0,s.useRef)(null),b=(0,s.useCallback)(async e=>{if(e.length<2){x([]),g(!1);return}try{var t,r;let{faqApiUrl:l,getClientPlatform:s,getOrCreateSessionId:i}=await n.e(3185).then(n.bind(n,13185)),o=i(),a=o?"&sessionId=".concat(encodeURIComponent(o)):"",c=await fetch(l("/public/faq/search?keyword=".concat(encodeURIComponent(e),"&limit=5&offset=0&platform=").concat(s()).concat(a)));if(!c.ok){x([]);return}let d=await c.json();x((null===(t=d.result)||void 0===t?void 0:t.items)||[]),p((null===(r=d.result)||void 0===r?void 0:r.total)||0),g(!0)}catch(e){x([])}},[]);(0,s.useEffect)(()=>(v.current&&clearTimeout(v.current),v.current=setTimeout(()=>b(d),300),()=>{v.current&&clearTimeout(v.current)}),[d,b]),(0,s.useEffect)(()=>{let e=e=>{C.current&&!C.current.contains(e.target)&&g(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let y=()=>{d.trim().length>=2&&(g(!1),c.push("/faq/search?q=".concat(encodeURIComponent(d.trim()))))},j=e=>{g(!1),c.push("/faq/".concat(e.serviceSlug,"/").concat(e.categorySlug,"?itemId=").concat(e.faqItemId,"&from=search&q=").concat(encodeURIComponent(d)))},{width:w,height:F,radius:E,font:k,icon:S}=o[t];return(0,r.jsxs)("div",{ref:C,style:{position:"relative",width:"100%",maxWidth:w},children:[(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",height:F,borderRadius:E,border:"1px solid #E5E7EB",backgroundColor:"#FFFFFF",padding:"0 18px"}
1,children:[(0,r.jsx)("span",{style:{fontSize:S,color:"#9CA3AF",marginRight:12},children:"\uD83D\uDD0D"}),(0,r.jsx)("input",{type:"text",value:d,onChange:e=>u(e.target.value),onKeyDown:e=>"Enter"===e.key&&y(),onFocus:()=>d.length>=2&&h.length>0&&g(!0),placeholder:"ê²ìì´ë¥¼ ì
ë ¥íì¸ì",role:"searchbox","aria-label":"FAQ ê²ì",style:{flex:1,border:"none",outline:"none",fontSize:k,color:"#111827",backgroundColor:"transparent",fontFamily:"Inter, sans-serif"}}),d&&(0,r.jsx)("button",{onClick:()=>{u(""),g(!1)},style:{border:"none",background:"none",cursor:"pointer",color:"#9CA3AF",fontSize:16},children:"â"})]}),m&&h.length>0&&(0,r.jsxs)("div",{style:{position:"absolute",top:F+4,left:0,width:"100%",zIndex:100,backgroundColor:"#FFFFFF",borderRadius:12,border:"1px solid #E5E7EB",boxShadow:"0 4px 16px rgba(0,0,0,0.1)",textAlign:"left"},children:[h.map((e,t)=>{let n=(0,i.E)(e.serviceSlug);return(0,r.jsxs)("div",{onClick:()=>j(e),style:{padding:"12px 16px",cursor:"pointer",borderBottom:t<h.length-1?"1px solid #F3F4F6":"none"},onMouseEnter:e=>e.currentTarget.style.backgroundColor="#F9FAFB",onMouseLeave:e=>e.currentTarget.style.backgroundColor="transparent",children:[(0,r.jsxs)("div",{style:{display:"flex",gap:6,marginBottom:4},children:[(0,r.jsx)("span",{style:{fontSize:11,padding:"3px 8px",borderRadius:4,backgroundColor:n.bg,color:n.text},children:e.serviceName}),(0,r.jsx)("span",{style:{fontSize:11,padding:"3px 8px",borderRadius:4,backgroundColor:"#F3F4F6",color:"#6B7280"},children:e.categoryName})]}),(0,r.jsx)("div",{style:{fontSize:14,fontWeight:500,color:"#111827"},children:e.question}),(0,r.jsx)("div",{style:{fontSize:13,color:"#6B7280",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.answerPreview})]},e.faqItemId)}),(0,r.jsx)("div",{onClick:y,style:{padding:"12px 16px",borderTop:"1px solid #E5E7EB",cursor:"pointer",textAlign:"center"},children:(0,r.jsxs)("span",{style:{fontSize:13,fontWeight:500,color:"#2563EB"},children:["ì ì²´ ",f,"ê±´ ê²°ê³¼ 보기 â"]})})]})]})}},4031:function(e,t,n){"use strict";n.d(t,{E:function(){return l}});let r={common:{bg:"#F3F4F6",text:"#4B5563"},manufacturing:{bg:"#EFF6FF",text:"#2563EB"},"manufacturing-partner":{bg:"#E0E7FF",text:"#4338CA"},market:{bg:"#FEF3C7",text:"#92400E"},work:{bg:"#D1FAE5",text:"#065F46"},advert:{bg:"#EDE9FE",text:"#5B21B6"}},l=e=>r[e]||r.manufacturing},82177:function(e,t,n){"use strict";n.d(t,{Z:function(){return el}});var r=n(80121),l=n(92807),s=n(21178),i=n(63141),o=n(71744),a=n(67769),c=n(42748),d=n(96804),u=e=>{var t;let{children:n}=e,{data:l}=(0,c.Z)();return(0,o.useRouter)().pathname,null==l||null===(t=l.result)||void 0===t||t.userId,(0,r.jsxs)(r.Fragment,{children:[n,(0,r.jsx)(d.Mu,{})]})},h=n(39899),x=n(55988),f=n(75998),p=n(76562),m=n(69738),g=()=>{let e=(0,m.useQueryClient)(),{reAuthroziedSocketHandler:t,closeConnectionHandler:n,instance:r}=(0,p.useWebSocket)(),{mutateAsync:l}=(0,f.Z)(),s=(0,o.useRouter)();(0,a.useEffect)(()=>{if(!r)return;let t=async()=>{var t,n;let r=await e.fetchQuery({queryFn:()=>(0,x.BNP)()});if((null===(t=r.result)||void 0===t?void 0:t.isBlockUser)||(null===(n=r.result)||void 0===n?void 0:n.isBlockPartner))return window.dispatchEvent(new CustomEvent("authorized",{detail:"USER_BLOCK"})),e.clear();await l(),e.invalidateQueries({queryKey:(0,x.Z2Q)()})};return r.socket.on("UPDATED_USER_INFO",t),r.socket.on("UPDATED_USER_INFO_FROM_BO",t),()=>{r.socket.off("UPDATED_USER_INFO",t),r.socket.off("UPDATED_USER_INFO_FROM_BO",t)}},[r,l]),(0,a.useEffect)(()=>{let r=r=>{var l;(null===(l=r.detail)||void 0===l?void 0:l.message)==="EXPIRED_TOKEN"&&(e.invalidateQueries({queryKey:["useGetUser"]}),t(r.detail.accessToken)),"MIGRATION_USER"===r.detail&&(n(),s.push({pathname:"/account/setting"})),"INVALID_TOKEN"!==r.detail||(n(),e.clear(),(0,h.qz)(),"/"===window.location.pathname&&"signin"===new URLSearchParams(window.location.search).get("popup")||s.replace({pathname:"/",query:{popup:"signin"}})),"USER_BLOCK"===r.detail&&(n(),e.clear(),(0,h.qz)(),s.replace("/"))};return window.addEventListener("authorized",r),()=>{window.removeEventListener("authorized",r)}},[e,s])},v=n(36253),C=n(33125),b=e=>{var t,n;let{children:l}=e,s=(0,C.Y6)()||[];return(0,r.jsxs)(r.Fragment,{children:[s.length>0&&(0,r.jsx)("div",{className:"fixed w-screen h-screen top-0 bottom-0 right-0 left-0 bg-[rgba(0,0,0,0.4)] z-[10000] flex justify-center items-center",children:(0,r.jsx)(v.Z,{size:(null===(t=s[s.length-1].options)||void 0===t?void 0:t.size)||24,color:(null===(n=s[s.length-1].options)||void 0===n?void 0:n.color)||"bgAccent"})}),l]})},y=n(81765),j=n(64232),w=n(31035),F=n(66520);let E=e=>{let{children:t}=e,n=(0,a.useRef)(0);return(0,a.useEffect)(()=>{let e=(0,F.Z)(e=>{n.current=window.document.documentElement.scrollTop},100);return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),(0,a.useEffect)(()=>{let e=null,t=null,n=0,r=n=>{e=window.document.documentElement.scrollTop,t=n.changedTouches[0]},l=r=>{let l=r.changedTouches[0];if(0===Number(e)&&t&&(null==t?void 0:t.screenY)-l.screenY<0){let e=t.screenY;n=l.screenY-e>100?l.screenY-e:0}},s=e=>{n>=80&&window.document.documentElement.scrollTop<=0?window.location.reload():n=0};return window.addEventListener("touchstart",r),window.addEventListener("touchmove",l),window.addEventListener("touchend",s),()=>{window.removeEventListener("touchstart",r),window.removeEventListener("touchmove",l),window.removeEventListener("touchend",s)}},[]),(0,r.jsx)(r.Fragment,{children:t})};var k=e=>{var t;let{children:n}=e,l=(0,a.useRef)((null===(t=navigator)||void 0===t?void 0:t.standalone)||window.matchMedia("(display-mode: standalone)").matches?"pwa":"browser").current;return(0,r.jsx)(r.Fragment,{children:"pwa"===l?(0,r.jsx)(E,{children:n}):n})};let S={apiKey:"AIzaSyApIOCOmW5rBadVaDYS_Huko5BmJ4s46r4",authDomain:"capa-35c95.firebaseapp.com",projectId:"capa-35c95",
1storageBucket:"capa-35c95.appspot.com",messagingSenderId:"880405801204",appId:"1:880405801204:web:4f01ef1271aa281c3796a1"};var I=e=>{let{children:t}=e,n=(0,a.useRef)((0,j.initializeApp)(S)).current,{data:l,getFCMToken:s,deleteFCMToken:i,mutate:o}=(0,w.Z)(),c=(0,a.useRef)(s),d=(0,a.useRef)(i),u=(0,a.useRef)(null==l?void 0:l.token),h=(0,a.useRef)(o);return(0,a.useEffect)(()=>{c.current=s,d.current=i,u.current=null==l?void 0:l.token,h.current=o}),(0,a.useEffect)(()=>{if("serviceWorker"in navigator)try{(async()=>{await navigator.serviceWorker.register("/firebase-messaging-sw.js")})()}catch(e){}},[]),(0,a.useEffect)(()=>{(async()=>{let e=await (0,y.isSupported)();if(e){let t=(0,y.getMessaging)(n),r=window.Notification.permission;"granted"!==r&&o({app:n,permission:r,messaging:t,isSupport:e}),"granted"===r&&o({app:n,permission:r,token:await (0,y.getToken)(t,{vapidKey:"BLLx5ruB-ExnhWesg1z1WAZ6kiv8-_XhSdMZ_Dr7aURyUnvSOkDT7Yz3woqBl9PhqFIh3cWd0_vcIzDV-eTiKNs"}),messaging:t,isSupport:e})}})()},[o,n]),(0,a.useEffect)(()=>{var e;let t=navigator.userAgent.toLocaleLowerCase();t.includes("android")&&(t.includes("webview")||t.includes("wv"))||void 0===(null===(e=navigator.permissions)||void 0===e?void 0:e.query)||navigator.permissions.query({name:"notifications"}).then(e=>{e.onchange=async e=>{let{state:t}=e.currentTarget;"prompt"===t&&await d.current("default"),"granted"===t&&h.current({permission:"granted"}),"denied"===t&&u.current&&h.current({permission:"denied",token:void 0}),"denied"!==t||u.current||h.current({permission:"denied",token:void 0})}})},[]),(0,r.jsx)(k,{children:t})},R=e=>{let{children:t}=e;return(0,r.jsx)(r.Fragment,{children:t})},Z=n(24710),B=n(95382),A=n(82733),N=n(53179),T=n(21786),D=n(32854),_=n(44672),L=n(1856);let M="CARD_REREGISTER_MODAL_DO_NOT_OPEN_AGAIN",z=()=>{let e=new Date().getDate(),t=new Date(new Date().setDate(e+1)),[n,r,l]=[t.getFullYear(),t.getMonth()+1,t.getDate()];(0,B.qQ)(M,"".concat(n,"-").concat(r,"-").concat(l))},q=()=>{let e=(0,B.cF)(M);return!!e&&new Date(e).getTime()>new Date().getTime()};var H=()=>{let{closeModal:e}=(0,Z.Z)(),t=(0,o.useRouter)();return(0,r.jsxs)(_.Z,{open:!0,onClose:e,className:"w-full max-w-[480px]",children:[(0,r.jsx)(_.Z.Header,{children:"구ë
íë ì 기 ê²°ì ë±ë¡"}),(0,r.jsxs)(_.Z.Contents,{className:"flex flex-col gap-8 px-16 mobile:px-24",children:[(0,r.jsx)(L.Z,{variant:"text-xl",color:"textSecondary",children:"ê²°ì ìì¤í
ë³ê²½ì¼ë¡, 기존ì ë±ë¡íì ì¹´ë ì ë³´ê° ë ì´ì ì¬ì©ëì§ ììµëë¤."}),(0,r.jsx)(L.Z,{variant:"text-xl",color:"textSecondary",children:"ì´ì© ì¤ì´ì 구ë
íëì ëê¹ ìì´ ì¬ì©íìë ¤ë©´ ì¹´ë를 ë¤ì ë±ë¡í´ 주ì¸ì. ì¹´ë를 ì¬ë±ë¡íì§ ìì¼ë©´ ë¤ì ê²°ì ì¼ì 구ë
ì´ ì ìì ì¼ë¡ ê°±ì ëì§ ìì ì ììµëë¤."})]}),(0,r.jsxs)(_.Z.Buttons,{className:"flex flex-col items-center gap-12",children:[(0,r.jsx)(D.Z,{fullWidth:!0,size:{desktop:"lg",mobile:"m"},onClick:()=>{e(),t.push("/account/partner-plan?openPayment=1")},children:"ê²°ì ìë¨ ì¬ë±ë¡"}),(0,r.jsx)(D.Z,{variant:"text",color:"tertiary",onClick:()=>{z(),e()},children:"ì¤ë í루 ë³´ì§ ì기"})]})]})};let V="CARD_REREGISTER_MODAL_SHOWN_SESSION";var O=()=>{var e;let{openModal:t}=(0,Z.Z)(),n=(0,N.P)(),{data:l}=(0,x.pgb)(),s=null==l?void 0:null===(e=l.result)||void 0===e?void 0:e.partnerId,{data:i}=(0,A.Z)(),{data:o}=(0,x.MuF)({enabled:!!s,suspense:!1,refetchOnMount:!0,staleTime:3e4}),c=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{var e,l;if(c.current||n||!s||!i||!o||!((null!==(e=i.planId)&&void 0!==e?e:1)!==1||i.isFree))return;let{hasUsableMainCard:a}=(0,T.IJ)(null!==(l=o.result)&&void 0!==l?l:[]);!(a||q())&&((0,B.G)(V)||(c.current=!0,(0,B.t_)(V,"1"),t((0,r.jsx)(H,{}))))},[s,i,o,t,n]),null},W=n(33337),P=n(9264);let U=e=>"TERMS_REVISION_NOTICE_20260901_V3_DISMISSED_".concat(e),K=e=>!!(0,B.cF)(U(e)),Y=Date.UTC(2026,7,31,15,0,0),Q=()=>Date.now()<Y,X=e=>{let{children:t}=e;return(0,r.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none","aria-hidden":!0,children:[(0,r.jsx)("rect",{x:"0.5",y:"0.5",width:"39",height:"39",rx:"7.5",fill:"#F4F9FF"}),(0,r.jsx)("rect",{x:"0.5",y:"0.5",width:"39",height:"39",rx:"7.5",stroke:"#2B83FF"}),t]})},G=[{tile:(0,r.jsx)(()=>(0,r.jsx)(X,{children:(0,r.jsx)("path",{d:"M27.5 13.75C27.8315 13.75 28.1494 13.8818 28.3838 14.1162C28.6182 14.3506 28.75 14.6685 28.75 15V18.125C28.75 18.2908 28.6846 18.4502 28.5674 18.5674C28.4502 18.6846 28.2908 18.75 28.125 18.75C27.7935 18.75 27.4756 18.8818 27.2412 19.1162C27.0068 19.3506 26.875 19.6685 26.875 20C26.875 20.3315 27.0068 20.6494 27.2412 20.8838C27.4756 21.1182 27.7935 21.25 28.125 21.25C28.2908 21.25 28.4502 21.3154 28.5674 21.4326C28.6846 21.5498 28.75 21.7092 28.75 21.875V25C28.75 25.3315 28.6182 25.6494 28.3838 25.8838C28.1494 26.1182 27.8315 26.25 27.5 26.25H12.5C12.1685 26.25 11.8506 26.1182 11.6162 25.8838C11.3818 25.6494 11.25 25.3315 11.25 25V21.875C11.25 21.7092 11.3154 21.5498 11.4326 21.4326C11.5498 21.3154 11.7092 21.25 11.875 21.25C12.2065 21.25 12.5244 21.1182 12.7588 20.8838C12.9932 20.6494 13.125 20.3315 13.125 20C13.125 19.6685 12.9932 19.3506 12.7588 19.1162C12.5244 18.8818 12.2065 18.75 11.875 18.75C11.7092 18.75 11.5498 18.6846 11.4326 18.5674C11.3154 18.4502 11.25 18.2908 11.25 18.125V15C11.25 14.6685 11.3818 14.3506 11.6162 14.1162C11.8506 13.8818 12.1685 13.75 12.5 13.75H27.5ZM12.5 15V17.5811C13.0349 17.7209 13.5087 18.0341 13.8467 18.4717C14.1847 18.9093 14.3682 19.447 14.3682 20C14.3682 20.553 14.1847 21.0907 13.8467 21.5283C13.5087 21.9659 13.0349 22.2791 12.5 22.4189V25H21.875V23.125H23.125V25H27.5V22.4189C26.9651 22.2791 26.4913 21.9659 26.1533 21.5283C25.8153 21.0907 25.6318 20.553 25.6318 20C25.6318 19.447 25.8153 18.9093 26.1533 18.4717C26.4913 18.0341 26.9651 17.7209 27.5 17.5811V15H23.125V16.875H21.875V15H12.5ZM23.125 18.125V21.875H21.875V18.125H23.125Z",fill:"#2B83FF"})}),{}),lead:"구ë
íí¸ë ííì´ ê°íë¼ì",bullets:["íë¡ì í¸ê° 구ë
ì
ì°°ê³¼ ìì ì
ì°°ë¡ ëëì´ì","ì ë¶ê³¼ì ë± ì¼ë¶ íë¡ì í¸ë 구ë
íí¸ëë§ ì°¸ì¬í ì ìì´ì","ë¬´ë£ íìì ì 5í ì
ì°°ê¶ì´ ì¢
ë£ë¼ì"]},{tile:(0,r.jsx)(()=>(0,r.jsx)(X,{children:(0,r.jsx)("path",{d:"M28.75 27.5H11.25V26.25H28.75V27.5ZM28.75 25H11.25V23.75H28.75V25ZM27.5 12.5C27.8313 12.5008 28.1486 12.6329 28.3828 12.8672C28.6171 13.1014 28.7492 13.4187 28.75 13.75V21.25C28.7496 21.5814 28.6181 21.8995 28.3838 22.1338C28.1495 22.3681 27.8314 22.4996 27.5 22.5H12.5C12.1687 22.4992 11.8514 22.3671 11.6172 22.1328C11.3829 21.8986 11.2508 21.5813 11.25 21.25V13.75C11.2508 13.4187 11.3829 13.1014 11.6172 12.8672C11.8514 12.6329 12.1687 12.5008 12.5 12.5H27.5ZM12.5 21.25H27.5V13.75H12.5V21.25ZM19.5127 15.0479C19.9975 14.9515 20.5004 15.0013 20.957 15.1904C21.4137 15.3797 21.8045 15.7003 22.0791 16.1113C22.3536 16.5224 22.5 17.0057 22.5 17.5C22.4993 18.1628 22.2353 18.7979 21.7666 19.2666C21.2979 19.7353 20.6628 19.9993 20 20C19.5057 20 19.0224 19.8536 18.6113 19.5791C18.2003 19.3045 17.8797 18.9137 17.6904 18.457C17.5013 18.0004 17.4515 17.4975 17.5479 17.0127C17.6443 16.5277 17.8828 16.0821 18.2324 15.7324C18.5821 15.3828 19.0277 15.1443 19.5127 15.0479ZM15 16.25C15.3315 16.25 15.6494 16.3818 15.8838 16.6162C16.1182 16.8506 16.25 17.1685 16.25 17.5C16.25 17.7472 16.1764 17.9888 16.0391 18.1943C15.9017 18.3999 15.7069 18.5607 15.4785 18.6553C15.2501 18.7499 14.9983 18.7738 14.7559 18.7256C14.5135 18.6773 14.2909 18.5585 14.1162 18.3838C13.9415 18.2091 13.8227 17.9865 13.7744 17.7441C13.7262 17.5017 13.7501 17.2499 13.8447 17.0215C13.9393 16.7931 14.1001 16.5983 14.3057 16.4609C14.5112 16.3236 14.7528 16.25 15 16.25ZM20 16.25C19.7528 16.25 19.5112 16.3236 19.3057 16.4609C19.1001 16.5983 18.9393 16.7931 18.8447 17.0215C18.7
1501 17.2499 18.7262 17.5017 18.7744 17.7441C18.8227 17.9865 18.9415 18.2091 19.1162 18.3838C19.2909 18.5585 19.5135 18.6773 19.7559 18.7256C19.9983 18.7738 20.2501 18.7499 20.4785 18.6553C20.7069 18.5607 20.9017 18.3999 21.0391 18.1943C21.1764 17.9888 21.25 17.7472 21.25 17.5C21.2497 17.1686 21.1181 16.8506 20.8838 16.6162C20.6494 16.3819 20.3314 16.2503 20 16.25ZM25 16.25C25.3315 16.25 25.6494 16.3818 25.8838 16.6162C26.1182 16.8506 26.25 17.1685 26.25 17.5C26.25 17.7472 26.1764 17.9888 26.0391 18.1943C25.9017 18.3999 25.7069 18.5607 25.4785 18.6553C25.2501 18.7499 24.9983 18.7738 24.7559 18.7256C24.5135 18.6773 24.2909 18.5585 24.1162 18.3838C23.9415 18.2091 23.8227 17.9865 23.7744 17.7441C23.7262 17.5017 23.7501 17.2499 23.8447 17.0215C23.9393 16.7931 24.1001 16.5983 24.3057 16.4609C24.5112 16.3236 24.7528 16.25 25 16.25Z",fill:"#2B83FF"})}),{}),lead:"ì§ì ê°ë¥í ì´ìì ìí ì ì±
ì´ ì ì©ë¼ì",bullets:["íë«í¼ ê±°ë ììë£ê° ì ì¤ë¼ì","구ë
íëì ë°ë¼ ììë£ê° ì°¨ë± ì ì©ë¼ì","ë³´ë¤ ê· íì ì¸ êµ¬ë
ì ì´ìì ìí´ êµ¬ë
íëì ì
ì°° ííì´ ì¼ë¶ ì¡°ì ë¼ì"]},{tile:(0,r.jsx)(()=>(0,r.jsxs)(X,{children:[(0,r.jsx)("path",{d:"M20.471 16.0128C20.8573 17.3006 21.8648 18.3081 23.1525 18.6945L25.9041 19.5203C26.3792 19.6629 26.3791 20.3356 25.904 20.4782L23.1529 21.3035C21.865 21.6898 20.8573 22.6975 20.4709 23.9854L19.6456 26.7366C19.5031 27.2117 18.8304 27.2117 18.6878 26.7366L17.862 23.985C17.4756 22.6973 16.4681 21.6899 15.1803 21.3035L12.4294 20.4782C11.9543 20.3356 11.9543 19.6629 12.4293 19.5204L15.1808 18.6945C16.4683 18.3081 17.4755 17.3008 17.862 16.0133L18.6878 13.2619C18.8304 12.7868 19.5031 12.7869 19.6456 13.2619L20.471 16.0128Z",fill:"#2B83FF"}),(0,r.jsx)("path",{d:"M25.3049 11.8508C25.5947 12.8166 26.3502 13.5722 27.316 13.8621L27.6947 13.9757C27.8848 14.0327 27.8848 14.3018 27.6947 14.3588L27.3163 14.4724C26.3504 14.7621 25.5946 15.5179 25.3049 16.4838L25.1914 16.8622C25.1344 17.0522 24.8653 17.0523 24.8082 16.8622L24.6946 16.4835C24.4047 15.5177 23.6491 14.7621 22.6833 14.4724L22.3049 14.3588C22.1148 14.3018 22.1148 14.0328 22.3048 13.9757L22.6836 13.862C23.6492 13.5722 24.4047 12.8167 24.6945 11.8511L24.8082 11.4723C24.8653 11.2823 25.1343 11.2823 25.1914 11.4723L25.3049 11.8508Z",fill:"#2B83FF"})]}),{}),lead:"AI 기ì ë¡ ì±ì¥ì ì§ìí´ì",bullets:["AI\xb7IT ê¸°ë° ìë¹ì¤ë¥¼ 구ë
íí¸ëìê² ìì°¨ì ì¼ë¡ ì ê³µí´ì","íí¸ëì ì
무 í¨ì¨ê³¼ ì주 ê²½ìë ¥ ê°í를 ì§ìì ì¼ë¡ ì§ìí´ì"]}];var J=e=>{let{userId:t}=e,{closeModal:n}=(0,Z.Z)();return(0,r.jsxs)(_.Z,{open:!0,onClose:n,hiddenClose:!0,className:"w-full max-w-[440px] !rounded-[16px] !p-0 overflow-hidden",children:[(0,r.jsxs)(_.Z.Contents,{className:"!p-0",children:[(0,r.jsxs)("div",{className:"relative bg-cover bg-center px-24 pb-24 pt-32 max-mobile:px-16",style:{backgroundImage:"linear-gradient(90deg, rgba(0, 53, 131, 0.97) 0%, rgba(33, 92, 173, 0.86) 55%, rgba(43, 131, 255, 0.58) 100%), url('/assets/terms-notice-header.jpg')"},children:[(0,r.jsx)("button",{type:"button","aria-label":"ë«ê¸°",onClick:()=>n(),className:"absolute right-12 top-20 flex h-28 w-28 items-center justify-center text-white",children:(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,r.jsx)("path",{d:"M1 1L15 15M15 1L1 15",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"})})}),(0,r.jsx)("span",{className:"inline-block rounded-full bg-white/[0.18] px-12 py-4 text-[12px] font-bold leading-[1.2] text-white",children:"íí¸ë ìë¹ì¤ ê°í¸"}),(0,r.jsxs)("h2",{className:"mt-12 text-[20px] font-bold leading-[1.6] tracking-[-0.015em] text-white",children:["ë ëì ì ì¡° ìíê³ êµ¬ì¶ì ìí´",(0,r.jsx)("br",{}),"구ë
ìë¹ì¤ê° ìë¡ê² ê°í¸ë©ëë¤."]})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-8 px-24 pb-12 pt-20 max-mobile:px-16",children:[(0,r.jsx)("ul",{className:"flex flex-col",children:G.map(e=>(0,r.jsxs)("li",{className:"flex items-start gap-12 py-8",children:[(0,r.jsx)("span",{className:"flex-none",children:e.tile}),(0,r.jsxs)("div",{className:"flex flex-1 flex-col gap-4",children:[(0,r.jsx)("span",{className:"text-[16px] font-bold leading-[1.3] tracking-[-0.019em] text-textAccent",children:e.lead}),(0,r.jsx)("ul",{className:"flex flex-col gap-4",children:e.bullets.map(e=>(0,r.jsxs)("li",{className:"flex gap-4 text-[13px] leading-[1.6] tracking-[-0.023em] text-textSecondary",children:[(0,r.jsx)("span",{"aria-hidden":!0,
1className:"flex-none",children:"â¢"}),(0,r.jsx)("span",{className:"flex-1",children:e})]},e))})]})]},e.lead))}),(0,r.jsxs)("div",{className:"flex flex-col gap-10 pt-8",children:[(0,r.jsx)("div",{className:"py-8",children:(0,r.jsx)("div",{className:"h-px w-full bg-borderBasic"})}),(0,r.jsxs)("p",{className:"text-[12px] leading-[1.6] text-textSecondary",children:["2026ë
8ì 31ì¼ê¹ì§ ê±°ë¶ ìì¬ë¥¼ íìíì§ ìì¼ìë©´ ê°ì ì½ê´ì ëìíì ê²ì¼ë¡ ê°ì£¼ë¼ì."," ",(0,r.jsx)("a",{href:"/terms#service",target:"_blank",rel:"noopener noreferrer",className:"underline",children:"ì½ê´ ì 문 보기"})]})]})]})]}),(0,r.jsxs)(_.Z.Buttons,{className:"flex-col items-center",children:[(0,r.jsx)(D.Z,{fullWidth:!0,size:{desktop:"lg",mobile:"m"},onClick:()=>{n(),window.location.href="https://capa.ai/knowledge/post/capa-august-2026-update-bidding-subscription"},children:"ìì¸í 보기"}),(0,r.jsx)(D.Z,{variant:"text",onClick:()=>{(0,B.qQ)(U(t),new Date().toISOString()),n()},children:"ë¤ì ë³´ì§ ì기"})]})]})},$=()=>{let{openModal:e}=(0,Z.Z)(),{data:t}=(0,x.pgb)(),n=null==t?void 0:t.result,{data:l}=(0,A.Z)(),{data:s}=(0,x.MuF)({enabled:!!(null==n?void 0:n.partnerId),suspense:!1,refetchOnMount:!0,staleTime:3e4}),i=(0,a.useRef)(!1),o=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{var t,a;if(i.current||o.current||(0,W.lU)()||!(null==n?void 0:n.userId)||!n.partnerId||!n.isPartnerActivate||!Q()||K(n.userId)||!l||!s||!1===s.success)return;let c=(null!==(t=l.planId)&&void 0!==t?t:P.k)!==P.k||!!l.isFree,{hasUsableMainCard:d}=(0,T.IJ)(null!==(a=s.result)&&void 0!==a?a:[]);if((0,B.G)(V)||c&&!d&&!q()){o.current=!0;return}i.current=!0,e((0,r.jsx)(J,{userId:n.userId}))},[n,l,s,e]),null},ee=n(69176);let et=e=>{let{children:t}=e;return g(),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.Z,{children:(0,r.jsx)(l.Z,{children:t})}),(0,r.jsx)(O,{}),(0,r.jsx)($,{}),!1]})},en=e=>{let{children:t}=e,n=(0,o.useRouter)(),l="/project"===n.pathname||n.pathname.startsWith("/project/");return(0,r.jsxs)(r.Fragment,{children:[t,!l&&!n.pathname.includes("/knowledge")&&!n.pathname.includes("/alchemist")&&!n.pathname.includes("/mail")&&!n.pathname.includes("rfq-clipboard")&&"file-viewer"!==n.query.v&&"clipboard"!==n.query.v&&!(0,W.cn)()&&(0,r.jsx)(d.$_,{})]})},er=e=>{var t,n,l;let{children:s,auth:i}=e,{data:o}=(0,x.pgb)(),{loggedOut:c}=(0,ee.aC)(),h=null==o?void 0:null===(t=o.result)||void 0===t?void 0:t.userId,f=!!((null==o?void 0:null===(n=o.result)||void 0===n?void 0:n.isBlockPartner)||(null==o?void 0:null===(l=o.result)||void 0===l?void 0:l.isBlockUser));return(0,a.useEffect)(()=>{f&&c()},[f]),(0,r.jsx)(I,{children:(0,r.jsx)(p.WebSocketProvider,{userId:h,children:(0,r.jsxs)(et,{children:[(0,r.jsx)(en,{children:(0,r.jsx)(u,{children:(0,r.jsx)(b,{children:(0,r.jsxs)(R,{children:[s,(0,r.jsx)(d.uz,{userId:h})]})})})}),(0,r.jsx)(d.LJ,{})]})})})};var el=function(e){return t=>e&&e.provider?(0,r.jsx)(i.wI,{children:(0,r.jsx)(e.provider,{children:(0,r.jsx)(er,{auth:null==e?void 0:e.auth,children:t})})}):(0,r.jsx)(i.wI,{children:(0,r.jsx)(er,{auth:null==e?void 0:e.auth,children:t})})}},31035:function(e,t,n){"use strict";var r=n(69738),l=n(67769),s=n(81765),i=n(55988);t.Z=()=>{let e=(0,r.useQueryClient)(),{data:t}=(0,r.useQuery)(["useWebPush"],{queryFn:()=>null,initialData:null,staleTime:1/0,cacheTime:1/0}),{mutateAsync:n}=(0,i.wgT)(),{permission:o,messaging:a,token:c}=t||{},d=(0,l.useCallback)(t=>{e.setQueryData(["useWebPush"],e=>({...e,...t}))},[e]),u=(0,l.useCallback)(async()=>{try{if(a){let e=c;return c||(e=await (0,s.getToken)(a,{vapidKey:"BLLx5ruB-ExnhWesg1z1WAZ6kiv8-_XhSdMZ_Dr7aURyUnvSOkDT7Yz3woqBl9PhqFIh3cWd0_vcIzDV-eTiKNs"}),await n({token:e})),d({token:e,permission:"granted"}),e}}catch(e){return null}},[a,c,n,d]),h=(0,l.useCallback)(async e=>{if(a){try{await (0,s.deleteToken)(a)}catch(e){}d({token:void 0,permission:e})}},[a,d]),x=(0,l.useCallback)(async()=>"default"===o?await window.Notification.requestPermission():("granted"===o&&a&&!c&&await u(),o),[u,c,o,a]);return{data:t,mutate:d,getFCMToken:u,deleteFCMToken:h,requestPermission:x}}},54827:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}});var r=n(80121),l=n(93711),s=n.n(l),i=n(37130),o=n.n(i),a=n(71744),c=n(67769),d=n(82177),u=n(96804),h=n(69405),x=n(99158),f=n(4031);function p(){let e=(0,a.useRouter)().query.q||"",[t,l]=(0,c.useState)([]),[i,d]=(0,c.useState)(0),[p,m]=(0,c.useState)([]),[g,v]=(0,c.useState)(new Set),[C,b]=(0,c.useState)(1),y=Math.ceil(i/10),j=(0,c.useCallback)(async()=>
1{if(!e||e.length<2)return;let t=new URLSearchParams({keyword:e,limit:String(10),offset:String((C-1)*10)});1===g.size&&t.set("serviceSlug",Array.from(g)[0]);try{var r,s,i;let{faqApiUrl:e,getClientPlatform:o,getOrCreateSessionId:a}=await n.e(3185).then(n.bind(n,13185)),c=a();c&&t.set("sessionId",c),t.set("platform",o());let u=await fetch(e("/public/faq/search?".concat(t)));if(!u.ok){l([]);return}let h=await u.json();l((null===(r=h.result)||void 0===r?void 0:r.items)||[]),d((null===(s=h.result)||void 0===s?void 0:s.total)||0),1===C&&m((null===(i=h.result)||void 0===i?void 0:i.serviceCounts)||[])}catch(e){l([])}},[e,C,g]);(0,c.useEffect)(()=>{j()},[j]),(0,c.useEffect)(()=>{b(1)},[e,g]);let w=e=>{v(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},F=e=>e.replace(/[&<>"']/g,e=>{var t;return null!==(t=({"&":"&","<":"<",">":">",'"':""","'":"'"})[e])&&void 0!==t?t:e}),E=t=>{let n=F(t);if(!e)return n;let r=RegExp("(".concat(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),")"),"gi");return n.replace(r,"<mark>$1</mark>")};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s(),{children:(0,r.jsxs)("title",{children:["'",e,"' ê²ì ê²°ê³¼ | CAPA FAQ"]})}),(0,r.jsx)(u.rJ,{border:!0}),(0,r.jsxs)("div",{style:{minHeight:"100vh",backgroundColor:"#FFFFFF",paddingTop:65},children:[(0,r.jsx)("div",{style:{height:72,backgroundColor:"#f4f9ff",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,r.jsx)(x.Z,{defaultValue:e})}),(0,r.jsxs)("div",{style:{display:"flex",maxWidth:1440,margin:"0 auto"},children:[(0,r.jsxs)("div",{className:"hidden md:block",style:{width:240,padding:"24px 20px",flexShrink:0},children:[(0,r.jsx)("h3",{style:{fontSize:14,fontWeight:600,color:"#111827",marginBottom:16},children:"ìë¹ì¤ íí°"}),p.map(e=>{let t=g.has(e.serviceSlug);return(0,r.jsxs)("label",{style:{display:"flex",alignItems:"center",gap:10,marginBottom:12,cursor:"pointer"},children:[(0,r.jsx)("input",{type:"checkbox",checked:t,onChange:()=>w(e.serviceSlug),style:{width:18,height:18}}),(0,r.jsxs)("span",{style:{fontSize:13,color:t?"#111827":"#6B7280"},children:[e.serviceName," (",e.count,")"]})]},e.serviceSlug)})]}),(0,r.jsxs)("div",{style:{flex:1,padding:"24px 48px"},children:[(0,r.jsxs)("h2",{style:{fontSize:16,fontWeight:600,color:"#111827",marginBottom:24},children:["'",e,"' ê²ì ê²°ê³¼ ",i,"ê±´"]}),t.length>0?(0,r.jsxs)(r.Fragment,{children:[t.map(t=>{let n=(0,f.E)(t.serviceSlug);return(0,r.jsxs)(o(),{href:"/faq/".concat(t.serviceSlug,"/").concat(t.categorySlug,"?itemId=").concat(t.faqItemId,"&from=search&q=").concat(encodeURIComponent(e)),style:{textDecoration:"none",display:"block",padding:"20px 0",borderBottom:"1px solid #E5E7EB"},children:[(0,r.jsxs)("div",{style:{display:"flex",gap:6,marginBottom:8},children:[(0,r.jsx)("span",{style:{fontSize:11,padding:"3px 8px",borderRadius:4,backgroundColor:n.bg,color:n.text},children:t.serviceName}),(0,r.jsx)("span",{style:{fontSize:11,padding:"3px 8px",borderRadius:4,backgroundColor:"#F3F4F6",color:"#6B7280"},children:t.categoryName})]}),(0,r.jsx)("div",{style:{fontSize:15,fontWeight:600,color:"#111827",marginBottom:4},dangerouslySetInnerHTML:{__html:E(t.question)}}),(0,r.jsx)("div",{style:{fontSize:13,color:"#6B7280",lineHeight:1.5},dangerouslySetInnerHTML:{__html:E(t.answerPreview||"")}})]},t.faqItemId)}),y>1&&(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:16,padding:"32px 0"},children:[(0,r.jsx)("button",{disabled:C<=1,onClick:()=>b(C-1),style:{padding:"10px 20px",borderRadius:8,border:"1px solid #D1D5DB",backgroundColor:"#FFFFFF",cursor:C<=1?"not-allowed":"pointer",color:C<=1?"#9CA3AF":"#374151",fontSize:14,fontWeight:500},children:"â ì´ì "}),(0,r.jsxs)("span",{children:[(0,r.jsx)("span",{style:{fontSize:14,fontWeight:700,color:"#2563EB"},children:C}),(0,r.jsx)("span",{style:{fontSize:14,color:"#9CA3AF"},children:" / "}),(0,r.jsx)("span",{style:{fontSize:14,fontWeight:500,color:"#6B7280"},children:y})]}),(0,r.jsx)("button",{disabled:C>=y,onClick:()=>b(C+1),style:{padding:"10px 20px",borderRadius:8,border:"none",backgroundColor:C>=y?"#F3F4F6":"#2563EB",cursor:C>=y?"not-allowed":"pointer",color:C>=y?"#9CA3AF":"#FFFFFF",fontSize:14,fontWeight:500},children:"ë¤ì â"})]}),(0,r.jsx)(h.Z,{variant:"bottom",context:e})]}):(0,r.jsx)(h.Z,{variant:"empty",context:e})]})]})]})]})}p.getLayout=(0,d.Z)()},92807:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(76204),l=n(67769),s=n(79313),i=e=>{let{children:t}=e,n=(0,l.useRef)([]),i=(0,l.useRef)([]),o=(0,l.useRef)(()=>{n.current.length>0&&(document.body.style.overflow="hidden")}),a=(0,l.useRef)(()=>{0===n.current.length&&document.body.style.removeProperty("overflow")}),c=(0,l.useRef)(e=>{if(u.current(e)){var t;null===(t=e.ref)||void 0===t||t.focus()}}),d=(0,l.useRef)((e,t)=>{let r=n.current.indexOf(e);if(-1!==r)return r;r=n.current.length,n.current.push(e);let l=i.current.findIndex(e=>e.el===t);
1return -1!==l?i.current[l].modals.push(e):(i.current.push({modals:[e],el:t}),o.current()),r}),u=(0,l.useRef)(e=>n.current.length>0&&n.current[n.current.length-1].el===e.el),h=(0,l.useRef)(e=>{let t=n.current.findIndex(t=>t.el===e.el);if(-1===t)return t;let r=i.current.findIndex(t=>-1!==t.modals.findIndex(t=>t.el===e.el)),l=i.current[r];i.current.splice(r,1),n.current.splice(t,1),l.el.remove(),a.current()});return(0,r.jsx)(s.Z.Provider,{value:{focus:c.current,remove:h.current,add:d.current,isTopModal:u.current,preventScroll:o.current,releaseScroll:a.current},children:t})},o=n(99736),a=e=>{let{children:t}=e,{modals:n}=(0,o.Z)();return(0,r.jsxs)(i,{children:[t,n.map((e,t)=>(0,r.jsx)(l.Fragment,{children:e},t))]})}},21178:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r,l,s=n(76204),i=n(67769),o=n.n(i),a=n(31034),c=n(80339),d=n(44808);let u=o().forwardRef(function(e,t){let{children:n,size:s=16,...i}=e;return o().createElement(d.I,{width:s,height:s,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},r||(r=o().createElement("path",{fill:"none",d:"M14.875,8h2.25V19h-2.25ZM16,25a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,25Z","data-icon-path":"inner-path"})),l||(l=o().createElement("path",{d:"M30.8508,15.4487,23.8867,3.5322A1.0687,1.0687,0,0,0,22.9643,3H9.0357a1.0687,1.0687,0,0,0-.9224.5322L1.1492,15.4487a1.0933,1.0933,0,0,0,0,1.1026L8.1133,28.4678A1.0687,1.0687,0,0,0,9.0357,29H22.9643a1.0687,1.0687,0,0,0,.9224-.5322l6.9641-11.9165A1.0933,1.0933,0,0,0,30.8508,15.4487ZM14.875,8h2.25V19h-2.25ZM16,25a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,25Z"})),n)});var h=n(6277),x=n(33532);let f=(0,i.forwardRef)((e,t)=>{let{collapsed:n,color:r,position:l,children:o,handleCollapsed:a,duration:c=3e3,...d}=e,u=(0,i.useRef)(0),[f,p]=(0,i.useState)(!1);(0,i.useEffect)(()=>{if(!n){let e=t.current;e&&(u.current=requestAnimationFrame(()=>{switch(e.style.marginBottom="8px",e.style.opacity="1",e.style.maxHeight="100%",l){case"bottom-left":e.style.transform="translateX(0)";break;case"bottom-right":e.style.transform="translateX(-100%)";break;case"top-center":case"bottom-center":e.style.transform="translateY(0%)"}}))}if(n){let e=t.current;e&&(u.current=requestAnimationFrame(()=>{switch(e.style.opacity="0",e.style.maxHeight="100%",l){case"bottom-left":e.style.transform="translateX(-100%)";break;case"bottom-right":e.style.transform="translateX(0%)";break;case"top-center":e.style.transform="translateY(-100%)";break;case"bottom-center":e.style.transform="translateY(100%)"}}))}},[n,t,l]),(0,i.useEffect)(()=>{let e;return!t.current||n||f||(e=setTimeout(()=>{a()},c)),()=>{clearTimeout(e)}},[n,c,t,f,a]),(0,i.useEffect)(()=>()=>{cancelAnimationFrame(u.current)},[]);let m=(0,i.useCallback)(()=>{p(e=>!e)},[]);return(0,s.jsx)("div",{...d,ref:(0,x.Z)(t),className:(0,h.Z)("min-w-343 flex justify-center","transition-all duration-300 ease-in opacity-0 select-none","py-[11.5
1px] px-[12px] rounded-200","flex gap-8",{"bg-gray900":"default"===r,"bg-red200":"error"===r,"bg-blue200":"info"===r}),onClick:a,onMouseEnter:m,onMouseLeave:m,children:o})}),p=()=>(0,s.jsx)("svg",{className:"text-textWhite",width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.43754 15.625H9.25004V14.375H6.43754C5.54603 14.3763 4.68892 14.031 4.04734 13.412C3.40576 12.793 3.02997 11.9488 2.99938 11.0578C2.96879 10.1668 3.28579 9.29879 3.8834 8.63722C4.48101 7.97566 5.31241 7.57235 6.20192 7.51251L6.72461 7.4772L6.78086 6.95626C6.91973 5.68489 7.54058 4.51509 8.51566 3.68751C9.49074 2.85994 10.7459 2.43753 12.0229 2.50718C13.3 2.57683 14.5018 3.13325 15.3811 4.06197C16.2603 4.99069 16.7503 6.22108 16.75 7.50001H18C17.9995 5.94473 17.4191 4.44551 16.3723 3.29529C15.3254 2.14508 13.8873 1.4265 12.3389 1.27995C10.7906 1.13341 9.24319 1.56944 7.99913 2.50283C6.75507 3.43623 5.90372 4.79994 5.61142 6.32751C4.45845 6.53345 3.42443 7.16375 2.7131 8.09422C2.00178 9.02468 1.66474 10.1878 1.7684 11.3544C1.87206 12.5211 2.4089 13.6065 3.27314 14.397C4.13737 15.1875 5.26633 15.6256 6.43754 15.625ZM19.25 10H11.75V11.25H19.25V10ZM11.75 13.125H19.25V14.375H11.75V13.125ZM11.75 16.25H19.25V17.5H11.75V16.25Z",fill:"white"})}),m=(0,i.forwardRef)((e,t)=>{let{id:n,icon:r,color:l,message:o,duration:a,position:d,onRemove:x}=e,m=(0,i.useRef)(null),g=(0,i.useRef)(null),[v,C]=(0,i.useState)(!0),b=(0,i.useCallback)(()=>m.current=setTimeout(()=>{C(e=>!e)},125),[]),y=(0,i.useCallback)(e=>{"transform"===e.propertyName&&v&&x(n)},[x,n,v]);return(0,i.useEffect)(()=>{m.current=b()},[b]),(0,i.useEffect)(()=>()=>{m.current&&clearTimeout(m.current)},[]),(0,s.jsxs)(f,{duration:a,ref:g,collapsed:v,position:d,color:l,handleCollapsed:b,onTransitionEnd:y,children:[r&&"default"===l&&(0,s.jsx)(p,{}),r&&"error"===l&&(0,s.jsx)(u,{size:20,className:"text-bgNegative"}),r&&"info"===l&&(0,s.jsx)(c.Z,{size:20,className:"text-textAccent"}),(0,s.jsx)("span",{className:(0,h.Z)("text-m font-medium",{"text-white":"default"===l,"text-textNegative":"error"===l,"text-textAccent":"info"===l}),children:o})]})});var g=(0,i.memo)(m),v=n(44871),C=n(96343),b=()=>{let e=(0,i.useRef)(null),t=(0,i.useRef)(null),{deleteSnackbar:n}=(0,v.Z)(),{snackbars:r,position:l}=(0,C.Z)();return((0,i.useEffect)(()=>{r.length>0&&(t.current=requestAnimationFrame(()=>{e.current&&(e.current.style.height="auto",e.current.style.willChange="height, max-height, transform",e.current.style.maxHeight="100%")})),0===r.length&&t.current&&cancelAnimationFrame(t.current)},[r]),0===r.length)?null:(0,s.jsx)("div",{ref:e,style:{maxHeight:0},className:(0,h.Z)("flex-col-reverse","transition-all duration-[700ms] ease-linear ","fixed z-[2000] max-w-[343px]",{"bottom-[20px] left-[20px]":"bottom-left"===l,"bottom-[20px] right-[20px]":"bottom-right"===l,"bottom-[20px] left-[50%] translate-x-[-50%]":"bottom-center"===l,"left-[50%] top-[30px] translate-x-[-50%] flex-col":"top-center"===l}),children:null==r?void 0:r.map((e,t)=>{var r,s;return(0,i.createElement)(g,{...e,key:e.id,duration:3e3,position:l,color:null===(r=e.options)||void 0===r?void 0:r.color,icon:null===(s=e.options)||void 0===s?void 0:s.icon,onRemove:n})})})},y=e=>{let{children:t,duration:n=3e3,max:r=3}=e,[l,o]=(0,i.useState)(null),{snackbars:c}=(0,C.Z)();return(0,i.useEffect)(()=>{setTimeout(()=>{o(document.body)},0)},[t]),(0,i.useEffect)(()=>{0===c.length?o(null):o(document.body)},[c]),(0,s.jsxs)(s.Fragment,{children:[t,(0,s.jsx)(a.Z,{container:l,children:(0,s.jsx)(b,{})})]})}}},function(e){var t=[];e(23627),e.f&&e.f.consumes&&(e.f.consumes(2888,t),e.f.consumes(168,t)),_N_E=Promise.all(t).then(function(){var t=function(t){return e(e.s=t)};return e.O(0,[2888,179],function(){return t(23627),t(97717)}),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.