import{r as u,j as s}from"./vendor-react-BwKDLVNL.js";import{aC as xs,t as T,v as z,w as m,z as E,D as hs,y as h,E as A,J as us,K as gs,F as q,W as C,Y as ls,Z as P,_ as R,$ as B,a0 as I,a1 as d,I as ts,H as F,b0 as U,x as H,aw as J,b3 as O,ay as K,B as ps,ax as D}from"./index-BwXBt7KT.js";import"./vendor-dayjs-BQpC39fM.js";import"./vendor-sentry-BncsBMgc.js";import{M as js,a as vs}from"./MarketingShell-RqVfJeW4.js";import{u as rs}from"./vendor-i18n-C6wqqoou.js";import{P as S}from"./users-CNJG6zMR.js";import{C as bs}from"./calendar-BwUN99WE.js";import{A as ns}from"./anchor-D0siUC1L.js";import{F as G}from"./file-check-CnJElRYY.js";import"./vendor-query-D-sr233n.js";import"./vendor-antd-core-4y2ghozH.js";import"./zap-9TgSbV9F.js";import"./globe-aW4lVShw.js";import"./shield-check-12mraP9n.js";import"./file-text-Bg6gtvaH.js";import"./SiteFooter-BmhXRUNO.js";import"./send-DmzYpMB-.js";import"./building-2-_l58LaZK.js";const a="tools.timeline";function os(e){return[e(`${a}.month.0`,"января"),e(`${a}.month.1`,"февраля"),e(`${a}.month.2`,"марта"),e(`${a}.month.3`,"апреля"),e(`${a}.month.4`,"мая"),e(`${a}.month.5`,"РёСЋРЅСЏ"),e(`${a}.month.6`,"июля"),e(`${a}.month.7`,"августа"),e(`${a}.month.8`,"сентября"),e(`${a}.month.9`,"октября"),e(`${a}.month.10`,"РЅРѕСЏР±СЂСЏ"),e(`${a}.month.11`,"декабря")]}const fs={production:"border-l-4 border-l-amber-500",logistics:"border-l-4 border-l-blue-500",customs:"border-l-4 border-l-orange-500",delivery:"border-l-4 border-l-green-500"};function cs(e){return{production:e(`${a}.phase.production`,"Производство"),logistics:e(`${a}.phase.logistics`,"Логистика"),customs:e(`${a}.phase.customs`,"Таможня"),delivery:e(`${a}.phase.delivery`,"Доставка")}}const $s={production:"warning",logistics:"info",customs:"error",delivery:"success"},Ns={"sea_fcl-shanghai-vladivostok":3,"sea_fcl-guangzhou-vladivostok":5,"sea_fcl-shenzhen-vladivostok":5,"sea_fcl-ningbo-vladivostok":4,"sea_fcl-tianjin-vladivostok":3,"sea_fcl-qingdao-vladivostok":3,"sea_fcl-shanghai-novorossiysk":22,"sea_fcl-guangzhou-novorossiysk":25,"sea_fcl-shenzhen-novorossiysk":25,"sea_fcl-ningbo-novorossiysk":22,"sea_fcl-tianjin-novorossiysk":24,"sea_fcl-qingdao-novorossiysk":23,"sea_lcl-shanghai-vladivostok":7,"sea_lcl-guangzhou-vladivostok":10,"sea_lcl-shenzhen-vladivostok":10,"sea_lcl-ningbo-vladivostok":9,"sea_lcl-tianjin-vladivostok":8,"sea_lcl-qingdao-vladivostok":8,"sea_lcl-shanghai-novorossiysk":28,"sea_lcl-guangzhou-novorossiysk":32,"sea_lcl-shenzhen-novorossiysk":32,"sea_lcl-ningbo-novorossiysk":29,"sea_lcl-tianjin-novorossiysk":31,"sea_lcl-qingdao-novorossiysk":30,"rail-shanghai-moscow":16,"rail-guangzhou-moscow":18,"rail-shenzhen-moscow":18,"rail-ningbo-moscow":17,"rail-tianjin-moscow":15,"rail-qingdao-moscow":15,"rail-shanghai-vladivostok":8,"rail-guangzhou-vladivostok":10,"rail-shenzhen-vladivostok":10,"rail-ningbo-vladivostok":9,"rail-tianjin-vladivostok":7,"rail-qingdao-vladivostok":7,"air-shanghai-moscow":3,"air-guangzhou-moscow":3,"air-shenzhen-moscow":3,"air-ningbo-moscow":3,"air-tianjin-moscow":3,"air-qingdao-moscow":3,"air-shanghai-vladivostok":2,"air-guangzhou-vladivostok":2,"air-shenzhen-vladivostok":2,"air-ningbo-vladivostok":2,"air-tianjin-vladivostok":2,"air-qingdao-vladivostok":2};function Z(e){return{shanghai:e(`${a}.origin.shanghai`,"Шанхай"),guangzhou:e(`${a}.origin.guangzhou`,"Гуанчжоу"),shenzhen:e(`${a}.origin.shenzhen`,"Шэньчжэнь"),ningbo:e(`${a}.origin.ningbo`,"РќРёРЅР±Рѕ"),tianjin:e(`${a}.origin.tianjin`,"Тяньцзинь"),qingdao:e(`${a}.origin.qingdao`,"Циндао")}}function Q(e){return{vladivostok:e(`${a}.dest.vladivostok`,"Владивосток"),novorossiysk:e(`${a}.dest.novorossiysk`,"РќРѕРІРѕСЂРѕСЃСЃРёР№СЃРє"),moscow:e(`${a}.dest.moscow`,"РњРѕСЃРєРІР°")}}function ys(e){return{sea_fcl:e(`${a}.mode.sea_fcl`,"РњРѕСЂРµ FCL"),sea_lcl:e(`${a}.mode.sea_lcl`,"РњРѕСЂРµ LCL"),rail:e(`${a}.mode.rail`,"Р–/Р”"),air:e(`${a}.mode.air`,"РђРІРёР°")}}function ws(e,i){const t=new Date(e);return t.setDate(t.getDate()+i),t}function _(e,i){return`${e.getDate()} ${i[e.getMonth()]}`}function f(e,i){const t=Math.abs(e),o=t%10,c=t%100;return c>=11&&c<=19?i(`${a}.daysWord.many`,"{{n}} дней",{n:e}):o===1?i(`${a}.daysWord.one`,"{{n}} день",{n:e}):o>=2&&o<=4?i(`${a}.daysWord.few`,"{{n}} РґРЅСЏ",{n:e}):i(`${a}.daysWord.many`,"{{n}} дней",{n:e})}function ks(e,i,t){const o=`${e}-${i}-${t}`;return Ns[o]??7}function Ds(e,i,t,o,c,n){const $=Z(n),N=Q(n),b=[];let p=new Date(e);const r=(L,w,V,y,W)=>{const k=new Date(p),M=ws(p,y);b.push({id:L,phase:w,name:V,durationDays:y,icon:W,startDate:k,endDate:M}),p=new Date(M)},x=ks(i,t,o);return i==="sea_fcl"||i==="sea_lcl"?(r("prod","production",n(`${a}.ms.production`,"Производство товара"),c,s.jsx(S,{className:"h-5 w-5"})),r("truck_port","logistics",n(`${a}.ms.truckPort`,"Доставка РЅР° склад экспедитора"),2,s.jsx(D,{className:"h-5 w-5"})),i==="sea_lcl"?r("consolidation","logistics",n(`${a}.ms.consolidation`,"Консолидация Рё накопление РіСЂСѓР·Р°"),5,s.jsx(S,{className:"h-5 w-5"})):r("loading","logistics",n(`${a}.ms.loading`,"Консолидация Рё РїРѕРіСЂСѓР·РєР° (CY)"),3,s.jsx(ns,{className:"h-5 w-5"})),r("sea_transit","logistics",n(`${a}.ms.seaTransit`,"РњРѕСЂСЃРєРѕР№ фрахт {{origin}} в†’ {{dest}}",{origin:$[t],dest:N[o]}),x,s.jsx(J,{className:"h-5 w-5"})),r("discharge","logistics",n(`${a}.ms.discharge`,"РџСЂРёС…РѕРґ СЃСѓРґРЅР° / выгрузка"),2,s.jsx(ns,{className:"h-5 w-5"})),r("customs","customs",n(`${a}.ms.customs`,"Таможенное оформление"),4,s.jsx(G,{className:"h-5 w-5"})),r("last_mile","delivery",n(`${a}.ms.lastMilePickup`,"Самовывоз / доставка РґРѕ склада"),o==="vladivostok"?1:2,s.jsx(D,{className:"h-5 w-5"})),o==="moscow"&&r("inland","delivery",n(`${a}.ms.inland`,"Р–/Р” или авто РґРѕ РњРѕСЃРєРІС‹"),7,s.jsx(O,{className:"h-5 w-5"}))):i==="rail"?(r("prod","production",n(`${a}.ms.production`,"Производство товара"),c,s.jsx(S,{className:"h-5 w-5"})),r("truck_depot","logistics",n(`${a}.ms.truckDepot`,"Доставка РЅР° Р¶/Рґ терминал (карго)"),3,s.jsx(D,{className:"h-5 w-5"})),r("rail_transit","logistics",n(`${a}.ms.railTransit`,"Р–/Р” транзит {{origin}} в†’ {{dest}}",{origin:$[t],dest:o==="moscow"?n(`${a}.ms.moscowViaBorder`,"РњРѕСЃРєРІР° (через Забайкальск/Брест)"):N[o]}),x,s.jsx(O,{className:"h-5 w-5"})),r("customs","customs",n(`${a}.ms.customs`,"Таможенное оформление"),3,s.jsx(G,{className:"h-5 w-5"})),r("last_mile","delivery",n(`${a}.ms.lastMileReceiver`,"Доставка РґРѕ склада получателя"),2,s.jsx(D,{className:"h-5 w-5"}))):(r("prod","production",n(`${a}.ms.production`,"Производство товара"),c,s.jsx(S,{className:"h-5 w-5"})),r("truck_airport","logistics",n(`${a}.ms.truckAirport`,"Доставка РІ аэропорт + оформление экспорта"),2,s.jsx(D,{className:"h-5 w-5"})),r("air_transit","logistics",n(`${a}.ms.airTransit`,"Авиатранзит {{origin}} в†’ {{dest}}",{origin:$[t],dest:N[o]}),x,s.jsx(K,{className:"h-5 w-5"})),r("customs","customs",n(`${a}.ms.customsAir`,"Таможенное оформление (авиа)"),2,s.jsx(G,{className:"h-5 w-5"})),r("last_mile","delivery",n(`${a}.ms.lastMileReceiver`,"Доставка РґРѕ склада получателя"),1,s.jsx(D,{className:"h-5 w-5"}))),b}function _s(e,i){return e.endDate<=i?"completed":e.startDate<=i&&i<e.endDate?"current":"upcoming"}const Ls={completed:"bg-green-500",current:"bg-blue-500 animate-pulse",upcoming:"bg-slate-300"},Ts={completed:"success",current:"info",upcoming:"neutral"};function zs(e){return{completed:e(`${a}.status.completed`,"Выполнено"),current:e(`${a}.status.current`,"Р’ процессе"),upcoming:e(`${a}.status.upcoming`,"Ожидается")}}function Cs({milestone:e,index:i,total:t,today:o}){const{t:c}=rs(),n=os(c),$=cs(c),N=zs(c),b=_s(e,o),p=i===t-1;return s.jsxs("div",{className:"flex gap-4",children:[s.jsxs("div",{className:"flex flex-col items-center",children:[s.jsx("div",{className:`w-3.5 h-3.5 rounded-full shrink-0 mt-1 ring-2 ring-white shadow ${Ls[b]}`}),!p&&s.jsx("div",{className:"w-px flex-1 bg-slate-200 mt-1 mb-0 min-h-[2rem]"})]}),s.jsx("div",{className:`flex-1 mb-4 rounded-lg border bg-white shadow-sm ${fs[e.phase]}`,children:s.jsx("div",{className:"p-4",children:s.jsxs("div",{className:"flex items-start justify-between gap-3 flex-wrap",children:[s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx("div",{className:"w-8 h-8 rounded-md bg-slate-100 flex items-center justify-center shrink-0 text-slate-600",children:e.icon}),s.jsxs("div",{children:[s.jsx("div",{className:"flex items-center gap-2 flex-wrap mb-1",children:s.jsxs("span",{className:"font-semibold text-sm text-slate-900",children:[i+1,". ",e.name]})}),s.jsxs("div",{className:"flex items-center gap-1.5 text-xs text-slate-500",children:[s.jsx(bs,{className:"h-3 w-3"}),s.jsxs("span",{children:[_(e.startDate,n)," —"," ",_(e.endDate,n)]}),s.jsx("span",{className:"mx-1 text-slate-300",children:"В·"}),s.jsx(U,{className:"h-3 w-3"}),s.jsx("span",{children:f(e.durationDays,c)})]})]})]}),s.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[s.jsx(E,{variant:$s[e.phase],children:$[e.phase]}),s.jsx(E,{variant:Ts[b],children:N[b]})]})]})})})]})}function Fs(e){return[{event:e(`${a}.tip.0.event`,"Новый РіРѕРґ (31 декабря)"),seaDeadline:e(`${a}.tip.0.seaDeadline`,"1 октября"),railDeadline:e(`${a}.tip.0.railDeadline`,"15 РЅРѕСЏР±СЂСЏ"),airDeadline:e(`${a}.tip.0.airDeadline`,"5 декабря"),note:""},{event:e(`${a}.tip.1.event`,"8 марта"),seaDeadline:e(`${a}.tip.1.seaDeadline`,"15 января"),railDeadline:e(`${a}.tip.1.railDeadline`,"1 февраля"),airDeadline:e(`${a}.tip.1.airDeadline`,"20 февраля"),note:""},{event:e(`${a}.tip.2.event`,"1 мая (Праздник труда)"),seaDeadline:e(`${a}.tip.2.seaDeadline`,"1 марта"),railDeadline:e(`${a}.tip.2.railDeadline`,"20 марта"),airDeadline:e(`${a}.tip.2.airDeadline`,"15 апреля"),note:""},{event:e(`${a}.tip.3.event`,"Китайский Новый РіРѕРґ (февраль)"),seaDeadline:e(`${a}.tip.3.seaDeadline`,"РґРѕ 10 января"),railDeadline:e(`${a}.tip.3.railDeadline`,"РґРѕ 10 января"),airDeadline:e(`${a}.tip.3.airDeadline`,"РґРѕ 25 января"),note:e(`${a}.tip.3.note`,"Добавить 3–4 недели буфера РЅР° закрытие фабрик")}]}function Ss(e){const i=Z(e),t=Q(e);return[{origin:i.shanghai,dest:t.vladivostok,seaFcl:"3",seaLcl:"7",rail:"8",air:"2"},{origin:i.guangzhou,dest:t.vladivostok,seaFcl:"5",seaLcl:"10",rail:"10",air:"2"},{origin:i.shenzhen,dest:t.vladivostok,seaFcl:"5",seaLcl:"10",rail:"10",air:"2"},{origin:i.ningbo,dest:t.vladivostok,seaFcl:"4",seaLcl:"9",rail:"9",air:"2"},{origin:i.tianjin,dest:t.vladivostok,seaFcl:"3",seaLcl:"8",rail:"7",air:"2"},{origin:i.qingdao,dest:t.vladivostok,seaFcl:"3",seaLcl:"8",rail:"7",air:"2"},{origin:i.shanghai,dest:t.novorossiysk,seaFcl:"22",seaLcl:"28",rail:"—",air:"3"},{origin:i.guangzhou,dest:t.novorossiysk,seaFcl:"25",seaLcl:"32",rail:"—",air:"3"},{origin:i.shenzhen,dest:t.novorossiysk,seaFcl:"25",seaLcl:"32",rail:"—",air:"3"},{origin:i.ningbo,dest:t.novorossiysk,seaFcl:"22",seaLcl:"29",rail:"—",air:"3"},{origin:i.tianjin,dest:t.novorossiysk,seaFcl:"24",seaLcl:"31",rail:"—",air:"3"},{origin:i.qingdao,dest:t.novorossiysk,seaFcl:"23",seaLcl:"30",rail:"—",air:"3"},{origin:i.shanghai,dest:t.moscow,seaFcl:"22+7",seaLcl:"28+7",rail:"16",air:"3"},{origin:i.guangzhou,dest:t.moscow,seaFcl:"25+7",seaLcl:"32+7",rail:"18",air:"3"},{origin:i.shenzhen,dest:t.moscow,seaFcl:"25+7",seaLcl:"32+7",rail:"18",air:"3"},{origin:i.ningbo,dest:t.moscow,seaFcl:"22+7",seaLcl:"29+7",rail:"17",air:"3"},{origin:i.tianjin,dest:t.moscow,seaFcl:"24+7",seaLcl:"31+7",rail:"15",air:"3"},{origin:i.qingdao,dest:t.moscow,seaFcl:"23+7",seaLcl:"30+7",rail:"15",air:"3"}]}function Xs(){const{t:e}=rs(),i=new Date,t=os(e),o=cs(e),c=Z(e),n=Q(e),$=ys(e),N=Fs(e),b=Ss(e),[p,r]=u.useState(()=>new Date().toISOString().split("T")[0]),[x,L]=u.useState("sea_fcl"),[w,V]=u.useState("shanghai"),[y,W]=u.useState("vladivostok"),[k,M]=u.useState("14"),[X,ds]=u.useState("20"),ss=k==="custom"?Math.max(1,parseInt(X,10)||20):parseInt(k,10),j=u.useMemo(()=>{const l=new Date(p);return isNaN(l.getTime())?new Date:l},[p]),v=u.useMemo(()=>Ds(j,x,w,y,ss,e),[j,x,w,y,ss]),es=u.useMemo(()=>v.reduce((l,g)=>l+g.durationDays,0),[v]),as=u.useMemo(()=>v.length>0?v[v.length-1].endDate:j,[v,j]),ms=u.useMemo(()=>x!=="sea_fcl"&&x!=="sea_lcl"?!1:Math.abs(j.getTime()-i.getTime())/(1e3*60*60*24)<=5,[x,j,i]),Y=v.find(l=>l.id==="loading"||l.id==="consolidation"),is=Y==null?void 0:Y.startDate;return s.jsxs(js,{active:"tools",children:[s.jsxs(xs,{children:[s.jsx("title",{children:e(`${a}.seo.title`,"Тайм-лайн поставки РёР· Китая — план этапов РѕС‚ заказа РґРѕ доставки | Avalog")}),s.jsx("meta",{name:"description",content:e(`${a}.seo.description`,"Бесплатный планировщик СЃСЂРѕРєРѕРІ поставки РёР· Китая РІ Р РѕСЃСЃРёСЋ. Укажите дату заказа, РІРёРґ транспорта Рё РіРѕСЂРѕРґ отправки — получите точный тайм-лайн всех этапов.")}),s.jsx("link",{rel:"canonical",href:"https://avalog.ru/tools/timeline"})]}),s.jsx(T,{py:"lg",bg:"surface",children:s.jsx(z,{size:"base",children:s.jsx(m,{gap:6,children:s.jsxs(m,{gap:4,className:"max-w-3xl",children:[s.jsx(E,{variant:"info",children:e(`${a}.hero.badge`,"Рнструмент В· Планирование цепочки поставок")}),s.jsx(hs,{size:"sm",as:"h1",children:e(`${a}.hero.title`,"Тайм-лайн поставки РёР· Китая")}),s.jsx(h,{variant:"lead",className:"max-w-2xl",children:e(`${a}.hero.lead`,"Укажите дату размещения заказа, РІРёРґ транспорта Рё маршрут — получите пошаговый план всех этапов РѕС‚ производства РґРѕ доставки РЅР° склад СЃ точными датами РїРѕ каждому этапу.")})]})})})}),s.jsx(T,{py:"lg",children:s.jsx(z,{size:"base",children:s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[380px_1fr] gap-8 items-start",children:[s.jsxs(A,{className:"sticky top-6",children:[s.jsx(us,{children:s.jsx(gs,{children:e(`${a}.form.title`,"Параметры поставки")})}),s.jsx(q,{children:s.jsxs(m,{gap:4,children:[s.jsxs("div",{className:"flex flex-col gap-1.5",children:[s.jsx(C,{htmlFor:"order-date",children:e(`${a}.form.orderDate`,"Дата размещения заказа")}),s.jsx(ls,{id:"order-date",type:"date",value:p,onChange:l=>r(l.target.value)})]}),s.jsxs("div",{className:"flex flex-col gap-1.5",children:[s.jsx(C,{children:e(`${a}.form.transport`,"Р’РёРґ транспорта")}),s.jsxs(P,{value:x,onValueChange:l=>L(l),children:[s.jsx(R,{children:s.jsx(B,{})}),s.jsxs(I,{children:[s.jsx(d,{value:"sea_fcl",children:e(`${a}.form.modeSeaFcl`,"РњРѕСЂРµ FCL (полный контейнер)")}),s.jsx(d,{value:"sea_lcl",children:e(`${a}.form.modeSeaLcl`,"РњРѕСЂРµ LCL (сборный)")}),s.jsx(d,{value:"rail",children:e(`${a}.form.modeRail`,"Р–/Р” (контейнерный поезд)")}),s.jsx(d,{value:"air",children:e(`${a}.form.modeAir`,"РђРІРёР°")})]})]})]}),s.jsxs("div",{className:"flex flex-col gap-1.5",children:[s.jsx(C,{children:e(`${a}.form.origin`,"Откуда (РіРѕСЂРѕРґ РІ Китае)")}),s.jsxs(P,{value:w,onValueChange:l=>V(l),children:[s.jsx(R,{children:s.jsx(B,{})}),s.jsxs(I,{children:[s.jsx(d,{value:"shanghai",children:c.shanghai}),s.jsx(d,{value:"guangzhou",children:c.guangzhou}),s.jsx(d,{value:"shenzhen",children:c.shenzhen}),s.jsx(d,{value:"ningbo",children:c.ningbo}),s.jsx(d,{value:"tianjin",children:c.tianjin}),s.jsx(d,{value:"qingdao",children:c.qingdao})]})]})]}),s.jsxs("div",{className:"flex flex-col gap-1.5",children:[s.jsx(C,{children:e(`${a}.form.dest`,"РљСѓРґР° (РіРѕСЂРѕРґ назначения)")}),s.jsxs(P,{value:y,onValueChange:l=>{const g=l;W(g),x==="rail"&&g==="novorossiysk"&&L("sea_fcl")},children:[s.jsx(R,{children:s.jsx(B,{})}),s.jsxs(I,{children:[s.jsx(d,{value:"vladivostok",children:n.vladivostok}),s.jsx(d,{value:"novorossiysk",children:n.novorossiysk}),s.jsx(d,{value:"moscow",children:n.moscow})]})]})]}),s.jsxs("div",{className:"flex flex-col gap-1.5",children:[s.jsx(C,{children:e(`${a}.form.production`,"Производство (дней)")}),s.jsxs(P,{value:k,onValueChange:M,children:[s.jsx(R,{children:s.jsx(B,{})}),s.jsxs(I,{children:[s.jsx(d,{value:"7",children:f(7,e)}),s.jsx(d,{value:"14",children:f(14,e)}),s.jsx(d,{value:"21",children:f(21,e)}),s.jsx(d,{value:"30",children:f(30,e)}),s.jsx(d,{value:"45",children:f(45,e)}),s.jsx(d,{value:"custom",children:e(`${a}.form.other`,"Другое...")})]})]}),k==="custom"&&s.jsx(ls,{type:"number",min:1,max:180,value:X,onChange:l=>ds(l.target.value),placeholder:e(`${a}.form.daysPlaceholder`,"Введите количество дней")})]}),s.jsx(ts,{}),s.jsxs(m,{gap:2,children:[s.jsx(h,{variant:"muted",as:"span",className:"text-xs font-semibold uppercase tracking-wide",children:e(`${a}.form.phasesLabel`,"Фазы:")}),s.jsx("div",{className:"grid grid-cols-2 gap-1.5",children:Object.keys(o).map(l=>s.jsxs("div",{className:"flex items-center gap-1.5 text-xs text-slate-600",children:[s.jsx("span",{className:`w-2.5 h-4 rounded-sm ${l==="production"?"bg-amber-500":l==="logistics"?"bg-blue-500":l==="customs"?"bg-orange-500":"bg-green-500"}`}),o[l]]},l))})]})]})})]}),s.jsxs(m,{gap:6,children:[s.jsx(A,{className:"border-primary/30 bg-primary-light",children:s.jsx(q,{className:"pt-5 pb-5",children:s.jsxs(m,{gap:4,children:[s.jsxs("div",{className:"flex items-center justify-between flex-wrap gap-3",children:[s.jsxs(F,{size:"h4",className:"text-primary",children:[$[x],": ",c[w]," в†’"," ",n[y]]}),s.jsx(E,{variant:"info",children:e(`${a}.summary.totalBadge`,"{{days}} суммарно",{days:f(es,e)})})]}),s.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[s.jsxs("div",{className:"rounded-lg bg-white/80 px-4 py-3 border border-primary/20",children:[s.jsx(h,{variant:"muted",className:"text-xs mb-1",children:e(`${a}.summary.orderDate`,"Дата заказа")}),s.jsxs("p",{className:"font-semibold text-slate-900 text-sm",children:[_(j,t)," ",j.getFullYear()]})]}),s.jsxs("div",{className:"rounded-lg bg-white/80 px-4 py-3 border border-primary/20",children:[s.jsx(h,{variant:"muted",className:"text-xs mb-1",children:e(`${a}.summary.fullTime`,"Полное время")}),s.jsx("p",{className:"font-semibold text-slate-900 text-sm",children:f(es,e)})]}),s.jsxs("div",{className:"rounded-lg bg-white/80 px-4 py-3 border border-primary/20",children:[s.jsx(h,{variant:"muted",className:"text-xs mb-1",children:e(`${a}.summary.estDelivery`,"Ориентировочная доставка")}),s.jsxs("p",{className:"font-semibold text-green-700 text-sm",children:[_(as,t)," ",as.getFullYear()]})]})]}),ms&&is&&s.jsxs("div",{className:"rounded-lg bg-amber-50 border border-amber-300 px-4 py-3 flex items-start gap-2",children:[s.jsx(U,{className:"h-4 w-4 text-amber-600 shrink-0 mt-0.5"}),s.jsxs("div",{children:[s.jsx("span",{className:"text-xs font-semibold text-amber-700 uppercase tracking-wide block mb-0.5",children:e(`${a}.cutoff.title`,"Внимание: CY Cut-off")}),s.jsx(h,{variant:"muted",className:"text-xs text-amber-800",children:e(`${a}.cutoff.body`,"РџСЂРё дате заказа {{orderDate}} СЃСЂРѕРє подачи контейнера РЅР° терминал (CY cut-off) приходится РЅР° {{cutoffDate}}. Уточните актуальный cut-off Сѓ экспедитора — РѕРЅ может совпасть СЃ ближайшим отправлением.",{orderDate:_(j,t),cutoffDate:_(is,t)})})]})]})]})})}),s.jsxs(m,{gap:2,children:[s.jsx(F,{size:"h4",children:e(`${a}.stagesTitle`,"Ртапы поставки")}),s.jsx("div",{className:"pt-2",children:v.map((l,g)=>s.jsx(Cs,{milestone:l,index:g,total:v.length,today:i},l.id))})]})]})]})})}),s.jsx(ts,{}),s.jsx(T,{py:"lg",bg:"surface",children:s.jsx(z,{size:"base",children:s.jsxs(m,{gap:6,children:[s.jsxs(m,{gap:2,children:[s.jsx(F,{size:"h2",children:e(`${a}.tips.title`,"РљРѕРіРґР° размещать заказ для доставки Рє ключевым датам")}),s.jsx(h,{variant:"muted",children:e(`${a}.tips.body`,"Рассчитано СЃ учётом стандартных СЃСЂРѕРєРѕРІ производства 14–21 день Рё полного цикла доставки. Добавьте буфер 7–10 дней для надёжности.")})]}),s.jsx(A,{children:s.jsx(q,{className:"pt-0 pb-0",children:s.jsxs("table",{className:"w-full text-sm",children:[s.jsx("thead",{children:s.jsxs("tr",{className:"border-b border-border",children:[s.jsx("th",{className:"text-left py-3 pr-4 font-semibold text-slate-700",children:e(`${a}.tipsTable.event`,"Событие")}),s.jsx("th",{className:"text-left py-3 px-2 font-semibold text-blue-700",children:s.jsxs(H,{gap:1,align:"center",children:[s.jsx(J,{className:"h-3.5 w-3.5"}),s.jsx("span",{children:e(`${a}.tipsTable.sea`,"РњРѕСЂРµ")})]})}),s.jsx("th",{className:"text-left py-3 px-2 font-semibold text-slate-700",children:s.jsxs(H,{gap:1,align:"center",children:[s.jsx(O,{className:"h-3.5 w-3.5"}),s.jsx("span",{children:e(`${a}.tipsTable.rail`,"Р–/Р”")})]})}),s.jsx("th",{className:"text-left py-3 pl-2 font-semibold text-slate-700",children:s.jsxs(H,{gap:1,align:"center",children:[s.jsx(K,{className:"h-3.5 w-3.5"}),s.jsx("span",{children:e(`${a}.tipsTable.air`,"РђРІРёР°")})]})})]})}),s.jsx("tbody",{children:N.map((l,g)=>s.jsxs("tr",{className:"border-b border-border last:border-0 hover:bg-slate-50 transition-colors",children:[s.jsx("td",{className:"py-3 pr-4",children:s.jsxs(m,{gap:1,children:[s.jsx("span",{className:"font-medium text-slate-900",children:l.event}),l.note&&s.jsx("span",{className:"text-xs text-amber-600",children:l.note})]})}),s.jsx("td",{className:"py-3 px-2 text-blue-700 font-medium",children:l.seaDeadline}),s.jsx("td",{className:"py-3 px-2 text-slate-700",children:l.railDeadline}),s.jsx("td",{className:"py-3 pl-2 text-slate-700",children:l.airDeadline})]},g))})]})})}),s.jsxs("div",{className:"rounded-lg bg-amber-50 border border-amber-200 px-4 py-3 flex items-start gap-3",children:[s.jsx(U,{className:"h-5 w-5 text-amber-600 shrink-0 mt-0.5"}),s.jsxs(m,{gap:1,children:[s.jsx(h,{weight:"semibold",className:"text-amber-900 text-sm",children:e(`${a}.cny.title`,"Китайский Новый РіРѕРґ — добавьте 3–4 недели")}),s.jsx(h,{variant:"muted",className:"text-xs",children:e(`${a}.cny.body`,"Р’ феврале большинство фабрик закрыто РЅР° 2–4 недели. Ставки фрахта растут РЅР° 30–50%. Планируйте РІСЃРµ поставки СЃ учётом этого буфера.")})]})]})]})})}),s.jsx(T,{py:"lg",children:s.jsx(z,{size:"base",children:s.jsxs(m,{gap:6,children:[s.jsxs(m,{gap:2,children:[s.jsx(F,{size:"h2",children:e(`${a}.transit.title`,"Справочник: СЃСЂРѕРєРё транзита (только фрахт, дней)")}),s.jsx(h,{variant:"muted",children:e(`${a}.transit.body`,"Только время РІ пути РѕС‚ порта/аэропорта отправления РґРѕ порта/аэропорта назначения. РќРµ включает производство, таможню Рё внутреннюю доставку.")})]}),s.jsx(A,{children:s.jsx(q,{className:"pt-0 pb-0 overflow-x-auto",children:s.jsxs("table",{className:"w-full text-sm min-w-[560px]",children:[s.jsx("thead",{children:s.jsxs("tr",{className:"border-b border-border bg-slate-50",children:[s.jsx("th",{className:"text-left py-3 px-3 font-semibold text-slate-700 w-28",children:e(`${a}.transitTable.from`,"Откуда")}),s.jsx("th",{className:"text-left py-3 px-3 font-semibold text-slate-700 w-32",children:e(`${a}.transitTable.to`,"РљСѓРґР°")}),s.jsx("th",{className:"text-center py-3 px-3 font-semibold text-blue-700",children:s.jsxs("div",{className:"flex items-center justify-center gap-1",children:[s.jsx(J,{className:"h-3.5 w-3.5"}),s.jsx("span",{children:e(`${a}.transitTable.seaFcl`,"РњРѕСЂРµ FCL")})]})}),s.jsx("th",{className:"text-center py-3 px-3 font-semibold text-blue-600",children:s.jsxs("div",{className:"flex items-center justify-center gap-1",children:[s.jsx(S,{className:"h-3.5 w-3.5"}),s.jsx("span",{children:e(`${a}.transitTable.seaLcl`,"РњРѕСЂРµ LCL")})]})}),s.jsx("th",{className:"text-center py-3 px-3 font-semibold text-slate-700",children:s.jsxs("div",{className:"flex items-center justify-center gap-1",children:[s.jsx(O,{className:"h-3.5 w-3.5"}),s.jsx("span",{children:e(`${a}.transitTable.rail`,"Р–/Р”")})]})}),s.jsx("th",{className:"text-center py-3 px-3 font-semibold text-slate-700",children:s.jsxs("div",{className:"flex items-center justify-center gap-1",children:[s.jsx(K,{className:"h-3.5 w-3.5"}),s.jsx("span",{children:e(`${a}.transitTable.air`,"РђРІРёР°")})]})})]})}),s.jsx("tbody",{children:b.map((l,g)=>s.jsxs("tr",{className:"border-b border-border last:border-0 hover:bg-slate-50 transition-colors",children:[s.jsx("td",{className:"py-2.5 px-3 text-slate-700",children:l.origin}),s.jsx("td",{className:"py-2.5 px-3 font-medium text-slate-900",children:l.dest}),s.jsx("td",{className:"py-2.5 px-3 text-center text-blue-700 font-medium",children:l.seaFcl}),s.jsx("td",{className:"py-2.5 px-3 text-center text-blue-600",children:l.seaLcl}),s.jsx("td",{className:"py-2.5 px-3 text-center text-slate-700",children:l.rail}),s.jsx("td",{className:"py-2.5 px-3 text-center text-slate-700",children:l.air})]},g))})]})})}),s.jsx(h,{variant:"muted",className:"text-xs",children:e(`${a}.transit.footnote`,"* Для маршрута через РќРѕРІРѕСЂРѕСЃСЃРёР№СЃРє Р¶/Рґ РЅРµ применяется как самостоятельный маршрут. РЎСЂРѕРєРё «Море в†’ Москва» включают дополнительные 7 дней РЅР° доставку СЃ РќРѕРІРѕСЂРѕСЃСЃРёР№СЃРєР° или Владивостока. LCL-СЃСЂРѕРєРё включают ожидание консолидации (+3–5 дней Рє FCL).")})]})})}),s.jsx(T,{py:"lg",bg:"surface",children:s.jsx(z,{size:"base",children:s.jsxs("div",{className:"rounded-2xl bg-primary-light border border-primary/20 px-8 py-10 flex flex-col md:flex-row items-center justify-between gap-6",children:[s.jsxs(m,{gap:2,className:"max-w-xl",children:[s.jsx(F,{size:"h3",className:"text-primary",children:e(`${a}.cta.title`,"Рассчитайте стоимость перевозки")}),s.jsx(h,{variant:"muted",children:e(`${a}.cta.body`,"Получите точный расчёт ставок РѕС‚ проверенных перевозчиков РїРѕ вашему маршруту — РњРѕСЂРµ, Р–/Р” Рё РђРІРёР° РІ РѕРґРЅРѕРј сравнении.")})]}),s.jsx(ps,{size:"lg",asChild:!0,className:"shrink-0",children:s.jsx("a",{href:"/",children:e(`${a}.cta.button`,"Открыть калькулятор")})})]})})}),s.jsx(vs,{})]})}export{Xs as default};