truste.bn.isConsentTrack=!0,truste.bn.round=function(e,t){return Number(Math.round(e+"e"+t)+"e-"+t)},truste.bn.getDefaultStyleProperty=function(e,t){var s,n=document.createElement(t);return document.body.appendChild(n),s=window.getComputedStyle(n,null)[e],n.parentNode.removeChild(n),s},truste.bn.getDisplayProperty=function(e){var t=window.getComputedStyle(e,null).display;return t=="none"?truste.bn.getDefaultStyleProperty("display",e.nodeName):t},truste.bn.show=function(e){if(!e)return;var t=truste.bn.getDisplayProperty(e);typeof requestAnimationFrame!="undefined"?(e.style.opacity=0,e.style.display=t,function e(t){var n=truste.bn.round(parseFloat(t.style.opacity),2);(n=n+.1)<=1&&(t.id!="truste-consent-track"||truste.bn.isConsentTrack)&&(t.style.opacity=n,requestAnimationFrame(function(){e(t)}))}(e)):e.style.display=t},truste.bn.hide=function(e){if(!e)return;typeof requestAnimationFrame!="undefined"?function e(t){var n=truste.bn.round(parseFloat(t.style.opacity||1),2),n=n-.1;t.style.opacity=n,n<=0?t.style.display="none":requestAnimationFrame(function(){e(t)})}(e):e.style.display="none"},truste.bn.isVisible=function(e){var t=window.getComputedStyle(e);return t.display!=="none"&&t.opacity>0&&t.visibility!=="hidden"},truste.bn.removeEvent=function(e,t,n){e&&typeof t=="string"&&n instanceof Function&&(e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent&&e.detachEvent("on"+t,n))},truste.bn.addEvent=function(e,t,n){e&&typeof t=="string"&&n instanceof Function&&(e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,n))},function(){var n,s,o,i,a,t=truste.eu.bindMap;t.bannerMsgURL=t.iconBaseUrl+"bannermsg?",s=t.params,o=s.c||"teconsent",n=s.bb||"consent_blackbar",document.getElementById(n)?r(s,o,n):typeof MutationObserver!="undefined"?(i=new MutationObserver(function(){document.getElementById(n)&&(i.disconnect(),r(s,o,n))}),i.observe(document.body||document.getElementsByTagName("body")[0]||document.documentElement,{attributes:!1,childList:!0,characterData:!1,subtree:!0}),setTimeout(function(){i.disconnect()},6e4)):(a=setInterval(function(){document.getElementById(n)&&(a=clearInterval(a),r(s,o,n))},150),setTimeout(function(){clearInterval(a)},1e4));function r(e,n,s){var d=3,d=d>0?d:3,c=function(t){for(var s=[],n=0;n<t;n++)s.push(n);return s.join(",")}(d),a="truste-consent-track",x=/MSEI|Trident/.test(navigator.userAgent),j=/\bandroid (\d+(?:\.\d+)+);/gi.exec(navigator.userAgent),E=j&&j[1]<="4.4",C=document.getElementById(n),l=document.getElementById(s),o={consentButton:"truste-consent-button",footerCallback:"truste-show-consent",cookieButton:"truste-cookie-button",privacyButton:"truste-privacy-button",bannerHolder:a,closeBanner:"truste-consent-close",repopDiv:"truste-repop-msg",requiredButton:"truste-consent-required",ccpaOptoutButton:"truste-ccpa-optout",ccpaOptedIn:"ccpa-opted-in",ccpaOptedOut:"ccpa-opted-out",ccpaNoPreference:"ccpa-no-preference",iabPartnersLink:"iab-partners-link",secondIabPartnersLink:"iab-second-partners-link"},u=document.readyState;u&&(u=="complete"||u=="interactive")?i("loaded"):truste.bn.addEvent(document,"DOMContentLoaded",function(){i("loaded")});function i(e){if(i[e])return;switch(i[e]=1,e){case"loaded":l&&(m(),k(),f(),truste.bn.checkPreference()?O():t.bnFlags.consentUnresolved?truste.bn.checkConsentUnresolved(O,w):w());break;case"done":truste.bn.isConsentTrack=!1,truste.bn.removeEvent(document,"click",b),truste.bn.removeEvent(document,"scroll",p),truste.bn.show(C),truste.bn.hide(document.getElementById(a));break;case"open":try{if(x||E){var n=document.createEvent("UIEvents");n.initUIEvent("resize",!0,!1,window,0),window.dispatchEvent(n)}else window.dispatchEvent(new Event("resize"))}catch(e){console&&console.log("Resize event not supported.")}}}function k(){var t='<style>  @font-face {      font-family: SodoSans_Normal;      src: url(https://consent.trustarc.com/get?name=sodosans-normal.woff);  }  @font-face {      font-family: SodoSans_Bold;      src: url(https://consent.trustarc.com/get?name=sodosans-bold.woff);  }  #consent_blackbar {      width: 343px;      margin: 0 auto;      position: fixed;      z-index: 99999;      top: 30%;      left: 50%;      transform: translate(-50%, -50%);  }  .starbucks_banner_title h1 {      color: #000;      font-family: SodoSans_Normal;      font-size: 19px;  }  .starbucks_banner_title h2 span {      color: #000 !important;  }  #truste-consent-track {      background-color: white;      width: 343px;      margin: 80px auto;      border-radius: 8px;      box-shadow: 0 11px 15px 0 rgba(0, 0, 0, 0.1), 0 9px 46px 8px rgba(0, 0, 0, 0.06), 0 24px 38px 3px rgba(0, 0, 0, 0.07);      overflow: hidden;      border: 1.5px solid rgba(0, 0, 0, .12);  }  .truste-banner {      margin: 0 auto;      padding: 36px 34px 20px 34px;  }  .truste-messageColumn {      color: rgba(0, 0, 0, 0.87);      font-size: 13px;      line-height: 1.46;      font-family: SodoSans_Normal;  }  .truste-buttonsColumn {      float: right;      margin: 35px 5px 10px 0px;      display: flex;      align-items: center;  }  .truste-button1 {      font-family: SodoSans_Normal;      background: none;      color: #008248;      font-size: 16px;      width: auto;      height: auto;      cursor: pointer;      margin-left: 0;      padding: 0;      border: none;      margin-right: 7px;      outline: none;      text-align: left;  }  .truste-button1:hover {      text-decoration: underline;  }  .truste-button2 {      background: none;      background-color: #008248;      padding: 7px 16px;      border-color: #008248;      border-style: solid;      border-radius: 50px;      color: rgba(255, 255, 255, 1);      font-weight: 400;      font-size: 14px;      line-height: 1.2;      text-align: center;      text-decoration: none;      outline: none;      cursor: pointer;      font-family: SodoSans_Normal;      margin-right: 7px;      text-transform: capitalize;  }  .truste-button2:hover {      background-color: #025d34;  }  .truste-button3 {      font-family: SodoSans_Normal;      background: none;      color: #008248;      font-size: 13px;      width: auto;      height: auto;      cursor: pointer;      margin-left: 0;      padding: 0;      border: none;      margin-right: 7px;      outline: none;      float: left;      margin-top: 20px;      text-decoration: none;  }  .truste-button3:hover {      text-decoration: underline;  }  /*.truste-button1,  .truste-button2  {  font-family: Arial,sans-serif;  background: #b3b3b3;  color: #fff;  font-size: 14px;  width: 170px;  height: auto;  cursor: pointer;  margin-left: 5px;  padding:5px;  border: 0px none;  }*/  .hidedesktop {      display: none;      font-family: Arial, sans-serif;      font-size: 14px;      cursor: pointer;      color: #00559c;      text-decoration: none;  }  .truste-cookie-link {      font-family: Arial, sans-serif;      font-size: 12px;      cursor: pointer;      color: #fff;      text-decoration: underline;      display: inline-block;      padding: 5px;  }  .starbucks_banner_title:focus,  #truste-consent-text:focus,  #truste-show-consent:focus {      outline: 2px solid #00754a;      border-radius: 2px;  }  .truste-button2:focus {      outline: 2px solid #00754A;      border-radius: 50px;      outline-offset: 2px;  }  /* MEDIA QUERIES */  @media screen and (max-width: 420px) {      .truste-banner {          margin: 0 10px;      }      .truste-buttonsColumn {          display: block;      }      .truste-messageColumn,      .truste-buttonsColumn {          float: left;          width: 100%;      }      .truste-messageColumn {          margin: 15px 0px 10px 0px;      }      .truste-buttonsColumn {          float: right;          margin: 10px 0px 10px 0px;      }      .truste-button1 {          text-align: center;      }      .truste-button1,      .truste-button2 {          margin-top: 5px;          margin-left: 0px;          width: 100%;      }      .hidedesktop {          display: inline;          font-size: 14px;          cursor: pointer;          color: #00559c;          text-decoration: none;      }      .truste-button3 {          min-width: 100%;          margin: 10px 0 0 0;          display: flex;          justify-content: center;      }  }  @media screen and (min-width: 421px) and (max-width: 856px) {      .truste-banner {          margin: 0 10px;      }      .truste-messageColumn,      .truste-buttonsColumn {          float: left;          width: 100%;      }      .truste-messageColumn {          margin: 15px 0px 10px 0px;      }      .truste-buttonsColumn {          margin: 10px 0px 10px 0px;      }      .truste-button1,      .truste-button2 {          margin-top: 0px;          margin-left: 0px;          width: 45%;          float: left;      }      .truste-button2 {          margin-right: 5px;      }      .hidedesktop {          display: inline;          font-size: 14px;          cursor: pointer;          color: #00559c;          text-decoration: none;      }  }</style><div id="truste-consent-track" style="">    <div id="truste-consent-content" class="truste-banner" style="overflow: hidden; max-width: 1200px; max-height:auto;">        <div class="starbucks_banner_title" tabindex="0">            <h2><span>This site uses cookies, but not the kind you eat</span></h2>        </div>        <div id="truste-consent-text" class="truste-messageColumn" tabindex="0">We use cookies to remember log in details, provide secure log in, improve site functionality, and deliver personalized content. By continuing to browse the site, you accept cookies.        </div>        <div id="truste-consent-buttons" class="truste-buttonsColumn">            <button id="truste-show-consent" type="button" class="truste-button1" tabindex="0">Change cookie settings</button>            <button id="truste-consent-button" type="button" class="truste-button2" tabindex="0">Agree</button>        </div>        <div id="truste-banner-footer">            <a href="https://www.starbucks.com/terms/privacy-notice/" target="_blank" type="button" class="truste-button3" tabindex="0">Privacy Notice</a>        </div>    </div></div>',t=t.replace("&lt;i&gt;","<i>").replace("&lt;/i&gt;","</i>").replace("&lt;b&gt;","<b>").replace("&lt;/b&gt;","</b>");(!t||t.length<15)&&(t='<div id="truste-consent-track" style="display:none; background-color:#000;"><div id="truste-consent-content" style="overflow: hidden; margin: 0 auto; max-width: 1000px"><div id="truste-consent-text" style="float:left; margin:15px 0 10px 10px; width:500px;"><h2 style="color: #fff; font-size: 16px; font-weight:bold; font-family:arial;">Some functionality on this site requires your consent for cookies to work properly.</h2><div id="truste-repop-msg" style="padding: 0px 0px 5px 0px;font-size: 12px;color: #F0C36D; display:none; font-family: arial,sans-serif;"></div></div><div id="truste-consent-buttons" style="float:right; margin:20px 10px 20px 0;"><button id="truste-consent-button" type=button style="padding:5px; margin-right:5px; font-size:12px;">I consent to cookies</button><button id="truste-show-consent" type=button style="padding:5px; margin-right:5px; font-size:12px;">I want more information</button></div></div></div>'),e.responsive==="false"&&(t=t.replace(/(class=["'].*?)[\s]?truste-responsive(.*?["'])/g,"$1$2")),l.insertAdjacentHTML?l.insertAdjacentHTML("afterbegin",t):l.innerHTML=t}function g(e){var t=truste.util&&truste.util.getJSON||truste.cma&&truste.cma.cheapJSON||window.JSON.stringify,n={source:"preference_manager",message:e,data:{useNonStandardStacks:!1,consentScreen:1}};window.postMessage&&window.postMessage(t(n),"*")}function v(){self.localStorage.removeItem(truste.eu.COOKIE_CATEGORY_NAME),truste.eu.ccpa.dropCcpaCookie(!1),r(c)}function h(){var t=truste.eu.bindMap;truste.eu.ccpa.dropCcpaCookie(!0),t&&t.prefmgrUrl&&(e.gtm||truste.eu.noticeLP.gtm==1)?(truste.bn.hide(document.getElementById(a)),r("0"),truste.util.callCMEndpoint("/defaultconsentmanager/getOptOutDomains?",null,function(e){var t=e.responseText;t&&truste.util.parseJSON(t)&&truste.util.setStorage(truste.eu.COOKIE_CATEGORY_NAME,t,!1)})):truste.eu&&truste.eu.clickListener&&truste.eu.clickListener(3)}function r(e){if(t=truste.util.getLowestConsent(e),!isNaN(t=parseInt(t))&&truste.eu&&truste.eu.actmessage){var t,n,o=truste.util&&truste.util.getJSON||truste.cma&&truste.cma.cheapJSON||window.JSON.stringify,s={source:"preference_manager",message:"submit_preferences",data:{value:e}};truste.eu.actmessage(s),window.PREF_MGR_API_DEBUG&&PREF_MGR_API_DEBUG.authorities.push(window.location.hostname),window.postMessage&&window.postMessage(o(s),"*"),n=truste.eu.bindMap,n&&n.prefmgrUrl&&!n.feat.ccpaApplies&&truste.util.callCMEndpoint("/defaultconsentmanager/optin?",t,function(){},!0),i("selection")}else i("done")}function f(){var n,a,l,s=truste.eu.bindMap;s.feat.isReconsentEvent&&s.popupMsg.length>0&&(a=document.getElementById(o.repopDiv),a&&(a.innerHTML=s.popupMsg,truste.bn.show(a))),n=document.getElementById(o.consentButton),n&&(l=new RegExp(("^"+c+"$").replace(/,/g,".")),!e.gtm&&!s.feat.enableCCPA&&s.feat.isRepopEvent&&!l.test(s.prefCookie)?n.style.display="none":n.onclick=function(){truste.bn.msglog("accepts",t.bannerMsgURL),t.feat.iabBannerApplies&&g("process_iab_accept_all"),(s.feat.enableCCPA||s.feat.isReconsentEvent)&&s.feat.enableTwoStepVerification&&truste.util.validConsent(s.prefCookie)&&!l.test(s.prefCookie)?truste.eu&&truste.eu.clickListener&&truste.eu.clickListener(6):v()}),n=document.getElementById(o.footerCallback),n&&(n.setAttribute("aria-haspopup","true"),n.onclick=function(){truste.bn.msglog("moreinfo",t.bannerMsgURL),truste.eu&&truste.eu.clickListener&&(t.feat.iabBannerApplies?truste.eu.clickListener(4):truste.eu.clickListener(parseInt(e.pn)||0),s.returnFocusTo=o.footerCallback.replace("#",""))}),n=document.getElementById(o.requiredButton),n&&(n.onclick=function(){if(truste.bn.msglog("requiredonly",t.bannerMsgURL),truste.eu.cpra&&truste.eu.cpra.shouldShowFinProg()){truste.eu.clickListener(7,!0,{cpraConsent:"0",cpraSource:"banner-decline"});return}t.feat.iabBannerApplies&&g("process_iab_reject_all"),h()}),n=document.getElementById(o.ccpaOptoutButton),n&&(n.onclick=function(){if(truste.bn.msglog("requiredonly",t.bannerMsgURL),truste.eu.cpra&&truste.eu.cpra.shouldShowFinProg()){truste.eu.clickListener(7,!0,{cpraConsent:"0",cpraSource:"banner-decline-ccpa"});return}truste.bn.declineCPRA()}),n=document.getElementById(o.cookieButton),n&&(e.cookieLink&&(n.href=e.cookieLink),n.onclick=function(n){truste.bn.msglog("cookiepolicy",t.bannerMsgURL),e.cookieLink&&(n.preventDefault(),window.open(e.cookieLink))}),n=document.getElementById(o.privacyButton),n&&(e.privacypolicylink&&(n.href=e.privacypolicylink),n.onclick=function(t){e.privacypolicylink&&(t.preventDefault(),window.open(e.privacypolicylink))}),n=document.getElementById(o.closeBanner),n&&(n.onclick=function(){var e=truste.eu.bindMap,t=truste.util.validConsent(e.prefCookie),n=e.feat.optoutClose&&!t;if(n){if(truste.eu.cpra&&truste.eu.cpra.shouldShowFinProg()){truste.eu.clickListener(7,!0,{cpraConsent:"0",cpraSource:"banner-decline"});return}h()}else i("done")}),n=document.getElementById(o.iabPartnersLink),n&&(n.onclick=function(){truste.eu.clickListener(5),s.returnFocusTo=o.iabPartnersLink.replace("#","")},n.onkeyup=function(e){e.keyCode==13&&(truste.eu.clickListener(5),s.returnFocusTo=o.iabPartnersLink.replace("#",""))}),n=document.getElementById(o.secondIabPartnersLink),n&&(n.onclick=function(){truste.eu.clickListener(5),s.returnFocusTo=o.secondIabPartnersLink.replace("#","")},n.onkeyup=function(e){e.keyCode==13&&(truste.eu.clickListener(5),s.returnFocusTo=o.secondIabPartnersLink.replace("#",""))}),_(),parseInt(e.fade)&&setTimeout(function(){r(e.sl)},parseInt(e.fade)),i("open")}function _(){var e,t,n,s,a,i=truste.eu.bindMap;i.feat.ccpaApplies&&(s=truste.eu.ccpa.getOptout(),e=document.getElementById(o.ccpaOptedOut),t=document.getElementById(o.ccpaOptedIn),n=document.getElementById(o.ccpaNoPreference),s&&i.prefCookie?(a=/^[yY]$/,a.test(s)?(e&&truste.bn.show(e),t&&truste.bn.hide(t),n&&truste.bn.hide(n)):(e&&truste.bn.hide(e),t&&truste.bn.show(t),n&&truste.bn.hide(n))):(e&&truste.bn.hide(e),t&&truste.bn.hide(t),n&&truste.bn.show(n)))}function m(){e.oc&&truste.bn.addEvent(document,"click",b),e.px&&truste.bn.addEvent(document,"scroll",p)}function O(){truste.bn.isConsentTrack=!0,truste.bn.show(document.getElementById(a)),truste.bn.msglog("views",t.bannerMsgURL)}function w(){i("done"),truste.bn.msglog("returns",t.bannerMsgURL)}function y(e){return e&&truste.bn.isVisible(e)&&!document.getElementById(truste.eu.popdiv2)}function b(e){var t=document.getElementById(a);y(t)&&!t.contains(e.target)&&e.target.id!==truste.eu.popclose&&r(c)}function p(){var n=document.getElementById(a);y(n)&&(document.scrollingElement.scrollTop||document.documentElement.scrollTop)>=e.px&&r(c)}truste.bn.reopenBanner=function(){l&&(truste.bn.isConsentTrack=!0,i.done=0,m(),f(),truste.bn.show(document.getElementById(a)))},truste.bn.twoStepConfirmed=function(){truste.eu.ccpa.dropCcpaCookie(!1),r(c),truste.bn.msglog("twostepoptin",t.bannerMsgURL)},truste.bn.twoStepDeclined=function(){i("done")},truste.bn.acceptAll=function(){v()},truste.bn.declineAll=function(){h()},truste.bn.declineCPRA=function(){truste.eu.ccpa.dropCcpaCookie(!0),r("0")},truste.bn.handleBannerDone=function(){var e=truste.eu.bindMap;!truste.eu.isGPCDNTEvent()||!e.feat.dntShowUI?i("done"):_()}}}()