PageSourceSearch

https://docs.formo.so/mintlify-assets/_next/static/chunks/67ac8b11…?dpl=dpl_F1wVKr1Yda61iXYiorDMf9r5EPT5

js formo.so collected 2026-09-25 20:49:05 UTC 141,485 bytes, 10 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,343534,e=>{"use strict";function t(e){return{isWide:"wide"===e.mode,isCenter:"center"===e.mode,isCustom:"custom"===e.mode,isFrame:"frame"===e.mode,isAssistant:"assistant"===e.mode,isApiExample:!!(e.api||e.openapi||e.asyncapi||e.graphql?.kind==="query"||e.graphql?.kind==="mutation")}}e.s(["getPageMode",()=>t])},560179,536224,e=>{"use strict";e.s(["canCopyImages",()=>d,"copyImageToClipboard",()=>u,"downloadMedia",()=>p,"fetchMedia",()=>c],560179);var t=e.i(206558);e.s(["ICO_MIME_TYPE",()=>a,"PNG_MIME_TYPE",()=>r,"mimeTypeMap",()=>n],536224);let r="image/png",a="image/x-icon",n=new Map([["ico",a],["png",r],["svg","image/svg+xml"],["gif","image/gif"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["webp","image/webp"]]);var o=e.i(431392),i=e.i(961508);let l=t.NEXT_PUBLIC.BASE_PATH,s=l.slice(1),c=async e=>{let t=e===l||e.startsWith(`${l}/`),r=e===s||e.startsWith(`${s}/`);if(e.startsWith("/")&&!t||!(0,i.isAbsoluteUrl)(e)&&/^\w/.test(e)&&!r){let t=`${l}/${e}`.split("/").filter(Boolean).join("/");e=(0,o.optionallyAddLeadingSlash)(t)}let a=await fetch(e);if(!a.ok)return a;let c=(e=>{try{let t=new URL(e,window.location.origin).pathname.match(/\.([a-zA-Z0-9]+)$/);return t?.[1]??"png"}catch{return"png"}})(e),d=n.get(c)??`image/${c}`,u=await a.blob(),p=URL.createObjectURL(u);return{blob:u,blobUrl:p,ext:c,mimeType:d}},d=()=>"navigator"in globalThis&&"clipboard"in navigator&&"write"in navigator.clipboard&&"function"==typeof navigator.clipboard.write,u=async e=>{try{let t,a=await c(e);if(a instanceof Response)throw Error(`${a.status} ${a.statusText}: Failed to fetch image`);let{mimeType:n,blob:o,blobUrl:i}=a;return t=n===r?o:await new Promise((e,t)=>{let a=new Image;a.onload=()=>((e,t,a)=>{let n=document.createElement("canvas");n.width=e.naturalWidth,n.height=e.naturalHeight;let o=n.getContext("2d");o?.drawImage(e,0,0),n.toBlob(e=>e?t(e):a(Error("Failed to convert image to PNG")),r)})(a,e,t),a.onerror=()=>t(Error("Failed to load image")),a.src=i}),URL.revokeObjectURL(i),await navigator.clipboard.write([new ClipboardItem({[r]:t})]),!0}catch(e){return console.error(e),!1}},p=async e=>{try{let t=await c(e);if(t instanceof Response)return window.open(e,"_blank","noopener,noreferrer"),!1;let{blobUrl:r,ext:a}=t,n=document.createElement("a");return n.href=r,n.download=`${(e=>{try{let t=new URL(e,window.location.origin).pathname.split("/").filter(Boolean).pop();if(!t)return"image";return t.replace(/\.[a-zA-Z0-9]+$/,"")||"image"}catch{return"image"}})(e)}.${a}`,document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(r),!0}catch{return window.open(e,"_blank","noopener,noreferrer"),!1}}},304922,(e,t,r)=>{"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
1ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},552801,(e,t,r)=>{t.exports=function(e){return!!e&&"string"!=typeof e&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},739163,(e,t,r)=>{"use strict";var a=e.r(552801),n=Array.prototype.concat,o=Array.prototype.slice,i=t.exports=function(e){for(var t=[],r=0,i=e.length;r<i;r++){var l=e[r];a(l)?t=n.call(t,o.call(l)):t.push(l)}return t};i.wrap=function(e){return function(){return e(i(arguments))}}},139092,(e,t,r)=>{var a=e.r(304922),n=e.r(739163),o=Object.hasOwnProperty,i=Object.create(null);for(var l in a)o.call(a,l)&&(i[a[l]]=l);var s=t.exports={to:{},get:{}};function c(e,t,r){return Math.min(Math.max(t,e),r)}function d(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}s.get=function(e){var t,r;switch(e.substring(0,3).toLowerCase()){case"hsl":t=s.get.hsl(e),r="hsl";break;case"hwb":t=s.get.hwb(e),r="hwb";break;default:t=s.get.rgb(e),r="rgb"}return t?{model:r,value:t}:null},s.get.rgb=function(e){if(!e)return null;var t,r,n,i=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(r=0,n=t[2],t=t[1];r<3;r++){var l=2*r;i[r]=parseInt(t.slice(l,l+2),16)}n&&(i[3]=parseInt(n,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(r=0,n=(t=t[1])[3];r<3;r++)i[r]=parseInt(t[r]+t[r],16);n&&(i[3]=parseInt(n+n,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(r=0;r<3;r++)i[r]=parseInt(t[r+1],0);t[4]&&(t[5]?i[3]=.01*parseFloat(t[4]):i[3]=parseFloat(t[4]))}else if(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(r=0;r<3;r++)i[r]=Math.round(2.55*parseFloat(t[r+1]));t[4]&&(t[5]?i[3]=.01*parseFloat(t[4]):i[3]=parseFloat(t[4]))}else if(!(t=e.match(/^(\w+)$/)))return null;else return"transparent"===t[1]?[0,0,0,0]:o.call(a,t[1])?((i=a[t[1]])[3]=1,i):null;for(r=0;r<3;r++)i[r]=c(i[r],0,255);return i[3]=c(i[3],0,1),i},s.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var r=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(r)?1:r,0,1)]}return null},s.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var r=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(r)?1:r,0,1)]}return null},s.to.hex=function(){var e=n(arguments);return"#"+d(e[0])+d(e[1])+d(e[2])+(e[3]<1?d(Math.round(255*e[3])):"")},s.to.rgb=function(){var e=n(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+
1Math.round(e[2])+", "+e[3]+")"},s.to.rgb.percent=function(){var e=n(arguments),t=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),a=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+r+"%, "+a+"%)":"rgba("+t+"%, "+r+"%, "+a+"%, "+e[3]+")"},s.to.hsl=function(){var e=n(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},s.to.hwb=function(){var e=n(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},s.to.keyword=function(e){return i[e.slice(0,3)]}},645687,(e,t,r)=>{let a=e.r(304922),n={};for(let e of Object.keys(a))n[a[e]]=e;let o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(let e of(t.exports=o,Object.keys(o))){if(!("channels"in o[e]))throw Error("missing channels property: "+e);if(!("labels"in o[e]))throw Error("missing channel labels property: "+e);if(o[e].labels.length!==o[e].channels)throw Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=o[e];delete o[e].channels,delete o[e].labels,Object.defineProperty(o[e],"channels",{value:t}),Object.defineProperty(o[e],"labels",{value:r})}o.rgb.hsl=function(e){let t,r=e[0]/255,a=e[1]/255,n=e[2]/255,o=Math.min(r,a,n),i=Math.max(r,a,n),l=i-o;i===o?t=0:r===i?t=(a-n)/l:a===i?t=2+(n-r)/l:n===i&&(t=4+(r-a)/l),(t=Math.min(60*t,360))<0&&(t+=360);let s=(o+i)/2;return[t,100*(i===o?0:s<=.5?l/(i+o):l/(2-i-o)),100*s]},o.rgb.hsv=function(e){let t,r,a,n,o,i=e[0]/255,l=e[1]/255,s=e[2]/255,c=Math.max(i,l,s),d=c-Math.min(i,l,s),u=function(e){return(c-e)/6/d+.5};return 0===d?(n=0,o=0):(o=d/c,t=u(i),r=u(l),a=u(s),i===c?n=a-r:l===c?n=1/3+t-a:s===c&&(n=2/3+r-t),n<0?n+=1:n>1&&(n-=1)),[360*n,100*o,100*c]},o.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2];return[o.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(r,a))*100,100*(a=1-1/255*Math.max(t,Math.max(r,a)))]},o.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,n=Math.min(1-t,1-r,1-a);return[100*((1-t-n)/(1-n)||0),100*((1-r-n)/(1-n)||0),100*((1-a-n)/(1-n)||0),100*n]},o.rgb.keyword=function(e){let t,r=n[e];if(r)return r;let o=1/0;for(let r of Object.keys(a)){let n=a[r],i=(e[0]-n[0])**2+(e[1]-n[1])**2+(e[2]-n[2])**2;i<o&&(o=i,t=r)}return t},o.keyword.rgb=function(e){return a[e]},o.rgb.xyz=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255;return[100*(.4124*(t=t>.04045?((t+.055)/1.055)**2.4:t/12.92)+.3576*(r=r>.04045?((r+.055)/1.055)**2.4:r/12.92)+.1805*(a=a>.04045?((a+.055)/1.055)**2.4:a/12.92)),100*(.2126*t+.7152*r+.0722*a),100*(.0193*t+.1192*r+.9505*a)]},o.rgb.lab=function(e){let t=o.rgb.xyz(e),r=t[0],a=t[1],n=t[2];return r/=95.047,a/=100,n/=108.883,[116*(a=a>.008856?a**(1/3):7.787*a+16/116)-16,500*((r=r>.008856?r**(1/3):7.787*r+16/116)-a),200*(a-(n=n>.008856?n**(1/3):7.787*n+16/116))]},o.hsl.rgb=function(e){let t,r,a,n=e[0]/360,o=e[1]/100,i=e[2]/100;if(0===o)return[a=255*i,a,a];t=i<.5?i*(1+o):i+o-i*o;let l=2*i-t,s=[0,0,0];for(let e=0;e<3;e++)(r=n+-(1/3*(e-1)))<0&&r++,r>1&&r--,a=6*r<1?l+(t-l)*6*r:2*r<1?t:3*r<2?l+(t-l)*(2/3-r)*6:l,s[e]=255*a;return s},o.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,n=r,o=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,n*=o<=1?o:2-o;let i=(a+r)/2;return[t,100*(0===a?2*n/(o+n):2*r/(a+r)),100*i]},o.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,n=Math.floor(t)%6,o=t-Math.floor(t),i=255*a*(1-r),l=255*a*(1-r*o),s=255*a*(1-r*(1-o));switch(a*=255,n){case 0:return[a,s,i];case 1:return[l,a,i];case 2:return[i,a,s];case 3:return[i,l,a];case 4:return[s,i,a];case 5:return[a,i,l]}},o.hsv.hsl=function(e){let t,r,a=e[0],n=e[1]/100,o=e[2]/100,i=Math.max(o,.01);r=(2-n)*o;let l=(2-n)*i;return[a,100*(t=(t=n*i/(l<=1?l:2-l))||0),100*(r/=2)]},o.hwb.rgb=function(e){let t,r,a,n,o=e[0]/360,i=e[1]/100,l=e[2]/100,s=i+l;s>1&&(i/=s,l/=s);let c=Math.floor(6*o),d=1-l;t=6*o-c,(1&c)!=0&&(t=1-t);let u=i+t*(d-i);switch(c){default:case 6:case 0:r=d,a=u,n=i;break;case 1:r=u,a=d,n=i;break;case 2:r=i,a=d,n=u;break;case 3:r=i,a=u,n=d;break;case 4:r=u,a=i,n=d;break;case 5:r=d,a=i,n=u}return[255*r,255*a,255*n]},o.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,n=e[3]/100;return[255*(1-Math.min(1,t*(1-n)+n)),255*(1-Math.min(1,r*(1-n)+n)),255*(1-Math.min(1,a*(1-n)+n))]},o.xyz.rgb=function(e){let t,r,a,n=e[0]/100,o=e[1]/100,i=e[2]/100;return t=(t=3.2406*n+-1.5372*o+-.4986*i)>
1.0031308?1.055*t**(1/2.4)-.055:12.92*t,r=(r=-.9689*n+1.8758*o+.0415*i)>.0031308?1.055*r**(1/2.4)-.055:12.92*r,a=(a=.0557*n+-.204*o+1.057*i)>.0031308?1.055*a**(1/2.4)-.055:12.92*a,[255*(t=Math.min(Math.max(0,t),1)),255*(r=Math.min(Math.max(0,r),1)),255*(a=Math.min(Math.max(0,a),1))]},o.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];return t/=95.047,r/=100,a/=108.883,[116*(r=r>.008856?r**(1/3):7.787*r+16/116)-16,500*((t=t>.008856?t**(1/3):7.787*t+16/116)-r),200*(r-(a=a>.008856?a**(1/3):7.787*a+16/116))]},o.lab.xyz=function(e){let t,r,a,n=e[0],o=e[1],i=e[2];t=o/500+(r=(n+16)/116),a=r-i/200;let l=r**3,s=t**3,c=a**3;return r=(l>.008856?l:(r-16/116)/7.787)*100,[t=(s>.008856?s:(t-16/116)/7.787)*95.047,r,a=(c>.008856?c:(a-16/116)/7.787)*108.883]},o.lab.lch=function(e){let t,r=e[0],a=e[1],n=e[2];return(t=360*Math.atan2(n,a)/2/Math.PI)<0&&(t+=360),[r,Math.sqrt(a*a+n*n),t]},o.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI;return[t,r*Math.cos(a),r*Math.sin(a)]},o.rgb.ansi16=function(e,t=null){let[r,a,n]=e,i=null===t?o.rgb.hsv(e)[2]:t;if(0===(i=Math.round(i/50)))return 30;let l=30+(Math.round(n/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return 2===i&&(l+=60),l},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/255*5)},o.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];let r=(~~(e>50)+1)*.5;return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},o.ansi256.rgb=function(e){let t;if(e>=232){let t=(e-232)*10+8;return[t,t,t]}return[Math.floor((e-=16)/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},o.rgb.hex=function(e){let t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];3===t[0].length&&(r=r.split("").map(e=>e+e).join(""));let a=parseInt(r,16);return[a>>16&255,a>>8&255,255&a]},o.rgb.hcg=function(e){let t,r=e[0]/255,a=e[1]/255,n=e[2]/255,o=Math.max(Math.max(r,a),n),i=Math.min(Math.min(r,a),n),l=o-i;return t=l<1?i/(1-l):0,[360*((l<=0?0:o===r?(a-n)/l%6:o===a?2+(n-r)/l:4+(r-a)/l)/6%1),100*l,100*t]},o.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),n=0;return a<1&&(n=(r-.5*a)/(1-a)),[e[0],100*a,100*n]},o.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,n=0;return a<1&&(n=(r-a)/(1-a)),[e[0],100*a,100*n]},o.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(0===r)return[255*a,255*a,255*a];let n=[0,0,0],o=t%1*6,i=o%1,l=1-i,s=0;switch(Math.floor(o)){case 0:n[0]=1,n[1]=i,n[2]=0;break;case 1:n[0]=l,n[1]=1,n[2]=0;break;case 2:n[0]=0,n[1]=1,n[2]=i;break;case 3:n[0]=0,n[1]=l,n[2]=1;break;case 4:n[0]=i,n[1]=0,n[2]=1;break;default:n[0]=1,n[1]=0,n[2]=l}return s=(1-r)*a,[(r*n[0]+s)*255,(r*n[1]+s)*255,(r*n[2]+s)*255]},o.hcg.hsv=function(e){let t=e[1]/100,r=t+e[2]/100*(1-t),a=0;return r>0&&(a=t/r),[e[0],100*a,100*r]},o.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],100*a,100*r]},o.hcg.hwb=function(e){let t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],(r-t)*100,(1-r)*100]},o.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,n=0;return a<1&&(n=(r-a)/(1-a)),[e[0],100*a,100*n]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=function(e){return[0,0,e[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.gray.hex=function(e){let t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},28626,(e,t,r)=>{let a=e.r(645687);t.exports=function(e){let t=function(e){let t=function(){let e={},t=Object.keys(a);for(let r=t.length,a=0;a<r;a++)e[t[a]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;){let e=r.pop(),n=Object.keys(a[e]);for(let a=n.length,o=0;o<a;o++){let a=n[o],i=t[a];-1===i.distance&&(i.distance=t[e].distance+1,i.parent=e,r.unshift(a))}}return t}(e),r={},n=Object.keys(t);for(let e=n.length,o=0;o<e;o++){let e=n[o];null!==t[e].parent&&(r[e]=function(e,t){let r=[t[e].parent,e],n=a[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)r.unshift(t[o].parent),n=function(e,t){return function(r){return t(e(r))}}(a[t[o].parent][o],n),o=t[o].parent;return n.conversion=r,n}(e,t))}return r}},438483,(e,t,r)=>{let a=e.r(645687),n=e.r(28626),o={};
1Object.keys(a).forEach(e=>{o[e]={},Object.defineProperty(o[e],"channels",{value:a[e].channels}),Object.defineProperty(o[e],"labels",{value:a[e].labels});let t=n(e);Object.keys(t).forEach(r=>{let a=t[r];o[e][r]=function(e){let t=function(...t){let r=t[0];if(null==r)return r;r.length>1&&(t=r);let a=e(t);if("object"==typeof a)for(let e=a.length,t=0;t<e;t++)a[t]=Math.round(a[t]);return a};return"conversion"in e&&(t.conversion=e.conversion),t}(a),o[e][r].raw=function(e){let t=function(...t){let r=t[0];return null==r?r:(r.length>1&&(t=r),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(a)})}),t.exports=o},133550,(e,t,r)=>{let a=e.r(139092),n=e.r(438483),o=["keyword","gray","hex"],i={};for(let e of Object.keys(n))i[[...n[e].labels].sort().join("")]=e;let l={};function s(e,t){let r,c;if(!(this instanceof s))return new s(e,t);if(t&&t in o&&(t=null),t&&!(t in n))throw Error("Unknown model: "+t);if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof s)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if("string"==typeof e){let t=a.get(e);if(null===t)throw Error("Unable to parse color from string: "+e);this.model=t.model,c=n[this.model].channels,this.color=t.value.slice(0,c),this.valpha="number"==typeof t.value[c]?t.value[c]:1}else if(e.length>0){this.model=t||"rgb",c=n[this.model].channels;let r=Array.prototype.slice.call(e,0,c);this.color=u(r,c),this.valpha="number"==typeof e[c]?e[c]:1}else if("number"==typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;let t=Object.keys(e);"alpha"in e&&(t.splice(t.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);let a=t.sort().join("");if(!(a in i))throw Error("Unable to parse color from object: "+JSON.stringify(e));this.model=i[a];let{labels:o}=n[this.model],l=[];for(r=0;r<o.length;r++)l.push(e[o[r]]);this.color=u(l)}if(l[this.model])for(r=0,c=n[this.model].channels;r<c;r++){let e=l[this.model][r];e&&(this.color[r]=e(this.color[r]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}for(let e of(s.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in a.to?this:this.rgb(),r=1===(t=t.round("number"==typeof e?e:1)).valpha?t.color:[...t.color,this.valpha];return a.to[t.model](r)},percentString(e){let t=this.rgb().round("number"==typeof e?e:1),r=1===t.valpha?t.color:[...t.color,this.valpha];return a.to.rgb.percent(r)},array(){return 1===this.valpha?[...this.color]:[...this.color,this.valpha]},object(){let e={},{channels:t}=n[this.model],{labels:r}=n[this.model];for(let a=0;a<t;a++)e[r[a]]=this.color[a];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray(){let e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject(){let e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round(e){var t;return e=Math.max(e||0,0),new s([...this.color.map((t=e,function(e){return Number(e.toFixed(t))})),this.valpha],this.model)},alpha(e){return void 0!==e?new s([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:c("rgb",0,d(255)),green:c("rgb",1,d(255)),blue:c("rgb",2,d(255)),hue:c(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:c("hsl",1,d(100)),lightness:c("hsl",2,d(100)),saturationv:c("hsv",1,d(100)),value:c("hsv",2,d(100)),chroma:c("hcg",1,d(100)),gray:c("hcg",2,d(100)),white:c("hwb",1,d(100)),wblack:c("hwb",2,d(100)),cyan:c("cmyk",0,d(100)),magenta:c("cmyk",1,d(100)),yellow:c("cmyk",2,d(100)),black:c("cmyk",3,d(100)),x:c("xyz",0,d(95.047)),y:c("xyz",1,d(100)),z:c("xyz",2,d(108.833)),l:c("lab",0,d(100)),a:c("lab",1),b:c("lab",2),keyword(e){return void 0!==e?new s(e):n[this.model].keyword(this.color)},hex(e){return void 0!==e?new s(e):a.to.hex(this.rgb().round().color)},hexa(e){if(void 0!==e)return new s(e);let t=this.rgb().round().color,r=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===r.length&&(r="0"+r),a.to.hex(t)+r},rgbNumber(){let e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){let e=this.rgb().color,t=[];for(let[r,a]of e.entries()){let e=a/255;t[r]=e<=.04045?e/12.92:((e+.055)/1.055)**2.4}return .2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){let t=this.luminosity(),r=e.luminosity();return t>r?(t+.05)/(r+.05):(r+.05)/(t+.05)},level(e){let t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){let e=this.rgb().color;return(2126*e[0]+7152*e[1]+722*e[2])/1e4<128},isLight(){return!this.isDark()},negate(){let e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){let t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){let t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){let t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){let t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){let t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){let t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){let e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return s.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){let t=this.hsl(),r=t.color[0];return r=(r=(r+e)%360)<0?360+r:r,t.color[0]=r,t},mix(e,t){if(!e||!e.rgb)throw Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);let r=e.rgb(),a=this.rgb(),n=void 0===t?.5:t,o=2*n-1,i=r.alpha()-a.alpha(),l=((o*i==-1?o:(o+i)/(1+o*i))+1)/2,c=1-l;return s.rgb(l*r.red()+c*a.red(),l*r.green()+c*a.green(),l*r.blue()+c*a.blue(),r.alpha()*n+a.alpha()*(1-n))}},Object.keys(n))){if(o.includes(e))continue;let{channels:t}=n[e];s.prototype[e]=function(...t){var r;return this.model===e?new s(this):t.length>0?new s(t,e):new s([...Array.isArray(r=n[this.model][e].raw(this.color))?r:[r],this.valpha],e)},s[e]=function(...r){let a=r[0];return"number"==typeof a&&(a=u(r,t)),new s(a,e)}}function c(e,t,r){for(let a of e=Array.isArray(e)?e:[e])(l[a]||(l[a]=[]))[t]=r;return e=e[0],function(a){let n;return void 0!==a?(r&&(a=r(a)),(n=this[e]()).color[t]=a):(n=this[e]().color[t],r&&(n=r(n))),n}}function d(e){return function(t){return Math.max(0,Math.min(e,t))}}function u(e,t){for(let r=0;r<t;r++)"number"!=typeof e[r]&&(e[r]=0);return e}t.exports=s},633945,(e,t,r)=>{t.exports=function(e){if("string"!=typeof e)return!1;var t=e.match(a);if(!t)return!1;var r=t[1];return!!r&&!!(n.test(r)||o.test(r))};var a=/^(?:\w+:)?\/\/(\S+)$/,n=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,o=/^[^\s\.]+\.\S{2,}$/},114140,(e,t,r)=>{"use strict";var a=e.r(633945),n=/(?:(?:[^:]+:)?[/][/])?(?:.+@)?([^/]+)([/][^?#]+)/;t.exports=function(e,t){var r={};if(t=t||{},!e||(e.url&&(e=e.url),"string"!=typeof e))return null;var o=e.match(/^([\w-_]+)\/([\w-_\.]+)(?:#([\w-_\.]+))?$/),i=e.match(/^github:([\w-_]+)\/([\w-_\.]+)(?:#([\w-_\.]+))?$/),l=e.match(/^git@[\w-_\.]+:([\w-_]+)\/([\w-_\.]+)$/);if(o)r.user=o[1],r.repo=o[2],r.branch=o[3]||"master",r.host="github.com";else if(i)r.user=i[1],r.repo=i[2],r.branch=i[3]||"master",r.host="github.com";else if(l)r.user=l[1],r.repo=l[2].replace(/\.git$/i,""),r.branch="master",r.host="github.com";else{if(!a(e=e.replace(/^git\+/,"")))return null;var s=e.match(n)||[],c=s[1],d=s[2];if(!c||"github.com"!==c&&"www.github.com"!==c&&!t.enterprise)return null;var u=d.match(/^\/([\w-_]+)\/([\w-_\.]+)(\/tree\/[\%\w-_\.\/]+)?(\/blob\/[\%\w-_\.\/]+)?/);if(!u)return null;if(r.user=u[1],r.repo=u[2].replace(/\.git$/i,""),r.host=c||"github.com",u[3]&&/^\/tree\/master\//.test(u[3]))r.branch="master",r.path=u[3].replace(/\/$/,"");else if(u[3]){var p=u[3].replace(/^\/tree\//,"").match(/[\%\w-_.]*\/?[\%\w-_]+/);r.branch=p&&p[0]}else if(u[4]){var p=u[4].replace(/^\/blob\//,"").match(/[\%\w-_.]*\/?[\%\w-_]+/);r.branch=p&&p[0]}else r.branch="master"}return"github.com"===r.host?r.apiHost="api.github.com":r.apiHost=r.host
1+"/api/v3",r.tarball_url="https://"+r.apiHost+"/repos/"+r.user+"/"+r.repo+"/tarball/"+r.branch,r.clone_url="https://"+r.host+"/"+r.user+"/"+r.repo,"master"===r.branch?(r.https_url="https://"+r.host+"/"+r.user+"/"+r.repo,r.travis_url="https://travis-ci.org/"+r.user+"/"+r.repo,r.zip_url="https://"+r.host+"/"+r.user+"/"+r.repo+"/archive/master.zip"):(r.https_url="https://"+r.host+"/"+r.user+"/"+r.repo+"/blob/"+r.branch,r.travis_url="https://travis-ci.org/"+r.user+"/"+r.repo+"?branch="+r.branch,r.zip_url="https://"+r.host+"/"+r.user+"/"+r.repo+"/archive/"+r.branch+".zip"),r.path&&(r.https_url+=r.path),r.api_url="https://"+r.apiHost+"/repos/"+r.user+"/"+r.repo,r}},638702,167808,579694,464991,401819,891376,35884,267823,602875,287071,437953,311005,27815,896438,688527,179958,973469,52693,e=>{"use strict";e.s(["Accordion",()=>f],638702);var t=e.i(843476),r=e.i(857866),a=e.i(865420),n=e.i(769728),o=e.i(476781),i=e.i(568258),l=e.i(193726),s=e.i(895849),c=e.i(866285),d=e.i(296548),u=e.i(271645),p=e.i(343590),h=e.i(930733);let m=(0,h.default)("CaretDownFilledIcon",[["path",{d:"M14.0238 4.00002H3.97576C3.33776 4.00002 2.74976 4.34702 2.44276 4.90602C2.13576 5.46502 2.15576 6.14802 2.49776 6.68702L7.52176 14.61C7.84476 15.119 8.39676 15.422 8.99976 15.422C9.60276 15.422 10.1548 15.118 10.4778 14.61L15.5028 6.68602C15.8438 6.14702 15.8648 5.46402 15.5578 4.90502C15.2508 4.34602 14.6628 3.99902 14.0248 3.99902L14.0238 4.00002Z",fill:"currentColor"}]],"filled"),g=function({id:e,contentId:r,titleId:a,title:n,description:o,open:i,icon:l,coverClass:s}){let{divisions:c}=(0,u.useContext)(p.NavigationContext),h=c.tabs.length>0;return(0,t.jsxs)("summary",{className:(0,d.cn)("relative not-prose flex flex-row items-center content-center w-full cursor-pointer","list-none [&::-webkit-details-marker]:hidden",s),onMouseDown:e=>{e.detail>1&&e.preventDefault()},"aria-controls":r,"aria-expanded":i,"data-component-part":"accordion-button",children:[(0,t.jsx)("div",{id:e,className:(0,d.cn)("absolute",h?"top-[-8rem] [[data-banner-state=visible]_&]:top-[-10.5rem]":"top-[-4.5rem] [[data-banner-state=visible]_&]:top-[-7rem]")}),(0,t.jsx)("div",{className:"flex size-4 shrink-0 items-center justify-center","data-component-part":"accordion-caret-right",children:(0,t.jsx)(m,{"aria-hidden":"true",className:(0,d.cn)("size-3 shrink-0 text-gray-600 transition-transform duration-200 dark:text-gray-400",!i&&"-rotate-90")})}),l?(0,t.jsx)("div",{className:"size-4 shrink-0 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100","data-component-part":"accordion-icon",children:l}):null,(0,t.jsxs)("div",{className:"leading-tight text-left w-full min-w-0",contentEditable:!1,"data-component-part":"accordion-title-container",children:[(0,t.jsx)("p",{id:a,className:"m-0 font-medium leading-6 text-gray-900 dark:text-gray-200","data-component-part":"accordion-title",children:n}),o?(0,t.jsx)("p",{className:"m-0 text-gray-900 dark:text-gray-200","data-component-part":"accordion-description",children:o}):null]})]})};function f({id:e,title:n,description:o,defaultOpen:l=!1,icon:s,iconType:c,children:d,className:u,_disabled:p}){let h=(0,a.useAnalyticsContext)("docs.accordion.open"),m=(0,a.useAnalyticsContext)("docs.accordion.close"),g="string"==typeof s?(0,t.jsx)(i.ComponentIcon,{icon:s,iconType:c,className:"w-4 h-4"}):s;return(0,t.jsx)(y,{id:e,title:n,description:o,defaultOpen:!0===l||"string"==typeof l&&"true"===l,onChange:e=>{let t=(0,r.getTitleText)(n)||void 0;e?h({title:t}).catch(console.error):m({title:t}).catch(console.error)},icon:g,className:u,_disabled:p,children:d})}let b=(0,u.createContext)({parentIds:[]}),x=(e,t,r)=>e[r.length]===t&&r.every((t,r)=>e[r]===t);function y({id:e,title:a,description:i,defaultOpen:p=!1,icon:h,onChange:m,variant:f="rounded",children:y,className:v,_disabled:w}){let k=(0,r.getTitleText)(a),C=e??("string"==typeof a||k?(0,c.default)(k.replace(":","-"),{decamelize:!1}):void 0),j=(0,u.useId)(),N=C?`${C}-accordion-children`:j,M=(0,u.useId)(),_=C?`${C}-accordion-title`:M,S=(0,u.useContext)(b),[E,$]=(0,u.useState)(p);(0,n.useIsomorphicLayoutEffect)(()=>
1{if(!C)return;let e=window.location.hash.substring(1).split(":");x(e,C,S.parentIds)&&($(!0),e.length===S.parentIds.length+1&&(0,s.scrollElementIntoView)({id:C,preScrollCallback(){history.scrollRestoration="manual"}}))},[]);let T=(0,u.useRef)(S.parentIds);T.current=S.parentIds,(0,u.useEffect)(()=>{if(!C)return;let e=()=>{let e=window.location.hash.substring(1).split(":");x(e,C,T.current)&&($(!0),e.length===T.current.length+1&&(0,s.scrollElementIntoView)({id:C,preScrollCallback(){history.scrollRestoration="manual"}}))};return window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[C]);let I=e=>`${window.location.pathname}${e?`#${e}`:""}`,{parentClass:P,coverClass:A,contentClass:L}="minimalist"===f?{parentClass:"",coverClass:"[&>div]:ml-2 py-1 text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-200",contentClass:"mt-2 pt-1 mb-4 mx-[7px] px-4 border-l border-gray-100 dark:border-gray-800/50"}:{parentClass:"border-standard rounded-2xl mb-3 overflow-hidden bg-background-light dark:bg-codeblock",coverClass:"gap-3 px-5 py-3.5 hover:bg-gray-100 hover:dark:bg-gray-800",contentClass:"px-5 pb-3.5"};return(0,t.jsx)(b.Provider,{value:{...S,parentIds:[...S.parentIds,...void 0!=C?[C]:[]]},children:(0,t.jsxs)("details",{open:E,onKeyDownCapture:e=>{if(e.defaultPrevented)return;let t=e.target;if(("TEXTAREA"===t.tagName||"INPUT"===t.tagName)&&" "===e.key){e.preventDefault();let r=t.selectionStart??0,a=t.selectionEnd??0,n=t.value,o="TEXTAREA"===t.tagName?HTMLTextAreaElement.prototype:HTMLInputElement.prototype,i=Object.getOwnPropertyDescriptor(o,"value")?.set;i?.call(t,n.slice(0,r)+" "+n.slice(a)),t.selectionStart=t.selectionEnd=r+1,t.dispatchEvent(new Event("input",{bubbles:!0}))}},onToggle:e=>{let t=e.currentTarget.open;if(t!==E){$(t);if($(t),!w){if(t&&C)!function(e,t){if(w||"undefined"==typeof document||!document.hasFocus())return;let r=I(e.join(":"));(0,l.copyToClipboard)(r),window.history.replaceState({...window.history.state,as:r,url:r},"",r)}([...S.parentIds,C],0);else{let e=I(S.parentIds.join(":"));window.history.replaceState({...window.history.state,as:e,url:e},"",e)}m&&m(t)}}},className:(0,d.cn)(o.Classes.Accordion,P,"cursor-default",v),children:[(0,t.jsx)(g,{id:C,contentId:N,titleId:_,title:a,description:i,open:E,icon:h,coverClass:A}),(0,t.jsx)("div",{id:N,role:"region","aria-labelledby":_,className:(0,d.cn)(L,"prose prose-gray dark:prose-invert overflow-x-auto cursor-default"),"data-component-part":"accordion-content",children:y})]},k||"accordion")})}function v({children:e,className:r}){return(0,t.jsx)("div",{className:(0,d.cn)(o.Classes.AccordionGroup,"[&>details]:border-0 [&>details]:rounded-none [&>details>summary]:rounded-none [&>details]:mb-0 overflow-hidden mt-0 mb-3 rounded-2xl prose prose-gray dark:prose-invert divide-y! divide-inherit! border-standard",r),children:e})}e.s(["AccordionGroup",()=>v],167808),e.s(["CALLOUT_THEMES",()=>$,"Callout",()=>D,"Check",()=>O,"Danger",()=>H,"Info",()=>A,"Note",()=>z,"Tip",()=>R,"Warning",()=>L],579694);let w=(0,h.default)("CheckCalloutIcon",[["path",{d:"M 15.4195 3.7055 C 15.859 4.1449 15.859 4.8551 15.4195 5.2945 L 6.4195 14.2945 C 5.9801 14.734 5.2699 14.734 4.8305 14.2945 L 0.3295 9.7945 C -0.1098 9.3551 -0.1098 8.6449 0.3295 8.2055 C 0.7689 7.766 1.4811 7.766 1.9206 8.2055 L 5.5934 11.9074 L 13.8305 3.7055 C 14.2699 3.2653 14.9801 3.2653 15.4195 3.7055 H 15.4195 z",fill:"currentColor",stroke:"none"}]],"outlined"),k=(0,h.default)("DangerCalloutIcon",[["path",{d:"M 0.6012 10.2656 c -0.4535 -0.784 -0.4535 -1.7473 0 -2.5312 L 3.7055 2.359 c 0.4535 -0.784 1.2867 -1.2656 2.1938 -1.2656 l 6.2086 0 c 0.9035 0 1.7402 0.4816 2.1938 1.2656 L 17.3988 7.7344 c 0.4535 0.784 0.4535 1.7473 0 2.5312 L 14.2945 15.641 c -0.4535 0.784 -1.2867 1.2656 -2.1938 1.2656 l -6.2086 0 c -0.9035 0 -1.7402 -0.4816 -2.1938 -1.2656 L 0.6012 10.2656 z m 1.4625 -1.6875 c -0.1512 0.2602 -0.1512 0.5836 0 0.8438 l 3.1043 5.3754 c 0.1512 0.2602 0.4289 0.4219 0.7313 0.4219 l 6.2086 0 c 0.3023 0 0.5801 -0.1617 0.7313 -0.4219 L 15.9398 9.4219 c 0.1512 -0.2602 0.1512 -0.5836 0 -0.8438 L 12.8355 3.2027 c -0.1512 -0.2602 -0.4289 -0.4219 -0.7313 -0.4219 l -6.2086 0 c -0.3023 0 -0.5801 0.1617 -0.7313 
10.4219 L 2.0602 8.5781 z M 9 4.5 c 0.4676 0 0.8438 0.3762 0.8438 0.8438 l 0 3.9375 c 0 0.4676 -0.3762 0.8438 -0.8438 0.8438 s -0.8438 -0.3762 -0.8438 -0.8438 l 0 -3.9375 c 0 -0.4676 0.3762 -0.8438 0.8438 -0.8438 z M 7.875 12.375 a 1.125 1.125 0 1 1 2.25 0 1.125 1.125 0 1 1 -2.25 0 z",fill:"currentColor",stroke:"none"}]],"outlined"),C=(0,h.default)("InfoCalloutIcon",[["path",{d:"M 7.2 0 C 3.2231 0 0 3.2231 0 7.2 C 0 11.1768 3.2231 14.4 7.2 14.4 C 11.1768 14.4 14.4 11.1768 14.4 7.2 C 14.4 3.2231 11.1768 0 7.2 0 Z M 7.2 13.05 C 3.9741 13.05 1.35 10.4257 1.35 7.2 C 1.35 3.9743 3.9741 1.35 7.2 1.35 C 10.426 1.35 13.05 3.9743 13.05 7.2 C 13.05 10.4257 10.426 13.05 7.2 13.05 Z M 8.325 9.45 H 7.875 V 6.975 C 7.875 6.6038 7.5741 6.3 7.2 6.3 H 6.3 C 5.9288 6.3 5.625 6.6038 5.625 6.975 C 5.625 7.3462 5.9288 7.65 6.3 7.65 H 6.525 V 9.45 H 6.075 C 5.7038 9.45 5.4 9.7538 5.4 10.125 C 5.4 10.4962 5.7038 10.8 6.075 10.8 H 8.325 C 8.6977 10.8 9 10.4977 9 10.125 C 9 9.7523 8.6991 9.45 8.325 9.45 Z M 7.2 5.4 C 7.697 5.4 8.1 4.997 8.1 4.5 C 8.1 4.003 7.697 3.6 7.2 3.6 C 6.703 3.6 6.3 4.0022 6.3 4.5 C 6.3 4.9978 6.7022 5.4 7.2 5.4 Z",fill:"currentColor",stroke:"none"}]],"outlined"),j=(0,h.default)("NoteCalloutIcon",[["path",{d:"M 9 1.6714 C 13.0371 1.6714 16.3286 4.9629 16.3286 9 C 16.3286 13.0371 13.0371 16.3286 9 16.3286 C 7.0574 16.3252 5.1953 15.552 3.8217 14.1783 C 2.448 12.8047 1.6748 10.9426 1.6714 9 C 1.6714 4.9629 4.9629 1.6714 9 1.6714 Z M 9 0 C 4.0371 0 0 4.0371 0 9 C 0 13.9629 4.0371 18 9 18 C 13.9629 18 18 13.9629 18 9 C 18 4.0371 13.9629 0 9 0 Z M 10.2857 3.8571 H 7.7143 V 10.2857 H 10.2857 V 3.8571 Z M 10.2857 11.5714 H 7.7143 V 14.1429 H 10.2857 V 11.5714 Z",fill:"currentColor",stroke:"none",fillRule:"evenodd",clipRule:"evenodd"}]],"outlined"),N=(0,h.default)("TipCalloutIcon",[["path",{d:"M 4.0216 15.9727 C 4.0216 16.1941 4.0855 16.4101 4.2074 16.5947 L 4.81 17.4979 C 4.9946 17.7747 5.4137 18 5.7467 18 H 7.9149 C 8.2468 18 8.6659 17.775 8.8505 17.4979 L 9.451 16.5951 C 9.5543 16.439 9.6391 16.1601 9.6391 15.9727 L 9.6436 14.5945 H 4.0181 L 4.0216 15.9727 Z M 6.8308 0 C 3.2453 0.0113 0.6429 2.9171 0.6429 6.1563 C 0.6429 7.7167 1.2209 9.1392 2.1744 10.2278 C 2.7556 10.8901 3.663 12.2751 4.0104 13.443 C 4.0115 13.4518 4.0137 13.4612 4.0148 13.4706 H 9.6473 C 9.6483 13.4612 9.6505 13.4524 9.6517 13.443 C 9.9988 12.2751 10.9065 10.8901 11.4877 10.2278 C 12.4422 9.1695 13.0189 7.749 13.0189 6.1563 C 13.0189 2.7705 10.2483 0.0001 6.8308 0 Z M 10.2202 9.1449 C 9.6696 9.7724 8.9882 10.7727 8.4956 11.8131 H 5.1692 C 4.6766 10.7727 3.9953 9.7724 3.445 9.1452 C 2.7257 8.3257 2.3305 7.2463 2.3305 6.1563 C 2.3305 3.9835 4.0216 1.6964 6.7992 1.6876 C 9.3131 1.6876 11.3312 3.7058 11.3312 6.1563 C 11.3312 7.2463 10.9374 8.3257 10.2202 9.1449 Z M 6.2683 2.8127 C 4.7178 2.8127 3.4556 4.0749 3.4556 5.6254 C 3.4556 5.9364 3.7072 6.188 4.0181 6.188 C 4.3291 6.188 4.5807 5.9348 4.5807 5.6254 C 4.5807 4.6948 5.3376 3.9378 6.2683 3.9378 C 6.5792 3.9378 6.8308 3.6865 6.8308 3.3756 C 6.8308 3.0647 6.5777 2.8127 6.2683 2.8127 Z",fill:"currentColor",stroke:"none"}]],"outlined"),M=(0,h.default)("WarningCalloutIcon",[["path",{d:"M 9 6.75 v 1.5 m 0 3 h 0.0075 m -5.2035 3 h 10.392 c 1.155 0 1.8765 -1.2503 1.299 -2.25 L 10.299 3 c -0.5775 -0.9997 -2.0205 -0.9997 -2.598 0 L 2.505 12 c -0.5775 0.9997 0.144 2.25 1.299 2.25 z",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}]],"outlined");var _=e.i(133550);let S={info:{Icon:C,className:"flex-none size-5",colorClassName:"text-neutral-800 dark:text-neutral-300"},warning:{Icon:M,className:"flex-none size-5",colorClassName:"text-yellow-800 dark:text-yellow-300"},note:{Icon:j,className:"size-4",colorClassName:"text-blue-800 dark:text-blue-300"},tip:{Icon:N,className:"size-4.5",colorClassName:"text-green-800 dark:text-green-300"},check:{Icon:w,className:"size-4",colorClassName:"text-green-800 dark:text-green-300"},danger:{Icon:k,className:"flex-none size-4",colorClassName:"text-red-800 dark:text-red-300"}},E=({type:e,colorClassName:r})=>{let{Icon:a,className:n,colorClassName:o}=S[e];return(0,t.jsx)(a,{"aria-hidden":"true",className:(0,d.cn)(n,r??o)})},$={info:{icon:(0,t.jsx)(E,{type:"info"}),container:"border-neutral-200 bg-neutral-50 dark:border-neutral-700 dark:bg-white/10",contentText:"text-neutral-800 dark:text-neutral-300",cardSelectors:"[&_[data-component-part=card-title]]:text-neutral-900 dark:[&_[data-component-part=card-title]]:text-neutral-100 [&_[data-component-part=card-content]]:text-neutral-800 dark:[&_[data-component-part=card-content]]:text-neutral-300 [&_[data-component-part=card-icon]]:text-neutral-800 [&_[data-component-part=card-icon]]:fill-neutral-800 dark:[&_[data-component-part=card-icon]]:text-neutral-300 dark:[&_[data-component-part=card-icon]]:fill-neutral-300",iconBgClassName:"bg-neutral-800 dark:bg-neutral-300"},warning:{icon:(0,t.jsx)(E,{type:"warning"}),container:"border-yellow-200 bg-yellow-50 dark:border-yellow-900 dark:bg-yellow-600/20",contentText:"text-yellow-800 dark:text-yellow-300",cardSelectors:"[&_[data-component-part=card-title]]:text-yellow-900 dark:[&_[data-component-part=card-title]]:text-yellow-200 [&_[data-component-part=card-content]]:text-yellow-800 dark:[&_[data-component-part=card-content]]:text-yellow-300 [&_[data-component-part=card-icon]]:text-yellow-800 [&_[data-component-part=card-icon]]:fill-yellow-800 dark:[&_[data-component-part=card-icon]]:text-yellow-300 dark:[&_[data-component-part=card-icon]]:fill-yellow-300",iconBgClassName:"bg-yellow-800 dark:bg-yellow-300"},note:{icon:(0,t.jsx)(E,{type:"note"}),container:"border-blue-200 bg-blue-50 dark:border-blue-900 dark:bg-blue-600/20",contentText:"text-blue-800 dark:text-blue-300",cardSelectors:"[&_[data-component-part=card-title]]:text-blue-900 dark:[&_[data-component-part=card-title]]:text-blue-200 [&_[data-component-part=card-content]]:text-blue-800 dark:[&_[data-component-part=card-content]]:text-blue-300 [&_[data-component-part=card-icon]]:text-blue-800 [&_[data-component-part=card-icon]]:fill-blue-800 dark:[&_[data-component-part=card-icon]]:text-blue-300 dark:[&_[data-component-part=card-icon]]:fill-blue-300",iconBgClassName:"bg-blue-800 dark:bg-blue-300"},tip:{icon:(0,t.jsx)(E,{type:"tip"}),container:"border-green-200 bg-green-50 dark:border-green-900 dark:bg-green-600/20",contentText:"text-green-800 dark:text-green-300",cardSelectors:"[&_[data-component-part=card-title]]:text-green-900 dark:[&_[data-component-part=card-title]]:text-green-200 [&_[data-component-part=card-content]]:text-green-800 dark:[&_[data-component-part=card-content]]:text-green-300 [&_[data-component-part=card-icon]]:text-green-800 [&_[data-component-part=card-icon]]:fill-green-800 dark:[&_[data-component-part=card-icon]]:text-green-300 dark:[&_[data-component-part=card-icon]]:fill-green-300",iconBgClassName:"bg-green-800 dark:bg-green-300"},check:{icon:(0,t.jsx)(E,{type:"check"}),container:"border-green-200 bg-green-50 dark:border-green-900 dark:bg-green-600/20",contentText:"text-green-800 dark:text-green-300",cardSelectors:"[&_[data-component-part=card-title]]:text-green-900 dark:[&_[data-component-part=card-title]]:text-green-200 [&_[data-component-part=card-content]]:text-green-800 dark:[&_[data-component-part=card-content]]:text-green-300 [&_[data-component-part=card-icon]]:text-green-800 [&_[data-component-part=card-icon]]:fill-green-800 dark:[&_[data-component-part=card-icon]]:text-green-300 dark:[&_[data-component-part=card-icon]]:fill-green-300",iconBgClassName:"bg-green-800 dark:bg-green-300"},danger:{icon:(0,t.jsx)(E,{type:"danger"}),container:"border-red-200 bg-red-50 dark:border-red-900 dark:bg-red-600/20",contentText:"text-red-800 dark:text-red-300",cardSelectors:"[&_[data-component-part=card-title]]:text-red-900 dark:[&_[data-component-part=card-title]]:text-red-200 [&_[data-component-part=card-content]]:text-red-800 dark:[&_[data-component-part=card-content]]:text-red-300 [&_[data-component-part=card-icon]]:text-red-800 [&_[data-component-part=card-icon]]:fill-red-800 dark:[&_[data-component-part=card-icon]]:text-red-300 dark:[&_[data-component-part=card-icon]]:fill-red-300",iconBgClassName:"bg-red-800 dark:bg-red-300"}};
1function T({children:e,icon:r,iconType:a,color:n,className:l,childrenClassName:s,calloutType:c,label:u,customStyle:p,customTextStyle:h}){let m="string"==typeof r?r.trim()?(0,t.jsx)(i.ComponentIcon,{icon:r,iconType:a,color:n,className:"size-4 m-0! shrink-0"}):null:r;return(0,t.jsxs)("div",{role:u?"note":void 0,"aria-label":u,className:(0,d.cn)(o.Classes.Callout,"my-4 px-5 py-4 overflow-hidden rounded-2xl flex gap-3",l),style:{...p,...h},"data-callout-type":c,children:[!!m&&(0,t.jsx)("div",{className:"mt-0.5 w-4","data-component-part":"callout-icon",children:m}),(0,t.jsx)("div",{className:(0,d.cn)("text-sm prose dark:prose-invert min-w-0 w-full [&_kbd]:bg-background-light dark:[&_kbd]:bg-background-dark [&_code]:text-current! [&_kbd]:text-current! [&_a]:text-current! [&_a]:border-current [&_strong]:text-current!",s),style:h,"data-component-part":"callout-content",children:e})]})}let I=e=>{let t=(e=>{if(e)try{return(0,_.default)(e)}catch{return}})(e);if(!t)return;let r=t.hex(),a=t.isDark(),n=t.mix((0,_.default)("#ffffff"),.5),o=t.mix((0,_.default)("#000000"),.5);return{containerClassName:"border-(--callout-light-border-color,#71717a33) bg-(--callout-light-bg-color,#7171711a) dark:border-(--callout-border-color,#71717a4d) dark:bg-(--callout-bg-color,#7171711a)",childrenClassName:"text-(--callout-text-color) dark:text-(--dark-callout-text-color)",customStyle:{"--callout-light-border-color":`${r}33`,"--callout-light-bg-color":`${r}1a`,"--callout-border-color":`${r}${a?"66":"4d"}`,"--callout-bg-color":`${r}${a?"4d":"1a"}`},customTextStyle:{"--callout-text-color":`${o.hex()}`,"--dark-callout-text-color":`${n.hex()}`}}};function P({type:e,children:r,extraClassName:a,icon:n,iconType:o,color:i,className:l}){let s=(0,p.useSelectedLocale)(),c=$[e],u=I(i);return(0,t.jsx)(T,{calloutType:e,icon:null==n||!1===n?u?(0,t.jsx)(E,{type:e,colorClassName:"text-(--callout-text-color) dark:text-(--dark-callout-text-color)"}):c.icon:n,iconType:o,color:u?i:void 0,label:s[`aria.${e}`],className:(0,d.cn)("border",u?u.containerClassName:c.container,a,l),childrenClassName:u?u.childrenClassName:c.contentText,customStyle:u?.customStyle,customTextStyle:u?.customTextStyle,children:r})}function A({children:e,icon:r,iconType:a,color:n,className:o}){return(0,t.jsx)(P,{type:"info",icon:r,iconType:a,color:n,className:o,children:e})}function L({children:e,icon:r,iconType:a,color:n,className:o}){return(0,t.jsx)(P,{type:"warning",icon:r,iconType:a,color:n,extraClassName:"[&_[data-component-part='callout-icon']]:mt-px",className:o,children:e})}function z({children:e,icon:r,iconType:a,color:n,className:o}){return(0,t.jsx)(P,{type:"note",icon:r,iconType:a,color:n,className:o,children:e})}function R({children:e,icon:r,iconType:a,color:n,className:o}){return(0,t.jsx)(P,{type:"tip",icon:r,iconType:a,color:n,extraClassName:"[&_[data-component-part='callout-icon']]:mt-px",className:o,children:e})}function O({children:e,icon:r,iconType:a,color:n,className:o}){return(0,t.jsx)(P,{type:"check",icon:r,iconType:a,color:n,className:o,children:e})}function H({children:e,icon:r,iconType:a,color:n,className:o}){return(0,t.jsx)(P,{type:"danger",icon:r,iconType:a,color:n,className:o,children:e})}function D({children:e,icon:r,iconType:a,color:n,className:o}){let i=I(n);return(0,t.jsx)(T,{calloutType:"callout",icon:r,iconType:a,color:i?n:void 0,className:(0,d.cn)("border",i?i.containerClassName:"border-zinc-500/20 bg-zinc-50/50 dark:border-zinc-500/30 dark:bg-zinc-500/10",o),childrenClassName:i?i.childrenClassName:"text-zinc-900 dark:text-zinc-200",customStyle:i?.customStyle,customTextStyle:i?.customTextStyle,children:e})}e.s(["Card",()=>Y],464991);var U=e.i(590280),F=e.i(206558),q=e.i(674987);function G(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function W(e){if(!e)return!1;try{return new URL(e,window.location.origin).origin!==window.location.origin}catch{return!1}}var V=e.i(618566);function B(e){return!F.NEXT_PUBLIC.BASE_PATH||!e.startsWith("/")||e.startsWith("//")||e===F.NEXT_PUBLIC.BASE_PATH||e.startsWith(F.NEXT_PUBLIC.BASE_PATH+"/")?e:`${F.NEXT_PUBLIC.BASE_PATH}${e}`}function Z(e){return"undefined"!=typeof navigator&&/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?e.metaKey:e.ctrlKey}function X(e){let t=e;for(;t;){if(t.hasAttribute("data-client-link")){t=t.parentElement;continue}if(t.matches("a[href]"))return!0;t=t.parentElement}return!1}var K=e.i(588420),J=e.i(357332);
1function Y({title:e,icon:r,iconType:a,color:n,horizontal:o,href:l,img:s,children:c,disabled:u,cta:p,arrow:h,className:m,type:g}){let f=g?$[g]:void 0,b="string"==typeof r&&""===r.trim()?void 0:r??f?.icon,x="string"==typeof b?(0,t.jsx)(i.ComponentIcon,{icon:b,iconType:a,color:n,className:(0,d.cn)("size-6 m-0! shrink-0",f?.iconBgClassName??"bg-primary dark:bg-primary-light"),overrideColor:!0}):b;return u&&(l=void 0),(0,t.jsx)(Q,{className:(0,d.cn)(f&&(0,d.cn)(f.container,f.cardSelectors),l&&!f&&"hover:border-primary! dark:hover:border-primary-light!",m),title:e,icon:x,img:s,horizontal:o,href:l,cta:p,arrow:h,disabled:u,children:c})}function Q({title:e,icon:a,img:n,className:i,children:l,horizontal:s,arrow:c,mRef:p,cta:h,disabled:m,href:g,...f}){let b=function(e){let t=(0,u.useRef)(null),r=(0,V.useRouter)(),{getLivePreviewHref:a,navigateWithinLivePreview:n,requestContentEarly:o}=(0,u.useContext)(U.LivePreviewContext),i=void 0===e?void 0:a(e),l=W(e);(0,u.useEffect)(()=>{var e;if(!i||!t.current)return;let a=t.current,n=function(e,t){let r=document.createElement("a");return!function e(t,r){for(let a of Object.keys(r)){let n=r[a];if(void 0===n)continue;let o=t[a];G(o)&&G(n)?e(o,n):t[a]=n}}(r,t),r}(0,{href:B(i),tabIndex:-1,ariaHidden:"true",style:{display:"contents",color:"inherit",textDecoration:"none"},dataset:{clientLink:""},...l&&{target:"_blank",rel:"noreferrer"}}),o=(e=r,t=>{let r=t.defaultPrevented,a=t.target instanceof Element?t.target.closest("a[href]"):null,n=t.currentTarget instanceof Element?t.currentTarget:null,o=null!==a&&a!==n;if(o&&W(a.getAttribute("href")??void 0)||(t.preventDefault(),r||!o))return;let i=a.getAttribute("href");i&&(Z(t)?window.open(B((0,q.navHref)(i)),"_blank","noopener,noreferrer"):e.push((0,q.navHref)(i)))});for(let e of(n.addEventListener("click",o),Array.from(a.childNodes)))n.appendChild(e);a.appendChild(n);let s=a.removeChild.bind(a),c=a.insertBefore.bind(a),d=a.appendChild.bind(a);return a.removeChild=e=>e===n?s(e):e.parentNode===n?n.removeChild(e):s(e),a.insertBefore=(e,t)=>e===n||t===n||null!==t&&t.parentNode!==n?c(e,t):n.insertBefore(e,t),a.appendChild=e=>e===n?d(e):n.appendChild(e),()=>{for(n.removeEventListener("click",o);n.firstChild;)d(n.firstChild);n.remove(),a.removeChild=s,a.insertBefore=c,a.appendChild=d}},[i,l,r]);let s=(0,u.useCallback)(t=>{if(!i||window.getSelection()?.toString()||t.target instanceof Element&&X(t.target))return;let a=(0,q.navHref)(i);!(t.defaultPrevented&&n?.(a))&&(Z(t)||l?window.open(B((0,q.navHref)(i)),"_blank","noopener,noreferrer"):(e&&o?.(e),n?.(a)||r.push((0,q.navHref)(i))))},[e,n,o,i,l,r]),c=(0,u.useCallback)(e=>{i&&1===e.button&&(e.target instanceof Element&&X(e.target)||(e.preventDefault(),window.open(B((0,q.navHref)(i)),"_blank","noopener,noreferrer")))},[i]),d=(0,u.useCallback)(t=>{if(i&&("Enter"===t.key||" "===t.key)&&(!(t.target instanceof Element)||t.target===t.currentTarget))if(t.preventDefault(),l)window.open(B((0,q.navHref)(i)),"_blank","noopener,noreferrer");else{e&&o?.(e);let t=(0,q.navHref)(i);n?.(t)||r.push((0,q.navHref)(i))}},[e,n,o,i,l,r]);return{ref:t,props:{onClick:e?s:void 0,onAuxClick:e?c:void 0,onKeyDown:e?d:void 0,tabIndex:e?0:void 0,role:e?"link":void 0},external:l}}(g),x=c??b.external,y=(0,u.useId)(),v=(0,u.useId)(),w=null!=e&&""!==e,k="string"==typeof a,C=null!=a&&!s,j=n?n.match(/\/([^\/]+)\.[^.]+$/)?.[1]??"":"",N=(0,t.jsx)(t.Fragment,{children:a?k?(0,t.jsx)("img",{src:a,alt:(0,r.getTitleText)(e),className:"size-6 object-cover object-center","data-component-part":"card-icon"}):(0,t.jsx)("div",{"aria-hidden":"true",className:"size-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100 [&>svg]:size-6","data-component-part":"card-icon",children:a}):null});return(0,t.jsxs)("div",{className:(0,d.cn)(o.Classes.Card,"block font-normal group relative my-2 ring-2 ring-transparent rounded-2xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full",g&&"cursor-pointer",i),"aria-labelledby":g?e?y:v:void 0,...b.props,...f,ref:p,children:[n&&(0,t.jsx)("img",{src:n,alt:j,className:"w-full object-cover object-center not-prose","data-component-part":"card-image"}),(0,t.jsxs)("div",{ref:b.ref,className:(0,d.cn)("px-6 py-5 relative",s&&"flex items-center gap-x-4"),"data-component-part":"card-content-container",children:[g&&(0,t.jsx)("div",{className:(0,d.cn)("absolute text-gray-400 dark:text-gray-500 group-hover:text-primary dark:group-hover:text-primary-light top-5 right-5",!x&&"hidden"),children:(0,t.jsx)(K.ArrowUpRight2Icon,{"aria-hidden":"true",strokeWidth:2,className:"m-0.5 size-3 shrink-0"})}),N,(0,t.jsxs)("div",{className:"w-full",children:[w&&(0,t.jsx)("h2",{id:y,className:(0,d.cn)("not-prose font-semibold text-base text-gray-800 dark:text-white",C&&"mt-4"),contentEditable:!1,"data-component-part":"card-title",children:e}),(0,t.jsx)("div",{id:v,className:(0,d.cn)("prose mt-1 font-normal text-base leading-6",e?"text-gray-600 dark:text-gray-400":"text-gray-700 dark:text-gray-300",!w&&C&&"mt-4",s&&"leading-6 mt-0"),"data-component-part":"card-content",children:l}),h&&(0,t.jsx)("div",{className:"mt-8","data-component-part":"card-cta",children:(0,t.jsxs)("button",{className:(0,d.cn)("text-left text-gray-600 gap-2 dark:text-gray-400 text-sm font-medium flex flex-row items-center",!m&&"hover:text-primary dark:hover:text-primary-light group-hover:text-primary group-hover:dark:text-primary-light"),disabled:m,children:[h,(0,t.jsx)(J.ChevronRightIcon,{"aria-hidden":"true",className:"-ml-0.5 size-2.5 shrink-0",strokeWidth:2})]})})]})]})]})}e.s(["Color",()=>el],891376);var ee=e.i(662862),et=e.i(628083);e.s(["Tooltip",()=>eo],401819);var er=e.i(292346),ea=e.i(995047);let en=new Set(["p","div","section","ul","ol","table","pre","blockquote"]);function eo({tip:e,children:r,headline:a,cta:n,href:i,triggerAriaLabel:l,className:s}){var c;let[p,h]=(0,u.useState)(!1),m=function(){try{return matchMedia("(hover: hover)").matches}catch{return!0}}(),g=(0,u.useId)(),f=(0,u.isValidElement)(r)&&"string"==typeof r.type?r.type.toLowerCase():void 0,b=(0,u.isValidElement)(r)&&"function"==typeof r.type,x="button"===f||"a"===f,y=(0,u.useRef)("");if((0,u.useEffect)(()=>{let e=[];n&&!i&&e.push('<Tooltip>: "cta" requires "href";
1 the call-to-action link was not rendered.'),f&&en.has(f)&&e.push(`<${f}> cannot be a child of the <Tooltip> trigger button. Use inline content instead.`),b&&e.push("<Tooltip> wraps its children in a <button> trigger; a component child may render invalid nested interactive elements. Use plain text or a native <button>/<a> child.");let t=e.join("\n");if(t&&y.current!==t)for(let r of(y.current=t,e))console.warn(r)},[n,i,f,b]),null==r||!1===r||""===r)return null;let v=m||"a"===f?void 0:()=>{h(e=>!e)};return(0,t.jsx)(er.Tooltip.Provider,{delay:0,children:(0,t.jsxs)(er.Tooltip.Root,{open:p,onOpenChange:h,children:[x&&(0,u.isValidElement)(r)?(0,t.jsx)(er.Tooltip.Trigger,{"aria-label":l,"aria-describedby":p?g:void 0,onClick:v,className:s,render:r}):(0,t.jsx)(er.Tooltip.Trigger,{type:"button","aria-label":l,"aria-describedby":p?g:void 0,onClick:v,className:s,children:(c=r,(0,t.jsx)("span",{className:(0,d.cn)(o.Classes.Tooltip,"underline decoration-dotted decoration-2 underline-offset-4 decoration-gray-400 dark:decoration-gray-500"),children:c}))}),(0,t.jsx)(er.Tooltip.Portal,{children:(0,t.jsx)(er.Tooltip.Positioner,{className:"z-50",collisionPadding:8,children:(0,t.jsxs)(er.Tooltip.Popup,{id:g,role:"tooltip",className:"max-w-[16rem] px-4 py-3 rounded-xl bg-white border border-gray-200 dark:bg-gray-950 dark:border-gray-900 space-y-1 shadow-[0_10px_16px_-3px_rgb(10_10_10/0.05),0_3px_10px_-2px_rgb(10_10_10/0.02)]","data-component-part":"tooltip-content",children:[!!a&&(0,t.jsx)("p",{className:"text-xs font-medium leading-4 text-gray-900 dark:text-gray-200","data-component-part":"tooltip-headline",children:a}),(0,t.jsx)("p",{className:"text-xs text-gray-600 dark:text-gray-400 leading-4","data-component-part":"tooltip-tip",children:e}),n&&i&&(0,t.jsxs)(ea.DynamicLink,{href:i,"data-component-part":"tooltip-cta",className:"text-gray-600 mt-2! dark:text-gray-400 hover:text-primary dark:hover:text-primary-light gap-0.5 flex items-center text-xs font-medium leading-4",children:[n,(0,t.jsx)(J.ChevronRightIcon,{className:"size-3 shrink-0",strokeWidth:2.5,"aria-hidden":"true"})]})]})})})]})})}let ei=(0,u.createContext)("compact"),el=({children:e,variant:r,className:a})=>{let n=r??"compact";return(0,t.jsx)(ei.Provider,{value:n,children:(0,t.jsx)("div",{"data-variant":n,className:(0,d.cn)(o.Classes.Color,"flex group","table"===n&&"flex-col gap-6","compact"===n&&"flex-row flex-wrap gap-x-2 gap-y-4",a),children:e})})};el.Row=({children:e,title:a})=>(0,t.jsxs)("div",{className:(0,d.cn)(o.Classes.ColorRow,"flex flex-col gap-2 md:flex-row md:items-center"),children:[!!a&&(0,t.jsx)("div",{className:"md:w-[120px] w-full shrink-0",children:(0,t.jsx)("p",{className:"text-sm font-medium [letter-spacing:-0.1px] text-gray-900 dark:text-gray-200 m-0 truncate",title:(0,r.getTitleText)(a),children:a})}),(0,t.jsx)("div",{className:"flex w-full gap-1 md:gap-2",children:e})]}),el.Item=({name:e,value:r})=>{let a=(0,p.useSelectedLocale)(),[n,i]=(0,u.useState)("idle"),s=(0,u.useRef)(null),[c,h]=(0,u.useTransition)();(0,u.useEffect)(()=>()=>{s.current&&clearTimeout(s.current)},[]);let{resolvedTheme:m}=(0,ee.useTheme)(),g=(0,u.useContext)(ei),f="string"==typeof r?r:"dark"===(m||"light")?r.dark:r.light,b="string"==typeof r?{"--swatch-light":r,"--swatch-dark":r}:{"--swatch-light":r.light,"--swatch-dark":r.dark},x=(0,t.jsx)("button",{type:"button",style:b,onClick:()=>{h(async()=>{await (0,l.copyToClipboard)(f),i("copied"),s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{i("idle")},2e3)})},className:(0,d.cn)("cursor-copy relative flex items-center justify-center rounded-lg border border-neutral-200 dark:border-neutral-800 print:print-color-exact bg-(--swatch-light) dark:bg-(--swatch-dark)","compact"===g&&"max-h-[104px] aspect-square","table"===g&&"aspect-square w-full md:h-10"),"aria-label":e||a["aria.colorSwatch"].replace("{color}",String(f)),"aria-pressed":"copied"===n,"aria-roledescription":"copied"===n?a.copied:a["tooltip.copy"],children:(0,t.jsx)(et.Check2Icon,{"aria-hidden":!0,strokeWidth:2,className:(0,d.cn)("size-3.5 absolute inset-0 m-auto pointer-events-none transition-opacity duration-100 opacity-0 shrink-0","text-white [filter:drop-shadow(0_0_1px_rgb(0_0_0_/_0.75))_drop-shadow(0_0_2px_rgb(0_0_0_/_0.4))]","copied"===n&&"opacity-100")})});return(0,t.jsxs)("div",{className:(0,d.cn)(o.Classes.ColorItem,"compact"===g&&"flex flex-col gap-2 shrink-0","table"===g&&"w-full max-w-[50px] md:max-w-[60px]"),children:["table"===g?(0,t.jsx)(eo,{tip:f,children:x}):x,(0,t.jsx)("span",{role:"status",className:"sr-only",children:"copied"===n?a.copied:""}),"compact"===g&&(0,t.jsxs)("div",{className:"flex flex-col gap-0.5 min-w-0 
1w-[104px]",children:[e&&(0,t.jsx)("p",{className:"text-sm font-medium text-gray-900 dark:text-gray-200 m-0 truncate text-center",title:e,children:e}),(0,t.jsx)("p",{className:"text-xs text-gray-600 dark:text-gray-400 m-0 truncate font-mono text-center",title:f,children:f})]})]})},e.s(["CardGroup",()=>em,"Column",()=>eh,"Columns",()=>ep],35884);var es=e.i(243378),ec=e.i(435772);let ed=2,eu=({children:e,className:r,cols:a=ed})=>{let n=Number(a)||ed;return(0,t.jsx)("div",{className:(0,ec.cn)(es.Classes.Columns,"prose dark:prose-invert grid max-w-none gap-4","sm:grid-cols-[repeat(var(--cols),minmax(0,1fr))]","@2xl/columns-container:grid-cols-[repeat(var(--cols),minmax(0,1fr))] @[0px]/columns-container:grid-cols-1",r),style:{"--cols":n},children:e})};function ep({className:e,cols:r,...a}){return(0,t.jsx)(eu,{...a,cols:(e=>{let t=Math.round(Number(e));if(Number.isFinite(t)&&!(t<1))return Math.min(4,t)})(r),className:(0,d.cn)(o.Classes.CardGroup,"dark:prose-dark gap-y-0 sm:grid-cols-[repeat(var(--cols),minmax(0,1fr))]!",e)})}function eh({children:e,className:r}){return(0,t.jsx)("div",{className:(0,d.cn)("min-w-0",r),children:e})}function em({children:e,...r}){return(0,t.jsx)(ep,{...r,children:e})}e.s(["default",()=>ef],267823);var eg=e.i(770703);let ef=(0,eg.default)(()=>e.A(978936),{loadableGenerated:{modules:[701959]},loading:()=>(0,t.jsx)("p",{children:"Loading..."}),ssr:!1});e.s(["DynamicFrame",()=>eb],602875);let eb=(0,eg.default)(()=>e.A(239757).then(e=>e.Frame),{loadableGenerated:{modules:[209875]}});e.s(["Expandable",()=>ek],287071);let ex="user_toggled_expandables",ey=()=>{try{let e=sessionStorage.getItem(ex);return e?JSON.parse(e):{}}catch(e){return{}}};var ev=e.i(75048);let ew="expandable-content";function ek({title:e,defaultOpen:r=!1,onChange:n,lazy:l,children:c,uniqueParamId:h,className:m}){let{hasScrolledToAnchorRef:g,anchor:f}=(0,u.useContext)(ev.EndpointLocationContext),b=(0,p.useSelectedLocale)(),x=!0===r||"string"==typeof r&&"true"===r,y=!!h,{isExpanded:v,onManualToggle:w,isInSessionStorage:k}=((e,t=!1)=>{let[r,a]=(0,u.useState)(!1),[n,o]=(0,u.useState)(t);return(0,u.useEffect)(()=>{if(!e)return;let t=ey();e in t&&(o(!!t[e]),a(!0))},[e]),{isExpanded:n,onManualToggle:(0,u.useCallback)(t=>{o(t),a(!0),e&&((e,t)=>{try{let r={...ey(),[e]:t};sessionStorage.setItem(ex,JSON.stringify(r))}catch(e){}})(e,t)},[e]),isInSessionStorage:r}})(h||"",x),[C,j]=(0,u.useState)(x),N=f?.startsWith("#")?f.slice(1):f,M=!!(h&&N&&(N===h||N.startsWith(`${h}-`))),[_,S]=(0,u.useState)(!1),E=M&&!g?.current&&!_,$=y?!!E||(k?v:x):C,[T,I]=(0,u.useState)($||!l);(0,u.useLayoutEffect)(()=>{$&&!T&&I(!0)},[$,T]),(0,u.useLayoutEffect)(()=>{E&&(w(!0),S(!0))},[E,w]);let P=(0,a.useAnalyticsContext)("docs.expandable.open"),A=(0,a.useAnalyticsContext)("docs.expandable.close"),L=(0,u.useRef)(null),z=(0,u.useRef)(!!g?.current),[R,O]=(0,u.useState)($),H=(0,u.useId)();return(0,u.useLayoutEffect)(()=>{O($)},[$]),(0,u.useEffect)(()=>{let e=(e=!1)=>{(0,s.scrollElementIntoView)({shouldReturnEarly:!e&&z.current,checkIfShouldScroll:e=>!!L.current&&L.current.contains(e),preScrollCallback(e){g&&(g.current=!0),y?w(!0):j(!0);let t=e.closest(`.${ew}`);for(;t;){let e=t.closest("details"),r=t.previousElementSibling;e&&!e.open&&r&&r.click(),t=t.parentElement?.closest(`.${ew}`)??null}}})};e(),z.current=!0;let t=()=>e(!0);return window.addEventListener("hashchange",t),()=>{window.removeEventListener("hashchange",t)}},[y,w,g]),(0,t.jsxs)("details",{ref:L,open:$,onToggle:t=>{let r=t.currentTarget.open;O(r),r!==$&&(y?w(r):j(r),I(!0),n&&n(r),r?P({title:e}):A({title:e}))},className:(0,d.cn)(o.Classes.Expandable,"mt-4 border-standard rounded-xl [&[open]>summary]:rounded-b-none [&[open]>summary]:before:rounded-b-none",m),"data-testid":h+"-children",children:[(0,t.jsxs)("summary",{className:(0,d.cn)("not-prose text-sm flex flex-row items-center content-center w-full cursor-pointer relative focus-visible:outline-hidden before:content-[''] before:absolute before:inset-0 before:pointer-events-none before:rounded-[calc(var(--radius-xl)-1px)] focus-visible:before:outline focus-visible:before:outline-1 focus-visible:before:-outline-offset-2 focus-visible:before:outline-primary dark:focus-visible:before:outline-primary-light","text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-200 py-3 px-3.5 hover:bg-gray-50/50 dark:hover:bg-white/5 rounded-t-xl","list-none [&::-webkit-details-marker]:hidden",!$&&"rounded-b-xl"),"aria-controls":H,"aria-expanded":R,"data-component-part":"expandable-button",children:[(0,t.jsx)(i.default,{icon:"angle-right",className:(0,d.cn)("h-2.5 w-2.5 bg-zinc-400 transition-transform",$&&"rotate-90"),"data-component-part":"expandable-icon"}),(0,t.jsx)("div",{className:"ml-3 leading-tight text-left",children:(0,t.jsxs)("p",{className:"m-0",contentEditable:!1,
1children:[$?b.hide:b.show," ",e||b.childAttributes]})})]}),(0,t.jsx)("div",{id:H,className:(0,d.cn)(ew,"mx-3 px-2 border-t border-gray-100 dark:border-white/10"),"data-component-part":ew,children:T&&c})]})}e.s(["GitHub",()=>eL],437953);var eC=e.i(395787);let ej=(0,h.default)("CodeForkIcon",[["path",{d:"M9 8.75V12.25",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M4.75 5.75V6.75C4.75 7.855 5.645 8.75 6.75 8.75H9H11.25C12.355 8.75 13.25 7.855 13.25 6.75V5.75",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M4.75 5.75C5.85457 5.75 6.75 4.85457 6.75 3.75C6.75 2.64543 5.85457 1.75 4.75 1.75C3.64543 1.75 2.75 2.64543 2.75 3.75C2.75 4.85457 3.64543 5.75 4.75 5.75Z",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M13.25 5.75C14.3546 5.75 15.25 4.85457 15.25 3.75C15.25 2.64543 14.3546 1.75 13.25 1.75C12.1454 1.75 11.25 2.64543 11.25 3.75C11.25 4.85457 12.1454 5.75 13.25 5.75Z",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M9 16.25C10.1046 16.25 11 15.3546 11 14.25C11 13.1454 10.1046 12.25 9 12.25C7.89543 12.25 7 13.1454 7 14.25C7 15.3546 7.89543 16.25 9 16.25Z",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}]],"outlined"),eN=(0,h.default)("StarIcon",[["path",{d:"M9 1.75L11.24 6.289L16.25 7.017L12.625 10.551L13.481 15.54L9 13.185L4.519 15.54L5.375 10.551L1.75 7.017L6.76 6.289L9 1.75Z",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}]],"outlined");var eM=e.i(225913),e_=e.i(114140);let eS=(0,eM.cva)([o.Classes.GitHubRepo,"not-prose my-2 flex w-full flex-col overflow-hidden rounded-2xl border"],{variants:{variant:{inset:"gap-0.5 p-1",flat:"gap-2 px-4 py-3"},error:{true:"border-red-100 bg-red-50 dark:border-red-900 dark:bg-red-600/20",false:null}},compoundVariants:[{variant:"inset",error:!1,className:"border-gray-100 bg-gray-50 dark:border-white/10 dark:bg-white/5"},{variant:"flat",error:!1,className:"border-gray-100 bg-white dark:border-white/10 dark:bg-background-dark"}]}),eE=e=>{if("object"!=typeof e||null===e||!("response"in e))return;let{response:t}=e;if("object"!=typeof t||null===t||!("status"in t))return;let{status:r}=t;return"number"==typeof r?r:void 0},e$=new Map,eT=new Map,eI=new Map,eP=({className:e})=>(0,t.jsx)("span",{"aria-hidden":"true",className:(0,d.cn)("block animate-pulse repeat-2 roun
1ded-md bg-gray-200 motion-reduce:animate-none dark:bg-white/15",e)}),eA=({Icon:e,value:r,count:a,one:n,other:o})=>{let i=(0,p.useSelectedLocale)(),l=void 0===a||void 0===r?void 0:i[1===a?n:o].replace("{count}",r);return(0,t.jsxs)("span",{className:"flex items-center gap-1.5 text-gray-600 dark:text-gray-400",children:[(0,t.jsx)(e,{"aria-hidden":"true",className:"size-3 shrink-0"}),void 0===r?(0,t.jsx)(eP,{className:"my-0.5 h-4 w-8"}):(0,t.jsx)("span",{"aria-hidden":"true",className:"text-sm tabular-nums",children:r}),l&&(0,t.jsx)("span",{className:"sr-only",children:l})]})},eL=Object.assign(()=>null,{Repo:({repo:r,variant:a,className:n})=>{let o=(0,p.useSelectedLocale)(),i=(0,u.useId)(),l=(()=>{let e=(0,u.useRef)(!1);return{onPointerDown:t=>{let r=t.currentTarget;r.style.userSelect="",2===t.button&&(window.getSelection()?.isCollapsed??!0)&&(r.style.userSelect="none",e.current=!0)},onContextMenu:t=>{if(!e.current)return;e.current=!1;let r=t.currentTarget;setTimeout(()=>{r.style.userSelect=""},0)}}})(),s="flat"===a?"flat":"inset",c="inset"===s,h=(0,u.useMemo)(()=>{if(!r)return null;try{return(0,e_.default)(r)}catch{return null}},[r]),m=h?`${h.user}/${h.repo}`:void 0,[g,f]=(0,u.useState)(()=>m?eT.get(m):void 0),[b,x]=(0,u.useState)(()=>m?eI.get(m):void 0);(0,u.useEffect)(()=>{if(!h){f(void 0),x(void 0);return}let t=`${h.user}/${h.repo}`,r=eT.get(t),a=eI.get(t);if(f(r),x(a),r||a)return;let n=!1;return(t=>{let r=e$.get(t);if(r)return r;let a=e.A(547846).then(e=>e.default.get(`https://api.github.com/repos/${t}`)).then(e=>{if("number"!=typeof e.data.stargazers_count||"number"!=typeof e.data.forks_count)throw Error("Malformed repository data");return eT.set(t,e.data),e.data});return e$.set(t,a),a.catch(e=>{404===eE(e)?eI.set(t,"not-found"):e$.delete(t)}),a})(t).then(e=>{n||f(e)}).catch(e=>{n||x(404===eE(e)?"not-found":"unavailable")}),()=>{n=!0}},[h]);let y=!!r&&!h||"not-found"===b,v="unavailable"===b,w=!!h&&!g&&!b,k=y?o["github.repoDoesNotExist"]:m??o["github.noRepoAdded"],C=g?g.description:v?null:o["github.addRepoDescription"],j=g?g.stargazers_count.toLocaleString():w?void 0:"0",N=g?g.forks_count.toLocaleString():w?void 0:"0",M=m&&!y?`https://github.com/${m}`:void 0,_=y?"text-red-700 dark:text-red-300":"text-gray-950 dark:text-white",S=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:(0,d.cn)("flex min-w-0 flex-col gap-1",c&&"rounded-xl bg-background-light px-3 py-2 dark:bg-background-dark"),children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)(eC.GithubIcon,{className:(0,d.cn)("size-4 shrink-0",_)}),(0,t.jsx)("span",{id:i,title:y?void 0:m,className:(0,d.cn)("min-w-0 flex-1 truncate text-sm font-medium underline-offset-2 group-hover:underline group-focus-visible:underline",_),"data-component-part":"github-repo-title",children:k})]}),(0,t.jsx)("div",{"aria-busy":w||void 0,className:"line-clamp-3 min-h-5 text-sm text-gray-600 dark:text-gray-400","data-component-part":"github-repo-description",children:w?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eP,{className:"my-0.5 h-4 w-2/3"}),(0,t.jsx)("span",{className:"sr-only",children:o["github.loading"]})]}):C})]}),!v&&(0,t.jsxs)("div",{"aria-busy":w||void 0,className:(0,d.cn)("flex items-center gap-4",c&&"px-3 py-1"),"data-component-part":"github-repo-stats",children:[(0,t.jsx)(eA,{Icon:eN,value:j,count:g?g.stargazers_count:w?void 0:0,one:"github.stars_one",other:"github.stars_other"}),(0,t.jsx)(eA,{Icon:ej,value:N,count:g?g.forks_count:w?void 0:0,one:"github.forks_one",other:"github.forks_other"})]})]}),E=(0,d.cn)(eS({variant:s,error:y}),n);return M?(0,t.jsx)("a",{href:M,target:"_blank",rel:"noreferrer","aria-labelledby":i,...l,className:(0,d.cn)(E,"group focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary dark:focus-visible:outline-primary-light"),children:S}):(0,t.jsx)("div",{className:E,children:S})}});e.s(["Heading",()=>eV],896438);var ez=e.i(91557),eR=e.i(693619);e.s(["useTop",()=>eH],311005);var eO=e.i(111048);function eH(e){let{docsConfig:t}=(0,u.useContext)(ez.DocsConfigContext),[r,a]=(0,u.useState)(),n=e?e.top:void 0,o=t?.theme==="almond";return(0,u.useEffect)(()=>{let e;
1if(void 0!==n){if(o){let t=document.getElementById(eO.Ids.ContentContainer);t&&(e=n+t.scrollTop)}else e=n+window.pageYOffset;void 0!==e&&e!==r&&a(e)}},[n,r,o]),r}var eD=e.i(479721),eU=e.i(319129),eF=e.i(163061);function eq(e,{resize:t=!1}={}){let r=(0,u.useRef)(e);(0,u.useEffect)(()=>{r.current=e},[e]);let a=(0,u.useRef)(t);(0,u.useEffect)(()=>{a.current=t,c()},[t]);let n=(0,u.useRef)(null),o=(0,u.useCallback)(e=>{e!==n.current&&(n.current=e,l(),c())},[]),i=(0,u.useRef)(null),l=(0,u.useCallback)(({force:e=!1}={})=>{var t,a;if(!n.current)return;let o=n.current.getBoundingClientRect();if(e||(t=i.current,a=o,!t||t!==a&&eG.some(e=>t[e]!==a[e]))){i.current=o;let{bottom:e,height:t,left:a,right:n,top:l,width:s,x:c,y:d}=o;r.current({bottom:e,height:t,left:a,right:n,top:l,width:s,x:c,y:d})}},[]),s=(0,u.useRef)(null),c=(0,u.useCallback)(()=>{s.current&&(s.current.disconnect(),s.current=null),n.current&&a.current&&(s.current=new ResizeObserver(()=>l()),s.current.observe(n.current))},[]);return eW(l),[o,l]}e.s(["useRect",()=>eq],27815);var eG=["bottom","height","left","right","top","width","x","y"],eW="undefined"==typeof window?u.useEffect:u.useLayoutEffect;function eV({level:e,id:a,children:n,className:o="",hidden:i=!1,style:c={},noAnchor:h=!1,...m}){let{docsConfig:g}=(0,u.useContext)(ez.DocsConfigContext),f=(0,p.useSelectedLocale)(),b=`h${e}`,[x,y]=(0,eR.useMDXContent)(),[v,w]=(0,u.useState)(null),[k]=eq(w),C=eH(v),j=(0,eU.cleanHeadingId)(a),N=(0,r.getNodeText)(n).trim(),M=N.length>0&&!/\s/.test(N),_=(0,u.useCallback)(()=>{h||((0,l.copyToClipboard)(`https://${window.location.host}${window.location.pathname}#${j}`),window.location.hash=j,(0,s.scrollElementIntoView)({id:j}))},[j,h]),S=!!x;return(0,u.useEffect)(()=>{if(S)return void 0!==C&&y({type:"register_heading",payload:{id:j,top:C}}),()=>{y({type:"unregister_heading",payload:j})}},[C,j,S,y]),(0,t.jsxs)(b,{className:(0,d.cn)("flex whitespace-pre-wrap group font-semibold",(0,eD.themeHeadings)({theme:g?.theme}),o,{"text-2xl sm:text-3xl mt-10":"h1"===b}),id:j,ref:k,style:{...i?{marginBottom:0}:{},...c},...m,children:[!i&&!h&&(0,t.jsx)("div",{className:"absolute",tabIndex:-1,children:(0,t.jsxs)("a",{href:`#${j}`,className:"-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link","aria-label":f["aria.navigateToHeader"],onClick:_,children:["​",(0,t.jsx)("div",{className:"size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light",children:(0,t.jsx)(eF.LinkIcon,{"aria-hidden":"true",className:"size-3 shrink-0",strokeWidth:2})})]})}),(0,t.jsx)("span",{className:(0,d.cn)(M&&"min-w-0 break-words",!h&&"cursor-pointer",i&&"sr-only"),onClick:_,children:n})]})}function eB({icon:e,src:r,iconType:a,color:n,size:l,className:s,"aria-label":c,title:u}){return(0,t.jsx)(i.ComponentIcon,{icon:e,src:r,iconType:a,color:n,"aria-label":c??u,style:{width:l??16,height:l??16,display:"inline-block",verticalAlign:"middle"},className:(0,d.cn)(o.Classes.Icon,"inline",!n&&"bg-primary dark:bg-primary-light",s)})}function eZ({children:e,className:r}){return(0,t.jsx)("span",{className:(0,d.cn)("latex-style inline text-inherit p-0",r),children:e})}function eX({children:e}){return(0,t.jsx)(t.Fragment,{children:e})}e.s(["Icon",()=>eB],688527),e.s(["Latex",()=>eZ],179958),e.s(["MDX",()=>eX],973469),e.s(["DynamicMermaid",()=>eK],52693);let eK=(0,eg.default)(()=>e.A(47440).then(e=>e.Mermaid),{loadableGenerated:{modules:[603619]},ssr:!1})},709910,e=>{"use strict";e.s(["MediaActions",()=>f,"parseMediaActions",()=>u],709910);var t=e.i(843476),r=e.i(343590),a=e.i(560179),n=e.i(628083);let o=(0,e.i(930733).default)("CloudDownloadIcon",[["path",{d:"M13.464 6.891C13.278 4.577 11.362 2.75 9 2.75C6.515 2.75 4.5 4.765 4.5 7.25C4.5 7.6 4.549 7.936 4.624 8.263C3.027 8.33 1.75 9.637 1.75 11.25C1.75 12.907 3.093 14.25 4.75 14.25H12.5C14.571 14.25 16.25 12.571 16.25 10.5C16.25 8.764 15.065 7.318 13.464 6.891Z",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M11.25 9.5L9 11.75L6.75 9.5",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M9 11.75V6.75",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}]],"outlined");var i=e.i(760391),l=e.i(296548),s=e.i(271645);let c=["copy","download"],d=e=>"copy"===e||"download"===e,u=e=>{if(void 0===e||!1===e)return[];if(!0===e)return c;if("string"!=typeof e)return e.filter(d);let t=e.trim().toLowerCase();return"false"===t?[]:""===t||"true"===t?c:t.split(",").map(e=>e.trim()).filter(d)},p=()=>
1{let[e,t]=(0,s.useState)(null),r=(0,s.useRef)(void 0);return(0,s.useEffect)(()=>()=>clearTimeout(r.current),[]),{outcome:e,show:e=>{t(e),clearTimeout(r.current),r.current=setTimeout(()=>t(null),2e3)}}},h=({className:e,onClick:r,...a})=>(0,t.jsx)("button",{type:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),r?.(e)},className:(0,l.cn)("relative flex items-center gap-1.5 rounded-lg px-2 py-1 text-xs/4 font-medium","bg-gray-50 dark:bg-gray-900 text-gray-500 dark:text-gray-400","hover:bg-gray-100 dark:hover:bg-gray-800 hover:text-gray-700 dark:hover:text-gray-300","transition-colors duration-100","border border-gray-200 dark:border-gray-800 hover:border-gray-300 dark:hover:border-gray-700","[&>svg]:size-3 [&>svg]:shrink-0","after:absolute after:-inset-x-0.75 after:-inset-y-2","focus-visible:outline-2 focus-visible:outline-offset-0 focus-visible:outline-primary dark:focus-visible:outline-primary-light",e),...a}),m=({src:e})=>{let o=(0,r.useSelectedLocale)(),{outcome:l,show:s}=p();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(h,{"data-component-part":"media-actions-copy-button",onClick:()=>{(0,a.copyImageToClipboard)(e).then(e=>s(e?"done":"failed"))},children:["done"===l?(0,t.jsx)(n.Check2Icon,{strokeWidth:2,"aria-hidden":"true"}):(0,t.jsx)(i.DuplicateIcon,{strokeWidth:2,"aria-hidden":"true"}),"failed"===l?o.copyFailed:o["tooltip.copy"]]}),(0,t.jsx)("span",{role:"status",className:"sr-only",children:"done"===l?o.copied:"failed"===l?o.copyFailed:""})]})},g=({src:e})=>{let i=(0,r.useSelectedLocale)(),{outcome:l,show:s}=p();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(h,{"data-component-part":"media-actions-download-button",onClick:()=>{(0,a.downloadMedia)(e).then(e=>{e&&s("done")})},children:["done"===l?(0,t.jsx)(n.Check2Icon,{strokeWidth:2,"aria-hidden":"true"}):(0,t.jsx)(o,{strokeWidth:2,"aria-hidden":"true"}),i["tooltip.download"]]}),(0,t.jsx)("span",{role:"status",className:"sr-only",children:"done"===l?i["aria.fileDownloaded"]:""})]})},f=({src:e,actions:r,children:a,placement:n="bottom-center",style:o})=>(0,t.jsxs)("span",{"data-component-name":"media-actions",style:o,className:(0,l.cn)("group/media relative block w-fit overflow-hidden rounded leading-none","bg-gray-50 dark:bg-gray-900","ring-1 ring-gray-900/10 dark:ring-gray-50/10","[&_img]:my-0 [&_img]:rounded-none"),children:[a,(0,t.jsxs)("span",{"data-component-part":"media-actions-buttons",className:(0,l.cn)("absolute z-10 flex items-center gap-1.5 print:hidden","pointer-events-none opacity-0 transition-opacity","group-hover/media:pointer-events-auto group-hover/media:opacity-100","has-focus-visible:pointer-events-auto has-focus-visible:opacity-100","pointer-coarse:pointer-events-auto pointer-coarse:opacity-100","bottom-center"===n&&"bottom-2 left-1/2 -translate-x-1/2","bottom-right"===n&&"bottom-2 right-2","bottom-left"===n&&"bottom-2 left-2","top-center"===n&&"top-2 left-1/2 -translate-x-1/2","top-right"===n&&"top-2 right-2","top-left"===n&&"top-2 left-2"),children:[r.includes("copy")&&(0,t.jsx)(m,{src:e}),r.includes("download")&&(0,t.jsx)(g,{src:e})]})]})},403781,(e,t,r)=>{"use strict";r.Fragment=Symbol.for("react.fragment"),r.jsxDEV=void 0},921694,(e,t,r)=>{"use strict";t.exports=e.r(403781)},917180,184472,15878,e=>{"use strict";e.s(["MdxContent",()=>rF],917180);var t=e.i(843476);e.s(["default",()=>rj],184472);var r=e.i(638702),a=e.i(167808),n=e.i(393789),o=e.i(579694),i=e.i(464991),l=e.i(792616),s=e.i(177986),c=e.i(891376),d=e.i(35884),u=e.i(231116),p=e.i(267823),h=e.i(602875),m=e.i(287071),g=e.i(437953),f=e.i(896438),b=e.i(688527),x=e.i(179958),y=e.i(973469),v=e.i(52693),w=e.i(709910),k=e.i(53339),C=e.i(91557),j=e.i(590280),N=e.i(343534),M=e.i(271645),_=new Set(["style"]),S={srcset:"srcSet",fetchpriority:"use"in M?"fetchPriority":"fetchpriority"};function E(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e.startsWith("data-")||e.startsWith("aria-")?e:S[e]||e.replace(/-./g,e=>e[1].toUpperCase()),_.has(e)&&t&&"string"!=typeof t?E(t):t]))}var $=(e,t)=>{if(e&&t)switch(t){case"constrained":return`(min-width: ${e}px) ${e}px, 100vw`;case"fixed":return`${e}px`;case"fullWidth":return"100vw";default:return}},T=e=>e||0===e?`${e}px`:void 0,I=[6016,5120,4480,3840,3200,2560,2048,1920,1668,1280,1080,960,828,750,640],P=e=>{let{src:t,transformer:r,operations:a}=e;return r?(({src:e,width:t,layout:r="constrained",height:a,aspectRatio:n,breakpoints:o,format:i})=>(o||=(({width:e,layout:t,resolutions:r=I})=>{if("fullWidth"===t)return r;if(!e)return[];let a=2*e;
1return"fixed"===t?[e,a]:"constrained"===t?[e,a,...r.filter(e=>e<a)]:[]})({width:t,layout:r})).sort((e,t)=>e-t).map(t=>{let r;return a&&n&&(r=Math.round(t/n)),{url:e,width:t,height:r,format:i}}))(e).map(({url:n,...o})=>{let i=r(t,{...a,...o},e.options);return`${i?.toString()} ${o.width}w`}).join(",\n"):""};function A({width:e,height:t,priority:r,layout:a="constrained",aspectRatio:n,...o}){return e=e&&Number(e)||void 0,t=t&&Number(t)||void 0,r?(o.loading||="eager",o.fetchpriority||="high"):(o.loading||="lazy",o.decoding||="async"),""===o.alt&&(o.role||="presentation"),n?e?t||(t=Math.round(e/n)):t&&(e=Math.round(t*n)):e&&t&&(n=e/t),{width:e,height:t,aspectRatio:n,layout:a,...o}}function L(e){if(!e)return e;let t=Number(e);return isNaN(t)?e:Math.round(t)}let z=e=>"n"===e.hostname?(e=>{let{pathname:t,search:r}=e;return`${t}${r}`})(e):e.toString(),R=(e,t)=>"string"==typeof e?new URL(e,t??"http://n/"):e,O=e=>" "===e?"+":"%"+e.charCodeAt(0).toString(16).toUpperCase().padStart(2,"0"),H=e=>e?.startsWith("/")?e.slice(1):e,D=e=>e?.endsWith("/")?e.slice(0,-1):e;function U(e){let t=R(e),r=Object.fromEntries(t.searchParams.entries());for(let e in["width","height","quality"]){let t=r[e];if(t){let a=Number(t);isNaN(a)||(r[e]=a)}}return t.search="",{operations:r,src:z(t)}}function F({keyMap:e={},formatMap:t={},defaults:r={}},a){for(let r in a.format&&a.format in t&&(a.format=t[a.format]),a.width&&(a.width=L(a.width)),a.height&&(a.height=L(a.height)),e)if(Object.prototype.hasOwnProperty.call(e,r)){if(!1===e[r]){delete a[r];continue}e[r]&&a[r]&&(a[e[r]]=a[r],delete a[r])}for(let t in r){if(!Object.prototype.hasOwnProperty.call(r,t))continue;let n=r[t];if(!a[t]&&void 0!==n){if(!1===e[t])continue;let r=e[t]??t;if(r in a)continue;a[r]=n}}return a}let q=e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[t,e])),G=e=>Object.fromEntries(R(e).searchParams.entries());function W({kvSeparator:e="=",paramSeparator:t="&",...r}={}){let a=((e,t)=>{let r=O(e),a=O(t);function n(n){return encodeURIComponent(n).replaceAll(e,r).replaceAll(t,a)}function o(t,r){return`${n(t)}${e}${n(String(r))}`}return e=>(Array.isArray(e)?e:Object.entries(e)).flatMap(([e,t])=>null==t?[]:Array.isArray(t)?t.map(t=>o(e,t)):o(e,t)).join(t)})(e,t);return e=>a(F(r,e))}function V(e){return{operationsGenerator:W(e),operationsParser:function({kvSeparator:e="=",paramSeparator:t="&",defaults:r,...a}={}){let n="="===e&&"&"===t?G:r=>Object.fromEntries(r.toString().split(t).map(t=>{let[r,a]=t.split(e);return[decodeURI(r),decodeURI(a)]}));return e=>(function({keyMap:e={},formatMap:t={},defaults:r={}},a){let n=F({keyMap:q(e),formatMap:q(t),defaults:r},a);n.width&&(n.width=L(n.width)),n.height&&(n.height=L(n.height));let o=Number(n.quality);return isNaN(o)||(n.quality=o),n})(a,e?n(e):{})}(e)}}function B(e){if(null!=e)try{return!!JSON.parse(e?.toString())}catch{return!!e}}function Z(e,t){return(r,a,n)=>{let o=e(r,n);return o?t(o.src,{...o.operations,...Object.fromEntries(Object.entries(a).filter(([,e])=>void 0!==e))},{...o.options,...n}):t(r,a,n)}}let X=new Map(Object.entries({"images.ctfassets.net":"contentful","cdn.builder.io":"builder.io","images.prismic.io":"imgix","www.datocms-assets.com":"imgix","cdn.sanity.io":"imgix","images.unsplash.com":"imgix","cdn.shopify.com":"shopify","s7d1.scene7.com":"scene7","ip.keycdn.com":"keycdn","assets.caisy.io":"bunny","images.contentstack.io":"contentstack","ucarecdn.com":"uploadcare","imagedelivery.net":"cloudflare_images","wsrv.nl":"wsrv"})),K=Object.entries({"imgix.net":"imgix","wp.com":"wordpress","files.wordpress.com":"wordpress","b-cdn.net":"bunny","storyblok.com":"storyblok","kc-usercontent.com":"kontent.ai","cloudinary.com":"cloudinary","kxcdn.com":"keycdn","imgeng.in":"imageengine","imagekit.io":"imagekit","cloudimg.io":"cloudimage","ucarecdn.com":"uploadcare","supabase.co":"supabase","graphassets.com":"hygraph"}),J=Object.entries({"/cdn-cgi/image/":"cloudflare","/cdn-cgi/imagedelivery/":"cloudflare_images","/_next/image":"nextjs","/_vercel/image":"vercel","/is/image":"scene7","/_ipx/":"ipx","/_image":"astro","/.netlify/images":"netlify","/storage/v1/object/public/":"supabase","/storage/v1/render/image/public/":"supabase","/v1/storage/buckets/":"appwrite"});function Y(e){return function(e){if("string"==typeof e&&!e.startsWith("https://"))return!1;let{hostname:t}=R(e),r=X.get(t);return r||K.find(([e])=>t.endsWith(e))?.[1]||!1}(e)||Q(e)}function Q(e){let{pathname:t}=R(e);return J.find(([e])=>t.startsWith(e))?.[1]||!1}let{operationsGenerator:ee,operationsParser:et}=V({keyMap:{format:"output"},kvSeparator:"=",paramSeparator:"&"}),er=Z(e=>{if("appwrite"!==Q(e))return null;let t=R(e),r=et(t);delete r.project;let a=t.searchParams.get("project")??"";return t.search="",t.searchParams.append("project",a),{src:t.href,operations:r}},(e,t)=>{let r=R(e.toString().replace("/view?","/preview?")),a=r.searchParams.get("project")??"";return r.search=ee(t),r.searchParams.append("project",a),z(r)}),ea="/_image",{operationsParser:en,operationsGenerator:eo}=V({keyMap:{format:"f",width:"w",height:"h",quality:"q"},defaults:{fit:"cover"}}),ei=(e,t,r)=>{let a=R(`${D(r?.baseUrl??"")}${r?.endpoint??ea}`);return a.search=eo(t),a.searchParams.set("href",e.toString()),z(a)},el=W({defaults:{fit:"cover",format:"webp",sharp:!0}}),es=Z(U,(e,t)=>{let r=el(t),a=R(e);return a.search=r,z(a)}),ec=W({keyMap:{format:"output"}}),ed=Z(U,(e,t)=>{let r=ec(t),a=R(e);return a.search=r,z(a)}),{operationsGenerator:eu,operationsParser:ep}=V({keyMap:{format:"f"},defaults:{format:"auto",fit:"cover"},formatMap:{jpg:"jpeg"},kvSeparator:"=",paramSeparator:","}),eh=Z((e,t)=>{if("cloudflare"!==Q(e))return null;let r=R(e),[,,,a,...n]=r.pathname.split("/"),o=ep(a);return{src:z(R(n.join("/"))),operations:o,options:{domain:t?.domain??("n"===r.hostname?void 0:r.hostname)}}},(e,t,r)=>{let a=eu(t),n=R(r?.domain?`https://${r.domain}`:"/");return n.pathname=`/cdn-cgi/image/${a}/${H(e.toString())}`,z(n)}),em=/https?:\/\/(?<host>[^\/]+)\/cdn-cgi\/imagedelivery\/(?<accountHash>[^\/]+)\/(?<imageId>[^\/]+)\/*(?<transformations>[^\/]+)*$/g,eg=/https?:\/\/(?<host>imagedelivery.net)\/(?<accountHash>[^\/]+)\/(?<imageId>[^\/]+)\/*(?<transformations>[^\/]+)*$/g,{operationsGenerator:ef,operationsParser:eb}=V({keyMap:{width:"w",height:"h",format:"f"},defaults:{fit:"cover"},kvSeparator:"=",paramSeparator:","});function ex(e,t){let{host:r,accountHash:a,imageId:n}=e;if(!r||!a||!n)throw Error("Missing required Cloudflare Images options");
1return["https:/",..."imagedelivery.net"===r?[r]:[r,"cdn-cgi","imagedelivery"],a,n,t].filter(Boolean).join("/")}let{operationsGenerator:ey,operationsParser:ev}=V({keyMap:{format:"force_format",width:"w",height:"h",quality:"q"},defaults:{org_if_sml:1}}),ew=Z((e,t={})=>{let r=R(e);if("cloudimage"!==Y(r))return null;let a=ev(r),n=r.pathname;return a.ci_url_encoded&&(n=decodeURIComponent(n),delete a.ci_url_encoded),t.token??=r.hostname.replace(".cloudimg.io",""),{src:`${r.protocol}/${n}`,operations:a,options:t}},(e,t={},{token:r}={})=>{if(!r)throw Error("Token is required for Cloudimage URLs"+e);let a=e.toString();(a=a.replace(/^https?:\/\//,"")).includes("?")&&(t.ci_url_encoded=1,a=encodeURIComponent(a));let n=ey(t),o=new URL(`https://${r}.cloudimg.io/`);return o.pathname=a,o.search=n,o.toString()}),ek=/https?:\/\/(?<host>res\.cloudinary\.com)\/(?<cloudName>[a-zA-Z0-9-]+)\/(?<assetType>image|video|raw)\/(?<deliveryType>upload|fetch|private|authenticated|sprite|facebook|twitter|youtube|vimeo)\/?(?<signature>s\-\-[a-zA-Z0-9]+\-\-)?\/?(?<transformations>(?:[^_\/]+_[^,\/]+,?)*)?\/(?:(?<version>v\d+)\/)?(?<id>(?:[^\s\/]+\/)*[^\s\/]+(?:\.[a-zA-Z0-9]+)?)$/,eC=/https?:\/\/(?<host>(?<cloudName>[a-zA-Z0-9-]+)-res\.cloudinary\.com|[a-zA-Z0-9.-]+)\/(?<assetType>image|video|raw)\/(?<deliveryType>upload|fetch|private|authenticated|sprite|facebook|twitter|youtube|vimeo)\/?(?<signature>s\-\-[a-zA-Z0-9]+\-\-)?\/?(?<transformations>(?:[^_\/]+_[^,\/]+,?)*)?\/(?:(?<version>v\d+)\/)?(?<id>(?:[^\s\/]+\/)*[^\s\/]+(?:\.[a-zA-Z0-9]+)?)$/,{operationsGenerator:ej,operationsParser:eN}=V({keyMap:{width:"w",height:"h",format:"f",quality:"q"},defaults:{format:"auto",c:"lfill"},kvSeparator:"_",paramSeparator:","}),eM=W({keyMap:{format:"fm",width:"w",height:"h",quality:"q"},defaults:{fit:"fill"}}),e_=Z(U,(e,t)=>{let r=eM(t),a=new URL(e);return a.search=r,z(a)}),eS=W({defaults:{auto:"webp",disable:"upscale"}}),eE=Z(e=>{let{src:t,operations:r}=U(e)??{};if(!r||!t)return null;let{origin:a}=R(e);return{src:t,operations:r,options:{baseURL:a}}},(e,t,{baseURL:r="https://images.contentstack.io/"}={})=>{t.width&&t.height&&(t.fit??="crop");let a=eS(t),n=R(e);return"n"===n.hostname&&(n.protocol="https:",n.hostname=new URL(r).hostname),n.search=a,z(n)}),e$=W({defaults:{withoutEnlargement:!0,fit:"cover"}}),eT=Z(e=>{let t=U(e);if(t?.operations?.transforms&&"string"==typeof t.operations.transforms)try{t.operations.transforms=JSON.parse(t.operations.transforms)}catch{return null}return t},(e,t)=>{Array.isArray(t.transforms)&&(t.transforms=JSON.stringify(t.transforms));let r=e$(t),a=R(e);return a.search=r,z(a)}),eI=/https:\/\/(?<region>[a-z0-9-]+)\.graphassets\.com\/(?<envId>[a-zA-Z0-9]+)(?:\/(?<transformations>.*?))?\/(?<handle>[a-zA-Z0-9]+)$/,{operationsGenerator:eP,operationsParser:eA}=V({keyMap:{width:"width",height:"height",format:"format"},defaults:{format:"auto",fit:"crop"}}),eL=e=>{let t=R(e).toString().match(eI);if(!t?.groups)return null;let{region:r,envId:a,handle:n,transformations:o}=t.groups,i={};return o&&o.split("/").forEach(e=>{let[t,r]=e.split("=");"resize"===t&&r?r.split(",").forEach(e=>{let[t,r]=e.split(":");"width"===t||"height"===t?i[t]=Number(r):"fit"===t&&(i.fit=r)}):"output"===t&&r?r.split(",").forEach(e=>{let[t,r]=e.split(":");"format"===t&&(i.format=r)}):"auto_image"===t&&(i.format="auto")}),{src:`https://${r}.graphassets.com/${a}/${n}`,operations:i,options:{region:r,envId:a,handle:n}}},ez=Z(eL,(e,t,r={})=>{let a=eL(e);if(!a)throw Error("Invalid Hygraph URL");let{region:n,envId:o,handle:i}={...a.options,...r},l=[];if(t.width||t.height){let e=[];t.width&&t.height?e.push("fit:crop"):t.fit&&e.push(`fit:${t.fit}`),t.width&&e.push(`width:${t.width}`),t.height&&e.push(`height:${t.height}`),e.length&&l.push(`resize=${e.join(",")}`)}"auto"!==t.format&&(t.format||a.operations.format)?t.format&&l.push(`output=format:${t.format}`):l.push("auto_image");let s=`https://${n}.graphassets.com/${o}`,c=l.length>0?"/"+l.join("/"):"";return z(R(`${s}${c}/${i}`))}),{operationsGenerator:eR,operationsParser:eO}=V({keyMap:{width:"w",height:"h",format:"f"},defaults:{m:"cropbox"},kvSeparator:"_",paramSeparator:"/"}
1),eH=Z(e=>{let t=R(e),r=t.searchParams.get("imgeng");if(!r)return null;let a=eO(r);return t.searchParams.delete("imgeng"),{src:z(t),operations:a}},(e,t)=>{let r=eR(t),a=R(e);return a.searchParams.set("imgeng",r),z(a)}),{operationsGenerator:eD,operationsParser:eU}=V({keyMap:{width:"w",height:"h",format:"f",quality:"q"},defaults:{c:"maintain_ratio",fo:"auto"},kvSeparator:"-",paramSeparator:","}),eF=Z(e=>{let t=R(e),r=null,a=t.pathname;if(t.searchParams.has("tr"))r=t.searchParams.get("tr"),t.searchParams.delete("tr");else{let e=t.pathname.split("/"),n=e.findIndex(e=>e.startsWith("tr:"));-1!==n&&(r=e[n].slice(3),a=e.slice(0,n).concat(e.slice(n+1)).join("/"))}if(!r)return null;t.pathname=a;let n=eU(r);return{src:z(t),operations:n}},(e,t)=>{let r=eD(t),a=R(e);return a.searchParams.set("tr",r),z(a)}),{operationsGenerator:eq,operationsParser:eG}=V({keyMap:{format:"fm",width:"w",height:"h",quality:"q"},defaults:{fit:"min",auto:"format"}}),eW=Z(e=>{let t=R(e),r=eG(e);return t.search="",{src:z(t),operations:r}},(e,t)=>{let r=eq(t),a=R(e);return a.search=r,a.searchParams.has("fm")&&"format"===a.searchParams.get("auto")&&a.searchParams.delete("auto"),z(a)}),{operationsGenerator:eV,operationsParser:eB}=V({keyMap:{width:"w",height:"h",quality:"q",format:"f"},defaults:{f:"auto"},kvSeparator:"_",paramSeparator:","}),eZ=(e,t,r)=>{t.width&&t.height&&(t.s=`${t.width}x${t.height}`,delete t.width,delete t.height);let a=eV(t),n=R(r?.baseURL??"/_ipx");return n.pathname=`${D(n.pathname)}/${a}/${H(e.toString())}`,z(n)},eX=["enlarge","flip","flop","negate","normalize","grayscale","removealpha","olrepeat","progressive","adaptive","lossless","nearlossless","metadata"],{operationsGenerator:eK,operationsParser:eJ}=V({defaults:{fit:"cover"},formatMap:{jpg:"jpeg"}}),eY=Z(e=>{let t=R(e),r=eJ(t);for(let e of eX)void 0!==r[e]&&(r[e]=B(r[e]));return t.search="",{src:z(t),operations:r}},(e,t)=>{let r=R(e);for(let e of eX)void 0!==t[e]&&(t[e]=+!!t[e]);return r.search=eK(t),z(r)}),{operationsGenerator:eQ,operationsParser:e0}=V({formatMap:{jpg:"jpeg"},keyMap:{format:"fm",width:"w",height:"h",quality:"q"}}),e1=Z(e=>{let t=R(e),r=e0(t);return void 0!==r.lossless&&(r.lossless=B(r.lossless)),t.search="",{src:z(t),operations:r}},(e,t)=>{let r=R(e);return void 0!==t.lossless&&(t.lossless=+!!t.lossless),t.width&&t.height&&(t.fit="crop"),r.search=eQ(t),z(r)}),{operationsGenerator:e5,operationsParser:e2}=V({defaults:{fit:"cover"},keyMap:{format:"fm",width:"w",height:"h",quality:"q"}}),e3=Z(e=>{if("netlify"!==Q(e))return null;let t=R(e),r=e2(t);delete r.url;let a=t.searchParams.get("url")||"";return t.search="",{src:a,operations:r,options:{baseUrl:"n"===t.hostname?void 0:t.origin}}},(e,t,r={})=>{let a=R(`${r.baseUrl||""}/.netlify/images`);return a.search=e5(t),a.searchParams.set("url",e.toString()),z(a)}),{operationsGenerator:e4,operationsParser:e6}=V({keyMap:{width:"w",quality:"q",height:!1,format:!1},defaults:{q:75}}),e7=(e,t,r={})=>{let a=R(`${r.baseUrl||""}/${r.prefix||"_vercel"}/image`);return a.search=e4(t),a.searchParams.append("url",e.toString()),z(a)},e8=(e,t={})=>{if(!["vercel","nextjs"].includes(Q(e)||""))return null;let r=R(e),a=r.searchParams.get("url")||"";r.searchParams.delete("url");let n=e6(r);return r.search="",{src:a,operations:n,options:{baseUrl:t.baseUrl??r.origin}}},e9=Z(e8,e7),te=Z((e,t)=>e8(e,t),(e,t,r={})=>e7(e,t,{...r,prefix:"_next"})),{operationsGenerator:tt,operationsParser:tr}=V({keyMap:{width:"wid",height:"hei",quality:"qlt",format:"fmt"},defaults:{fit:"crop,0"}}),ta="https://s7d1.scene7.com/is/image/",tn=Z(e=>{if("scene7"!==Y(e))return null;let t=new URL(e,ta),r=tr(t);return t.search="",{src:t.toString(),operations:r}},(e,t)=>{let r=new URL(e,ta);return r.search=tt(t),z(r)}),to=/(.+?)(?:_(?:(pico|icon|thumb|small|compact|medium|large|grande|original|master)|(\d*)x(\d*)))?(?:_crop_([a-z]+))?(\.[a-zA-Z]+)(\.png|\.jpg|\.webp|\.avif)?$/,{operationsGenerator:ti,operationsParser:tl}=V({keyMap:{format:!1}}),ts=Z(e=>{let t=R(e),r=to.exec(t.pathname),a=tl(t);if(r){let[,,,e,t,n]=r;e&&t&&!a.width&&!a.height&&(a.width=parseInt(e,10),a.height=parseInt(t,10)),n&&(a.crop??=n)}let n=t.pathname.replace(to,"$1$6");for(let e of(t.pathname=n,["width","height","crop","pad_color","format"]))t.searchParams.delete(e);return{src:t.toString(),operations:a}},(e,t)=>{let r=R(e),a=r.pathname.replace(to,"$1$6");return r.pathname=a,r.search=ti(t),z(r)}),tc=/(?<id>\/f\/\d+\/\d+x\d+\/\w+\/[^\/]+)\/?(?<modifiers>m\/?(?<crop>\d+x\d+:\d+x\d+)?\/?(?<resize>(?<flipx>\-)?(?<width>\d+)x(?<flipy>\-)?(?<height>\d+))?\/?(filters\:(?<filters>[^\/]+))?)?$/,td=/^(?<modifiers>\/(?<crop>\d+x\d+:\d+x\d+)?\/?(?<resize>(?<flipx>\-)?(?<width>\d+)x(?<flipy>\-)?(?<height>\d+))?\/?(filters\:(?<filters>[^\/]+))?\/?)?(?<id>\/f\/.+)$/,tu=/:(?![^(]*\))/,tp=Z(e=>{let t=R(e),r=("img2.storyblok.com"===t.hostname?td:tc).exec(t.pathname);if(!r||!r.groups)return null;let{id:a,crop:n,width:o,height:i,filters:l,flipx:s,flipy:c}=r.groups,{format:d,...u}=(e=>e?Object.fromEntries(e.split(tu).map(e=>{if(!e)return[];let[t,r]=e.split("(");return[t,r.replace(")","")]})):{})(l??"");"img2.storyblok.com"===t.hostname&&(t.hostname="a.storyblok.com");let p=Object.fromEntries([["width",Number(o)||void 0],["height",Number(i)||void 0],["format",d],["crop",n],["filters",u],["flipx",s],["flipy",c]].filter(([e,t])=>void 0!==t));return{src:`${t.origin}${a}`,operations:p}},(e,t)=>{let r=R(e),{width:a=0,height:n=0,format:o,crop:i,filters:l={},flipx:s="",flipy:c=""}=t,d=`${s}${a}x${c}${n}`;o&&(l.format=o);let u=[r.pathname,"m",i,d,(e=>{if(!e)return;let t=Object.entries(e).map(([e,t])=>`${e}(${t??""})`);if(0!==t.length)return`filters:${t.join(":")}`}
1)(l)].filter(Boolean);return r.pathname=u.join("/"),z(r)}),th="/storage/v1/object/public/",tm="/storage/v1/render/image/public/",{operationsGenerator:tg,operationsParser:tf}=V({}),tb=Z(e=>{let t=R(e),r=tf(t),a=t.pathname.startsWith(tm),n=t.pathname.replace(tm,"").replace(th,"");return a?{src:`${t.origin}${th}${n}`,operations:r}:{src:z(t),operations:r}},(e,t)=>{let r=R(e),a=r.pathname.replace(tm,th);return r.pathname=a,t.format&&"origin"!==t.format&&delete t.format,r.search=tg(t),z(r).replace(th,tm)}),tx=/^https?:\/\/(?<host>[^\/]+)\/(?<uuid>[^\/]+)(?:\/(?<filename>[^\/]+)?)?/,{operationsGenerator:ty,operationsParser:tv}=V({keyMap:{width:!1,height:!1},defaults:{format:"auto"},kvSeparator:"/",paramSeparator:"/-/"}),tw=Z(e=>{let t=R(e),r=tx.exec(t.toString());if(!r||!r.groups)return null;let{host:a,uuid:n}=r.groups,[,...o]=t.pathname.split("/-/"),i=tv(o.join("/-/")||"");if(i.resize){let[e,t]=i.resize.split("x");e&&(i.width=parseInt(e)),t&&(i.height=parseInt(t)),delete i.resize}return{src:`https://${a}/${n}/`,operations:i,options:{host:a}}},(e,t,r={})=>{let a=R(e),n=r.host||a.hostname,o=tx.exec(a.toString());o?.groups&&(a.pathname=`/${o.groups.uuid}/`),t.resize=t.resize||`${t.width??""}x${t.height??""}`,delete t.width,delete t.height;let i=(e=>e?.endsWith("/")?e:`${e}/`)(ty(t));return a.hostname=n,a.pathname=D(a.pathname)+(i?`/-/${i}`:"")+(o?.groups?.filename??""),z(a)}),{operationsGenerator:tk,operationsParser:tC}=V({keyMap:{width:"w",height:"h"},defaults:{crop:"1"}}),tj=Z(e=>{let t=R(e),r=tC(t);return void 0!==r.crop&&(r.crop="1"===r.crop),t.search="",{src:z(t),operations:r}},(e,t)=>{let r=R(e),{crop:a}=t;return void 0!==a&&"0"!==a&&(t.crop=a?"1":"0"),r.search=tk(t),z(r)}),{operationsGenerator:tN,operationsParser:tM}=V({keyMap:{width:"w",height:"h",format:"output",quality:"q"},defaults:{fit:"cover"}}),t_={appwrite:er,astro:(e,t,r={})=>{if(R(e).pathname!==(r?.endpoint??ea))return ei(e,t,r);let a=(e=>{let t=R(e),r=t.searchParams.get("href");return r?(t.searchParams.delete("href"),{src:r,operations:en(t),options:{baseUrl:t.origin}}):null})(e);return a?(r.baseUrl??=a.options.baseUrl,ei(a.src,{...a.operations,...t},r)):ei(e,t,r)},"builder.io":es,bunny:(e,t)=>{let{width:r,height:a}=t;return r&&a&&(t.aspect_ratio??=`${Math.round(Number(r))}:${Math.round(Number(a))}`),ed(e,t)},cloudflare:eh,cloudflare_images:(e,t,r={})=>{let a=(e=>{let t=R(e),r=[...t.toString().matchAll(em),...t.toString().matchAll(eg)];if(!r[0]?.groups)return null;let{host:a,accountHash:n,imageId:o,transformations:i}=r[0].groups,l=eb(i||""),s={host:a,accountHash:n,imageId:o};return{src:ex(s),operations:l,options:s}})(e);if(!a)throw Error("Invalid Cloudflare Images URL");let n={...a.operations,...t};return((e,t,r={})=>z(R(ex(r,ef(t)))))(a.src,n,{...a.options,...r})},cloudimage:ew,cloudinary:(e,t)=>{let r=function(e){let t=e.toString().match(ek);return(t?.length||(t=e.toString().match(eC)),t?.length)?t.groups||{}:null}(e.toString());if(!r)return e.toString();let a=eN(r.transformations||"");return r.transformations=ej({...a,...t}),function({host:e,cloudName:t,assetType:r,deliveryType:a,signature:n,transformations:o,version:i,id:l}){let s="res.cloudinary.com"===e;return["https:/",e,s?t:void 0,r,a,n,o,i,l].filter(Boolean).join("/")}(r)},contentful:(e,t)=>{let{width:r,height:a}=function(e,t=4e3,r=4e3){let{width:a,height:n}=e;return a=Number(a)||void 0,n=Number(n)||void 0,a&&a>t&&(n&&(n=Math.round(n*t/a)),a=t),n&&n>r&&(a&&(a=Math.round(a*r/n)),n=r),{width:a,height:n}}(t,4e3,4e3);return e_(e,{...t,width:r,height:a})},contentstack:eE,directus:eT,hygraph:ez,imageengine:eH,imagekit:eF,imgix:eW,ipx:(e,t,r)=>{let a=R(e),n=r?.baseURL;if(n&&a.toString().startsWith(n)||a.pathname.startsWith("/_ipx")){let r=(e=>{let t=R(e),[,r,a,...n]=t.pathname.split("/");if(!a||!n.length)return null;let o=eB(a);if(o.s){let[e,t]=o.s.split("x").map(Number);o.width=e,o.height=t,delete o.s}return{src:"/"+n.join("/"),operations:o,options:{baseURL:`${t.origin}/${r}`}}})(e);if(r)return eZ(r.src,{...r.operations,...t},{baseURL:r.options.baseURL})}return eZ(e,t,{baseURL:n})},keycdn:eY,"kontent.ai":e1,netlify:e3,nextjs:te,scene7:tn,shopify:ts,storyblok:tp,supabase:tb,uploadcare:tw,vercel:e9,wordpress:tj,wsrv:Z(e=>{let t=R(e),r=t.searchParams.get("url");
1if(!r)return null;let a=r;return a.startsWith("http://")||a.startsWith("https://")||(a="https://"+a),t.searchParams.delete("url"),{src:a,operations:tM(t)}},(e,t)=>{let r=new URL("https://wsrv.nl/"),a=("string"==typeof e?e:e.toString()).replace(/^https?:\/\//,"");for(let[e,n]of(r.searchParams.set("url",a),new URLSearchParams(tN(t))))"url"!==e&&r.searchParams.set(e,n);return z(r)})};function tS(e){if(e)return t_[e]}var tE=M.forwardRef(function(e,r){let a=E(function({cdn:e,fallback:t,operations:r={},options:a,...n}){if(!(e??=Y(n.src)||t))return n;let o=tS(e);return o?function(e){let{src:t,transformer:r,background:a,layout:n,objectFit:o,breakpoints:i,width:l,height:s,aspectRatio:c,unstyled:d,operations:u,options:p,...h}=A(e);if(r&&"auto"===a){let e=r(t,{width:24,height:c?Math.round(24/c):void 0},p);e&&(a=e.toString())}let m={width:l,height:s,aspectRatio:c,layout:n,objectFit:o,background:a};if(h.sizes||=$(l,n),d||(h.style={...(({width:e,height:t,aspectRatio:r,layout:a,objectFit:n="cover",background:o})=>{let i=[["object-fit",n]];return o?.startsWith("https:")||o?.startsWith("http:")||o?.startsWith("data:")||o?.startsWith("/")?(i.push(["background-image",`url(${o})`]),i.push(["background-size","cover"]),i.push(["background-repeat","no-repeat"])):i.push(["background",o]),"fixed"===a&&(i.push(["width",T(e)]),i.push(["height",T(t)])),"constrained"===a&&(i.push(["max-width",T(e)]),i.push(["max-height",T(t)]),i.push(["aspect-ratio",r?`${r}`:void 0]),i.push(["width","100%"])),"fullWidth"===a&&(i.push(["width","100%"]),i.push(["aspect-ratio",r?`${r}`:void 0]),i.push(["height",T(t)])),Object.fromEntries(i.filter(([,e])=>e))})(m),...h.style}),r){h.srcset=P({src:t,width:l,height:s,aspectRatio:c,layout:n,breakpoints:i,transformer:r,operations:u,options:p});let e=r(t,{...u,width:l,height:s},p);e&&(t=e),("fullWidth"===n||"constrained"===n)&&(l=void 0,s=void 0)}return{...h,src:t?.toString(),width:l,height:s}}({...n,operations:r?.[e],options:a?.[e],transformer:o}):n}(e));return(0,t.jsx)("img",{...a,ref:r})});M.forwardRef(function(e,r){let a=E(function({cdn:e,fallback:t,operations:r,options:a,...n}){if(!(e??=Y(n.src)||t))return n;let o=tS(e);return o?function({media:e,type:t,...r}){let{src:a,transformer:n,layout:o,breakpoints:i,width:l,height:s,aspectRatio:c,sizes:d,loading:u,decoding:p,operations:h,options:m,...g}=A(r);if(!n)return{};let{format:f,mimeType:b}=t?t.startsWith("image/")?{format:t.slice(6),mimeType:t}:{format:t,mimeType:`image/${"jpg"===t?"jpeg":t}`}:{};d||=$(l,o);let x=P({src:a,width:l,height:s,aspectRatio:c,layout:o,breakpoints:i,transformer:n,format:f,operations:h,options:m}),y=n(a,{...h,width:l,height:s},m);y&&(a=y);let v={...g,sizes:d,srcset:x};return e&&(v.media=e),b&&(v.type=b),v}({...n,operations:r?.[e],options:a?.[e],transformer:o}):n}(e));return(0,t.jsx)("source",{...a,ref:r})});var t$=e.i(296548);function tT(e){return"number"==typeof e?{type:"pixel",value:e}:"string"==typeof e?e.endsWith("%")?{type:"percentage",value:e}:{type:"pixel",value:parseInt(e,10)}:void 0}function tI({src:e,alt:r,className:a,class:n,priority:o,noZoom:i=!1,actions:l,actionsPlacement:s,width:c,height:d,"data-optimize":u,"data-opv":p,"data-og-width":h,"data-og-height":m,style:g,srcset:f,...b}){let x=tT(c),y=tT(d),v=tT(h),_=tT(m),S=function(){let{docsConfig:e}=(0,M.useContext)(C.DocsConfigContext),{pageMetadata:t}=(0,M.useContext)(C.PageContext),r=e?.theme,{isCenter:a,isWide:n,isCustom:o,isFrame:i}=(0,N.getPageMode)(t);if(o)return"100vw";let l=(()=>{if(a)return 768;switch(r){case"aspen":if(i)return 1152;if(n)return 848;return 704;case"luma":if(i)return 1152;return 696;case"palm":case"willow":return n?1024:672;case"maple":return n?2500:672;case"almond":if(i||n)return 2500;return 576;case"sequoia":if(i)return 1152;if(n)return 896;return 600;default:return n?1152:1024}})();return`(max-width: ${a?768:1024}px) 100vw, ${l}px`}(),{isLivePreview:E,liveMedia:$}=(0,M.useContext)(j.LivePreviewContext),T=(0,M.useMemo)(()=>e&&"string"==typeof e?(0,j.resolveLivePreviewMediaSrc)({src:e,isLivePreview:E,liveMedia:$}):e,[e,E,$]),I=x?.type==="pixel"&&y?.type==="pixel"?`${x.value} / ${y.value}`:v?.type==="pixel"&&_?.type==="pixel"?`${v.value} / ${_.value}
1`:void 0,P=(0,w.parseMediaActions)(l),A=P.length>0&&!!T&&"string"==typeof T,L="string"==typeof g?.width&&g.width.endsWith("%")?g.width:void 0,z=A?x?.type==="percentage"?x.value:L:void 0,R=z&&x?.type==="percentage"?"100%":c,O=z?tT(R):x,H=z&&L?{...g,width:"100%"}:g,D=(0,t.jsx)(k.ZoomImage,{noZoom:i,zoomImg:{src:T,srcSet:"",width:v?.type==="pixel"?v.value:void 0,height:_?.type==="pixel"?_.value:void 0},children:T&&"string"==typeof T&&"true"===u&&(x||y)?(0,t.jsx)("picture",{className:"contents",children:(0,t.jsx)(tE,{...b,src:T,alt:r,className:(0,t$.cn)("object-contain",n,a),priority:!!o||void 0,...O?{width:O.value}:{},...y?{height:y.value}:{},decoding:"async",sizes:S,srcSet:f,"data-optimize":u,style:{...I?{aspectRatio:I}:{},...H}})}):(0,t.jsx)("img",{...b,src:T,alt:r,className:(0,t$.cn)(n,a),srcSet:f,style:H,width:R,height:d,"data-optimize":u})});return A&&"string"==typeof T?(0,t.jsx)(w.MediaActions,{src:T,actions:P,placement:s,style:z?{width:z}:void 0,children:D}):D}var tP=e.i(111048),tA=e.i(786475),tL=e.i(343590),tz=e.i(693619),tR=e.i(311005),tO=e.i(476781),tH=e.i(568258),tD=e.i(193726),tU=e.i(895849),tF=e.i(319129),tq=e.i(163061),tG=e.i(27815);let tW=["p","h2","h3","h4"],tV=({stepNumber:e=1,icon:r,iconType:a,title:n,children:o,titleSize:i="p",noAnchor:l=!1,isLast:s=!1,id:c,className:d})=>{let[u,p]=(0,tz.useMDXContent)(),h=(0,tL.useSelectedLocale)(),[m,g]=(0,M.useState)(null),[f,b]=(0,M.useState)(!1),[x]=(0,tG.useRect)(g),y=(0,tR.useTop)(m),v=tW.includes(i)?i:"p",w=["h2","h3"].includes(v),k=!!u,C=(0,tF.safeCleanHeadingId)(c??""),j=(0,M.useCallback)(()=>{!l&&C&&w&&((0,tD.copyToClipboard)(`${window.location.origin}${window.location.pathname}#${C}`),window.location.hash=C,(0,tU.scrollElementIntoView)({id:C}))},[C,l,w]);(0,M.useEffect)(()=>{if(k&&C&&void 0!==y&&!l&&w)return p({type:"register_heading",payload:{id:C,top:y}}),()=>{p({type:"unregister_heading",payload:C})}},[y,C,k,p,l,w]),(0,M.useEffect)(()=>{C&&!l&&w&&window.location.hash.substring(1)===C&&(0,tU.scrollElementIntoView)({id:C})},[]);let N=(0,M.useCallback)(e=>{w&&b(e)},[w]),_={onMouseEnter:()=>N(!0),onMouseLeave:()=>N(!1),onClick:j},S="string"==typeof r?(0,t.jsx)(tH.ComponentIcon,{icon:r,iconType:a,className:"size-3 bg-gray-900 dark:bg-gray-50",overrideColor:!0}):void 0===r?Number(e):r;return(0,t.jsxs)("div",{id:C||void 0,ref:x,role:"listitem",className:(0,t$.cn)(tO.Classes.Step,"group/step step-container relative flex items-start pb-5",d),children:[(0,t.jsx)("div",{"data-component-part":"step-line",className:(0,t$.cn)("absolute w-px h-[calc(100%-2.75rem)] top-11",s?"bg-transparent bg-linear-to-b from-gray-200 dark:from-white/10 via-80% to-transparent [.step-container:has([data-component-part=step-content]:empty)_&]:hidden":"bg-gray-200/70 dark:bg-white/10"),contentEditable:!1}),(0,t.jsx)("div",{className:"absolute ml-[-13px] py-2","data-component-part":"step-number",contentEditable:!1,children:(0,t.jsxs)("div",{"data-component-part":"step-indicator",className:"group/step-indicator relative size-7 shrink-0 rounded-full bg-gray-50 dark:bg-white/10 text-xs text-gray-900 dark:text-gray-50 font-semibold flex items-center justify-center",onMouseEnter:()=>N(!0),onMouseLeave:()=>N(!1),children:[(0,t.jsx)("div",{className:(0,t$.cn)("[[data-component-part=step-indicator]:has(a:focus-visible)_&]:opacity-0",f&&"opacity-0"),children:S}),!l&&!!C&&w&&(0,t.jsx)("div",{className:"absolute","data-component-part":"step-number-anchor-link",children:(0,t.jsx)("a",{href:`#${C}`,className:(0,t$.cn)("flex items-center opacity-0 border-0 focus-visible:opacity-100",f&&"opacity-100"),"aria-label":h["aria.navigateToHeader"],onClick:e=>{e.preventDefault(),j()},children:(0,t.jsx)("div",{className:"size-6 flex items-center justify-center",children:(0,t.jsx)(tq.LinkIcon,{"aria-hidden":"true",className:"size-3 shrink-0",strokeWidth:2})})})})]})}),(0,t.jsxs)("div",{className:"w-full overflow-hidden pl-8 pr-px",children:[!!n&&({p:(0,t.jsx)("p",{className:"mt-2 font-semibold prose dark:prose-invert text-gray-900 dark:text-gray-200",contentEditable:!1,"data-component-part":"step-title",..._,children:n}),h2:(0,t.jsx)("h2",{className:"mt-2 cursor-pointer",contentEditable:!1,"data-component-part":"step-title",..._,children:n}),h3:(0,t.jsx)("h3",{className:"mt-2 cursor-pointer",contentEditable:!1,"data-component-part":"step-title",..._,children:n}),h4:(0,t.jsx)("h4",{className:"mt-2",contentEditable:!1,"data-component-part":"step-title",..._,children:n})})[v],(0,t.jsx)("div",{"data-component-part":"step-content",className:(0,t$.cn)("prose dark:prose-invert",!n&&"mt-2"),children:o})]})]})},tB=e=>M.Children.toArray(e).flatMap(e=>(0,M.isValidElement)(e)&&e.type===M.Fragment?tB(e.props.children):[e]),tZ=e=>(0,M.isValidElement)(e)?"string"==typeof e.type?`<${e.type}>`:"A component child":`Text ("${String(e).trim().slice(0,40)}")`;var tX=e.i(379841);e.i(45082);var tK=e.i(25871),tJ=e.i(963899),tY=e.i(857866),tQ=e.i(995047);let t0=e=>{let t=`
2    <svg width="24" height="24" xmlns="http://www.w3.org/2000/svg">
3      <g opacity="0.5">
4        <line x1="12" y1="${7}" x2="12" y2="${17}" 
5              stroke="${e}" stroke-width="1" stroke-linecap="round"/>
6        <line x1="${7}" y1="12" x2="${17}" y2="12" 
7              stroke="${e}" stroke-width="1" stroke-linecap="round"/>
8      </g>
9    </svg>
10  `;return`data:image/svg+xml,${encodeURIComponent(t)}`},t1=t0("rgb(0 0 0 / 0.02)"),t5=t0("rgb(255 255 255 / 0.05)"),t2=(0,t$.cn)("bg-repeat-round bg-center [grid-area:1/1] size-full pointer-events-none select-none","bg-[size:24px_24px]","after:content-[''] after:left-0 after:absolute after:h-full after:w-[7px] dark:after:bg-gray-900 after:bg-gray-50","before:content-[''] before:right-0 before:absolute before:h-full before:w-[7px] dark:before:bg-gray-900 before:bg-gray-50");var t3=e.i(401819),t4=e.i(642425);let t6=(0,M.createContext)({level:1,parentId:null,highlighted:!1}),t7=()=>(0,M.useContext)(t6),t8=({children:e,level:r,parentId:a,highlighted:n=!1})=>{let o=(0,M.useMemo)(()=>({level:r,parentId:a,highlighted:n}),[r,a,n]);return(0,t.jsx)(t6.Provider,{value:o,children:e})},t9=e=>6+(e-1)*22,re=({name:e,highlight:r=!1,className:a})=>{let{level:n,highlighted:o}=t7();return(0,t.jsxs)("div",{role:"treeitem","aria-level":n,"aria-current":r?"true":void 0,tabIndex:-1,
10className:(0,t$.cn)("relative focus-visible:z-20 py-1 pr-1.5 -outline-offset-1 flex items-center gap-1.5 cursor-default font-medium",!r&&"pl-[calc(var(--padding-left)*1px)] text-gray-700 dark:text-gray-400",!r&&!o&&"hover:bg-neutral-100 dark:hover:bg-neutral-900 focus-visible:outline focus-visible:outline-2 focus-visible:-outline-offset-2 dark:focus-visible:outline-(--color-primary)!",!r&&o&&"isolate before:absolute before:inset-y-0 before:right-0 before:-z-10 before:left-[calc(var(--highlight-left)*1px)] hover:before:bg-(--tree-highlight-bg) dark:hover:before:bg-(--tree-highlight-bg)/50 focus-visible:outline-hidden focus-visible:before:outline focus-visible:before:outline-2 focus-visible:before:-outline-offset-2 focus-visible:before:outline-(--tree-highlight-accent)",r&&"z-20 group/row pl-[calc(var(--padding-left)*1px)] text-(--tree-highlight-text) focus-visible:outline-hidden forced-colors:outline forced-colors:outline-1 forced-colors:-outline-offset-1 forced-colors:outline-[Highlight]",tO.Classes.TreeFile,a),style:{"--padding-left":t9(n)},children:[r&&(0,t.jsx)("span",{"aria-hidden":"true",className:"select-none absolute inset-y-0 right-0 -z-10 bg-(--tree-highlight-bg) group-hover/row:bg-(--tree-highlight-bg-hover) left-[calc(max(0px,(var(--padding-left)-14)*1px))] group-focus-visible/row:outline group-focus-visible/row:outline-2 group-focus-visible/row:-outline-offset-2 group-focus-visible/row:outline-(--tree-highlight-accent) print:print-color-exact","data-component-part":"tree-file-highlight-bg"}),r&&(0,t.jsx)("span",{"aria-hidden":"true",className:"select-none absolute inset-y-0 w-px bg-(--tree-highlight-accent) left-[calc(max(0px,(var(--padding-left)-14)*1px))] z-20 print:print-color-exact","data-component-part":"tree-file-highlight-bar"}),(0,t.jsx)(t4.FileIcon,{className:"shrink-0 select-none size-4","aria-hidden":"true","data-component-part":"tree-file-icon"}),(0,t.jsx)("span",{className:"truncate text-sm leading-5 tracking-[-0.1px]","data-component-part":"tree-file-title",title:e,children:e})]})};var rt=e.i(930733);let rr=(0,rt.default)("Folder2Icon",[["path",{d:"M13.75 5.25C14.855 5.25 15.75 6.145 15.75 7.25V12.75C15.75 13.855 14.855 14.75 13.75 14.75H4.25C3.145 14.75 2.25 13.855 2.25 12.75V4.75C2.25 3.645 3.145 2.75 4.25 2.75H6.075C6.662 2.75 7.219 3.008 7.599 3.455L9.123 5.25H13.749H13.75Z",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}]],"outlined"),ra=(0,rt.default)("Folder2OpenIcon",[["path",{d:"M5 14.75H4.25C3.145 14.75 2.25 13.855 2.25 12.75V4.75C2.25 3.645 3.145 2.75 4.25 2.75H6.075C6.662 2.75 7.219 3.008 7.599 3.455L9.123 5.25H13.749C14.854 5.25 15.749 6.145 15.749 7.25V8.25",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}],["path",{d:"M16.148 13.27L16.991 10.14C17.248 9.187 16.53 8.25 15.543 8.25H6.15001C5.47201 8.25 4.87801 8.705 4.70201 9.36L3.76001 12.86C3.50301 13.813 4.22101 14.75 5.20801 14.75H14.217C15.121 14.75 15.913 14.143 16.148 13.27Z",stroke:"currentColor",width:"1.5",linecap:"round",linejoin:"round"}]],"outlined"),rn=e=>Array.from(e.querySelectorAll('[role="treeitem"]')).filter(t=>t.closest('[role="tree"]')===e),ro=(e,t)=>{rn(e).forEach(e=>{e.setAttribute("tabindex",e===t?"0":"-1")})},ri=({children:e,className:r})=>{let a=(0,tL.useSelectedLocale)(),{highlighted:n}=t7(),o=(0,M.useRef)(null),i=(0,M.useRef)(""),l=(0,M.useRef)(null);(0,M.useEffect)(()=>{let e=o.current;if(!e)return;let t=rn(e),r=t[0];r&&ro(e,t.find(e=>"0"===e.getAttribute("tabindex"))??t.find(e=>"true"===e.getAttribute("aria-current"))??r)},[e]),(0,M.useEffect)(()=>{let e=o.current;if(!e)return;let t=new MutationObserver(()=>{let t=rn(e),r=t[0];if(!r)return;let a=t.filter(e=>"0"===e.getAttribute("tabindex"));1!==a.length&&ro(e,a.find(e=>e===document.activeElement)??a[0]??r)});return t.observe(e,{childList:!0,subtree:!0}),()=>{t.disconnect()}},[]),(0,M.useEffect)(()=>()=>{l.current&&clearTimeout(l.current)},[]);let s=(0,M.useCallback)(e=>{let t=o.current;e&&t&&e.closest('[role="tree"]')===t&&(ro(t,e),e.focus())},[]),c=(0,M.useCallback)(e=>{let t=e.target,r=o.current;r&&t instanceof HTMLElement&&"treeitem"===t.getAttribute("role")&&t.closest('[role="tree"]')===r&&ro(r,t)},[]);return(0,t.jsx)("div",{ref:o,role:"tree","aria-label":a["aria.fileTree"],onFocus:c,onKeyDown:e=>{let t=e.currentTarget,r=e.target;if(!(r instanceof HTMLElement)||"treeitem"!==r.getAttribute("role")||r.closest('[role="tree"]')!==t)return;let a=(e=>{let t=e.closest('[role="tree"]')??e;return Array.from(t.querySelectorAll('[role="treeitem"]')).filter(e=>e.closest('[role="tree"]')===t&&!((e,t)=>{let r=e=>{if(!e||e===t)return!1;if("group"===e.getAttribute("role")){let t=e.previousElementSibling;if(t?.getAttribute("aria-expanded")==="false")return!0}return r(e.parentElement)};return r(e.parentElement)})(e,t))})(t),n=a.indexOf(r),o=null!==r.getAttribute("aria-expanded"),c="true"===r.getAttribute("aria-expanded"),d=e.ctrlKey||e.metaKey||e.altKey,u=()=>{if(e.nativeEvent.isComposing)return;l.current&&clearTimeout(l.current),i.current+=e.key.toLowerCase();let t=i.current,r=n+1,o=[...a.slice(r),...a.slice(0,r)].find(e=>{let r=(e=>{let t=e.querySelector('[data-component-part="tree-folder-title"], [data-component-part="tree-file-title"]');return t?.textContent??e.textContent})(e);return r?.toLowerCase().startsWith(t)});o&&(e.preventDefault(),s(o)),l.current=setTimeout(()=>{i.current=""},500)};switch(e.key){case"ArrowDown":if(d)break;e.preventDefault(),s(a[n+1]);break;case"ArrowUp":if(d)break;e.preventDefault(),s(a[n-1]);break;case"ArrowRight":if(d)break;e.preventDefault(),o&&(c?s((e=>{let t=e.nextElementSibling;if(t?.getAttribute("role")!=="group")return null;let r=e.closest('[role="tree"]');return Array.from(t.querySelectorAll('[role="treeitem"]')).find(e=>e.closest('[role="tree"]')===r)??null})(r)):r.click());break;case"ArrowLeft":if(d)break;e.preventDefault(),o&&c?r.click():s(((e,t)=>{let r=e=>{if(!e||e===t)return null;if("group"===e.getAttribute("role")){let t=e.previousElementSibling;if(t instanceof HTMLElement&&"treeitem"===t.getAttribute("role"))return t}return r(e.parentElement)};return r(e.parentElement)})(r,t));break;case"Home":if(d)break;e.preventDefault(),s(a[0]);break;case"End":if(d)break;e.preventDefault(),s(a[a.length-1]);break;case" ":case"Enter":if(d)break;if(" "===e.key&&""!==i.current){u();break}e.preventDefault(),r.click();break;case"*":if(d)break;e.preventDefault(),((e,t)=>{let r=e=>e&&e!==t?"group"===e.getAttribute("role")||"tree"===e.getAttribute("role")?e:r(e.parentElement):null,a=r(e.parentElement)??t;return Array.from(a.querySelectorAll('[role="treeitem"][aria-expanded]')).filter(e=>(r(e.parentElement)??t)===a)}
10)(r,t).forEach(e=>{"false"===e.getAttribute("aria-expanded")&&e.click()});break;default:1!==e.key.length||d||u()}},className:(0,t$.cn)("[--tree-highlight:var(--color-blue-600)] [--tree-highlight-accent:var(--tree-highlight)] [--tree-highlight-text:color-mix(in_oklab,var(--tree-highlight)_65%,black)] [--tree-highlight-bg:color-mix(in_oklab,var(--tree-highlight)_15%,white)] [--tree-highlight-bg-hover:color-mix(in_oklab,var(--tree-highlight)_25%,white)] [--tree-highlight-tint:color-mix(in_oklab,var(--tree-highlight)_7%,white)]","dark:[--tree-highlight-accent:color-mix(in_oklab,var(--tree-highlight)_65%,white)] dark:[--tree-highlight-text:color-mix(in_oklab,var(--tree-highlight)_25%,white)] dark:[--tree-highlight-bg:color-mix(in_oklab,var(--tree-highlight)_45%,black)] dark:[--tree-highlight-bg-hover:color-mix(in_oklab,var(--tree-highlight)_70%,black)] dark:[--tree-highlight-tint:color-mix(in_oklab,var(--tree-highlight)_45%,black)]",tO.Classes.Tree,r),children:(0,t.jsx)(t8,{level:1,parentId:null,highlighted:n,children:e})})},rl=e=>M.Children.toArray(e).some(e=>!!(0,M.isValidElement)(e)&&(e.type===rs||e.type===re||e.type===ri||e.type===M.Fragment&&rl(e.props.children)));function rs({name:e,defaultOpen:r=!1,children:a,openable:n=!0,highlight:o=!1,className:i}){let l=(0,M.useId)(),s=`tree-folder-${l}`,c=`tree-group-${l}`,d=`tree-folder-title-${l}`,u=n&&rl(a),{level:p,highlighted:h}=t7(),[m,g]=(0,M.useState)(u&&r),f=u&&m?ra:rr;return(0,t.jsxs)("div",{role:"none",className:(0,t$.cn)(o&&"relative"),style:{"--padding-left":t9(p),"--highlight-left":o?Math.max(0,t9(p)-14):void 0},children:[o&&(0,t.jsx)("span",{"aria-hidden":"true",className:"select-none absolute inset-y-0 right-0 bg-(--tree-highlight-tint) dark:bg-(--tree-highlight-tint)/40 left-[calc(max(0px,(var(--padding-left)-14)*1px))] print:print-color-exact","data-component-part":"tree-folder-highlight-tint"}),(0,t.jsxs)("div",{id:s,role:"treeitem","aria-level":p,"aria-expanded":u?m:void 0,"aria-owns":u&&m?c:void 0,"aria-labelledby":d,"aria-current":o?"true":void 0,tabIndex:-1,onClick:u?()=>g(e=>!e):void 0,onMouseDown:u?e=>{e.detail>1&&e.preventDefault()}:void 0,className:(0,t$.cn)("relative focus-visible:z-20 py-1 pr-1.5 -outline-offset-1 flex items-center gap-1.5 font-medium",!o&&"pl-[calc(var(--padding-left)*1px)] text-gray-700 dark:text-gray-400",!o&&!h&&"hover:bg-neutral-100 dark:hover:bg-neutral-900 focus-visible:outline focus-visible:outline-2 focus-visible:-outline-offset-2 dark:focus-visible:outline-(--color-primary)!",!o&&h&&"isolate before:absolute before:inset-y-0 before:right-0 before:-z-10 before:left-[calc(var(--highlight-left)*1px)] hover:before:bg-(--tree-highlight-bg) dark:hover:before:bg-(--tree-highlight-bg)/50 focus-visible:outline-hidden focus-visible:before:outline focus-visible:before:outline-2 focus-visible:before:-outline-offset-2 focus-visible:before:outline-(--tree-highlight-accent)",o&&"z-20 group/row pl-[calc(var(--padding-left)*1px)] text-(--tree-highlight-text) focus-visible:outline-hidden forced-colors:outline forced-colors:outline-1 forced-colors:-outline-offset-1 forced-colors:outline-[Highlight]",u?"cursor-pointer":"cursor-default",tO.Classes.TreeFolder,i),children:[o&&(0,t.jsx)("span",{"aria-hidden":"true",className:"select-none absolute inset-y-0 right-0 -z-10 bg-(--tree-highlight-bg) group-hover/row:bg-(--tree-highlight-bg-hover) left-[calc(max(0px,(var(--padding-left)-14)*1px))] group-focus-visible/row:outline group-focus-visible/row:outline-2 group-focus-visible/row:-outline-offset-2 group-focus-visible/row:outline-(--tree-highlight-accent) print:print-color-exact","data-component-part":"tree-folder-highlight-bg"}),o&&(0,t.jsx)("span",{"aria-hidden":"true",className:"select-none absolute inset-y-0 w-px bg-(--tree-highlight-accent) left-[calc(max(0px,(var(--padding-left)-14)*1px))] z-20 print:print-color-exact","data-component-part":"tree-folder-highlight-bar"}),(0,t.jsx)(f,{className:"shrink-0 select-none size-4","aria-hidden":"true","data-component-part":u&&m?"tree-folder-icon-open":"tree-folder-icon-closed"}),(0,t.jsx)("span",{id:d,className:"truncate text-sm leading-5 tracking-[-0.1px]","data-component-part":"tree-folder-title",title:e,children:e})]}),u&&m&&(0,t.jsxs)("div",{id:c,role:"group",className:"relative","data-component-part":"tree-folder-children-wrapper",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"select-none absolute w-px h-full bg-neutral-200 dark:bg-neutral-800 left-[calc((var(--padding-left)+8)*1px)] z-10 print:print-color-exact","data-component-part":"tree-folder-children-line"}),(0,t.jsx)(t8,{level:p+1,parentId:s,highlighted:o||h,children:a})]})]})}let rc=Object.assign(ri,{File:re,Folder:rs}),rd=(0,M.forwardRef)(({children:e,label:r,id:a,description:n,tags:o,rss:i,className:l,...s},c)=>{let d=(0,tF.safeCleanHeadingId)(a??""),[u,p]=(0,tz.useMDXContent)(),h=(0,tL.useSelectedLocale)(),[m,g]=(0,M.useState)(null),[f]=(0,tG.useRect)(g),b=(0,tR.useTop)(m),[x,y]=(0,M.useState)("idle"),v=(0,M.useRef)(null),w=(0,M.useMemo)(()=>o?.map(e=>
10e.trim()).filter(Boolean),[o]),k=!!u;(0,M.useEffect)(()=>()=>{v.current&&clearTimeout(v.current)},[]);let C=(0,M.useMemo)(()=>{if(!u.changelogFilters.length)return!0;let e=u.changelogFilters.filter(e=>e.active);return!(0!==e.length&&w?.length)||w.some(t=>e.some(e=>e.tag===t))},[u.changelogFilters,w]);(0,M.useEffect)(()=>{if(k&&d&&C&&void 0!==b)return p({type:"register_heading",payload:{id:d,top:b}}),()=>{p({type:"unregister_heading",payload:d})}},[b,d,k,p,C]);let j=(0,M.useCallback)(()=>{d&&((0,tD.copyToClipboard)(`${window.location.origin}${window.location.pathname}#${d}`).then(e=>{"success"===e&&(y("copied"),v.current&&clearTimeout(v.current),v.current=setTimeout(()=>{y("idle")},2e3))}),window.location.hash=d,(0,tU.scrollElementIntoView)({id:d}))},[d]);return C?(0,t.jsxs)("div",{className:(0,t$.cn)(tO.Classes.Update,"flex flex-col relative items-start w-full lg:flex-row gap-2 lg:gap-6 py-8 update-container",l),ref:c,id:d||void 0,...s,children:[(0,t.jsxs)("div",{className:"lg:sticky top-(--scroll-mt) group flex flex-col w-full lg:w-[160px] items-start shrink-0 justify-start",children:[!!d&&(0,t.jsx)("div",{className:"absolute",children:(0,t.jsxs)("a",{href:`#${d}`,className:"-ml-10 flex items-center opacity-0 border-0 group-hover:opacity-100 focus:opacity-100 focus:outline-0 group/link","aria-label":`${h["aria.navigateToChangelog"]}: ${r}`,onClick:j,children:["​",(0,t.jsx)("div",{className:"size-6 rounded-md flex items-center justify-center shadow-xs text-gray-400 dark:text-white/50 dark:bg-background-dark dark:brightness-[1.35] dark:ring-1 dark:hover:brightness-150 bg-white ring-1 ring-gray-400/30 dark:ring-gray-700/25 hover:ring-gray-400/60 dark:hover:ring-white/20 group-focus/link:border-2 group-focus/link:border-primary dark:group-focus/link:border-primary-light",children:(0,t.jsx)(tq.LinkIcon,{"aria-hidden":"true",className:"size-3 shrink-0",strokeWidth:2})})]})}),(0,t.jsx)("button",{type:"button",className:"cursor-pointer px-2 py-1 rounded-lg text-sm flex items-center grow-0 justify-center font-medium bg-primary/10 text-primary dark:text-primary-light",onClick:j,contentEditable:!1,"data-component-part":"update-label",children:r}),(0,t.jsx)("span",{role:"status",className:"sr-only",children:"copied"===x?h.copied:""}),!!w?.length&&(0,t.jsx)("div",{className:"px-1 flex flex-wrap gap-2 text-secondary dark:text-secondary-light mt-3 text-sm","data-component-part":"update-tag-list",children:w.map(e=>(0,t.jsx)("span",{className:"inline-block rounded-lg text-sm font-medium","data-component-part":"update-tag",children:e},e))}),n&&(0,t.jsx)("div",{className:"px-1 text-secondary dark:text-secondary-light mt-3 text-sm max-w-[160px] break-words",contentEditable:!1,"data-component-part":"update-description",children:n})]}),(0,t.jsx)("div",{className:"flex-1 overflow-hidden px-0.5 max-w-full",ref:f,children:(0,t.jsx)("div",{className:"prose-sm","data-component-part":"update-content",children:e})})]}):null});rd.displayName="Update";var ru=e.i(734305);let rp=(0,M.forwardRef)(({children:e,title:r,className:a,...n},o)=>{let[{multiViewItems:i}]=(0,tz.useMDXContent)();return i.find(e=>e.title===r)?.active?(0,t.jsx)("div",{className:(0,t$.cn)(tO.Classes.MultiViewItem,"prose dark:prose-dark",a),ref:o,...n,children:e}):null});rp.displayName="View";var rh=e.i(809700);let rm=(0,M.createContext)(void 0);function rg({delay:e=300,children:r}){return(0,t.jsx)(rh.Popover.Root,{children:(0,t.jsx)(rm.Provider,{value:(0,M.useMemo)(()=>({delay:e}),[e]),children:r})})}let rf=({children:e,href:r,target:a,rel:n,...o})=>{let i=(0,M.useContext)(rm);if(!i)throw Error("Missing Popup Context");let l=r?(0,t.jsx)("a",{href:r,rel:n,target:a,children:(0,t.jsx)("span",{className:"twoslash-hover",children:e})}):(0,t.jsx)("span",{className:"twoslash-hover",children:e});return(0,t.jsx)(rh.Popover.Trigger,{openOnHover:!0,delay:i.delay,closeDelay:i.delay,nativeButton:!1,render:l,...o})},rb=({className:e,side:r="bottom",align:a="center",sideOffset:n=4,ref:o,...i})=>{if(!(0,M.useContext)(rm))throw Error("Missing Popup Context");return(0,t.jsx)(rh.Popover.Portal,{children:(0,t.jsx)(rh.Popover.Positioner,{side:r,align:a,sideOffset:n,children:(0,t.jsx)(rh.Popover.Popup,{ref:o,className:["mint-twoslash-p
10opover",e].filter(Boolean).join(" "),initialFocus:!1,finalFocus:!1,...i})})})};var rx=e.i(522016),ry=e.i(770703);let rv=(0,ry.default)(()=>e.A(378570).then(e=>e.CustomCode),{loadableGenerated:{modules:[597573]},ssr:!1}),rw=(0,ry.default)(()=>e.A(875181).then(e=>e.Prompt),{loadableGenerated:{modules:[725144]}});function rk(e){if("number"==typeof e)return{type:"pixel",value:e};if("string"==typeof e){if(e.endsWith("%"))return{type:"percentage",value:e};let t=parseInt(e,10);if(!isNaN(t))return{type:"pixel",value:t}}}let rC=({height:e,width:r,src:a,className:n,style:o,...i})=>{let[l,s]=(0,M.useState)(!1);(0,M.useEffect)(()=>{s(!0)},[]),e=e||o?.height;let c=rk(r=r||o?.width),d=rk(e),u=c?.type==="pixel"&&d?.type==="pixel"?`${c.value} / ${d.value}`:void 0,p=!r&&!e;return(0,t.jsxs)("div",{"data-as":"iframe",className:(0,t$.cn)("flex justify-center w-full"),children:[!l&&(0,t.jsx)("div",{className:(0,t$.cn)("object-contain w-full",n),style:{...d?{height:d.value}:{},...c?{width:c.value}:{},...u?{aspectRatio:u}:{aspectRatio:"16/9"}}}),l&&(0,t.jsx)("iframe",{...i,title:i.title||"Embedded content",src:a,className:(0,t$.cn)(p&&"w-full",n),style:{...u?{aspectRatio:u}:{aspectRatio:"16/9"},...o,...d?{height:d.value}:{},...c?{width:c.value}:{}}})]})},rj={Accordion:r.Accordion,AccordionGroup:a.AccordionGroup,Badge:n.Badge,Heading:f.Heading,Callout:o.Callout,Card:i.Card,CardGroup:d.CardGroup,Column:d.Column,Columns:d.Columns,Color:c.Color,Check:o.Check,CodeGroup:s.CodeGroup,CodeBlock:l.CodeBlock,CustomCode:rv,CustomComponent:u.default,DynamicCustomComponent:p.default,Expandable:m.Expandable,Frame:h.DynamicFrame,GitHub:g.GitHub,Github:g.GitHub,Tile:({href:e,children:r,title:a,description:n,className:o,"aria-label":i})=>{let l=null!=a&&""!==a,s=null!=n&&""!==n;return(0,t.jsxs)(tQ.DynamicLink,{href:e,"aria-label":i,className:(0,t$.cn)(tO.Classes.Tile,"flex items-center justify-center flex-col w-full min-w-0 gap-1 group cursor-pointer not-prose",o),children:[(0,t.jsxs)("div",{className:"h-[170px] w-full relative bg-gray-50 dark:bg-gray-900 rounded-2xl py-1 grid place-items-center overflow-hidden print:print-color-exact","data-component-part":"tile-children-container",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:(0,t$.cn)(t2,"block dark:hidden print:print-color-exact"),style:{backgroundImage:`url("${t1}")`},"data-component-part":"tile-background-light"}),(0,t.jsx)("div",{"aria-hidden":"true",className:(0,t$.cn)(t2,"hidden dark:block print:print-color-exact"),style:{backgroundImage:`url("${t5}")`},"data-component-part":"tile-background-dark"}),(0,t.jsx)("div",{className:"size-full flex items-center justify-center p-8 [grid-area:1/1] [&_svg]:max-w-full [&_svg]:max-h-full [&_svg]:w-auto [&_svg]:h-auto","data-component-part":"tile-children-inner-container",children:r})]}),(l||s)&&(0,t.jsxs)("div",{className:"flex flex-col gap-1 p-2 items-center justify-center w-full min-w-0","data-component-part":"tile-text-container",children:[l&&(0,t.jsx)("p",{className:"text-base font-medium [letter-spacing:-0.2px] text-gray-900 dark:text-gray-200 m-0 truncate max-w-full",title:(0,tY.getTitleText)(a),"data-component-part":"tile-title",children:a}),s&&(0,t.jsx)("p",{className:"text-sm [letter-spacing:-0.1px] text-gray-600 dark:text-gray-400 truncate m-0 font-normal max-w-full",title:n,"data-component-part":"tile-description",children:n})]})]})},Tree:rc,FileTree:rc,Info:o.Info,Icon:b.Icon,Link:rx.default,Note:o.Note,ParamField:tA.ParamField,RequestExample:function({dropdown:e,children:r}){let a=(0,tL.useSelectedLocale)();return(0,t.jsx)("div",{className:"block [html:not([data-assistant-state=open])_&]:xl:hidden mt-8",id:tP.Ids.RequestExample,role:"region","aria-label":a["aria.requestExample"],children:(0,t.jsx)(s.CodeGroup,{isSmallText:!0,noMargins:!0,dropdown:e,hideCodeSnippetFeedbackButton:!0,children:r})})},ResponseExample:function({children:e,dropdown:r}){let a=(0,tL.useSelectedLocale)();return(0,t.jsx)("div",{className:"block [html:not([data-assistant-state=open])_&]:xl:hidden mt-8",id:tP.Ids.ResponseExample,role:"region","aria-label":a["aria.responseEx
10ample"],children:(0,t.jsx)(s.CodeGroup,{isSmallText:!0,noMargins:!0,dropdown:r,hideCodeSnippetFeedbackButton:!0,children:e})})},ResponseField:function({name:e,type:r,typeHref:a,hidden:n,default:o,required:i,deprecated:l,children:s,id:c,pre:d,post:u,className:p}){return(0,t.jsx)(tA.GenericParam,{name:e,type:r,typeHref:a,hidden:n,defaultValue:o,required:i,deprecated:l,id:c,pre:d,post:u,className:p,children:s})},Step:tV,Steps:({children:e,titleSize:r,className:a})=>{let{stepChildren:n,skippedChildren:o}=(0,M.useMemo)(()=>{let t=[],r=[];for(let a of tB(e))(0,M.isValidElement)(a)&&a.type===tV?t.push(a):r.push(tZ(a));return{stepChildren:t,skippedChildren:r}},[e]);return(0,M.useEffect)(()=>{for(let e of o)console.warn(`${e} cannot be a child of <Steps> and was skipped.`)},[o]),(0,t.jsx)("div",{role:"list",className:(0,t$.cn)(tO.Classes.Steps,"ml-3.5 mt-10 mb-6",a),children:n.map((e,a)=>{let{props:o}=e;return(0,t.jsx)(tV,{...r&&{titleSize:r},...o,stepNumber:o.stepNumber??a+1,isLast:a===n.length-1},`${o.title} + ${a}`)})})},Tab:tK.Tab,Table:tX.Table,Tabs:tJ.Tabs,Tip:o.Tip,Tooltip:t3.Tooltip,SnippetGroup:s.SnippetGroup,Warning:o.Warning,Latex:x.Latex,MDX:y.MDX,ZoomImage:k.ZoomImage,OptimizedFrame:rC,OptimizedImage:tI,OptimizedVideo:function({children:e,...r}){let{isLivePreview:a,liveMedia:n}=(0,M.useContext)(j.LivePreviewContext),o=(0,M.useMemo)(()=>{let e=r.src;return e&&"string"==typeof e?(0,j.resolveLivePreviewMediaSrc)({src:e,isLivePreview:a,liveMedia:n}):e},[r.src,a,n]);return(0,t.jsx)("video",{...r,src:o,children:e})},Mermaid:v.DynamicMermaid,Update:rd,Panel:function({children:e,className:r}){return(0,t.jsx)("div",{className:(0,t$.cn)("block [html:not([data-assistant-state=open])_&]:xl:hidden",r),id:tP.Ids.Panel,children:e})},Danger:o.Danger,Prompt:rw,Popup:rg,PopupContent:rb,PopupTrigger:rf,Variation:function({is:e,children:r}){let{selectedVariation:a}=(0,ru.useVariation)(),n=Array.isArray(e)?e:[e],o=n.every(e=>"string"==typeof e&&e.trim().length>0)?n.map(e=>e.trim()):[];return a&&o.includes(a)?(0,t.jsx)(t.Fragment,{children:r}):null},View:rp,Visibility:function({for:e,children:r}){return"humans"===e?(0,t.jsx)(t.Fragment,{children:r}):null}};var rN=e.i(42143);let rM={},r_=M.default.createContext(rM);function rS(e){let t=M.default.useContext(r_);return M.default.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function rE(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(rM):e.components||rM:rS(e.components),M.default.createElement(r_.Provider,{value:t},e.children)}e.s(["MDXClient",()=>rI],15878);var r$=e.i(921694);function rT(e){let{onError:r,...a}=e,{content:n,error:o}=function({compiledSource:e,frontmatter:r={},scope:a={},components:n,disableParentContext:o}){try{let{Content:i,mod:l}=function(e,r){let{keys:a,values:n}=function(e){let r={runMdxOptions:{useMDXComponents:e.mdxOptions?.useMDXComponents,baseUrl:e.mdxOptions?.baseUrl,jsx:t.jsx,jsxs:t.jsxs,jsxDEV:r$.jsxDEV,Fragment:t.Fragment,React:M},frontmatter:e.frontmatter,...e.scope};return{keys:Object.keys(r),values:Object.values(r)}}(r),{default:o,...i}=Reflect.construct((function(){}).constructor,a.concat(e))(...n);return{Content:o,mod:i}}(e,{frontmatter:r,scope:a,mdxOptions:{useMDXComponents:rS}});return{content:n?(0,t.jsx)(rE,{components:n,disableParentContext:o,children:(0,t.jsx)(i,{})}):(0,t.jsx)(i,{}),mod:l}}catch(e){return{content:(0,t.jsx)("div",{className:"mdx-empty"}),mod:{},error:e}}}(a);if(o&&!r)throw o;return o&&r?(0,t.jsx)(r,{error:o}):n}function rI(e){let r={Popup:rg,PopupContent:rb,PopupTrigger:rf,...e.components};return(0,t.jsx)(rT,{...e,components:r})}"undefined"!=typeof window&&(window.requestIdleCallback||=function(e){var t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},window.cancelIdleCallback||=function(e){clearTimeout(e)});var rP=e.i(618566),rA=M;let rL="rounded",rz={img:e=>(0,t.jsx)(tI,{...e,className:(0,t$.cn)(rL,e.className)}),picture:e=>(0,t.jsx)(k.ZoomImage,{...e,children:(0,t.jsx)("picture",{className:(0,t$.cn)(rL,e.className)})}),figure:e=>(0,t.jsx)(k.ZoomImage,{...e,children:(0,t.jsx)("figure",{...e,className:(0,t$.cn)(rL,e.className)})}),p:e=>(0,t.jsx)("span",{"data-as":"p",...e}),iframe:e=>(0,t.jsx)(rC,{...e}),table:e=>(0,t.jsx)(tX.Table,{...e})};class rR extends rA.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error({error:e,errorInfo:t})}componentDidUpdate(e){this.props.resetKey&&e.resetKey!==this.props.resetKey&&this.state.hasError&&this.setState({hasError:!1})}render(){return this.state.hasError?this.props.fallback??null:this.props.children}}let rO=e=>(0,t.jsx)(tQ.DynamicLink,{...e,allowTarget:!0}),rH=e=>(0,t.jsx)(tQ.DynamicLink,{...e,allowTarget:!0,noLinkClass:!0}),rD=(0,rA.memo)(rI);function rU(){return(0,t.jsxs)("div",{className:"animate-pulse space-y-6",children:[(0,t.jsx)("div",{className:"h-8 bg-gray-200 dark:bg-gray-700 rounded w-3/4"}),(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-full"}),(0,t.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-5/6"}),(0,t.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-4/6"})]}),(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-full"}),(0,t.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-3/4"})]}),(0,t.jsx)("div",{className:"h-6 bg-gray-200 dark:bg-gray-700 rounded w-1/2"}),(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-full"}),(0,t.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-5/6"}),(0,t.jsx)("div",{className:"h-4 bg-gray-200 dark:bg-gray-700 rounded w-2/3"})]})]})}let rF=({mdxSource:e,mdxSourceWithNoJs:r,pageMetadata:a,userInfo:n,forceIsLoading:o})=>{let[i,l]=(0,rA.useState)(!1),s=(0,rP.usePathname)(),{basePath:c="",currentPreviewPath:d,isLivePreview:u,getCompiledContent:p,livePreviewUpdateId:h}=(0,rA.useContext)(j.LivePreviewContext),m=(0,rA.useMemo)(()=>{let e=u?d:s;return e?(0,rN.normalizeLivePreviewPath)(e,c):""},[c,d,u,s]),g=(0,rA.useMemo)(()=>
10{if(u&&m)return p(m)},[u,m,p,h]);(0,rA.useEffect)(()=>{l(!0);let e=e=>{if(3===e.detail){let t=e.target;if(t&&t instanceof HTMLElement){let r=t.closest(":not(pre) > code");if(r){e.preventDefault();let t=window.getSelection(),a=document.createRange();a.selectNodeContents(r),t?.removeAllRanges(),t?.addRange(a)}}}};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let b=g?.mdxSource??e,x=g?.mdxSourceWithNoJs??r,y=(0,rA.useRef)({content:void 0,version:0});g!==y.current.content&&(y.current={content:g,version:y.current.version+1});let v=y.current.version,w=(0,rA.useMemo)(()=>b.compiledSource!==x.compiledSource,[b,x]),k=i&&w,C=`${m}:${k}:${g?v:"built"}`,N=(0,rA.useCallback)(({children:e,name:r})=>(0,t.jsx)(rR,{name:r,resetKey:`${C}:${r??""}`,children:e}),[C]),_="custom"===a.mode,S=(0,rA.useMemo)(()=>({a:_?rH:rO,Heading:f.Heading,_MdxComponentBoundary:N,...rz}),[N,_]),E=(0,rA.useMemo)(()=>({...rj,_MdxComponentBoundary:N}),[N]),$=(0,rA.useMemo)(()=>({pageMetadata:a,user:n?.content??{},...k?{React:M,useState:M.useState,useEffect:M.useEffect,useRef:M.useRef,useCallback:M.useCallback,useMemo:M.useMemo,useReducer:M.useReducer,useContext:M.useContext,useLayoutEffect:M.useLayoutEffect,useImperativeHandle:M.useImperativeHandle,useDebugValue:M.useDebugValue,useDeferredValue:M.useDeferredValue,useTransition:M.useTransition,useId:M.useId,useSyncExternalStore:M.useSyncExternalStore,useInsertionEffect:M.useInsertionEffect}:{}}),[a,n?.content,k]),T=(0,rA.useMemo)(()=>({pageMetadata:a,user:n?.content??{}}),[a,n?.content]);return!0===o?(0,t.jsx)(rU,{}):(0,t.jsx)(rE,{components:S,children:(0,t.jsx)(rR,{resetKey:C,fallback:(0,t.jsx)(rD,{components:E,compiledSource:x.compiledSource,frontmatter:x.frontmatter,scope:T}),children:(0,t.jsx)(rD,{components:E,compiledSource:k?b.compiledSource:x.compiledSource,frontmatter:b.frontmatter,scope:$})})})}},7849,266371,445193,946230,e=>{"use strict";e.s(["MdxPanel",()=>c],7849);var t=e.i(843476),r=e.i(91557),a=e.i(343590),n=e.i(476781),o=e.i(196151),i=e.i(917180),l=e.i(296548),s=e.i(271645);function c({mobile:e}){let{pageMetadata:c,panelMdxSource:d,panelMdxSourceWithNoJs:u}=(0,s.useContext)(r.PageContext),{userInfo:p}=(0,s.useContext)(r.AuthContext),h=(0,a.useSelectedLocale)();return d?(0,t.jsx)("div",{role:"complementary","aria-label":h["aria.sidePanel"],tabIndex:e?void 0:0,className:(0,l.cn)(n.Classes.Panel,"w-full xl:w-[28rem] max-w-full mb-6 relative max-h-[calc(100%-32px)]",e?"mt-8 lg:mt-0 flex flex-col gap-6 [html:not([data-assistant-state=open])_&]:xl:hidden":"overflow-y-auto"),children:(0,t.jsx)(o.default,{children:(0,t.jsx)(i.MdxContent,{mdxSource:d,mdxSourceWithNoJs:u??d,pageMetadata:c,userInfo:p})})}):null}e.s(["Api",()=>y],445193),e.s(["useChannel",()=>d],266371);let d=()=>{let{apiReferenceData:{channel:e}}=(0,s.useContext)(r.ApiReferenceContext);return(0,s.useMemo)(()=>e,[e])};var u=e.i(491066),p=e.i(615824),h=e.i(770703);let m=(0,h.default)(()=>e.A(969088).then(e=>e.AsyncApiPage),{loadableGenerated:{modules:[229816]}}),g=(0,h.default)(()=>e.A(293280).then(e=>e.GraphqlReferencePage),{loadableGenerated:{modules:[231830]}}),f=(0,h.default)(()=>e.A(189416).then(e=>e.OpenApiPage),{loadableGenerated:{modules:[333233]}}),b=(0,h.default)(()=>e.A(840049).then(e=>e.ApiExamples),{loadableGenerated:{modules:[300718]}}),x=()=>(0,u.useHasMdxCodeExample)()?(0,t.jsx)("div",{className:"mt-8 lg:mt-0 flex flex-col gap-6 [html:not([data-assistant-state=open]):has(#content-side-layout[data-api-example])_&]:xl:hidden max-h-[30rem] print:max-h-none",children:(0,t.jsx)(b,{})}):null,y=({pageMetadata:e,children:a})=>{let n=d(),{graphqlReferenceData:o}=(0,s.useContext)(r.ApiReferenceContext),i=e.api||e.openapi||e["openapi-schema"],l=e.asyncapi&&n,c=!!i||!!l||!!o;return((0,s.useEffect)(()=>{c&&(0,p.preloadShiki)()},[c]),l)?(0,t.jsx)(m,{channel:n,children:a}):o?(0,t.jsx)(g,{data:o,children:a}):i?(0,t.jsx)(f,{children:a}):(0,t.jsx)(x,{})};e.s(["Content",()=>j],946230);var v=e.i(378486),w=e.i(111048),k=e.i(343534),C=e.i(810412);let j=({pageMetadata:e,children:a})=>{let o=d(),{openApiReferenceData:i}=(0,s.useContext)(C.OpenApiReferenceContext),{graphqlReferenceData:c}=(0,s.useContext)(r.ApiReferenceContext),u=(0,v.useIsDirectoryPage)(),{isCu
10stom:p,isFrame:h}=(0,k.getPageMode)(e),m=e.openapi||e["openapi-schema"]||e.api||e.asyncapi,g=i.operation||i.schemaData||o;return c||m&&g?null:(0,t.jsx)("div",{className:(0,l.cn)(n.Classes.Content,"@container/columns-container relative",!p&&!h&&(0,l.cn)("mt-8 prose prose-gray dark:prose-invert [contain:inline-size] isolate empty:hidden",u?"mb-10":"mb-14")),"data-page-title":e.title,"data-page-href":e.href,id:w.Ids.Content,children:a})}}]);

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.