import{x as M,n as e,L as h}from"./vendor-react-Br0ZiotI.js";import{e as E}from"./vendor-query-9i1Av1pr.js";import{aA as L,b6 as x,a3 as m,V as c,bz as n,bs as o,B as g,ab as q,aS as _,bL as H,bo as F,E as y,az as w,ay as z,H as v,I as b,b as J,d as V,e as G,c as K,s as D,L as Q,M as W,J as Y}from"./index-B-EDPu3R.js";import"./vendor-dayjs-BcsA502E.js";import{S as f}from"./skeleton-DFMLqn_S.js";import{c as S,C as I,b as X}from"./MarketingShell-byMgDd8J.js";import{formatTransitRange as P,transportTypeLabel as d,formatPriceFrom as T,routePairApi as Z}from"./routePairApi-mM6by2Lg.js";import{u as R}from"./vendor-i18n-C54Hc0CQ.js";import{C as k}from"./clock-4-lPvHYtse.js";import{A as ee}from"./anchor-DwfOvo95.js";import{T as re}from"./train-front-CyXhz1w7.js";import{F as ae}from"./file-text-s7xBL7vU.js";import"./vendor-antd-core-CbYNMZQB.js";import"./vendor-sentry-Cx26FE6p.js";import"./zap-Ca_NrEyM.js";import"./globe-SYiMVozm.js";import"./shield-check-BRHQZ8CY.js";import"./users-sM9inbI_.js";import"./SiteFooter-CJ3BLn-3.js";import"./mail-_A6AzEM-.js";import"./building-2-pC_rkZnQ.js";const O={SEA:F,RAILWAY:re,AUTO:H,AIR:_,LOCAL:ee};function te(r,t){const i={"@context":"https://schema.org","@type":"Service",name:`Доставка груза ${r.cityFrom} → ${r.cityTo}`,serviceType:"FreightTransportationService",url:t,provider:{"@type":"Organization",name:"Avalog",url:"https://avalog.ru"},areaServed:[{"@type":"Place",name:r.cityFrom},{"@type":"Place",name:r.cityTo}],description:`Международная контейнерная доставка ${r.cityFrom} → ${r.cityTo}. Транспорт: ${r.transportTypes.map(d).join(", ")||"по запросу"}. Транзит ${P(r.minTransitDays,r.maxTransitDays)}.`};return r.lowestPriceRub&&r.lowestPriceRub>0&&(i.offers={"@type":"Offer",priceCurrency:"RUB",price:r.lowestPriceRub,priceSpecification:{"@type":"PriceSpecification",priceCurrency:"RUB",minPrice:r.lowestPriceRub,description:"Минимальная цена за контейнер 40' (FILO). Точная сумма — в калькуляторе."},availability:"https://schema.org/InStock"}),i}function se(r,t){const i=P(r.minTransitDays,r.maxTransitDays),a=r.transportTypes.map(d).join(", "),p=r.variants.filter(j=>j.carrier).length,N=a||t("routePair.seo.onRequest","по запросу");return[`${t("routePair.seo.p1a","Avalog организует доставку груза по маршруту ")}${r.cityFrom} → ${r.cityTo}${t("routePair.seo.p1b"," по прозрачным тарифам напрямую от перевозчиков. Транзит в среднем ")}${i}${t("routePair.seo.p1c",", доступные виды транспорта: ")}${N}.`,t("routePair.seo.p2","Расчёт стоимости и сроков — за 5 секунд в калькуляторе. Цена включает все составляющие (фрахт, THC, BAF, страхование, таможня) и видна ДО подписи договора — никаких скрытых наценок."),`${t("routePair.seo.p3a","На направлении ")}${r.cityFrom} → ${r.cityTo}${t("routePair.seo.p3b"," работают ")}${p}${t("routePair.seo.p3c"," проверенных перевозчиков с реальной availability'ю. Документы — коносамент, инвойс, упаковочный лист, сертификат происхождения — оформляем под ключ.")}`,t("routePair.seo.p4","Что важно знать перед отправкой: точный код ТНВЭД для растаможки, INCOTERMS-условия с продавцом, нужны ли разрешительные документы (сертификаты, MSDS для опасных, фитосан для растительной продукции). Менеджер Avalog поможет собрать пакет под ваш конкретный груз.")].join(`

`)}function ie(){return e.jsx(S,{active:null,children:e.jsx(x,{py:"lg",children:e.jsx(m,{size:"base",children:e.jsxs(o,{gap:6,children:[e.jsx(f,{className:"h-12 w-2/3"}),e.jsx(f,{className:"h-6 w-1/2"}),e.jsxs(c,{gap:3,children:[e.jsx(f,{className:"h-12 w-40"}),e.jsx(f,{className:"h-12 w-40"})]})]})})})})}function ne(){const{t:r}=R();return e.jsxs(S,{active:null,children:[e.jsxs(L,{children:[e.jsx("title",{children:r("routePair.notFound.metaTitle","Маршрут не найден · Avalog")}),e.jsx("meta",{name:"robots",content:"noindex"})]}),e.jsx(x,{py:"lg",children:e.jsx(m,{size:"base",children:e.jsxs(o,{gap:6,align:"center",className:"text-center max-w-2xl mx-auto",children:[e.jsx(g,{variant:"warning",children:"404"}),e.jsx(q,{size:"md",as:"h1",children:r("routePair.notFound.title","Маршрут не найден")}),e.jsx(n,{variant:"lead",children:r("routePair.notFound.lead","Возможно, у нас нет действующих тарифов на этот маршрут, либо slug в URL устарел. Откройте калькулятор — там найдётся актуальный вариант.")}),e.jsxs(c,{gap:3,children:[e.jsx(y,{asChild:!0,children:e.jsxs(h,{to:"/",children:[e.jsx(I,{className:"h-4 w-4"}),r("routePair.notFound.calcCta","К калькулятору")]})}),e.jsx(y,{variant:"outline",asChild:!0,children:e.jsx(h,{to:"/services",children:r("routePair.notFound.servicesCta","Все услуги")})})]})]})})})]})}function Se(){const{t:r}=R(),{slug:t=""}=M(),i=E({queryKey:["routePairDetail",t],queryFn:()=>Z.detail(t),enabled:!!t,staleTime:5*6e4,retry:1});if(i.isLoading)return e.jsx(ie,{});if(i.isError||!i.data)return e.jsx(ne,{});const a=i.data,p=P(a.minTransitDays,a.maxTransitDays),N=se(a,r),j=`/?from=${encodeURIComponent(a.cityFrom)}&to=${encodeURIComponent(a.cityTo)}`,u=`https://avalog.ru/marshrut/${encodeURIComponent(a.slug)}`,U=r("routePair.seo.onRequest","по запросу"),$=`${r("routePair.meta.titlePrefix","Доставка груза ")}${a.cityFrom} → ${a.cityTo}${r("routePair.meta.titleSuffix"," · Avalog")}`,C=`${r("routePair.meta.descPrefix","Международная доставка ")}${a.cityFrom} → ${a.cityTo}${r("routePair.meta.descTransit",": транзит ")}${p}, ${a.transportTypes.map(d).join(" · ")||U}${r("routePair.meta.descSuffix",". Прозрачные тарифы, расчёт за 5 секунд.")}`,A="https://avalog.ru/og-image.jpg",B=te(a,u);return e.jsxs(S,{active:null,children:[e.jsxs(L,{children:[e.jsx("title",{children:$}),e.jsx("meta",{name:"description",content:C}),e.jsx("link",{rel:"canonical",href:u}),e.jsx("link",{rel:"alternate",hrefLang:"ru",href:u}),e.jsx("link",{rel:"alternate",hrefLang:"en",href:`${u}?lng=en`}),e.jsx("link",{rel:"alternate",hrefLang:"zh",href:`${u}?lng=zho`}),e.jsx("link",{rel:"alternate",hrefLang:"x-default",href:u}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:site_name",content:"Avalog"}),e.jsx("meta",{property:"og:title",content:$}),e.jsx("meta",{property:"og:description",content:C}),e.jsx("meta",{property:"og:url",content:u}),e.jsx("meta",{property:"og:image",content:A}),e.jsx("meta",{property:"og:locale",content:"ru_RU"}),e.jsx("meta",{property:"og:locale:alternate",content:"en_US"}),e.jsx("meta",{property:"og:locale:alternate",content:"zh_CN"}),e.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),e.jsx("meta",{name:"twitter:title",content:$}),e.jsx("meta",{name:"twitter:description",content:C}),e.jsx("meta",{name:"twitter:image",content:A}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(B)})]}),e.jsx(x,{py:"sm",bg:"surface",children:e.jsx(m,{size:"base",children:e.jsxs(c,{gap:2,align:"center",children:[e.jsx(h,{to:"/services",className:"text-sm text-text-muted hover:text-text",children:r("routePair.breadcrumb.services","Услуги")}),e.jsx(n,{variant:"muted",className:"text-sm",children:"/"}),e.jsxs(n,{className:"text-sm",weight:"semibold",children:[a.cityFrom," → ",a.cityTo]})]})})}),e.jsx(x,{py:"lg",children:e.jsx(m,{size:"base",children:e.jsxs(o,{gap:6,className:"max-w-3xl",children:[e.jsx(g,{variant:"success",children:r("routePair.hero.badge","Доступная логистика")}),e.jsxs(q,{size:"md",as:"h1",children:[r("routePair.hero.title","Доставка груза"),e.jsx("br",{}),a.cityFrom," → ",a.cityTo]}),e.jsxs(n,{variant:"lead",children:[r("routePair.hero.transit","Транзит "),p,"."," ",a.transportTypes.length>0?r("routePair.hero.available","Доступны: "):"",a.transportTypes.map(d).join(" · "),r("routePair.hero.leadTail",". Прозрачные тарифы, расчёт за 5 секунд.")]}),e.jsxs(c,{gap:6,wrap:!0,children:[e.jsxs(c,{gap:1,align:"center",children:[e.jsx(k,{className:"h-4 w-4 text-text-muted"}),e.jsx(n,{variant:"muted",className:"text-sm",children:p})]}),e.jsx(c,{gap:2,wrap:!0,children:a.transportTypes.map(s=>{const l=O[s]??F;return e.jsxs(g,{variant:"default",className:"gap-1",children:[e.jsx(l,{className:"h-3 w-3"}),d(s)]},s)})})]}),T(a.lowestPriceRub)&&e.jsxs(o,{gap:0,children:[e.jsx(n,{variant:"muted",className:"text-sm",children:r("routePair.hero.priceFrom","Стоимость от")}),e.jsx(q,{size:"sm",as:"div",className:"text-primary",children:T(a.lowestPriceRub)}),e.jsx(n,{variant:"muted",className:"text-xs",children:r("routePair.hero.priceNote","За контейнер 40' (FILO) — точную сумму даст калькулятор")})]}),e.jsxs(c,{gap:3,wrap:!0,children:[e.jsx(y,{size:"lg",asChild:!0,children:e.jsxs(h,{to:j,children:[e.jsx(I,{className:"h-4 w-4"}),r("routePair.hero.calcCta","Рассчитать стоимость")]})}),e.jsx(y,{size:"lg",variant:"outline",asChild:!0,children:e.jsx(h,{to:"/contacts",children:r("routePair.hero.managerCta","Уточнить у менеджера")})})]})]})})}),a.variants.length>0&&e.jsx(x,{py:"lg",bg:"surface",children:e.jsx(m,{size:"base",children:e.jsxs(o,{gap:8,children:[e.jsxs(o,{gap:2,className:"text-center max-w-2xl mx-auto",children:[e.jsx(w,{size:"h2",children:r("routePair.variants.title","Варианты доставки")}),e.jsx(n,{variant:"lead",className:"text-text-muted",children:r("routePair.variants.lead","Виды транспорта, по которым работают наши перевозчики на этом направлении.")})]}),e.jsx(z,{cols:3,gap:6,children:a.variants.map((s,l)=>e.jsx(oe,{variant:s,calcLink:j},l))})]})})}),e.jsx(x,{py:"lg",children:e.jsx(m,{size:"base",children:e.jsx(v,{className:"max-w-3xl mx-auto",children:e.jsx(b,{className:"pt-6",children:e.jsxs(o,{gap:4,children:[e.jsxs(c,{gap:2,align:"center",children:[e.jsx(ae,{className:"h-5 w-5 text-primary"}),e.jsx(n,{variant:"caption",children:r("routePair.seo.heading","О маршруте")})]}),e.jsx(o,{gap:3,children:N.split(`

`).map((s,l)=>e.jsx(n,{className:"leading-relaxed",children:s},l))})]})})})})}),e.jsx(x,{py:"lg",bg:"surface",children:e.jsx(m,{size:"base",children:e.jsxs(o,{gap:8,className:"max-w-3xl mx-auto",children:[e.jsxs(o,{gap:2,className:"text-center",children:[e.jsx(w,{size:"h2",children:r("routePair.faq.title","Частые вопросы")}),e.jsxs(n,{variant:"lead",className:"text-text-muted",children:[r("routePair.faq.lead","О маршруте "),a.cityFrom," → ",a.cityTo,"."]})]}),e.jsx(v,{children:e.jsx(b,{className:"pt-6",children:e.jsx(J,{type:"single",collapsible:!0,children:ce(a,r).map((s,l)=>e.jsxs(V,{value:`item-${l}`,children:[e.jsx(G,{className:"text-left",children:s.q}),e.jsx(K,{children:e.jsx(n,{className:"text-text-muted",children:s.a})})]},l))})})})]})})}),a.related.length>0&&e.jsx(x,{py:"lg",children:e.jsx(m,{size:"base",children:e.jsxs(o,{gap:8,children:[e.jsxs(o,{gap:2,className:"text-center max-w-2xl mx-auto",children:[e.jsx(w,{size:"h2",children:r("routePair.related.title","Похожие маршруты")}),e.jsx(n,{variant:"lead",className:"text-text-muted",children:r("routePair.related.lead","Другие направления с одним из этих городов.")})]}),e.jsx(z,{cols:3,gap:4,children:a.related.map(s=>e.jsx(h,{to:`/marshrut/${encodeURIComponent(s.slug)}`,className:"group block",children:e.jsx(v,{className:"h-full hover:shadow-md hover:border-primary/40 transition-all",children:e.jsx(b,{className:"pt-5",children:e.jsxs(o,{gap:3,children:[e.jsxs(c,{justify:"between",align:"start",children:[e.jsxs(o,{gap:1,children:[e.jsxs(n,{weight:"semibold",className:"text-base",children:[s.cityFrom," → ",s.cityTo]}),e.jsx(n,{variant:"muted",className:"text-xs",children:P(s.minTransitDays,s.maxTransitDays)})]}),e.jsx(D,{className:"h-4 w-4 text-text-muted group-hover:text-primary group-hover:translate-x-1 transition-all shrink-0"})]}),T(s.lowestPriceRub)&&e.jsx(n,{weight:"semibold",className:"text-primary text-sm",children:T(s.lowestPriceRub)}),e.jsx(c,{gap:1,wrap:!0,children:s.transportTypes.map(l=>e.jsx(g,{variant:"neutral",className:"text-xs",children:d(l)},l))})]})})})},s.slug))})]})})}),e.jsx(X,{title:`${r("routePair.cta.titlePrefix","Узнайте стоимость доставки ")}${a.cityFrom} → ${a.cityTo}`,description:r("routePair.cta.description","Расчёт за 5 секунд. Все составляющие цены видны до подписи договора."),ctaLabel:r("routePair.cta.label","Рассчитать"),ctaTo:j})]})}function oe({variant:r,calcLink:t}){const{t:i}=R(),a=O[r.transportType??""]??F;return e.jsxs(v,{className:"h-full",children:[e.jsxs(Q,{children:[e.jsx("div",{className:"h-10 w-10 rounded-lg bg-primary-light flex items-center justify-center mb-3",children:e.jsx(a,{className:"h-5 w-5 text-primary"})}),e.jsx(W,{children:d(r.transportType)}),e.jsx(Y,{children:r.carrier?`${i("routePair.variantCard.carrier","Перевозчик: ")}${r.carrier}`:i("routePair.variantCard.carrierTbd","Перевозчик уточняется")})]}),e.jsx(b,{children:e.jsxs(o,{gap:3,children:[r.transitDays!=null&&e.jsxs(c,{gap:2,align:"center",children:[e.jsx(k,{className:"h-4 w-4 text-text-muted"}),e.jsxs(n,{variant:"muted",className:"text-sm",children:[i("routePair.variantCard.transit","Транзит "),r.transitDays,i("routePair.variantCard.days"," дней")]})]}),r.containerTypeSize&&e.jsxs(c,{gap:2,align:"center",children:[e.jsx(n,{variant:"caption",children:i("routePair.variantCard.container","Контейнер:")}),e.jsx(g,{variant:"neutral",children:r.containerTypeSize})]}),e.jsx(y,{variant:"outline",asChild:!0,children:e.jsxs(h,{to:t,children:[i("routePair.variantCard.calcCta","Рассчитать"),e.jsx(D,{className:"h-3.5 w-3.5"})]})})]})})]})}function ce(r,t){const i=P(r.minTransitDays,r.maxTransitDays),a=r.transportTypes.map(d).join(", ")||t("routePair.seo.onRequest","по запросу");return[{q:`${t("routePair.faq.q1a","Сколько занимает доставка ")}${r.cityFrom} → ${r.cityTo}?`,a:`${t("routePair.faq.a1a","В среднем ")}${i}${t("routePair.faq.a1b"," с момента отправки до прибытия. Точный срок зависит от выбранного вида транспорта (")}${a}${t("routePair.faq.a1c","), сезонности и условий продавца. Рассчитайте в калькуляторе — там показано ETA по конкретной паре дат.")}`},{q:t("routePair.faq.q2","Какие документы нужны для отправки?"),a:t("routePair.faq.a2","Базовый пакет: контракт с продавцом, инвойс (commercial invoice), упаковочный лист, транспортный документ (B/L / CMR / ж/д накладная). По категории товара — сертификаты соответствия, MSDS для опасных, фитосан для растительной продукции. Полный чек-лист собираем индивидуально под груз.")},{q:t("routePair.faq.q3","Что входит в стоимость?"),a:t("routePair.faq.a3","Фрахт + THC (terminal handling) + BAF (топливная корректировка) + страхование (опционально) + таможенное оформление + доставка от порта/станции до вашего склада. Все компоненты видны в калькуляторе до подписи договора.")},{q:t("routePair.faq.q4","Можно ли застраховать груз?"),a:t("routePair.faq.a4","Да. Базовая страховка включена в Эконом-тариф. Расширенная — в Стандарте. Премиум-программа с покрытием специальных рисков — в Экспрессе. Корпоратив — кастомная программа. Полис привязан к конкретному коносаменту.")},{q:t("routePair.faq.q5","Что делать если возникли вопросы по маршруту?"),a:t("routePair.faq.a5","Напишите нам на info@avalog.ru или позвоните +7 499 948-88-01 — менеджер ответит в течение часа в рабочее время. Можем подобрать оптимальный вариант, помочь с документами, проконсультировать по таможне и INCOTERMS.")}]}export{Se as default};