PageSourceSearch

https://platform.autods.com/cJI_O5C-.js

js autods.com collected 2026-10-01 10:23:21 UTC 5,545 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="57af3f94-1623-4458-80ca-6d3b2d8736b8",e._sentryDebugIdIdentifier="sentry-dbid-57af3f94-1623-4458-80ca-6d3b2d8736b8")}catch(X){}import{j as e,r as s}from"./CSvdPb0x.js";import{M as a}from"./CYo9q1yV.js";import{uY as i,uZ as t,C as r,bD as n,bh as d,bC as l,ac as o,aM as c,bj as m,ar as p,m as h,a0 as x,b as g,bQ as j,B as u,bT as f,u_ as b,aP as y,mV as I,b5 as w,y as C,bK as S,ao as N,aL as v,j as T}from"./BGGoRUt3.js";import{B as P}from"./BIWRL3ks.js";import{S as z,A as D}from"./2sIFVVyx.js";import{k,b as _}from"./B1gh8FFU.js";import{S as O}from"./CbUuuSzv.js";import{u as M}from"./D_23a34c.js";import{s as R}from"./BfVfiDQx.js";import{P as $}from"./VTrrYGW0.js";import"./D6ESIijv.js";import"./D85eVYtE.js";import"./CXQHvfHP.js";const E=({title:s,path:a})=>e.jsx(l,{to:a,children:s}),L=({categoryTitle:s,categoryId:a})=>{const l=[{title:t,path:i},{title:s,path:`${i}?${r}=${a}`}];return e.jsxs(e.Fragment,{children:[e.jsx(P,{separator:e.jsx(n,{size:20}),itemRender:E,items:l}),e.jsx(d,{className:"m-t-10 m-b-10"})]})},V=o(k).withConfig({componentId:"sc-1mma0ut-0"})([""]),q=o.div.attrs({className:"flex"}).withConfig({componentId:"sc-1mma0ut-1"})(["gap:40px;@media screen and (max-width:767px){flex-direction:column;}"]),B=o.div.attrs({className:"flex ai-c jc-c p-5 gap-10"}).withConfig({componentId:"sc-1mma0ut-2"})(["border:1px solid ",";width:400px;height:400px;img{object-fit:contain;}@media screen and (max-width:767px){width:100%;}"],({theme:e})=>e.colorGrey100),F=o(_).withConfig({componentId:"sc-1mma0ut-3"})([""]),A=o.div.attrs({className:"flex ai-c gap-5"}).withConfig({componentId:"sc-1mma0ut-4"})(["padding-left:2px;span{min-width:14px;height:14px;border-radius:50%;background:",";outline:1px solid ",";outline-offset:1px;}"],({hexCode:e})=>e,({theme:e})=>e.colorGrey100),G=o(O).attrs({className:"m-b-10 m-t-10"}).withConfig({componentId:"sc-1mma0ut-5"})([""]),{Option:H}=p,K=({availableColors:a,availableSizes:i,variations:t})=>{const[r,n]=s.useState({sizeId:i[0]?.id,colorId:a[0]?.id}),d=c(t,{...r})?.price,l=e=>(s,{key:a})=>n(s=>({...s,[e]:a}));return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex column m-t-15 m-b-20",children:[e.jsx("p",{className:"ff-regular m-b-0",children:"Item Cost"}),e.jsx("h3",{className:"blue m-b-0 ff-semi-bold",children:m(d)})]}),e.jsxs(F,{children:[e.jsxs("div",{className:"flex ai-c",children:[e.jsx("span",{className:"m-r-5 ellipsis",children:"Colors:"}),e.jsx(p,{size:"large",className:"max-w-200",defaultValue:a[0]?.name,onSelect:l("colorId"),children:h(a,({name:s,hexCode:a,id:i})=>e.jsx(H,{value:s,children:e.jsxs(A,{hexCode:a,children:[e.jsx("span",{}),s]})},i))})]}),e.jsxs("div",{className:"flex ai-c",children:[e.jsx("span",{className:"m-r-5 ellipsis",children:"Sizes:"}),e.jsx(p,{size:"large",className:"max-w-200",defaultValue:i[0]?.name,onSelect:l("sizeId"),children:h(i,({name:s,id:a})=>e.jsx(H,{value:s,children:s},a))})]})]})]})};K.propTypes={availableColors:x.arrayOf(x.shape({name:x.string,hexCode:x.string,id:x.string})).isRequired,availableSizes:x.arrayOf(x.shape({name:x.string,id:x.string})).isRequired,variations:x.arrayOf(x.shape({sizeId:x.string,colorId:x.string,price:x.number})).isRequired};const Z=({title:a,shortCode:i,templateId:t,designType:r})=>{const n=g(),[d,l]=s.useState(!1),{handleProductDesign:o}=M(),{handleSendMessage:c}=j();return e.jsxs("div",{className:"flex ai-c gap-15",children:[e.jsx(u,{size:"large",type:"primary",onClick:o({shortCode:i,id:t,designType:r}),children:"Edit Product"}),e.jsx(u,{size:"large",loading:d,onClick:async()=>{l(!0),n(f({[b]:{type:"pod-product",title:a,templateId:t}})),await c(b),l(!1)},children:"Message This Supplier"})]})},J=({id:s,title:a,image:i,designUrl:t,designType:r,burgerPrintId:n,minShippingDays:d,maxShippingDays:l,minShippingPrice:o,maxShippingPrice:c,...p})=>{const h=g(),x="corel"===r;return e.jsxs(q,{children:[e.jsx(B,{children:e.jsx("img",{src:i,alt:a})}),e.jsxs("div",{children:[e.jsx("h2",{className:"wb-bw",children:a}),x&&e.jsxs("div",{className:"flex ai-c m-t-15 m-b-15",children:[e.jsx(z,{className:"w-40 m-r-10"}),e.jsx(D,{url:t})]}),e.jsx(G,{children:"Print on Demand | AutoDS Suppliers Discount Price"}),e.jsx(K,{...p}),e.jsxs("p",{className:"m-t-10",children:["Shipping & Processing Time: ",d,"-",l," business days"]}),e.jsxs("p",{children:["Shipping Price: ",m(o),"-",m(c,{},"$","")]}),e.jsx(u,{type:"link",size:"small",className:"default m-b-10",onClick:()=>h(y({templateId:s,name:I,type:R.POD})),children:"View Shipping Options"}),e.jsx(Z,{title:a,shortCode:n,templateId:s,designType:r})]})]})},Q=({description:s})=>e.jsx("div",{dangerouslySetInnerHTML:{__html:s||""},className:"dark wb-bw"}),U=({description:s})=>{const a=[{key:"Product Info",label:"Product Info",children:e.jsx(Q,{description:s})}];return e.jsx(w,{items:a})},Y=(W=s.memo(({isLoading:s,title:i,categoryTitle:t,categoryId:r,description:n,...d})=>(T(i),s?e.jsx(V,{children:e.jsx(a,{})}):e.jsxs(V,{children:[e.jsx(L,{categoryTitle:t,categoryId:r}),e.jsx(J,{title:i,...d}),e.jsx(U,{description:n})]}))),()=>{const{push:a}=C(),{templateId:t}=S(),[r,n]=s.useState({});return s.useEffect(()=>{(async()=>{const{success:e,data:s,error:r}=await $.getTemplateById({templateId:t});e?n(s):(v("error",r),a(i))})()},[]),e.jsx(W,{isLoading:N(r),...r})});var W;export{Y 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.