PageSourceSearch

https://edge.racemap.com/assets/index-Cynwhn-c.js

js racemap.com collected 2026-09-24 09:40:36 UTC 2,751 bytes, 2 lines download raw bytes

1import{j as t,r as p,ab as l,T as u,bA as v,ln as x}from"./ErrorPage-_Vd6n00G.js";import{a as f,T as m}from"./TabComponents-DBdScTj6.js";import{f as h}from"./useCurrentEvent-DsrQvHYR.js";import"./MetaComponent-CFW3Ub47.js";import"./PopoverHint-CLgcEhFE.js";import{Y as g,Z as E,L as I}from"./billing-CS5K81-K.js";import{u as j}from"./useEventFieldGenerator-C261kGEi.js";import{t as y}from"./index-4tNvP-Vj.js";import{F as a}from"./getLeaderboardUrl-DgVygveo.js";import{I as T}from"./index-DbxsCGWm.js";import"./useDebounce-CjtZo4Sd.js";import"./index-DYHT4jYZ.js";import"./index-BYQjkAoH.js";import"./comlink-CJ5Oz-yY.js";import"./EventLogo-DFm-kBlK.js";import"./HelperModal-CgpZwr3x.js";import"./FileDialog-BuTf2evX.js";import"./index-BA3sUpr4.js";import"./index-BfGmU9hU.js";import"./index-CVBB_w5j.js";import"./index-DA5qiaqL.js";import"./Search-Btn2KshF.js";import"./EventTimes-rYpRd6_T.js";import"./PlusOutlined-CTUX1L4g.js";import"./useForm-BBnGxT8u.js";import"./index-CC0qTjwS.js";import"./core.esm-DsxvtAch.js";import"./row-B_47fKql.js";import"./useBreakpoint-qI9TKZOm.js";const{Text:n,Title:R}=u,b=()=>{const[r]=a.useForm(),e=h(),s=j(e);if(s==null||e==null)return t.jsx(t.Fragment,{});const{value:o,onChange:c}=s("integrations.raceresult.eventId"),d=async()=>{try{const i=await r.validateFields();await c(i.eventId),y.success(i.eventId?"Event ID saved":"Event ID cleared")}catch(i){console.error(i)}};return p.useEffect(()=>{r.setFieldsValue({eventId:o})},[o]),t.jsxs(l,{orientation:"vertical",size:"large",children:[t.jsx(n,{children:"You can activate the integration by enter a valid RACE RESULT event id. Then you can use the intergration to sync your participants or use the RACE RESULT leaderboard or registration form."}),t.jsx(a,{onBlur:d,form:r,wrapperCol:{span:6},layout:"vertical",children:t.jsx(a.Item,{label:"Event ID",rules:[{validator:C}],name:"eventId",validateTrigger:!1,style:{marginBottom:0},children:t.jsx(T,{})})}),v(o)&&t.jsxs(l,{orientation:"vertical",children:[t.jsx(R,{level:5,children:"Possible RACE RESULT Connections"}),t.jsxs(n,{children:["» Sync your participants in"," ",t.jsx(g,{eventId:e.id})]}),t.jsxs(n,{children:["» Integrate your registration form in"," ",t.jsx(E,{eventId:e.id})]}),t.jsxs(n,{children:["» Embed you results in ",t.jsx(I,{eventId:e.id})]})]})]})},C=async(r,e)=>{if(e!==""&&!x(e))throw new Error("Please enter a valid event id! Only number, with a minimum length of 4 and a maximum length of 8 digits.")},rt=()=>t.jsxs(f,{title:"Integrations",children:[t.jsx(m,{title:"Info",children:"You can activate, configure and deactivate external integrations here."}),t.jsx(m,{title:"RACE RESULT",children:t.jsx(b,{})})]});export{rt as IntegrationsTab};
2//# sourceMappingURL=index-Cynwhn-c.js.map

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.