PageSourceSearch

https://spoke.com/_next/static/chunks/85208-bee928953936ab14.js

js spoke.com collected 2026-10-01 08:27:40 UTC 10,023 bytes, 4 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8377d302-61af-5d11-8602-7c06d764e6a2")}catch(e){}}();
3!function(){try{var t="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];if(null!=r)for(var i in r)r.hasOwnProperty(i)&&(t[i]=r[i])}return t}({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:marketing-app":!0})}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[85208],{7571:(t,e,r)=>{var i;r.d(e,{OX:()=>f});let n="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function o(t){return`image-${t.split("/").slice(-1)[0]}`.replace(/\.([a-z]+)$/,"-$1")}let s=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"],["frame","frame"]],a=["clip","crop","fill","fillmax","max","scale","min"],l=["top","bottom","left","right","center","focalpoint","entropy"],h=["format"];function u(t){let{apiHost:e,projectId:r,dataset:i}=t,n={baseUrl:(e||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn.")},o=t.resource??t["~experimental_resource"];if(o?.type==="media-library"){if("string"!=typeof o.id||0===o.id.length)throw Error('Media library clients must include an id in "resource"');return{...n,mediaLibraryId:o.id}}if(o?.type==="canvas"){if("string"!=typeof o.id||0===o.id.length)throw Error('Canvas clients must include an id in "resource"');return{...n,canvasId:o.id}}if(o?.type==="dataset"){if("string"!=typeof o.id||0===o.id.length)throw Error('Dataset clients must include an id in "resource"');let[t,e]=o.id.split(".");if(!t||!e)throw Error('Dataset resource id must be in the format "projectId.dataset", got: '+o.id);return{...n,projectId:t,dataset:e}}return{...n,projectId:r,dataset:i}}function p(t){return t&&"config"in t&&"function"==typeof t.config?u(t.config()):t&&"clientConfig"in t&&"object"==typeof t.clientConfig?u(t.clientConfig):t||{}}function f(t){return new d(null,p(t))}class d{options;constructor(t,e){this.options=t?{...t.options||{},...e||{}}:{...e||{}}}withOptions(t){return new d(this,function(t,e){let r=e.baseUrl||t.baseUrl,i={baseUrl:r};for(let t in e)e.hasOwnProperty(t)&&(i[function(t){for(let e of s){let[r,i]=e;if(t===r||t===i)return r}return t}(t)]=e[t]);return{baseUrl:r,...i}}(this.options,t))}image(t){return this.withOptions({source:t})}dataset(t){return this.withOptions({dataset:t})}projectId(t){return this.withOptions({projectId:t})}withClient(t){let e=p(t),r={...this.options};return delete r.baseUrl,delete r.projectId,delete r.dataset,delete r.mediaLibraryId,delete r.canvasId,new d(null,{...e,...r})}bg(t){return this.withOptions({bg:t})}dpr(t){return this.withOptions(t&&1!==t?{dpr:t}:{})}width(t){return this.withOptions({width:t})}height(t){return this.withOptions({height:t})}focalPoint(t,e){return this.withOptions({focalPoint:{x:t,y:e}})}maxWidth(t){return this.withOptions({maxWidth:t})}minWidth(t){return this.withOptions({minWidth:t})}maxHeight(t){return this.withOptions({maxHeight:t})}minHeight(t){return this.withOptions({minHeight:t})}size(t,e){return this.withOptions({width:t,height:e})}blur(t){return this.withOptions({blur:t})}sharpen(t){return this.withOptions({sharpen:t})}rect(t,e,r,i){return this.withOptions({rect:{left:t,top:e,width:r,height:i}})}format(t){return this.withOptions({format:t})}invert(t){return this.withOptions({invert:t})}orientation(t){return this.withOptions({orientation:t})}quality(t){return this.withOptions({quality:t})}forceDownload(t){return this.withOptions({download:t})}flipHorizontal(){return this.withOptions({flipHorizontal:!0})}flipVertical(){return this.withOptions({flipVertical:!0})}ignoreImageParams(){return this.withOptions({ignoreImageParams:!0})}fit(t){if(-1===a.indexOf(t))throw Error(`Invalid fit mode "${t}"`);return this.withOptions({fit:t})}crop(t){if(-1===l.indexOf(t))throw Error(`Invalid crop mode "${t}"`);return this.withOptions({crop:t})}saturation(t){return this.withOptions({saturation:t})}auto(t){if(-1===h.indexOf(t))throw Error(`Invalid auto mode "${t}"`);return this.withOptions({auto:t})}pad(t){return this.withOptions({pad:t})}vanityName(t){return this.withOptions({vanityName:t})}frame(t){if(1!==t)throw Error(`Invalid frame value "${t}"`);return this.withOptions({frame:t})}url(){return function(t){let e={...t||{}},r=e.source;delete e.source;let i=function(t){var e;let r;if(!t)return null;if("string"==typeof t&&(e=t,/^https?:\/\//.test(`${e}`)))r={asset:{_ref:o(t)}};else if("string"==typeof t)r={asset:{_ref:t}};else if(t&&"string"==typeof t._ref)r={asset:t};else if(t&&"string"==typeof t._id)r={asset:{_ref:t._id||""}};else if(t&&t.asset&&"string"==typeof t.asset.url)r={asset:{_ref:o(t.asset.url)}};else{if("object"!=typeof t.asset)return null;r={...t}}return t.crop&&(r.crop=t.crop),t.hotspot&&(r.hotspot=t.hotspot),function(t){if(t.crop&&t.hotspot)return t;let e={...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}(r)}(r);if(!i){if(r&&"object"==typeof r&&null!==r&&r._upload&&(!r.asset||!r.asset._ref))return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=";throw Error(`Unable to resolve image URL from source (${JSON.stringify(r)})`)}let a=function(t){let[,e,r,i]=t.split("-");if(!e||!r||!i)throw Error(`Malformed asset _ref '${t}'. Expected an id like "${n}".`);let[o,s]=r.split("x"),a=+o,l=+s;if(!(isFinite(a)&&isFinite(l)))throw Error(`Malformed asset _ref '${t}'. Expected an id like "${n}".`);return{id:e,width:a,height:l,format:i}}(i.asset._ref||i.asset._id||""),l=Math.round(i.crop.left*a.width),h=Math.round(i.crop.top*a.height),u={left:l,top:h,width:Math.round(a.width-i.crop.right*a.width-l),height:Math.round(a.height-i.crop.bottom*a.height-h)},p=i.hotspot.height*a.height/2,f=i.hotspot.width*a.width/2,d=i.hotspot.x*a.width,c=i.hotspot.y*a.height;return e.rect||e.focalPoint||e.ignoreImageParams||e.crop||(e={...e,...function(t,e){let r,i=e.width,n=e.he
3ight;if(!(i&&n))return{width:i,height:n,rect:t.crop};let o=t.crop,s=t.hotspot,a=i/n;if(o.width/o.height>a){let t=Math.round(o.height),e=Math.round(t*a),i=Math.max(0,Math.round(o.top)),n=Math.max(0,Math.round(Math.round((s.right-s.left)/2+s.left)-e/2));n<o.left?n=o.left:n+e>o.left+o.width&&(n=o.left+o.width-e),r={left:n,top:i,width:e,height:t}}else{let t=o.width,e=Math.round(t/a),i=Math.max(0,Math.round(o.left)),n=Math.max(0,Math.round(Math.round((s.bottom-s.top)/2+s.top)-e/2));n<o.top?n=o.top:n+e>o.top+o.height&&(n=o.top+o.height-e),r={left:i,top:n,width:t,height:e}}return{width:i,height:n,rect:r}}({crop:u,hotspot:{left:d-f,top:c-p,right:d+f,bottom:c+p}},e)}),function(t){let e,r=(t.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),i=t.vanityName?`/${t.vanityName}`:"",n=`${t.asset.id}-${t.asset.width}x${t.asset.height}.${t.asset.format}${i}`;e=t.mediaLibraryId?`${r}/media-libraries/${t.mediaLibraryId}/images/${n}`:t.canvasId?`${r}/images/canvases/${t.canvasId}/${n}`:`${r}/images/${t.projectId}/${t.dataset}/${n}`;let o=[];if(t.rect){let{left:e,top:r,width:i,height:n}=t.rect;(0!==e||0!==r||n!==t.asset.height||i!==t.asset.width)&&o.push(`rect=${e},${r},${i},${n}`)}t.bg&&o.push(`bg=${t.bg}`),t.focalPoint&&(o.push(`fp-x=${t.focalPoint.x}`),o.push(`fp-y=${t.focalPoint.y}`));let a=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return a&&o.push(`flip=${a}`),s.forEach(e=>{let[r,i]=e;"u">typeof t[r]?o.push(`${i}=${encodeURIComponent(t[r])}`):"u">typeof t[i]&&o.push(`${i}=${encodeURIComponent(t[i])}`)}),0===o.length?e:`${e}?${o.join("&")}`}({...e,asset:a})}(this.options)}toString(){return this.url()}}i=["The default export of @sanity/image-url has been deprecated. Use the named export `createImageUrlBuilder` instead."]},29722:(t,e,r)=>{function i(){for(var t,e,r=0,i="",n=arguments.length;r<n;r++)(t=arguments[r])&&(e=function t(e){var r,i,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(r=0;r<o;r++)e[r]&&(i=t(e[r]))&&(n&&(n+=" "),n+=i)}else for(i in e)e[i]&&(n&&(n+=" "),n+=i);return n}(t))&&(i&&(i+=" "),i+=e);return i}r.d(e,{$:()=>i,A:()=>n});let n=i},57838:(t,e,r)=>{let i;r.d(e,{Fj:()=>a});var n=r(29722);let o=t=>"boolean"==typeof t?`${t}`:0===t?"0":t,{compose:s,cva:a,cx:l}={compose:function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return t=>{let r=Object.fromEntries(Object.entries(t||{}).filter(t=>{let[e]=t;return!["class","className"].includes(e)}));return i(e.map(t=>t(r)),null==t?void 0:t.class,null==t?void 0:t.className)}},cva:t=>e=>{var r;if((null==t?void 0:t.variants)==null)return i(null==t?void 0:t.base,null==e?void 0:e.class,null==e?void 0:e.className);let{variants:n,defaultVariants:s}=t,a=Object.keys(n).map(t=>{let r=null==e?void 0:e[t],i=null==s?void 0:s[t],a=o(r)||o(i);return n[t][a]}),l={...s,...e&&Object.entries(e).reduce((t,e)=>{let[r,i]=e;return void 0===i?t:{...t,[r]:i}},{})},h=null==t||null==(r=t.compoundVariants)?void 0:r.reduce((t,e)=>{let{class:r,className:i,...n}=e;return Object.entries(n).every(t=>{let[e,r]=t,i=l[e];return Array.isArray(r)?r.includes(i):i===r})?[...t,r,i]:t},[]);return i(null==t?void 0:t.base,a,h,null==e?void 0:e.class,null==e?void 0:e.className)},cx:i=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return(0,n.$)(e)}}}}]);
4//# debugId=8377d302-61af-5d11-8602-7c06d764e6a2

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.