1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2466],{72466:(e,s,r)=>{r.r(s),r.d(s,{default:()=>d});var l=r(37876);r(14232);var i=r(88992),t=r(32381),n=r(16765),o=r(27910),a=r(4186),c=r(71134),p=r(61875);function d(){let{register:e,setValue:s,control:r,formState:{errors:d}}=(0,i.xW)(),[u,x,m,h,f]=(0,i.FH)({control:r,name:["country","default_ship_country","customer_support_email","shipping_info","return_policy"]}),j=(0,c.Ln)({customer_support_email:m,shipping_info:h,return_policy:f,default_ship_country:x});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{id:"merch"}),(0,l.jsxs)(p.WP,{children:["Merch & Physical ",(0,l.jsx)("span",{className:"text-sm font-normal",children:"(Optional)"})]}),(0,l.jsxs)("div",{className:"bg-neutral-900 p-4 mt-8 rounded-lg",children:[(0,l.jsx)("div",{className:" text-sm",children:"To sell merch on Artcore you need to create or connect to an existing stripe account, set your returns policy and shipping info."}),(0,l.jsx)("div",{className:"mt-4 flex flex-row gap-2 text-3xl place-items-center poppins",children:j?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a.e8G,{className:" text-mygreen"})," ",(0,l.jsx)("span",{className:"text-sm",children:"Required fields configured"})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a.m6K,{className:"text-red-400"})," ",(0,l.jsx)("span",{className:"text-sm text-red-400",children:"Not configured, all required fields need to be complete"})]})}),(0,l.jsx)(p.Pz,{children:"Primary Ship From Location * "}),(0,l.jsx)(p.Rr,{children:"Your primary location for VAT purposes or your default shipping location."}),(0,l.jsxs)("div",{className:"relative flex flex-row gap-2 place-items-center",children:[(0,l.jsx)(t.wP,{value:x||"",valueType:"short",onChange:e=>{s("default_ship_country",e)}}),(0,l.jsx)("a",{className:"text-sm text-brand cursor-pointer",onClick:()=>{s("default_ship_country",u)},children:"Copy from Seller Country"})]}),x?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(p.Pz,{children:"Tax"}),(0,l.jsxs)("div",{className:"flex-colgap-2 place-items-center",children:[(0,l.jsxs)(p.Rr,{children:["Tax to collect when shipping to ",(0,c.Fi)(x).name,". Only set this if you are VAT registered."]}),(0,l.jsx)(p.L0,{className:"w-20",register:e,field:"local_tax_rate",errors:d,inputProps:{endAdornment:(0,l.jsx)(n.A,{position:"end",children:"%"})}}),(0,l.jsx)(p.Kw,{errors:d,field:"local_tax_rate"})]})]}):null,(0,l.jsx)(p.Pz,{children:"Customer Support Email *"}),(0,l.jsxs)("div",{children:[(0,l.jsx)(p.Rr,{className:"my-1",children:"Will be provided to customers to contact you in case of any support queries."}),(0,l.jsx)(p.L0,{className:"w-full",field:"customer_support_email",register:e,errors:d,placeholder:"customer support email"}),(0,l.jsx)(p.Kw,{errors:d,field:"customer_support_email"})]}),(0,l.jsx)(p.Pz,{children:"Return policy *"}),(0,l.jsx)(o.A,{className:"text-xs w-full",multiline:!0,rows:8,...e("return_policy"),size:"small",placeholder:"return policy"}),(0,l.jsx)(p.Kw,{errors:d,field:"return_policy"}),(0,l.jsx)(p.Pz,{children:"Shipping info *"}),(0,l.jsx)(o.A,{className:"text-xs w-full",multiline:!0,rows:8,...e("shipping_info"),size:"small",placeholder:"shipping info"}),(0,l.jsx)(p.Kw,{errors:d,field:"shipping_info"}),(0,l.jsx)(p.Kw,{errors:d,field:"meta_pixel_id"})]})]})}}}]);
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.