PageSourceSearch

https://maritime-database.com/_next/static/chunks/pages/vessels-ee84225dbfaf20aa4cde.js

js maritime-database.com collected 2026-10-02 11:35:27 UTC 29,582 bytes, 1 lines download raw bytes

1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[40],{"+ZQE":function(e,t,n){var s=n("cVF0"),r=s.normalizePathname,a=s.slugify,i=new Set(["-","-*","unknown","not available","blank","undefined","null"]),l=function(e){if("string"!==typeof e)return null;var t=e.trim();return t&&!i.has(t.toLowerCase())?t:null},o=function(e,t){var n=l(e),s=function(e){if("string"!==typeof e||!e.startsWith("/"))return null;var t=r(e.split("?")[0].split("#")[0]);return/(?:^|\/)(?:blank|undefined|null)(?:\/|$)/i.test(t)?null:t}(t);return n&&s?{name:n,path:s}:null},c=function(e){return e.filter(Boolean)},d=function(){return o("Home","/")},p=function(){return o("Areas","/areas")},u=function(){return o("Countries","/countries")},b=function(){return o("Vessels","/vessels")},x=function(e){var t=l(e);return t?o(t,"/areas/".concat(a(t))):null},f=function(e){var t=l(e);return t?o(t,"/countries/".concat(a(t))):null},m=function(e,t){var n=l(e),s=l(t);return n&&s?o(s,"/ports/".concat(a(n),"/").concat(a(s))):null};e.exports={aboutBreadcrumbs:function(){return[d(),o("About","/about")]},areaBreadcrumbs:function(e){return c([d(),p(),x(e)])},areasBreadcrumbs:function(){return[d(),p()]},cleanLabel:l,companyBreadcrumbs:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,n=e.name,s=e.area,r=e.country,a=e.port,i=l(r),b=l(s),h=l(n),j=Number(t),y=h&&Number.isSafeInteger(j)&&j>0?o(h,"/company/".concat(j)):null;return c([d(),b?p():i?u():null,x(b),f(i),m(i,a),y])},countriesBreadcrumbs:function(){return[d(),u()]},countryBreadcrumbs:function(e,t){return c([d(),l(e)?p():u(),x(e),f(t)])},portBreadcrumbs:function(e,t,n){return c([d(),l(e)?p():u(),x(e),f(t),m(t,n)])},portsBreadcrumbs:function(){return[d(),o("Ports","/ports")]},vesselBreadcrumbs:function(e,t){return c([d(),b(),o(e,t)])},vesselsBreadcrumbs:function(){return[d(),b()]}}},"/TVk":function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/vessels",function(){return n("bbei")}])},"2qu3":function(e,t,n){"use strict";var s=n("oI91"),r=n("/GRZ"),a=n("i2R6");function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var s=0,r=function(){};return{s:r,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,s=new Array(t);n<t;n++)s[n]=e[n];return s}t.__esModule=!0,t.default=void 0;var d,p=(d=n("q1tI"))&&d.__esModule?d:{default:d},u=n("8L3h"),b=n("jwwS");var x=[],f=[],m=!1;function h(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function j(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(s){var r=h(e[s]);r.loading?t.loading=!0:(t.loaded[s]=r.loaded,t.error=r.error),n.push(r.promise),r.promise.then((function(e){t.loaded[s]=e})).catch((function(e){t.error=e}))}))}catch(s){t.error=s}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function y(e,t){return p.default.createElement(function(e){return e&&e.__esMo
1dule?e.default:e}(e),t)}function g(e,t){var n=Object.assign({loader:null,loading:null,delay:200,timeout:null,render:y,webpack:null,modules:null},t),s=null;function r(){if(!s){var t=new v(e,n);s={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return s.promise()}if(!m&&"function"===typeof n.webpack){var a=n.webpack();f.push((function(e){var t,n=o(a);try{for(n.s();!(t=n.n()).done;){var s=t.value;if(-1!==e.indexOf(s))return r()}}catch(i){n.e(i)}finally{n.f()}}))}var i=function(e,t){r();var a=p.default.useContext(b.LoadableContext),i=(0,u.useSubscription)(s);return p.default.useImperativeHandle(t,(function(){return{retry:s.retry}}),[]),a&&Array.isArray(n.modules)&&n.modules.forEach((function(e){a(e)})),p.default.useMemo((function(){return i.loading||i.error?p.default.createElement(n.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:s.retry}):i.loaded?n.render(i.loaded,e):null}),[e,i])};return i.preload=function(){return r()},i.displayName="LoadableComponent",p.default.forwardRef(i)}var v=function(){function e(t,n){r(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return a(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;t.loading&&("number"===typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout((function(){e._update({pastDelay:!0})}),n.delay)),"number"===typeof n.timeout&&(this._timeout=setTimeout((function(){e._update({timedOut:!0})}),n.timeout))),this._res.promise.then((function(){e._update({}),e._clearTimeouts()})).catch((function(t){e._update({}),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=l(l({},this._state),{},{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),e}();function w(e){return g(h,e)}function k(e,t){for(var n=[];e.length;){var s=e.pop();n.push(s(t))}return Promise.all(n).then((function(){if(e.length)return k(e,t)}))}w.Map=function(e){if("function"!==typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return g(j,e)},w.preloadAll=function(){return new Promise((function(e,t){k(x).then(e,t)}))},w.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return m=!0,t()};k(f,e).then(n,n)}))},window.__NEXT_PRELOADREADY=w.preloadReady;var O=w;t.default=O},BNwO:function(e,t,n){"use strict";var s=n("nKUr"),r=n("YFqc"),a=n.n(r);n("q1tI");t.a=function(e){var t=e.items,n=void 0===t?[]:t;return n.length?Object(s.jsx)("nav",{className:"breadcrumbs","aria-label":"Breadcrumb",style:{width:"100%"},children:Object(s.jsx)("ol",{style:{display:"flex",gap:"5px",margin:0,padding:0,listStyle:"none",flexWrap:"wrap",width:"100%"},children:n.map((function(e,t){var r=e.name,i=e.path,l=t===n.length-1;return Object(s.jsxs)("li",{style:{display:"flex",gap:"5px"},children:[l?Object(s.jsx)("span",{className:"crumb","aria-current":"page",children:r}):Object(s.jsx)(a.a,{href:i,prefetch:!1,children:Object(s.jsx)("a",{className:"crumb",children:r})}),!l&&Object(s.jsx)("span",{className:"separator","aria-hidden":"true",children:">"})]},"".concat(i,"-").concat(r))}))})}):null}},Vvt1:function(e,t,n){e.exports=n("a6RD")},a6RD:function(e,t,n){"use strict";var s=n("oI91");function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?r(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.__esModule=!0,t.noSSR=o,t.default=function(e,t){var n=i.default,s={loading:function(e){e.error,e.isLoading;return e.pastDelay,null}};e instanceof Promise?s.loader=function(){return e}:"function"===typeof e?s.loader=e:"object"===typeof e&&(s=a(a({},s),e));if(s=a(a({},s),t),"object"===typeof e&&!(e instanceof Promise)&&(e.render&&(s.render=function(t,n){return e.render(n,t)}),e.modules)){n=i.default.Map;var r={},l=e.modules();Object.keys(l).forEach((function(e){var t=l[e];"function"!==typeof t.then?r[e]=t:r[e]=function(){return t.then((function(e){return e.default||e}))}})),s.loader=r}s.loadableGenerated&&delete(s=a(a({},s),s.loadableGenerated)).loadableGenerated;if("boolean"===typeof s.ssr){if(!s.ssr)return delete s.ssr,o(n,s);delete s.ssr}return n(s)};l(n("q1tI"));var i=l(n("2qu3"));function l(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return delete t.webpack,delete t.modules,e(t)}},bbei:function(e,t,n){"use strict";n.r(t),n.d(t,"__N_SSP",(function(){return O}));var s=n("nKUr"),r=n("MX0m"),a=n.n(r),i=n("q1tI"),l=n("YFqc"),o=n.n(l),c=n("20a2"),d=n("zC8p"),p=n("96iI"),u=n("A3CJ"),b=n("cVF0"),x=n("VEJm"),f=function(e){var t=e.vesselTypes,n=e.currentVesselType,r=e.onTypeChange,i=(Object(c.useRouter)(),function(e){r&&r(e)});return Object(s.jsxs)("div",{className:"jsx-1445274861 vessel-directory",children:[Object(s.jsxs)("div",{className:"jsx-1445274861 directory-header",children:[Object(s.jsx)("div",{className:"jsx-1445274861 directory-title",children:"Vessel Directory"}),Object(s.jsx)("p",{className:"jsx-1445274861 directory-subtitle",children:"Browse vessels by type"})]}),Object(s.jsxs)("div",{className:"jsx-1445274861 directory-content",children:[Object(s.jsxs)("div",{className:"jsx-1445274861 current-type-section",children:[Object(s.jsx)("div",{className:"jsx-1445274861 directory-section-title",children:"Current Type"}),Object(s.jsx)("div",{className:"jsx-1445274861 current-type-badge",children:Object(s.jsx)("span",{className:"jsx-1445274861 badge badge-primary",children:n})})]}),Object(s.jsxs)("div",{className:"jsx-1445274861 all-types-section",children:[Object(s.jsx)("div",{className:"jsx-1445274861 directory-section-title",children:"All Vessel Types"}),Object(s.jsxs)("div",{className:"jsx-1445274861 type-list",children:[Object(s.jsxs)("button",{onClick:function(){return i("all")},className:"jsx-1445274861 "+"type-link ".concat("All Types"===n?"active":""),children:[Object(s.jsx)("span",{className:"jsx-1445274861 type-name",children:"All Types"}),Object(s.jsx)("span",{className:"jsx-1445274861 type-count",children:"-"})]}),t.map((function(e){return Object(s.jsxs)("button",{onClick:function(){return i(e.SHIP_TYPE)},className:"jsx-1445274861 "+"type-link ".concat(n===e.SHIP_TYPE?"active":""),children:[Object(s.jsx)("span",{className:"jsx-1445274861 type-name",children:e.SHIP_TYPE}),Object(s.jsx)("span",{className:"jsx-1445274861 type-count",children:e.count})]},e.SHIP_TYPE)}))]})]})]}),Object(s.jsx)(a.a,{id:"1445274861",children:[".vessel-directory.jsx-1445274861{background:white;border-radius:12px;padding:20px;box-shadow:0 1px 3px 0 rgba(0,0,0,0.1);height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}",".directory-header.jsx-1445274861{margin-bottom:20px;padding-bottom:16px;border-bottom:2px solid #e5e7eb;}",".directory-title.jsx-1445274861{margin:0 0 8px 0;color:#1f2937;font-size:18px;font-weight:600;}",".directory-subtitle.jsx-1445274861{margin:0;color:#6b7280;font-size:14px;}",".directory-content.jsx-1445274861{-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:24px;}",".directory-section-title.jsx-1445274861{margin:0 0 12px 0;color:#374151;font-size:14px;font-weight:600;}",".current-type-badge.jsx-1445274861{margin-bottom:8px;}",".type-list.jsx-1445274861{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:4px;max-height:400px;overflow-y:auto;padding-right:8px;}",".type-list.jsx-1445274861::-webkit-scrollbar{width:6px;}",".type-list.jsx-1445274861::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px;}",".type-list.jsx-1445274861::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px;}",".type-list.jsx-1445274861::-webkit-scrollbar-thumb.jsx-1445274861:hover{background:#94a3b8;}",".type-link.jsx-1445274861{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;
1-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:8px 12px;background:#f9fafb;border-radius:6px;color:#374151;-webkit-text-decoration:none;text-decoration:none;-webkit-transition:all 0.2s ease;transition:all 0.2s ease;font-size:13px;border:1px solid transparent;cursor:pointer;width:100%;text-align:left;font-family:inherit;}",".type-link.jsx-1445274861:hover{background:#f3f4f6;-webkit-transform:translateX(4px);-ms-transform:translateX(4px);transform:translateX(4px);border-color:#e5e7eb;}",".type-link.active.jsx-1445274861{background:#006b9e;color:white;border-color:#006b9e;}",".type-name.jsx-1445274861{font-weight:500;-webkit-flex:1;-ms-flex:1;flex:1;}",".type-count.jsx-1445274861{color:#374151;font-size:12px;font-weight:600;background:rgba(0,0,0,0.1);padding:2px 6px;border-radius:10px;min-width:20px;text-align:center;}",".type-link.active.jsx-1445274861 .type-count.jsx-1445274861{background:rgba(255,255,255,0.2);color:white;}","@media screen and (max-width:768px){.vessel-directory.jsx-1445274861{padding:16px;}.directory-header.jsx-1445274861{margin-bottom:16px;padding-bottom:12px;}.directory-content.jsx-1445274861{gap:20px;}.type-list.jsx-1445274861{max-height:300px;}}"]})]})},m=n("nOPb"),h=n("Vvt1"),j=n.n(h),y=n("Gg8w"),g=n("BNwO"),v=n("+ZQE"),w=j()((function(){return n.e(14).then(n.bind(null,"xfPr"))}),{ssr:!1,loadableGenerated:{webpack:()=>["xfPr"],modules:["vessels.js -> components/pure/AdBanner"]}}),k=function(e){var t=e.vessels,n=e.start,r=(e.count,e.selectedType,e.onTypeChange,e.vesselTypes,e.isLoading),a=e.totalCount,i=Object(c.useRouter)(),l=Math.floor(n/30),d=Math.ceil(a/30),p=function(e){var t=30*e,n=new URLSearchParams(i.query);n.set("start",t.toString()),n.set("count",30..toString()),i.push("/vessels?".concat(n.toString()))},f=t.map((function(e){var t=e.canonicalPath||Object(b.safeVesselPath)(e.URL);return t?Object(s.jsxs)("tr",{className:"vessel-row",children:[Object(s.jsx)("td",{className:"vessel-image-cell",children:Object(s.jsx)(o.a,{href:"/vessel?url=".concat(encodeURIComponent(t)),as:t,prefetch:!1,children:Object(s.jsx)("a",{className:"vessel-image-link","aria-label":"View ".concat(e.VESSEL_NAME||"vessel"," vessel details"),children:Object(s.jsx)(u.Img,{src:["https://maritime-database.com/upload/vessels_images/".concat(Math.ceil(e.VESSEL_ID/1e3),"/").concat(e.MMSI,".jpg"),"https://www.myshiptracking.com/requests/getimage-normal/".concat(e.MMSI,".jpg"),"/images/Image_not_available.png"],className:"vessel-image",alt:e.VESSEL_NAME,style:{width:"100px",height:"auto",borderRadius:"6px",transition:"transform 0.2s ease"}})})})}),Object(s.jsx)("td",{className:"vessel-info-cell",children:Object(s.jsx)(o.a,{href:"/vessel?url=".concat(encodeURIComponent(t)),as:t,prefetch:!1,children:Object(s.jsx)("a",{className:"vessel-info-link",children:Object(s.jsxs)("div",{className:"vessel-details",children:[Object(s.jsx)("span",{className:"vessel-name",children:e.VESSEL_NAME}),Object(s.jsx)("p",{className:"vessel-type",children:e.SHIP_TYPE})]})})})}),Object(s.jsx)("td",{className:"vessel-year",children:e.YEAR_BUILT}),Object(s.jsx)("td",{className:"vessel-gross",children:e.GROSS}),Object(s.jsx)("td",{className:"vessel-dwt",children:e.SUMMER_DWT}),Object(s.jsx)("td",{className:"vessel-size",children:e.LENGTHBEAM})]},e.VESSEL_ID):null}));return Object(s.jsx)("div",{className:"vessels-container",children:r?Object(s.jsxs)("div",{className:"loading-container",children:[Object(s.jsx)(x.a,{height:"40px"}),Object(s.jsx)("p",{children:"Loading vessels..."})]}):Object(s.jsxs)(s.Fragment,{children:[Object(s.jsx)("div",{className:"vessels-table-wrapper desktop-only",children:Object(s.jsxs)("table",{className:"vessels-table",children:[Object(s.jsx)("thead",{children:Object(s.jsxs)("tr",{children:[Object(s.jsx)("th",{colSpan:2,children:"Vessel"}),Object(s.jsx)("th",{children:"Built"}),Object(s.jsx)("th",{children:"GT"}),Object(s.jsx)("th",{children:"DWT"}),Object(s.jsx)("th",{children:"Size (m)"})]})}),Object(s.jsx)("tbody",{children:f})]})}),Object(s.jsx)("div",{className:"vessels-mobile-wrapper mobile-only",children:t.map((function(e){var t=e.canonicalPath||Object(b.safeVesselPath)(e.URL);return t?Object(s.jsxs)("div",{className:"vessel-card",children:[Object(s.jsx)("div",{className:"vessel-card-image",children:Object(s.jsx)(o.a,{href:"/vessel?url=".concat(encodeURIComponent(t)),as:t,prefetch:!1,children:Object(s.jsx)("a",{className:"vessel-card-image-link","aria-label":"View ".concat(e.VESSEL_NAME||"vessel"," vessel details"),children:Object(s.jsx)(u.Img,{src:["https://maritime-database.com/upload/vessels_images/".concat(Math.ceil(e.VESSEL_ID/1e3),"/").concat(e.MMSI,".jpg"),"https://www.myshiptracking.com/requests/getimage-normal/".concat(e.MMSI,".jpg"),"/images/Image_not_available.png"],className:"vessel-card-thumbnail",alt:e.VESSEL_NAME,style:{width:"80px",height:"auto",borderRadius:"8px"}})})})}),Object(s.jsxs)("div",{className:"vessel-card-content",children:[Object(s.jsx)(o.a,{href:"/vessel?url=".concat(encodeURIComponent(t)),as:t,prefetch:!1,children:Object(s.jsxs)("a",{className:"vessel-card-link",children:[Object(s.jsx)("span",{className:"vessel-card-name",children:e.VESSEL_NAME}),Object(s.jsx)("p",{className:"vessel-card-type",children:e.SHIP_TYPE})]})}
1),Object(s.jsxs)("div",{className:"vessel-card-details",children:[Object(s.jsxs)("div",{className:"detail-item",children:[Object(s.jsx)("span",{className:"detail-label",children:"Built:"}),Object(s.jsx)("span",{className:"detail-value",children:e.YEAR_BUILT})]}),Object(s.jsxs)("div",{className:"detail-item",children:[Object(s.jsx)("span",{className:"detail-label",children:"GT:"}),Object(s.jsx)("span",{className:"detail-value",children:e.GROSS})]}),Object(s.jsxs)("div",{className:"detail-item",children:[Object(s.jsx)("span",{className:"detail-label",children:"DWT:"}),Object(s.jsx)("span",{className:"detail-value",children:e.SUMMER_DWT})]}),Object(s.jsxs)("div",{className:"detail-item",children:[Object(s.jsx)("span",{className:"detail-label",children:"Size:"}),Object(s.jsx)("span",{className:"detail-value",children:e.LENGTHBEAM})]})]})]})]},e.VESSEL_ID):null}))}),a>30&&Object(s.jsxs)("div",{className:"pagination",style:{marginTop:"20px",display:"flex",justifyContent:"space-between",alignItems:"center"},children:[Object(s.jsx)("button",{className:"btn btn-secondary",disabled:0===l,onClick:function(){p(l-1),window.scrollTo({top:0,behavior:"smooth"})},children:"\u2190 Previous"}),Object(s.jsxs)("span",{className:"page-info",children:["Page ",l+1," of ",d," (",a," total vessels)"]}),Object(s.jsx)("button",{className:"btn btn-secondary",disabled:l>=d-1,onClick:function(){p(l+1),window.scrollTo({top:0,behavior:"smooth"})},children:"Next \u2192"})]})]})})},O=!0;t.default=function(e){var t=e.vessels,n=e.start,r=e.count,l=e.vesselTypes,o=e.totalCount,u=e.type,b=Object(c.useRouter)(),x=Object(i.useState)(t),h=x[0],j=x[1],O=Object(i.useState)(l),_=O[0],N=(O[1],Object(i.useState)(u||b.query.type||"all")),S=N[0],E=N[1],T=Object(i.useState)(!1),P=T[0],M=T[1],I=Object(i.useState)(o),D=I[0],z=I[1];Object(i.useEffect)((function(){void 0===b.query.start&&void 0===b.query.type||(j(t),z(o),E(u||b.query.type||"all"))}),[b.query.start,b.query.type,t,o,u]);var V=function(e){E(e),M(!0);var t=new URLSearchParams;t.set("start","0"),t.set("count","30"),"all"!==e&&t.set("type",e),b.push("/vessels?".concat(t.toString())).finally((function(){return M(!1)})),window.scrollTo({top:0,behavior:"smooth"})},C=Object(s.jsx)(f,{vesselTypes:_,currentVesselType:"all"===S?"All Types":S,onTypeChange:V});return Object(s.jsxs)(d.a,{pageName:"vessels",leftSideContent:C,contentStyle:{flexDirection:"column",flex:"1"},meta:{page:"vessels"},title:"Vessels of the world - Maritime Database",breadcrumbs:Object(v.vesselsBreadcrumbs)(),children:[Object(s.jsx)(g.a,{items:Object(v.vesselsBreadcrumbs)()}),Object(s.jsxs)("div",{className:a.a.dynamic([["3074807235",[m.a.tabletDown,m.a.mobile]]])+" vessels-page",children:[Object(s.jsxs)("div",{className:a.a.dynamic([["3074807235",[m.a.tabletDown,m.a.mobile]]])+" page-header",children:[Object(s.jsx)(p.a,{elem:"h1",children:"all"===S?"Maritime Vessels":"Maritime Vessels (".concat(S,")")}),Object(s.jsx)("p",{className:a.a.dynamic([["3074807235",[m.a.tabletDown,m.a.mobile]]])+" page-description",children:"Explore our comprehensive database of maritime vessels from around the world"})]}),Object(s.jsx)(k,{vessels:h,start:n,count:r,selectedType:S,onTypeChange:V,vesselTypes:_,isLoading:P,totalCount:D})]}),Object(s.jsx)(y.a,{vertical:!0,children:Object(s.jsx)(w,{})}),Object(s.jsx)(a.a,{id:"3074807235",dynamic:[m.a.tabletDown,m.a.mobile],children:[".vessels-page{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:24px;}",".vessels-mobile-wrapper{display:none !important;}",".page-header{text-align:center;padding:32px 0;background:linear-gradient(135deg,#f8fafc 0%,#e2e8f0 100%);border-radius:12px;margin-bottom:24px;}",".page-description{color:#6b7280;margin:8px 0 0 0;font-size:16px;}",".vessels-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:24px;margin-bottom:24px;}",".vessels-table-wrapper{background:white;border-radius:12px;overflow:scroll;box-shadow:0 1px 3px 0 rgba(0,0,0,0.1);}",".vessels-table{width:100%;border-collapse:collapse;background:white;}",".vessels-table th{background:linear-gradient(135deg,#1e293b 0%,#334155 100%);color:white;padding:16px 20px;text-align:left;font-weight:600;border-bottom:2px solid #475569;font-size:14px;text-transform:uppercase;-webkit-letter-spacing:0.5px;-moz-letter-spacing:0.5px;-ms-letter-spacing:0.5px;letter-spacing:0.5px;}",".vessels-table td{padding:16px 20px;border-bottom:1px solid #f1f5f9;vertical-align:middle;-webkit-transition:background-color 0.2s ease;transition:background-color 0.2s ease;}",".vessels-table tr:hover{background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%);-webkit-transform:translateY(-1px);-ms-transform:translateY(-1px);transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,0.1);}",".vessel-image-cell{width:120px;text-align:center;padding:12px 20px;}",".vessel-image-link{display:block;-webkit-text-decoration:none;text-decoration:none;}",".vessel-image{width:80px;height:60px;object-fit:cover;border-radius:8px;-webkit-transition:-webkit-transform 0.2s ease;-webkit-transition:transform 0.2s ease;transition:transform 0.2s ease;box-shadow:0 2px 8px rgba(0,0,0,0.1);}",".vessel-image:hover{-webkit-transform:scale(1.05);-ms-transform:scale(1.05);transform:scale(1.05);box-shadow:0 4px 16px rgba(0,0,0,0.2);}",".vessel-info-cell{min-width:250px;padding-left:0;}",".vessel-info-link{display:block;-webkit-text-decoration:none;text-decoration:none;color:inherit;-webkit-transition:color 0.2s ease;transition:color 0.2s ease;}",".vessel-info-link:hover{color:#3b82f6;}",".vessel-details{padding:8px 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:6px;}",".vessel-name{margin:0 0 6px 0;font-size:16px;font-weight:700;color:#1e293b;line-height:1.3;-webkit-transition:color 0.2s ease;transition:color 0.2s ease;}",".vessel-type{margin:0;font-size:14px;color:#475569;font-weight:500;background:#f1f5f9;padding:4px 8px;border-radius:6px;display:inline-block;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}",".vessel-year,.vessel-gross,.vessel-dwt,.vessel-size{font-size:14px;color:#374151;text-align:center;}",".loading-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:16px;padding:60px 20px;color:#6b7280;}
1",".pagination{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:16px;padding:24px;background:white;border-radius:12px;box-shadow:0 1px 3px 0 rgba(0,0,0,0.1);margin-top:24px;}",".page-info{font-size:14px;color:#6b7280;font-weight:500;}",".mobile-only{display:none !important;}","@media screen and ".concat(m.a.tabletDown,"{.vessels-table{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;border-collapse:collapse;background:white;}.vessels-table th,.vessels-table td{padding:8px 12px;font-size:13px;}.vessel-image{width:60px;height:45px;}.vessel-name{font-size:14px;}.vessel-type{font-size:12px;}.vessel-year,.vessel-gross,.vessel-dwt,.vessel-size{font-size:12px;}}"),".desktop-only{display:block !important;}",".mobile-only{display:none !important;}","@media screen and ".concat(m.a.mobile,"{.desktop-only{display:none !important;}.mobile-only{display:block !important;}.vessels-mobile-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:16px;}.vessel-card{background:white;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.1);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:16px;padding:16px;margin-bottom:10px;-webkit-transition:all 0.2s ease;transition:all 0.2s ease;}.vessels-table{display:none !important;}.vessel-card:hover{-webkit-transform:translateY(-2px);-ms-transform:translateY(-2px);transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,0.15);}.vessel-card-image{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:80px;height:60px;border-radius:8px;overflow:hidden;}.vessel-card-image-link{display:block;width:100%;height:100%;-webkit-text-decoration:none;text-decoration:none;}.vessel-card-content{-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:8px;}.vessel-card-link{-webkit-text-decoration:none;text-decoration:none;color:inherit;}.vessel-card-name{margin:0 0 4px 0;font-size:16px;font-weight:600;color:#1f2937;line-height:1.3;}.vessel-card-type{margin:0;font-size:14px;color:#6b7280;font-style:italic;}.vessel-card-details{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;}.detail-item{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:4px 8px;background:#f8fafc;border-radius:4px;font-size:12px;}.detail-label{font-weight:500;color:#6b7280;}.detail-value{font-weight:600;color:#374151;}.vessels-table-wrapper{display:none !important;}}"),".ad-banner-container{position:relative !important;z-index:1 !important;clear:both !important;overflow:hidden !important;max-width:100% !important;isolation:isolate !important;margin:20px 0 !important;padding:0 !important;}",".ad-banner-container *{max-width:100% !important;box-sizing:border-box !important;position:relative !important;z-index:1 !important;isolation:isolate !important;overflow:hidden !important;}",".page-content{position:relative !important;z-index:100 !important;isolation:isolate !important;}",".section{position:relative !important;z-index:50 !important;isolation:isolate !important;}"]})]})}},jwwS:function(e,t,n){"use strict";var s;t.__esModule=!0,t.LoadableContext=void 0;var r=((s=n("q1tI"))&&s.__esModule?s:{default:s}).default.createContext(null);t.LoadableContext=r}},[["/TVk",1,0,2,3,4,5,6]]]);

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.