PageSourceSearch

https://devopsroadmap.io/assets/js/1a4e3797.0803b1de.js

js devopsroadmap.io collected 2026-10-03 23:53:32 UTC 5,827 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdynamic_devops_roadmap=self.webpackChunkdynamic_devops_roadmap||[]).push([[2138],{5846:(e,t,r)=>{r.d(t,{W:()=>u});var s=r(6540),a=r(4586);const n=["zero","one","two","few","many","other"];function c(e){return n.filter((t=>e.includes(t)))}const o={locale:"en",pluralForms:c(["one","other"]),select:e=>1===e?"one":"other"};function l(){const{i18n:{currentLocale:e}}=(0,a.A)();return(0,s.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:c(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),o}}),[e])}function u(){const e=l();return{selectMessage:(t,r)=>function(e,t,r){const 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}`);const a=r.select(t),n=r.pluralForms.indexOf(a);return s[Math.min(n,s.length-1)]}(r,t,e)}}},1283:(e,t,r)=>{r.r(t),r.d(t,{default:()=>N});var s=r(6540),a=r(4586),n=r(6250),c=r(5260),o=r(8774),l=r(1312),u=r(5846),i=r(5391),h=r(6347),d=r(2303),m=r(1088);const p=function(){const e=(0,d.A)(),t=(0,h.W6)(),r=(0,h.zy)(),{siteConfig:{baseUrl:s}}
1=(0,a.A)(),n=e?new URLSearchParams(r.search):null,c=n?.get("q")||"",o=n?.get("ctx")||"",l=n?.get("version")||"",u=e=>{const t=new URLSearchParams(r.search);return e?t.set("q",e):t.delete("q"),t};return{searchValue:c,searchContext:o&&Array.isArray(m.Hg)&&m.Hg.some((e=>"string"==typeof e?e===o:e.path===o))?o:"",searchVersion:l,updateSearchPath:e=>{const r=u(e);t.replace({search:r.toString()})},updateSearchContext:e=>{const s=new URLSearchParams(r.search);s.set("ctx",e),t.replace({search:s.toString()})},generateSearchPageLink:e=>{const t=u(e);return`${s}search?${t.toString()}`}}};var g=r(5891),f=r(2384),x=r(9913),y=r(6841),j=r(3810),S=r(7674),v=r(2849),A=r(4471);const C="searchContextInput_mXoe",w="searchQueryInput_CFBF",_="searchResultItem_U687",P="searchResultItemPath_uIbk",b="searchResultItemSummary_oZHr",F="searchQueryColumn_q7nx",R="searchContextColumn_oWAF";var T=r(3385),$=r(4848);function I(){const{siteConfig:{baseUrl:e},i18n:{currentLocale:t}}=(0,a.A)(),{selectMessage:r}=(0,u.W)(),{searchValue:n,searchContext:o,searchVersion:h,updateSearchPath:d,updateSearchContext:x}=p(),[y,j]=(0,s.useState)(n),[S,A]=(0,s.useState)(),[_,P]=(0,s.useState)(),b=`${e}${h}`,I=(0,s.useMemo)((()=>y?(0,l.T)({id:"theme.SearchPage.existingResultsTitle",message:'Search results for "{query}"',description:"The search page title for non-empty query"},{query:y}):(0,l.T)({id:"theme.SearchPage.emptyResultsTitle",message:"Search the documentation",description:"The search page title for empty query"})),[y]);(0,s.useEffect)((()=>{d(y),S&&(y?S(y,(e=>{P(e)})):P(void 0))}),[y,S]);const N=(0,s.useCallback)((e=>{j(e.target.value)}),[]);return(0,s.useEffect)((()=>{n&&n!==y&&j(n)}),[n]),(0,s.useEffect)((()=>{!async function(){const{wrappedIndexes:e,zhDictionary:t}=!Array.isArray(m.Hg)||o||m.dz?await(0,g.Z)(b,o):{wrappedIndexes:[],zhDictionary:[]};A((()=>(0,f.m)(e,t,100)))}()}),[o,b]),(0,$.jsxs)(s.Fragment,{children:[(0,$.jsxs)(c.A,{children:[(0,$.jsx)("meta",{property:"robots",content:"noindex, follow"}),(0,$.jsx)("title",{children:I})]}),(0,$.jsxs)("div",{className:"container margin-vert--lg",children:[(0,$.jsx)("h1",{children:I}),(0,$.jsxs)("div",{className:"row",children:[(0,$.jsx)("div",{className:(0,i.A)("col",{[F]:Array.isArray(m.Hg),"col--9":Array.isArray(m.Hg),"col--12":!Array.isArray(m.Hg)}),children:(0,$.jsx)("input",{type:"search",name:"q",className:w,"aria-label":"Search",onChange:N,value:y,autoComplete:"off",autoFocus:!0})}),Array.isArray(m.Hg)?(0,$.jsx)("div",{className:(0,i.A)("col","col--3","padding-left--none",R),children:(0,$.jsxs)("select",{name:"search-context",className:C,id:"context-selector",value:o,onChange:e=>x(e.target.value),children:[m.dz&&(0,$.jsx)("option",{value:"",children:(0,l.T)({id:"theme.SearchPage.searchContext.everywhere",message:"Everywhere"})}),m.Hg.map((e=>{const{label:r,path:s}=(0,T.p)(e,t);return(0,$.jsx)("option",{value:s,children:r},s)}))]})}):null]}),!S&&y&&(0,$.jsx)("div",{children:(0,$.jsx)(v.A,{})}),_&&(_.length>0?(0,$.jsx)("p",{children:r(_.length,(0,l.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:_.length}))}):(0,$.jsx)("p",{children:(0,l.T)({id:"theme.SearchPage.noResultsText",message:"No documents were found",description:"The paragraph for empty search result"})})),(0,$.jsx)("section",{children:_&&_.map((e=>(0,$.jsx)(H,{searchResult:e},e.document.i)))})]})]})}function H({searchResult:{document:e,type:t,page:r,tokens:s,metadata:a}}){const n=t===x.i.Title,c=t===x.i.Keywords,l=t===x.i.Description,u=l||c,i=n||u,h=t===x.i.Content,d=(n?e.b:r.b).slice(),p=h||u?e.s:e.t;i||d.push(r.t);let g="";if(m.CU&&s.length>0){const e=new URLSearchParams;for(const t of s)e.append("_highlight",t);g=`?${e.toString()}`}return(0,$.jsxs)("article",{className:_,children:[(0,$.jsx)("h2",{children:(0,$.jsx)(o.A,{to:e.u+g+(e.h||""),dangerouslySetInnerHTML:{__html:h||u?(0,y.Z)(p,s):(0,j.C)(p,(0,S.g)(a,"t"),s,100)}})}),d.length>0&&(0,$.jsx)("p",{className:P,children:(0,A.$)(d)}),(h||l)&&(0,$.jsx)("p",{className:b,dangerouslySetInnerHTML:{__html:(0,j.C)(e.t,(0,S.g)(a,"t"),s,100)}})]})}const N=function(){return(0,$.jsx)(n.A,{children:(0,$.jsx)(I,{})})}}}]);

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.