PageSourceSearch

https://viahonest.com/_nuxt/CdW47Mlu.js

js viahonest.com collected 2026-10-02 00:35:42 UTC 6,331 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./B9wAKS6Z.js","./DGacKI6N.js","./C0rrgZaG.js","./DLqajyvq.js","./B5m247k_.js","./DU8liK4R.js","./DC1376r_.js","./Ci5tur4S.js","./CfYBn0X8.js","./lrOQXEPG.js","./DaUk_bhW.js","./uBIymjUX.js","./BQAMSilX.js","./BXiXJUzP.js","./DluwxfQy.js","./hePW80VL.js","./BTRraOp5.js","./uV87BpzF.js","./BKpfgfCR.js","./ao2jh1Cw.js","./B_lsneZr.js","./6ocTERD-.js","./BN3bYSem.js","./Ob1nu1bV.js","./DDVDwV4F.js","./BNwQ55JA.js","./-nVRl3e7.js","./Db9f7wGq.js","./CBMKzrbQ.js","./B0Z8oR9I.js","./Cp27V7_p.js","./Dfv-4_v7.js","./BscN1Oh1.js","./Dey8YKCf.js","./BzA7FZoJ.js","./DtAmQCzI.js","./ChEM87l6.js","./BfJArnHJ.js","./_MXdQev8.js","./MiBXAwP9.js","./CdslmWKn.js","./C7uukJWn.js","./B1tQ6GEQ.js","./entry.B3hVGzV3.css","./CUbqx4Dk.js"])))=>i.map(i=>d[i]);
2import{n as e}from"./hePW80VL.js";import{Et as t,H as n,J as r,Kt as i,Yt as a,b as o,d as s,f as c,m as l,ot as u,p as d,r as f,st as ee,x as p,y as m}from"./DGacKI6N.js";import{d as h}from"./lrOQXEPG.js";import{t as g}from"./uBIymjUX.js";import{t as _}from"./-nVRl3e7.js";import{t as v}from"./DaUk_bhW.js";import{n as te}from"./_MXdQev8.js";import{i as ne}from"#entry";import{t as y}from"./U1k36Jiq.js";import{t as re}from"./g7alKKR-.js";import{n as ie}from"./C3YNT44B.js";import{n as b}from"./9uIbNdQn.js";var x=e({default:()=>B}),S=p(()=>g(()=>import(`./B9wAKS6Z.js`).then(e=>e.default||e),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url)),C=p(()=>g(()=>import(`./BTRraOp5.js`).then(e=>e.default||e),__vite__mapDeps([16,1,10,11,14,15]),import.meta.url)),w=p(()=>g(()=>import(`./uV87BpzF.js`).then(e=>e.default||e),__vite__mapDeps([17,1,11,18,19,2,3,4,5,6,20,21,22,23,24,25,26,13,27,28,29]),import.meta.url)),T=p(()=>g(()=>import(`./Cp27V7_p.js`).then(e=>e.default||e),__vite__mapDeps([30,1,2,3,4,5,6,11,18,23,24,25,20,21,26,13,28,22,19,27,29,10,31,9,32,8,33,34,7,35,36,37,38,15,39,40,41,42,43,44]),import.meta.url)),E=[`href`],D={class:`sr-only`},O=[`role`,`tabindex`],k=[`data-testid`],A=[`alt`,`src`],j={key:2,class:`pointer-events-none absolute top-3.5 left-3.5 z-10 grid gap-1`},M={class:`mt-4 h-18`},N=[`title`],P={class:`static mt-3 flex h-10 items-center justify-between lg:mt-4`},F={class:`text-12px-20-600-secondary text-white-dove`,"data-testid":`price-label`},I={class:`grid h-5 grid-cols-[minmax(0,max-content)_minmax(0,1fr)] items-end gap-1.5 overflow-hidden`},L={class:`text-16px-20-700 leading-none whitespace-nowrap`},R={class:`text-12px-600-secondary text-white-dove mb-px min-w-0 truncate text-right leading-none whitespace-nowrap`,"data-testid":`price-native`},z={key:0,class:i([`absolute inset-x-0 top-full -z-1`,`h-4`,`-translate-y-4`,`overflow-hidden`,`rounded-b-20px`,`bg-white`,`px-4 pt-4 pb-0`,`shadow-medium`,`transition-all`,`group-hover:z-1 group-hover:h-fit group-hover:overflow-visible group-hover:p-4`])},B=Object.assign({name:`CardItem`},{__name:`CardItem`,props:{actions:{type:Array,default:()=>[]},clickOnCard:{type:Boolean,default:!1},favourite:{type:Boolean,default:!1},item:{type:Object,required:!0},showAddToCartButton:{type:Boolean,default:!1},widthClass:{type:String,default:`w-full`},showViewingActivity:{type:Boolean,default:!0}},setup(e){let{availableActions:p,creatorAvatarLink:g,creatorDisplayName:x,formattedItemName:B,handleCardKeyDown:V,handleCardMouseDown:H,handleCreatorMouseDown:U,imageFormat:ae,isBlobUrl:W,isShowLimited:G,isShowModalCancelListing:K,isShowModalListExemplars:q,isShowPrice:J,itemPrice:Y,mediaLink:X,targetUrl:oe,addItemToCart:se,onAction:ce,onCloseModalCancelListing:le,optimizedMediaLink:Z}=y(e);return(y,Q)=>{let ue=ne,de=S,fe=C,pe=re,$=ie,me=b,he=v,ge=te,_e=w,ve=T,ye=r(`dompurify-html`);return n(),l(`div`,null,[s(`a`,{class:`rounded-20px absolute inset-0`,href:t(oe)},[s(`span`,D,a(e.item.name),1)],8,E),s(`div`,{class:i([`group`,`relative`,`max-w-63`,`rounded-20px`,`bg-white`,`p-4`,`shadow-small`,`lg:max-w-72`,`2xl:max-w-75`,e.widthClass,{"cursor-pointer":e.clickOnCard}]),"data-testid":`card-item`,role:e.clickOnCard?`link`:null,tabindex:e.clickOnCard?`0`:null,onMousedown:Q[0]||=(...e)=>t(H)&&t(H)(...e),onKeydown:Q[1]||=(...e)=>t(V)&&t(V)(...e)},[s(`div`,null,[s(`div`,{class:i([`relative`,`w-full min-w-39 pt-[100%] 2xl:min-w-66`,`rounded-xl`,`overflow-hidden`,{"bg-light-silver":!t(X)}]),"data-testid":t(X)?null:`image-placeholder`},[t(X)&&!t(W)?(n(),c(ue,{key:0,alt:e.item.name,class:`img-contain absolute inset-0`,"data-testid":`item-image`,densities:`x1 x2`,format:t(ae),loading:`lazy`,placeholder:``,sizes:`288px 2xl:300px`,src:t(Z)}
2,null,8,[`alt`,`format`,`src`])):t(X)&&t(W)?(n(),l(`img`,{key:1,alt:e.item.name,class:`img-contain absolute inset-0`,"data-testid":`item-image`,loading:`lazy`,src:t(Z)},null,8,A)):d(``,!0),[`listing`,`spotlight`].includes(e.item.type)?(n(),l(`div`,j,[e.showViewingActivity?(n(),c(de,{key:0})):d(``,!0),t(G)?(n(),c(fe,{key:1})):d(``,!0)])):d(``,!0)],10,k),s(`div`,M,[o(pe,{image:t(g),"text-color-class":`text-link`,username:t(x),onMousedown:h(t(U),[`stop`])},null,8,[`image`,`username`,`onMousedown`]),ee(s(`div`,{class:`text-16px-20-700 mt-2 line-clamp-2 h-10 wrap-break-word`,"data-testid":`item-name`,title:e.item.name},null,8,N),[[ye,t(B)]])])]),s(`div`,P,[s(`div`,null,[t(J)?(n(),l(f,{key:0},[s(`p`,F,a(y.$t(`price`)),1),s(`div`,I,[s(`p`,L,[o($,{"data-testid":`price-usd`,"from-currency":e.item.currency,"height-class":`h-4`,"to-currency":`usd`,value:t(Y)},null,8,[`from-currency`,`value`])]),s(`p`,R,a((`useRoundToDecimals`in y?y.useRoundToDecimals:t(_))(t(Y),2))+` `+a(e.item.currency),1)])],64)):d(``,!0)]),e.actions.length?(n(),c(me,{key:0,actions:t(p),class:`static`,onAction:t(ce)},null,8,[`actions`,`onAction`])):d(``,!0)]),e.showAddToCartButton?(n(),l(`div`,z,[o(ge,{"button-type":`primary-black`,class:`w-full`,"data-testid":`add-to-cart-button`,"padding-classes":`py-3.5 pr-8 pl-6`,"rounded-classes":`rounded-2xl`,onMousedown:h(t(se),[`stop`])},{default:u(()=>[o(he,{class:`mr-2 size-6`,name:`cart`}),Q[3]||=m(` Добавить в корзину `,-1)]),_:1},8,[`onMousedown`])])):d(``,!0)],42,O),t(K)?(n(),c(_e,{key:0,"item-id":e.item.itemId,name:e.item.exemplarName,onClose:t(le)},null,8,[`item-id`,`name`,`onClose`])):d(``,!0),t(q)?(n(),c(ve,{key:1,"item-id":e.item.itemId,onClose:Q[2]||=e=>q.value=!1},null,8,[`item-id`])):d(``,!0)])}}});export{B as n,x as t};

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.