1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,60240,t=>{"use strict";var e=t.i(43476),i=t.i(71645),r=t.i(95628),n=t.i(71454);let o={full:100,large:75,medium:50,small:33};t.s(["BodyChartImage",0,function({value:t}){let[s,a]=(0,i.useState)(!1),l=(0,i.useId)(),h=(0,i.useCallback)(()=>a(!1),[]);if((0,i.useEffect)(()=>{if(!s)return;let t=t=>{"Escape"===t.key&&h()};document.addEventListener("keydown",t);let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",t),document.body.style.overflow=e}},[s,h]),!t?.asset)return null;let u=(0,r.resolveImageUrl)(t,t=>t.width(2400).fit("max"));if(!u)return null;let d=t.alignment||"full",p=t.displaySize||"full",f=o[p]??100,c=["pub-body-fig","full"===d?"pub-body-fig--full":"","center"===d?"pub-body-fig--center":"","left"===d?"pub-body-fig--left":"","right"===d?"pub-body-fig--right":""].filter(Boolean).join(" ");return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("figure",{className:c,style:"full"===d&&"full"===p?void 0:"left"===d||"right"===d?{width:`${f}%`,maxWidth:"100%"}:{width:`${f}%`,maxWidth:"100%",marginInline:"auto"},children:[(0,e.jsx)("button",{type:"button",className:"pub-body-fig__btn",onClick:()=>a(!0),"aria-label":t.alt?`Enlarge image: ${t.alt}`:"Enlarge image",children:(0,e.jsx)(n.SanityImg,{source:t,width:1400,fit:"max",widths:[480,800,1100,1400,2100],sizes:f<100?`(max-width: 720px) 100vw, ${Math.round(8.2*f)}px`:"(max-width: 900px) 100vw, 820px",alt:t.alt||"",className:"pub-body-fig__img"})}),(0,e.jsx)("span",{className:"pub-body-fig__cue",children:"Tap to enlarge"}),t.caption?(0,e.jsx)("figcaption",{className:"pub-body-fig__cap",children:t.caption}):null]}),s?(0,e.jsxs)("div",{className:"pub-lightbox",role:"dialog","aria-modal":"true","aria-labelledby":l,onClick:h,children:[(0,e.jsx)("button",{type:"button",className:"pub-lightbox__close",onClick:h,"aria-label":"Close",children:"Ã"}),(0,e.jsx)("p",{id:l,className:"sr-only",children:t.alt||t.caption||"Enlarged image"}),(0,e.jsx)("img",{src:u,alt:t.alt||"",className:"pub-lightbox__img",onClick:t=>t.stopPropagation()})]}):null]})}])},71454,t=>{"use strict";var e=t.i(43476),i=t.i(95628);t.s(["SanityImg",0,function({source:t,alt:r,width:n,height:o,fit:s,widths:a,sizes:l,loading:h="lazy",dimensions:u=!0,fallbackSrc:d,fallback:p=null,...f}){let c=(0,i.resolveResponsiveImage)(t,{width:n,height:o,fit:s,widths:a}),m="crop"===s&&o?{width:n,height:o}:null,g=c??(d?{src:d,srcSet:null,width:m?.width,height:m?.height}:null);if(!g)return(0,e.jsx)(e.Fragment,{children:p});let w=g.srcSet||void 0;return(0,e.jsx)("img",{...f,sizes:w?l||`(max-width: ${g.width}px) 100vw, ${g.width}px`:void 0,srcSet:w,src:g.src,alt:r,width:u?g.width:void 0,height:u?g.height:void 0,loading:h,decoding:"async"})}])},95628,t=>{"use strict";let e="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function i(t){return`image-${t.split("/").slice(-1)[0]}`.replace(/\.([a-z]+)$/,"-$1")}let r=[["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"]],n=["clip","crop","fill","fillmax","max","scale","min"],o=["top","bottom","left","right","center","focalpoint","entropy"],s=["format"];function a(t){let{apiHost:e,projectId:i,dataset:r}=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:i,dataset:r}}function l(t){return t&&"config"in t&&"function"==typeof t.config?a(t.config()):t&&"clientConfig"in t&&"object"==typeof t.clientConfig?a(t.clientConfig):t||{}}class h{options;constructor(t,e){this.options=t?{...t.options||{},...e||{}}:{...e||{}}}withOptions(t){return new h(this,function(t,e){let i=e.baseUrl||t.baseUrl,n={baseUrl:i};for(let t in e)e.hasOwnProperty(t)&&(n[function(t){for(let e of r){let[i,r]=e;if(t===i||t===r)return i}return t}(t)]=e[t]);return{baseUrl:i,...n}}(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=l(t),i={...this.options};return delete i.baseUrl,delete i.projectId,delete i.dataset,delete i.mediaLibraryId,delete i.canvasId,new h(null,{...e,...i})}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})}
1sharpen(t){return this.withOptions({sharpen:t})}rect(t,e,i,r){return this.withOptions({rect:{left:t,top:e,width:i,height:r}})}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===n.indexOf(t))throw Error(`Invalid fit mode "${t}"`);return this.withOptions({fit:t})}crop(t){if(-1===o.indexOf(t))throw Error(`Invalid crop mode "${t}"`);return this.withOptions({crop:t})}saturation(t){return this.withOptions({saturation:t})}auto(t){if(-1===s.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 n={...t||{}},o=n.source;delete n.source;let s=function(t){var e;let r;if(!t)return null;if("string"==typeof t&&(e=t,/^https?:\/\//.test(`${e}`)))r={asset:{_ref:i(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:i(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)}(o);if(!s){if(o&&"object"==typeof o&&null!==o&&o._upload&&(!o.asset||!o.asset._ref))return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=";throw Error(`Unable to resolve image URL from source (${JSON.stringify(o)})`)}let a=function(t){let[,i,r,n]=t.split("-");if(!i||!r||!n)throw Error(`Malformed asset _ref '${t}'. Expected an id like "${e}".`);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 "${e}".`);return{id:i,width:a,height:l,format:n}}(s.asset._ref||s.asset._id||""),l=Math.round(s.crop.left*a.width),h=Math.round(s.crop.top*a.height),u={left:l,top:h,width:Math.round(a.width-s.crop.right*a.width-l),height:Math.round(a.height-s.crop.bottom*a.height-h)},d=s.hotspot.height*a.height/2,p=s.hotspot.width*a.width/2,f=s.hotspot.x*a.width,c=s.hotspot.y*a.height;return n.rect||n.focalPoint||n.ignoreImageParams||n.crop||(n={...n,...function(t,e){let i,r=e.width,n=e.height;if(!(r&&n))return{width:r,height:n,rect:t.crop};let o=t.crop,s=t.hotspot,a=r/n;if(o.width/o.height>a){let t=Math.round(o.height),e=Math.round(t*a),r=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),i={left:n,top:r,width:e,height:t}}else{let t=o.width,e=Math.round(t/a),r=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),i={left:r,top:n,width:t,height:e}}return{width:r,height:n,rect:i}}({crop:u,hotspot:{left:f-p,top:c-d,right:f+p,bottom:c+d}},n)}),function(t){let e,i=(t.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),n=t.vanityName?`/${t.vanityName}`:"",o=`${t.asset.id}-${t.asset.width}x${t.asset.height}.${t.asset.format}${n}`;e=t.mediaLibraryId?`${i}/media-libraries/${t.mediaLibraryId}/images/${o}`:t.canvasId?`${i}/images/canvases/${t.canvasId}/${o}`:`${i}/images/${t.projectId}/${t.dataset}/${o}`;let s=[];if(t.rect){let{left:e,top:i,width:r,height:n}=t.rect;(0!==e||0!==i||n!==t.asset.height||r!==t.asset.width)&&s.push(`rect=${e},${i},${r},${n}`)}t.bg&&s.push(`bg=${t.bg}`),t.focalPoint&&(s.push(`fp-x=${t.focalPoint.x}`),s.push(`fp-y=${t.focalPoint.y}`));
1let a=[t.flipHorizontal&&"h",t.flipVertical&&"v"].filter(Boolean).join("");return a&&s.push(`flip=${a}`),r.forEach(e=>{let[i,r]=e;"u">typeof t[i]?s.push(`${r}=${encodeURIComponent(t[i])}`):"u">typeof t[r]&&s.push(`${r}=${encodeURIComponent(t[r])}`)}),0===s.length?e:`${e}?${s.join("&")}`}({...n,asset:a})}(this.options)}toString(){return this.url()}}var u=t.i(47167);let d=f("production","Missing environment variable: NEXT_PUBLIC_SANITY_DATASET"),p=f("0wfzc71x","Missing environment variable: NEXT_PUBLIC_SANITY_PROJECT_ID");function f(t,e){if(void 0===t||""===t)throw Error(e);return t}u.default.env.SANITY_TOKEN,u.default.env.SANITY_REVALIDATE_SECRET;let c=new h(null,l({projectId:p,dataset:d}));function m(t){return c.image(t).auto("format")}let g=/^image-[A-Za-z0-9]+-\d+x\d+-[a-z0-9]+$/i;function w(t){var e;let i;if(!t||"object"!=typeof t)return null;let r=(e=t.asset,(i=e?._ref?.trim()||e?._id?.trim()||null)&&g.test(i)?i:null);return r?{source:{...t,asset:{_ref:r}},ref:r}:null}function b(t,e){if(!t||"object"!=typeof t)return null;let i=t.asset;if(!i)return null;let r=w(t);if(r)try{return e(m(r.source)).url()}catch{}return i.url?.trim()||null}let y=[.5,1,1.5,2];t.s(["resolveImageUrl",0,b,"resolveResponsiveImage",0,function(t,{width:e,height:i,fit:r,widths:n}){let o,s,a=t=>{let n=t.width(e);return i&&(n=n.height(i)),n.fit(r)},l=b(t,a);if(!l)return null;let h=function(t){let e=w(t);if(!e)return null;let i=/-(\d+)x(\d+)-[a-z0-9]+$/i.exec(e.ref);if(!i)return null;let r=Number(i[1]),n=Number(i[2]),o=t.crop;if(o&&"object"==typeof o){let t=t=>"number"==typeof o[t]?o[t]:0,e=Math.round(t("left")*r),i=Math.round(t("top")*n);r=Math.round(r-t("right")*r-e),n=Math.round(n-t("bottom")*n-i)}return r>0&&n>0?{width:r,height:n}:null}(t),u="crop"===r&&!!i;if(u)o=e,s=i;else if(h){let t=Math.min(1,e/h.width,i?i/h.height:1/0);o=Math.round(h.width*t),s=Math.round(h.height*t)}if(!h||!o)return{src:l,srcSet:null,width:o,height:s};let d=o,p=Math.min(3200,u?Math.min(h.width,h.height*e/i):h.width),f=(n??y.map(t=>t*d)).map(t=>Math.round(t)),c=f.filter(t=>t===d||t<=p&&t>=Math.min(d,100));c.includes(d)||c.push(d);let g=Math.floor(p);return g>d&&f.some(t=>t>g)&&c.push(g),{src:l,srcSet:new Set(c).size>1?function(t,e,i){let r=w(t);if(!r)return null;let n=[...new Set(e.map(t=>Math.round(t)))].filter(t=>Number.isFinite(t)&&t>0).sort((t,e)=>t-e),o=[];for(let t of n)try{let e=i(m(r.source),t).url();o.push(`${e} ${t}w`)}catch{return null}return o.length?o.join(", "):null}(t,c,(t,r)=>r===d?a(t):u?t.width(r).height(Math.round(r*i/e)).fit("crop"):t.width(r).fit("max")):null,width:o,height:s}}],95628)}]);
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.