turkmen-textile-front/dist/assets/index-CB3dgGuq.js

3 lines
3.4 KiB
JavaScript

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/home-Cw4C8Or8.js","assets/ui-library-D6J3nmrf.js","assets/react-vendor-OnsDvTPE.js","assets/about-qfmgkWzS.js","assets/use-scroll-top-ByehxtTO.js","assets/b2b-Ctaw9qnF.js","assets/index-Doh9iehP.js","assets/radio-group-0T_K4mIX.js","assets/become-sponsor-L8wk3SU0.js","assets/service-BBxXYXSW.js","assets/stend.data-MYN6KI5Y.js","assets/stend-form-BOpxzbVB.js","assets/contacts-BEJkrz2O.js"])))=>i.map(i=>d[i]);
import{j as o,H as R,F as j}from"./ui-library-D6J3nmrf.js";import{f as P,O as v,a as c,g,h as O}from"./react-vendor-OnsDvTPE.js";(function(){const u=document.createElement("link").relList;if(u&&u.supports&&u.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))p(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const t of r.addedNodes)t.tagName==="LINK"&&t.rel==="modulepreload"&&p(t)}).observe(document,{childList:!0,subtree:!0});function d(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?r.credentials="include":e.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function p(e){if(e.ep)return;e.ep=!0;const r=d(e);fetch(e.href,r)}})();const L="modulepreload",b=function(l){return"/"+l},h={},a=function(u,d,p){let e=Promise.resolve();if(d&&d.length>0){document.getElementsByTagName("link");const t=document.querySelector("meta[property=csp-nonce]"),n=(t==null?void 0:t.nonce)||(t==null?void 0:t.getAttribute("nonce"));e=Promise.allSettled(d.map(s=>{if(s=b(s),s in h)return;h[s]=!0;const m=s.endsWith(".css"),y=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${y}`))return;const i=document.createElement("link");if(i.rel=m?"stylesheet":L,m||(i.as="script"),i.crossOrigin="",i.href=s,n&&i.setAttribute("nonce",n),document.head.appendChild(i),m)return new Promise((E,x)=>{i.addEventListener("load",E),i.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${s}`)))})}))}function r(t){const n=new Event("vite:preloadError",{cancelable:!0});if(n.payload=t,window.dispatchEvent(n),!n.defaultPrevented)throw t}return e.then(t=>{for(const n of t||[])n.status==="rejected"&&r(n.reason);return u().catch(r)})};var f={},_;function A(){if(_)return f;_=1;var l=P();return f.createRoot=l.createRoot,f.hydrateRoot=l.hydrateRoot,f}var S=A();function w(){return o.jsxs("main",{className:"flex flex-col min-h-screen",children:[o.jsx(R,{}),o.jsx("div",{className:"flex-auto",children:o.jsx(v,{})}),o.jsx(j,{})]})}const B=c.lazy(()=>a(()=>import("./home-Cw4C8Or8.js"),__vite__mapDeps([0,1,2]))),I=c.lazy(()=>a(()=>import("./about-qfmgkWzS.js"),__vite__mapDeps([3,1,2,4]))),D=c.lazy(()=>a(()=>import("./b2b-Ctaw9qnF.js"),__vite__mapDeps([5,1,2,6,7,4]))),T=c.lazy(()=>a(()=>import("./become-sponsor-L8wk3SU0.js"),__vite__mapDeps([8,1,2,7,6,9,4,10]))),q=c.lazy(()=>a(()=>import("./stend-form-BOpxzbVB.js"),__vite__mapDeps([11,1,2,7,6,9,10]))),z=c.lazy(()=>a(()=>import("./contacts-BEJkrz2O.js"),__vite__mapDeps([12,1,2,6,9,4]))),C=g([{element:o.jsx(w,{}),path:"/",children:[{element:o.jsx(B,{}),path:""},{element:o.jsx(I,{}),path:"/about"},{element:o.jsx(D,{}),path:"/B2B-B2G"},{element:o.jsx(T,{}),path:"/become-sponsor"},{element:o.jsx(q,{}),path:"/stend-form"},{element:o.jsx(z,{}),path:"/contacts"}]}]);S.createRoot(document.getElementById("root")).render(o.jsx(c.StrictMode,{children:o.jsx(O,{router:C})}));