(function() { function bxBootstrap() { var re = /bot|crawl|slurp|spider|mediapartners|headlesschrome|snap-prefetch|remotasks|woorank|uptime\.com|facebookexternalhit|facebookcatalog/i; if (re.test(navigator.userAgent) || navigator.userAgent == '') { return; } if (!(window.bouncex&&bouncex.website)) { var pushedData = []; var pushedClientEvents = []; if(window.bouncex && bouncex.push && bouncex.length){ pushedData = bouncex; } if (window.bouncex && bouncex.clientEvents && bouncex.clientEvents.length) { pushedClientEvents = bouncex.clientEvents; } window.bouncex = {}; bouncex.pushedData = pushedData; bouncex.pushedClientEvents = pushedClientEvents; bouncex.website = {"id":7265,"name":"Shutterfly","cookie_name":"bounceClientVisit7265","domain":"shutterfly.com","ct":"multi_cookie","ally":0,"ei":0,"tcjs":"","cjs":"/* enable.feature.DISABLE_IOS_ABSOLUTE */\n\n/* SOTEC-9794 */\nvar countries = [ 'US' ];\nwindow.wunderkind.sdk.addGeos(countries);\n","force_https":false,"waypoints":false,"content_width":900,"gai":"","swids":"","sd":0,"ljq":"auto","campaign_id":0,"is_preview":false,"aco":{"first_party_limit":"10000","local_storage":"1"},"cmp":{"gdpr":0,"gmp":0,"whitelist_check":0},"burls":[],"ple":false,"fbe":true,"ffs":"ENABLE_ONSITE_IDENTITY","mas":2,"map":1,"gar":true,"ete":1,"ettm":false,"etjs":"/* ---------------------------- SHARED VARIABLES ---------------------------- */\n\nvar CLEAN_URL = bouncex.utils.url.allowParams();\n\n/* --------------------------------- HELPERS -------------------------------- */\n\nfunction getItemIdFromUrl(url){\n url = url ? bouncex.utils.url.allowParams([], url) : '';\n\n return url.split('/').pop();\n}\n\nfunction getItemInfoFromDL() {\n var itemInfo;\n\n for (let i = 0; i < window.dataLayer.length; i++) {\n e = window.dataLayer[i];\n\n if (e && e.event === 'view_item' && e.ecommerce && e.ecommerce.items) {\n e.ecommerce.items.forEach(item => {\n itemInfo = item;\n });\n break;\n }\n };\n\n return itemInfo;\n}\n\nfunction getGroupId() {\n return bouncex.utils.gtmLookup('ecommerce.items.0.spId');\n}\n\nfunction isExcluded(copy) {\n return (copy || '').toLowerCase().indexOf('your own') > -1;\n}\n\nfunction isPrintsPage() {\n return window.location.pathname.indexOf('prints/') > -1;\n}\n\nfunction isHolidayCard(url) {\n var url = (url || '').toLowerCase();;\n\n var holidayKeywords = [\n 'christmas-card',\n 'holiday-card',\n 'holiday-invitations',\n 'diwali-card',\n 'hanukkah-card',\n 'kwanzaa-card',\n 'new-years-card'\n ];\n\n var isHoliday = false;\n holidayKeywords.forEach(function(keyword) {\n if (CLEAN_URL.indexOf(keyword) > -1) {\n isHoliday = true;\n }\n });\n\n return isHoliday;\n}\n\n/* ------------------------------ ITEM TRACKING ----------------------------- */\n\nfunction getItem() {\n var item = getItemInfoFromDL(),\n copy = item.item_name;\n\n return {\n id: getItemIdFromUrl(CLEAN_URL),\n copy: copy,\n category: item.item_category || 'Global',\n url: CLEAN_URL,\n imageurl: item.item_thumbnail_url,\n instock: jQuery('#personalize-button').length > 0,\n price: jQuery('.PriceSection span').last().text().replace(/[^0-9.]/g, ''),\n excluded: isExcluded(copy),\n wedding: CLEAN_URL.indexOf('wedding') > -1,\n graduation: CLEAN_URL.indexOf('graduation') > -1,\n holiday: isHolidayCard(CLEAN_URL)\n };\n}\n\nfunction getPrintItem() {\n return {\n id: 'prints',\n copy: 'Prints',\n category: 'Prints',\n url: CLEAN_URL,\n imageurl: 'https://cdn-image.staticsfly.com/i/store/WF718029_Assets/WF718029_prints_3up_square_mweb.jpg?impolicy=resize&width=480',\n instock: true,\n excluded: false,\n wedding: CLEAN_URL.indexOf('wedding') > -1,\n graduation: CLEAN_URL.indexOf('graduation') > -1\n };\n}\n\nfunction fireViewItem(id) {\n var pushItem = {\n 'item:id': id\n };\n\n // SOTEC-12214: patch for when a user views a PDP in one tab and then starts a personalization flow in another tab for another item\n bouncex.setVar('view_event_id', id);\n bouncex.push(['view item', pushItem]);\n}\n\nfunction initializeItemEvents() {\n var item;\n\n bouncex.et.onTrue(\n function () {\n item = isPrintsPage() ? getPrintItem() : getItem();\n return !!item.id &&\n !!item.copy &&\n !!item.category &&\n !!item.url &&\n !!item.imageurl;\n },\n function () {\n if (item.url.indexOf('/gift-certificates') > -1) {\n return;\n }\n bouncex.push(['item', item]);\n item.groupId = getGroupId();\n\n if (!item.excluded && item.groupId) {\n fireViewItem(item.id); // sku-level tracking only\n initializeSkuEvents(item.id);\n }\n\n bouncex.setVar('last_viewed_id', item.id);\n },\n 10\n );\n}\n\n/* ------------------------------ SKU TRACKING ------------------------------ */\n\nfunction getSkuId() {\n var itemOptionSelected = bouncex.utils.gtmLookup('event') === 'item_option_selected',\n skuId = bouncex.utils.gtmLookup('ecommerce.items.0.item_productCode') || '';\n\n return itemOptionSelected && skuId;\n}\n\nfunction hasOneVariant() {\n var productOptions = jQuery('.ProductOption').length,\n variants = jQuery('a[role=\"option\"], [class=\"swatch\"], .listItems').length;\n\n return !productOptions || !variants || variants === productOptions;\n}\n\nfunction initializeSkuEvents(itemId) {\n var skuId = bouncex.vars.sku_id || bouncex.utils.gtmLookup('ecommerce.items.0.spvId');\n\n if (skuId) {\n fireSelectSku(itemId, skuId);\n\n }\n\n bouncex.et.onVarChange('sku_id', function (oldVal, newVal) {\n if (newVal) {\n fireSelectSku(itemId, newVal);\n }\n });\n}\n\n\nfunction fireSelectSku(itemId, skuId) {\n bouncex.push([\n 'select_sku',\n {\n 'item:id': itemId,\n 'item:feedid': skuId\n }\n ]);\n}\n\n/* ---------------------------- CATEGORY TRACKING --------------------------- */\n\nfunction getCatGroupId() {\n var groupId;\n\n for (let i = window.dataLayer.length - 1; i >= 0; i--) {\n e = window.dataLayer[i];\n\n if (e && e.event === 'quick_view_item' && e.ecommerce && e.ecommerce.items) {\n groupId = e.ecommerce.items[0].item_productCode;\n break;\n }\n };\n\n return groupId;\n}\n\nfunction initializeCategorySkuEvents() {\n var skuId;\n\n bouncex.et.onVarChange('category_item_id', function (oldVal, newVal) {\n skuId = bouncex.utils.gtmLookup('ecommerce.items.0.spvId');\n if (newVal && hasOneVariant()) {\n fireSelectSku(newVal, skuId);\n }\n });\n\n bouncex.et.onVarChange('category_sku_id', function (oldVal, newVal) {\n var id = bouncex.vars.category_item_id;\n\n if (id && newVal) {\n fireSelectSku(id, newVal);\n }\n });\n}\n\nfunction getItemIdsCat() {\n var ids = [];\n\n jQuery('.thumbnailcard a').each(function (i, e) {\n var id = getItemIdFromUrl(jQuery(e).attr('href'));\n\n if (id && ids.indexOf(id) < 0) {\n ids.push(id);\n }\n });\n\n return ids.join(',');\n}\n\nfunction getCategoryObject() {\n return {\n 'page:url': CLEAN_URL,\n 'items:ids': getItemIdsCat(),\n 'page:wedding': CLEAN_URL.indexOf('wedding') > -1,\n 'page:graduation': CLEAN_URL.indexOf('graduation') > -1\n };\n}\n\nfunction getPrintCategoryObject() {\n return {\n 'page:url': CLEAN_URL,\n 'items:ids': 'prints',\n 'page:wedding': CLEAN_URL.indexOf('wedding') > -1,\n 'page:graduation': CLEAN_URL.indexOf('graduation') > -1\n };\n}\n\nfunction initializeCategoryEvents() {\n var categoryObj;\n\n bouncex.et.onTrue(\n function () {\n categoryObj = isPrintsPage() ? getPrintCategoryObject() : getCategoryObject();\n return !!categoryObj['items:ids'].length &&\n !!categoryObj['page:url'];\n },\n function () {\n bouncex.log(categoryObj);\n bouncex.push(['view category', categoryObj]);\n },\n 2000\n );\n}\n\nfunction initializeQuickviewEvents(){\n bouncex.et.onVarChange('category_item_id', function (oldVal, newVal) {\n if (newVal) {\n fireViewItem(newVal);\n bouncex.setTimeout2(function(){\n bouncex.setVar('last_viewed_id', newVal);\n }, 2000);\n }\n });\n}\n\n/* ------------------------------- CART EVENTS ------------------------------ */\n\nfunction fireAddToCart(itemId) {\n bouncex.push(['add to cart', { 'item:id': itemId }]);\n\n if (bouncex.vars.cart) {\n return;\n }\n bouncex.setVar('cart', true);\n}\n\nfunction fireEmptyCart() {\n bouncex.push(['empty_cart']);\n bouncex.setVar('cart', false);\n}\n\nfunction emptyCart() {\n if (bouncex.website.pts === 'cart' && jQuery('.empty-cart-box').is(':visible')) {\n fireEmptyCart();\n }\n\n bouncex.et.onVarChange('cart_qty', function (oldVal, newVal) {\n if (bouncex.vars.cart && newVal === 0 && oldVal > 0) {\n fireEmptyCart();\n }\n });\n}\n\nfunction initializeCartEvents() {\n bouncex.et.cart.init({\n replenish: function () { },\n replenishmentType: 'single'\n });\n\n emptyCart();\n}\n\n/* ------------------------------ USER TRACKING ----------------------------- */\n\nfunction getUserEmail() {\n var authClientEmail = !!window._sflyAuthClient && !!_sflyAuthClient.currentUser && _sflyAuthClient.currentUser.email;\n\n return authClientEmail || bouncex.utils.getNestedProp('wunderkind.email') || bouncex.getBounceCookie('wkndEmail');\n}\nfunction initializeUserTracking() {\n if (!bouncex.vars.logged_in || !!bouncex.vars.logged_in_identified) {\n return;\n }\n\n var userEmail;\n\n bouncex.et.onTrue(\n function () {\n userEmail = getUserEmail();\n return bouncex.utils.validate.email(userEmail);\n },\n function () {\n bouncex.push([\n 'user',\n {\n 'email': userEmail,\n 'source': 'LoggedIn'\n }\n ]);\n bouncex.setVar('logged_in_identified', true);\n },\n 5\n );\n}\n\n/* ------------------------------ CUSTOM EVENTS ----------------------------- */\n\n/* Fires a cancel event for product abandonment when a user saves their project.\n Client will take over at this point with their personalized series\n*/\n\nfunction viewSpecialOffers() {\n if (CLEAN_URL.indexOf('special-offers') > -1) {\n bouncex.push(['view special offers',{}]);\n }\n}\n\nfunction parentCategory() {\n if (jQuery('[data-testid=\"shop-by-block-container\"], [role=\"listitem\"]').length > 0 && CLEAN_URL.indexOf('/create/builder') === -1) {\n bouncex.push(['view_parent_category', {'url': CLEAN_URL}]);\n }\n}\n\nfunction cancelProductAbandonment() {\n bouncex.et.onVisible('#save-tooltip [role=\"alert\"]', function(){\n if (!bouncex.vars.cancelled_prod_aband) {\n fireCancelEvent();\n }\n });\n}\n\nfunction fireCancelEvent() {\n bouncex.push(['cancel_prod_abandonment',{}]);\n bouncex.setVar('cancelled_prod_aband', true);\n}\n\n/* Fires when a user has added a personalized item */\nfunction initializePersonalizedItemEvent() {\n var id = bouncex.vars.last_viewed_id,\n viewEventId = bouncex.vars.view_event_id,\n img;\n\n bouncex.log('ids do not match, personalization event does not fire ', id !== viewEventId);\n\n if (window.location.pathname.indexOf('/cart/recommendations') > -1 && id) {\n bouncex.et.onTrue(\n function () {\n img = jQuery('#cart_icon_url_').find('img').attr('src');\n return !!img;\n },\n function () {\n fireAddedPersonalizedItemEvent(id, img);\n fireAddToCart(id);\n },\n 20\n );\n }\n}\n\nfunction fireAddedPersonalizedItemEvent(id, img) {\n bouncex.push(['added_personalized_item',\n {\n 'item:id': id,\n 'item:imageurl': img\n }]);\n}\n\nfunction trackPersonalizedFlow() {\n var id = bouncex.utils.url.getParam('category') === 'prints' ? 'prints' : bouncex.vars.last_viewed_id;\n\n bouncex.push(['start_personalized_flow',{}]);\n fireViewItem(id);\n}\n\n/* --------------------------- INITIALIZE TRACKING -------------------------- */\n\nfunction isValidDomain() {\n var excludedDomains = [\n 'stage.shutterfly',\n 'beta.shutterfly',\n 'dev.shutterfly',\n 'local.stage.shutterfly',\n 'local.beta.shutterfly',\n 'shutterfly-com.translate.goog'\n ];\n\n var isProd = CLEAN_URL.indexOf('www.shutterfly.com') > -1;\n var isExcluded = excludedDomains.some(domain => CLEAN_URL.indexOf(domain) > -1);\n\n return isProd && !isExcluded;\n}\n\nfunction isEn() {\n var lang = bouncex.html.attr('lang') || jQuery('html').attr('lang') || '';\n\n return /^en/.test(lang);\n}\n\nfunction isCorrectCountry(){\n return bouncex.state.geo.country_code === 'US';\n}\n\nfunction isValidForTracking() {\n return isValidDomain() && isEn() && isCorrectCountry();\n}\n\nfunction isAccountPage() {\n return window.location.pathname.indexOf('/myaccount') > -1;\n}\n\nfunction init() {\n if (!isValidForTracking()) {\n return;\n }\n\n initializeUserTracking();\n initializeCartEvents();\n viewSpecialOffers();\n\n /* SOTEC-10080 - tracking custom event called start_personalized_flow */\n if (CLEAN_URL.indexOf('/create/builder') > -1) {\n trackPersonalizedFlow();\n cancelProductAbandonment();\n }\n\n if (window.location.pathname.indexOf('/prints/') > -1) {\n initializeCategoryEvents();\n }\n\n if (!bouncex.website.pts) {\n parentCategory();\n }\n\n switch (bouncex.website.pts) {\n case 'category':\n case 'search':\n initializeCategoryEvents();\n initializeQuickviewEvents();\n initializeCategorySkuEvents();\n break;\n case 'product':\n initializeItemEvents();\n break;\n case 'cart':\n initializePersonalizedItemEvent();\n break;\n default:\n break;\n }\n}\n\ninit();","dge":true,"bxidLoadFirst":false,"pie":true,"cme":true,"gbi_enabled":0,"bpush":false,"pt":{"cart":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/cart"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"checkout"}]]},"category":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('.thumbnail_wrapper, #thumbnail-title-container').length > 0;"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/s/"}]]},"checkout":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"checkout"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"['/'].indexOf(window.location.pathname) > -1;"}]]},"product":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('.product-info, [data-testid=\"books-app\"], [data-testid=\"single-product-single-surface-app\"], .product-carousel-container').length > 0;"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"productCode="},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"prints/"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"ncp"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"pb"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"gc"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"sb"}]]},"search":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/s/"}]]}},"els":null,"vars":[{"name":"logged_in","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"['cart', 'checkout'].indexOf(bouncex.website.pts) > -1 ? true : jQuery('[aria-label=\"User Menu\"][data-linkname*=\"Hi\"], [aria-label*=\"Hi\"]').length > 0;","trigger":""},{"name":"ever_logged_in","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"bouncex.vars.logged_in || null;","trigger":""},{"name":"cart_qty","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"0","code":"Number(jQuery('.cart-count-icon, .cart-wrapper h1 span, .Sub-total span').first().text().replace(/[^0-9.]/g, ''));","trigger":""},{"name":"submitted_onsite","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"jQuery('.success-page').length > 0 || null;","trigger":""},{"name":"page_url","polling":"none","persist":"no","page_types":["category","search"],"testmode":true,"default":"false","code":"","trigger":""},{"name":"logged_in_identified","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"cart","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"page_type","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts;","trigger":"pageload"},{"name":"sku_id","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"(function(){\n var itemOptionSelected = bouncex.utils.gtmLookup('event') === 'item_option_selected',\n dlSkuId = bouncex.utils.gtmLookup('ecommerce.items.0.spvId') || '',\n skuId = bouncex.utils.url.getParam('spvId');\n\n return itemOptionSelected ? dlSkuId : skuId;\n})();","trigger":"pageload"},{"name":"last_viewed_id","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"category_sku_id","polling":"all","persist":"no","page_types":["category","search"],"testmode":false,"default":"false","code":"(function(){\n var skuId = jQuery('.qv-modal').is(':visible') && bouncex.utils.gtmLookup('event') === 'item_option_selected' && bouncex.utils.gtmLookup('ecommerce.items.0.spvId'),\n skuFromUrl = bouncex.utils.url.getParam('spvId', jQuery('.full-details').attr('href') || '');\n\n return skuId || skuFromUrl || false;\n})();","trigger":"pageload"},{"name":"cancelled_prod_aband","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"category_item_id","polling":"all","persist":"no","page_types":["category","search"],"testmode":false,"default":"false","code":"(function(){\n var link = jQuery('a.full-details').attr('href'),\n id = link ? bouncex.utils.url.allowParams([], link) : '';\n\n return (jQuery('.close-button[id*=\"qv\"]').attr('id') || '').replace('qv_', '').replace('undefined', '') || id.split('/').pop() || false;\n})();","trigger":"pageload"},{"name":"view_event_id","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"}],"dgu":"pixel.cdnwidget.com","dgp":false,"ba":{"enabled":0,"fbte":0},"biu":"assets.bounceexchange.com","bau":"api.bounceexchange.com","beu":"events.bouncex.net","ibx":{"tjs":"","cjs":"","miw":0,"mibcx":1,"te":1,"cart_rep":{"get":"","set":""},"ulpj":{"et_rid":"espemailid"},"cus":"","miw_exclude":"","enabled":1},"etjson":null,"osre":true,"osru":"osr.bounceexchange.com/v1/osr/items","checkDfp":false,"gamNetwork":"","spa":1,"spatm":0,"preinit_cjs":"SinglePageApp.setCustomParams({\n shouldCheckSpa: function() {\n return window.location.pathname.indexOf('/cart') > -1;\n }\n});\n\nSinglePageApp.setCustomParams({\n currentPageIdentifier: function() {\n return window.location.href;\n }\n});","crs":{"integrations":null,"pageCount":null},"mat":0,"math":0,"cpnu":"coupons.bounceexchange.com","dfpcms":0,"sms":{"optm":"","eventSharing":false,"shqId":"","enabled":0},"pde":true,"fmc":["US"],"fme":true,"fmx":"","uid2":false,"iiq":false,"sdk":{"android":{"enabled":false,"enabledVersions":[],"eventModifications":null},"ios":{"enabled":false,"enabledVersions":[],"eventModifications":null}},"onsite":{"enabled":1},"ads":{"enabled":0},"pubs":{"enabled":0},"websdk":{"enabled":1,"devMode":0},"ga4_property_id":"","ga4_measurement_id":"","tag_state_domain":"","tag_state_domain_enabled":false,"tag_state_sst_enabled":false} ; bouncex.tag = 'tag3'; bouncex.$ = window.jQuery; bouncex.env = 'production'; bouncex.restrictedTlds = {"casl":{"ca":1},"gdpr":{"ad":1,"al":1,"at":1,"ax":1,"ba":1,"be":1,"bg":1,"by":1,"xn--90ais":1,"ch":1,"cy":1,"cz":1,"de":1,"dk":1,"ee":1,"es":1,"eu":1,"fi":1,"fo":1,"fr":1,"uk":1,"gb":1,"gg":1,"gi":1,"gr":1,"hr":1,"hu":1,"ie":1,"im":1,"is":1,"it":1,"je":1,"li":1,"lt":1,"lu":1,"lv":1,"mc":1,"md":1,"me":1,"mk":1,"xn--d1al":1,"mt":1,"nl":1,"no":1,"pl":1,"pt":1,"ro":1,"rs":1,"xn--90a3ac":1,"ru":1,"su":1,"xn--p1ai":1,"se":1,"si":1,"sj":1,"sk":1,"sm":1,"ua":1,"xn--j1amh":1,"va":1,"tr":1}}; bouncex.client = { supportsBrotli: 1 }; bouncex.assets = {"ads":"9f337671edbbc7951b23421faa803ee6","creativesBaseStyles":"a53944a2","gpsAuction":"bbb80866120d17013073bb6d284cbd6b","inbox":"d6c8d32b386d0fba348241d2c8b6dbc7","onsite":"1238d00d70e4de87443df9eb69ff1a61","sms":"e39203556bab2366e56296ce42e974a7","websdk":"13f6b0f39e04cf863272873488f120ed","website_campaigns_7265":"09a318d4e1c5ff41a76abf0aebc7ec91"}; bouncex.push = function(pushData) { bouncex.pushedData.push(pushData); } var runtime = document.createElement('script'); runtime.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/runtime_c81e76ee00d795b1eebf8d27949f8dc5.br.js'); runtime.setAttribute('async', 'async'); bouncex.initializeTag = function() { var script = document.createElement('script'); script.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/main-v2_d55ae3e718f29536e3478f398e06ee00.br.js'); script.setAttribute('async', 'async'); document.body.appendChild(script); var deviceGraphScript = document.createElement('script'); deviceGraphScript.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/cjs_min_92abedfd1b9757a428bfcd7452d0081f.js'); deviceGraphScript.setAttribute('async', 'async'); var dgAttrs = [{"Key":"id","Value":"c.js"},{"Key":"async","Value":"true"},{"Key":"data-apikey","Value":"2^HIykD"},{"Key":"data-cb","Value":"bouncex.dg.initPostDeviceGraph"},{"Key":"data-bx","Value":"1"},{"Key":"data-gm","Value":"1"},{"Key":"data-fire","Value":"1"}]; if (dgAttrs) { for (var i = 0; i < dgAttrs.length; i++) { deviceGraphScript.setAttribute(dgAttrs[i].Key, dgAttrs[i].Value); } } document.body.appendChild(deviceGraphScript); bouncex.initializeTag = function() {}; }; runtime.onload = bouncex.initializeTag; document.body.appendChild(runtime); } } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", bxBootstrap); } else { bxBootstrap(); }})();