PageSourceSearch

https://stoody.ch/build/assets/Index-7a34fd3a.js

js stoody.ch collected 2026-10-08 10:21:29 UTC 3,704 bytes, 1 lines download raw bytes

1import{X as m,r as d,j as e,S as j,x as b}from"./app-3e6c8001.js";import{u as g,R as x}from"./routeHelper-263580b1.js";import{G as N,C as w}from"./GuestLayout-8663872b.js";import{E as u}from"./Error-553b32d5.js";import{R as y}from"./registration-success-5082d5c5.js";import{C as v}from"./CSSTransition-da348d9a.js";import{C as k}from"./CheckIcon-30f7a271.js";import"./transition-b5fd6a29.js";import"./keyboard-99ed6cb8.js";import"./objectWithoutPropertiesLoose-cf9a35a2.js";import"./Transition-71ef3092.js";import"./setPrototypeOf-0bb37fbe.js";const C="/build/assets/icon_credit_card-5fedffd0.svg",S="/build/assets/icon_twint-74ddfc12.svg";function A({query:a={},price:l=null,defaultPrice:i=null,fromRegistration:c=null}){m().props;const[t,p]=d.useState(null),{t:n}=g(),o=d.useRef(null),{data:r}=m().props,h=s=>{s.preventDefault()},f=[{name:"credit-card",image:e.jsx("img",{src:C,className:"w-24"}),label:"Débit / Crédit",link:route(x.checkoutStripe,a)},{name:"twint",image:e.jsx("img",{src:S,className:"h-16 w-24 object-contain "}),label:"Twint",link:route(x.checkoutTwint,a)}];return e.jsxs(N,{children:[e.jsxs(j,{children:[e.jsx("title",{children:n("checkout.index.meta.title")}),e.jsx("meta",{name:"description",content:n("checkout.index.meta.description")})]}),e.jsx(v,{nodeRef:o,in:!0,timeout:500,appear:!0,classNames:"my-node",children:e.jsx("div",{ref:o,children:e.jsxs(w,{children:[r&&r.error&&c&&e.jsxs(e.Fragment,{children:[e.jsx("div",{style:{backgroundImage:`url(${y})`,height:"140px"},className:"background overflow-hidden w-full bg-top bg-cover z-20 pointer-events-none"}),e.jsx("h3",{className:"-mt-8 text-6xl text-primary tracking-[-4px] font-extrabold text-center ",children:n("download.title")}),e.jsx(u,{className:"justify-center items-center",children:n("checkout.registration-error")})]}),e.jsx("div",{className:"max-w-52 mx-auto mt-10",children:e.jsx("h1",{className:"text-2xl font-normal text-center text-primary tracking-tighter leading-none",children:n("checkout.index.title")})}),r&&r.error&&!c&&e.jsx(u,{className:"mt-5",children:n("checkout.error")}),e.jsxs("form",{onSubmit:h,children:[e.jsx("div",{className:"max-w-xl mx-auto",children:e.jsx("div",{className:"flex flex-col space-y-3  mt-10",children:f.map((s,R)=>e.jsx(e.Fragment,{children:e.jsxs("label",{htmlFor:s.name,className:`cursor-pointer pr-5 text-lg w-full justify-between flex items-center space-x-3 font-semibold text-[#919191] ${t&&t.name!==s.name||!t?"border":"shadow-xl"}`,children:[e.jsxs("div",{className:"flex items-center p-2 space-x-3",children:[s.image," ",e.jsx("span",{className:"",children:s.label})]}),e.jsxs("div",{className:"flex items-center space-x-5",children:[e.jsxs("div",{className:"flex flex-col md:flex-row space-y-3 md:space-y-0",children:[l!==i&&e.jsxs("span",{className:"line-through rounded-full bg-yellow-500 text-white px-5",children:[i,".-"]}),e.jsxs("span",{className:"rounded-full bg-green-500 text-white px-5",children:[l,".-"]})]}),e.jsx("input",{type:"radio",id:s.name,value:s.name,name:"payment_method",onChange:()=>p(s),className:"sr-only"}),t&&t.name===s.name&&e.jsx("span",{className:"h-6 w-6 flex items-center justify-center border rounded-full bg-[#05B92D]",children:e.jsx(k,{className:"h-4 w-4 text-white"})}),(!t||t&&t.name!==s.name)&&e.jsx("span",{className:"h-6 w-6 flex items-center justify-center border rounded-full border-gray-500"})]})]})}))})}),t&&e.jsx("div",{className:"flex items-center justify-center mt-5",children:e.jsx(b,{href:t&&t.link,type:"submit",className:"border py-5 px-10 font-bold text-lg rounded-full  pointer-events-auto border-[#04B92D] text-[#04B92D]",children:n("checkout.index.buttons.continue")})})]})]})})})]})}export{A as default};

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.