Anvil/assets/iframe-816972a2.js
André Jaenisch 8a1b1f1289
Updates
2024-02-09 21:15:08 +01:00

1 line
5 KiB
JavaScript

import"../sb-preview/runtime.js";(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))a(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"&&a(o)}).observe(document,{childList:!0,subtree:!0});function s(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 a(e){if(e.ep)return;e.ep=!0;const t=s(e);fetch(e.href,t)}})();const E="modulepreload",d=function(i,_){return new URL(i,_).href},c={},r=function(_,s,a){if(!s||s.length===0)return _();const e=document.getElementsByTagName("link");return Promise.all(s.map(t=>{if(t=d(t,a),t in c)return;c[t]=!0;const o=t.endsWith(".css"),O=o?'[rel="stylesheet"]':"";if(!!a)for(let l=e.length-1;l>=0;l--){const u=e[l];if(u.href===t&&(!o||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${t}"]${O}`))return;const n=document.createElement("link");if(n.rel=o?"stylesheet":E,o||(n.as="script",n.crossOrigin=""),n.href=t,document.head.appendChild(n),o)return new Promise((l,u)=>{n.addEventListener("load",l),n.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${t}`)))})})).then(()=>_()).catch(t=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=t,window.dispatchEvent(o),!o.defaultPrevented)throw t})},{createBrowserChannel:p}=__STORYBOOK_MODULE_CHANNELS__,{addons:R}=__STORYBOOK_MODULE_PREVIEW_API__,m=p({page:"preview"});R.setChannel(m);window.__STORYBOOK_ADDONS_CHANNEL__=m;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=m);const f={"./stories/Button.stories.ts":async()=>r(()=>import("./Button.stories-a7edb240.js"),["./Button.stories-a7edb240.js","./Button-3f3ec9c8.js","./index-4ea67a12.js","./lifecycle-8571def4.js","./Button-bc1a867b.css"],import.meta.url),"./stories/Configure.mdx":async()=>r(()=>import("./Configure-393cb357.js"),["./Configure-393cb357.js","./index-43eea83a.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js","./index-3211bf66.js"],import.meta.url),"./stories/Header.stories.ts":async()=>r(()=>import("./Header.stories-a8a65b43.js"),["./Header.stories-a8a65b43.js","./Header-ea47a990.js","./index-4ea67a12.js","./lifecycle-8571def4.js","./Button-3f3ec9c8.js","./Button-bc1a867b.css","./Header-a6911580.css"],import.meta.url),"./stories/Page.stories.ts":async()=>r(()=>import("./Page.stories-5c67feec.js"),["./Page.stories-5c67feec.js","./index-4ea67a12.js","./lifecycle-8571def4.js","./Header-ea47a990.js","./Button-3f3ec9c8.js","./Button-bc1a867b.css","./Header-a6911580.css","./Page.stories-ece1482a.css"],import.meta.url),"./stories/atoms/Avatar.stories.ts":async()=>r(()=>import("./Avatar.stories-12858525.js"),["./Avatar.stories-12858525.js","./index-4ea67a12.js","./lifecycle-8571def4.js","./spread-8a54911c.js","./Avatar.stories-5dbe98d7.css"],import.meta.url)};async function P(i){return f[i]()}const{composeConfigs:T,PreviewWeb:w,ClientApi:L}=__STORYBOOK_MODULE_PREVIEW_API__,I=async()=>{const i=await Promise.all([r(()=>import("./entry-preview-8cabacd3.js"),["./entry-preview-8cabacd3.js","./index-4ea67a12.js","./lifecycle-8571def4.js","./spread-8a54911c.js","./index-356e4a49.js"],import.meta.url),r(()=>import("./entry-preview-docs-9f458c92.js"),["./entry-preview-docs-9f458c92.js","./index-a04a29e8.js","./_commonjsHelpers-725317a4.js"],import.meta.url),r(()=>import("./preview-933179d6.js"),["./preview-933179d6.js","./preview-errors-dde4324f.js","./index-356e4a49.js","./lifecycle-8571def4.js"],import.meta.url),r(()=>import("./preview-73104b77.js"),["./preview-73104b77.js","./index-11d98b33.js"],import.meta.url),r(()=>import("./preview-b3fb71ca.js"),[],import.meta.url),r(()=>import("./preview-77a968f3.js"),["./preview-77a968f3.js","./preview-errors-dde4324f.js","./index-356e4a49.js"],import.meta.url),r(()=>import("./preview-30b54f76.js"),["./preview-30b54f76.js","./index-356e4a49.js"],import.meta.url),r(()=>import("./preview-c56bf6ac.js"),[],import.meta.url),r(()=>import("./preview-da31036b.js"),["./preview-da31036b.js","./index-356e4a49.js"],import.meta.url),r(()=>import("./preview-0ef86afd.js"),[],import.meta.url),r(()=>import("./preview-8f310eab.js"),["./preview-8f310eab.js","./_commonjsHelpers-725317a4.js"],import.meta.url),r(()=>import("./preview-70d8c34d.js"),[],import.meta.url),r(()=>import("./preview-b7b88f91.js"),["./preview-b7b88f91.js","./preview-61c5e4d9.css"],import.meta.url)]);return T(i)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new w;window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;window.__STORYBOOK_CLIENT_API__=window.__STORYBOOK_CLIENT_API__||new L({storyStore:window.__STORYBOOK_PREVIEW__.storyStore});window.__STORYBOOK_PREVIEW__.initialize({importFn:P,getProjectAnnotations:I});export{r as _};