PageSourceSearch

https://peisa.com.pe/_nuxt/CnCRZsFy.js

js peisa.com.pe collected 2026-09-27 01:02:52 UTC 877 bytes, 1 lines download raw bytes

1import{aC as u,aD as c,C as d,q as p}from"./C-pd9DEJ.js";import{u as m}from"./mZBpJLHC.js";const y=u(async o=>{let t,i;const s=o.query.items;if(!s)return;const n=m();try{const r=([t,i]=c(()=>n("/api/storefront/products/by-ids",{params:{items:s}})),t=await t,i(),t);if(r?.error!==0||!r?.data?.length)return;const a=d();a.items.length===0&&a.clearCart();for(const e of r.data)a.items.push({productId:String(e.id),variantId:e.variantId!=null?String(e.variantId):void 0,name:e.name,price:e.price,originalPrice:e.originalPrice??void 0,quantity:e.quantity,image:e.image||void 0,sku:e.sku||void 0,maxQuantity:e.maxQuantity||void 0,requiresShipping:e.productType?.requiresShipping??!0,requiresAddress:e.productType?.requiresAddress??!0,isRedeemable:e.productType?.isRedeemable??!1,taxAffectation:e.taxAffectation??1});return p("/checkout",{replace:!0})}catch{}});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.