1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e36352d9-57c0-598f-b4ce-7889f3ff1f15")}catch(e){}}(); 3import{U as B}from"./CM8oBylU.js";import{f as r,u as e,dK as g,dg as N,o as a,a as n,b as x,d as O,j as C,b9 as U,n as y,t as D,G as d,i as T,h as A,c as I}from"./BKpyJJgk.js";import{P as z,d as F,e as S}from"./DNwwXXPe.js";function E({price:t=0,oldPrice:c=0,status:o="notAvailable",discount:p="",hideDiscount:P=!1,forceShowPrice:f=!1,minimalRetailPrice:v=0,maximalRetailPrice:_=0}){const i=r(()=>!e(f)&&S.includes(e(o))),h=r(()=>z.includes(e(o))),m=r(()=>F[e(o)]??"ÐÐµÑ Ð² налиÑии"),w=r(()=>N(Number(e(t)??0))),s=r(()=>N(Number(e(c)??0))),u=r(()=>Number(e(p)??0)||g(Number(e(t)??0),Number(e(c)??0))),b=r(()=>!e(P)&&u.value>0&&!i.value),l=r(()=>e(v)!==e(_));return{isUnavailableForOnline:i,textNotAvailable:m,productPrice:w,productOldPrice:s,productDiscount:u,showDiscountIndicator:b,isCantBuyStatus:h,hasDiffReservePrice:l}}const V={width:"53",height:"5",viewBox:"0 0 53 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function L(t,c){return a(),n("svg",V,[...c[0]||(c[0]=[x("path",{d:"M.75 4c16.814-4 34.686-4 51.5 0",stroke:"#fa1157","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])])}const j={render:L},H={key:0,class:"product-price__availability"},$=O({name:"ProductPrice",__name:"ProductPrice",props:{price:{default:0},oldPrice:{default:0},pricePosition:{default:"col"},status:{default:"notAvailable"},discount:{default:""},size:{default:void 0},hideDiscount:{type:Boolean,default:!1},forceShowPrice:{type:Boolean,default:!1},isReverse:{type:Boolean,default:!1}},setup(t){C(R=>({v4667b2ec:e(b)}));const c=t,{price:o,oldPrice:p,status:P,discount:f,hideDiscount:v,forceShowPrice:_}=U(c),{isUnavailableForOnline:i,textNotAvailable:h,productPrice:m,productOldPrice:w,productDiscount:s,showDiscountIndicator:u}=E({price:o,oldPrice:p,status:P,discount:f,hideDiscount:v,forceShowPrice:_}),b=r(()=>s.value&&c.oldPrice?"var(--Light-Cherry-500)":"var(--Light-Base-900)"),l=r(()=>!!(s.value&&c.oldPrice));return(R,G)=>{const k=B;return a(),n("div",{class:y(["product-price",{"product-price--row":t.pricePosition==="row"},{"product-price--reverse":t.isReverse}])},[e(i)?(a(),n("span",H,D(e(h)),1)):d("",!0),e(s)&&!e(i)?(a(),n("span",{key:1,class:y(["product-price__old-price",{"product-price__old-price--row":t.pricePosition==="row"}])},[T(D(e(w))+" ",1),A(e(j),{preserveAspectRatio:"none",class:"product-price__old-price-line"})],2)):d("",!0),e(o)&&!e(i)?(a(),n("span",{key:2,class:y(["product-price__price",[{"product-price__price--row":t.pricePosition==="row"},{"product-price__price--with-old":t.isReverse&&e(l)},{"product-price__price--without-old":t.isReverse&&!e(l)},{[`product-price__price--size-${t.size}`]:t.size}]]),"data-testid-text-cart-item":"price"},D(e(m)),3)):d("",!0),e(u)?(a(),I(k,{key:3,class:"product-price__discount",value:e(s),background:"cherry","suffix-value":"%",size:"l"},null,8,["value"])):d("",!0)],2)}}}),q=Object.assign($,{__name:"ProductPrice"});export{j as L,q as P,E as u}; 4//# sourceMappingURL=BPKeJmZr.js.map 5 6//# debugId=e36352d9-57c0-598f-b4ce-7889f3ff1f15
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.