(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2422],{6803:function(t){t.exports=function(){function _extends(){return(_extends=Object.assign||function(t){for(var e=1;et.length)&&(e=t.length);for(var o=0,i=Array(e);o=t.length?{done:!0}:{done:!1,value:t[e++]}};throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(e=t[Symbol.iterator]()).next.bind(e)}(e);!(o=i()).done;){var n=o.value,r=n[0],a=n[1];if(t===r||t===a)return r}return t}(n)]=t[n]);return new ImageUrlBuilder(this,_extends({baseUrl:o},i))},r.image=function(t){return this.withOptions({source:t})},r.dataset=function(t){return this.withOptions({dataset:t})},r.projectId=function(t){return this.withOptions({projectId:t})},r.bg=function(t){return this.withOptions({bg:t})},r.dpr=function(t){return this.withOptions({dpr:t})},r.width=function(t){return this.withOptions({width:t})},r.height=function(t){return this.withOptions({height:t})},r.focalPoint=function(t,e){return this.withOptions({focalPoint:{x:t,y:e}})},r.maxWidth=function(t){return this.withOptions({maxWidth:t})},r.minWidth=function(t){return this.withOptions({minWidth:t})},r.maxHeight=function(t){return this.withOptions({maxHeight:t})},r.minHeight=function(t){return this.withOptions({minHeight:t})},r.size=function(t,e){return this.withOptions({width:t,height:e})},r.blur=function(t){return this.withOptions({blur:t})},r.sharpen=function(t){return this.withOptions({sharpen:t})},r.rect=function(t,e,o,i){return this.withOptions({rect:{left:t,top:e,width:o,height:i}})},r.format=function(t){return this.withOptions({format:t})},r.invert=function(t){return this.withOptions({invert:t})},r.orientation=function(t){return this.withOptions({orientation:t})},r.quality=function(t){return this.withOptions({quality:t})},r.forceDownload=function(t){return this.withOptions({download:t})},r.flipHorizontal=function(){return this.withOptions({flipHorizontal:!0})},r.flipVertical=function(){return this.withOptions({flipVertical:!0})},r.ignoreImageParams=function(){return this.withOptions({ignoreImageParams:!0})},r.fit=function(t){if(-1===o.indexOf(t))throw Error('Invalid fit mode "'+t+'"');return this.withOptions({fit:t})},r.crop=function(t){if(-1===i.indexOf(t))throw Error('Invalid crop mode "'+t+'"');return this.withOptions({crop:t})},r.saturation=function(t){return this.withOptions({saturation:t})},r.auto=function(t){if(-1===n.indexOf(t))throw Error('Invalid auto mode "'+t+'"');return this.withOptions({auto:t})},r.pad=function(t){return this.withOptions({pad:t})},r.url=function(){return function(o){var i=_extends({},o||{}),n=i.source;delete i.source;var r=function(t){var e;if(!t)return null;if("string"==typeof t&&/^https?:\/\//.test(""+t))e={asset:{_ref:urlToId(t)}};else if("string"==typeof t)e={asset:{_ref:t}};else if(t&&"string"==typeof t._ref)e={asset:t};else if(t&&"string"==typeof t._id)e={asset:{_ref:t._id||""}};else if(t&&t.asset&&"string"==typeof t.asset.url)e={asset:{_ref:urlToId(t.asset.url)}};else{if("object"!=typeof t.asset)return null;e=t}return t.crop&&(e.crop=t.crop),t.hotspot&&(e.hotspot=t.hotspot),function(t){if(t.crop&&t.hotspot)return t;var e=_extends({},t);return e.crop||(e.crop={left:0,top:0,bottom:0,right:0}),e.hotspot||(e.hotspot={x:.5,y:.5,height:1,width:1}),e}(e)}(n);if(!r)return null;var a=function(e){var o=e.split("-"),i=o[1],n=o[2],r=o[3];if(!i||!n||!r)throw Error("Malformed asset _ref '"+e+"'. Expected an id like \""+t+'".');var a=n.split("x"),s=a[0],l=a[1],c=+s,h=+l;if(!(isFinite(c)&&isFinite(h)))throw Error("Malformed asset _ref '"+e+"'. Expected an id like \""+t+'".');return{id:i,width:c,height:h,format:r}}(r.asset._ref||r.asset._id||""),s=Math.round(r.crop.left*a.width),l=Math.round(r.crop.top*a.height),c={left:s,top:l,width:Math.round(a.width-r.crop.right*a.width-s),height:Math.round(a.height-r.crop.bottom*a.height-l)},h=r.hotspot.height*a.height/2,d=r.hotspot.width*a.width/2,u=r.hotspot.x*a.width,m=r.hotspot.y*a.height;return i.rect||i.focalPoint||i.ignoreImageParams||i.crop||(i=_extends(_extends({},i),function(t,e){var o,i=e.width,n=e.height;if(!(i&&n))return{width:i,height:n,rect:t.crop};var r=t.crop,a=t.hotspot,s=i/n;if(r.width/r.height>s){var l=r.height,c=l*s,h=r.top,d=(a.right-a.left)/2+a.left-c/2;dr.left+r.width&&(d=r.left+r.width-c),o={left:Math.round(d),top:Math.round(h),width:Math.round(c),height:Math.round(l)}}else{var u=r.width,m=u/s,f=r.left,p=(a.bottom-a.top)/2+a.top-m/2;pr.top+r.height&&(p=r.top+r.height-m),o={left:Math.max(0,Math.floor(f)),top:Math.max(0,Math.floor(p)),width:Math.round(u),height:Math.round(m)}}return{width:i,height:n,rect:o}}({crop:c,hotspot:{left:u-d,top:m-h,right:u+d,bottom:m+h}},i))),function(t){var o=t.baseUrl||"https://cdn.sanity.io",i=t.asset.id+"-"+t.asset.width+"x"+t.asset.height+"."+t.asset.format,n=o+"/images/"+t.projectId+"/"+t.dataset+"/"+i,r=[];if(t.rect){var a=t.rect,s=a.left,l=a.top,c=a.width,h=a.height;(0!==s||0!==l||h!==t.asset.height||c!==t.asset.width)&&r.push("rect="+s+","+l+","+c+","+h)}t.bg&&r.push("bg="+t.bg),t.focalPoint&&(r.push("fp-x="+t.focalPoint.x),r.push("fp-y="+t.focalPoint.y));var d=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return(d&&r.push("flip="+d),e.forEach(function(e){var o=e[0],i=e[1];void 0!==t[o]?r.push(i+"="+encodeURIComponent(t[o])):void 0!==t[i]&&r.push(i+"="+encodeURIComponent(t[i]))}),0===r.length)?n:n+"?"+r.join("&")}(_extends(_extends({},i),{},{asset:a}))}(this.options)},r.toString=function(){return this.url()},ImageUrlBuilder}();return function(t){if(t&&"object"==typeof t.clientConfig){var e=t.clientConfig,o=e.apiHost,i=e.projectId,n=e.dataset;return new r(null,{baseUrl:(o||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn."),projectId:i,dataset:n})}return new r(null,t)}}()},12870:function(t){"use strict";t.exports=function(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i3&&a<6.5?Math.round(180/a)+"px":a>6.5?Math.round(54)+"px":void 0,l=a<3?Math.round(36*a)+"px":a>3&&a<6.5?"180px":a>6.5?Math.round(270)+"px":void 0;return(0,y.jsx)("li",{className:E()("left"==n.logoAlignment?"mb-32 mr-24 md:mr-50 md:mb-32 lg:mb-48 max-w-[80px]":"m-16 md:m-20 lg:mx-32"),style:{"--logo-height":s,"--logo-width":l},children:(0,y.jsx)("img",{alt:t.name,className:E()("small"==n.logoSize?N().logoImgSmall:N().logoImgLarge,"white"==n.colorTheme&&N().white,"thd-filter thd-logo w-full h-full mx-auto"),decoding:"async",height:s,loading:"lazy",src:(0,S.ZP)(t.image).url(),width:l})},t._id)})})]})})}SanitySocialProof.defaultProps={heading:"More than 21 million people across 200,000 companies choose Loom",headingSize:"thd-heading-sm thd-regular mb-24 text-center"};var P=o(74874),I=o(37793);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(t){for(var e=1;e