(function(){'use strict';var f,aa="function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b},ba;if("function"==typeof Object.setPrototypeOf)ba=Object.setPrototypeOf;else{var ca;a:{var da={H:!0},ea={};try{ea.__proto__=da;ca=ea.H;break a}catch(a){}ca=!1}ba=ca?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var fa=ba; function ha(a,b){a.prototype=aa(b.prototype);a.prototype.constructor=a;if(fa)fa(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.o=b.prototype}var ia="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,ja="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)}; function ka(a,b){if(b){var c=ia;a=a.split(".");for(var d=0;d")&&(a=a.replace(ya,">"));-1!=a.indexOf('"')&&(a=a.replace(za,"""));-1!=a.indexOf("'")&&(a=a.replace(Aa,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Ba,"�"))}return a} var wa=/&/g,xa=//g,za=/"/g,Aa=/'/g,Ba=/\x00/g,Ca=/[\x00&<>"']/;function Da(a,b){return ab?1:0};var y;a:{var Ea=l.navigator;if(Ea){var Fa=Ea.userAgent;if(Fa){y=Fa;break a}}y=""};function Ga(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Ha(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}var Ia="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Ja(a,b){for(var c,d,e=1;eparseFloat(Sa)){Ra=String(Ua);break a}}Ra=Sa}var Va=Ra,Ma={}; function D(a){return La(a,function(){for(var b=0,c=ua(String(Va)).split("."),d=ua(String(a)).split("."),e=Math.max(c.length,d.length),g=0;0==b&&g=a.keyCode)a.keyCode=-1}catch(b){}};H.prototype.Tb=function(){return this.a};var I="closure_listenable_"+(1E6*Math.random()|0),db=0;function eb(a,b,c,d,e){this.listener=a;this.a=null;this.src=b;this.type=c;this.capture=!!d;this.b=e;this.key=++db;this.m=this.s=!1}function J(a){a.m=!0;a.listener=null;a.a=null;a.src=null;a.b=null};function fb(a){this.src=a;this.a={};this.b=0}f=fb.prototype;f.$a=function(){var a=0,b;for(b in this.a)a+=this.a[b].length;return a};f.add=function(a,b,c,d,e){var g=a.toString();a=this.a[g];a||(a=this.a[g]=[],this.b++);var h=gb(a,b,d,e);-1d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(h){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.b;e;e=e.parentNode)d.push(e);a=a.type;for(e=d.length-1;!b.f&&0<=e;e--){b.b=d[e];var g=sb(d[e],a,!0,b);c=c&&g}for(e=0;!b.f&&e>>0);function mb(a){if(t(a))return a;a[ub]||(a[ub]=function(b){return a.handleEvent(b)});return a[ub]};function M(){this.b="";this.c=vb}M.prototype.w=!0;M.prototype.v=function(){return this.b};M.prototype.F=!0;M.prototype.a=function(){return 1};var vb={};function wb(a){var b=new M;b.b=a;return b}wb("about:blank");function N(){this.b="";this.f=xb;this.c=null}N.prototype.F=!0;N.prototype.a=function(){return this.c};N.prototype.w=!0;N.prototype.v=function(){return this.b};function yb(a){return a instanceof N&&a.constructor===N&&a.f===xb?a.b:"type_error:SafeHtml"}function zb(a){if(a instanceof N)return a;var b="object"==typeof a,c=null;b&&a.F&&(c=a.a());a=va(b&&a.w?a.v():String(a));return O(a,c)} function Ab(a){function b(a){r(a)?ra(a,b):(a=zb(a),d+=yb(a),a=a.a(),0==c?c=a:0!=a&&c!=a&&(c=null))}var c=0,d="";ra(arguments,b);return O(d,c)}var xb={};function O(a,b){var c=new N;c.b=a;c.c=b;return c}O("",0);O("",0);var Bb=O("
",0);var P={},Cb={},Db={};function Q(){throw Error("Do not instantiate directly");}Q.prototype.a=null;Q.prototype.toString=function(){return this.l};function Eb(a){if(a.g===Db)return zb(a.toString());if(a.g!==P)throw Error("Sanitized content was not of kind TEXT or HTML.");return O(a.toString(),a.a||null)}Q.prototype.b=function(){if(this.g!==Cb)throw Error("Sanitized content was not of kind URI.");return wb(this.toString())};function R(a,b){this.l=String(a);this.a=null!=b?b:null}w(R,Q);R.prototype.g=Db; function Fb(){Q.call(this)}w(Fb,Q);Fb.prototype.g=P;function S(a){return new R(a,void 0)}var Gb=function(a){function b(a){this.l=a}b.prototype=a.prototype;return function(a,d){a=new b(String(a));void 0!==d&&(a.a=d);return a}}(Fb);function Hb(a){null!=a&&a.g===P?(a=String(a.l).replace(Ib,"").replace(Jb,"<"),a=String(a).replace(Kb,Lb)):a=z(String(a));return a} var Mb={"\x00":"�","\t":" ","\n":" ","\x0B":" ","\f":" ","\r":" "," ":" ",'"':""","&":"&","'":"'","-":"-","/":"/","<":"<","=":"=",">":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"};function Lb(a){return Mb[a]}var Kb=/[\x00\x22\x27\x3c\x3e]/g,Ib=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,Jb=/
";var b=a.firstChild.firstChild;a.innerHTML="";return!b.parentElement});function T(a,b){if($b())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=b};function U(a,b){this.a=m(a)?a:0;this.b=m(b)?b:0}f=U.prototype;f.eb=function(){return new U(this.a,this.b)};f.aa=function(a){return a instanceof U&&(this==a?!0:this&&a?this.a==a.a&&this.b==a.b:!1)};f.ceil=function(){this.a=Math.ceil(this.a);this.b=Math.ceil(this.b);return this};f.floor=function(){this.a=Math.floor(this.a);this.b=Math.floor(this.b);return this};f.round=function(){this.a=Math.round(this.a);this.b=Math.round(this.b);return this}; f.gb=function(a,b){a instanceof U?(this.a+=a.a,this.b+=a.b):(this.a+=Number(a),p(b)&&(this.b+=b));return this};f.fb=function(a,b){b=p(b)?b:a;this.a*=a;this.b*=b;return this};f.Jb=function(a,b){a=a*Math.PI/180;b=b||new U(0,0);var c=this.a,d=this.b,e=Math.cos(a);a=Math.sin(a);this.a=(c-b.a)*e-(d-b.b)*a+b.a;this.b=(c-b.a)*a+(d-b.b)*e+b.b};function ac(a,b){this.width=a;this.height=b}f=ac.prototype;f.hb=function(){return new ac(this.width,this.height)};f.Ba=function(){return Math.max(this.width,this.height)};f.Oa=function(){return Math.min(this.width,this.height)};f.yb=function(){return 2*(this.width+this.height)};f.aspectRatio=function(){return this.width/this.height};f.nb=function(){return!(this.width*this.height)};f.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; f.ea=function(a){return this.width<=a.width&&this.height<=a.height};f.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};f.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function bc(a,b){var c=p(void 0)?void 0:b;a.width*=b;a.height*=c;return a}f.Kb=function(a){a=this.aspectRatio()<=a.aspectRatio()?a.width/this.width:a.height/this.height;return bc(this,a)}; f.Lb=function(a){a=this.aspectRatio()>a.aspectRatio()?a.width/this.width:a.height/this.height;return bc(this,a)};function cc(a){return a?new V(W(a)):qa||(qa=new V)}function dc(a,b){var c=b||document,d=null;c.getElementsByClassName?d=c.getElementsByClassName(a)[0]:d=ec(document,"*",a,b);return d||null} function fc(a,b,c,d){a=d||a;var e=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(e||c))return a.querySelectorAll(e+(c?"."+c:""));if(c&&a.getElementsByClassName){b=a.getElementsByClassName(c);if(e){a={};for(var g=d=0,h;h=b[g];g++)e==h.nodeName&&(a[d++]=h);a.length=d;return a}return b}b=a.getElementsByTagName(e||"*");if(c){a={};for(g=d=0;h=b[g];g++){e=h.className;var k;if(k="function"==typeof e.split)k=0<=x(e.split(/\s+/),c);k&&(a[d++]=h)}a.length=d;return a}return b} function ec(a,b,c,d){var e=d||a,g=b&&"*"!=b?String(b).toUpperCase():"";return e.querySelectorAll&&e.querySelector&&(g||c)?e.querySelector(g+(c?"."+c:"")):fc(a,b,c,d)[0]||null}function gc(a,b){Ga(b,function(b,d){b&&"object"==typeof b&&b.w&&(b=b.v());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:hc.hasOwnProperty(d)?a.setAttribute(hc[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})} var hc={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 ic(a){a=a.document;a=jc(a)?a.documentElement:a.body;return new ac(a.clientWidth,a.clientHeight)}function kc(a){return a.scrollingElement?a.scrollingElement:!C&&jc(a)?a.documentElement:a.body||a.documentElement} function lc(a){return a.parentWindow||a.defaultView}function mc(a,b,c,d){function e(c){c&&b.appendChild(n(c)?a.createTextNode(c):c)}for(;da} function Dc(a){if(Yb&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Ec(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");Yb||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a} function Ec(a,b,c){if(!(a.nodeName in yc))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in zc)b.push(zc[a.nodeName]);else for(a=a.firstChild;a;)Ec(a,b,c),a=a.nextSibling}function oc(a){if(a&&"number"==typeof a.length){if(u(a))return"function"==typeof a.item||"string"==typeof a.item;if(t(a))return"function"==typeof a.item}return!1} function Fc(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return Gc(a,function(a){var b;(b=!e||a.nodeName==e)&&!(b=!c)&&(b=n(a.className))&&(a=a.className.split(/\s+/),b=0<=x(a,c));return b},!0,d)}function Gc(a,b,c,d){a&&!c&&(a=a.parentNode);for(c=0;a&&(null==d||c<=d);){if(b(a))return a;a=a.parentNode;c++}return null}function V(a){this.a=a||l.document||document}f=V.prototype;f.sa=cc;f.Mb=function(a){this.a=a};f.na=function(){return this.a}; f.J=function(a){return n(a)?this.a.getElementById(a):a};f.Ma=function(a){return n(a)?this.a.getElementById(a):a};f.T=V.prototype.J;f.Va=function(a,b){return(b||this.a).getElementsByTagName(String(a))};f.K=function(a,b,c){return fc(this.a,a,b,c)};f.ua=function(a,b,c){return ec(this.a,a,b,c)};f.va=function(a,b){var c=(b=b||this.a)||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):fc(document,"*",a,b)};f.ta=function(a,b){return dc(a,b||this.a)}; f.Na=function(a,b){return dc(a,b||this.a)};f.U=V.prototype.K;f.Ob=gc;f.Qa=function(a){return ic(a||lc(this.a)||window)};f.oa=function(){var a=lc(this.a),b=a.document;var c=0;if(b){c=b.body;var d=b.documentElement;if(d&&c)if(a=ic(a).height,jc(b)&&d.scrollHeight)c=d.scrollHeight!=a?d.scrollHeight:d.offsetHeight;else{b=d.scrollHeight;var e=d.offsetHeight;d.clientHeight!=e&&(b=c.scrollHeight,e=c.offsetHeight);c=b>a?b>e?b:e:b");g=g.join("")}g=d.createElement(g);h&&(n(h)?g.className=h:r(h)?g.className=h.join(" "):gc(g,h));2Was this page helpful?');c+='
';a=Math.max(0,Math.ceil(b.length));for(var d=0;d
'}b=Gb(c+'
');b=Qc(b,void 0);this.f=Array.from(b.querySelectorAll(".devsite-rating-star"));this.hasAttribute("selected-rating")||this.setAttribute("selected-rating","0");this.hasAttribute("hover-rating-star")||this.setAttribute("hover-rating-star", "0");this.appendChild(b);Vc(this)}; function Vc(a){Mc(a.b,a,"click",function(b){if(b.target.classList.contains("devsite-rating-star")){b=Number(b.target.getAttribute("data-rating-val"));if(b!=a.c){Wc("selected-rating",b);var c={nonInteraction:!0,page:(new URL(document.location.toString())).pathname,referrer:(new URL(document.location.toString())).pathname,ratings_value:b,ratings_count:1};a.dispatchEvent(new CustomEvent("devsite-analytics-pageview",{detail:c,bubbles:!0}))}3>=b&&(b=document.querySelector('[ds-is="feedback"]'))&&b.dispatchEvent(new Event("click"))}}); Mc(a.b,a,"onpointerover"in window?"pointerover":"mouseover",function(a){a.target.classList.contains("devsite-rating-star")&&(a=Number(a.target.getAttribute("data-rating-val")),Wc("hover-rating-star",a))});Mc(a.b,a,"onpointerout"in window?"pointerout":"mouseout",function(b){b.target.classList.contains("devsite-rating-star")&&Wc("hover-rating-star",a.c)})} Z.prototype.attributeChangedCallback=function(a,b,c){if("selected-rating"===a&&null!=b){var d=this.c=Number(c)||0;b=Number(b)||0;var e=d-1,g=b-1;0=b&&this.f[g].setAttribute("data-title",Y(this.a,Tb,{A:this.i[g]}));0=d&&this.f[e].setAttribute("data-title",Y(this.a,Sb,{A:this.i[e]}))}"hover-rating-star"===a&&Xc(this,Number(c)||0)};Z.prototype.disconnectedCallback=function(){Pc(this.b)}; function Wc(a,b){Array.from(document.getElementsByTagName("devsite-page-rating")).forEach(function(c){return c.setAttribute(a,b)})}function Xc(a,b){a.f.forEach(function(a){Number(a.getAttribute("data-rating-val"))<=b?a.classList?a.classList.add("devsite-rating-star-full"):Ic(a)||(a.className+=0