PageSourceSearch

https://app.myracing.online/3939.998fe461725d9ea11828.bundle.js

js myracing.online collected 2026-10-02 02:07:09 UTC 11,367 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkfrontend=globalThis.webpackChunkfrontend||[]).push([[3939],{83311(t,e,s){s.d(e,{A:()=>u});var n=s(74848),i=s(96540),r=s(48227),a=s(32483),o=s(77188),c=s(76213);function h(t,e){const s=function(t){const e=t.endsWith("/")?t.slice(0,-1):t;if(["/dashboard","/settings","/subscription","/analytics","/profile","/team","/sharing","/admin"].includes(e))return"/dashboard";const s={"/events/calendar":"/events","/events/available":"/events","/tire-comparison":"/tires","/tire-temp-chart":"/tires","/tire-wizard":"/tires","/gear-analysis":"/gearing","/checklist":"/events","/shared/motorcycles":"/shared/garage","/shared/setups":"/shared/garage","/shared/sessions":"/shared/garage","/shared/events":"/shared/garage"};if(s[e])return s[e];const n=e.split("/").filter(Boolean);if(n.length<=1)return"/dashboard";if(e.startsWith("/shared/")&&n.length>=3)return`/${n[0]}/${n[1]}`;const i=n[n.length-1];if(["new","edit"].includes(i)||!isNaN(Number(i)))return`/${n[0]}`;if(n.length>=2){const t=n[1];if(t.length>10||t.includes("-"))return`/${n[0]}`}return"/"+n.slice(0,-1).join("/")}(e);t(s!==e?s:-1)}var l=s(32389);const u=({variant:t="icon",text:e,onClick:s,sx:u={}})=>{const{goBack:d}=function(){const t=(0,c.Zp)(),e=(0,c.zy)(),s=(0,i.useCallback)(()=>{const s=e.state;s?.returnTo?t(s.returnTo):h(t,e.pathname)},[t,e.pathname,e.state]);return{navigate:t,goBack:s,currentPath:e.pathname}}(),{t:p}=(0,l.Bd)("common"),m=s||d,v=e||p("back","Back");return"button"===t?(0,n.jsx)(r.A,{onClick:m,startIcon:(0,n.jsx)(o.A,{}),sx:{mb:2,...u},children:v}):(0,n.jsx)(a.A,{edge:"start",color:"inherit",onClick:m,sx:{mr:2,...u},children:(0,n.jsx)(o.A,{})})}},78204(t,e,s){s.d(e,{A:()=>l});var n=s(74848),i=(s(96540),s(34477)),r=s(35124),a=s(48227),o=s(53356),c=s(22944),h=s(83311);const l=({title:t,actionButton:e,secondaryButton:s,backButton:l=!0,onBack:u})=>{const d=(0,o.A)(),p=(0,c.A)(d.breakpoints.down("sm")),m=(0,c.A)(d.breakpoints.down("md"));return p?(0,n.jsxs)(i.A,{sx:{mb:3},children:[(0,n.jsxs)(i.A,{sx:{display:"flex",alignItems:"center",mb:2},children:[l&&(0,n.jsx)(h.A,{onClick:u}),(0,n.jsx)(r.A,{variant:"h5",component:"h1",sx:{fontSize:"1.5rem",fontWeight:500,lineHeight:1.2,fontFamily:"'Roboto', 'Helvetica', 'Arial', sans-serif"},children:t})]}),(e||s)&&(0,n.jsxs)(i.A,{sx:{display:"flex",gap:1,justifyContent:"flex-start",flexWrap:"wrap"},children:[s&&(0,n.jsx)(a.A,{variant:s.variant||"outlined",onClick:s.onClick,startIcon:s.icon,size:"medium",fullWidth:!e,sx:{flex:e?"0 1 auto":"1",minWidth:e?120:"auto"},children:s.text}),e&&(0,n.jsx)(a.A,{variant:e.variant||"contained",color:e.color||"primary",onClick:e.onClick,startIcon:e.icon,...e.component&&{component:e.component},...e.to&&{to:e.to},size:"medium",fullWidth:!s,sx:{flex:s?"0 1 auto":"1",minWidth:s?120:"auto"},children:e.text})]})]}):(0,n.jsxs)(i.A,{sx:{display:"flex",alignItems:"center",mb:3,gap:2},children:[l&&(0,n.jsx)(h.A,{onClick:u}),(0,n.jsx)(r.A,{variant:"h4",component:"h1",sx:{flexGrow:1,fontSize:m?"1.75rem":"2.125rem",fontFamily:"'Roboto', 'Helvetica', 'Arial', sans-serif"},children:t}),(0,n.jsxs)(i.A,{sx:{display:"flex",gap:1,flexShrink:0},children:[s&&(0,n.jsx)(a.A,{variant:s.variant||"outlined",onClick:s.onClick,startIcon:s.icon,sx:{whiteSpace:"nowrap"},children:s.text}),e&&(0,n.jsx)(a.A,{variant:e.variant||"contained",color:e.color||"primary",onClick:e.onClick,startIcon:e.icon,...e.component&&{component:e.component},...e.to&&{to:e.to},sx:{whiteSpace:"nowrap"},children:e.text})]})]})}},57176(t,e,s){s.r(e),s.d(e,{default:()=>h});var n=s(74848),i=(s(96540),s(34477)),r=s(35124),a=s(92028),o=s(78204),c=s(32389);const h=()=>{const{t}=(0,c.Bd)(["tracks","common"]);return(0,n.jsx)(i.A,{className:"new-track-glass-container",children:(0,n.jsxs)(i.A,{className:"new-track-content",children:[(0,n.jsx)(o.A,{title:t("tracks:addTrackButton")}),(0,n.jsxs)(i.A,{className:"form-container",children:[(0,n.jsx)(r.A,{variant:"body1",className:"page-subtitle",sx:{mb:3,opacity:.8},children:t("tracks:form.subtitle.add")}),(0,n.jsx)(a.A,{isEdit:!1})]})]})})}},82077(t,e,s){s.d(e,{A:()=>r});var n=s(16290),i=s(74848);const r=(0,n.A)((0,i.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},77188(t,e,s){s.d(e,{A:()=>r});var n=s(16290),i=s(74848);const r=(0,n.A)((0,i.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack")},82139(t,e,s){s.d(e,{A:()=>r});var n=s(16290),i=s(74848);const r=(0,n.A)((0,i.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete")},45549(t,e,s){s.d(e,{A:()=>r});var n=s(16290),i=s(74848);const r=(0,n.A)((0,i.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"}),"DeleteOutline")},49956(t,e,s){s.d(e,{A:()=>r});var n=s(16290),i=s(74848);const r=(0,n.A)((0,i.jsx)("path",{d:"m12.36 6 .4 2H18v6h-3.36l-.4-2H7V6zM14 4H5v17h2v-7h5.6l.4 2h7V6h-5.6z"}),"FlagOutlined")},28849(t,e,s){s.d(e,{A:()=>r});var n=s(16290),i=s(74848);const r=(0,n.A)((0,i.jsx)("path",{d:"M7 14H5v5h5v-2H7zm-2-4h2V7h3V5H5zm12 7h-3v2h5v-5h-2zM14 5v2h3v3h2V5z"}),"Fullscreen")},7247(t,e,s){s.d(e,{A:()=>r});var n=s(16290),i=s(74848);const r=(0,n.A)((0,i.jsx)("path",{d:"M19.5 9.5c-1.03 0-1.9.62-2.29 1.5h-2.92c-.39-.88-1.26-1.5-2.29-1.5s-1.9.62-2.29 1.5
1H6.79c-.39-.88-1.26-1.5-2.29-1.5C3.12 9.5 2 10.62 2 12s1.12 2.5 2.5 2.5c1.03 0 1.9-.62 2.29-1.5h2.92c.39.88 1.26 1.5 2.29 1.5s1.9-.62 2.29-1.5h2.92c.39.88 1.26 1.5 2.29 1.5 1.38 0 2.5-1.12 2.5-2.5s-1.12-2.5-2.5-2.5"}),"LinearScale")},75210(t,e,s){s.d(e,{A:()=>r});var n=s(16290),i=s(74848);const r=(0,n.A)((0,i.jsx)("path",{d:"M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7m0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5"}),"LocationOn")},9140(t,e,s){s.d(e,{A:()=>r});var n=s(16290),i=s(74848);const r=(0,n.A)((0,i.jsx)("path",{d:"m20.5 3-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5M15 19l-6-2.11V5l6 2.11z"}),"Map")},25377(t,e,s){s.d(e,{A:()=>r});var n=s(16290),i=s(74848);const r=(0,n.A)((0,i.jsx)("path",{d:"M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m8.94 3c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.17 3.77 7.48 7.94 7.94V23h2v-2.06c4.17-.46 7.48-3.77 7.94-7.94H23v-2zM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7"}),"MyLocation")},56187(t,e,s){s.d(e,{A:()=>r});var n=s(16290),i=s(74848);const r=(0,n.A)((0,i.jsx)("path",{d:"M12 12c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m6-1.8C18 6.57 15.35 4 12 4s-6 2.57-6 6.2c0 2.34 1.95 5.44 6 9.14 4.05-3.7 6-6.8 6-9.14M12 2c4.2 0 8 3.22 8 8.2 0 3.32-2.67 7.25-8 11.8-5.33-4.55-8-8.48-8-11.8C4 5.22 7.8 2 12 2"}),"PlaceOutlined")},45856(t,e,s){s.d(e,{A:()=>r});var n=s(16290),i=s(74848);const r=(0,n.A)((0,i.jsx)("path",{d:"M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7z"}),"Redo")},65341(t,e,s){s.d(e,{A:()=>r});var n=s(16290),i=s(74848);const r=(0,n.A)((0,i.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh")},68541(t,e,s){s.d(e,{A:()=>r});var n=s(16290),i=s(74848);const r=(0,n.A)((0,i.jsx)("path",{d:"M19 15.18V7c0-2.21-1.79-4-4-4s-4 1.79-4 4v10c0 1.1-.9 2-2 2s-2-.9-2-2V8.82C8.16 8.4 9 7.3 9 6c0-1.66-1.34-3-3-3S3 4.34 3 6c0 1.3.84 2.4 2 2.82V17c0 2.21 1.79 4 4 4s4-1.79 4-4V7c0-1.1.9-2 2-2s2 .9 2 2v8.18c-1.16.41-2 1.51-2 2.82 0 1.66 1.34 3 3 3s3-1.34 3-3c0-1.3-.84-2.4-2-2.82M6 7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1m12 12c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1"}),"RouteOutlined")},58440(t,e,s){s.d(e,{A:()=>r});var n=s(16290),i=s(74848);const r=(0,n.A)((0,i.jsx)("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star")},39006(t,e,s){s.d(e,{A:()=>r});var n=s(16290),i=s(74848);const r=(0,n.A)((0,i.jsx)("path",{d:"m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarBorder")},24202(t,e,s){s.d(e,{A:()=>r});var n=s(16290),i=s(74848);const r=(0,n.A)((0,i.jsx)("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8"}),"Undo")},57097(t,e,s){s.d(e,{n:()=>l});var n=s(96540),i=s(36158),r=s(26261),a=s(66500),o=s(24880),c=class extends a.Q{#t;#e=void 0;#s;#n;constructor(t,e){super(),this.#t=t,this.setOptions(e),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const e=this.options;this.options=this.#t.defaultMutationOptions(t),(0,o.f8)(this.options,e)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#s,observer:this}),e?.mutationKey&&this.options.mutationKey&&(0,o.EN)(e.mutationKey)!==(0,o.EN)(this.options.mutationKey)?this.reset():"pending"===this.#s?.state.status&&this.#s.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#s?.removeObserver(this)}onMutationUpdate(t){this.#i(),this.#r(t)}getCurrentResult(){return this.#e}reset(){this.#s?.removeObserver(this),this.#s=void 0,this.#i(),this.#r()}mutate(t,e){return this.#n=e,this.#s?.removeObserver(this),this.#s=this.#t.getMutationCache().build(this.#t,this.options),this.#s.addObserver(this),this.#s.execute(t)}#i(){const t=this.#s?.state??(0,i.$)();this.#e={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}#r(t){r.jG.batch(()=>
1{if(this.#n&&this.hasListeners()){const e=this.#e.variables,s=this.#e.context,n={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if("success"===t?.type){try{this.#n.onSuccess?.(t.data,e,s,n)}catch(t){Promise.reject(t)}try{this.#n.onSettled?.(t.data,null,e,s,n)}catch(t){Promise.reject(t)}}else if("error"===t?.type){try{this.#n.onError?.(t.error,e,s,n)}catch(t){Promise.reject(t)}try{this.#n.onSettled?.(void 0,t.error,e,s,n)}catch(t){Promise.reject(t)}}}this.listeners.forEach(t=>{t(this.#e)})})}},h=s(97665);function l(t,e){const s=(0,h.jE)(e),[i]=n.useState(()=>new c(s,t));n.useEffect(()=>{i.setOptions(t)},[i,t]);const a=n.useSyncExternalStore(n.useCallback(t=>i.subscribe(r.jG.batchCalls(t)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),l=n.useCallback((t,e)=>{i.mutate(t,e).catch(o.lQ)},[i]);if(a.error&&(0,o.GU)(i.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:l,mutateAsync:a.mutate}}},36870(t,e,s){s.d(e,{p:()=>o});var n=s(83148),i=s(56667),r=s(5741),a=s(53481);const o=(0,r.Nq)(function({position:t,...e},s){const r=new a.Marker(t,e);return(0,i.Q)(r,(0,n.W4)(s,{overlayContainer:r}))},function(t,e,s){e.position!==s.position&&t.setLatLng(e.position),null!=e.icon&&e.icon!==s.icon&&t.setIcon(e.icon),null!=e.zIndexOffset&&e.zIndexOffset!==s.zIndexOffset&&t.setZIndexOffset(e.zIndexOffset),null!=e.opacity&&e.opacity!==s.opacity&&t.setOpacity(e.opacity),null!=t.dragging&&e.draggable!==s.draggable&&(!0===e.draggable?t.dragging.enable():t.dragging.disable())})}}]);

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.