PageSourceSearch

https://rngc.golf/assets/home-B7uhTofe.js

js rngc.golf collected 2026-10-05 02:00:40 UTC 2,760 bytes, 1 lines download raw bytes

1import{j as t,d as b,r as i,w as m}from"./chunk-KS7C4IRE-CY0UHkUZ.js";import{C as h,g as x,a as u,m as j,s as p,c as v,M as g,b as N}from"./cities-Blq2rpyq.js";import C from"./children-DqbUXSjF.js";import"./index-CCznBclx.js";import"./index-k80wGUy3.js";import"./index-iT2mweGi.js";import"./index-BiLr2dzD.js";const S="_overlay_xxhph_1",f="_modal_xxhph_15",y="_logo_xxhph_24",T="_subtitle_xxhph_32",$="_buttons_xxhph_40",w="_button_xxhph_40",R="_buttonTitle_xxhph_66",l={overlay:S,modal:f,logo:y,subtitle:T,buttons:$,button:w,buttonTitle:R};function P({open:e,onSelect:n}){return e?t.jsx("div",{className:l.overlay,children:t.jsxs("div",{className:l.modal,children:[t.jsx("div",{className:l.logo,children:t.jsx("img",{src:"/images/RNGC-logo-gold.webp",alt:"RNGC"})}),t.jsx("p",{className:l.subtitle,children:"Выберите ваш город"}),t.jsx("div",{className:l.buttons,children:h.map(a=>t.jsx("button",{className:l.button,onClick:()=>n(a.key),children:t.jsx("span",{className:l.buttonTitle,children:a.label})},a.key))})]})}):null}const E="_overlay_ijusv_1",G="_modal_ijusv_15",H="_logo_ijusv_24",M="_subtitle_ijusv_32",V="_buttons_ijusv_40",k="_button_ijusv_40",A="_adults_ijusv_64",L="_children_ijusv_69",O="_buttonTitle_ijusv_74",I="_buttonSubtitle_ijusv_81",s={overlay:E,modal:G,logo:H,subtitle:M,buttons:V,button:k,adults:A,children:L,buttonTitle:O,buttonSubtitle:I};function D({open:e,onSelect:n}){return e?t.jsx("div",{className:s.overlay,children:t.jsxs("div",{className:s.modal,children:[t.jsx("div",{className:s.logo,children:t.jsx("img",{src:"/images/RNGC-logo-gold.webp",alt:"RNGC"})}),t.jsx("p",{className:s.subtitle,children:"Куда вы хотите перейти?"}),t.jsxs("div",{className:s.buttons,children:[t.jsxs("button",{className:`${s.button} ${s.adults}`,onClick:()=>n("adults"),children:[t.jsx("span",{className:s.buttonTitle,children:"Для взрослых"}),t.jsx("span",{className:s.buttonSubtitle,children:"Групповые и индивидуальные тренировки"})]}),t.jsxs("button",{className:`${s.button} ${s.children}`,onClick:()=>n("children"),children:[t.jsx("span",{className:s.buttonTitle,children:"Для детей"}),t.jsx("span",{className:s.buttonSubtitle,children:"Обучение гольфу с 4 лет"})]})]})]})}):null}function F(){const e=b(),[n,a]=i.useState(!1),[r,c]=i.useState(!1);i.useEffect(()=>{const o=x();o==="spb"?e(u,{replace:!0}):o==="moscow"?e(j(),{replace:!0}):a(!0)},[e]);const d=o=>{p(o),a(!1),o==="spb"?e(u):c(!0)},_=o=>{v(o),c(!1),e(o==="adults"?g:N)};return t.jsxs(t.Fragment,{children:[t.jsx(P,{open:n,onSelect:d}),t.jsx(D,{open:r,onSelect:_})]})}const Q=m(function(){return t.jsxs(t.Fragment,{children:[t.jsx(F,{}),t.jsx(C,{})]})});export{Q 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.