(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":1771,"name":"1800 Flowers","cookie_name":"bounceClientVisit1771","domain":"1800flowers.com","ct":"fp_local_storage","ally":0,"ei":1,"tcjs":"","cjs":"// GO: Remove historical single-tag cookie if it's present (wrike 169705130)\nif (bouncex.vars.bx_test && !jQuery.isEmptyObject(bouncex.getBounceCookie('bounceClientVisit1622'))) {\n bouncex.ibx._cookies.destroy('bounceClientVisit1622');\n}\n\nbouncex.report_ga = function(action, label, bypass){\n bypass = typeof(bypass)!='undefined' && !!bypass;\n if (typeof(action)!='string'||typeof(label)!='string') return;\n var interaction = false;\n // enforce case convention\n if (!bypass) {\n action = action.charAt(0).toUpperCase() + action.slice(1).toLowerCase();\n interaction = action=='Impression';\n action = 'Wunderkind ' + action;\n }\n /*if (typeof window.ga === 'function') {\n window.ga('fd_mbp.send','event','Wunderkind',action,label,{'nonInteraction':interaction});\n }*/\n \n if (window.utag !== undefined && window.utag.link !== undefined) {\n if(typeof window.utag.link === 'function'){\n window.utag.link({'event_category':'Wunderkind','event_action':action,'event_label':label, 'event_name': 'feature_interaction'});\n }\n }\n};\n\n\n\n\n/* https://www.wrike.com/open.htm?id=722345778 */\nif (window.location.pathname.indexOf('/passport-flowers') > -1) {\n jQuery('button.MuiButtonBase-root').each(function() {\n jQuery(this).on('click.bx', function() {\n bouncex.setv('passport_in_cart', true);\n jQuery(this).off('click.bx');\n });\n });\n}\n\n/* bugfix */\nbouncex.et.onVarChange('cart_item_img', function(oldVal, newVal) {\n bouncex.log('var change', oldVal, newVal);\n var bc = bouncex.getBounceCookie(),\n cookiedVar = bouncex.utils.getNestedProp('v.cart_item_img', false, bc);\n if (newVal && newVal !== cookiedVar) {\n bouncex.setTimeout2(function(){\n bouncex.log('%cBUGFIX', 'font-weight: bold; color: mediumslateblue;');\n bouncex.cookie.v.cart_item_img = newVal;\n bouncex.setBounceCookie();\n }, 1000);\n }\n});","force_https":false,"waypoints":false,"content_width":0,"gai":"UA-43044033-11","swids":"1767&1769&1770&1772&2586&2604","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":[{"prop":"regex_match","val":".+miso.saucelabs.com"},{"prop":"regex_match","val":".+tunnels.us-west-4-i3er.saucelabs.com"}],"ple":false,"fbe":false,"ffs":"","mas":2,"map":1,"gar":true,"ete":1,"ettm":false,"etjs":"var PROPERTY_NAME = '1800flowers',\t\n\tVALID_DOMAIN = 'www.1800flowers.com',\n\tATC_BUTTON_SELECTOR = '#pwaAddToCartBtn, #btn-full-calendar, #today-button, #tomorrow-button',\n\tBREADCRUMB_SELECTOR = 'div#product_page_container ol li',\n\tLOG_IN_SELECTOR = '#signInDropdown div:contains(\"Sign In\")',\n\tEMAIL_SELECTOR = 'span:contains(\"Email:\"):first',\n\tLISTPAGE_TILE_SELECTOR = 'a[data-test=\"desktop-collection-product\"]',\n\tEMPTY_CART_TEXT = '[data-test=\"shopping-cart-header-text\"]:contains(\"Your shopping cart is currently empty.\"), div[data-component=\"orderSubtotal\"]:contains(\"$0.00\"), [variant=\"body2\"]:contains(\"Your cart is empty.\")',\n\tCATEGORY_PAGE_TITLE = 'div[data-testid*=\"-imoc\"] h1',\n\tQUICKVIEW_IFRAME = 'iframe#QuickViewFrame',\n\tSYMPATHY_IDS = [\n\t\t\"400077424\",\n\t\t\"400077397\",\n\t\t\"400077405\",\n\t\t\"400077403\",\n\t\t\"400077402\",\n\t\t\"400065003\",\n\t\t\"400077399\",\n\t\t\"400180097\",\n\t\t\"400174006\",\n\t\t\"400065004\",\n\t\t\"400077407\",\n\t\t\"400176493\",\n\t\t\"400176502\",\n\t\t\"400065005\",\n\t\t\"400207987\"\n\t];\n\n/******** helper functions *********/\nfunction isValidProperty() {\n\tvar currentBrand = bouncex.utils.getNestedProp('window.utag_data.brand_current'),\n\t\tpropertyMap = {\n\t\t\t'18F': '1800flowers',\n\t\t\t'18B': '1800baskets',\n\t\t\t'FB': 'fruitbouquets',\n\t\t\t'CCO': 'cheryls',\n\t\t\t'FM': 'fanniemay',\n\t\t\t'TPF': 'thepopcornfactory',\n\t\t\t'SY': 'stockyards',\n\t\t\t'WM': 'wolfermans',\n\t\t\t'WLF': 'wolfermans',\n\t\t\t'HD': 'harryanddavid',\n\t\t\t'SCH': 'simplychocolate',\n\t\t\t'PZU': 'personalizationuniverse',\n\t\t\t'TMP': 'goodsey',\n\t\t};\n\n /* Blog Page Patch */\n if (getUrl().indexOf('1800flowers.com/blog') > -1) {\n currentBrand = '18F';\n }\n \n\tif (currentBrand) {\n\t\treturn propertyMap[currentBrand] === PROPERTY_NAME && window.location.hostname === VALID_DOMAIN;\n\t}\n}\n\nfunction getUrl() {\n\treturn bouncex.utils.url.allowParams();\n}\n\nfunction isEnglish() {\n\treturn (bouncex.html.attr('lang') || '').indexOf('en') > -1;\n}\n\nfunction buildImg(itemData) {\n\treturn 'https:' + itemData.image.path + itemData.image.name + 'x.jpg';\n}\n\nfunction isInStock(itemData) {\n\treturn jQuery(ATC_BUTTON_SELECTOR).is(':enabled') || itemData.availability.deliveryMessage === \"AVAILABLE TO SHIP NOW\" || bouncex.vars.item_instock;\n}\n\nfunction isSympathy() {\n\tvar catId = bouncex.utils.url.getParam('categoryId', window.location.search);\n\tvar collectionCategoryId = bouncex.utils.url.getParam('collectionCategoryId', window.location.search);\n\n\tif (bouncex.vars.is_sympathy) {\n\t\treturn true;\n\t}\n\n\tif (catId && SYMPATHY_IDS.indexOf(catId) > -1) {\n\t\treturn true;\n\t}\n\n\tif (collectionCategoryId && SYMPATHY_IDS.indexOf(collectionCategoryId) > -1) {\n\t\treturn true;\n\t}\n\n\tif (bouncex.vars.item_copy && bouncex.vars.item_copy.toLowerCase().indexOf('sympathy') > -1){\n\t\treturn true;\n\t}\n\n\treturn window.location.href.indexOf('sympathy') > -1 || window.location.href.indexOf('funeral') > -1;\n}\n\nfunction getProductCategory() {\n\tvar category = jQuery(BREADCRUMB_SELECTOR).eq(-2).text().trim(),\n\t\tprevUrl = bouncex.utils.getNestedProp('window.history.state') !== null ? bouncex.utils.getNestedProp('window.history.state.state.prevUrl') : '';\n\n\tif(category === 'Home' || (prevUrl && prevUrl.indexOf('/searchterm') > -1)) {\n\t\tcategory = 'Global';\n\t}\n\t\n\treturn category || 'Global';\n}\n\nfunction getCategoryPageTitle(eventDetails) {\n\tvar title;\n\n\tif(bouncex.website.pts === 'search') {\n\t\ttitle = eventDetails.searchTerm;\n\t}\n\n\treturn title || eventDetails.title || jQuery(CATEGORY_PAGE_TITLE).text().trim() || '';\n}\n\nfunction isExcluded() {\n\treturn bouncex.utils.getNestedProp('utag.data.product_has_wine[0]', '') === 'yes';\n}\n\nfunction replaceSpecialChars(text) {\n\t// changes special characters into corresponding HTML entity to display properly in emails\n \n var encodedStr = text.replace(/[\\u00A0-\\u9999<>]/g, function(i) {\n return '&#'+i.charCodeAt(0)+';';\n });\n\n\treturn encodedStr;\n}\n\nfunction getRating() {\n var ratingElement = jQuery('.rating-stars-container, .yotpo-stars-and-sum-reviews').first().text().trim();\n \n if (!ratingElement.length) {\n return '';\n }\n \n var rating = Number(ratingElement.split(' ')[0]);\n \n return rating >= 4 ? rating : '';\n}\n\n/******** start item tracking *********/\nfunction trackPDP(itemData) {\n\titem = {\n\t\tid: itemData.baseCode,\n\t\tcopy: replaceSpecialChars(itemData.name || ''),\n\t\tcategory: getProductCategory(),\n\t\timageurl: buildImg(itemData),\n\t\turl: window.location.origin + itemData.seo.url,\n\t\tinstock: isInStock(itemData),\n\t\tsympathy: isSympathy(),\n\t\trating: getRating(),\n\t\texcluded: isExcluded()\n\t};\n\tif(item.id){\n\t\tif(isSympathy()){\n\t\t\titem.category = \"sympathy\";\n\t\t\tbouncex.push([\n\t\t\t\t'view sympathy', {\n\t\t\t\t\t'item:id': item.id\n\t\t\t\t}\n\t\t\t]);\n\t\t} else {\n\t\t\titem.category = \"non-sympathy\";\n\t\t\tif(isValentine()){\n\t\t\t\titem.category = \"valentine\";\n\t\t\t}\n\t\t\tif(isMothersDay()){\n\t\t\t\titem.category = \"mothers day\";\n\t\t\t}\n\t\t\tbouncex.push([\n\t\t\t\t'view item', {\n\t\t\t\t\t'item:id': item.id\n\t\t\t\t}\n\t\t\t]);\n\t\t}\n\t\tbouncex.push(['item', item]);\n\t\ttrackZipExcluded(item.id);\n\t\ttrackReplenAddToCart(item.id);\n\t}\n}\n\n/******** custom event to track zip code excluded items *********/\nfunction trackZipExcluded(itemId) {\n\tbouncex.et.onVisible('.MuiPaper-root:contains(\"product you have selected is not available\")', function(){\n\t\tbouncex.push(['zip_excluded', {\n\t\t\titemid: itemId\n\t\t}]);\n\t});\n}\n\n/******** category tracking *********/\nfunction getCategoryItemId(itemUrl) {\n\tvar itemUrlArr = itemUrl.split('-');\n\tvar itemId = itemUrlArr[itemUrlArr.length - 1];\n\tvar validId = /^\\d+$/.test(itemId);\n\n\treturn validId ? itemId : '';\n}\n\nfunction trackHoverItem() {\n\tbouncex.et.onHover(LISTPAGE_TILE_SELECTOR, function(el){\n\t\tvar itemUrl = jQuery(el).attr('href');\n\t\tvar itemId = getCategoryItemId(itemUrl);\n\n\t\tif (itemId) {\n\t\t\tbouncex.push(['hover item', {\n\t\t\t\t'item:id' : itemId\n\t\t\t}]);\n\t\t}\n\t});\n}\n\nfunction getItemsIds(products) {\n\tvar items = products || jQuery(LISTPAGE_TILE_SELECTOR);\n\tvar itemIds = [];\n\tvar id;\n\n\tfor(var i = 0; i < items.length; i++) {\n\t\tid = products ? items[i].baseCode : getCategoryItemId(jQuery(items[i]).attr('href'));\n\n\t\tif(id && !itemIds.includes(id)){\n\t\t\titemIds.push(id);\n\t\t}\n\t}\n\n\treturn itemIds.join(',');\n}\n\nfunction trackViewCategory(eventDetails){\n\tvar itemIds = getItemsIds(eventDetails.products);\n\n\tif(itemIds && itemIds.length > 0){\n\t\tbouncex.push(['view category', {\n\t\t\t'page:title': getCategoryPageTitle(eventDetails),\n\t\t\t'items:ids': itemIds,\n\t\t\t'page:url': getUrl()\n\t\t}]);\n\t}\n}\n\n/******** quickview tracking *********/\nfunction trackQuickView() {\n\tbouncex.et.onVisible(QUICKVIEW_IFRAME, fireQuickView);\n}\n\nfunction getQuickViewDate() {\n\tvar iframe = jQuery(QUICKVIEW_IFRAME).contents(),\n\t\tdateField = jQuery(iframe[0]).find('#deliveryDate');\n\n\treturn jQuery(dateField).val();\n}\n\nfunction validateQuickViewAtcButton() {\n\tvar iframe = jQuery(QUICKVIEW_IFRAME).contents();\n\n\treturn jQuery(iframe[0]).find('#addItemTocartButton').length > 0;\n}\n\nfunction trackQuickViewAtc() { \n\tbouncex.et.onTrue(validateQuickViewAtcButton, function(){\n\t\tvar iframe = jQuery(QUICKVIEW_IFRAME).contents(),\n\t\t\tAtcButton = jQuery(iframe[0]).find('#addItemTocartButton');\n\n\t\tbouncex.on(jQuery(AtcButton), 'click.bx', function() {\n\t\t\tif (getQuickViewDate()) { \n\t\t\t\tfireAddToCart(getQuickViewId());\n\t\t\t}\n\t\t});\n\t}, 100);\n}\n\nfunction getQuickViewId() {\n\tvar iframe = jQuery(QUICKVIEW_IFRAME).contents(),\n\tidDiv = jQuery(iframe[0]).find('.pdp__prodCode'),\n\tidArr = jQuery(idDiv).text().split(':');\n\n\treturn idArr[idArr.length - 1].trim();\n}\n\nfunction fireQuickView() {\n\tbouncex.et.onTrue(getQuickViewId, function(){\n\t\tvar id = getQuickViewId();\n\n\t\tif(isSympathy() && isEligibleId(id)){\n\t\t\tbouncex.push([\n\t\t\t\t'view sympathy', {'item:id': id}\n\t\t\t]);\n\t\t} else if (isEligibleId(id)) {\n\t\t\tbouncex.push([\n\t\t\t\t'view item', {'item:id': id}\n\t\t\t]);\n\t\t}\n\t\ttrackQuickViewAtc();\n\t}, 100);\n}\n\n/******** track Add To Cart *********/\n\nfunction getProductCode(itemId){\n var productCode = jQuery('input:checked[name=\"pdpRadioButton\"]').val();\n \n if (productCode){\n return productCode;\n }\n \n var productBrand = bouncex.utils.getNestedProp('utag_data.product_brands')[0] || '';\n return productBrand + '-' + itemId;\n}\n\nfunction trackReplenAddToCart(itemId){\n\tif(!itemId){ return; }\n\t\tbouncex.off(jQuery(ATC_BUTTON_SELECTOR), 'click.bx');\n\t\tbouncex.on(jQuery(ATC_BUTTON_SELECTOR), 'click.bx', function(){\n\t\t\tvar productCode = getProductCode(itemId),\n brandCode = productCode.split('-')[0],\n\t\t\t\titemData = {\n\t\t\t\t\tproduct: {\n\t\t\t\t\t\tbrandCode: brandCode,\n\t\t\t\t\t\tproductCode: productCode,\n\t\t\t\t\t\tquantity: 1\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\tbouncex.push(['add to cart', {\n\t\t\t\t'item:id': itemId,\n\t\t\t\t'cart:item': JSON.stringify(itemData)\n\t\t\t}]);\n\t\t\t\n\t\t\tif(!bouncex.vars.cart_set){\n\t\t\t bouncex.setVar('cart_set', true);\n\t\t\t}\n\t});\n}\n\n\nfunction replenish(cart) {\n\tvar deferreds = [];\n\tvar token = JSON.parse(localStorage.userInfo).token;\n\t\n\tcart.items.forEach(function(item) {\n\t\tdeferreds.push(makeReplenItem(item, token));\n\t});\n\n\tdeferreds.reduce(function(promise, func) {\n\t\treturn promise.then(function() {\n\t\t\treturn func();\n\t\t});\n\t}, jQuery.Deferred().resolve([]))\n\t\t.then(replenComplete);\n}\n\nfunction makeReplenItem(item, token) {\n\treturn function() {\n\t\treturn jQuery.ajax({\n\t\t\tmethod: 'post',\n\t\t\turl: '/r/api/checkout/cart?brand=flowers&entryBrand=flowers',\n\t\t\tdata: JSON.stringify(item),\n\t\t\tcontentType: 'application/json',\n\t\t\theaders: { \n\t\t\t\tauthorization: 'Bearer ' + token\n\t\t\t}\n\t\t});\n\t};\n}\n\nfunction replenComplete() {\n\twindow.location.href = window.location.pathname + '?bx_replen=true';\n}\n\n/*************** Empty Cart Tracking ***************/\nfunction trackEmptyCart() {\n\tbouncex.et.onVisible(EMPTY_CART_TEXT, function(){\n\t\tbouncex.push(['empty_cart', {}]);\n\t\tbouncex.setVar('cart_set', false);\n\t});\n}\n\n/*************** Cart Tracking ***************/\nfunction initCartTracking() {\n if (bouncex.vars.cart_set) {\n\t\ttrackEmptyCart();\n\t}\n\t\n bouncex.et.cart.init({\n cartCountVariable: 'cart_qty',\n storeValues: [],\n replenish: replenish,\n replenishmentType: 'ajax'\n });\n \n return;\n}\n\n/******** Track LoggedIn User *********/\nfunction trackLoggedInUser() {\n\tvar isLoggedIn = jQuery(LOG_IN_SELECTOR).length === 0,\n\t\temail;\n\n\tif(!bouncex.vars.logged_in_identified && isLoggedIn){\n\t\temail = window.rtaEmail || jQuery(EMAIL_SELECTOR).next().text().trim() || '';\n\t\n\t\tif (email && bouncex.utils.validate.email(email)) {\n\t\t\tbouncex.push(['user', {\n\t\t\t\temail: email,\n\t\t\t\tsource: 'LoggedIn'\n\t\t\t}]);\n\t\t\tbouncex.setVar('logged_in_identified', true);\n\t\t}\n\t}\n}\n\n/******** Holiday Modules tracking *********/\nfunction isChristmasPage() {\n\tvar url = window.location.pathname.toLowerCase();\n\treturn url.indexOf('christmas') > -1 \n\t\t|| url.indexOf('holiday') > -1\n\t\t|| url.indexOf('xmas') > -1;\n}\n\nfunction urlContainsPaths(url, pathsToLookFor) {\n\turl = url || window.location.href;\n\n\tfor (var i = 0; i < pathsToLookFor.length; i++) {\n\t\tif (url.indexOf(pathsToLookFor[i]) > -1) {\n\t\t\treturn true;\n\t\t}\n\t}\n\n\treturn false;\n}\n\nfunction isValentine(){\n\tif (urlContainsPaths(window.location.href, [\"valentine\", \"vday\", \"romance\", \"love\"])) {\n\t\treturn true;\n\t}\n\n\tvar category = bouncex.utils.getNestedProp(\"window.utag_data.product_category_names[0]\", \"\"),\n\t\tbreadcrumbsText = jQuery(\".mbp3003 a\").text(),\n\t\tpdpDescription = jQuery(\".MuiPaper-root:contains(Description)\").text();\n\t\n\t// we only want to check for a string of \"valentine\" in the breadcrumbs, item description or item category on PDPs\n\treturn bouncex.website.pts === \"product\" && (category + breadcrumbsText + pdpDescription).toLowerCase().indexOf(\"valentine\") > -1;\n}\n\nfunction isMothersDay() {\n if (isSympathyBlogPostPage()) {\n return;\n }\n\n\t/* URL contains mother, mothers, mom or mday LT 04/21/2022 */\n var utagData = bouncex.utils.getNestedProp('window.utag_data.product_category_names', ['']),\n category = utagData[0].toLowerCase();\n\n\tif (category.indexOf('mothersday') > -1 || category.indexOf(\"mother's day\") > -1) {\n return true;\n }\n\n var pathname = window.location.pathname;\n\n\tif (pathname.indexOf('mother') > -1 \n || pathname.indexOf('mothers') > -1\n\t\t|| pathname.indexOf('mom') > -1\n\t\t|| pathname.indexOf('mday') > -1\n\t\t|| bouncex.vars.item_copy && bouncex.vars.item_copy.toLowerCase().indexOf(\"mother's day\") > -1\n\t\t|| bouncex.utils.getParam('collectionPath', window.location.search).indexOf('mothers-day') > -1) {\n\t\treturn true;\n\t}\n\n\treturn false;\n}\n\nfunction isBirthday() {\n var isCatOrProd = ['category', 'product'].indexOf(bouncex.website.pts) > -1,\n isBirthday = window.location.pathname.indexOf('birthday') > -1 || window.location.pathname.indexOf('b-day') > -1 || bouncex.utils.getNestedProp('mbpDataLayerView.category.categoryPath', '').indexOf('birthday') > -1; \n\n return isCatOrProd && isBirthday;\n}\n\n/******** Sympathy Blog Post Modules tracking *********/\nfunction isSympathyBlogPostPage() {\n return getUrl().indexOf('/blog/everyday-moments/coping-with-loss/what-to-write-in-a-sympathy-card') > -1 || getUrl().indexOf('/sympathy-articles') > -1;\n}\n\n/******** initiate tracking code *********/\nfunction initiateItemEvents() {\n bouncex.log(\"initiateItemEvents\");\n\tvar eventDetails, products;\n\tbouncex.et.onTrue(\n\t\tfunction(){\n\t\t\teventDetails = bouncex.utils.getNestedProp('window.mbpDataLayerView');\n\t\t\tproducts = eventDetails ? eventDetails.products || jQuery(LISTPAGE_TILE_SELECTOR): false;\n\t\t\tbouncex.log(\"eventDetails\", eventDetails);\n\t\t\tbouncex.log(\"products\", products);\n\t\t\treturn eventDetails && products;\n\t\t}, \n\t\tfunction(){\n\t\t\tvar notAddOnOrWrapUpPage = getUrl().indexOf('/add-on') < 0 && getUrl().indexOf('/wrap-up') < 0;\n\t\t\tif(eventDetails.pageType.indexOf('product') > -1 && notAddOnOrWrapUpPage ){\n\t\t\t bouncex.log(\"eventDetails.pageType.indexOf('product')\", eventDetails.pageType.indexOf('product'));\n\t\t\t\ttrackPDP(products[0]);\n\t\t\t}\n\t\t\tif((eventDetails.pageType.indexOf('category') > -1 || eventDetails.pageType.indexOf('search') > -1) && !isSympathy()){\n\t\t\t\ttrackViewCategory(eventDetails);\n\t\t\t\ttrackHoverItem();\n\t\t\t\ttrackQuickView();\n\t\t\t}\n\t\t},\n\t20);\n}\n\nfunction initPassportTracking() {\n\tif (bouncex.vars.is_passport_member) {\n\t\tbouncex.push(['passport_member']);\n\t}\n}\n\nfunction initHolidayTracking() {\n\tif (isChristmasPage()) {\n\t\tbouncex.push(['view_holiday', {}]);\n\t}\n\tif (isValentine()) {\n\t\tbouncex.push(['view_valentine', {}]);\n\t}\n\tif (isMothersDay()) {\n\t\tbouncex.push(['view_mothers_day', {}]);\n\t}\n\tif (isBirthday()) {\n\t bouncex.push(['view_birthday', {}]);\n\t}\n}\n\nfunction initSympathyTracking() {\n if (isSympathyBlogPostPage()) {\n bouncex.push(['view_sympathy', {}]);\n }\n}\n\n/******** initiate event listeners *********/\nif(isValidProperty() && isEnglish()){\n\tbouncex.setTimeout2(function(){\n\t\tinitCartTracking();\n\t\ttrackLoggedInUser();\n\t\tinitiateItemEvents();\n\t\tinitPassportTracking();\n\t\tinitHolidayTracking();\n\t\tinitSympathyTracking();\n\t}, 2000);\n}","dge":true,"bxidLoadFirst":false,"pie":true,"cme":true,"gbi_enabled":0,"bpush":false,"pt":{"cart":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.location.pathname.indexOf(\"/AjaxCheckoutDisplayView\") != -1 || jQuery('.ECP-emptycart').length > 0;"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"(window.location.href.indexOf('pwa.www.1800flowers') > -1 || window.location.href.indexOf('pwastage.www.1800flowers')) && window.location.pathname.indexOf('/cart') > -1 && document.getElementsByTagName('flowers-cart').length > 0;"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"bouncex.utils.url.allowParams() === 'https://pwa.www.1800flowers.com/cart';"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/checkout/cart/"}]]},"category":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('div[data-pagetype=\"category\"]').length > 0;"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"bouncex.utils.getParam('page') === 'list';"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.location.pathname === '/Sympathy';"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"(\n (document.getElementsByClassName('Product').length)\n ? (document.getElementsByClassName('Product')[0] && document.getElementsByClassName('Product')[0].dataset)\n ? document.getElementsByClassName('Product')[0].dataset.sku\n : null\n : false\n)\n&& window.location.pathname.indexOf('radio-offers') === -1;"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.location.pathname === '/sunflowers';"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.mbpDataLayerView && window.mbpDataLayerView.pageType.indexOf('category') > -1;"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/SearchDisplay"}],[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.mbpDataLayerView && window.mbpDataLayerView.pageType !== 'product';"}]]},"checkout":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"(window.location.pathname === \"/webapp/wcs/stores/servlet/FDRecipientsDisplayCmd\" || jQuery('.BP-billing-address,.CP-chkCollapsed,.mw-checkout-steps,.BP-Delivery-header,#showcheckoutPpBanner').length > 0) && window.location.pathname.indexOf(\"/AjaxCheckoutDisplayView\")<=-1||jQuery('.ECP-emptycart').length < 0;"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.location.href.indexOf('pwa.www.1800flowers') > -1 && window.location.pathname.indexOf(\"/checkout/shipping\") > -1 || window.location.href.indexOf('pwa.www.1800flowers') > -1 && window.location.pathname.indexOf(\"/checkout/review\") > -1;"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/checkout/review"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/checkout/summary"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/checkout/shipping"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/checkout/payment/"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"CartCheckoutDisplay"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"[\"/1-800-flowers-home\",\"/\"].indexOf(window.location.pathname)!==-1 || jQuery('body').hasClass('bd-homepage');"}],[{"activation":"js","prop":"","prop2":"","prop3":"","val":"bouncex.utils.getParam('page') !== 'detail' && (document.querySelector('title').innerText || '').toLowerCase().indexOf('flowers') > -1;"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"mbpDataLayer !== undefined && mbpDataLayer[0] !== undefined && mbpDataLayer[0].page !== undefined && mbpDataLayer[0].page.type !== undefined && mbpDataLayer[0].page.type === 'home';"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/checkout/cart"}]]},"product":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('#product_page_container').length > 0;"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('div[data-pagetype=\"product\"]').length > 0;"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"bouncex.utils.getParam('page') === 'detail';"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"bouncex.utils.url.allowParams().indexOf('pwa.www.1800flowers.com') > -1 && bouncex.utils.url.removeParams().indexOf('?page=product') > -1;"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.location.hostname.indexOf('pwa') > -1 && document.querySelectorAll('flowers-app[page=detail]').length > 0 && document.getElementsByTagName('flowers-related-products').length > 0;"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"mbpDataLayer !== undefined && mbpDataLayer[0] !== undefined && mbpDataLayer[0].page !== undefined && mbpDataLayer[0].page.type !== undefined && mbpDataLayer[0].page.type === 'product';"}],[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.mbpDataLayerView && window.mbpDataLayerView.pageType.indexOf('category') === -1 && jQuery('[data-pagetype=\"category\"]').length === 0"}]]},"search":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.location.pathname === \"/SearchDisplay\";"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"(window.location.href.indexOf('pwa.www.1800flowers') > -1 || window.location.href.indexOf('pwastage.www.1800flowers')) && window.location.pathname.indexOf('search') > -1;"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"mbpDataLayerView !== undefined && mbpDataLayerView.page !== undefined && mbpDataLayerView.page.indexOf('searchterm') > -1;"}]]}},"els":{"PDP - Size Option":".pdp__skus, .skus-container","cat_page_seventh_grid_item":"#productContainer > .MuiGrid-container > .MuiGrid-item:eq(6)","passport_benefits_checkout_flow":".MuiGrid-root.MuiGrid-container:last","passport_checkbox":"#passportCheckBox","sign_in_dropdown":"#signInDropdown"},"vars":[{"name":"submitted_ecap_footer","polling":"none","persist":"permanent","page_types":[],"testmode":true,"default":"false","code":"null;","trigger":""},{"name":"ever_logged_in","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"bouncex.vars.logged_in ? true : null;","trigger":""},{"name":"zipcode_modal_visible","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"!!jQuery('#TB_window').length && bouncex.getBounceCookie(\"showGNavModel\") === \"Y\";","trigger":""},{"name":"logged_in","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"bouncex.parseJSON(window.localStorage.getItem('userInfo')).profile.membershipType !== 'G';","trigger":""},{"name":"value_in_cart","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"(function () {\n var subtotal = Number(bouncex.utils.getNestedProp('utag.data.order_total', 0));\n if (bouncex.website.pts === 'cart' || bouncex.website.pts === 'checkout') {\n return Number(jQuery('b:contains(\"$\")').text().replace(/[^0-9.]/g,'')) || subtotal;\n }\n if (bouncex.vars.items_in_cart === 0) {\n return 0;\n }\n return subtotal || null;\n})();","trigger":""},{"name":"items_in_cart","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"(function() {\n var $qty = jQuery('[aria-label=\"Cart-icon\"]').length ? jQuery('[aria-label=\"Cart-icon\"]') : jQuery('.MuiGrid-item span:contains(\"Items\"):first, #my-cart-text');\n return $qty.length > 0 ? Number($qty.text().replace(/[^0-9.]/g, '')) : null;\n})();","trigger":""},{"name":"is_passport_member","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"(function() {\n var userInfo = window.localStorage.getItem('userInfo');\n if(userInfo) {\n return JSON.parse(userInfo).profile.userRole === 'P' || null;\n } else { \n return null; \n }\n})();","trigger":""},{"name":"product_page","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('#pagetype').attr('data-pagetype') && jQuery('#pagetype').attr('data-pagetype').toLowerCase() === 'product' || bouncex.utils.getParam('page') === 'detail' || (window.location.hostname.indexOf('pwa') > -1 && document.querySelectorAll('flowers-app[page=detail]').length > 0 && document.getElementsByTagName('flowers-related-products').length > 0) || jQuery('div[data-pagetype=product]').length > 0;","trigger":""},{"name":"passport_in_cart","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function() {\n var $qty = jQuery('[aria-label=\"Cart-icon\"]').length ? jQuery('[aria-label=\"Cart-icon\"]') : jQuery('.MuiGrid-item span:contains(\"Items\"):first, #my-cart-text'),\n qty = $qty.length > 0 ? Number($qty.text().replace(/[^0-9.]/g, '')) : '',\n url = bouncex.utils.url.allowParams(),\n passportPresent;\n if (url.indexOf('/shipping/') > -1 || url.indexOf('/payment/') > -1) {\n return jQuery('input#passport-same-address-checked').length < 1;\n }\n if (bouncex.website.pts === 'cart' || bouncex.website.pts === 'checkout' ) {\n passportPresent = jQuery('#passport-banner-section [data-component=\"messagePassportAddedToCart\"], h4[data-testid=\"productTitle\"]:contains(\"Passport\"), #orderItem-cartPassportItem, [name=\"reviewItemDetails\"] div:contains(\"Passport\")').length > 0;\n if (qty === 1 && passportPresent && jQuery('#passport-cart-summary [for=\"chk-passport-subscription\"]').length < 1) {\n return true;\n } \n return passportPresent;\n }\n return jQuery('[data-component=\"messagePassportAddedToCart\"]').length > 0 || null;\n})();","trigger":""},{"name":"bx_test","polling":"none","persist":"visit","page_types":[],"testmode":true,"default":"false","code":"window.location.href.indexOf('bx_test') > -1 || null;","trigger":""},{"name":"purchased","polling":"none","persist":"permanent","page_types":[],"testmode":true,"default":"false","code":"(function() {\n if (bouncex.vars.purchased || bouncex.cookie.lc) {\n return true;\n }\n\n var property = '1800flowers';\n var historicalSite = 1622;\n if (bouncex.cookies[historicalSite] && bouncex.cookies[historicalSite].v && bouncex.cookies[historicalSite].v['previous_customer_'+ property]){\n return true;\n }\n})();","trigger":""},{"name":"submitted_email","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"(function() {\n var websites = bouncex.cookies;\n for (var site in websites) {\n if (bouncex.cookies[site].es || (bouncex.cookies[site].v && bouncex.cookies[site].v.submitted_ecap_footer)) {\n return true;\n }\n }\n return false;\n})();","trigger":""},{"name":"passport_member","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function() {\n var userInfo = window.localStorage.getItem('userInfo');\n if(userInfo) {\n return JSON.parse(userInfo).profile.userRole === 'P';\n } else { \n return false; \n }\n})();","trigger":""},{"name":"property","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"","code":"(function (){\n \n var propertyMapping = {\n\t '18F': '1800flowers',\n\t '18B': '1800baskets',\n\t 'FB': 'fruitbouquets',\n\t 'CCO': 'cheryls',\n\t 'FM': 'fanniemay',\n\t 'TPF': 'thepopcornfactory',\n\t 'SY': 'stockyards',\n\t 'WM': 'wolfermans',\n\t\t'WLF': 'wolfermans',\n\t 'HD': 'harryanddavid',\n\t\t'SCH': 'simplychocolate',\n\t\t'PZU': 'personalizationuniverse',\n\t\t'TMP': 'goodsey',\n\t};\n\n if (window.utag_data && window.utag_data.brand_current) {\n return propertyMapping[window.utag_data.brand_current];\n } else if (window.fsDomain && typeof fsDomain !== undefined) {\n return propertyMapping[window.fsDomain];\n } else if (jQuery('link[rel=\"canonical\"]').length > 0) {\n var flowers = jQuery('link[rel=\"canonical\"]').attr('href').indexOf('1800flowers') > -1;\n var goodsey = jQuery('link[rel=\"canonical\"]').attr('href').indexOf('goodsey') > -1;\n var harryDavid = jQuery('link[rel=\"canonical\"]').attr('href').indexOf('harryanddavid') > -1;\n var personalization = jQuery('link[rel=\"canonical\"]').attr('href').indexOf('personalization') > -1;\n var chocolate = jQuery('link[rel=\"canonical\"]').attr('href').indexOf('chocolate') > -1;\n var wolferman = jQuery('link[rel=\"canonical\"]').attr('href').indexOf('wolferman') > -1;\n if (flowers) {\n return '1800flowers';\n }\n if (goodsey) {\n return 'goodsey'; \n }\n if (harryDavid) {\n return 'harryanddavid';\n }\n if (personalization) {\n return 'personalizationuniverse'; \n } \n if (chocolate) {\n return 'simplychocolate'; \n } \n if (wolferman) {\n return 'wolfermans'; \n } \n \n } else {\n return null;\n }\n})();\n\n","trigger":"pageload"},{"name":"submitted_onsite","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"jQuery('#emailsent_footer span:visible').text().indexOf('Your email address has been submitted!') > -1 ? true : null;","trigger":""},{"name":"utm_source","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"","code":"(function() {\n var regexS = '[\\\\?&#&]'+'utm_source'+'=([^&#]*)';\n\t\t\tvar regex = new RegExp( regexS );\n\t\t\tvar results = regex.exec(window.location.href);\n\t\t\tif( results === null ) return NaN;\n\t\t\telse return decodeURIComponent(results[1]);\n})()","trigger":"pageload"},{"name":"utm_medium","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"","code":"(function() {\n var regexS = '[\\\\?&#&]'+'utm_medium'+'=([^&#]*)';\n\t\t\tvar regex = new RegExp( regexS );\n\t\t\tvar results = regex.exec(window.location.href);\n\t\t\tif( results === null ) return NaN;\n\t\t\telse return decodeURIComponent(results[1]);\n})()","trigger":"pageload"},{"name":"item_copy","polling":"vars","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function () {\n var copy = jQuery('.ProdTitle').text().trim() || \n jQuery('[itemprop=name]:eq(0)').text() || \n window.akamaiProdName || \n jQuery('h1.product-title').text().trim() ||\n jQuery('meta[property=\"og:title\"]').attr('content');\n \n if (copy) {\n return copy;\n }\n \n if (jQuery('.product-name.flowers-detail').length > 0) {\n return jQuery('.product-name.flowers-detail').contents().text();\n }\n \n if (document.getElementsByClassName('product-name').length > 0) {\n return document.getElementsByClassName('product-name')[0].textContent;\n }\n \n if (bouncex.utils.url.allowParams().indexOf('pwa') > -1){\n return jQuery(\"title\").text().split(' - ').shift();\n } \n\n return '';\n})();","trigger":"pageload"},{"name":"page_url","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.utils.url.allowParams([], window.location.href).replace('pwa.www', 'www');","trigger":"pageload"},{"name":"item_category","polling":"vars","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function(){\n if (bouncex.utils.url.allowParams().indexOf('pwa.') > -1 && bouncex.utils.url.queryStringToObject().collectionPath !== undefined){\n return bouncex.utils.url.queryStringToObject().collectionPath.split('/').pop();\n } else if (bouncex.utils.url.allowParams().indexOf('pwa.') > -1) {\n return '1800flowers';\n }\n \n return jQuery('#breadcrumb a:last, #data-breadcrumb a:last, .breadcrumb-wrapper a:last').text() || bouncex.utils.getNestedProp('window.utag_data.product_category_names[0]');\n})();","trigger":"pageload"},{"name":"is_sympathy","polling":"vars","persist":"no","page_types":["product","category"],"testmode":false,"default":"false","code":"(function () {\n var pathname = window.location.pathname.toLowerCase();\n \n if (pathname.indexOf('sympathy') > -1 || pathname.indexOf('/funeral') > -1 || pathname.indexOf('/remembrance') > -1 || pathname.indexOf('/condolence') > -1) {\n return true;\n } else if(window.location.href.indexOf('pwa') === -1){\n if (!bouncex.vars.item_category && !bouncex.vars.item_copy) {\n return false;\n }\n\n var lowerCaseCategory,\n lowerCaseProdName;\n \n lowerCaseCategory = bouncex.vars.item_category.toLowerCase(),\n lowerCaseProdName = bouncex.vars.item_copy.toLowerCase();\n \n if (lowerCaseCategory.indexOf('remembrance') > -1 || lowerCaseCategory.indexOf('sympathy') > -1 || lowerCaseCategory.indexOf('condolence') > -1 || lowerCaseCategory.indexOf('funeral') > -1 || lowerCaseCategory.indexOf('casket') > -1) {\n return true;\n }\n \n if (lowerCaseProdName.indexOf('remembrance') > -1 || lowerCaseProdName.indexOf('sympathy') > -1 || lowerCaseProdName.indexOf('condolence') > -1) {\n return true;\n }\n \n return window.MoxieData && window.MoxieData.Sympathy === 'true';\n } \n \n var cat_id_from_url_param = bouncex.utils.url.queryStringToObject().collectionCategoryId;\n var category_id = cat_id_from_url_param || bouncex.utils.getParam('categoryId'); \n return ['400191483','400180097','400174006','400065003','400065004','400065005','400208690','400077397','400077398', '400077399' ,'400077400','400077401', '400077402','400077403', '400077405', '400077406','400077407', '400077424'].indexOf(category_id) > -1;\n})();","trigger":"pageload"},{"name":"cart_set","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"logged_in_identified","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"item_instock","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function(){\n if(jQuery('#product_page_container').length > 0 && jQuery('#productContainer').length === 0 && jQuery('[data-component=\"graphqlSearchProducts\"]').length === 0) {\n return true;\n }\n})()","trigger":"pageload"},{"name":"shipping_charge","polling":"vars","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function(){\n if (!bouncex.vars.items_in_cart) {\n return false;\n }\n if (jQuery('#CC-placeOrder .crossedprice').is(':visible')){\n return 0; \n } \n\tvar shipping = jQuery('td:contains(\" Charge:\") + td.flowers-checkout-review span:not(.discounted):visible').last().text() || jQuery('#BP-totals .BP-total-label .BP-row:eq(1) .BP-col1:not(:contains(\"Saturday\")):not(:contains(\"Sunday\")) + .BP-col2').eq(0).text();\n return jQuery('#checkoutRightColumn, #CC-placeOrder').is(':visible') ? Number(shipping.replace(/[^0-9\\.]/g,'')) : null;\n})();","trigger":"pageload"},{"name":"cart_plurality","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"bouncex.vars.items_in_cart > 1 ? 'items' : 'item';","trigger":"pageload"},{"name":"quickview_modal_visible","polling":"all","persist":"no","page_types":["category"],"testmode":false,"default":"false","code":"jQuery('#QuickViewFrame').is(':visible');","trigger":"pageload"},{"name":"iframe_window_visible","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"window.self !== window.top;","trigger":"pageload"},{"name":"calendar_modal_visible","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('[data-component=\"calendarModal\"]:visible').length > 0;","trigger":"pageload"},{"name":"cart","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"cart_qty","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function() {\n var $qty = jQuery('[aria-label=\"Cart-icon\"]').length ? jQuery('[aria-label=\"Cart-icon\"]') : jQuery('.MuiGrid-item span:contains(\"Items\"):first, #my-cart-text');\n return $qty.length > 0 ? Number($qty.text().replace(/[^0-9.]/g, '')) : null;\n})();","trigger":"pageload"},{"name":"on_addons_or_wrapup_page","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function() {\n var url = window.location.href,\n onAddOnsOrWrapUpPg = url.indexOf('/wrap-up') > -1 || url.indexOf('/add-ons') > -1;\n return onAddOnsOrWrapUpPg;\n})();","trigger":"pageload"},{"name":"recipient_local_modal_visible","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('.MuiDialog-paperScrollPaper p[data-testid=\"gnav-modal-form-label\"]:visible').length > 0;","trigger":"pageload"},{"name":"cart_item_img","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"(function(){\n if (window.location.href.indexOf('/add-ons') > -1) {\n return jQuery('#itemImage > img').attr('src') || null;\n }\n if (window.location.href.indexOf('/checkout/') > -1) {\n return jQuery('#orderContainerItem [id^=\"orderItem\"] img[alt=\"product\"]').last().attr('src') || null;\n }\n\n return null;\n})();","trigger":"pageload"},{"name":"page_type","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts;","trigger":"pageload"},{"name":"addon_wrapup_content_loaded","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('.MuiButton-label:contains(\"Continue to checkout\"), #btnCheckout, #btnAddToCart').length > 0;","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":1,"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 bouncex.calling_url.indexOf('pwa.www') > -1 || bouncex.calling_url.indexOf('pwastage.www') > -1 || bouncex.calling_url.indexOf('www.1800flowers.com') > -1;\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","CA"],"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":"264952733","ga4_measurement_id":"G-864GQ5CPBS","tag_state_domain":"api.bounceexchange.com"} ; 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":"27166d3b6527a269bad237fea7e0ef3c","creativesBaseStyles":"a53944a2","gpsAuction":"bbb80866120d17013073bb6d284cbd6b","inbox":"75060a85c1a4aebcc6f779b9e84db722","onsite":"abbdf7a49be9b52b097917b7b527b262","sms":"e39203556bab2366e56296ce42e974a7","websdk":"04cde0014774b7eb597770595769aab1"}; 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_4b048f3d0cfb1030f90fec02949d8c38.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_6ef1802500d8367a80105e664862d0d7.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(); }})();