PageSourceSearch

https://stcdn.leadconnectorhq.com/_preview/CuNySz_w.js

js leadconnectorhq.com collected 2026-10-01 07:44:37 UTC 1,774 bytes, 1 lines download raw bytes

1import P from"./CuEgp3kj.js";import k from"./C31-9xsn.js";import{u as h}from"./EV4JFeiC.js";import{a1 as A,af as B,cC as E,c as V,ah as t,M as o,N,ag as O,al as j,ao as c,aF as H,ap as S,a5 as a,bj as q}from"./Czd9XnOY.js";import"./bl4g07IH.js";import"./46BuY3JG.js";import"./DFFyfcYC.js";import"./ubaDBVG5.js";import"./D2kFVVdL.js";import"./DRNKrJGC.js";import"./DFfHoBKH.js";import"./LMNLYufG.js";import"./DINNOrF0.js";import"./D2YvfBZE.js";import"./Di4AxDXO.js";import"./lB1Aae7P.js";import"./BJfU8DFO.js";import"./DyayeFCn.js";import"./CPIt6tsr.js";import"./Dp-VqxDQ.js";import"./CY-HIaCL.js";import"./B_sB1hos.js";import"./Cr3S-gOM.js";const F={key:0,class:"pdp-v2-add-to-cart"},I=["disabled","aria-busy"],L=A({__name:"AddToCart",props:{element:{type:Object,required:!0}},async setup(r){let n,s;const e=r,{t:d,locale:l}=B(),{product:u,disableActionButtons:_,isQuantityUpdating:g,showCartDrawer:i,registerCartDrawerHost:C,toggleCartDrawer:w,onAddToCart:m,initPdpV2Product:x}=h();[n,s]=E(()=>x()),await n,s();const b=C(e.element.id),y=l,D=V(()=>e.element.extra?.customText?.value?.productDetailSection?.addToCartButtonText??e.element.extra?.text?.value??d("ecommerce.product_detail.add_to_cart"));return(M,p)=>{const T=P,f=k;return t(u)?(o(),N("div",F,[O("button",{type:"button",class:"pdp-v2-add-to-cart__btn",disabled:t(_),"aria-busy":t(g)||void 0,onClick:p[0]||(p[0]=(...v)=>t(m)&&t(m)(...v))},j(D.value),9,I),t(b)?(o(),c(q,{key:0,to:"body"},[H(f,{isOpen:t(i),maxWidth:"370px"},{default:S(()=>[t(i)?(o(),c(T,{key:0,element:r.element,language:t(y),onToggleDrawer:t(w)},null,8,["element","language","onToggleDrawer"])):a("",!0)]),_:1},8,["isOpen"])])):a("",!0)])):a("",!0)}}}),dt=Object.assign(L,{__name:"PreviewElementsEcommercePdpV2AddToCart"});export{dt 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.