PageSourceSearch

https://volumo.com/_next/static/chunks/5095-e9b08b555c9003d4.js

js volumo.com collected 2026-09-25 18:41:31 UTC 11,723 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5095],{6105:e=>{e.exports={root:"PayByExpressCheckout_root__GAYvF"}},11647:(e,t,r)=>{"use strict";r.d(t,{q:()=>y});var a=r(80263),n=r(40773),s=r(136),o=r(78852),i=r(48851),l=r(27129),c=r(3638),d=r(53239),u=r(89654),p=r(98959),m=r(74471),_=r(6105),h=r.n(_);let y=e=>{let{className:t,payorderSubject:r,returnUrl:_,onCheckoutChange:y,onSuccess:x}=e,{api:v}=(0,u.gf)(),[f,j]=(0,d.useState)(),w=(0,n.t2)(),C=(0,n.HH)(),{themeName:N}=(0,d.useContext)(i.Dx),b=(0,m.MX)(y),S=(0,d.useMemo)(()=>({buttonBorderRadius:8,buttonHeight:48,buttonTheme:{applePay:(0,l.If)(N)?"white-outline":"black",googlePay:(0,l.If)(N)?"white":"black"},buttonType:{applePay:"buy",googlePay:"buy"},layout:{maxColumns:1,maxRows:3},paymentMethods:{amazonPay:"auto",applePay:"always",googlePay:"always",klarna:"never",link:"never",paypal:"never"}}),[N]);return(0,a.jsxs)("div",{className:(0,c.A)(h().root,t),children:[r?(0,a.jsx)(n.F8,{options:S,onConfirm:async e=>{let t;j(void 0);try{if(!C||!w)throw Error("Stripe is not loaded");let{error:e}=await C.submit();if(e)throw e;if(t=await v.createPayorder((0,m.WS)(r,void 0)),!t?.stripe?.client_secret)throw Error("The payorder carries no Stripe client secret");let{error:a}=await w.confirmPayment({clientSecret:t.stripe.client_secret,confirmParams:{return_url:_??window.location.href},elements:C,redirect:"if_required"});if(a)throw a}catch(t){e.paymentFailed(),j(await b(t,r.checkout_id));return}x?.(t)}}):null,f?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.K,{mt:3}),(0,a.jsx)(s.p,{type:"error",children:(0,p.n)(f)})]}):null]})}},15533:e=>{e.exports={row:"CheckoutSummary_row__znALp",rowTitle:"CheckoutSummary_rowTitle__zn1BA",discount:"CheckoutSummary_discount__ufilM",dot:"CheckoutSummary_dot__ItjlP"}},15832:(e,t,r)=>{"use strict";r.d(t,{Q:()=>w});var a=r(80263),n=r(12556),s=r(94386),o=r(97930),i=r(96776),l=r(14676),c=r(136),d=r(13463),u=r(53239),p=r(40773),m=r(22269),_=r(27129),h=r(35465),y=r.n(h);let x=()=>{let{t:e}=(0,d.c3)(),t=(0,u.useRef)(null),[r,n]=(0,u.useState)();(0,u.useEffect)(()=>{t.current&&n({style:{base:{color:getComputedStyle(t.current).getPropertyValue("--input__text-color"),lineHeight:"20px"}}})},[]);let s=_.BY.isIos?2:1;return(0,a.jsx)("form",{ref:t,children:(0,a.jsxs)("div",{className:y().payment,children:[(0,a.jsx)(m.k,{className:y().card,id:"ccnumber",inputComponent:p._D,inputContainerClassName:y().stripeInput,inputProps:{options:{...r,showIcon:!0}},label:e("Card number"),name:"ccnumber",required:!0,slim:!0,onChange:function(e){e.complete&&!_.BY.isAndroid&&t.current?.[s]?.focus()}}),(0,a.jsx)(m.k,{className:y().exp,id:"ccexp",inputComponent:p.qs,inputContainerClassName:y().stripeInput,inputProps:{options:r},label:e("Expiration date"),name:"ccexp",required:!0,slim:!0,onChange:function(e){e.complete&&!_.BY.isAndroid&&t.current?.[2*s]?.focus(),e.empty&&!_.BY.isAndroid&&t.current?.[0]?.focus()}}),(0,a.jsx)(m.k,{className:y().cvv,id:"cvv",inputComponent:p.JG,inputContainerClassName:y().stripeInput,inputProps:{options:r},label:"CVC",name:"cvv",required:!0,slim:!0,onChange:function(e){e.empty&&!_.BY.isAndroid&&t.current?.[s]?.focus()}})]})})};var v=r(51143),f=r(98959),j=r(74471);let w=e=>{let{buttonText:t,className:r,paymentMethod:p,payorderSubject:m,onCheckoutChange:_,onSuccess:h}=e,{t:y}=(0,d.c3)(),{isBelowSm:w}=(0,n.yU)(),[C,N]=(0,u.useState)(!1),[b,S]=(0,u.useState)(),[g,P]=(0,u.useState)(!1),{user:k}=(0,v.IE)(),M=(0,j.Dq)(),E=(0,j.MX)(_),F=(0,u.useRef)(null),I=async()=>{N(!0),S(void 0);try{if(!m)throw Error("No payorder subject available");let e=await M(m,p?.id!==j.$Z?p?.id:void 0,g);S(void 0),await h?.(e)}catch(e){S(await E(e,m?.checkout_id))}finally{N(!1)}};return(0,i.I)(()=>{S(void 0)},[p,m]),(0,i.I)(()=>{if(p?.id!==j.$Z)return;let e=F.current;if(!e)return;let t=!1,r=()=>{t||(t=!0,e.scrollIntoView({behavior:"smooth",block:"nearest"}))},a=t=>{"height"===t.propertyName&&t.target instanceof Node&&t.target.contains(e)&&r()};document.addEventListener("transitionend",a);let n=window.setTimeout(r,350);return()=>{document.removeEventListener("transitionend",a),window.clearTimeout(n)}},[p?.id]),(0,a.jsxs)(o.xA,{className:r,verticalSpacing:w?3:4,children:[p?.id===j.$Z&&(0,a.jsxs)(o.xA,{verticalSpacing:2,children:[(0,a.jsx)(x,{}),k&&(0,a.jsx)(l.S,{checked:g,id:"saveCard",label:y("Save card for future purchases"),onChange:e=>P(e.target.checked)})]}),p&&(p.id===j.$Z||p.id>0)?(0,a.jsx)(s.$,{autoFocus:!0,disabled:!m,fullWidth:!0,innerRef:F,loading:C,size:"big",onClick:I,children:t??(m?.amount===0?y("Get for free"):(0,j.$K)(p)?y("Pay with {card}",void 0,{card:"*"+p.last_four}):y("Pay with entered card"))}):null,b?(0,a.jsx)(c.p,{type:"error",children:(0,f.n)(b)}):null]})};w.displayName="PayByCard"},17850:(e,t,r)=>{"use strict";r.d(t,{h:()=>x});var a=r(80263),n=r(92839),s=r(7665),o=r(13463),i=r(27129),l=r(10330),c=r(65963),d=r(3638),u=r(53239),p=r(11359),m=r(51143),_=r(74471),h=r(25834),y=r.n(h);let x=e=>{let{paymentMethod:t,onChange:r,options:h,fallbackOption:x}=e,{t:v}=(0,o.c3)(),{user:f}=(0,m.IE)(),j=(0,p.sM)(),w=(0,u.useMemo)(()=>h??[...j.data||[],...(0,_.Ev)(v)].filter(l.vN),[h,j.data]);(0,u.useEffect)(()=>{j.refetch()},[f?.email]),(0,u.useEffect)(()=>
1{if(!j.isSuccess)return;let e=j.data?.find(e=>e.isdefault)??x,a=t&&w.some(e=>e.id===t.id);(!t&&e||t&&!a)&&r?.(e)},[j.data]);let C=e=>{let t=(0,_.$K)(e)?(0,c.ZH)(e.brand):e.id===_.$Z?v("New card"):(0,_._M)(e,v);return(0,a.jsxs)("span",{className:y().option,children:[(e=>{if((0,_.$K)(e)){if("mastercard"===e.brand)return(0,a.jsx)("span",{className:y().iconBrand,children:(0,a.jsx)(n.U_R,{})});if("visa"===e.brand)return(0,a.jsx)("span",{className:y().iconBrand,children:(0,a.jsx)(n.ti8,{})})}if(e.id===_.$Z)return(0,a.jsx)("span",{className:y().iconNewCard,children:(0,a.jsx)(n.uID,{})});let t=(0,_.JV)(e);return t?(0,a.jsx)("span",{className:y().icon,children:t}):null})(e),(0,a.jsx)("span",{className:y().label,children:t}),(0,_.$K)(e)?(0,a.jsxs)("span",{className:(0,d.A)(y().lastFour,i.Yr),children:["**** ",e.last_four]}):null]})};return(0,a.jsx)(s.oJ,{className:y().select,id:"paymentOption",inputValueClassName:y().selectValue,loading:j.isFetching,name:"paymentOption",placeholder:v("Choose your payment method"),popupContentsClassName:y().popupContents,popupPreferredDirectionDistance:4,renderValue:C,required:!0,value:t,onChange:r,children:w.map(e=>(0,a.jsx)(s.eb,{buttonClassName:y().item,className:i.Yr,value:e,children:C(e)},e.id))})}},22504:e=>{e.exports={root:"Discount_root__36au4"}},25834:e=>{e.exports={singleline:"PaymentMethodSelector_singleline__EAl7M",multiline:"PaymentMethodSelector_multiline__ysCrz",select:"PaymentMethodSelector_select__x2bzq",selectValue:"PaymentMethodSelector_selectValue__zn_Zf",popupContents:"PaymentMethodSelector_popupContents__R15LJ",option:"PaymentMethodSelector_option__vgirO",icon:"PaymentMethodSelector_icon___ywJK",iconBrand:"PaymentMethodSelector_iconBrand__McjV4",iconNewCard:"PaymentMethodSelector_iconNewCard__rxvbc",label:"PaymentMethodSelector_label__b__7l",lastFour:"PaymentMethodSelector_lastFour__v_DD8",item:"PaymentMethodSelector_item__cYKr3"}},35465:e=>{e.exports={payment:"StripeCardForm_payment__wlKsA",card:"StripeCardForm_card__Dsks5",exp:"StripeCardForm_exp__7c7d8",cvv:"StripeCardForm_cvv__3uGPz",state:"StripeCardForm_state__KS_Nr",country:"StripeCardForm_country__sv0M0",label:"StripeCardForm_label__u9m_N",city:"StripeCardForm_city__oxQi2",code:"StripeCardForm_code__t5Ved"}},53372:(e,t,r)=>{"use strict";r.d(t,{f:()=>x});var a=r(80263),n=r(54525),s=r(97930),o=r(13463),i=r(27129),l=r(76923),c=r(10330);r(53239);var d=r(99435),u=r(51143),p=r(22504),m=r.n(p);let _=e=>{let{className:t,discountPercentage:r}=e,{t:n}=(0,o.c3)(),{user:s}=(0,u.IE)(),i=s?.discount?.leftdays?n("Discount active for {count} more day(s)",void 0,{count:s?.discount?.leftdays}):n("Top up your balance to get a discount");return(0,a.jsx)(d.m,{anchor:(0,a.jsx)("div",{className:m().root,title:i,children:n("{percent} off","discount",{percent:(0,l.Ee)(r??s?.discount?.rate??0)})}),className:t,children:i})};var h=r(15533),y=r.n(h);let x=e=>{let{checkout:t,className:r,forceShowTax:d}=e,{t:u}=(0,o.c3)(),p=t?.subtotal_amount||t?.amount,m=t?.discount?.rate??0,h=t?.discount?.amount??0,x=t?.tax?.amount,v=t?.tax?.name,f=t?.tax?.rate,j=[v,f&&(0,l.Ee)(f)].filter(c.vN).join(", "),w=t?.total_amount??0,C=t?.quantity;return(0,a.jsxs)(s.xA,{className:r,verticalSpacing:1.5,children:[(0,a.jsxs)("div",{className:y().row,children:[(0,a.jsxs)("div",{className:y().rowTitle,children:[u("Subtotal"),":"]}),(0,a.jsx)(n.HJ,{value:p})]}),C>1&&(0,a.jsxs)("div",{className:y().row,children:[(0,a.jsxs)("div",{className:y().rowTitle,children:[u("Quantity"),":"]}),(0,a.jsx)("div",{className:i.Yr,children:C})]}),m>0&&(0,a.jsxs)("div",{className:y().row,children:[(0,a.jsx)("div",{className:y().rowTitle,children:(0,a.jsxs)("span",{children:[u("Discount"),":"]})}),(0,a.jsxs)(s.xA,{alignItems:"center",autoFlow:"column",horizontalSpacing:1,justifyContent:"right",children:[(0,a.jsx)(_,{className:y().discount,discountPercentage:m}),(0,a.jsx)("span",{className:y().dot}),(0,a.jsx)(n.HJ,{value:h})]})]}),("number"==typeof x||d)&&(0,a.jsxs)("div",{className:y().row,children:[(0,a.jsxs)("div",{className:y().rowTitle,children:[`${u("Taxes")}${j&&` (${j})`}`,":"]}),(0,a.jsx)(n.HJ,{value:x})]}),(0,a.jsxs)("div",{className:y().row,children:[(0,a.jsxs)("div",{className:y().rowTitle,children:[u("Total"),":"]}),(0,a.jsx)(n.HJ,{value:w})]})]})}},74966:(e,t,r)=>{"use strict";r.d(t,{l:()=>d});var a=r(80263),n=r(40773),s=r(48851),o=r(13463),i=r(27129),l=r(53239),c=r(60867);let d=e=>{let{amount:t,borderRadius:d="0",children:u}=e,{locale:p}=(0,o.c3)(),{themeName:m}=(0,l.useContext)(s.Dx),{data:_}=(0,c.eT)(),[h,y]=(0,l.useState)(null);(0,l.useEffect)(()=>{(async()=>{let e=(await r.e(7493).then(r.bind(r,17493))).loadStripe;y(await e(_?.stripe_pub_key||"",{developerTools:{assistant:{enabled:!1}}}))})()},[_?.stripe_pub_key]);let x=(0,l.useMemo)(()=>t?{amount:t,appearance:{theme:(0,i.If)(m)?"stripe":"night",variables:{borderRadius:d,fontFamily:"Inter",gridRowSpacing:"12px"}},currency:"eur",loader:"always",locale:p,mode:"payment",syncAddressCheckbox:"none"}:void 0,[t,d,p,m]);return(0,a.jsx)(n.S8,{options:x,stripe:h,children:"function"==typeof u?u(h):u},_?.stripe_pub_key||0)}},93819:(e,t,r)=>{"use strict";r.d(t,{O:()=>x});var a=r(80263),n=r(79724),s=r(96776),o=r(1985),i=r(136),l=r(78852),c=r(48851),d=r(53239),u=r(89654),p=r(60867),m=r(98959),_=r(74471);let h=e=>{let{children:t}=e,{data:r}=(0,p.eT)();return r?.paypal_client_id?(0,a.jsx)(n.ag,{options:{clientId:r.paypal_client_id,currency:"EUR"},children:t}):null},y=e=>{let{payorderSubject:t,onCheckoutChange:r,onSuccess:p}=e,{api:h}=(0,u.gf)(),y=(0,d.useRef)(),[{isPending:x}]=(0,n.Gi)(),{themeName:v}=(0,d.useContext)(c.Dx),[f,j]=(0,d.useState)(),w=(0,_.MX)(r),C=(0,d.useCallback)(async()=>
1{if(!y.current?.paypal?.id)throw Error("No PayPal order was created");return y.current.paypal.id},[]),N=(0,d.useCallback)(async()=>{if(!y.current)throw Error("No payorder was saved upfront");j(void 0),await p?.(y.current)},[p]),b=(0,d.useMemo)(()=>({color:"gold",height:44,label:"pay",layout:"horizontal",shape:"sharp",tagline:!1}),[v]);return(0,s.I)(()=>{j(void 0)},[t]),(0,a.jsxs)(o.p,{data:!x||void 0,isLoading:x,spacing:"compact",children:[(0,a.jsx)(n.JV,{createOrder:C,style:b,onApprove:N,onClick:async(e,r)=>{j(void 0),y.current=void 0;try{return y.current=await h.createPayorder((0,_.Mg)(t)),r.resolve()}catch(e){return j(await w(e,t.checkout_id)),r.reject()}},onError:j}),f?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.K,{mt:3}),(0,a.jsx)(i.p,{type:"error",children:(0,m.n)(f)})]}):null]})},x=e=>(0,a.jsx)(h,{children:(0,a.jsx)(y,{...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.