PageSourceSearch

https://phacil.delivery/_next/static/chunks/1829-53c6ce2a46cb89bd.js

js phacil.delivery collected 2026-10-08 15:39:00 UTC 18,088 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1829],{28857:function(n,e,t){var i=t(828),r=t(7297),a=t(85893),o=t(28777),l=t(19521),s=t(1216),c=t(9473),m=t(67814),d=t(59417),h=t(7054),u=t(90421);function p(){var n=(0,r.Z)(["\n  width: 100%;\n  position: relative;\n  margin-top: 3rem;\n  padding-top: 2rem;\n\n  .customSlider {\n    padding-bottom: 1rem;\n  }\n  button {\n    outline: none;\n    border: none;\n    background: transparent;\n  }\n\n  .carouselArrow {\n    margin: 1rem 0;\n    font-size: 1.5rem;\n    transition: all 150ms ease-in-out;\n\n    path {\n      fill: var(--blue);\n    }\n\n    &:hover {\n      path {\n        fill: var(--on-hover-blue);\n      }\n    }\n  }\n\n  .titleContainer {\n    height: 8rem;\n    position: absolute;\n    bottom: 0;\n  }\n\n  .carouselSlide {\n    padding: 0;\n  }\n\n  .carouselSlide .carousel__inner-slide {\n    display: flex;\n    justify-content: center;\n  }\n\n  .carouselBtnLeft {\n    position: absolute;\n    left: 0;\n    top: -2.5rem;\n  }\n\n  .carouselBtnRight {\n    position: absolute;\n    right: 0;\n    top: -2.5rem;\n  }\n  @media (max-width: 823px) {\n    margin: 0;\n    padding: 0;\n  }\n"]);return p=function(){return n},n}var f=l.default.div.withConfig({componentId:"sc-384b0885-0"})(p());e.Z=function(n){var e=(0,c.I0)(),t=(0,i.Z)((0,u.Z)(),1)[0],r=Math.floor(t/(1.15*n.slideWidth)),l=n.generateItems(n.item,(function(n){return e(h.GV(n))}));return(0,a.jsx)(o.sj,{naturalSlideWidth:n.slideWidth,naturalSlideHeight:n.fixedRatio?n.slideWidth*(n.heightFactor||.8):n.slideWidth*((r>3?3:r)/10+(n.heightFactor||.7)),totalSlides:n.item.length||0,visibleSlides:r,step:r,infinite:!0,children:(0,a.jsxs)(f,{children:[(0,a.jsx)(o.iR,{className:"customSlider",children:l}),(0,a.jsx)(o.jp,{className:"carouselBtnLeft",children:(0,a.jsx)(s.ZP,{children:(0,a.jsx)(m.G,{icon:d.wK6,className:"carouselArrow"})})}),(0,a.jsx)(o.P1,{className:"carouselBtnRight",children:(0,a.jsx)(s.ZP,{children:(0,a.jsx)(m.G,{icon:d.jmi,className:"carouselArrow"})})})]})})}},96113:function(n,e,t){var i=t(7297),r=t(85893),a=(t(67294),t(19521)),o=t(1216),l=t(41664),s=t.n(l),c=t(25675),m=t.n(c);function d(){var n=(0,i.Z)(["\n  position: relative;\n  height: 100%;\n  width: 90%;\n\n  .pharmaSlideTitle p:first-child {\n    font-weight: 700;\n    font-size: 1.4rem;\n    max-height: 2.5rem;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    display: -webkit-box;\n    -webkit-box-orient: vertical;\n    -webkit-line-clamp: 2;\n    margin: 10px 0;\n  }\n\n  .pharmaSlideTitle {\n    position: absolute;\n    top: 0;\n    left: 50%;\n    transform: translateX(-50%);\n    width: 100%;\n    height: 100%;\n    margin: 0 0 1rem 0;\n  }\n\n  .pharmaSlideImg {\n    z-index: -2;\n    width: 100%;\n    height:100%;\n    position: absolute;\n    top: 0;\n    left: 50%;\n    -webkit-transform: translateX(-50%);\n    transform: translateX(-50%);\n    width: 100%;\n    height: 100%;\n    margin: 0 0 1rem;\n\n      img {\n        width: 100%;\n        border-radius: 12px;\n        height: 100%;\n      }\n    }\n  }\n\n  .pharmaSlideTitle {\n    z-index: 150;\n    display: flex;\n    flex-direction: column;\n    align-items: flex-start;\n    padding: 0.5rem;\n\n    p:first-child {\n      font-weight: 700;\n      font-size: .9rem;\n      max-height: 2.5rem;\n      overflow: hidden;\n      text-overflow: ellipsis;\n      display: -webkit-box;\n      -webkit-box-orient: vertical;\n      -webkit-line-clamp: 2;\n      margin: 10px 0;\n    }\n\n    p {\n      color: white;\n      text-align: left;\n      margin: 0;\n\n      &:first-child {\n        font-weight: bold;\n        font-size: 0.9rem;\n        max-height: 2.5rem;\n        overflow: hidden;\n        text-overflow: ellipsis;\n        display: -webkit-box;\n        -webkit-box-orient: vertical;\n        -webkit-line-clamp: 2;\n        margin: 10px 0;\n      }\n    }\n\n    p+p {\n      font-size: 0.8rem;\n      font-weight: normal;\n    }\n  }\n\n  @media (max-width: 823px) {\n    max-height: 100%;\n    width: 75%;\n    border-radius: 15px;\n    overflow: hidden;
1\n\n    .pharmaSlideTitle p:first-child {\n        font-size: 1.4rem;\n    }\n  }\n\n  @media (max-width: 760px) {\n    width: 100%;\n  }\n"]);return d=function(){return n},n}var h=a.default.div.withConfig({componentId:"sc-7981ae9c-0"})(d());e.Z=function(n){return(0,r.jsx)(h,{className:"pharmaSlide pointer",onClick:function(){n.clicked()},id:"product-"+n.id,children:(0,r.jsx)(s(),{href:n.link,children:(0,r.jsxs)("a",{children:[(0,r.jsx)(o.ZP,{children:(0,r.jsx)("div",{className:"pharmaSlideImg",children:(0,r.jsx)(m(),{src:n.src?n.src:"https://phacil.delivery/static/pharma_placeholder.jpeg",alt:n.altText,className:"carouselPharmaImgCenter",layout:"fill"})})}),(0,r.jsxs)("div",{className:"pharmaSlideTitle",children:[(0,r.jsx)("p",{children:n.name}),(0,r.jsx)("p",{children:n.formattedDistance})]}),(0,r.jsx)("div",{className:"blueLayerEffect"})]})})})}},58749:function(n,e,t){var i=t(7297),r=t(85893),a=(t(67294),t(19521)),o=t(41664),l=t.n(o),s=t(25675),c=t.n(s),m=t(42471),d=t(1791);function h(){var n=(0,i.Z)(["\n  font-size: 0.6rem;\n  color: var(--text-dark-grey);\n  font-style: italic;\n  font-weight: normal;\n"]);return h=function(){return n},n}function u(){var n=(0,i.Z)(["\n  cursor: pointer;\n  text-align: center;\n  display: flex;\n  flex-direction: column;\n\n  p > .estimation {\n    font-weight: normal;\n  }\n\n  .prdSlideTitle {\n    text-align: left;\n    max-width: 12rem;\n    p {\n      margin: 0;\n      &:first-child {\n        color: var(--text-dark-grey);\n        font-weight: 800;\n        font-size: 0.9rem;\n        margin-bottom: 10px;\n        overflow: hidden;\n        text-overflow: ellipsis;\n        display: -webkit-box;\n        -webkit-box-orient: vertical;\n        -webkit-line-clamp: 2;\n      }\n    }\n  }\n\n  .prdSlideImg {\n    margin-bottom: auto;\n    width: 6rem;\n    height: 6rem;\n    display: flex;\n    justify-content: center;
1\n    align-items: center;\n    margin-bottom: 0.7rem;\n    margin-right: 20px;\n\n  }\n\n  @media (max-width: 823px) {\n    flex-direction: unset;\n  }\n"]);return u=function(){return n},n}function p(){var n=(0,i.Z)(["\n  display: inline-block;\n  line-height: 1rem;\n"]);return p=function(){return n},n}var f=a.default.span.withConfig({componentId:"sc-ce7688ec-0"})(h()),x=a.default.div.withConfig({componentId:"sc-ce7688ec-1"})(u()),g=a.default.p.withConfig({componentId:"sc-ce7688ec-2"})(p());e.Z=function(n){var e,t,i=n.item,a=(0,m.useTranslation)().t,o=null!==(e=i.name)&&void 0!==e?e:i.caption,s=i.id,h=null!==(t=i.img_link)&&void 0!==t?t:i.src,u=i.name,p=i.minPrice,w=i.isPharmaInCart,b=i.isPharmaInCartPrice,v="/product/".concat(i.id);return(0,r.jsx)(l(),{href:v,children:(0,r.jsx)("a",{onClick:function(){(0,d.B)("select_item",{category:"ecommerce",currency:"EUR",value:p,items:(0,d.GG)(i)})},children:(0,r.jsxs)(x,{id:"caroussel-"+s,link:v,children:[(0,r.jsx)("div",{className:"prdSlideImg",children:(0,r.jsx)(c(),{src:h,alt:u,className:"carouselPharmaImgCenter",priority:!0,objectFit:"scale-down",width:200,height:200,layout:"intrinsic"})}),(0,r.jsxs)("div",{className:"prdSlideTitle",children:[(0,r.jsx)("p",{className:"seeproduct",children:o}),!0===w?null!=b&&0!==b&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"textPriceMin seeproduct",children:a("available")}),(0,r.jsxs)("p",{className:"textPrice seeproduct",children:[b?b.toFixed(2)+"\u20ac":null,(0,r.jsx)(f,{children:a("estimation")})]})]}):null!=p&&0!==p&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"textPriceMin seeproduct",children:a("cheapestAt")}),(0,r.jsx)("br",{}),(0,r.jsxs)(g,{className:"textPrice seeproduct",children:[p.toFixed(2)+"\u20ac",(0,r.jsx)(f,{children:a("estimation")})]})]})]})]})})})}},95731:function(n,e,t){var i=t(7297),r=t(85893),a=(t(67294),t(98595)),o=t(10267),l=t(51252),s=t(19521),c=t(9473),m=t(7054),d=t(65701),h=t(58749),u=t(96113),p=t(1216),f=t(42471);function x(){var n=(0,i.Z)(["\n  font-size: 0.6rem;\n  color: white;\n  font-style: italic;\n  font-weight: normal;\n"]);return x=function(){return n},n}function g(){var n=(0,i.Z)(["\n  > .estimation {\n    color: white !important;\n    font-weight: normal;\n  }\n  .customSlider > .row {\n    justify-content: center;\n  }\n\n  .columnSlide {\n    display: flex;\n    justify-content: center;
1\n    align-items: center;\n    margin-bottom: 1rem;\n    width: 100%;\n\n    @media (min-width: 760px) {\n      width: 65%;\n    }\n\n    .pharmaSlideImg {\n      z-index: 0;\n      img {\n        height: 100%;\n        width: unset;\n      }\n    }\n    .pharmaSlide {\n      height: 130px;\n      margin-bottom: 1rem;\n    }\n    .pharmaSlide .pharmaSlideTitle p:first-of-type {\n      font-size: 1rem;\n      max-height: 3rem;\n      overflow: hidden;\n      text-overflow: ellipsis;\n      display: -webkit-box;\n      -webkit-box-orient: vertical;\n      -webkit-line-clamp: 3;\n    }\n  }\n  .columnSlide:last-of-type {\n    margin-bottom: 0.5rem;\n  }\n\n  .columnItemExample {\n    transform: translateY(7%);\n    height: 20rem;\n    width: 14.5rem !important;\n    margin: 0 1rem 1rem 1rem;\n  }\n  .columnItemSimilar {\n    transform: translateY(7%);\n    height: 20rem;\n    width: 14.5rem !important;\n    margin: 0 1rem;\n  }\n\n  .imgSimilarContainer {\n    height: 10rem;\n    max-height: 10rem;\n  }\n\n  .columnOtherPharma {\n    margin: 5rem 6%;\n  }\n\n  .hoverMobile {\n    cursor: pointer;\n    height: 150px;\n    width: 90%;\n    border-radius: 15px;\n    overflow: hidden;\n  }\n\n  .titleContainerExample {\n    position: absolute;\n    bottom: 0;\n  }\n  .priceText {\n    display: inline;\n  }\n\n  .columnSlide div:first-child {\n    position: relative;\n  }\n\n  .columnItemsExample p {\n    color: white;\n  }\n\n  .columnSlide .infoSlideColumnOtherPharma {\n    width: 100%;\n    position: absolute;\n    top: 0;\n    left: 0;\n    z-index: 50;\n    border-radius: 12px;\n    width: 100%;\n    height: 150px;\n    padding: 15px;\n    display: flex;\n    flex-direction: column;\n  }\n\n  .blueLayerEffectColumnMobile {\n    z-index: -1 !important;\n  }\n\n  .columnSlide .infoSlideColumnOtherPharma .row:first-of-type {\n    flex-direction: column;\n    margin-bottom: auto;\n  }\n  .columnSlide .infoSlideColumnOtherPharma .row:nth-of-type(2) .col {\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n  }\n\n  .columnItemsExample .infoSlideColumnOtherPharma .nameItemsExample {\n    font-weight: bold;\n    font-size: 1.1rem;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    display: -webkit-box;\n    -webkit-box-orient: vertical;\n    -webkit-line-clamp: 2;\n    margin-bottom: 5px;\n  }\n\n  .columnItemsExample .infoSlideColumnOtherPharma .rangeItemsExample {\n    font-size: 0.9rem;\n    margin-bottom: 5px;\n  }\n  .columnItemsExample .infoSlideColumnOtherPharma .pricetItemsExample {\n    font-size: 1.1rem;\n    margin: 0;\n  }
1\n\n  .prdSlideImg {\n    align-items: center;\n  }\n\n  .imgSlideColumnOtherPharma img {\n    max-width: 100%;\n    border-radius: 12px;\n  }\n\n  .columnItemsExample button {\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    border-radius: 50%;\n    width: 42px;\n    height: 42px;\n  }\n\n  .columnItemsExample button span {\n    color: white;\n    font-weight: bold;\n  }\n  /* carouselItemsSimilar */\n\n  .columnItemsSimilar .prdSlideTitle p {\n    text-align: left;\n    overflow: hidden;\n    text-overflow: ellipsis;\n  }\n\n  .columnItemsSimilar .textPrice {\n    font-weight: bold;\n  }\n\n  .columnItemExample {\n    transform: translateY(7%);\n    height: 20rem;\n    width: 14.5rem !important;\n    margin: 0 1rem 1rem 1rem;\n  }\n  .columnItemSimilar {\n    transform: translateY(7%);\n    height: 20rem;\n    width: 14.5rem !important;\n    margin: 0 1rem;\n  }\n\n  .productSlide {\n    align-items: center;\n    justify-content: center;\n  }\n\n  .prdSlideImg img {\n    margin-right: 30px;\n  }\n\n  @media (max-width: 823px) {\n    .productSlide {\n      align-items: center;\n      justify-content: center;\n      display: flex;\n    }\n    .pharmaSlide {\n      height: 160px;\n      width: 100%;\n      border-radius: 15px;\n      overflow: hidden;\n    }\n  }\n"]);return g=function(){return n},n}e.Z=function(n){var e,t=(0,c.I0)(),i=(0,f.useTranslation)().t;return(0,r.jsx)(b,{style:{width:"100%",position:"relative"},children:(0,r.jsx)(a.Z,{className:"customSlider",children:(0,r.jsx)(o.Z,{children:function(){var s;return"examples"===n.type?(s=n.item,e=s.map((function(e,t){return(0,r.jsx)("div",{className:"columnSlide columnItemsExample",children:(0,r.jsxs)("div",{className:"hoverMobile",children:[(0,r.jsx)("div",{className:"imgSlideColumnOtherPharma",children:(0,r.jsx)(p.ZP,{children:(0,r.jsx)("img",{src:e?e.src:void 0,alt:e?e.altText:void 0,className:""})})}),(0,r.jsxs)(a.Z,{className:"infoSlideColumnOtherPharma mobileExample",children:[(0,r.jsx)(o.Z,{children:(0,r.jsxs)(l.Z,{children:[(0,r.jsx)("p",{className:"nameItemsExample",children:e?e.caption:""}),(0,r.jsx)("p",{className:"rangeItemsExample",children:"NaNm"!==n.distance?n.distance:null})]})}),(0,r.jsx)(o.Z,{children:(0,r.jsxs)(l.Z,{children:[null!=e.price&&0!==e.price?(0,r.jsxs)("p",{className:"textPrice priceText pricetItemsExample",children:[e?e.price.toFixed(2):""," \u20ac",(0,r.jsx)(w,{children:i("estimation")})]}):(0,r.jsx)("p",{}),(0,r.jsx)(d.Z,{id:e?e.altText:"",addButtonSlider:!0,toggleLocationChecker:n.toggleLocationChecker,product:e,isCaroussel:!0,idPharmacy:e.idPharmacy,productNameForCaroussel:n.productName,showNewPharmaInCartModal:n.showNewPharmaInCartModal,checkPharmaInCart:n.checkPharmaInCart,price:e.price,quantity:e.quantity>0?e.quantity:0,className:"buttonMobileColumn"})]})}),(0,r.jsx)("div",{className:"blueLayerEffect blueLayerEffectColumnMobile"})]})]})},"examplesItem".concat(t))}))):"similar"===n.type?e=function(n){return n.map((function(n,e){if(n)return(0,r.jsx)("div",{className:"columnSlide columnItemsSimilar",children:(0,r.jsx)(h.Z,{item:n})},"prdItem".concat(e))}))}(n.item):"pharmaNearMe"===n.type?e=function(n){return n.map((function(n,e){return n?(0,r.jsx)(l.Z,{xs:"6",children:(0,r.jsx)("div",{className:"columnSlide columnItems",children:(0,r.jsx)(u.Z,{name:n.name,id:n.pharmacy_id,src:n.img_link,altText:n.name,distance:n.distance,formattedDistance:n.formattedDistance,minPrice:666,clicked:function(){t(m.GV(n.name))},link:"/".concat(n.pharmacy_id,"/").concat(n.name.replace(/\s+/g,"-"))})},"prdItem".concat(e))},"pharma-near-me".concat(e)):null}))}(n.item):"topSeller"===n.type&&(e=function(n){return n.map((function(n,e){if(n)return(0,r.jsx)("div",{className:"columnSlide columnItemsSimilar",children:(0,r.jsx)(h.Z,{item:n})},"prdItem".concat(e))}))}(n.item)),e}()})})})};var w=s.default.span.withConfig({componentId:"sc-87b73a40-0"})(x()),b=s.default.div.withConfig({componentId:"sc-87b73a40-1"})(g())},65701:function(n,e,t){t.d(e,{Z:function(){return w}});var i=t(85893),r=(t(67294),t(9473)),a=t(67814),o=t(59417),l=t(11163),s=t.n(l),c=(t(25675),t(7054)),m=t(42471),d=t(7297),h=t(19521),u=t(97975);function p(){var n=(0,d.Z)(["\n  background-image: none;\n  background-color: ",";\n  border-radius: 0.375rem;\n  padding: 0.5rem 1rem  !important;\n  color: white;\n  border: none !important;\n  box-shadow: none !important;\n  display: flex;\n  align-items: center;\n  transition: background-color 200ms ease-in-out !important;\n  cursor: ",";\n\n  &:hover {\n    background-color: ",";\n    color: white !important;\n    background-image: none !important;\n    border: none !important;\n  }\n\n  .buttonText {\n    margin: 0;\n    color: white;\n    font-size: 1rem;\n  }\n\n  img {\n    margin-left: 1.2rem;\n  }\n\n  .plusSlideButton {\n    border-radius: 50% !important;\n  }\n  .plusSlideButtonDisabled {\n    padding: 10px 20px !important;\n    height: 42px;\n    width: 42px;\n    display: flex;
1\n    align-items: center;\n    justify-content: center;\n    border-radius: 50% !important;\n    background-color: var(--grey) !important;\n  }\n\n  svg path {\n    color: white;\n  }\n"]);return p=function(){return n},n}function f(){var n=(0,d.Z)(["\n  display: flex;\n  margin-left: 10px;\n"]);return f=function(){return n},n}var x=(0,h.default)(u.Z).withConfig({componentId:"sc-6386dabf-0"})(p(),(function(n){return 1===n.hasstock?"var(--blue-shade-2)!important":"var(--grey) !important"}),(function(n){return 1===n.hasstock?"pointer !important":"not-allowed !important"}),(function(n){return 1===n.hasstock?"var(--on-hover-blue) !important":"var(--grey) !important"})),g=(h.default.div.withConfig({componentId:"sc-6386dabf-1"})(f()),t(1791)),w=function(n){var e=(0,r.I0)(),t=(0,m.useTranslation)().t,l=(0,r.v9)((function(n){return n.cart.carts})),d=(0,r.v9)((function(n){return n.cart.formattedTotalPrice}));return(0,i.jsx)(x,{outline:!1,value:d,price:n.price,stock:n.quantity,hasstock:n.quantity>0&&n.price>1?1:0,onClick:function(){n.prescription?(s().push("/prescription"),(0,g.B)("access_prescription_page",{prescriptionAccessOrigin:"product-page-similar-products",category:"ordonnance"})):n.quantity>0&&n.price>1&&(!0===n.checkPharmaInCart(n.idPharmacy,l)?e((0,c.Xq)(n.id,1,n.productNameForCaroussel)):n.showNewPharmaInCartModal(n.id))},id:n.id,className:n.quantity>0&&n.price>1?n.addButtonSlider?"HoverEffectAddCarousel":"HoverEffect":null,children:n.addButtonSlider?n.quantity>0&&n.price>=1?(0,i.jsx)("span",{className:"plusSlideButton",children:"+"}):(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("span",{className:"plusSlideButtonDisabled",children:(0,i.jsx)(a.G,{icon:o.NBC})})}):n.quantity>0&&n.price>=1?(0,i.jsx)(i.Fragment,{children:t("OrderMyDrugs")}):(0,i.jsx)(i.Fragment,{children:t("unavailable")})})}},90421:function(n,e,t){var i=t(67294);e.Z=function(){var n=(0,i.useState)([0,0]),e=n[0],t=n[1];return(0,i.useEffect)((function(){var n=function(){t([window.innerWidth,window.innerHeight])};return window.addEventListener("resize",n),n(),function(){return window.removeEventListener("resize",n)}}),[]),e}}}]);

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.