1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3429],{72380:function(e,r,l){"use strict";l.r(r),l.d(r,{CustomSearchBox:function(){return CustomSearchBox},FakeSearchBox:function(){return FakeSearchBox},FocusedSearch:function(){return FocusedSearch},FocusedSearchAPI:function(){return FocusedSearchAPI},Search:function(){return Search}});var t=l(85893),i=l(24027),n=l(27239),o=l(81136),s=l(79078),a=l(68519),d=l(56725),c=l(73353),u=l(52718),h=l(25322),p=l(94236),x=l(57747),v=l(1702),C=l(70959),m=l(44461),g=l(24124),f=l(84028),y=l(90889),j=l(41664),L=l.n(j),w=l(67294),S=l(73344),I=l(55481),b=l(18064),_=l(24452),k=l(28499),B=l(80880),N=l(25288),F=l(11163),M=l(70656),H=l(87475);let P=new Map((0,N.S)(B.Ok,[]).map(e=>["/docs".concat(e.href),e])),A=(0,i.I)({displayName:"ClearSearchIcon",viewBox:"0 0 20 20",d:"M8.114 10L.944 2.83 0 1.885 1.886 0l.943.943L10 8.113l7.17-7.17.944-.943L20 1.886l-.943.943-7.17 7.17 7.17 7.17.943.944L18.114 20l-.943-.943-7.17-7.17-7.17 7.17-.944.943L0 18.114l.943-.943L8.113 10z"}),SearchInProgressIcon=e=>(0,t.jsx)("svg",{viewBox:"0 0 38 38",...e,children:(0,t.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,t.jsxs)("g",{transform:"translate(1 1)",strokeWidth:"2",children:[(0,t.jsx)("circle",{"stroke-opacity":".5",cx:"18",cy:"18",r:"18"}),(0,t.jsx)("path",{d:"M36 18c0-9.94-8.06-18-18-18",children:(0,t.jsx)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})})]})})}),R=(0,i.I)({displayName:"DocumentIcon",viewBox:"0 0 16 16",d:"M6.00065 8H10.0007M6.00065 10.6667H10.0007M11.334 14H4.66732C4.3137 14 3.97456 13.8595 3.72451 13.6095C3.47446 13.3594 3.33398 13.0203 3.33398 12.6667V3.33333C3.33398 2.97971 3.47446 2.64057 3.72451 2.39052C3.97456 2.14048 4.3137 2 4.66732 2H8.39132C8.56811 2.00004 8.73766 2.0703 8.86265 2.19533L12.472 5.80467C12.597 5.92966 12.6673 6.0992 12.6673 6.276V12.6667C12.6673 13.0203 12.5268 13.3594 12.2768 13.6095C12.0267 13.8595 11.6876 14 11.334 14Z"}),E=(0,i.I)({displayName:"DocumentIcon",viewBox:"0 0 18 18",d:"M9.43875 14.2291C9.42851 14.2962 9.42287 14.3638 9.42188 14.4316C9.42188 14.7748 9.65812 15.0031 9.98438 15.0031C10.2836 15.0031 10.5379 14.8096 10.6088 14.4665L11.232 11.4256H12.5865C13.0601 11.4256 13.2806 11.1624 13.2806 10.8103C13.2806 10.4593 13.0691 10.214 12.5865 10.214H11.4784L12.0589 7.37451H13.482C13.9658 7.37451 14.1772 7.11913 14.1772 6.75913C14.1772 6.40701 13.9658 6.16963 13.482 6.16963H12.3052L12.8407 3.57763C12.8515 3.51669 12.8575 3.45501 12.8588 3.39313C12.8597 3.31665 12.8453 3.24076 12.8164 3.16992C12.7876 3.09908 12.7448 3.03473 12.6907 2.98064C12.6367 2.92656 12.5723 2.88383 12.5015 2.85498C12.4306 2.82613 12.3547 2.81173 12.2782 2.81263C12.1366 2.80993 11.9985 2.8568 11.8878 2.94513C11.7771 3.03346 11.7007 3.15771 11.6719 3.29638L11.0835 6.16963H8.56913L9.10575 3.57763C9.11475 3.53263 9.12263 3.44488 9.12263 3.39313C9.12325 3.31606 9.10839 3.23965 9.07894 3.16842C9.04949 3.0972 9.00605 3.0326 8.95118 2.97847C8.89632 2.92434 8.83115 2.88177 8.75953 2.85328C8.68791 2.8248 8.61131 2.81097 8.53425 2.81263C8.39411 2.81182 8.25802 2.85957 8.14912 2.94776C8.04021 3.03595 7.96521 3.15914 7.93687 3.29638L7.34625 6.16963H6.09075C5.607 6.16963 5.39662 6.41713 5.39662 6.76813C5.39662 7.11913 5.607 7.37451 6.09075 7.37451H7.11L6.53062 10.2129H5.18513C4.7115 10.2129 4.5 10.4593 4.5 10.8103C4.5 11.1624 4.7115 11.4256 5.18625 11.4256H6.28425L5.70375 14.2291C5.69475 14.2741 5.68687 14.3698 5.68687 14.4316C5.68687 14.7748 5.92312 15.0031 6.24937 15.0031C6.5475 15.0031 6.80288 14.8096 6.87263 14.4665L7.497 11.4256H10.0192L9.43875 14.2291ZM8.31375 7.35651H10.863L10.2836 10.2399H7.71638L8.31375 7.35651Z"}),q=(0,i.I)({displayName:"EnterIcon",viewBox:"0 0 24 24",d:"M21,4 C21.5128358,4 21.9355072,4.38604019 21.9932723,4.88337887 L22,5 L22,11.5 C22,13.3685634 20.5357224,14.8951264 18.6920352,14.9948211 L18.5,15 L5.415,15 L8.70710678,18.2928932 C9.06759074,18.6533772 9.09532028,19.2206082 8.79029539,19.6128994 L8.70710678,19.7071068 C8.34662282,20.0675907 7.77939176,20.0953203 7.38710056,19.7902954 L7.29289322,19.7071068 L2.29289322,14.7071068 C2.25749917,14.6717127 2.22531295,14.6343256 2.19633458,14.5953066 L2.12467117,14.4840621 L2.12467117,14.4840621 L2.07122549,14.371336 L2.07122549,14.371336 L2.03584514,14.265993 L2.03584514,14.265993 L2.0110178,14.1484669 L2.0110178,14.1484669 L2.00397748,14.0898018 L2.00397748,14.0898018 L2,14 L2.00278786,13.9247615 L2.00278786,13.9247615 L2.02024007,13.7992742 L2.02024007,13.7992742 L2.04973809,13.6878575 L2.04973809,13.6878575 L2.09367336,13.5767785 L2.09367336,13.5767785 L2.14599545,13.4792912 L2.14599545,13.4792912 L2.20970461,13.3871006 L2.20970461,13.3871006 L2.29289322,13.2928932 L2.29289322,13.2928932 L7.29289322,8.29289322 C7.68341751,7.90236893 8.31658249,7.90236893 8.70710678,8.29289322 C9.06759074,8.65337718 9.09532028,9.22060824 8.79029539,9.61289944 L8.70710678,9.70710678 L5.415,13 L18.5,13 C19.2796961,13 19.9204487,12.4051119 19.9931334,11.64446 L20,11.5 L20,5 C20,4.44771525 20.4477153,4 21,4 Z"}),z=(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsxs)("g",{opacity:"0.6",children:[(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.7508 22.6972C22.2772 23.173 21.506 23.173 21.0292 22.6972L19.0964 20.7552L16.818 18.466C16.5012 18.1477 16.3956 17.6944 16.5044 17.2893C16.5172 17.2346 16.5364 17.1832 16.5588 17.1317C16.6164 16.9903 16.706 16.8552 16.8212 16.7395C16.9364 16.6237 17.0708 16.5369 17.2116 16.4758C17.282 16.4469 17.3556 16.4244 17.4292 16.4083C17.8164 16.3279 18.2388 16.4373 18.5396 16.7395L18.9044 17.106L19.2724 17.479L22.7476 20.9706C23.2276 21.4465 23.2276 22.2213 22.7508 22.6972Z",fill:"#6C7581"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.0357 10.9912C20.6965 23.5689 2.5525 24.4177 1.0357 11.9461C0.0277011 -2.02383 20.6965 -3.06555 21.0357 10.9912Z",fill:"#718096"}),(0,t.jsx)("path",{d:"M11.0107 19.2605C15.6075 19.2605 19.3339 15.5164 19.3339 10.8978C19.3339 6.27924 15.6075 2.53516 11.0107 2.53516C6.41393 2.53516 2.6875 6.27924 2.6875 10.8978C2.6875 15.5164 6.41393 19.2605 11.0107 19.2605Z",fill:"#E1E4EB"}),(0,t.jsx)("path",{d:"M14.1684 8.67063C14.1652 8.51952 14.1524 8.37484 14.1236 8.23337C14.0212 7.67393 13.7428 7.18522 13.282 6.76082C12.7028 6.23032 11.9316 5.95703 10.962 5.95703C10.0436 5.95703 9.30761 6.21103 8.74761 6.70938C8.34121 7.06948 8.05001 7.54211 7.87721 8.13048C7.72681 8.63848 8.07241 9.15934 8.59401 9.22042C9.00681 9.26865 9.39721 9.01144 9.51241 8.61276C9.61481 8.26552 9.76201 7.99545 9.96361 7.80254C10.2356 7.54854 10.5748 7.42315 10.978 7.42315C11.4004 7.42315 11.7556 7.5614 12.0468 7.84433C12.3316 8.12084 12.4756 8.44235 12.4756 8.80888C12.47
156 9.00179 12.4308 9.18184 12.338 9.34581C12.2868 9.43584 12.2068 9.53873 12.098 9.65447C11.9764 9.78629 11.8228 9.93419 11.634 10.1014C11.2308 10.4583 10.9556 10.7316 10.7988 10.918C10.5748 11.1913 10.4116 11.4614 10.3124 11.7283C10.178 12.0755 10.1076 12.4902 10.1076 12.9693C10.1076 13.3037 10.3796 13.577 10.7124 13.577H11.1316C11.4548 13.577 11.7204 13.323 11.7364 12.9982C11.7492 12.7378 11.7748 12.5353 11.81 12.4002C11.8548 12.233 11.922 12.0851 12.018 11.9565C12.1236 11.8118 12.3508 11.5868 12.6964 11.2781C13.2692 10.7669 13.6532 10.3297 13.8484 9.97277C13.8868 9.90204 13.922 9.83131 13.954 9.75736C14.0916 9.43906 14.162 9.09825 14.162 8.73493C14.1684 8.71243 14.1684 8.69314 14.1684 8.67063ZM10.9556 14.0175C10.4564 14.0175 10.05 14.4258 10.05 14.9273C10.05 15.4321 10.4564 15.8372 10.9556 15.8372C11.458 15.8372 11.8612 15.4289 11.8612 14.9273C11.8612 14.4258 11.4548 14.0175 10.9556 14.0175Z",fill:"#718096"})]})}),D=new k.Z({server:{apiKey:"Rrujbvll5MAJJmIB9DwX1cUi7QxzuumS",nodes:[{host:"d3fu8jf2ig957x.cloudfront.net",port:443,protocol:"https"}]},additionalSearchParameters:{query_by:"embedding,hierarchy.lvl0,hierarchy.lvl1",limitHits:15,per_page:4,facet_by:["hierarchy.lvl0"],group_by:"hierarchy.lvl0",group_limit:4,query_by_weights:"0,1,1",prefix:"false,false,false",exclude_fields:"embedding",vector_query:"embedding:([], alpha: 0.7)"}}),T=new k.Z({server:{apiKey:"Rrujbvll5MAJJmIB9DwX1cUi7QxzuumS",nodes:[{host:"d3fu8jf2ig957x.cloudfront.net",port:443,protocol:"https"}]},additionalSearchParameters:{query_by:"hierarchy.lvl0,hierarchy.lvl1,hierarchy.lvl2,hierarchy.lvl3,content",limitHits:25,per_page:10,text_match_type:"max_weight",group_by:"hierarchy.lvl0,hierarchy.lvl1",group_limit:1,query_by_weights:"4,4,2,1,1"}}),CustomHits=e=>{let{isLoading:r,queryCache:l,closeSearchBox:i,selectedItemIndex:v,updateSelectedIndexItem:C,updateTotalHitItems:m,goTo:g,updateGoTo:f,...y}=e,j=(0,S.O)(y),I=(0,F.useRouter)(),getSubHeader=e=>{var r,l,t,i,n,o,s,a,d;if(null==e?void 0:e.anchor){let r=e.anchor,l=/[ ()[\]]/g;if((null==e?void 0:null===(i=e.hierarchy)||void 0===i?void 0:null===(t=i.lvl3)||void 0===t?void 0:t.replace(l,"-").toLowerCase())===r)return e.hierarchy.lvl3;if((null==e?void 0:null===(o=e.hierarchy)||void 0===o?void 0:null===(n=o.lvl2)||void 0===n?void 0:n.replace(l,"-").toLowerCase())===r)return e.hierarchy.lvl2;if((null==e?void 0:null===(a=e.hierarchy)||void 0===a?void 0:null===(s=a.lvl1)||void 0===s?void 0:s.replace(l,"-").toLowerCase())===r)return e.hierarchy.lvl1}return null!==(d=null==e?void 0:null===(r=e.hierarchy)||void 0===r?void 0:r.lvl1)&&void 0!==d?d:null==e?void 0:null===(l=e.hierarchy)||void 0===l?void 0:l.lvl0},{hitGroups:b,hitList:_,queryHighlightTokens:k}=(0,w.useMemo)(()=>{var e;if("*"===j.results.query||""===j.results.query)return{hitGroups:null};let r=null===(e=j.results)||void 0===e?void 0:e.hits.map(e=>{var r,l,t,i,n,o,s,a,d;return{url:new URL(e.url),topicHeader:e.hierarchy.lvl0,topicSubHeader:getSubHeader(e),summary:null!==(d=null!==(a=null!==(s=null!==(o=e.content)&&void 0!==o?o:null===(r=e.hierarchy)||void 0===r?void 0:r.lvl3)&&void 0!==s?s:null===(l=e.hierarchy)||void 0===l?void 0:l.lvl2)&&void 0!==a?a:null===(t=e.hierarchy)||void 0===t?void 0:t.lvl1)&&void 0!==d?d:null===(i=e.hierarchy)||void 0===i?void 0:i.lvl0,rankFusionScore:null==e?void 0:null===(n=e.hybrid_search_info)||void 0===n?void 0:n.rank_fusion_score,itemIndex:NaN}});r=r.sort((e,r)=>r.rankFusionScore-e.rankFusionScore);let l=[],t=new Map,i=0;r.forEach(e=>{let r=e.url.pathname;if(t.has(r)){var l,i;let n=t.get(r);!((null===(l=n.paragraphs)||void 0===l?void 0:l.length)<4)||(null===(i=n.paragraphs)||void 0===i?void 0:i.find(r=>r.url.toString()===e.url.toString()))||(e.itemIndex=0,n.paragraphs.push(e))}else e.itemIndex=0,t.set(r,{...e,paragraphs:[e]})}),Array.from(t.values()).forEach(e=>{var r;e.itemIndex=i++,l[e.itemIndex]={url:e.url},e.paragraphs=e.paragraphs.filter(e=>{var r,l;return(null==e?void 0:null===(r=e.url)||void 0===r?void 0:r.hash)==="#unique-page-div-content"&&(e.url.hash=""),null==e?void 0:null===(l=e.url)||void 0===l?void 0:l.hash}),e.paragraphs=e.paragraphs.slice(0,3),null===(r=e.paragraphs)||void 0===r||r.forEach(e
1=>{e.itemIndex=i++,l[e.itemIndex]={url:e.url}})});let n=i;m(n);let o=j.results.query.match(/\w+/g);return{hitGroups:t,hitList:l,queryHighlightTokens:o}},[j]);return((0,w.useEffect)(()=>{if(_&&g&&-1!==v){let e=_[v];i(),f(!1);let r=e.url.pathname.replace(/^\/docs/,"");I.pathname!==r?I.push({pathname:r,hash:e.url.hash}):location.hash=e.url.hash}},[_,g,v,v,i,f]),r||null===b)?(0,t.jsx)("div",{style:{width:"100%",height:"80px"},children:(0,t.jsx)(n.M,{height:"100%",children:(0,t.jsx)(o.$,{thickness:"1px",speed:"0.65s",emptyColor:"white",color:"#0450d5",size:"md"})})}):((null==b?void 0:b.length)!==0||r)&&""!==j.results.query.trim()?(0,t.jsx)(s.r,{className:"custom-search-hits",hidden:0===b.size,autoRows:"auto",children:Array.from(b.values()).map(e=>{var r,l,n,o,m,g,f;return(0,t.jsx)(a.P,{children:(0,t.jsxs)(s.r,{children:[(0,t.jsx)(a.P,{children:(0,t.jsx)(d.f,{onClick:()=>{i()},children:(0,t.jsxs)(s.r,{borderRadius:"8px",className:e.itemIndex===v?" selected-hit":"",padding:"8px",templateColumns:"24px auto 24px",columnGap:"4px",id:"search-item-"+e.itemIndex,onMouseOverCapture:()=>{C(e.itemIndex)},children:[(0,t.jsx)(a.P,{width:"24px",height:"24px",padding:"4px",children:(0,t.jsx)(R,{stroke:"#4A5568",fill:"none",color:"transparent",strokeLinecap:"round",strokeLinejoin:"round",height:"16px",width:"16px",display:"block"})}),(0,t.jsx)(a.P,{fontSize:"16px",fontStyle:"normal",fontWeight:"500",color:"#1A202C",children:(0,t.jsx)(d.A,{href:"".concat(e.url.pathname.replace("/docs","")),as:L(),children:(0,t.jsx)(c.y$,{query:null!=k?k:"",styles:{color:"#0450D5"},children:null!==(m=null==P?void 0:null===(r=P.get(e.url.pathname))||void 0===r?void 0:r.heading)&&void 0!==m?m:e.topicHeader||""})})}),(0,t.jsx)(a.P,{className:"hit-enter-icon-visible",children:(0,t.jsx)(q,{height:"24px",width:"24px",padding:"5px"})}),(0,t.jsx)(a.P,{}),(0,t.jsx)(a.P,{children:(0,t.jsx)(u.a,{fontSize:"12px",fontStyle:"normal",color:"#4A5568",spacing:"4px",children:null!==(g=null==P?void 0:null===(n=P.get(e.url.pathname))||void 0===n?void 0:null===(l=n.parents)||void 0===l?void 0:l.map(e=>(0,t.jsx)(h.g,{children:(0,t.jsx)(p.A,{textDecoration:"none",style:{whiteSpace:"nowrap"},children:e.heading})})))&&void 0!==g?g:null})})]})})}),(0,t.jsx)(a.P,{children:(0,t.jsx)(s.r,{autoRows:"auto",padding:"8px",paddingTop:"0px",paddingLeft:"20px",rowGap:"0px",children:null!==(f=null===(o=e.paragraphs)||void 0===o?void 0:o.map(e=>{var r,l;return(0,t.jsx)(a.P,{borderLeft:"1px solid #e1e4eb",paddingLeft:"8px",children:(0,t.jsx)(d.f,{fontSize:"14px",fontStyle:"normal",fontWeight:"400",onClick:()=>{i()},children:(0,t.jsxs)(s.r,{templateColumns:"24px auto 24px",columnGap:"2px",borderRadius:"8px",padding:"2px",paddingLeft:"6px",className:e.itemIndex===v?" selected-hit":"",id:"search-item-"+e.itemIndex,onMouseOverCapture:()=>{C(e.itemIndex)},children:[(0,t.jsx)(a.P,{width:"24px",height:"24px",padding:"3px",children:(0,t.jsx)(E,{width:"18px",height:"18px",margin:"0",color:"#718096"})}),(0,t.jsxs)(a.P,{padding:"4px",paddingLeft:"0px",children:[e.topicSubHeader!==e.summary?(0,t.jsx)(x.xu,{fontWeight:"500",children:(0,t.jsx)(c.y$,{query:null!=k?k:"",styles:{color:"#0450D5"},children:null!==(r=e.topicSubHeader)&&void 0!==r?r:""})}):null,(0,t.jsx)(d.A,{href:"".concat(e.url.pathname.replace("/docs","")).concat(e.url.hash),as:L(),children:(0,t.jsx)(c.y$,{query:null!=k?k:"",styles:{color:"#0450D5"},children:null!==(l=e.summary)&&void 0!==l?l:""})})]}),(0,t.jsx)(a.P,{className:"hit-enter-icon-visible",children:(0,t.jsx)(q,{height:"24px",width:"24px",padding:"5px"})})]})})})}))&&void 0!==f?f:null})})]})})})}):(0,t.jsxs)("div",{className:"empty-result",children:[" ",(0,t.jsx)("div",{children:z}),"No search result found for â".concat(l,"â")]})},CustomApiHits=e=>{let{isLoading:r,queryCache:l,closeSearchBox:i,getItemProps:s,getMenuProps:a,highlightedIndex:d,handleDataFromChild:u,...h}=e,p=(0,S.O)(h),{apiVersion:v}=(0,H.g)(),C=p.results.query.match(/\w+/g),m=(0,B.AZ)(v),{hitList:g}=(0,w.useMemo)(()=>{if("*"===p.results.query||""===p.results.query)return{hitList:null};let e=p.results.hits;if(e&&0===e.length)return{hitList:[]};let r=e.map(e=>({url:e.url,url_without_anchor:e.url_without_anchor,content:e.content}));return{hitList:r}},[p,m]);if((0,w.useEffect)(()=>{u(Array.isArray(g)?g:[])},[JSON.stringify(g)]),r||null===g)return(0,t.jsx)("div",{style:{width:"100%",height:"80px"},children:(0,t.jsx)(n.M,{height:"100%",children:(0,t.jsx)(o.$,{thickness:"1px",speed:"0.65s",emptyColor:"white",color:"#0450d5",size:"md"})})});if(!r&&(null==g?void 0:g.length)===0||""===p.results.query.trim())return(0,t.jsxs)("div",{className:"empty-result",children:[" ",(0,t.jsx)("div",{children:z}),"No search result found for â".concat(l,"â")]});let f=(0,t.jsx)("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.85489 3.1452C4.90146 3.19165 4.9384 3.24682 4.96361 3.30757C4.98881 3.36832 5.00179 3.43344 5.00179 3.4992C5.00179 3.56497 4.98881 3.63009 4.96361 3.69084C4.9384 3.75158 4.90146 3.80676 4.85489 3.8532L1.70789 6.9992L4.85489 10.1452C4.94878 10.2391 5.00153 10.3664 5.00153 10.4992C5.00153 10.632 4.94878 10.7593 4.85489 10.8532C4.76101 10.9471 4.63367 10.9998 4.50089 10.9998C4.36812 10.9998 4.24078 10.9471 4.14689 10.8532L0.646894 7.3532C0.600331 7.30676 0.563388 7.25158 0.538181 7.19084C0.512975 7.13009 0.5 7.06497 0.5 6.9992C0.5 6.93344 0.512975 6.86832 0.538181 6.80757C0.563388 6.74682 0.600331 6.69165 0.646894 6.6452L4.14689 3.1452C4.19334 3.09864 4.24852 3.0617 4.30926 3.03649C4.37001 3.01128 4.43513 2.99831 4.50089 2.99831C4.56666 2.99831 4.63178 3.01128 4.69253 3.03649C4.75327 3.0617 4.80845 3.09864 4.85489 3.1452ZM11.1469 3.1452C11.1003 3.19165 11.0634 3.24682 11.0382 3.30757C11.013 3.36832 11 3.43344 11 3.4992C11 3.56497 11.013 3.63009 11.0382 3.69084C11.0634 3.75158 11.1003 3.80676 11.1469 3.8532L14.2939 6.9992L11.1469 10.1452C11.1004 10.1917 11.0635 10.2469 11.0384 10.3076C11.0132 10.3684 11.0003 10.4335 11.0003 10.4992C11.0003 10.5649 11.0132 10.63 11.0384 10.6908C11.0635 10.7515 11.1004 10.8067 11.1469 10.8532C11.1934 10.8997 11.2486 10.9366 11.3093 10.9617C11.3701 10.9869 11.4352 10.9998 11.5009 10.9998C11.5666 10.9998 11.6317 10.9869 11.6925 10.9617C11.7532 10.9366 11.8084 10.8997 11.8549 10.8532L15.3549 7.3532C15.4015 7.30676 15.4384 7.25158 15.4636 7.19084C15.4888 7.13009 15.5018 7.06497 15.5018 6.9992C15.5018 6.93344 15.4888 6.86832 15.4636 6.80757C15.4384 6.74682 15.4015 6.69165 15.3549 6.6452L11.8549 3.1452C11.8084 3.09864 11.7533 3.0617 11.6925 3.03649C11.6318 3.01128 11.5667 2.99831 11.5009 2.99831C11.4351 2.99831 11.37 3.01128 11.3093 3.03649C11.2485 3.0617 11.1933 3.09864 11.1469 3.1452ZM10.1479 0.0212037C10.2745 0.0603775 10.3804 0.148211 10.4422 0.265404C10.5041 0.382598 10.5169 0.519563 10.4779 0.646204L6.47789 13.6462C6.43506 13.7681 6.3467 13.8687 6.23133 13.9269C6.11596 13.9851 5.98254 13.9963 5.85905 13.9583C5.73556 13.9203 5.63158 13.836 5.56891 13.723C5.50624 13.61 5.48975 13.4771 5.52289 13.3522L9.52289 0.352204C9.56207 0.2256 9.6499 0.119727 9.7671 0.0578489C9.88429 -0.00402905 10.0213 -0.0168499 10.1479 0.0222037V0.0212037Z",fill:"#4A5568"})}),y={get:"#F2F8F6",post:"#F3F8FB",patch:"#FBF6F4",delete:"#FEF3F3"},j={get:"#027C4A",post:"#0E75B0",patch:"#B7501D",delete:"#E01010"};return(0,t.jsxs)("div",{children:[g.map((e,r)=>{var l,n,o,a,u;let h=null===(l=m[e.url_without_anchor])||void 0===l?void 0:l.method;return(0,t.jsx)(L(),{href:null==e?void 0:e.url_without_anchor.replace("https://stage.imagekit.io/docs",""),onClick:()=>{i()},children:(0,t.jsxs)("div",{className:"wrapper",style:{...d===r&&{backgroundColor:"#f3f8ff",borderRadius:"8px"}},...s({item:e,index:r}),children:[(0,t.jsx)("div",{className:"icon",children:f}),(0,t.jsxs)("div",{className:"content",children:[(0,t.jsxs)("div",{className:"heading-wrapper",children:[h&&(0,t.jsx)("div",{style:{color:"".concat(y[h.toLowerCase()]),background:"".concat(j[h.toLowerCase()])},className:"method",children:h}),(0,t.jsx)("div",{className:"heading",children:(0,t.jsx)(c.y$,{styles:{color:"#0450D5"},query:null!=C?C:"",children:null!==(a=null===(n=m[e.url_without_anchor])||void 0===n?void 0:n.summary)&&void 0!==a?a:"ImageKit API"})})]}),(0,t.jsx)(x.xu,{noOfLines:3,className:"description",children:null!==(u=null===(o=m[e.url_without_anchor])||void 0===o?void 0:o.description)&&void 0!==u?u:e.content})]}),(0,t.jsx)("div",{style:{...d===r?{visibility:"visible"}:{visibility:"hidden"}},children:(0,t.jsx)(q,{height:"24px",width:"24px",padding:"5px"})})]})})}),(0,t.jsx)("style",{children:"\n .wrapper {\n padding: 8px;\n display:flex;\n flex-direction:row;\n gap:4px;\n align-items:center;\n }\n .icon{\n height:24px;\n padding: 0px 4px;\n display:flex;\n align-self:flex-start;\n align-items:center;\n }\n .content {\n flex-direction: column;\n gap:8px;\n display:flex;\n }\n .heading-wrapper {\n flex-direction: row;\n gap:4px;\n display:flex;\n align-items:center;\n }\n .heading {\n font-weight:500;\n font-size:16px;\n line-height:24px;\n color: var(--Text-primary, #1a202c);\n }\n .method {\n font-size: 12px;\n font-weight: 500;\n line-height: 150%;\n text-transform: uppercase;\n border-radius: 2px;\n padding: 0px 4px;\n }\n\n .description{\n font-weight:400;\n font-size:14px;\n line-height:21px;\n color: var(--Text-secondary, #4a5568);\n }\n "})]})},V="",FakeSearchBox=e=>{let{openSearchBox:r}=e;return(0,t.jsx)("div",{className:"ais-SearchBox sroot desktop-hover-bg",style:{cursor:"pointer"},onClick:r,children:(0,t.jsx)("div",{className:"ais-SearchBox-form sform",style:{cursor:"pointer"},children:(0,t.jsx)("span",{className:"ais-SearchBox-input sinput",style:{cursor:"pointer",color:"#718096",fontSize:"14px",lineHeight:"150%",overflow:"hidden",
1whiteSpace:"nowrap",textOverflow:"ellipsis"},children:(null==V?void 0:V.length)?V:"Search"})})})},CustomSearchBox=e=>{let{closeSearchBox:r,isApiSearch:l=!1,setInputValue:i,inputValue:n,inputRef:o,highlightedIndex:s,getMenuProps:a,getItemProps:d,handleDataFromChild:c,selectedItem:u,openMenu:h,closeMenu:p,getToggleButtonProps:x,...C}=e,{refine:m,query:g}=(0,I.l)(C),{status:f}=(0,b.b)();(0,w.useEffect)(()=>{let e;return e=setTimeout(()=>{setQuery(n)},100),()=>{clearTimeout(e)}},[n]);let setQuery=e=>{i(e),m(e)};(0,w.useEffect)(()=>{"*"===g&&setQuery(g)},[g]);let y="stalled"===f;(0,w.useEffect)(()=>{"idle"===f&&(null==n?void 0:n.length)?V=n:"loading"===f&&(null==n?void 0:n.length)===0&&(V=n)},[f,n]);let j=function(e,r){let[l,t]=(0,w.useState)(e);return(0,w.useEffect)(()=>{let l=setTimeout(()=>{t(e)},r);return()=>{clearTimeout(l)}},[e,r]),l}(n,100);(0,w.useEffect)(()=>{m(j)},[j]);let L=(0,w.useCallback)(e=>{o.current&&(o.current.value=e,setQuery(e))},[o.current]);(0,w.useEffect)(()=>{L(V)},[o.current]);let[S,_]=(0,w.useState)(-1),[k,B]=(0,w.useState)(0),[N,F]=(0,w.useState)(!1);return(0,w.useEffect)(()=>{_(-1)},[n]),(0,w.useEffect)(()=>{let e=document.getElementById("search-item-"+S);null!==e&&("function"==typeof e.scrollIntoViewIfNeeded?e.scrollIntoViewIfNeeded():e.scrollIntoView({behavior:"smooth",block:"nearest"}))},[S]),(0,t.jsxs)("div",{onMouseEnter:h,onMouseLeave:p,children:[(0,t.jsx)(v.h,{children:(0,t.jsx)("div",{className:"ais-SearchBox sroot sroot-select",onKeyDownCapture:e=>{if(l)" "===e.key&&i(e=>e+" ");else switch(e.key){case"ArrowDown":S<k-1&&_(S+1);break;case"ArrowUp":S>0&&_(S-1);break;case"Enter":F(!0)}},children:(0,t.jsxs)("form",{className:"ais-SearchBox-form sform",action:"",role:"search",noValidate:!0,onSubmit:e=>{e.preventDefault(),e.stopPropagation(),o.current&&o.current.blur()},children:[(0,t.jsx)("input",{className:"ais-SearchBox-input sinput",...x&&x(),ref:o,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",placeholder:"Search",spellCheck:!1,maxLength:512,type:"search",value:n,onChange:e=>{i(null==e?void 0:e.target.value)},autoFocus:!0}),(0,t.jsx)("button",{className:"ais-SearchBox-reset",title:"Clear the search query",hidden:y,onClick:()=>{V="",r(),setQuery("")},children:(0,t.jsx)(A,{height:"10px",width:"10px"})}),(0,t.jsx)("span",{className:"ais-SearchBox-loadingIndicator",hidden:!y,children:(0,t.jsx)(SearchInProgressIcon,{width:"16px",height:"16px",stroke:"silver",class:"ais-SearchBox-loadingIcon"})})]})})}),l?(0,t.jsx)(CustomApiHits,{queryCache:n,closeSearchBox:r,highlightedIndex:s,getMenuProps:a,getItemProps:d,handleDataFromChild:c,isLoading:y}):(0,t.jsx)(CustomHits,{queryCache:n,closeSearchBox:r,selectedItemIndex:S,updateSelectedIndexItem:_,updateTotalHitItems:B,goTo:N,updateGoTo:F,isLoading:y})]})},FocusedSearch=e=>{let{closeSearchBox:r,setInputValue:l,inputValue:i,inputRef:n}=e;return(0,t.jsx)(_.p,{searchClient:D.searchClient,indexName:"imagekit_guides_production_collection",children:(0,t.jsx)(CustomSearchBox,{closeSearchBox:r,setInputValue:l,inputValue:i,inputRef:n})})},FocusedSearchAPI=e=>{let{closeSearchBox:r,setInputValue:l,inputValue:i,inputRef:n,highlightedIndex:o,getMenuProps:s,selectedItem:a,handleDataFromChild:d,getItemProps:c,openMenu:u,closeMenu:h,getToggleButtonProps:p}=e;return(0,t.jsx)(_.p,{searchClient:T.searchClient,indexName:"imagekit_api_production_collection",children:(0,t.jsx)(CustomSearchBox,{closeSearchBox:r,isApiSearch:!0,setInputValue:l,inputValue:i,inputRef:n,highlightedIndex:o,getMenuProps:s,selectedItem:a,handleDataFromChild:d,getItemProps:c,openMenu:u,closeMenu:h,getToggleButtonProps:p})})},Search=e=>{let{closeSearchBox:r}=e,[l,i]=(0,w.useState)(""),[n,o]=(0,w.useState)([]),s=(0,w.useRef)(null),a=(0,w.useRef)(null),d=(0,F.useRouter)(),{selectedItem:c,getToggleButtonProps:u,getMenuProps:h,highlightedIndex:p,getItemProps:x,openMenu:v,closeMenu:j}=(0,M.L7)({items:n,itemToString:function(e){return e?e.url:""},stateReducer:function(e,l){let{changes:t,type:i}=l;if(i===M.L7.stateChangeTypes.ToggleButtonKeyDownEnter){var n;return(null==t?void 0:null===(n=t.selectedItem)||void 0===n?void 0:n.url_without_anchor)&&(d.push(t.selectedItem.url_without_anchor.replace("https://stage.imagekit.io/docs","")),r()),t}return t}});return(0,t.jsxs)("div",{style:{alignSelf:"flex-start"},children:[(0,t.jsx)("div",{className:"focused-search-cover",onClick:r}),(0,t.jsx)("div",{className:"tab-wrapper",children:(0,t.jsxs)(C.m,{border:"1px",visibility:""===l||"*"===l?"hidden":"visible",borderColor:"rgba(225, 228, 235, 1)",borderRadius:"16px",backgroundColor:"#FFFFFF",zIndex:"100000",children:[(0,t.jsxs)(m.t,{children:[(0,t.jsx)(g.O,{style:{fontSize:"16px",fontWeight:500},_selected:{color:"#0450d5",borderColor:"#0450d5",borderBottomWidth:"2px"},_hover:{color:"#0340AA"},onClick:()=>{var e;null==s||null===(e=s.current)||void 0===e||e.focus()},children:"Guides"}),(0,t.jsx)(g.O,{style:{fontSize:"16px",fontWeight:500},_selected:{color:"#0450d5",borderColor:"#0450d5",borderBottomWidth:"2px"},_hover:{color:"#0340AA"},onClick:()=>{var e;null==a||null===(e=a.current)||void 0===e||e.focus()},children:"API Reference"})]}),(0,t.jsxs)(f.n,{maxHeight:"70vh",overflowY:"auto",borderRadius:"16px",...h(),children:[(0,t.jsx)(y.x,{padding:"0px",children:(0,t.jsx)(FocusedSearch,{closeSearchBox:r,setInputValue:i,inputValue:l,inputRef:s})}),(0,t.jsx)(y.x,{padding:"8px",children:(0,t.jsx)(FocusedSearchAPI,{highlightedIndex:p,getMenuProps:h,selectedItem:c,getItemProps:x,handleDataFromChild:function(e){o(e)},closeSearchBox:r,setInputValue:i,inputValue:l,inputRef:a,openMenu:v,closeMenu:j,getToggleButtonProps:u})})]})]})})]})}},99964:function(){}}]);
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.