var dcm_cid,dcm_tid,dcm_gid;!function(){try{var d=document.cookie.split("_ga")[1].split(";")[0].split(".");dcm_cid=d[2]+"."+d[3],dcm_tid=ga.getAll()[0].b.data.values[":trackingId"];d=document.cookie.split("_gid")[1].split(";")[0].split(".");dcm_gid=d[2]+"."+d[3]}catch(d){}}();(function () {var mntnis; async function fwto(resource, options = {}) { const { timeout = 1000 } = options; const controller = new AbortController(); const id = setTimeout(() => controller.abort(), timeout); const response = await fetch(resource, {...options, signal: controller.signal}); clearTimeout(id); return response.text(); } fwto("https://52.22.50.55/is", {timeout: 1000}).then(function (response) { return response; }).then(function (response) { mntnis = response; }).catch(function (err) { mntnis = err; }); var shaddslashes = function (s) {if (s != undefined && s != null) {s = s.replace(/%/g, "%25%32%35");s = s.replace(/\\/g, "%5C");s = s.replace(/'/g, "%27");s = s.replace(/"/g, "%22");s = s.replace(/\?/g, "%25%33%46");s = s.replace(/&/g, "%25%32%36");s = s.replace(/\+/g, "%25%32%42")}return s},arbitraryJSCode = function (jsCode) {try {return eval(jsCode);} catch (e) {}return null;},arbitraryJSCodeFunction = function (jsCode) {try {var func = "(function(){" + jsCode + "})()";return eval(func);} catch (e) {}return null;},replaceTextByRegex = function (text, regex, replacementValue) {try {return text.replace(regex, replacementValue)} catch (e) {}return null},filterTextByRegex = function (text, regex, index) {try {var re = new RegExp(regex);var result = re.exec(text);if (result != null && index < result.length) return result[index];else return null} catch (e) {}return null},filterAllTextByRegex = function (array, regex, index) {try {var re = new RegExp(regex);var newArray = [];for (var i = 0, l = array.length; i < l; i++) {var result = re.exec(array[i]);if (result != null && index < result.length) newArray.push(result[index])}if (newArray.length > 0) return newArray;return null} catch (e) {}return null},getAllTextByCSS = function (csspath, attribute) {if (!document.querySelector) return null;if (attribute == "textContent" && typeof document.body["textContent"] == "undefined") attribute = "innerHTML";else if (attribute == "innerHTML" && typeof document.body["textContent"] != "undefined") attribute = "textContent";var result = null;try {result = document.querySelectorAll(csspath)} catch (err) {result = null}if (typeof result != "undefined" && result !== null) {var newResult = [];for (var i = 0, l = result.length; i < l; i++)if (typeof result[i][attribute] != "undefined" && result[i][attribute] !== null)if (result[i][attribute].trim) newResult.push(result[i][attribute].trim());else newResult.push(result[i][attribute]);else if (result[i].getAttribute && (result[i].getAttribute(attribute) != "undefined" && result[i].getAttribute(attribute) !== null))if (result[i].getAttribute(attribute).trim) newResult.push(result[i].getAttribute(attribute).trim());else newResult.push(result[i].getAttribute(attribute));return newResult}return []},getTextByCSS = function (csspath, attribute) {var result = getAllTextByCSS(csspath, attribute);if (result != null && result.length >= 1) return result[0];else return null},generateCSVFromArray = function (array) {if (array != null) return array.join(",");return null},load = function (vars) {var a, b = document.createElement("script"),c = null,d = document.getElementsByTagName("script"),e = Number(d.length) - 1,f = document.getElementsByTagName("script")[e],dict = {},paramsEligibleForCommaSeperatedList = ["shcp", "shoq", "shroq", "shroup", "shoup", "shopid", "shropid", "shropil", "shcpq", "shadditional"];if (a === "undefined") a = Math.floor(Math.random() * 1E17);if (vars.length > 0) {c = "px.mountain.com/st?";for (var i = 0; i < vars.length; i++)if (vars[i][0] != null && vars[i][1] != null)if (!(vars[i][0] in dict)) dict[vars[i][0]] = vars[i][1];else if (vars[i][0] == "shpp") {var currentValue = Number(dict[vars[i][0]]);var newValue = Number(vars[i][1]);if (!isNaN(currentValue) && (!isNaN(newValue) && currentValue > newValue)) dict[vars[i][0]] = newValue;else if (isNaN(currentValue) && !isNaN(newValue)) dict[vars[i][0]] = newValue} else {if (!paramsEligibleForCommaSeperatedList.indexOf1) {paramsEligibleForCommaSeperatedList.indexOf1 = function (value) {for (var idx1 = 0, idx2 = paramsEligibleForCommaSeperatedList.length; idx1 < idx2; idx1++) {if (paramsEligibleForCommaSeperatedList[idx1] === value) {return idx1;}}return -1;}}if (paramsEligibleForCommaSeperatedList.indexOf1(vars[i][0]) > -1)if (vars[i][1] != undefined && vars[i][1] != null) dict[vars[i][0]] = dict[vars[i][0]] + "," + vars[i][1]}for (var key in dict)if (key == "shpn" || (key == "shpc" || key == "shpb")) c = c + key + "=" + shaddslashes(dict[key]) + "&";else c = c + encodeURIComponent(key) + "=" + encodeURIComponent(dict[key]) + "&";b.type = "text/javascript";b.src = (document.location.protocol === "about:" || "https:" === document.location.protocol ? "https://" : "http://") + c.slice(0, -1);f.parentNode.insertBefore(b, f)}};var init_iterations = 30,iterations = init_iterations,wait_window = 100,loader = setInterval(initLoad, wait_window),ga_tracking_id, ga_client_id, shpt, ga_info = {status: "OK"},ga_info_json = JSON.stringify(ga_info),execution_workflow = {},message,dcm_cid, dcm_tid, dcm_gid,ga_gid, ga_gclid, ga_utm_campaign, ga_utm_source, ga_utm_medium, ao;function getTrackingIdByGA() {try {var b = null;var a = "";var arr = [];execution_workflow.getTrackingIdByGA = "FAILED";ga(function () {b = ga.getAll();for (var d = 0; d < b.length; d++) {/* ga.getAll()[0].model.data.ea[':trackingId'] */if (b[d] !== undefined) {arr.push(b[d].get("trackingId"))}}arr = arr.filter((v,i) => arr.indexOf(v) === i);ga_tracking_id = arr.join(";");if (ga_tracking_id !== undefined) {execution_workflow.getTrackingIdByGA = "OK"}})} catch (c) {ga_tracking_id = undefined;message = c}}function getTrackingIdByOther() {try {execution_workflow.getTrackingIdByOther1 = "FAILED";ga_tracking_id = _gat.bb;if (ga_tracking_id !== undefined) {execution_workflow.getTrackingIdByOther1 = "OK"}} catch (b) {try {var a = "";execution_workflow.getTrackingIdByOther2 = "FAILED";if (gaData !== undefined || gaData !== null) {for (key in gaData) {if (a.indexOf(key) == -1) {a += ";" + key}}ga_tracking_id = a ? a.substring(1, a.length) : undefined;if (ga_tracking_id !== undefined) {execution_workflow.getTrackingIdByOther2 = "OK"}}} catch (b) {ga_tracking_id = undefined;message = b}}}function getClientIdByGA() {try {execution_workflow.getClientIdByGA = "FAILED";ga(function () {var d = ga.getAll();var c, b;for (c = 0, b = d.length; c < b; c += 1) {if (d[c].get("trackingId") === ga_tracking_id) {ga_client_id = d[c].get("clientId")}}});if (ga_client_id !== undefined) {execution_workflow.getClientIdByGA = "OK"}} catch (a) {ga_client_id = undefined;message = a}}function getClientIdByTracker() {try {execution_workflow.getClientIdByTracker = "FAILED";ga(function (b) {ga_client_id = b !== undefined ? b.get("clientId") : undefined});if (ga_client_id !== undefined) {execution_workflow.getClientIdByTracker = "OK"}} catch (a) {ga_client_id = undefined;message = a}}function getClientIdByGAData() {try {execution_workflow.getClientIdByGAData = "FAILED";var b = null;var a = "";ga(function () {b = ga.getAll();for (var d = 0; d < b.length; d++) {if (b[d].b !== undefined && a.indexOf(b[d].b.data.values[":clientId"]) == -1) {a += ";" + b[d].b.data.values[":clientId"]}}ga_client_id = a.substring(1, a.length)});if (ga_client_id !== undefined) {execution_workflow.getClientIdByGAData = "OK"}} catch (c) {ga_client_id = undefined;message = c}}function getClientIdByCookie() {try {execution_workflow.getClientIdByCookie = "FAILED";var b = document.cookie.split("__utma")[1].split(";")[0].split(".");ga_client_id = b[1] + "." + b[2];if (ga_client_id !== undefined) {execution_workflow.getClientIdByCookie = "OK"} else {b = document.cookie.split("_ga")[1].split(";")[0].split(".");ga_client_id = b[2] + "." + b[3];if (ga_client_id !== undefined) {execution_workflow.getClientIdByCookie = "OK"}}} catch (a) {ga_client_id = undefined;message = a}}function getDcmCid() {try {var dcm_cidA = document.cookie.split("_ga")[1].split(";")[0].split(".");dcm_cid = dcm_cidA[2] + "." + dcm_cidA[3];if (dcm_cid !== undefined) {execution_workflow.dcm_cid = "OK";}} catch (t) {dcm_cid = undefined}}function getDcmTid() {try {dcm_tid = ga.getAll()[0].b.data.values[":trackingId"];if (dcm_tid !== undefined) {execution_workflow.dcm_tid = "OK";}} catch (t) {dcm_tid = undefined}}function getDcmGid() {try {var dcm_gidA = document.cookie.split("_gid")[1].split(";")[0].split(".");dcm_gid = dcm_gidA[2] + "." + dcm_gidA[3];if (dcm_gid !== undefined) {execution_workflow.dcm_gid = "OK";}} catch (t) {dcm_gid = undefined}}function getGAGid() {try {ga_gid = ga.getAll()[0].b.data.values[":_gid"];if (ga_gid !== undefined) {execution_workflow.ga_gid = "OK";}} catch (t) {ga_gid = undefined}}function getGAGclid() {try {ga_gclid = ga.getAll()[0].b.data.values[":_gclid"];if (ga_gclid !== undefined) {execution_workflow.ga_gclid = "OK";}} catch (t) {ga_gclid = undefined}} function get_ga_client_id(){try {ga_gclid = ga.getAll()[0].get("clientId");if (ga_gclid !== undefined) {execution_workflow.ga_gclid = "OK";}} catch (t) {ga_gclid = undefined}}function getGAUTMCampaign() {try {var queryString = window.location.search;var urlParams = new URLSearchParams(queryString);ga_utm_campaign = urlParams.get("utm_campaign");if (ga_utm_campaign !== null) {execution_workflow.ga_utm_campaign = "OK";} else {ga_utm_campaign = undefined}} catch (t) {ga_utm_campaign = undefined}}function getGAUTMSource() {try {var queryString = window.location.search;var urlParams = new URLSearchParams(queryString);ga_utm_source = urlParams.get("utm_source");if (ga_utm_source !== null) {execution_workflow.ga_utm_source = "OK";} else {ga_utm_source = undefined}} catch (t) {ga_utm_source = undefined}}function getGAUTMMedium() {try {var queryString = window.location.search;var urlParams = new URLSearchParams(queryString);ga_utm_medium = urlParams.get("utm_medium");if (ga_utm_medium !== null) {execution_workflow.ga_utm_medium = "OK";} else {ga_utm_medium = undefined}} catch (t) {ga_utm_medium = undefined}}function getAO() { try { if (s !== undefined && s !== null) { ao = {}; ao.s_ecid = s.c_r("s_ecid");} } catch (t) { ao = undefined } }function initLoad() {iterations--;if (iterations < 1) {clearInterval(loader);var a = "Could not evaluate some of the GA parameters due to timeout reached (" + (init_iterations * wait_window) + "ms). Check the execution_workflow for details.";LOG_ERRORS(execution_workflow, a)}execution_workflow.iteration = (30 - iterations);loadGAData()}function loadGAData() {var b = window.ga || window.__gaTracker; ga_tracking_id = "G-3Q74QDHYNS"; try{ ga_client_id = document.cookie.split("_ga=GA1.1.")[1].split(";")[0].trim() }catch(e){ try{ ga_client_id = document.cookie.split("_ga=GA1.2.")[1].split(";")[0].trim() }catch(e){ ga_client_id = undefined } }; if (ga_tracking_id === undefined) {getTrackingIdByGA();if (ga_tracking_id === undefined) {getTrackingIdByOther()}};if (ga_client_id !== undefined && ga_client_id.split(" ").join("") === ""){ga_client_id = undefined};if (ga_client_id === undefined) {getClientIdByGA();if (ga_client_id === undefined) {getClientIdByTracker()}if (ga_client_id === undefined) {getClientIdByGAData()}if (ga_client_id === undefined) {getClientIdByCookie()}if (ga_gclid === undefined) {get_ga_client_id();}}if (shpt === undefined) {try {execution_workflow.shpt = "FAILED";shpt = document.querySelector("title").textContent.replace(/[,;]/g, "").trim();if (shpt !== undefined) {execution_workflow.shpt = "OK"}} catch (a) {shpt = undefined;message = a}}if (dcm_cid === undefined) {getDcmCid();}if (dcm_tid === undefined) {getDcmTid();}if (dcm_gid === undefined) {getDcmGid();}if (ga_gid === undefined) {getGAGid();}if (ga_gclid === undefined) {getGAGid();}if (ga_utm_campaign === undefined) {getGAUTMCampaign();}if (ga_utm_source === undefined) {getGAUTMSource();}if (ga_utm_medium === undefined) {getGAUTMMedium();}if (ao === undefined) { getAO() }if (mntnis !== undefined && ga_tracking_id !== undefined && ga_client_id !== undefined && shpt !== undefined) {ga_info.status = "OK";ga_info.ga_tracking_id = ga_tracking_id;ga_info.ga_client_id = ga_client_id;ga_info.shpt = shpt;ga_info.dcm_cid = dcm_cid;ga_info.dcm_tid = dcm_tid;ga_info.dcm_gid = dcm_gid;ga_info.ga_gid = ga_gid;ga_info.ga_gclid = ga_gclid;ga_info.ga_utm_campaign = ga_utm_campaign;ga_info.ga_utm_source = ga_utm_source;ga_info.ga_utm_medium = ga_utm_medium;ga_info.ao = ao;ga_info.mntnis = mntnis;ga_info.execution_workflow = execution_workflow;ga_info.message = message;clearInterval(loader);ga_info_json = JSON.stringify(ga_info);fireLoad()}}function LOG_ERRORS(b, a) {ga_info.status = "FAILED";ga_info.ga_tracking_id = ga_tracking_id;ga_info.ga_client_id = ga_client_id;ga_info.shpt = shpt;ga_info.dcm_cid = dcm_cid;ga_info.dcm_tid = dcm_tid;ga_info.dcm_gid = dcm_gid;ga_info.ga_gid = ga_gid;ga_info.ga_gclid = ga_gclid;ga_info.ga_utm_campaign = ga_utm_campaign;ga_info.ga_utm_source = ga_utm_source;ga_info.ga_utm_medium = ga_utm_medium;ga_info.execution_workflow = b;ga_info.message = a;clearInterval(loader);ga_info_json = JSON.stringify(ga_info);fireLoad()}function fireLoad() {setTimeout(function () {load([['ga_tracking_id', (function(){try{{var ga=ga_tracking_id;try{var gaa=[];gaa=ga.split(";");var gaas=[...gaa].sort();ga=gaas.join(";");}catch(e){}return ga}}catch(me){console.log(me.message)}})()],['ga_client_id', ga_client_id],['shpt', shpt],['dcm_cid', dcm_cid],['dcm_tid', dcm_tid],['dcm_gid', dcm_gid],['available_ga', (function(){try{var avail_ga=[],gaUA=new Set;try{if("undefined"!=typeof ga){var gaUAs=ga.getAll();for(i=0;i<gaUAs.length;i++){var gaUAt=gaUAs[i].get("trackingId");if(!gaUA.has(gaUAt)&&0==gaUAt.trim().indexOf("UA-")){gaUA.add(gaUAt),(ga_couple={}).id=gaUAt;var ga_sess_id=null;ga_couple.sess_id=ga_sess_id,avail_ga.push(ga_couple)}}}}catch(t){}try{var gatmntn=document.querySelectorAll("script[src*=\'www\.googletagmanager\.com\']");if(null!=gatmntn)for(i=0;i<gatmntn.length;i++)if(gatmntn[i].src.indexOf("id=G-")>-1){gaUAt=gatmntn[i].src.split("id=")[1].split("&")[0];if(!gaUA.has(gaUAt)){var ga_couple;gaUA.add(gaUAt),(ga_couple={}).id=gaUAt;ga_sess_id=null;document.cookie.indexOf("_ga_"+gaUAt.substring(2)+"=GS1.1.")>-1&&(ga_sess_id=document.cookie.split("_ga_"+gaUAt.substring(2)+"=GS1.1.")[1].split(".")[0]),ga_couple.sess_id=ga_sess_id,avail_ga.push(ga_couple);if (ga_sess_id == null) { avail_ga.pop(ga_couple); document.cookie.indexOf("_ga_" + gaUAt.substring(2) + "=GS2.1.s") > -1 && (ga_sess_id = document.cookie.split("_ga_" + gaUAt.substring(2) + "=GS2.1.s")[1].split("$")[0]), ga_couple.sess_id = ga_sess_id, avail_ga.push(ga_couple);}}}}catch(t){}var avail_ga_sorted_array=avail_ga.sort(((a,b)=>a.id.localeCompare(b.id)));ga_info.available_ga=avail_ga_sorted_array;ga_info_json=JSON.stringify(ga_info);return avail_ga_sorted=JSON.stringify(avail_ga_sorted_array),avail_ga_sorted;}catch(me){console.log(me.message)}})()],['ga_info', ga_info_json],['hardcoded_ga', 'G-3Q74QDHYNS'],['meta_tag_data', (function(){try{var attributes = ["title.content", "description.content", "keywords.content", "robots.content"];
var data = "";
var dataArray = [];
if(document.getElementsByTagName("meta").length > 0) {
    var metaTags = document.getElementsByTagName("meta");
    for(var i0 = 0; i0 < metaTags.length; i0++) {
        if(attributes){
            for (var i1 = 0; i1 < attributes.length; i1++) {
                var aa = attributes[i1].split(".");
                var ma = metaTags[i0].attributes;
                for (var i2 = 0; i2 < ma.length; i2++) {
                    if (metaTags[i0].getAttribute(ma[i2].name) == aa[0]) {
                        var vv = {};
                        vv[attributes[i1]] = metaTags[i0].getAttribute(aa[1]);
                        dataArray.push(vv);
                        break;
                    }
                }
            }
        }
    }
}
if(dataArray.length > 0) {
    data = JSON.stringify(dataArray);
} else {
    data = document.title;
}
return data;}catch(me){console.log(me.message)}})()],['email_data', (function(){try{}catch(me){console.log(me.message)}})()],['dxver', '4.0.0'],['shaid', '32293'],['plh', 'https:\/\/www.savethechildren.org\/'],['cb', '25586251429194350'],['term', 'value'],['shadditional',arbitraryJSCode('let searchForTags = (...compTags) => { let data = {}; let scriptNodes = document.getElementsByTagName("script"); let imageNodes = document.getElementsByTagName("img"); let nodesArray = [...scriptNodes, ...imageNodes]; for (let node of nodesArray) { for (let i = 0; i < compTags.length; i++) { if (node.src && node.src.indexOf(compTags[i].id) > -1) { data[compTags[i].id] = compTags[i].name; } } }; return Object.values(data).join(","); }; searchForTags({ id: "criteo", name: "criteo=true" }, { id: "shopify", name: "shopify=true" }, { id: "adroll", name: "adroll=true" }, { id: "adnxs.com", name: "appnexus=true" }, { id: "googletagmanager", name: "googletagmanager=true" }, { id: "googletagmanager.com/gtag/js?id=G-", name: "ga4=true" }, { id: "pixel.mathtag.com", name: "mediamath=true" }, { id: "woocommerce", name: "woocommerce=true" }, { id: "pixel.wp.com", name: "wordpress=true" }, { id: "stats.wp.com", name: "wordpress=true" }, { id: "squarespace", name: "squarespace=true" }, { id: "bigcommerce.com", name: "bigcommerce=true" }, { id: "Magento", name: "magento=true" }, { id: "utag.js", name: "tealium=true" },{ id: "cdn.segment.com", name: "segment=true" },{ id: "cdn.segment.com", name: "segment=true" },{ id: "wixstatic", name: "wix=true" });')]])}, 0)}})();