4 lines
54 KiB
JavaScript
4 lines
54 KiB
JavaScript
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,82522,e=>{"use strict";var t=e.i(43476),i=e.i(81933),r=e.i(7670),n=e.i(71645),o=e.i(37643),a=e.i(50231);let s=e=>{let l,d,c,u,h,m,f,g,p,x,v,b,y,w=(0,i.c)(26);w[0]!==e?({children:l,open:c,className:d,...u}=e,w[0]=e,w[1]=l,w[2]=d,w[3]=c,w[4]=u):(l=w[1],d=w[2],c=w[3],u=w[4]);let[L,C]=(0,n.useState)(!!c),[E,S]=(0,n.useState)(L),j=(0,n.useRef)(0);w[5]!==L?(h=()=>{let e=j.current;if(e&&(clearTimeout(e),j.current=0),!L)return j.current=window.setTimeout(()=>S(L),300),()=>{clearTimeout(j.current)};S(!0)},m=[L],w[5]=L,w[6]=h,w[7]=m):(h=w[6],m=w[7]),(0,n.useEffect)(h,m),w[8]!==l?(f=function e(t,i){let r,o=n.Children.map(t,t=>{if(!r&&t&&"object"==typeof t&&"type"in t){if("summary"===t.type){r=(0,n.cloneElement)(t,{onClick(e){"A"!==e.target.tagName&&(e.preventDefault(),i(e=>!e))}});return}t.type!==s&&t.props.children&&([r,t]=e(t.props.children,i))}return t});return[r,o]}(l,C),w[8]=l,w[9]=f):f=w[9];let[_,M]=f,I=(0,a.useHash)(),k=(0,n.useRef)(null);w[10]!==I?(g=()=>{!I||k.current.querySelector(`[id="${I}"]`)&&C(!0)},p=[I],w[10]=I,w[11]=g,w[12]=p):(g=w[11],p=w[12]),(0,n.useEffect)(g,p),w[13]!==d?(x=(0,r.default)("x:not-first:mt-4 x:rounded x:border x:border-gray-200 x:bg-white x:p-2 x:shadow-sm x:dark:border-neutral-800 x:dark:bg-neutral-900","x:overflow-hidden",d),w[13]=d,w[14]=x):x=w[14];let O=L||E,z=L?"":void 0;return w[15]===Symbol.for("react.memo_cache_sentinel")?(v=(0,r.default)("x:*:pt-2","x:grid"),w[15]=v):v=w[15],w[16]!==L||w[17]!==M?(b=(0,t.jsx)(o.Collapse,{isOpen:L,className:v,children:M}),w[16]=L,w[17]=M,w[18]=b):b=w[18],w[19]!==u||w[20]!==_||w[21]!==b||w[22]!==x||w[23]!==O||w[24]!==z?(y=(0,t.jsxs)("details",{className:x,ref:k,...u,open:O,"data-expanded":z,children:[_,b]}),w[19]=u,w[20]=_,w[21]=b,w[22]=x,w[23]=O,w[24]=z,w[25]=y):y=w[25],y};e.s(["Details",0,s])},88143,(e,t,i)=>{"use strict";function r({widthInt:e,heightInt:t,blurWidth:i,blurHeight:n,blurDataURL:o,objectFit:a}){let s=i?40*i:e,l=n?40*n:t,d=s&&l?`viewBox='0 0 ${s} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${d}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${d?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${o}'/%3E%3C/svg%3E`}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},87690,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={VALID_LOADERS:function(){return o},imageConfigDefault:function(){return a}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let o=["default","imgix","cloudinary","akamai","custom"],a={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},8927,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImgProps",{enumerable:!0,get:function(){return d}}),e.r(33525);let r=e.r(43369),n=e.r(88143),o=e.r(87690),a=["-moz-initial","fill","none","scale-down",void 0];function s(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function d({src:e,sizes:t,unoptimized:i=!1,priority:c=!1,preload:u=!1,loading:h,className:m,quality:f,width:g,height:p,fill:x=!1,style:v,overrideSrc:b,onLoad:y,onLoadingComplete:w,placeholder:L="empty",blurDataURL:C,fetchPriority:E,decoding:S="async",layout:j,objectFit:_,objectPosition:M,lazyBoundary:I,lazyRoot:k,...O},z){var N;let R,P,D,{imgConf:T,showAltText:A,blurComplete:$,defaultLoader:U}=z,B=T||o.imageConfigDefault;if("allSizes"in B)R=B;else{let e=[...B.deviceSizes,...B.imageSizes].sort((e,t)=>e-t),t=B.deviceSizes.sort((e,t)=>e-t),i=B.qualities?.sort((e,t)=>e-t);R={...B,allSizes:e,deviceSizes:t,qualities:i}}if(void 0===U)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let W=O.loader||U;delete O.loader,delete O.srcSet;let F="__next_img_default"in W;if(F){if("custom"===R.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
|
|
Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=W;W=t=>{let{config:i,...r}=t;return e(r)}}if(j){"fill"===j&&(x=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[j];e&&(v={...v,...e});let i={responsive:"100vw",fill:"100vw"}[j];i&&!t&&(t=i)}let G="",Z=l(g),q=l(p);if((N=e)&&"object"==typeof N&&(s(N)||void 0!==N.src)){let t=s(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(P=t.blurWidth,D=t.blurHeight,C=C||t.blurDataURL,G=t.src,!x)if(Z||q){if(Z&&!q){let e=Z/t.width;q=Math.round(t.height*e)}else if(!Z&&q){let e=q/t.height;Z=Math.round(t.width*e)}}else Z=t.width,q=t.height}let H=!c&&!u&&("lazy"===h||void 0===h);(!(e="string"==typeof e?e:G)||e.startsWith("data:")||e.startsWith("blob:"))&&(i=!0,H=!1),R.unoptimized&&(i=!0),F&&!R.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(i=!0);let V=l(f),Y=Object.assign(x?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:_,objectPosition:M}:{},A?{}:{color:"transparent"},v),K=$||"empty"===L?null:"blur"===L?`url("data:image/svg+xml;charset=utf-8,${(0,n.getImageBlurSvg)({widthInt:Z,heightInt:q,blurWidth:P,blurHeight:D,blurDataURL:C||"",objectFit:Y.objectFit})}")`:`url("${L}")`,X=a.includes(Y.objectFit)?"fill"===Y.objectFit?"100% 100%":"cover":Y.objectFit,J=K?{backgroundSize:X,backgroundPosition:Y.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:K}:{},Q=function({config:e,src:t,unoptimized:i,width:n,quality:o,sizes:a,loader:s}){if(i){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,r.getDeploymentId)();if(e){let i=t.indexOf("?");if(-1!==i){let r=new URLSearchParams(t.slice(i+1));r.get("dpl")||(r.append("dpl",e),t=t.slice(0,i)+"?"+r.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:l,kind:d}=function({deviceSizes:e,allSizes:t},i,r){if(r){let i=/(^|\s)(1?\d?\d)vw/g,n=[];for(let e;e=i.exec(r);)n.push(parseInt(e[2]));if(n.length){let i=.01*Math.min(...n);return{widths:t.filter(t=>t>=e[0]*i),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof i?{widths:e,kind:"w"}:{widths:[...new Set([i,2*i].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,n,a),c=l.length-1;return{sizes:a||"w"!==d?a:"100vw",srcSet:l.map((i,r)=>`${s({config:e,src:t,quality:o,width:i})} ${"w"===d?i:r+1}${d}`).join(", "),src:s({config:e,src:t,quality:o,width:l[c]})}}({config:R,src:e,unoptimized:i,width:Z,quality:V,sizes:t,loader:W}),ee=H?"lazy":h;return{props:{...O,loading:ee,fetchPriority:E,width:Z,height:q,decoding:S,className:m,style:{...Y,...J},sizes:Q.sizes,srcSet:Q.srcSet,src:b||Q.src},meta:{unoptimized:i,preload:u||c,placeholder:L,fill:x}}}},98879,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return s}});let r=e.r(71645),n="u"<typeof window,o=n?()=>{}:r.useLayoutEffect,a=n?()=>{}:r.useEffect;function s(e){let{headManager:t,reduceComponentsToState:i}=e;function s(){if(t&&t.mountedInstances){let e=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(i(e))}}return n&&(t?.mountedInstances?.add(e.children),s()),o(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),o(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},25633,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return g},defaultHead:function(){return u}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let o=e.r(55682),a=e.r(90809),s=e.r(43476),l=a._(e.r(71645)),d=o._(e.r(98879)),c=e.r(42732);function u(){return[(0,s.jsx)("meta",{charSet:"utf-8"},"charset"),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function h(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(33525);let m=["name","httpEquiv","charSet","itemProp"];function f(e){let t,i,r,n;return e.reduce(h,[]).reverse().concat(u().reverse()).filter((t=new Set,i=new Set,r=new Set,n={},e=>{let o=!0,a=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){a=!0;let i=e.key.slice(e.key.indexOf("$")+1);t.has(i)?o=!1:t.add(i)}switch(e.type){case"title":case"base":i.has(e.type)?o=!1:i.add(e.type);break;case"meta":for(let t=0,i=m.length;t<i;t++){let i=m[t];if(e.props.hasOwnProperty(i))if("charSet"===i)r.has(i)?o=!1:r.add(i);else{let t=e.props[i],r=n[i]||new Set;("name"!==i||!a)&&r.has(t)?o=!1:(r.add(t),n[i]=r)}}}return o})).reverse().map((e,t)=>{let i=e.key||t;return l.default.cloneElement(e,{key:i})})}let g=function({children:e}){let t=(0,l.useContext)(c.HeadManagerContext);return(0,s.jsx)(d.default,{reduceComponentsToState:f,headManager:t,children:e})};("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},18556,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let r=e.r(55682)._(e.r(71645)),n=e.r(87690),o=r.default.createContext(n.imageConfigDefault)},65856,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"RouterContext",{enumerable:!0,get:function(){return r}});let r=e.r(55682)._(e.r(71645)).default.createContext(null)},70965,(e,t,i)=>{"use strict";function r(e,t){let i=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-i)<Math.abs(e-i)?t:e,t.qualities[0]):i}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"findClosestQuality",{enumerable:!0,get:function(){return r}})},1948,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return a}});let r=e.r(70965),n=e.r(43369);function o({config:e,src:t,width:i,quality:a}){let s=(0,n.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")){let e=t.indexOf("?");if(-1!==e){let i=new URLSearchParams(t.slice(e+1)),r=i.get("dpl");if(r){s=r,i.delete("dpl");let n=i.toString();t=t.slice(0,e)+(n?"?"+n:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
|
|
Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,r.findClosestQuality)(a,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${i}&q=${l}${t.startsWith("/")&&s?`&dpl=${s}`:""}`}o.__next_img_default=!0;let a=o},5500,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"Image",{enumerable:!0,get:function(){return y}});let r=e.r(55682),n=e.r(90809),o=e.r(43476),a=n._(e.r(71645)),s=r._(e.r(74080)),l=r._(e.r(25633)),d=e.r(8927),c=e.r(87690),u=e.r(18556);e.r(33525);let h=e.r(65856),m=r._(e.r(1948)),f=e.r(18581),g={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function p(e,t,i,r,n,o,a){let s=e?.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&n(!0),i?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,n=!1;i.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>n,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{n=!0,t.stopPropagation()}})}r?.current&&r.current(e)}}))}function x(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v=(0,a.forwardRef)(({src:e,srcSet:t,sizes:i,height:r,width:n,decoding:s,className:l,style:d,fetchPriority:c,placeholder:u,loading:h,unoptimized:m,fill:g,onLoadRef:v,onLoadingCompleteRef:b,setBlurComplete:y,setShowAltText:w,sizesInput:L,onLoad:C,onError:E,...S},j)=>{let _=(0,a.useCallback)(e=>{e&&(E&&(e.src=e.src),e.complete&&p(e,u,v,b,y,m,L))},[e,u,v,b,y,E,m,L]),M=(0,f.useMergedRef)(j,_);return(0,o.jsx)("img",{...S,...x(c),loading:h,width:n,height:r,decoding:s,"data-nimg":g?"fill":"1",className:l,style:d,sizes:i,srcSet:t,src:e,ref:M,onLoad:e=>{p(e.currentTarget,u,v,b,y,m,L)},onError:e=>{w(!0),"empty"!==u&&y(!0),E&&E(e)}})});function b({isAppRouter:e,imgAttributes:t}){let i={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...x(t.fetchPriority)};return e&&s.default.preload?(s.default.preload(t.src,i),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...i},"__nimg-"+t.src+t.srcSet+t.sizes)})}let y=(0,a.forwardRef)((e,t)=>{let i=(0,a.useContext)(h.RouterContext),r=(0,a.useContext)(u.ImageConfigContext),n=(0,a.useMemo)(()=>{let e=g||r||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),i=e.deviceSizes.sort((e,t)=>e-t),n=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:i,qualities:n,localPatterns:"u"<typeof window?r?.localPatterns:e.localPatterns}},[r]),{onLoad:s,onLoadingComplete:l}=e,f=(0,a.useRef)(s);(0,a.useEffect)(()=>{f.current=s},[s]);let p=(0,a.useRef)(l);(0,a.useEffect)(()=>{p.current=l},[l]);let[x,y]=(0,a.useState)(!1),[w,L]=(0,a.useState)(!1),{props:C,meta:E}=(0,d.getImgProps)(e,{defaultLoader:m.default,imgConf:n,blurComplete:x,showAltText:w});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v,{...C,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:f,onLoadingCompleteRef:p,setBlurComplete:y,setShowAltText:L,sizesInput:e.sizes,ref:t}),E.preload?(0,o.jsx)(b,{isAppRouter:!i,imgAttributes:C}):null]})});("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},94909,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return c},getImageProps:function(){return d}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let o=e.r(55682),a=e.r(8927),s=e.r(5500),l=o._(e.r(1948));function d(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,i]of Object.entries(t))void 0===i&&delete t[e];return{props:t}}let c=s.Image},57688,(e,t,i)=>{t.exports=e.r(94909)},26579,e=>{"use strict";var t=e.i(43476),i=e.i(81933),r=e.i(71645),n=r,o=e.i(74080);let a=(e,t)=>!("u"<typeof Element)&&t instanceof Element&&t.tagName.toUpperCase()===e,s=e=>a("DIV",e)||a("SPAN",e),l=e=>e.complete&&0!==e.naturalHeight,d=({height:e,offset:t,width:i})=>Math.min((window.innerWidth-2*t)/i,(window.innerHeight-2*t)/e),c=({containerHeight:e,containerWidth:t,hasScalableSrc:i,offset:r,targetHeight:n,targetWidth:o})=>0===e||0===t?1:i||0===n||0===o?d({height:e,offset:r,width:t}):(({containerHeight:e,containerWidth:t,offset:i,targetHeight:r,targetWidth:n})=>{let o=d({height:r,offset:i,width:n}),a=n>r?n/t:r/e;return o>1?a:o*a})({containerHeight:e,containerWidth:t,offset:r,targetHeight:n,targetWidth:o}),u=/url(?:\(['"]?)(?<url>.*?)(?:['"]?\))/,h=e=>{if(null!==e){if(a("IMG",e))return""===e.currentSrc?void 0:e.currentSrc;else if(s(e)){let{backgroundImage:t}=window.getComputedStyle(e);if(""!==t)return u.exec(t)?.[1]}}},m=({position:e,relativeNum:t})=>{let i=parseFloat(e);return e.endsWith("%")?t*i/100:i},f=/\.svg$/i,g=e=>{if(null==e)return{};if(!a("SVG",e))return{height:e.offsetHeight,left:e.offsetLeft,width:e.offsetWidth,top:e.offsetTop};{let{parentElement:t}=e,i=e.getBoundingClientRect();if(null==t)return{height:i.height,left:i.left,width:i.width,top:i.top};{let e=t.getBoundingClientRect();return{height:i.height,left:e.left-i.left,top:e.top-i.top,width:i.width}}}},p=["img","svg",'[role="img"]',"[data-zoom]"].map(e=>`${e}:not([aria-hidden="true"])`).join(","),x={overflow:"",width:""};function v(e){e.preventDefault()}function b(e){return n.default.createElement(y,{...e})}class y extends n.default.Component{constructor(){super(...arguments),this.state={id:"",isZoomImgLoaded:!1,loadedImgEl:void 0,modalState:"UNLOADED",shouldRefresh:!1,styleGhost:{}},this.refContent=n.default.createRef(),this.refDialog=n.default.createRef(),this.refModalContent=n.default.createRef(),this.refModalImg=n.default.createRef(),this.refWrap=n.default.createRef(),this.imgEl=null,this.isScaling=!1,this.prevBodyAttrs=x,this.styleModalImg={},this.handleModalStateChange=e=>{let{state:{modalState:t}}=this;"LOADING"!==e&&"LOADING"===t?(this.loadZoomImg(),window.addEventListener("resize",this.handleResize,{passive:!0}),window.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),window.addEventListener("touchmove",this.handleTouchMove,{passive:!0}),window.addEventListener("touchend",this.handleTouchEnd,{passive:!0}),window.addEventListener("touchcancel",this.handleTouchCancel,{passive:!0}),document.addEventListener("keydown",this.handleKeyDown,!0)):"LOADED"!==e&&"LOADED"===t?window.addEventListener("wheel",this.handleWheel,{passive:!0}):"UNLOADING"!==e&&"UNLOADING"===t?(this.ensureImgTransitionEnd(),window.removeEventListener("wheel",this.handleWheel),window.removeEventListener("touchstart",this.handleTouchStart),window.removeEventListener("touchmove",this.handleTouchMove),window.removeEventListener("touchend",this.handleTouchEnd),window.removeEventListener("touchcancel",this.handleTouchCancel),document.removeEventListener("keydown",this.handleKeyDown,!0)):"UNLOADED"!==e&&"UNLOADED"===t&&(this.bodyScrollEnable(),window.removeEventListener("resize",this.handleResize),this.refModalImg.current?.removeEventListener("transitionend",this.handleImgTransitionEnd),this.refDialog.current?.close())},this.setId=()=>{let e=()=>Math.random().toString(16).slice(-4);this.setState({id:e()+e()+e()})},this.setAndTrackImg=()=>{let{refContent:{current:e}}=this;null!=e&&(this.imgEl=e.querySelector(p),null!==this.imgEl?(this.contentNotFoundChangeObserver?.disconnect(),this.imgEl.addEventListener("load",this.handleImgLoad),this.imgEl.addEventListener("click",this.handleZoom),null==this.state.loadedImgEl&&this.handleImgLoad(),this.imgElResizeObserver=new ResizeObserver(e=>{let[t]=e;t?.target!==void 0&&(this.imgEl=t.target,this.setState({styleGhost:g(this.imgEl)}))}),this.imgElResizeObserver.observe(this.imgEl),null==this.contentChangeObserver&&(this.contentChangeObserver=new MutationObserver(()=>{this.setState({styleGhost:g(this.imgEl)})}),this.contentChangeObserver.observe(e,{attributes:!0,childList:!0,subtree:!0}))):null==this.contentNotFoundChangeObserver&&(this.contentNotFoundChangeObserver=new MutationObserver(this.setAndTrackImg),this.contentNotFoundChangeObserver.observe(e,{childList:!0,subtree:!0})))},this.handleIfZoomChanged=e=>{let{props:{isZoomed:t}}=this;!e&&t?this.zoom():e&&!t&&this.unzoom()},this.handleImgLoad=()=>{let e=h(this.imgEl);if(null==e||""===e)return;let t=new Image,{imgEl:i}=this;if(a("IMG",i)){let{sizes:e,srcset:r,crossOrigin:n}=i;t.sizes=e,t.srcset=r,t.crossOrigin=n}t.src=e;let r=()=>{this.setState({loadedImgEl:t,styleGhost:g(this.imgEl)})};t.decode().then(r).catch(()=>{l(t)?r():t.onload=r})},this.handleZoom=e=>{!0!==this.props.isDisabled&&this.hasImage()&&this.props.onZoomChange?.(!0,{event:e})},this.handleUnzoom=e=>{!0!==this.props.isDisabled&&this.props.onZoomChange?.(!1,{event:e})},this.handleBtnUnzoomClick=e=>{e.preventDefault(),e.stopPropagation(),this.handleUnzoom(e)},this.handleDialogClick=e=>{(e.target===this.refModalContent.current||e.target===this.refModalImg.current)&&(e.stopPropagation(),this.handleUnzoom(e))},this.handleDialogClose=e=>{e.stopPropagation(),this.handleUnzoom(e)},this.handleKeyDown=e=>{"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),this.handleUnzoom(e))},this.handleWheel=e=>{e.ctrlKey||(e.stopPropagation(),queueMicrotask(()=>{this.handleUnzoom(e)}))},this.handleTouchStart=e=>{if(e.touches.length>1){this.isScaling=!0;return}let{changedTouches:t}=e,[i]=t;if(1===t.length&&void 0!==i){let{screenY:e}=i;this.touchYStart=e}},this.handleTouchMove=e=>{let t=window.visualViewport?.scale??1,{changedTouches:i}=e,[r]=i;if(this.props.canSwipeToUnzoom&&!this.isScaling&&t<=1&&null!=this.touchYStart&&void 0!==r){let{screenY:t}=r;this.touchYEnd=t,Math.abs(Math.max(this.touchYStart,this.touchYEnd)-Math.min(this.touchYStart,this.touchYEnd))>this.props.swipeToUnzoomThreshold&&(this.touchYStart=void 0,this.touchYEnd=void 0,this.handleUnzoom(e))}},this.handleTouchEnd=()=>{this.isScaling=!1,this.touchYStart=void 0,this.touchYEnd=void 0},this.handleTouchCancel=()=>{this.isScaling=!1,this.touchYStart=void 0,this.touchYEnd=void 0},this.handleResize=()=>{this.setState({shouldRefresh:!0})},this.hasImage=()=>null!==this.imgEl&&(void 0!==this.state.loadedImgEl||a("SVG",this.imgEl))&&"none"!==window.getComputedStyle(this.imgEl).display,this.zoom=()=>{this.bodyScrollDisable(),this.refDialog.current?.showModal(),this.refModalImg.current?.addEventListener("transitionend",this.handleImgTransitionEnd),this.setState({modalState:"LOADING"})},this.unzoom=()=>{this.setState({modalState:"UNLOADING"})},this.handleImgTransitionEnd=()=>{clearTimeout(this.timeoutTransitionEnd),"LOADING"===this.state.modalState?this.setState({modalState:"LOADED"}):"UNLOADING"===this.state.modalState&&this.setState({shouldRefresh:!1,modalState:"UNLOADED"})},this.ensureImgTransitionEnd=()=>{if(null!==this.refModalImg.current){let{transitionDuration:e}=window.getComputedStyle(this.refModalImg.current),t=parseFloat(e);if(0!==t&&!Number.isNaN(t)){let i=t*(e.endsWith("ms")?1:1e3)+50;this.timeoutTransitionEnd=setTimeout(this.handleImgTransitionEnd,i)}}},this.bodyScrollDisable=()=>{this.prevBodyAttrs={overflow:document.body.style.overflow,width:document.body.style.width};let{body:{clientWidth:e}}=document;document.body.style.overflow="hidden",document.body.style.width=`${e}px`},this.bodyScrollEnable=()=>{let{prevBodyAttrs:{overflow:e,width:t}}=this;document.body.style.width=t,document.body.style.overflow=e,this.prevBodyAttrs=x},this.loadZoomImg=()=>{let{props:{zoomImg:e}}=this;if(null==e)return;let{src:t}=e;if(void 0!==t&&""!==t){let i=new Image;i.sizes=e.sizes??"",i.srcset=e.srcSet??"",i.crossOrigin=e.crossOrigin??void 0,i.src=t;let r=()=>{this.setState({isZoomImgLoaded:!0})};i.decode().then(r).catch(()=>{l(i)?r():i.onload=r})}},this.UNSAFE_handleSvg=()=>{let{imgEl:e,refModalImg:t,styleModalImg:i}=this;if(a("SVG",e)){let r=e.cloneNode(!0);(e=>{let t="-zoom",i=["clip-path","fill","mask","marker-start","marker-mid","marker-end"],r=new Map;if(e.hasAttribute("id")){let{id:i}=e,n=i+t;r.set(i,n),e.id=n}e.querySelectorAll("[id]").forEach(e=>{let{id:i}=e,n=i+t;r.set(i,n),e.id=n}),r.forEach((t,r)=>{let n=`url(#${r})`,o=`url(#${t})`,a=i.map(e=>`[${e}="${n}"]`).join(", ");e.querySelectorAll(a).forEach(e=>{i.forEach(t=>{e.getAttribute(t)===n&&e.setAttribute(t,o)})})}),e.querySelectorAll("style").forEach(e=>{r.forEach((t,i)=>{let{textContent:r}=e;""!==r&&(e.textContent=r.replaceAll(`#${i}`,`#${t}`))})})})(r),r.style.width=`${i.width??0}px`,r.style.height=`${i.height??0}px`,r.addEventListener("click",this.handleUnzoom),t.current?.firstChild?.remove(),t.current?.appendChild(r)}}}render(){let{handleBtnUnzoomClick:e,handleDialogClick:t,handleDialogClose:i,handleUnzoom:r,handleZoom:l,imgEl:d,props:{a11yNameButtonUnzoom:u,a11yNameButtonZoom:g,children:p,classDialog:x,IconUnzoom:b,IconZoom:y,isZoomed:w,wrapElement:L,ZoomContent:C,zoomImg:E,zoomMargin:S},refContent:j,refDialog:_,refModalContent:M,refModalImg:I,refWrap:k,state:{id:O,isZoomImgLoaded:z,loadedImgEl:N,modalState:R,shouldRefresh:P,styleGhost:D}}=this,T=`rmiz-modal-${O}`,A=`rmiz-modal-img-${O}`,$=s(d),U=a("IMG",d),B=a("SVG",d),W=(e=>{if(null!==e)if(a("IMG",e))return e.alt;else return e.getAttribute("aria-label")??void 0})(d),F=h(d),G=U?d.sizes:void 0,Z=U?d.srcset:void 0,q=U?d.crossOrigin:void 0,H=E?.src!==void 0&&""!==E.src,V=this.hasImage(),Y=void 0!==W&&""!==W?`${g}: ${W}`:g,K="LOADING"===R||"LOADED"===R,X=V?"found":"not-found",J="UNLOADED"===R||"UNLOADING"===R?"hidden":"visible";this.styleModalImg=V&&null!==d?(({hasZoomImg:e,imgSrc:t,isSvg:i,isZoomed:r,loadedImgEl:n,offset:o,shouldRefresh:a,targetEl:l})=>{let d=i||t?.slice(0,18)==="data:image/svg+xml"||e||void 0!==t&&f.test(t),u=l.getBoundingClientRect(),h=window.getComputedStyle(l),g=null!=n&&s(l),p=null!=n&&!g,x=null!=n&&0!==n.naturalHeight?n.naturalHeight:u.height,v=null!=n&&0!==n.naturalWidth?n.naturalWidth:u.width,b=(({containerHeight:e,containerLeft:t,containerTop:i,containerWidth:r,hasScalableSrc:n,offset:o,targetHeight:a,targetWidth:s})=>{let l=c({containerHeight:e,containerWidth:r,hasScalableSrc:n,offset:o,targetHeight:a,targetWidth:s});return{top:i,left:t,width:r*l,height:e*l,transform:`translate(0,0) scale(${1/l})`}})({containerHeight:u.height,containerLeft:u.left,containerTop:u.top,containerWidth:u.width,hasScalableSrc:d,offset:o,targetHeight:x,targetWidth:v}),y=p?(({containerHeight:e,containerLeft:t,containerTop:i,containerWidth:r,hasScalableSrc:n,objectFit:o,objectPosition:a,offset:s,targetHeight:l,targetWidth:d})=>{let u=o;if("scale-down"===u&&(u=d<=r&&l<=e?"none":"contain"),"cover"===u||"contain"===u){let o=r/d,h=e/l,f="cover"===u?Math.max(o,h):Math.min(o,h),[g="50%",p="50%"]=a.split(" "),x=m({position:g,relativeNum:r-d*f}),v=m({position:p,relativeNum:e-l*f}),b=c({containerHeight:l*f,containerWidth:d*f,hasScalableSrc:n,offset:s,targetHeight:l,targetWidth:d});return{top:i+v,left:t+x,width:d*f*b,height:l*f*b,transform:`translate(0,0) scale(${1/b})`}}if("none"===u){let[o="50%",u="50%"]=a.split(" "),h=m({position:o,relativeNum:r-d}),f=m({position:u,relativeNum:e-l}),g=c({containerHeight:l,containerWidth:d,hasScalableSrc:n,offset:s,targetHeight:l,targetWidth:d});return{top:i+f,left:t+h,width:d*g,height:l*g,transform:`translate(0,0) scale(${1/g})`}}if("fill"!==u)return{};{let t=Math.max(r/d,e/l),i=c({containerHeight:l*t,containerWidth:d*t,hasScalableSrc:n,offset:s,targetHeight:l,targetWidth:d});return{width:r*i,height:e*i,transform:`translate(0,0) scale(${1/i})`}}})({containerHeight:u.height,containerLeft:u.left,containerTop:u.top,containerWidth:u.width,hasScalableSrc:d,objectFit:h.objectFit,objectPosition:h.objectPosition,offset:o,targetHeight:x,targetWidth:v}):void 0,w=g?(({backgroundPosition:e,backgroundSize:t,containerHeight:i,containerLeft:r,containerTop:n,containerWidth:o,hasScalableSrc:a,offset:s,targetHeight:l,targetWidth:d})=>{if("cover"===t||"contain"===t){let u=o/d,h=i/l,f="cover"===t?Math.max(u,h):Math.min(u,h),[g="50%",p="50%"]=e.split(" "),x=m({position:g,relativeNum:o-d*f}),v=m({position:p,relativeNum:i-l*f}),b=c({containerHeight:l*f,containerWidth:d*f,hasScalableSrc:a,offset:s,targetHeight:l,targetWidth:d});return{top:n+v,left:r+x,width:d*f*b,height:l*f*b,transform:`translate(0,0) scale(${1/b})`}}if("auto"===t){let[t="50%",u="50%"]=e.split(" "),h=m({position:t,relativeNum:o-d}),f=m({position:u,relativeNum:i-l}),g=c({containerHeight:l,containerWidth:d,hasScalableSrc:a,offset:s,targetHeight:l,targetWidth:d});return{top:n+f,left:r+h,width:d*g,height:l*g,transform:`translate(0,0) scale(${1/g})`}}{let[u="50%",h="50%"]=t.split(" "),f=Math.min(m({position:u,relativeNum:o})/d,m({position:h,relativeNum:i})/l),[g="50%",p="50%"]=e.split(" "),x=m({position:g,relativeNum:o-d*f}),v=m({position:p,relativeNum:i-l*f}),b=c({containerHeight:l*f,containerWidth:d*f,hasScalableSrc:a,offset:s,targetHeight:l,targetWidth:d});return{top:n+v,left:r+x,width:d*f*b,height:l*f*b,transform:`translate(0,0) scale(${1/b})`}}})({backgroundPosition:h.backgroundPosition,backgroundSize:h.backgroundSize,containerHeight:u.height,containerLeft:u.left,containerTop:u.top,containerWidth:u.width,hasScalableSrc:d,offset:o,targetHeight:x,targetWidth:v}):void 0,L={...b,...y,...w};if(r){let e=window.innerWidth/2,t=window.innerHeight/2,i=parseFloat(String(L.left??0))+parseFloat(String(L.width??0))/2,r=parseFloat(String(L.top??0))+parseFloat(String(L.height??0))/2;a&&(L.transitionDuration="0.01ms"),L.transform=`translate(${e-i}px,${t-r}px) scale(1)`}return L})({hasZoomImg:H,imgSrc:F,isSvg:B,isZoomed:w&&K,loadedImgEl:N,offset:S,shouldRefresh:P,targetEl:d}):{};let Q=null;if(V){let t=U||$?n.default.createElement("img",{alt:W,crossOrigin:q,sizes:G,src:F,srcSet:Z,...z&&"LOADED"===R?E:{},"data-rmiz-modal-img":"",height:this.styleModalImg.height??void 0,id:A,ref:I,style:this.styleModalImg,width:this.styleModalImg.width??void 0}):B?n.default.createElement("div",{"data-rmiz-modal-img":!0,ref:I,style:this.styleModalImg}):null,i=n.default.createElement("button",{"aria-label":u,"data-rmiz-btn-unzoom":"",onClick:e,type:"button"},n.default.createElement(b,null));Q=null==C?n.default.createElement(n.default.Fragment,null,t,i):n.default.createElement(C,{buttonUnzoom:i,modalState:R,img:t,isZoomImgLoaded:z,onUnzoom:r})}return n.default.createElement(L,{"aria-owns":T,"data-rmiz":"",ref:k},n.default.createElement(L,{"data-rmiz-content":X,ref:j,style:{visibility:"UNLOADED"===R?"visible":"hidden"}},p),V&&n.default.createElement(L,{"data-rmiz-ghost":"",style:D},n.default.createElement("button",{"aria-label":Y,"data-rmiz-btn-zoom":"",onClick:l,type:"button"},n.default.createElement(y,null))),V&&o.default.createPortal(n.default.createElement("dialog",{"aria-labelledby":A,"aria-modal":"true",className:x,"data-rmiz-modal":"",id:T,onClick:t,onClose:i,onCancel:v,ref:_,role:"dialog"},n.default.createElement("div",{"data-rmiz-modal-overlay":J}),n.default.createElement("div",{"data-rmiz-modal-content":"",ref:M},Q)),function(){let e=document.querySelector("[data-rmiz-portal]");if(null!=e)return e;let t=document.createElement("div");return t.setAttribute("data-rmiz-portal",""),document.body.appendChild(t),t}()))}componentDidMount(){this.setId(),this.setAndTrackImg(),this.handleImgLoad(),this.UNSAFE_handleSvg()}componentWillUnmount(){"UNLOADED"!==this.state.modalState&&this.bodyScrollEnable(),this.contentChangeObserver?.disconnect(),this.contentNotFoundChangeObserver?.disconnect(),this.imgElResizeObserver?.disconnect(),this.imgEl?.removeEventListener("load",this.handleImgLoad),this.imgEl?.removeEventListener("click",this.handleZoom),this.refModalImg.current?.removeEventListener("transitionend",this.handleImgTransitionEnd),window.removeEventListener("wheel",this.handleWheel),window.removeEventListener("touchstart",this.handleTouchStart),window.removeEventListener("touchmove",this.handleTouchMove),window.removeEventListener("touchend",this.handleTouchEnd),window.removeEventListener("touchcancel",this.handleTouchCancel),window.removeEventListener("resize",this.handleResize),document.removeEventListener("keydown",this.handleKeyDown,!0)}componentDidUpdate(e,t){this.handleModalStateChange(t.modalState),this.UNSAFE_handleSvg(),this.handleIfZoomChanged(e.isZoomed)}}function w({onZoomChange:e,...t}){let[i,n]=r.default.useState(!1),o=r.default.useCallback((t,{event:i})=>{n(t),e?.(t,{event:i})},[e]);return r.default.createElement(b,{...t,isZoomed:i,onZoomChange:o})}y.defaultProps={a11yNameButtonUnzoom:"Minimize image",a11yNameButtonZoom:"Expand image",canSwipeToUnzoom:!0,IconUnzoom:function(){return r.default.createElement("svg",{"aria-hidden":"true","data-rmiz-btn-unzoom-icon":!0,fill:"currentColor",focusable:"false",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},r.default.createElement("path",{d:"M 14.144531 1.148438 L 9 6.292969 L 9 3 L 8 3 L 8 8 L 13 8 L 13 7 L 9.707031 7 L 14.855469 1.851563 Z M 8 8 L 3 8 L 3 9 L 6.292969 9 L 1.148438 14.144531 L 1.851563 14.855469 L 7 9.707031 L 7 13 L 8 13 Z"}))},IconZoom:function(){return r.default.createElement("svg",{"aria-hidden":"true","data-rmiz-btn-zoom-icon":!0,fill:"currentColor",focusable:"false",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},r.default.createElement("path",{d:"M 9 1 L 9 2 L 12.292969 2 L 2 12.292969 L 2 9 L 1 9 L 1 14 L 6 14 L 6 13 L 2.707031 13 L 13 2.707031 L 13 6 L 14 6 L 14 1 Z"}))},isDisabled:!1,swipeToUnzoomThreshold:10,wrapElement:"div",zoomMargin:0},e.i(47167);var L=e.i(57688);let C=(0,r.forwardRef)((e,r)=>{let n,o=(0,i.c)(6),a="object"==typeof e.src?L.default:"img";return o[2]!==a||o[3]!==e||o[4]!==r?(n=(0,t.jsx)(a,{...e,ref:r,"data-pagefind-index-attrs":"title,alt"}),o[2]=a,o[3]=e,o[4]=r,o[5]=n):n=o[5],n});C.displayName="Image",e.s(["ImageZoom",0,e=>{let n,o,a,s,l,d,c=(0,i.c)(12),u=(0,r.useRef)(null),[h,m]=(0,r.useState)(!1);c[0]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{m(null!==u.current.closest("a"))},o=[],c[0]=n,c[1]=o):(n=c[0],o=c[1]),(0,r.useEffect)(n,o),c[2]!==e?(a=(0,t.jsx)(C,{...e,ref:u}),c[2]=e,c[3]=a):a=c[3];let f=a;if(h)return f;if(c[4]!==e.src){var g;s="string"==typeof(g=e.src)?g:"default"in g?g.default.src:g.src,c[4]=e.src,c[5]=s}else s=c[5];return c[6]!==e.alt||c[7]!==s?(l={src:s,alt:e.alt},c[6]=e.alt,c[7]=s,c[8]=l):l=c[8],c[9]!==f||c[10]!==l?(d=(0,t.jsx)(w,{zoomMargin:40,zoomImg:l,wrapElement:"span",children:f}),c[9]=f,c[10]=l,c[11]=d):d=c[11],d}],26579)},63894,e=>{"use strict";var t=e.i(43476),i=e.i(81933),r=e.i(71645),n=e.i(71175);let o="u"<typeof window?null:new IntersectionObserver(e=>{let t=e.find(e=>e.isIntersecting);if(t){let e=t.target.hash.slice(1);(0,n.setActiveSlug)(decodeURI(e))}},{rootMargin:`-${getComputedStyle(document.body).getPropertyValue("--nextra-navbar-height")||"0%"} 0% -80%`});e.s(["HeadingAnchor",0,e=>{let n,a,s,l=(0,i.c)(4),{id:d}=e,c=(0,r.useRef)(null);l[0]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{let e=c.current;return o.observe(e),()=>{o.unobserve(e)}},a=[],l[0]=n,l[1]=a):(n=l[0],a=l[1]),(0,r.useEffect)(n,a);let u=`#${d}`;return l[2]!==u?(s=(0,t.jsx)("a",{href:u,className:"x:focus-visible:nextra-focus subheading-anchor","aria-label":"Permalink for this section",ref:c}),l[2]=u,l[3]=s):s=l[3],s}])},47486,e=>{"use strict";var t=e.i(43476),i=e.i(81933),r=e.i(7670),n=e.i(71645),o=e.i(22016),a=e.i(5580);function s(e){if("string"==typeof e)return e;if("number"==typeof e)return String(e);if(Array.isArray(e))return e.map(e=>s(e)).join("");let t=e?.props?.children;return t?s(t):""}let l=e=>{let r,n,o=(0,i.c)(4),{activePath:a}=e;return o[0]!==a?(r=a.map(d),o[0]=a,o[1]=r):r=o[1],o[2]!==r?(n=(0,t.jsx)("div",{className:"nextra-breadcrumb x:mt-1.5 x:flex x:items-center x:gap-1 x:overflow-hidden x:text-sm x:text-gray-600 x:dark:text-gray-400 x:contrast-more:text-current",children:r}),o[2]=r,o[3]=n):n=o[3],n};function d(e,i,l){let d=l[i+1],c=d?"frontMatter"in e?e.route:e.children[0].route===d.route?"":e.children[0].route:"",u=c?o.default:"span";return(0,t.jsxs)(n.Fragment,{children:[i>0&&(0,t.jsx)(a.ArrowRightIcon,{height:"14",className:"x:shrink-0 x:rtl:rotate-180"}),(0,t.jsx)(u,{className:(0,r.default)("x:whitespace-nowrap x:transition-colors",d?"x:min-w-6 x:overflow-hidden x:text-ellipsis":"x:font-medium x:text-black x:dark:text-gray-100",c&&"x:focus-visible:nextra-focus x:ring-inset x:hover:text-gray-900 x:dark:hover:text-gray-100"),title:s(e.title),...c&&{href:c,prefetch:!1},children:e.title})]},e.route+e.name)}var c=e.i(40587),u=e.i(9531),h=e.i(64069);let m=e=>{let r,n,o=(0,i.c)(3);return o[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("path",{d:"M11.2475 18.25C10.6975 18.25 10.175 18.1455 9.67999 17.9365C9.18499 17.7275 8.74499 17.436 8.35999 17.062C7.94199 17.205 7.50749 17.2765 7.05649 17.2765C6.31949 17.2765 5.63749 17.095 5.01049 16.732C4.38349 16.369 3.87749 15.874 3.49249 15.247C3.11849 14.62 2.93149 13.9215 2.93149 13.1515C2.93149 12.8325 2.97549 12.486 3.06349 12.112C2.62349 11.705 2.28249 11.2375 2.04049 10.7095C1.79849 10.1705 1.67749 9.6095 1.67749 9.0265C1.67749 8.4325 1.80399 7.8605 2.05699 7.3105C2.30999 6.7605 2.66199 6.2875 3.11299 5.8915C3.57499 5.4845 4.10849 5.204 4.71349 5.05C4.83449 4.423 5.08749 3.862 5.47249 3.367C5.86849 2.861 6.35249 2.465 6.92449 2.179C7.49649 1.893 8.10699 1.75 8.75599 1.75C9.30599 1.75 9.82849 1.8545 10.3235 2.0635C10.8185 2.2725 11.2585 2.564 11.6435 2.938C12.0615 2.795 12.496 2.7235 12.947 2.7235C13.684 2.7235 14.366 2.905 14.993 3.268C15.62 3.631 16.1205 4.126 16.4945 4.753C16.8795 5.38 17.072 6.0785 17.072 6.8485C17.072 7.1675 17.028 7.514 16.94 7.888C17.38 8.295 17.721 8.768 17.963 9.307C18.205 9.835 18.326 10.3905 18.326 10.9735C18.326 11.5675 18.1995 12.1395 17.9465 12.6895C17.6935 13.2395 17.336 13.718 16.874 14.125C16.423 14.521 15.895 14.796 15.29 14.95C15.169 15.577 14.9105 16.138 14.5145 16.633C14.1295 17.139 13.651 17.535 13.079 17.821C12.507 18.107 11.8965 18.25 11.2475 18.25ZM7.17199 16.1875C7.72199 16.1875 8.20049 16.072 8.60749 15.841L11.7095 14.059C11.8195 13.982 11.8745 13.8775 11.8745 13.7455V12.3265L7.88149 14.62C7.63949 14.763 7.39749 14.763 7.15549 14.62L4.03699 12.8215C4.03699 12.8545 4.03149 12.893 4.02049 12.937C4.02049 12.981 4.02049 13.047 4.02049 13.135C4.02049 13.696 4.15249 14.213 4.41649 14.686C4.69149 15.148 5.07099 15.511 5.55499 15.775C6.03899 16.05 6.57799 16.1875 7.17199 16.1875ZM7.33699 13.498C7.40299 13.531 7.46349 13.5475 7.51849 13.5475C7.57349 13.5475 7.62849 13.531 7.68349 13.498L8.92099 12.7885L4.94449 10.4785C4.70249 10.3355 4.58149 10.121 4.58149 9.835V6.2545C4.03149 6.4965 3.59149 6.8705 3.26149 7.3765C2.93149 7.8715 2.76649 8.4215 2.76649 9.0265C2.76649 9.5655 2.90399 10.0825 3.17899 10.5775C3.45399 11.0725 3.81149 11.4465 4.25149 11.6995L7.33699 13.498ZM11.2475 17.161C11.8305 17.161 12.3585 17.029 12.8315 16.765C13.3045 16.501 13.6785 16.138 13.9535 15.676C14.2285 15.214 14.366 14.697 14.366 14.125V10.561C14.366 10.429 14.311 10.33 14.201 10.264L12.947 9.538V14.1415C12.947 14.4275 12.826 14.642 12.584 14.785L9.46549 16.5835C10.0045 16.9685 10.5985 17.161 11.2475 17.161ZM11.8745 11.122V8.878L10.01 7.822L8.12899 8.878V11.122L10.01 12.178L11.8745 11.122ZM7.05649 5.8585C7.05649 5.5725 7.17749 5.358 7.41949 5.215L10.538 3.4165C9.99899 3.0315 9.40499 2.839 8.75599 2.839C8.17299 2.839 7.64499 2.971 7.17199 3.235C6.69899 3.499 6.32499 3.862 6.04999 4.324C5.78599 4.786 5.65399 5.303 5.65399 5.875V9.4225C5.65399 9.5545 5.70899 9.659 5.81899 9.736L7.05649 10.462V5.8585ZM15.4385 13.7455C15.9885 13.5035 16.423 13.1295 16.742 12.6235C17.072 12.1175 17.237 11.5675 17.237 10.9735C17.237 10.4345 17.0995 9.9175 16.8245 9.4225C16.5495 8.9275 16.192 8.5535 15.752 8.3005L12.6665 6.5185C12.6005 6.4745 12.54 6.458 12.485 6.469C12.43 6.469 12.375 6.4855 12.32 6.5185L11.0825 7.2115L15.0755 9.538C15.1965 9.604 15.2845 9.692 15.3395 9.802C15.4055 9.901 15.4385 10.022 15.4385 10.165V13.7455ZM12.122 5.3635C12.364 5.2095 12.606 5.2095 12.848 5.3635L15.983 7.195C15.983 7.118 15.983 7.019 15.983 6.898C15.983 6.37 15.851 5.8695 15.587 5.3965C15.334 4.9125 14.9655 4.5275 14.4815 4.2415C14.0085 3.9555 13.4585 3.8125 12.8315 3.8125C12.2815 3.8125 11.803 3.928 11.396 4.159L8.29399 5.941C8.18399 6.018 8.12899 6.1225 8.12899 6.2545V7.6735L12.122 5.3635Z"}),o[0]=r):r=o[0],o[1]!==e?(n=(0,t.jsx)("svg",{viewBox:"0 0 20 20",fill:"currentColor",...e,children:r}),o[1]=e,o[2]=n):n=o[2],n},f=e=>{let r,n,o,a,s,l,d,c,u,h,m,f,g,p=(0,i.c)(14);return p[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("path",{d:"M96.0000 40.0000 L99.5002 42.0000 L99.5002 43.5000 L98.5000 47.0000 L56.0000 57.0000 L52.0040 47.0708 L96.0000 40.0000 M96.0000 40.0000 "}),n=(0,t.jsx)("path",{d:"M80.1032 10.5903 L84.9968 11.6171 L86.2958 13.2179 L87.5346 17.0540 L87.0213 19.5007 L58.5000 58.5000 L49.0000 49.0000 L75.3008 14.4873 L80.1032 10.5903 M80.1032 10.5903 "}),s=(0,t.jsx)("path",{d:"M55.5002 4.5000 L58.5005 2.5000 L61.0002 3.5000 L63.5002 7.0000 L56.6511 48.1620 L52.0005 45.0000 L50.0005 39.5000 L53.5003 8.5000 L55.5002 4.5000 M55.5002 4.5000 "}),l=(0,t.jsx)("path",{d:"M23.4253 5.1588 L26.5075 1.2217 L28.5175 0.7632 L32.5063 1.3458 L34.4748 2.8868 L48.8202 34.6902 L54.0089 49.8008 L47.9378 53.1760 L24.8009 11.1886 L23.4253 5.1588 M23.4253 5.1588 "}),d=(0,t.jsx)("path",{d:"M8.4990 27.0019 L7.4999 23.0001 L10.5003 19.5001 L14.0003 20.0001 L15.0003 20.0001 L36.0000 35.5000 L42.5000 40.5000 L51.5000 47.5000 L46.5000 56.0000 L42.0002 52.5000 L39.0001 49.5000 L10.0000 29.0001 L8.4990 27.0019 M8.4990 27.0019 "}),c=(0,t.jsx)("path",{d:"M2.5003 53.0000 L0.2370 50.5000 L0.2373 48.2759 L2.5003 47.5000 L28.0000 49.0000 L53.0000 51.0000 L52.1885 55.9782 L4.5000 53.5000 L2.5003 53.0000 M2.5003 53.0000 "}),u=(0,t.jsx)("path",{d:"M17.5002 79.0264 L12.5005 79.0264 L10.5124 76.7369 L10.5124 74.0000 L19.0005 68.0000 L53.5082 46.0337 L57.0005 52.0000 L17.5002 79.0264 M17.5002 79.0264 "}),h=(0,t.jsx)("path",{d:"M27.0004 92.9999 L25.0003 93.4999 L22.0003 91.9999 L22.5004 89.4999 L52.0003 50.5000 L56.0004 55.9999 L34.0003 85.0000 L27.0004 92.9999 M27.0004 92.9999 "}),m=(0,t.jsx)("path",{d:"M51.9998 98.0000 L50.5002 100.0000 L47.5002 101.0000 L45.0001 99.0000 L43.5000 96.0000 L51.0003 55.4999 L55.5001 55.9999 L51.9998 98.0000 M51.9998 98.0000 "}),f=(0,t.jsx)("path",{d:"M77.5007 86.9997 L77.5007 90.9997 L77.0006 92.4997 L75.0004 93.4997 L71.5006 93.0339 L47.4669 57.2642 L56.9998 50.0002 L64.9994 64.5004 L65.7507 69.7497 L77.5007 86.9997 M77.5007 86.9997 "}),o=(0,t.jsx)("path",{d:"M89.0008 80.9991 L89.5008 83.4991 L88.0008 85.4991 L86.5007 84.9991 L78.0007 78.9991 L65.0007 67.4991 L55.0007 60.4991 L58.0000 51.0000 L62.9999 54.0001 L66.0007 59.4991 L89.0008 80.9991 M89.0008 80.9991 "}),a=(0,t.jsx)("path",{d:"M82.5003 55.5000 L95.0003 56.5000 L98.0003 58.5000 L100.0000 61.5000 L100.0000 63.6587 L94.5003 66.0000 L66.5005 59.0000 L55.0003 58.5000 L58.0000 48.0000 L66.0005 54.0000 L82.5003 55.5000 M82.5003 55.5000 "}),p[0]=r,p[1]=n,p[2]=o,p[3]=a,p[4]=s,p[5]=l,p[6]=d,p[7]=c,p[8]=u,p[9]=h,p[10]=m,p[11]=f):(r=p[0],n=p[1],o=p[2],a=p[3],s=p[4],l=p[5],d=p[6],c=p[7],u=p[8],h=p[9],m=p[10],f=p[11]),p[12]!==e?(g=(0,t.jsxs)("svg",{viewBox:"0 0 100 101",fill:"currentColor",...e,children:[r,n,s,l,d,c,u,h,m,f,o,a]}),p[12]=e,p[13]=g):g=p[13],g};var g=e.i(42267),p=e.i(51419);let x=e=>{let r,n,o,a,s,l,d=(0,i.c)(15),{icon:c,title:u,description:h,isExternal:m}=e;return d[0]!==c?(r=(0,t.jsx)(c,{width:"16"}),d[0]=c,d[1]=r):r=d[1],d[2]!==m?(n=m&&(0,t.jsx)(p.LinkArrowIcon,{height:"1em"}),d[2]=m,d[3]=n):n=d[3],d[4]!==n||d[5]!==u?(o=(0,t.jsxs)("span",{className:"x:font-medium x:flex x:gap-1",children:[u,n]}),d[4]=n,d[5]=u,d[6]=o):o=d[6],d[7]!==h?(a=(0,t.jsx)("span",{className:"x:text-xs",children:h}),d[7]=h,d[8]=a):a=d[8],d[9]!==o||d[10]!==a?(s=(0,t.jsxs)("div",{className:"x:flex x:flex-col",children:[o,a]}),d[9]=o,d[10]=a,d[11]=s):s=d[11],d[12]!==r||d[13]!==s?(l=(0,t.jsxs)("div",{className:"x:flex x:gap-3 x:items-center",children:[r,s]}),d[12]=r,d[13]=s,d[14]=l):l=d[14],l},v=e=>{let n,o,s,l,d,p,v,b,y,w,L,C=(0,i.c)(20),{sourceCode:E}=e,{copy:S,isCopied:j}=(0,h.useCopy)();C[0]!==S||C[1]!==E?(n=function(){S(E)},C[0]=S,C[1]=E,C[2]=n):n=C[2];let _=n;C[3]!==j?(o=e=>{let{hover:t}=e;return(0,r.default)("x:ps-2 x:pe-1 x:flex x:gap-2 x:text-sm x:font-medium x:items-center",j&&"x:opacity-70",t&&"x:bg-gray-200 x:text-gray-900 x:dark:bg-primary-100/5 x:dark:text-gray-50")},C[3]=j,C[4]=o):o=C[4],C[5]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(g.CopyIcon,{width:"16"}),C[5]=s):s=C[5];let M=j?"Copied":"Copy page";return C[6]!==_||C[7]!==o||C[8]!==M?(l=(0,t.jsxs)(c.Button,{className:o,onClick:_,children:[s,M]}),C[6]=_,C[7]=o,C[8]=M,C[9]=l):l=C[9],C[10]===Symbol.for("react.memo_cache_sentinel")?(d={to:"bottom end",gap:10},C[10]=d):d=C[10],C[11]===Symbol.for("react.memo_cache_sentinel")?(p={id:"copy",name:(0,t.jsx)(x,{icon:g.CopyIcon,title:"Copy page",description:"Copy page as Markdown for LLMs"})},C[11]=p):p=C[11],C[12]===Symbol.for("react.memo_cache_sentinel")?(v={id:"chatgpt",name:(0,t.jsx)(x,{icon:m,title:"Open in ChatGPT",description:"Ask questions about this page",isExternal:!0})},C[12]=v):v=C[12],C[13]===Symbol.for("react.memo_cache_sentinel")?(b=[p,v,{id:"claude",name:(0,t.jsx)(x,{icon:f,title:"Open in Claude",description:"Ask questions about this page",isExternal:!0})}],C[13]=b):b=C[13],C[14]===Symbol.for("react.memo_cache_sentinel")?(y=(0,t.jsx)(a.ArrowRightIcon,{width:"12",className:"x:rotate-90"}),C[14]=y):y=C[14],C[15]!==_?(w=(0,t.jsx)(u.Select,{anchor:d,className:"x:rounded-none",options:b,value:"",selectedOption:y,onChange:e=>{if("copy"===e)return void _();let t=`Read from ${location.href} so I can ask questions about it.`;window.open(`https://${"chatgpt"===e?"chatgpt.com/?hints=search&prompt":"claude.ai/new?q"}=${encodeURIComponent(t)}`,"_blank")}}),C[15]=_,C[16]=w):w=C[16],C[17]!==w||C[18]!==l?(L=(0,t.jsxs)("div",{className:"x:border x:inline-flex x:rounded-md x:items-stretch nextra-border x:float-end x:overflow-hidden",children:[l,w]}),C[17]=w,C[18]=l,C[19]=L):L=C[19],L};var b=e.i(37985),y=e.i(68386);let w={link:(0,r.default)("x:focus-visible:nextra-focus x:text-gray-600 x:dark:text-gray-400","x:hover:text-gray-800 x:dark:hover:text-gray-200","x:contrast-more:text-gray-700 x:contrast-more:dark:text-gray-100","x:flex x:max-w-[50%] x:items-center x:gap-1 x:py-4 x:text-base x:font-medium x:transition-colors x:[word-break:break-word] x:md:text-lg"),icon:(0,r.default)("x:inline x:shrink-0")},L=()=>{let e,n,l,d,c=(0,i.c)(8),{flatDocsDirectories:u,activeIndex:h}=(0,b.useConfig)().normalizePagesResult,{navigation:m}=(0,y.useThemeConfig)(),f=m.prev&&u[h-1],g=m.next&&u[h+1];return(f&&!f.isUnderCurrentDocsTree&&(f=!1),g&&!g.isUnderCurrentDocsTree&&(g=!1),f||g)?(c[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.default)("x:mb-8 x:flex x:items-center x:border-t x:pt-8 nextra-border","x:print:hidden"),c[0]=e):e=c[0],c[1]!==f?(n=f&&(0,t.jsxs)(o.default,{href:f.route,title:s(f.title),className:(0,r.default)(w.link,"x:pe-4"),prefetch:!1,children:[(0,t.jsx)(a.ArrowRightIcon,{height:"20",className:(0,r.default)(w.icon,"x:ltr:rotate-180")}),f.title]}),c[1]=f,c[2]=n):n=c[2],c[3]!==g?(l=g&&(0,t.jsxs)(o.default,{href:g.route,title:s(g.title),className:(0,r.default)(w.link,"x:ps-4 x:ms-auto x:text-end"),prefetch:!1,children:[g.title,(0,t.jsx)(a.ArrowRightIcon,{height:"20",className:(0,r.default)(w.icon,"x:rtl:rotate-180")})]}),c[3]=g,c[4]=l):l=c[4],c[5]!==n||c[6]!==l?(d=(0,t.jsxs)("div",{className:e,children:[n,l]}),c[5]=n,c[6]=l,c[7]=d):d=c[7],d):null};var C=e.i(47355),E=e.i(91909),S=e.i(71175),j=e.i(55169);function _(e){let{href:t,origin:i,pathname:r}=new URL(e),[,n,o]=r.split("/",3);return{href:t,origin:i,owner:n,name:o}}let M={top:0,behavior:"smooth"},I=e=>{let t=e.currentTarget,i=t.parentElement.parentElement;window.scrollTo(M),i.scrollTo(M),t.disabled=!0},k=e=>{let n,o,s,l=(0,i.c)(8),{children:d,className:u,hidden:h}=e,m=h?"true":void 0;return l[0]!==u?(n=e=>{let{disabled:t}=e;return(0,r.default)("x:flex x:items-center x:gap-1.5","x:whitespace-nowrap",t?"x:opacity-0":"x:opacity-100",u)},l[0]=u,l[1]=n):n=l[1],l[2]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(a.ArrowRightIcon,{height:"1.1em",className:"x:-rotate-90 x:border x:rounded-full x:border-current"}),l[2]=o):o=l[2],l[3]!==d||l[4]!==h||l[5]!==m||l[6]!==n?(s=(0,t.jsxs)(c.Button,{"aria-hidden":m,onClick:I,disabled:h,className:n,children:[d,o]}),l[3]=d,l[4]=h,l[5]=m,l[6]=n,l[7]=s):s=l[7],s},O=(0,r.default)("x:text-xs x:font-medium x:transition","x:text-gray-600 x:dark:text-gray-400","x:hover:text-gray-800 x:dark:hover:text-gray-200","x:contrast-more:text-gray-700 x:contrast-more:dark:text-gray-100"),z=e=>{let o,a,s,l,d,c,u,h,m,f=(0,i.c)(34),{filePath:g,pageTitle:p}=e,x=(0,S.useActiveAnchor)(),v=(0,n.useRef)(null),w=(0,y.useThemeConfig)(),L=(0,j.useTOC)(),M=w.feedback.content||w.editLink||w.toc.extraContent||w.toc.backToTop,{activeType:I}=(0,b.useConfig)().normalizePagesResult;f[0]!==I||f[1]!==w.toc.float||f[2]!==L?(o=w.toc.float||"page"===I?L:[],f[0]=I,f[1]=w.toc.float,f[2]=L,f[3]=o):o=f[3];let z=o,N=z.length>0;f[4]!==x?(a=e=>{let{id:t}=e;return t===x},f[4]=x,f[5]=a):a=f[5];let R=L.findIndex(a);f[6]!==x?(s=()=>{if(!x)return;let e=v.current?.querySelector(`a[href="#${x}"]`);e&&(0,E.default)(e,{behavior:"smooth",block:"center",inline:"center",scrollMode:"if-needed",boundary:v.current})},l=[x],f[6]=x,f[7]=s,f[8]=l):(s=f[7],l=f[8]),(0,n.useEffect)(s,l),f[9]!==p||f[10]!==w.docsRepositoryBase||f[11]!==w.feedback.labels||f[12]!==w.feedback.link?(d=w.feedback.link??function({repository:e="",title:t,labels:i}){let r=_(e);return r.origin.includes("gitlab")?`${r.origin}/${r.owner}/${r.name}/-/issues/new?issue[title]=${encodeURIComponent(t)}${i?`&issue[description]=/label${encodeURIComponent(` ~${i}
|
|
`)}`:""}`:r.origin.includes("github")?`${r.origin}/${r.owner}/${r.name}/issues/new?title=${encodeURIComponent(t)}&labels=${i||""}`:"#"}({labels:w.feedback.labels,repository:w.docsRepositoryBase,title:`Feedback for \u201C${p}\u201D`}),f[9]=p,f[10]=w.docsRepositoryBase,f[11]=w.feedback.labels,f[12]=w.feedback.link,f[13]=d):d=f[13];let P=d;return f[14]===Symbol.for("react.memo_cache_sentinel")?(c=(0,r.default)("x:grid x:grid-rows-[min-content_1fr_min-content]","x:sticky x:top-(--nextra-navbar-height) x:text-sm","x:max-h-[calc(100vh-var(--nextra-navbar-height))]"),f[14]=c):c=f[14],f[15]!==x||f[16]!==z||f[17]!==N||f[18]!==w.toc.title?(u=N&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"x:pt-6 x:px-4 x:font-semibold x:tracking-tight",children:w.toc.title}),(0,t.jsx)("ul",{ref:v,className:(0,r.default)("x:p-4 nextra-scrollbar x:overscroll-y-contain x:overflow-y-auto x:hyphens-auto","nextra-mask"),children:z.map(e=>{let{id:i,value:n,depth:o}=e;return(0,t.jsx)("li",{className:"x:my-2 x:scroll-my-6 x:scroll-py-6",children:(0,t.jsx)("a",{href:`#${i}`,className:(0,r.default)("x:focus-visible:nextra-focus",{2:"x:font-semibold",3:"x:ms-3",4:"x:ms-6",5:"x:ms-9",6:"x:ms-12"}[o],"x:block x:transition-colors x:subpixel-antialiased",i===x?"x:text-primary-600 x:contrast-more:text-primary-600!":"x:text-gray-600 x:hover:text-gray-900 x:dark:text-gray-400 x:dark:hover:text-gray-300","x:contrast-more:text-gray-900 x:contrast-more:underline x:contrast-more:dark:text-gray-50 x:break-words"),children:n})},i)})})]}),f[15]=x,f[16]=z,f[17]=N,f[18]=w.toc.title,f[19]=u):u=f[19],f[20]!==R||f[21]!==P||f[22]!==g||f[23]!==N||f[24]!==M||f[25]!==w.docsRepositoryBase||f[26]!==w.editLink||f[27]!==w.feedback.content||f[28]!==w.toc.backToTop||f[29]!==w.toc.extraContent?(h=M&&(0,t.jsxs)("div",{className:(0,r.default)("x:grid x:gap-2 x:py-4 x:mx-4",N&&"x:border-t nextra-border"),children:[w.feedback.content&&(0,t.jsx)(C.Anchor,{className:O,href:P,children:w.feedback.content}),g&&w.editLink&&(0,t.jsx)(C.Anchor,{className:O,href:g.startsWith("http")?g:`${_(w.docsRepositoryBase).href}/${g}`,children:w.editLink}),w.toc.extraContent,w.toc.backToTop&&(0,t.jsx)(k,{className:O,hidden:R<2,children:w.toc.backToTop})]}),f[20]=R,f[21]=P,f[22]=g,f[23]=N,f[24]=M,f[25]=w.docsRepositoryBase,f[26]=w.editLink,f[27]=w.feedback.content,f[28]=w.toc.backToTop,f[29]=w.toc.extraContent,f[30]=h):h=f[30],f[31]!==u||f[32]!==h?(m=(0,t.jsxs)("div",{className:c,children:[u,h]}),f[31]=u,f[32]=h,f[33]=m):m=f[33],m};e.s(["ClientWrapper",0,e=>{let o,a,s,d,c,u,h,m,f=(0,i.c)(31),{children:g,metadata:p,bottomContent:x,sourceCode:w}=e,{activeType:C,activeThemeContext:E,activePath:S}=(0,b.useConfig)().normalizePagesResult,j=(0,y.useThemeConfig)(),_=E.timestamp&&p.timestamp;f[0]!==p||f[1]!==E.layout||f[2]!==E.toc?(o=("default"===E.layout||E.toc)&&(0,t.jsx)("nav",{className:"nextra-toc x:order-last x:max-xl:hidden x:w-64 x:shrink-0 x:print:hidden","aria-label":"table of contents",children:E.toc&&(0,t.jsx)(z,{filePath:p.filePath,pageTitle:p.title})}),f[0]=p,f[1]=E.layout,f[2]=E.toc,f[3]=o):o=f[3];let M="article"===E.typesetting&&"nextra-body-typesetting-article";return f[4]!==M?(a=(0,r.default)("x:w-full x:min-w-0 x:break-words x:min-h-[calc(100vh-var(--nextra-navbar-height))]","x:text-slate-700 x:dark:text-slate-200 x:pb-8 x:px-4 x:pt-4 x:md:px-12",M),f[4]=M,f[5]=a):a=f[5],f[6]!==S||f[7]!==C||f[8]!==E.breadcrumb?(s=E.breadcrumb&&"page"!==C&&(0,t.jsx)(l,{activePath:S}),f[6]=S,f[7]=C,f[8]=E.breadcrumb,f[9]=s):s=f[9],f[10]!==w||f[11]!==j.copyPageButton||f[12]!==E.copyPage?(d=j.copyPageButton&&E.copyPage&&w&&(0,t.jsx)(v,{sourceCode:w}),f[10]=w,f[11]=j.copyPageButton,f[12]=E.copyPage,f[13]=d):d=f[13],f[14]!==_||f[15]!==j.lastUpdated?(c=_?(0,t.jsx)("div",{className:"x:mt-12 x:mb-8 x:text-xs x:text-gray-600 x:text-end x:dark:text-gray-400",children:(0,n.cloneElement)(j.lastUpdated,{date:new Date(_)})}):(0,t.jsx)("div",{className:"x:mt-16"}),f[14]=_,f[15]=j.lastUpdated,f[16]=c):c=f[16],f[17]!==C||f[18]!==E.pagination?(u=E.pagination&&"page"!==C&&(0,t.jsx)(L,{}),f[17]=C,f[18]=E.pagination,f[19]=u):u=f[19],f[20]!==x||f[21]!==g||f[22]!==a||f[23]!==s||f[24]!==d||f[25]!==c||f[26]!==u?(h=(0,t.jsxs)("article",{className:a,children:[s,d,g,c,u,x]}),f[20]=x,f[21]=g,f[22]=a,f[23]=s,f[24]=d,f[25]=c,f[26]=u,f[27]=h):h=f[27],f[28]!==o||f[29]!==h?(m=(0,t.jsxs)(t.Fragment,{children:[o,h]}),f[28]=o,f[29]=h,f[30]=m):m=f[30],m}],47486)}]); |