PageSourceSearch

https://rynda.io/_next/static/chunks/73529-fbf4cd2010f23b1f.js

js rynda.io collected 2026-10-08 09:12:00 UTC 38,527 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[73529],{31977:(e,t,s)=>{function a(e){return"/ru"===e||e.startsWith("/ru/")?"ru":"en"}function l(e){return a(e)}function r(e,t){let s=t.startsWith("/")?t:"/".concat(t);return"ru"===e?"/"===s?"/ru":"".concat("/ru").concat(s):s}function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/dashboard";return e&&"/"===e[0]&&"/"!==e[1]&&"\\"!==e[1]?e:t}function i(e,t){return r(e,t?"/news/".concat(t):"/news")}function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en";return r(t,e?"/blog/".concat(e):"/blog")}s.d(t,{EK:()=>n,FG:()=>l,I9:()=>a,Js:()=>r,_N:()=>i,np:()=>o})},62500:(e,t,s)=>{s.d(t,{A:()=>x});var a=s(95155),l=s(12115),r=s(18955),n=s(51567),i=s(65229);let o="rynda.board.recentPorts";function c(){try{let e=localStorage.getItem(o),t=e?JSON.parse(e):[];return Array.isArray(t)?t.slice(0,5):[]}catch(e){return[]}}function d(e){let{text:t,query:s}=e,l=s.trim();if(l.length<2)return(0,a.jsx)(a.Fragment,{children:t});let r=t.toLowerCase().indexOf(l.toLowerCase());return -1===r?(0,a.jsx)(a.Fragment,{children:t}):(0,a.jsxs)(a.Fragment,{children:[t.slice(0,r),(0,a.jsx)("span",{className:"bg-blue-100 text-blue-900 rounded-[3px]",children:t.slice(r,r+l.length)}),t.slice(r+l.length)]})}function x(e){let{label:t,icon:s,value:x,placeholder:u,onChange:m,onCommit:h,onSelectPort:p}=e,b=(0,r.c)("board.search"),g=(0,n.Ym)(),[f,w]=(0,l.useState)([]),[v,j]=(0,l.useState)(!1),[N,y]=(0,l.useState)(!1),k=(0,l.useRef)(null),_=(0,l.useRef)(null),C=(0,l.useRef)("port-ac-".concat(Math.random().toString(36).slice(2,8))),A=e=>"en"===g?e.name||e.nameRu:e.nameRu||e.name,R=e=>{var t;return null!=(t="en"===g?e.country:e.countryRu||e.country)?t:null};(0,l.useEffect)(()=>{let e=e=>{_.current&&!_.current.contains(e.target)&&j(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let S=e=>{let t=A(e);try{let t=[e,...c().filter(t=>t.id!==e.id)].slice(0,5);localStorage.setItem(o,JSON.stringify(t))}catch(e){}m(t),h(t),null==p||p(e),j(!1)};return(0,a.jsxs)("div",{ref:_,className:"relative flex-1 min-w-0",children:[(0,a.jsxs)("label",{htmlFor:C.current,className:"flex flex-col gap-0.5 px-4 py-2.5 rounded-xl cursor-text hover:bg-slate-50 transition-colors",children:[(0,a.jsx)("span",{className:"text-[11px] font-semibold uppercase tracking-wider text-slate-500",children:t}),(0,a.jsxs)("span",{className:"flex items-center gap-2",children:[s,(0,a.jsx)("input",{id:C.current,type:"text",role:"combobox","aria-expanded":v,"aria-haspopup":"listbox","aria-controls":"".concat(C.current,"-list"),"aria-autocomplete":"list",value:x,placeholder:u,onChange:e=>{m(e.target.value),(e=>{if(k.current&&clearTimeout(k.current),e.trim().length<2)return w([]);k.current=setTimeout(async()=>{try{let t=await fetch("/api/ports/search?q=".concat(encodeURIComponent(e.trim())));if(!t.ok)return;let s=await t.json();w(s.slice(0,8)),y(!1),j(!0)}catch(e){}},250)})(e.target.value),""===e.target.value&&h("")},onFocus:()=>{if(f.length>0)j(!0);else if(!x.trim()){let e=c();e.length>0&&(w(e),y(!0),j(!0))}},onKeyDown:e=>{"Enter"===e.key&&v&&f.length>0&&(e.preventDefault(),S(f[0])),"Escape"===e.key&&j(!1)},className:"w-full text-[15px] font-semibold text-slate-900 placeholder:font-medium placeholder:text-slate-400 bg-transparent focus:outline-none min-w-0"}),x&&(0,a.jsx)("button",{type:"button",onClick:()=>{m(""),h(""),w([]),j(!1)},"aria-label":b("clear"),className:"-m-1.5 p-3 rounded-full text-slate-400 hover:text-slate-600 hover:bg-slate-100 shrink-0",children:(0,a.jsx)(i.A,{className:"w-3.5 h-3.5","aria-hidden":"true"})})]})]}),v&&(0,a.jsx)("ul",{id:"".concat(C.current,"-list"),role:"listbox",className:"absolute left-0 right-0 top-full mt-2 bg-white border border-slate-200 rounded-2xl shadow-xl overflow-hidden z-30 max-h-72 overflow-y-auto",children:0===f.length?(0,a.jsx)("li",{className:"px-4 py-3 text-sm text-slate-500",children:b("noPorts")}):f.map(e=>(0,a.jsx)("li",{role:"option","aria-selected":"false",children:(0,a.jsxs)("button",{type:"button",onClick:()=>S(e),className:"w-full text-left px-4 py-2.5 hover:bg-blue-50 focus:bg-blue-50 focus:outline-none flex flex-col",children:[(0,a.jsx)("span",{className:"text-sm font-semibold text-slate-900",children:N?A(e):(0,a.jsx)(d,{text:A(e),query:x})}),R(e)&&(0,a.jsx)("span",{className:"text-xs text-slate-500",children:R(e)})]})},e.id))})]})}},73529:(e,t,s)=>{s.d(t,{default:()=>M});var a=s(95155),l=s(12115),r=s(52619),n=s.n(r),i=s(20063),o=s(18955),c=s(51567),d=s(26617),x=s(80197),u=s(6191),m=s(86651),h=s(21873),p=s(39847),b=s(84642),g=s(91456),f=s(1505),w=s(24033),v=s(35299);let j=["part-cargo","shipload","consecutive","freight-request"],N=["time-charter","voyage-charter"];var y=s(31977),k=s(25135),_=s(44980),C=s(47377),A=s(16485),R=s(10554);function S(e){let{label:t,value:s,onChange:l}=e,r=(0,o.c)("board.search"),n=(0,c.Ym)(),i=s?(0,R.uT)("".concat(s,"T00:00:00Z"),n):null;return(0,a.jsxs)("label",{className:"relative flex-1 flex flex-col gap-0.5 px-4 py-2.5 rounded-xl cursor-pointer hover:bg-slate-50 transition-colors",children:[(0,a.jsx)("span",{className:"text-[11px] font-semibold uppercase tracking-wider text-slate-500",children:t}),(0,a.jsxs)("span",{className:"flex items-center gap-2 min-h-[22px]",children:[(0,a.jsx)(A.A,{className:"w-4 h-4 shrink-0 ".concat(i?"text-blue-600":"text-slate-400"),"aria-hidden":"true"}),(0,a.jsx)("span",{className:"text-[15px] ".concat(i?"font-semibold text-slate-900":"font-medium text-slate-500"),children:null!=i?i:r("anyDate")})]}),(0,a.jsx)("input",{type:"date",value:s,onChange:e=>l(e.target.value),"aria-label":t,className:"absolute inset-0 w-full h-full opacity-0 cursor-pointer [&::-webkit-calendar-picker-indicator]:w-full [&::-webkit-calendar-picker-indicator]:h-full"})]})}var E=s(9058),T=s(78435),D=s(5937),F=s(12048);function O(e){let{side:t,items:s,onContact:l,contactPendingKey:r}=e,n=(0,o.c)("board"),d=(0,o.c)("common"),x=(0,o.c)("offerTypes"),u=(0,c.Ym)(),m=(0,i.useRouter)(),h="px-2.5 py-3 text-left text-[11px] font-semibold uppercase tracking-wider text-slate-500 
1whitespace-nowrap",p="px-2.5 py-3 text-sm align-middle";return(0,a.jsx)("div",{className:"bg-white border border-slate-900/[0.06] rounded-[20px] shadow-sm overflow-x-auto",children:(0,a.jsxs)("table",{className:"w-full min-w-[820px] border-collapse",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{className:"border-b border-slate-900/[0.08] bg-slate-50/70",children:[(0,a.jsx)("th",{scope:"col",className:h,children:n("table.listing")}),(0,a.jsx)("th",{scope:"col",className:h,children:"cargo"===t?n("table.route"):n("table.openPort")}),(0,a.jsx)("th",{scope:"col",className:h,children:n("table.date")}),(0,a.jsx)("th",{scope:"col",className:"".concat(h," text-right"),children:"cargo"===t?n("table.size"):n("table.dwt")}),(0,a.jsx)("th",{scope:"col",className:h,children:"cargo"===t?n("table.cargo"):n("table.vessel")}),(0,a.jsx)("th",{scope:"col",className:"".concat(h," text-right"),children:n("table.money")}),(0,a.jsx)("th",{scope:"col",className:h,children:n("table.source")}),(0,a.jsx)("th",{scope:"col",className:"".concat(h," sticky right-0 bg-slate-50/70"),children:(0,a.jsx)("span",{className:"sr-only",children:n("table.actions")})})]})}),(0,a.jsx)("tbody",{children:s.map(e=>{var s,i,o,c,h,b,g;let f=e.detailPath?"broker-cargo"===e.ref.kind?(0,y.Js)(u,e.detailPath):e.detailPath:null,w="cargo"===t?e.cargoTypeKey?x("cargo.".concat(e.cargoTypeKey)):(0,R.mk)(e,u):e.vesselTypeKey?x("vessel.".concat(e.vesselTypeKey)):(0,R.i_)(e,u);return(0,a.jsxs)("tr",{onClick:()=>{var s;f&&((0,k.Jt)(_.R.BOARD_LISTING_OPENED,{side:t,kind:e.ref.kind,listingId:e.ref.id,source:e.source,dealTag:null!=(s=e.dealTag)?s:null,view:"table"}),m.push(f))},className:"group border-b border-slate-900/[0.05] last:border-b-0 transition-colors ".concat(f?"cursor-pointer hover:bg-blue-50/40":""),children:[(0,a.jsx)("td",{className:"".concat(p," min-w-[150px] max-w-[210px]"),children:(0,a.jsxs)("span",{className:"flex items-start gap-2",children:[(0,a.jsx)("span",{"aria-hidden":"true",className:"w-2 h-2 rounded-full shrink-0 mt-1.5",style:{background:e.dealTag?null==(s=C.M[e.dealTag])?void 0:s.color:"#CBD5E1"}}),(0,a.jsxs)("span",{className:"flex flex-col gap-0.5 min-w-0",children:[(0,a.jsxs)("span",{className:"flex items-center gap-1.5 min-w-0",children:[(0,a.jsx)("span",{className:"text-[13px] font-bold text-slate-900 leading-snug line-clamp-1",children:(0,R.zc)(e,u)}),e.isNew&&(0,a.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-emerald-500 shrink-0","aria-label":n("card.new")}),e.isPinned&&(0,a.jsx)(E.A,{className:"w-3.5 h-3.5 text-amber-600 shrink-0","aria-label":n("card.pinned")})]}),e.dealTag&&(0,a.jsx)("span",{className:"text-[10px] font-bold uppercase tracking-[0.08em]",style:{color:null==(i=C.M[e.dealTag])?void 0:i.color},children:n("tags.".concat(e.dealTag))})]})]})}),(0,a.jsx)("td",{className:"".concat(p," font-semibold text-slate-900"),children:"cargo"===t?(0,a.jsxs)("span",{className:"flex items-center gap-2.5",children:[(0,a.jsxs)("svg",{width:"10",height:"34",viewBox:"0 0 10 34",fill:"none","aria-hidden":"true",className:"shrink-0",children:[(0,a.jsx)("circle",{cx:"5",cy:"5",r:"3",stroke:"#2563EB",strokeWidth:"2"}),(0,a.jsx)("path",{d:"M5 10v13",stroke:"#CBD5E1",strokeWidth:"2",strokeDasharray:"1 4",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M1.5 26.5L5 30l3.5-3.5",stroke:"#2563EB",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})]}),(0,a.jsxs)("span",{className:"flex flex-col gap-0.5 min-w-0",children:[(0,a.jsx)("span",{className:"truncate max-w-[150px]",children:null!=(c=(0,R.sk)(e.origin,u))?c:"—"}),(0,a.jsx)("span",{className:"truncate max-w-[150px]",children:null!=(h=(0,R.sk)(e.destination,u))?h:"—"})]})]}):(0,a.jsxs)("span",{className:"flex flex-col",children:[(0,a.jsx)("span",{children:null!=(b=(0,R.sk)(e.origin,u))?b:"—"}),(0,R.uT)(e.primaryDate,u)&&(0,a.jsx)("span",{className:"text-xs font-medium text-blue-700",children:(0,R.uT)(e.primaryDate,u)})]})}),(0,a.jsx)("td",{className:"".concat(p," text-slate-700 whitespace-nowrap"),children:null!=(g=(0,R.uT)(e.primaryDate,u))?g:"—"}),(0,a.jsx)("td",{className:"".concat(p," text-right font-bold text-slate-900 tabular-nums whitespace-nowrap"),children:"cargo"===t&&null!=e.weightTons?(0,R.aC)(e.weightTons,u,d("units.tonsShort")):null!=e.dwt?(0,R.aC)(e.dwt,u,d("units.tonsShort")):"—"}),(0,a.jsx)("td",{className:"".concat(p," text-slate-700 max-w-[120px]"),children:null!=w?w:"—"}),(0,a.jsx)("td",{className:"".concat(p," text-right max-w-[130px]"),children:(0,a.jsxs)("span",{className:"flex flex-col items-end gap-0.5 leading-tight",children:[e.price?(0,a.jsx)("span",{className:"font-bold text-blue-700 tabular-nums",children:(0,R.$g)(e.price,u)}):(0,a.jsx)("span",{className:"text-slate-500",children:n("card.priceOnRequest")}),null!=e.commissionPercent&&(0,a.jsxs)("span",{className:"text-xs font-bold text-teal-700 tabular-nums",children:[n("card.commissionShort")," ",e.commissionPercent," %"]})]})}),(0,a.jsx)("td",{className:"".concat(p," whitespace-nowrap"),children:(0,a.jsxs)("span",{className:"inline-flex items-center gap-1.5 text-[13px] text-slate-600",children:["broker"===e.source?(0,a.jsx)("span",{className:"px-2 py-0.5 rounded-full text-[11px] font-bold text-teal-700 bg-teal-50",children:n("sources.broker")}):(0,a.jsx)("span",{className:"px-2 py-0.5 rounded-full text-[11px] font-semibold text-slate-600 bg-slate-100",children:n("sources.direct")}),(null==(o=e.party)?void 0:o.verified)&&(0,a.jsx)(T.A,{className:"w-3.5 h-3.5 text-blue-600","aria-label":n("card.verifiedShort")})]})}),(0,a.jsx)("td",{className:"".concat(p," text-right sticky right-0 bg-white group-hover:bg-[#f4f8ff] shadow-[-8px_0_12px_-10px_rgba(15,23,42,0.25)]"),children:(0,a.jsxs)("button",{type:"button",onClick:s=>{s.stopPropagation(),(0,k.Jt)(_.R.BOARD_CONTACT_CLICKED,{side:t,kind:e.ref.kind,listingId:e.ref.id,surface:"table",authenticated:(0,F.c)()}),l(e)},disabled:r===e.key,className:"inline-flex items-center gap-1.5 px-2.5 py-2 rounded-[10px] text-[13px] font-bold text-white bg-gradient-to-br from-blue-600 to-indigo-600 shadow-[0_6px_16px_-4px_rgba(37,99,235,0.40)] hover:-translate-y-
1px active:scale-[0.98] transition-all disabled:opacity-60 disabled:pointer-events-none focus:outline-none focus-visible:ring-4 focus-visible:ring-blue-200 whitespace-nowrap",children:[(0,a.jsx)(D.A,{className:"w-3.5 h-3.5","aria-hidden":"true"}),n("card.contact")]})})]},e.key)})})]})})}var P=s(62500),L=s(88511);let I=Math.max(1,Math.floor(5)),B={cargo:["published","date","weight","price","commission"],vessel:["published","date","dwt","price","commission"]};function J(e){var t,s,r,A,R,E;let{side:T,embedded:D=!1}=e,J=(0,o.c)("board"),M=(0,c.Ym)(),K=(0,i.useRouter)(),q=(0,i.usePathname)(),H=(0,i.useSearchParams)(),U="cargo"===T?"/api/board/cargo":"/api/board/vessels",W="cargo"===T?j:N,z=(0,l.useMemo)(()=>{var e;return(null!=(e=H.get("tags"))?e:"").split(",").filter(Boolean)},[H]),G=null!=(t=H.get("source"))?t:"",Y=null!=(s=H.get("sort"))?s:"published",Q=null!=(r=H.get("q"))?r:"",V=null!=(A=H.get("origin"))?A:"",Z=null!=(R=H.get("dest"))?R:"",$=null!=(E=H.get("dateFrom"))?E:"",X="table"===H.get("view")?"table":"cards",[ee,et]=(0,l.useState)(Q),[es,ea]=(0,l.useState)(!1),[el,er]=(0,l.useState)(V),[en,ei]=(0,l.useState)(Z),[eo,ec]=(0,l.useState)([]),[ed,ex]=(0,l.useState)(null),[eu,em]=(0,l.useState)(0),[eh,ep]=(0,l.useState)(!0),[eb,eg]=(0,l.useState)(!1),[ef,ew]=(0,l.useState)(!1),[ev,ej]=(0,l.useState)(!1),eN=(0,l.useCallback)(function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],s=new URLSearchParams(H.toString());for(let[a,l]of Object.entries(e))null===l||""===l?s.delete(a):s.set(a,l),t&&["tags","source","sort","view","dateFrom","origin","dest"].includes(a)&&(0,k.Jt)(_.R.BOARD_FILTER_CHANGED,{side:T,filter:a,value:l||null});let a=s.toString();K.replace(a?"".concat(q,"?").concat(a):q,{scroll:!1})},[K,q,H,T]),ey="rynda:board-scroll:".concat(q,"?").concat(H.toString()),ek=(0,l.useRef)(null),e_=(0,l.useRef)(1),eC=(0,l.useRef)(0);(0,l.useEffect)(()=>{let e=!1;try{ek.current=(e=Date.now()-Number(sessionStorage.getItem("rynda:nav:pop")||0)<5e3)&&Number(sessionStorage.getItem(ey))||null;let t=e&&Number(sessionStorage.getItem("".concat(ey,":batches")))||1;e_.current=Math.min(I,Math.max(1,Math.floor(t)))}catch(e){}let t=Math.floor(Number(new URLSearchParams(window.location.search).get("page"))||0);if(t>0){e_.current=Math.min(I,Math.max(e_.current,t));let e=new URL(window.location.href);e.searchParams.delete("page"),K.replace(e.pathname+(e.search||""),{scroll:!1})}!e&&window.scrollY>0&&window.scrollTo(0,0);let s=0,a=0,l=e=>{try{sessionStorage.setItem(ey,String(Math.round(e))),sessionStorage.setItem("".concat(ey,":batches"),String(eC.current||1))}catch(e){}},r=()=>{s||Date.now()<a||(s=window.requestAnimationFrame(()=>{s=0,Date.now()>=a&&l(window.scrollY)}))},n=e=>{e.target instanceof Element&&e.target.closest("a[href]")&&(l(window.scrollY),a=1/0)};return window.addEventListener("scroll",r,{passive:!0}),document.addEventListener("click",n,!0),()=>{window.removeEventListener("scroll",r),document.removeEventListener("click",n,!0),s&&window.cancelAnimationFrame(s)}},[]),(0,l.useEffect)(()=>{if(eh||null==ek.current)return;let e=ek.current;ek.current=null,window.requestAnimationFrame(()=>window.scrollTo(0,e))},[eh]);let eA=(0,l.useRef)(null);(0,l.useEffect)(()=>()=>{eA.current&&clearTimeout(eA.current)},[]);let eR=()=>{(0,k.Jt)(_.R.BOARD_SEARCHED,{side:T,via:"submit",hasQuery:!!ee.trim(),hasOrigin:!!el.trim(),hasDest:"cargo"===T&&!!en.trim()}),eN({q:ee.trim()||null,origin:el.trim()||null,dest:"cargo"===T&&en.trim()||null},!1)},eS=(0,l.useMemo)(()=>{let e=new URLSearchParams(H.toString());return e.delete("view"),e.delete("page"),e.delete("pageSize"),new URLSearchParams([...e.entries()].sort((e,t)=>{let[s]=e,[a]=t;return s.localeCompare(a)})).toString()},[H]),eE=(0,l.useCallback)(async(e,t,s)=>{let a=new URLSearchParams(eS);a.set("page",String(e)),a.set("pageSize",String(t));let l=await fetch("".concat(U,"?").concat(a.toString()),{signal:s});if(!l.ok)throw Error("board fetch ".concat(l.status));return await l.json()},[U,eS]),eT=(0,l.useRef)(0),eD=(0,l.useRef)(null),eF=(0,l.useRef)(!1);(0,l.useEffect)(()=>{var e;let t=new AbortController,s=++eT.current;null==(e=eD.current)||e.abort(),eF.current=!1;let a=e_.current;return e_.current=1,ep(!0),eg(!1),ew(!1),ej(!1),eE(1,20*a,t.signal).then(e=>{s===eT.current&&(ec(e.items),ex(e.total),em(a),eC.current=a,ep(!1))}).catch(e=>{t.signal.aborted||s!==eT.current||(console.error("Board fetch failed:",e),ew(!0),ep(!1))}),()=>t.abort()},[eE]);let{contact:eO,pendingKey:eP,notice:eL,clearNotice:eI}=(0,F.M)(),eB=eo.length,eJ=null!=ed&&20*eu<ed,eM=(0,l.useCallback)(e=>{if(eF.current)return;eF.current=!0;let t=eT.current,s=eC.current+1,a=new AbortController;eD.current=a,(0,k.Jt)(_.R.BOARD_PAGE_CHANGED,{side:T,page:s,via:e}),eg(!0),ej(!1),eE(s,20,a.signal).then(a=>{t===eT.current&&(ec(e=>{let t=new Set(e.map(e=>e.key));return[...e,...a.items.filter(e=>!t.has(e.key))]}),ex(a.total),eC.current=s,em(s),eg(!1),eF.current=!1,"button"===e&&20*s>=a.total&&window.requestAnimationFrame(()=>{var e;return null==(e=eq.current)?void 0:e.focus()}))}).catch(e=>{a.signal.aborted||t!==eT.current||(console.error("Board load-more failed:",e),ej(!0),eg(!1),eF.current=!1)})},[eE,T]),eK=(0,l.useRef)(null),eq=(0,l.useRef)(null);(0,l.useEffect)(()=>{let e=eK.current;if(!e||!eJ||eh||eb||ev||"undefined"==typeof IntersectionObserver)return;let t=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&eM("scroll")},{rootMargin:"600px 0px"});return t.observe(e),()=>t.disconnect()}
1,[eJ,eh,eb,ev,eu,eM]),(0,l.useEffect)(()=>()=>{var e;return null==(e=eD.current)?void 0:e.abort()},[]);let eH=D?[{side:"cargo",href:"".concat((0,y.Js)(M,"/dashboard/board"),"?side=cargo"),icon:d.A,title:J("switch.cargo")},{side:"vessel",href:"".concat((0,y.Js)(M,"/dashboard/board"),"?side=vessel"),icon:x.A,title:J("switch.vessels")}]:[{side:"cargo",href:(0,y.Js)(M,"/cargo"),icon:d.A,title:J("switch.cargo")},{side:"vessel",href:(0,y.Js)(M,"/vessels"),icon:x.A,title:J("switch.vessels")}],eU=z.length>0||""!==G||""!==Q||"published"!==Y||""!==V||""!==Z||""!==$,eW="px-3.5 py-2 rounded-full text-[13px] font-semibold transition-all min-h-[44px] sm:min-h-0 sm:py-[9px] focus:outline-none focus-visible:ring-4 focus-visible:ring-blue-200 whitespace-nowrap shrink-0",ez="bg-white text-slate-700 border border-slate-900/10 hover:border-slate-900/25",eG="bg-blue-700 text-white shadow-[0_4px_10px_-2px_rgba(37,99,235,0.35)]";return(0,a.jsxs)("div",{className:D?"bg-slate-50":"min-h-screen bg-slate-50",children:[D&&(0,a.jsx)("div",{className:"mb-4 flex items-center justify-center",children:(0,a.jsx)("nav",{"aria-label":"".concat(J("switch.cargo")," / ").concat(J("switch.vessels")),className:"inline-flex gap-1 rounded-full border border-slate-200 bg-white p-1 shadow-sm",children:eH.map(e=>{let t=e.side===T,s=e.icon;return(0,a.jsxs)(n(),{href:e.href,onClick:()=>{t||(0,k.Jt)(_.R.BOARD_TAB_SWITCHED,{from:T,to:e.side})},"aria-current":t?"page":void 0,className:"flex items-center gap-2 rounded-full px-5 text-[14px] transition-all ".concat(t?"bg-[#EFF6FF] font-bold text-[#1E40AF]":"font-semibold text-slate-600 hover:bg-slate-50"),style:{minHeight:44},children:[(0,a.jsx)(s,{className:"h-4 w-4","aria-hidden":"true"}),e.title]},e.side)})})}),!D&&(0,a.jsxs)("div",{className:"relative overflow-hidden bg-gradient-to-br from-blue-600 via-indigo-600 to-indigo-800 pb-20 sm:pb-28",children:[(0,a.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute -top-32 -right-20 w-[480px] h-[480px] rounded-full bg-[radial-gradient(circle,rgba(96,165,250,0.35)_0%,transparent_70%)]"}),(0,a.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute -bottom-40 left-1/4 w-[420px] h-[420px] rounded-full bg-[radial-gradient(circle,rgba(103,232,249,0.18)_0%,transparent_70%)]"}),(0,a.jsxs)("div",{className:"relative max-w-6xl mx-auto px-4 pt-7 flex flex-col gap-5",children:[(0,a.jsxs)("div",{className:"relative flex items-center justify-center min-h-[52px]",children:[(0,a.jsx)("nav",{"aria-label":"".concat(J("switch.cargo")," / ").concat(J("switch.vessels")),className:"inline-flex rounded-full bg-white/15 border border-white/25 p-1.5 gap-1 backdrop-blur-sm shadow-[0_4px_16px_rgba(15,23,42,0.15)]",children:eH.map(e=>{let t=e.side===T,s=e.icon;return(0,a.jsxs)(n(),{href:e.href,onClick:()=>{t||(0,k.Jt)(_.R.BOARD_TAB_SWITCHED,{from:T,to:e.side})},"aria-current":t?"page":void 0,className:"flex items-center gap-2 px-6 sm:px-8 py-3 rounded-full text-[15px] transition-all min-h-[44px] ".concat(t?"bg-white text-blue-700 font-bold shadow-[0_2px_8px_rgba(15,23,42,0.18)]":"text-white/85 font-semibold hover:text-white"),children:[(0,a.jsx)(s,{className:"w-4 h-4","aria-hidden":"true"}),e.title]},e.side)})}),(0,a.jsxs)(n(),{href:"/create",onClick:()=>(0,k.Jt)(_.R.BOARD_POST_OFFER_CLICKED,{side:T,surface:"header"}),className:"hidden sm:inline-flex absolute right-0 items-center gap-1.5 px-5 py-2.5 rounded-xl text-sm font-semibold text-blue-700 bg-white shadow-[0_4px_12px_rgba(15,23,42,0.15)] hover:-translate-y-px hover:shadow-[0_8px_20px_rgba(15,23,42,0.2)] active:scale-[0.98] transition-all min-h-[44px] focus:outline-none focus-visible:ring-4 focus-visible:ring-white/40",children:[(0,a.jsx)(u.A,{className:"w-4 h-4","aria-hidden":"true"}),J("postOffer")]})]}),(0,a.jsx)("h1",{className:"m-0 text-2xl sm:text-4xl font-black leading-tight tracking-tight text-white [text-wrap:balance] text-center",children:"cargo"===T?J("switch.cargoDesc"):J("switch.vesselsDesc")})]})]}),(0,a.jsxs)("div",{className:D?"relative max-w-6xl mx-auto px-0":"relative max-w-6xl mx-auto px-4 -mt-12 sm:-mt-[68px]",children:[(0,a.jsxs)("button",{type:"button",onClick:()=>ea(e=>!e),"aria-expanded":es,"aria-controls":"board-search-panel",className:"md:hidden w-full bg-white rounded-[20px] shadow-[0_20px_40px_-10px_rgba(15,23,42,0.18),0_8px_16px_
1-8px_rgba(15,23,42,0.10)] px-4 py-3 flex items-center gap-3 text-left min-h-[56px] focus:outline-none focus-visible:ring-4 focus-visible:ring-blue-200 ".concat(es?"rounded-b-none":""),children:[(0,a.jsx)(m.A,{className:"w-[18px] h-[18px] text-blue-600 shrink-0","aria-hidden":"true"}),(0,a.jsxs)("span",{className:"flex flex-col min-w-0 flex-1",children:[(0,a.jsx)("span",{className:"text-[11px] font-semibold uppercase tracking-wider text-slate-500",children:"cargo"===T?J("search.from")+" → "+J("search.to"):J("search.openPort")}),(0,a.jsxs)("span",{className:"text-[15px] font-semibold truncate ".concat(V||Z||$||Q?"text-slate-900":"text-slate-500"),children:[V||Z?"".concat(V||J("search.anyPort")).concat("cargo"===T?" → ".concat(Z||J("search.anyPort")):""):J("search.anyRoute"),$?" \xb7 ".concat(new Date($).toLocaleDateString("ru"===M?"ru-RU":"en-GB",{day:"numeric",month:"short"})):"",Q?" \xb7 ".concat(Q):""]})]}),(0,a.jsx)("span",{className:"text-[13px] font-semibold text-blue-700 whitespace-nowrap shrink-0",children:es?J("search.hideFilters"):J("search.showFilters")})]}),(0,a.jsxs)("div",{id:"board-search-panel",className:"".concat(es?"flex rounded-t-none border-t border-slate-100":"hidden md:flex"," bg-white rounded-[20px] shadow-[0_20px_40px_-10px_rgba(15,23,42,0.18),0_8px_16px_-8px_rgba(15,23,42,0.10)] p-2 flex-col md:flex-row md:items-stretch divide-y md:divide-y-0 divide-slate-100"),children:["cargo"===T?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(P.A,{label:J("search.from"),icon:(0,a.jsx)(h.A,{className:"w-4 h-4 text-blue-600 shrink-0","aria-hidden":"true"}),value:el,placeholder:J("search.anyPort"),onChange:er,onCommit:e=>eN({origin:e||null})}),(0,a.jsx)("div",{className:"hidden md:flex items-center",children:(0,a.jsx)("button",{type:"button",onClick:()=>{er(en),ei(el),eN({origin:en.trim()||null,dest:el.trim()||null})},"aria-label":J("search.swap"),className:"w-10 h-10 rounded-full border border-slate-900/10 bg-slate-50 flex items-center justify-center text-slate-600 hover:text-blue-700 hover:border-blue-200 transition-colors focus:outline-none focus-visible:ring-4 focus-visible:ring-blue-200",children:(0,a.jsx)(p.A,{className:"w-4 h-4","aria-hidden":"true"})})}),(0,a.jsx)(P.A,{label:J("search.to"),icon:(0,a.jsx)(h.A,{className:"w-4 h-4 text-slate-400 shrink-0","aria-hidden":"true"}),value:en,placeholder:J("search.anyPort"),onChange:ei,onCommit:e=>eN({dest:e||null})}),(0,a.jsx)("div",{className:"hidden md:block md:w-px md:bg-slate-900/10 md:my-2","aria-hidden":"true"}),(0,a.jsx)(S,{label:J("search.loadingFrom"),value:$,onChange:e=>eN({dateFrom:e||null})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(P.A,{label:J("search.openPort"),icon:(0,a.jsx)(b.A,{className:"w-4 h-4 text-blue-600 shrink-0","aria-hidden":"true"}),value:el,placeholder:J("search.anyPort"),onChange:er,onCommit:e=>eN({origin:e||null})}),(0,a.jsx)("div",{className:"md:w-px md:bg-slate-900/10 md:my-2","aria-hidden":"true"}),(0,a.jsx)(S,{label:J("search.readyFrom"),value:$,onChange:e=>eN({dateFrom:e||null})})]}),(0,a.jsx)("div",{className:"hidden md:block md:w-px md:bg-slate-900/10 md:my-2","aria-hidden":"true"}),(0,a.jsxs)("label",{className:"flex-[1.4] flex flex-col gap-0.5 px-4 py-2.5 rounded-xl cursor-text hover:bg-slate-50 transition-colors",children:[(0,a.jsx)("span",{className:"text-[11px] font-semibold uppercase tracking-wider text-slate-500",children:J("search.what")}),(0,a.jsxs)("span",{className:"flex items-center gap-2",children:[(0,a.jsx)(m.A,{className:"w-4 h-4 text-slate-400 shrink-0","aria-hidden":"true"}),(0,a.jsx)("input",{type:"search",value:ee,onChange:e=>{var t;et(t=e.target.value),eA.current&&clearTimeout(eA.current),eA.current=setTimeout(()=>{let e=t.trim();e&&!Q&&(0,k.Jt)(_.R.BOARD_SEARCHED,{side:T,via:"typing",hasQuery:!0,hasOrigin:!!el.trim(),hasDest:!!en.trim()}),eN({q:e||null})},350)},onKeyDown:e=>"Enter"===e.key&&eR(),placeholder:"cargo"===T?J("search.queryPlaceholderCargo"):J("search.queryPlaceholderVessels"),"aria-label":J("search.what"),className:"w-full text-[15px] font-semibold text-slate-900 placeholder:font-medium placeholder:text-slate-400 bg-transparent focus:outline-none min-w-0"})]})]}),(0,a.jsx)("div",{className:"flex items-center p-1",children:(0,a.jsxs)("button",{type:"button",onClick:()=>{eR(),ea(!1)},className:"w-full md:w-auto flex items-center justify-center gap-2 px-8 py-3.5 rounded-[14px] text-[15px] font-bold text-white bg-gradient-to-br from-blue-600 to-indigo-600 shadow-[0_10px_28px_-6
1px_rgba(37,99,235,0.40)] hover:-translate-y-px hover:shadow-[0_14px_32px_-6px_rgba(37,99,235,0.50)] active:scale-[0.98] transition-all min-h-[48px] focus:outline-none focus-visible:ring-4 focus-visible:ring-blue-200",children:[(0,a.jsx)(m.A,{className:"w-[17px] h-[17px]","aria-hidden":"true",strokeWidth:2.2}),J("search.find")]})})]})]}),(0,a.jsxs)("div",{className:"max-w-6xl mx-auto px-4 pb-16",children:[(0,a.jsxs)("div",{className:"flex items-start gap-2 mt-6",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 overflow-x-auto pb-1 -mx-4 px-4 sm:mx-0 sm:px-0 sm:flex-wrap sm:overflow-visible [scrollbar-width:none] min-w-0 flex-1 [mask-image:linear-gradient(to_right,black_calc(100%-28px),transparent)] sm:[mask-image:none]",children:[(0,a.jsx)("button",{type:"button",onClick:()=>eN({tags:null}),"aria-pressed":0===z.length,className:"".concat(eW," ").concat(0===z.length?eG:ez),children:J("filters.allTags")}),W.map(e=>{let t=z.includes(e);return(0,a.jsx)("button",{type:"button",onClick:()=>{eN({tags:(z.includes(e)?z.filter(t=>t!==e):[...z,e]).join(",")||null})},"aria-pressed":t,className:"".concat(eW," ").concat(t?eG:ez),children:J("tags.".concat(e))},e)}),(0,a.jsx)("div",{className:"w-px h-[22px] bg-slate-900/10 shrink-0 hidden sm:block","aria-hidden":"true"}),["direct","broker"].map(e=>{let t=G===e;return(0,a.jsx)("button",{type:"button",onClick:()=>eN({source:t?null:e}),"aria-pressed":t,className:"".concat(eW," ").concat(t?"bg-teal-600 text-white shadow-[0_4px_10px_-2px_rgba(13,148,136,0.35)]":ez),children:J("sources.".concat(e))},e)})]}),(0,a.jsxs)("div",{className:"hidden md:flex items-center gap-2 shrink-0",children:[(0,a.jsxs)("div",{role:"group","aria-label":J("view.label"),className:"inline-flex rounded-xl border border-slate-900/10 bg-white p-0.5",children:[(0,a.jsxs)("button",{type:"button",onClick:()=>eN({view:null}),"aria-pressed":"cards"===X,title:J("view.cards"),className:"px-2.5 py-1.5 rounded-[10px] transition-colors ".concat("cards"===X?"bg-blue-600 text-white":"text-slate-500 hover:text-slate-800"),children:[(0,a.jsx)(g.A,{className:"w-4 h-4","aria-hidden":"true"}),(0,a.jsx)("span",{className:"sr-only",children:J("view.cards")})]}),(0,a.jsxs)("button",{type:"button",onClick:()=>eN({view:"table"}),"aria-pressed":"table"===X,title:J("view.table"),className:"px-2.5 py-1.5 rounded-[10px] transition-colors ".concat("table"===X?"bg-blue-600 text-white":"text-slate-500 hover:text-slate-800"),children:[(0,a.jsx)(f.A,{className:"w-4 h-4","aria-hidden":"true"}),(0,a.jsx)("span",{className:"sr-only",children:J("view.table")})]})]}),(0,a.jsx)("label",{htmlFor:"board-sort",className:"sr-only",children:J("filters.sortLabel")}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("select",{id:"board-sort",value:Y,onChange:e=>eN({sort:"published"===e.target.value?null:e.target.value}),className:"appearance-none text-[13px] font-semibold text-slate-700 bg-white border border-slate-900/10 rounded-xl pl-4 pr-9 py-[9px] focus:outline-none focus:ring-4 focus:ring-blue-100 cursor-pointer",children:B[T].map(e=>(0,a.jsx)("option",{value:e,children:J("filters.sort.".concat(e))},e))}),(0,a.jsx)(w.A,{className:"w-4 h-4 text-slate-500 absolute right-3 top-1/2 -translate-y-1/2 pointer-events-none","aria-hidden":"true"})]})]})]}),(0,a.jsx)(L.z,{notice:eL,onClose:eI}),(0,a.jsxs)("div",{className:"flex items-center gap-3 mt-4 mb-4 min-h-[24px] flex-wrap",children:[(0,a.jsx)("p",{className:"text-[13px] text-slate-500","aria-live":"polite",children:eh?J("loading"):null!=ed?J("found",{count:ed}):""}),(0,a.jsxs)("div",{className:"sm:hidden ml-auto",children:[(0,a.jsx)("label",{htmlFor:"board-sort-m",className:"sr-only",children:J("filters.sortLabel")}),(0,a.jsx)("select",{id:"board-sort-m",value:Y,onChange:e=>eN({sort:"published"===e.target.value?null:e.target.value}),className:"text-[13px] font-semibold text-slate-700 bg-transparent focus:outline-none min-h-[44px] py-2",children:B[T].map(e=>(0,a.jsx)("option",{value:e,children:J("filters.sort.".concat(e))},e))})]}),eU&&(0,a.jsx)("button",{type:"button",onClick:()=>
1{et(""),er(""),ei(""),(0,k.Jt)(_.R.BOARD_FILTER_CHANGED,{side:T,filter:"reset",value:null}),K.replace(q,{scroll:!1})},className:"hidden sm:block ml-auto text-[13px] text-blue-700 hover:text-blue-900 font-semibold",children:J("filters.reset")})]}),ef?(0,a.jsxs)("div",{className:"bg-white border border-slate-900/[0.06] rounded-[20px] p-10 text-center shadow-sm",children:[(0,a.jsx)("p",{className:"text-slate-700 mb-4",children:J("loadError")}),(0,a.jsx)("button",{type:"button",onClick:()=>eN({}),className:"px-6 py-2.5 rounded-xl text-sm font-bold text-white bg-gradient-to-br from-blue-600 to-indigo-600 shadow-[0_10px_28px_-6px_rgba(37,99,235,0.40)] min-h-[44px]",children:J("retry")})]}):eh?(0,a.jsx)("div",{className:"grid grid-cols-1 xl:grid-cols-2 gap-4","aria-hidden":"true",children:[0,1,2,3].map(e=>(0,a.jsxs)("div",{className:"relative overflow-hidden bg-white border border-slate-900/[0.06] rounded-2xl p-4 sm:p-5 pl-5 sm:pl-6 animate-pulse shadow-sm flex flex-col gap-3",children:[(0,a.jsx)("span",{className:"absolute left-0 top-0 bottom-0 w-[3px] bg-slate-200"}),(0,a.jsxs)("div",{className:"flex items-center justify-between min-h-[22px]",children:[(0,a.jsx)("div",{className:"h-3 bg-slate-100 rounded-full w-24"}),(0,a.jsx)("div",{className:"h-3 bg-slate-100 rounded-full w-14"})]}),(0,a.jsxs)("div",{className:"flex items-start justify-between gap-6",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2 flex-1 min-w-0",children:[(0,a.jsx)("div",{className:"h-[18px] bg-slate-100 rounded-full w-3/4"}),(0,a.jsx)("div",{className:"h-4 bg-slate-100 rounded-full w-1/2"})]}),(0,a.jsx)("div",{className:"h-6 bg-slate-100 rounded-full w-16 shrink-0"})]}),(0,a.jsxs)("div",{className:"border-t border-slate-900/[0.06] pt-3 flex items-center gap-3",children:[(0,a.jsx)("div",{className:"h-3.5 bg-slate-100 rounded-full w-2/5"}),(0,a.jsxs)("div",{className:"ml-auto flex items-center gap-2",children:[(0,a.jsx)("div",{className:"h-10 bg-slate-100 rounded-[10px] w-28"}),(0,a.jsx)("div",{className:"h-10 bg-slate-100 rounded-[10px] w-32"})]})]})]},e))}):eo.length>0?"table"===X?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"hidden md:block",children:(0,a.jsx)(O,{side:T,items:eo,onContact:eO,contactPendingKey:eP})}),(0,a.jsx)("div",{className:"md:hidden flex flex-col gap-4",children:eo.map(e=>(0,a.jsx)(C.A,{listing:e,onContact:eO,contactPending:eP===e.key},e.key))})]}):(0,a.jsx)("div",{className:"grid grid-cols-1 xl:grid-cols-2 gap-4 items-stretch",children:eo.map(e=>(0,a.jsx)(C.A,{listing:e,onContact:eO,contactPending:eP===e.key},e.key))}):(0,a.jsxs)("div",{className:"bg-white border border-slate-900/[0.06] rounded-[20px] p-8 sm:p-12 text-center shadow-sm",children:[(0,a.jsx)("p",{className:"text-lg font-bold text-slate-900 mb-1",children:J("empty")}),(0,a.jsx)("p",{className:"text-slate-500",children:J("emptyHint")}),(0,a.jsxs)("div",{className:"mt-6 mx-auto max-w-md bg-gradient-to-br from-blue-50 to-indigo-100 border border-indigo-200 rounded-2xl p-5 text-left flex flex-col gap-1.5",children:[(0,a.jsx)("span",{className:"text-sm font-extrabold text-blue-900",children:"cargo"===T?J("emptyCounter.cargoTitle"):J("emptyCounter.vesselsTitle")}),(0,a.jsx)("span",{className:"text-[13px] leading-normal text-indigo-900/80",children:"cargo"===T?J("emptyCounter.cargoText"):J("emptyCounter.vesselsText")})]}),(0,a.jsxs)("div",{className:"mt-5 flex items-center justify-center gap-3 flex-wrap",children:[eU&&(0,a.jsx)("button",{type:"button",onClick:()=>{et(""),er(""),ei(""),K.replace(q,{scroll:!1})},className:"px-6 py-2.5 rounded-xl text-sm font-semibold text-blue-700 border border-blue-200 bg-blue-50 hover:bg-blue-100 min-h-[44px]",children:J("filters.reset")}),(0,a.jsxs)(n(),{href:"/create",onClick:()=>(0,k.Jt)(_.R.BOARD_POST_OFFER_CLICKED,{side:T,surface:"empty"}),className:"inline-flex items-center gap-1.5 px-6 py-2.5 rounded-xl text-sm font-bold text-white bg-gradient-to-br from-blue-600 to-indigo-600 shadow-[0_10px_28px_-6px_rgba(37,99,235,0.40)] min-h-[44px]",children:[(0,a.jsx)(u.A,{className:"w-4 h-4","aria-hidden":"true"}),J("postOffer")]})]})]}),!eh&&!ef&&eo.length>0&&(0,a.jsxs)("div",{className:"mt-6 flex flex-col items-center gap-2.5",children:[(0,a.jsx)("div",{ref:eK,"aria-hidden":"true",className:"w-full h-px"}
1),(0,a.jsx)("p",{ref:eq,tabIndex:-1,className:"text-[13px] text-slate-500 text-center focus:outline-none",role:"status","aria-live":"polite",children:eJ?J("shownOf",{shown:eB,total:null!=ed?ed:eB}):J("allShown",{count:eB})}),ev&&(0,a.jsx)("p",{className:"text-[13px] font-semibold text-rose-700 text-center",children:J("loadMoreError")}),eJ&&(0,a.jsx)("button",{type:"button",onClick:()=>eM("button"),disabled:eb,className:"min-w-[200px] justify-center px-6 py-2.5 rounded-xl text-sm font-semibold border border-slate-900/10 bg-white text-slate-700 shadow-sm hover:bg-slate-50 hover:-translate-y-px active:scale-[0.98] transition-all disabled:opacity-60 min-h-[44px] inline-flex items-center gap-2 focus:outline-none focus-visible:ring-4 focus-visible:ring-blue-200",children:eb?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v.A,{className:"w-4 h-4 animate-spin","aria-hidden":"true"}),J("loadingMore")]}):ev?J("retry"):J("loadMore")})]}),!eh&&eo.length>0&&(0,a.jsxs)("div",{className:"mt-6 bg-gradient-to-br from-blue-50 to-indigo-100 border border-indigo-200 rounded-2xl p-5 flex flex-col sm:flex-row sm:items-center gap-3 sm:gap-6",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-1 min-w-0",children:[(0,a.jsx)("span",{className:"text-sm font-extrabold text-blue-900",children:"cargo"===T?J("emptyCounter.cargoTitle"):J("emptyCounter.vesselsTitle")}),(0,a.jsx)("span",{className:"text-[13px] leading-normal text-indigo-900/80",children:"cargo"===T?J("emptyCounter.cargoText"):J("emptyCounter.vesselsText")})]}),(0,a.jsxs)(n(),{href:"/create",onClick:()=>(0,k.Jt)(_.R.BOARD_POST_OFFER_CLICKED,{side:T,surface:"counter"}),className:"sm:ml-auto shrink-0 inline-flex items-center justify-center gap-1.5 px-5 py-2.5 rounded-xl text-sm font-bold text-white bg-gradient-to-br from-blue-600 to-indigo-600 shadow-[0_10px_28px_-8px_rgba(37,99,235,0.5)] min-h-[44px] hover:-translate-y-px transition-transform",children:[(0,a.jsx)(u.A,{className:"w-4 h-4","aria-hidden":"true"}),"cargo"===T?J("emptyCounter.cargoCta"):J("emptyCounter.vesselsCta")]})]}),(0,a.jsx)("div",{className:"sm:hidden mt-6",children:(0,a.jsxs)(n(),{href:"/create",onClick:()=>(0,k.Jt)(_.R.BOARD_POST_OFFER_CLICKED,{side:T,surface:"mobile"}),className:"flex items-center justify-center gap-1.5 w-full px-5 py-3.5 rounded-xl text-sm font-bold text-white bg-gradient-to-br from-blue-600 to-indigo-600 shadow-[0_10px_28px_-6px_rgba(37,99,235,0.40)] min-h-[48px]",children:[(0,a.jsx)(u.A,{className:"w-4 h-4","aria-hidden":"true"}),J("postOffer")]})})]})]})}function M(e){let{side:t,embedded:s}=e;return(0,a.jsx)(l.Suspense,{fallback:(0,a.jsx)("div",{className:s?"min-h-[40vh]":"min-h-screen bg-slate-50"}),children:(0,a.jsx)(J,{side:t,embedded:s})})}},88511:(e,t,s)=>{s.d(t,{z:()=>n});var a=s(95155);s(12115);var l=s(65229),r=s(18955);function n(e){let{notice:t,onClose:s}=e,n=(0,r.c)("common");if(!t)return null;let i="error"===t.kind;return(0,a.jsxs)("div",{role:i?"alert":"status","aria-live":"polite",className:"mb-4 flex items-start gap-3 rounded-xl border px-4 py-3 text-[14px] leading-[1.45] ".concat(i?"border-red-200 bg-red-50 text-red-800":"border-amber-200 bg-amber-50 text-amber-900"),children:[(0,a.jsx)("span",{className:"flex-1",children:t.text}),(0,a.jsx)("button",{type:"button",onClick:s,"aria-label":n("close"),className:"-m-1 inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-lg hover:bg-black/5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-400",children:(0,a.jsx)(l.A,{className:"h-4 w-4","aria-hidden":"true"})})]})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.