1
2
// Copyright 2012 Google Inc. All rights reserved.
3
(function(){
4
5
var data = {
6
"resource": {
7
"version":"1",
8
9
"macros":[{"function":"__e"},{"function":"__cid"}],
10
"tags":[{"function":"__rep","once_per_event":true,"vtp_containerId":["macro",1],"tag_id":1}],
11
"predicates":[{"function":"_eq","arg0":["macro",0],"arg1":"gtm.js"}],
12
"rules":[[["if",0],["add",0]]]
13
},
14
"runtime":[]
15
16
17
18
19
20
};
21
22
23
/*
24
25
Copyright The Closure Library Authors.
26
SPDX-License-Identifier: Apache-2.0
27
*/
28
var aa,ba=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ca="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ea;if("function"==typeof Object.setPrototypeOf)ea=Object.setPrototypeOf;else{var ha;a:{var ia={a:!0},ja={};try{ja.__proto__=ia;ha=ja.a;break a}catch(a){}ha=!1}ea=ha?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
29
var ka=ea,la=function(a,b){a.prototype=ca(b.prototype);a.prototype.constructor=a;if(ka)ka(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.Vk=b.prototype},ma=this||self,na=function(a){return a};var oa=function(){},pa=function(a){return"function"===typeof a},h=function(a){return"string"===typeof a},qa=function(a){return"number"===typeof a&&!isNaN(a)},ra=Array.isArray,sa=function(a,b){if(a&&ra(a))for(var c=0;c<a.length;c++)if(a[c]&&b(a[c]))return a[c]},ta=function(a,b){if(!qa(a)||!qa(b)||a>b)a=0,b=2147483647;return Math.floor(Math.random()*(b-a+1)+a)},va=function(a,b){for(var c=new ua,d=0;d<a.length;d++)c.set(a[d],!0);for(var e=0;e<b.length;e++)if(c.get(b[e]))return!0;return!1},l=function(a,
30
b){for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(c,a[c])},ya=function(a){return!!a&&("[object Arguments]"===Object.prototype.toString.call(a)||Object.prototype.hasOwnProperty.call(a,"callee"))},Aa=function(a){return Math.round(Number(a))||0},Ba=function(a){return"false"===String(a).toLowerCase()?!1:!!a},Ca=function(a){var b=[];if(ra(a))for(var c=0;c<a.length;c++)b.push(String(a[c]));return b},Da=function(a){return a?a.replace(/^\s+|\s+$/g,""):""},Ea=function(){return new Date(Date.now())},
31
Fa=function(){return Ea().getTime()},ua=function(){this.prefix="gtm.";this.values={}};ua.prototype.set=function(a,b){this.values[this.prefix+a]=b};ua.prototype.get=function(a){return this.values[this.prefix+a]};
32
var Ga=function(a,b,c){return a&&a.hasOwnProperty(b)?a[b]:c},Ha=function(a){var b=a;return function(){if(b){var c=b;b=void 0;try{c()}catch(d){}}}},Ia=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},Ja=function(a){for(var b in a)if(a.hasOwnProperty(b))return!0;return!1},Ka=function(a,b){for(var c=[],d=0;d<a.length;d++)c.push(a[d]),c.push.apply(c,b[a[d]]||[]);return c},La=function(a,b){for(var c={},d=c,e=a.split("."),f=0;f<e.length-1;f++)d=d[e[f]]={};d[e[e.length-1]]=b;return c},Ma=/^\w{1,9}$/,
33
Oa=function(a,b){a=a||{};b=b||",";var c=[];l(a,function(d,e){Ma.test(d)&&e&&c.push(d)});return c.join(b)},Qa=function(a,b){function c(){++d===b&&(e(),e=null,c.done=!0)}var d=0,e=a;c.done=!1;return c};function Ra(){for(var a=Sa,b={},c=0;c<a.length;++c)b[a[c]]=c;return b}function Ta(){var a="ABCDEFGHIJKLMNOPQRSTUVWXYZ";a+=a.toLowerCase()+"0123456789-_";return a+"."}var Sa,Ua;function Va(a){Sa=Sa||Ta();Ua=Ua||Ra();for(var b=[],c=0;c<a.length;c+=3){var d=c+1<a.length,e=c+2<a.length,f=a.charCodeAt(c),g=d?a.charCodeAt(c+1):0,k=e?a.charCodeAt(c+2):0,m=f>>2,n=(f&3)<<4|g>>4,p=(g&15)<<2|k>>6,q=k&63;e||(q=64,d||(p=64));b.push(Sa[m],Sa[n],Sa[p],Sa[q])}return b.join("")}
34
function Wa(a){function b(m){for(;d<a.length;){var n=a.charAt(d++),p=Ua[n];if(null!=p)return p;if(!/^[\s\xa0]*$/.test(n))throw Error("Unknown base64 encoding at char: "+n);}return m}Sa=Sa||Ta();Ua=Ua||Ra();for(var c="",d=0;;){var e=b(-1),f=b(0),g=b(64),k=b(64);if(64===k&&-1===e)return c;c+=String.fromCharCode(e<<2|f>>4);64!=g&&(c+=String.fromCharCode(f<<4&240|g>>2),64!=k&&(c+=String.fromCharCode(g<<6&192|k)))}};var Xa={},Ya=function(a,b){Xa[a]=Xa[a]||[];Xa[a][b]=!0},Za=function(){delete Xa.GA4_EVENT},$a=function(a){var b=Xa[a];if(!b||0===b.length)return"";for(var c=[],d=0,e=0;e<b.length;e++)0===e%8&&0<e&&(c.push(String.fromCharCode(d)),d=0),b[e]&&(d|=1<<e%8);0<d&&c.push(String.fromCharCode(d));return Va(c.join("")).replace(/\.+$/,"")};var ab=Array.prototype.indexOf?function(a,b){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,cb=function(){if(void 0===bb){var a=null,b=ma.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:na,createScript:na,createScriptURL:na})}catch(c){ma.console&&ma.console.error(c.message)}bb=a}else bb=a}return bb};var eb=function(a,b){this.h=b===db?a:""};eb.prototype.toString=function(){return this.h+""};var db={};var fb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;function gb(){var a=ma.navigator;if(a){var b=a.userAgent;if(b)return b}return""}function hb(a){return-1!=gb().indexOf(a)};function ib(){return hb("Firefox")||hb("FxiOS")}function jb(){return(hb("Chrome")||hb("CriOS"))&&!hb("Edge")||hb("Silk")};var kb={},lb=function(a,b){this.h=b===kb?a:""};lb.prototype.toString=function(){return this.h.toString()};/*
35
36
SPDX-License-Identifier: Apache-2.0
37
*/
38
function mb(a,b){if(void 0!==a.tagName){if("script"===a.tagName.toLowerCase())throw Error("");if("style"===a.tagName.toLowerCase())throw Error("");}a.innerHTML=b instanceof lb&&b.constructor===lb?b.h:"type_error:SafeHtml"};function nb(a){var b=a=ob(a),c=cb(),d=c?c.createHTML(b):b;return new lb(d,kb)}function ob(a){return null===a?"null":void 0===a?"undefined":a};var pb={},A=window,D=document,qb=navigator,rb=D.currentScript&&D.currentScript.src,sb=function(a,b){var c=A[a];A[a]=void 0===c?b:c;return A[a]},tb=function(a,b){b&&(a.addEventListener?a.onload=b:a.onreadystatechange=function(){a.readyState in{loaded:1,complete:1}&&(a.onreadystatechange=null,b())})},ub={async:1,nonce:1,onerror:1,onload:1,src:1,type:1},vb={onload:1,src:1,width:1,height:1,style:1};function wb(a,b,c){b&&l(b,function(d,e){d=d.toLowerCase();c.hasOwnProperty(d)||a.setAttribute(d,e)})}
39
var xb=function(a,b,c,d,e){var f=D.createElement("script");wb(f,d,ub);f.type="text/javascript";f.async=!0;var g,k=ob(a),m=cb(),n=m?m.createScriptURL(k):k;g=new eb(n,db);f.src=g instanceof eb&&g.constructor===eb?g.h:"type_error:TrustedResourceUrl";var p,q,t,u=null==(t=(q=(f.ownerDocument&&f.ownerDocument.defaultView||window).document).querySelector)?void 0:t.call(q,"script[nonce]");(p=u?u.nonce||u.getAttribute("nonce")||"":"")&&f.setAttribute("nonce",p);tb(f,b);c&&(f.onerror=c);if(e)e.appendChild(f);
40
else{var r=D.getElementsByTagName("script")[0]||D.body||D.head;r.parentNode.insertBefore(f,r)}return f},yb=function(){if(rb){var a=rb.toLowerCase();if(0===a.indexOf("https://"))return 2;if(0===a.indexOf("http://"))return 3}return 1},zb=function(a,b,c,d,e){var f;f=void 0===f?!0:f;var g=e,k=!1;g||(g=D.createElement("iframe"),k=!0);wb(g,c,vb);d&&l(d,function(n,p){g.dataset[n]=p});f&&(g.height="0",g.width="0",g.style.display="none",g.style.visibility="hidden");if(k){var m=D.body&&D.body.lastChild||D.body||
...
</html>