PageSourceSearch

https://news-247.ai/assets/OrderCreate-BkHR2h4Z.js

js news-247.ai collected 2026-10-05 15:41:30 UTC 3,492 bytes, 1 lines download raw bytes

1import{j as e,q as x,ad as h,m as n,N as u,G as p}from"./vendor-ui-BH-eljHz.js";import{h as g,i as b,r as o,L as f}from"./vendor-react-Bfcfu4Pq.js";function N(){const r=g(),[s]=b(),[d,a]=o.useState(!1);return o.useEffect(()=>{const t=s.get("media"),c=s.get("category"),i=s.get("package"),m=s.get("fromCart")==="true";if(i){a(!0),r(`/order/international?package=${i}`,{replace:!0});return}if(t){a(!0);const l=new URLSearchParams;l.set("media",t),c&&l.set("category",c),r(`/order/domestic?${l.toString()}`,{replace:!0});return}if(m){sessionStorage.getItem("selectedPackageForOrder")?(a(!0),r("/order/international?fromCart=true",{replace:!0})):(a(!0),r("/order/domestic?fromCart=true",{replace:!0}));return}},[s,r]),d?e.jsx("div",{className:"min-h-screen flex items-center justify-center bg-white",children:e.jsx("div",{className:"animate-spin rounded-full h-10 w-10 border-2 border-[#EEEEEE] border-t-[#E53935]"})}):e.jsxs("div",{className:"min-h-screen bg-white",children:[e.jsx(x,{children:e.jsx("title",{children:"주문하기 | 뉴스247"})}),e.jsx("header",{className:"sticky top-0 z-30 bg-white border-b border-[#EEEEEE]",children:e.jsxs("div",{className:"max-w-[430px] mx-auto px-5 h-14 flex items-center justify-between",children:[e.jsx(f,{to:"/dashboard",className:"p-1",children:e.jsx(h,{className:"w-5 h-5 text-[#757575]"})}),e.jsx("h1",{className:"text-base font-bold",children:"주문하기"}),e.jsx("div",{className:"w-7"})]})}),e.jsxs("main",{className:"max-w-[430px] mx-auto px-5 py-10",children:[e.jsxs("div",{className:"text-center mb-10",children:[e.jsx("h2",{className:"text-2xl font-bold text-[#1A1A1A] mb-2",children:"배포 유형 선택"}),e.jsx("p",{className:"text-[#757575] text-sm",children:"보도 자료를 배포할 지역을 선택해주세요"})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsx(n.button,{whileHover:{scale:1.01},whileTap:{scale:.99},onClick:()=>{var t;(t=window.dataLayer)==null||t.push({event:"select_order_type",type:"domestic"}),r("/order/domestic")},className:"w-full p-6 rounded-2xl border-2 border-[#EEEEEE] hover:border-[#E53935] hover:bg-[#FFF5F5] transition-all text-left group",children:e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"w-14 h-14 bg-[#E53935]/10 rounded-2xl flex items-center justify-center group-hover:bg-[#E53935]/20 transition-colors",children:e.jsx(u,{className:"w-7 h-7 text-[#E53935]"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-bold text-[#1A1A1A]",children:"국내 언론 배포"}),e.jsx("p",{className:"text-sm text-[#757575] mt-0.5",children:"200개+ 국내 매체에 보도 자료 배포"})]})]})}),e.jsx(n.button,{whileHover:{scale:1.01},whileTap:{scale:.99},onClick:()=>{var t;(t=window.dataLayer)==null||t.push({event:"select_order_type",type:"international"}),r("/order/international")},className:"w-full p-6 rounded-2xl border-2 border-[#EEEEEE] hover:border-[#2196F3] hover:bg-blue-50 transition-all text-left group",children:e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"w-14 h-14 bg-blue-100 rounded-2xl flex items-center justify-center group-hover:bg-blue-200 transition-colors",children:e.jsx(p,{className:"w-7 h-7 text-[#2196F3]"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-bold text-[#1A1A1A]",children:"해외 언론 배포"}),e.jsx("p",{className:"text-sm text-[#757575] mt-0.5",children:"AP, Bloomberg 등 글로벌 매체 배포"})]})]})})]})]})]})}export{N as default};

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.