import{f as g,a as l}from"./props-b4vEeO_8.js";import{F as o,I as m,a3 as D,a4 as Y,k as r,J as h,B as S,C as _,G as E}from"./runtime-C3rQLW--.js";import{s as Z}from"./attributes-Cg6aLqN3.js";import{i as q}from"./lifecycle-F2p_Qkk3.js";import{c as K,d as O}from"./create-runtime-stories-7AWWVphH.js";import{G as n}from"./GraphicBlock-uLJTqaY1.js";import{i as f}from"./svelte-component-C8Ginrj8.js";import{s as G}from"./style-DvJ3IcV1.js";import{b as M}from"./size-DMdj3-I9.js";const N=""+new URL("ai-chart-xs-CE1-6d7r.png",import.meta.url).href,L=""+new URL("ai-chart-sm-j_WJ8d3e.png",import.meta.url).href,H=""+new URL("ai-chart-md-UPWzH8Eo.png",import.meta.url).href;var R=g('
A shakemap shows the intensity of the 7.2-magnitude earthquake that
struck Haiti at 8:29 a.m. EST, Aug. 14, 2021.
City
Felt shake strength
Les Cayes
Very strong
Jeremie
Strong
`,1),W=g(" ",1);function I(w,a){S(a,!1),q();var v=W(),A=_(v);y(A,{name:"Demo",children:(i,e)=>{n(i,{title:"Title for my chart",description:"Some description for your chart.",notes:`Note: Data current as of Aug. 2, 2022.
Source: [Google research](https://google.com)`,children:(t,s)=>{var p=V(),d=m(p);h(()=>Z(d,"src",B)),l(t,p)},$$slots:{default:!0}})},$$slots:{default:!0},parameters:{__svelteCsf:{rawCode:`
`}}});var b=o(A,2);y(b,{name:"Ai2svelte and ArchieML",exportName:"Ai2SvelteAndArchieML",children:(i,e)=>{n(i,{title:"Earthquake in Haiti",description:"The 7.2-magnitude earthquake struck at 8:29 a.m. EST, Aug. 14, 2021.",notes:"Note: A shakemap represents the ground shaking produced by an earthquake.",children:(t,s)=>{C(t)},$$slots:{default:!0}})},$$slots:{default:!0},parameters:{__svelteCsf:{rawCode:``}}});var c=o(b,2);y(c,{name:"Custom text",exportName:"CustomText",children:(i,e)=>{n(i,{title:p=>{var d=j();l(p,d)},notes:p=>{var d=J();l(p,d)},children:(p,d)=>{var P=X(),Q=m(P);h(()=>Z(Q,"src",B)),l(p,P)},$$slots:{title:!0,notes:!0,default:!0}})},$$slots:{default:!0},parameters:{__svelteCsf:{rawCode:`
{#snippet title()}
My smaller title
{/snippet}
{#snippet notes()}
{/snippet}
`}}});var u=o(c,2);y(u,{name:"AREA description",exportName:"AriaDescription",children:(i,e)=>{n(i,{title:"Earthquake in Haiti",description:"The 7.2-magnitude earthquake struck at 8:29 a.m. EST, Aug. 14, 2021.",notes:"Note: A shakemap represents the ground shaking produced by an earthquake.",ariaDescription:"A map showing the shake intensity produced by the earthquake.",children:(t,s)=>{C(t)},$$slots:{default:!0}})},$$slots:{default:!0},parameters:{__svelteCsf:{rawCode:``}}});var k=o(u,2);y(k,{name:"Custom AREA description",exportName:"CustomAriaDescription",children:(i,e)=>{n(i,{title:"Earthquake in Haiti",description:"The 7.2-magnitude earthquake struck at 8:29 a.m. EST, Aug. 14, 2021.",notes:"Note: A shakemap represents the ground shaking produced by an earthquake.",ariaDescription:s=>{var p=F();l(s,p)},children:(s,p)=>{C(s)},$$slots:{ariaDescription:!0,default:!0}})},$$slots:{default:!0},parameters:{__svelteCsf:{rawCode:`
{#snippet ariaDescription()}
A shakemap shows the intensity of the 7.2-magnitude earthquake that
struck Haiti at 8:29 a.m. EST, Aug. 14, 2021.
City
Felt shake strength
Les Cayes
Very strong
Jeremie
Strong
{/snippet}
`}}}),l(w,v),E()}I.__docgen={version:3,name:"GraphicBlock.stories.svelte",data:[],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const x=K(I,T),ee=["Demo","Ai2SvelteAndArchieML","CustomText","AriaDescription","CustomAriaDescription"],te=x.Demo,se=x.Ai2SvelteAndArchieML,ae=x.CustomText,ie=x.AriaDescription,pe=x.CustomAriaDescription,ce=Object.freeze(Object.defineProperty({__proto__:null,Ai2SvelteAndArchieML:se,AriaDescription:ie,CustomAriaDescription:pe,CustomText:ae,Demo:te,__namedExportsOrder:ee,default:T},Symbol.toStringTag,{value:"Module"}));export{se as A,ae as C,te as D,ce as G,ie as a,pe as b};