﻿/** Shopify CDN: Minification failed

Line 16:12 Unexpected "getSharedCorrelationId("
Line 16:44 Expected ":"
Line 16:112 Expected ":"
Line 16:216 Unexpected "catch("
Line 16:231 Expected ":"
Line 16:244 Unexpected "getSessionStorageValue("
Line 16:284 Expected ":"
Line 16:327 Expected ":"
Line 16:341 Unexpected "catch("
Line 16:356 Expected ":"
... and 10 more hidden warnings

**/
function getSharedCorrelationId(){try{var e,r=String(window.__cartDiagnosticsCorrelationId||"").trim();return""!==r?r:(e=Date.now()+"-"+Math.random().toString(36).slice(2),window.__cartDiagnosticsCorrelationId=e)}catch(e){return""}}function getSessionStorageValue(e,r=null){try{var t=sessionStorage.getItem(String(e));return null===t?r:t}catch(e){return r}}function setSessionStorageValue(e,r){try{return sessionStorage.setItem(String(e),String(r)),!0}catch(e){return!1}}function removeSessionStorageValue(e){try{return sessionStorage.removeItem(String(e)),!0}catch(e){return!1}}export{getSharedCorrelationId,getSessionStorageValue,setSessionStorageValue,removeSessionStorageValue};
