The First 90 Days After Birth: A Self-Care Journal for First-Time Moms

{"AUI_TNR_V2_180836":"C","AUI_ACCORDION_A11Y_ROLE_354025":"C","AUI_PRELOAD_261698":"C","AUI_TEMPLATE_WEBLAB_CACHE_333406":"C","AUI_72554":"C","AUI_KILLSWITCH_CSA_LOGGER_372963":"C","AUI_REL_NOREFERRER_NOOPENER_309527":"C","AUI_PCI_RISK_BANNER_210084":"C"}typeof uex === 'function' && uex('ld', 'portal-bb', {wb: 1})!function(){function n(n,t){var r=i(n);return t&&(r=r("instance",t)),r}var r=[],c=0,i=function(t){return function(){var n=c++;return r.push([t,[].slice.call(arguments,0),n,{time:Date.now()}]),i(n)}};n._s=r,this.csa=n}();;csa('Config', {"ContentInteractionsSummary.FlushInterval":5000});if (window.csa) {csa("Config", {'Application': 'Retail:Prod:www.amazon.com','Events.Namespace': 'csa','ObfuscatedMarketplaceId': 'ATVPDKIKX0DER','Events.SushiEndpoint': 'https://unagi.amazon.com/1/events/com.amazon.csm.csa.prod','CacheDetection.RequestID': "0G9KJ0VCHWYXX9FPG7FG",'CacheDetection.Callback': window.ue && ue.reset,'LCP.elementDedup': 1});csa("Events")("setEntity", {page: {requestId: "0G9KJ0VCHWYXX9FPG7FG", meaningful: "interactive"},session: {id: "142-6145199-3593660"}});}!function(r){var i,e,o="splice",u=r.csa,f={},c={},a=r.csa._s,s=0,l=0,g=-1,h={},v={},d={},n=Object.keys,p=function(){};function t(n,t){return u(n,t)}function m(n,t){var r=c[n]||{};k(r,t),c[n]=r,l++,S(U,0)}function w(n,t,r){var i=!0;return t=D(t),r&&r.buffered&&(i=(d[n]||[]).every(function(n){return!1!==t(n)})),i?(h[n]||(h[n]=[]),h[n].push(t),function(){!function(n,t){var r=h[n];r&&r[o](r.indexOf(t),1)}(n,t)}):p}function b(n,t){if(t=D(t),n in v)return t(v[n]),p;return w(n,function(n){return t(n),!1})}function y(n,t){if(u("Errors")("logError",n),f.DEBUG)throw t||n}function E(){return Math.abs(4294967295*Math.random()|0).toString(36)}function D(n,t){return function(){try{return n.apply(this,arguments)}catch(n){y(n.message||n,n)}}}function S(n,t){return r.setTimeout(D(n),t)}function U(){for(var n=0;n.Error.4",errorMessage:n.m||null,attribution:n.attribution||null,logLevel:"FATAL",url:null,file:null,line:null,column:null,stack:n.s||[],context:{},surfaceInfo:{}},n.logLevel&&(t.logLevel=""+n.logLevel),u.forEach(function(e){n[e]&&(t.context[e]=n[e])}),"INFO"===n.logLevel||Object.keys(c).forEach(function(e){"number"!=typeof n[c[e]]&&"string"!=typeof n[c[e]]||(t[e]=""+n[c[e]])}),t}(e),n)}}}i.register("Errors",{instance:function(e){return new n(e||{})},logError:e("jsError"),logWarn:e("jsWarn")})});csa.plugin(function(o){var r,e,n,t,a,i="function",u="willDisappear",f="$app.",p="$document.",c="focus",s="blur",d="active",l="resign",$=o.global,b=o.exec,m=o.config["Transport.AnonymizeRequests"]||!1,g=o("Events"),h=$.location,v=$.document||{},y=$.P||{},P=(($.performance||{}).navigation||{}).type,w=o.on,k=o.emit,E=v.hidden,T={};h&&v&&(w($,"beforeunload",D),w($,"pagehide",D),w(v,"visibilitychange",R(p,function(){return v.visibilityState||"unknown"})),w(v,c,R(p+c)),w(v,s,R(p+s)),y.when&&y.when("mash").execute(function(e){e&&(w(e,"appPause",R(f+"pause")),w(e,"appResume",R(f+"resume")),R(f+"deviceready")(),$.cordova&&$.cordova.platformId&&R(f+cordova.platformId)(),w(v,d,R(f+d)),w(v,l,R(f+l)))}),e=$.app||{},n=b(function(){k(f+"willDisappear"),D()}),a=typeof(t=e[u])==i,e[u]=b(function(){n(),a&&t()}),$.app||($.app=e),"complete"===v.readyState?A():w($,"load",A),E?S():x(),o.on("$app.blur",S),o.on("$app.focus",x),o.on("$document.blur",S),o.on("$document.focus",x),o.on("$document.hidden",S),o.on("$document.visible",x),o.register("SPA",{newPage:I}),I({transitionType:{0:"hard",1:"refresh",2:"back-button"}[P]||"unknown"}));function I(n,e){var t=!!r,a=(e=e||{}).keepPageAttributes;t&&(k("$beforePageTransition"),k("$pageTransition")),t&&!a&&g("removeEntity","page"),r=o.UUID(),a?T.id=r:T={schemaId:".PageEntity.1",id:r,url:m?h.href.split("?")[0]:h.href,server:h.hostname,path:h.pathname,referrer:m?v.referrer.split("?")[0]:v.referrer,title:v.title},Object.keys(n||{}).forEach(function(e){T[e]=n[e]}),g("setEntity",{page:T}),k("$pageChange",T,{buffered:1}),t&&k("$afterPageTransition")}function A(){k("$load"),k("$ready"),k("$afterload")}function D(){k("$ready"),k("$beforeunload"),k("$unload"),k("$afterunload")}function S(){E||(k("$visible",!1,{buffered:1}),E=!0)}function x(){E&&(k("$visible",!0,{buffered:1}),E=!1)}function R(n,t){return b(function(){var e=typeof t==i?n+t():n;k(e)})}});csa.plugin(function(c){var e="Events",t="UNKNOWN",s="id",a="all",n="messageId",i="timestamp",u="producerId",o="application",r="obfuscatedMarketplaceId",f="entities",d="schemaId",l="version",p="attributes",v="",g="session",h=c.config,m=(c.global.location||{}).host,y=h[e+".Namespace"]||"csa_other",I=h.Application||"Other"+(m?":"+m:""),b=h["Transport.AnonymizeRequests"]||!1,O=c("Transport"),E={},U=function(e,t){Object.keys(e).forEach(t)};function A(n,i,o){U(i,function(e){var t=o===a||(o||{})[e];e in n||(n[e]={version:1,id:i[e][s]||c.UUID()}),N(n[e],i[e],t)})}function N(t,n,i){U(n,function(e){!function(e,t,n){return"string"!=typeof t&&e!==l?c.error("Attribute is not of type string: "+e):!0===n||1===n||(e===s||!!~(n||[]).indexOf(e))}(e,n[e],i)||(t[e]=n[e])})}function S(o,e,r){U(e,function(e){var t=o[e];if(t[d]){var n={},i={};n[s]=t[s],n[u]=t[u]||r,n[d]=t[d],n[l]=t[l]++,n[p]=i,k(n),N(i,t,1),w(i),O("log",n)}})}function k(e){e[i]=function(e){return"number"==typeof e&&(e=new Date(e).toISOString()),e||c.time("ISO")}(e[i]),e[n]=e[n]||c.UUID(),e[o]=I,e[r]=h.ObfuscatedMarketplaceId||t,e[d]=e[d].replace(v,y)}function w(e){delete e[l],delete e[d],delete e[u]}function D(o){var r={};this.log=function(e,t){var n={},i=(t||{}).ent;return e?"string"!=typeof e[d]?c.error("A valid schema id is required for the event"):(k(e),A(n,E,i),A(n,r,i),A(n,e[f]||{},i),U(n,function(e){w(n[e])}),e[u]=o[u],e[f]=n,void O("log",e,t)):c.error("The event cannot be undefined")},this.setEntity=function(e){b&&delete e[g],A(r,e,a),S(r,e,o[u])}}h["KillSwitch."+e]||c.register(e,{setEntity:function(e){b&&delete e[g],A(E,e,a),S(E,e,"csa")},removeEntity:function(e){delete E[e]},instance:function(e){return new D(e)}})});csa.plugin(function(s){var c,g="Transport",l="post",f="preflight",r="csa.cajun.",i="store",a="deleteStored",u="sendBeacon",t="__merge",e="messageId",n=".FlushInterval",o=0,d=s.config[g+".BufferSize"]||2e3,h=s.config[g+".RetryDelay"]||1500,p=s.config[g+".AnonymizeRequests"]||!1,v={},y=0,m=[],E=s.global,R=E.document,b=s.timeout,k=E.Object.keys,w=s.config[g+n]||5e3,I=w,O=s.config[g+n+".BackoffFactor"]||1,S=s.config[g+n+".BackoffLimit"]||3e4,B=0;function T(n){if(864e5.ContentInteraction.1",interaction:t,interactionData:e,messageId:c.UUID()};if(n){var r=b(n);r&&(i.attribution=r);var o=function(t){for(var e=t,n=e.tagName,a=!1,i=t?t.href:null,r=0;r

').appendTo(flyout.elem());var panelGroup=flyout.getName()+'SubCats';var hideTimeout=null;var sloppyTrigger=createSloppyTrigger($parent);var showParent=function(){if(hideTimeout){clearTimeout(hideTimeout);hideTimeout=null;} if(visible){return;} var height=$('#nav-flyout-shopAll').height(); $parent.css({'height': height});$parent.animate({width:'show'},{duration:200,complete:function(){$parent.css({overflow:'visible'});}});visible=true;};var hideParentNow=function(){$parent.stop().css({overflow:'hidden',display:'none',width:'auto',height:'auto'});panels.hideAll({group:panelGroup});visible=false;if(hideTimeout){clearTimeout(hideTimeout);hideTimeout=null;}};var hideParent=function(){if(!visible){return;} if(hideTimeout){clearTimeout(hideTimeout);hideTimeout=null;} hideTimeout=setTimeout(hideParentNow,10);};flyout.onHide(function(){sloppyTrigger.disable();hideParentNow();this.elem().hide();});var addPanel=function($link,panelKey){var panel=dataPanel({className:'nav-subcat',dataKey:panelKey,groups:[panelGroup],spinner:false,visible:false});if(!flyoutDebug){var mouseout=mouseOutUtility();mouseout.add(flyout.elem());mouseout.action(function(){panel.hide();});mouseout.enable();} var a11y=a11yHandler({link:$link,onEscape:function(){panel.hide();$link.focus();}});var logPanelInteraction=function(promoID,wlTriggers){var logNow=$F.once().on(function(){var panelEvent=$.extend({},event,{id:promoID});if(config.browsePromos&&!!config.browsePromos[promoID]){panelEvent.bp=1;} logEvent(panelEvent);phoneHome.trigger(wlTriggers);});if(panel.isVisible()&&panel.hasInteracted()){logNow();}else{panel.onInteract(logNow);}};panel.onData(function(data){renderPromo(data.promoID,panel.elem());logPanelInteraction(data.promoID,data.wlTriggers);});panel.onShow(function(){var columnCount=$('.nav-column',panel.elem()).length;panel.elem().addClass('nav-colcount-'+columnCount);showParent();var $subCatLinks=$('.nav-subcat-links > a',panel.elem());var length=$subCatLinks.length;if(length>0){var firstElementLeftPos=$subCatLinks.eq(0).offset().left;for(var i=1;i'+ catTitle+'');panel.elem().prepend($subPanelTitle);}} $link.addClass('nav-active');});panel.onHide(function(){$link.removeClass('nav-active');hideParent();a11y.disable();sloppyTrigger.disable();});panel.onShow(function(){a11y.elems($('a, area',panel.elem()));});sloppyTrigger.register($link,panel);if(flyoutDebug){$link.click(function(){if(panel.isVisible()){panel.hide();}else{panel.show();}});} var panelKeyHandler=onKey($link,function(){if(this.isEnter()||this.isSpace()){panel.show();}},'keydown',false);$link.focus(function(){panelKeyHandler.bind();}).blur(function(){panelKeyHandler.unbind();});panel.elem().appendTo($parent);};var hideParentAndResetTrigger=function(){hideParent();sloppyTrigger.disable();};for(var i=0;iwindow.navmet.push({key:'PreNav',end:+new Date(),begin:window.navmet.tmp});Skip to main contentwindow.navmet.tmp=+new Date();window.navmet.push({key:'UpNav',end:+new Date(),begin:window.navmet.tmp});window.navmet.main=+new Date();window.navmet.tmp=+new Date();.uswindow.navmet.push({key:'Logo',end:+new Date(),begin:window.navmet.tmp});Deliver toRepublic of KoreaP.when('glow-toaster-strings').execute(function(S) {S.load({"glow-toaster-address-change-error":"An error has occurred and the address has not been updated. Please try again.","glow-toaster-unknown-error":"An error has occurred. Please try again."});});P.when('glow-toaster-manager').execute(function(M) {M.create({"storeName":"books","pageType":"Detail","aisTransitionState":"in","rancorLocationSource":"IP_GEOLOCATION"})});window.navmet.tmp=+new Date();BooksSelect the department you want to search inAll DepartmentsArts & CraftsAutomotiveBabyBeauty & Personal CareBooksBoys' FashionComputersDealsDigital MusicElectronicsGirls' FashionHealth & HouseholdHome & KitchenIndustrial & ScientificKindle StoreLuggageMen's FashionMovies & TVMusic, CDs & VinylPet SuppliesPrime VideoSoftwareSports & OutdoorsTools & Home ImprovementToys & GamesVideo GamesWomen's FashionSearch Amazonwindow.navmet.push({key:'Search',end:+new Date(),begin:window.navmet.tmp});window.navmet.tmp=+new Date();ENHello, sign inAccount & ListsReturns& Orders0Cartwindow.navmet.push({key:'Tools',end:+new Date(),begin:window.navmet.tmp});window.navmet.tmp=+new Date();Allvar hmenu = document.getElementById("nav-hamburger-menu");hmenu.setAttribute("href", "javascript: void(0)");window.navHamburgerMetricLogger = function() {if (window.ue && window.ue.count) {var metricName = "Nav:Hmenu:IconClickActionPending";window.ue.count(metricName, (ue.count(metricName) || 0) + 1);}window.$Nav && $Nav.declare("navHMenuIconClicked",!0);window.$Nav && $Nav.declare("navHMenuIconClickedNotReadyTimeStamp", Date.now());};hmenu.addEventListener("click", window.navHamburgerMetricLogger);window.$Nav && $Nav.declare('hamburgerMenuIconAvailableOnLoad', false);window.navmet.push({key:'HamburgerMenuIcon',end:+new Date(),begin:window.navmet.tmp});window.navmet.tmp=+new Date();Today's DealsCustomer ServiceRegistryGift CardsSellDisability Customer Supportwindow.navmet.push({key:'CrossShop',end:+new Date(),begin:window.navmet.tmp});window.navmet.tmp=+new Date();Shop great deals nowwindow.navmet.push({key:'SWM',end:+new Date(),begin:window.navmet.tmp});window.navmet.tmp=+new Date();BooksAdvanced SearchNew ReleasesBest Sellers & MoreAmazon Book ClubsChildren's BooksTextbooksTextbook RentalsBest Books of the Monthwindow.navmet.push({key:'Subnav',end:+new Date(),begin:window.navmet.tmp});(function() {var viewportWidth = function() {return window.innerWidth ||document.documentElement.clientWidth ||document.body.clientWidth;};if (typeof uet === 'function') {uet('x1', 'ewc', {wb: 1}); }window.$Nav && $Nav.declare('config.ewc', (function() {var config = {"enablePersistent":true,"viewportWidthForPersistent":1400,"isEWCLogging":1,"isEWCStateExpanded":true,"EWCStateReason":"fixed","isSmallScreenEnabled":true,"isFreshCustomer":false,"errorContent":{"html":""},"url":"/cart/ewc/compact?hostPageType=Detail&hostSubPageType=Glance&hostPageRID=0G9KJ0VCHWYXX9FPG7FG&prerender=0&storeName=books","cartCount":0,"freshCartCount":0,"almCartCount":0,"primeWardrobeCartCount":0,"isCompactViewEnabled":true,"isCompactEWCRendered":true,"isWiderCompactEWCRendered":true,"EWCBrowserCacheKey":"EWC_Cache_142-6145199-3593660__USD_en_US","isContentRepainted":false,"clearCache":false,"loadFromCacheWithDelay":0,"delayRenderingTillATF":false,"EarlyLoadEWCContentTreatment":"T3"};var hasAui = window.P && window.P.AUI_BUILD_DATE;var isRTLEnabled = (document.dir === 'rtl');config.pinnable = config.pinnable && hasAui;config.isMigrationTreatment = true;config.flyout = (function() {var navbelt = document.getElementById('nav-belt');var navCart = document.getElementById('nav-cart');var ewcFlyout = document.getElementById('nav-flyout-ewc');var persistentClassOnBody = 'nav-ewc-persistent-hover nav-ewc-full-height-persistent-hover';var flyout = {};var getDocumentScrollTop = function() {return (document.documentElement && document.documentElement.scrollTop) || document.body.scrollTop;};var isWindow = function(obj) {return obj != null && obj === obj.window;};var getWindow = function(elem) {return isWindow(elem) ? elem : elem.nodeType === 9 && elem.defaultView;};var getOffset = function(elem) {if (elem.getClientRects && !elem.getClientRects().length) {return {top: 0};}var rect = elem.getBoundingClientRect? elem.getBoundingClientRect(): {top: 0};if (rect.width || rect.height) {var doc = elem.ownerDocument;var win = getWindow(doc);return {top: rect.top + win.pageYOffset - doc.documentElement.clientTop};}return rect;};flyout.align = function() {var newTop = getOffset(navbelt).top - getDocumentScrollTop();ewcFlyout.style.top = (newTop > 0 ? newTop + 'px' : 0);};flyout.hide = function() {isRTLEnabled? (ewcFlyout.style.left = ''): (ewcFlyout.style.right = '');};if(typeof config.isCompactEWCRendered === 'undefined') {if ((config.isSmallScreenEnabled && viewportWidth() < 1400) ||(config.isCompactViewEnabled && viewportWidth() >= 1400)) {config.isCompactEWCRendered = true;config.isEWCStateExpanded = true;config.url = config.url.replace("/gp/navcart/sidebar", "/cart/ewc/compact");} else {config.isCompactEWCRendered = false;}}var viewportQualifyForPersistent = function () {return (config.isCompactEWCRendered)? true: viewportWidth() >= 1400;}flyout.hasQualifiedViewportForPersistent = viewportQualifyForPersistent;var getEWCRightOffset = function() {if (!config.isCompactEWCRendered) {return 0;}var $navbelt = document.getElementById('nav-belt');if ($navbelt === undefined || $navbelt === null) {return 0;}var EWCCompactViewWidth = (config.isWiderCompactEWCRendered&& viewportWidth() >= 1280) ? 130 : 100;var scrollLeft = (window.pageXOffset !== undefined)? window.pageXOffset: (document.documentElement || document.body.parentNode || document.body).scrollLeft;var scrollXAxis = Math.abs(scrollLeft);var windowWidth = document.documentElement.clientWidth;var navbeltWidth = $navbelt.offsetWidth;var isPartOfNavbarNotVisible = (navbeltWidth + EWCCompactViewWidth) > windowWidth;if (isPartOfNavbarNotVisible) {return 0 - (navbeltWidth - scrollXAxis - windowWidth + EWCCompactViewWidth);} else {return 0;}}flyout.getEWCRightOffsetCssProperty = function () {return getEWCRightOffset() + 'px';}if (config.isCompactEWCRendered) {persistentClassOnBody = 'nav-ewc-persistent-hover nav-ewc-compact-view';if (config.isWiderCompactEWCRendered) { persistentClassOnBody += ' nav-ewc-wider-compact-view'; }}flyout.show = function() {isRTLEnabled? (ewcFlyout.style.left = flyout.getEWCRightOffsetCssProperty()): (ewcFlyout.style.right = flyout.getEWCRightOffsetCssProperty());};var isIOSDevice = function() {return (/iPad|iPhone|iPod/.test(navigator.platform) ||(navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1)) &&!window.MSStream;}var checkForPersistent = function() {if (!hasAui) {return { result: false, reason: 'noAui' };}if (!config.enablePersistent) {return { result: false, reason: 'config' };}if (!viewportQualifyForPersistent()) {return { result: false, reason: 'viewport' };}if (isIOSDevice()) {return { result: false, reason: 'iOS' };}if (!config.cartCount > 0) {return { result: false, reason: 'emptycart' };}return { result: true };};flyout.ableToPersist = function() {return checkForPersistent().result;};var persistentClassRegExp = '(?:^|\\s)' + persistentClassOnBody + '(?!\\S)';flyout.applyPageLayoutForPersistent = function() {if (!document.documentElement.className.match( new RegExp(persistentClassRegExp) )) {document.documentElement.className += ' ' + persistentClassOnBody;}};flyout.unapplyPageLayoutForPersistent = function() {document.documentElement.className = document.documentElement.className.replace( new RegExp(persistentClassRegExp, 'g'), '');};flyout.persist = function() {flyout.applyPageLayoutForPersistent();flyout.show();if (config.isCompactEWCRendered) {flyout.align();}};flyout.unpersist = function() {flyout.unapplyPageLayoutForPersistent();flyout.hide();};var persistentCheck = checkForPersistent();var resizeCallback = function() {if (flyout.ableToPersist()) {flyout.persist();}else {flyout.unpersist();}};flyout.bindEvents = function() {if (window.addEventListener) {window.addEventListener('resize', resizeCallback, false);if (config.isCompactEWCRendered) {window.addEventListener('scroll', flyout.align, false);}}};flyout.unbindEvents = function() {if (window.removeEventListener) {window.removeEventListener('resize', resizeCallback, false);if (config.isCompactEWCRendered) {window.removeEventListener('scroll', flyout.align, false);}}};var ewcDefaultPersistence = function() {if (persistentCheck.result) {flyout.persist();if (window.ue && ue.tag) {ue.tag('ewc:persist');}} else {if (window.ue && ue.tag) {ue.tag('ewc:unpersist');if (persistentCheck.reason === 'noAui') {ue.tag('ewc:unpersist:noAui');}if (persistentCheck.reason === 'viewport') {ue.tag('ewc:unpersist:viewport');}if (persistentCheck.reason === 'emptycart') {ue.tag('ewc:unpersist:emptycart');}if (persistentCheck.reason === 'iOS') {ue.tag('ewc:unpersist:iOS');}}}};ewcDefaultPersistence();if (window.ue && ue.tag){if (flyout.hasQualifiedViewportForPersistent()) {ue.tag('ewc:bview');}else {ue.tag('ewc:sview');}}flyout.bindEvents();flyout.cache = function () {const cache = window.sessionStorage;const CACHE_KEY = "EWCBrowserCacheKey";const CACHE_EXPIRY = "EWCBrowserCacheExpiry";const CACHE_VALUE = "EWCBrowserCacheValue";const isSessionStorageValid = function () {return window && cache && cache instanceof Storage;};const isCachePresent = function (key) {return cache.length > 0 && cache.getItem(key);}const isValidType = function (value) {// Prevents accessing empty key-value and internal methods(prototypes) of storage// TODO: Log metrics for invalid access;return value && value.constructor == String;}return {getCache: function (key) {const value = isCachePresent(key);return (isValidType(value)) ? value : null;},setCache: function (key, value) {const oldValue = isCachePresent(key);const cacheExpiryTime = isCachePresent(CACHE_EXPIRY);// Set the expiry when there's no existing cache - to prevent resetting expiry on page navigationif (!cacheExpiryTime) {var currentTime = new Date();cache.setItem(CACHE_EXPIRY, new Date(currentTime.getTime() + 5 * 60000))}// TODO: Log length of old and new cache values when logMetrics is truecache.setItem(key, value);},updateCacheAndEwcContainer: function (cacheKey, newEwcContent) {const $ = $Nav.getNow("$");const $currentEwc = $("#ewc-content");if (!$currentEwc.length) {var $content = $('#nav-flyout-ewc .nav-ewc-content');$content.html(newEwcContent);this.setCache(CACHE_KEY, cacheKey);if (window.ue && window.ue.count) {var current = window.ue.count("ewc-init-cache") || 0;window.ue.count("ewc-init-cache", current + 1);}} else {var $newEwcContent = $('
');var EWC_CONTENT_BODY_SCROLL_SELECTOR = ".ewc-scroller--selected";if (newEwcContent) { // 1. Updates EWC container with new HTMLconst $newEwcHtml = $newEwcContent.html(newEwcContent).find("#ewc-content");const offSet = $currentEwc.find(EWC_CONTENT_BODY_SCROLL_SELECTOR).position().top - $currentEwc.find(".ewc-active-cart--selected").position().top;$currentEwc.html($newEwcHtml.html());$currentEwc.find(EWC_CONTENT_BODY_SCROLL_SELECTOR).scrollTop(offSet);if (typeof window.uex === 'function') {window.uex('ld', 'ewc-reflect-new-state', {wb: 1});}} else {// 2. Fetches cached response and updates it's html with new state on EWC Updateconst cachedEwc = this.getCache(CACHE_VALUE);$newEwcContent = $newEwcContent[0];$(cachedEwc).map(function (elementIndex, element) {$newEwcContent.appendChild((element.id === "ewc-content") ? $currentEwc.clone()[0] : element);});newEwcContent = $newEwcContent.innerHTML;if (window.ue && window.ue.count) {var current = window.ue.count("ewc-update-cache") || 0;window.ue.count("ewc-update-cache", current + 1);}}$newEwcContent.remove();}this.setCache(CACHE_VALUE, newEwcContent);},removeCache: function (key) {return cache.removeItem(key);}}};return flyout;}());$Nav.when("config").run('ewc.pageload-content-load-wrapper', function(config) {P.register('ewc.pageload-content-loader', function(){var isEwcLoadedOnLanding = false;if(config.ewc.EarlyLoadEWCContentTreatment){return {loadContent: function(isFallback) {if(!isEwcLoadedOnLanding) {if (config.ewc.flyout.ableToPersist()) {if(config.ewc.EarlyLoadEWCContentTreatment === "T2"){setTimeout(function() {config.ewc.flyout.loadEwcContent()}, 500);} else if (config.ewc.EarlyLoadEWCContentTreatment === "T3") {setTimeout(function() {config.ewc.flyout.loadEwcContent()}, 1000);} else if (config.ewc.EarlyLoadEWCContentTreatment === "T4") {setTimeout(function() {config.ewc.flyout.loadEwcContent()}, 2000);} else {config.ewc.flyout.loadEwcContent();}}if(isFallback){if (window.ue && window.ue.count) {var current = window.ue.count("ewc-load-content-fallback") || 0;window.ue.count("ewc-load-content-fallback", current + 1);}}}isEwcLoadedOnLanding = true;}}} else {return {}};});});$Nav.when("config").run("ewc.inline.ajax", function(config) {P.when('A').execute(function(A){var $ = A.$;var $content = $('#nav-flyout-ewc .nav-ewc-content');var displayErrorContent = function(){$content.html(config.ewc.errorContent.html).addClass('nav-tpl-flyoutError');};var getUrlParams = function(isReloaded) {var urlParams = {};if (isReloaded) {urlParams['isReloaded'] = true;} else {if (config.ewc.freshCartCount !== undefined) {urlParams['freshCartCount'] = config.ewc.freshCartCount;}if (config.ewc.almCartCount !== undefined) {urlParams['almCartCount'] = config.ewc.almCartCount;}if (config.ewc.primeWardrobeCartCount !== undefined) {urlParams['primeWardrobeCartCount'] = config.ewc.primeWardrobeCartCount;}}urlParams.widerCompactView = window.innerWidth > 1280;return urlParams;};config.ewc.flyout.loadEwcContent = function _loadEwcContent(isReloaded) {$.ajax({url: config.ewc.url,data: getUrlParams(isReloaded),type: "GET",dataType: config.ewc.isCompactEWCRendered ? "html" : "json",cache: false,timeout: config.ewc.timeout || 30000,beforeSend: function() {if (!config.ewc.isCompactEWCRendered) {$content.addClass('nav-spinner');if (typeof window.uet === 'function') {window.uet('af', 'ewc', {wb: 1});}} else {if (typeof window.uet === 'function') {window.uet('af', 'ewc2-compact', {wb: 1});}}},error: displayErrorContent,success: function(result) {if (typeof window.uet === 'function') {window.uet('bb', 'ewc', {wb: 1});}if (config.ewc.isCompactEWCRendered) {if (!isReloaded) {P.register('EWC', function () {if (window.EwcP === undefined) {window.EwcP = (window.AmazonUIPageJS || P);}return {refresh : function () {if (window.ue && window.ue.count) {window.ue.count("ewc2-refresh", 1);}config.ewc.flyout.loadEwcContent(true);P.when('EWCRefreshCallback').execute(function(callback) {callback.update();});}}});} else {var cartQuantity = $(result).find('#ewc-total-quantity').val();if (window.$Nav && cartQuantity) {window.$Nav.when('api.setCartCount').run(function(setCartCount) {setCartCount(parseInt(cartQuantity), true);});};}var cache = config.ewc.flyout.cache();cache.updateCacheAndEwcContainer("EWC_Cache_142-6145199-3593660__USD_en_US", result);}if (typeof window.uet === 'function') {window.uet('be', 'ewc', {wb: 1});}},complete: function() {if (!config.ewc.isCompactEWCRendered) {$content.removeClass('nav-spinner');}if (typeof window.uet === 'function') {window.uet('cf', 'ewc', {wb: 1});}if (typeof window.uex === 'function') {window.uex('ld', 'ewc', {wb: 1});}}});};});(window.P && window.P.AUI_BUILD_DATE) && (window.AmazonUIPageJS ? AmazonUIPageJS : P).when('ewc.pageload-content-loader','atf').execute('ewcPageLoadContentLoader' , function(ewcPageLoadContentLoader,atf) {if (window.ue && window.ue.count) {var current = window.ue.count("ewc-load-content") || 0;window.ue.count("ewc-load-content", current + 1);}ewcPageLoadContentLoader.loadContent(false);});});const CACHE_KEY = "EWCBrowserCacheKey";const CACHE_VALUE = "EWCBrowserCacheValue";const CACHE_EXPIRY = "EWCBrowserCacheExpiry";var cache = config.flyout.cache();const isCacheValid = function () {// Check for page types and tenure of the cacheconst clearCache = config.clearCache;const cacheExpiryTime = cache.getCache(CACHE_EXPIRY);const isCacheExpired = new Date() > new Date(cacheExpiryTime);const cacheKey = config.EWCBrowserCacheKey;const oldCacheKey = cache.getCache(CACHE_KEY);const isCacheValid = !clearCache && !isCacheExpired && cacheKey == oldCacheKey;if (!isCacheValid && window.ue && window.ue.count) {var current = window.ue.count("ewc-cache-invalidated") || 0;window.ue.count("ewc-cache-invalidated", current + 1);}return isCacheValid;}function loadFromCache() {if (window.uet && typeof window.uet === 'function') {window.uet('bb', 'ewc-loaded-from-cache', {wb: 1});}if (cache) {if (isCacheValid()) {var content = cache.getCache(CACHE_VALUE);if (content) {var $ewcContainer = document.getElementById("nav-flyout-ewc").getElementsByClassName("nav-ewc-content")[0];var $ewcContent = document.getElementById("ewc-content");if ($ewcContainer && !$ewcContent) {$ewcContainer.innerHTML = content;// Execute scripts from cacheconst ewcJavascript = document.getElementById("ewc-content").parentNode.querySelectorAll(':scope > script');ewcJavascript.forEach(function (script) {var scriptTag = document.createElement("script");scriptTag.innerHTML = script.innerHTML;document.body.appendChild(scriptTag);});if (typeof window.uex === 'function') {window.uex('ld', 'ewc-loaded-from-cache', {wb: 1});}} else if (window.ue && window.ue.count && typeof window.ue.count === 'function') {var currentFailure = window.ue.count("ewc-slow-cache") || 0;window.ue.count("ewc-slow-cache", currentFailure + 1);}}} else {cache.removeCache(CACHE_VALUE);cache.removeCache(CACHE_KEY);cache.removeCache(CACHE_EXPIRY);}}}function delayBy(delayTime) {if (delayTime) {window.setTimeout(function() {loadFromCache();}, delayTime)} else {loadFromCache();}}if(config.delayRenderingTillATF) {(window.AmazonUIPageJS ? AmazonUIPageJS : P).when('atf').execute("EverywhereCartLoadFromCacheOnAtf", function () {delayBy(config.loadFromCacheWithDelay);});} else {delayBy(config.loadFromCacheWithDelay);}return config;}()));if (typeof uet === 'function') {uet('x2', 'ewc', {wb: 1});}if (window.ue && ue.tag) {ue.tag('ewc');ue.tag('ewc:unrec');ue.tag('ewc:cartsize:0');if ( window.P && window.P.AUI_BUILD_DATE ) {ue.tag('ewc:aui');} else {ue.tag('ewc:noAui');}}}());window.navmet.push({key:'NavBar',end:+new Date(),begin:window.navmet.main});if (window.ue_t0) {window.navmet.push({key:"NavMainPaintEnd",end:+new Date(),begin:window.ue_t0});window.navmet.push({key:"NavFirstPaintEnd",end:+new Date(),begin:window.ue_t0});}window.navmet.MainEnd = new Date();if (window.ue_t0) {window.navmet.push({key:"NavMainEnd",end:+new Date(),begin:window.ue_t0});}P.when('atf').execute(function(){P.now('dpJsAssetsLoadMarker').execute(function(markerObj){if(!markerObj){P.declare('dpJsAssetsLoadMarker', {});if (window.ue && ue.count) {ue.count("DPJsLoadedAfterATFMarkedCount", 1);}}});});#dp{margin:0 auto;min-width:1000px;max-width:1500px;background-color:#fff}#icon-farm-container{display:flex;justify-content:space-between;border-bottom:1px solid #DDD}#icon-farm-container .icon-content{margin-top:8px}#icon-farm-container .icon-content span{display:inline-block;line-height:1.3!important}#icon-farm-container .icon-box{height:35px!important;width:35px!important;min-width:35px;min-height:35px;text-align:center}.icon-grid-width{width:25%!important}#icon-farm{margin:10px 0!important}#icon-farm .icon-content span{padding-bottom:14px;font-family:AmazonEmber-Regular,helvetica_ne_lt_55_roman,HelveticaNeueLTStd-Roman,Helvetica,sans-serif;font-size:13px!important;color:#0066c0}.icon-farm-wrapper{flex-wrap:wrap;max-width:375px}.icon-container{margin-right:0!important;cursor:pointer}.icon-farm-bottom-sheet-header{padding-bottom:10px;background:#FFF;font-family:AmazonEmber-Bold,helvetica_lt_75_bold,HelveticaNeueLTStd-Bd,Helvetica,sans-serif;font-weight:700;color:#111;letter-spacing:0;line-height:20px}.icon-farm-bottom-sheet-content{font-family:AmazonEmber-Regular,helvetica_ne_lt_55_roman,HelveticaNeueLTStd-Roman,Helvetica,sans-serif;color:#111;letter-spacing:0;line-height:20px}.static-return-item{margin:5px;padding-right:5px}.secondary-header{margin-bottom:10px}.return-policy-title{font-family:AmazonEmber-Bold,helvetica_lt_75_bold,HelveticaNeueLTStd-Bd,Helvetica,sans-serif;font-size:13px!important;padding-bottom:10px}.return-policy-secondary-view-container{padding-right:0;padding-left:0;display:inline}.return-policy-secondary-view-container .policy h4{font-family:AmazonEmber-Regular,helvetica_ne_lt_55_roman,HelveticaNeueLTStd-Roman,Helvetica,sans-serif;font-size:13px!important}.not-returnable-icon-label{margin-right:2.5%!important;color:#767676!important}.icon-container .a-section>div{visibility:hidden}.authentic-government-emporium-icon{margin-right:25px!important}.authentic-handloom-icon{margin-right:25px!important}.authentic-government-emporium-content span{width:55px}.authentic-handloom-content span{width:55px}#icon-farm-container div:last-child{margin-right:0!important}#amznStoresBylineLogoTextContainer{margin-left:8px}#amznStoresBylineLogoImageContainer{flex-shrink:0}#amznStoresBylineLogoImage{border-radius:50%;border:1px solid #f0f0f0}.amznStoresTruncateSingleLine{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.amznStoresVerticallyCenterContents{display:flex;align-items:center}.ssf-share-trigger{cursor:pointer;display:inline-block;background-size:cover;outline:0}.ssf-share-trigger.ssf-no-style{background-image:none!important;height:auto!important;width:auto!important;display:block}.ssf-noclick{pointer-events:none}.ssf-background{border:1px solid #ddd;border-radius:50%;display:flex;align-items:center;justify-content:center;top:10px;right:10px;z-index:1;mix-blend-mode:luminosity;background-color:#fff;position:absolute}.ssf-background-float{border:1px solid #ddd;border-radius:50%;display:flex;align-items:center;justify-content:center;top:10px;right:10px;z-index:1;mix-blend-mode:luminosity;background-color:#fff;float:right}.ssf-share-btn{right:8px;top:8px;z-index:1;position:absolute}.ssf-share-btn-float{right:8px;top:8px;z-index:1;float:right}.link-section,.ssf-channel{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ssf-channel-v{padding:.5em}.ssf-channel-v:not(:last-child){border-bottom:1px #ddd solid}.ssf-channel-v span{margin-left:.5em}.ssf-channel-v a{display:block;word-break:break-all}.ssf-channel-v a:hover{text-decoration:none}.ssf-channel-h i,.ssf-channel-v i{background-size:cover;background-repeat:no-repeat;display:inline-block;vertical-align:middle;width:24px;height:24px}.ssf-channel-popover-icon{background-size:cover;background-repeat:no-repeat;display:inline-block;vertical-align:middle;width:24px;height:24px;background-size:contain;padding-right:30px}.ssf-h-icons{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:center;align-content:center;gap:20px}.ssf-channel-h{display:flex;flex-flow:column nowr


Leave a Comment