1import{u as C,r as i,d as I,j as e,S as f,L as p,h as D}from"./index-CHhzuL3B.js";import{B as R,x as B,z as H,e as L}from"./firebase-lib-CWUo0RKC.js";import{u as F}from"./useUserTier-Ba29YPaf.js";import{B as w}from"./Breadcrumb-FQjPNLIr.js";import"./react-vendor-CCXFnprz.js";import"./pdf-lib-DPbQAZCF.js";const E="_root_1g98q_1",U="_content_1g98q_7",P="_pageHeader_1g98q_13",M="_eyebrow_1g98q_14",$="_pageTitle_1g98q_15",V="_pageDesc_1g98q_16",K="_tabs_1g98q_19",O="_tab_1g98q_19",k="_tabActive_1g98q_41",W="_newsFilters_1g98q_44",z="_filterBtn_1g98q_51",G="_filterBtnActive_1g98q_62",Y="_newsList_1g98q_68",J="_newsItem_1g98q_70",Q="_newsTop_1g98q_77",X="_newsTags_1g98q_85",Z="_newsTag_1g98q_85",ee="_newsDate_1g98q_87",se="_newsHeadline_1g98q_88",te="_newsSource_1g98q_89",ae="_newsExcerpt_1g98q_90",ne="_s301Section_1g98q_93",ie="_s301Intro_1g98q_94",ce="_s301Title_1g98q_95",oe="_s301Desc_1g98q_96",le="_searchBar_1g98q_98",re="_searchInput_1g98q_99",de="_s301Table_1g98q_111",ue="_s301Row_1g98q_113",he="_s301ListBadge_1g98q_123",_e="_s301Info_1g98q_134",me="_s301Header_1g98q_135",ge="_s301Value_1g98q_136",fe="_s301Rate_1g98q_137",pe="_s301Status_1g98q_138",we="_s301Active_1g98q_139",xe="_s301Desc2_1g98q_140",Ne="_s301Since_1g98q_141",ve="_s301Note_1g98q_143",Te="_ftaSection_1g98q_154",je="_ftaTitle_1g98q_155",qe="_ftaDesc_1g98q_156",Se="_ftaNoMatch_1g98q_158",ye="_ftaCard_1g98q_167",Ae="_ftaCardTop_1g98q_175",be="_ftaName_1g98q_176",Ce="_ftaRate_1g98q_177",Ie="_ftaNote_1g98q_178",De="_ftaReq_1g98q_179",Re="_ftaSavings_1g98q_180",Be="_ftaAll_1g98q_182",He="_ftaAllItem_1g98q_192",Le="_ftaAllName_1g98q_201",Fe="_ftaAllCountries_1g98q_202",Ee="_ftaAllRate_1g98q_203",Ue="_watchlistTitle_1g98q_206",Pe="_watchlistDesc_1g98q_207",Me="_watchlistEmpty_1g98q_209",$e="_watchlistCta_1g98q_210",Ve="_watchlistTable_1g98q_212",Ke="_watchlistHeader_1g98q_219",Oe="_watchlistRow_1g98q_231",ke="_watchlistRef_1g98q_240",We="_watchlistHts_1g98q_241",ze="_watchlistDate_1g98q_242",Ge="_upsell_1g98q_245",Ye="_upsellIcon_1g98q_252",Je="_upsellTitle_1g98q_253",Qe="_upsellDesc_1g98q_254",Xe="_upsellBtn_1g98q_255",s={root:E,content:U,pageHeader:P,eyebrow:M,pageTitle:$,pageDesc:V,tabs:K,tab:O,tabActive:k,newsFilters:W,filterBtn:z,filterBtnActive:G,newsList:Y,newsItem:J,newsTop:Q,newsTags:X,newsTag:Z,newsDate:ee,newsHeadline:se,newsSource:te,newsExcerpt:ae,s301Section:ne,s301Intro:ie,s301Title:ce,s301Desc:oe,searchBar:le,searchInput:re,s301Table:de,s301Row:ue,s301ListBadge:he,s301Info:_e,s301Header:me,s301Value:ge,s301Rate:fe,s301Status:pe,s301Active:we,s301Desc2:xe,s301Since:Ne,s301Note:ve,ftaSection:Te,ftaTitle:je,ftaDesc:qe,ftaNoMatch:Se,ftaCard:ye,ftaCardTop:Ae,ftaName:be,ftaRate:Ce,ftaNote:Ie,ftaReq:De,ftaSavings:Re,ftaAll:Be,ftaAllItem:He,ftaAllName:Le,ftaAllCountries:Fe,ftaAllRate:Ee,watchlistTitle:Ue,watchlistDesc:Pe,watchlistEmpty:Me,watchlistCta:$e,watchlistTable:Ve,watchlistHeader:Ke,watchlistRow:Oe,watchlistRef:ke,watchlistHts:We,watchlistDate:ze,upsell:Ge,upsellIcon:Ye,upsellTitle:Je,upsellDesc:Qe,upsellBtn:Xe},x=[{list:"List 1",value:"$34B",rate:"25%",since:"July 6, 2018",status:"Active",description:"Industrial machinery, electrical components, motor vehicles"},{list:"List 2",value:"$16B",rate:"25%",since:"August 23, 2018",status:"Active",description:"Semiconductors, chemicals, plastics, motorcycles"},{list:"List 3",value:"$200B",rate:"25%",since:"May 10, 2019",status:"Active",description:"Consumer goods, food, furniture, seafood â broad coverage"},{list:"4A",value:"$120B",rate:"7.5%",since:"February 14, 2020",status:"Active",description:"Clothing, footwear, electronics, household goods"}],N=[{name:"USMCA",countries:["Canada","Mexico"],rate:"0%",note:"Qualifying goods from Canada or Mexico may be duty-free under USMCA.",requirement:"Goods must meet rules of origin (typically 75%+ North American content).",savingsNote:"Eliminates MFN duties entirely for qualifying shipments."},{name:"US-Israel FTA",countries:["Israel"],rate:"0%",note:"Most goods from Israel qualify for duty-free entry under the 1985 FTA.",requirement:"Product must be wholly grown, manufactured in Israel, or substantially transformed there.",savingsNote:"Eliminates dut
1ies on most industrial and agricultural goods."},{name:"KORUS",countries:["South Korea"],rate:"Reduced",note:"Many goods from South Korea qualify for reduced or zero duties under KORUS.",requirement:"Product must be substantially transformed in South Korea with South Korean content.",savingsNote:"Most manufactured goods from South Korea now enter at 0% under KORUS staging."},{name:"GSP",countries:["India","Brazil","Thailand","Indonesia","Philippines"],rate:"Reduced",note:"Generalized System of Preferences reduces duties on qualifying goods from developing countries.",requirement:"Product must be wholly or substantially produced in a designated GSP country.",savingsNote:"Can reduce duties by 50-100% on qualifying HTS codes."}],v=[{id:"1",headline:"USTR Announces Section 301 Four-Year Review Continuation",source:"USTR.gov",date:"2026-06-15",tags:["Section 301","China"],excerpt:"The USTR has concluded its four-year statutory review of Section 301 tariffs and announced the continuation of tariffs on most Chinese goods, with targeted exclusions for medical equipment and certain industrial inputs.",relevant:["China"]},{id:"2",headline:"CBP Issues Guidance on Forced Labor Enforcement for Furniture Imports",source:"CBP.gov",date:"2026-06-10",tags:["Forced Labor","China","Furniture"],excerpt:"US Customs and Border Protection has issued new guidance on enforcing the Uyghur Forced Labor Prevention Act (UFLPA) for wooden furniture and upholstered goods imported from China, expanding the rebuttable presumption to additional commodity codes.",relevant:["China"]},{id:"3",headline:"Commerce Department Initiates AD/CVD Investigation on Vietnamese Cabinet Imports",source:"Federal Register",date:"2026-06-05",tags:["ADD/CVD","Vietnam","Cabinets"],excerpt:"The Department of Commerce has initiated antidumping and countervailing duty investigations on wooden cabinets and vanities from Vietnam, following a petition by US domestic manufacturers.",relevant:["Vietnam"]},{id:"4",headline:"USITC Publishes Updated HTS 2026 Edition with Chapter 44 Revisions",source:"USITC",date:"2026-06-01",tags:["HTS","Chapter 44","Wood Products"],excerpt:"The USITC has published the 2026 Harmonized Tariff Schedule with updated Chapter 44 (Wood and articles of wood) classifications, including new statistical suffixes for engineered wood products.",relevant:["all"]}];function Ze(o){const d=new Date(o),n=Math.floor((Date.now()-d.getTime())/(1e3*60*60*24));return n===0?"today":n===1?"1 day ago":`${n} days ago`}function cs(){const{user:o}=C(),{tier:d}=F(),n=D(d,"pro"),[l,T]=i.useState("news"),[u,j]=i.useState("all"),[h,q]=i.useState([]),[r,S]=i.useState(""),[c,y]=i.useState("");if(i.useEffect(()=>(document.title="Trade Intelligence â Landed",()=>{document.title="Landed"}),[]),i.useEffect(()=>{!o||!n||R(B(L(I,"users",o.uid,"tariff_watchlist"),H("addedAt","desc"))).then(t=>q(t.docs.map(a=>({id:a.id,...a.data()})))).catch(()=>{})},[o,n]),!n)return e.jsxs("div",{className:s.root,children:[e.jsx(f,{}),e.jsxs("div",{className:s.content,children:[e.jsx(w,{crumbs:[{label:"Home",to:"/dashboard"},{label:"Trade Intelligence"}]}),e.jsxs("div",{className:s.upsell,children:[e.jsx("span",{className:s.upsellIcon,children:"ð"}),e.jsx("h2",{className:s.upsellTitle,children:"Trade Intelligence"}),e.jsx("p",{className:s.upsellDesc,children:"Monitor tariff changes, track Section 301 updates, discover FTA savings opportunities, and get alerts when rates affecting your shipments change. Available on the Pro plan and above."}),e.jsx(p,{to:"/pricing",className:s.upsellBtn,children:"Upgrade to Pro â"})]})]})]});const A=u==="all"?v:v.filter(t=>t.tags.some(a=>a.toLowerCase().includes(u.toLowerCase()))),b=r?x.filter(t=>t.description.toLowerCase().includes(r.toLowerCase())||t.list.toLowerCase().includes(r.toLowerCase())):x,_=c?N.filter(t=>t.countries.some(a=>a.toLowerCase().includes(c.toLowerCase()))):[];return e.jsxs("div",{className:s.root,children:[e.jsx(f,{}),e.jsxs("div",{className:s.content,children:[e.jsx(w,{crumbs:[{label:"Home",to:"/dashboard"},{label:"Trade Intelligence"}]}),e.jsxs("div",{className:s.pageHeader,children:[e.jsx("p",{className:s.eyebrow,children:"Intelligence"}),e.jsx("h1",{className:s.pageTitle,children:"Trade & Tariff Monitor"}),e.jsx("p",{className:s.pageDesc,children:"Live tariff news, Section 301 tracker, and FTA opportunity alerts"})]}),e.jsx("div",{className:s.tabs,children:[{id:"news",label:"Trade news"},{id:"301",label:"Section 301"},{id:"fta",label:"FTA opportunities"},{id:"watchlist",label:`Watchlist (${h.length})`}].map(t=>e.jsx("button",{className:`${s.tab} ${l===t.id?s.tabActive:""}`,onClick:()=>T(t.id),children:t.label},t.id))}),l==="news"&&e.jsxs("div",{className:s.newsSection,children:[e.jsx("div",{className:s.newsFilters,children:["all","Section 301","ADD/CVD","HTS","Forced Labor"].map(t=>e.jsx("button",{className:`${s.filterBtn} ${u===t?s.filterBtnActive:""}`,onClick:()=>j(t),children:t==="all"?"All news":t},t))}),e.jsx("div",{className:s.newsList,children:A.map(t=>e.jsxs("div",{className:s.newsItem,children:[e.jsxs("div",{className:s.newsTop,children:[e.jsx("div",{className:s.newsTags,children:t.tags.map(a=>e.jsx("span",{className:s.newsTag,children:a},a))}),e.jsx("span",{className:s.newsDate,children:Ze(t.date)})]}),e.jsx("div",{className:s.newsHeadline,children:t.headline}),e.jsx("div",{className:s.newsSource,children:t.source}),e.jsx("p",{className:s.newsExcerpt,children:t.excerpt})]},t.id))})]}),l==="301"&&e.jsxs("div",{className:s.s301Section,children:[e.jsxs("div",{className:s.s301Intro,children:[e.jsx("h2",{className:s.s301Title,children:"Section 301 China Tariffs"}),e.jsx("p",{className:s.s301Desc,children:"Section 301 tariffs apply to ~$370B of Chinese imports. All four lists are currently active. Search below to check if a commodity category is affected."})]}),e.jsx("div",{className:s.searchBar,children:e.jsx("input",{className:s.searchInput,type:"text",placeholder:"Search by commodity â e.g. furniture, machinery, electronicsâ¦",value:r,onChange:t=>S(t.target.value)})}),e.jsx("div",{className:s.s301Table,children:b.map(t=>e.jsxs("div",{className:s.s301Row,children:[e.jsxs("div",{className:s.s301ListBadge,children:["List ",t.list]}),e.jsxs("div",{className:s.s301Info,children:[e.jsxs("div",{className:s.s301Header,children:[e.jsxs("span",{className:s.s301Value,children:[t.value," of goods"]}),e.jsxs("span",{className:s.s301Rate,children:[t.rate," tariff"]}),e.jsx("span",{className:`${s.s301Status} ${t.status==="Active"?s.s301Active:""}`,children:t.status})]}),e.jsx("div",{className:s.s301Desc2,children:t.description}),e.jsxs("div",{className:s.s301Since,children:["Active since ",t.since]})]})]},t.list))}),e.jsx("div",{className:s.s301Note,children:"Always verify HTS codes with your customs broker. Section 301 applicability is HTS-code-specific."})]}),l==="fta"&&e.jsxs("div",{className:s.ftaSection,children:[e.jsx("h2",{className:s.ftaTitle,children:"Free Trade Agreement Opportunities"}),e.jsx("p",{className:s.ftaDesc,children:"Enter your origin country to see if you qual
1ify for preferential duty rates."}),e.jsx("div",{className:s.searchBar,children:e.jsx("input",{className:s.searchInput,type:"text",placeholder:"Enter origin country â e.g. Canada, Israel, South Koreaâ¦",value:c,onChange:t=>y(t.target.value)})}),c&&_.length===0&&e.jsxs("div",{className:s.ftaNoMatch,children:['No FTAs found for "',c,'". The US has FTAs with Australia, Bahrain, CAFTA-DR, Chile, Colombia, Israel, Jordan, South Korea, Morocco, Oman, Panama, Peru, Singapore, and USMCA (Canada/Mexico).']}),_.map(t=>e.jsxs("div",{className:s.ftaCard,children:[e.jsxs("div",{className:s.ftaCardTop,children:[e.jsx("div",{className:s.ftaName,children:t.name}),e.jsxs("div",{className:s.ftaRate,children:["Rate: ",t.rate]})]}),e.jsx("p",{className:s.ftaNote,children:t.note}),e.jsxs("div",{className:s.ftaReq,children:[e.jsx("strong",{children:"Requirement:"})," ",t.requirement]}),e.jsxs("div",{className:s.ftaSavings,children:["ð° ",t.savingsNote]})]},t.name)),!c&&e.jsx("div",{className:s.ftaAll,children:N.map(t=>e.jsxs("div",{className:s.ftaAllItem,children:[e.jsx("div",{className:s.ftaAllName,children:t.name}),e.jsx("div",{className:s.ftaAllCountries,children:t.countries.join(", ")}),e.jsx("div",{className:s.ftaAllRate,children:t.rate})]},t.name))})]}),l==="watchlist"&&e.jsxs("div",{className:s.watchlistSection,children:[e.jsx("h2",{className:s.watchlistTitle,children:"Your Tariff Watchlist"}),e.jsx("p",{className:s.watchlistDesc,children:"Shipments are automatically added here when you save an analysis. You'll be alerted when duty rates change for your origin countries and HTS codes."}),h.length===0?e.jsxs("div",{className:s.watchlistEmpty,children:[e.jsx("p",{children:"No shipments on your watchlist yet."}),e.jsx(p,{to:"/intake",className:s.watchlistCta,children:"Run your first analysis â"})]}):e.jsxs("div",{className:s.watchlistTable,children:[e.jsxs("div",{className:s.watchlistHeader,children:[e.jsx("span",{children:"Reference"}),e.jsx("span",{children:"Origin"}),e.jsx("span",{children:"HTS code"}),e.jsx("span",{children:"Duty rate at analysis"}),e.jsx("span",{children:"Added"})]}),h.map(t=>{var a,m,g;return e.jsxs("div",{className:s.watchlistRow,children:[e.jsx("span",{className:s.watchlistRef,children:t.reference||"â"}),e.jsx("span",{children:t.originCountry||"â"}),e.jsx("span",{className:s.watchlistHts,children:t.htsCode||"â"}),e.jsx("span",{children:t.dutyRate!=null?`${t.dutyRate}%`:"â"}),e.jsx("span",{className:s.watchlistDate,children:((g=(m=(a=t.addedAt)==null?void 0:a.toDate)==null?void 0:m.call(a))==null?void 0:g.toLocaleDateString())||"â"})]},t.id)})]})]})]})]})}export{cs as default}; 2//# sourceMappingURL=TradeintelPage-C_v7jvY3.js.map
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.