Anvil/assets/iframe-230dc4ac.js

2 lines
12 KiB
JavaScript
Raw Normal View History

2024-03-03 15:38:10 +01:00
import"../sb-preview/runtime.js";(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))m(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&m(o)}).observe(document,{childList:!0,subtree:!0});function n(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?r.credentials="include":e.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function m(e){if(e.ep)return;e.ep=!0;const r=n(e);fetch(e.href,r)}})();const p="modulepreload",O=function(_,i){return new URL(_,i).href},E={},t=function(i,n,m){if(!n||n.length===0)return i();const e=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=O(r,m),r in E)return;E[r]=!0;const o=r.endsWith(".css"),c=o?'[rel="stylesheet"]':"";if(!!m)for(let a=e.length-1;a>=0;a--){const u=e[a];if(u.href===r&&(!o||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${c}`))return;const s=document.createElement("link");if(s.rel=o?"stylesheet":p,o||(s.as="script",s.crossOrigin=""),s.href=r,document.head.appendChild(s),o)return new Promise((a,u)=>{s.addEventListener("load",a),s.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>i()).catch(r=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=r,window.dispatchEvent(o),!o.defaultPrevented)throw r})},{createBrowserChannel:d}=__STORYBOOK_MODULE_CHANNELS__,{addons:R}=__STORYBOOK_MODULE_PREVIEW_API__,l=d({page:"preview"});R.setChannel(l);window.__STORYBOOK_ADDONS_CHANNEL__=l;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=l);const P={"./stories/Button.stories.ts":async()=>t(()=>import("./Button.stories-17e79b57.js"),["./Button.stories-17e79b57.js","./Button-d8784d72.js","./utils-09ff0c0e.js","./lifecycle-96ebe68d.js","./index-9669f5df.js","./Button-bc1a867b.css"],import.meta.url),"./stories/ColorPalette.mdx":async()=>t(()=>import("./ColorPalette-ae99e90b.js"),["./ColorPalette-ae99e90b.js","./jsx-runtime-168a7803.js","./index-de2c9509.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js","./index-51661169.js"],import.meta.url),"./stories/Configure.mdx":async()=>t(()=>import("./Configure-ea76315d.js"),["./Configure-ea76315d.js","./jsx-runtime-168a7803.js","./index-de2c9509.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js","./index-51661169.js"],import.meta.url),"./stories/Header.stories.ts":async()=>t(()=>import("./Header.stories-251e0bd4.js"),["./Header.stories-251e0bd4.js","./Header-ea37f6f5.js","./utils-09ff0c0e.js","./lifecycle-96ebe68d.js","./index-9669f5df.js","./Button-d8784d72.js","./Button-bc1a867b.css","./Header-a6911580.css"],import.meta.url),"./stories/Page.stories.ts":async()=>t(()=>import("./Page.stories-7544f12a.js"),["./Page.stories-7544f12a.js","./utils-09ff0c0e.js","./lifecycle-96ebe68d.js","./index-9669f5df.js","./Header-ea37f6f5.js","./Button-d8784d72.js","./Button-bc1a867b.css","./Header-a6911580.css","./Page.stories-ece1482a.css"],import.meta.url),"./stories/Typography.mdx":async()=>t(()=>import("./Typography-fda6fa5a.js"),["./Typography-fda6fa5a.js","./jsx-runtime-168a7803.js","./index-de2c9509.js","./_commonjsHelpers-725317a4.js","./index-11d98b33.js","./index-a04a29e8.js","./index-356e4a49.js","./index-51661169.js"],import.meta.url),"./stories/atoms/Avatar.stories.ts":async()=>t(()=>import("./Avatar.stories-d6fccfcf.js"),["./Avatar.stories-d6fccfcf.js","./Avatar-dac7a148.js","./utils-09ff0c0e.js","./index-9669f5df.js","./lifecycle-96ebe68d.js","./index-9ff358fd.js","./spread-8a54911c.js","./Avatar-5dbe98d7.css"],import.meta.url),"./stories/atoms/BlockOrReport.stories.ts":async()=>t(()=>import("./BlockOrReport.stories-932101fa.js"),["./BlockOrReport.stories-932101fa.js","./BlockOrRepo