1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["5847"],{16497(e,t,r){r.d(t,{W:()=>o});var l=r(96540),s=r(10898);let a=["zero","one","two","few","many","other"];function n(e){return a.filter(t=>e.includes(t))}let c={locale:"en",pluralForms:n(["one","other"]),select:e=>1===e?"one":"other"};function o(){let e=function(){let{i18n:{currentLocale:e}}=(0,s.A)();return(0,l.useMemo)(()=>{try{let t;return t=new Intl.PluralRules(e),{locale:e,pluralForms:n(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`),c}},[e])}();return{selectMessage:(t,r)=>(function(e,t,r){let l=e.split("|");if(1===l.length)return l[0];l.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 ${l.length}: ${e}`);let s=r.select(t);return l[Math.min(r.pluralForms.indexOf(s),l.length-1)]})(r,t,e)}}},39936(e,t,r){r.r(t),r.d(t,{default:()=>F});var l=r(74848),s=r(96540),a=r(10898),n=r(15571),c=r(53572),o=r(95310),u=r(30568),i=r(16497),h=r(34164),m=r(56347),d=r(19863);let p=function(){let e=(0,d.A)(),t=(0,m.W6)(),r=(0,m.zy)(),{siteConfig:{baseUrl:l}}
4=(0,a.A)(),s=e?new URLSearchParams(r.search):null,n=s?.get("q")||"",c=s?.get("ctx")||"",o=s?.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(null)&&null.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 l=new URLSearchParams(r.search);l.set("ctx",e),t.replace({search:l.toString()})},generateSearchPageLink:e=>{let t=u(e);return`${l}search?${t.toString()}`}}};var g=r(29988),f=r(79137),x=r(50177),y=r(429),j=r(1234),A=r(3962),S=r(38127),w=r(39553);function C(){let{siteConfig:{baseUrl:e},i18n:{currentLocale:t}}=(0,a.A)(),{selectMessage:r}=(0,i.W)(),{searchValue:n,searchContext:o,searchVersion:m,updateSearchPath:d,updateSearchContext:f}=p(),[x,y]=(0,s.useState)(n),[j,S]=(0,s.useState)(),C=`${e}${m}`,F=(0,s.useMemo)(()=>x?(0,u.T)({id:"theme.SearchPage.existingResultsTitle",message:'Search results for "{query}"',description:"The search page title for non-empty query"},{query:x}):(0,u.T)({id:"theme.SearchPage.emptyResultsTitle",message:"Search the documentation",description:"The search page title for empty query"}),[x]);(0,s.useEffect)(()=>{d(x),x?(async()=>{S(await (0,g.w)(C,o,x,100))})():S(void 0)},[x,C,o]);let P=(0,s.useCallback)(e=>{y(e.target.value)},[]);(0,s.useEffect)(()=>{n&&n!==x&&y(n)},[n]);let[R,T]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{!async function(){(!Array.isArray(null)||o)&&await (0,g.k)(C,o),T(!0)}()},[o,C]),(0,l.jsxs)(s.Fragment,{children:[(0,l.jsxs)(c.A,{children:[(0,l.jsx)("meta",{property:"robots",content:"noindex, follow"}),(0,l.jsx)("title",{children:F})]}),(0,l.jsxs)("div",{className:"container margin-vert--lg",children:[(0,l.jsx)("h1",{children:F}),(0,l.jsxs)("div",{className:"row",children:[(0,l.jsx)("div",{className:(0,h.A)("col",{searchQueryColumn_q7nx:Array.isArray(null),"col--9":Array.isArray(null),"col--12":!Array.isArray(null)}),children:(0,l.jsx)("input",{type:"search",name:"q",className:"searchQueryInput_CFBF","aria-label":"Search",onChange:P,value:x,autoComplete:"off",autoFocus:!0})}),Array.isArray(null)?(0,l.jsx)("div",{className:(0,h.A)("col","col--3","padding-left--none","searchContextColumn_oWAF"),children:(0,l.jsxs)("select",{name:"search-context",className:"searchContextInput_mXoe",id:"context-selector",value:o,onChange:e=>f(e.target.value),children:[!1,null.map(e=>{let{label:r,path:s}=(0,w.p)(e,t);return(0,l.jsx)("option",{value:s,children:r},s)})]})}):null]}),!R&&x&&(0,l.jsx)("div",{children:(0,l.jsx)(A.A,{})}),j&&(j.length>0?(0,l.jsx)("p",{children:r(j.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:j.length}))}):(0,l.jsx)("p",{children:(0,u.T)({id:"theme.SearchPage.noResultsText",message:"No documents were found",description:"The paragraph for empty search result"})})),(0,l.jsx)("section",{children:j&&j.map(e=>(0,l.jsx)(v,{searchResult:e},e.document.i))})]})]})}function v({searchResult:{document:e,type:t,page:r,tokens:s,metadata:a}}){let n=t===f.i.Title,c=t===f.i.Keywords,u=t===f.i.Description,i=u||c,h=n||i,m=t===f.i.Content,d=(n?e.b:r.b).slice(),p=m||i?e.s:e.t;return h||d.push(r.t),(0,l.jsxs)("article",{className:"searchResultItem_U687",children:[(0,l.jsx)("h2",{children:(0,l.jsx)(o.A,{to:e.u+""+(e.h||""),dangerouslySetInnerHTML:{__html:m||i?(0,x.Z)(p,s):(0,y.C)(p,(0,j.g)(a,"t"),s,100)}})}),d.length>0&&(0,l.jsx)("p",{className:"searchResultItemPath_uIbk",children:(0,S.$)(d)}),(m||u)&&(0,l.jsx)("p",{className:"searchResultItemSummary_oZHr",dangerouslySetInnerHTML:{__html:(0,y.C)(e.t,(0,j.g)(a,"t"),s,100)}})]})}let F=function(){return(0,l.jsx)(n.A,{children:(0,l.jsx)(C,{})})}}}]);
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.