(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 = []; if(window.bouncex && bouncex.push && bouncex.length){ pushedData = bouncex; } window.bouncex = {}; bouncex.pushedData = pushedData; bouncex.website = {"id":6982,"name":"Thigh Society | US","cookie_name":"bounceClientVisit6982","domain":"thighsociety.com","ct":"fp_local_storage","ally":0,"ei":0,"tcjs":"","cjs":"","force_https":false,"waypoints":false,"content_width":900,"gai":"","swids":"","sd":0,"ljq":"auto","campaign_id":0,"is_preview":false,"aco":{"first_party_limit":"3500","local_storage":"1"},"cmp":{"gdpr":0,"gmp":0,"whitelist_check":0},"burls":[],"ple":false,"fbe":true,"ffs":"","mas":2,"map":1,"gar":true,"ete":1,"ettm":false,"etjs":"/* ---------------------------- STANDARD VARIABLES ---------------------------- */\r\n\r\nvar CART_COOKIE_KEY = 'cart',\r\n CLEAN_URL = bouncex.utils.url.allowParams(),\r\n ROOT_DOMAIN = window.location.hostname.replace('www.', '');\r\n\r\n/* --------------------------------- CUSTOMIZATION VARIABLES -------------------------------- */\r\n\r\nvar soldOutItemsOnSite = true,\r\n pdpAtcSelector = 'form[action=\"/cart/add\"] button[type=\"submit\"], button[name=\"add\"]',\r\n quickAtcSelector = 'div[data-id] button, button.js-add-to-cart',\r\n outOfStockSelector = 'button.product-form__submit.button:contains(\"Sold Out\")';\r\n\r\n\r\n/* --------------------------------- CLIENT SPECIFIC FUNCTIONALITY -------------------------------- */\r\n\r\nvar CATALOG = false,\r\nQUICKVIEW = false,\r\nQUICKADD = false;\r\n/* --------------------------------- HELPERS -------------------------------- */\r\n\r\n// GENERATING ITEM ID FROM URL\r\nfunction getItemId(url){\r\n if (!url){\r\n return '';\r\n }\r\n\r\n return bouncex.utils.url.allowParams([], url).replace(/\\/$/g, '').split('/').pop();\r\n}\r\n\r\nfunction getGroupId(){\r\n return bouncex.utils.getNestedProp('ShopifyAnalytics.meta.product.id', '') ||\r\n bouncex.utils.getNestedProp('__st.rid', '');\r\n}\r\n\r\nfunction getItemCopy(){\r\n return jQuery('.shopify-section h1, h1.product__title').first().text().trim() || '';\r\n}\r\n\r\nfunction getItemCategory(){\r\n return bouncex.utils.getNestedProp('ShopifyAnalytics.meta.product.type') || 'Global';\r\n}\r\n\r\nfunction getItemImage(){\r\n var imgElement = jQuery('.slick-slide.slick-active[data-slick-index=\"0\"] .lazyloaded, .swiper-slide.swiper-slide-active img, .product-media__image-wrapper img'),\r\n imgUrl = jQuery(imgElement).attr('src') || jQuery(imgElement).attr('srcset');\r\n\r\n if (!imgUrl){\r\n return false;\r\n }\r\n\r\n imgUrl = bouncex.utils.url.allowParams([], imgUrl.replace(/\\s+/g, ''));\r\n\r\n if (imgUrl.indexOf('http') === -1){\r\n return 'https:' + imgUrl;\r\n }\r\n\r\n return imgUrl;\r\n}\r\n\r\nfunction getItemInStock(){\r\n if (!soldOutItemsOnSite){\r\n return true;\r\n }\r\n\r\n if (outOfStockSelector && jQuery(outOfStockSelector).length > 0){\r\n return false;\r\n }\r\n\r\n return jQuery(pdpAtcSelector).length > 0 ? jQuery(pdpAtcSelector).is(':visible') : true;\r\n}\r\n\r\nfunction getItemRating() {\r\n var el = document.querySelector('.jdgm-prev-badge__stars');\r\n if (el && el.dataset && el.dataset.score) {\r\n var score = parseFloat(el.dataset.score);\r\n if (!isNaN(score)) {\r\n return Math.round(score * 10) / 10; \r\n }\r\n }\r\n return null;\r\n}\r\n\r\n\r\n\r\n\r\n\r\n/* ------------------------------ ITEM TRACKING ----------------------------- */\r\nfunction getItem() {\r\n var windowTags = bouncex.utils.getNestedProp('window.__NUXT__.data[0].product.tags', []);\r\n var rating = getItemRating();\r\n\r\n // Only include rating if it's 4 or above\r\n if (typeof rating !== 'number' || rating < 4) {\r\n rating = '';\r\n }\r\n\r\n return {\r\n id: getItemId(CLEAN_URL),\r\n copy: getItemCopy(),\r\n category: getItemCategory(),\r\n url: CLEAN_URL,\r\n imageurl: getItemImage(),\r\n instock: getItemInStock(),\r\n stars: rating,\r\n };\r\n}\r\n\r\n\r\n\r\n\r\nfunction fireViewItem(id, groupId) {\r\n var pushItem = { 'item:id': id };\r\n\r\n if (groupId) {\r\n pushItem['item:itemgroupid'] = groupId;\r\n }\r\n bouncex.push(['view item', pushItem]);\r\n}\r\n\r\nfunction initializeItemEvents() {\r\n var item;\r\n\r\n bouncex.et.onTrue(\r\n function () {\r\n item = getItem();\r\n return !!item.id &&\r\n !!item.copy &&\r\n !!item.category &&\r\n !!item.url &&\r\n !!item.imageurl;\r\n },\r\n function () {\r\n if (item.url.indexOf('gift-card') > -1) {\r\n return;\r\n }\r\n bouncex.push(['item', item]);\r\n\r\n if (CATALOG){\r\n item.groupId = item.id;\r\n initializeSkuEvents(item.id, item.groupId);\r\n }\r\n\r\n fireViewItem(item.id, item.groupId);\r\n initializeATCClickTracking();\r\n },\r\n 10\r\n );\r\n}\r\n\r\n/* ------------------------------ SKU TRACKING ------------------------------ */\r\n\r\nfunction getSku() {\r\n return bouncex.utils.url.getParam('variant', window.location.href) ||\r\n bouncex.utils.getNestedProp('ShopifyAnalytics.meta.selectedVariantId') ||\r\n jQuery('input[name=\"id\"]').val();\r\n}\r\n\r\nfunction initializeSkuEvents(itemId, groupId) {\r\n var allVariantsSelector = '.product-option__label, .option-value, button[data-product-option], .Swatch, input[data-variant-id]',\r\n minVariants = 2, // minimum number of variants required to trigger select_sku on page load\r\n lastSkuFired,\r\n skuId;\r\n\r\n\r\n if (jQuery(allVariantsSelector).length <= minVariants){\r\n skuId = getSku();\r\n if (skuId){\r\n fireSelectSku(itemId, groupId, skuId);\r\n }\r\n return;\r\n }\r\n\r\n bouncex.et.on(\r\n bouncex.document,\r\n 'click.bxsku',\r\n function () {\r\n bouncex.et.onTrue(function () {\r\n skuId = getSku();\r\n return skuId && skuId !== lastSkuFired;\r\n }, function () {\r\n fireSelectSku(itemId, groupId, skuId);\r\n lastSkuFired = skuId;\r\n }, 5);\r\n },\r\n allVariantsSelector\r\n );\r\n}\r\n\r\nfunction fireSelectSku(itemId, groupId, skuId){\r\n bouncex.push([\r\n 'select_sku',\r\n {\r\n 'item:id': itemId,\r\n 'item:itemgroupid': groupId,\r\n 'item:feedid': skuId\r\n }\r\n ]);\r\n}\r\n\r\n/* ---------------------------- CATEGORY TRACKING --------------------------- */\r\n\r\nfunction getItemIdsCat(){\r\n var ids = [];\r\n\r\n jQuery('#MainContent div[class*=\"product\"] a[href], ul.flex.gap-20 li a.items-center').each(function () {\r\n var itemUrl = jQuery(this).attr('href') || '',\r\n id = getItemId(itemUrl);\r\n\r\n if (id && ids.indexOf(id) < 0) {\r\n ids.push(id);\r\n }\r\n });\r\n\r\n return ids.join(',');\r\n}\r\n\r\nfunction getCategoryObject() {\r\n return {\r\n 'page:url': bouncex.utils.url.allowParams('q'),\r\n 'items:ids': getItemIdsCat()\r\n };\r\n}\r\n\r\nfunction initializeCategoryEvents() {\r\n var categoryObj;\r\n\r\n bouncex.et.onTrue(\r\n function () {\r\n categoryObj = getCategoryObject();\r\n return !!categoryObj['items:ids'].length &&\r\n !!categoryObj['page:url'];\r\n },\r\n function () {\r\n bouncex.push(['view category', categoryObj]);\r\n },\r\n 10\r\n );\r\n}\r\n\r\n/* ------------------------------- QUICKVIEW ------------------------------ */\r\n\r\n\r\nfunction initializeQuickviewEvents(){\r\n var QUICKVIEW_SELECTOR = ''; // should select the quickview wrapper\r\n bouncex.et.onVisible(QUICKVIEW_SELECTOR, function(){\r\n var itemId = '', // should evaluate to itemId\r\n groupId = ''; // should evaluate to groupId - ShopifyAnalytics.meta.product.id likely wont work here\r\n\r\n if (itemId && groupId){\r\n fireViewItem(itemId, groupId);\r\n initializeATCClickTracking();\r\n }\r\n });\r\n}\r\n\r\n/* ------------------------------- CART EVENTS ------------------------------ */\r\n\r\nfunction fireAddToCart(itemId) {\r\n var token;\r\n\r\n bouncex.et.onTrue(\r\n function () {\r\n token = bouncex.getBounceCookie(CART_COOKIE_KEY);\r\n return token;\r\n },\r\n function () {\r\n bouncex.push([\r\n 'add to cart',\r\n {\r\n 'item:id': itemId,\r\n 'cart:token': token\r\n }\r\n ]);\r\n\r\n if (bouncex.vars.cart) {\r\n return;\r\n }\r\n\r\n bouncex.setVar('cart', true);\r\n },\r\n 10\r\n );\r\n}\r\n\r\nfunction initializeATCClickTracking() {\r\n bouncex.et.on(bouncex.document, 'click.bxatc', function () {\r\n var itemId = getItemId(bouncex.utils.url.allowParams());\r\n if (itemId) {\r\n fireAddToCart(itemId);\r\n }\r\n }, pdpAtcSelector);\r\n}\r\n\r\nfunction initializeQuickAddToCart(){\r\n bouncex.et.on(bouncex.document, 'click.bxatc', function () {\r\n var prodContainer = jQuery(this).closest('div[data-product-id], form[action=\"/cart/add\"]'),\r\n prodUrl = prodContainer.find('a').attr('href') || '',\r\n itemId = getItemId(prodUrl);\r\n if (itemId){\r\n fireAddToCart(itemId);\r\n }\r\n }, quickAtcSelector);\r\n}\r\n\r\nfunction emptyCart() {\r\n bouncex.et.onVarChange('cart_qty', function (oldVal, newVal) {\r\n if (bouncex.vars.cart && newVal === 0 && oldVal > 0) {\r\n bouncex.push(['empty_cart']);\r\n bouncex.setVar('cart', false);\r\n }\r\n });\r\n}\r\n\r\nfunction initializeCartEvents() {\r\n bouncex.et.cart.init({\r\n replenishmentType: 'cookie',\r\n replenish: function (cart) {\r\n bouncex.utils.cookies.create({\r\n name: CART_COOKIE_KEY,\r\n value: cart.token\r\n });\r\n replenComplete();\r\n }\r\n });\r\n\r\n\r\n function replenComplete() {\r\n window.location.href = CLEAN_URL + '?bx_replen=true';\r\n }\r\n\r\n emptyCart();\r\n}\r\n\r\n/* ------------------------------ USER TRACKING ----------------------------- */\r\n\r\nfunction getUserEmail(){\r\n\tvar pixelScriptText = jQuery('#web-pixels-manager-setup').text(),\r\n\t\temailPattern = /[\\w.-]+@[\\w.-]+\\.[\\w]+/,\r\n\t\temailMatch = pixelScriptText.match(emailPattern) || [];\r\n\r\n\treturn emailMatch[0];\r\n}\r\n\r\nfunction initializeUserTracking() {\r\n if (!bouncex.vars.logged_in || !!bouncex.vars.logged_in_identified) {\r\n return;\r\n }\r\n\r\n var userEmail;\r\n\r\n bouncex.et.onTrue(\r\n function () {\r\n userEmail = getUserEmail();\r\n return bouncex.utils.validate.email(userEmail);\r\n },\r\n function () {\r\n bouncex.push([\r\n 'user',\r\n {\r\n 'email': userEmail,\r\n 'source': 'LoggedIn'\r\n }\r\n ]);\r\n bouncex.setVar('logged_in_identified', true);\r\n },\r\n 5\r\n );\r\n}\r\n\r\n/* --------------------------- INITIALIZE TRACKING -------------------------- */\r\n\r\nfunction isValidDomain() {\r\n if (!bouncex.vars.location_path){\r\n return ROOT_DOMAIN === bouncex.website.domain;\r\n }\r\n\r\n return ROOT_DOMAIN === bouncex.website.domain && window.location.pathname.indexOf(bouncex.vars.location_path) > -1;\r\n}\r\n\r\nfunction isEn() {\r\n return bouncex.html.attr('lang') === 'en';\r\n}\r\n\r\nfunction isUS() {\r\n\treturn bouncex.state.geo.country_code === 'US';\r\n}\r\n\r\nfunction isValidForTracking() {\r\n return isValidDomain() && isEn() && isUS();\r\n}\r\n\r\nfunction init() {\r\n if (!isValidForTracking()) {\r\n return;\r\n }\r\n\r\n initializeUserTracking();\r\n initializeCartEvents();\r\n if (QUICKVIEW){\r\n initializeQuickviewEvents();\r\n }\r\n\r\n switch (bouncex.website.pts) {\r\n case 'category':\r\n case 'search':\r\n initializeCategoryEvents();\r\n if (QUICKADD){\r\n initializeQuickAddToCart();\r\n }\r\n break;\r\n case 'product':\r\n initializeItemEvents();\r\n break;\r\n default:\r\n break;\r\n }\r\n}\r\n\r\ninit();\r\n","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"}]]},"category":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"bouncex.utils.getNestedProp('ShopifyAnalytics.meta.page.pageType', '') === 'collection';"}]]},"checkout":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/checkouts/"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"bouncex.utils.getNestedProp('ShopifyAnalytics.meta.page.pageType', '') === 'home';"}]]},"product":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"bouncex.utils.getNestedProp('ShopifyAnalytics.meta.page.pageType', '') === 'product';"}]]},"search":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"bouncex.utils.getNestedProp('ShopifyAnalytics.meta.page.pageType', '') === 'searchresults';"}]]}},"els":{"skip_link":"[href=\"#MainContent\"]"},"vars":[{"name":"logged_in","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function () {\r\n if (bouncex.website.pts === 'checkout') {\r\n return jQuery('.breadcrumb__item--current:contains(\"Information\")').length > 0 ? jQuery('.logged-in-customer-information:visible').length > 0 : null;\r\n }\r\n\r\n return !!bouncex.utils.getNestedProp('ShopifyAnalytics.meta.page.customerId');\r\n})();","trigger":""},{"name":"ever_logged_in","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"bouncex.vars.logged_in || null;","trigger":""},{"name":"cart_qty","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"(function() {\n var count = 0,\n $linkToCart;\n\n if (bouncex.website.pts === 'checkout') {\n jQuery('#order-summary .product-thumbnail__quantity').each(function() {\n count += Number(jQuery(this).text());\n });\n return count;\n }\n $linkToCart = jQuery('[href=\"/cart\"], .cartTrigger, .CartTrigger, .cart-trigger, [data-cart-count]').first();\n\n if ($linkToCart.length > 0) {\n return Number($linkToCart.text().replace(/[^0-9.]/g, ''));\n }\n\n return Number(jQuery('[id^=\"shopify-section-header\"] [class*=cart]').first().text().replace(/[^0-9.]/g, ''));\n})();\n","trigger":""},{"name":"in_stock","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"bouncex.website.pts === 'product' && jQuery('button.product-form__submit.button:contains(\"Add to Cart\")').length > 0;","trigger":""},{"name":"submitted_onsite","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"(function(){\n var regex = /(thanks|thank you) for (subscribing|signing up)/i,\n url = window.location.href,\n ecapFormText = jQuery('#contact_form, #footer-newsletter-signup, footer form').first().text().trim() || jQuery('form').last().text(),\n subWindowPresence;\n if (!regex.test(ecapFormText) && jQuery('#shopify-section-newsletter').is(':visible')) {\n subWindowPresence = jQuery('button:contains(\"Submit\")').is(':visible')? false : true;\n }\n return url.indexOf('?customer_posted=true#contact_form') > -1 || regex.test(ecapFormText) || subWindowPresence || null;\n})();","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":"cookie_modal_present","polling":"all","persist":"no","page_types":[],"testmode":true,"default":"false","code":"null;","trigger":"pageload"},{"name":"page_type","polling":"none","persist":"no","page_types":[],"testmode":true,"default":"false","code":"bouncex.website.pts;","trigger":"pageload"},{"name":"attentive_visible","polling":"vars","persist":"no","page_types":[],"testmode":true,"default":"false","code":"jQuery('#attentive_overlay').length > 0;","trigger":"pageload"},{"name":"privy_visible","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('.privy-email-input').length > 0 ? true : false;","trigger":"pageload"},{"name":"wunderkind_submit_utm_source","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function() {\n\tvar utm_source = bouncex.utils.getParam('utm_source');\n\tif(utm_source) {\n \t\treturn utm_source;\n\t}\n\treturn null;\n})();","trigger":"pageload"},{"name":"wunderkind_submit_utm_medium","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function() {\n\tvar utm_medium = bouncex.utils.getParam('utm_medium');\n\tif(utm_medium) {\n \t\treturn utm_medium;\n\t}\n\treturn null;\n})();","trigger":"pageload"},{"name":"wunderkind_submit_utm_campaign","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function() {\n\tvar utm_campaign = bouncex.utils.getParam('utm_campaign');\n\tif(utm_campaign) {\n \t\treturn utm_campaign;\n\t}\n\treturn null;\n})();","trigger":"pageload"}],"dgu":"pixel.cdnwidget.com","dgp":false,"ba":{"enabled":0,"fbte":0},"biu":"wd.thighsociety.com","bau":"wd.thighsociety.com","beu":"wd.thighsociety.com","ibx":{"tjs":"","cjs":"","miw":0,"mibcx":1,"te":1,"cart_rep":{"get":"","set":""},"ulpj":{"bxid":"espemailid"},"cus":"","miw_exclude":"","enabled":1},"etjson":null,"osre":true,"osru":"wd.thighsociety.com/v1/osr/items","checkDfp":false,"gamNetwork":"","spa":1,"spatm":0,"preinit_cjs":"SinglePageApp.setCustomParams({\n shouldCheckSpa: function() {\n return !!window.ShopifyAnalytics && !!ShopifyAnalytics.meta && !!ShopifyAnalytics.meta.page && ShopifyAnalytics.meta.page.pageType === 'product';\n }\n});","crs":{"integrations":null,"pageCount":null},"mat":0,"math":0,"cpnu":"wd.thighsociety.com","dfpcms":0,"sms":{"optm":"","eventSharing":false,"shqId":"","enabled":0},"pde":true,"fmc":["AW","AI","AG","AR","BS","BB","BZ","BM","BO","BQ","BR","CA","KY","CL","CO","CR","CU","CW","DM","DO","EC","SV","GF","GL","GD","GT","GP","HT","HN","JM","MQ","MX","MS","NI","PA","PY","PE","PR","PM","MF","BL","KN","LC","VC","SX","SR","TT","US","UM","UY","VE","VG","VI"],"fme":true,"fmx":"","uid2":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":0,"devMode":0},"ga4_property_id":"249930977","ga4_measurement_id":"G-39SP08SMLY","tag_state_domain":"wd.thighsociety.com","tag_state_domain_enabled":true} ; 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":"b7bade5cb7e201b07e884028c1b99595","creativesBaseStyles":"a53944a2","gpsAuction":"bbb80866120d17013073bb6d284cbd6b","inbox":"80c5f44531fa694e643c58392143dd81","onsite":"c05f8c5551fa6b964660ad61916291c1","sms":"e39203556bab2366e56296ce42e974a7","websdk":"9a65ab96520f390bb65a5ecce3f5ef5a","website_campaigns_6982":"75a9149e5bee035f0e3026c410514dee"}; bouncex.push = function(pushData) { bouncex.pushedData.push(pushData); } var runtime = document.createElement('script'); runtime.setAttribute('src', '//wd.thighsociety.com/assets/smart-tag/versioned/runtime_c81e76ee00d795b1eebf8d27949f8dc5.br.js'); runtime.setAttribute('async', 'async'); bouncex.initializeTag = function() { var script = document.createElement('script'); script.setAttribute('src', '//wd.thighsociety.com/assets/smart-tag/versioned/main-v2_18c8cb8165058edabb46d64f3884ccc8.br.js'); script.setAttribute('async', 'async'); document.body.appendChild(script); var deviceGraphScript = document.createElement('script'); deviceGraphScript.setAttribute('src', '//wd.thighsociety.com/assets/smart-tag/versioned/cjs_min_c84323e2726f3e99b307ab7740c6434b.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(); }})();