PageSourceSearch

https://wbk-assets.webook.com/0.7.8/assets/index-CA_4Z6C_.js

js webook.com collected 2026-09-25 15:15:49 UTC 3,199 bytes, 1 lines download raw bytes

1import{j as e}from"./@wbk/hooks-BlLlWTp9.js";import{P as x,T as _,B as j,U as w,t as b}from"./@wbk/ui-Bq7l3oiK.js";import{c4 as P}from"./@wbk/queue-DaHNt4dN.js";import{e as g,r as S,h as k,L as N}from"./vendor-Cc9w-i99.js";import{WithAuth as $}from"./@wbk/auth-AbxUcDmb.js";import{F as v,S as G}from"./index-CriLyxpO.js";import{G as F}from"./GeneratedPaymentSummary-DzGWaXPV.js";import{u as L}from"./@wbk/currency-B7PYjEev.js";import{h as C}from"./@wbk/ticketing-BIN3h7yH.js";import{u as y}from"./react-i18next-Dxy0wzdl.js";import"./@wbk/config-CNzyBjC_.js";import"./@wbk/logger-DfNVpG3P.js";import"./@wbk/svg-HUfKeBgT.js";import"./react-hook-form-D_m77UuM.js";import"./@wbk/api-BgBdL-BO.js";import"./@wbk/analytics-DE0c17Pa.js";import"./i18next-Ce0fiPMx.js";import"./i18next-http-backend-C2uFdLra.js";import"./i18next-browser-languagedetector-Bv2FoO1s.js";import"./react-helmet-BcOPeyN0.js";import"./@wbk/contentful-9uMqmgoA.js";import"./@smc/ads-x_0QwEKi.js";import"./@wbk/payment-CMegBHo6.js";import"./@wbk/auction-BYo4kjve.js";import"./@wbk/flights-zxddM6AH.js";import"./@wbk/hotels-5c6KxmYL.js";const B=({event:t,tickets:o})=>{var n,i;const{lang:c}=g(),a=c,{t:h,i18n:l}=y("booking"),s=S.useMemo(()=>l.getResourceBundle(a||"","seats"),[a,l]),{symbol:p,exchangePrice:r}=L(),d=(n=o==null?void 0:o[0])==null?void 0:n.currency;return e.jsxs(e.Fragment,{children:[e.jsx("h2",{className:"mb-4",children:h("booking:your_seats")}),e.jsx(x,{className:"relative h-[300px] overflow-hidden lg:h-auto lg:min-h-[200px]",children:e.jsx(C,{provider:t.seats_provider,language:(a==null?void 0:a.split("-")[0])||"en",event:t==null?void 0:t.seats_io_event_key,workspaceKey:t==null?void 0:t.workspace_event_key,objectWithoutPricingSelectable:!1,objectWithoutCategorySelectable:!1,priceFormatter:m=>`${r(m,d)} ${p}`,region:"eu",onChartRendered:m=>{o.forEach(u=>{const f=u.section?`${u.section}-`:"";m.selectObjects([`${f}${u.row}-${u.seat}`])})},messages:s,mode:"spotlight",colorScheme:"dark"},(i=o[0])==null?void 0:i._id)})]})},E=({user:t})=>{var n,i,m;const{t:o}=y("common"),{lang:c,id:a}=g(),[h]=k(),l=h.get("order_type")||"waiting",{data:s,isLoading:p,error:r}=P({id:a||"",lang:c,type:l});if(p)return e.jsx(v,{});if(r||!s||!t)return e.jsxs(x,{className:"mx-auto my-20 max-w-xl space-y-8 py-20 text-center",children:[e.jsx(_,{variant:"body-L",color:"error",children:(r==null?void 0:r.message)||o("common:unknown_error")}),e.jsx("div",{className:"mx-auto w-full max-w-xs",children:e.jsx(j,{as:N,to:`/${c}`,theme:"white",shape:"outlined",children:o("common:go_home")})})]});const d=((i=(n=s==null?void 0:s.summary)==null?void 0:n.event)==null?void 0:i.seats_io_event_key)&&((m=s==null?void 0:s.summary)==null?void 0:m.event.is_seated);return e.jsxs(e.Fragment,{children:[e.jsx(G,{}),e.jsx(w,{loading:p}),e.jsxs("section",{className:b("container my-8 p-4",d&&"grid grid-cols-2 gap-4"),children:[e.jsx("div",{className:"col-span-full mx-auto max-w-2xl lg:col-span-1",children:e.jsx(F,{payment:s,user:t})}),d&&e.jsx("div",{className:"col-span-full lg:col-span-1",children:e.jsx(B,{event:s.summary.event,tickets:s.summary.booked_tickets})})]})]})},ne=$(E,{title:"common:genetated_payment_title"});export{ne 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.