import{x as M,n as e,L as j}from"./vendor-react-Br0ZiotI.js";import{e as _}from"./vendor-query-9i1Av1pr.js";import{az as z,b5 as x,a2 as d,U as c,by as n,br as o,B as g,aa as q,aR as E,bK as H,bn as R,D as y,ay as $,ax as L,G as v,H as b,b as K,d as G,e as J,c as Q,s as D,K as V,L as W,I as Y}from"./index-BdS0v754.js";import"./vendor-dayjs-8pzXSYYG.js";import{S as f}from"./skeleton-CPxIUBBV.js";import{d as F,C as I,c as X}from"./MarketingShell-DRhiQc5Z.js";import{formatTransitRange as P,transportTypeLabel as u,formatPriceFrom as T,routePairApi as Z}from"./routePairApi-CWVJCHvv.js";import{u as S}from"./vendor-i18n-C54Hc0CQ.js";import{C as k}from"./clock-4-D6mjq5Mz.js";import{A as ee}from"./anchor-BX4HBrZx.js";import{T as re}from"./train-front-BRpU9zvm.js";import{F as ae}from"./file-text-DlfYEdpc.js";import"./vendor-antd-core-CbYNMZQB.js";import"./vendor-sentry-Cx26FE6p.js";import"./zap-Ci_2NnzB.js";import"./globe-CUbRGoiW.js";import"./shield-check-DdgDJQI3.js";import"./users-zdM8JIUR.js";import"./SiteFooter-DgGiilEt.js";import"./mail-DSzwnJoE.js";import"./building-2-CRzOPVjz.js";const U={SEA:R,RAILWAY:re,AUTO:H,AIR:E,LOCAL:ee};function te(r,t,i){const a={"@context":"https://schema.org","@type":"Service",name:i("routePair.jsonLd.name","Доставка груза {{from}} → {{to}}",{from:r.cityFrom,to: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:i("routePair.jsonLd.description","Международная контейнерная доставка {{from}} → {{to}}. Транспорт: {{transports}}. Транзит {{transit}}.",{from:r.cityFrom,to:r.cityTo,transports:r.transportTypes.map(m=>u(m,i)).join(", ")||i("routePair.seo.onRequest","по запросу"),transit:P(r.minTransitDays,r.maxTransitDays)})};return r.lowestPriceRub&&r.lowestPriceRub>0&&(a.offers={"@type":"Offer",priceCurrency:"RUB",price:r.lowestPriceRub,priceSpecification:{"@type":"PriceSpecification",priceCurrency:"RUB",minPrice:r.lowestPriceRub,description:i("routePair.jsonLd.priceDescription","Минимальная цена за контейнер 40' (FILO). Точная сумма — в калькуляторе.")},availability:"https://schema.org/InStock"}),a}function se(r,t){const i=P(r.minTransitDays,r.maxTransitDays),a=r.transportTypes.map(p=>u(p,t)).join(", "),m=r.variants.filter(p=>p.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"," работают ")}${m}${t("routePair.seo.p3c"," проверенных перевозчиков с реальной availability'ю. Документы — коносамент, инвойс, упаковочный лист, сертификат происхождения — оформляем под ключ.")}`,t("routePair.seo.p4","Что важно знать перед отправкой: точный код ТНВЭД для растаможки, INCOTERMS-условия с продавцом, нужны ли разрешительные документы (сертификаты, MSDS для опасных, фитосан для растительной продукции). Менеджер Avalog поможет собрать пакет под ваш конкретный груз.")].join(`

`)}function ie(){return e.jsx(F,{active:null,children:e.jsx(x,{py:"lg",children:e.jsx(d,{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}=S();return e.jsxs(F,{active:null,children:[e.jsxs(z,{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(d,{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(j,{to:"/",children:[e.jsx(I,{className:"h-4 w-4"}),r("routePair.notFound.calcCta","К калькулятору")]})}),e.jsx(y,{variant:"outline",asChild:!0,children:e.jsx(j,{to:"/services",children:r("routePair.notFound.servicesCta","Все услуги")})})]})]})})})]})}function Fe(){const{t:r}=S(),{slug:t=""}=M(),i=_({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,m=P(a.minTransitDays,a.maxTransitDays),N=se(a,r),p=`/?from=${encodeURIComponent(a.cityFrom)}&to=${encodeURIComponent(a.cityTo)}`,h=`https://avalog.ru/marshrut/${encodeURIComponent(a.slug)}`,O=r("routePair.seo.onRequest","по запросу"),C=`${r("routePair.meta.titlePrefix","Доставка груза ")}${a.cityFrom} → ${a.cityTo}${r("routePair.meta.titleSuffix"," · Avalog")}`,w=`${r("routePair.meta.descPrefix","Международная доставка ")}${a.cityFrom} → ${a.cityTo}${r("routePair.meta.descTransit",": транзит ")}${m}, ${a.transportTypes.map(s=>u(s,r)).join(" · ")||O}${r("routePair.meta.descSuffix",". Прозрачные тарифы, расчёт за 5 секунд.")}`,A="https://avalog.ru/og-image.jpg",B=te(a,h,r);return e.jsxs(F,{active:null,children:[e.jsxs(z,{children:[e.jsx("title",{children:C}),e.jsx("meta",{name:"description",content:w}),e.jsx("link",{rel:"canonical",href:h}),e.jsx("link",{rel:"alternate",hrefLang:"ru",href:h}),e.jsx("link",{rel:"alternate",hrefLang:"en",href:`${h}?lng=en`}),e.jsx("link",{rel:"alternate",hrefLang:"zh",href:`${h}?lng=zho`}),e.jsx("link",{rel:"alternate",hrefLang:"x-default",href:h}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:site_name",content:"Avalog"}),e.jsx("meta",{property:"og:title",content:C}),e.jsx("meta",{property:"og:description",content:w}),e.jsx("meta",{property:"og:url",content:h}),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:C}),e.jsx("meta",{name:"twitter:description",content:w}),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(d,{size:"base",children:e.jsxs(c,{gap:2,align:"center",children:[e.jsx(j,{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(d,{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","Транзит "),m,"."," ",a.transportTypes.length>0?r("routePair.hero.available","Доступны: "):"",a.transportTypes.map(s=>u(s,r)).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:m})]}),e.jsx(c,{gap:2,wrap:!0,children:a.transportTypes.map(s=>{const l=U[s]??R;return e.jsxs(g,{variant:"default",className:"gap-1",children:[e.jsx(l,{className:"h-3 w-3"}),u(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(j,{to:p,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(j,{to:"/contacts",children:r("routePair.hero.managerCta","Уточнить у менеджера")})})]})]})})}),a.variants.length>0&&e.jsx(x,{py:"lg",bg:"surface",children:e.jsx(d,{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($,{size:"h2",children:r("routePair.variants.title","Варианты доставки")}),e.jsx(n,{variant:"lead",className:"text-text-muted",children:r("routePair.variants.lead","Виды транспорта, по которым работают наши перевозчики на этом направлении.")})]}),e.jsx(L,{cols:3,gap:6,children:a.variants.map((s,l)=>e.jsx(oe,{variant:s,calcLink:p},l))})]})})}),e.jsx(x,{py:"lg",children:e.jsx(d,{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(d,{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($,{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(K,{type:"single",collapsible:!0,children:ce(a,r).map((s,l)=>e.jsxs(G,{value:`item-${l}`,children:[e.jsx(J,{className:"text-left",children:s.q}),e.jsx(Q,{children:e.jsx(n,{className:"text-text-muted",children:s.a})})]},l))})})})]})})}),a.related.length>0&&e.jsx(x,{py:"lg",children:e.jsx(d,{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($,{size:"h2",children:r("routePair.related.title","Похожие маршруты")}),e.jsx(n,{variant:"lead",className:"text-text-muted",children:r("routePair.related.lead","Другие направления с одним из этих городов.")})]}),e.jsx(L,{cols:3,gap:4,children:a.related.map(s=>e.jsx(j,{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:u(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:p})]})}function oe({variant:r,calcLink:t}){const{t:i}=S(),a=U[r.transportType??""]??R;return e.jsxs(v,{className:"h-full",children:[e.jsxs(V,{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:u(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(j,{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(m=>u(m,t)).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{Fe as default};