build
This commit is contained in:
parent
597ee0abc1
commit
e2ccae0fa7
|
|
@ -0,0 +1 @@
|
|||
import{u as t,j as s,h as e,C as u,L as n,A as r,k as i,l as x,m as l,n as m}from"./ui-library-D22_KSBG.js";import"./react-vendor-Y0eyvj1J.js";import{u as j}from"./use-scroll-top-DE9DNB_I.js";function p(){j();const o=t(a=>a.lang);return s.jsxs("div",{className:e(""),children:[s.jsx(u,{title:o===n.RU?"О выставке":"About exhibition"}),s.jsx(r,{}),s.jsx(i,{}),s.jsx(x,{}),s.jsx(l,{}),s.jsx(m,{})]})}export{p as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{u as t,j as s,e,n as u,L as n,A as r,o as i,p as x,q as j,r as l}from"./ui-library-DpZprY9x.js";import"./react-vendor-Y0eyvj1J.js";import{u as m}from"./use-scroll-top-DE9DNB_I.js";function p(){m();const o=t(a=>a.lang);return s.jsxs("div",{className:e(""),children:[s.jsx(u,{title:o===n.RU?"О выставке":"About exhibition"}),s.jsx(r,{}),s.jsx(i,{}),s.jsx(x,{}),s.jsx(j,{}),s.jsx(l,{})]})}export{p as default};
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
import{z as t,u as h,I as _,j as e,n as g,L as y,K as f,J as S,t as v,D as l,v as o,w as N,x as c,y as i,B as p,E as F,G as w,M as R,R as L,N as B}from"./ui-library-DpZprY9x.js";import{a as C}from"./react-vendor-Y0eyvj1J.js";import{R as V,a as j}from"./radio-group-D60hoBlK.js";import{u as D}from"./use-scroll-top-DE9DNB_I.js";import{s as r}from"./stend.data-Dr6usuZY.js";const E=t.object({company_name:t.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),rep_name:t.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:t.string().min(3,{message:"Должность должна быть не менее 3 символов"}),country:t.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email:t.string().email({message:"Укажите корректный email"}),phone:t.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:t.string().optional(),visa_support:t.string().optional()}),G={company_name:"",rep_name:"",job_title:"",country:"",email:"",phone:"",website:"",visa_support:""};function A(){D();const a=h(n=>n.lang),[x,b]=C.useState(!1),s=_({resolver:B(E),defaultValues:G}),d=async n=>{try{await L(n)&&b(!0)}catch(u){console.error("POST sponsor error",u)}},{errors:m}=s.formState;return e.jsxs("div",{children:[e.jsx(g,{title:a===y.RU?"Стать спонсором":"Become a sponsor"}),e.jsx(f,{children:!x&&e.jsx(S,{...s,children:e.jsxs(v.form,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"max-w-[828px] mx-auto px-5 md:mt-20 mt-10 mb-20 md:mb-[120px] flex flex-col gap-8",onSubmit:s.handleSubmit(d),children:[e.jsx(l,{label:r[o(a)].label_1,name:"company_name",control:s.control,error:m.company_name}),e.jsx(l,{label:r[o(a)].label_2,name:"rep_name",control:s.control,error:m.rep_name}),e.jsx(l,{label:r[o(a)].label_3,name:"job_title",control:s.control,error:m.job_title}),e.jsx(l,{label:r[o(a)].label_4,name:"country",control:s.control,error:m.country}),e.jsx(l,{label:r[o(a)].label_5,name:"email",control:s.control,error:m.email}),e.jsx(l,{label:r[o(a)].label_6,name:"phone",control:s.control,error:m.phone}),e.jsx(l,{label:r[o(a)].label_7,name:"website",control:s.control}),e.jsx(N,{control:s.control,name:"visa_support",render:({field:n})=>e.jsxs(c,{className:"space-y-5",children:[e.jsx(i,{className:"text-xl",children:r[o(a)].visa}),e.jsx(p,{children:e.jsxs(V,{onValueChange:n.onChange,defaultValue:n.value,className:"flex flex-col space-y-4 ml-3",children:[e.jsxs(c,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(p,{children:e.jsx(j,{value:"yes",checked:n.value==="yes"})}),e.jsx(i,{className:"text-base",children:r[o(a)].visa_radio})]}),e.jsxs(c,{className:"flex items-center space-x-5 space-y-0 ",children:[e.jsx(p,{children:e.jsx(j,{value:"no",checked:n.value==="no"})}),e.jsx(i,{className:"text-base",children:r[o(a)].visa_radio_2})]})]})})]})}),e.jsx(F,{disabled:s.formState.isSubmitting,className:"mt-5",children:s.formState.isSubmitting?e.jsx(w,{className:"animate-spin"}):r[o(a)].button})]})})}),x&&e.jsx(R,{delay:.3})]})}export{A as default};
|
||||
import{z as t,u as h,y as _,j as e,C as g,L as y,E as f,D as S,p as v,w as l,q as o,r as F,s as c,t as i,v as p,B as N,x as w,G as C,M as L,I as R}from"./ui-library-D22_KSBG.js";import{a as B}from"./react-vendor-Y0eyvj1J.js";import{R as V,a as j}from"./radio-group-C_Xmrwja.js";import{u as D}from"./use-scroll-top-DE9DNB_I.js";import{s as r}from"./stend.data-Dr6usuZY.js";const E=t.object({company_name:t.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),rep_name:t.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:t.string().min(3,{message:"Должность должна быть не менее 3 символов"}),country:t.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email:t.string().email({message:"Укажите корректный email"}),phone:t.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:t.string().optional(),visa_support:t.string().optional()}),G={company_name:"",rep_name:"",job_title:"",country:"",email:"",phone:"",website:"",visa_support:""};function z(){D();const a=h(n=>n.lang),[x,b]=B.useState(!1),s=_({resolver:R(E),defaultValues:G}),d=async n=>{try{await L(n)&&b(!0)}catch(u){console.error("POST sponsor error",u)}},{errors:m}=s.formState;return e.jsxs("div",{children:[e.jsx(g,{title:a===y.RU?"Стать спонсором":"Become a sponsor"}),e.jsx(f,{children:!x&&e.jsx(S,{...s,children:e.jsxs(v.form,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"max-w-[828px] mx-auto px-5 md:mt-20 mt-10 mb-20 md:mb-[120px] flex flex-col gap-8",onSubmit:s.handleSubmit(d),children:[e.jsx(l,{label:r[o(a)].label_1,name:"company_name",control:s.control,error:m.company_name}),e.jsx(l,{label:r[o(a)].label_2,name:"rep_name",control:s.control,error:m.rep_name}),e.jsx(l,{label:r[o(a)].label_3,name:"job_title",control:s.control,error:m.job_title}),e.jsx(l,{label:r[o(a)].label_4,name:"country",control:s.control,error:m.country}),e.jsx(l,{label:r[o(a)].label_5,name:"email",control:s.control,error:m.email}),e.jsx(l,{label:r[o(a)].label_6,name:"phone",control:s.control,error:m.phone}),e.jsx(l,{label:r[o(a)].label_7,name:"website",control:s.control}),e.jsx(F,{control:s.control,name:"visa_support",render:({field:n})=>e.jsxs(c,{className:"space-y-5",children:[e.jsx(i,{className:"text-xl",children:r[o(a)].visa}),e.jsx(p,{children:e.jsxs(V,{onValueChange:n.onChange,defaultValue:n.value,className:"flex flex-col space-y-4 ml-3",children:[e.jsxs(c,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(p,{children:e.jsx(j,{value:"yes",checked:n.value==="yes"})}),e.jsx(i,{className:"text-base",children:r[o(a)].visa_radio})]}),e.jsxs(c,{className:"flex items-center space-x-5 space-y-0 ",children:[e.jsx(p,{children:e.jsx(j,{value:"no",checked:n.value==="no"})}),e.jsx(i,{className:"text-base",children:r[o(a)].visa_radio_2})]})]})})]})}),e.jsx(N,{disabled:s.formState.isSubmitting,className:"mt-5",children:s.formState.isSubmitting?e.jsx(w,{className:"animate-spin"}):r[o(a)].button})]})})}),x&&e.jsx(C,{delay:.3})]})}export{z as default};
|
||||
|
|
@ -0,0 +1 @@
|
|||
import{z as t,Z as m,y as h,j as s,h as u,D as p,w as n,B as g,_ as j,I as f,$ as b,a0 as N}from"./ui-library-D22_KSBG.js";import{a as v}from"./react-vendor-Y0eyvj1J.js";import{u as C}from"./use-scroll-top-DE9DNB_I.js";const w=t.object({name:t.string().min(2,"error"),email:t.string().email(),phone:t.string().min(8,"error"),company:t.string().min(2,"error"),msg:t.string().min(5,"error")}),y={name:"",email:"",phone:"",company:"",msg:""},L=({className:r})=>{const{t:a}=m("contacts"),[c,i]=v.useState(!1),e=h({resolver:f(w),defaultValues:y});async function x(d){try{const o=await b(d);i(o)}catch(o){console.error("POST contact",o)}}const{errors:l}=e.formState;return s.jsx("div",{className:u("bg-primary rounded-[8px] py-8 px-6 ",r),children:s.jsx(p,{...e,children:s.jsxs("form",{onSubmit:e.handleSubmit(x),children:[s.jsx("h2",{className:"h2 !text-on_primary lg:mb-8 mb-6",children:a("title")}),s.jsxs("div",{className:"flex flex-col gap-8",children:[s.jsx(n,{onPrimary:!0,name:"name",control:e.control,label:a("name"),error:l.name}),s.jsxs("div",{className:"flex flex-col lg:flex-row gap-6",children:[s.jsx(n,{onPrimary:!0,name:"email",control:e.control,label:"Email",error:l.email}),s.jsx(n,{onPrimary:!0,name:"phone",control:e.control,label:a("phone"),error:l.phone})]}),s.jsx(n,{onPrimary:!0,name:"company",control:e.control,label:a("company"),error:l.name}),s.jsx(n,{onPrimary:!0,textArea:!0,name:"msg",label:a("message"),control:e.control,error:l.msg}),s.jsx(g,{disabled:e.formState.isSubmitting||c,className:"w-full h-12 overflow-hidden",variant:"secondary",children:c?a("submitted"):e.formState.isSubmitting?s.jsx(j,{className:"animate-spin text-white"}):a("button")})]})]})})})};function F(){C();const{t:r}=m("contacts");return s.jsxs("div",{className:"flex flex-col gap-20 pt-10 md:pt-20",children:[s.jsx(N,{children:s.jsxs("section",{className:"grid grid-cols-1 lg:grid-cols-2 gap-20 lg:gap-6",children:[s.jsx(L,{}),s.jsxs("div",{className:"p-6 bg-surface_container rounded-[8px]",children:[s.jsx("h2",{className:"h2 mb-10 xl:mb-8",children:r("title_2")}),s.jsxs("div",{className:"flex flex-col gap-20",children:[s.jsxs("div",{className:"flex items-center gap-6",children:[s.jsx("img",{src:"/contacts/map.svg",alt:"address"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl mb-2",children:r("address")}),s.jsx("address",{className:"text-base normal not-italic",children:r("venue")})]})]}),s.jsxs("div",{className:"flex items-center gap-6",children:[s.jsx("img",{src:"/contacts/phone.svg",alt:"phone"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl mb-2",children:r("phone")}),s.jsx("h4",{className:"text-base normal",children:"+99371871812; 99363719588"})]})]}),s.jsxs("div",{className:"flex items-center gap-6",children:[s.jsx("img",{src:"/contacts/email.svg",alt:"email"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl mb-2",children:"Email:"}),s.jsx("h4",{className:"text-base normal",children:"contact@turkmenexpo.com"})]})]})]})]})]})}),s.jsx("section",{className:"relative w-full h-[300px] sm:h-[350px] md:h-[400px] lg:h-[600px]",children:s.jsx("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1443.0869986358682!2d58.35620779177324!3d37.921200202365405!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3f7001fd7afd2a95%3A0x9ce9dca95ea4b87e!2z0JDQstC40LDQutCw0YHRgdCwINCw0LLQuNCw0LrQvtC80L_QsNC90LjQuCDCq9CR0LXQu9Cw0LLQuNCwwrsg0LIg0KLRg9GA0LrQvNC10L3QuNGB0YLQsNC90LU!5e0!3m2!1sru!2sru!4v1738063695919!5m2!1sru!2sru",className:"absolute inset-0 w-full h-full ",style:{border:0},allowFullScreen:!0,loading:"lazy"})})]})}export{F as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{z as t,d as m,I as h,j as s,e as u,J as p,D as n,E as g,a1 as j,N as f,a2 as b,C as N}from"./ui-library-DpZprY9x.js";import{a as v}from"./react-vendor-Y0eyvj1J.js";import{u as C}from"./use-scroll-top-DE9DNB_I.js";const w=t.object({name:t.string().min(2,"error"),email:t.string().email(),phone:t.string().min(8,"error"),company:t.string().min(2,"error"),msg:t.string().min(5,"error")}),y={name:"",email:"",phone:"",company:"",msg:""},L=({className:r})=>{const{t:a}=m("contacts"),[c,i]=v.useState(!1),e=h({resolver:f(w),defaultValues:y});async function d(x){try{const o=await b(x);i(o)}catch(o){console.error("POST contact",o)}}const{errors:l}=e.formState;return s.jsx("div",{className:u("bg-primary rounded-[8px] py-8 px-6 ",r),children:s.jsx(p,{...e,children:s.jsxs("form",{onSubmit:e.handleSubmit(d),children:[s.jsx("h2",{className:"h2 !text-on_primary lg:mb-8 mb-6",children:a("title")}),s.jsxs("div",{className:"flex flex-col gap-8",children:[s.jsx(n,{onPrimary:!0,name:"name",control:e.control,label:a("name"),error:l.name}),s.jsxs("div",{className:"flex flex-col lg:flex-row gap-6",children:[s.jsx(n,{onPrimary:!0,name:"email",control:e.control,label:"Email",error:l.email}),s.jsx(n,{onPrimary:!0,name:"phone",control:e.control,label:a("phone"),error:l.phone})]}),s.jsx(n,{onPrimary:!0,name:"company",control:e.control,label:a("company"),error:l.name}),s.jsx(n,{onPrimary:!0,textArea:!0,name:"msg",label:a("message"),control:e.control,error:l.msg}),s.jsx(g,{disabled:e.formState.isSubmitting||c,className:"w-full h-12 overflow-hidden",variant:"secondary",children:c?a("submitted"):e.formState.isSubmitting?s.jsx(j,{className:"animate-spin text-white"}):a("button")})]})]})})})};function E(){C();const{t:r}=m("contacts");return s.jsxs("div",{className:"flex flex-col gap-20 pt-10 md:pt-20",children:[s.jsx(N,{children:s.jsxs("section",{className:"grid grid-cols-1 lg:grid-cols-2 gap-20 lg:gap-6",children:[s.jsx(L,{}),s.jsxs("div",{className:"p-6 bg-surface_container rounded-[8px]",children:[s.jsx("h2",{className:"h2 mb-10 xl:mb-8",children:r("title_2")}),s.jsxs("div",{className:"flex flex-col gap-20",children:[s.jsxs("div",{className:"flex items-center gap-6",children:[s.jsx("img",{src:"/contacts/map.svg",alt:"address"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl mb-2",children:r("address")}),s.jsx("address",{className:"text-base normal not-italic",children:r("venue")})]})]}),s.jsxs("div",{className:"flex items-center gap-6",children:[s.jsx("img",{src:"/contacts/phone.svg",alt:"phone"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl mb-2",children:r("phone")}),s.jsx("h4",{className:"text-base normal",children:"+99371871812; 99363719588"})]})]}),s.jsxs("div",{className:"flex items-center gap-6",children:[s.jsx("img",{src:"/contacts/email.svg",alt:"email"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl mb-2",children:"Email:"}),s.jsx("h4",{className:"text-base normal",children:"contact@turkmenexpo.com"})]})]})]})]})]})}),s.jsx("section",{className:"relative w-full h-[300px] sm:h-[350px] md:h-[400px] lg:h-[600px]",children:s.jsx("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1443.0869986358682!2d58.35620779177324!3d37.921200202365405!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3f7001fd7afd2a95%3A0x9ce9dca95ea4b87e!2z0JDQstC40LDQutCw0YHRgdCwINCw0LLQuNCw0LrQvtC80L_QsNC90LjQuCDCq9CR0LXQu9Cw0LLQuNCwwrsg0LIg0KLRg9GA0LrQvNC10L3QuNGB0YLQsNC90LU!5e0!3m2!1sru!2sru!4v1738063695919!5m2!1sru!2sru",className:"absolute inset-0 w-full h-full ",style:{border:0},allowFullScreen:!0,loading:"lazy"})})]})}export{E as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{u as B,b as q,g as W,c as z,d as K,j as n,e as Q,C as V,f as G,h as J,k as X,l as Y,m as Z}from"./ui-library-DpZprY9x.js";import{L as $}from"./react-vendor-Y0eyvj1J.js";const ee={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function te(a,t){const e=a.scrollSnapList();return typeof t=="number"?e.map(()=>t):t(e,a)}function ne(a,t){const e=a.rootNode();return t&&t(e)||e}function b(a={}){let t,e,l,p,s=null,u=0,i=!1,f=!1,y=!1,d=!1;function E(o,m){e=o;const{mergeOptions:x,optionsAtMedia:j}=m,M=x(ee,b.globalOptions),R=x(M,a);if(t=j(R),e.scrollSnapList().length<=1)return;d=t.jump,l=!1,p=te(e,t.delay);const{eventStore:g,ownerDocument:U}=e.internalEngine(),N=!!e.internalEngine().options.watchDrag,S=ne(e,t.rootNode);g.add(U,"visibilitychange",T),N&&e.on("pointerDown",O),N&&!t.stopOnInteraction&&e.on("pointerUp",w),t.stopOnMouseEnter&&g.add(S,"mouseenter",_),t.stopOnMouseEnter&&!t.stopOnInteraction&&g.add(S,"mouseleave",H),t.stopOnFocusIn&&e.on("slideFocusStart",c),t.stopOnFocusIn&&!t.stopOnInteraction&&g.add(e.containerNode(),"focusout",r),t.playOnInit&&r()}function v(){e.off("pointerDown",O).off("pointerUp",w).off("slideFocusStart",c),c(),l=!0,i=!1}function I(){const{ownerWindow:o}=e.internalEngine();o.clearTimeout(u),u=o.setTimeout(P,p[e.selectedScrollSnap()]),s=new Date().getTime(),e.emit("autoplay:timerset")}function D(){const{ownerWindow:o}=e.internalEngine();o.clearTimeout(u),u=0,s=null,e.emit("autoplay:timerstopped")}function r(){if(!l){if(h()){y=!0;return}i||e.emit("autoplay:play"),I(),i=!0}}function c(){l||(i&&e.emit("autoplay:stop"),D(),i=!1)}function T(){if(h())return y=i,c();y&&r()}function h(){const{ownerDocument:o}=e.internalEngine();return o.visibilityState==="hidden"}function O(){f||c()}function w(){f||r()}function _(){f=!0,c()}function H(){f=!1,r()}function L(o){typeof o<"u"&&(d=o),r()}function k(){i&&c()}function A(){i&&r()}function F(){return i}function P(){const{index:o}=e.internalEngine(),m=o.clone().add(1).get(),x=e.scrollSnapList().length-1,j=t.stopOnLastSnap&&m===x;if(e.canScrollNext()?e.scrollNext(d):e.scrollTo(0,d),e.emit("autoplay:select"),j)return c();r()}function C(){if(!s)return null;const o=p[e.selectedScrollSnap()],m=new Date().getTime()-s;return o-m}return{name:"autoplay",options:a,init:E,destroy:v,play:L,stop:k,reset:A,isPlaying:F,timeUntilNext:C}}b.globalOptions=void 0;const oe=()=>{const a=B(l=>l.lang),{data:t,isPending:e}=q({queryKey:["partners",a],queryFn:()=>W(a),select:({data:l})=>l.data});return{data:t,isPending:e}},se=({className:a})=>{const[t]=z({loop:!0,align:"start"},[b({delay:2e3,stopOnInteraction:!1})]),{data:e}=oe(),{t:l}=K("home"),{title:p}=l("partners",{returnObjects:!0});return n.jsx("section",{className:Q("",a),children:n.jsxs(V,{className:"flex flex-col gap-10 relative w-full",children:[n.jsx("div",{className:"flex item-center justify-between",children:n.jsx("h2",{className:"h2",children:p})}),n.jsx("div",{ref:t,className:"embla overflow-hidden",children:n.jsx("div",{className:"embla__container flex",children:e==null?void 0:e.map((s,u)=>{var i,f;return s.link?n.jsx($,{target:"_blank",to:s.link,className:"bg-[#E0E6EB] flex embla__slide mr-6 min-w-0 flex-[0_0_288px] items-center justify-center h-[128px] w-full",children:n.jsx("img",{src:(i=s==null?void 0:s.image)==null?void 0:i.path,alt:"logo",className:"object-contain"})},u):n.jsx("div",{className:"bg-[#E0E6EB] flex embla__slide mr-6 min-w-0 flex-[0_0_288px] items-center justify-center h-[128px] w-full",children:n.jsx("img",{src:(f=s==null?void 0:s.image)==null?void 0:f.path,alt:"logo",className:"object-contain"})},u)})})})]})})};function re(){return n.jsxs("div",{className:"flex flex-col gap-20",children:[n.jsx(G,{}),n.jsx(J,{}),n.jsx(X,{}),n.jsx(Y,{}),n.jsx(se,{}),n.jsx(Z,{})]})}export{re as default};
|
||||
|
|
@ -0,0 +1 @@
|
|||
import{j as s,b as e,c as o,d as m,e as a,f as x,g as r}from"./ui-library-D22_KSBG.js";import"./react-vendor-Y0eyvj1J.js";function f(){return s.jsxs("div",{className:"flex flex-col gap-20",children:[s.jsx(e,{}),s.jsx(o,{}),s.jsx(m,{}),s.jsx(a,{}),s.jsx(x,{}),s.jsx(r,{})]})}export{f as default};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
import{a9 as I,aa as M,u as S,Z as w,j as s,E,ab as P,h as k,C as A,a0 as O,a1 as T,a7 as B,ac as L,B as V}from"./ui-library-D22_KSBG.js";import{a as i}from"./react-vendor-Y0eyvj1J.js";const F=[{id:0,title:"Фото",titleEn:"Photo"},{id:1,title:"Видео",titleEn:"Video"}],q=({className:f})=>{var x,p,u,g,h;const[n,b]=i.useState(0),{data:t,isPending:v}=I(1),{data:o}=M(1),[N,c]=i.useState(!1),[C,r]=i.useState({id:0,type:"photo"}),y=S(e=>e.lang),m=({id:e,type:a})=>{c(!0),r({id:e,type:a})};console.log(o);const{t:_}=w("main"),[d,z]=i.useState(!1);return s.jsxs(s.Fragment,{children:[s.jsx(E,{children:N&&s.jsx(P,{activeItem:C,setActiveItem:r,setIsOpen:c})}),s.jsxs("section",{className:k("",f),children:[s.jsx(A,{title:y==="ru"?"Моменты":"Moments"}),s.jsx(O,{className:"page-bottom md:pt-10 pt-6",children:v?s.jsx(T,{}):s.jsxs("div",{className:"flex justify-center flex-col",children:[s.jsx(B,{state:n,setState:b,data:F,className:"mb-6"}),s.jsx("h3",{className:"md:text-3xl text-2xl mb-6",children:"2025"}),s.jsx("div",{className:"grid lg:grid-cols-4 lg:gap-y-4 lg:gap-x-6 md:gap-6 gap-4 grid-cols-2 place-items-center",children:n===0?(p=(x=t==null?void 0:t.photos)==null?void 0:x.slice(0,d?1e3:16))==null?void 0:p.map((e,a)=>{var l,j;return s.jsx("div",{onClick:()=>m({id:a,type:"photo"}),className:"cursor-pointer embla__slide basis-1/1 overflow-hidden",children:s.jsx("img",{src:((l=e==null?void 0:e.photo)==null?void 0:l.path)??"",alt:((j=e==null?void 0:e.photo)==null?void 0:j.file_name)??"photo",className:"size-full object-cover hover:scale-105 duration-300 transition-all"})},a)}):(u=o==null?void 0:o.videos)==null?void 0:u.map((e,a)=>{var l;return s.jsxs("div",{onClick:()=>m({id:a,type:"video"}),className:"cursor-pointer group embla__slide basis-1/1 overflow-hidden relative",children:[s.jsx(L,{fill:"white",size:20,color:"white",className:"absolute group-hover:scale-125 transition-all duration-300 top-1/2 z-10 left-1/2 -translate-x-1/2 -translate-y-1/2 "}),s.jsx("div",{className:"absolute top-0 left-0 size-full bg-[#2C57A752]/[32%]"}),s.jsx("img",{src:((l=e==null?void 0:e.video_photo)==null?void 0:l.path)??"",className:"size-full object-cover"})]},a)})}),((g=t==null?void 0:t.photos)==null?void 0:g.length)&&((h=t==null?void 0:t.photos)==null?void 0:h.length)>16&&!d&&s.jsx(V,{onClick:()=>z(!0),className:"mx-auto w-[288px] mt-10 text-on_surface",size:"lg",variant:"outline",children:_("media.button")})]})})]})]})};export{q as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{aa as I,ab as M,u as S,d as w,j as s,K as E,ac as P,e as k,n as A,C as O,a3 as T,a8 as L,ad as V,E as B}from"./ui-library-DpZprY9x.js";import{a as i}from"./react-vendor-Y0eyvj1J.js";const F=[{id:0,title:"Фото",titleEn:"Photo"},{id:1,title:"Видео",titleEn:"Video"}],q=({className:f})=>{var x,p,u,g,h;const[n,b]=i.useState(0),{data:t,isPending:v}=I(1),{data:o}=M(1),[N,c]=i.useState(!1),[C,r]=i.useState({id:0,type:"photo"}),y=S(e=>e.lang),m=({id:e,type:a})=>{c(!0),r({id:e,type:a})};console.log(o);const{t:_}=w("main"),[d,z]=i.useState(!1);return s.jsxs(s.Fragment,{children:[s.jsx(E,{children:N&&s.jsx(P,{activeItem:C,setActiveItem:r,setIsOpen:c})}),s.jsxs("section",{className:k("",f),children:[s.jsx(A,{title:y==="ru"?"Моменты":"Moments"}),s.jsx(O,{className:"page-bottom md:pt-10 pt-6",children:v?s.jsx(T,{}):s.jsxs("div",{className:"flex justify-center flex-col",children:[s.jsx(L,{state:n,setState:b,data:F,className:"mb-6"}),s.jsx("h3",{className:"md:text-3xl text-2xl mb-6",children:"2025"}),s.jsx("div",{className:"grid lg:grid-cols-4 lg:gap-y-4 lg:gap-x-6 md:gap-6 gap-4 grid-cols-2 place-items-center",children:n===0?(p=(x=t==null?void 0:t.photos)==null?void 0:x.slice(0,d?1e3:16))==null?void 0:p.map((e,a)=>{var l,j;return s.jsx("div",{onClick:()=>m({id:a,type:"photo"}),className:"cursor-pointer embla__slide basis-1/1 overflow-hidden",children:s.jsx("img",{src:((l=e==null?void 0:e.photo)==null?void 0:l.path)??"",alt:((j=e==null?void 0:e.photo)==null?void 0:j.file_name)??"photo",className:"size-full object-cover hover:scale-105 duration-300 transition-all"})},a)}):(u=o==null?void 0:o.videos)==null?void 0:u.map((e,a)=>{var l;return s.jsxs("div",{onClick:()=>m({id:a,type:"video"}),className:"cursor-pointer group embla__slide basis-1/1 overflow-hidden relative",children:[s.jsx(V,{fill:"white",size:20,color:"white",className:"absolute group-hover:scale-125 transition-all duration-300 top-1/2 z-10 left-1/2 -translate-x-1/2 -translate-y-1/2 "}),s.jsx("div",{className:"absolute top-0 left-0 size-full bg-[#2C57A752]/[32%]"}),s.jsx("img",{src:((l=e==null?void 0:e.video_photo)==null?void 0:l.path)??"",className:"size-full object-cover"})]},a)})}),((g=t==null?void 0:t.photos)==null?void 0:g.length)&&((h=t==null?void 0:t.photos)==null?void 0:h.length)>16&&!d&&s.jsx(B,{onClick:()=>z(!0),className:"mx-auto w-[288px] mt-10 text-on_surface",size:"lg",variant:"outline",children:_("media.button")})]})})]})]})};export{q as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{u as o,j as e,a3 as n,C as i}from"./ui-library-DpZprY9x.js";import{a as l}from"./react-vendor-Y0eyvj1J.js";import{u as m,N as c}from"./use-news-DRGMJQe9.js";import{u as d}from"./use-scroll-top-DE9DNB_I.js";function N(){d();const a=o(s=>s.lang),{data:r,isPending:t}=m(a);return t?e.jsx(n,{}):e.jsxs(i,{className:"page-padding",children:[e.jsx("h1",{className:"text-center md:text-5xl text-3xl mb-10",children:a==="ru"?"Новости":"News"}),e.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:r==null?void 0:r.map(s=>l.createElement(c,{...s,key:s.title}))})]})}export{N as default};
|
||||
|
|
@ -0,0 +1 @@
|
|||
import{u as o,j as e,a1 as n,a0 as i}from"./ui-library-D22_KSBG.js";import{a as l}from"./react-vendor-Y0eyvj1J.js";import{u as m,N as c}from"./use-news-Cf7D9uRv.js";import{u as d}from"./use-scroll-top-DE9DNB_I.js";function N(){d();const a=o(s=>s.lang),{data:r,isPending:t}=m(a);return t?e.jsx(n,{}):e.jsxs(i,{className:"page-padding",children:[e.jsx("h1",{className:"text-center md:text-5xl text-3xl mb-10",children:a==="ru"?"Новости":"News"}),e.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:r==null?void 0:r.map(s=>l.createElement(c,{...s,key:s.title}))})]})}export{N as default};
|
||||
|
|
@ -0,0 +1 @@
|
|||
import{a2 as c,a3 as o,u as x,j as s,a1 as d,a0 as u}from"./ui-library-D22_KSBG.js";import{u as p,a as g}from"./react-vendor-Y0eyvj1J.js";import{u as h,N as f}from"./use-news-Cf7D9uRv.js";import{u as j}from"./use-scroll-top-DE9DNB_I.js";const N=(t,a)=>{const{data:n,isPending:e}=c({queryKey:["news-inner",t,a],queryFn:()=>o(t,a),select:({data:l})=>l.data});return{data:n,isPending:e}};function _(){var m;const{id:t}=p(),a=x(r=>r.lang),n=Number(t);j(n);const{data:e,isPending:l}=N(n,a),{data:i}=h(a);return l?s.jsx(d,{}):s.jsxs(u,{className:"pt-10 pb-20 md:pt-20 md:pb-[120px]",children:[s.jsxs("section",{className:"max-w-[888px] py-5 mx-auto flex flex-col md:gap-10 gap-6",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-on_surface md:text-[32px] text-3xl leading-10 mb-2",children:e==null?void 0:e.title}),s.jsx("h4",{children:e==null?void 0:e.published_at.slice(0,10).split("-").reverse().join(".")})]}),s.jsx("div",{className:"w-full h-[300px] md:h-[480px]",children:s.jsx("img",{src:((m=e==null?void 0:e.featured_images[0])==null?void 0:m.path)||"",alt:"news image",className:"size-full object-cover"})}),s.jsx("div",{dangerouslySetInnerHTML:{__html:(e==null?void 0:e.content)??""},className:"news-inner md:text-lg flex flex-col gap-6 text-base md:medium normal text-on_surface_v"})]}),s.jsx("hr",{className:"mt-10 md:mb-20 mb-[60px]"}),s.jsxs("section",{children:[s.jsx("h2",{className:"h2 mb-6",children:a==="ru"?"Читайте также:":"Read more:"}),s.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:i==null?void 0:i.filter(r=>r.id!==n).slice(0,3).map(r=>g.createElement(f,{...r,key:r.title}))})]})]})}export{_ as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{b as c,a4 as o,u as x,j as s,a3 as d,C as u}from"./ui-library-DpZprY9x.js";import{u as p,a as g}from"./react-vendor-Y0eyvj1J.js";import{u as h,N as f}from"./use-news-DRGMJQe9.js";import{u as j}from"./use-scroll-top-DE9DNB_I.js";const N=(t,r)=>{const{data:n,isPending:e}=c({queryKey:["news-inner",t,r],queryFn:()=>o(t,r),select:({data:l})=>l.data});return{data:n,isPending:e}};function _(){var m;const{id:t}=p(),r=x(a=>a.lang),n=Number(t);j(n);const{data:e,isPending:l}=N(n,r),{data:i}=h(r);return l?s.jsx(d,{}):s.jsxs(u,{className:"pt-10 pb-20 md:pt-20 md:pb-[120px]",children:[s.jsxs("section",{className:"max-w-[888px] py-5 mx-auto flex flex-col md:gap-10 gap-6",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-on_surface md:text-[32px] text-3xl leading-10 mb-2",children:e==null?void 0:e.title}),s.jsx("h4",{children:e==null?void 0:e.published_at.slice(0,10).split("-").reverse().join(".")})]}),s.jsx("div",{className:"w-full h-[300px] md:h-[480px]",children:s.jsx("img",{src:((m=e==null?void 0:e.featured_images[0])==null?void 0:m.path)||"",alt:"news image",className:"size-full object-cover"})}),s.jsx("div",{dangerouslySetInnerHTML:{__html:(e==null?void 0:e.content)??""},className:"news-inner md:text-lg flex flex-col gap-6 text-base md:medium normal text-on_surface_v"})]}),s.jsx("hr",{className:"mt-10 md:mb-20 mb-[60px]"}),s.jsxs("section",{children:[s.jsx("h2",{className:"h2 mb-6",children:r==="ru"?"Читайте также:":"Read more:"}),s.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:i==null?void 0:i.filter(a=>a.id!==n).slice(0,3).map(a=>g.createElement(f,{...a,key:a.title}))})]})]})}export{_ as default};
|
||||
|
|
@ -0,0 +1 @@
|
|||
import{u as j,a2 as _,a6 as b,j as t,a0 as N,h as v,a7 as P,a1 as S,a8 as d}from"./ui-library-D22_KSBG.js";import{a as T}from"./react-vendor-Y0eyvj1J.js";import{u as w}from"./use-scroll-top-DE9DNB_I.js";const C=()=>{const r=j(i=>i.lang),{data:c,isPending:s}=_({queryKey:["participants",r],queryFn:()=>b(r),select:({data:i})=>i.data});return{data:c,isPending:s}},I=({className:r})=>{var u,x,h,g,y;w();const c=j(n=>n.lang),{data:s,isPending:i}=C(),e={company:c==="ru"?"Название компании":"Company name",country:c==="ru"?"Страна":"Country",industry:c==="ru"?"Сфера деятельности":"Industry"},[o,f]=T.useState(0),l=(h=s==null?void 0:s[0])==null?void 0:h.participants.concat((u=s==null?void 0:s[1])==null?void 0:u.participants,(x=s==null?void 0:s[2])==null?void 0:x.participants),p=s==null?void 0:s.filter(n=>o===1?n.id===3:o===2?n.id===1:n.id===2);return console.log(o),t.jsx(N,{children:t.jsxs("section",{className:v("page-padding overflow-x-hidden",r),children:[t.jsx("h1",{className:"text-center md:text-5xl text-3xl mb-4",children:c==="ru"?"Список участников":"List of participants"}),t.jsx(P,{state:o,setState:f,className:"mb-6 md:w-fit"}),t.jsxs("div",{className:"p-2 sm:p-0 bg-surface_container overflow-hidden",children:[t.jsxs("div",{className:"sm:flex items-center hidden h-[52px] border-b border-outline_v",children:[t.jsx("h3",{className:"flex-[0_0_45.54%] pl-4",children:e==null?void 0:e.company}),t.jsx("h3",{className:"flex-[0_0_19.80%]",children:e==null?void 0:e.country}),t.jsx("h3",{className:"flex-[0_0_34.65%]",children:e==null?void 0:e.industry})]}),i?t.jsx(S,{}):o===0?l==null?void 0:l.map((n,m,a)=>t.jsx(d,{...n,arr:a==null?void 0:a.length,index:m,image:n.image??{path:""},image_country:n.image_country??{path:""}})):(y=(g=p==null?void 0:p[0])==null?void 0:g.participants)==null?void 0:y.map((n,m,a)=>t.jsx(d,{...n,arr:a==null?void 0:a.length,index:m,image:n.image??{path:""},image_country:n.image_country??{path:""}}))]})]})})};export{I as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{u as j,b as _,a7 as b,j as t,C as N,e as v,a8 as P,a3 as C,a9 as d}from"./ui-library-DpZprY9x.js";import{a as w}from"./react-vendor-Y0eyvj1J.js";const L=()=>{const r=j(i=>i.lang),{data:c,isPending:s}=_({queryKey:["participants",r],queryFn:()=>b(r),select:({data:i})=>i.data});return{data:c,isPending:s}},q=({className:r})=>{var u,x,g,h,y;const c=j(n=>n.lang),{data:s,isPending:i}=L(),e={company:c==="ru"?"Название компании":"Company name",country:c==="ru"?"Страна":"Country",industry:c==="ru"?"Сфера деятельности":"Industry"},[o,f]=w.useState(0),l=(g=s==null?void 0:s[0])==null?void 0:g.participants.concat((u=s==null?void 0:s[1])==null?void 0:u.participants,(x=s==null?void 0:s[2])==null?void 0:x.participants),p=s==null?void 0:s.filter(n=>o===1?n.id===3:o===2?n.id===1:n.id===2);return console.log(o),t.jsx(N,{children:t.jsxs("section",{className:v("page-padding overflow-x-hidden",r),children:[t.jsx("h1",{className:"text-center md:text-5xl text-3xl mb-4",children:c==="ru"?"Список участников":"List of participants"}),t.jsx(P,{state:o,setState:f,className:"mb-6 md:w-fit"}),t.jsxs("div",{className:"p-2 sm:p-0 bg-surface_container overflow-hidden",children:[t.jsxs("div",{className:"sm:flex items-center hidden h-[52px] border-b border-outline_v",children:[t.jsx("h3",{className:"flex-[0_0_45.54%] pl-4",children:e==null?void 0:e.company}),t.jsx("h3",{className:"flex-[0_0_19.80%]",children:e==null?void 0:e.country}),t.jsx("h3",{className:"flex-[0_0_34.65%]",children:e==null?void 0:e.industry})]}),i?t.jsx(C,{}):o===0?l==null?void 0:l.map((n,m,a)=>t.jsx(d,{...n,arr:a==null?void 0:a.length,index:m,image:n.image??{path:""},image_country:n.image_country??{path:""}})):(y=(h=p==null?void 0:p[0])==null?void 0:h.participants)==null?void 0:y.map((n,m,a)=>t.jsx(d,{...n,arr:a==null?void 0:a.length,index:m,image:n.image??{path:""},image_country:n.image_country??{path:""}}))]})]})})};export{q as default};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
import{z as r,u as y,y as f,q as d,j as e,C as v,E as N,D as S,p as F,r as j,s as c,t as m,v as i,w as l,B as k,x as w,G as C,N as V,I as E}from"./ui-library-D22_KSBG.js";import{a as b}from"./react-vendor-Y0eyvj1J.js";import{R as h,a as x}from"./radio-group-C_Xmrwja.js";import{s as a}from"./stend.data-Dr6usuZY.js";const R=r.object({space_package:r.string(),company_name:r.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),rep_name:r.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:r.string().min(3,{message:"Должность должна быть не менее 3 символов"}),participants_number:r.preprocess(p=>Number(p),r.number().min(1,"Укажите количество участников")),country:r.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email:r.string().email({message:"Укажите корректный email"}),phone:r.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:r.string().optional(),visa_support:r.string().optional()}),D={space_package:"space",company_name:"",rep_name:"",job_title:"",participants_number:1,country:"",email:"",phone:"",website:"",visa_support:""};function q(){const p=y(n=>n.lang),[u,_]=b.useState(!1),s=f({resolver:E(R),defaultValues:D}),g=async n=>{await V(n)&&_(!0)};b.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[]);const{errors:o}=s.formState,t=d(p);return e.jsxs("div",{children:[e.jsx(v,{title:a[d(p)].cover}),e.jsx(N,{children:!u&&e.jsx(S,{...s,children:e.jsxs(F.form,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"max-w-[828px] px-5 mx-auto mt-20 mb-[120px] flex flex-col gap-8",onSubmit:s.handleSubmit(g),children:[e.jsx(j,{control:s.control,name:"space_package",render:({field:n})=>e.jsxs(c,{className:"space-y-5",children:[e.jsx(m,{className:"text-xl",children:a[t].h2}),e.jsx(i,{children:e.jsxs(h,{onValueChange:n.onChange,defaultValue:n.value,className:"flex flex-col space-y-4 ml-3",children:[e.jsxs(c,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(i,{children:e.jsx(x,{value:"space",checked:n.value==="space"})}),e.jsx(m,{className:"text-base",children:a[t].radio})]}),e.jsxs(c,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(i,{children:e.jsx(x,{value:"package",checked:n.value==="package"})}),e.jsx(m,{className:"text-base",children:a[t].radio_2})]})]})})]})}),e.jsx(l,{label:a[t].label_1,name:"company_name",control:s.control,error:o.company_name}),e.jsx(l,{label:a[t].label_2,name:"rep_name",control:s.control,error:o.rep_name}),e.jsx(l,{label:a[t].label_3,name:"job_title",control:s.control,error:o.job_title}),e.jsx(l,{label:a[t].number_of_participants,type:"number",name:"participants_number",control:s.control,error:o.participants_number}),e.jsx(l,{label:a[t].label_4,name:"country",control:s.control,error:o.country}),e.jsx(l,{label:a[t].label_5,name:"email",control:s.control,error:o.email}),e.jsx(l,{label:a[t].label_6,name:"phone",control:s.control,error:o.phone}),e.jsx(l,{label:a[t].label_7,name:"website",control:s.control}),e.jsx(j,{control:s.control,name:"visa_support",render:({field:n})=>e.jsxs(c,{className:"space-y-5",children:[e.jsx(m,{className:"text-xl",children:a[t].visa}),e.jsx(i,{children:e.jsxs(h,{onValueChange:n.onChange,defaultValue:n.value,className:"flex flex-col space-y-4 ml-3",children:[e.jsxs(c,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(i,{children:e.jsx(x,{value:"yes",checked:n.value==="yes"})}),e.jsx(m,{className:"text-base",children:a[t].visa_radio})]}),e.jsxs(c,{className:"flex items-center space-x-5 space-y-0 ",children:[e.jsx(i,{children:e.jsx(x,{value:"no",checked:n.value==="no"})}),e.jsx(m,{className:"text-base",children:a[t].visa_radio_2})]})]})})]})}),e.jsx(k,{disabled:s.formState.isSubmitting,className:"mt-5",children:s.formState.isSubmitting?e.jsx(w,{className:"animate-spin"}):a[t].button})]})})}),u&&e.jsx(C,{delay:.3})]})}export{q as default};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{z as l,u as g,I as y,j as e,n as f,v as s,K as v,J as N,t as S,w as d,x as m,y as i,B as p,D as o,E as F,G as k,M as w,S as C,N as V}from"./ui-library-DpZprY9x.js";import{a as j}from"./react-vendor-Y0eyvj1J.js";import{R as b,a as x}from"./radio-group-D60hoBlK.js";import{s as t}from"./stend.data-Dr6usuZY.js";const E=l.object({space_package:l.string(),company_name:l.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),rep_name:l.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:l.string().min(3,{message:"Должность должна быть не менее 3 символов"}),participants_number:l.preprocess(a=>Number(a),l.number().min(1,"Укажите количество участников")),country:l.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email:l.string().email({message:"Укажите корректный email"}),phone:l.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:l.string().optional(),visa_support:l.string().optional()}),R={space_package:"space",company_name:"",rep_name:"",job_title:"",participants_number:1,country:"",email:"",phone:"",website:"",visa_support:""};function T(){const a=g(r=>r.lang),[u,h]=j.useState(!1),n=y({resolver:V(E),defaultValues:R}),_=async r=>{await C(r)&&h(!0)};j.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[status]);const{errors:c}=n.formState;return e.jsxs("div",{children:[e.jsx(f,{title:t[s(a)].cover}),e.jsx(v,{children:!u&&e.jsx(N,{...n,children:e.jsxs(S.form,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"max-w-[828px] px-5 mx-auto mt-20 mb-[120px] flex flex-col gap-8",onSubmit:n.handleSubmit(_),children:[e.jsx(d,{control:n.control,name:"space_package",render:({field:r})=>e.jsxs(m,{className:"space-y-5",children:[e.jsx(i,{className:"text-xl",children:t[s(a)].h2}),e.jsx(p,{children:e.jsxs(b,{onValueChange:r.onChange,defaultValue:r.value,className:"flex flex-col space-y-4 ml-3",children:[e.jsxs(m,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(p,{children:e.jsx(x,{value:"space",checked:r.value==="space"})}),e.jsx(i,{className:"text-base",children:t[s(a)].radio})]}),e.jsxs(m,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(p,{children:e.jsx(x,{value:"package",checked:r.value==="package"})}),e.jsx(i,{className:"text-base",children:t[s(a)].radio_2})]})]})})]})}),e.jsx(o,{label:t[s(a)].label_1,name:"company_name",control:n.control,error:c.company_name}),e.jsx(o,{label:t[s(a)].label_2,name:"rep_name",control:n.control,error:c.rep_name}),e.jsx(o,{label:t[s(a)].label_3,name:"job_title",control:n.control,error:c.job_title}),e.jsx(o,{label:t[s(a)].number_of_participants,type:"number",name:"participants_number",control:n.control,error:c.participants_number}),e.jsx(o,{label:t[s(a)].label_4,name:"country",control:n.control,error:c.country}),e.jsx(o,{label:t[s(a)].label_5,name:"email",control:n.control,error:c.email}),e.jsx(o,{label:t[s(a)].label_6,name:"phone",control:n.control,error:c.phone}),e.jsx(o,{label:t[s(a)].label_7,name:"website",control:n.control}),e.jsx(d,{control:n.control,name:"visa_support",render:({field:r})=>e.jsxs(m,{className:"space-y-5",children:[e.jsx(i,{className:"text-xl",children:t[s(a)].visa}),e.jsx(p,{children:e.jsxs(b,{onValueChange:r.onChange,defaultValue:r.value,className:"flex flex-col space-y-4 ml-3",children:[e.jsxs(m,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(p,{children:e.jsx(x,{value:"yes",checked:r.value==="yes"})}),e.jsx(i,{className:"text-base",children:t[s(a)].visa_radio})]}),e.jsxs(m,{className:"flex items-center space-x-5 space-y-0 ",children:[e.jsx(p,{children:e.jsx(x,{value:"no",checked:r.value==="no"})}),e.jsx(i,{className:"text-base",children:t[s(a)].visa_radio_2})]})]})})]})}),e.jsx(F,{disabled:n.formState.isSubmitting,className:"mt-5",children:n.formState.isSubmitting?e.jsx(k,{className:"animate-spin"}):t[s(a)].button})]})})}),u&&e.jsx(w,{delay:.3})]})}export{T as default};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
import{j as s,h as r,a4 as i,a2 as x,a5 as o}from"./ui-library-D22_KSBG.js";import{L as j}from"./react-vendor-Y0eyvj1J.js";const d=({className:a,featured_images:e,title:t,id:c,published_at:n})=>{var l;return s.jsx(j,{to:`/news/${c}`,children:s.jsxs("article",{className:r("bg-surface_container justify-between h-[400px] flex flex-col gap-6",a),children:[s.jsxs("div",{className:"flex flex-col gap-4 px-6 pt-6",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("h4",{children:n.slice(0,10).split("-").reverse().join(".")}),s.jsx(i,{})]}),s.jsx("hr",{}),s.jsx("h3",{className:"text-[20px] leading-[130%] line-clamp-3",children:t})]}),s.jsx("img",{src:((l=e==null?void 0:e[0])==null?void 0:l.path)||"",alt:"news image",className:"w-full h-[220px] object-cover"})]})})},m=a=>{const{data:e,isPending:t}=x({queryKey:["news",a],queryFn:()=>o(a),select:({data:c})=>c.data});return{data:e,isPending:t}};export{d as N,m as u};
|
||||
|
|
@ -1 +0,0 @@
|
|||
import{j as s,e as r,a5 as i,b as x,a6 as o}from"./ui-library-DpZprY9x.js";import{L as j}from"./react-vendor-Y0eyvj1J.js";const d=({className:a,featured_images:e,title:t,id:c,published_at:n})=>{var l;return s.jsx(j,{to:`/news/${c}`,children:s.jsxs("article",{className:r("bg-surface_container justify-between h-[400px] flex flex-col gap-6",a),children:[s.jsxs("div",{className:"flex flex-col gap-4 px-6 pt-6",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("h4",{children:n.slice(0,10).split("-").reverse().join(".")}),s.jsx(i,{})]}),s.jsx("hr",{}),s.jsx("h3",{className:"text-[20px] leading-[130%] line-clamp-3",children:t})]}),s.jsx("img",{src:((l=e==null?void 0:e[0])==null?void 0:l.path)||"",alt:"news image",className:"w-full h-[220px] object-cover"})]})})},m=a=>{const{data:e,isPending:t}=x({queryKey:["news",a],queryFn:()=>o(a),select:({data:c})=>c.data});return{data:e,isPending:t}};export{d as N,m as u};
|
||||
|
|
@ -66,10 +66,10 @@
|
|||
})(window, document, "script", "dataLayer", "GTM-NK394LVK");
|
||||
</script>
|
||||
<title>Turkmen Textile</title>
|
||||
<script type="module" crossorigin src="/assets/index-Eiscv_zv.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-BCEOJYTW.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="/assets/react-vendor-Y0eyvj1J.js">
|
||||
<link rel="modulepreload" crossorigin href="/assets/ui-library-DpZprY9x.js">
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-C0sAoqjq.css">
|
||||
<link rel="modulepreload" crossorigin href="/assets/ui-library-D22_KSBG.js">
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-C4-Tuwro.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue