-
Notifications
You must be signed in to change notification settings - Fork 34
/
theme.0d34937e.js
2 lines (2 loc) · 1.44 KB
/
theme.0d34937e.js
1
2
const f=window.themeAssetsBaseUrl,a="modulepreload",l={},d=f,m=function(n,i){return!i||i.length===0?n():Promise.all(i.map(r=>{if(r=`${d}${r}`,r in l)return;l[r]=!0;const e=r.endsWith(".css"),t=e?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${t}`))return;const o=document.createElement("link");if(o.rel=e?"stylesheet":a,e||(o.as="script",o.crossOrigin=""),o.href=r,document.head.appendChild(o),e)return new Promise((c,u)=>{o.addEventListener("load",c),o.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>n())},h=function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const o of t.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function i(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerpolicy&&(t.referrerPolicy=e.referrerpolicy),e.crossorigin==="use-credentials"?t.credentials="include":e.crossorigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function r(e){if(e.ep)return;e.ep=!0;const t=i(e);fetch(e.href,t)}};h();m(()=>import("./lodash.9a6714d2.js"),[]).then(({default:s})=>{console.log(s.join(["Vite","\u26A1\uFE0F","Shopify"]," "))}).catch(s=>console.log(s));
//# sourceMappingURL=theme.0d34937e.js.map