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