PageSourceSearch

https://ds.zopi.io/assets/js/module-DGMnconx.js

js zopi.io collected 2026-09-24 09:54:18 UTC 19,264 bytes, 1 lines download raw bytes

1import{r as h,j as e}from"./module-g4nfU4qS.js";import{av as U,Q as A,ce as R,a as N,M as T,p as m,F as _,a6 as re,a8 as y,u as G,ae as M,G as te,aF as ie,C as B,j as se,ap as oe,c$ as ne}from"../index-DWyIa0gL.js";import{c as ae,b as K}from"./module-BRy6BJs6.js";import{u as ce,f as V,g as le,h as de,i as pe,b as me,c as ue}from"./module-CcO82b97.js";import{l as w}from"./module-kEjItqhR.js";import{bR as ge,z,E as F,g as xe,be as he,bf as fe,ai as $,bN as je}from"./module-CxltrVFs.js";import{M as H}from"./module-Bpledz9h.js";import"./module-ClTBx2Nk.js";import"./module-B0vxmspb.js";import"./module-BnWCsivz.js";import{C as O,n as be,u as ve,f as W,l as _e,b as Se}from"./module-BP0lUZH1.js";import{C as ke}from"./module-Ce6ZBFHU.js";import{u as Q}from"./module-DHRHeQUK.js";import{a as L,e as ye}from"./module-CVphjg2G.js";import{A as X}from"./module-UhN2daaJ.js";import"./module-CLsn7ldt.js";import"./module-D2RLwbSq.js";import"./module-BjfZYBMc.js";import"./module-DtACTtM6.js";import"./module-BI5bqnt8.js";import"./module-DiCIOLtz.js";import"./module-BK4nBkK6.js";import{g as Ce}from"./module-DSMtlNjB.js";import{m as f,l as b,n as I,cC as Pe,p as Te,aD as J,au as k,k as q,b5 as Ie,c0 as Ne,ao as Ae}from"./module-CndrmyLu.js";import{B as Re}from"./module-CTHF5JTC.js";import"./module-CkAgo4Og.js";import"./module-BndIsuim.js";import"./module-CLuAD4R5.js";import"./module-DYLXRpC5.js";import"./module-CP88euwI.js";import"./module-CbyKh5Um.js";import"./module-CpA3Gb_i.js";import"./module-BzM7VDfa.js";import"./module-DHVO85nS.js";import"./module-BSPv5tIW.js";import"./module-BHCKjyDG.js";import"./module-M2MMyV6m.js";import"./module-AkyW2Ruw.js";import"./module-BBruC8m-.js";import"./module-arTw0fVe.js";import"./module-CYrDBt6T.js";import"./module-DCoKLf-v.js";import"./module-CNVTF9TH.js";import"./module-8JwjhRSi.js";import"./module-JSaEjBuK.js";import"./module-UTIhDGpo.js";import"./module-DFeDTf4p.js";import"./module-YfaRQf3K.js";import"./module-duNjR6wQ.js";import"./module-tV3IJ5Y1.js";import"./module-C4TimWWB.js";import"./module-CZPcUW2s.js";import"./module-BDscFCCP.js";import"./module-aXdEWYlg.js";import"./module-B4SPueXG.js";import"./module-ubDpl0_R.js";import"./module-B_AESZ67.js";import"./module-C2S2-HMR.js";import"./module-JW1JAliT.js";import"./module-Dz8i_Leu.js";import"./module-BJwyIH4s.js";import"./module-BaA5LyCG.js";import"./module-D0mFdbeO.js";import"./module-Dk6e9ee8.js";import"./module-CDjUV5Ju.js";import"./module-BkD7Hj8s.js";import"./module-Cp8br37W.js";import"./module-CzD4bSOQ.js";import"./module-9lF95FHy.js";import"./module-BtzVbTB5.js";import"./module-D28oVHB0.js";import"./module-CimkQT29.js";import"./module-BUHjN4Hc.js";import"./module-BZ4M8-NE.js";import"./module-DMW1B1t5.js";import"./module-v8jY9nGA.js";import"./module-YKhy6aow.js";import"./module-BZ17SRdx.js";import"./module-BEIsiqOv.js";import"./module-fFtbNF-F.js";import"./module-DEtA-KhA.js";import"./module-CPh8vZck.js";import"./module-DKECUIcb.js";import"./module-Cxv9J64N.js";import"./module-BINVifEP.js";import"./module-B1TVd3K4.js";import"./module-DkegjUUZ.js";import"./module-v-CXq_RL.js";import"./module-BiI3u42N.js";import"./module-B-dksMZM.js";import"./module-B3BJzVxn.js";import"./module-CeFpPFS8.js";import"./module-BBjH2Bj1.js";import"./module-vs-8EVL6.js";import"./module-DKNNaWzV.js";import"./module-B57D9Y1u.js";import"./module-DsmTx7if.js";import"./module-6E4L_h32.js";import"./module-B5iLQXnX.js";import"./module-eWZP5eA7.js";import"./module-C-FQGDW9.js";import"./module-4S-c4oHJ.js";import"./module-DfWnE5ms.js";import"./module-WX_comao.js";import"./module-BJMi48_2.js";import"./module-MyE73HNZ.js";import"./module-D6GhiVEH.js";import"./module-Cl3hj7Sz.js";import"./module-FxXdmyPN.js";import"./module-FqpXQuLt.js";import"./module-D7zKsYo2.js";import"./module-C1gvLhAf.js";import"./module-B_b8ryxu.js";import"./module-Cv-JDcMf.js";import"./module-DYCwc-sD.js";import"./module-Ch_qCilz.js";import"./module-DWCyG3-x.js";import"./module-D4_bCcMT.js";import"./module-CNs1qBpV.js";import"./module-DI2Ne2_A.js";import"./module-C3-224fz.js";import"./module-C9ANKk3v.js";import"./module-CpL0MGZq.js";import"./module-DbIWH81b.js";import"./module-DrRIdSP-.js";import"./module-BSLCDnTV.js";import"./module-DjYUzTuj.js";import"./module-vcVAUzeC.js";import"./module-GAKWmy7o.js";import"./module-PQCKh0dx.js";import"./module-CEEhGtWX.js";import"./module-B7hx6Bgd.js";import"./module-BJwr7tuA.js";import"./module-BQobnMtX.js";import"./module-BMgpUYTo.js";import"./module-DbKNfynz.js";import"./module-C_aolqmU.js";
1import"./module-Cjxe2-Wq.js";import"./module-ZLXBeeQ1.js";import"./module--gfxRhYI.js";import"./module-Dsow35wU.js";import"./module-60F3QETU.js";import"./module-D8znQY54.js";import"./module-CPveMqlj.js";import"./module-D1zfnBJe.js";import"./module-D9KQvrmg.js";import"./module-FjFE2uWm.js";import"./module-xMQ5YY98.js";import"./module-Bx45xMUt.js";import"./module-DD3iYX1K.js";import"./module-D5ZndoG6.js";import"./module-DMkqpeS_.js";import"./module-CWBJcU5N.js";import"./module-D4Wp6AEg.js";import"./module-BgBfM8ME.js";import"./module-D46m5wfe.js";import"./module-DOgs_Y3Z.js";import"./module-CH9fmmFv.js";import"./module-7ux2xnsv.js";import"./module-CqnTjJDb.js";import"./module-DjKU-xAz.js";import"./module-C0ijFVsX.js";import"./module-B6B9y572.js";import"./module-DhTU8B_4.js";import"./module-5eLbDUjv.js";import"./module-c2V3InAJ.js";import"./module-SNETSEGx.js";import"./module-Qe-ESUUc.js";import"./module-Cj9qKt6Q.js";import"./module-B7EQxdU6.js";import"./module-DvhhVmnL.js";import"./module-CLQgGlmV.js";import"./module-CtXnX3Xp.js";import"./module-DZ4MRfGb.js";import"./module-BXLLueiB.js";import"./module-Bh5dGB7-.js";import"./module-ChDEcKkm.js";import"./module-viLe5jBK.js";import"./module-DYRc1myh.js";import"./module-D-CCuB3j.js";import"./module-C-Y3moQM.js";import"./module-BmLAdfv_.js";import"./module-CQoQLGZn.js";import"./module-CsOSqbjs.js";import"./module-DpV-RknM.js";import"./module-BtHhgq7k.js";import"./module-aFQBCvBX.js";import"./module-CCzXKaxK.js";import"./module-Cgx2k5hB.js";import"./module-CFxIfOSP.js";import"./module-xvpIGbSh.js";const Ee=({keyword:t,per_page:i,page:c,shuffle:s})=>{const o=L(),l=h.useRef(!0),{data:d,fetchNextPage:g,isLoading:p,isFetchingNextPage:a,hasNextPage:S,isPending:C}=ye({queryKey:U.productInsights.list(t,i,c),queryFn:async({pageParam:x=1})=>{const v=await ge.getProductInsightList({keyword:t,page:x,per_page:i,shuffle:s});return v.data?.products?{data:v.data?.products,total:v.data?.pagination.total||0,page:x}:{data:null,total:0,page:x}},initialPageParam:1,getNextPageParam:({total:x,page:v})=>x===null||x<v*i?null:v+1,staleTime:1e3*60*5});h.useEffect(()=>{if(!l.current&&!C){const x={...t,result_count:d?.pages[d?.pages.length-1]?.data?.length||0,filter:{page:d?.pageParams[d?.pageParams.length-1],per_page:i}};A.trackingEventUsersAction({event_name:R.PRODUCT_HUNTER_PRODUCT_INSIGHTS_LOADED,event_data:x})}l.current=!1},[d,t,i,C,o]);const E=h.useCallback(async()=>{if(S&&!(a||p))return g()},[g,S,a,p]);return{data:d?.pages.flatMap(x=>x.data||[])||null,fetchNextPage:g,isLoading:p,isLoadingNext:a,hasNextPage:S,onFetchNextPage:E}},De=({type:t,productIds:i=[],storeUrls:c=[]})=>{const{t:s}=N(),[o,l]=h.useState(!1),d=t===O.PRODUCT,g=s(d?"TrendingProducts":"TrendingStores");return e.jsx(f,{paddingInline:"400",children:e.jsx(f,{padding:"400",shadow:"300",borderRadius:"200",borderColor:"border",borderWidth:"0165",children:e.jsxs(b,{gap:"400",children:[e.jsx("div",{onClick:()=>l(p=>!p),className:"cursor-pointer",children:e.jsxs(I,{align:"space-between",blockAlign:"center",children:[e.jsxs(I,{blockAlign:"center",gap:"200",children:[e.jsx(f,{children:e.jsx(T,{source:Pe})}),e.jsx(m,{as:"h3",variant:"headingMd",children:g})]}),e.jsx(_,{variant:"tertiary",size:"slim",icon:e.jsx(T,{source:Te})})]})}),e.jsx(re,{id:"competitor-trending",open:o,transition:{duration:"300ms",timingFunction:"ease-in-out"},children:d?e.jsx(Me,{productIds:i}):e.jsx(we,{storeUrls:c})})]})})})},Me=({productIds:t=[]})=>{const{data:i,isLoading:c}=Ee({page:1,per_page:30,keyword:"",shuffle:!0}),[s]=Q({loop:!1},[X({playOnInit:!1})]);return c?e.jsx(z,{height:100}):e.jsx(y.Viewport,{ref:s,slideSize:"200px",slideSpacing:"var(--p-space-400)",children:e.jsx(y.Container,{children:(i??[]).map((o,l)=>e.jsx(y.Slide,{className:"msui-cs-pointer",children:e.jsx(Oe,{product:o,disabled:t?.includes(o.source_product_id)})},l))})})},we=({storeUrls:t=[]})=>{const{data:i,isLoading:c}=be(),[s]=Q({loop:!1},[X({playOnInit:!1})]);return c?e.jsx(z,{height:100}):e.jsx(y.Viewport,{ref:s,slideSize:"170px",slideSpacing:"var(--p-space-400)",children:e.jsx(y.Container,{children:(i??[]).map((o,l)=>e.jsx(y.Slide,{className:"msui-cs-pointer",children:e.jsx(Ue,{seller:o,disabled:t?.includes(o.original_url)})},l))})})},Oe=({product:t,disabled:i})=>{const{t:c}=N(),s=G(),o=L(),{mutateAsync:l}=ce(),[d,g]=h.useState(!1),p=h.useCallback(async()=>
1{if(!t.source_product_id)return;g(!0);const a=await l({url:Ce(t.source_product_id),ship_to:"US"});a?.status===M.OK&&!a?.data?.existed?(A.trackingEventUsersAction({event_name:R.PRODUCT_HUNTER_COMPETITOR_ADDED,event_data:{position:"trending_products",product_id:t.source_product_id}}),s.success("Tracking product added successfully"),o.invalidateQueries({queryKey:U.trackingProducts.list()})):a?.status===M.VALIDATION_ERROR?s.error(a?.message||"Product is not found or not supported"):s.error(a?.message||"Failed to add tracking product"),g(!1)},[t.source_product_id,l,s,o]);return e.jsxs("div",{className:"relative rounded-xl overflow-hidden group",style:{height:200},children:[e.jsx(F,{freeSize:!0,imageStyle:{objectFit:"cover",position:"absolute",inset:0,width:"100%",height:"100%"},source:t.product_image,alt:t.product_name}),e.jsx("div",{className:"absolute bottom-0 left-0 right-0 flex flex-col gap-1 p-3 opacity-100 transition-opacity",style:{background:"rgba(255,255,255,0.64)"},children:e.jsxs(I,{blockAlign:"center",align:"space-between",gap:"100",children:[e.jsxs(b,{children:[e.jsx(m,{as:"p",variant:"bodySm",children:c("BestSellerScore")}),t.best_seller_score!=null&&e.jsx("div",{children:e.jsx(te,{tone:"success",children:String(t.best_seller_score)})})]}),e.jsx(_,{variant:"primary",disabled:i,size:"slim",icon:e.jsx(T,{source:J}),loading:d,onClick:p})]})})]})},Ue=({seller:t,disabled:i})=>{const{t:c}=N(),s=G(),o=L(),{mutateAsync:l}=ve(),[d,g]=h.useState(!1),p=h.useCallback(async()=>{if(!t.original_url)return;g(!0);const a=await l({url:t.original_url,format:"url"});a?.status===ie.OK&&!a?.data?.error_code?(A.trackingEventUsersAction({event_name:R.PRODUCT_HUNTER_COMPETITOR_ADDED,event_data:{position:"trending_stores",store_url:t.original_url}}),s.success("Seller added successfully"),o.invalidateQueries({queryKey:U.trackingSeller.list()})):a?.status===M.VALIDATION_ERROR?s.error(a?.message||"Seller is not found or not supported"):s.error(a?.message||"Failed to add seller"),g(!1)},[t.original_url,l,s,o]);return e.jsx("div",{className:"relative rounded-xl overflow-hidden group  border-border border",children:e.jsxs(b,{gap:"400",children:[e.jsx(f,{paddingInline:"400",paddingBlockStart:"400",children:e.jsx("div",{children:e.jsxs(f,{paddingBlock:"050",paddingInline:"100",background:"bg-fill-transparent-secondary",borderRadius:"200",borderColor:"border",maxWidth:"110px",children:[e.jsxs(I,{blockAlign:"center",gap:"100",children:[e.jsx(xe,{source:"shopify"}),e.jsx(m,{as:"p",variant:"bodySm",truncate:!0,children:c("ShopifySeller")})]})," "]})})}),e.jsx(f,{paddingInline:"400",children:w.size(t.top_sellings)>0?e.jsx(k,{columns:3,gap:"100",children:t.top_sellings?.slice(0,3).map((a,S)=>e.jsx("div",{children:e.jsx(F,{source:a.image.src,alt:a.title,size:"small"})},S))}):e.jsx(f,{padding:"400",paddingBlock:"0",children:e.jsx(m,{as:"p",tone:"subdued",alignment:"center",children:c("NoTopSellingProducts")})})}),e.jsx("div",{className:"bg-bg-surface-secondary",children:e.jsx(f,{padding:"300",children:e.jsxs(k,{columns:"minmax(0, 1fr) 28px",alignItems:"center",gap:"200",children:[e.jsxs(b,{children:[e.jsx(m,{as:"p",fontWeight:"semibold",truncate:!0,children:t.store_name||"n/a"}),e.jsx(m,{as:"p",tone:"subdued",truncate:!0,children:c("CountProduct",{count:t.total_products})})]}),e.jsx(_,{variant:"primary",size:"slim",icon:e.jsx(T,{source:J}),loading:d,onClick:p,disabled:i})]})})})]})})},ze=()=>{const{t}=N(),[i,c]=ae(V),{mutateAsync:s,isPending:o}=le(),l=h.useCallback(()=>{c({visible:!1,productIds:[]})},[c]);return e.jsx(B,{open:i.visible,onClose:l,title:"Untrack products",primaryAction:{content:"Untrack",onAction:()=>s(i.productIds,{onSuccess:()=>{l()}}),loading:o},secondaryActions:[{content:t("Cancel"),onAction:l}],children:e.jsx(B.Section,{children:e.jsx(m,{as:"p",tone:"subdued",children:"Are you sure you want to untrack the selected products? This action cannot be undone."})})})},D=3,Fe=({data:t,pagination:i,isLoading:c,onRowClick:s})=>{const{t:o}=N(),{setFilters:l}=de(),d=pe(),g=K(V),[p,a]=h.useState([]),S={singular:"tracking product",plural:"tracking products"},C=h.useRef(null),E=[{id:"favorite",title:""},{id:"product",title:o("Product")},{id:"price",title:o("Price")},{id:"unit_sold",title:"Monthly sales"},{id:"last_check",title:"Last checked"},{id:"actions",title:"Actions"}],x=t.map(r=>r.id);h.useEffect(()=>{x&&a([])},[x.join(",")]);const v=r=>{if(r===0)return"-";const n=r>0,u=n?"success":"critical",j=n?"▲":"▼";return e.jsxs(m,{as:"span",tone:u,variant:"bodyXs",children:[j," ",Math.abs(r).toFixed(1),"%"]})},Y=(r,n)=>e.jsxs(b,{gap:"100",children:[n!==null&&n>0?e.jsxs(m,{as:"span",tone:"success",variant:"bodyXs",children:["▲ ",n,"%"]}):e.jsx(m,{as:"span",tone:"subdued",variant:"bodyXs",children:"-"}),e.jsx(m,{as:"span",variant:"bodyLg",children:r!==null?Se(r)+" "+o("Sold").toLocaleLowerCase():"-"})]}),Z=()=>c?e.jsx(f,{padding:"400",children:e.jsx(b,{gap:"300",children:[...Array(5)].map((r,n)=>e.jsx(z,{height:"60px"},n))})}):!c&&t.length===0?e.jsx(ke,{type:O.PRODUCT}):e.jsxs(e.Fragment,{children:[e.jsx($,{resourceName:S,itemCount:t.length,headings:E,condensed:!0,children:t.map((r,n)=>e.jsx($.Row,{id:r.id.toString(),position:n,selected:p.includes(r.id),onClick:()=>s(r.id),children:e.jsx(f,{padding:"400",children:e.jsx("div",{className:"group p-4 rounded-lg hover:bg-bg-surface-selected",children:e.jsxs(k,{columns:"2.5fr 3.5fr",gap:"400",children:[e.jsxs(k,{columns:"20px 20px minmax(0, 1fr)",gap:"200",alignItems:"center",children:[e.jsx("div",{className:"flex items-center justify-center",onClick:u=>u.stopPropagation(),children:e.jsx(oe,{checked:p.includes(r.id),label:"",labelHidden:!0,onChange:u=>a(j=>u?[...j,r.id]:j.filter(P=>
1P!==r.id))})}),e.jsx("div",{onClick:u=>u.stopPropagation(),className:"flex items-center justify-center",children:e.jsx(_,{variant:"plain",icon:e.jsx(T,{source:r.is_favorite?Ie:Ne,tone:r.is_favorite?"warning":void 0}),onClick:()=>d.mutate({trackingProductId:r.id,isFavorite:r.is_favorite}),disabled:d.isPending&&d.variables?.trackingProductId===r.id,accessibilityLabel:"Toggle favorite"})}),e.jsxs(k,{columns:"40px minmax(0, 1fr)",gap:"200",alignItems:"center",children:[e.jsx(H,{source:r.product.image_url,alt:r.product.title,size:"small"}),e.jsxs(b,{children:[e.jsx(m,{as:"span",truncate:!0,variant:"bodySm",children:r.competitor.name}),e.jsxs("span",{className:"grid max-w-50 ",children:[" ",e.jsx(m,{as:"span",truncate:!0,fontWeight:"medium",variant:"bodyLg",children:r.product.title})]})]})]})]}),e.jsxs(k,{columns:3,alignItems:"center",gap:"400",children:[e.jsxs(b,{gap:"100",children:[v(r.price_change_pct),e.jsxs(m,{as:"span",variant:"bodyLg",children:[W(r.price.min),r.price.min!==r.price.max&&` – ${W(r.price.max)}`]})]}),e.jsx(f,{children:Y(r.unit_sold,r.unit_sold_change_pct)}),e.jsxs("div",{className:"relative",children:[e.jsx("span",{className:"flex items-center gap-1 group-hover:hidden",children:e.jsxs(m,{as:"span",tone:"subdued",variant:"bodySm",children:["Updated ",_e(r.last_check)]})}),e.jsx("div",{onClick:u=>u.stopPropagation(),className:"items-center gap-1 group-hover:flex hidden",id:`${r.id}`,children:e.jsx(_,{size:"slim",onClick:()=>s(r.id),children:o("ViewDetail")})})]})]})]})})})},r.id))}),e.jsx("div",{className:"mt-3 py-3 justify-center flex",children:e.jsx(je,{label:e.jsx("div",{style:{position:"relative"},children:e.jsx(I,{gap:"200",children:e.jsx(Ae,{disabled:c,options:ne.map(r=>({label:`${r} items / ${w.lowerCase(o("Page"))}`,value:`${r}`})),label:"",labelHidden:!0,value:`${i?.per_page}`,onChange:r=>{l(n=>({...n,per_page:Number(r)}))}})})}),hasPrevious:!!i?.current_page&&i?.current_page>1,onPrevious:()=>{l(r=>({...r,page:i?.current_page?i?.current_page-1:1}))},hasNext:(i?.total||0)-(i?.current_page?i?.current_page*i?.per_page:0)>0,onNext:()=>{l(r=>({...r,page:i?.current_page?i?.current_page+1:1}))}})})]}),ee=()=>{const r=t.filter(n=>p.includes(n.id));return e.jsx(he,{blockId:fe.TRACKED_PRODUCTS,bulkActionComponent:e.jsxs("div",{className:se("flex items-center gap-5 h-12 px-2 relative group/bulk","before:absolute before:inset-[-12px] before:z-1","[&>*]:z-10"),children:[e.jsx(Re,{ref:C,useFixedWidth:!0,activator:({onClick:n})=>e.jsxs("div",{className:"flex items-center cursor-pointer",role:"button",onClick:n,children:[r.slice(0,D).map((u,j)=>e.jsx("div",{className:`size-10 relative rounded-full overflow-hidden border-[0.5px] border-border ${j>0?"-ml-3":""}`,style:{zIndex:t.filter(P=>p.includes(P.id)).length-j},children:e.jsx(F,{source:u.product.image_url,alt:u.product.title})},`${u.id}-${j}`)),w.size(r)>D&&e.jsx("div",{className:"size-10 relative rounded-full overflow-hidden -ml-3 flex items-center justify-center bg-gray-400 text-white",children:e.jsxs(m,{as:"span",variant:"bodySm",fontWeight:"medium",children:["+",r.length-D]})})]}),children:e.jsx("div",{className:"flex flex-col gap-4 px-4 py-5 max-h-[40vh] overflow-y-auto",children:r.map((n,u)=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(H,{source:n.product.image_url,alt:n.product.title,size:"small"}),e.jsx("div",{className:"grow min-w-0",children:e.jsx(m,{as:"span",variant:"bodyMd",truncate:!0,children:n.product.title})}),e.jsx(_,{variant:"plain",size:"large",icon:q,onClick:()=>{a(j=>j.filter(P=>P!==n.id)),r.length===1&&C.current?.close()}})]},`${n.id}-${u}`))})}),e.jsxs("div",{className:"flex items-center gap-3 shrink-0 ml-auto",children:[e.jsx("div",{className:"rounded-full min-w-6 min-h-6 px-1.5 bg-bg-fill-brand flex items-center justify-center text-body-md text-white shrink-0",children:p.length}),e.jsx(_,{variant:"primary",size:"large",onClick:()=>g({visible:!0,productIds:p.map(n=>n)}),children:"Untrack"}),e.jsx(_,{variant:"plain",size:"large",icon:q,onClick:()=>a([])})]})]}),showBulkAction:!!p.length,padding:"0"})};return e.jsxs(e.Fragment,{children:[e.jsx(De,{type:O.PRODUCT,productIds:t.map(r=>r.product.product_id)}),ee(),e.jsx(f,{paddingBlockStart:"400",children:Z()}),e.jsx(ze,{})]})},Le=()=>{const{data:t,isLoading:i}=me(),c=K(ue),s=o=>{c({visible:!0,trackingProductId:o})};return e.jsx(b,{gap:"0",children:e.jsx(Fe,{data:t?.competitors||[],pagination:t?.pagination,isLoading:i,onRowClick:s})})},hs=()=>(h.useEffect(()=>{A.trackingEventUsersAction({event_name:R.PRODUCT_HUNTER_COMPETITOR_TRACKING_VIEWED,event_data:{tab:"tracked_products"}})},[]),e.jsx(Le,{}));export{hs as TrackingProductsPage};

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.