(function(_ds){var window=this;/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ 'use strict';var mO=function(a,b){jO()&&(b=kO()?"translate3d("+b+"px,0px,0px)":"translate("+b+"px,0px)",_ds.Zj(a,lO(),b))},pO=function(){var a=_ds.R.call(this)||this;a.H=-1;a.h=new _ds.Qj;a.G=new _ds.Qj;a.C=0;a.K=new MutationObserver(function(){return nO(a)});a.N=new _ds.Nj(function(){nO(a);oO(a)},15);a.L=0;a.m=0;a.o=0;a.j=0;a.D=!1;return a},rO=function(a){a.h.listen(a,"devsite-search-toggle",function(b){b=b.Z;_ds.Bh(b.target,"devsite-top-logo-row-middle")&&(b.detail.active?a.setAttribute("search-active", ""):a.removeAttribute("search-active"))});a.h.listen(document.body,"devsite-sitemask-hidden",function(){return document.body.removeAttribute("devsite-book-nav--open")});a.h.listen(window,"resize",function(){return qO(a)});a.h.listen(document.body,["devsite-page-loaded","devsite-content-updated"],function(){qO(a)});a.h.listen(a,"click",function(b){b.defaultPrevented||"devsite-hamburger-menu"!=b.target.getAttribute("id")||(b.preventDefault(),b.stopPropagation(),document.body.setAttribute("devsite-book-nav--open", ""),a.dispatchEvent(new CustomEvent("devsite-sitemask-show",{bubbles:!0})))})},qO=function(a){window.requestAnimationFrame(function(){return a.N.ra()})},sO=function(a,b){return(a=a.querySelector(b))?a.getBoundingClientRect().height:0},nO=function(a){a.L=sO(a,".devsite-top-logo-row-wrapper-wrapper");a.m=sO(a,".devsite-collapsible-section");a.o=sO(a,".devsite-doc-set-nav-row");a.setAttribute("top-row--height",a.L);a.setAttribute("bottom-row--height",a.m);a.setAttribute("bottom-tabs--height",a.o);tO(a)}, uO=function(a){if(!a.querySelector(".devsite-search-background")&&(a=a.querySelector(".devsite-top-logo-row-middle"))){var b=document.createElement("div");b.classList.add("devsite-search-background");b.style.opacity=1;a.appendChild(b)}},tO=function(a){var b=a.querySelector(".devsite-collapsible-section");a.j>=a.m&&!a.hasAttribute("bottom-row--hidden")?a.setAttribute("bottom-row--hidden",""):a.j