1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1641],{11061:function(e,t,l){var s=l(85893),r=l(23809),i=l(33482),d=l(99831),a=l(67294);t.Z=e=>{let{products:t,orderNumber:l,orderDate:n,onFixPurchase:c,onCloseLayer:o}=e,x=t.flatMap(e=>e.products.map(e=>e)),m=x.filter(e=>{var t;let l=null!==(t=e.order_option_status)&&void 0!==t?t:e.status_code;return d.oM.includes(l)}),v=null==m?void 0:m.map(e=>e.order_item_option_id),[h,p]=(0,a.useState)(!1),[u,j]=(0,a.useState)([...v]),handleSelectedAll=e=>{p(t=>t?(j([]),!1):(j(e),!0))},updatedSelectedItems=e=>{let t=(null==u?void 0:u.includes(e))?null==u?void 0:u.filter(t=>t!==e):[...u,e];j(t)},onHandleSubmit=()=>{c(u),o()};return(0,a.useEffect)(()=>{let e=null==u?void 0:u.length;e<m.length?p(!1):e>0&&e===m.length&&p(!0)},[null==u?void 0:u.length]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"relative h-[100vh] !max-h-[100vh] w-full bg-white",children:(0,s.jsx)("div",{className:"bg-white p-[20px]",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-[22px] mb-[15px] font-[600] text-[var(--color1)]",children:"구매 íì "}),(0,s.jsx)("section",{children:(0,s.jsx)("div",{className:"H-Box",children:(0,s.jsxs)("div",{className:"Inner",children:[(0,s.jsx)("div",{className:"Title-3",children:(0,s.jsxs)("div",{className:"Txt1",children:[n," (ì´ ",m.length,"ê±´)"]})}),(0,s.jsx)("div",{className:"border-t-2 border-solid border-t-[var(--color1)]",children:(0,s.jsxs)("div",{className:"pt-[30px]",children:[(0,s.jsxs)("article",{className:"CenterBetween text-[14px] font-[600] text-[var(--color1)]",children:[(0,s.jsx)(i.Z,{checked:h,registerName:"selectAll",changeEvent:()=>handleSelectedAll(v)}),(0,s.jsxs)("div",{children:["주문ë²í¸ ",l]})]}),(0,s.jsx)("div",{className:"mt-[12px]",style:{maxHeight:"50vh",overflow:"hidden",overflowY:"auto"},children:(0,s.jsx)("div",{className:"ProductItem14 border-y-[1px] border-solid border-t-[var(--color1)] border-b-[var(--color6)]",children:(0,s.jsx)("div",{className:"divide-y-[1px] divide-solid divide-[var(--color6)]",children:m.map(e=>{var t;return(0,s.jsx)(a.Fragment,{children:(0,s.jsxs)("div",{className:"py-[18px]",children:[(0,s.jsxs)("div",{className:"CenterBetween",children:[(0,s.jsx)(i.Z,{checked:null==u?void 0:u.includes(e.order_item_option_id),changeEvent:()=>updatedSelectedItems(e.order_item_option_id)}),(0,s.jsx)("div",{className:"text-[12px] font-[400] text-[var(--color1)]",children:null==e?void 0:e.order_option_status_name})]}),(0,s.jsx)("div",{className:"mt-[18px]",children:(0,s.jsxs)("article",{className:"grid grid-cols-[1fr_90px] gap-[10px]",children:[(0,s.jsxs)("div",{className:"min-w-[0]",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"Montserrat text-[12px] font-[600] text-[var(--color1)]",children:e.brand_name}),(0,s.jsx)("div",{className:"mt-[8px] truncate text-[12px] font-[400] text-[var(--color1)]",children:e.product_name}),e.order_options&&(0,s.jsxs)("div",{className:"Montserrat mt-[10px] text-[12px] font-[400] leading-[28px] text-[var(--color5)]",children:["ìµì
:"," ",null==e?void 0:e.order_options.join(" / ")," ","- ",e.order_option_quantity,"ê°"]})]}),(0,s.jsxs)("div",{className:"Montserrat mt-[16px] text-[14px] font-[600] text-[var(--color1)]",children:[e.order_sell_price.toLocaleString(),"ì"]})]}),(0,s.jsx)("div",{className:"relative h-[120px]",children:(0,s.jsx)(r.Z,{src:null!==(t=e.product_image||e.product_image_pc)&&void 0!==t?t:"",width:100,height:100,quality:100})})]})})]})},e.order_item_option_id)})})})})]})})]})})}),(0,s.jsx)("section",{"data-seq":"20230809151441",className:"mt-[50px]",children:(0,s.jsx)("div",{className:"H-Box",children:(0,s.jsx)("div",{className:"Inner",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-center text-[14px] font-[600] text-[var(--color1)]",children:"구매 íì ì²ë¦¬ë¥¼ íìê² ìµëê¹?"}),(0,s.jsx)("div",{className:"mt-[33px]",children:(0,s.jsxs)("article",{className:"grid grid-cols-[repeat(auto-fit,minmax(0,1fr))] items-center justify-center gap-0",children:[(0,s.jsx)("button",{type:"button",className:"ButtonStyle1 ButtonXl",onClick:o,children:"ì·¨ì"}),(0,s.jsx)("button",{type:"submit",className:"ButtonStyle2 ButtonXl",onClick:()=>onHandleSubmit(),disabled:!(u.length>0),children:"íì¸"})]})})]})})})})]})})})})}},32123:function(e,t,l){var s=l(85893),r=l(23809),i=l(33482),d=l(99831),a=l(67294);t.Z=e=>{let{products:t,orderNumber:l,orderDate:n,onShippingComplete:c,onCloseLayer:o}=e,x=t.flatMap(e=>e.products.map(e=>e)),m=x.filter(e=>{var t;let l=null!==(t=e.order_option_status)&&void 0!==t?t:e.status_code;return d.AD.includes(l)}),v=null==m?void 0:m.map(e=>e.order_item_option_id),[h,p]=(0,a.useState)(!1),[u,j]=(0,a.useState)([...v]),handleSelectedAll=e=>{p(t=>t?(j([]),!1):(j(e),!0))},updatedSelectedItems=e=>{let t=(null==u?void 0:u.includes(e))?null==u?void 0:u.filter(t=>t!==e):[...u,e];j(t)},onHandleSubmit=()=>{c(u),o()};return(0,a.useEffect)(()=>{let e=null==u?void 0:u.length;e<m.length?p(!1):e>0&&e===m.length&&p(!0)},[null==u?void 0:u.length]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"relative h-[100vh] !max-h-[100vh] w-full bg-white",children:(0,s.jsx)("div",{className:"bg-white p-[20px]",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-[22px] mb-[15px] font-[600] text-[var(--color1)]",children:"ë°°ì¡ ìë£"}),(0,s.jsx)("section",{children:(0,s.jsx)("div",{className:"H-Box",children:(0,s.jsxs)("div",{className:"Inner",children:[(0,s.jsx)("div",{className:"Title-3",children:(0,s.jsxs)("div",{className:"Txt1",children:[n," (ì´ ",m.length,"ê±´)"]})}),(0,s.jsx)("div",{className:"border-t-2 border-solid border-t-[var(--color1)]",children:(0,s.jsxs)("div",{className:"pt-[30px]",children:[(0,s.jsxs)("article",{className:"CenterBetween text-[14px] font-[600] text-[var(--color1)]",children:[(0,s.jsx)(i.Z,{checked:h,registerName:"selectAll",changeEvent:()=>handleSelectedAll(v)}
1),(0,s.jsxs)("div",{children:["주문ë²í¸ ",l]})]}),(0,s.jsx)("div",{className:"mt-[12px]",style:{maxHeight:"50vh",overflow:"hidden",overflowY:"auto"},children:(0,s.jsx)("div",{className:"ProductItem14 border-y-[1px] border-solid border-t-[var(--color1)] border-b-[var(--color6)]",children:(0,s.jsx)("div",{className:"divide-y-[1px] divide-solid divide-[var(--color6)]",children:m.map(e=>{var t;return(0,s.jsx)(a.Fragment,{children:(0,s.jsxs)("div",{className:"py-[18px]",children:[(0,s.jsxs)("div",{className:"CenterBetween",children:[(0,s.jsx)(i.Z,{checked:null==u?void 0:u.includes(e.order_item_option_id),changeEvent:()=>updatedSelectedItems(e.order_item_option_id)}),(0,s.jsx)("div",{className:"text-[12px] font-[400] text-[var(--color1)]",children:null==e?void 0:e.order_option_status_name})]}),(0,s.jsx)("div",{className:"mt-[18px]",children:(0,s.jsxs)("article",{className:"grid grid-cols-[1fr_90px] gap-[10px]",children:[(0,s.jsxs)("div",{className:"min-w-[0]",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"Montserrat text-[12px] font-[600] text-[var(--color1)]",children:e.brand_name}),(0,s.jsx)("div",{className:"mt-[8px] truncate text-[12px] font-[400] text-[var(--color1)]",children:e.product_name}),e.order_options&&(0,s.jsxs)("div",{className:"Montserrat mt-[10px] text-[12px] font-[400] leading-[28px] text-[var(--color5)]",children:["ìµì
:"," ",null==e?void 0:e.order_options.join(" / ")," ","- ",e.order_option_quantity,"ê°"]})]}),(0,s.jsxs)("div",{className:"Montserrat mt-[16px] text-[14px] font-[600] text-[var(--color1)]",children:[e.order_sell_price.toLocaleString(),"ì"]})]}),(0,s.jsx)("div",{className:"relative h-[120px]",children:(0,s.jsx)(r.Z,{src:null!==(t=e.product_image||e.product_image_pc)&&void 0!==t?t:"",width:100,height:100})})]})})]})},e.order_item_option_id)})})})})]})})]})})}),(0,s.jsx)("section",{"data-seq":"20230809151441",className:"mt-[50px]",children:(0,s.jsx)("div",{className:"H-Box",children:(0,s.jsx)("div",{className:"Inner",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-center text-[14px] font-[600] text-[var(--color1)]",children:"ë°°ì¡ìë£ ì²ë¦¬íìê² ìµëê¹?"}),(0,s.jsx)("div",{className:"mt-[33px]",children:(0,s.jsxs)("article",{className:"grid grid-cols-[repeat(auto-fit,minmax(0,1fr))] items-center justify-center gap-0",children:[(0,s.jsx)("button",{type:"button",className:"ButtonStyle1 ButtonXl",onClick:o,children:"ì·¨ì"}),(0,s.jsx)("button",{type:"submit",className:"ButtonStyle2 ButtonXl",onClick:()=>onHandleSubmit(),disabled:!(u.length>0),children:"íì¸"})]})})]})})})})]})})})})}}}]);
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.