(function(){window['denylistedDomainsHashedValueListForGpayButtonWithCardInfo'] = [-718583466,-651407173,1501053020,1270931793];}).call(this);(function(){window['whitelistedDomainsHashedValueListForGpayButtonWithCardInfo'] = [1432838318];}).call(this);(function(){window['denylistedMerchentIdsHashedValueListForGpayButtonWithCardInfo'] = [1260893,211376492];}).call(this);(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var a=this||self;var b=["google","payments","api","ReadyToPayAdditionalBrowsers"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;}).call(this);
(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var a=this||self;var b=["google","payments","api","PaymentHandlerLaunchPayjs"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;}).call(this);
(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var a=this||self;var b=["google","payments","api","PaymentHandlerDynamicUpdatesLaunchPayjs"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;}).call(this);
(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var a=this||self;var b=["google","payments","api","EnableDynamicGpayButton"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;}).call(this);
(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var a=this||self;var b=["google","payments","api","EnableDynamicUpdateForClank"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;}).call(this);
(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var a=this||self;var b=["google","payments","api","DisableNativeReadyToPayCheckForPaymentHandler"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;}).call(this);
(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var a=this||self;var b=["google","payments","api","DisablePaymentRequest"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;}).call(this);
(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var a=this||self;var b=["google","payments","api","EnableGpayButtonAriaLabelLocalization"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;}).call(this);
(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var a=this||self;var b=["google","payments","api","EnablePaymentRequest"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;}).call(this);
(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var a=this||self;var b=["google","payments","api","EnableLoadPaymentDataTimeout"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;}).call(this);
(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var a=this||self;var b=["google","payments","api","EnableOfferCallback"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;}).call(this);
(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var a=this||self;var b=["google","payments","api","EnablePaymentMethodCallback"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;}).call(this);
(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var a=this||self;var b=["google","payments","api","UseCanMakePaymentResultFromPayjs"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;}).call(this);
(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var a=this||self;var b=["google","payments","api","UseCanMakePaymentForFallbackOnMobile"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;}).call(this);
(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var a=this||self;var b=["google","payments","api","EnableClosePopupOnHostingPageUnload"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;}).call(this);
(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var a=this||self;var b=["google","payments","api","EnablePaymentHandlerSandboxBuyflow"],c=window||a;b[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+b[0]);for(var d;b.length&&(d=b.shift());)b.length?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=!0;}).call(this);
(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var m,n,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},ca=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");
},p=ca(this),da="function"===typeof Symbol&&"symbol"===typeof Symbol("x"),r={},ea={},t=function(a,b,c){if(!c||null!=a){c=ea[b];if(null==c)return a[b];c=a[c];return void 0!==c?c:a[b]}},u=function(a,b,c){if(b)a:{var d=a.split(".");a=1===d.length;var e=d[0];e=!a&&e in r?r:p;for(var g=0;g<d.length-1;g++){var f=d[g];if(!(f in e))break a;e=e[f]}d=d[d.length-1];c=da&&"es6"===c?e[d]:null;b=b(c);null!=b&&(a?ba(r,d,{configurable:!0,writable:!0,value:b}):b!==c&&(void 0===ea[d]&&(a=1E9*Math.random()>>>0,ea[d]=
da?p.Symbol(d):"$jscp$"+a+"$"+d),ba(e,ea[d],{configurable:!0,writable:!0,value:b})))}};u("Symbol",function(a){if(a)return a;var b=function(g,f){this.bc=g;ba(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.bc};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(g){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(g||"")+"_"+d++,g)};return e},"es6");
u("Symbol.iterator",function(a){if(a)return a;a=(0,r.Symbol)("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=p[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return fa(aa(this))}})}return a},"es6");
var fa=function(a){a={next:a};a[t(r.Symbol,"iterator")]=function(){return this};return a},ha=function(a){var b="undefined"!=typeof r.Symbol&&t(r.Symbol,"iterator")&&a[t(r.Symbol,"iterator")];if(b)return b.call(a);if("number"==typeof a.length)return{next:aa(a)};throw Error(String(a)+" is not an iterable or ArrayLike");},ia=function(a){if(!(a instanceof Array)){a=ha(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a};
u("Promise",function(a){function b(){this.T=null}function c(f){return f instanceof e?f:new e(function(h){h(f)})}if(a)return a;b.prototype.Db=function(f){if(null==this.T){this.T=[];var h=this;this.Eb(function(){h.mc()})}this.T.push(f)};var d=p.setTimeout;b.prototype.Eb=function(f){d(f,0)};b.prototype.mc=function(){for(;this.T&&this.T.length;){var f=this.T;this.T=[];for(var h=0;h<f.length;++h){var k=f[h];f[h]=null;try{k()}catch(l){this.jc(l)}}}this.T=null};b.prototype.jc=function(f){this.Eb(function(){throw f;
})};var e=function(f){this.qa=0;this.X=void 0;this.pa=[];this.Pb=!1;var h=this.gb();try{f(h.resolve,h.reject)}catch(k){h.reject(k)}};e.prototype.gb=function(){function f(l){return function(q){k||(k=!0,l.call(h,q))}}var h=this,k=!1;return{resolve:f(this.Bc),reject:f(this.tb)}};e.prototype.Bc=function(f){if(f===this)this.tb(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof e)this.Ec(f);else{a:switch(typeof f){case "object":var h=null!=f;break a;case "function":h=!0;break a;default:h=
!1}h?this.Ac(f):this.Mb(f)}};e.prototype.Ac=function(f){var h=void 0;try{h=f.then}catch(k){this.tb(k);return}"function"==typeof h?this.Fc(h,f):this.Mb(f)};e.prototype.tb=function(f){this.ac(2,f)};e.prototype.Mb=function(f){this.ac(1,f)};e.prototype.ac=function(f,h){if(0!=this.qa)throw Error("Cannot settle("+f+", "+h+"): Promise already settled in state"+this.qa);this.qa=f;this.X=h;2===this.qa&&this.Cc();this.nc()};e.prototype.Cc=function(){var f=this;d(function(){if(f.tc()){var h=p.console;"undefined"!==
typeof h&&h.error(f.X)}},1)};e.prototype.tc=function(){if(this.Pb)return!1;var f=p.CustomEvent,h=p.Event,k=p.dispatchEvent;if("undefined"===typeof k)return!0;"function"===typeof f?f=new f("unhandledrejection",{cancelable:!0}):"function"===typeof h?f=new h("unhandledrejection",{cancelable:!0}):(f=p.document.createEvent("CustomEvent"),f.initCustomEvent("unhandledrejection",!1,!0,f));f.promise=this;f.reason=this.X;return k(f)};e.prototype.nc=function(){if(null!=this.pa){for(var f=0;f<this.pa.length;++f)g.Db(this.pa[f]);
this.pa=null}};var g=new b;e.prototype.Ec=function(f){var h=this.gb();f.Oa(h.resolve,h.reject)};e.prototype.Fc=function(f,h){var k=this.gb();try{f.call(h,k.resolve,k.reject)}catch(l){k.reject(l)}};e.prototype.then=function(f,h){function k(z,G){return"function"==typeof z?function(na){try{l(z(na))}catch(U){q(U)}}:G}var l,q,x=new e(function(z,G){l=z;q=G});this.Oa(k(f,l),k(h,q));return x};e.prototype.catch=function(f){return this.then(void 0,f)};e.prototype.Oa=function(f,h){function k(){switch(l.qa){case 1:f(l.X);
break;case 2:h(l.X);break;default:throw Error("Unexpected state: "+l.qa);}}var l=this;null==this.pa?g.Db(k):this.pa.push(k);this.Pb=!0};e.resolve=c;e.reject=function(f){return new e(function(h,k){k(f)})};e.race=function(f){return new e(function(h,k){for(var l=ha(f),q=l.next();!q.done;q=l.next())c(q.value).Oa(h,k)})};e.all=function(f){var h=ha(f),k=h.next();return k.done?c([]):new e(function(l,q){function x(na){return function(U){z[na]=U;G--;0==G&&l(z)}}var z=[],G=0;do z.push(void 0),G++,c(k.value).Oa(x(z.length-
1),q),k=h.next();while(!k.done)})};return e},"es6");var v=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
u("WeakMap",function(a){function b(){}function c(f){var h=typeof f;return"object"===h&&null!==f||"function"===h}if(function(){if(!a||!Object.seal)return!1;try{var f=Object.seal({}),h=Object.seal({}),k=new a([[f,2],[h,3]]);if(2!=k.get(f)||3!=k.get(h))return!1;k.delete(f);k.set(h,4);return!k.has(f)&&4==k.get(h)}catch(l){return!1}}())return a;var d="$jscomp_hidden_"+Math.random(),e=0,g=function(f){this.xa=(e+=Math.random()+1).toString();if(f){f=ha(f);for(var h;!(h=f.next()).done;)h=h.value,this.set(h[0],
h[1])}};g.prototype.set=function(f,h){if(!c(f))throw Error("Invalid WeakMap key");if(!v(f,d)){var k=new b;ba(f,d,{value:k})}if(!v(f,d))throw Error("WeakMap key fail: "+f);f[d][this.xa]=h;return this};g.prototype.get=function(f){return c(f)&&v(f,d)?f[d][this.xa]:void 0};g.prototype.has=function(f){return c(f)&&v(f,d)&&v(f[d],this.xa)};g.prototype.delete=function(f){return c(f)&&v(f,d)&&v(f[d],this.xa)?delete f[d][this.xa]:!1};return g},"es6");
u("Map",function(a){if(function(){if(!a||"function"!=typeof a||!t(a.prototype,"entries")||"function"!=typeof Object.seal)return!1;try{var h=Object.seal({x:4}),k=new a(ha([[h,"s"]]));if("s"!=k.get(h)||1!=k.size||k.get({x:4})||k.set({x:4},"t")!=k||2!=k.size)return!1;var l=t(k,"entries").call(k),q=l.next();if(q.done||q.value[0]!=h||"s"!=q.value[1])return!1;q=l.next();return q.done||4!=q.value[0].x||"t"!=q.value[1]||!l.next().done?!1:!0}catch(x){return!1}}())return a;var b=new r.WeakMap,c=function(h){this.fa=
{};this.P=g();this.size=0;if(h){h=ha(h);for(var k;!(k=h.next()).done;)k=k.value,this.set(k[0],k[1])}};c.prototype.set=function(h,k){h=0===h?0:h;var l=d(this,h);l.list||(l.list=this.fa[l.id]=[]);l.u?l.u.value=k:(l.u={next:this.P,S:this.P.S,head:this.P,key:h,value:k},l.list.push(l.u),this.P.S.next=l.u,this.P.S=l.u,this.size++);return this};c.prototype.delete=function(h){h=d(this,h);return h.u&&h.list?(h.list.splice(h.index,1),h.list.length||delete this.fa[h.id],h.u.S.next=h.u.next,h.u.next.S=h.u.S,
h.u.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.fa={};this.P=this.P.S=g();this.size=0};c.prototype.has=function(h){return!!d(this,h).u};c.prototype.get=function(h){return(h=d(this,h).u)&&h.value};c.prototype.entries=function(){return e(this,function(h){return[h.key,h.value]})};c.prototype.keys=function(){return e(this,function(h){return h.key})};c.prototype.values=function(){return e(this,function(h){return h.value})};c.prototype.forEach=function(h,k){for(var l=t(this,"entries").call(this),
q;!(q=l.next()).done;)q=q.value,h.call(k,q[1],q[0],this)};c.prototype[t(r.Symbol,"iterator")]=t(c.prototype,"entries");var d=function(h,k){var l=k&&typeof k;"object"==l||"function"==l?b.has(k)?l=b.get(k):(l=""+ ++f,b.set(k,l)):l="p_"+k;var q=h.fa[l];if(q&&v(h.fa,l))for(h=0;h<q.length;h++){var x=q[h];if(k!==k&&x.key!==x.key||k===x.key)return{id:l,list:q,index:h,u:x}}return{id:l,list:q,index:-1,u:void 0}},e=function(h,k){var l=h.P;return fa(function(){if(l){for(;l.head!=h.P;)l=l.S;for(;l.next!=l.head;)return l=
l.next,{done:!1,value:k(l)};l=null}return{done:!0,value:void 0}})},g=function(){var h={};return h.S=h.next=h.head=h},f=0;return c},"es6");var ja=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[t(r.Symbol,"iterator")]=function(){return e};return e};u("Array.prototype.entries",function(a){return a?a:function(){return ja(this,function(b,c){return[b,c]})}},"es6");
u("Array.prototype.keys",function(a){return a?a:function(){return ja(this,function(b){return b})}},"es6");var ka=da&&"function"==typeof t(Object,"assign")?t(Object,"assign"):function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)v(d,e)&&(a[e]=d[e])}return a};u("Object.assign",function(a){return a||ka},"es6");u("Array.prototype.values",function(a){return a?a:function(){return ja(this,function(b,c){return c})}},"es8");
u("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(h){return h};var e=[],g="undefined"!=typeof r.Symbol&&t(r.Symbol,"iterator")&&b[t(r.Symbol,"iterator")];if("function"==typeof g){b=g.call(b);for(var f=0;!(g=b.next()).done;)e.push(c.call(d,g.value,f++))}else for(g=b.length,f=0;f<g;f++)e.push(c.call(d,b[f],f));return e}},"es6");u("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)v(b,d)&&c.push(b[d]);return c}},"es8");
u("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}},"es6");u("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var g=d[c];if(g===b||t(Object,"is").call(Object,g,b))return!0}return!1}},"es7");
u("String.prototype.includes",function(a){return a?a:function(b,c){if(null==this)throw new TypeError("The 'this' value for String.prototype.includes must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype.includes must not be a regular expression");return-1!==(this+"").indexOf(b,c||0)}},"es6");
var w=this||self,la=function(a,b){a=a.split(".");var c=window||w;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b},y=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},ma=function(a){var b=y(a);return"array"==b||"object"==b&&"number"==typeof a.length},A=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},oa=function(a,
b,c){return a.call.apply(a.bind,arguments)},pa=function(a,b,c){if(!a)throw Error();if(2<arguments.length){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)}},qa=function(a,b,c){qa=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?oa:pa;return qa.apply(null,arguments)},ra=function(a,b){function c(){}c.prototype=
b.prototype;a.Ga=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.sd=function(d,e,g){for(var f=Array(arguments.length-2),h=2;h<arguments.length;h++)f[h-2]=arguments[h];return b.prototype[e].apply(d,f)}},sa=function(a){return a};function ta(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,ta);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b)}ra(ta,Error);ta.prototype.name="CustomError";function ua(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");ta.call(this,c+a[d])}ra(ua,ta);ua.prototype.name="AssertionError";function va(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var g=d}else a&&(e+=": "+a,g=b);throw new ua(""+e,g||[]);}
var B=function(a,b,c){a||va("",null,b,Array.prototype.slice.call(arguments,2));return a},wa=function(a,b){throw new ua("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},xa=function(a,b,c){"number"!==typeof a&&va("Expected number but got %s: %s.",[y(a),a],b,Array.prototype.slice.call(arguments,2));return a},ya=function(a,b,c){"string"!==typeof a&&va("Expected string but got %s: %s.",[y(a),a],b,Array.prototype.slice.call(arguments,2))},za=function(a,b,c){A(a)||va("Expected object but got %s: %s.",
[y(a),a],b,Array.prototype.slice.call(arguments,2))};var C=function(a,b){this.yb=a===Aa&&b||"";this.fc=Ba};C.prototype.za=!0;C.prototype.wa=function(){return this.yb};C.prototype.toString=function(){return"Const{"+this.yb+"}"};var D=function(a){if(a instanceof C&&a.constructor===C&&a.fc===Ba)return a.yb;wa("expected object of type Const, got '"+a+"'");return"type_error:Const"},E=function(a){return new C(Aa,a)},Ba={},Aa={};var Ca={cc:"PAYMENT_AUTHORIZATION",dc:"SHIPPING_ADDRESS",ec:"SHIPPING_OPTION",nd:"UNKNOWN_INTENT"},Da={Mc:"CANARY",Wc:"LOCAL",ed:"PREPROD",fd:"PRODUCTION",gd:"SANDBOX",kd:"TEST",ld:"TIN"},Ea={Nc:"CARD",md:"TOKENIZED_CARD",pd:"UPI"},Fa={Pc:"CRYPTOGRAM_3DS",bd:"PAN_ONLY"},Ga={Sc:"ESTIMATED",Uc:"FINAL",Yc:"NOT_CURRENTLY_KNOWN"},Ha={SHORT:"short",Xc:"long",dd:"plain",Lc:"buy",Rc:"donate",Kc:"book",Oc:"checkout",ad:"order",cd:"pay",jd:"subscribe"},Ia={Qc:"default",Jc:"black",qd:"white"},Ja={hd:"static",
Tc:"fill"},Ka={buy:{en:152,ar:189,bg:163,ca:182,cs:192,da:154,de:183,el:178,es:183,et:147,fi:148,fr:183,hr:157,id:186,it:182,ja:148,ko:137,ms:186,nl:167,no:158,pl:182,pt:193,ru:206,sk:157,sl:211,sr:146,sv:154,th:146,tr:161,uk:207,zh:156},book:{ar:205,bg:233,ca:187,cs:213,da:162,de:176,el:180,en:161,es:188,et:186,fi:152,fr:197,hr:198,id:195,it:178,ja:150,ko:150,ms:211,nl:178,no:195,pl:221,pt:208,ru:265,sk:206,sl:266,sr:196,sv:161,th:150,tr:238,uk:248,zh:158},checkout:{ar:245,bg:200,ca:268,cs:175,da:162,
de:188,el:286,en:201,es:188,et:171,fi:158,fr:170,hr:166,id:226,it:256,ja:150,ko:150,ms:291,nl:178,no:230,pl:187,pt:271,ru:283,sk:176,sl:313,sr:153,sv:172,th:168,tr:195,uk:216,zh:158},donate:{ar:205,bg:205,ca:162,cs:212,da:171,de:186,el:163,en:180,es:165,et:150,fi:171,fr:225,hr:182,id:237,it:157,ja:167,ko:150,ms:201,nl:187,no:171,pl:252,pt:175,ru:342,sk:178,sl:242,sr:171,sv:181,th:158,tr:181,uk:256,zh:158},order:{ar:198,bg:195,ca:247,cs:198,da:166,de:190,el:208,en:170,es:157,et:150,fi:150,fr:226,hr:201,
id:195,it:171,ja:150,ko:150,ms:195,nl:192,no:171,pl:190,pt:177,ru:207,sk:190,sl:240,sr:165,sv:176,th:151,tr:188,uk:216,zh:158},pay:{ar:202,bg:200,ca:160,cs:183,da:162,de:188,el:185,en:150,es:162,et:150,fi:158,fr:170,hr:172,id:192,it:155,ja:150,ko:150,ms:192,nl:178,no:162,pl:187,pt:182,ru:213,sk:176,sl:225,sr:153,sv:172,th:168,tr:150,uk:216,zh:158},subscribe:{ar:221,bg:217,ca:226,cs:201,da:192,de:208,el:180,en:202,es:206,et:150,fi:150,fr:206,hr:178,id:260,it:190,ja:150,ko:150,ms:216,nl:208,no:192,
pl:221,pt:196,ru:243,sk:193,sl:333,sr:217,sv:228,th:213,tr:173,uk:305,zh:158}},La={buy:{en:168,ar:204,bg:215,ca:200,cs:164,da:170,de:185,el:175,es:208,et:158,fi:156,fr:209,hr:176,id:191,it:201,ja:183,ko:145,ms:191,nl:185,no:175,pl:164,pt:221,ru:211,sk:173,sl:234,sr:161,sv:179,th:148,tr:171,uk:207,zh:174},book:{en:178,ar:201,bg:243,ca:201,cs:200,da:179,de:190,el:194,es:202,et:186,fi:162,fr:210,hr:211,id:236,it:194,ja:183,ko:145,ms:223,nl:193,no:186,pl:199,pt:221,ru:271,sk:218,sl:273,sr:209,sv:177,
th:162,tr:242,uk:263,zh:174},checkout:{en:213,ar:233,bg:212,ca:275,cs:172,da:178,de:202,el:289,es:274,et:155,fi:156,fr:191,hr:182,id:237,it:264,ja:183,ko:145,ms:264,nl:193,no:178,pl:201,pt:196,ru:226,sk:190,sl:317,sr:176,sv:193,th:183,tr:202,uk:227,zh:174},donate:{en:194,ar:200,bg:217,ca:262,cs:174,da:187,de:199,el:179,es:180,et:176,fi:179,fr:198,hr:189,id:247,it:270,ja:183,ko:145,ms:214,nl:201,no:187,pl:289,pt:190,ru:263,sk:193,sl:251,sr:187,sv:195,th:179,tr:190,uk:264,zh:174},order:{en:185,ar:208,
bg:227,ca:271,cs:186,da:182,de:203,el:219,es:251,et:151,fi:191,fr:236,hr:198,id:208,it:186,ja:183,ko:145,ms:208,nl:206,no:186,pl:170,pt:192,ru:220,sk:204,sl:249,sr:187,sv:199,th:166,tr:196,uk:227,zh:174},pay:{en:166,ar:198,bg:212,ca:176,cs:172,da:178,de:202,el:197,es:178,et:170,fi:168,fr:185,hr:187,id:206,it:171,ja:167,ko:145,ms:206,nl:193,no:178,pl:201,pt:196,ru:257,sk:190,sl:235,sr:170,sv:187,th:183,tr:147,uk:232,zh:174},subscribe:{en:215,ar:222,bg:229,ca:228,cs:189,da:206,de:219,el:194,es:218,
et:151,fi:154,fr:218,hr:193,id:268,it:204,ja:215,ko:145,ms:228,nl:220,no:206,pl:216,pt:209,ru:252,sk:206,sl:334,sr:206,sv:238,th:223,tr:183,uk:308,zh:174}},F={buy:{ar:"\u0627\u0644\u0634\u0631\u0627\u0621 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u041a\u0443\u043f\u0443\u0432\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Compra amb GPay",cs:"Koupit s GPay",da:"K\u00f8b med GPay",de:"Mit GPay kaufen",el:"\u0391\u03b3\u03bf\u03c1\u03ac \u03bc\u03b5 GPay",en:"Buy with GPay",
es:"Comprar con GPay",et:"Osta GPayga",fi:"Osta GPaylla",fr:"Acheter avec GPay",hr:"Kupnja uz GPay",id:"Beli dengan GPay",it:"Acquista con GPay",ja:"GPay \u3067\u8cfc\u5165\u3059\u308b",ko:"GPay\ub85c \uad6c\ub9e4",ms:"Beli dengan GPay",nl:"Kopen met GPay",no:"Kj\u00f8p med GPay",pl:"Kup to z GPay",pt:"Comprar com o GPay",ru:"\u041a\u0443\u043f\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",sk:"K\u00fapi\u0165 cez GPay",sl:"Nakup s storitvijo GPay",sr:"\u041a\u0443\u043f\u0438 \u0443\u0437 GPay",
sv:"K\u00f6pa med GPay",th:"\u0e0b\u0e37\u0e49\u0e2d\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile sat\u0131n al",uk:"\u041a\u0443\u043f\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u8d2d\u4e70"},book:{ar:"\u0627\u0644\u062d\u062c\u0632 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u0420\u0435\u0437\u0435\u0440\u0432\u0438\u0440\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Reserva amb GPay",cs:"Rezervovat s GPay",da:"Book med GPay",de:"Mit GPay buchen",
el:"\u039a\u03c1\u03ac\u03c4\u03b7\u03c3\u03b7 \u03bc\u03b5 GPay",en:"Book with GPay",es:"Reservar con GPay",et:"Broneeri GPayga",fi:"Varaa GPaylla",fr:"R\u00e9server avec GPay",hr:"Rezervacija uz GPay",id:"Reservasi dengan GPay",it:"Prenota con GPay",ja:"GPay \u3067\u4e88\u7d04\u3059\u308b",ko:"GPay\ub85c \uc608\uc57d",ms:"Tempah dengan GPay",nl:"Boeken met GPay",no:"Bestill med GPay",pl:"Zarezerwuj z GPay",pt:"Reservar com o GPay",ru:"\u0417\u0430\u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",
sk:"Rezervova\u0165 cez GPay",sl:"Rezervacija s storitvijo GPay",sr:"\u0420\u0435\u0437\u0435\u0440\u0432\u0438\u0448\u0438 \u0443\u0437 GPay",sv:"Boka med GPay",th:"\u0e08\u0e2d\u0e07\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile rezervasyon yap",uk:"\u0417\u0430\u0431\u0440\u043e\u043d\u044e\u0432\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u9884\u8ba2"},checkout:{ar:"\u0625\u062a\u0645\u0627\u0645 \u0627\u0644\u062f\u0641\u0639 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",
bg:"\u041f\u043b\u0430\u0449\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Tramita la compra amb GPay",cs:"Zaplatit s GPay",da:"Betal med GPay",de:"Mit GPay bezahlen",el:"\u039f\u03bb\u03bf\u03ba\u03bb\u03ae\u03c1\u03c9\u03c3\u03b7 \u03b1\u03b3\u03bf\u03c1\u03ac\u03c2 \u03bc\u03b5 GPay",en:"Checkout with GPay",es:"Confirmar compra con GPay",et:"Tasu GPayga",fi:"Osta GPaylla",fr:"R\u00e9gler avec GPay",hr:"Naplata uz GPay",id:"Checkout dengan GPay",it:"Vai al pagamento con GPay",ja:"GPay \u3067\u6c7a\u6e08\u3059\u308b",
ko:"GPay\ub85c \uacb0\uc81c",ms:"Semak keluar dengan GPay",nl:"Betalen met GPay",no:"Betal med GPay",pl:"Zap\u0142a\u0107 przez GPay",pt:"Pagar com o GPay",ru:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Zaplati\u0165 cez GPay",sl:"Zaklju\u010dek nakupa s storitvijo GPay",sr:"\u041f\u043b\u0430\u0442\u0438 \u0443\u0437 GPay",sv:"Handla med GPay",th:"\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile \u00f6deme yap",
uk:"\u041e\u043f\u043b\u0430\u0442\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u7ed3\u8d26"},donate:{ar:"\u0627\u0644\u062a\u0628\u0631\u0651\u0639 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u0414\u0430\u0440\u044f\u0432\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Fes una donaci\u00f3 amb GPay",cs:"Darovat s GPay",da:"Doner med GPay",de:"Mit GPay spenden",el:"\u0394\u03c9\u03c1\u03b5\u03ac \u03bc\u03b5 GPay",en:"Donate with GPay",es:"Donar con GPay",
et:"Anneta GPayga",fi:"Lahjoita GPaylla",fr:"Donner avec GPay",hr:"Donacija uz GPay",id:"Beri donasi dengan GPay",it:"Fai una donazione con  GPay",ja:"GPay \u3067\u5bc4\u4ed8\u3059\u308b",ko:"GPay\ub85c \uae30\ubd80",ms:"Derma dengan GPay",nl:"Doneren met GPay",no:"Don\u00e9r med GPay",pl:"Przeka\u017c darowizn\u0119 przez GPay",pt:"Doar com o GPay",ru:"\u041f\u043e\u0436\u0435\u0440\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Darova\u0165 cez GPay",sl:"Donacija s storitvijo GPay",
sr:"\u0414\u043e\u043d\u0438\u0440\u0430\u0458 \u0443\u0437 GPay",sv:"Donera med GPay",th:"\u0e1a\u0e23\u0e34\u0e08\u0e32\u0e04\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile ba\u011f\u0131\u015f yap",uk:"\u041f\u043e\u0436\u0435\u0440\u0442\u0432\u0443\u0432\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u6350\u6b3e"},order:{ar:"\u0627\u0644\u0637\u0644\u0628 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u041f\u043e\u0440\u044a\u0447\u0432\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",
ca:"Fes una comanda amb GPay",cs:"Objednat s GPay",da:"Bestil med GPay",de:"Mit GPay bestellen",el:"\u03a0\u03b1\u03c1\u03b1\u03b3\u03b3\u03b5\u03bb\u03af\u03b1 \u03bc\u03b5 GPay",en:"Order with GPay",es:"Realizar pedido con GPay",et:"Telli GPayga",fi:"Tee tilaus GPaylla",fr:"Commander avec GPay",hr:"Narud\u017eba uz GPay",id:"Pesan dengan GPay",it:"Ordina con GPay",ja:"GPay \u3067\u6ce8\u6587\u3059\u308b",ko:"GPay\ub85c \uc8fc\ubb38",ms:"Pesan dengan GPay",nl:"Bestellen met GPay",no:"Bestill med GPay",
pl:"Zam\u00f3w z GPay",pt:"Pedir com o GPay",ru:"\u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Objedna\u0165 cez GPay",sl:"Naro\u010dilo s storitvijo GPay",sr:"\u041f\u043e\u0440\u0443\u0447\u0438 \u0443\u0437 GPay        ",sv:"Best\u00e4lla med GPay",th:"\u0e2a\u0e31\u0e48\u0e07\u0e0b\u0e37\u0e49\u0e2d\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile sipari\u015f ver",uk:"\u0417\u0430\u043c\u043e\u0432\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u8ba2\u8d2d"},
pay:{ar:"\u0627\u0644\u062f\u0641\u0639 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u041f\u043b\u0430\u0449\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Paga amb GPay",cs:"Zaplatit s GPay",da:"Betal med GPay",de:"Mit GPay bezahlen",el:"\u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ae \u03bc\u03b5 GPay",en:"Pay with GPay",es:"Pagar con GPay",et:"Maksa GPayga",fi:"Maksa GPaylla",fr:"Payer avec GPay",hr:"Pla\u0107anje uz GPay",id:"Bayar dengan GPay",it:"Paga con GPay",ja:"GPay \u3067\u652f\u6255\u3046",
ko:"GPay\ub85c \uacb0\uc81c",ms:"Bayar dengan GPay",nl:"Betalen met GPay",no:"Betal med GPay",pl:"Zap\u0142a\u0107 przez GPay",pt:"Pagar com o GPay",ru:"\u0420\u0430\u0441\u043f\u043b\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Zaplati\u0165 cez GPay",sl:"Pla\u010dilo s storitvijo GPay",sr:"\u041f\u043b\u0430\u0442\u0438 \u0443\u0437  GPay",sv:"Betala med GPay",th:"\u0e0a\u0e33\u0e23\u0e30\u0e40\u0e07\u0e34\u0e19\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile \u00f6de",
uk:"\u0421\u043f\u043b\u0430\u0442\u0438\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u4ed8\u6b3e"},subscribe:{ar:"\u0627\u0644\u0627\u0634\u062a\u0631\u0627\u0643 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 GPay",bg:"\u0410\u0431\u043e\u043d\u0438\u0440\u0430\u043d\u0435 \u0447\u0440\u0435\u0437 GPay",ca:"Subscriu-te amb GPay",cs:"P\u0159edplatit s GPay",da:"Abonner med GPay",de:"Mit GPay abonnieren",el:"\u0395\u03b3\u03b3\u03c1\u03b1\u03c6\u03ae \u03bc\u03b5 GPay",
en:"Subscribe with GPay",es:"Suscribirse con GPay",et:"Telli GPayga",fi:"Tilaa GPaylla",fr:"S'abonner avecGPay",hr:"Pretplata uz GPay",id:"Berlangganan dengan GPay",it:"Abbonati con GPay",ja:"GPay \u3067\u5b9a\u671f\u8cfc\u5165\u3059\u308b",ko:"GPay\ub85c \uad6c\ub3c5",ms:"Langgan dengan GPay",nl:"Abonneren met GPay",no:"Abonner med GPay",pl:"Zasubskrybuj z GPay",pt:"Assinar com o GPay",ru:"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 GPay",sk:"Odobera\u0165 cez GPay",
sl:"Sklenitev naro\u010dnine s storitvijo GPay",sr:"\u041f\u0440\u0435\u0442\u043f\u043b\u0430\u0442\u0430 \u0443\u0437 GPay",sv:"Prenumerera med GPay",th:"\u0e2a\u0e21\u0e31\u0e04\u0e23\u0e43\u0e0a\u0e49\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23\u0e14\u0e49\u0e27\u0e22 GPay",tr:"GPayile abone ol",uk:"\u041e\u0444\u043e\u0440\u043c\u0438\u0442\u0438 \u043f\u0456\u0434\u043f\u0438\u0441\u043a\u0443 \u0447\u0435\u0440\u0435\u0437 GPay",zh:"\u901a\u8fc7 GPay \u8ba2\u9605"}},Ma=E('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" height="36px" width="130px"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans:500)</style><line x1="2" y1="10.5" x2="2" y2="29.5" style="stroke: #d9d9d9; stroke-width:2"></line><image x="11" y="6" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_grey600_36dp.png"></image><text x="52" y="25.5" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #5F6368">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>'),
Na=E('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" height="36px" width="130px"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans:500)</style><line x1="2" y1="10.5" x2="2" y2="29.5" style="stroke: #5F6368; stroke-width:2"></line><image x="11" y="6" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_white_36dp.png"></image><text x="52" y="25.5" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #FFFFFF">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>'),
Oa=E('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" height="36px" width="130px"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans:500)</style><line x1="2" y1="12.5" x2="2" y2="31.5" style="stroke: #5F6368; stroke-width:2"></line><image x="11" y="7" width="36.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_white_36dp.png"></image><text x="52" y="26.5" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #FFFFFF">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>'),
Pa=E('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" viewBox="0 0 130 36"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans:500)</style><line x1="8" y1="7" x2="8" y2="26" style="stroke: #d9d9d9; stroke-width:2"></line><image x="16" y="2.5" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_grey600_36dp.png"></image><text x="57" y="22" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #5f6368">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>'),
Qa=E('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" direction="ltr" viewBox="0 0 130 36"><style>@import url(//fonts.googleapis.com/css?family=Google+Sans:500)</style><line x1="8" y1="7" x2="8" y2="26" style="stroke: #5f6368; stroke-width:2"></line><image x="16" y="2.5" width="37.5" height="29" preserveAspectRatio="none" xlink:href="https://www.gstatic.com/images/icons/material/system/1x/payment_white_36dp.png"></image><text x="57" y="22" class="small" style="font: 15px \'Google Sans\', sans-serif; fill: #fff">\u2022\u2022\u2022\u2022\u2022\u2022</text></svg>');function H(a,b){b=void 0===b?document:b;var c=document.createElement("style");c.type="text/css";c.textContent=a;if(b instanceof HTMLDocument)document.head.appendChild(c);else if(b instanceof ShadowRoot)b.appendChild(c);else throw Error("Parameter 'buttonRootNode' should be either document or a shadowroot.");};var Ra=function(){this.Ic=I.contentWindow};Ra.prototype.postMessage=function(a,b){this.Ic.postMessage(a,b)};var Sa,Ta=function(){if(void 0===Sa){var a=null,b=w.trustedTypes;if(b&&b.createPolicy)try{a=b.createPolicy("goog#html",{createHTML:sa,createScript:sa,createScriptURL:sa})}catch(c){w.console&&w.console.error(c.message)}Sa=a}return Sa};var Va=function(a,b){this.rb=b===Ua?a:""};Va.prototype.toString=function(){return this.rb+""};Va.prototype.za=!0;Va.prototype.wa=function(){return this.rb.toString()};
var Wa=function(a){if(a instanceof Va&&a.constructor===Va)return a.rb;wa("expected object of type TrustedResourceUrl, got '"+a+"' of type "+y(a));return"type_error:TrustedResourceUrl"},$a=function(a,b){var c=D(a);if(!Xa.test(c))throw Error("Invalid TrustedResourceUrl format: "+c);a=c.replace(Ya,function(d,e){if(!Object.prototype.hasOwnProperty.call(b,e))throw Error('Found marker, "'+e+'", in format string, "'+c+'", but no valid label mapping found in args: '+JSON.stringify(b));d=b[e];return d instanceof
C?D(d):encodeURIComponent(String(d))});return Za(a)},Ya=/%{(\w+)}/g,Xa=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i"),Ua={},Za=function(a){var b=Ta();a=b?b.createScriptURL(a):a;return new Va(a,Ua)};var ab=Array.prototype.indexOf?function(a,b){B(null!=a.length);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};var bb=Object.freeze||function(a){return a};var cb=function(a,b){this.name=a;this.value=b};cb.prototype.toString=function(){return this.name};var db=new cb("OFF",Infinity),eb=new cb("WARNING",900),fb=new cb("CONFIG",700),gb=function(){this.Pa=0;this.clear()},hb;gb.prototype.clear=function(){this.Hb=Array(this.Pa);this.Ib=-1;this.Ob=!1};var ib=function(a,b,c){this.reset(a||db,b,c,void 0,void 0)};ib.prototype.reset=function(){};
var jb=function(a,b){this.level=null;this.pc=[];this.parent=(void 0===b?null:b)||null;this.children=[];this.rc={getName:function(){return a}}},kb=function(a){if(a.level)return a.level;if(a.parent)return kb(a.parent);wa("Root logger has no level set.");return db},lb=function(a,b){for(;a;)a.pc.forEach(function(c){c(b)}),a=a.parent},mb=function(){this.entries={};var a=new jb("");a.level=fb;t(this,"entries")[""]=a},nb,ob=function(a,b){var c=t(a,"entries")[b];if(c)return c;c=ob(a,b.slice(0,Math.max(b.lastIndexOf("."),
0)));var d=new jb(b,c);t(a,"entries")[b]=d;c.children.push(d);return d},pb=function(){nb||(nb=new mb);return nb};function qb(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}var rb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function sb(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var g=0;g<rb.length;g++)c=rb[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var tb=/&/g,ub=/</g,vb=/>/g,wb=/"/g,xb=/'/g,yb=/\x00/g,zb=/[\x00&<>"']/;var J=function(a,b){this.qb=b===Ab?a:""};J.prototype.toString=function(){return this.qb.toString()};J.prototype.za=!0;J.prototype.wa=function(){return this.qb.toString()};var Bb=function(a){if(a instanceof J&&a.constructor===J)return a.qb;wa("expected object of type SafeUrl, got '"+a+"' of type "+y(a));return"type_error:SafeUrl"},Cb;try{new URL("s://g"),Cb=!0}catch(a){Cb=!1}var Db=Cb,Ab={};var Eb,Fb;a:{for(var Gb=["CLOSURE_FLAGS"],Hb=w,Ib=0;Ib<Gb.length;Ib++)if(Hb=Hb[Gb[Ib]],null==Hb){Fb=null;break a}Fb=Hb}var Jb=Fb&&Fb[610401301];Eb=null!=Jb?Jb:!1;function Kb(){var a=w.navigator;return a&&(a=a.userAgent)?a:""}var Lb,Mb=w.navigator;Lb=Mb?Mb.userAgentData||null:null;function K(a){return-1!=Kb().indexOf(a)};var Nb={},L=function(a,b){this.pb=b===Nb?a:"";this.za=!0};L.prototype.wa=function(){return this.pb.toString()};L.prototype.toString=function(){return this.pb.toString()};
var Ob=function(a){if(a instanceof L&&a.constructor===L)return a.pb;wa("expected object of type SafeHtml, got '"+a+"' of type "+y(a));return"type_error:SafeHtml"},Qb=function(a){a instanceof L||(a="object"==typeof a&&a.za?a.wa():String(a),zb.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(tb,"&amp;")),-1!=a.indexOf("<")&&(a=a.replace(ub,"&lt;")),-1!=a.indexOf(">")&&(a=a.replace(vb,"&gt;")),-1!=a.indexOf('"')&&(a=a.replace(wb,"&quot;")),-1!=a.indexOf("'")&&(a=a.replace(xb,"&#39;")),-1!=a.indexOf("\x00")&&
(a=a.replace(yb,"&#0;"))),a=Pb(a));return a},Sb=function(a){var b=Qb(Rb),c=[],d=function(e){Array.isArray(e)?e.forEach(d):(e=Qb(e),c.push(Ob(e).toString()))};a.forEach(d);return Pb(c.join(Ob(b).toString()))},Tb=function(a){return Sb(Array.prototype.slice.call(arguments))},Pb=function(a){var b=Ta();a=b?b.createHTML(a):a;return new L(a,Nb)},Rb=new L(w.trustedTypes&&w.trustedTypes.emptyHTML||"",Nb),Ub=Pb("<br>");/*

 SPDX-License-Identifier: Apache-2.0
*/
var Vb=[],Wb=function(a){var b;if(b=ob(pb(),"safevalues").rc){var c="A URL with content '"+a+"' was sanitized away.",d=eb;if(a=b)if(a=b&&d){a=d.value;var e=b?kb(ob(pb(),b.getName())):db;a=a>=e.value}if(a){d=d||db;a=ob(pb(),b.getName());"function"===typeof c&&(c=c());hb||(hb=new gb);e=hb;b=b.getName();if(0<e.Pa){var g=(e.Ib+1)%e.Pa;e.Ib=g;e.Ob?(e=e.Hb[g],e.reset(d,c,b),b=e):(e.Ob=g==e.Pa-1,b=e.Hb[g]=new ib(d,c,b))}else b=new ib(d,c,b);lb(a,b)}}};-1===Vb.indexOf(Wb)&&Vb.push(Wb);function Xb(a,b){a.src=Wa(b).toString()};var Yb={od:0,Vc:1,cc:2,dc:3,ec:4,Zc:5},I=null,Zb=null,M=null,$b=null,ac=Date.now(),bc=null,cc=!1,dc=[],fc=function(){ec({},11,["canMakePaymentForPaymentHandlerResponse"],function(){})},ec=function(a,b,c,d){function e(g){var f;a:{for(f=0;f<c.length;f++)if(g.data[c[f]]){f=!0;break a}f=!1}f&&(d(g),window.removeEventListener("message",e))}window.addEventListener("message",e);a=t(Object,"assign").call(Object,{eventType:b},a);N(a)},N=function(a){if(cc&&Zb){a=t(Object,"assign").call(Object,{buyFlowActivityMode:bc,
googleTransactionId:$b,originTimeMs:ac},a);if("CANARY"==M)var b="https://ibfe-canary.corp.google.com";else b="https://pay","SANDBOX"==M?b+=".sandbox":"PREPROD"==M&&(b+="-preprod.sandbox"),b+=".google.com";Zb.postMessage(a,b)}else dc.push(a)},gc=function(){cc=!0;dc.forEach(function(a){N(a)});dc.length=0},hc=function(a){var b=0,c=0;switch(a.buttonType){case "short":b=1;break;case "long":b=2;break;case "plain":b=3;break;case "buy":b=4;break;case "donate":b=5;break;case "book":b=6;break;case "checkout":b=
7;break;case "order":b=8;break;case "pay":b=9;break;case "subscribe":b=10}switch(a.buttonSizeMode){case "static":c=1;break;case "fill":c=2}var d=void 0===a.buttonRootNode?0:3;a.buttonRootNode instanceof ShadowRoot?d=1:a.buttonRootNode instanceof HTMLDocument&&(d=2);return{buttonType:b,buttonSizeMode:c,buttonRootNode:d}};
(function(){if(!I){var a=window.gpayInitParams||{};M=a.environment||"PRODUCTION";I=document.createElement("iframe");Xb(I,$a(E(("CANARY"==M?"https://ibfe-canary.corp":"https://pay")+("PREPROD"==M?"-preprod.sandbox":"SANDBOX"==M?".sandbox":"")+".google.com/gp/p/ui/payframe?origin=%{windowOrigin}&mid=%{merchantId}"),{windowOrigin:window.location.origin,merchantId:a.merchantInfo&&a.merchantInfo.merchantId||""}));N({eventType:15,clientLatencyStartMs:Date.now()});fc();I.height="0";I.width="0";I.style.display=
"none";I.style.visibility="hidden";I.setAttribute("allowpaymentrequest",!0);I.onload=function(){Zb=new Ra;N({eventType:17,clientLatencyStartMs:Date.now()});N({eventType:16,clientLatencyStartMs:Date.now()});gc()};document.body?document.body.appendChild(I):document.addEventListener("DOMContentLoaded",function(){document.body.appendChild(I)})}})();/*

Math.uuid.js (v1.4)
http://www.broofa.com
mailto:robert@broofa.com
Copyright (c) 2010 Robert Kieffer
Dual licensed under the MIT and GPL licenses.
*/
var ic="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");function jc(a){for(var b=Array(36),c=0,d,e=0;36>e;e++)8==e||13==e||18==e||23==e?b[e]="-":14==e?b[e]="4":(2>=c&&(c=33554432+16777216*Math.random()|0),d=c&15,c>>=4,b[e]=ic[19==e?d&3|8:d]);return b.join("")+"."+a}function kc(a){for(var b=1;b<arguments.length;b++)a=lc(a,arguments[b]);return a}
function lc(a,b){if("object"!==typeof b||null===b)return a;for(var c in b)b.hasOwnProperty(c)&&void 0!==b[c]&&(null==b[c]?a[c]=null:null==a[c]||"object"!==typeof a[c]||"object"!==typeof b[c]||Array.isArray(b[c])||Array.isArray(a[c])?a[c]=b[c]:lc(a[c],b[c]));return a}function mc(a){var b=0,c;if(0==a.length)return b;for(c=0;c<a.length;c++){var d=a.charCodeAt(c);b=(b<<5)-b+d;b&=b}return b}function nc(a){console.error("DEVELOPER_ERROR in "+a.ba+": "+a.errorMessage)};var oc=function(a){oc[" "](a);return a};oc[" "]=function(){};var pc=Eb&&Lb&&0<Lb.brands.length?!1:K("Trident")||K("MSIE"),qc=K("Gecko")&&!(-1!=Kb().toLowerCase().indexOf("webkit")&&!K("Edge"))&&!(K("Trident")||K("MSIE"))&&!K("Edge"),rc=-1!=Kb().toLowerCase().indexOf("webkit")&&!K("Edge");var sc={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},tc=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){if("undefined"===typeof document)return!1;var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);if(!a.firstChild)return!1;b=a.firstChild.firstChild;a.innerHTML=Ob(Rb);return!b.parentElement}),uc=function(a,b){if(a.tagName&&sc[a.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+
a.tagName+".");if(tc())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=Ob(b)},vc=function(a,b,c,d){if(!(a instanceof J||a instanceof J)){a="object"==typeof a&&a.za?a.wa():String(a);b:{var e=a;if(Db){try{var g=new URL(e)}catch(f){e="https:";break b}e=g.protocol}else c:{g=document.createElement("a");try{g.href=e}catch(f){e=void 0;break c}e=g.protocol;e=":"===e||""===e?"https:":e}}B("javascript:"!==e,"%s is a javascript: URL",a)||(a="about:invalid#zClosurez");a=new J(a,Ab)}b=b||w;c=c instanceof
C?D(c):c||"";return void 0!==d?b.open(Bb(a),c,d):b.open(Bb(a),c)};var wc=function(){return"transition".replace(/\-([a-z])/g,function(a,b){return b.toUpperCase()})},xc=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};var yc=function(a){var b=Array.prototype.map.call(arguments,D).join(""),c=E("Constant HTML string, that gets turned into a Node later, so it will be automatically balanced.");ya(D(c),"must provide justification");B(!/^[\s\xa0]*$/.test(D(c)),"must provide non-empty justification");b=Pb(b);c=document;var d="DIV";"application/xhtml+xml"===c.contentType&&(d=d.toLowerCase());d=c.createElement(d);pc?(uc(d,Tb(Ub,b)),d.removeChild(B(d.firstChild))):uc(d,b);if(1==d.childNodes.length)b=d.removeChild(B(d.firstChild));
else for(b=c.createDocumentFragment();d.firstChild;)b.appendChild(d.firstChild);return b};var zc=function(a){if(a.ga&&"function"==typeof a.ga)return a.ga();if("undefined"!==typeof r.Map&&a instanceof r.Map||"undefined"!==typeof Set&&a instanceof Set)return t(Array,"from").call(Array,t(a,"values").call(a));if("string"===typeof a)return a.split("");if(ma(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}b=[];c=0;for(d in a)b[c++]=a[d];return b},Ac=function(a){if(a.hb&&"function"==typeof a.hb)return a.hb();if(!a.ga||"function"!=typeof a.ga){if("undefined"!==typeof r.Map&&a instanceof
r.Map)return t(Array,"from").call(Array,t(a,"keys").call(a));if(!("undefined"!==typeof Set&&a instanceof Set)){if(ma(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}b=[];c=0;for(var d in a)b[c++]=d;return b}}},Bc=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ma(a)||"string"===typeof a)Array.prototype.forEach.call(a,b,c);else for(var d=Ac(a),e=zc(a),g=e.length,f=0;f<g;f++)b.call(c,e[f],d&&d[f],a)};var Cc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Dc=function(a){var b=a.match(Cc);a=b[1];var c=b[3];b=b[4];var d="";a&&(d+=a+":");c&&(d=d+"//"+c,b&&(d+=":"+b));return d},Ec=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var g=a[c].substring(0,d);e=a[c].substring(d+1)}else g=a[c];b(g,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};var O=function(a){this.N=this.ka=this.Y="";this.j=null;this.L=this.M="";this.F=this.qc=!1;if(a instanceof O){this.F=a.F;Fc(this,a.Y);var b=a.ka;P(this);this.ka=b;b=a.N;P(this);this.N=b;Gc(this,a.j);b=a.M;P(this);this.M=b;Hc(this,a.H.clone());a=a.L;P(this);this.L=a}else a&&(b=String(a).match(Cc))?(this.F=!1,Fc(this,b[1]||"",!0),a=b[2]||"",P(this),this.ka=Ic(a),a=b[3]||"",P(this),this.N=Ic(a,!0),Gc(this,b[4]),a=b[5]||"",P(this),this.M=Ic(a,!0),Hc(this,b[6]||"",!0),a=b[7]||"",P(this),this.L=Ic(a)):(this.F=
!1,this.H=new Q(null,this.F))};O.prototype.toString=function(){var a=[],b=this.Y;b&&a.push(Jc(b,Kc,!0),":");var c=this.N;if(c||"file"==b)a.push("//"),(b=this.ka)&&a.push(Jc(b,Kc,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.j,null!=c&&a.push(":",String(c));if(c=this.M)this.N&&"/"!=c.charAt(0)&&a.push("/"),a.push(Jc(c,"/"==c.charAt(0)?Lc:Mc,!0));(c=this.H.toString())&&a.push("?",c);(c=this.L)&&a.push("#",Jc(c,Nc));return a.join("")};
O.prototype.resolve=function(a){var b=this.clone(),c=!!a.Y;c?Fc(b,a.Y):c=!!a.ka;if(c){var d=a.ka;P(b);b.ka=d}else c=!!a.N;c?(d=a.N,P(b),b.N=d):c=null!=a.j;d=a.M;if(c)Gc(b,a.j);else if(c=!!a.M){if("/"!=d.charAt(0))if(this.N&&!this.M)d="/"+d;else{var e=b.M.lastIndexOf("/");-1!=e&&(d=b.M.slice(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=0==e.lastIndexOf("/",0);e=e.split("/");for(var g=[],f=0;f<e.length;){var h=e[f++];"."==h?d&&f==e.length&&g.push(""):".."==
h?((1<g.length||1==g.length&&""!=g[0])&&g.pop(),d&&f==e.length&&g.push("")):(g.push(h),d=!0)}d=g.join("/")}else d=e}c?(P(b),b.M=d):c=""!==a.H.toString();c?Hc(b,a.H.clone()):c=!!a.L;c&&(a=a.L,P(b),b.L=a);return b};O.prototype.clone=function(){return new O(this)};
var Fc=function(a,b,c){P(a);a.Y=c?Ic(b,!0):b;a.Y&&(a.Y=a.Y.replace(/:$/,""))},Gc=function(a,b){P(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.j=b}else a.j=null},Hc=function(a,b,c){P(a);b instanceof Q?(a.H=b,a.H.wb(a.F)):(c||(b=Jc(b,Oc)),a.H=new Q(b,a.F))};O.prototype.getQuery=function(){return this.H.toString()};var Pc=function(a,b,c){P(a);a.H.set(b,c)};O.prototype.removeParameter=function(a){P(this);this.H.remove(a);return this};
var P=function(a){if(a.qc)throw Error("Tried to modify a read-only Uri");};O.prototype.wb=function(a){this.F=a;this.H&&this.H.wb(a)};
var Ic=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Jc=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Qc),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Qc=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Kc=/[#\/\?@]/g,Mc=/[#\?:]/g,Lc=/[#\?]/g,Oc=/[#\?@]/g,Nc=/#/g,Q=function(a,b){this.A=this.h=null;this.D=a||null;this.F=!!b},R=function(a){a.h||(a.h=new r.Map,a.A=0,a.D&&Ec(a.D,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g,
" ")),c)}))};Q.prototype.add=function(a,b){R(this);this.D=null;a=Rc(this,a);var c=this.h.get(a);c||this.h.set(a,c=[]);c.push(b);this.A=xa(this.A)+1;return this};Q.prototype.remove=function(a){R(this);a=Rc(this,a);return this.h.has(a)?(this.D=null,this.A=xa(this.A)-this.h.get(a).length,this.h.delete(a)):!1};Q.prototype.clear=function(){this.h=this.D=null;this.A=0};var Sc=function(a,b){R(a);b=Rc(a,b);return a.h.has(b)};m=Q.prototype;
m.forEach=function(a,b){R(this);this.h.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};m.hb=function(){R(this);for(var a=t(Array,"from").call(Array,t(this.h,"values").call(this.h)),b=t(Array,"from").call(Array,t(this.h,"keys").call(this.h)),c=[],d=0;d<b.length;d++)for(var e=a[d],g=0;g<e.length;g++)c.push(b[d]);return c};
m.ga=function(a){R(this);var b=[];if("string"===typeof a)Sc(this,a)&&(b=b.concat(this.h.get(Rc(this,a))));else{a=t(Array,"from").call(Array,t(this.h,"values").call(this.h));for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};m.set=function(a,b){R(this);this.D=null;a=Rc(this,a);Sc(this,a)&&(this.A=xa(this.A)-this.h.get(a).length);this.h.set(a,[b]);this.A=xa(this.A)+1;return this};m.get=function(a,b){if(!a)return b;a=this.ga(a);return 0<a.length?String(a[0]):b};
m.toString=function(){if(this.D)return this.D;if(!this.h)return"";for(var a=[],b=t(Array,"from").call(Array,t(this.h,"keys").call(this.h)),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.ga(d);for(var g=0;g<d.length;g++){var f=e;""!==d[g]&&(f+="="+encodeURIComponent(String(d[g])));a.push(f)}}return this.D=a.join("&")};m.clone=function(){var a=new Q;a.D=this.D;this.h&&(a.h=new r.Map(this.h),a.A=this.A);return a};var Rc=function(a,b){b=String(b);a.F&&(b=b.toLowerCase());return b};
Q.prototype.wb=function(a){a&&!this.F&&(R(this),this.D=null,this.h.forEach(function(b,c){var d=c.toLowerCase();if(c!=d&&(this.remove(c),this.remove(d),0<b.length)){this.D=null;c=this.h;var e=c.set;d=Rc(this,d);var g=b.length;if(0<g){for(var f=Array(g),h=0;h<g;h++)f[h]=b[h];g=f}else g=[];e.call(c,d,g);this.A=xa(this.A)+b.length}},this));this.F=a};Q.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Bc(arguments[b],function(c,d){this.add(d,c)},this)};var Tc=[],Uc=[],Vc=[],Wc=window.location.hostname,Xc=window.whitelistedDomainsHashedValueListForGpayButtonWithCardInfo||[],Yc=window.denylistedDomainsHashedValueListForGpayButtonWithCardInfo||[],Zc=window.denylistedMerchentIdsHashedValueListForGpayButtonWithCardInfo||[];
function $c(a,b,c){a=void 0===a?{}:a;(n=t(Object,"values").call(Object,Ha),t(n,"includes")).call(n,a.buttonType)||(a.buttonType="long");(n=t(Object,"values").call(Object,Ja),t(n,"includes")).call(n,a.buttonSizeMode)||(a.buttonSizeMode="static");if(!(n=t(Object,"values").call(Object,Ia),t(n,"includes")).call(n,a.buttonColor)||google.payments.api.EnableGpayNewButtonAsset)a.buttonColor="black";var d=a;b=b&&t(Zc,"includes").call(Zc,mc(b));var e=t(Xc,"includes").call(Xc,mc(Wc)),g=t(Yc,"includes").call(Yc,
mc(Wc));if(!(!(google.payments.api.EnableDynamicGpayButtonForTesting||google.payments.api.EnableDynamicGpayButton||e)||b||g||"long"!==d.buttonType&&"buy"!==d.buttonType||(null==c||c(13),google.payments.api.ForceDisableDynamicGpayButton)))return ad(a);var f=a;c=bd(f.buttonLocale,!0);d=f.buttonRootNode||document;t(Tc,"includes").call(Tc,d)||(H("\n.gpay-button {\n  background-origin: content-box;\n  background-position: center center;\n  background-repeat: no-repeat;\n  background-size: contain;\n  border: 0px;\n  border-radius: 4px;\n  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 1px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;\n  cursor: pointer;\n  height: 40px;\n  min-height: 40px;\n  padding: 12px 24px 10px;\n  width: 240px;\n}\n\n.gpay-button.black {\n  background-color: #000;\n  box-shadow: none;\n}\n\n.gpay-button.white {\n  background-color: #fff;\n}\n\n.gpay-button.short, .gpay-button.plain {\n  min-width: 90px;\n  width: 160px;\n}\n\n.gpay-button.black.short, .gpay-button.black.plain {\n  background-image: url(https://www.gstatic.com/instantbuy/svg/dark_gpay.svg);\n}\n\n.gpay-button.black.short.new_style, .gpay-button.black.plain.new_style {\n  background-image: url(https://www.gstatic.com/instantbuy/svg/refreshedgraphicaldesign/dark_gpay.svg);\n  min-width: 160px;\n  background-size: contain;\n}\n\n.gpay-button.white.short, .gpay-button.white.plain {\n  background-image: url(https://www.gstatic.com/instantbuy/svg/light_gpay.svg);\n}\n\n.gpay-button.black.active {\n  background-color: #5f6368;\n}\n\n.gpay-button.black.hover {\n  background-color: #3c4043;\n}\n\n.gpay-button.white.active {\n  background-color: #fff;\n}\n\n.gpay-button.white.focus {\n  box-shadow: #e8e8e8 0 1px 1px 0, #e8e8e8 0 1px 3px;\n}\n\n.gpay-button.white.hover {\n  background-color: #f8f8f8;\n}\n\n.gpay-button-fill, .gpay-button-fill > .gpay-button.white, .gpay-button-fill > .gpay-button.black {\n  width: 100%;\n  height: inherit;\n}\n\n.gpay-button-fill-new-style,\n.gpay-button-fill-new-style > .gpay-button.black {\n  width: 100%;\n  height: inherit;\n  background-size: contain;\n}\n\n.gpay-button-fill > .gpay-button.white,\n  .gpay-button-fill > .gpay-button.black {\n    padding: 12px 15% 10px;\n}\n\n.gpay-button.donate, .gpay-button.book,\n.gpay-button.checkout,\n.gpay-button.subscribe, .gpay-button.pay,\n.gpay-button.order {\n    padding: 9px 24px;\n}\n\n.gpay-button-fill > .gpay-button.donate,\n.gpay-button-fill > .gpay-button.book,\n.gpay-button-fill > .gpay-button.checkout,\n.gpay-button-fill > .gpay-button.order,\n.gpay-button-fill > .gpay-button.pay,\n.gpay-button-fill > .gpay-button.subscribe {\n    padding: 9px 15%;\n}\n\n.gpay-button-fill-new-style > .gpay-button.donate,\n.gpay-button-fill-new-style > .gpay-button.book,\n.gpay-button-fill-new-style > .gpay-button.checkout,\n.gpay-button-fill-new-style > .gpay-button.order,\n.gpay-button-fill-new-style > .gpay-button.pay,\n.gpay-button-fill-new-style > .gpay-button.subscribe {\n    padding: 12px 15%;\n    background-size: contain;\n}\n\n",
d),H("\n  .gpay-button.new_style {\n    background-size: auto;\n    border-radius: 100vh;\n    padding: 11px 24px;\n    box-sizing: border-box;\n    border: 1px solid #747775;\n    min-height: 48px;\n    font-size: 20px;\n    width: auto;\n  }\n",d),Tc.push(d),Uc.push([]));b=Tc.indexOf(d);e=S(f)?"white":"black";g=c+"_"+f.buttonType+"_"+e;var h=f.buttonType;if(h&&"short"!=h&&"plain"!=h&&!t(Uc[b],"includes").call(Uc[b],g)){f=f.buttonType;h="white"!==e&&google.payments.api.EnableGpayNewButtonAsset?{cb:"https://www.gstatic.com/instantbuy/svg/refreshedgraphicaldesign",
jb:La}:{cb:"https://www.gstatic.com/instantbuy/svg",jb:Ka};var k="white"===e?"light":"dark";var l="long"===f?h.jb.buy[c]:h.jb[f||"buy"][c];H("long"==f||"buy"==f?"\n    .gpay-button."+e+".long."+c+", .gpay-button."+e+".buy."+c+" {\n      background-image: url("+h.cb+"/"+k+"/"+c+".svg);\n        min-width: "+l+"px;\n      }":"\n    .gpay-button."+e+"."+f+"."+c+" {\n      background-image: url("+h.cb+"/"+k+"/"+f+"/"+c+".svg);\n      min-width: "+l+"px;\n    }\n  ",d);Uc[b].push(g)}c=document.createElement("button");
cd(c,a);"default"==a.buttonColor&&(a.buttonColor="black");d=dd(a);c.setAttribute("class","gpay-button "+d);ed(c);if(a.onClick)c.addEventListener("click",a.onClick);else throw Error("Parameter 'onClick' must be set.");d=document.createElement("div");"fill"===a.buttonSizeMode&&(google.payments.api.EnableGpayNewButtonAsset?d.setAttribute("class","gpay-button-fill-new-style"):d.setAttribute("class","gpay-button-fill"));d.appendChild(c);return d}
function ad(a){t(Vc,"includes").call(Vc,a.buttonRootNode||document)||(H("\n  .gpay-card-info-container {\n    padding: 0;\n    position: relative;\n    min-width: 240px;\n    height: 40px;\n    min-height: 40px;\n    border-radius: 4px;\n    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 1px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;\n    cursor: pointer;\n    border: 0px;\n  }\n\n  .gpay-card-info-container.new_style {\n    border-radius: 100vh;\n    padding: 0;\n    box-sizing: border-box;\n    min-height: 48px;\n    width: 240px;\n    border: 1px solid #747775;\n  }\n\n  .gpay-card-info-container.black,\n  .gpay-card-info-animation-container.black {\n    background-color: #000;\n    box-shadow: none;\n  }\n\n  .gpay-card-info-container.white,\n  .gpay-card-info-animation-container.white {\n    background-color: #fff;\n  }\n\n  .gpay-card-info-container.black.active {\n    background-color: #5f6368;\n  }\n\n  .gpay-card-info-container.black.hover,\n  .gpay-card-info-animation-container.black.hover {\n    background-color: #3c4043;\n  }\n\n  .gpay-card-info-container.white.active {\n    background-color: #fff;\n  }\n\n  .gpay-card-info-container.white.focus {\n    box-shadow: #e8e8e8 0 1px 1px 0, #e8e8e8 0 1px 3px;\n  }\n\n  .gpay-card-info-container.white.hover,\n  .gpay-card-info-animation-container.white.hover {\n    background-color: #f8f8f8;\n  }\n\n  .gpay-card-info-iframe {\n    border: 0;\n    display: block;\n    height: 100%;\n    margin: auto;\n    max-width: 100%;\n    width: 240px;\n  }\n\n  .gpay-card-info-container-fill .gpay-card-info-iframe,   .gpay-card-info-container-fill-new-style .gpay-card-info-iframe{\n    position: absolute;\n    top: 0;\n    height: 100%;\n    width: 100%;\n  }\n\n  .gpay-card-info-container-fill,\n    .gpay-card-info-container-fill > .gpay-card-info-container{\n    width: 100%;\n    height: inherit;\n  }\n\n  .gpay-card-info-container-fill-new-style,\n    .gpay-card-info-container-fill-new-style > .gpay-card-info-container{\n    width: 100%;\n    height: inherit;\n  }\n\n  .gpay-card-info-container-fill .gpay-card-info-placeholder-container, .gpay-card-info-container-fill-new-style .gpay-card-info-placeholder-container {\n    align-items: center;\n    justify-content: center;\n    width: 100%;\n    padding-top: 3px;\n    box-sizing: border-box;\n    overflow: hidden;\n  }\n\n  .gpay-card-info-container-fill .gpay-card-info-placeholder-svg-container, .gpay-card-info-container-fill-new-style .gpay-card-info-placeholder-svg-container{\n    position: relative;\n    width: 60%;\n    height: inherit;\n    max-height: 80%;\n    margin-right: -20%;\n  }\n\n  .gpay-card-info-container-fill .gpay-card-info-placeholder-svg-container > svg {\n    position: absolute;\n    left: 0;\n    height: 100%;\n    max-width: 100%;\n  }\n\n  .gpay-card-info-container-fill-new-style .gpay-card-info-placeholder-svg-container > svg {\n    position: absolute;\n    left: 0;\n    height: 100%;\n    max-width: 100%;\n  }\n",
a.buttonRootNode),H('\n  .gpay-card-info-animation-container {\n    display: flex;\n    width:100%;\n    position: absolute;\n    z-index: 100;\n    height: 40px;\n    border-radius: 4px;\n  }\n\n  .gpay-card-info-animation-container.new_style {\n    border-radius: 100vh;\n    width: 100%;\n    left: 0%;\n    top: 0%;\n    height: 100%;\n    overflow: hidden;\n  }\n\n  .gpay-card-info-placeholder-container {\n    display: flex;\n    width: 100%;\n    height: 100%;\n    margin: auto;\n    justify-content: center;\n  }\n\n  .gpay-card-info-animated-progress-bar-container {\n    display: flex;\n    box-sizing: border-box;\n    position: absolute;\n    width: 100%;\n  }\n\n  .gpay-card-info-animated-progress-bar {\n    border-radius: 4px 4px 0px 0px;\n    animation-duration: 0.5s;\n    animation-fill-mode: forwards;\n    animation-iteration-count: 1;\n    animation-name: gpayProgressFill;\n    animation-timing-function: cubic-bezier(0.97, 0.33, 1, 1);\n    background: #caccce;\n    width: 100%;\n    height: 3px;\n    max-height: 3px;\n  }\n\n  .gpay-card-info-animated-progress-bar-indicator {\n    border-radius: 4px 4px 0px 0px;\n    max-width: 20px;\n    min-width: 20px;\n    height: 3px;\n    max-height: 3px;\n    background: linear-gradient(to right, #caccce 30%, #acaeaf 60%);\n    animation-delay: 0.5s;\n    animation-duration: 1.7s;\n    animation-fill-mode: forwards;\n    animation-iteration-count: infinite;\n    animation-name: gpayPlaceHolderShimmer;\n  }\n\n  .gpay-card-info-animated-progress-bar-new_style {\n    border-radius: 4px 4px 0px 0px;\n    animation-duration: 0.5s;\n    animation-fill-mode: forwards;\n    animation-iteration-count: 1;\n    animation-name: gpayProgressFill;\n    animation-timing-function: cubic-bezier(0.97, 0.33, 1, 1);\n    background: #caccce;\n    width: 100%;\n    height: 2px;\n    max-height: 2px;\n  }\n\n  .gpay-card-info-animated-progress-bar-indicator-new_style {\n    border-radius: 4px 4px 0px 0px;\n    max-width: 20px;\n    min-width: 20px;\n    height: 2px;\n    max-height: 2px;\n    background: linear-gradient(to right, #caccce 30%, #acaeaf 60%);\n    animation-delay: 0.5s;\n    animation-duration: 1.7s;\n    animation-fill-mode: forwards;\n    animation-iteration-count: infinite;\n    animation-name: gpayPlaceHolderShimmer;\n  }\n\n  .gpay-card-info-iframe-fade-in {\n    animation-fill-mode: forwards;\n    animation-duration: 0.6s;\n    animation-name: gpayIframeFadeIn;\n  }\n\n  .gpay-card-info-animation-container-fade-out {\n    animation-fill-mode: forwards;\n    animation-duration: 0.6s;\n    animation-name: gpayPlaceHolderFadeOut;\n  }\n\n  .gpay-card-info-animation-gpay-logo {\n    margin: 13px 7px 0px  39px;\n    background-origin: content-box;\n    background-position: center center;\n    background-repeat: no-repeat;\n    background-size: contain;\n    height: 17px;\n    max-height: 17px;\n    max-width: 41px;\n    min-width: 41px;\n  }\n\n  .gpay-card-info-animation-gpay-logo.black {\n    background-image: url("https://www.gstatic.com/instantbuy/svg/dark_gpay.svg");\n  }\n\n  .gpay-card-info-animation-gpay-logo.new_style {\n    background-image: url("https://www.gstatic.com/instantbuy/svg/refreshedgraphicaldesign/dark_gpay.svg");\n    background-size: contain;\n    height: 19px;\n    max-height: 19px;\n    max-width: 50px;\n    min-width: 50px;\n  }\n\n  .gpay-card-info-animation-gpay-logo.white {\n    background-image: url("https://www.gstatic.com/instantbuy/svg/light_gpay.svg");\n  }\n\n  @keyframes gpayPlaceHolderShimmer{\n    0% {\n      margin-left: 0px;\n    }\n    100% {\n      margin-left: calc(100% - 20px);\n    }\n  }\n\n  @keyframes gpayIframeFadeIn {\n    from {\n        opacity: 0;\n    }\n    to {\n        opacity: 1;\n    }\n  }\n\n  @keyframes gpayPlaceHolderFadeOut {\n    from {\n        opacity: 1;\n    }\n\n    to {\n        opacity: 0;\n    }\n  }\n\n  @keyframes gpayProgressFill {\n    from {\n      width: 0;\n    }\n    to {\n      width: 100%;\n    }\n  }\n\n  .gpay-card-info-container-fill .gpay-card-info-animation-container{\n    top: 0;\n    width: 100%;\n    height: 100%;\n  }\n\n  .gpay-card-info-container-fill-new-style .gpay-card-info-animation-container.new_style{\n    top: 0;\n    width: 100%;\n    height: 100%;\n    overflow: hidden;\n    border-radius: 100vh;\n    left: 0%;\n  }\n\n  .gpay-card-info-container-fill .gpay-card-info-animation-gpay-logo{\n    background-position: right;\n    margin: 0 0 0 0;\n    max-width: none;\n    width: 25%;\n    height:inherit;\n    max-height: 50%;\n  }\n\n  .gpay-card-info-container-fill-new-style .gpay-card-info-animation-gpay-logo{\n    background-position: right;\n    background-size: contain;\n    margin: 0 0 0 0;\n    max-width: none;\n    width: 35%;\n    min-width: 35%;\n    height:inherit;\n    max-height: 50%;\n  }\n',
a.buttonRootNode),Vc.push(a.buttonRootNode||document));var b=dd(a),c=document.createElement("button");cd(c,a);c.setAttribute("class",(-1658203989===mc(Wc)?"gpay-button":"")+" gpay-card-info-container "+b);var d=document.createElement("div");d.setAttribute("class",fd(a)?"\n    gpay-card-info-animation-container new_style black\n    ":S(a)?"\n    gpay-card-info-animation-container white\n    ":"\n    gpay-card-info-animation-container black\n    ");b=document.createElement("div");b.setAttribute("class",
"gpay-card-info-placeholder-container");var e=document.createElement("div");e.setAttribute("class",fd(a)?"\n    gpay-card-info-animation-gpay-logo new_style black\n    ":S(a)?"\n    gpay-card-info-animation-gpay-logo white\n    ":"\n    gpay-card-info-animation-gpay-logo black\n    ");var g=yc(S(a)?Ma:fd(a)?Oa:Na),f=document.createElement("div");f.setAttribute("class","gpay-card-info-animated-progress-bar-container");var h=document.createElement("div");h.setAttribute("class",fd(a)?"\n    gpay-card-info-animated-progress-bar-new_style\n    ":
"\n    gpay-card-info-animated-progress-bar\n    ");var k=document.createElement("div");k.setAttribute("class",fd(a)?"\n    gpay-card-info-animated-progress-bar-indicator-new_style\n    ":"\n    gpay-card-info-animated-progress-bar-indicator\n    ");h.appendChild(k);b.appendChild(e);"fill"!==a.buttonSizeMode?b.appendChild(g):(e=yc(S(a)?Pa:Qa),g=document.createElement("div"),g.appendChild(e),g.setAttribute("class","gpay-card-info-placeholder-svg-container"),b.appendChild(g));f.appendChild(h);d.appendChild(b);
d.appendChild(f);ed(d);c.appendChild(d);var l=document.createElement("iframe");l.setAttribute("class","gpay-card-info-iframe");l.setAttribute("scrolling","no");b=new O("https://pay.google.com/gp/p/generate_gpay_btn_img");Pc(b,"buttonColor",a.buttonColor);Pc(b,"browserLocale",bd(a.buttonLocale));Pc(b,"buttonSizeMode",a.buttonSizeMode);Pc(b,"enableGpayNewButtonAsset",google.payments.api.EnableGpayNewButtonAsset||!1);void 0!==a.allowedPaymentMethods&&Pc(b,"allowedPaymentMethods",JSON.stringify(a.allowedPaymentMethods));
l.src=b.toString();l.onload=function(){l.classList.add("gpay-card-info-iframe-fade-in");d.classList.add("gpay-card-info-animation-container-fade-out")};a.onClick&&c.addEventListener("click",a.onClick);ed(c);c.appendChild(l);b=document.createElement("div");f=fd(a)?"\n    gpay-card-info-container-fill-new-style\n    ":"\n    gpay-card-info-container-fill\n    ";"fill"===a.buttonSizeMode&&b.setAttribute("class",f);b.appendChild(c);return b}
function ed(a){["mouseover","mouseout"].map(function(b){a.addEventListener(b,function(c){a.classList.toggle("hover","mouseover"==c.type);var d=document.querySelector(".gpay-card-info-animation-container");null!==d&&d.classList.toggle("hover","mouseover"==c.type)})});["mousedown","mouseup","mouseout"].map(function(b){a.addEventListener(b,function(c){a.classList.toggle("active","mousedown"==c.type)})});["focus","blur"].map(function(b){a.addEventListener(b,function(c){a.classList.toggle("focus","focus"==
c.type)})})}
function cd(a,b){a.setAttribute("type","button");var c="Google Pay";if(google.payments.api.EnableGpayButtonAriaLabelLocalization){var d=bd(b.buttonLocale,!0);switch(b.buttonType){case "buy":case "long":var e;c=null!=(e=F.buy[d])?e:c;break;case "book":var g;c=null!=(g=F.book[d])?g:c;break;case "checkout":var f;c=null!=(f=F.checkout[d])?f:c;break;case "donate":var h;c=null!=(h=F.donate[d])?h:c;break;case "order":var k;c=null!=(k=F.order[d])?k:c;break;case "pay":var l;c=null!=(l=F.pay[d])?l:c;break;
case "subscribe":var q;c=null!=(q=F.subscribe[d])?q:c;break;case "short":case "plain":c="Google Pay";break;default:c="Google Pay"}}a.setAttribute("aria-label",c)}function dd(a){var b="white";S(a)||(b="black");var c=a.buttonType||"buy";"buy"===a.buttonType?c="buy long":"plain"===a.buttonType&&(c="plain short");return!S(a)&&google.payments.api.EnableGpayNewButtonAsset?b+" "+c+" new_style "+bd(a.buttonLocale):b+" "+c+" "+bd(a.buttonLocale)}function S(a){return"white"==a.buttonColor}
function bd(a,b){var c=null!=navigator.language?navigator.language.substring(0,5):"en",d=(a||c||"en").substring(0,5),e=google.payments.api.EnableGpayNewButtonAsset?La:Ka;if(d in e.buy)return d;d!==c&&(void 0===b?0:b)&&nc({ba:"createButton",errorMessage:'Button locale "'+a+'" is not supported, falling back to browser locale.'});return c in e.buy?c:"en"}function fd(a){return google.payments.api.EnableGpayNewButtonAsset&&!S(a)};var gd=function(){},hd=function(a,b){return new r.Promise(function(c,d){setTimeout(function(){d({reason:"OTHER_ERROR",intent:a,message:"REQUEST_TIMEOUT"})},b)})},id=function(a,b){return{error:{reason:a.reason||"OTHER_ERROR",intent:a.intent||b,message:a.message}}},jd=function(a,b,c){nc({ba:"loadPaymentData",errorMessage:"An error occurred in call back, please try to avoid this by setting structured error in callback response"});a&&N({eventType:b,merchantCallbackInfo:{callbackTrigger:c||0}})};
gd.prototype.Sb=function(a,b){null===b.error&&(console.warn("Please remove null fields in callback returns."),delete b.error);return{modifiers:[{supportedMethods:["https://google.com/pay"],data:b}]}};gd.prototype.Ua=function(a,b){return{type:a,data:b}};
var kd=function(a,b,c,d){return r.Promise.resolve(r.Promise.race([hd("PAYMENT_AUTHORIZATION",c),b.onPaymentAuthorized(a)])).then(function(e){return d("paymentAuthorizationResponse",e)},function(e){jd("REQUEST_TIMEOUT"===e.message,27,2);return d("paymentAuthorizationResponse",id(e,"PAYMENT_AUTHORIZATION"))})},ld=function(a,b,c,d){return r.Promise.resolve(r.Promise.race([hd(a.callbackTrigger in Ca?Ca[a.callbackTrigger]:"UNKNOWN_INTENT",c),b.onPaymentDataChanged(a)])).then(function(e){return d("paymentDataCallbackResponse",
e)},function(e){jd("REQUEST_TIMEOUT"===e.message,26,Yb[a.callbackTrigger]);return d("paymentDataCallbackResponse",id(e,a.callbackTrigger||"UNKNOWN_INTENT"))})};var nd=function(){var a=window.document,b=this;this.Lb=a;this.O=a.createElement("gpay-graypane");md(this.O,{"z-index":2147483647,display:"none",position:"fixed",top:0,right:0,bottom:0,left:0,"background-color":"rgba(32, 33, 36, .6)"});this.Xa=null;this.O.addEventListener("click",function(){if(b.Xa)try{b.Xa.focus()}catch(c){}})};nd.prototype.show=function(a){this.Xa=a||null;this.Lb.body.appendChild(this.O);md(this.O,{display:"block",opacity:0});return od(this.O,{opacity:1})};
var pd=function(a){a.Xa=null;a.O.parentElement&&od(a.O,{opacity:0}).then(function(){md(a.O,{display:"none"});a.Lb.body.removeChild(a.O)})};function md(a,b){for(var c in b)a.style.setProperty(c,b[c].toString(),"important")}
function od(a,b){var c=a.ownerDocument.defaultView,d=a.style.transition||"";return(new r.Promise(function(e){c.setTimeout(function(){c.setTimeout(e,300);md(a,t(Object,"assign").call(Object,{transition:"transform 300ms ease-out, opacity 300ms ease-out"},b))})})).then(function(){md(a,t(Object,"assign").call(Object,{transition:d},b))})};var qd=function(a){this.s=a;this.nb=this.ob=this.B=this.ea=null;this.ia=3E4};m=qd.prototype;m.sb=function(a){this.B=a};m.Aa=function(a){this.ea=a};
m.isReadyToPay=function(a){var b=rd(a);return new r.Promise(function(c){(void 0!=b.hasEnrolledInstrument?b.hasEnrolledInstrument():b.canMakePayment()).then(function(d){window.sessionStorage.setItem("google.payments.api.storage.isreadytopay.result",d.toString());var e={result:d};2<=a.apiVersion&&a.existingPaymentMethodRequired&&(e.paymentMethodPresent=d);c(e)}).catch(function(){window.sessionStorage.getItem("google.payments.api.storage.isreadytopay.result")?c({result:"true"==window.sessionStorage.getItem("google.payments.api.storage.isreadytopay.result")}):
c({result:!1})})})};m.prefetchPaymentData=function(a){rd(a,this.s,a.transactionInfo.currencyCode,a.transactionInfo.totalPrice)};m.loadPaymentData=function(a){sd(this,a)};
var rd=function(a,b,c,d){var e={};a&&(e=JSON.parse(JSON.stringify(a)));e.apiVersion||(e.apiVersion=1);e.swg&&(e.allowedPaymentMethods=["CARD"]);b&&"TEST"==b&&(e.environment=b);return new PaymentRequest([{supportedMethods:[b&&"SANDBOX"===b&&google.payments.api.EnablePaymentHandlerSandboxBuyflow?"https://pay.sandbox.google.com/gp/p/payment_method_manifest.json":"https://google.com/pay"],data:e}],{total:{label:"Estimated Total Price",amount:{currency:c||"USD",value:d||"0"}}})},sd=function(a,b){b=rd(b,
a.s,b.transactionInfo&&b.transactionInfo.currencyCode||void 0,b.transactionInfo&&b.transactionInfo.totalPrice||void 0);b.onpaymentmethodchange=function(c){var d=new gd;d=c.methodDetails.callbackTrigger?ld(c.methodDetails,a.B,a.ia,d.Sb):kd(c.methodDetails,a.B,a.ia,d.Sb);c.updateWith(d)};a.ea(b.show().then(function(c){google.payments.api.LogInternally&&console.log("payment response",c);c.complete("success");return c.details.statusCode?(google.payments.api.LogInternally&&console.log("status code",c.details.statusCode),
{error:c.details}):c.details}).catch(function(c){google.payments.api.LogInternally&&console.log("payment response with err",c);c.statusCode="CANCELED";throw c;}))};var td=["SHIPPING_ADDRESS","SHIPPING_OPTION"];function ud(a){if(2<=a.apiVersion){var b=vd(a);if(b&&1==b.length&&"CRYPTOGRAM_3DS"==b[0])return!0}return 1==a.allowedPaymentMethods.length&&"TOKENIZED_CARD"==a.allowedPaymentMethods[0]}function wd(a,b){return 2<=a.apiVersion&&(a=vd(a))&&t(a,"includes").call(a,b)?!0:!1}
function xd(){var a=window.location.hostname,b=a.length-11;return 0<=b&&a.indexOf(".google.com",b)==b||void 0===window.isSecureContext?null:window.isSecureContext?null:"Google Pay APIs should be called in secure context!"}function yd(a){if(a.environment&&!(n=t(Object,"values").call(Object,Da),t(n,"includes")).call(n,a.environment))throw Error("Parameter environment in PaymentsClientOptions can optionally be set to PRODUCTION, otherwise it defaults to TEST.");}
function zd(a){if(!a)return"isReadyToPayRequest must be set!";if(Ad(a))return"UPI not supported";if(2<=a.apiVersion){if(!("apiVersionMinor"in a))return"apiVersionMinor must be set!";if(!a.allowedPaymentMethods||!Array.isArray(a.allowedPaymentMethods)||0==a.allowedPaymentMethods.length)return"for v2 allowedPaymentMethods must be set to an array containing a list of accepted payment methods";for(var b=0;b<a.allowedPaymentMethods.length;b++){var c=a.allowedPaymentMethods[b];if("CARD"==c.type){if(!c.parameters)return"Field parameters must be setup in each allowedPaymentMethod";
var d=c.parameters.allowedCardNetworks;if(!d||!Array.isArray(d)||0==d.length)return"allowedCardNetworks must be setup in parameters for type CARD";c=c.parameters.allowedAuthMethods;if(!c||!Array.isArray(c)||0==c.length||!c.every(Bd))return"allowedAuthMethods must be setup in parameters for type 'CARD'  and must contain 'CRYPTOGRAM_3DS' and/or 'PAN_ONLY'"}}}else if(!a.allowedPaymentMethods||!Array.isArray(a.allowedPaymentMethods)||0==a.allowedPaymentMethods.length||!a.allowedPaymentMethods.every(Cd))return"allowedPaymentMethods must be set to an array containing 'CARD' and/or 'TOKENIZED_CARD'!";
return null}function Cd(a){return(n=t(Object,"values").call(Object,Ea),t(n,"includes")).call(n,a)}function Bd(a){return(n=t(Object,"values").call(Object,Fa),t(n,"includes")).call(n,a)}
function Dd(a){if(!a)return"paymentDataRequest must be set!";if(Ad(a))return"UPI not supported";if(a.swg)return(a=a.swg)?a.skuId&&a.publicationId?null:"Both skuId and publicationId must be provided":"Swg parameters must be provided";if(a.transactionInfo)if(a.transactionInfo.currencyCode){if(!a.transactionInfo.totalPriceStatus||!(n=t(Object,"values").call(Object,Ga),t(n,"includes")).call(n,a.transactionInfo.totalPriceStatus))return"totalPriceStatus in transactionInfo must be set to one of NOT_CURRENTLY_KNOWN, ESTIMATED or FINAL!";
if("NOT_CURRENTLY_KNOWN"!==a.transactionInfo.totalPriceStatus&&!a.transactionInfo.totalPrice)return"totalPrice in transactionInfo must be set when totalPriceStatus is ESTIMATED or FINAL!"}else return"currencyCode in transactionInfo must be set!";else return"transactionInfo must be set!";var b=Ad(a);if(b){if(!b.parameters)return"parameters must be set in allowedPaymentMethod!";b=b.parameters;if(b.payeeVpa)if(b.payeeName)if(b.referenceUrl){if(!b.mcc)return"mcc in allowedPaymentMethod parameters must be set!";
if(!b.transactionReferenceId)return"transactionReferenceId in allowedPaymentMethod parameters must be set!"}else return"referenceUrl in allowedPaymentMethod parameters must be set!";else return"payeeName in allowedPaymentMethod parameters must be set!";else return"payeeVpa in allowedPaymentMethod parameters must be set!";if("INR"!==a.transactionInfo.currencyCode)return"currencyCode in transactionInfo must be set to INR!";if("FINAL"!==a.transactionInfo.totalPriceStatus)return"totalPriceStatus in transactionInfo must be set to FINAL!";
if(!a.transactionInfo.transactionNote)return"transactionNote in transactionInfo must be set!"}return null}function Ad(a){return 2>a.apiVersion||!a.allowedPaymentMethods?null:Ed(a,"UPI")}
function Fd(a,b){if(a.callbackIntents&&!b)return"paymentDataCallbacks must be set";if(t(a.callbackIntents,"includes").call(a.callbackIntents,"PAYMENT_AUTHORIZATION")!==!!b.onPaymentAuthorized)return"Both PAYMENT_AUTHORIZATION intent and onPaymentAuthorized must be set";var c=td.slice();google.payments.api.EnableOfferCallback&&c.push("OFFER");google.payments.api.EnablePaymentMethodCallback&&c.push("PAYMENT_METHOD");return!!c.filter(function(d){return t(a.callbackIntents,"includes").call(a.callbackIntents,
d)}).length!==!!b.onPaymentDataChanged?"onPaymentDataChanged callback must be set if any of "+(c+" callback intent is set."):null}function vd(a){return a.allowedPaymentMethods&&(a=Ed(a,"CARD"))&&a.parameters?a.parameters.allowedAuthMethods:null}function Ed(a,b){for(var c=0;c<a.allowedPaymentMethods.length;c++){var d=a.allowedPaymentMethods[c];if(d.type==b)return d}return null};var Hd=function(a,b){var c=Gd.transition;if(!c){var d=wc();c=d;void 0===a.style[d]&&(d=(rc?"Webkit":qc?"Moz":pc?"ms":null)+xc(d),void 0!==a.style[d]&&(c=d));Gd.transition=c}c&&(a.style[c]=b)},Gd={};var Id=function(a,b){Array.isArray(b)||(b=[b]);B(0<b.length,"At least one Css3Property should be specified.");b=b.map(function(c){if("string"===typeof c)return c;za(c,"Expected css3 property to be an object.");var d=c.xc+" "+c.duration+"s "+c.timing+" "+c.delay+"s";B(c.xc&&"number"===typeof c.duration&&c.timing&&"number"===typeof c.delay,"Unexpected css3 property value: %s",d);return d});Hd(a,b.join(","))};var Jd=function(){this.Qa=this.Qa;this.Wa=this.Wa};Jd.prototype.Qa=!1;Jd.prototype.dispose=function(){this.Qa||(this.Qa=!0,this.ua())};Jd.prototype.ua=function(){if(this.Wa)for(;this.Wa.length;)this.Wa.shift()()};var Kd=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Da=!1};Kd.prototype.stopPropagation=function(){this.Da=!0};Kd.prototype.preventDefault=function(){this.defaultPrevented=!0};var Ld=function(){if(!w.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{w.addEventListener("test",function(){},b),w.removeEventListener("test",function(){},b)}catch(c){}return a}();var Nd=function(a,b){Kd.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.va=null;if(a){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;if(b=a.relatedTarget){if(qc){a:{try{oc(b.nodeName);var e=!0;break a}catch(g){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=rc||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=rc||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,
this.clientY=void 0!==a.clientY?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||("keypress"==c?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="string"===typeof a.pointerType?a.pointerType:Md[a.pointerType]||"";this.state=a.state;this.va=a;a.defaultPrevented&&Nd.Ga.preventDefault.call(this)}};
ra(Nd,Kd);var Md=bb({2:"touch",3:"pen",4:"mouse"});Nd.prototype.stopPropagation=function(){Nd.Ga.stopPropagation.call(this);this.va.stopPropagation?this.va.stopPropagation():this.va.cancelBubble=!0};Nd.prototype.preventDefault=function(){Nd.Ga.preventDefault.call(this);var a=this.va;a.preventDefault?a.preventDefault():a.returnValue=!1};var Od="closure_listenable_"+(1E6*Math.random()|0);var Pd=0;var Qd=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Sa=e;this.key=++Pd;this.Ea=this.Na=!1},Rd=function(a){a.Ea=!0;a.listener=null;a.proxy=null;a.src=null;a.Sa=null};var Sd=function(a){this.src=a;this.v={};this.Ja=0};Sd.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.v[g];a||(a=this.v[g]=[],this.Ja++);var f=Td(a,b,d,e);-1<f?(b=a[f],c||(b.Na=!1)):(b=new Qd(b,this.src,g,!!d,e),b.Na=c,a.push(b));return b};Sd.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.v))return!1;var e=this.v[a];b=Td(e,b,c,d);return-1<b?(Rd(e[b]),B(null!=e.length),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.v[a],this.Ja--),!0):!1};
var Ud=function(a,b){var c=b.type;if(c in a.v){var d=a.v[c],e=ab(d,b),g;if(g=0<=e)B(null!=d.length),Array.prototype.splice.call(d,e,1);g&&(Rd(b),0==a.v[c].length&&(delete a.v[c],a.Ja--))}};Sd.prototype.ib=function(a,b,c,d){a=this.v[a.toString()];var e=-1;a&&(e=Td(a,b,c,d));return-1<e?a[e]:null};Sd.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return qb(this.v,function(g){for(var f=0;f<g.length;++f)if(!(c&&g[f].type!=d||e&&g[f].capture!=b))return!0;return!1})};
var Td=function(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.Ea&&g.listener==b&&g.capture==!!c&&g.Sa==d)return e}return-1};var Vd="closure_lm_"+(1E6*Math.random()|0),Wd={},Xd=0,Zd=function(a,b,c,d,e){if(d&&d.once)Yd(a,b,c,d,e);else if(Array.isArray(b))for(var g=0;g<b.length;g++)Zd(a,b[g],c,d,e);else c=$d(c),a&&a[Od]?(d=A(d)?!!d.capture:!!d,ae(a),a.J.add(String(b),c,!1,d,e)):be(a,b,c,!1,d,e)},be=function(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var f=A(e)?!!e.capture:!!e,h=ce(a);h||(a[Vd]=h=new Sd(a));c=h.add(b,c,d,f,g);if(!c.proxy){d=de();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Ld||(e=f),void 0===
e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(ee(b.toString()),d);else if(a.addListener&&a.removeListener)B("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Xd++}},de=function(){var a=fe,b=function(c){return a.call(b.src,b.listener,c)};return b},Yd=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)Yd(a,b[g],c,d,e);else c=$d(c),a&&a[Od]?a.J.add(String(b),
c,!0,A(d)?!!d.capture:!!d,e):be(a,b,c,!0,d,e)},ge=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)ge(a,b[g],c,d,e);else d=A(d)?!!d.capture:!!d,c=$d(c),a&&a[Od]?a.J.remove(String(b),c,d,e):a&&(a=ce(a))&&(b=a.ib(b,c,d,e))&&he(b)},he=function(a){if("number"!==typeof a&&a&&!a.Ea){var b=a.src;if(b&&b[Od])Ud(b.J,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(ee(c),d):b.addListener&&b.removeListener&&b.removeListener(d);
Xd--;(c=ce(b))?(Ud(c,a),0==c.Ja&&(c.src=null,b[Vd]=null)):Rd(a)}}},ee=function(a){return a in Wd?Wd[a]:Wd[a]="on"+a},fe=function(a,b){if(a.Ea)a=!0;else{b=new Nd(b,this);var c=a.listener,d=a.Sa||a.src;a.Na&&he(a);a=c.call(d,b)}return a},ce=function(a){a=a[Vd];return a instanceof Sd?a:null},ie="__closure_events_fn_"+(1E9*Math.random()>>>0),$d=function(a){B(a,"Listener can not be null.");if("function"===typeof a)return a;B(a.handleEvent,"An object listener must have handleEvent method.");a[ie]||(a[ie]=
function(b){return a.handleEvent(b)});return a[ie]};var T=function(){Jd.call(this);this.J=new Sd(this);this.hc=this;this.mb=null};ra(T,Jd);T.prototype[Od]=!0;T.prototype.addEventListener=function(a,b,c,d){Zd(this,a,b,c,d)};T.prototype.removeEventListener=function(a,b,c,d){ge(this,a,b,c,d)};
T.prototype.dispatchEvent=function(a){ae(this);var b=this.mb;if(b){var c=[];for(var d=1;b;b=b.mb)c.push(b),B(1E3>++d,"infinite loop")}b=this.hc;d=a.type||a;if("string"===typeof a)a=new Kd(a,b);else if(a instanceof Kd)a.target=a.target||b;else{var e=a;a=new Kd(d,b);sb(a,e)}e=!0;if(c)for(var g=c.length-1;!a.Da&&0<=g;g--){var f=a.currentTarget=c[g];e=je(f,d,!0,a)&&e}a.Da||(f=a.currentTarget=b,e=je(f,d,!0,a)&&e,a.Da||(e=je(f,d,!1,a)&&e));if(c)for(g=0;!a.Da&&g<c.length;g++)f=a.currentTarget=c[g],e=je(f,
d,!1,a)&&e;return e};T.prototype.ua=function(){T.Ga.ua.call(this);if(this.J){var a=this.J,b=0,c;for(c in a.v){for(var d=a.v[c],e=0;e<d.length;e++)++b,Rd(d[e]);delete a.v[c];a.Ja--}}this.mb=null};var je=function(a,b,c,d){b=a.J.v[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,g=0;g<b.length;++g){var f=b[g];if(f&&!f.Ea&&f.capture==c){var h=f.listener,k=f.Sa||f.src;f.Na&&Ud(a.J,f);e=!1!==h.call(k,d)&&e}}return e&&!d.defaultPrevented};
T.prototype.ib=function(a,b,c,d){return this.J.ib(String(a),b,c,d)};T.prototype.hasListener=function(a,b){return this.J.hasListener(void 0!==a?String(a):void 0,b)};var ae=function(a){B(a.J,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var ke=function(a,b){T.call(this);this.Ta=a||1;this.Ia=b||w;this.Gb=qa(this.Hc,this);this.Qb=Date.now()};ra(ke,T);m=ke.prototype;m.enabled=!1;m.K=null;m.setInterval=function(a){this.Ta=a;this.K&&this.enabled?(this.stop(),this.start()):this.K&&this.stop()};m.Hc=function(){if(this.enabled){var a=Date.now()-this.Qb;0<a&&a<.8*this.Ta?this.K=this.Ia.setTimeout(this.Gb,this.Ta-a):(this.K&&(this.Ia.clearTimeout(this.K),this.K=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};
m.start=function(){this.enabled=!0;this.K||(this.K=this.Ia.setTimeout(this.Gb,this.Ta),this.Qb=Date.now())};m.stop=function(){this.enabled=!1;this.K&&(this.Ia.clearTimeout(this.K),this.K=null)};m.ua=function(){ke.Ga.ua.call(this);this.stop();delete this.Ia};/*

 Copyright 2017 The Web Activities Authors. All Rights Reserved.

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS-IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
*/
var le=function(a,b,c,d,e,g){this.code=a;this.data="ok"==a?b:null;this.mode=c;this.origin=d;this.lb=e;this.Dc=g;this.ok="ok"==a;this.error="failed"==a?Error(String(b)||""):null};function me(a){var b=a.indexOf("#");return-1==b?a:a.substring(0,b)}function ne(a){return a?(/^[?#]/.test(a)?a.slice(1):a).split("&").reduce(function(b,c){var d=c.split("=");c=decodeURIComponent(d[0]||"");d=decodeURIComponent(d[1]||"");c&&(b[c]=d);return b},{}):{}}
function oe(a){var b={requestId:a.requestId,returnUrl:a.Zb,args:a.ic};void 0!==a.origin&&(b.origin=a.origin);void 0!==a.lb&&(b.originVerified=a.lb);return JSON.stringify(b)}function pe(a,b,c){if(b.ok)c(b);else{var d;if(!(d=b.error)){d=null;if("function"==typeof a.DOMException){a=a.DOMException;try{d=new a("AbortError","AbortError")}catch(e){}}d||(d=Error("AbortError"),d.name="AbortError",d.code=20)}a=d;a.rd=b;c(r.Promise.reject(a))}}
function qe(a){a=a.navigator;return/Trident|MSIE|IEMobile/i.test(a&&a.userAgent)}function re(a){setTimeout(function(){throw a;})}var V=function(a,b,c){this.g=a;this.zb=b;this.C=c;this.zc=!0;this.Ab=null;this.Bb=!1;this.V=this.Va=this.W=this.j=null;this.Fb=this.oc.bind(this)};V.prototype.connect=function(a){if(this.W)throw Error("already connected");this.W=a;this.g.addEventListener("message",this.Fb)};
V.prototype.disconnect=function(){if(this.W&&(this.W=null,this.j&&(se(this.j),this.j=null),this.g.removeEventListener("message",this.Fb),this.V)){for(var a in this.V){var b=this.V[a];b.port1&&se(b.port1);b.port2&&se(b.port2)}this.V=null}};V.prototype.isConnected=function(){return null!=this.C};
var te=function(a){a.W&&!a.Ab&&(a.Ab="function"==typeof a.zb?a.zb():a.zb);return a.Ab},ue=function(a){if(null==a.C)throw Error("not connected");return a.C},xe=function(a,b){var c=null;a.Bb&&"function"==typeof a.g.MessageChannel&&(c=new a.g.MessageChannel);c?(ve(a,"start",b,[c.port2]),we(a,c.port1)):ve(a,"start",b)},ve=function(a,b,c,d){c={sentinel:"__ACTIVITIES__",cmd:b,payload:c||null};if(a.j)a.j.postMessage(c,d||void 0);else{var e=te(a);if(!e)throw Error("not connected");a="connect"==b?null!=a.C?
a.C:"*":ue(a);e.postMessage(c,a,d||void 0)}};V.prototype.customMessage=function(a){ve(this,"msg",a)};var ye=function(a,b){a.V||(a.V={});var c=a.V[b];if(!c){var d;c=new r.Promise(function(e){d=e});c={port1:null,port2:null,Yb:d,promise:c};a.V[b]=c}return c},we=function(a,b){a.j&&se(a.j);a.j=b;a.j.onmessage=function(c){var d=c.data,e=d&&d.cmd;d=d&&d.payload||null;e&&a.oa(e,d,c)}};
V.prototype.oc=function(a){if(!this.zc||te(this)==a.source){var b=a.data;if(b&&"__ACTIVITIES__"==b.sentinel){var c=b.cmd;if(!this.j||"connect"==c||"start"==c){var d=a.origin;b=b.payload||null;null==this.C&&"start"==c&&(this.C=d);null==this.C&&a.source&&te(this)==a.source&&(this.C=d);d==this.C&&this.oa(c,b,a)}}}};
V.prototype.oa=function(a,b,c){"connect"==a?(this.j&&(se(this.j),this.j=null),this.Bb=b&&b.acceptsChannel||!1,this.W(a,b)):"start"==a?((c=c.ports&&c.ports[0])&&we(this,c),this.W(a,b)):"msg"==a?null!=this.Va&&null!=b&&this.Va(b):"cnget"==a?(b=b.name||"",a=ye(this,b),a.port1||(c=new this.g.MessageChannel,a.port1=c.port1,a.port2=c.port2,a.Yb(a.port1)),a.port2&&(ve(this,"cnset",{name:b},[a.port2]),a.port2=null)):"cnset"==a?(a=c.ports[0],b=ye(this,b.name),b.port1=a,b.Yb(a)):this.W(a,b)};
function se(a){try{a.close()}catch(b){}}var ze=function(a,b,c){var d=this;this.ya=a;this.ab=b;this.La=c||null;this.g=this.ya.ownerDocument.defaultView;this.C=Dc(Wa(b).toString());this.ta=null;this.fb=new r.Promise(function(e){d.ta=e});this.Ya=null;new r.Promise(function(e){d.Ya=e});this.I=null;this.Za=new r.Promise(function(e){d.I=e});this.Xb=this.Tb=null;this.m=new V(this.g,function(){return d.ya.contentWindow},this.C)};m=ze.prototype;
m.connect=function(){var a=this.ya;if("isConnected"in a)a=a.isConnected;else{var b=a.ownerDocument&&a.ownerDocument.documentElement;a=b&&b.contains(a)||!1}if(!a)throw Error("iframe must be in DOM");this.m.connect(this.oa.bind(this));a=this.ya;b=this.ab;if(!A(a)||!A(a)||!A(a)||1!==a.nodeType||a.namespaceURI&&"http://www.w3.org/1999/xhtml"!==a.namespaceURI||a.tagName.toUpperCase()!=="IFRAME".toString()){var c="IFRAME".toString()+"; got: ";if(A(a))try{var d=a.constructor.displayName||a.constructor.name||
Object.prototype.toString.call(a)}catch(e){d="<object could not be stringified>"}else d=void 0===a?"undefined":null===a?"null":typeof a;wa("Argument is not an HTML Element with tag name "+(c+d))}a.src=Wa(b).toString();return this.fb};m.disconnect=function(){this.m.disconnect()};m.Ka=function(){return this.Za};m.Ra=function(){return this.ya.contentWindow||null};m.message=function(a){this.m.customMessage(a)};m.onMessage=function(a){this.m.Va=a};
m.oa=function(a,b){"connect"==a?(xe(this.m,this.La),this.ta()):"result"==a?this.I&&(a=b.code,b=new le(a,"failed"==a?Error(b.data||""):b.data,"iframe",ue(this.m),!0,!0),pe(this.g,b,this.I),this.I=null,ve(this.m,"close"),this.disconnect()):"ready"==a?this.Ya&&(this.Ya(),this.Ya=null):"resize"==a&&(this.Xb=b.height,this.Tb&&this.Tb(this.Xb))};
var Ae=function(a,b,c,d,e,g){var f=this,h=d&&D(d);if(!h||"_blank"!=h&&"_top"!=h&&"_"==h[0])throw Error('The only allowed targets are "_blank", "_top" and name targets');this.g=a;this.yc=b;this.ab=c;this.vc=d;this.La=e||null;this.ha=g||{};this.ta=null;this.fb=new r.Promise(function(k){f.ta=k});this.I=null;this.Za=new r.Promise(function(k){f.I=k});this.m=this.R=this.Z=null};m=Ae.prototype;m.open=function(){return Be(this)};
m.disconnect=function(){this.R&&(this.R.stop(),this.R=null);this.m&&(this.m.disconnect(),this.m=null);if(this.Z){try{this.Z.close()}catch(a){}this.Z=null}this.I=null};m.Ra=function(){return this.Z};m.Ka=function(){return this.Za};m.message=function(a){this.m.customMessage(a)};m.onMessage=function(a){this.m.Va=a};
var Be=function(a){var b=Ce(a),c=a.ab;if(!a.ha.vd){var d=oe({requestId:a.yc,Zb:a.ha.Zb||me(a.g.location.href),ic:a.La});c=c+(-1==c.indexOf("#")?"#":"&")+encodeURIComponent("__WA__")+"="+encodeURIComponent(d)}d=a.vc;"_top"!=D(d)&&qe(a.g)&&(d=E("_top"));try{var e=vc(c,a.g,d,b)}catch(g){}if(!e&&"_top"!=D(d)&&!a.ha.td){d=E("_top");try{e=vc(c,a.g,d)}catch(g){}}e?(a.Z=e,"_top"!=D(d)&&De(a)):Ee(a,Error("failed to open window"));return a.Za.catch(function(){})},Ce=function(a){var b=a.g.screen,c=b.availWidth||
b.width,d=b.availHeight||b.height,e=a.g==a.g.top;var g=a.g.navigator;g=/Edge/i.test(g&&g.userAgent);c=Math.max(c-(e&&a.g.outerWidth>a.g.innerWidth?Math.min(100,a.g.outerWidth-a.g.innerWidth):g?100:0),.5*c);var f=Math.max(d-(e&&a.g.outerHeight>a.g.innerHeight?Math.min(100,a.g.outerHeight-a.g.innerHeight):g?100:0),.5*d);d=Math.floor(Math.min(600,.9*c));e=Math.floor(Math.min(600,.9*f));a.ha.width&&(d=Math.min(a.ha.width,c));a.ha.height&&(e=Math.min(a.ha.height,f));a=Math.floor((b.width-d)/2);b=Math.floor((b.height-
e)/2);c={height:e,width:d,resizable:"yes",scrollbars:"yes"};g||(c.left=a,c.top=b);g="";for(var h in c)g&&(g+=","),g+=h+"="+c[h];return g},De=function(a){a.R=new ke(500);a.R.addEventListener("tick",function(){Fe(a,!0)});a.R.start();a.m=new V(a.g,a.Z,null);a.m.connect(a.oa.bind(a))},Fe=function(a,b){if(!a.Z||a.Z.closed)a.R&&(a.R.stop(),a.R=null),a.g.setTimeout(function(){try{a.X("canceled",null)}catch(c){Ee(a,c)}},b?3E3:0)},Ee=function(a,b){a.I&&a.I(r.Promise.reject(b));a.disconnect()};
Ae.prototype.X=function(a,b){if(this.I){var c=this.m.isConnected();a=new le(a,b,"popup",c?ue(this.m):Dc(this.ab),c,c);pe(this.g,a,this.I);this.I=null}this.m&&ve(this.m,"close");this.disconnect()};Ae.prototype.oa=function(a,b){var c=this;"connect"==a?(xe(this.m,this.La),this.ta()):"result"==a?(a=b.code,this.X(a,"failed"==a?Error(b.data||""):b.data)):"check"==a&&this.g.setTimeout(function(){return Fe(c)},200)};var Ge=function(a,b,c,d,e){this.g=a;this.lc=b;this.fa=c;this.C=d;this.Gc=e};
Ge.prototype.Ka=function(){var a=this,b=new le(this.lc,this.fa,"redirect",this.C,this.Gc,!1);return new r.Promise(function(c){pe(a.g,b,c)})};var He=function(){var a=window,b=this;this.version="1.23";this.g=a;this.L=a.location.hash;this.ub={};this.vb={};this.Vb=null;new r.Promise(function(c){b.Vb=c})},Ie=function(a,b,c){var d=new ze(a,b,c);return d.connect().then(function(){return d})};He.prototype.open=function(a,b,c,d,e){return{wd:Je(this,a,b,c,d,e).Ra()}};
var Ke=function(a,b,c,d,e){var g=Je(a,"GPAY",b,c,d,e);return g.fb.then(function(){return g})};
He.prototype.Aa=function(a,b){var c=this.ub[a];c||(c=[],this.ub[a]=c);c.push(b);c=this.vb[a];if(!c&&this.L){try{var d=this.g,e=ne(this.L).__WA_RES__;if(e){var g=JSON.parse(e);if(g&&g.requestId==a){var f=d.location.hash;if(f){var h=encodeURIComponent("__WA_RES__")+"=";e=-1;do if(e=f.indexOf(h,e),-1!=e){var k=0<e?f.substring(e-1,e):"";if(""==k||"?"==k||"#"==k||"&"==k){var l=f.indexOf("&",e+1);-1==l&&(l=f.length);f=f.substring(0,e)+f.substring(l+1)}else e++}while(-1!=e&&e<f.length)}var q=f;q=q||"";if(q!=
d.location.hash&&d.history&&d.history.replaceState)try{d.history.replaceState(d.history.state,"",q)}catch(U){}var x=g.code,z=g.data,G=g.origin,na=d.document.referrer&&Dc(d.document.referrer);c=new Ge(d,x,z,G,G==na)}else c=null}else c=null}catch(U){re(U),this.Vb(U)}c&&(this.vb[a]=c)}(a=c)&&Le(a,b)};
var Je=function(a,b,c,d,e,g){var f=new Ae(a.g,b,c,d,e,g);f.open().then(function(){Me(a,b,f)});return f},Le=function(a,b){r.Promise.resolve().then(function(){b(a)})},Me=function(a,b,c){var d=a.ub[b];d&&d.forEach(function(e){Le(c,e)});a.vb[b]=c};var W=function(a,b,c,d){this.s=a;this.bb=b||!1;this.Cb=c||new He;this.Nb=new nd;this.Ca=this.ea=null;this.xb=!1;this.Kb=this.j=null;this.Wb=d||null;this.nb=this.ob=this.B=this.Fa=null;this.ia=3E4;this.bb&&(H("\n.google-payments-dialog {\n    animation: none 0s ease 0s 1 normal none running;\n    background: none 0 0 / auto repeat scroll padding-box border-box #fff;\n    background-blend-mode: normal;\n    border: 0 none #333;\n    border-radius: 8px 8px 0 0;\n    border-collapse: separate;\n    bottom: 0;\n    box-shadow: #808080 0 3px 0 0, #808080 0 0 22px;\n    box-sizing: border-box;\n    letter-spacing: normal;\n    max-height: 100%;\n    overflow: visible;\n    position: fixed;\n    width: 100%;\n    z-index: 2147483647;\n    -webkit-appearance: none;\n    left: 0;\n}\n@media (min-width: 480px) {\n  .google-payments-dialog {\n    width: 480px !important;\n    left: -240px !important;\n    margin-left: calc(100vw - 100vw / 2) !important;\n  }\n}\n.google-payments-dialogContainer {\n  background-color: rgba(0,0,0,0.26);\n  bottom: 0;\n  height: 100%;\n  left: 0;\n  position: absolute;\n  right: 0;\n}\n.iframeContainer {\n  -webkit-overflow-scrolling: touch;\n}\n"),
H("\n.google-payments-dialogCenter {\n  animation: none 0s ease 0s 1 normal none running;\n  background-blend-mode: normal;\n  background: none 0 0 / auto repeat scroll padding-box border-box #fff;\n  border-collapse: separate;\n  border-radius: 8px;\n  border: 0px none #333;\n  bottom: auto;\n  box-shadow: #808080 0 0 22px;\n  box-sizing: border-box;\n  left: -240px;\n  letter-spacing: normal;\n  margin-left: calc(100vw - 100vw / 2) !important;\n  max-height: 90%;\n  overflow: visible;\n  position: absolute;\n  top: 100%;\n  transform: scale(0.8);\n  width: 480px;\n  z-index: 2147483647;\n  -webkit-appearance: none;\n}\n@media (min-height: 667px) {\n  .google-payments-dialogCenter {\n    max-height: 600px;\n  }\n}\n.google-payments-activeContainer {\n  top: 50%;\n  transform: scale(1.0) translateY(-50%);\n}\n"))};
W.prototype.Aa=function(a){this.ea||(this.ea=a,this.Cb.Aa("GPAY",this.uc.bind(this)))};
W.prototype.uc=function(a){var b=this;pd(this.Nb);this.ea(a.Ka().then(function(c){if("TIN"!=b.s&&c.origin!=Ne(b))throw Error("channel mismatch");var d=c.data;if(d.redirectEncryptedCallbackData)return bc=3,Oe(b,d.redirectEncryptedCallbackData).then(function(e){var g=t(Object,"assign").call(Object,{},d);delete g.redirectEncryptedCallbackData;return t(Object,"assign").call(Object,g,e)});if(!c.lb||!c.Dc)throw Error("channel mismatch");return d},function(c){var d=c.message;c=c.message;try{c=JSON.parse(d.substring(7))}catch(e){}c.statusCode&&
-1==["DEVELOPER_ERROR","MERCHANT_ACCOUNT_ERROR"].indexOf(c.statusCode)&&(c={statusCode:"CANCELED"});"AbortError"==c&&(c={statusCode:"CANCELED"});return r.Promise.reject(c)}))};
var Oe=function(a,b){return new r.Promise(function(c,d){var e=Pe(a),g=new XMLHttpRequest;g.open("POST",e,!0);"withCredentials"in g&&(g.withCredentials=!0);g.onreadystatechange=function(){if(!(2>g.readyState))if(100>g.status||599<g.status)g.onreadystatechange=null,d(Error("Unknown HTTP status "+g.status));else if(4==g.readyState)try{c(JSON.parse(g.responseText))}catch(f){d(f)}};g.onerror=function(){d(Error("Network failure"))};g.onabort=function(){d(Error("Request aborted"))};g.send(b)})};
W.prototype.isReadyToPay=function(a){var b=this;return new r.Promise(function(c,d){if(ud(a))c({result:!1});else{var e=window.navigator.userAgent,g=0<e.indexOf("OPA/")&&0<e.indexOf("AppleWebKit"),f=0<e.indexOf("FxiOS"),h=0<e.indexOf("Instagram"),k=0<e.indexOf("FB_IAB"),l=0<e.indexOf("AndroidMapsWebView");if((0<e.indexOf("GSA/")&&0<e.indexOf("Safari")||g||f||h||k||l)&&!b.bb)c({result:!1});else{f=!1;if(google.payments.api.ReadyToPayAdditionalBrowsers){if(0<e.indexOf("UCMini")){c({result:!1});return}f=
0<e.indexOf("OPT")||0<e.indexOf("UCBrowser")}var q=0<e.indexOf("Chrome")||0<e.indexOf("Firefox")||0<e.indexOf("Safari")||f||g;q&&2<=a.apiVersion&&a.existingPaymentMethodRequired?(a.environment=b.s,ec(a,6,["isReadyToPayResponse","isReadyToPayError"],function(x){var z={result:q};a.existingPaymentMethodRequired&&(x.data.isReadyToPayError?d({statusCode:"DEVELOPER_ERROR",statusMessage:"Ready to pay error. Cause : "+x.data.isReadyToPayError}):z.paymentMethodPresent="READY_TO_PAY"==x.data.isReadyToPayResponse);
c(z)})):c({result:q})}}})};W.prototype.prefetchPaymentData=function(a){if(this.bb){this.sa(a);var b=Qe(this,a),c=Re(this,b.container,b.iframe,a);this.Ca={container:b.container,iframe:b.iframe,request:a,dataPromise:c}}};
W.prototype.loadPaymentData=function(a){var b=this;a.swg||a.apiVersion||(a.apiVersion=1);if(a.forceRedirect&&this.B)throw Error("Callback is not supported in redirect mode");a.environment=this.s;this.sa(a);if(this.bb){bc=1;if(this.Ca){var c=this.Ca;var d=this.Ca.dataPromise;this.Ca=null}else c=Qe(this,a),d=Re(this,c.container,c.iframe,a);Se(this,c.container,c.iframe,a);history.pushState({},"",window.location.href);var e=function(g){g.preventDefault();g=c;g.container.parentNode&&(b.Kb(r.Promise.reject({errorCode:"CANCELED"})),
Te(g.container,g.iframe),b.j&&b.j.disconnect());window.removeEventListener("popstate",e)};window.addEventListener("popstate",e);a=new r.Promise(function(g){b.Kb=g});this.ea(r.Promise.race([d,a]))}else return bc=a.forceRedirect?3:2,Ke(this.Cb,Ue(this,Ve(a)),a.forceRedirect?E("_top"):E("gp-js-popup"),a,We(a)).then(function(g){var f=new gd;b.Nb.show(g&&g.Ra());google.payments.api.EnableClosePopupOnHostingPageUnload&&window.addEventListener("beforeunload",function(){g.Ra().close()});g.onMessage(function(h){"partialPaymentDataCallback"==
h.type?b.ob=ld(h.data,b.B,b.ia,f.Ua).then(function(k){return g.message(k)}):"fullPaymentDataCallback"==h.type&&(b.nb=kd(h.data,b.B,b.ia,f.Ua).then(function(k){g.message(k)}))})})};var We=function(a){var b={width:600,height:600};a.forceRedirect||a.swg||(b.disableRedirectFallback=!0);return b};W.prototype.sb=function(a){this.B=a};
var Ne=function(a){return"LOCAL"==a.s?"":"https://"+("PREPROD"==a.s?"pay-preprod.sandbox":"SANDBOX"==a.s?"pay.sandbox":"CANARY"==a.s?"ibfe-canary.corp":"pay")+".google.com"},Pe=function(a){var b=Ne(a)+"/gp/p/apis/buyflow/process";a.Wb&&(b+="?rk="+encodeURIComponent(a.Wb));return b},Ve=function(a){var b;if(null==(b=a.i)?0:b.disableNgbf)return!1;var c;return(null==(c=a.callbackIntents)?0:c.length)||a.ud?!1:!0},Ue=function(a,b){a="TIN"==a.s?"/ui/pay":Ne(a)+"/gp/p/ui/pay";b&&(a+="?ng=true");return a},
Xe=function(a,b){var c=window.location.origin,d=E("https://pay.google.com/gp/p/ui/pay?origin=%{origin}&coordination_token=%{coordinationToken}");if("CANARY"==a)d=E("https://ibfe-canary.corp.google.com/gp/p/ui/pay?origin=%{origin}&coordination_token=%{coordinationToken}");else if("SANDBOX"==a||"PREPROD"==a)d=E("https://pay"+("PREPROD"==a?"-preprod":"")+".sandbox.google.com/gp/p/ui/pay?origin=%{origin}&coordination_token=%{coordinationToken}");return $a(d,{coordinationToken:void 0===b?"":b,origin:c})},
Te=function(a,b){Ye(b,"all 250ms ease 0s");b.height="0px";setTimeout(function(){a.parentNode&&a.parentNode.removeChild(a)},250)},Qe=function(a,b){b=b.i&&b.i.renderContainerCenter?"google-payments-dialogCenter":"google-payments-dialog";var c=document.createElement("div");c.classList.add("google-payments-dialogContainer");var d=document.createElement("div");d.classList.add("iframeContainer");var e=document.createElement("iframe");e.classList.add(b);e.setAttribute("frameborder","0");e.setAttribute("scrolling",
"no");d.appendChild(e);c.appendChild(d);document.body.appendChild(c);b={container:c,iframe:e};c=b.iframe;d=b.container;d.addEventListener("click",qa(a.kc,a,b));d.style.display="none";c.style.display="none";c.height="0px";Ye(c,"all 250ms ease 0s");a.xb=!1;return b};W.prototype.kc=function(a){a.container.parentNode&&history.back()};
var Se=function(a,b,c,d){b.style.display="block";c.style.display="block";setTimeout(function(){c.height="280px";d.i&&d.i.renderContainerCenter&&c.classList.add("google-payments-activeContainer");setTimeout(function(){a.xb=!0;a.Fa&&(Ye(c,a.Fa.transition),c.height=a.Fa.height,a.Fa=null)},250)},1)},Ye=function(a,b){Id(a,b);a.style.setProperty("-webkit-transition",b)},Re=function(a,b,c,d){d.swg||d.apiVersion||(d.apiVersion=1);var e="";d.i&&d.i.coordinationToken&&(e=d.i.coordinationToken);d.environment=
a.s;var g;e=Xe(a.s,e);return Ie(c,e,d).then(function(f){a.j=f;var h=new gd;f.onMessage(function(k){"partialPaymentDataCallback"==k.type?a.ob=ld(k.data,a.B,a.ia,h.Ua).then(function(l){return f.message(l)}):"fullPaymentDataCallback"==k.type?a.nb=kd(k.data,a.B,a.ia,h.Ua).then(function(l){return f.message(l)}):"resize"==k.type&&(a.xb?(g||(g=Date.now()),Date.now()<g+250?Ye(c,k.transition+", height 250ms"):Ye(c,k.transition),c.height=k.height):a.Fa={height:k.height,transition:k.transition})});return f.Ka()}).then(function(f){Te(b,
c);history.back();return f.data},function(f){Te(b,c);history.back();return r.Promise.reject(f)})};W.prototype.sa=function(a){var b={startTimeMs:Date.now()};a.i=a.i?t(Object,"assign").call(Object,b,a.i):b};var Ze="actions.google.com amp-actions.sandbox.google.com amp-actions-staging.sandbox.google.com amp-actions-autopush.sandbox.google.com payments.developers.google.com payments.google.com".split(" "),Y=function(a,b,c,d){this.kb=b;yd(a);this.Rb=null;this.s=a.environment||"TEST";$e||($e=-1!=Ze.indexOf(window.location.hostname)&&a.i&&a.i.googleTransactionId?a.i.googleTransactionId:jc(this.s));this.G=a;this.Jb=a.merchantInfo&&a.merchantInfo.merchantId?a.merchantInfo.merchantId:"";a.paymentDataCallback&&
(a.paymentDataCallbacks={onPaymentDataChanged:a.paymentDataCallback});this.B=null;this.l=new af(a,c);this.aa=new W(this.s,c,d,a.i&&a.i.redirectKey);this.la=5;this.U=null;b=this.l.mode;this.na=5===b||4===b?new qd(this.s):this.aa;a.paymentDataCallbacks&&(this.B=a.paymentDataCallbacks,this.na.sb(a.paymentDataCallbacks),this.aa.sb(a.paymentDataCallbacks));this.aa.Aa(this.Ub.bind(this));this.na.Aa(this.Ub.bind(this));bc=b;$b=$e;N({eventType:9,clientLatencyStartMs:Date.now(),buyFlowActivityReason:this.l.o,
softwareInfo:X(this)});window.addEventListener("message",function(e){-1!=Ze.indexOf(window.location.hostname)&&"logPaymentData"===e.data.name&&N(e.data.data)})},$e,X=function(a){return a.G.merchantInfo&&a.G.merchantInfo.softwareInfo?a.G.merchantInfo.softwareInfo:null};
Y.prototype.isReadyToPay=function(a){var b=this;if(a){var c={};this.G.environment&&(c.environment=this.G.environment);this.G.merchantInfo&&(c.merchantInfo=this.G.merchantInfo);this.G.i&&(c.i=this.G.i);a=t(Object,"assign").call(Object,{},c,a);this.Jb=a.merchantInfo&&a.merchantInfo.merchantId?a.merchantInfo.merchantId:""}var d=Date.now(),e=[].concat(ia(this.l.o));N({eventType:12,clientLatencyStartMs:d,buyFlowActivityReason:e,softwareInfo:X(this)});var g=xd()||zd(a);if(g)return new r.Promise(function(l,
q){nc({ba:"isReadyToPay",errorMessage:g});N({eventType:0,buyFlowActivityReason:e,error:2,softwareInfo:X(b)});q({statusCode:"DEVELOPER_ERROR",statusMessage:g})});var f=[].concat(ia(this.l.o)),h=bf(this,a,f);if(a.activityModeRequired){var k=null;return cf.then(function(l){k=l;return h},function(){k=!1;return h}).then(function(l){k||(f.push(40),5===b.l.mode&&(b.l.mode=2));l.activityMode=b.l.mode;df(b,d,l,f,a);return l}).catch(function(l){ef(b,l,f,a);throw l;})}return h.then(function(l){df(b,d,l,f,a);
return l}).catch(function(l){ef(b,l,f,a);throw l;})};
var df=function(a,b,c,d,e){N({eventType:0,clientLatencyStartMs:b,isReadyToPayApiResponse:c,buyFlowActivityReason:d,softwareInfo:X(a),isReadyToPayRequest:e})},ef=function(a,b,c,d){b.statusCode?(b=b.statusCode,b="INTERNAL_ERROR"==b?1:"DEVELOPER_ERROR"==b?2:"MERCHANT_ACCOUNT_ERROR"==b?4:"UNSUPPORTED_API_VERSION"==b?5:"BUYER_CANCEL"==b?6:0):b=1;N({eventType:0,buyFlowActivityReason:c,error:b,softwareInfo:X(a),isReadyToPayRequest:d})},bf=function(a,b,c){if(google.payments.api.DisableNativeReadyToPayCheckForPaymentHandler?
4===a.l.mode&&!ff(b):a.l.Ha&&!ff(b)){if(2<=b.apiVersion)return gf(a,b,c);var d=a.aa.isReadyToPay(b),e=a.na.isReadyToPay(b);if(ud(b)&&!a.l.ra)return c.push(6),e;c.push(7);return e.then(function(){return d})}return a.aa.isReadyToPay(b)},gf=function(a,b,c){var d=r.Promise.resolve({result:!1});b.existingPaymentMethodRequired&&(d=r.Promise.resolve({result:!1,paymentMethodPresent:!1}));var e=d;if(wd(b,"CRYPTOGRAM_3DS")){e=JSON.parse(JSON.stringify(b));for(var g=0;g<e.allowedPaymentMethods.length;g++)"CARD"==
e.allowedPaymentMethods[g].type&&(e.allowedPaymentMethods[g].parameters.allowedAuthMethods=["CRYPTOGRAM_3DS"]);c.push(8);e=a.na.isReadyToPay(e)}var f=d;wd(b,"PAN_ONLY")&&(c.push(9),f=a.aa.isReadyToPay(b));return a.l.ra?(c.push(99),e.then(function(){return f})):e.then(function(h){return 1==(h&&h.result)?h:f})};m=Y.prototype;m.prefetchPaymentData=function(a){var b=xd()||Dd(a);b?nc({ba:"prefetchPaymentData",errorMessage:b}):(this.sa(a),this.l.Ha&&!ff(a)?this.na.prefetchPaymentData(a):this.aa.prefetchPaymentData(a))};
m.notifyAvailableOffers=function(){};
m.loadPaymentData=function(a){var b=this,c=[].concat(ia(this.l.o)),d=function(){return N({eventType:5,buyFlowActivityReason:c.length?c:[99],softwareInfo:X(b),buttonInfo:b.U})},e=xd()||Dd(a);this.la=a&&a.swg?6:5;bc=this.l.mode;if(e)this.kb(new r.Promise(function(k,l){N({eventType:1,error:2,buyFlowMode:b.la,softwareInfo:X(b),buttonInfo:b.U});nc({ba:"loadPaymentData",errorMessage:e});l({statusCode:"DEVELOPER_ERROR",statusMessage:e})})),d();else{if(this.B||a.callbackIntents){var g=Fd(a,this.B);if(g){this.kb(new r.Promise(function(k,
l){N({eventType:1,error:2,buyFlowMode:b.la,softwareInfo:X(b),buttonInfo:b.U});nc({ba:"loadPaymentData",errorMessage:g});l({statusCode:"DEVELOPER_ERROR",statusMessage:g})}));d();return}}this.Rb=Date.now();var f=hf(this.l,a,c),h=5===f||4===f?this.na:this.aa;f!==this.l.mode&&(bc=f);this.sa(a);d();h.loadPaymentData(a)}};
m.ma=function(a){a=void 0===a?{}:a;this.U=hc(a);a=$c(a,this.Jb,function(b){return N({eventType:b})});N({eventType:2,clientLatencyStartMs:Date.now(),buyFlowActivityReason:this.l.o,softwareInfo:X(this),buttonInfo:this.U});return a};
m.Ub=function(a){var b=this;a=a.then(function(c){google.payments.api.LogInternally&&console.log("payment data",c);if(c.error){var d=Error();d.statusCode=c.error.statusCode;d.statusMessage=c.error.statusMessage;nc({ba:"loadPaymentData",errorMessage:d.statusMessage});throw d;}return c});a.then(function(c){google.payments.api.LogInternally&&console.log("payment data resolve to ",c);N({eventType:1,clientLatencyStartMs:b.Rb,buyFlowMode:b.la,buyFlowActivityReason:b.l.o,softwareInfo:X(b),buttonInfo:b.U})}).catch(function(c){google.payments.api.LogInternally&&
console.log("payment data has error",c);c.errorCode?N({eventType:1,error:c.errorCode,buyFlowMode:b.la,buyFlowActivityReason:b.l.o,softwareInfo:X(b),buttonInfo:b.U}):N({eventType:1,error:6,buyFlowMode:b.la,buyFlowActivityReason:b.l.o,softwareInfo:X(b),buttonInfo:b.U})});this.kb(a)};
m.sa=function(a){var b={googleTransactionId:$e,usingPayJs:!0};a.i=a.i?t(Object,"assign").call(Object,b,a.i):b;a.i.firstPartyMerchantIdentifier&&delete a.i.firstPartyMerchantIdentifier;this.G.i&&this.G.i.firstPartyMerchantIdentifier&&(a.i.firstPartyMerchantIdentifier=this.G.i.firstPartyMerchantIdentifier)};Y.prototype.createButton=Y.prototype.ma;Y.prototype.loadPaymentData=Y.prototype.loadPaymentData;Y.prototype.notifyAvailableOffers=Y.prototype.notifyAvailableOffers;
Y.prototype.prefetchPaymentData=Y.prototype.prefetchPaymentData;Y.prototype.isReadyToPay=Y.prototype.isReadyToPay;
var cf=null,jf=null,af=function(a,b){b=void 0===b?!1:b;this.eb=a;this.o=[];null!=window.navigator.userAgent.match(/Android|iPhone|iPad|iPod|BlackBerry|IEMobile/i)?(this.o.push(37),a=!1):(a=window.navigator.userAgent.match(/Chrome\/([0-9]+)\./i),"PaymentRequest"in window&&null!=a&&70<=Number(a[1])&&"Google Inc."==window.navigator.vendor?(this.o.push(98),this.eb.paymentDataCallbacks&&this.o.push(97),a=!0):(this.o.push(36),a=!1));this.ra=a;this.Ha=kf(this);this.mode=2;b?(this.o=[38],this.mode=1):this.Ha&&
this.ra?this.mode=5:this.Ha&&(this.mode=4);this.eb.paymentDataCallbacks&&this.o.push(1)},ff=function(a){return!0===(a.i&&a.i.disableNative)},hf=function(a,b,c){return 2===a.mode||1===a.mode?a.mode:ff(b)?(c.push(3),2):!jf&&(a.ra||google.payments.api.UseCanMakePaymentForFallbackOnMobile&&a.Ha)?(c.push(40),2):a.ra&&b.swg?(c.push(5),2):a.mode},kf=function(a){if(!window.PaymentRequest)return a.o.push(41),!1;var b=-1!==window.navigator.userAgent.indexOf("OPT/"),c=-1!==window.navigator.userAgent.indexOf("SamsungBrowser/");
if(-1!==window.navigator.userAgent.indexOf("OPR/")||b||c)return a.o.push(35),!1;if(a.ra)return!0;if(google.payments.api.DisablePaymentRequest&&!google.payments.api.EnablePaymentRequest)return a.o.push(3),!1;b=window.navigator.userAgent.match(/Android/i);c=window.navigator.userAgent.match(/Chrome\/([0-9]+)\./i);if(!(null!=b&&"PaymentRequest"in window&&"Google Inc."==window.navigator.vendor&&null!=c&&59<=Number(c[1])))return a.o.push(34),!1;if(!a.eb.paymentDataCallbacks)return!0;if(92>Number(c[1]))return!1;
a.o.push(96);return google.payments.api.EnableDynamicUpdateForClank?!0:(a.o.push(42),!1)};la("google.payments.api.PaymentsAsyncClient",Y);Y.prototype.isReadyToPay=Y.prototype.isReadyToPay;Y.prototype.prefetchPaymentData=Y.prototype.prefetchPaymentData;Y.prototype.loadPaymentData=Y.prototype.loadPaymentData;Y.prototype.createButton=Y.prototype.ma;Y.prototype.notifyAvailableOffers=Y.prototype.notifyAvailableOffers;var Z=function(a,b){a=void 0===a?{}:a;this.sc=kc({},window.gpayMerchantIdFromUrl?{merchantInfo:{merchantId:window.gpayMerchantIdFromUrl}}:{},window.gpayInitParams,a);this.Ma=new Y(this.sc,this.wc.bind(this),b);this.Ba=null};m=Z.prototype;m.wc=function(a){this.Ba(a)};m.isReadyToPay=function(a){return this.Ma.isReadyToPay(a)};m.prefetchPaymentData=function(a){this.Ma.prefetchPaymentData(a)};m.notifyAvailableOffers=function(){};
m.loadPaymentData=function(a){var b=this;google.payments.api.EnablePwgTestExperiment&&console.log("ZOMBIEMONKEYATEMYBRAIN");return(new r.Promise(function(c){if(b.Ba)throw Error("This method can only be called one at a time.");b.Ba=c;b.Ma.loadPaymentData(a)})).then(function(c){b.Ba=null;return c},function(c){b.Ba=null;throw c;})};m.ma=function(a){a=void 0===a?{}:a;return this.Ma.ma(a)};Z.prototype.createButton=Z.prototype.ma;Z.prototype.loadPaymentData=Z.prototype.loadPaymentData;
Z.prototype.notifyAvailableOffers=Z.prototype.notifyAvailableOffers;Z.prototype.prefetchPaymentData=Z.prototype.prefetchPaymentData;Z.prototype.isReadyToPay=Z.prototype.isReadyToPay;la("google.payments.api.PaymentsClient",Z);Z.prototype.isReadyToPay=Z.prototype.isReadyToPay;Z.prototype.prefetchPaymentData=Z.prototype.prefetchPaymentData;Z.prototype.loadPaymentData=Z.prototype.loadPaymentData;Z.prototype.createButton=Z.prototype.ma;Z.prototype.notifyAvailableOffers=Z.prototype.notifyAvailableOffers;if(google.payments.api.UseCanMakePaymentResultFromPayjs){try{cf=(new PaymentRequest([{supportedMethods:["https://google.com/pay"],data:{apiVersion:2,apiVersionMinor:0,allowedPaymentMethods:[{type:"CARD",parameters:{allowedAuthMethods:["PAN_ONLY","CRYPTOGRAM_3DS"],allowedCardNetworks:["VISA","MASTERCARD"]}}]}}],{total:{label:"Estimated Total Price",amount:{currency:"USD",value:"10"}}})).canMakePayment()}catch(a){cf=r.Promise.resolve(!1)}cf.then(function(a){return jf=a}).catch(function(){return jf=
!1})};}).call(this);
