PageSourceSearch

https://tyngre.se/static/js/Checkout-CheckoutContent-Steps.a933285d.chunk.js

js tyngre.se collected 2026-09-24 19:35:54 UTC 1,797 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[9875],{46902:function(e,t,n){n.r(t),n.d(t,{Steps:function(){return j}});var s,i,r=n(1413),u=n(45987),c=n(30168),o=n(72791),f=n(29617),l=n(89719),a=n(33168),p=n(86734),d=n(9911),m=n(19738),S=n(91846),h=n(97334),E=n(53957),x=n(80184),C=["step","setStep"],A=(0,m.styled)("div")(s||(s=(0,c.Z)(["\n    display: flex;\n    flex-direction: column;\n    gap: 32px;\n"]))),_=(0,m.styled)("div")(i||(i=(0,c.Z)(["\n    width: 100%;\n    max-width: var(--checkout-column-max-width);\n    margin-left: auto;\n"]))),v=1,D=2,b=3,j=function(e){var t=e.step,n=e.setStep,s=(0,u.Z)(e,C),i=(0,o.useRef)(null),c=(0,o.useRef)(null),m=(0,o.useRef)(null),j=(0,d.T)(),y=(0,a.$)().t;(0,o.useEffect)((function(){var e=l.z.subscribe(l.A.ECOMMERCE.BASKET.CHANGED,(function(){setTimeout((function(){j((0,p.IH)({id:"payment-basket-changed",template:"info",data:{label:y("basket.notifications.forceChanged.label"),content:y("basket.notifications.forceChanged.content")},lifespan:5e3,timestamp:Date.now()}))}),1e3)}));return function(){l.z.unsubscribe(l.A.ECOMMERCE.BASKET.CHANGED,e)}}),[]);var O=function(e,t){n(e),setTimeout((function(){(0,f.kI)(null===t||void 0===t?void 0:t.current,{smooth:!0,yOffset:-150})}),100)};return(0,x.jsxs)(A,(0,r.Z)((0,r.Z)({},s),{},{children:[(0,x.jsx)(_,{ref:i,children:(0,x.jsx)(S.CustomerInformation,{step:v,currentStep:t,completed:t>v,setThisStep:function(){return O(v,i)},setNextStep:function(){return O(D,c)}})}),(0,x.jsx)(_,{ref:c,children:(0,x.jsx)(h.Delivery,{step:D,currentStep:t,isCurrentStep:t===D,completed:t>D,setThisStep:function(){return O(D,c)},setNextStep:function(){return O(b,m)}})}),(0,x.jsx)(_,{ref:m,children:(0,x.jsx)(E.Payment,{step:b,currentStep:t,isCurrentStep:t===b})})]}))}}}]);

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.