(function(){var m,aa=function(a){var b=0;return function(){return b>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};return e}); v("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c=f}}); var Ba=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},Ka=function(a,b,c){Ka=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Ia:Ja;return Ka.apply(null, arguments)},La=function(a){return a},Ma=function(a,b){function c(){}c.prototype=b.prototype;a.superClass_=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h=0)&&Array.prototype.splice.call(a,b,1);return c}function db(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;d255&&(b[c++]=e&255,e>>=8);b[c++]=e}a=2;a===void 0&&(a=0);if(!hb)for(hb={},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),d=["+/=","+/","-_=","-_.","-_"],e=0;e<5;e++){var f=c.concat(d[e].split(""));gb[e]=f;for(var g=0;g>2];k=a[(k&3)<<4|l>>4];l=a[(l&15)<<2|h>>6];h=a[h&63];c[e++]=""+g+k+l+h}g=0;h=d;switch(b.length-f){case 2:g=b[f+1],h=a[(g&15)<<2]||d;case 1:b=b[f],c[e]=""+a[b>>2]+a[(b&3)<<4|g>>4]+h+d}return c.join("")};var jb=typeof Symbol==="function"&&typeof Symbol()==="symbol";function kb(a,b,c){return typeof Symbol==="function"&&typeof Symbol()==="symbol"?(c===void 0?0:c)&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol():b}var lb=kb("jas",void 0,!0),mb=kb(void 0,Symbol()),nb=kb(void 0,"0ub"),ob=kb(void 0,"0ubs"),qb=kb(void 0,"0actk"),rb=kb("m_m","messagePrototypeMarker",!0),sb=kb();Math.max.apply(Math,la(Object.values({IS_REPEATED_FIELD:1,IS_IMMUTABLE_ARRAY:2,IS_API_FORMATTED:4,ONLY_MUTABLE_VALUES:8,UNFROZEN_SHARED:16,MUTABLE_REFERENCES_ARE_OWNED:32,CONSTRUCTED:64,HAS_MESSAGE_ID:128,FROZEN_ARRAY:256,STRING_FORMATTED:512,GBIGINT_FORMATTED:1024,HAS_WRAPPER:2048,MUTABLE_SUBSTRUCTURES:4096})));var tb={internalArrayState:{value:0,configurable:!0,writable:!0,enumerable:!1}},ub=Object.defineProperties,E=jb?lb:"internalArrayState",vb,wb=[];F(wb,7);vb=Object.freeze(wb); function xb(a,b){jb||E in a||ub(a,tb);a[E]|=b}function F(a,b){jb||E in a||ub(a,tb);a[E]=b};function yb(){return typeof BigInt==="function"};var zb={};function Ab(a,b){return b===void 0?a.copyOnWrite!==Bb&&!!(2&(a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows[E]|0)):!!(2&b)&&a.copyOnWrite!==Bb}var Bb={},Cb=Object.freeze({});function Db(a){return a};function Eb(a){a.isGuard_doNotManuallySetPrettyPlease=!0;return a};var Fb=Eb(function(a){return typeof a==="number"}),Gb=Eb(function(a){return typeof a==="string"}),Hb=Eb(function(a){return typeof a==="boolean"}),Ib=Eb(function(a){return typeof a==="bigint"});var Jb=typeof B.BigInt==="function"&&typeof B.BigInt(0)==="bigint";function G(a){var b=a;if(Gb(b)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(b))throw Error(String(b));}else if(Fb(b)&&!Number.isSafeInteger(b))throw Error(String(b));return Jb?BigInt(a):a=Hb(a)?a?"1":"0":Gb(a)?a.trim()||"0":String(a)} var Kb=Eb(function(a){return Jb?Ib(a):Gb(a)&&/^(?:-?[1-9]\d*|0)$/.test(a)}),Qb=Eb(function(a){return Jb?a>=Lb&&a<=Mb:a[0]==="-"?Nb(a,Ob):Nb(a,Pb)}),Ob=Number.MIN_SAFE_INTEGER.toString(),Lb=Jb?BigInt(Number.MIN_SAFE_INTEGER):void 0,Pb=Number.MAX_SAFE_INTEGER.toString(),Mb=Jb?BigInt(Number.MAX_SAFE_INTEGER):void 0;function Nb(a,b){if(a.length>b.length)return!1;if(a.lengthe)return!1;if(d>>0;H=b;I=(a-b)/4294967296>>>0}function Sb(a){if(a<0){Rb(0-a);var b=x(Tb(H,I));a=b.next().value;b=b.next().value;H=a>>>0;I=b>>>0}else Rb(a)}function Ub(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else yb()?c=""+(BigInt(b)<>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+c*6777216+b*6710656,c+=b*8147497,b*=2,a>=1E7&&(c+=a/1E7>>>0,a%=1E7),c>=1E7&&(b+=c/1E7>>>0,c%=1E7),c=b+Vb(c)+Vb(a));return c} function Vb(a){a=String(a);return"0000000".slice(a.length)+a}function Wb(){var a=H,b=I;b&2147483648?yb()?a=""+(BigInt(b|0)<>>0)):(b=x(Tb(a,b)),a=b.next().value,b=b.next().value,a="-"+Ub(a,b)):a=Ub(a,b);return a}function Tb(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};function Xb(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};var Yb=void 0;function Zb(a){a=Error(a);Xb(a,"warning");return a}function $b(a,b){if(a!=null){var c;var d=(c=Yb)!=null?c:Yb={};c=d[a]||0;c>=b||(d[a]=c+1,a=Error(),Xb(a,"incident"),Xa(a))}};function ac(a){return Array.prototype.slice.call(a)};var bc=typeof BigInt==="function"?BigInt.asIntN:void 0,cc=Number.isSafeInteger,dc=Number.isFinite,ec=Math.trunc;function fc(a){return a.displayName||a.name||"unknown type name"}var gc=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function hc(a){switch(typeof a){case "bigint":return!0;case "number":return dc(a);case "string":return gc.test(a);default:return!1}}function ic(a){if(!dc(a))throw Zb("enum");return a|0}function jc(a){return a==null?a:dc(a)?a|0:void 0} function kc(a){if(typeof a!=="number")throw Zb("int32");if(!dc(a))throw Zb("int32");return a|0} function lc(a){var b=0;b=b===void 0?0:b;if(!hc(a))throw Zb("int64");var c=typeof a;switch(b){case 512:switch(c){case "string":return mc(a);case "bigint":return String(bc(64,a));default:return nc(a)}case 1024:switch(c){case "string":return oc(a);case "bigint":return G(bc(64,a));default:return pc(a)}case 0:switch(c){case "string":return mc(a);case "bigint":return G(bc(64,a));default:return qc(a)}default:throw Error("Unknown format requested type for int64");}} function rc(a){var b=a.length;return a[0]==="-"?b<20?!0:b===20&&Number(a.substring(0,7))>-922337:b<19?!0:b===19&&Number(a.substring(0,6))<922337} function sc(a){if(rc(a))return a;if(a.length<16)Sb(Number(a));else if(yb())a=BigInt(a),H=Number(a&BigInt(4294967295))>>>0,I=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");I=H=0;for(var c=a.length,d=0+b,e=(c-b)%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),I*=1E6,H=H*1E6+d,H>=4294967296&&(I+=Math.trunc(H/4294967296),I>>>=0,H>>>=0);b&&(b=x(Tb(H,I)),a=b.next().value,b=b.next().value,H=a,I=b)}return Wb()} function qc(a){hc(a);a=ec(a);if(!cc(a)){Sb(a);var b=H,c=I;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,b==0&&(c=c+1>>>0);var d=c*4294967296+(b>>>0);b=Number.isSafeInteger(d)?d:Ub(b,c);a=typeof b==="number"?a?-b:b:a?"-"+b:b}return a}function nc(a){hc(a);a=ec(a);if(cc(a))a=String(a);else{var b=String(a);rc(b)?a=b:(Sb(a),a=Wb())}return a}function mc(a){hc(a);var b=ec(Number(a));if(cc(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return sc(a)} function oc(a){var b=ec(Number(a));if(cc(b))return G(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return yb()?G(bc(64,BigInt(a))):G(sc(a))}function pc(a){return cc(a)?G(qc(a)):G(nc(a))}function tc(a){if(typeof a!=="string")throw Error();return a}function uc(a){if(a!=null&&typeof a!=="string")throw Error();return a}function vc(a){return a==null||typeof a==="string"?a:void 0};function wc(a,b){var c=La(mb),d;jb&&c&&((d=a[c])==null?void 0:d[b])!=null&&$b(nb,3)}var xc={reviveIntoImmutable:!0};function yc(a,b,c){var d=d===void 0?!1:d;if(La(sb)&&La(mb)&&c===sb){c=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;var e=c[mb];if(!e)return;if(e=e.reviveUnknownFields)try{e(c,b,xc);return}catch(f){Xa(f)}}d&&(a=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,(d=La(mb))&&d in a&&(a=a[d])&&delete a[b])};function zc(a,b,c,d){var e=d!==void 0;d=!!d;var f=La(mb),g;!e&&jb&&f&&(g=a[f])&&g.forEachUnknownField(Ac);f=[];var h=a.length;g=4294967295;var k=!1,l=!!(b&64),n=l?b&128?0:-1:void 0;if(!(b&1)){var p=h&&a[h-1];p!=null&&typeof p==="object"&&p.constructor===Object?(h--,g=h):p=void 0;if(l&&!(b&128)&&!e){k=!0;var r;g=((r=Bc)!=null?r:Db)(g-n,n,a,p)+n}}b=void 0;for(e=0;e=g){var q=e-n,t=void 0;((t=b)!=null?t:b={})[q]=r}else f[e]=r;if(p)for(var A in p)a=p[A], a!=null&&(a=c(a,d))!=null&&(h=+A,e=void 0,l&&!Number.isNaN(h)&&(e=h+n)=1024)throw Error("pvtlmt");for(var k in h)f=+k,f1024)throw Error("spvt");e=e&-8380417|(k&1023)<<13}}}e|=64;d===0&&(e|=2048);F(a,e);return a}function Ec(){$b(qb,5)};function Fc(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[E]|0;a.length===0&&c&1?a=void 0:c&2||(!b||4096&c||16&c?a=Gc(a,c,!1,b&&!(c&16)):(xb(a,34),c&4&&Object.freeze(a)));return a}if(a[rb]===zb)return b=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,c=b[E]|0,Ab(a,c)?a:Gc(b,c)}function Gc(a,b,c,d){d!=null||(d=!!(34&b));a=zc(a,b,Fc,d);d=32;c&&(d|=2);b=b&8380609|d;F(a,b);return a} function Hc(a){if(a.copyOnWrite!==Bb)return!1;var b=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;b=Gc(b,b[E]|0);a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=b;a.copyOnWrite=void 0;a.noLegacyNull=void 0;return!0}function Ic(a){if(!Hc(a)&&Ab(a,a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows[E]|0))throw Error();};var Jc=G(0),Kc={},Mc=function(a,b,c,d){Object.isExtensible(a);b=Lc(a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,b,c);if(b!==null||d&&a.noLegacyNull!==Bb)return b},Lc=function(a,b,c,d){if(b===-1)return null;var e=b+(c?0:-1),f=a.length-1;if(!(f<1+(c?0:-1))){if(e>=f){var g=a[f];if(g!=null&&typeof g==="object"&&g.constructor===Object){c=g[b];var h=!0}else if(e===f)c=g;else return}else c=a[e];if(d&&c!=null){d=d(c);if(d==null)return d;if(!Object.is(d,c))return h?g[b]=d:a[e]=d,d}return c}},Oc= function(a,b,c){Ic(a);a=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;Nc(a,a[E]|0,b,c)};function Nc(a,b,c,d){var e=c+-1,f=a.length-1;if(f>=0&&e>=f){var g=a[f];if(g!=null&&typeof g==="object"&&g.constructor===Object)return g[c]=d,b}if(e<=f)return a[e]=d,b;if(d!==void 0){var h;f=((h=b)!=null?h:b=a[E]|0)>>13&1023||536870912;c>=f?d!=null&&(e={},a[f+-1]=(e[c]=d,e)):a[e]=d}return b} function Pc(a,b,c,d,e){var f=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,g=f[E]|0;d=Ab(a,g)?1:d;e=!!e||d===3;d===2&&Hc(a)&&(f=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,g=f[E]|0);a=Lc(f,b);var h=Array.isArray(a)?a:vb;var k=h===vb?7:h[E]|0;a=k;2&g&&(a|=2);var l=a|1;a=4&l?!1:!0;if(a){4&l&&(h=ac(h),k=0,l=Qc(l,g),g=Nc(f,g,b,h));for(var n=0,p=0;n=a.length)throw Error();return a[c]},Wc=function(a){return Pc(a,4,jc,void 0===Cb?2:4)},P=function(a,b,c){if(c!=null&&typeof c!=="boolean")throw Error("Expected boolean but got "+Ea(c)+": "+c);return K(a,b,c,!1)};var Q=function(a,b,c){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a,b,c)};Q.prototype.toJSON=function(){return Dc(this)};var Xc=function(a,b){if(b==null||b=="")return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");xb(b,32);return new a(b)}; Q.prototype.getExtension=function(a){wc(this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,a.fieldIndex);yc(this,a.fieldIndex,a.lazyParse);return a.ctor?a.isRepeated?a.getExtensionFn(this,a.ctor,a.fieldIndex,void 0===Cb?2:4,a.hasMessageId):a.getExtensionFn(this,a.ctor,a.fieldIndex,a.hasMessageId):a.isRepeated?a.getExtensionFn(this,a.fieldIndex,void 0===Cb?2:4,a.hasMessageId):a.getExtensionFn(this,a.fieldIndex,a.defaultValue,a.hasMessageId)}; Q.prototype.hasExtension=function(a){wc(this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,a.fieldIndex);yc(this,a.fieldIndex,a.lazyParse);if(a.ctor){var b=this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;a=Tc(b,b[E]|0,a.ctor,a.fieldIndex,a.hasMessageId)!==void 0}else wc(this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,a.fieldIndex),yc(this,a.fieldIndex,a.lazyParse),a=a.ctor?a.getExtensionFn(this,a.ctor,a.fieldIndex,a.hasMessageId):a.getExtensionFn(this,a.fieldIndex, null,a.hasMessageId),a=(a===null?void 0:a)!==void 0;return a};Q.prototype.clone=function(){var a=this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;return new this.constructor(Gc(a,a[E]|0,!1))};Q.prototype[rb]=zb;Q.prototype.toString=function(){return this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows.toString()};function Yc(a,b){for(var c in a)b.call(void 0,a[c],c,a)}function Zc(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}var $c="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function ad(a,b){for(var c,d,e=1;e0)d(f);else{a:{if(f&&typeof f.length=="number"){if(Ha(f)){var g=typeof f.item=="function"||typeof f.item=="string";break a}if(typeof f==="function"){g=typeof f.item=="function";break a}}g=!1}ab(g?db(f):f,d)}}},vd=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)}, wd=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},qd=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},pd=function(a){this.document_=a||B.document||document};m=pd.prototype;m.getElementsByTagName=function(a,b){return(b||this.document_).getElementsByTagName(String(a))};m.createElement=function(a){return vd(this.document_,a)};m.createTextNode=function(a){return this.document_.createTextNode(String(a))};m.getWindow=function(){return this.document_.defaultView}; m.appendChild=function(a,b){a.appendChild(b)};m.append=function(a,b){ud(qd(a),a,arguments)};m.canHaveChildren=function(a){if(a.nodeType!=1)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0}; m.removeNode=wd;m.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var T=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?function(a){return a&&AsyncContext.Snapshot.wrap(a)}:function(a){return a};var zd=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};zd.prototype.get=function(){if(this.occupants_>0){this.occupants_--;var a=this.head_;this.head_=a.next;a.next=null}else a=this.create_();return a};zd.prototype.put=function(a){this.reset_(a);this.occupants_1)));g=g.next)e||(f=g);e&&(c.state_==0&&d==1?Xd(c,b):(f?(d=f,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):Yd(c),Zd(c,e,3,b)))}a.parent_=null}else Md(a,3,b)},Ud=function(a,b){a.callbackEntries_||a.state_!=2&&a.state_!=3||$d(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_= b;a.callbackEntriesTail_=b},Td=function(a,b,c,d){var e=Pd(null,null,null);e.child=new U(function(f,g){e.onFulfilled=b?function(h){try{var k=b.call(d,h);f(k)}catch(l){g(l)}}:f;e.onRejected=c?function(h){try{var k=c.call(d,h);k===void 0&&h instanceof Wd?g(h):f(k)}catch(l){g(l)}}:g});e.child.parent_=a;Ud(a,e);return e.child};U.prototype.unblockAndFulfill_=function(a){this.state_=0;Md(this,2,a)};U.prototype.unblockAndReject_=function(a){this.state_=0;Md(this,3,a)}; var Md=function(a,b,c){if(a.state_==0){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.state_=1;a:{var d=c,e=a.unblockAndFulfill_,f=a.unblockAndReject_;if(d instanceof U){Vd(d,e,f,a);var g=!0}else if(Ld(d))d.then(e,f,a),g=!0;else{if(Ha(d))try{var h=d.then;if(typeof h==="function"){ae(d,h,e,f,a);g=!0;break a}}catch(k){f.call(a,k);g=!0;break a}g=!1}}g||(a.result_=c,a.state_=b,a.parent_=null,$d(a),b!=3||c instanceof Wd||be(a,c))}},ae=function(a,b,c,d,e){var f=!1,g=function(k){f||(f= !0,c.call(e,k))},h=function(k){f||(f=!0,d.call(e,k))};try{b.call(a,g,h)}catch(k){h(k)}},$d=function(a){a.executing_||(a.executing_=!0,Hd(a.executeCallbacks_,a))},Yd=function(a){var b=null;a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};U.prototype.executeCallbacks_=function(){for(var a;a=Yd(this);)Zd(this,a,this.state_,this.result_);this.executing_=!1}; var Zd=function(a,b,c,d){if(c==3&&b.onRejected&&!b.always)for(;a&&a.hadUnhandledRejection_;a=a.parent_)a.hadUnhandledRejection_=!1;if(b.child)b.child.parent_=null,ce(b,c,d);else try{b.always?b.onFulfilled.call(b.context):ce(b,c,d)}catch(e){de.call(null,e)}Od.put(b)},ce=function(a,b,c){b==2?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},be=function(a,b){a.hadUnhandledRejection_=!0;Hd(function(){a.hadUnhandledRejection_&&de.call(null,b)})},de=Xa,Wd=function(a){D.call(this, a)};Ma(Wd,D);Wd.prototype.name="cancel";var Rd=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};/* Copyright 2005, 2007 Bob Ippolito. All Rights Reserved. Copyright The Closure Library Authors. SPDX-License-Identifier: MIT */ var V=function(a){var b=ee;this.sequence_=[];this.onCancelFunction_=b;this.defaultScope_=a||null;this.hadError_=this.fired_=!1;this.result_=void 0;this.silentlyCanceled_=this.blocking_=this.blocked_=!1;this.unhandledErrorId_=0;this.parent_=null;this.branches_=0}; V.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof V&&this.result_.cancel();else{if(this.parent_){var b=this.parent_;delete this.parent_;a?b.cancel(a):(b.branches_--,b.branches_<=0&&b.cancel())}this.onCancelFunction_?this.onCancelFunction_.call(this.defaultScope_,this):this.silentlyCanceled_=!0;this.fired_||(a=new fe(this),ge(this),he(this,!1,a))}};V.prototype.continue_=function(a,b){this.blocked_=!1;he(this,a,b)}; var he=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;ie(a)},ge=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new je(a);a.silentlyCanceled_=!1}};V.prototype.callback=function(a){ge(this);he(this,!0,a)};V.prototype.addCallback=function(a,b){return ke(this,a,null,b)};V.prototype.finally=function(a){var b=this;return new Promise(function(c,d){ke(b,function(e){a();c(e)},function(e){a();d(e)})})}; var ke=function(a,b,c,d){var e=a.fired_;e||(b===c?b=c=T(b):(b=T(b),c=T(c)));a.sequence_.push([b,c,d]);e&&ie(a);return a};V.prototype.then=function(a,b,c){var d,e,f=new U(function(g,h){e=g;d=h});ke(this,e,function(g){g instanceof fe?f.cancel():d(g);return le},this);return f.then(a,b,c)};V.prototype.$goog_Thenable=!0; var me=function(a){return bb(a.sequence_,function(b){return typeof b[1]==="function"})},le={},ie=function(a){if(a.unhandledErrorId_&&a.fired_&&me(a)){var b=a.unhandledErrorId_,c=ne[b];c&&(B.clearTimeout(c.id_),delete ne[b]);a.unhandledErrorId_=0}a.parent_&&(a.parent_.branches_--,delete a.parent_);b=a.result_;for(var d=c=!1;a.sequence_.length&&!a.blocked_;){var e=a.sequence_.shift(),f=e[0],g=e[1];e=e[2];if(f=a.hadError_?g:f)try{var h=f.call(e||a.defaultScope_,b);h===le&&(h=void 0);h!==void 0&&(a.hadError_= a.hadError_&&(h==b||h instanceof Error),a.result_=b=h);if(Ld(b)||typeof B.Promise==="function"&&b instanceof B.Promise)d=!0,a.blocked_=!0}catch(k){b=k,a.hadError_=!0,me(a)||(c=!0)}}a.result_=b;d&&(h=Ka(a.continue_,a,!0),d=Ka(a.continue_,a,!1),b instanceof V?(ke(b,h,d),b.blocking_=!0):b.then(h,d));c&&(b=new oe(b),ne[b.id_]=b,a.unhandledErrorId_=b.id_)},je=function(){D.call(this)};Ma(je,D);je.prototype.message="Deferred has already fired";je.prototype.name="AlreadyCalledError";var fe=function(){D.call(this)}; Ma(fe,D);fe.prototype.message="Deferred was canceled";fe.prototype.name="CanceledError";var oe=function(a){this.id_=B.setTimeout(Ka(this.throwError,this),0);this.error_=a};oe.prototype.throwError=function(){delete ne[this.id_];throw this.error_;};var ne={};var se=function(){var a=Ra("https://apis.google.com/js/client.js"),b={},c=b.document||document,d=Sa(a).toString(),e=(new pd(c)).createElement("SCRIPT"),f={script_:e,timeout_:void 0},g=new V(f),h=null,k=b.timeout!=null?b.timeout:5E3;k>0&&(h=window.setTimeout(function(){pe(e,!0);var l=new qe(1,"Timeout reached for loading script "+d);ge(g);he(g,!1,l)},k),f.timeout_=h);e.onload=e.onreadystatechange=function(){e.readyState&&e.readyState!="loaded"&&e.readyState!="complete"||(pe(e,b.cleanupWhenDone||!1, h),g.callback(null))};e.onerror=function(){pe(e,!0,h);var l=new qe(0,"Error while loading script "+d);ge(g);he(g,!1,l)};f=b.attributes||{};ad(f,{type:"text/javascript",charset:"UTF-8"});td(e,f);nd(e,a);re(c).appendChild(e);return g},re=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&b.length!==0?b[0]:a.documentElement},ee=function(){if(this&&this.script_){var a=this.script_;a&&a.tagName=="SCRIPT"&&pe(a,!0,this.timeout_)}},pe=function(a,b,c){c!=null&&B.clearTimeout(c);a.onload= function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){wd(a)},0)},qe=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);D.call(this,c);this.code=a};Ma(qe,D);var te=function(a){var b=a.serverUrl;var c=a.apiKey;a=a.authUser===void 0?0:a.authUser;this.serverUrl_=b;this.apiKey_=c;this.authUser_=a};te.prototype.get=function(a,b){return ue(this,"GET",a,null,b)}; var ue=function(a,b,c,d,e){var f,g,h,k,l;return ya(function(n){if(n.nextAddress==1)return ra(n,ve(),2);f=C("gapi.client");g=C("gapi.config");h=we();k=f.getToken();f.setToken(null);g.update("googleapis.config/auth/useFirstPartyAuth",!0);g.update("googleapis.config/auth/useFirstPartyAuthV2",!0);g.update("client/xd4",!1);g.update("client/cors",!1);g.update("client/apiKey",a.apiKey_);l=f.request({root:a.serverUrl_,path:c,method:b,body:d?JSON.stringify(Dc(d)):void 0,headers:{"Content-Type":"application/json+protobuf", "X-Goog-Api-Key":a.apiKey_,"X-Goog-AuthUser":a.authUser_}}).then(function(p){try{return Xc(e,p.body)}catch(r){}});xe(h);f.setToken(k);return n.return(l)})},we=function(){var a=C("gapi.config"),b={};b["googleapis.config/auth/useFirstPartyAuth"]=a.get("googleapis.config/auth/useFirstPartyAuth");b["googleapis.config/auth/useFirstPartyAuthV2"]=a.get("googleapis.config/auth/useFirstPartyAuthV2");b["client/xd4"]=a.get("client/xd4");b["client/cors"]=a.get("client/cors");b["client/apiKey"]=a.get("client/apiKey"); return b},xe=function(a){for(var b=C("gapi.config"),c=x(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,b.update(d,a[d])},ve=function(){return C("gapi.load")?ye():se().then(function(){return ye()},function(a){return Qd("Failed initializing gapi.\nGapi error: "+a)})},ye=function(){var a=Sd(),b=C("gapi.client");if(b)a.resolve(b);else try{C("gapi.load")("client",{callback:function(){a.resolve(C("gapi.client"))}})}catch(c){a.reject("Failed loading gapi library: client")}return a.promise};var W=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(W,Q);W.prototype.getSeconds=function(){var a=a===void 0?Jc:a;var b=Mc(this,1);var c=typeof b;b=b==null?b:c==="bigint"?G(bc(64,b)):hc(b)?c==="string"?oc(b):pc(b):void 0;return b!=null?b:a};W.prototype.setSeconds=function(a){a=a==null?a:lc(a);return K(this,1,a,"0")};var ze=function(){var a=(new W).setSeconds((new Date).getTimezoneOffset()*-60);return K(a,2,kc(0),0)};var Ae=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ae,Q);Ae.prototype.getTimezoneOffset=function(){return L(this,W,3)};Ae.prototype.setTimezoneOffset=function(a){return M(this,W,3,a)};var Be=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Be,Q);Be.prototype.setPlatform=function(a){return K(this,1,a==null?a:ic(a),0)};Be.prototype.setSupportedCapabilityList=function(a){return Sc(this,3,a,ic)};Be.prototype.setLibraryVersionInt=function(a){return K(this,4,a==null?a:kc(a),0)};var Ce=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ce,Q);Ce.prototype.setDeviceInfo=function(a){return M(this,Ae,1,a)};Ce.prototype.setLibraryInfo=function(a){return M(this,Be,2,a)};var De=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(De,Q);De.prototype.getAllowedCompletionStyleList=function(){return Wc(this)};var Ee=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ee,Q);var Fe=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Fe,Q);Fe.prototype.getPromptDelay=function(){return L(this,Ee,1)};Fe.prototype.getAllowedPromptStyleList=function(){return Wc(this)};var Ge=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ge,Q);Ge.prototype.getLanguage=function(){return Uc(this,8)};Ge.prototype.getCompletion=function(){return L(this,De,2)};Ge.prototype.getDisplaySettings=function(){return L(this,Fe,3)};var He=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(He,Q);He.prototype.setIsScheduledSurvey=function(a){return P(this,1,a)};var Ie=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ie,Q);var Je=function(a){return Uc(a,1)};var Ke=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ke,Q);m=Ke.prototype;m.setTriggerId=function(a){return K(this,1,uc(a),"")};m.setLanguageList=function(a){return Sc(this,2,a,tc)};m.getLanguage=function(){return Vc(this,2)};m.setTestingMode=function(a){return P(this,3,a)};m.getSurveyId=function(){return Uc(this,4)};m.setSurveyId=function(a){Oc(this,4,uc(a))};var Le=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Le,Q);Le.prototype.setTriggerContext=function(a){return M(this,Ke,1,a)};Le.prototype.setClientContext=function(a){return M(this,Ce,2,a)};Le.prototype.setScheduledSurveyContext=function(a){M(this,He,3,a)};var Me=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Me,Q);m=Me.prototype;m.getSession=function(){return L(this,Ie,1)};m.getSurveyPayload=function(){return L(this,Ge,2)};m.getError=function(a){return Vc(this,4,a)};m.getSurveyId=function(){return Uc(this,5)};m.setSurveyId=function(a){K(this,5,uc(a),"")};var Ne=function(){this.actions_={}};Ne.prototype.register=function(a,b,c){this.actions_[a]={callback:b,isApplicable:c||Jd}};Ne.prototype.execute=function(a,b){(a=this.actions_[a])&&a.isApplicable()&&a.callback.apply(null,b||[])};Ne.prototype.isApplicable=function(a){a=this.actions_[a];return!!a&&a.isApplicable()};Ne.prototype.register=Ne.prototype.register;var Oe=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Oe,Q);var Pe=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Pe,Q);Pe.prototype.setDirection=function(a){return K(this,8,uc(a),"")};var Qe=function(a){return function(b){return Xc(a,b)}}(Pe);function Re(a){if(!a)return null;a=vc(Mc(a,4,void 0,Kc));return a===null||a===void 0?null:Ra(a)};var Se=y([""]),Te=y(["https://www.google.com/tools/feedback/help_panel_binary.js"]); function Ue(a,b,c,d){var e=a.helpCenterPath.startsWith("/")?a.helpCenterPath.substring(1):a.helpCenterPath,f=c.document,g=a.nonce,h=Qe(b);h=L(h,Oe,10)?Re(L(h,Oe,10))||S(Se):S(Te);var k=rd(f).createElement("SCRIPT");g&&k.setAttribute("nonce",g);k.onload=function(){c.startHelpCard({apiKey:"",context:a.helpCenterContext,directToGetHelp:!1,enableSendFeedback:!1,helpApiData:{helpApiConfig:a,productWindow:c},helpcenter:e,helpPanelStartTimeMs:a.helpPanelStartTimeMs,helpPanelTheme:a.helpPanelTheme,locale:a.locale, nd4cSettingsIsEnabled:!1,onOpenHelpPanelCallback:d,serverData:b})};nd(k,h);f.body.appendChild(k)};var Ve=y(["https://www.google.com/tools/feedback/"]),We=y(["http://localhost.corp.google.com/inapp/"]),Xe=y(["http://localhost.proxy.googlers.com/inapp/"]),Ye=y(["https://asx-frontend-autopush.corp.google.com/inapp/"]),Ze=y(["https://asx-frontend-autopush.corp.google.com/tools/feedback/"]),$e=y(["https://asx-frontend-autopush.corp.google.co.uk/inapp/"]),af=y(["https://asx-frontend-autopush.corp.google.co.uk/tools/feedback/"]),bf=y(["https://asx-frontend-autopush.corp.google.de/inapp/"]),cf=y(["https://asx-frontend-autopush.corp.google.de/tools/feedback/"]), df=y(["https://asx-frontend-autopush.corp.youtube.com/tools/feedback/"]),ef=y(["https://asx-frontend-autopush.corp.youtube.com/inapp/"]),ff=y(["https://asx-help-frontend-autopush.corp.youtube.com/tools/feedback/"]),gf=y(["https://asx-help-frontend-autopush.corp.youtube.com/inapp/"]),hf=y(["https://asx-frontend-staging.corp.google.com/inapp/"]),jf=y(["https://asx-frontend-staging.corp.google.com/tools/feedback/"]),kf=y(["https://support.google.com/inapp/"]),lf=y(["https://sandbox.google.com/inapp/"]), mf=y(["https://sandbox.google.com/tools/feedback/"]),nf=y(["https://www.google.cn/tools/feedback/"]),of=y(["https://help.youtube.com/tools/feedback/"]),pf=y(["https://asx-frontend-staging.corp.google.com/inapp/"]),qf=y(["https://asx-frontend-staging.corp.google.com/tools/feedback/"]),rf=y(["https://localhost.corp.google.com/inapp/"]),sf=y(["https://localhost.proxy.googlers.com/inapp/"]),tf=S(Ve),uf=[S(We),S(Xe)],vf=[S(Ye),S(Ze),S($e),S(af),S(bf),S(cf),S(df),S(ef),S(ff),S(gf)],wf=[S(hf),S(jf)],xf= [tf,S(kf),S(lf),S(mf),S(nf),S(of),S(pf),S(qf),S(rf),S(sf)];la(uf);la(vf);la(wf);la(xf);var yf=function(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};yf.prototype.disposed_=!1;yf.prototype.isDisposed=function(){return this.disposed_};yf.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};yf.prototype[Symbol.dispose]=function(){this.dispose()};yf.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var zf=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};zf.prototype.stopPropagation=function(){this.propagationStopped_=!0};zf.prototype.preventDefault=function(){this.defaultPrevented=!0};var Af=function(){if(!B.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};B.addEventListener("test",c,b);B.removeEventListener("test",c,b)}catch(d){}return a}();var Bf=function(a,b){zf.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.event_=null;a&&this.init(a,b)};Ma(Bf,zf); Bf.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;b=a.relatedTarget;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=eb||a.offsetX!==void 0?a.offsetX:a.layerX,this.offsetY= eb||a.offsetY!==void 0?a.offsetY:a.layerY,this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=a.pointerType;this.state=a.state;this.timeStamp= a.timeStamp;this.event_=a;a.defaultPrevented&&Bf.superClass_.preventDefault.call(this)};Bf.prototype.stopPropagation=function(){Bf.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};Bf.prototype.preventDefault=function(){Bf.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var Cf="closure_listenable_"+(Math.random()*1E6|0);var Hf=0;var If=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.handler=e;this.key=++Hf;this.removed=this.callOnce=!1},Jf=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};function Kf(a){this.src=a;this.listeners={};this.typeCount_=0}Kf.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.typeCount_++);var g=Lf(a,b,d,e);g>-1?(b=a[g],c||(b.callOnce=!1)):(b=new If(b,this.src,f,!!d,e),b.callOnce=c,a.push(b));return b}; Kf.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=Lf(e,b,c,d);return b>-1?(Jf(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete this.listeners[a],this.typeCount_--),!0):!1};var Mf=function(a,b){var c=b.type;c in a.listeners&&cb(a.listeners[c],b)&&(Jf(b),a.listeners[c].length==0&&(delete a.listeners[c],a.typeCount_--))}; Kf.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=Lf(a,b,c,d));return e>-1?a[e]:null};Kf.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return Zc(this.listeners,function(f){for(var g=0;g>>0),Sf=function(a){if(typeof a==="function")return a;a[$f]||(a[$f]=function(b){return a.handleEvent(b)});return a[$f]};var ag=function(){yf.call(this);this.eventTargetListeners_=new Kf(this);this.actualEventTarget_=this;this.parentEventTarget_=null};Ma(ag,yf);ag.prototype[Cf]=!0;m=ag.prototype;m.addEventListener=function(a,b,c,d){Rf(this,a,b,c,d)};m.removeEventListener=function(a,b,c,d){Yf(this,a,b,c,d)}; m.dispatchEvent=function(a){var b=this.parentEventTarget_;if(b){var c=[];for(var d=1;b;b=b.parentEventTarget_)c.push(b),++d}b=this.actualEventTarget_;d=a.type||a;if(typeof a==="string")a=new zf(a,b);else if(a instanceof zf)a.target=a.target||b;else{var e=a;a=new zf(d,b);ad(a,e)}e=!0;var f;if(c)for(f=c.length-1;!a.propagationStopped_&&f>=0;f--){var g=a.currentTarget=c[f];e=bg(g,d,!0,a)&&e}a.propagationStopped_||(g=a.currentTarget=b,e=bg(g,d,!0,a)&&e,a.propagationStopped_||(e=bg(g,d,!1,a)&&e));if(c)for(f= 0;!a.propagationStopped_&&f=0){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};var X=function(){ag.call(this);this.headers=new Map;this.active_=!1;this.xhr_=null;this.lastUri_="";this.inAbort_=this.inOpen_=this.inSend_=this.errorDispatched_=!1;this.timeoutInterval_=0;this.timeoutId_=null;this.responseType_="";this.progressEventsEnabled_=this.withCredentials_=!1;this.attributionReportingOptions_=this.trustToken_=null};Ma(X,ag); var fg=/^https?$/i,gg=["POST","PUT"],hg=[],ig=function(a,b,c,d,e,f){var g=new X;hg.push(g);b&&g.listen("complete",b);g.eventTargetListeners_.add("ready",g.cleanupSend_,!0,void 0,void 0);f&&(g.timeoutInterval_=Math.max(0,f));g.withCredentials_=!0;g.send(a,c,d,e)};m=X.prototype;m.cleanupSend_=function(){this.dispose();cb(hg,this)};m.setTrustToken=function(a){this.trustToken_=a};m.setAttributionReporting=function(a){this.attributionReportingOptions_=a}; m.send=function(a,b,c,d){if(this.xhr_)throw Error("[goog.net.XhrIo] Object is active with another request="+this.lastUri_+"; newUri="+a);b=b?b.toUpperCase():"GET";this.lastUri_=a;this.errorDispatched_=!1;this.active_=!0;this.xhr_=new XMLHttpRequest;this.xhr_.onreadystatechange=T(Ka(this.onReadyStateChange_,this));this.progressEventsEnabled_&&"onprogress"in this.xhr_&&(this.xhr_.onprogress=T(Ka(function(g){this.onProgressHandler_(g,!0)},this)),this.xhr_.upload&&(this.xhr_.upload.onprogress=T(Ka(this.onProgressHandler_, this))));try{this.inOpen_=!0,this.xhr_.open(b,String(a),!0),this.inOpen_=!1}catch(g){this.error_(5,g);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if(typeof d.keys==="function"&&typeof d.get==="function"){e=x(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(g){return"content-type"==g.toLowerCase()}); e=B.FormData&&a instanceof B.FormData;!($a(gg,b)>=0)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=x(c);for(d=b.next();!d.done;d=b.next())c=x(d.value),d=c.next().value,c=c.next().value,this.xhr_.setRequestHeader(d,c);this.responseType_&&(this.xhr_.responseType=this.responseType_);"withCredentials"in this.xhr_&&this.xhr_.withCredentials!==this.withCredentials_&&(this.xhr_.withCredentials=this.withCredentials_);if("setTrustToken"in this.xhr_&&this.trustToken_)try{this.xhr_.setTrustToken(this.trustToken_)}catch(g){}if("setAttributionReporting"in this.xhr_&&this.attributionReportingOptions_)try{this.xhr_.setAttributionReporting(this.attributionReportingOptions_)}catch(g){}try{this.timeoutId_&&(clearTimeout(this.timeoutId_),this.timeoutId_=null),this.timeoutInterval_>0&&(this.timeoutId_=setTimeout(this.timeout_.bind(this),this.timeoutInterval_)),this.inSend_=!0,this.xhr_.send(a),this.inSend_=!1}catch(g){this.error_(5,g)}};m.timeout_=function(){typeof Ca!="undefined"&&this.xhr_&&(this.dispatchEvent("timeout"),this.abort(8))}; m.error_=function(){this.active_=!1;this.xhr_&&(this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1);jg(this);kg(this)};var jg=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};X.prototype.abort=function(){this.xhr_&&this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),kg(this))}; X.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),kg(this,!0));X.superClass_.disposeInternal.call(this)};X.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)lg(this);else this.onReadyStateChangeEntryPoint_()};X.prototype.onReadyStateChangeEntryPoint_=function(){lg(this)}; var lg=function(a){if(a.active_&&typeof Ca!="undefined")if(a.inSend_&&mg(a)==4)setTimeout(a.onReadyStateChange_.bind(a),0);else if(a.dispatchEvent("readystatechange"),mg(a)==4){a.active_=!1;try{try{var b=mg(a)>2?a.xhr_.status:-1}catch(g){b=-1}a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}var d;if(!(d=c)){var e;if(e=b===0){var f=String(a.lastUri_).match(dg)[1]||null;!f&&B.self&&B.self.location&&(f=B.self.location.protocol.slice(0,-1));e=!fg.test(f? f.toLowerCase():"")}d=e}d?(a.dispatchEvent("complete"),a.dispatchEvent("success")):jg(a)}finally{kg(a)}}};X.prototype.onProgressHandler_=function(a,b){this.dispatchEvent(ng(a,"progress"));this.dispatchEvent(ng(a,b?"downloadprogress":"uploadprogress"))}; var ng=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},kg=function(a,b){if(a.xhr_){a.timeoutId_&&(clearTimeout(a.timeoutId_),a.timeoutId_=null);var c=a.xhr_;a.xhr_=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}};X.prototype.isActive=function(){return!!this.xhr_}; var mg=function(a){return a.xhr_?a.xhr_.readyState:0},og=function(a){if(a.xhr_){a=a.xhr_.responseText;a.indexOf(")]}'\n")==0&&(a=a.substring(5));a:{if(B.JSON)try{var b=B.JSON.parse(a);break a}catch(c){}b=cg(a)}return b}};X.prototype.getResponseHeader=function(a){if(this.xhr_&&mg(this)==4)return a=this.xhr_.getResponseHeader(a),a===null?void 0:a};X.prototype.getAllResponseHeaders=function(){return this.xhr_&&mg(this)>=2?this.xhr_.getAllResponseHeaders()||"":""};var pg=y([""]),qg=y(["https://www.google.com/tools/feedback/help_panel_binary.js"]);function rg(a,b,c,d,e,f){return ya(function(g){return g.return(new Promise(function(h){ig(""+a+"/repeater_help_panel?locale="+b+"&helpContext="+c+"&productId="+d+"&helpcenter="+e+"&openingMode="+f,function(k){k=k.target;var l=null;try{l=Xc(Pe,JSON.stringify(og(k)))}catch(n){}h(l)})}))})} function sg(a,b,c,d){var e=a.helpCenterPath.startsWith("/")?a.helpCenterPath.substring(1):a.helpCenterPath,f=Qe(b),g=a.helpPanelMode||0,h=a.fixedHelpPanelContainer,k=a.customHelpPanelContainer;h&&g!==1?h=void 0:g!==1||h&&!N(f,5)||(g=0,h=void 0);k&&g!==2?g=2:g!==2||k&&!a.anchor||(g=0,k=void 0);var l=a.minimizeMode;g!==2||l&&l!==0?g===1&&(l=2):l=2;var n=a.openingMode;if(a.directToGetHelp)n=2;else if(a.supportContentUrl||a.defaultHelpArticleId)n=3;var p=c.document,r=a.nonce,q=L(f,Oe,10)?Re(L(f,Oe,10))|| S(pg):S(qg),t=C("document.location.href",c);a.helpCenterContext||a.context||!t||(a.context=t.substring(0,1200));t=!0;if(d){var A=JSON.stringify(d);(t=A.length<=1200)&&(a.psdJson=A)}t||(d={invalidPsd:!0});var O=a.helpPanelTheme;a.helpPanelTheme===2&&(O=c.matchMedia&&c.matchMedia("(prefers-color-scheme: dark)").matches?1:0);t=rd(p).createElement("SCRIPT");r&&t.setAttribute("nonce",r);t.onload=function(){c.startHelpPanel({helpcenter:e,apiKey:"testpage",channel:a.channel,context:a.context||a.helpCenterContext|| c.location.href,defaultHelpArticleFragment:a.defaultHelpArticleFragment,defaultHelpArticleId:a.defaultHelpArticleId,defaultHelpArticleHelpcenterPath:a.defaultHelpArticleHelpcenterPath,directToGetHelp:a.directToGetHelp||!1,openToHelpGuideEntryButtonId:a.openToHelpGuideEntryButtonId,enableHelpGuideMaximize:a.enableHelpGuideMaximize,enableHelpGuideConversationalAi:a.enableHelpGuideConversationalAi,enableHelpGuideHumanChat:a.enableHelpGuideHumanChat,internalHelpCenter:Uc(f,12),enableSendFeedback:a.enableSendFeedback|| !1,helpPanelTheme:O,locale:a.locale,nd4cSettingsIsEnabled:a.nd4cSettingsIsEnabled||!1,nd4cSettingsCountryCode:a.nd4cSettingsCountryCode||"",serverData:b,supportContentUrl:a.supportContentUrl,symptom:a.symptom,helpApiData:{helpApiConfig:a,frdProductData:a.frdProductData,productData:d,productWindow:c},helpPanelMode:g,onPromotedProductLinkClickCallback:a.onPromotedProductLinkClickCallback,fixedHelpPanelContainer:h,customHelpPanelContainer:k,openingMode:n,onMinimizeCallback:a.onMinimizeCallback,onGseEventCallback:a.onGseEventCallback, minimizeMode:l||0,helpFlowSessionId:a.helpFlowSessionId||a.supportVisitId,helpGuideHelpCenterEmbedEntryPoint:a.helpGuideHelpCenterEmbedEntryPoint,helpGuideCommonEmbedEntryPoint:a.helpGuideCommonEmbedEntryPoint,helpGuideStartingFlow:a.helpGuideStartingFlow,gseSessionOptions:a.gseSessionOptions,helpPanelStartTimeMs:a.helpPanelStartTimeMs,disableEndUserCredentials:a.disableEndUserCredentials,gsePageUrl:a.gsePageUrl,mendelIds:a.mendelIds,productDeepLinkRegex:a.productDeepLinkRegex,onProductDeepLinkClickCallback:a.onProductDeepLinkClickCallback, supportJourneyId:a.supportJourneyId})};nd(t,q);p.body.appendChild(t)};for(var tg={en:["en-us"],ar:["ar-eg"],zh:["zh-cn","zh-hans","zh-hans-cn"],"zh-tw":["zh-hant","zh-hant-tw"],nl:["nl-nl"],"en-gb":[],fr:["fr-fr"],de:["de-de"],it:["it-it"],ja:["ja-jp"],ko:["ko-kr"],pl:["pl-pl"],pt:["pt-br"],ru:["ru-ru"],es:["es-es"],th:["th-th"],tr:["tr-tr"],"es-419":[],bg:["bg-bg"],ca:["ca-es"],hr:["hr-hr"],cs:["cs-cz"],da:["da-dk"],fil:["fil-ph","tl","tl-ph"],fi:["fi-fi"],el:["el-gr"],iw:["he","he-il","iw-il"],hi:["hi-in"],hu:["hu-hu"],id:["id-id","in","in-id"],lv:["lv-lv"],lt:["lt-lt"], no:["no-no","nb","nb-no"],"pt-pt":[],ro:["ro-ro","mo"],sr:["sr-rs","sr-cyrl-rs"],sk:["sk-sk"],sl:["sl-sl"],sv:["sv-se"],uk:["uk-ua"],vi:["vi-vn"],fa:["fa-ir"],af:["af-za"],bn:["bn-in"],et:["et-ee"],is:["is-is"],ms:["ms-my"],mr:["mr-in"],sw:["sw-tz"],ta:["ta-in"],sq:["sq-al"],hy:["hy-am"],az:["az-az"],my:["my-mm"],ka:["ka-ge"],kk:["kk-kz"],km:["km-kh"],lo:["lo-la"],mk:["mk-mk"],mn:["mn-mn"],ne:["ne-np"],si:["si-lk"],am:["am-et"],gu:["gu-in"],kn:["kn-in"],ml:["ml-in"],te:["te-in"],ur:["ur-pk"],ky:["ky-kg"], pa:["pa-in"],uz:["uz-uz"],"sr-latn":["sh"],"fr-ca":["fr-ca"]},ug={},vg=x(Object.keys(tg)),wg=vg.next();!wg.done;wg=vg.next()){var xg=wg.value;ug[xg]=xg;for(var yg=x(tg[xg]),zg=yg.next();!zg.done;zg=yg.next())ug[zg.value]=xg};var Ag=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ag,Q);Ag.prototype.getTimezoneOffset=function(){return L(this,W,3)};Ag.prototype.setTimezoneOffset=function(a){return M(this,W,3,a)};var Bg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Bg,Q);Bg.prototype.setPlatform=function(a){return K(this,1,a==null?a:ic(a),0)};Bg.prototype.setSupportedCapabilityList=function(a){return Sc(this,3,a,ic)};Bg.prototype.setLibraryVersionInt=function(a){return K(this,4,a==null?a:kc(a),0)};var Cg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Cg,Q);Cg.prototype.setDeviceInfo=function(a){return M(this,Ag,1,a)};Cg.prototype.setLibraryInfo=function(a){return M(this,Bg,2,a)};var Dg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Dg,Q);Dg.prototype.getAllowedCompletionStyleList=function(){return Wc(this)};var Eg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Eg,Q);var Fg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Fg,Q);Fg.prototype.getPromptDelay=function(){return L(this,Eg,1)};Fg.prototype.getAllowedPromptStyleList=function(){return Wc(this)};var Gg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Gg,Q);Gg.prototype.getLanguage=function(){return Uc(this,8)};Gg.prototype.getCompletion=function(){return L(this,Dg,2)};Gg.prototype.getDisplaySettings=function(){return L(this,Fg,3)};var Hg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Hg,Q);Hg.prototype.setIsScheduledSurvey=function(a){return P(this,1,a)};var Ig=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ig,Q);var Jg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Jg,Q);var Kg=function(a){return N(a,1)},Lg=function(a){var b=new Jg;return P(b,1,a)};var Mg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Mg,Q);m=Mg.prototype;m.setTriggerId=function(a){return K(this,1,uc(a),"")};m.setLanguageList=function(a){return Sc(this,2,a,tc)};m.getLanguage=function(){return Vc(this,2)};m.setTestingMode=function(a){return P(this,3,a)};m.getSurveyId=function(){return Uc(this,4)};m.setSurveyId=function(a){Oc(this,4,uc(a))};var Ng=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ng,Q);var Og=function(a,b){return K(a,1,uc(b),"")};Ng.prototype.setApiKey=function(a){return K(this,2,uc(a),"")};Ng.prototype.setPlatform=function(a){return K(this,3,a==null?a:ic(a),0)};var Pg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Pg,Q);var Qg=function(a,b){return M(a,Jg,1,b)};var Rg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Rg,Q);Rg.prototype.setTriggerContext=function(a){return M(this,Mg,1,a)};Rg.prototype.setClientContext=function(a){return M(this,Cg,2,a)};Rg.prototype.setScheduledSurveyContext=function(a){M(this,Hg,3,a)};var Sg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Sg,Q);m=Sg.prototype;m.getSession=function(){return L(this,Ig,1)};m.getSurveyPayload=function(){return L(this,Gg,2)};m.getError=function(a){return Vc(this,4,a)};m.getSurveyId=function(){return Uc(this,5)};m.setSurveyId=function(a){K(this,5,uc(a),"")};var Tg=function(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a.indexOf("blob:")===0&&(a=a.substring(5));a=a.split("#")[0].split("?")[0];a=a.toLowerCase();a.indexOf("//")==0&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");c!=-1&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("URI is missing protocol: "+a);if(c!=="http"&&c!=="https"&&c!=="chrome-extension"&& c!=="moz-extension"&&c!=="file"&&c!=="android-app"&&c!=="chrome-search"&&c!=="chrome-untrusted"&&c!=="chrome"&&c!=="app"&&c!=="devtools")throw Error("Invalid URI scheme in origin: "+c);a="";var d=b.indexOf(":");if(d!=-1){var e=b.substring(d+1);b=b.substring(0,d);if(c==="http"&&e!=="80"||c==="https"&&e!=="443")a=":"+e}return c+"://"+b+a};function Ug(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=l=0}function b(p){for(var r=g,q=0;q<64;q+=4)r[q/4]=p[q]<<24|p[q+1]<<16|p[q+2]<<8|p[q+3];for(q=16;q<80;q++)p=r[q-3]^r[q-8]^r[q-14]^r[q-16],r[q]=(p<<1|p>>>31)&4294967295;p=e[0];var t=e[1],A=e[2],O=e[3],pb=e[4];for(q=0;q<80;q++){if(q<40)if(q<20){var ma=O^t&(A^O);var Ga=1518500249}else ma=t^A^O,Ga=1859775393;else q<60?(ma=t&A|O&(t|A),Ga=2400959708):(ma=t^A^O,Ga=3395469782);ma=((p<<5|p>>>27)&4294967295)+ ma+pb+Ga+r[q]&4294967295;pb=O;O=A;A=(t<<30|t>>>2)&4294967295;t=p;p=ma}e[0]=e[0]+p&4294967295;e[1]=e[1]+t&4294967295;e[2]=e[2]+A&4294967295;e[3]=e[3]+O&4294967295;e[4]=e[4]+pb&4294967295}function c(p,r){if(typeof p==="string"){p=unescape(encodeURIComponent(p));for(var q=[],t=0,A=p.length;t=56;q--)f[q]=r&255,r>>>=8;b(f);for(q=r=0;q<5;q++)for(var t=24;t>=0;t-=8)p[r++]=e[q]>>t&255;return p}for(var e=[],f=[],g=[],h=[128],k=1;k<64;++k)h[k]=0;var l,n;a();return{reset:a,update:c,digest:d,digestString:function(){for(var p=d(),r="",q=0;q=0;b--)this.remove(a[b])};var Zg=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f=a.length)return Bh;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");};function Dh(a){this.elements_={};if(a)for(var b=0;b1||f.length==1&&f[0]!="")&&f.pop(),d&&g==e.length&&f.push("")):(f.push(h),d=!0)}d=f.join("/")}else d=e}c?(Y(b),b.path_=d):c=a.queryData_.toString()!=="";c?Oh(b,a.queryData_.clone()):c=!!a.fragment_;c&&(a=a.fragment_,Y(b),b.fragment_=a);return b};Lh.prototype.clone=function(){return new Lh(this)}; var Mh=function(a,b,c){Y(a);a.scheme_=c?Ph(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a},Nh=function(a,b){Y(a);if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("Bad port number "+b);a.port_=b}else a.port_=null},Oh=function(a,b,c){Y(a);b instanceof Qh?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=Rh(b,Xh)),a.queryData_=new Qh(b,a.ignoreCase_))};Lh.prototype.getQuery=function(){return this.queryData_.toString()}; Lh.prototype.removeParameter=function(a){Y(this);this.queryData_.remove(a);return this};var Y=function(a){if(a.isReadOnly_)throw Error("Tried to modify a read-only Uri");};Lh.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)}; var Ph=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Rh=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,Yh),c&&(a=Th(a)),a):null},Yh=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Th=function(a){return a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")},Sh=/[#\/\?@]/g,Vh=/[#\?:]/g,Uh=/[#\?]/g,Xh=/[#\?@]/g,Wh=/#/g,Qh=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.ignoreCase_=!!b},Zh= function(a){a.keyMap_||(a.keyMap_=new Map,a.count_=0,a.encodedQuery_&&eg(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};m=Qh.prototype;m.add=function(a,b){Zh(this);this.encodedQuery_=null;a=$h(this,a);var c=this.keyMap_.get(a);c||this.keyMap_.set(a,c=[]);c.push(b);this.count_+=1;return this};m.remove=function(a){Zh(this);a=$h(this,a);return this.keyMap_.has(a)?(this.encodedQuery_=null,this.count_-=this.keyMap_.get(a).length,this.keyMap_.delete(a)):!1}; m.clear=function(){this.keyMap_=this.encodedQuery_=null;this.count_=0};m.isEmpty=function(){Zh(this);return this.count_==0};m.containsKey=function(a){Zh(this);a=$h(this,a);return this.keyMap_.has(a)};m.forEach=function(a,b){Zh(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)}; m.getKeys=function(){Zh(this);for(var a=Array.from(this.keyMap_.values()),b=Array.from(this.keyMap_.keys()),c=[],d=0;d0?String(a[0]):b}; m.toString=function(){if(this.encodedQuery_)return this.encodedQuery_;if(!this.keyMap_)return"";for(var a=[],b=Array.from(this.keyMap_.keys()),c=0;c0&&(this.encodedQuery_=null,this.keyMap_.set($h(this,d),db(b)),this.count_+=b.length))},this));this.ignoreCase_=a};Qh.prototype.extend=function(a){for(var b=0;b0?b.preferredSurveyLanguageList:[a.locale_]; h=(new Mg).setTriggerId(b.triggerId).setLanguageList(h).setTestingMode(!!b.enableTestingMode);b.surveyIdForTestingMode!=""&&b.surveyIdForTestingMode!=void 0&&b.enableTestingMode==1&&h.setSurveyId(b.surveyIdForTestingMode);f=(new Rg).setTriggerContext(h).setClientContext((new Cg).setDeviceInfo(f).setLibraryInfo(g));c!=""&&c!=void 0&&c==1&&f.setScheduledSurveyContext((new Hg).setIsScheduledSurvey(c));d=ue(d,"POST",e,f,Sg)}else d=Ui(a,b,c);return d},function(){return Ui(a,b,c)})},Ti=function(a,b){var c= [],d=Tg(String(B.location.href));var e=[];var f;(f=B.__SAPISID||B.__APISID||B.__3PSAPISID||B.__1PSAPISID||B.__OVERRIDE_SID)?f=!0:(typeof document!=="undefined"&&(f=new Yg,f=f.get("SAPISID")||f.get("APISID")||f.get("__Secure-3PAPISID")||f.get("__Secure-1PAPISID")),f=!!f);f&&(f=(d=d.indexOf("https:")==0||d.indexOf("chrome-extension:")==0||d.indexOf("chrome-untrusted://new-tab-page")==0||d.indexOf("moz-extension:")==0)?B.__SAPISID:B.__APISID,f||typeof document==="undefined"||(f=new Yg,f=f.get(d?"SAPISID": "APISID")||f.get("__Secure-3PAPISID")),(f=f?Wg(f,d?"SAPISIDHASH":"APISIDHASH",c):null)&&e.push(f),d&&((d=$g("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",c))&&e.push(d),(c=$g("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",c))&&e.push(c)));e=e.length==0?null:e.join(" ");b.thirdPartyDomainSupportEnabled!=void 0&&b.thirdPartyDomainSupportEnabled&&(a.thirdPartyDomainSupportEnabled_=!0,e=!1);return e?"v1/survey/trigger":"v1/survey/trigger/trigger_anonymous"},Ui=function(a,b,c){var d=new te({serverUrl:b.nonProd? "https://test-scone-pa-googleapis.sandbox.google.com":"https://scone-pa.clients6.google.com",apiKey:a.apiKey_,authUser:b.authuser}),e=Ti(a,b),f=ze();f=(new Ae).setTimezoneOffset(f);var g=(new Be).setPlatform(1).setLibraryVersionInt(438217234).setSupportedCapabilityList([1,2]);a=b.preferredSurveyLanguageList&&b.preferredSurveyLanguageList.length>0?b.preferredSurveyLanguageList:[a.locale_];a=(new Ke).setTriggerId(b.triggerId).setLanguageList(a).setTestingMode(!!b.enableTestingMode);b.surveyIdForTestingMode!= ""&&b.surveyIdForTestingMode!=void 0&&b.enableTestingMode==1&&a.setSurveyId(b.surveyIdForTestingMode);b=(new Le).setTriggerContext(a).setClientContext((new Ce).setDeviceInfo(f).setLibraryInfo(g));c!=""&&c!=void 0&&c==1&&b.setScheduledSurveyContext((new He).setIsScheduledSurvey(c));return ue(d,"POST",e,b,Me)},oi=function(a){return typeof a=="string"&&!!a.match(/^[A-Za-z0-9]+$/)},qi=function(a){try{var b=parseInt,c=a.getDisplaySettings().getPromptDelay();var d=L(c,W,1);var e=b(ah(d.getSeconds()),10); isNaN(e)&&(e=0)}catch(k){e=0}try{b=parseInt;var f=a.getDisplaySettings().getPromptDelay();var g=L(f,W,2);var h=b(ah(g.getSeconds()),10);isNaN(h)&&(h=0)}catch(k){h=0}return Math.floor(Math.random()*(h-e+1))+e},ti=function(a,b,c){var d=c.nonProd?"nonprod":"prod",e=c.language&&ug[c.language.toLowerCase()]?ug[c.language.toLowerCase()]:ug[a.locale_.toLowerCase()];e=e&&e.replace("-","_");e==="fa"&&(e="en");var f=e?encodeURI(e):"en";b.enableReloadScriptWhenLanguageChanges&&!Vi("https://www.gstatic.com/uservoice/surveys/resources/"+ d+"/js/survey/survey_binary__"+f+".js")&&Wi();window.hatsNextGlobalObject?Xi(b,c):(e=document.createElement("script"),d=S(gi,d,f),nd(e,d),e.type="text/javascript",e.onload=function(){return Xi(b,c)},e.onerror=function(){b.listener&&b.listener.surveyPrompted&&b.listener.surveyPrompted(c,{reason:"Failed to load survey binary"})},e.setAttribute("data-survey-binary",""),a.nonce_&&e.setAttribute("nonce",a.nonce_),document.querySelector("[data-survey-binary]")||document.body.appendChild(e))},Xi=function(a, b){a:{var c="triggerCutoffTime";a.parentDomElementId!=null&&a.parentDomElementId!=""&&(c+="_"+a.parentDomElementId);if(window.hatsNextGlobalObject&&window.hatsNextGlobalObject[c]){if(window.hatsNextGlobalObject[c]>b.triggerRequestTime){a.listener&&a.listener.surveyPrompted&&a.listener.surveyPrompted(b,{reason:"Survey was triggered before the most recent survey event. Please re-trigger the survey."});c=!1;break a}}else if(ii>b.triggerRequestTime){a.listener&&a.listener.surveyPrompted&&a.listener.surveyPrompted(b, {reason:"Survey must be triggered after initializing the help API."});c=!1;break a}c=Date.now()-b.triggerRequestTime;c>864E5?(a.listener&&a.listener.surveyPrompted&&a.listener.surveyPrompted(b,{reason:"Survey must be triggered within the last 24 hours. Survey was triggered "+(c+" ms ago.")}),c=!1):c=!0}if(c){var d,e,f;window.hatsNextGlobalObject.initSurvey({surveyTriggerResponse:b.surveyData,nonprod:b.nonProd,darkMode:a.colorScheme==2,seamlessMode:a.seamlessMode,zIndex:a.customZIndex,triggerRequestTime:b.triggerRequestTime, authuser:a.authuser,apiKey:b.apiKey,locale:b.language,customLogoAltText:a.customLogoAltText,customLogoUrl:a.customLogoUrl,productData:a.productData,listener:a.listener,surveyData:b,surveyMetadata:b.surveyMetadata,promptStyle:(d=a.promptStyle)!=null?d:1,completionStyle:(e=a.completionStyle)!=null?e:1,defaultStyle:(f=a.defaultStyle)!=null?f:0,parentDomElementId:a.parentDomElementId,persistCompletionCard:a.persistCompletionCard,hidePrivacyBanner:a.hidePrivacyBanner,hideInlineSurveyBorder:a.hideInlineSurveyBorder, hideInlineSurveyBackground:a.hideInlineSurveyBackground,feedback1pEnabled:b.feedback1pEnabled,thirdPartyDomainSupportEnabled:b.thirdPartyDomainSupportEnabled})}},Ri=function(){var a=C("help.globals.actions",top);a||(a=new Ne,Da("help.globals.actions",a,top));return a},Vi=function(a){return[].concat(la(document.getElementsByTagName("script"))).find(function(b){return b&&b.getAttribute("src")===a})},Wi=function(){[].concat(la(document.getElementsByTagName("script"))).forEach(function(a){var b;if(a== null?0:(b=a.getAttribute("src"))==null?0:b.match(ki))a.parentNode.removeChild(a),window.hatsNextGlobalObject=null})},si=function(){document.querySelectorAll("link[rel=stylesheet]").forEach(function(a){var b;(a==null?0:(b=a.getAttribute("href"))==null?0:b.match(ji))&&a.parentNode.removeChild(a)})},li=function(a){if(!a)return"";try{return ib(JSON.stringify(Dc(a)))}catch(b){return console.log("Failed to serialize and encode proto: ",b),""}},ri=function(a){return[].concat(la(document.querySelectorAll("link[rel=stylesheet]"))).find(function(b){return b&& b.getAttribute("href")===a})};Z.prototype.isHelpActionApplicable=Z.prototype.isHelpActionApplicable;Z.prototype.executeHelpAction=Z.prototype.executeHelpAction;Z.prototype.registerHelpAction=Z.prototype.registerHelpAction;Z.prototype.scheduleSurvey=Z.prototype.scheduleSurvey;Z.prototype.dismissSurvey=Z.prototype.dismissSurvey;Z.prototype.presentSurvey=Z.prototype.presentSurvey;Z.prototype.requestSurvey=Z.prototype.requestSurvey;Z.prototype.loadChatSupport=Z.prototype.loadChatSupport; Z.prototype.startHelpCard=Z.prototype.startHelpCard;Z.prototype.startHelp=Z.prototype.startHelp;Z.prototype.updateContext=Z.prototype.updateContext;Z.prototype.updateProductData=Z.prototype.updateProductData;Z.prototype.startFeedback=Z.prototype.startFeedback;Da("help.service.Lazy",Z);Da("help.service.Lazy.create",function(a,b){return new Z(a,b)});}).call(this);