"use strict";const click="click",mouseenter="mouseenter",mouseleave="mouseleave",active="active",keyup="keyup",keydown="keydown",button="button",ariaLabel="aria-label",ariaExpanded="aria-expanded",ariaSelected="aria-selected",ariaControls="aria-controls",tabIndex="tabindex"; "use strict";const keyCodes=Object.freeze({DOWN:40,END:35,ESC:27,HOME:36,LEFT:37,PAGEDOWN:34,PAGEUP:33,RETURN:13,RIGHT:39,SPACE:32,TAB:9,UP:38});function copyToClipboard(a){const b=document.getSelection();if(b){const c=document.createElement("textarea");if(c.value=a,c.setAttribute("readonly",""),c.style.position="absolute",c.style.left="-9999px",document.body.appendChild(c),0
"+a+"
"),b.document.close(),b.focus(),b.print(),b.close())}function navigateToUrlOrRoot(a){const b=new XMLHttpRequest;b.open("GET",a,!0),b.onreadystatechange=()=>{if(4===b.readyState&&404===b.status){const b=new URL(a);b.pathname="",a=b.toString()}window.location.href=a},b.send()}function createCookie(a,b){document.cookie=a+"="+b+"; path=/"}function getById(a){return document.getElementById(a)}function listen(a,b,c){a&&a.addEventListener(b,c)}function toggleAttribute(a,b){"true"===a.getAttribute(b)?a.setAttribute(b,"false"):a.setAttribute(b,"true")}function isPrintableCharacter(a){return 1===a.length&&null!=a.match(/\S/)} "use strict";class KbdNav{constructor(a){this.elements=a}focusFirstElement(){this.elements[0].focus()}focusLastElement(){this.elements[this.elements.length-1].focus()}focusNextElement(){for(let a=0;a(applyStyleSheet(lightTheme),createCookie(styleCookie,lightTheme),!1)),listen(getById(darkThemeItem),click,()=>(applyStyleSheet(darkTheme),createCookie(styleCookie,darkTheme),!1))}handleThemes(); "use strict";function handleMenu(){document.querySelectorAll(".menu").forEach(a=>{function b(){c&&c.focus()}const c=a.querySelector(".menu-trigger"),d=a.querySelector(".menu-content");if(!c||!d)return;const e=[];for(const b of d.children){const a=b;"menuitem"===a.getAttribute("role")&&e.push(a)}const f=new KbdNav(e);listen(c,click,b=>{toggleOverlay(a),toggleAttribute(b.currentTarget,ariaExpanded),b.cancelBubble=!0}),listen(c,keydown,b=>{const c=b,d=c.key;switch(c.keyCode){case keyCodes.SPACE:case keyCodes.RETURN:case keyCodes.DOWN:showOverlay(a),f.focusFirstElement();break;case keyCodes.UP:showOverlay(a),f.focusLastElement();break;default:return void(isPrintableCharacter(d)&&f.focusElementByChar(d));}c.stopPropagation(),c.preventDefault()}),e.forEach(a=>{listen(a,keydown,c=>{const d=c,e=d.key;if(d.ctrlKey||d.altKey||d.metaKey);else if(d.shiftKey)isPrintableCharacter(e)&&f.focusElementByChar(e);else{switch(d.keyCode){case keyCodes.SPACE:break;case keyCodes.RETURN:const c=new MouseEvent(click,{bubbles:!0,cancelable:!0,clientX:20,view:window});a.dispatchEvent(c);break;case keyCodes.ESC:case keyCodes.TAB:return b(),void closeActiveOverlay();case keyCodes.UP:f.focusPrevElement();break;case keyCodes.DOWN:f.focusNextElement();break;case keyCodes.HOME:case keyCodes.PAGEUP:f.focusFirstElement();break;case keyCodes.END:case keyCodes.PAGEDOWN:f.focusLastElement();break;default:return void(isPrintableCharacter(e)&&f.focusElementByChar(e));}d.stopPropagation(),d.preventDefault()}})})})}handleMenu(); "use strict";function handleHeader(){function a(){const a=getById(c);a&&a.classList.remove(g);const b=getById(d);b&&b.classList.remove(g);const e=getById(f);e&&(e.value="")}function b(){const a=getById(c);a&&a.classList.add(g);const b=getById(d);b&&b.classList.add(g);const e=getById(f);e&&e.focus()}const c="search-form",d="header-links",f="search-textbox",g="show-search",h="open-hamburger";listen(document.body,keyup,b=>{27===b.which&&(a(),closeActiveOverlay())}),listen(getById("search-show"),click,a=>{a.preventDefault(),b()}),listen(getById("search-close"),click,b=>{b.preventDefault(),a()}),listen(getById("search-form"),"submit",b=>{b.preventDefault();const c=getById(f),d=getById("search-page-url"),e=d.value+"?q="+c.value;a(),window.location.assign(e)}),listen(getById("hamburger"),click,()=>{const a=getById("brand");a&&a.classList.toggle(h);const b=getById(d);b&&b.classList.toggle(h);const e=getById(c);e&&e.classList.toggle(h);const g=getById(f);g&&g.focus()})}handleHeader(); "use strict";function handleSidebar(){function a(a){const b=a.nextElementSibling;b&&(b.classList.toggle("show"),toggleAttribute(a,ariaExpanded),b.style.maxHeight=b.classList.contains("show")?b.scrollHeight+"px":null)}const b=getById("sidebar");if(!b)return;b.querySelectorAll(".body").forEach(a=>{a.querySelectorAll(button).forEach(a=>{listen(a,click,a=>{const b=a.currentTarget;b.classList.toggle("show");const c=b.nextElementSibling;if(!c)return;const d=c.nextElementSibling;if(!d)return;toggleAttribute(d,ariaExpanded);let e=d;do e=e.parentElement;while(!e.classList.contains("body"));e.style.maxHeight=e.scrollHeight+"px"})})});const c=[];b.querySelectorAll(".header").forEach(a=>{c.push(a)});const d=new KbdNav(c);b.querySelectorAll(".header").forEach(b=>{b.classList.contains("dynamic")&&(listen(b,click,()=>{a(b)}),listen(b,keydown,c=>{const f=c,e=f.key;if(f.ctrlKey||f.altKey||f.metaKey);else if(f.shiftKey)isPrintableCharacter(e)&&d.focusElementByChar(e);else{switch(f.keyCode){case keyCodes.UP:d.focusPrevElement();break;case keyCodes.DOWN:d.focusNextElement();break;case keyCodes.HOME:d.focusFirstElement();break;case keyCodes.END:d.focusLastElement();break;case keyCodes.RETURN:a(b);break;case keyCodes.TAB:return;default:isPrintableCharacter(e)&&d.focusElementByChar(e);}f.preventDefault(),f.cancelBubble=!0}}))}),b.querySelectorAll(".body").forEach(a=>{if(a.classList.contains("default")){a.style.maxHeight=a.scrollHeight+"px",a.classList.toggle("default"),a.classList.toggle("show");const b=a.previousElementSibling;b&&toggleAttribute(b,ariaExpanded)}}),listen(getById("sidebar-toggler"),click,a=>{const b=getById("sidebar-container");if(b){b.classList.toggle(active);const c=a.currentTarget.querySelector("svg.icon");c&&c.classList.toggle("flipped")}})}handleSidebar(); "use strict";function handleTabs(){function a(a,b){document.querySelectorAll(".tabset").forEach(c=>{c.querySelectorAll(".tab-strip").forEach(c=>{const d=c;d.dataset.cookieName===a&&d.querySelectorAll("[role=tab]").forEach(a=>{const c=a.getAttribute(ariaControls);if(c){const d=getById(c);d&&(a.dataset.cookieValue===b?(a.setAttribute(ariaSelected,"true"),a.removeAttribute(tabIndex),d.removeAttribute("hidden")):(a.removeAttribute(ariaSelected),a.setAttribute(tabIndex,"-1"),d.setAttribute("hidden","")))}})})})}document.querySelectorAll(".tabset").forEach(b=>{function c(a){d(),a.removeAttribute(tabIndex),a.setAttribute(ariaSelected,"true");const b=a.getAttribute(ariaControls);if(b){const a=getById(b);a&&a.removeAttribute("hidden")}}function d(){h.forEach(a=>{a.setAttribute(tabIndex,"-1"),a.setAttribute(ariaSelected,"false")}),g.forEach(a=>{a.setAttribute("hidden","")})}const e=b.querySelector(".tab-strip");if(!e)return;const f=e.dataset.cookieName,g=b.querySelectorAll("[role=tabpanel]"),h=[];e.querySelectorAll("[role=tab]").forEach(a=>{h.push(a)});const i=new KbdNav(h);if(f){const b=readCookie(f);b&&a(f,b)}e.querySelectorAll(button).forEach(b=>{listen(b,"focus",()=>{if(c(b),f){const c=b.dataset.cookieValue;c&&(createCookie(f,c),a(f,c))}}),listen(b,"click",()=>{if(c(b),f){const c=b.dataset.cookieValue;c&&(createCookie(f,c),a(f,c))}}),listen(b,keydown,a=>{const b=a,c=b.key;if(b.ctrlKey||b.altKey||b.metaKey);else if(b.shiftKey)isPrintableCharacter(c)&&i.focusElementByChar(c);else{switch(b.keyCode){case keyCodes.LEFT:i.focusPrevElement();break;case keyCodes.RIGHT:i.focusNextElement();break;case keyCodes.HOME:i.focusFirstElement();break;case keyCodes.END:i.focusLastElement();break;case keyCodes.TAB:return;default:isPrintableCharacter(c)&&i.focusElementByChar(c);}b.preventDefault(),b.cancelBubble=!0}})})})}handleTabs(); "use strict";var _self="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{}:window,Prism=function(){var b=/\blang(?:uage)?-([\w-]+)\b/i,c=0,q=_self.Prism={manual:_self.Prism&&_self.Prism.manual,disableWorkerMessageHandler:_self.Prism&&_self.Prism.disableWorkerMessageHandler,util:{encode:function(a){return a instanceof d?new d(a.type,q.util.encode(a.content),a.alias):"Array"===q.util.type(a)?a.map(q.util.encode):a.replace(/&/g,"&").replace(/n.length)return;if(!(v instanceof o)){if(d&&G!=e.length-1){B.lastIndex=H;var J=B.exec(n);if(!J)break;for(var K=J.index+(f?J[1].length:0),L=J.index+J[0].length,M=G,Q=H,R=e.length;R>M&&(L>Q||!e[M].type&&!e[M-1].greedy);++M)Q+=e[M].length,K>=Q&&(++G,H=Q);if(e[G]instanceof o)continue;O=M-G,v=n.slice(H,Q),J.index-=H}else{B.lastIndex=0;var J=B.exec(v),O=1}if(J){f&&(m=J[1]?J[1].length:0);var K=J.index+m,J=J[0].slice(m),L=K+J.length,T=v.slice(0,K),N=v.slice(L),S=[G,O];T&&(++G,H+=T.length,S.push(T));var C=new o(s,D?q.tokenize(J,D):J,F,J,d);if(S.push(C),N&&S.push(N),Array.prototype.splice.apply(e,S),1!=O&&q.matchGrammar(n,e,t,G,H,!0,s),l)break}else if(l)break}}}}},tokenize:function(b,c){var d=[b],e=c.rest;if(e){for(var a in e)c[a]=e[a];delete c.rest}return q.matchGrammar(b,d,c,0,0,!1),d},hooks:{all:{},add:function(a,b){var c=q.hooks.all;c[a]=c[a]||[],c[a].push(b)},run:function(b,c){var d=q.hooks.all[b];if(d&&d.length)for(var e,f=0;e=d[f++];)e(c)}}},d=q.Token=function(b,c,d,e,f){this.type=b,this.content=c,this.alias=d,this.length=0|(e||"").length,this.greedy=!!f};if(d.stringify=function(b,c,e){if("string"==typeof b)return b;if("Array"===q.util.type(b))return b.map(function(a){return d.stringify(a,c,b)}).join("");var a={type:b.type,content:d.stringify(b.content,c,e),tag:"span",classes:["token",b.type],attributes:{},language:c,parent:e};if(b.alias){var f="Array"===q.util.type(b.alias)?b.alias:[b.alias];Array.prototype.push.apply(a.classes,f)}q.hooks.run("wrap",a);var g=Object.keys(a.attributes).map(function(b){return b+"=\""+(a.attributes[b]||"").replace(/"/g,""")+"\""}).join(" ");return"<"+a.tag+" class=\""+a.classes.join(" ")+"\""+(g?" "+g:"")+">"+a.content+""},!_self.document)return _self.addEventListener?(q.disableWorkerMessageHandler||_self.addEventListener("message",function(b){var c=JSON.parse(b.data),d=c.language,e=c.code,a=c.immediateClose;_self.postMessage(q.highlight(e,q.languages[d],d)),a&&_self.close()},!1),_self.Prism):_self.Prism;var e=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return e&&(q.filename=e.src,q.manual||e.hasAttribute("data-manual")||("loading"===document.readyState?document.addEventListener("DOMContentLoaded",q.highlightAll):window.requestAnimationFrame?window.requestAnimationFrame(q.highlightAll):window.setTimeout(q.highlightAll,16))),_self.Prism}();"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism),Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/[a-z0-9_]+(?=\()/i,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},Prism.languages.javascript=Prism.languages.extend("clike",{keyword:/\b(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/,number:/\b(?:0[xX][\dA-Fa-f]+|0[bB][01]+|0[oO][0-7]+|NaN|Infinity)\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee][+-]?\d+)?/,function:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*\()/i,operator:/-[-=]?|\+[+=]?|!=?=?|<>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/}),Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[[^\]\r\n]+]|\\.|[^\/\\\[\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=\s*(?:function\b|(?:\([^()]*\)|[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/i,alias:"function"},constant:/\b[A-Z][A-Z\d_]*\b/}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^}]+\}/,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.insertBefore("markup","tag",{script:{pattern:/()[\s\S]*?(?=<\/script>)/i,lookbehind:!0,inside:Prism.languages.javascript,alias:"language-javascript",greedy:!0}}),Prism.languages.js=Prism.languages.javascript,!function(b){var c={variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\([^)]+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},/\$(?:[\w#?*!@]+|\{[^}]+\})/i]};b.languages.bash={shebang:{pattern:/^#!\s*\/bin\/bash|^#!\s*\/bin\/sh/,alias:"important"},comment:{pattern:/(^|[^"{\\])#.*/,lookbehind:!0},string:[{pattern:/((?:^|[^<])<<\s*)["']?(\w+?)["']?\s*\r?\n(?:[\s\S])*?\r?\n\2/,lookbehind:!0,greedy:!0,inside:c},{pattern:/(["'])(?:\\[\s\S]|\$\([^)]+\)|`[^`]+`|(?!\1)[^\\])*\1/,greedy:!0,inside:c}],variable:c.variable,function:{pattern:/(^|[\s;|&])(?:helm|docker|istioctl|curl|kubectl|alias|apropos|apt-get|aptitude|aspell|awk|basename|bash|bc|bg|builtin|bzip2|cal|cat|cd|cfdisk|chgrp|chmod|chown|chroot|chkconfig|cksum|clear|cmp|comm|command|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|enable|env|ethtool|eval|exec|expand|expect|export|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|getopts|git|grep|groupadd|groupdel|groupmod|groups|gzip|hash|head|help|hg|history|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|jobs|join|kill|killall|less|link|ln|locate|logname|logout|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|make|man|mkdir|mkfifo|mkisofs|mknod|more|most|mount|mtools|mtr|mv|mmv|nano|netstat|nice|nl|nohup|notify-send|npm|nslookup|open|op|passwd|paste|pathchk|ping|pkill|popd|pr|printcap|printenv|printf|ps|pushd|pv|pwd|quota|quotacheck|quotactl|ram|rar|rcp|read|readarray|readonly|reboot|rename|renice|remsync|rev|rm|rmdir|rsync|screen|scp|sdiff|sed|seq|service|sftp|shift|shopt|shutdown|sleep|slocate|sort|source|split|ssh|stat|strace|su|sudo|sum|suspend|sync|tail|tar|tee|test|time|timeout|times|touch|top|traceroute|trap|tr|tsort|tty|type|ulimit|umask|umount|unalias|uname|unexpand|uniq|units|unrar|unshar|uptime|useradd|userdel|usermod|users|uuencode|uudecode|v|vdir|vi|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yes|zip)(?=$|[\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&])(?:let|:|\.|if|then|else|elif|fi|for|break|continue|while|in|case|function|select|do|done|until|echo|exit|return|set|declare)(?=$|[\s;|&])/,lookbehind:!0},boolean:{pattern:/(^|[\s;|&])(?:true|false)(?=$|[\s;|&])/,lookbehind:!0},operator:/&&?|\|\|?|==?|!=?|<<>|<=?|>=?|=~/,punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];]/};var d=c.variable[1].inside;d.string=b.languages.bash.string,d["function"]=b.languages.bash["function"],d.keyword=b.languages.bash.keyword,d.boolean=b.languages.bash.boolean,d.operator=b.languages.bash.operator,d.punctuation=b.languages.bash.punctuation,b.languages.shell=b.languages.bash}(Prism),Prism.languages.docker={keyword:{pattern:/(^\s*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)/im,lookbehind:!0},string:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,comment:/#.*/,punctuation:/---|\.\.\.|[:[\]{}\-,|>?]/},Prism.languages.dockerfile=Prism.languages.docker,Prism.languages.go=Prism.languages.extend("clike",{keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,number:/(?:\b0x[a-f\d]+|(?:\b\d+\.?\d*|\B\.\d+)(?:e[-+]?\d+)?)i?/i,string:{pattern:/(["'`])(\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0}}),delete Prism.languages.go["class-name"],Prism.languages.java=Prism.languages.extend("clike",{keyword:/\b(?:abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while)\b/,number:/\b0b[01]+\b|\b0x[\da-f]*\.?[\da-fp-]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?[df]?/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|!=?|<>?>?=?|==?|&[&=]?|\|[|=]?|\*=?|\/=?|%=?|\^=?|[?:~])/m,lookbehind:!0}}),Prism.languages.insertBefore("java","function",{annotation:{alias:"punctuation",pattern:/(^|[^.])@\w+/,lookbehind:!0}}),Prism.languages.insertBefore("java","class-name",{generics:{pattern:/<\s*\w+(?:\.\w+)?(?:\s*,\s*\w+(?:\.\w+)?)*>/i,alias:"function",inside:{keyword:Prism.languages.java.keyword,punctuation:/[<>(),.:]/}}}),Prism.languages.json={property:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/i,string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,greedy:!0},number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee][+-]?\d+)?/,punctuation:/[{}[\]);,]/,operator:/:/g,boolean:/\b(?:true|false)\b/i,null:/\bnull\b/i},Prism.languages.jsonp=Prism.languages.json,Prism.languages.protobuf=Prism.languages.extend("clike",{keyword:/\b(?:package|import|message|enum)\b/,builtin:/\b(?:required|repeated|optional|reserved)\b/,primitive:{pattern:/\b(?:double|float|int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string|bytes)\b/,alias:"symbol"}}),Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"triple-quoted-string":{pattern:/("""|''')[\s\S]+?\1/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},keyword:/\b(?:as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*\.?\d*|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:or|and|not)\b/,punctuation:/[{}[\];(),.:]/},Prism.languages.yaml={scalar:{pattern:/([\-:]\s*(?:![^\s]+)?[ \t]*[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)[^\r\n]+(?:\2[^\r\n]+)*)/,lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:/(\s*(?:^|[:\-,[{\r\n?])[ \t]*(?:![^\s]+)?[ \t]*)[^\r\n{[\]},#\s]+?(?=\s*:\s)/,lookbehind:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?)?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?)(?=[ \t]*(?:$|,|]|}))/m,lookbehind:!0,alias:"number"},boolean:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:true|false)[ \t]*(?=$|,|]|})/im,lookbehind:!0,alias:"important"},null:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)(?:null|~)[ \t]*(?=$|,|]|})/im,lookbehind:!0,alias:"important"},string:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)("|')(?:(?!\2)[^\\\r\n]|\\.)*\2(?=[ \t]*(?:$|,|]|}))/m,lookbehind:!0,greedy:!0},number:{pattern:/([:\-,[{]\s*(?:![^\s]+)?[ \t]*)[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+\.?\d*|\.?\d+)(?:e[+-]?\d+)?|\.inf|\.nan)[ \t]*(?=$|,|]|})/im,lookbehind:!0},tag:/![^\s]+/,important:/[&*][\w]+/,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./}; "use strict";let syntaxColoring=!0;function handleCodeBlocks(){function a(a){const c=document.createElement(button);c.title=buttonCopy,c.className="copy",c.innerHTML="",c.setAttribute(ariaLabel,buttonCopy),listen(c,mouseenter,a=>a.currentTarget.classList.add(f)),listen(c,mouseleave,a=>a.currentTarget.classList.remove(f)),listen(c,"focus",a=>a.currentTarget.classList.add(f)),listen(c,"blur",a=>a.currentTarget.classList.remove(f)),listen(c,click,a=>{const c=a.currentTarget.parentElement;if(c){const a=b(c);copyToClipboard(a)}return!0});const d=document.createElement(button);d.title=buttonDownload,d.className="download",d.innerHTML="",d.setAttribute(ariaLabel,buttonDownload),listen(d,mouseenter,a=>a.currentTarget.classList.add(f)),listen(d,mouseleave,a=>a.currentTarget.classList.remove(f)),listen(d,"focus",a=>a.currentTarget.classList.add(f)),listen(d,"blur",a=>a.currentTarget.classList.remove(f)),listen(d,click,a=>{const c=a.currentTarget.parentElement;if(!c)return!1;const d=c.getElementsByTagName("code");if(null!==d&&0",e.setAttribute(ariaLabel,buttonPrint),listen(e,mouseenter,a=>a.currentTarget.classList.add(f)),listen(e,mouseleave,a=>a.currentTarget.classList.remove(f)),listen(e,"focus",a=>a.currentTarget.classList.add(f)),listen(e,"blur",a=>a.currentTarget.classList.remove(f)),listen(e,click,a=>{const c=a.currentTarget.parentElement;if(c){const a=b(c);printText(a)}return!0});const g=document.createElement("div");g.className="toolbar";const h=a.parentElement;h&&h.insertBefore(g,a),g.appendChild(a),g.appendChild(e),g.appendChild(d),g.appendChild(c),listen(a,mouseenter,a=>{const b=a.currentTarget,c=b.nextElementSibling;if(c){c.classList.add(f);const a=c.nextElementSibling;if(a){a.classList.add(f);const b=a.nextElementSibling;b&&b.classList.add(f)}}}),listen(a,mouseleave,a=>{const b=a.currentTarget,c=b.nextElementSibling;if(c){c.classList.remove(f);const a=c.nextElementSibling;if(a){a.classList.remove(f);const b=a.nextElementSibling;b&&b.classList.remove(f)}}})}function b(a){const b=a.getElementsByClassName("command");if(null!==b&&0/g,">"))),""!==e){"true"===b.dataset.expandlinks&&(e=e.replace(/@(.*?)@/g,"$1"));let f="
"+e+"
",g="";if(0/g,">"),b.dataset.outputis&&syntaxColoring&&(g=Prism.highlight(g,Prism.languages[b.dataset.outputis],b.dataset.outputis)),f+="
"+g+"
"),b.innerHTML=f,b.classList.remove(c),b.classList.add("command-output")}else syntaxColoring&&Prism.highlightElement(b,!1)}else syntaxColoring&&Prism.highlightElement(b,!1)}function d(a){const b=a.firstElementChild;b&&b.dataset.src&&function(d,f){fetch(f).then(a=>200===a.status?a.text():"Unable to access "+f+": "+a.statusText).catch(a=>"Unable to access "+f+": "+a).then(e=>{if(b.dataset.snippet){const a="\\#.*?\\$snippet "+b.dataset.snippet+"\\n(.*?)\\n\\#.+?\\$endsnippet",c=new RegExp(a,"gms");let d="",f=c.exec(e);for(;null!==f;)""!==d&&(d+="\n"),d+=f[1],f=c.exec(e);e=d}d.textContent=e,c(a)})}(b,b.dataset.src)}function e(){const a=readCookie(g);"true"===a?syntaxColoring=!0:"false"===a&&(syntaxColoring=!1);const b=document.getElementById(h);b&&(syntaxColoring?b.classList.add(active):b.classList.remove(active)),listen(getById(h),click,()=>{createCookie(g,syntaxColoring?"false":"true"),location.reload()})}const f="toolbar-show",g="syntax-coloring",h="syntax-coloring-item";e(),document.querySelectorAll("pre").forEach(b=>{a(b),c(b),d(b)})}handleCodeBlocks(); "use strict";function handleLinks(){function a(a){if(""!==a.id){const b=document.createElement("a");b.className="self-link",b.href="#"+a.id,b.setAttribute("aria-hidden","true"),b.innerHTML="",a.appendChild(b)}}(function(){document.querySelectorAll("h2").forEach(a),document.querySelectorAll("h3").forEach(a),document.querySelectorAll("h4").forEach(a),document.querySelectorAll("h5").forEach(a),document.querySelectorAll("h6").forEach(a),document.querySelectorAll("dt").forEach(a)})(),function(){document.querySelectorAll("a").forEach(a=>{a.hostname&&a.hostname!==location.hostname&&(a.setAttribute("target","_blank"),a.setAttribute("rel","noopener"))})}(),function(){const a=getById("endnotes");if(!a)return;const b=document.getElementsByTagName("article")[0],c=new Map(null);let d=0;if(b.querySelectorAll("a").forEach(b=>{if(b.pathname===location.pathname)return;if(b.pathname.endsWith("/")&&""!==b.hash)return;if(b.classList.contains("btn"))return;if("true"===b.dataset.skipendnotes)return;let e=c.get(b.href);if(void 0===e){e=c.size+1,c.set(b.href,e);const d=document.createElement("li");d.innerText=b.href,a.appendChild(d)}b.insertAdjacentHTML("afterend",""),d++}),0=c&&i.tope&&(d=f,e=i.top)),tocLinks[f].classList.remove("current")}0<=a?tocLinks[a].classList.add("current"):0<=d&&tocLinks[d].classList.add("current")}}const c=pageHeader?pageHeader.getBoundingClientRect().height:0;a(),b();const d=document.querySelector(":target");d&&"TR"===d.tagName&&!d.dataset.scrolled&&(document.documentElement.scrollTop-=c,d.dataset.scrolled="true")}scrollToTopButton=getById("scroll-to-top"),listen(scrollToTopButton,click,()=>{document.body.scrollTop=0,document.documentElement.scrollTop=0});const b=getById("toc");if(b){tocLinks=b.getElementsByTagName("a");for(const a of tocLinks)if(a){const b=decodeURIComponent(a.hash.substring(1)),c=getById(b);c&&tocHeadings.push(c)}}pageHeader=document.getElementsByTagName("header")[0],a(),listen(window,"scroll",a)}handleScroll(); "use strict";let overlay=null,popper=null;function toggleOverlay(a){overlay===a?closeActiveOverlay():(overlay&&closeActiveOverlay(),a.classList.add("show"),overlay=a)}function showOverlay(a){overlay===a||(closeActiveOverlay(),a.classList.add("show"),overlay=a)}function closeActiveOverlay(){overlay&&(overlay.classList.remove("show"),overlay=null,popper&&(popper.destroy(),popper=null))}function handleOverlays(){function a(a,b){popper&&popper.destroy(),popper=new Popper(a,b,{modifiers:{flip:{enabled:!0},preventOverflow:{enabled:!0},shift:{enabled:!0}},placement:"auto-start"})}document.querySelectorAll(".term").forEach(b=>{const c=document.createElement("i");c.innerHTML="";const d=document.createElement("span");d.innerText=" "+b.dataset.title;const e=document.createElement("div");e.className="title",e.appendChild(c),e.appendChild(d);const f=document.createElement("div");f.className="body",b.dataset.body&&(f.innerHTML=b.dataset.body);const g=document.createElement("div");g.className="arrow",g.setAttribute("x-arrow","");const h=document.createElement("div");h.className="popover",h.appendChild(e),h.appendChild(f),h.appendChild(g),h.setAttribute("aria-hidden","true"),listen(h,click,a=>{a.cancelBubble=!0});const i=b.parentElement;i&&i.insertBefore(h,b.nextElementSibling),b.removeAttribute("data-title"),b.removeAttribute("data-body"),listen(b,click,c=>{c.cancelBubble=!0,toggleOverlay(h),a(b,h)})}),document.querySelectorAll(".update-notice").forEach(b=>{const c=document.createElement("i");c.innerHTML="";const d=document.createElement("span");d.innerText=" "+b.dataset.title;const e=document.createElement("div");e.className="title",e.appendChild(c),e.appendChild(d);const f=document.createElement("div");f.className="body",f.innerHTML="

