PageSourceSearch

https://www.shipserv.com/_next/static/chunks/3706-e7d9756f0c1e72a3.js

js shipserv.com collected 2026-10-02 11:12:32 UTC 6,692 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3706],{93706:function(t,e,r){"use strict";r.d(e,{Z:function(){return j}});var n=r(2784),o=r(13980),i=r.n(o),a=r(77485),u=r.n(a);let c="format",s="resize",p="cropRadius",l="quality",f="backgroundColor",h={[c]:{format:"fm",compression:"fl"},[s]:{width:"w",height:"h",behavior:"fit",focusArea:"f"},[p]:"r",[l]:"q",[f]:"bg"},_={[c]:{compression:{"8bit":"png8",progressive:"progressive"},mimeType:{webp:"webp",jpg:"jpeg",png:"png"}}},y=({key:t,value:e})=>{let r=e.split(" "),n=h[t].format,o=h[t].compression;if(2===r.length){let e=_[t].compression[r[0]];return{url:[`${n}=${r[1]}&${o}=${e}`],mimeType:`image/${_[t].mimeType[r[1]]}`}}return{url:[`${n}=${r[0]}`],mimeType:`image/${_[t].mimeType[r[0]]}`}},g=({key:t,value:e})=>Object.keys(e).map(r=>{let n=h[t][r];return`${n}=${e[r]}`}),m=({key:t,value:e})=>{let r=h[t];return[`${r}=${e}`]},v=({key:t,value:e})=>{let r=h[t],n=e.replace("#","rgb:");return[`${r}=${n}`]};var b=t=>{let{key:e}=t;switch(e){case c:return y(t);case s:return g(t);case p:case l:return m(t);case f:return v(t)}};let d=(0,n.forwardRef)(({format:t,optimize:e,resize:r,cropRadius:o,quality:i,backgroundColor:a,image:h,..._},y)=>{let g=(0,n.useMemo)(()=>{let n;let _="string"==typeof h?h:u()(h,"fields.file.url");if(!_)return;let y=[];if(e){let{url:e,mimeType:r}=b({key:c,value:t});y.push(...e),n=r}if(r){let t=b({key:s,value:r});y.push(...t)}if(o){let t=b({key:p,value:o});y.push(...t)}if(i){let t=b({key:l,value:i});y.push(...t)}if(a){let t=b({key:f,value:a});y.push(...t)}return{enhancedUrl:y.length?`${_}?${y.join("&")}`:_,mimeType:n,originalUrl:_}},[h,t,r,e,o,i,a]);if(!g)return console.error("ContentfulImage: Could not retrieve an URL from the `image` prop. Please check your object structure."),null;let{enhancedUrl:m,mimeType:v,originalUrl:d}=g;return n.createElement("picture",{"data-testid":"picture"},m!==d&&n.createElement("source",{srcSet:m,type:v}),n.createElement("source",{srcSet:d}),n.createElement("img",Object.assign({},_,{src:d,ref:y})))});d.propTypes={optimize:i().bool,quality:i().number,image:i().oneOfType([i().string,i().object]).isRequired,backgroundColor:i().string,cropRadius:i().oneOfType([i().oneOf(["max"]),i().number]),format:i().oneOf(["webp","jpg","png","progressive jpg","8bit png"]),resize:i().shape({width:i().number,height:i().number,behavior:i().oneOf(["pad","fill","scale","crop","thumb"]),focusArea:i().oneOf(["top","right","bottom","left","center","top_right","top_left","bottom_right","bottom_left","face","faces"])})},d.defaultProps={format:"webp",optimize:!0};var j=d},77485:function(t,e,r){var n,o="__lodash_hash_undefined__",i=1/0,a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,c=/^\./,s=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p=/\\(\\)?/g,l=/^\[object .+?Constructor\]$/,f="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,h="object"==typeof self&&self&&self.Object===Object&&self,_=f||h||Function("return this")(),y=Array.prototype,g=Function.prototype,m=Object.prototype,v=_["__core-js_shared__"],b=(n=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",d=g.toString,j=m.hasOwnProperty,$=m.toString,w=RegExp("^"+d.call(j).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),O=_.Symbol,k=y.splice,T=z(_,"Map"),E=z(Object,"create"),C=O?O.prototype:void 0,S=C?C.toString:void 0;function R(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function x(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function A(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function P(t,e){for(var r,n=t.length;n--;)if((r=t[n][0])===e||r!=r&&e!=e)return n;return -1}function q(t,e){var r,n=t.__data__;return("string"==(r=typeof e)||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e)?n["string"==typeof e?"string":"hash"]:n.map}function z(t,e){var r,n=null==t?void 0:t[e];return!(!N(n)||b&&b in n)&&("[object Function]"==(r=N(n)?$.call(n):"")||"[object GeneratorFunction]"==r||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(n)?w:l).test(function(t){if(null!=t){try{return d.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(n))?n:void 0}R.prototype.clear=function(){this.__data__=E?E(null):{}},R.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},R.prototype.get=function(t){var e=this.__data__;if(E){var r=e[t];return r===o?void 0:r}return j.call(e,t)?e[t]:void 0},R.prototype.has=function(t){var e=this.__data__;return E?void 0!==e[t]:j.call(e,t)},R.prototype.set=function(t,e){return this.__data__[t]=E&&void 0===e?o:e,this},x.prototype.clear=function(){this.__data__=[]},x.prototype.delete=function(t){var e=this.__data__,r=P(e,t);return!(r<0)&&(r==e.length-1?e.pop():k.call(e,r,1),!0)},x.prototype.get=function(t){var e=this.__data__,r=P(e,t);return r<0?void 0:e[r][1]},x.prototype.has=function(t){return P(this.__data__,t)>-1}
1,x.prototype.set=function(t,e){var r=this.__data__,n=P(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},A.prototype.clear=function(){this.__data__={hash:new R,map:new(T||x),string:new R}},A.prototype.delete=function(t){return q(this,t).delete(t)},A.prototype.get=function(t){return q(this,t).get(t)},A.prototype.has=function(t){return q(this,t).has(t)},A.prototype.set=function(t,e){return q(this,t).set(t,e),this};var F=I(function(t){t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(U(t))return S?S.call(t):"";var e=t+"";return"0"==e&&1/t==-i?"-0":e}(e);var e,r=[];return c.test(t)&&r.push(""),t.replace(s,function(t,e,n,o){r.push(n?o.replace(p,"$1"):e||t)}),r});function I(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a),a};return r.cache=new(I.Cache||A),r}I.Cache=A;var M=Array.isArray;function N(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function U(t){return"symbol"==typeof t||!!t&&"object"==typeof t&&"[object Symbol]"==$.call(t)}t.exports=function(t,e,r){var n=null==t?void 0:function(t,e){var r;e=!function(t,e){if(M(t))return!1;var r=typeof t;return!!("number"==r||"symbol"==r||"boolean"==r||null==t||U(t))||u.test(t)||!a.test(t)||null!=e&&t in Object(e)}(e,t)?M(r=e)?r:F(r):[e];for(var n=0,o=e.length;null!=t&&n<o;)t=t[function(t){if("string"==typeof t||U(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}(e[n++])];return n&&n==o?t:void 0}(t,e);return void 0===n?r:n}}}]);

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.