(function(){'use strict';var k;function aa(c){var d=0;return function(){return d=h}}); la("String.prototype.endsWith",function(c){return c?c:function(c,e){var d=Ea(this,c,"endsWith");void 0===e&&(e=d.length);e=Math.max(0,Math.min(e|0,d.length));for(var g=c.length;0=g}});la("Array.prototype.find",function(c){return c?c:function(c,e){a:{var d=this;d instanceof String&&(d=String(d));for(var g=d.length,h=0;he&&(e=Math.max(e+g,0));e>>0),Pa=0;function Qa(c,d,e){return c.call.apply(c.bind,arguments)} function Ra(c,d,e){if(!c)throw Error();if(2=arguments.length?Array.prototype.slice.call(c,d):Array.prototype.slice.call(c,d,e)} function kb(c,d,e){if(!La(c)||!La(d)||c.length!=d.length)return!1;var f=c.length;e=e||lb;for(var g=0;g=c.length)return String.fromCharCode.apply(null,c);for(var d="",e=0;e")&&(c=c.replace(sb,">"));-1!=c.indexOf('"')&&(c=c.replace(tb,"""));-1!=c.indexOf("'")&&(c=c.replace(ub,"'"));-1!=c.indexOf("\x00")&&(c=c.replace(vb,"�"))}return c} var qb=/&/g,rb=//g,tb=/"/g,ub=/'/g,vb=/\x00/g,wb=/[\x00&<>"']/;function xb(c){return-1!=yb.toLowerCase().indexOf(c.toLowerCase())} function zb(c,d){var e=0;c=ob(String(c)).split(".");d=ob(String(d)).split(".");for(var f=Math.max(c.length,d.length),g=0;0==e&&gd?1:0};function Bb(c){return c=pb(c,void 0)}function Cb(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Ua()).toString(36)}var Db=2147483648*Math.random()|0;function Eb(c){return String(c).replace(/\-([a-z])/g,function(c,e){return e.toUpperCase()})} function Fb(c){var d=y(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#parseFloat(c))?String(d):c};E.wc=function(){var c=E.Lb();if(E.ba)return/rv:([^\);]+)(\)|;)/.exec(c);if(E.na)return/Edge\/([\d\.]+)/.exec(c);if(E.u)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(c);if(E.N)return/WebKit\/(\S+)/.exec(c);if(E.ka)return/(?:Version)[ \/]?(\S+)/.exec(c)}; E.Kb=function(){var c=v.document;return c?c.documentMode:void 0};E.VERSION=E.eb();E.compare=function(c,d){return zb(c,d)};E.Ec={};E.$=function(c){return E.dc||Wb(c,function(){return 0<=zb(E.VERSION,c)})};E.Na=E.$;E.Z=function(c){return Number(E.yb)>=c};E.Yf=E.Z;var Xb;var Yb=v.document;Xb=Yb&&E.u?E.Kb()||("CSS1Compat"==Yb.compatMode?parseInt(E.VERSION,10):5):void 0;E.yb=Xb;E.product={};E.product.qb=!1;E.product.ma=!1;E.product.la=!1;E.product.va=!1;E.product.pb=!1;E.product.ub=!1;E.product.oa=E.Va||E.Ua||E.Ya||E.product.qb||E.product.ma||E.product.la||E.product.va||E.product.pb||E.product.ub;E.product.ka=E.ka;E.product.u=E.u;E.product.na=E.na;E.product.hc=E.product.oa?E.product.qb:Pb();E.product.Ac=function(){return Tb()||D("iPod")};E.product.Ab=E.product.oa?E.product.ma:E.product.Ac();E.product.zb=E.product.oa?E.product.la:D("iPad"); E.product.ob=E.product.oa?E.product.va:Sb();E.product.gc=E.product.oa?E.product.pb:Rb();E.product.Dc=function(){return Qb()&&!Ub()};E.product.Eb=E.product.oa?E.product.ub:E.product.Dc();var Zb=null,$b=null,ac=null;function bc(c,d){cc();d=d?ac:Zb;for(var e=[],f=0;f>2;g=(g&3)<<4|l>>4;l=(l&15)<<2|q>>6;q&=63;n||(q=64,h||(l=64));e.push(d[w],d[g],d[l],d[q])}return e.join("")}function dc(c){var d=c.length,e=0;"="===c[d-2]?e=2:"="===c[d-1]&&(e=1);var f=new Uint8Array(Math.ceil(3*d/4)-e),g=0;ec(c,function(c){f[g++]=c});return f.subarray(0,g)} function ec(c,d){function e(d){for(;f>4);64!=l&&(d(h<<4&240|l>>2),64!=n&&d(l<<6&192|n))}} function cc(){if(!Zb){Zb={};$b={};ac={};for(var c=0;65>c;c++)Zb[c]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(c),$b[Zb[c]]=c,ac[c]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(c),62<=c&&($b["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(c)]=c)}};var G=0,H=0;function fc(c){var d=c>>>0;c=Math.floor((c-d)/4294967296)>>>0;G=d;H=c}function gc(c){var d=0>c;c=Math.abs(c);var e=c>>>0;c=Math.floor((c-e)/4294967296);c>>>=0;d&&(c=~c>>>0,e=(~e>>>0)+1,4294967295c?1:0;c=d?-c:c;if(0===c)0<1/c?G=H=0:(H=0,G=2147483648);else if(isNaN(c))H=0,G=2147483647;else if(3.4028234663852886E38>>0;else if(1.1754943508222875E-38>c)c=Math.round(c/Math.pow(2,-149)),H=0,G=(d<<31|c)>>>0;else{var e=Math.floor(Math.log(c)/Math.LN2);c*=Math.pow(2,-e);c=Math.round(8388608*c)&8388607;H=0;G=(d<<31|e+127<<23|c)>>>0}} function ic(c){var d=c.charCodeAt(4),e=c.charCodeAt(5),f=c.charCodeAt(6),g=c.charCodeAt(7);G=c.charCodeAt(0)+(c.charCodeAt(1)<<8)+(c.charCodeAt(2)<<16)+(c.charCodeAt(3)<<24)>>>0;H=d+(e<<8)+(f<<16)+(g<<24)>>>0}var jc="0123456789abcdef".split(""); function kc(c){function d(c,d){for(var e=0;8>e&&(1!==c||0>>=8}function e(){for(var c=0;8>c;c++)g[c]=~g[c]&255}var f=!1;"-"===c[0]&&(f=!0,c=c.slice(1));for(var g=[0,0,0,0,0,0,0,0],h=0;h>>1|(c.b&1)<<31)>>>0,c.b>>>1>>>0)}function oc(c){return new mc(c.a<<1>>>0,(c.b<<1|c.a>>>31)>>>0)}k=mc.prototype;k.tg=function(){return!!(this.a&1)};k.add=function(c){return new mc((this.a+c.a&4294967295)>>>0>>>0,((this.b+c.b&4294967295)>>>0)+(4294967296<=this.a+c.a?1:0)>>>0)};k.sub=function(c){return new mc((this.a-c.a&4294967295)>>>0>>>0,((this.b-c.b&4294967295)>>>0)-(0>this.a-c.a?1:0)>>>0)}; function pc(c){var d=c&65535,e=c>>>16;c=10*d+65536*(0*d&65535)+65536*(10*e&65535);for(d=0*e+(0*d>>>16)+(10*e>>>16);4294967296<=c;)c-=4294967296,d+=1;return new mc(c>>>0,d>>>0)} k.toString=function(){for(var c="",d=this;0!=d.a||0!=d.b;){var e=new mc(0,0);d=new mc(d.a,d.b);for(var f=new mc(10,0),g=new mc(1,0);!(f.b&2147483648);)f=oc(f),g=oc(g);for(;0!=g.a||0!=g.b;)0>=(f.bc[f]||"9">>0>>>0,((this.b+c.b&4294967295)>>>0)+(4294967296<=this.a+c.a?1:0)>>>0)}; rc.prototype.sub=function(c){return new rc((this.a-c.a&4294967295)>>>0>>>0,((this.b-c.b&4294967295)>>>0)-(0>this.a-c.a?1:0)>>>0)};rc.prototype.c=function(){return new rc(this.a,this.b)};rc.prototype.toString=function(){var c=0!=(this.b&2147483648),d=new mc(this.a,this.b);c&&(d=(new mc(0,0)).sub(d));return(c?"-":"")+d.toString()};function sc(c){var d=0>>7|e<<25)>>>0,e>>>=7;c.a.push(d)}function wc(c,d,e){xc(c,d);xc(c,e)}function I(c,d){for(;127>>=7;c.a.push(d)}function yc(c,d){if(0<=d)I(c,d);else{for(var e=0;9>e;e++)c.a.push(d&127|128),d>>=7;c.a.push(1)}}function zc(c,d){I(c,(d<<1^d>>31)>>>0)} function Ac(c,d){var e=d;d=0>e;e=2*Math.abs(e);fc(e);e=G;var f=H;d&&(0==e?0==f?f=e=4294967295:(f--,e=4294967295):e--);G=e;H=f;vc(c,G,H)}k.Ej=function(c){this.a.push(c>>>0&255)};k.Dj=function(c){this.a.push(c>>>0&255);this.a.push(c>>>8&255)};function xc(c,d){c.a.push(d>>>0&255);c.a.push(d>>>8&255);c.a.push(d>>>16&255);c.a.push(d>>>24&255)}function Bc(c,d){fc(d);xc(c,G);xc(c,H)}k.Ei=function(c){this.a.push(c>>>0&255)};k.Di=function(c){this.a.push(c>>>0&255);this.a.push(c>>>8&255)}; function Cc(c,d){c.a.push(d>>>0&255);c.a.push(d>>>8&255);c.a.push(d>>>16&255);c.a.push(d>>>24&255)} function Dc(c,d){var e=d;e=(d=0>e?1:0)?-e:e;if(0===e)H=0<1/e?0:2147483648,G=0;else if(isNaN(e))H=2147483647,G=4294967295;else if(1.7976931348623157E308>>0,G=0;else if(2.2250738585072014E-308>e)e/=Math.pow(2,-1074),H=(d<<31|e/4294967296)>>>0,G=e>>>0;else{var f=Math.floor(Math.log(e)/Math.LN2);1024==f&&(f=1023);e*=Math.pow(2,-f);H=(d<<31|f+1023<<20|1048576*e&1048575)>>>0;G=4503599627370496*e>>>0}xc(c,G);xc(c,H)}k.ig=function(c){this.a.push.apply(this.a,c)}; function Ec(c,d){ic(d);xc(c,G);xc(c,H)};function Fc(){this.c=[];this.b=0;this.a=new tc;this.f=[]}function Gc(c,d){var e=uc(c.a);c.c.push(e);c.c.push(d);c.b+=e.length+d.length}function J(c,d){K(c,d,2);d=uc(c.a);c.c.push(d);c.b+=d.length;d.push(c.b);return d}function L(c,d){var e=d.pop();for(e=c.b+c.a.length()-e;127>>=7,c.b++;d.push(e);c.b++}k=Fc.prototype;k.vg=function(c,d,e){null!=c&&null!=d&&null!=e&&Gc(this,c.subarray(d,e))};k.reset=function(){this.c=[];uc(this.a);this.b=0;this.f=[]}; function Hc(c){for(var d=new Uint8Array(c.b+c.a.length()),e=c.c,f=e.length,g=0,h=0;hg)e.a.push(g);else if(2048>g)e.a.push(g>>6|192),e.a.push(g&63|128);else if(65536>g)if(55296<=g&&56319>=g&&f+1=h&&(g=1024*(g-55296)+h-56320+65536,e.a.push(g>>18|240),e.a.push(g>>12&63|128),e.a.push(g>>6&63|128),e.a.push(g&63|128),f++)}else e.a.push(g>>12|224),e.a.push(g>>6&63|128),e.a.push(g&63|128)}L(this,c)}}; k.jb=function(c,d){null!=d&&(d=d.constructor===Uint8Array?d:d.constructor===ArrayBuffer?new Uint8Array(d):d.constructor===Array?new Uint8Array(d):d.constructor===String?dc(d):new Uint8Array(0),K(this,c,2),I(this.a,d.length),Gc(this,d))};k.Fi=function(c,d,e){null!=d&&(c=J(this,c),e(d,this),L(this,c))};k.Gi=function(c,d,e){null!=d&&(K(this,1,3),K(this,2,0),yc(this.a,c),c=J(this,3),e(d,this),L(this,c),K(this,1,4))};k.Ci=function(c,d,e){null!=d&&(K(this,c,3),e(d,this),K(this,c,4))}; k.nj=function(c,d){if(null!=d)for(var e=0;e=c.keyCode)c.keyCode=-1}catch(d){}};var zd="closure_listenable_"+(1E6*Math.random()|0);function Ad(c){return!(!c||!c[zd])}var Bd=0;function Cd(c,d,e,f,g){this.listener=c;this.a=null;this.src=d;this.type=e;this.capture=!!f;this.Ma=g;this.key=++Bd;this.sa=this.Ia=!1}function Dd(c){c.sa=!0;c.listener=null;c.a=null;c.src=null;c.Ma=null};function Ed(c){this.src=c;this.a={};this.b=0}Ed.prototype.c=function(){var c=0,d;for(d in this.a)c+=this.a[d].length;return c};Ed.prototype.add=function(c,d,e,f,g){var h=c.toString();c=this.a[h];c||(c=this.a[h]=[],this.b++);var l=Fd(c,d,f,g);-1e.keyCode||void 0!=e.returnValue)){a:{var g=!1;if(0==e.keyCode)try{e.keyCode=-1;break a}catch(l){g=!0}if(g||void 0==e.returnValue)e.returnValue=!0}e=[];for(g=d.a;g;g=g.parentNode)e.push(g);c=c.type;for(g=e.length-1;!d.b&&0<=g;g--){d.a=e[g];var h=Wd(e[g],c,!0,d);f=f&&h}for(g=0;!d.b&&g>>0);function Od(c){if(Ma(c))return c;c[Yd]||(c[Yd]=function(d){return c.handleEvent(d)});return c[Yd]};var Zd=new td("devsite-analytics-observation"),$d=new td("devsite-analytics-timing"),ae=new td("devsite-analytics-error"),be=new td("devsite-analytics-pageview"),ce=new td("devsite-analytics-set-dimension");var ee=!E.u||E.Z(9),fe=!E.ba&&!E.u||E.u&&E.Z(9)||E.ba&&E.$("1.9.1"),ge=E.u&&!E.$("9"),he=E.u||E.ka||E.N,ie=E.u;function je(){return null}function ke(c){var d=!1,e;return function(){d||(e=c(),d=!0);return e}};function le(c,d){this.a=c===me&&d||"";this.b=ne}le.prototype.fa=!0;le.prototype.Y=function(){return this.a};le.prototype.toString=function(){return"Const{"+this.a+"}"};var ne={},me={};function oe(){this.a="";this.b=pe}k=oe.prototype;k.fa=!0;k.Y=function(){return this.a};k.ib=!0;k.za=function(){return 1};k.Cd=function(c,d){var e=qe(this);e=re.exec(e);var f=e[3]||"";c=e[1]+se("?",e[2]||"",c)+se("#",f,d);d=new oe;d.a=c;return d};function qe(c){if(c instanceof oe&&c.constructor===oe&&c.b===pe)return c.a;Ka(c);return"type_error:TrustedResourceUrl"}var re=/^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/,pe={}; function se(c,d,e){if(null==e)return d;if(y(e))return e?c+encodeURIComponent(e):"";for(var f in e){var g=e[f];g=z(g)?g:[g];for(var h=0;hc.length?"&":"")+encodeURIComponent(f)+"="+encodeURIComponent(String(l)))}}return d};function te(){this.a="";this.b=ue}te.prototype.fa=!0;te.prototype.Y=function(){return this.a};te.prototype.ib=!0;te.prototype.za=function(){return 1};function ve(c){if(c instanceof te&&c.constructor===te&&c.b===ue)return c.a;Ka(c);return"type_error:SafeUrl"}var we=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;function xe(c){if(c instanceof te)return c;c="object"==typeof c&&c.fa?c.Y():String(c);we.test(c)||(c="about:invalid#zClosurez");return ye(c)} function ze(c){if(c instanceof te)return c;c="object"==typeof c&&c.fa?c.Y():String(c);we.test(c)||(c="about:invalid#zClosurez");return ye(c)}var ue={};function ye(c){var d=new te;d.a=c;return d}ye("about:blank");function Ae(){this.a="";this.b=Be}Ae.prototype.fa=!0;var Be={};Ae.prototype.Y=function(){return this.a};function Ce(c){if(c instanceof Ae&&c.constructor===Ae&&c.b===Be)return c.a;Ka(c);return"type_error:SafeStyle"}function De(c){var d=new Ae;d.a=c;return d}var Ee=De(""); function Fe(c){if(c instanceof te)return'url("'+ve(c).replace(/+~[\]()=^$|]+$/.test(e))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+c);a:{for(var f={"(":")","[":"]"},g=[],h=0;h",0);Xe("",0);var Ze=Xe("
",0);var $e=ke(function(){var c=document.createElement("div");c.innerHTML="
";var d=c.firstChild.firstChild;c.innerHTML="";return!d.parentElement});function af(c,d){if($e())for(;c.lastChild;)c.removeChild(c.lastChild);c.innerHTML=d}function bf(c,d){d=d instanceof te?d:ze(d);c.href=ve(d)}function cf(c){var d=df().location;c=c instanceof te?c:ze(c);d.assign(ve(c))};function ef(c,d){this.x=x(c)?c:0;this.y=x(d)?d:0}k=ef.prototype;k.zf=function(){return new ef(this.x,this.y)};k.Af=function(c){return c instanceof ef&&(this==c?!0:this&&c?this.x==c.x&&this.y==c.y:!1)};k.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};k.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};k.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this}; k.Cf=function(c,d){c instanceof ef?(this.x+=c.x,this.y+=c.y):(this.x+=Number(c),Ha(d)&&(this.y+=d));return this};k.Bf=function(c,d){d=Ha(d)?d:c;this.x*=c;this.y*=d;return this};k.ih=function(c,d){c=c*Math.PI/180;d=d||new ef(0,0);var e=this.x,f=this.y,g=Math.cos(c);c=Math.sin(c);this.x=(e-d.x)*g-(f-d.y)*c+d.x;this.y=(e-d.x)*c+(f-d.y)*g+d.y};function ff(c,d){this.width=c;this.height=d}k=ff.prototype;k.Ge=function(){return Math.max(this.width,this.height)};k.Xe=function(){return Math.min(this.width,this.height)};k.Fg=function(){return 2*(this.width+this.height)};k.aspectRatio=function(){return this.width/this.height};k.Df=function(){return!(this.width*this.height)};k.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};k.$d=function(c){return this.width<=c.width&&this.height<=c.height}; k.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};k.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function gf(c,d){var e=Ha(void 0)?void 0:d;c.width*=d;c.height*=e;return c}k.kh=function(c){c=this.aspectRatio()<=c.aspectRatio()?c.width/this.width:c.height/this.height;return gf(this,c)}; k.lh=function(c){c=this.aspectRatio()>c.aspectRatio()?c.width/this.width:c.height/this.height;return gf(this,c)};function hf(c){return c?new jf(kf(c)):Za||(Za=new jf)}function lf(c,d){var e=d||document,f=null;e.getElementsByClassName?f=e.getElementsByClassName(c)[0]:f=mf(document,"*",c,d);return f||null} function nf(c,d,e,f){c=f||c;d=d&&"*"!=d?String(d).toUpperCase():"";if(c.querySelectorAll&&c.querySelector&&(d||e))return c.querySelectorAll(d+(e?"."+e:""));if(e&&c.getElementsByClassName){c=c.getElementsByClassName(e);if(d){f={};for(var g=0,h=0,l;l=c[h];h++)d==l.nodeName&&(f[g++]=l);f.length=g;return f}return c}c=c.getElementsByTagName(d||"*");if(e){f={};for(h=g=0;l=c[h];h++)d=l.className,"function"==typeof d.split&&eb(d.split(/\s+/),e)&&(f[g++]=l);f.length=g;return f}return c} function mf(c,d,e,f){var g=f||c,h=d&&"*"!=d?String(d).toUpperCase():"";return g.querySelectorAll&&g.querySelector&&(h||e)?g.querySelector(h+(e?"."+e:"")):nf(c,d,e,f)[0]||null}function of(c,d){Ib(d,function(d,f){d&&"object"==typeof d&&d.fa&&(d=d.Y());"style"==f?c.style.cssText=d:"class"==f?c.className=d:"for"==f?c.htmlFor=d:pf.hasOwnProperty(f)?c.setAttribute(pf[f],d):0==f.lastIndexOf("aria-",0)||0==f.lastIndexOf("data-",0)?c.setAttribute(f,d):c[f]=d})} var pf={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function qf(c){c=c.document;c=rf(c)?c.documentElement:c.body;return new ff(c.clientWidth,c.clientHeight)} function sf(c){var d=tf(c);c=uf(c);return E.u&&E.$("10")&&c.pageYOffset!=d.scrollTop?new ef(d.scrollLeft,d.scrollTop):new ef(c.pageXOffset||d.scrollLeft,c.pageYOffset||d.scrollTop)}function tf(c){return c.scrollingElement?c.scrollingElement:!E.N&&rf(c)?c.documentElement:c.body||c.documentElement}function df(c){return c?uf(c):window}function uf(c){return c.parentWindow||c.defaultView} function vf(c,d,e,f){function g(e){e&&d.appendChild(y(e)?c.createTextNode(e):e)}for(;fc}function Uf(c){if(ge&&null!==c&&"innerText"in c)c=c.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var d=[];Vf(c,d,!0);c=d.join("")}c=c.replace(/ \xAD /g," ").replace(/\xAD/g,"");c=c.replace(/\u200B/g,"");ge||(c=c.replace(/ +/g," "));" "!=c&&(c=c.replace(/^\s*/,""));return c} function Vf(c,d,e){if(!(c.nodeName in Pf))if(3==c.nodeType)e?d.push(String(c.nodeValue).replace(/(\r\n|\r|\n)/g,"")):d.push(c.nodeValue);else if(c.nodeName in Qf)d.push(Qf[c.nodeName]);else for(c=c.firstChild;c;)Vf(c,d,e),c=c.nextSibling}function xf(c){if(c&&"number"==typeof c.length){if(Na(c))return"function"==typeof c.item||"string"==typeof c.item;if(Ma(c))return"function"==typeof c.item}return!1} function Wf(c,d,e,f){if(!d&&!e)return null;var g=d?String(d).toUpperCase():null;return Yf(c,function(c){return(!g||c.nodeName==g)&&(!e||y(c.className)&&eb(c.className.split(/\s+/),e))},!0,f)}function Yf(c,d,e,f){c&&!e&&(c=c.parentNode);for(e=0;c&&(null==f||e<=f);){if(d(c))return c;c=c.parentNode;e++}return null}function jf(c){this.a=c||v.document||document}k=jf.prototype;k.ue=hf;k.zh=function(c){this.a=c};k.uc=function(c){return y(c)?this.a.getElementById(c):c}; k.Ue=function(c){return y(c)?this.a.getElementById(c):c};k.Oc=jf.prototype.uc;k.getElementsByTagName=function(c,d){return(d||this.a).getElementsByTagName(String(c))};k.vc=function(c,d,e){return nf(this.a,c,d,e)};k.we=function(c,d,e){return mf(this.a,c,d,e)};k.xe=function(c,d){var e=(d=d||this.a)||document;return e.querySelectorAll&&e.querySelector?e.querySelectorAll("."+c):nf(document,"*",c,d)};k.ve=function(c,d){return lf(c,d||this.a)};k.Ve=function(c,d){return lf(c,d||this.a)};k.Pc=jf.prototype.vc; k.hi=of;k.$e=function(c){return qf(c||uf(this.a)||window)};k.se=function(){var c=uf(this.a),d=c.document;var e=0;if(d){e=d.body;var f=d.documentElement;if(f&&e)if(c=qf(c).height,rf(d)&&f.scrollHeight)e=f.scrollHeight!=c?f.scrollHeight:f.offsetHeight;else{d=f.scrollHeight;var g=f.offsetHeight;f.clientHeight!=g&&(d=e.scrollHeight,g=e.offsetHeight);e=d>c?d>g?d:g:d");h=h.join("")}h=f.createElement(h);l&&(y(l)?h.className=l:z(l)?h.className=l.join(" "):of(h,l));22*this.c&&bg(this),!0):!1};function bg(c){if(c.c!=c.a.length){for(var d=0,e=0;d=c.a.length)throw Zf;var g=c.a[e++];return d?g:c.b[g]};return g}function cg(c,d){return Object.prototype.hasOwnProperty.call(c,d)};function fg(c){if(c.V&&"function"==typeof c.V)return c.V();if(y(c))return c.split("");if(La(c)){for(var d=[],e=c.length,f=0;fd)throw Error("Bad port number "+d);c.f=d}else c.f=null}function mg(c,d,e){Q(c);d instanceof pg?(c.a=d,vg(c.a,c.g)):(e||(d=qg(d,wg)),c.a=new pg(d,c.g));return c} k.gf=function(c,d){return mg(this,c,d)};k.qe=function(){return og(this.a.toString())};function xg(c,d,e){Q(c);c.a.set(d,e)}k.bi=function(c,d){Q(this);z(d)||(d=[String(d)]);yg(this.a,c,d);return this};k.Qe=function(c){return this.a.V(c)};k.Of=function(c){return(!this.b&&!c.b||this.b==c.b)&&(null==this.f&&null==c.f||this.f==c.f)};k.ug=function(){Q(this);xg(this,"zx",Cb());return this};function zg(c,d){Q(c);c.a.remove(d);return c}k.ii=function(c){this.s=c;return this};k.eg=function(){return this.s}; function Q(c){if(c.s)throw Error("Tried to modify a read-only Uri");}k.ff=function(c){this.g=c;this.a&&vg(this.a,c);return this};function Ag(c){return c instanceof jg?new jg(c):new jg(c,void 0)}function og(c,d){return c?d?decodeURI(c.replace(/%25/g,"%2525")):decodeURIComponent(c):""}function qg(c,d,e){return y(c)?(c=encodeURI(c).replace(d,Bg),e&&(c=c.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c):null}function Bg(c){c=c.charCodeAt(0);return"%"+(c>>4&15).toString(16)+(c&15).toString(16)} var rg=/[#\/\?@]/g,tg=/[#\?:]/g,sg=/[#\?]/g,wg=/[#\?@]/g,ug=/#/g;function pg(c,d){this.b=this.a=null;this.c=c||null;this.f=!!d}function Cg(c){c.a||(c.a=new ag,c.b=0,c.c&&ig(c.c,function(d,e){c.add(decodeURIComponent(d.replace(/\+/g," ")),e)}))}k=pg.prototype;k.df=function(){Cg(this);return this.b};k.add=function(c,d){Cg(this);this.c=null;c=Dg(this,c);var e=this.a.get(c);e||this.a.set(c,e=[]);e.push(d);this.b+=1;return this}; k.remove=function(c){Cg(this);c=Dg(this,c);return cg(this.a.b,c)?(this.c=null,this.b-=this.a.get(c).length,this.a.remove(c)):!1};k.af=function(){this.a=this.c=null;this.b=0};k.ef=function(){Cg(this);return 0==this.b};function Eg(c,d){Cg(c);d=Dg(c,d);return cg(c.a.b,d)}k.bf=function(c){var d=this.V();return eb(d,c)};k.forEach=function(c,d){Cg(this);this.a.forEach(function(e,f){C(e,function(e){c.call(d,e,f,this)},this)},this)}; k.ea=function(){Cg(this);for(var c=this.a.V(),d=this.a.ea(),e=[],f=0;f=this.left&&c.right<=this.right&&c.top>=this.top&&c.bottom<=this.bottom:c.x>=this.left&&c.x<=this.right&&c.y>=this.top&&c.y<=this.bottom:!1}; k.uf=function(c,d,e,f){Na(c)?(this.top-=c.top,this.right+=c.right,this.bottom+=c.bottom,this.left-=c.left):(this.top-=c,this.right+=Number(d),this.bottom+=Number(e),this.left-=Number(f));return this};k.Td=function(c){this.left=Math.min(this.left,c.left);this.top=Math.min(this.top,c.top);this.right=Math.max(this.right,c.right);this.bottom=Math.max(this.bottom,c.bottom)}; k.Ud=function(c){this.top=Math.min(this.top,c.y);this.right=Math.max(this.right,c.x);this.bottom=Math.max(this.bottom,c.y);this.left=Math.min(this.left,c.x)};k.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};k.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this}; k.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};k.yf=function(c,d){c instanceof ef?(this.left+=c.x,this.right+=c.x,this.top+=c.y,this.bottom+=c.y):(this.left+=c,this.right+=c,Ha(d)&&(this.top+=d,this.bottom+=d));return this};k.xf=function(c,d){d=Ha(d)?d:c;this.left*=c;this.right*=c;this.top*=d;this.bottom*=d;return this};function lh(c,d,e){if(y(d))(d=mh(c,d))&&(c.style[d]=e);else for(var f in d){e=c;var g=d[f],h=mh(e,f);h&&(e.style[h]=g)}}var nh={};function mh(c,d){var e=nh[d];if(!e){var f=Eb(d);e=f;void 0===c.style[f]&&(f=(E.N?"Webkit":E.ba?"Moz":E.u?"ms":E.ka?"O":null)+Fb(f),void 0!==c.style[f]&&(e=f));nh[d]=e}return e}function oh(c,d){var e=kf(c);return e.defaultView&&e.defaultView.getComputedStyle&&(c=e.defaultView.getComputedStyle(c,null))?c[d]||c.getPropertyValue(d)||"":""} function ph(c){try{var d=c.getBoundingClientRect()}catch(e){return{left:0,top:0,right:0,bottom:0}}E.u&&c.ownerDocument.body&&(c=c.ownerDocument,d.left-=c.documentElement.clientLeft+c.body.clientLeft,d.top-=c.documentElement.clientTop+c.body.clientTop);return d} function qh(c,d){d=d||tf(document);var e=rh(c),f=rh(d);if(E.u&&!E.Z(9)){var g=sh(d,"borderLeft");var h=sh(d,"borderRight");var l=sh(d,"borderTop"),n=sh(d,"borderBottom");h=new kh(l,h,n,g)}else g=oh(d,"borderLeftWidth"),h=oh(d,"borderRightWidth"),l=oh(d,"borderTopWidth"),n=oh(d,"borderBottomWidth"),h=new kh(parseFloat(l),parseFloat(h),parseFloat(n),parseFloat(g));d==tf(document)?(g=e.x-d.scrollLeft,e=e.y-d.scrollTop,E.u&&!E.Z(10)&&(g+=h.left,e+=h.top)):(g=e.x-f.x-h.left,e=e.y-f.y-h.top);c=th(c);f= d.clientHeight-c.height;h=d.scrollLeft;l=d.scrollTop;h+=g-(d.clientWidth-c.width)/2;return new ef(h,l+(e-f/2))}function rh(c){var d=kf(c),e=new ef(0,0);var f=d?kf(d):document;f=!E.u||E.Z(9)||rf(hf(f).a)?f.documentElement:f.body;if(c==f)return e;c=ph(c);d=sf(hf(d).a);e.x=c.left+d.x;e.y=c.top+d.y;return e} function uh(c){var d=th;if("none"!=(oh(c,"display")||(c.currentStyle?c.currentStyle.display:null)||c.style&&c.style.display))return d(c);var e=c.style,f=e.display,g=e.visibility,h=e.position;e.visibility="hidden";e.position="absolute";e.display="inline";c=d(c);e.display=f;e.position=h;e.visibility=g;return c}function th(c){var d=c.offsetWidth,e=c.offsetHeight,f=E.N&&!d&&!e;return x(d)&&!f||!c.getBoundingClientRect?new ff(d,e):(c=ph(c),new ff(c.right-c.left,c.bottom-c.top))} function vh(c){return new ff(c.offsetWidth,c.offsetHeight)}function wh(c,d){if(/^\d+px?$/.test(d))return parseInt(d,10);var e=c.style.left,f=c.runtimeStyle.left;c.runtimeStyle.left=c.currentStyle.left;c.style.left=d;d=c.style.pixelLeft;c.style.left=e;c.runtimeStyle.left=f;return+d}function xh(c,d){return(d=c.currentStyle?c.currentStyle[d]:null)?wh(c,d):0} function yh(c,d){if(E.u){var e=xh(c,d+"Left"),f=xh(c,d+"Right"),g=xh(c,d+"Top");c=xh(c,d+"Bottom");return new kh(g,f,c,e)}e=oh(c,d+"Left");f=oh(c,d+"Right");g=oh(c,d+"Top");c=oh(c,d+"Bottom");return new kh(parseFloat(g),parseFloat(f),parseFloat(c),parseFloat(e))}var zh={thin:2,medium:4,thick:6};function sh(c,d){if("none"==(c.currentStyle?c.currentStyle[d+"Style"]:null))return 0;d=c.currentStyle?c.currentStyle[d+"Width"]:null;return d in zh?zh[d]:wh(c,d)};var Ah=[0,25,50,75,100]; function Bh(){var c=this;this.Cb=this.s=this.g=this.c=this.C=this.i=0;this.F=sf(document);this.oc=new fh;this.h=new T;this.w=this.ya=this.xa=this.b=this.f=this.a=null;this.jc=this.X=this.td=this.H=this.Ga=this.kc=this.m=0;this.Bb=!0;this.v=0;this.Db=this.Ea=this.Fa=-1;this.L=this.Fb=0;this.ja=!1;this.lc=new MutationObserver(function(){return Ch(c)});this.mc=new eh(function(){return Dh(c)},20);this.qc=new eh(function(){document.body.dispatchEvent(new CustomEvent("devsite-sticky-scroll",{bubbles:!0, detail:{x:c.Cb,y:c.s,offset:c.i}}))},16);this.ic=new eh(function(){Eh(c);Fh(c);c.v=Math.max(0,c.F.y)},20)}function Gh(c){Hh(c);Ih(c);Jh(c);Dh(c);Fh(c)} function Hh(c){c.h.j(window,"scroll",function(){return Fh(c)});c.h.j(window,"resize",function(){return Eh(c)});c.h.j(document.body,"devsite-sticky-freeze",function(){return c.ja=!0});c.h.j(document.body,["devsite-content-updated","devsite-element-visible","devsite-element-hidden","devsite-page-loaded"],function(){return Jh(c)});c.h.j(document.body,"devsite-before-page-change",function(){return Kh(c)})}function Jh(c){window.requestAnimationFrame(function(){return c.ic.D()})} function Kh(c){var d=c.v+c.m,e=Math.max(c.H+c.Ga,c.m),f=Math.min(100,Math.floor(d/e*100));10>Math.abs(e-d)&&(f=100);d=Ah.find(function(c){return c>=f});document.body.dispatchEvent(new CustomEvent("devsite-analytics-observation",{detail:{category:"Site-Wide Custom Events",action:"pageScrollRaw",label:f+"%"},bubbles:!0}));document.body.dispatchEvent(new CustomEvent("devsite-analytics-observation",{detail:{category:"Site-Wide Custom Events",action:"pageScroll",label:d+"%"},bubbles:!0}));c.v=0} function Ih(c){var d=Og(S.HEADER);d&&(c.a=d,c.Bb=!c.a.hasAttribute("keep-tabs-visible"),c.lc.observe(d,{attributes:!0,attributeFilter:["top-row--height","bottom-row--height","bottom-tabs--height"]}));if(d=document.querySelector("#gc-wrapper"))c.ya=d;(d=Og(S.BOOK_NAV))?(c.f=d,c.f.setAttribute("fixed","")):c.f=null;c.b=null;d=Pg(S.TOC);d.length&&(d=d.find(function(c){return c.classList.contains("devsite-toc")}))&&!d.hasAttribute("hidden")&&(c.b=d,c.b.setAttribute("fixed",""),c.xa=c.b.querySelector(".devsite-nav-list:first-of-type")); c.w=null;Array.from(document.querySelectorAll(".devsite-footer")).some(function(d){if(vh(d).height)return c.w=d,!0})} function Ch(c){var d=c.oc;d.a?(d=d.a,d=new ff(d.width,d.height)):d=null;c.m=d.height;c.a&&(c.C=parseFloat(c.a.getAttribute("top-row--height")||0),c.c=parseFloat(c.a.getAttribute("bottom-row--height")||0),c.g=parseFloat(c.a.getAttribute("bottom-tabs--height")||0));var e=Og(S.CONTENT);e&&(d=vh(e),e=parseFloat(oh(e,"marginLeft")),c.kc=d.width+e,c.Ga=d.height);if(e=document.querySelector(".devsite-main-content"))d=parseFloat(oh(e,"paddingTop")),e=parseFloat(oh(e,"paddingBottom")),c.X=d,c.jc=e;c.ya&&(c.a&& !c.a.hasAttribute("fixed")&&c.a.setAttribute("fixed",""),d=c.C+c.c,c.H!==d&&(c.H=d,lh(c.ya,"marginTop",d+"px")));c.b&&(c.Fb=c.b.offsetWidth);c.w&&(d=c.w,c.L=(new ef(d.offsetLeft,d.offsetTop)).y)}function Lh(c){var d=c.m,e=c.m,f=c.C+c.c;d=d-f+c.i;e=e-f+c.i;d-=c.X;d-=48;c.L&&(c=c.L-(c.s+c.m),0>c&&(d-=Math.abs(c)));d=Math.max(0,d);e=Math.max(0,e);return{Pa:d,$a:f,Ha:e}}function Eh(c){window.requestAnimationFrame(function(){return c.mc.D()})} function Dh(c){Ih(c);Ch(c);Fh(c);document.body.dispatchEvent(new CustomEvent("devsite-sticky-resize",{bubbles:!0}))}function Fh(c){c.F=sf(document);window.requestAnimationFrame(function(){Mh(c)})} function Mh(c){var d=Math.max(0,c.F.y),e=c.s>d,f=Math.abs(c.s-d),g=c.i||0;c.v=Math.max(c.v,d);c.s=d;c.Cb=Math.max(0,c.F.x);if(c.ja)c.ja=!1;else{var h=[],l=!c.Bb&&0!==c.g;e?(e=c.c,e=l?c.g:e-c.g,g=d>e?Math.max(g-f,c.c-c.g):Math.max(0,g-f)):(d=c.c,l&&(d=c.c-c.g),g=Math.min(g+f,d));g=Math.round(Math.max(0,g));f=c.i!==g;c.i=g;var n=Lh(c);c.a&&f&&c.a.setAttribute("offset",g);if(c.f)if(0n.Pa?c.b.setAttribute("visually-hidden",""):c.b.removeAttribute("visually-hidden"),c.Db!==n.Pa&&(h.push(function(){c.b.setAttribute("max-height",n.Pa)}),c.Db=n.Pa),h.push(function(){c.xa&&lh(c.xa,"max-width",c.Fb+"px")}),f&&h.push(function(){c.b.setAttribute("offset",g)}));h.length&&window.requestAnimationFrame(function(){h.forEach(function(d){return d.apply(c)}); c.qc.D()})}}function Nh(c,d,e){c.a&&(c.a.style.opacity=0);window.scrollTo(void 0===d?0:d,void 0===e?0:e);c.a&&window.requestAnimationFrame(function(){c.a.style.opacity=1})}Bh.prototype.R=function(){U(this.h)};function Oh(c){Wc(this,c,null)}A(Oh,Uc);Oh.prototype.v=function(c){var d,e={action:null==(d=M(this,1,0))?void 0:d,name:null==(d=M(this,2,""))?void 0:d,height:null==(d=M(this,3,0))?void 0:d,width:null==(d=M(this,4,0))?void 0:d,title:null==(d=M(this,5,""))?void 0:d,url:null==(d=M(this,6,""))?void 0:d,ah:null==(d=M(this,7,""))?void 0:d,ud:null==(d=M(this,8,""))?void 0:d};c&&(e.aa=this);return e}; Oh.prototype.s=function(){var c=new Fc;var d=M(this,1,0);0!==d&&Lc(c,1,d);d=M(this,2,"");0 * > h2,[ds-is="content"] :not(.code-sample):not(.data-sample):not(.devsite-dialog):not(devsite-dialog):not(.ds-selector-dropdown):not(.ds-selector-tabs) > * > h3,[ds-is="content"] :not(.ds-selector-dropdown):not(.ds-selector-tabs) > * > h4,[ds-is="content"] :not(.ds-selector-dropdown):not(.ds-selector-tabs) > * > h5,[ds-is="content"] :not(.ds-selector-dropdown):not(.ds-selector-tabs) > * > h6', "devsite-heading"],[".devsite-apix","devsite-apix"],[".devsite-sort","devsite-sort"],[".devsite-vplus","devsite-vplus"],["#gdf","devsite-forum"]]);function bi(c,d,e,f){e=void 0===e?new Map:e;f=void 0===f?[]:f;this.c=c.toLowerCase().replace("-","_");this.f=d;this.h=f;this.g=e||new Map;this.a=[];this.b={};e&&(this.a=Array.from(e.keys()))}function ci(c){return Promise.all(c.h.map(function(d){return di(c,d)}))} function ei(c){for(var d=document,e={},f=m(ai.entries()),g=f.next();!g.done;e={Sa:e.Sa},g=f.next()){g=m(g.value);var h=g.next().value;e.Sa=g.next().value;Array.from(d.querySelectorAll(h)).forEach(function(c){return function(d){if(!d.hasAttribute("is-upgraded")){var e=d.parentElement,f=d.nextSibling,g=document.createElement(c.Sa);d.setAttribute("is-upgraded","");g.appendChild(d);e.insertBefore(g,f)}}}(e))}e=c.a.slice().map(function(e){return d.querySelectorAll(e+",[is*="+e+"]").length?di(c,e):Promise.resolve()}); return Promise.all(e)} function di(c,d){var e,f,g,h;return u(function(l){switch(l.a){case 1:e=c.g.get(d);if(!e)throw Error(d+" is not a white-listed component.");f=c.b[d];if(void 0!==f)return l.return(f);c.b[d]=Promise.resolve();g=c.a.indexOf(d);-1!==g&&c.a.splice(g,1);if(window.customElements.get(d))return l.return(Promise.resolve());h=new Zh("Custom Element "+d,"load");h.start();l.b=2;var n=[];if(e.src){var q=c.f+"/js/"+e.src;c.c&&(q=q.replace(/\.js$/,"__"+c.c+".js"));q=Ig(q);n.push(q)}if(e.style){q=Ag(c.f+"/css/"+e.style); var w=document.createElement("link");w.setAttribute("rel","stylesheet");w.setAttribute("type","text/css");w.setAttribute("href",q.toString());q=Gg(q.toString(),w);n.push(q)}n=Promise.all(n);return t(l,n,4);case 4:va(l,3);break;case 2:throw wa(l),Error("Failed to load resources for "+d);case 3:if(!e.src){l.K(0);break}$h(h);h.send();l.b=6;return t(l,window.customElements.whenDefined(d),8);case 8:va(l,0);break;case 6:throw wa(l),Error(d+" failed to be defined");}})};function V(c,d,e,f,g,h){var l=this;this.L=c;this.g=d;this.xa=e;this.F=f;this.Ea=g;this.m=this.c=null;this.b=new T;this.H=!1;if(h)try{this.C=new URL(h)}catch(n){console.warn("Invalid script safe domain",h)}this.f=0;this.i=this.a=null;this.w=this.X=!1;this.h=new Zh(R().href,"load");this.s=[];this.Ga=new eh(function(){Hg(R().href,!0)},250);this.v=new eh(function(){return fi(l)},20);this.ya=new MutationObserver(function(){l.v.D()})}k=V.prototype;k.R=function(){U(this.b);this.a&&this.a.R();this.i&&this.i.R()}; function gi(c,d){var e,f,g;return u(function(h){switch(h.a){case 1:"ontouchstart"in window&&document.body.setAttribute("touch","");"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");c.showLoading(150);try{c.m=new Tg(c.g,d,c.appNeedsRefresh.bind(c))}catch(l){}hi(c);c.a=new Bh;e=new bi(c.getLocale(),c.g,c.F,c.Ea);c.c=e;h.b=2;return t(h,ci(e),4);case 4:va(h,3);break;case 2:return f=wa(h),console.warn("Failed to initialize core elements",f),ii(c,"Failed to initialize core elements"), h.return();case 3:return h.b=5,t(h,ei(e),7);case 7:va(h,6);break;case 5:g=wa(h),console.warn("Failed to upgrade elements",g);case 6:document.documentElement.hasAttribute("cached")?ji(c):(c.v.D(),ki(c),li(c),mi(c),c.hideLoading()),h.a=0}})} function ni(){var c=oi,d,e;u(function(f){if(1==f.a){if(c.H)return f.return();c.H=!0;c.i=new Xh;d=new bi(c.getLocale(),c.g,c.F);c.c=d;try{c.m=new Tg(c.g)}catch(g){}c.b.j(window,"unload",function(){c.R()});e=function(){return"complete"===document.readyState||"loaded"===document.readyState?Promise.resolve(!0):new Promise(function(d){c.b.j(document,"DOMContentLoaded",d)})}();return t(f,e,2)}if(3!=f.a)return t(f,ei(c.c),3);Yh(c.i);f.a=0})}k.getStaticPath=function(){return this.g}; k.getLocale=function(){return"en"===this.L?"":this.L};k.Aa=function(){return this.ja?this.ja.Aa():this.xa};k.getInsecureHost=function(){if(this.C)return this.C.origin};k.appNeedsRefresh=function(c){this.X=!0;(void 0===c?0:c)&&this.m&&(c=new Sg,P(c,1,3,0),this.m.sendMessage(c))}; function li(c){document.body.hasAttribute("ready")||(Gh(c.a),(new Zh("Application","ready")).send(),window.requestAnimationFrame(function(){var c=new CustomEvent("devsite-page-loaded");document.body.dispatchEvent(c);document.body.setAttribute("ready","");document.body.removeAttribute("pending")}))} function ji(c){var d,e,f,g,h,l;u(function(n){switch(n.a){case 1:return d=R(),e=new jg(d),xg(e,"partial","1"),d.search=e.a.toString(),t(n,window.caches.open("devsite.pwa_RUNTIME_v2"),2);case 2:f=n.c;if(!f){pi();n.K(0);break}return t(n,f.match(d.href),4);case 4:if(g=n.c){n.K(5);break}return t(n,f.match("/_static/offline?partial=1"),6);case 6:g=n.c;case 5:if(!g){n.K(0);break}return t(n,g.text(),8);case 8:h=n.c;c.h=new Zh(R().href,"load");try{l=jd(ld,h)}catch(q){}l?(qi(c,l),document.documentElement.removeAttribute("cached"), li(c),mi(c)):pi();n.a=0}})}function mi(c){if(window.history.state&&c.a){var d=window.history.state.scrollX||null,e=window.history.state.scrollY||null;if(null!==d||null!==e){Nh(c.a,d||0,e||0);return}}R().hash&&ri(c,R().hash)}k.showLoading=function(c){var d=this;if(!this.f){var e=document.querySelector("#app-progress");e&&(this.f=window.setTimeout(function(){e.setAttribute("type","indeterminate");d.f=0},void 0===c?0:c))}}; k.hideLoading=function(){window.clearTimeout(this.f);this.f=0;var c=document.querySelector("#app-progress");c&&c.removeAttribute("type")}; function hi(c){c.b.j(document.body,["click","devsite-click"],function(d){c.w=!1;var e=Wf(d.target,"A");if(e&&("devsite-click"!==d.type&&document.body.dispatchEvent(new CustomEvent("devsite-linked-clicked",{detail:{target:e},bubbles:!0})),e.href)){var f=R();Hg(f.href,!0);if(!(d.shiftKey||d.ctrlKey||d.metaKey||d.altKey))if(e.hasAttribute("reload"))d.preventDefault(),c.reload();else{var g=Ng(e.href);f.origin===g.origin&&0!==g.pathname.indexOf("/_ah/")&&0!==g.pathname.indexOf("/_d/signin")&&0!==g.pathname.indexOf("/_d/signout")&& 0!==g.pathname.indexOf("/oauth2authorize")&&(!/\.[0-9a-z]+$/.test(g.pathname)||f.pathname===g.pathname&&f.search===g.search?c.X?c.showLoading(150):(d.preventDefault(),f.pathname===g.pathname&&f.search===g.search?(document.body.dispatchEvent(new CustomEvent("devsite-sitemask-hide",{bubbles:!0})),g.hash?ri(c,g.hash,!0):ri(c,"#",!1)):(d=e.getAttribute("href"),d.startsWith("http")||d.startsWith("/")||d.startsWith("#")||(g=c.Aa(),f=f.pathname,e=f.split("/"),e.shift(),["index","index.md","index.html","index.yaml", "_index.yaml"].includes(e[e.length-1])&&e.pop(),f.endsWith("/")&&e.pop(),g||e.pop(),g=Ng(e.join("/")+"/"+d)),c.fetchPage(g.href))):c.w=!0)}}});c.b.j(document.body,"devsite-sticky-scroll",function(d){c.Ga.D(d)});c.b.j(window,"popstate",function(d){d=d.G;var e=null,f=null;if(d.state){var g=d.state.path;e=d.state.scrollX;f=d.state.scrollY}g=g?new URL(g,document.location.origin):R();c.fetchPage(g.href,!1,e,f)});c.b.j(window,"beforeunload",function(){c.w||(c.showLoading(150),c.a&&Kh(c.a))});c.b.j(window, "unload",function(){c.R()});c.b.j(document.body,"devsite-load-custom-elements",function(d){si(c,d)});c.ya.observe(document.body,{childList:!0,subtree:!0})}function si(c,d){var e,f,g,h;u(function(l){if(1==l.a){if(!c.c)return l.return();e=d.G;f=e.detail;g=[];if(!f)return l.K(0);f.forEach(function(d){g.push(di(c.c,d))});l.b=3;return t(l,Promise.all(g),5)}if(3!=l.a)return va(l,0);h=wa(l);Qg(h.message);l.a=0})} function ri(c,d,e){e=void 0===e?!1:e;var f=sf(document).x;d=d.trim();if(0!==d.length&&"#"===d[0]){var g=d.substr(1);if(""===g||"top_of_page"===g||"top"===g)window.scrollTo(f,0);else{f=document.querySelector('[id="'+g+'"],[name="'+g+'"]');if(!f)return;c.a&&(c=c.a,f&&(g=sf(document).x,f=rh(f),window.scrollTo(g,Math.floor(f.y)-(c.C+c.c-c.X))))}e&&(e=R(),e.hash=d,Hg(e.href))}}k.reload=function(){var c=R();return this.fetchPage(c.href)}; k.fetchPage=function(c,d,e,f){d=void 0===d?!0:d;e=void 0===e?null:e;f=void 0===f?null:f;var g=this,h,l,n,q,w,F,ca;return u(function(B){switch(B.a){case 1:ti();g.showLoading(150);document.body.dispatchEvent(new CustomEvent("devsite-before-page-change",{bubbles:!0,cancelable:!1}));h=new URL(c,document.location.origin);if(h.origin!==document.location.origin)return cf(h.href),B.return();l=h.href;n=new jg(h.href);xg(n,"partial","1");h.search=n.a.toString();d&&Hg(l);g.h=new Zh(c,"load");g.h.start();w=new Headers; w.append("X-DevSite-Partial-Request","1");B.b=2;return t(B,Jg(h.href,{redirect:"manual",headers:w}),4);case 4:q=B.c;va(B,3);break;case 2:return F=wa(B),l===R().href&&(F&&"opaqueredirect"===F.type||200==F.status&&!F.headers.get("X-DevSite-Partial-Response")?df().location.reload():ii(g,"Fetch failed for "+h.href,F)),B.return();case 3:if(l!==R().href)return B.return();if(!q)return ii(g,"No response for "+h.href),B.return();B.b=5;return t(B,Promise.resolve(jd(ld,q)),7);case 7:ca=B.c;va(B,6);break;case 5:return wa(B), ii(g,"Invalid proto returned for "+h.href),B.return();case 6:return t(B,qi(g,ca),8);case 8:ki(g),g.a&&null!==e||null!==f?Nh(g.a,e||0,f||0):window.requestAnimationFrame(function(){ri(g,R().hash||"#")}),B.a=0}})};function ui(c,d){var e,f;u(function(g){if(1==g.a)return t(g,d.text(),2);if(e=g.c)try{return f=jd(ld,e),qi(c,f,404),g.return()}catch(h){}pi();g.a=0})}function ii(c,d,e){$h(c.h).send();e&&404===e.status?ui(c,e):(c.hideLoading(),pi(),d&&Qg("Fetch Page Failed: "+d))} function ti(){var c=Og(S.SNACKBAR);c&&"error"===c.getAttribute("type")&&c.removeAttribute("type")}function pi(){var c=Og(S.SNACKBAR);c&&c.setAttribute("type","error")} function vi(c,d,e){e=void 0===e?200:e;var f,g,h,l,n,q;u(function(w){window.scroll(sf(document).x,0);wi(M(d,13,""));xi(M(d,15,""));yi(d);(f=Og(S.BOOK_NAV))&&(N(d,11)?f.removeAttribute("hidden"):f.setAttribute("hidden",""));g=new Map([[S.HEADER,M(d,2,"")],[S.BOOK_NAV,M(d,4,"")],[S.CONTENT,M(d,3,"")],[S.FOOTER_PROMOS,M(d,7,"")],[S.FOOTER_LINKBOXES,M(d,6,"")],[S.FOOTER_UTILITY,M(d,5,"")],[S.ANALYTICS,M(d,14,"")]]);g.forEach(function(c,d){(d=Og(d))&&d.updateContent&&d.updateContent(c)});if(h=Pg(S.TOC))for(l= m(h),n=l.next();!n.done;n=l.next())(q=n.value)&&q.updateContent((!!N(d,10)).toString());c.v.D();c.hideLoading();document.body.hasAttribute("ready")&&document.body.dispatchEvent(new CustomEvent("devsite-page-changed",{bubbles:!0,detail:{status:e}}));$h(c.h).send();w.a=0})}function fi(c){return u(function(d){return c.c?t(d,ei(c.c),0):d.K(0)})}function ki(c){c.s=Array.from(document.body.querySelectorAll("a[href]"));zi(c)} function zi(c,d){d=void 0===d?100:d;var e=c.s.splice(0,d),f=window.performance.now();e.forEach(function(c){bf(c,Ng(c.href).href)});d=30>window.performance.now()-f?1.5*d:.8*d;d=Math.max(1,d);c.s.length&&window.requestAnimationFrame(function(){zi(c,d)})}function qi(c,d,e){c.ja=d;vi(c,d,void 0===e?200:e)} function xi(c){var d=document.createRange().createContextualFragment(c||"");'link[rel="publisher"] title meta[name="baidu-site-verification"] meta[name="description"] meta[name="robots"] meta[name="theme-color"]'.split(" ").forEach(function(c){var e=document.head.querySelector(c);c=d.querySelector(c);e&&c?Ef(c,e):c?document.head.appendChild(c):e&&Df(e)});Array.from(document.head.querySelectorAll('meta[property^="og:"],meta[name^="twitter:"],script[type="application/ld+json"]')).forEach(function(c){return Df(c)}); Array.from(d.querySelectorAll('meta[property^="og:"],meta[name^="twitter:"],script[type="application/ld+json"]')).forEach(function(c){return document.head.appendChild(c)})} function yi(c){var d="devsite-book-nav--open pending ready class layout theme type xmlns".split(" "),e=new Set(Array.from(document.body.attributes).map(function(c){return c.nodeName}).filter(function(c){return-1===d.indexOf(c)}));document.body.setAttribute("class",M(c,16,""));document.body.setAttribute("layout",N(c,23)?"full":"docs");document.body.setAttribute("type",Ai(M(c,12,0)));document.body.setAttribute("theme",M(c,9,""));M(c,17,"").split(/\s+/).map(function(c){if(c){var d=c.match(/([^=]+)="(.*?)"/); return d?[d[1],d[2]]:[c,""]}}).filter(function(c){return c&&-1==d.indexOf(c[0])}).forEach(function(c){document.body.setAttribute.apply(document.body,ba(c));e.delete(c[0])});e.forEach(function(c){document.body.removeAttribute(c)})} function Ai(c){switch(c){case 1:c="article";break;case 7:c="error";break;case 2:c="landing";break;case 13:c="lcat";break;case 3:c="marketing";break;case 12:c="pricing";break;case 14:c="profile";break;case 4:c="reference";break;case 5:c="search";break;default:c="article"}return c}function wi(c){document.documentElement.setAttribute("lang",void 0===c?"":c)}V.prototype.fetchPage=V.prototype.fetchPage;V.prototype.reload=V.prototype.reload;V.prototype.hideLoading=V.prototype.hideLoading; V.prototype.showLoading=V.prototype.showLoading;V.prototype.appNeedsRefresh=V.prototype.appNeedsRefresh;V.prototype.getInsecureHost=V.prototype.getInsecureHost;V.prototype.getIsPageDirRoot=V.prototype.Aa;V.prototype.getLocale=V.prototype.getLocale;V.prototype.getStaticPath=V.prototype.getStaticPath;var oi=null;Xa("devsite.two.init",function(c,d,e,f,g,h,l){oi||(oi=new V(c,d,e,f,g,void 0===l?"":l),Xa("devsite.two.app",oi));c=oi;c.Fa||(c.Fa=gi(c,h))});Xa("devsite.two.framebox.init",function(c,d,e,f){oi||(oi=new V(c,d,e,f,void 0,void 0),Xa("devsite.two.app",oi));ni()});var W=new Map([]);W.set("devsite-apix",{src:"devsite_apix_module.js"});W.set("devsite-chart",{src:"devsite_chart_module.js"});W.set("devsite-code",{src:"devsite_code_module.js"});W.set("devsite-cse",{src:"devsite_cse_module.js"});W.set("devsite-debug-info",{src:"devsite_debug_info_module.js"});W.set("devsite-dialog",{src:"devsite_dialog_module.js"});W.set("devsite-dynamic-content",{src:"devsite_dynamic_content_module.js"});W.set("devsite-expandable",{src:"devsite_expandable_module.js"}); W.set("devsite-feedback",{src:"devsite_feedback_module.js"});W.set("devsite-filter",{src:"devsite_filter_module.js"});W.set("devsite-forum",{src:"devsite_forum_module.js"});W.set("devsite-framebox",{src:"devsite_framebox_module.js"});W.set("devsite-gcs",{src:"devsite_gcs_module.js"});W.set("devsite-googler-buttons",{src:"devsite_googler_buttons_module.js"});W.set("devsite-heading",{src:"devsite_heading_module.js"});W.set("devsite-mathjax",{src:"devsite_mathjax_module.js"});W.set("devsite-mdc",{src:"devsite_mdc_module.js"}); W.set("devsite-nav-buttons",{src:"devsite_nav_buttons_module.js"});W.set("devsite-page-rating",{src:"devsite_page_rating_module.js"});W.set("devsite-pagination",{src:"devsite_pagination_module.js"});W.set("devsite-select",{src:"devsite_select_module.js"});W.set("devsite-selector",{src:"devsite_selector_module.js"});W.set("devsite-snackbar",{src:"devsite_snackbar_module.js"});W.set("devsite-sort",{src:"devsite_sort_module.js"});W.set("devsite-spinner",{src:"devsite_spinner_module.js"}); W.set("devsite-support-form",{src:"devsite_support_form_module.js"});W.set("devsite-tooltip",{src:"devsite_tooltip_module.js"});W.set("devsite-tracking-question",{src:"devsite_tracking_question_module.js"});W.set("devsite-version-selector",{src:"devsite_version_selector_module.js"});W.set("devsite-vplus",{src:"devsite_vplus_module.js"});W.set("devsite-wall-acknowledgement",{src:"devsite_wall_acknowledgement_module.js"});W.set("devsite-youtube",{src:"devsite_youtube_module.js"});var X; X=W.get("devsite-apix")||{};X.style="devsite_apix.css";W.set("devsite-apix",X);X=W.get("devsite-code")||{};X.style="devsite_code.css";W.set("devsite-code",X);X=W.get("devsite-content-footer")||{};X.style="devsite_content_footer.css";W.set("devsite-content-footer",X);X=W.get("devsite-cse")||{};X.style="devsite_cse.css";W.set("devsite-cse",X);X=W.get("devsite-debug-info")||{};X.style="devsite_debug_info.css";W.set("devsite-debug-info",X);X=W.get("devsite-dialog")||{};X.style="devsite_dialog.css"; W.set("devsite-dialog",X);X=W.get("devsite-dynamic-content")||{};X.style="devsite_dynamic_content.css";W.set("devsite-dynamic-content",X);X=W.get("devsite-expandable")||{};X.style="devsite_expandable.css";W.set("devsite-expandable",X);X=W.get("devsite-feedback")||{};X.style="devsite_feedback.css";W.set("devsite-feedback",X);X=W.get("devsite-filter")||{};X.style="devsite_filter.css";W.set("devsite-filter",X);X=W.get("devsite-framebox")||{};X.style="devsite_framebox.css";W.set("devsite-framebox",X); X=W.get("devsite-googler-buttons")||{};X.style="devsite_googler_buttons.css";W.set("devsite-googler-buttons",X);X=W.get("devsite-heading")||{};X.style="devsite_heading.css";W.set("devsite-heading",X);X=W.get("devsite-mathjax")||{};X.style="devsite_mathjax.css";W.set("devsite-mathjax",X);X=W.get("devsite-nav-buttons")||{};X.style="devsite_nav_buttons.css";W.set("devsite-nav-buttons",X);X=W.get("devsite-page-rating")||{};X.style="devsite_page_rating.css";W.set("devsite-page-rating",X); X=W.get("devsite-pagination")||{};X.style="devsite_pagination.css";W.set("devsite-pagination",X);X=W.get("devsite-select")||{};X.style="devsite_select.css";W.set("devsite-select",X);X=W.get("devsite-selector")||{};X.style="devsite_selector.css";W.set("devsite-selector",X);X=W.get("devsite-snackbar")||{};X.style="devsite_snackbar.css";W.set("devsite-snackbar",X);X=W.get("devsite-spinner")||{};X.style="devsite_spinner.css";W.set("devsite-spinner",X);X=W.get("devsite-support-form")||{};X.style="devsite_support_form.css"; W.set("devsite-support-form",X);X=W.get("devsite-tooltip")||{};X.style="devsite_tooltip.css";W.set("devsite-tooltip",X);X=W.get("devsite-tracking-question")||{};X.style="devsite_tracking_question.css";W.set("devsite-tracking-question",X);X=W.get("devsite-version-selector")||{};X.style="devsite_version_selector.css";W.set("devsite-version-selector",X);X=W.get("devsite-vplus")||{};X.style="devsite_vplus.css";W.set("devsite-vplus",X);X=W.get("devsite-youtube")||{};X.style="devsite_youtube.css"; W.set("devsite-youtube",X);var Bi="android-samples devsite-analytics devsite-analytics-scope devsite-book-nav devsite-content devsite-expandable-nav devsite-footer-linkboxes devsite-footer-promos devsite-footer-utility devsite-header devsite-progress devsite-search devsite-sitemask devsite-tabs devsite-toc devsite-user".split(" ");Bi.forEach(function(c){return W.set(c,{})});Xa("devsite.two.AUTHORIZED_ELEMENTS",W);Xa("devsite.two.CORE_ELEMENTS",Bi);function Y(c){var d=HTMLElement.call(this)||this;c&&(y(c)&&(c=[c]),document.body.dispatchEvent(new CustomEvent("devsite-load-custom-elements",{bubbles:!0,detail:c})));return d}p(Y,HTMLElement);Y.prototype.connectedCallback=function(){Ci(this)};Y.prototype.J=function(){return""};function Ci(c){var d=c.J();!c.hasAttribute("ds-is")&&d&&c.setAttribute("ds-is",d)}Y.prototype.updateContent=function(){console.warn(this.tagName,"has not implemented update")}; function Di(c){c=void 0===c?"":c;return document.createRange().createContextualFragment(c||"")}function Ei(c,d,e){d&&e?d.parentNode.replaceChild(document.importNode(e,!0),d):!e&&d?d.parentNode.removeChild(d):!d&&e&&c.appendChild(document.importNode(e,!0))}Y.prototype.connectedCallback=Y.prototype.connectedCallback;var Fi=!E.product.u&&!Qb();function Gi(c){if(/-[a-z]/.test("value"))return null;if(Fi&&c.dataset){if(Sb()&&!("value"in c.dataset))return null;c=c.dataset.value;return void 0===c?null:c}return c.getAttribute("data-"+"value".replace(/([A-Z])/g,"-$1").toLowerCase())};function Z(){var c=Y.call(this)||this;c.a=void 0;c.b=new T;c.f=new T;c.g=new MutationObserver(function(){return Hi(c)});c.g.observe(c,{childList:!0,characterData:!0});return c}p(Z,Y);k=Z.prototype;k.J=function(){return"analytics"}; k.connectedCallback=function(){var c=this;Ci(this);Ii();Ji(Ki(this));Hi(this);this.b.j(window,"error",function(d){d=d.G.error;var e="Unknown Error";d&&(d.message?e=d.message:d.stack?e=d.stack:e=String(d));c.nb(e)});this.b.j(document.body,Zd,function(d){d=d.G.detail;c.Qa(d.category,d.action,d.label,d.value)});this.b.j(document.body,$d,function(d){d=d.G.detail;c.cc(d.category,d.variable,d.value,d.timingLabel)});this.b.j(document.body,ae,function(d){c.nb(d.G.detail.message)});this.b.j(document.body, "devsite-linked-clicked",function(d){d=Li(d.G.detail.target);d.ca&&c.Qa(d.ca,d.action,d.label,d.value)});this.b.j(document.body,be,function(d){Mi(c,d.G.detail||null)});this.b.j(document.body,ce,function(d){d=d.G.detail;c.Zb(d.name,d.value,d.gaid)});Ni();Oi(this);"false"!==this.getAttribute("send-page-view")&&Mi(this);this.b.j(document.body,"devsite-page-changed",function(){Ni();Oi(c);Mi(c)})}; k.disconnectedCallback=function(){0==Pg("analytics").length&&(delete window.GoogleAnalyticsObject,delete window.ga,Df(document.querySelector('script[src*="google-analytics.com"]')));Pi(this);U(this.b);U(this.f)};k.updateContent=function(c){var d=this;c&&(zf(this),c=Di(c),Array.from(c.querySelectorAll('script[type="application/json"]')).forEach(function(c){d.appendChild(c)}))}; function Qi(c,d){void 0!=c.a&&(Pi(c),c.a=void 0);void 0!=d&&"ga"in window?(c.a=Array.isArray(d)?d:[d],c.a.filter(function(c){return!("gaid"in c)}).length?(c.a=void 0,console.error("Analytics configuration is missing a 'gaid'")):c.a.forEach(function(c,d){Ri(c,d);window.ga("require","linkid",{Ed:"_gali_"+c.gaid})})):c.a=void 0}function Oi(c){U(c.f);"ga"in window&&(c=c.a||null)&&c.forEach(function(c,e){return window.ga("tracker"+e+".set","page",Rg(document.location.pathname))});Si()} function Hi(c){var d=c.querySelector("script[analytics]");if(d&&d.textContent){var e=void 0;try{e=JSON.parse(d.textContent)}catch(f){console.error("Analytics configuration is not valid JSON.")}e?Qi(c,e):Qi(c,void 0)}else Qi(c,void 0);(c=c.getAttribute("slo-tracker-id"))&&window.ga&&window.ga("create",c,{name:"slo"})}function Pi(c){"ga"in window&&(window.ga("slo.remove"),(c=c.a||null)&&c.forEach(function(c,e){return window.ga("tracker"+e+".remove")}))} function Ii(){x(window.ga)||(window.GoogleAnalyticsObject="ga",window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=(new Date).valueOf(),Ig("//www.google-analytics.com/analytics.js"))} function Si(){Array.from(document.querySelectorAll("iframe.link-analytics")).forEach(function(c){var d=c.getAttribute("data-src"),e=c.getAttribute("src");window.a=window.a||Ia("window.ga");window.a(function(){var c=this;window.a.getAll().forEach(function(f){var g=Ia("window.gaplugins.Linker");window.b=window.b||new g(f);f=window.b.decorate(e||d,null);e!==f&&(e&&c.setAttribute("src",f),d&&c.setAttribute("data-src",f))})}.bind(c))})} function Ji(c){window.dataLayer=window.dataLayer||[];c.length&&Ti();c.forEach(function(c){window.dataLayer=window.dataLayer||[];var d=document.getElementsByTagName("script")[0],f=document.createElement("script");f.async=!0;f.src="//www.googletagmanager.com/gtm.js?id="+c;d.parentNode.insertBefore(f,d)})} function Ri(c,d){var e="tracker"+d;window.ga("create",c.gaid,{cookieDomain:window.location.hostname,name:e});(c=c.dimensions)&&Object.entries(c).forEach(function(c){var d=m(c);c=d.next().value;d=d.next().value;return window.ga(e+".set",c,d)})}function Ui(c,d,e){var f=Object.assign({},e||{}),g=Object.keys(f);if(0===g.length)return{};(c=c.a||null)&&c.forEach(function(c){if(c.gaid===d&&(c=c.metrics))for(var e in c)if(g.includes(e)){var h=f[e];delete f[e];f[c[e]]=h}});return f} function Mi(c,d){window.ga(function(){var e=Vi(c);e&&e.forEach(function(e){var f=Ui(c,e.get("trackingId"),d);e.send("pageview",f)});Ki(c).length&&(window.dataLayer||[]).push({"gtm.start":(new Date).getTime(),event:"gtm.js"})})}function Ni(){window.ga("slo.send","pageview")}k.cc=function(c,d,e,f){var g=this;window.ga&&window.ga(function(){Vi(g).forEach(function(g){g.send("timing",{timingCategory:c,timingVar:d,timingValue:e,timingLabel:f})})})}; k.Qa=function(c,d,e,f){var g=[];Vi(this).forEach(function(h){g.push(new Promise(function(g){return h.send("event",{eventCategory:c,eventAction:d,eventLabel:e,eventValue:f,hitCallback:g})}))});Ki(this).length&&g.push(new Promise(function(g){return window.dataLayer.push({event:"GAEvent",eventCategory:c,eventAction:d,eventLabel:e,eventValue:f,eventCallback:g})}));return Promise.all(g)}; k.nb=function(c,d){var e=this;if(window.ga){var f={exDescription:c,exFatal:void 0===d?!1:d};window.ga("slo.send","exception",f);window.ga(function(){Vi(e).forEach(function(c){c.send("exception",f)})})}};k.Zb=function(c,d,e){var f=this.a||null;f&&f.forEach(function(f,h){f.gaid==e&&window.ga("tracker"+h+".set",c,d)})}; function Ti(){var c={};Array.from(document.querySelectorAll("meta[name=gtm_var]")).forEach(function(d){d.dataset.key&&d.dataset.value&&(c[d.dataset.key]=d.dataset.value)});window.dataLayer.push(c)}function Li(c){var d=c.dataset.category||void 0,e=c.dataset.action||"click",f=c.dataset.label||void 0;c=Number(Gi(c))||void 0;return{ca:d,action:e,label:f,value:c}}k.pc=function(c){var d=Li(c);d.ca&&this.Gb(c,d.ca,d.action,d.label,d.value)}; k.Gb=function(c,d,e,f,g){var h=this;this.f.j(c,"click",function(l){function n(){c.dispatchEvent(new CustomEvent("devsite-click",{bubbles:!0}));clearTimeout(q)}l.preventDefault();l.stopPropagation();var q=setTimeout(n,150);h.Qa(d,e,f,g).then(n,n)})};function Ki(c){if((c=c.querySelector("script[gtm]"))&&c.textContent)try{var d=JSON.parse(c.textContent);if(d)return d}catch(e){throw Error("Malformed GTM configuration.");}return[]} function Vi(c){var d=c.a||null;return window.ga&&d?window.ga.getAll().filter(function(c){return d.filter(function(d){return d.gaid==c.get("trackingId")}).length}):[]}Z.prototype.addClickHandlerToElement=Z.prototype.Gb;Z.prototype.addTrackingToElement=Z.prototype.pc;Z.prototype.setDimension=Z.prototype.Zb;Z.prototype.trackError=Z.prototype.nb;Z.prototype.trackEvent=Z.prototype.Qa;Z.prototype.trackTiming=Z.prototype.cc;Z.InitAnalyticsIframes=Si;Z.prototype.updateContent=Z.prototype.updateContent; Z.prototype.disconnectedCallback=Z.prototype.disconnectedCallback;Z.prototype.connectedCallback=Z.prototype.connectedCallback;Xa("module$exports$devsite$app$customElement$DevsiteAnalytics.trackerMetadata",[]);try{window.customElements.define("devsite-analytics",Z)}catch(c){console.warn("devsite.app.customElement.DevsiteAnalytics",c)};function Wi(){var c=Y.call(this)||this;c.a=new T;return c}p(Wi,Y);Wi.prototype.J=function(){return"analytics-scope"};Wi.prototype.connectedCallback=function(){var c=this;Ci(this);this.a.j(this,"click",function(){if(!c.querySelector("devsite-analytics-scope")){var d=Xi(c);c.dispatchEvent(new CustomEvent("devsite-analytics-observation",{detail:d,bubbles:!0}))}})};Wi.prototype.disconnectedCallback=function(){U(this.a)}; function Xi(c){for(var d=c,e=[d];d.parentElement;)d=d.parentElement,d.constructor===c.constructor&&e.unshift(d);var f=void 0,g=void 0,h=void 0,l=void 0;e.forEach(function(c){f=c.getAttribute("category")||f;g=c.getAttribute("action")||g;h=c.getAttribute("label")||h;l=c.getAttribute("value")||l});g=g||"click";h=h||void 0;l=Number(l)||void 0;return{category:f,action:g,label:h,value:l}}Wi.prototype.disconnectedCallback=Wi.prototype.disconnectedCallback;Wi.prototype.connectedCallback=Wi.prototype.connectedCallback;try{window.customElements.define("devsite-analytics-scope",Wi)}catch(c){console.warn("devsite.app.customElement.DevsiteAnalytics.Scope",c)};function Yi(){var c=Y.call(this)||this;c.i=null;c.a=null;c.b=null;c.f=new T;c.h=new eh(function(){Zi(c)},15);c.g=new eh(function(){$i()},20);return c}p(Yi,Y);k=Yi.prototype;k.J=function(){return"book-nav"}; k.connectedCallback=function(){var c=this;Ci(this);this.b||(this.b=document.createElement("div"),this.b.classList.add("devsite-book-nav-bg"));Af(this.b,this);this.f.j(document.body,"devsite-sitemask-hidden",function(){c.a&&(aj(c,"_book")?c.removeAttribute("top-level-nav"):c.setAttribute("top-level-nav",""))});this.f.j(document.body,["devsite-page-loaded","devsite-content-updated"],function(){return c.g.D()});$i();bj(this);this.setAttribute("animatable","")}; function $i(){var c=document.querySelector("#devsite-hamburger-menu");c&&c.removeAttribute("visually-hidden")}k.disconnectedCallback=function(){U(this.f);var c=document.querySelector("#devsite-hamburger-menu");c&&c.setAttribute("visually-hidden","");this.b&&Df(this.b);this.removeAttribute("animatable")}; k.attributeChangedCallback=function(c){if("hidden"==c){var d=this.hasAttribute("hidden");this.dispatchEvent(new CustomEvent(d?"devsite-element-hidden":"devsite-element-visible",{bubbles:!0}));var e=document.querySelector(".devsite-main-content");e&&(d?e.removeAttribute("has-book-nav"):e.setAttribute("has-book-nav",""))}if("fixed"==c||"hidden"==c)d=this.hasAttribute(c),this.b&&(d?this.b.setAttribute(c,""):this.b.removeAttribute(c))}; function cj(c){c.f.j(c,"click",function(d){if(!d.gb){var e=d.target;"devsite-close-nav"===e.getAttribute("id")&&(d.preventDefault(),d.stopPropagation(),c.scrollTop=0,c.hasAttribute("top-level-nav")?c.dispatchEvent(new CustomEvent("devsite-sitemask-hide",{bubbles:!0})):c.setAttribute("top-level-nav",""));if(e.hasAttribute("menu")){var f=e.getAttribute("menu");f&&aj(c,f)&&(d.preventDefault(),d.stopPropagation(),c.scrollTop=0,c.removeAttribute("top-level-nav"))}e.classList.contains("devsite-nav-toggle")|| e.classList.contains("devsite-nav-title-no-path")||e.parentElement.classList.contains("devsite-nav-title-no-path")||!c.a||(d=c.a.querySelector("[menu=_book]"))&&d.contains(e)&&c.dispatchEvent(new CustomEvent("devsite-sitemask-hide",{bubbles:!0}))}})}function aj(c,d){var e=!1;Array.from(c.a.querySelectorAll("[menu]")).forEach(function(c){c.getAttribute("menu")===d?(c.removeAttribute("hidden"),e=!0):c.setAttribute("hidden","")});return e} function bj(c){cj(c);c.i=c.querySelector(".devsite-book-nav");c.a=c.querySelector(".devsite-mobile-nav-bottom");c.setAttribute("top-level-nav","");c.a&&c.a.querySelector("[menu=_book]")&&c.removeAttribute("top-level-nav");0===c.children.length&&c.setAttribute("hidden","");c.hasAttribute("hidden")||(dj(c),ej(c));c.b&&["hidden","fixed"].forEach(function(d){c.hasAttribute(d)&&c.b.setAttribute(d,"")});!c.hasAttribute("hidden")&&c.a&&c.a.querySelector(".devsite-nav-active")||c.setAttribute("animatable", "")}function dj(c){Array.from(c.querySelectorAll(".devsite-nav-active")).forEach(function(c){c.classList.remove("devsite-nav-active")});var d=Rg(R().pathname);d='[href="'+Ng(d).href+'"], [href="'+d+'"]';Array.from(c.querySelectorAll(d)).forEach(function(c){c.classList.add("devsite-nav-active")})} function ej(c){if(c.a){var d=c.a.querySelector(".devsite-nav-active");if(d)for(;d.parentNode&&d.parentNode!=c;)d.hasAttribute("collapsed")&&(d.removeAttribute("animatable"),ih(c.f,d,"devsite-expandable-nav-transition-end",function(){c.h.D();d.setAttribute("animatable","")}),d.removeAttribute("collapsed")),d=d.parentNode}} function Zi(c,d){d=void 0===d?0:d;if(c.a){var e=c.a.querySelector(".devsite-nav-active");e&&(d=d+1||0,60<=d||(c.hasAttribute("fixed")&&document.body.hasAttribute("ready")?(c.scrollTop=qh(e,c).y,c.setAttribute("animatable","")):window.requestAnimationFrame(function(){Zi(c,d)})))}}k.updateContent=function(c){var d=this;c?(this.removeAttribute("animatable"),c=Di(c),Ei(this,this.querySelector("nav"),c.querySelector("nav"))):zf(this);window.requestAnimationFrame(function(){bj(d)})}; r.Object.defineProperties(Yi,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return["hidden","fixed"]}}});Yi.prototype.updateContent=Yi.prototype.updateContent;Yi.prototype.attributeChangedCallback=Yi.prototype.attributeChangedCallback;Yi.prototype.disconnectedCallback=Yi.prototype.disconnectedCallback;Yi.prototype.connectedCallback=Yi.prototype.connectedCallback;try{window.customElements.define("devsite-book-nav",Yi)}catch(c){console.warn("devsite.app.customElement.DevsiteBookNav",c)};function fj(){var c=Y.call(this)||this;c.a=new eh(function(){c.dispatchEvent(new CustomEvent("devsite-content-updated",{bubbles:!0}))},20);c.f=new T;c.b=new T;return c}p(fj,Y);fj.prototype.J=function(){return"content"};fj.prototype.connectedCallback=function(){var c=this;Ci(this);this.f.j(window,"message",function(d){return gj(c,d)});hj(this);ij(this);this.a.D()};fj.prototype.disconnectedCallback=function(){U(this.f);U(this.b)}; function ij(c){Array.from(c.querySelectorAll("table")).forEach(function(c){if(!c.parentNode.classList.contains("devsite-table-wrapper")){var d=document.createElement("div");d.classList.add("devsite-table-wrapper");Af(d,c);d.appendChild(c)}})} function gj(c,d){var e=R();if(window.devsite.two.app){var f=window.devsite.two.app.getInsecureHost();d=d.G;if(d.origin===e.origin||!f||d.origin===f){try{var g=jd(Oh,d.data)}catch(n){return}f=M(g,1,0);if(4===f){if(e=jj(c,d.source))g="goog_"+Db++,e.setAttribute("name",g),e=new Oh,P(e,1,3,0),O(e,2,g),kj(d.source,e)}else{var h=M(g,2,"");if(h&&(h=c.querySelector("devsite-framebox iframe[name="+h+"]")))switch(f){case 5:var l=sf(document).y;d=M(g,4,0);g=M(g,3,0);e=Jf(h);d&&e.setAttribute("width",d+"px"); g&&e.setAttribute("height",g+"px");window.requestAnimationFrame(function(){window.scrollTo(sf(document).x,l);c.a.D()});break;case 1:e=new Oh;P(e,1,2,0);Ph(e,M(g,8,""));g=R();O(e,7,g.search+g.hash);kj(d.source,e);break;case 6:case 7:d=M(g,5,""),g=new URL(M(g,6,""),e.origin),g=g.search+g.hash,6===f?window.history.pushState({},d,g):window.history.replaceState({},d,g)}}}}}function kj(c,d){c&&c.postMessage(d.Oa(),"*")} function jj(c,d){var e;Array.from(c.querySelectorAll("devsite-framebox iframe")).forEach(function(c){c.contentWindow===d&&(e=c)});return e}function hj(c){U(c.b);Array.from(c.querySelectorAll("img[src]")).forEach(function(d){d.complete&&0!==d.naturalWidth||c.b.j(d,"load",function(){c.a.D()})})}fj.prototype.updateContent=function(c){var d=this,e=Di(c);[".devsite-article","devsite-content-footer","devsite-gcs"].forEach(function(c){Ei(d,d.querySelector(c),e.querySelector(c))});hj(this);ij(this);this.a.D()}; fj.prototype.updateContent=fj.prototype.updateContent;fj.prototype.disconnectedCallback=fj.prototype.disconnectedCallback;fj.prototype.connectedCallback=fj.prototype.connectedCallback;try{window.customElements.define("devsite-content",fj)}catch(c){console.warn("devsite.app.customElement.DevsiteContent",c)};function lj(c){if(E.ba)c=mj(c);else if(E.Za&&E.N)switch(c){case 93:c=91}return c}function mj(c){switch(c){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return c}};function nj(){var c=Y.call(this)||this;c.h=null;c.a=null;c.b=null;c.m=!1;c.g=new T;c.f=new T;return c}p(nj,Y);nj.prototype.J=function(){return"expandable-nav"};nj.prototype.attributeChangedCallback=function(c){var d=this;"collapsed"==c&&(this.i?oj(this):window.requestAnimationFrame(function(){if(d.a){pj(d);var c=uh(d.a);pj(d,0);qj(d,0,c.height)}}))}; nj.prototype.connectedCallback=function(){Ci(this);this.h=this.querySelector(".devsite-nav-toggle");this.a=this.querySelector("ul");this.b=this.querySelector(".devsite-nav-title");this.h&&this.a&&rj(this);this.setAttribute("connected","");this.setAttribute("animatable","")};function rj(c){c.g.j(c.h,"click",function(d){return sj(c,d)});c.b&&!c.b.hasAttribute("href")&&c.g.j(c.b,["click","keypress"],function(d){return sj(c,d)})} function sj(c,d){if("keypress"!=d.type||13==d.keyCode){c.i=!c.i;for(var e=d.target;e&&e!=c;){var f=e;f.classList?f=f.classList.contains("devsite-nav-title-no-path"):(f.classList?f=f.classList:(f=f.className,f=y(f)&&f.match(/\S+/g)||[]),f=eb(f,"devsite-nav-title-no-path"));if(f&&("click"==d.type||"touchend"==d.type)){e.blur();break}e=e.parentNode}}}function oj(c){if(c.a){var d=uh(c.a);qj(c,d.height,0)}} function qj(c,d,e){U(c.f);window.requestAnimationFrame(function(){pj(c,d+"px");c.setAttribute("animating","");window.requestAnimationFrame(function(){pj(c,e+"px");ih(c.f,c.a,vd,function(){c.removeAttribute("animating");pj(c);c.dispatchEvent(new CustomEvent("devsite-expandable-nav-transition-end",{bubbles:!0}))})})})}function pj(c,d){lh(c.a,"height",void 0===d?"":d)}nj.prototype.disconnectedCallback=function(){U(this.g);U(this.f);this.a&&(pj(this),this.removeAttribute("connected"));this.removeAttribute("animatable")}; r.Object.defineProperties(nj.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return this.hasAttribute("collapsed")},set:function(c){c?this.setAttribute("collapsed",""):this.removeAttribute("collapsed")}}});r.Object.defineProperties(nj,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return["collapsed"]}}});nj.prototype.disconnectedCallback=nj.prototype.disconnectedCallback;nj.prototype.connectedCallback=nj.prototype.connectedCallback; nj.prototype.attributeChangedCallback=nj.prototype.attributeChangedCallback;try{window.customElements.define("devsite-expandable-nav",nj)}catch(c){console.warn("devsite.app.customElement.DevsiteExpandableNav",c)};function tj(c){return Y.apply(this,arguments)||this}p(tj,Y);tj.prototype.J=function(){return"footer-linkboxes"};tj.prototype.updateContent=function(c){c=Di(c);Ei(this,this.querySelector("nav"),c.querySelector("nav"))};tj.prototype.updateContent=tj.prototype.updateContent;try{window.customElements.define("devsite-footer-linkboxes",tj)}catch(c){console.warn("devsite.app.customElement.DevsiteFooterLinkboxes",c)};function uj(c){return Y.apply(this,arguments)||this}p(uj,Y);uj.prototype.J=function(){return"footer-promos"};uj.prototype.updateContent=function(c){c=Di(c);Ei(this,this.querySelector("nav"),c.querySelector("nav"))};uj.prototype.updateContent=uj.prototype.updateContent;try{window.customElements.define("devsite-footer-promos",uj)}catch(c){console.warn("devsite.app.customElement.DevsiteFooterPromos",c)};function vj(){this.a=("undefined"==typeof document?null:document)||{cookie:""}}k=vj.prototype;k.If=function(){return navigator.cookieEnabled}; k.set=function(c,d,e,f,g,h){if(/[;=\s]/.test(c))throw Error('Invalid cookie name "'+c+'"');if(/[;\r\n]/.test(d))throw Error('Invalid cookie value "'+d+'"');x(e)||(e=-1);g=g?";domain="+g:"";f=f?";path="+f:"";h=h?";secure":"";e=0>e?"":0==e?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Ua()+1E3*e)).toUTCString();this.a.cookie=c+"="+d+g+f+e+h}; k.get=function(c,d){for(var e=c+"=",f=(this.a.cookie||"").split(";"),g=0,h;g=f;f++){var g=document.createElement("div");g.classList.add("devsite-progress--indeterminate-"+f);!d||1!=f&&3!=f||(g.style.backgroundColor=d);e.appendChild(g)}c.appendChild(e)}}r.Object.defineProperties(Pj,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return["color","type"]}}}); Pj.prototype.attributeChangedCallback=Pj.prototype.attributeChangedCallback;Pj.prototype.connectedCallback=Pj.prototype.connectedCallback;try{window.customElements.define("devsite-progress",Pj)}catch(c){console.warn("devsite.app.customElement.DevsiteProgress",c)};function Rj(c){Wc(this,c,null)}A(Rj,Uc);function Sj(c){Wc(this,c,Tj)}A(Sj,Uc);function Uj(c){Wc(this,c,Vj)}A(Uj,Uc);k=Rj.prototype;k.Og=function(c){var d,e={query:null==(d=M(this,1,""))?void 0:d,locale:null==(d=M(this,2,""))?void 0:d,Gg:null==(d=M(this,3,""))?void 0:d,ri:null==(d=M(this,5,0))?void 0:d,Nd:null==(d=N(this,6))?void 0:d,Md:null==(d=N(this,7))?void 0:d,Pd:null==(d=N(this,8))?void 0:d,Od:null==(d=N(this,9))?void 0:d,Vd:null==(d=M(this,10,""))?void 0:d};c&&(e.aa=this);return e}; k.Ng=function(){var c=new Fc;var d=M(this,1,"");0":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"};function sk(c){return Ak[c]} var Bk={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\x0B":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11","\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28", ")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87","\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB", "\uff3d":"%EF%BC%BD"};function yk(c){return Bk[c]}var rk=/[\x00\x22\x27\x3c\x3e]/g,xk=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g,zk=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,uk=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,vk=/')} function Dk(c){c='")} function Ek(c){z(c.Vb);var d=c.Vb;z(c.Qb);c=c.Qb;var e='
';for(var f=d.length,g=0;g'+nk(h.title)+"
"}e+='
'; d=c.length;for(f=0;f'+nk(g.title)+"
";c=""+Dk({La:pk(e+"
")});return ok(c)}function Fk(){var c=""+Dk({La:pk('
\u6b64\u5904\u4f1a\u663e\u793a\u60a8\u7ecf\u5e38\u8bbf\u95ee\u7684\u7f51\u9875\u3002
')});return ok(c)} function Gk(){var c=""+Dk({La:pk('
\u6b63\u5728\u52a0\u8f7d\u60a8\u7684\u6d4f\u89c8\u8bb0\u5f55\u2026
')});return ok(c)}function Hk(){var c=""+Dk({La:pk('
Turn on history to see the pages you visit often.
')});return ok(c)} function Ik(c){var d='")} function Jk(c){var d=c.title,e=c.lb,f=c.Da,g=c.kb;return ok(''+nk(d)+""+(g?''+nk(g)+"":"")+(e?''+nk(e)+"":"")+(f?''+nk(f)+"":"")+"")} function Kk(c){var d=c.query;c=c.Yb;d='
There are no suggestions for your query'+("
"+(c?'":"")+"
");return ok(d)} function Lk(c){var d=c.query;z(c.Rb);var e=c.Rb;z(c.Sb);var f=c.Sb;z(c.Ub);var g=c.Ub;z(c.Wb);var h=c.Wb;c=c.Yb;var l='
';if(0Suggested searches
';for(var n=g.length,q=0;q"}l+=""}l+=0":"";if(0Pages
';n=e.length;for(q=0;q'+Jk({link:w.path,title:w.title,Da:w.Da})+"";l+=""}l+= 0":"";if(0\u53c2\u8003\u9875\u9762';n=h.length;for(q=0;q'+Jk({link:w.path,title:w.title,lb:w.lb,Da:w.Da,kb:w.kb})+"";l+=""}l+=0":"";if(0Products';e=f.length;for(g=0;g'+Jk({link:h.path,title:h.title})+"";l+=""}l+=""+(c?'":"")+"";return ok(l)};function Mk(c){ah.call(this);this.a=c;c=E.u?"focusout":"blur";this.f=Md(this.a,E.u?"focusin":"focus",this,!E.u);this.g=Md(this.a,c,this,!E.u)}A(Mk,ah);Mk.prototype.handleEvent=function(c){var d=new wd(c.G);d.type="focusin"==c.type||"focus"==c.type?"focusin":"focusout";bh(this,d)};Mk.prototype.T=function(){Mk.ia.T.call(this);Vd(this.f);Vd(this.g);delete this.a};function Nk(c,d){d=c(d||Ok,void 0,void 0);c=hf().createElement("DIV");d=Pk(d);af(c,d);1==c.childNodes.length&&(d=c.firstChild,1==d.nodeType&&(c=d));return c}function Pk(c){if(!Na(c))return String(c);if(c instanceof kk){if(c.da===gk)return c.content;if(c.da===jk)return Bb(c.content)}return"zSoyz"}var Ok={};var Qk={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"caps-lock",27:"esc",32:"space",33:"pg-up",34:"pg-down",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:"semicolon",61:"equals",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z", 93:"context",96:"num-0",97:"num-1",98:"num-2",99:"num-3",100:"num-4",101:"num-5",102:"num-6",103:"num-7",104:"num-8",105:"num-9",106:"num-multiply",107:"num-plus",109:"num-minus",110:"num-period",111:"num-division",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",186:"semicolon",187:"equals",189:"dash",188:",",190:".",191:"/",192:"`",219:"open-square-bracket",220:"\\",221:"close-square-bracket",222:"single-quote",224:"win"};function Rk(c){ah.call(this);this.g=this.f={};this.h=0;this.C=Ob(Sk);this.ja=Ob(Tk);this.v=!0;this.s=this.w=!1;this.F=!0;this.L=!1;this.m=null;this.a=c;Md(this.a,"keydown",this.hb,void 0,this);E.pa&&Md(this.a,"keypress",this.Nb,void 0,this);Md(this.a,"keyup",this.Mb,void 0,this)}var Uk;A(Rk,ah);function Vk(c){this.a=c||null;this.next=c?null:{}}var Sk=[27,112,113,114,115,116,117,118,119,120,121,122,123,19],Tk="color date datetime datetime-local email month number password search tel text time url week".split(" "); k=Rk.prototype;k.ie=function(){return this.v};k.ph=function(c){this.w=c};k.je=function(){return this.w};k.nh=function(c){this.s=c};k.he=function(){return this.s};k.Xh=function(c){this.F=c};k.He=function(){return this.F};k.oh=function(c){this.L=c};k.Mc=function(c,d){Wk(this.f,Xk(1,arguments),c)};k.vi=function(c){Yk(this.f,Xk(0,arguments))};k.fg=function(c){return Zk(this,this.f,Xk(0,arguments))}; function Xk(c,d){if(y(d[c]))c=db($k(d[c]),function(c){return al(c.key||"",c.keyCode,c.Hc)});else{var e=d,f=c;z(d[c])&&(e=d[c],f=0);for(c=[];f~\.\[:]+)/g,1);d=il(d,e,/(\.[^\s\+>~\.\[:]+)/g,2);d=il(d,e,/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,3);d=il(d,e,/(:[\w-]+\([^\)]*\))/gi, 2);d=il(d,e,/(:[^\s\+>~\.\[:]+)/g,2);d=d.replace(/[\*\s\+>~]/g," ");d=d.replace(/[#\.]/g," ");il(d,e,/([^\s\+>~\.\[:]+)/g,3);d=e;return fl[c]=d}function il(c,d,e,f){return c.replace(e,function(c){d[f]+=1;return Array(c.length+1).join(" ")})}function hl(c,d){return c.replace(d,function(c){return Array(c.length+1).join("A")})};var jl={rgb:!0,rgba:!0,alpha:!0,rect:!0,image:!0,"linear-gradient":!0,"radial-gradient":!0,"repeating-linear-gradient":!0,"repeating-radial-gradient":!0,"cubic-bezier":!0,matrix:!0,perspective:!0,rotate:!0,rotate3d:!0,rotatex:!0,rotatey:!0,steps:!0,rotatez:!0,scale:!0,scale3d:!0,scalex:!0,scaley:!0,scalez:!0,skew:!0,skewx:!0,skewy:!0,translate:!0,translate3d:!0,translatex:!0,translatey:!0,translatez:!0},kl=/[\n\f\r"'()*<>]/g,ll={"\n":"%0a","\f":"%0c","\r":"%0d",'"':"%22","'":"%27","(":"%28",")":"%29", "*":"%2a","<":"%3c",">":"%3e"};function ml(c){return ll[c]} function nl(c,d,e){d=ob(d);if(""==d)return null;var f=String(d.substr(0,4)).toLowerCase();if(0==("url("f;f++){var g="\"'".charAt(f);if(d.charAt(0)==g&&d.charAt(d.length-1)==g){d=d.substring(1,d.length-1);break a}}c=e?(c=e(d,c))&&"about:invalid#zClosurez"!=ve(c)?'url("'+ve(c).replace(kl,ml)+'")':null:null}return c}if(0document.documentMode){if(!d[e].call)throw Error("IE Clobbering detected");}else if("function"!=typeof d[e])throw Error("Clobbering detected");return d[e].apply(d,f)}function Gl(c){return El(ql,c,"attributes",function(c){return c instanceof NamedNodeMap})} function Hl(c,d,e){try{Fl(tl,c,"setAttribute",[d,e])}catch(f){if(-1==f.message.indexOf("A security problem occurred"))throw f;}}function Il(c){return El(Al,c,"style",function(c){return c instanceof CSSStyleDeclaration})}function Jl(c){return El(Bl,c,"sheet",function(c){return c instanceof CSSStyleSheet})}function Kl(c){return El(xl,c,"nodeName",function(c){return"string"==typeof c})}function Ll(c){return El(yl,c,"nodeType",function(c){return"number"==typeof c})} function Ml(c){return El(zl,c,"parentNode",function(c){return!(c&&"string"==typeof c.name&&c.name&&"parentnode"==c.name.toLowerCase())})}function Nl(c,d){return Fl(Cl,c,c.getPropertyValue?"getPropertyValue":"getAttribute",[d])||""}function Ol(c,d,e){Fl(Dl,c,c.setProperty?"setProperty":"setAttribute",[d,e])};var Pl=E.u&&10>document.documentMode?null:/\s*([^\s'",]+[^'",]*(('([^'\r\n\f\\]|\\[^])*')|("([^"\r\n\f\\]|\\[^])*")|[^'",])*)/g,Ql={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!0}; function Rl(c,d,e){var f=[];c=Sl(hb(c.cssRules));C(c,function(c){if(d&&!/[a-zA-Z][\w-:\.]*/.test(d))throw Error("Invalid container id");if(!(d&&E.product.u&&10==document.documentMode&&/\\['"]/.test(c.selectorText))){var g=d?c.selectorText.replace(Pl,"#"+d+" $1"):c.selectorText;f.push(Oe(g,Tl(c.style,e)))}});return Qe(f)}function Sl(c){return cb(c,function(c){return c instanceof CSSStyleRule||c.type==CSSRule.STYLE_RULE})} function Ul(c,d,e){c=Vl("");return null==c?Se:Rl(c.sheet,void 0!=d?d:null,e)}function Vl(c){return E.u&&!E.$(10)||"function"!=typeof v.DOMParser?null:(new DOMParser).parseFromString(""+c+"","text/html").body.children[0]} function Tl(c,d){if(!c)return Ee;var e=document.createElement("div").style,f=Wl(c);C(f,function(f){var g=E.N&&f in Ql?f:f.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");0!=g.lastIndexOf("--",0)&&0!=g.lastIndexOf("var",0)&&(f=Nl(c,f),f=nl(g,f,d),null!=f&&Ol(e,g,f))});return De(e.cssText||"")} function Xl(c){var d=Array.from(Fl(vl,c,"getElementsByTagName",["STYLE"])),e=mb(d,function(c){return hb(Jl(c).cssRules)});e=Sl(e);e.sort(function(c,d){c=gl(c.selectorText);a:{d=gl(d.selectorText);for(var e=Math.min(c.length,d.length),f=0;fh?1:gd?1:c"+c+""),Xl(c),c=c.innerHTML);var e=document.createElement("template");if("content"in e)e.innerHTML=c,e=e.content;else{var f=document.implementation.createHTMLDocument("x");e=f.body;f.body.innerHTML=c}c=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(e=Zl?new WeakMap:new am;f=c.nextNode();){a:{var g=f;switch(Ll(g)){case 3:g= dm(this,g);break a;case 1:if("TEMPLATE"==Kl(g).toUpperCase())g=null;else{var h=Kl(g).toUpperCase();if(h in this.f)var l=null;else this.g[h]?l=document.createElement(h):(l=yf(document,"SPAN"),this.s&&Hl(l,"data-sanitizer-original-tag",h.toLowerCase()));if(l){var n=l,q=Gl(g);if(null!=q)for(var w=0;h=q[w];w++)if(h.specified){var F=g;var ca=h;var B=ca.name;if(0==B.lastIndexOf("data-sanitizer-",0))ca=null;else{var Xf=Kl(F);ca=ca.value;var de={tagName:ob(Xf).toLowerCase(),attributeName:ob(B).toLowerCase()}, lc={ab:void 0};"style"==de.attributeName&&(lc.ab=Il(F));F=em(Xf,B);F in this.a?(B=this.a[F],ca=B(ca,de,lc)):(B=em(null,B),B in this.a?(B=this.a[B],ca=B(ca,de,lc)):ca=null)}null===ca||Hl(n,h.name,ca)}g=l}else g=null}break a;default:g=null}}if(g){if(1==Ll(g)&&e.set(f,g),f=Ml(f),h=!1,f)l=Ll(f),n=Kl(f).toLowerCase(),q=Ml(f),11!=l||q?"body"==n&&q&&(l=Ml(q))&&!Ml(l)&&(h=!0):h=!0,l=null,h||!f?l=d:1==Ll(f)&&(l=e.get(f)),l.content&&(l=l.content),l.appendChild(g)}else zf(f)}e.clear&&e.clear();return d};var fm={APPLET:!0,AUDIO:!0,BASE:!0,BGSOUND:!0,EMBED:!0,FORM:!0,IFRAME:!0,ISINDEX:!0,KEYGEN:!0,LAYER:!0,LINK:!0,META:!0,OBJECT:!0,SCRIPT:!0,SVG:!0,STYLE:!0,TEMPLATE:!0,VIDEO:!0};var gm={A:!0,ABBR:!0,ACRONYM:!0,ADDRESS:!0,AREA:!0,ARTICLE:!0,ASIDE:!0,B:!0,BDI:!0,BDO:!0,BIG:!0,BLOCKQUOTE:!0,BR:!0,BUTTON:!0,CAPTION:!0,CENTER:!0,CITE:!0,CODE:!0,COL:!0,COLGROUP:!0,DATA:!0,DATALIST:!0,DD:!0,DEL:!0,DETAILS:!0,DFN:!0,DIALOG:!0,DIR:!0,DIV:!0,DL:!0,DT:!0,EM:!0,FIELDSET:!0,FIGCAPTION:!0,FIGURE:!0,FONT:!0,FOOTER:!0,FORM:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0,HEADER:!0,HGROUP:!0,HR:!0,I:!0,IMG:!0,INPUT:!0,INS:!0,KBD:!0,LABEL:!0,LEGEND:!0,LI:!0,MAIN:!0,MAP:!0,MARK:!0,MENU:!0,METER:!0,NAV:!0, NOSCRIPT:!0,OL:!0,OPTGROUP:!0,OPTION:!0,OUTPUT:!0,P:!0,PRE:!0,PROGRESS:!0,Q:!0,S:!0,SAMP:!0,SECTION:!0,SELECT:!0,SMALL:!0,SOURCE:!0,SPAN:!0,STRIKE:!0,STRONG:!0,STYLE:!0,SUB:!0,SUMMARY:!0,SUP:!0,TABLE:!0,TBODY:!0,TD:!0,TEXTAREA:!0,TFOOT:!0,TH:!0,THEAD:!0,TIME:!0,TR:!0,TT:!0,U:!0,UL:!0,VAR:!0,WBR:!0};function hm(c){c=c||new im;jm(c);this.a=Lb(c.a);this.f=Lb(c.c);this.g=Lb(c.g);this.s=c.w;C(c.v,function(c){if(0!=c.lastIndexOf("data-",0))throw new $a('Only "data-" attributes allowed, got: %s.',[c]);if(0==c.lastIndexOf("data-sanitizer-",0))throw new $a('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",c]);this.a["* "+c.toUpperCase()]=km},this);this.m=c.i;this.c=c.f;this.b=null;this.i=c.h}A(hm,cm); function lm(c){return function(d,e){return(d=c(ob(d),e))&&"about:invalid#zClosurez"!=ve(d)?ve(d):null}}function im(){this.a={};C([dl,el],function(c){C(Kb(c),function(c){this.a[c]=km},this)},this);this.b={};this.v=[];this.c=Lb(fm);this.g=Lb(gm);this.w=!1;this.H=xe;this.m=this.s=this.C=this.i=je;this.f=null;this.F=this.h=!1}k=im.prototype;k.hd=function(c){ib(this.v,c);return this};k.jd=function(){delete this.c.FORM;return this}; k.kd=function(){if(this.h)throw Error("Rules from STYLE tags are already being inlined.");delete this.c.STYLE;this.f="*";return this};k.Ai=function(c){if("STYLE"in this.c)throw Error("STYLE tags must first be allowed through allowStyleTag.");if(void 0!=c){if(!/^[a-zA-Z][\w-:\.]*$/.test(c))throw Error("Invalid ID.");this.f=c}else this.f=null;return this}; k.Uf=function(){if(this.m==je)throw Error("Inlining style rules requires allowing STYLE attributes first.");if(!("STYLE"in this.c))throw Error("You have already configured the builder to allow STYLE tags in the output. Inlining style rules would prevent STYLE tags from appearing in the output and conflict with such directive.");this.h=!0;return this};k.gd=function(){this.m=mm;return this};k.md=function(c){C(c,function(c){this.g[c.toUpperCase()]=!0;delete this.c[c.toUpperCase()]},this);return this}; k.ld=function(c){C(c,function(c){y(c)&&(c={tagName:"*",attributeName:c,Ca:null});var d=em(c.tagName,c.attributeName);this.a[d]=c.Ca?c.Ca:km;this.b[d]=!0},this);return this};k.Bg=function(c){this.g={SPAN:!0};C(c,function(c){c=c.toUpperCase();if(gm[c])this.g[c]=!0;else throw Error("Only whitelisted tags can be allowed. See goog.html.sanitizer.TagWhitelist.");},this);return this}; k.Ag=function(c){var d=this.a;this.a={};C(c,function(c){"string"===Ka(c)&&(c={tagName:"*",attributeName:c.toUpperCase(),Ca:null});var e=em(c.tagName,c.attributeName);if(!d[e])throw Error("Only whitelisted attributes can be allowed.");this.a[e]=c.Ca?c.Ca:km},this);return this};k.ad=function(){this.w=!0;return this};k.xi=function(c){this.i=c;return this};k.zi=function(c){this.H=c;return this};k.wi=function(c){this.C=c;return this};k.yi=function(c){this.s=c;return this}; function nm(c,d){return function(e,f,g,h){e=c(e,f,g,h);return null==e?null:d(e,f,g,h)}}function om(c,d,e,f){c[e]&&!d[e]&&(c[e]=nm(c[e],f))} function jm(c){if(c.F)throw Error("HtmlSanitizer.Builder.build() can only be used once.");om(c.a,c.b,"* USEMAP",pm);var d=lm(c.H);C(["* ACTION","* CITE","* HREF"],function(c){om(this.a,this.b,c,d)},c);var e=lm(c.i);C(["* LONGDESC","* SRC","LINK HREF"],function(c){om(this.a,this.b,c,e)},c);C(["* FOR","* HEADERS","* NAME"],function(c){om(this.a,this.b,c,Ta(qm,this.C))},c);om(c.a,c.b,"A TARGET",Ta(rm,["_blank","_self"]));om(c.a,c.b,"* CLASS",Ta(sm,c.s));om(c.a,c.b,"* ID",Ta(tm,c.s));om(c.a,c.b,"* STYLE", Ta(c.m,e));c.F=!0}function em(c,d){c||(c="*");return(c+" "+d).toUpperCase()}function mm(c,d,e,f){if(!f.ab)return null;d=Ce(Tl(f.ab,function(d,f){e.sc=f;d=c(d,e);return null==d?null:ye(d)}));return""==d?null:d}function km(c){return ob(c)}function rm(c,d){d=ob(d);return eb(c,d.toLowerCase())?d:null}function pm(c){return(c=ob(c))&&"#"==c.charAt(0)?c:null}function qm(c,d,e){return c(ob(d),e)} function sm(c,d,e){d=d.split(/(?:\s+)/);for(var f=[],g=0;g{}\[\]\/:,]+/;function ym(){var c=Y.call(this)||this;c.C=!1;c.s={};c.w="/";c.b=new T;c.v=null;c.m=null;c.L=new eh(function(){return zm(c)},60);return c}p(ym,Y);ym.prototype.disconnectedCallback=function(){U(this.b);this.m&&this.m.R();this.v&&this.v.R()};ym.prototype.attributeChangedCallback=function(c,d,e){"project-path"==c&&(this.w=e||"/")}; ym.prototype.connectedCallback=function(){Ci(this);this.g=this.querySelector("form");this.a=this.g.querySelector(".devsite-search-query");this.H=this.g.querySelector(".devsite-search-button[search-open]");this.F=this.querySelector(".devsite-search-button[search-close]");this.i=Nk(Ck);this.h=this.i.querySelector(".devsite-history-container");this.f=this.i.querySelector(".devsite-suggest-results-container");this.g.appendChild(this.i);this.hasAttribute("project-path")&&(this.w=this.getAttribute("project-path")); Am(this);this.hasAttribute("enable-signin")&&this.hasAttribute("enable-history")&&Bm(this);document.activeElement==this.a&&Cm(this,!0)}; function Am(c){c.a&&(c.b.j(c.a,"keyup",function(d){37<=d.keyCode&&40>=d.keyCode||(27!=d.keyCode?c.a.value.trim()?(c.f.removeAttribute("hidden"),c.h.setAttribute("hidden",""),c.L.D()):(c.h.removeAttribute("hidden"),c.f.setAttribute("hidden",""),zf(c.f)):Cm(c,!1))}),c.b.j(c.a,"keydown",function(d){if(37<=d.keyCode&&40>=d.keyCode)a:{var e=c.f.hasAttribute("hidden")?c.h:c.f,f=e.querySelector(".highlight"),g;e=Array.from(e.querySelectorAll(".devsite-result-item"));var h=[],l=-1;if(f){h=Array.from(f.parentNode.querySelectorAll(".devsite-result-item")); var n=Ff(f.parentNode.parentNode);var q=Hf(f.parentNode.parentNode);l=e.indexOf(f)}switch(d.keyCode){case 37:if(!n&&!q)break a;f&&(d=f.getAttribute("index"),q?(g=q.querySelector('[index="'+d+'"]'))||(g=ab(Array.from(q.querySelectorAll("[index]")))):n&&((g=n.querySelector('[index="'+d+'"]'))||(g=ab(Array.from(n.querySelectorAll("[index]"))))));break;case 39:if(!n&&!q)break a;f&&(d=f.getAttribute("index"),n?(g=n.querySelector('[index="'+d+'"]'))||(g=ab(Array.from(n.querySelectorAll("[index]")))):q&& ((g=q.querySelector('[index="'+d+'"]'))||(g=ab(Array.from(q.querySelectorAll("[index]"))))));break;case 38:f?(g=e[l-1])||(g=ab(h)):g=ab(e);break;case 40:f?(g=e[l+1])||(g=h[0]):g=e[0]}f&&f.classList.remove("highlight");g&&(g.classList.add("highlight"),g.scrollIntoViewIfNeeded&&g.scrollIntoViewIfNeeded()||g.scrollIntoView())}}),c.b.j(c.a,"keypress",function(d){if(13==d.keyCode||3==d.keyCode){var e=c.i.querySelector(".highlight");e&&(e=e.querySelector(".devsite-result-item-link"))&&(d.preventDefault(), e.click(),Cm(c,!1))}}),c.m=new Rk(document),c.m.v=!1,c.m.Mc("SLASH",191),c.b.j(c.m,"shortcut",function(d){if("SLASH"==d.xc){var e=document;e.activeElement===e.body&&(d.preventDefault(),c.a.focus())}}),c.b.j(c.a,"input",function(){!c.s["Text Entered Into Search Bar"]&&c.a.value.trim()&&(c.dispatchEvent(new CustomEvent("devsite-analytics-observation",{detail:{category:"Site-Wide Custom Events",label:"Search",action:"Text Entered Into Search Bar"},bubbles:!0})),c.s["Text Entered Into Search Bar"]=!0)}), c.b.j(document.body,"devsite-page-changed",function(){return c.s={}}));c.g&&(c.v=new Mk(c.g),c.b.j(c.v,["focusin","focusout"],function(d){"focusin"===d.type?Cm(c,!0):c.g.contains(d.relatedTarget)||Cm(c,!1)}),c.b.j(c.g,"submit",function(d){Dm(c,d)}),c.b.j(window,"scroll",function(){Cm(c,!1)}));c.i&&c.b.j(c.i,"click",function(d){"A"==d.target.tagName.toUpperCase()&&Cm(c,!1)});c.H&&c.b.j(c.H,"click",function(){return Cm(c,!0)});c.F&&c.b.j(c.F,"click",function(){return Cm(c,!1)})} function Dm(c,d){var e,f;u(function(g){if(1==g.a){d.preventDefault();d.stopPropagation();if(!c.hasAttribute("enable-search"))return g.K(0);c.s["Full Site Search"]||(c.dispatchEvent(new CustomEvent("devsite-analytics-observation",{detail:{category:"Site-Wide Custom Events",label:"Search",action:"Full Site Search"},bubbles:!0})),c.s["Full Site Search"]=!0);e=Ng(c.g.getAttribute("action"));f=new jg(e.href);xg(f,"q",c.a.value);c.w&&xg(f,"p",c.w);e.search=f.a.toString();return window.devsite.two.app?t(g, window.devsite.two.app.fetchPage(e.href),3):g.K(3)}Cm(c,!1);g.a=0})}function Em(c){return Promise.resolve(jd(bk,c))}function Bm(c){c.h.appendChild(Nk(Gk));Mg("/profile/userhistory").then(Em).then(function(d){return Fm(c,d)}).catch(function(c){console.log("devsite search history failed",c)})} function Fm(c,d){N(d,1)?dd(d,dk,2).length||dd(d,dk,3).length?(d={Vb:dd(d,dk,3).map(function(c){return ek(!0,c)}),Qb:dd(d,dk,2).map(function(c){return ek(!0,c)})},d=Nk(Ek,d)):d=Nk(Fk):d=Nk(Hk);zf(c.h);c.h.appendChild(d)} function Cm(c,d){if(c.C!=d){if(c.C=d)c.a.focus(),c.a.value.trim()?(c.f.removeAttribute("hidden"),c.h.setAttribute("hidden",""),c.L.D()):(c.h.removeAttribute("hidden"),c.f.setAttribute("hidden","")),c.setAttribute("search-active","");else{var e=c.i.querySelector(".highlight");e&&e.classList.remove("highlight");c.a.blur();c.removeAttribute("search-active");zf(c.f)}c.hasAttribute("capture")||c.dispatchEvent(new CustomEvent("devsite-search-toggle",{detail:{active:d},bubbles:!0}))}} function zm(c){if(c.hasAttribute("enable-suggestions")){var d=c.a.value.trim().toLowerCase(),e=new Rj;Wj(e);O(e,1,d);P(e,6,c.hasAttribute("enable-query-completion"),!1);P(e,7,!0,!1);P(e,8,!0,!1);P(e,9,!0,!1);var f=e.Oa();wm[f]?Gm(c,wm[f],e):Jg("/_d/search/suggestions?r="+encodeURIComponent(f)).then(Hm).then(function(c){return wm[f]=c}).then(function(d){return Gm(c,d,e)}).catch(function(c){console.log("devsite search suggestions failed",c)})}}function Hm(c){return Promise.resolve(jd(Sj,c))} function Gm(c,d,e){var f=c.a.value.trim().toLowerCase();e=M(e,1,"");if(f.startsWith(e)){var g=dd(d,Uj,2).map(function(c){return Xj(!0,c)}),h=g.filter(function(c){return 2===c.ca}),l=g.filter(function(c){return 3===c.ca}),n=g.filter(function(c){return 4===c.ca}).slice(0,5),q=g.filter(function(c){return 1===c.ca});g=h.length+n.length+q.length;n.forEach(function(c){return c.path=Ng("/s/results/?q="+c.title).toString()});l.forEach(function(c){if(c.Tb){a:{var d=c.Tb;for(var e=f.split(xm),g=0;g=g?d=Nk(Kk,d):(d=Nk(Lk,d),Im(d,e));zf(c.f);c.f.appendChild(d)}} function Im(c,d){Array.from(c.querySelectorAll(".devsite-suggestion-fragment")).forEach(function(c){var e=Uf(c);e=e.replace(new RegExp("("+d+")","ig"),"$1");var g=new im;g=new hm(g);g.b=um(g);bm?(e=g.h(e),0")+1,e.lastIndexOf("c.i.length)){var d=uh(c).width;if(0===d)d=c.f.b,Rh(c.f),30>c.f.bb&&(c.H=window.setTimeout(function(){Lm(c)},d));else{c.f.reset();Qm(c);U(c.v);c.a.setAttribute("hidden","");var e=c.i.slice(),f=0,g;e.forEach(function(d){d.parentNode!==c.s&&(g?Bf(d,g):Cf(c.s,d,0));g=d;f+=uh(d).width});if(!(f<=d)){var h=c.querySelector("[active]");d-=c.F;c.a.removeAttribute("hidden");h&&(d-=uh(h).width);for(var l=!1;e.length;){var n=e.shift();if(n!==h){var q=uh(n).width; d>=q&&!l?d-=q:(l=!0,c.h.appendChild(n))}}}}}} function Mm(c){c.i=Array.from(c.querySelectorAll("tab"));var d=c.querySelector(".devsite-tabs-wrapper");d||(d=c.ownerDocument.createElement("div"),d.classList.add("devsite-tabs-wrapper"),c.appendChild(d),c.i.forEach(function(c){return d.appendChild(c)}));c.s=d;var e=c.ownerDocument.createElement("tab");e.setAttribute("overflow-tab","");var f=c.ownerDocument.createElement("a");f.href="#";f.textContent="\u66f4\u591a";f.classList.add("devsite-icon");f.classList.add("devsite-icon-arrow-drop-down");e.appendChild(f); c.L=f;c.a=e;f=c.ownerDocument.createElement("div");f.classList.add("devsite-tabs-overflow-menu");f.setAttribute("scrollbars","");f.setAttribute("hidden","");c.h=f;e.appendChild(f);d.appendChild(e);c.appendChild(d)}Km.prototype.connectedCallback=Km.prototype.connectedCallback;Km.prototype.disconnectedCallback=Km.prototype.disconnectedCallback;try{window.customElements.define("devsite-tabs",Km)}catch(c){console.warn("devsite.app.customElement.DevsiteTabs",c)};function Tm(c){z(c.ac);var d=c.ac;c=c.zc;var e='")};function Um(){var c=Y.call(this)||this;c.w="Embedded nav";c.v=8;c.i=5;c.C=null;c.F="";c.L=[];c.a=!1;c.H="";c.b=new T;c.f=[];c.m=0;c.g=[];c.s=new eh(function(){return Vm(c)},20);c.h=new eh(function(){if(!c.hasAttribute("hidden")){var d=document.querySelector('[ds-is="content"] .devsite-article-body');d?(c.a?c.classList.add("devsite-toc-embedded"):c.classList.add("devsite-toc"),Wm(c,d),Xm(c)):Ym(c)}},16);return c}p(Um,Y);k=Um.prototype;k.J=function(){return"toc"}; k.connectedCallback=function(){Ci(this);this.a=this.hasAttribute("devsite-toc-embedded");Zm(this);this.h.D()};k.disconnectedCallback=function(){Ym(this);U(this.b)};k.attributeChangedCallback=function(c){switch(c){case "offset":Xm(this);break;case "max-height":c=this.getAttribute("max-height")||0;var d=this.querySelector("ul");d&&lh(d,"max-height",c+"px");break;case "expanded":$m(this,!0)}};k.updateContent=function(c){c=c&&"false"===c.toLowerCase();this.g=[];zf(this);c?Ym(this):(an(this),this.h.D())}; function Zm(c){c.b.j(document.body,"devsite-content-updated",function(){return c.h.D()});c.a||(c.b.j(document.body,"devsite-sticky-scroll",function(d){return bn(c,d)}),c.b.j(document.body,["devsite-content-updated","devsite-element-visible","devsite-element-hidden","devsite-page-loaded"],function(){return c.s.D()}))} function Ym(c){zf(c);c.dispatchEvent(new CustomEvent("devsite-element-hidden",{bubbles:!0}));c.removeAttribute("visible");window.requestAnimationFrame(function(){c.setAttribute("hidden","")});if(!c.a){var d=document.querySelector(".devsite-main-content");d&&d.removeAttribute("has-toc")}} function an(c){c.dispatchEvent(new CustomEvent("devsite-element-visible",{bubbles:!0}));c.removeAttribute("hidden");window.requestAnimationFrame(function(){c.setAttribute("visible","")});if(!c.a){var d=document.querySelector(".devsite-main-content");d&&d.setAttribute("has-toc","")}} function Wm(c,d){var e=[],f=!1;Array.from(d.querySelectorAll("devsite-heading[toc]")).forEach(function(c){c={id:c.id,level:c.getAttribute("level"),text:c.getAttribute("text"),children:[]};"h2"===c.level?(e.push(c),f=!0):f?e[e.length-1].children.push(c):e.push(c)});kb(c.g,e,c.Hb.bind(c))||(e.length?(cn(c,e),c.a||c.s.D(),an(c)):Ym(c),c.g=e)}k.Hb=function(c,d){var e=!0;if(c.children.length||d.children.length)e=kb(c.children,d.children,this.Hb.bind(this));return e&&c.id===d.id&&c.text===d.text}; function Vm(c){var d=document.querySelector('[ds-is="content"] .devsite-article-body');if(d){d=Array.from(d.querySelectorAll("devsite-heading[toc]"));var e=document.querySelector(".devsite-main-content");e&&(e=yh(e,"padding"),c.m=Math.max(0,e.top));c.f=[];d.forEach(function(d){var e=rh(d);c.f.push({heading:d,y:Math.floor(e.y)})});c.f.sort(function(c,d){return c.y-d.y})}} function cn(c,d){var e=Nk(Tm,{ac:d,zc:c.a});zf(c);e.setAttribute("hidden","");c.appendChild(e);c.a&&c.querySelectorAll(".devsite-nav-item").length>=c.v&&(Array.from(c.querySelectorAll(".devsite-nav-show-all, .devsite-nav-more-items")).forEach(function(d){c.b.j(d,"click",function(){c.hasAttribute("expanded")?c.removeAttribute("expanded"):c.setAttribute("expanded","")})}),c.setAttribute("expandable",""),$m(c,!1));window.setTimeout(function(){e.removeAttribute("hidden")},0)} function $m(c,d){var e=!c.hasAttribute("expanded"),f=Array.from(c.querySelectorAll(".devsite-nav-item")),g=c.i,h=f.length;e&&(f=f.reverse(),g=0,h=f.length-c.i);40=this.a&&e.classList.add("page-number-selector-inactive");d.appendChild(e);for(e=1;e<=this.b;++e){f=e;g=e.toString();var h=document.createElement("button");h.classList.add("page-number-selector-button");h.textContent=g;h.dataset.bc=f;h.addEventListener("click",Bn);f=h;this.a===e&&f.classList.add("page-number-selector-inactive");d.appendChild(f)}e=Cn(this.a+1,"chevron_right");this.a>=this.b&&e.classList.add("page-number-selector-inactive");d.appendChild(e)}}}; function Dn(c){var d=sn;return 0c.b[d.b].indexOf(d.a.value.toLowerCase())||!c.b[d.b])&&(c.a=!1)});if(!c.a)return!1;c.a=-1