1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["5847"],{4907(e,t,r){r.r(t),r.d(t,{default:()=>T});var s=r(4848),a=r(6540),l=r(898),n=r(816),c=r(3572),o=r(5310),u=r(568);let i=["zero","one","two","few","many","other"];function h(e){return i.filter(t=>e.includes(t))}let m={locale:"en",pluralForms:h(["one","other"]),select:e=>1===e?"one":"other"};var d=r(4164),g=r(6347),p=r(9863),f=r(3681);let x=function(){let e=(0,p.A)(),t=(0,g.W6)(),r=(0,g.zy)(),{siteConfig:{baseUrl:s}}=(0,l.A)(),a=e?new URLSearchParams(r.search):null,n=a?.get("q")||"",c=a?.get("ctx")||"",o=a?.get("version")||"",u=e=>{let t=new URLSearchParams(r.search);return e?t.set("q",e):t.delete("q"),t};return{searchValue:n,searchContext:c&&Array.isArray(f.Hg)&&f.Hg.some(e=>"string"==typeof e?e===c:e.path===c)?c:"",searchVersion:o,updateSearchPath:e=>{let r=u(e);t.replace({search:r.toString()})},updateSearchContext:e=>{let s=new URLSearchParams(r.search);s.set("ctx",e),t.replace({search:s.toString()})},generateSearchPageLink:e=>{let t=u(e);return`${s}search?${t.toString()}`}}};var y=r(9988),j=r(9137),S=r(177),A=r(429),w=r(1234),C=r(3962),v=r(8127),P=r(9553);function F(){let e,{siteConfig:{baseUrl:t},i18n:{currentLocale:r}}=(0,l.A)(),{selectMessage:n}=(e=function(){let{i18n:{currentLocale:e}}=(0,l.A)();return(0,a.useMemo)(()=>{try{let t;return t=new Intl.PluralRules(e),{locale:e,pluralForms:h(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}". 2Docusaurus will fallback to the default (English) implementation. 3Error: ${t.message} 4`),m}},[e])}(),{selectMessage:(t,r)=>(function(e,t,r){let s=e.split("|");if(1===s.length)return s[0];s.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms.join(",")}), but the message contains ${s.length}: ${e}`);let a=r.select(t);return s[Math.min(r.pluralForms.indexOf(a),s.length-1)]})(r,t,e)}),{searchValue:o,searchContext:i,searchVersion:g,updateSearchPath:p,updateSearchContext:j}=x(),[S,A]=(0,a.useState)(o),[w,v]=(0,a.useState)(),F=`${t}${g}`,T=(0,a.useMemo)(()=>S?(0,u.T)({id:"theme.SearchPage.existingResultsTitle",message:'Search results for "{query}"',description:"The search page title for non-empty query"},{query:S}):(0,u.T)({id:"theme.SearchPage.emptyResultsTitle",message:"Search the documentation",description:"The search page title for empty query"}),[S]);(0,a.useEffect)(()=>{p(S),S?(async()=>{v(await (0,y.w)(F,i,S,100))})():v(void 0)},[S,F,i]);let _=(0,a.useCallback)(e=>{A(e.target.value)},[]);(0,a.useEffect)(()=>{o&&o!==S&&A(o)},[o]);let[$,b]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{!async function(){(!Array.isArray(f.Hg)||i||f.dz)&&await (0,y.k)(F,i),b(!0)}()},[i,F]),(0,s.jsxs)(a.Fragment,{children:[(0,s.jsxs)(c.A,{children:[(0,s.jsx)("meta",{property:"robots",content:"noindex, follow"}),(0,s.jsx)("title",{children:T})]}),(0,s.jsxs)("div",{className:"container margin-vert--lg",children:[(0,s.jsx)("h1",{children:T}),(0,s.jsxs)("div",{className:"row",children:[(0,s.jsx)("div",{className:(0,d.A)("col",{searchQueryColumn_q7nx:Array.isArray(f.Hg),"col--9":Array.isArray(f.Hg),"col--12":!Array.isArray(f.Hg)}),children:(0,s.jsx)("input",{type:"search",name:"q",className:"searchQueryInput_CFBF","aria-label":"Search",onChange:_,value:S,autoComplete:"off",autoFocus:!0})}),Array.isArray(f.Hg)?(0,s.jsx)("div",{className:(0,d.A)("col","col--3","padding-left--none","searchContextColumn_oWAF"),children:(0,s.jsxs)("select",{name:"search-context",className:"searchContextInput_mXoe",id:"context-selector",value:i,onChange:e=>j(e.target.value),children:[f.dz&&(0,s.jsx)("option",{value:"",children:(0,u.T)({id:"theme.SearchPage.searchContext.everywhere",message:"Everywhere"})}),f.Hg.map(e=>{let{label:t,path:a}=(0,P.p)(e,r);return(0,s.jsx)("option",{value:a,children:t},a)})]})}):null]}),!$&&S&&(0,s.jsx)("div",{children:(0,s.jsx)(C.A,{})}),w&&(w.length>0?(0,s.jsx)("p",{children:n(w.length,(0,u.T)({id:"theme.SearchPage.documentsFound.plurals",message:"1 document found|{count} documents found",description:'Pluralized label for "{count} documents found". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)'},{count:w.length}))}):(0,s.jsx)("p",{children:(0,u.T)({id:"theme.SearchPage.noResultsText",message:"No documents were found",description:"The paragraph for empty search result"})})),(0,s.jsx)("section",{children:w&&w.map(e=>(0,s.jsx)(R,{searchResult:e},e.document.i))})]})]})}function R({searchResult:{document:e,type:t,page:r,tokens:a,metadata:l}}){let n=t===j.i.Title,c=t===j.i.Keywords,u=t===j.i.Description,i=u||c,h=n||i,m=t===j.i.Content,d=(n?e.b:r.b).slice(),g=m||i?e.s:e.t;h||d.push(r.t);let p="";if(f.CU&&a.length>0){let e=new URLSearchParams;for(let t of a)e.append("_highlight",t);p=`?${e.toString()}`}return(0,s.jsxs)("article",{className:"searchResultItem_U687",children:[(0,s.jsx)("h2",{children:(0,s.jsx)(o.A,{to:e.u+p+(e.h||""),dangerouslySetInnerHTML:{__html:m||i?(0,S.Z)(g,a):(0,A.C)(g,(0,w.g)(l,"t"),a,100)}})}),d.length>0&&(0,s.jsx)("p",{className:"searchResultItemPath_uIbk",children:(0,v.$)(d)}),(m||u)&&(0,s.jsx)("p",{className:"searchResultItemSummary_oZHr",dangerouslySetInnerHTML:{__html:(0,A.C)(e.t,(0,w.g)(l,"t"),a,100)}})]})}let T=function(){return(0,s.jsx)(n.A,{children:(0,s.jsx)(F,{})})}}}]);
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.