"+b.dataset.updateadvice+"

"+b.dataset.updatebutton+""+b.innerText+"";const g=document.createElement("div");g.className="arrow",g.setAttribute("x-arrow","");const h=document.createElement("div");h.className="popover",h.appendChild(e),h.appendChild(f),h.appendChild(g),h.setAttribute("aria-hidden","true"),listen(h,click,a=>{a.cancelBubble=!0});const i=b.parentElement;i&&i.insertBefore(h,b.nextElementSibling),b.removeAttribute("data-title"),b.removeAttribute("data-downloadhref"),b.removeAttribute("data-updatehref"),b.removeAttribute("data-updateadvice"),b.removeAttribute("data-updatebutton"),listen(b,click,c=>{c.cancelBubble=!0,toggleOverlay(h),a(b,h)})}),listen(window,click,closeActiveOverlay),listen(window,"resize",closeActiveOverlay)}handleOverlays(); "use strict";function handleLanguageSwitch(){listen(getById("switch-lang"),click,()=>{const a=new URL(window.location.href);let b=a.pathname;return b.startsWith("/zh")?(b=b.substr(3),createCookie("nf_lang","en")):(b="/zh"+b,createCookie("nf_lang","zh")),a.pathname=b,navigateToUrlOrRoot(a.toString()),!0}),listen(getById("switch-lang-en"),click,()=>{const a=new URL(window.location.href);let b=a.pathname;b.startsWith("/zh")&&(b=b.substr(3)),a.pathname=b,createCookie("nf_lang","en"),navigateToUrlOrRoot(a.toString())}),listen(getById("switch-lang-zh"),click,()=>{const a=new URL(window.location.href);let b=a.pathname;b.startsWith("/zh")||(b="/zh"+b),a.pathname=b,createCookie("nf_lang","zh"),navigateToUrlOrRoot(a.toString())})}handleLanguageSwitch(); "use strict";const callToActionDelayMs=250;function handleCallToAction(){window.setTimeout(()=>{document.querySelectorAll(".call-to-action").forEach(a=>{a.style.opacity="1"})},callToActionDelayMs)}handleCallToAction(); //# sourceMappingURL=all.min.js.map