var app=function(){"use strict";function e(){}function t(e,t){for(const n in t)e[n]=t[n];return e}function n(e){return e()}function s(){return Object.create(null)}function a(e){e.forEach(n)}function l(e){return"function"==typeof e}function r(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function o(t){return t&&l(t.destroy)?t.destroy:e}function i(e,t){e.appendChild(t)}function c(e,t,n){e.insertBefore(t,n||null)}function u(e){e.parentNode.removeChild(e)}function g(e,t){for(let n=0;ne.removeEventListener(t,n,s)}function $(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function b(e,t,n){t in e?e[t]=n:$(e,t,n)}function w(e,t,n){e.setAttributeNS("http://www.w3.org/1999/xlink",t,n)}function y(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function x(e,t,n){e.classList[n?"add":"remove"](t)}class k{constructor(e=null){this.a=e,this.e=this.n=null}m(e,t,n=null){this.e||(this.e=m(t.nodeName),this.t=t,this.h(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t{const s=e.$$.callbacks[t];if(s){const a=function(e,t){const n=document.createEvent("CustomEvent");return n.initCustomEvent(e,!1,!1,t),n}(t,n);s.slice().forEach((t=>{t.call(e,a)}))}}}function L(e,t){const n=e.$$.callbacks[t.type];n&&n.slice().forEach((e=>e(t)))}const A=[],q=[],F=[],M=[],H=Promise.resolve();let I=!1;function E(){I||(I=!0,H.then(D))}function P(){return E(),H}function _(e){F.push(e)}let N=!1;const O=new Set;function D(){if(!N){N=!0;do{for(let e=0;e{W.delete(e),s&&(n&&e.d(1),s())})),e.o(t)}}function V(e,t){const n={},s={},a={$$scope:1};let l=e.length;for(;l--;){const r=e[l],o=t[l];if(o){for(const e in r)e in o||(s[e]=1);for(const e in o)a[e]||(n[e]=o[e],a[e]=1);e[l]=o}else for(const e in r)a[e]=1}for(const e in s)e in n||(n[e]=void 0);return n}function X(e){return"object"==typeof e&&null!==e?e:{}}function J(e){e&&e.c()}function K(e,t,s){const{fragment:r,on_mount:o,on_destroy:i,after_update:c}=e.$$;r&&r.m(t,s),_((()=>{const t=o.map(n).filter(l);i?i.push(...t):a(t),e.$$.on_mount=[]})),c.forEach(_)}function Q(e,t){const n=e.$$;null!==n.fragment&&(a(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function ee(t,n,l,r,o,i,c=[-1]){const g=S;j(t);const m=n.props||{},d=t.$$={fragment:null,ctx:null,props:i,update:e,not_equal:o,bound:s(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(g?g.$$.context:[]),callbacks:s(),dirty:c,skip_bound:!1};let f=!1;if(d.ctx=l?l(t,m,((e,n,...s)=>{const a=s.length?s[0]:n;return d.ctx&&o(d.ctx[e],d.ctx[e]=a)&&(!d.skip_bound&&d.bound[e]&&d.bound[e](a),f&&function(e,t){-1===e.$$.dirty[0]&&(A.push(e),E(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const ne=[];function se(e,t){return{subscribe:ae(e,t).subscribe}}function ae(t,n=e){let s;const a=[];function l(e){if(r(t,e)&&(t=e,s)){const e=!ne.length;for(let e=0;e{const e=a.indexOf(i);-1!==e&&a.splice(e,1),0===a.length&&(s(),s=null)}}}}function le(t,n,s){const r=!Array.isArray(t),o=r?[t]:t,i=n.length<2;return se(s,(t=>{let s=!1;const c=[];let u=0,g=e;const m=()=>{if(u)return;g();const s=n(r?c[0]:c,t);i?t(s):g=l(s)?s:e},d=o.map(((t,n)=>function(t,...n){if(null==t)return e;const s=t.subscribe(...n);return s.unsubscribe?()=>s.unsubscribe():s}(t,(e=>{c[n]=e,u&=~(1<{u|=1<{Q(e,1)})),B()}r?(n=new r(o()),n.$on("routeEvent",e[7]),J(n.$$.fragment),Y(n.$$.fragment,1),K(n,s.parentNode,s)):n=null}else r&&n.$set(a)},i(e){a||(n&&Y(n.$$.fragment,e),a=!0)},o(e){n&&Z(n.$$.fragment,e),a=!1},d(e){e&&u(s),n&&Q(n,e)}}}function oe(e){let n,s,a;const l=[{params:e[1]},e[2]];var r=e[0];function o(e){let n={};for(let e=0;e{Q(e,1)})),B()}r?(n=new r(o()),n.$on("routeEvent",e[6]),J(n.$$.fragment),Y(n.$$.fragment,1),K(n,s.parentNode,s)):n=null}else r&&n.$set(a)},i(e){a||(n&&Y(n.$$.fragment,e),a=!0)},o(e){n&&Z(n.$$.fragment,e),a=!1},d(e){e&&u(s),n&&Q(n,e)}}}function ie(e){let t,n,s,a;const l=[oe,re],r=[];function o(e,t){return e[1]?0:1}return t=o(e),n=r[t]=l[t](e),{c(){n.c(),s=h()},m(e,n){r[t].m(e,n),c(e,s,n),a=!0},p(e,[a]){let i=t;t=o(e),t===i?r[t].p(e,a):(R(),Z(r[i],1,1,(()=>{r[i]=null})),B(),n=r[t],n?n.p(e,a):(n=r[t]=l[t](e),n.c()),Y(n,1),n.m(s.parentNode,s))},i(e){a||(Y(n),a=!0)},o(e){Z(n),a=!1},d(e){r[t].d(e),e&&u(s)}}}function ce(){const e=window.location.href.indexOf("#/");let t=e>-1?window.location.href.substr(e+1):"/";const n=t.indexOf("?");let s="";return n>-1&&(s=t.substr(n+1),t=t.substr(0,n)),{location:t,querystring:s}}const ue=se(null,(function(e){e(ce());const t=()=>{e(ce())};return window.addEventListener("hashchange",t,!1),function(){window.removeEventListener("hashchange",t,!1)}}));le(ue,(e=>e.location)),le(ue,(e=>e.querystring));async function ge(e){if(!e||e.length<1||"/"!=e.charAt(0)&&0!==e.indexOf("#/"))throw Error("Invalid parameter location");await P(),history.replaceState({scrollX:window.scrollX,scrollY:window.scrollY},void 0,void 0),window.location.hash=("#"==e.charAt(0)?"":"#")+e}function me(e,t){if(!e||!e.tagName||"a"!=e.tagName.toLowerCase())throw Error('Action "link" can only be used with tags');return de(e,t||e.getAttribute("href")),{update(t){de(e,t)}}}function de(e,t){if(!t||t.length<1||"/"!=t.charAt(0))throw Error('Invalid value for "href" attribute: '+t);e.setAttribute("href","#"+t),e.addEventListener("click",fe)}function fe(e){e.preventDefault();const t=e.currentTarget.getAttribute("href");history.replaceState({scrollX:window.scrollX,scrollY:window.scrollY},void 0,void 0),window.location.hash=t}function pe(e,t,n){let{routes:s={}}=t,{prefix:a=""}=t,{restoreScrollState:l=!1}=t;class r{constructor(e,t){if(!t||"function"!=typeof t&&("object"!=typeof t||!0!==t._sveltesparouter))throw Error("Invalid component object");if(!e||"string"==typeof e&&(e.length<1||"/"!=e.charAt(0)&&"*"!=e.charAt(0))||"object"==typeof e&&!(e instanceof RegExp))throw Error('Invalid value for "path" argument');const{pattern:n,keys:s}=function(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var n,s,a,l,r=[],o="",i=e.split("/");for(i[0]||i.shift();a=i.shift();)"*"===(n=a[0])?(r.push("wild"),o+="/(.*)"):":"===n?(s=a.indexOf("?",1),l=a.indexOf(".",1),r.push(a.substring(1,~s?s:~l?l:a.length)),o+=~s&&!~l?"(?:/([^/]+?))?":"/([^/]+?)",~l&&(o+=(~s?"?":"")+"\\"+a.substring(l))):o+="/"+a;return{keys:r,pattern:new RegExp("^"+o+(t?"(?=$|/)":"/?$"),"i")}}(e);this.path=e,"object"==typeof t&&!0===t._sveltesparouter?(this.component=t.component,this.conditions=t.conditions||[],this.userData=t.userData,this.props=t.props||{}):(this.component=()=>Promise.resolve(t),this.conditions=[],this.props={}),this._pattern=n,this._keys=s}match(e){if(a)if("string"==typeof a&&e.startsWith(a))e=e.substr(a.length)||"/";else if(a instanceof RegExp){const t=e.match(a);t&&t[0]&&(e=e.substr(t[0].length)||"/")}const t=this._pattern.exec(e);if(null===t)return null;if(!1===this._keys)return t;const n={};let s=0;for(;s{o.push(new r(t,e))})):Object.keys(s).forEach((e=>{o.push(new r(e,s[e]))}));let i=null,c=null,u={};const g=z();async function m(e,t){await P(),g(e,t)}let d=null;var f;l&&(window.addEventListener("popstate",(e=>{d=e.state&&e.state.scrollY?e.state:null})),f=()=>{d?window.scrollTo(d.scrollX,d.scrollY):window.scrollTo(0,0)},C().$$.after_update.push(f));let p=null,h=null;return ue.subscribe((async e=>{p=e;let t=0;for(;t{"routes"in e&&n(3,s=e.routes),"prefix"in e&&n(4,a=e.prefix),"restoreScrollState"in e&&n(5,l=e.restoreScrollState)},e.$$.update=()=>{32&e.$$.dirty&&(history.scrollRestoration=l?"manual":"auto")},[i,c,u,s,a,l,function(t){L(e,t)},function(t){L(e,t)}]}class he extends te{constructor(e){super(),ee(this,e,pe,ie,r,{routes:3,prefix:4,restoreScrollState:5})}}function ve(t){let n,s,a,l,r,o;return{c(){n=m("span"),s=d("svg"),a=d("use"),w(a,"xlink:href",l="/icons/feather-sprite.svg#"+t[7]),$(s,"class",r="icon-"+t[7]+" svelte-1iby9by"),$(s,"width",t[0]),$(s,"height",t[0]),$(s,"fill",t[1]),$(s,"stroke",o=t[3]?t[9]:t[2]),$(s,"stroke-width",t[4]),$(s,"stroke-linecap",t[5]),$(s,"stroke-linejoin",t[6]),x(s,"inactive",t[8])},m(e,t){c(e,n,t),i(n,s),i(s,a)},p(e,[t]){128&t&&l!==(l="/icons/feather-sprite.svg#"+e[7])&&w(a,"xlink:href",l),128&t&&r!==(r="icon-"+e[7]+" svelte-1iby9by")&&$(s,"class",r),1&t&&$(s,"width",e[0]),1&t&&$(s,"height",e[0]),2&t&&$(s,"fill",e[1]),524&t&&o!==(o=e[3]?e[9]:e[2])&&$(s,"stroke",o),16&t&&$(s,"stroke-width",e[4]),32&t&&$(s,"stroke-linecap",e[5]),64&t&&$(s,"stroke-linejoin",e[6]),384&t&&x(s,"inactive",e[8])},i:e,o:e,d(e){e&&u(n)}}}function $e(e,t,n){let{size:s="24"}=t,{fill:a="none"}=t,{color:l="var(--color)"}=t,{light:r=!1}=t,{width:o="2"}=t,{linecap:i="round"}=t,{linejoin:c="round"}=t,{name:u}=t,{inactive:g=!1}=t,{light_color:m="var(--color)"}=t;return e.$$set=e=>{"size"in e&&n(0,s=e.size),"fill"in e&&n(1,a=e.fill),"color"in e&&n(2,l=e.color),"light"in e&&n(3,r=e.light),"width"in e&&n(4,o=e.width),"linecap"in e&&n(5,i=e.linecap),"linejoin"in e&&n(6,c=e.linejoin),"name"in e&&n(7,u=e.name),"inactive"in e&&n(8,g=e.inactive),"light_color"in e&&n(9,m=e.light_color)},[s,a,l,r,o,i,c,u,g,m]}class be extends te{constructor(e){super(),ee(this,e,$e,ve,r,{size:0,fill:1,color:2,light:3,width:4,linecap:5,linejoin:6,name:7,inactive:8,light_color:9})}}function we(t){let n,s,a,l,r,g,d,f,h,v,b,w,y,x,k,S,j,C,T,z,L,A,q,F,M,H,I,E,P,_,N,O,D,G,W,U,R,B,V,X,ee,te,ne,se,ae,le,re,oe,ie,ce,ue,ge,de,fe,pe,he,ve,$e,we,ye,xe,ke,Se,je,Ce,Te,ze,Le,Ae,qe,Fe,Me,He,Ie,Ee,Pe,_e,Ne,Oe,De,Ge,We,Ue,Re,Be,Ye,Ze;return h=new be({props:{name:"code",size:"64"}}),S=new be({props:{name:"box",size:"64"}}),q=new be({props:{name:"sliders",size:"64"}}),{c(){n=m("hero"),n.innerHTML='

fsck CSS

\n

An experiment in cleaning up CSS and HTML with modern tools like flexbox and grids.

',s=p(),a=m("hr"),l=p(),r=m("section"),g=m("aside"),d=m("h3"),d.textContent="Remove Classes",f=p(),J(h.$$.fragment),v=p(),b=m("p"),b.innerHTML='Using a classless style like
MVP.css, you\n bring back CSS specificity to its original intent.',w=p(),y=m("aside"),x=m("h3"),x.textContent="Add Flexbox + Grids",k=p(),J(S.$$.fragment),j=p(),C=m("p"),C.innerHTML='Using flexbox and CSS grids you can layout anything you want without structure divs.',T=p(),z=m("aside"),L=m("h3"),L.textContent="Modify with Variables",A=p(),J(q.$$.fragment),F=p(),M=m("p"),M.textContent="Using CSS variables you can replace many uses of classes and ids, avoiding most specificity\n issues. Try the dark mode button below.",H=p(),I=m("rationale"),E=m("section"),E.innerHTML="

Cleaner CSS

",P=p(),_=m("p"),_.innerHTML="This website is nothing more than a set of small demos for the idea of\n using flexbox and grids to clean up and simplify CSS. Most everything else\n about CSS stays. Filters, transforms, attributes, and everything that\n applies to the visual display of the components of a design. What gets\n removed is div heavy, class heavy, not-semantic-at-all layout\n systems cluttering the real information available through simple HTML\n tags.",N=p(),O=m("p"),O.textContent="In short, if you're writing this:",D=p(),G=m("section"),G.innerHTML="",W=p(),U=m("p"),U.textContent="You could write this if you use flexbox, grids, and variables:",R=p(),B=m("section"),B.innerHTML="",V=p(),X=m("hr"),ee=p(),te=m("section"),ne=m("p"),ne.innerHTML='I demonstrate the idea with a series of copies of existing websites and other layout problems \n people frequently encounter. If you have a suggested layout challenge for me, then tell me on Twitter @lzsthw and I'll give it a shot.',se=p(),ae=m("a"),ae.innerHTML="",re=p(),oe=m("hr"),ie=p(),ce=m("section"),ce.innerHTML='

FAQ

',ue=p(),ge=m("h1"),ge.textContent="Why did you do this?",de=p(),fe=m("p"),fe.innerHTML="It started as an attempt to relearn modern CSS for myself so I can teach others. As I did this I realized that most of the things I learned have been completely replaced with flexbox and grids, and if I just use those then CSS becomes much easier to understand. Specificity works as expected. When I change a component with class or id it actually changes. The layout flows correctly and is easier to create. Nearly everything works better and is easier to understand.",pe=p(),he=m("p"),he.innerHTML="This website became a demonstration to others that layout doesn't need div.class structure, subverting ul/li tags, and other CSS hacks. You can use simple truly semantic HTML and simple CSS to accomplish 90% of what you're doing today with more reliable results faster.",ve=p(),$e=m("h1"),$e.textContent="Why is this site in black and white?",we=p(),ye=m("p"),ye.textContent="I used an entirely monochrome simplified design because I'm not a designer, and I want people to focus on the visual structure of each demo, not whether my use of Cornflower Blue was appropriate for a button.",xe=p(),ke=m("p"),ke.textContent="I'm also an experienced oil painter and a fundamental teaching in realist art is that color does not matter for visual comprehension. What matters most is the \"drawing\", or monochrome aspects of visual experience. If you can't make something work in monochrome then no amount of color will help. Make it visually understandable in monochrome and any color scheme you choose should work (barring a few rules about color perception's relationship to monochrome values).",Se=p(),je=m("h1"),je.textContent="What's wrong with classes?",Ce=p(),Te=m("p"),Te.innerHTML="There's nothing wrong with classes in CSS. How they're used in recent CSS frameworks subverts the normal specificity rules making CSS unnecessarily difficult. The original specificity rules put the base design of a component at the tag level, then a class can be used to modify and extend the design, and an id can make this even more specific. In today's use of div.class heavy markup you lose this ability to alter the design as needed where its used, and instead you have to resort to !important and specificity hacking to change how something looks, or add more div with more class.",ze=p(),Le=m("p"),Le.innerHTML="The other problem with div.class is it's more difficult to debug problems with the layout. There's the obvious problem of debugging failures in layout through a forest of divs, but you're also relying on specificity that can come from anywhere in the cascade. It's much more difficult to find exactly what bit of CSS is overriding your local decisions. If you've ever had to open the inspector in your browser to troll through CSS locations looking for the culprit then that's why. If the base design decisions are at the tag level, then your local class and id specifics will work as expected. You can also replace many uses of class as design modifiers with scoped CSS variables and reduce the use of div.class even further.",Ae=p(),qe=m("p"),qe.innerHTML="Finally, using div.class heavy layout systems pollutes your markup with structure that's difficult to analyze and maintain. When you focus on using truly semantic named tags and follow specificity as intended then your HTML is lighter and easier to understand because it isn't full of div.grid.col-1.col-mx-auto class rules that really have nothing to do with the actual meaning of that particular visual element. With flexbox and CSS grids you don't need any layout divs, and can keep the HTML clean and semantic. This also ends up being more flexible with less or the same effort as using a pre-made grid system full of divs.",Fe=p(),Me=m("h1"),Me.textContent="Should we ban div.class?",He=p(),Ie=m("p"),Ie.innerHTML="Hell no. The current problem of too much class based CSS is because of trends in recent years calling for everyone to irrationally ban some practice. Remember when everyone decided tables were evil? So then we banned tables and grids completely? Then nobody could do a layout without crazy tricks and JavaScript? Nobody wants a repeat of the anti-tables "semantic markup" war, so please don't ban div.class.",Ee=p(),Pe=m("p"),Pe.innerHTML="All this website does is demonstrate that you don't need so much div.class. You can scrap a lot of what you're using now to do layout and go with clean HTML with flatter structure, then judiciously use div.class as needed. Treat div.class like salt. Right now you're pouring a whole box of it on your HTML when a little bit makes it taste better.",_e=p(),Ne=m("h1"),Ne.textContent="Do these demos work on phones?",Oe=p(),De=m("p"),De.textContent="They could but I haven't taken the time to make them adapt. That may come in a later release. Try it anyway\n as you may be surprised how well the layouts still work on smaller screens.",Ge=p(),We=m("h1"),We.textContent="Can I suggest a challenge?",Ue=p(),Re=m("p"),Re.innerHTML='Yes please. If you find an example of a layout that you think is impossible with flexbox and CSS grids then tell me on Twitter at @lzsthw and I'll attempt a replica. My only requirement is that you also have to tell me what trick the challenge is using. This is an exercise in replicating layouts, not reverse engineering devious hidden CSS tricks. Also keep in mind that I am not invested in "winning" and only curious about the limits of flexbox and CSS grids. If you find something I can't do, that means I found a useful limit to avoid. It doesn't mean that we throw out all of flexbox and CSS grids so you can go back to the float-clear-div-class 1990s.',$(n,"class","svelte-3owcui"),$(g,"class","svelte-3owcui"),$(y,"class","svelte-3owcui"),$(ae,"href","/demos"),$(I,"class","svelte-3owcui")},m(e,t){c(e,n,t),c(e,s,t),c(e,a,t),c(e,l,t),c(e,r,t),i(r,g),i(g,d),i(g,f),K(h,g,null),i(g,v),i(g,b),i(r,w),i(r,y),i(y,x),i(y,k),K(S,y,null),i(y,j),i(y,C),i(r,T),i(r,z),i(z,L),i(z,A),K(q,z,null),i(z,F),i(z,M),c(e,H,t),c(e,I,t),i(I,E),i(I,P),i(I,_),i(I,N),i(I,O),i(I,D),i(I,G),i(I,W),i(I,U),i(I,R),i(I,B),i(I,V),i(I,X),i(I,ee),i(I,te),i(te,ne),i(te,se),i(te,ae),i(I,re),i(I,oe),i(I,ie),i(I,ce),i(I,ue),i(I,ge),i(I,de),i(I,fe),i(I,pe),i(I,he),i(I,ve),i(I,$e),i(I,we),i(I,ye),i(I,xe),i(I,ke),i(I,Se),i(I,je),i(I,Ce),i(I,Te),i(I,ze),i(I,Le),i(I,Ae),i(I,qe),i(I,Fe),i(I,Me),i(I,He),i(I,Ie),i(I,Ee),i(I,Pe),i(I,_e),i(I,Ne),i(I,Oe),i(I,De),i(I,Ge),i(I,We),i(I,Ue),i(I,Re),Be=!0,Ye||(Ze=o(le=me.call(null,ae)),Ye=!0)},p:e,i(e){Be||(Y(h.$$.fragment,e),Y(S.$$.fragment,e),Y(q.$$.fragment,e),Be=!0)},o(e){Z(h.$$.fragment,e),Z(S.$$.fragment,e),Z(q.$$.fragment,e),Be=!1},d(e){e&&u(n),e&&u(s),e&&u(a),e&&u(l),e&&u(r),Q(h),Q(S),Q(q),e&&u(H),e&&u(I),Ye=!1,Ze()}}}function ye(t){let n,s,a,l,r,g,d,f,h,v,b,w,y,x,k,S,j,C,T,z,L,A,q;return w=new be({props:{name:"grid",color:"#000"}}),{c(){n=m("content"),s=m("header"),a=m("nav"),l=m("nav-left"),l.innerHTML='About \n Store',r=p(),g=m("ul"),d=m("li"),d.textContent="Gmail",f=p(),h=m("li"),h.textContent="Image",v=p(),b=m("li"),J(w.$$.fragment),y=p(),x=m("li"),x.innerHTML='',k=p(),S=m("figure"),j=m("a"),j.innerHTML='',T=p(),z=m("search"),z.innerHTML=' \n \n ',$(a,"class","svelte-1xw0xeo"),$(s,"class","svelte-1xw0xeo"),$(j,"href","/demos/google"),$(j,"class","svelte-1xw0xeo"),$(S,"class","svelte-1xw0xeo"),$(z,"class","svelte-1xw0xeo"),$(n,"class","svelte-1xw0xeo")},m(e,t){c(e,n,t),i(n,s),i(s,a),i(a,l),i(a,r),i(a,g),i(g,d),i(g,f),i(g,h),i(g,v),i(g,b),K(w,b,null),i(g,y),i(g,x),i(n,k),i(n,S),i(S,j),i(n,T),i(n,z),L=!0,A||(q=o(C=me.call(null,j)),A=!0)},p:e,i(e){L||(Y(w.$$.fragment,e),L=!0)},o(e){Z(w.$$.fragment,e),L=!1},d(e){e&&u(n),Q(w),A=!1,q()}}}class xe extends te{constructor(e){super(),ee(this,e,null,ye,r,{})}}function ke(t){let n,s,a,l,r,o,g,d,h,v,b,w,y,x,k,S,j,C,T,z,L,A,q,F,M,H,I,E,P,_;return o=new be({props:{name:"arrow-left"}}),z=new be({props:{name:"map",size:"24",color:"var(--color-bg-secondary)"}}),A=new be({props:{name:"link",size:"24",color:"var(--color-bg-secondary)"}}),H=new be({props:{name:"calendar",size:"24",color:"var(--color-bg-secondary)"}}),{c(){n=m("content"),s=m("middle"),a=m("header"),l=m("nav"),r=m("back"),J(o.$$.fragment),g=p(),d=m("name"),d.innerHTML='

Zed A. Shaw, Writer

\n 7,754 Tweets',h=p(),v=m("images"),v.innerHTML='
Profile background
\n\n
Profile picture \n
',b=p(),w=m("profile"),y=m("h3"),y.textContent="Zed A. Shaw, Writer",x=p(),k=m("p"),k.textContent="@lzsthw",S=p(),j=m("p"),j.textContent="The author of The Hard Way Series published by Addison/Wesley including Learn Python The Hard Way and many more. Follow me here for coding tips and book news.",C=p(),T=m("p"),J(z.$$.fragment),L=f(" Some Place, KY "),J(A.$$.fragment),q=p(),F=m("a"),F.textContent="learnjsthehardway.org",M=p(),J(H.$$.fragment),I=f(" Joined Jan, 1999."),E=p(),P=m("p"),P.innerHTML="167 Following 10.4k Followers",$(r,"class","svelte-1prpjq7"),$(l,"class","svelte-1prpjq7"),$(a,"class","svelte-1prpjq7"),$(v,"class","svelte-1prpjq7"),$(w,"class","svelte-1prpjq7"),$(s,"class","svelte-1prpjq7"),$(n,"class","svelte-1prpjq7")},m(e,t){c(e,n,t),i(n,s),i(s,a),i(a,l),i(l,r),K(o,r,null),i(l,g),i(l,d),i(s,h),i(s,v),i(s,b),i(s,w),i(w,y),i(w,x),i(w,k),i(w,S),i(w,j),i(w,C),i(w,T),K(z,T,null),i(T,L),K(A,T,null),i(T,q),i(T,F),i(T,M),K(H,T,null),i(T,I),i(w,E),i(w,P),_=!0},p:e,i(e){_||(Y(o.$$.fragment,e),Y(z.$$.fragment,e),Y(A.$$.fragment,e),Y(H.$$.fragment,e),_=!0)},o(e){Z(o.$$.fragment,e),Z(z.$$.fragment,e),Z(A.$$.fragment,e),Z(H.$$.fragment,e),_=!1},d(e){e&&u(n),Q(o),Q(z),Q(A),Q(H)}}}class Se extends te{constructor(e){super(),ee(this,e,null,ke,r,{})}}function je(t){let n,s,a,l,r,o,g,d,h,v,w,y,x,k,S,j,C,T,z,L,A,q,F,M,H,I,E,P,_,N,O,D,G,W,U,R,B,V,X,ee,te,ne,se,ae,le,re,oe,ie,ce,ue,ge,me,de,fe,pe;return o=new be({props:{name:"menu"}}),d=new be({props:{name:"youtube"}}),j=new be({props:{name:"camera",color:"#000"}}),z=new be({props:{name:"more-vertical",color:"#000"}}),q=new be({props:{name:"grid",color:"#000"}}),I=new be({props:{name:"user"}}),re=new be({props:{name:"thumbs-up",color:"#999"}}),ie=new be({props:{name:"thumbs-down",color:"#999"}}),ue=new be({props:{name:"corner-up-right",color:"#999"}}),me=new be({props:{name:"menu",color:"#999"}}),fe=new be({props:{name:"vertical-more"}}),{c(){n=m("content"),s=m("header"),a=m("nav"),l=m("nav-left"),r=m("a"),J(o.$$.fragment),g=p(),J(d.$$.fragment),h=p(),v=m("logo"),v.textContent="Youtube",w=p(),y=m("input"),x=p(),k=m("ul"),S=m("li"),J(j.$$.fragment),C=p(),T=m("li"),J(z.$$.fragment),L=p(),A=m("li"),J(q.$$.fragment),F=p(),M=m("li"),H=m("button"),J(I.$$.fragment),E=f(" Sign In"),P=p(),_=m("main"),N=m("left"),O=m("figure"),D=m("img"),W=p(),U=m("figcaption"),R=m("a"),R.textContent="#tag",B=p(),V=m("a"),V.textContent="#anothertag",X=p(),ee=m("p"),ee.textContent="Title And Stuff",te=p(),ne=m("video-actions"),se=m("likes"),se.textContent="Stats Stats",ae=p(),le=m("video-buttons"),J(re.$$.fragment),oe=f(" 1.1K\n "),J(ie.$$.fragment),ce=f(" 22\n "),J(ue.$$.fragment),ge=f(" SHARE\n "),J(me.$$.fragment),de=f(" SAVE\n "),J(fe.$$.fragment),$(v,"class","svelte-oxwxiv"),$(y,"id","search"),$(y,"placeholder","Search"),$(y,"name","search"),$(y,"class","svelte-oxwxiv"),$(H,"class","svelte-oxwxiv"),$(a,"class","svelte-oxwxiv"),$(s,"class","svelte-oxwxiv"),D.src!==(G="http://via.placeholder.com/800x450?text=Video")&&$(D,"src","http://via.placeholder.com/800x450?text=Video"),$(R,"class","svelte-oxwxiv"),$(V,"class","svelte-oxwxiv"),$(ee,"class","svelte-oxwxiv"),b(ne,"class","svelte-oxwxiv"),$(U,"class","svelte-oxwxiv"),$(_,"class","svelte-oxwxiv"),$(n,"class","svelte-oxwxiv")},m(e,t){c(e,n,t),i(n,s),i(s,a),i(a,l),i(l,r),K(o,r,null),i(r,g),K(d,r,null),i(r,h),i(r,v),i(a,w),i(a,y),i(a,x),i(a,k),i(k,S),K(j,S,null),i(k,C),i(k,T),K(z,T,null),i(k,L),i(k,A),K(q,A,null),i(k,F),i(k,M),i(M,H),K(I,H,null),i(H,E),i(n,P),i(n,_),i(_,N),i(N,O),i(O,D),i(O,W),i(O,U),i(U,R),i(U,B),i(U,V),i(U,X),i(U,ee),i(U,te),i(U,ne),i(ne,se),i(ne,ae),i(ne,le),K(re,le,null),i(le,oe),K(ie,le,null),i(le,ce),K(ue,le,null),i(le,ge),K(me,le,null),i(le,de),K(fe,le,null),pe=!0},p:e,i(e){pe||(Y(o.$$.fragment,e),Y(d.$$.fragment,e),Y(j.$$.fragment,e),Y(z.$$.fragment,e),Y(q.$$.fragment,e),Y(I.$$.fragment,e),Y(re.$$.fragment,e),Y(ie.$$.fragment,e),Y(ue.$$.fragment,e),Y(me.$$.fragment,e),Y(fe.$$.fragment,e),pe=!0)},o(e){Z(o.$$.fragment,e),Z(d.$$.fragment,e),Z(j.$$.fragment,e),Z(z.$$.fragment,e),Z(q.$$.fragment,e),Z(I.$$.fragment,e),Z(re.$$.fragment,e),Z(ie.$$.fragment,e),Z(ue.$$.fragment,e),Z(me.$$.fragment,e),Z(fe.$$.fragment,e),pe=!1},d(e){e&&u(n),Q(o),Q(d),Q(j),Q(z),Q(q),Q(I),Q(re),Q(ie),Q(ue),Q(me),Q(fe)}}}function Ce(e){return[]}class Te extends te{constructor(e){super(),ee(this,e,Ce,je,r,{})}}function ze(e,t,n){const s=e.slice();return s[1]=t[n],s}function Le(e){let t;return{c(){t=m("figure"),t.innerHTML='Stock photo \n '},m(e,n){c(e,t,n)},d(e){e&&u(t)}}}function Ae(t){let n,s,a,l,r,o,d,h,v,b,w,y,x,k,S;r=new be({props:{name:"instagram",color:"var(--color-text)"}});let j=t[0],C=[];for(let e=0;e \n
  • Sign Up
  • ',w=p(),y=m("profile"),y.innerHTML='
    Zed's Face
    \n\n

    zedshaw

    \n\n

    280 posts 4,695 followers 1,778 following

    \n\n

    Zed A. Shaw

    \n

    Painter in oil, watercolor, and pastel. I’m doing live streams of little paintings on Twitch:
    \n www.twitch.tv/zedashaw

    ',x=p(),k=m("pins");for(let e=0;e \n
  • ',S=p(),j=m("profile"),j.innerHTML='

    Vincent van Gogh

    \n

    Collection by A Person

    \n

    420 Pins • 3.59k Followers

    \n

    "I dream my painting and I paint my dream." ~ Vincent van Gogh

    \n\n
    Zed's Face
    ',$(r,"class","svelte-1w7ltga"),$(h,"class","svelte-1w7ltga"),$(b,"class","svelte-1w7ltga"),$(l,"class","svelte-1w7ltga"),$(y,"placeholder","Search"),$(y,"class","svelte-1w7ltga"),$(k,"class","svelte-1w7ltga"),$(a,"class","svelte-1w7ltga"),$(s,"class","svelte-1w7ltga"),$(j,"class","svelte-1w7ltga"),$(n,"class","svelte-1w7ltga")},m(e,t){c(e,n,t),i(n,s),i(s,a),i(a,l),i(l,r),K(o,r,null),i(r,g),i(l,d),i(l,h),i(l,v),i(l,b),i(a,w),i(a,y),i(a,x),i(a,k),i(n,S),i(n,j),C=!0},p:e,i(e){C||(Y(o.$$.fragment,e),C=!0)},o(e){Z(o.$$.fragment,e),C=!1},d(e){e&&u(n),Q(o)}}}class He extends te{constructor(e){super(),ee(this,e,null,Me,r,{})}}function Ie(t){let n;return{c(){n=m("content"),n.innerHTML=' \n
    Login
    \n \n \n \n \n
    \n
    \n ',$(n,"class","svelte-t7gl8c")},m(e,t){c(e,n,t)},p:e,i:e,o:e,d(e){e&&u(n)}}}class Ee extends te{constructor(e){super(),ee(this,e,null,Ie,r,{})}}var Pe=function({width:e=300,height:t=150,text:n=`${e}×${t}`,fontFamily:s="sans-serif",fontWeight:a="bold",fontSize:l=Math.floor(.2*Math.min(e,t)),dy:r=.35*l,bgColor:o="#ddd",textColor:i="rgba(0,0,0,0.5)",dataUri:c=!0,charset:u="UTF-8"}={}){const g=`\n \n ${n}\n `.replace(/[\t\n\r]/gim,"").replace(/\s\s+/g," ").replace(/'/gim,"\\i");if(c){return`data:image/svg+xml;charset=${u},${encodeURIComponent(g).replace(/\(/g,"%28").replace(/\)/g,"%29")}`}return g};const _e={bgColor:"#ccc",textColor:"#888"},Ne=(e,t)=>Pe({..._e,width:e,height:t});function Oe(t){let n,s,a,l,r,o,g,d,f,h,v,b,w,y,x;return v=new be({props:{name:"check-circle",color:"var(--color-bg)",size:"24"}}),y=new be({props:{name:"x-circle",color:"var(--color-bg)",size:"24"}}),{c(){n=m("content"),s=m("tile"),a=m("left"),l=m("img"),o=p(),g=m("middle"),g.innerHTML='

    Tile Example

    \n

    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

    ',d=p(),f=m("right"),h=m("button"),J(v.$$.fragment),b=p(),w=m("button"),J(y.$$.fragment),l.src!==(r=Ne(48,48))&&$(l,"src",r),$(g,"class","svelte-fwzpwr"),$(h,"class","svelte-fwzpwr"),$(w,"class","svelte-fwzpwr"),$(f,"class","svelte-fwzpwr"),$(s,"class","svelte-fwzpwr"),$(n,"class","svelte-fwzpwr")},m(e,t){c(e,n,t),i(n,s),i(s,a),i(a,l),i(s,o),i(s,g),i(s,d),i(s,f),i(f,h),K(v,h,null),i(f,b),i(f,w),K(y,w,null),x=!0},p:e,i(e){x||(Y(v.$$.fragment,e),Y(y.$$.fragment,e),x=!0)},o(e){Z(v.$$.fragment,e),Z(y.$$.fragment,e),x=!1},d(e){e&&u(n),Q(v),Q(y)}}}class De extends te{constructor(e){super(),ee(this,e,null,Oe,r,{})}}var Ge="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var We,Ue,Re=(function(e){var t=function(e){var t=/\blang(?:uage)?-([\w-]+)\b/i,n=0,s={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach);k+=x.value.length,x=x.next){var S=x.value;if(t.length>e.length)return;if(!(S instanceof a)){var j=1;if(v&&x!=t.tail.prev){if(y.lastIndex=k,!(A=y.exec(e)))break;var C=A.index+(h&&A[1]?A[1].length:0),T=A.index+A[0].length,z=k;for(z+=x.value.length;C>=z;)z+=(x=x.next).value.length;if(k=z-=x.value.length,x.value instanceof a)continue;for(var L=x;L!==t.tail&&(zu.reach&&(u.reach=H);var I=x.prev;F&&(I=o(t,I,F),k+=F.length),i(t,I,j),x=o(t,I,new a(g,p?s.tokenize(q,p):q,b,q)),M&&o(t,x,M),j>1&&l(e,t,n,x.prev,k,{cause:g+","+d,reach:H})}}}}}}function r(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function o(e,t,n){var s=t.next,a={value:n,prev:t,next:s};return t.next=a,s.prev=a,e.length++,a}function i(e,t,n){for(var s=t.next,a=0;a"+l.content+""},!e.document)return e.addEventListener?(s.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),a=n.language,l=n.code,r=n.immediateClose;e.postMessage(s.highlight(l,s.languages[a],a)),r&&e.close()}),!1),s):s;var c=s.util.currentScript();function u(){s.manual||s.highlightAll()}if(c&&(s.filename=c.src,c.hasAttribute("data-manual")&&(s.manual=!0)),!s.manual){var g=document.readyState;"loading"===g||"interactive"===g&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return s}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{}); /** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT * @author Lea Verou * @namespace * @public */e.exports&&(e.exports=t),void 0!==Ge&&(Ge.Prism=t),t.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/,name:/[^\s<>'"]+/}},cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,n){var s={};s["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:t.languages[n]},s.cdata=/^$/i;var a={"included-cdata":{pattern://i,inside:s}};a["language-"+n]={pattern:/[\s\S]+/,inside:t.languages[n]};var l={};l[e]={pattern:RegExp(/(<__[\s\S]*?>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:a},t.languages.insertBefore("markup","cdata",l)}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+[\s\S]*?(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\((?!\s*\))\s*)(?:[^()]|\((?:[^()]|\([^()]*\))*\))+?(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:RegExp("[^{}\\s](?:[^{};\"']|"+t.source+")*?(?=\\s*\\{)"),string:{pattern:t,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),e.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:n.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:e.languages.css}},alias:"language-css"}},n.tag))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|(?:get|set)(?=\s*[\[$\w\xA0-\uFFFF])|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,function:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-flags":/[a-z]+$/,"regex-delimiter":/^\/|\/$/}},"function-variable":{pattern:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}}}),t.languages.markup&&t.languages.markup.tag.addInlined("script","javascript"),t.languages.js=t.languages.javascript,function(){if("undefined"!=typeof self&&self.Prism&&self.document){var e=window.Prism,t={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n="data-src-status",s="loading",a="loaded",l='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])',r=/\blang(?:uage)?-([\w-]+)\b/i;e.hooks.add("before-highlightall",(function(e){e.selector+=", "+l})),e.hooks.add("before-sanity-check",(function(r){var o=r.element;if(o.matches(l)){r.code="",o.setAttribute(n,s);var c=o.appendChild(document.createElement("CODE"));c.textContent="Loading…";var u=o.getAttribute("data-src"),g=r.language;if("none"===g){var m=(/\.(\w+)$/.exec(u)||[,"none"])[1];g=t[m]||m}i(c,g),i(o,g);var d=e.plugins.autoloader;d&&d.loadLanguages(g);var f=new XMLHttpRequest;f.open("GET",u,!0),f.onreadystatechange=function(){var t,s;4==f.readyState&&(f.status<400&&f.responseText?(o.setAttribute(n,a),c.textContent=f.responseText,e.highlightElement(c)):(o.setAttribute(n,"failed"),f.status>=400?c.textContent=(t=f.status,s=f.statusText,"✖ Error "+t+" while fetching file: "+s):c.textContent="✖ Error: File does not exist or is empty"))},f.send(null)}})),e.plugins.fileHighlight={highlight:function(t){for(var n,s=(t||document).querySelectorAll(l),a=0;n=s[a++];)e.highlightElement(n)}};var o=!1;e.fileHighlight=function(){o||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),o=!0),e.plugins.fileHighlight.highlight.apply(this,arguments)}}function i(e,t){var n=e.className;n=n.replace(r," ")+" language-"+t,e.className=n.replace(/\s+/g," ").trim()}}()}(Ue={path:We,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&Ue.path)}},Ue.exports),Ue.exports);const Be="(if|else if|await|then|catch|each|html|debug)";function Ye(e){let t,n,s,a,l,r;return{c(){t=m("hr"),n=p(),s=m("h2"),s.textContent="Notes",a=p(),r=h(),l=new k(r)},m(o,i){c(o,t,i),c(o,n,i),c(o,s,i),c(o,a,i),l.m(e[3],o,i),c(o,r,i)},p(e,t){8&t&&l.p(e[3])},d(e){e&&u(t),e&&u(n),e&&u(s),e&&u(a),e&&u(r),e&&l.d()}}}function Ze(t){let n,s,a,l,r,o,g,d,v,w,x,k,S,j,C,T,z=t[0]&&Ye(t);return{c(){n=m("code-view"),s=m("css-view"),a=m("h1"),a.textContent="CSS",l=p(),r=m("pre"),o=m("code"),g=f(t[1]),d=p(),v=m("html-view"),w=m("h1"),w.textContent="HTML",x=p(),k=m("pre"),S=m("code"),j=f(t[2]),C=p(),z&&z.c(),T=h(),$(o,"class","language-svelte"),b(s,"class","svelte-1qac1jo"),$(S,"class","language-svelte"),b(v,"class","svelte-1qac1jo"),b(n,"class","svelte-1qac1jo")},m(e,t){c(e,n,t),i(n,s),i(s,a),i(s,l),i(s,r),i(r,o),i(o,g),i(n,d),i(n,v),i(v,w),i(v,x),i(v,k),i(k,S),i(S,j),c(e,C,t),z&&z.m(e,t),c(e,T,t)},p(e,[t]){2&t&&y(g,e[1]),4&t&&y(j,e[2]),e[0]?z?z.p(e,t):(z=Ye(e),z.c(),z.m(T.parentNode,T)):z&&(z.d(1),z=null)},i:e,o:e,d(e){e&&u(n),e&&u(C),z&&z.d(e),e&&u(T)}}}function Ve(e,t,n){let{source:s=""}=t,a="",l="",r="",{notes:o=""}=t;return T((()=>{fetch(`${s}.css`).then((e=>e.text())).then((e=>n(1,a=e))),fetch(`${s}.html`).then((e=>e.text())).then((e=>n(2,l=e))).then((()=>Re.highlightAll())),o&&fetch(`${s}.notes.html`).then((e=>e.text())).then((e=>n(3,r=e))).then((()=>Re.highlightAll()))})),e.$$set=e=>{"source"in e&&n(4,s=e.source),"notes"in e&&n(0,o=e.notes)},[o,a,l,r,s]}Prism.languages.svelte=Prism.languages.extend("markup",{each:{pattern:new RegExp("{[#/]each(?:(?:\\{(?:(?:\\{(?:[^{}])*\\})|(?:[^{}]))*\\})|(?:[^{}]))*}"),inside:{"language-javascript":[{pattern:/(as[\s\S]*)\([\s\S]*\)(?=\s*\})/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(as[\s]*)[\s\S]*(?=\s*)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(#each[\s]*)[\s\S]*(?=as)/,lookbehind:!0,inside:Prism.languages.javascript}],keyword:/[#/]each|as/,punctuation:/{|}/}},block:{pattern:new RegExp("{[#:/@]/s"+Be+"(?:(?:\\{(?:(?:\\{(?:[^{}])*\\})|(?:[^{}]))*\\})|(?:[^{}]))*}"),inside:{punctuation:/^{|}$/,keyword:[new RegExp("[#:/@]"+Be+"( )*"),/as/,/then/],"language-javascript":{pattern:/[\s\S]*/,inside:Prism.languages.javascript}}},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?:"[^"]*"|'[^']*'|{[\s\S]+?}(?=[\s/>])))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"language-javascript":{pattern:/\{(?:(?:\{(?:(?:\{(?:[^{}])*\})|(?:[^{}]))*\})|(?:[^{}]))*\}/,inside:Prism.languages.javascript},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],"language-javascript":{pattern:/{[\s\S]+}/,inside:Prism.languages.javascript}}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},"language-javascript":{pattern:/\{(?:(?:\{(?:(?:\{(?:[^{}])*\})|(?:[^{}]))*\})|(?:[^{}]))*\}/,lookbehind:!0,inside:Prism.languages.javascript}}),Prism.languages.svelte.tag.inside["attr-value"].inside.entity=Prism.languages.svelte.entity,Prism.hooks.add("wrap",(e=>{"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(Prism.languages.svelte.tag,"addInlined",{value:function(e,t){const n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^$/i;const s={"included-cdata":{pattern://i,inside:n}};s["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};const a={};a[e]={pattern:RegExp(/(<__[\s\S]*?>)(?:\s*|[\s\S])*?(?=<\/__>)/.source.replace(/__/g,e),"i"),lookbehind:!0,greedy:!0,inside:s},Prism.languages.insertBefore("svelte","cdata",a)}}),Prism.languages.svelte.tag.addInlined("style","css"),Prism.languages.svelte.tag.addInlined("script","javascript");class Xe extends te{constructor(e){super(),ee(this,e,Ve,Ze,r,{source:4,notes:0})}}function Je(t){let n,s,a,l,r,o,g,d,f,h,v,b,w,y,x;return v=new be({props:{name:"check-circle",color:"var(--color-bg)",size:"24"}}),y=new be({props:{name:"x-circle",color:"var(--color-bg)",size:"24"}}),{c(){n=m("content"),s=m("card"),a=m("top"),l=m("img"),o=p(),g=m("middle"),g.innerHTML='

    Card Example

    \n

    Lorem ipsum dolor sit amet, consectetur\n adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

    ',d=p(),f=m("bottom"),h=m("button"),J(v.$$.fragment),b=p(),w=m("button"),J(y.$$.fragment),l.src!==(r=Ne(480,270))&&$(l,"src",r),$(l,"class","svelte-1rd3ni4"),$(g,"class","svelte-1rd3ni4"),$(h,"class","svelte-1rd3ni4"),$(w,"class","svelte-1rd3ni4"),$(f,"class","svelte-1rd3ni4"),$(s,"class","svelte-1rd3ni4"),$(n,"class","svelte-1rd3ni4")},m(e,t){c(e,n,t),i(n,s),i(s,a),i(a,l),i(s,o),i(s,g),i(s,d),i(s,f),i(f,h),K(v,h,null),i(f,b),i(f,w),K(y,w,null),x=!0},p:e,i(e){x||(Y(v.$$.fragment,e),Y(y.$$.fragment,e),x=!0)},o(e){Z(v.$$.fragment,e),Z(y.$$.fragment,e),x=!1},d(e){e&&u(n),Q(v),Q(y)}}}class Ke extends te{constructor(e){super(),ee(this,e,null,Je,r,{})}}function Qe(t){let n,s,a,l,r,o,g,d,h,v,b,w,y,x,k;return h=new be({props:{name:"x-circle",color:"var(--color-text)",size:"24"}}),y=new be({props:{name:"check-circle",color:"var(--color-bg)",size:"24"}}),{c(){n=m("content"),s=m("panel"),a=m("top"),a.innerHTML="

    Panel is a Card

    ",l=p(),r=m("middle"),r.innerHTML="

    Panel Example

    \n

    Not sure what the big deal is with the difference between panels and cards\n but I'm doing all the things so here's a panel. Let's say, buttons on a panel\n are different to demonstrate how to make a button strip.

    ",o=p(),g=m("bottom"),d=m("button"),J(h.$$.fragment),v=f(" CANCEL"),b=p(),w=m("button"),J(y.$$.fragment),x=f(" OK"),$(a,"class","svelte-1lajyim"),$(r,"class","svelte-1lajyim"),$(d,"id","cancel"),$(d,"class","svelte-1lajyim"),$(w,"class","svelte-1lajyim"),$(g,"class","svelte-1lajyim"),$(s,"class","svelte-1lajyim"),$(n,"class","svelte-1lajyim")},m(e,t){c(e,n,t),i(n,s),i(s,a),i(s,l),i(s,r),i(s,o),i(s,g),i(g,d),K(h,d,null),i(d,v),i(g,b),i(g,w),K(y,w,null),i(w,x),k=!0},p:e,i(e){k||(Y(h.$$.fragment,e),Y(y.$$.fragment,e),k=!0)},o(e){Z(h.$$.fragment,e),Z(y.$$.fragment,e),k=!1},d(e){e&&u(n),Q(h),Q(y)}}}class et extends te{constructor(e){super(),ee(this,e,null,Qe,r,{})}}function tt(e,t,n){const s=e.slice();return s[3]=t[n],s[5]=n,s}function nt(e,t,n){const s=e.slice();return s[3]=t[n],s[5]=n,s}function st(e){let t,n,s,a,l=e[3].title+"";function r(){return e[2](e[5])}return{c(){t=m("a"),n=f(l),$(t,"class","svelte-j1ijok"),x(t,"active",e[3].active)},m(e,l){c(e,t,l),i(t,n),s||(a=v(t,"click",r),s=!0)},p(s,a){e=s,1&a&&l!==(l=e[3].title+"")&&y(n,l),1&a&&x(t,"active",e[3].active)},d(e){e&&u(t),s=!1,a()}}}function at(e){let t,n,s,a,l,r,o=e[3].title+"";return{c(){t=m("panel"),n=m("h1"),s=f(o),a=p(),l=m("p"),l.textContent="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim\n veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea\n commodo consequat. Duis aute irure dolor in reprehenderit in voluptate\n velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat\n cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est\n laborum.",r=p(),$(t,"class","svelte-j1ijok"),x(t,"active",e[3].active)},m(e,o){c(e,t,o),i(t,n),i(n,s),i(t,a),i(t,l),i(t,r)},p(e,n){1&n&&o!==(o=e[3].title+"")&&y(s,o),1&n&&x(t,"active",e[3].active)},d(e){e&&u(t)}}}function lt(t){let n,s,a,l,r,o,d,f,h,v,b=t[0],w=[];for(let e=0;eTab1 \n Tab2 \n Tab3',r=p(),o=m("h1"),o.textContent="Interactive Demo",d=p(),f=m("tabs");for(let e=0;e{s.forEach(((t,n)=>t.active=e==n)),n(0,s)};return[s,a,e=>a(e)]}class ot extends te{constructor(e){super(),ee(this,e,rt,lt,r,{})}}function it(t){let n;return{c(){n=m("content"),n.innerHTML='

    Grid Over Graphic

    \n\n \n\n

    Do You Like Icecream?

    \n

    This square is placed over this image using a\n CSS Grid.

    \n

    Icecream Rules

    \n

    Sometimes you want to put a graphic behind some creatively\n organize text and panels. You can dot that with CSS grids.

    \n

    Bottom Left

    \n

    I don't know why I put that sphere there.

    ',$(n,"class","svelte-1n9y415")},m(e,t){c(e,n,t)},p:e,i:e,o:e,d(e){e&&u(n)}}}class ct extends te{constructor(e){super(),ee(this,e,null,it,r,{})}}function ut(e,t,n){const s=e.slice();return s[1]=t[n],s}function gt(t){let n,s,a=t[1]+"";return{c(){n=m("date"),s=f(a),$(n,"class","svelte-1gt8gt4")},m(e,t){c(e,n,t),i(n,s)},p:e,d(e){e&&u(n)}}}function mt(t){let n,s,a,l,r,o,d,f,h,v,b,w,y=t[0](),x=[];for(let e=0;e{let e=[];for(let t=0;t<31;t++)e.push(t);return e}]}class ft extends te{constructor(e){super(),ee(this,e,dt,mt,r,{})}}function pt(t){let n,s,l,r,o,g,d,f,h,b,w,y,x,k,S,j,C,T,z,L,A,q,F,M,H,I,E,P,_,N,O,D,G,W,U,R,B,V,X,ee,te,ne,se,ae,le,re,oe,ie,ce,ue,ge,me,de,fe,pe,he,ve,$e,be,we,ye,ke,je,Ce,ze,Le,Ae,qe,Me,Ie;return o=new xe({}),b=new Se({}),S=new Te({}),L=new Fe({}),H=new He({}),U=new Ee({}),ee=new De({}),le=new Ke({}),ue=new et({}),pe=new ot({}),we=new ct({}),ze=new ft({}),{c(){n=m("h1"),n.textContent="Full Websites",s=p(),l=m("images"),r=m("figure"),J(o.$$.fragment),g=p(),d=m("figcaption"),d.textContent="Google",f=p(),h=m("figure"),J(b.$$.fragment),w=p(),y=m("figcaption"),y.textContent="Twitter",x=p(),k=m("figure"),J(S.$$.fragment),j=p(),C=m("figcaption"),C.textContent="Youtube",T=p(),z=m("figure"),J(L.$$.fragment),A=p(),q=m("figcaption"),q.textContent="Instagram",F=p(),M=m("figure"),J(H.$$.fragment),I=p(),E=m("figcaption"),E.textContent="Pinterest",P=p(),_=m("hr"),N=p(),O=m("h1"),O.textContent="Common UI Patterns",D=p(),G=m("images"),W=m("figure"),J(U.$$.fragment),R=p(),B=m("figcaption"),B.textContent="Basic Login",V=p(),X=m("figure"),J(ee.$$.fragment),te=p(),ne=m("figcaption"),ne.textContent="Tiles",se=p(),ae=m("figure"),J(le.$$.fragment),re=p(),oe=m("figcaption"),oe.textContent="Cards",ie=p(),ce=m("figure"),J(ue.$$.fragment),ge=p(),me=m("figcaption"),me.textContent="Panels",de=p(),fe=m("figure"),J(pe.$$.fragment),he=p(),ve=m("figcaption"),ve.textContent="Tabs",$e=p(),be=m("figure"),J(we.$$.fragment),ye=p(),ke=m("figcaption"),ke.textContent="Grid Over Graphic",je=p(),Ce=m("figure"),J(ze.$$.fragment),Le=p(),Ae=m("figcaption"),Ae.textContent="Calendar",$(d,"class","svelte-1bny7ze"),$(r,"class","svelte-1bny7ze"),$(y,"class","svelte-1bny7ze"),$(h,"class","svelte-1bny7ze"),$(C,"class","svelte-1bny7ze"),$(k,"class","svelte-1bny7ze"),$(q,"class","svelte-1bny7ze"),$(z,"class","svelte-1bny7ze"),$(E,"class","svelte-1bny7ze"),$(M,"class","svelte-1bny7ze"),$(l,"class","svelte-1bny7ze"),$(B,"class","svelte-1bny7ze"),$(W,"class","svelte-1bny7ze"),$(ne,"class","svelte-1bny7ze"),$(X,"class","svelte-1bny7ze"),$(oe,"class","svelte-1bny7ze"),$(ae,"class","svelte-1bny7ze"),$(me,"class","svelte-1bny7ze"),$(ce,"class","svelte-1bny7ze"),$(ve,"class","svelte-1bny7ze"),$(fe,"class","svelte-1bny7ze"),$(ke,"class","svelte-1bny7ze"),$(be,"class","svelte-1bny7ze"),$(Ae,"class","svelte-1bny7ze"),$(Ce,"class","svelte-1bny7ze"),$(G,"class","svelte-1bny7ze")},m(e,a){c(e,n,a),c(e,s,a),c(e,l,a),i(l,r),K(o,r,null),i(r,g),i(r,d),i(l,f),i(l,h),K(b,h,null),i(h,w),i(h,y),i(l,x),i(l,k),K(S,k,null),i(k,j),i(k,C),i(l,T),i(l,z),K(L,z,null),i(z,A),i(z,q),i(l,F),i(l,M),K(H,M,null),i(M,I),i(M,E),c(e,P,a),c(e,_,a),c(e,N,a),c(e,O,a),c(e,D,a),c(e,G,a),i(G,W),K(U,W,null),i(W,R),i(W,B),i(G,V),i(G,X),K(ee,X,null),i(X,te),i(X,ne),i(G,se),i(G,ae),K(le,ae,null),i(ae,re),i(ae,oe),i(G,ie),i(G,ce),K(ue,ce,null),i(ce,ge),i(ce,me),i(G,de),i(G,fe),K(pe,fe,null),i(fe,he),i(fe,ve),i(G,$e),i(G,be),K(we,be,null),i(be,ye),i(be,ke),i(G,je),i(G,Ce),K(ze,Ce,null),i(Ce,Le),i(Ce,Ae),qe=!0,Me||(Ie=[v(r,"click",t[0]),v(h,"click",t[1]),v(k,"click",t[2]),v(z,"click",t[3]),v(M,"click",t[4]),v(W,"click",t[5]),v(X,"click",t[6]),v(ae,"click",t[7]),v(ce,"click",t[8]),v(fe,"click",t[9]),v(be,"click",t[10]),v(Ce,"click",t[11])],Me=!0)},p:e,i(e){qe||(Y(o.$$.fragment,e),Y(b.$$.fragment,e),Y(S.$$.fragment,e),Y(L.$$.fragment,e),Y(H.$$.fragment,e),Y(U.$$.fragment,e),Y(ee.$$.fragment,e),Y(le.$$.fragment,e),Y(ue.$$.fragment,e),Y(pe.$$.fragment,e),Y(we.$$.fragment,e),Y(ze.$$.fragment,e),qe=!0)},o(e){Z(o.$$.fragment,e),Z(b.$$.fragment,e),Z(S.$$.fragment,e),Z(L.$$.fragment,e),Z(H.$$.fragment,e),Z(U.$$.fragment,e),Z(ee.$$.fragment,e),Z(le.$$.fragment,e),Z(ue.$$.fragment,e),Z(pe.$$.fragment,e),Z(we.$$.fragment,e),Z(ze.$$.fragment,e),qe=!1},d(e){e&&u(n),e&&u(s),e&&u(l),Q(o),Q(b),Q(S),Q(L),Q(H),e&&u(P),e&&u(_),e&&u(N),e&&u(O),e&&u(D),e&&u(G),Q(U),Q(ee),Q(le),Q(ue),Q(pe),Q(we),Q(ze),Me=!1,a(Ie)}}}function ht(e){return[()=>ge("/demos/google"),()=>ge("/demos/twitter"),()=>ge("/demos/youtube"),()=>ge("/demos/instagram"),()=>ge("/demos/pinterest"),()=>ge("/demos/login"),()=>ge("/demos/tiles"),()=>ge("/demos/cards"),()=>ge("/demos/panels"),()=>ge("/demos/tabs"),()=>ge("/demos/gridovergraphic"),()=>ge("/demos/calendar")]}function vt(t){let n;return{c(){n=m("h1"),n.textContent="Not found"},m(e,t){c(e,n,t)},p:e,i:e,o:e,d(e){e&&u(n)}}}function $t(t){let n,s,a,l,r,g,d,f,h,v,b,w,y,x,k,S,j,C,T,z,L,A,q,F,M,H,I;return w=new be({props:{name:"grid",color:"#000"}}),F=new Xe({props:{source:"/code/Google",notes:"/code/Google.notes.html"}}),{c(){n=m("content"),s=m("header"),a=m("nav"),l=m("nav-left"),l.innerHTML="About \n Store",r=p(),g=m("ul"),d=m("li"),d.textContent="Gmail",f=p(),h=m("li"),h.textContent="Image",v=p(),b=m("li"),J(w.$$.fragment),y=p(),x=m("li"),x.innerHTML='',k=p(),S=m("figure"),j=m("a"),C=m("img"),L=p(),A=m("search"),A.innerHTML=' \n \n ',q=p(),J(F.$$.fragment),$(a,"class","svelte-yyzz8b"),$(s,"class","svelte-yyzz8b"),C.src!==(T=Ne(500,200))&&$(C,"src",T),$(j,"href","/demos/google"),$(S,"class","svelte-yyzz8b"),$(A,"class","svelte-yyzz8b"),$(n,"class","svelte-yyzz8b")},m(e,t){c(e,n,t),i(n,s),i(s,a),i(a,l),i(a,r),i(a,g),i(g,d),i(g,f),i(g,h),i(g,v),i(g,b),K(w,b,null),i(g,y),i(g,x),i(n,k),i(n,S),i(S,j),i(j,C),i(n,L),i(n,A),c(e,q,t),K(F,e,t),M=!0,H||(I=o(z=me.call(null,j)),H=!0)},p:e,i(e){M||(Y(w.$$.fragment,e),Y(F.$$.fragment,e),M=!0)},o(e){Z(w.$$.fragment,e),Z(F.$$.fragment,e),M=!1},d(e){e&&u(n),Q(w),e&&u(q),Q(F,e),H=!1,I()}}}function bt(e,t,n){const s=e.slice();return s[1]=t[n],s}function wt(t){let n,s,a,l,r,o,g,d,h,v,b,w,y,x,k,S,j,C,T,z;return v=new be({props:{size:"16",name:"message-circle",color:"var(--color-inactive)"}}),w=new be({props:{size:"16",name:"repeat",color:"var(--color-inactive)"}}),x=new be({props:{size:"16",name:"heart",color:"var(--color-inactive)"}}),S=new be({props:{size:"16",name:"upload",color:"var(--color-inactive)"}}),C=new be({props:{name:"more-horizontal"}}),{c(){n=m("tweet"),s=m("figure"),s.innerHTML='Stock photo',a=p(),l=m("post"),r=m("h4"),r.textContent="Zed A. Shaw, Writer",o=p(),g=m("p"),g.innerHTML="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam:
    \n\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",d=p(),h=m("actions"),J(v.$$.fragment),b=f(" 2\n "),J(w.$$.fragment),y=f(" 1\n "),J(x.$$.fragment),k=f(" 12\n "),J(S.$$.fragment),j=p(),J(C.$$.fragment),T=p(),$(s,"id","avatar"),$(s,"class","svelte-bnvc6y"),$(r,"class","svelte-bnvc6y"),$(g,"class","svelte-bnvc6y"),$(h,"class","svelte-bnvc6y"),$(l,"class","svelte-bnvc6y"),$(n,"class","svelte-bnvc6y")},m(e,t){c(e,n,t),i(n,s),i(n,a),i(n,l),i(l,r),i(l,o),i(l,g),i(l,d),i(l,h),K(v,h,null),i(h,b),K(w,h,null),i(h,y),K(x,h,null),i(h,k),K(S,h,null),i(n,j),K(C,n,null),i(n,T),z=!0},p:e,i(e){z||(Y(v.$$.fragment,e),Y(w.$$.fragment,e),Y(x.$$.fragment,e),Y(S.$$.fragment,e),Y(C.$$.fragment,e),z=!0)},o(e){Z(v.$$.fragment,e),Z(w.$$.fragment,e),Z(x.$$.fragment,e),Z(S.$$.fragment,e),Z(C.$$.fragment,e),z=!1},d(e){e&&u(n),Q(v),Q(w),Q(x),Q(S),Q(C)}}}function yt(t){let n,s,a,l,r,o,d,h,v,w,y,x,k,S,j,C,T,z,L,A,q,F,M,H,I,E,P,_,N,O,D,G,W,U,R,B,V,X,ee,te,ne,se,ae,le,re,oe,ie,ce,ue,ge,me,de,fe,pe,he,ve,$e,we,ye,xe,ke,Se,je,Ce,Te,ze,Le,Ae,qe,Fe,Me,He,Ie,Ee,Pe,_e,Oe,De,Ge,We,Ue;a=new be({props:{name:"twitter",color:"var(--color)"}}),h=new be({props:{name:"settings",color:"var(--color-text)"}}),j=new be({props:{name:"arrow-left"}}),N=new be({props:{name:"map",size:"24",color:"var(--color-bg-secondary)"}}),D=new be({props:{name:"link",size:"24",color:"var(--color-bg-secondary)"}}),R=new be({props:{name:"calendar",size:"24",color:"var(--color-bg-secondary)"}});let Re=t[0],Be=[];for(let e=0;eZed A. Shaw, Writer \n 7,754 Tweets',z=p(),L=m("images"),L.innerHTML='
    \n\n
    \n
    ',A=p(),q=m("profile"),F=m("h3"),F.textContent="Zed A. Shaw, Writer",M=p(),H=m("p"),H.textContent="@lzsthw",I=p(),E=m("p"),E.textContent="The author of The Hard Way Series published by Addison/Wesley including Learn Python The Hard Way and many more. Follow me here for coding tips and book news.",P=p(),_=m("p"),J(N.$$.fragment),O=f(" Some Place, KY "),J(D.$$.fragment),G=p(),W=m("a"),W.textContent="learnjsthehardway.org",U=p(),J(R.$$.fragment),B=f(" Joined Jan, 1999."),V=p(),X=m("p"),X.innerHTML="167 Following 10.4k Followers",ee=p(),te=m("hr"),ne=p(),se=m("tweets");for(let e=0;eNew to Twitter? \n

    Sign up now to get your own personalized hate stream!

    \n ',ue=p(),ge=m("aside"),me=m("recent-media"),de=m("figure"),fe=m("img"),he=p(),ve=m("figure"),$e=m("img"),ye=p(),xe=m("figure"),ke=m("img"),je=p(),Ce=m("figure"),Te=m("img"),Le=p(),Ae=m("figure"),qe=m("img"),Me=p(),He=m("figure"),Ie=m("img"),Pe=p(),_e=m("aside"),_e.innerHTML='

    You Might Like

    \n
    • Card Person
    • \n
    • Card Person
    • \n
    • Card Person
    \n Show More',Oe=p(),De=m("aside"),De.innerHTML='

    What's Happening

    \n
    • News news news.
    • \n
    • News news news.
    • \n
    • News news news.
    • \n
    • News news news.
    • \n
    • News news news.
    ',Ge=p(),J(We.$$.fragment),$(s,"class","svelte-bnvc6y"),$(S,"class","svelte-bnvc6y"),$(k,"class","svelte-bnvc6y"),$(x,"class","svelte-bnvc6y"),$(L,"class","svelte-bnvc6y"),$(q,"class","svelte-bnvc6y"),$(te,"class","svelte-bnvc6y"),$(y,"class","svelte-bnvc6y"),$(re,"placeholder","Search Twitter"),$(ce,"id","newperson"),$(ce,"class","svelte-bnvc6y"),$(fe,"alt","Stock photo"),fe.src!==(pe=Ne(82,82))&&$(fe,"src",pe),$($e,"alt","Stock photo"),$e.src!==(we=Ne(82,82))&&$($e,"src",we),$(ke,"alt","Stock photo"),ke.src!==(Se=Ne(82,82))&&$(ke,"src",Se),$(Te,"alt","Stock photo"),Te.src!==(ze=Ne(82,82))&&$(Te,"src",ze),$(qe,"alt","Stock photo"),qe.src!==(Fe=Ne(82,82))&&$(qe,"src",Fe),$(Ie,"alt","Stock photo"),Ie.src!==(Ee=Ne(82,82))&&$(Ie,"src",Ee),b(me,"class","svelte-bnvc6y"),$(_e,"id","trending"),$(_e,"class","svelte-bnvc6y"),$(De,"id","trending"),$(De,"class","svelte-bnvc6y"),$(le,"class","svelte-bnvc6y"),$(n,"class","svelte-bnvc6y")},m(e,t){c(e,n,t),i(n,s),K(a,s,null),i(s,l),i(s,r),i(s,o),i(s,d),K(h,d,null),i(d,v),i(n,w),i(n,y),i(y,x),i(x,k),i(k,S),K(j,S,null),i(k,C),i(k,T),i(y,z),i(y,L),i(y,A),i(y,q),i(q,F),i(q,M),i(q,H),i(q,I),i(q,E),i(q,P),i(q,_),K(N,_,null),i(_,O),K(D,_,null),i(_,G),i(_,W),i(_,U),K(R,_,null),i(_,B),i(q,V),i(q,X),i(y,ee),i(y,te),i(y,ne),i(y,se);for(let e=0;eVideo Thumb Title \n Zed \n 1.1M views \n 2 years ago',s.src!==(a=Ne(120,80))&&$(s,"src",a),$(s,"class","svelte-87j0be"),$(r,"class","svelte-87j0be"),$(n,"class","small svelte-87j0be")},m(e,t){c(e,n,t),i(n,s),i(n,l),i(n,r)},p:e,d(e){e&&u(n)}}}function zt(t){let n,s,a,l,r,o;return{c(){n=m("card"),s=m("img"),l=p(),r=m("info"),r.innerHTML='

    Video Thumb Title

    \n Zed \n 1.1M views \n 2 years ago',o=p(),s.src!==(a=Ne(120,80))&&$(s,"src",a),$(s,"class","svelte-87j0be"),$(r,"class","svelte-87j0be"),$(n,"class","svelte-87j0be")},m(e,t){c(e,n,t),i(n,s),i(n,l),i(n,r),i(n,o)},p:e,d(e){e&&u(n)}}}function Lt(e){let t,n,s,l,r,d,h,v,w,y,x,k,S,j,C,T,z,L,A,q,F,M,H,I,E,P,_,N,O,D,G,W,U,V,X,ee,te,ne,se,ae,le,re,oe,ie,ce,ue,ge,de,fe,pe,he,ve,$e,we,ye,xe,ke,Se,je,Ce,Te,ze,Le,Ae,qe,Fe,Me,He,Ie,Ee,Pe,_e,Oe,De,Ge,We,Ue,Re,Be,Ye,Ze,Ve,Je,Ke,Qe,et,tt,nt,st,at,lt,rt,ot,it,ct;d=new be({props:{name:"menu"}}),v=new be({props:{name:"youtube"}}),T=new be({props:{name:"camera",color:"#000"}}),A=new be({props:{name:"more-vertical",color:"#000"}}),M=new be({props:{name:"grid",color:"#000"}}),P=new be({props:{name:"user"}}),de=new be({props:{name:"thumbs-up",color:"#999"}}),pe=new be({props:{name:"thumbs-down",color:"#999"}}),ve=new be({props:{name:"corner-up-right",color:"#999"}}),we=new be({props:{name:"menu",color:"#999"}}),xe=new be({props:{name:"vertical-more"}}),Be=new be({props:{name:"bar-chart",color:"var(--sub-color)"}});let ut=e[0],gt=[];for(let t=0;tZ(gt[e],1,1,(()=>{gt[e]=null}));let dt=e[0],ft=[];for(let t=0;tZed A. Shaw \n 1 subscriber',Me=p(),He=m("button"),He.textContent="SUBSCRIBE",Ie=p(),Ee=m("content"),Ee.textContent="Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur",Pe=p(),_e=m("hr"),Oe=p(),De=m("comments"),Ge=m("nav"),We=m("span"),We.textContent="125 Comments",Ue=p(),Re=m("sort"),J(Be.$$.fragment),Ye=f(" SORT BY"),Ze=p();for(let e=0;e{"thumbnail"in e&&n(1,s=e.thumbnail)},[[1,2,3,4],s]}function qt(e,t,n){const s=e.slice();return s[2]=t[n],s}function Ft(e,t,n){const s=e.slice();return s[5]=t[n],s}function Mt(t){let n,s,a,l;return{c(){n=m("figure"),s=m("img"),l=p(),$(s,"alt","Stock photo"),s.src!==(a=Ne(82,82))&&$(s,"src",a)},m(e,t){c(e,n,t),i(n,s),i(n,l)},p:e,d(e){e&&u(n)}}}function Ht(t){let n,s,a,l;return{c(){n=m("figure"),s=m("img"),l=p(),$(s,"alt","Stock photo"),s.src!==(a=Ne(300,300))&&$(s,"src",a)},m(e,t){c(e,n,t),i(n,s),i(n,l)},p:e,d(e){e&&u(n)}}}function It(e){let t,n,s,a,l,r,o,d,h,v,b,w,y,x,k,S,j,C,T,z,L,A,q,F,M,H,I,E,P,_,N,O,D,G,W,U,R,B,V,X,ee,te,ne;l=new be({props:{name:"instagram",color:"var(--color-text)"}});let se=e[1],ae=[];for(let t=0;t \n
  • Sign Up
  • ',b=p(),w=m("profile"),y=m("figure"),x=m("img"),S=p(),j=m("info"),j.innerHTML='

    zedshaw

    \n\n

    280 posts 4,695 followers 1,778 following

    \n\n

    Zed A. Shaw

    \n

    Painter in oil, watercolor, and pastel. I’m doing live streams of little paintings on Twitch:
    \n www.twitch.tv/zedashaw

    ',C=p(),T=m("pins");for(let e=0;eVincent van Gogh \n

    Collection by A Person

    \n

    420 Pins • 3.59k Followers

    \n

    "I dream my painting and I paint my dream." ~ Vincent van Gogh

    ',s=p(),a=m("figure"),l=m("img"),o=p(),d=m("pins");for(let e=0;e \n
  • ',k=p(),T&&T.c(),S=p(),J(j.$$.fragment),$(l,"class","svelte-8rhjm4"),$(d,"class","svelte-8rhjm4"),$(v,"class","svelte-8rhjm4"),$(a,"class","svelte-8rhjm4"),$(w,"placeholder","Search"),$(w,"class","svelte-8rhjm4"),$(x,"class","svelte-8rhjm4"),$(s,"class","svelte-8rhjm4"),$(n,"class","svelte-8rhjm4"),$(t,"class","svelte-8rhjm4")},m(e,u){c(e,t,u),i(t,n),i(n,s),i(s,a),i(a,l),K(r,l,null),i(l,o),i(a,g),i(a,d),i(a,h),i(a,v),i(s,b),i(s,w),i(s,y),i(s,x),i(t,k),T&&T.m(t,null),c(e,S,u),K(j,e,u),C=!0},p(e,[n]){e[0]?T&&(T.d(1),T=null):T?T.p(e,n):(T=Nt(e),T.c(),T.m(t,null))},i(e){C||(Y(r.$$.fragment,e),Y(j.$$.fragment,e),C=!0)},o(e){Z(r.$$.fragment,e),Z(j.$$.fragment,e),C=!1},d(e){e&&u(t),Q(r),T&&T.d(),e&&u(S),Q(j,e)}}}function Wt(e,t,n){let{thumbnail:s=!1}=t;const a=e=>{let t=Math.ceil(0),n=Math.floor(e.length);return e[Math.floor(Math.random()*(n-t)+t)]};return e.$$set=e=>{"thumbnail"in e&&n(0,s=e.thumbnail)},[s,[1,2,3,4,5],[240,180,250,580],(e,t)=>{let n=[];for(let s=0;sLog In',C=p(),T=m("li"),T.innerHTML='Sign Up',z=p(),L=m("profile"),A=m("figure"),q=m("img"),M=p(),H=m("info"),H.innerHTML='

    \n\n

    10 videos 4,695 followers

    \n\n

    Drawing Level 1

    \n

    The first module you should take. It covers the basics of drawing and how to get started\n making drawing a habit.

    ',I=p(),E=m("related");for(let e=0;eZ(De[e],1,1,(()=>{De[e]=null}));return Ie=new Xe({props:{source:"/code/XorAcademyWatch"}}),{c(){t=m("content"),n=m("header"),s=m("nav"),l=m("b"),r=m("a"),J(d.$$.fragment),h=f(" Xor.Academy"),w=p(),y=m("input"),x=p(),k=m("ul"),S=m("li"),j=m("a"),j.innerHTML='',T=p(),z=m("li"),z.innerHTML='Sign Up',L=p(),A=m("main"),q=m("figure"),F=m("img"),H=p(),I=m("figcaption"),E=m("a"),E.textContent="#tag",P=p(),_=m("a"),_.textContent="#anothertag",N=p(),O=m("p"),O.textContent="Title And Stuff",D=p(),G=m("video-actions"),W=m("likes"),W.textContent="Likes Other Stats",U=p(),V=m("video-buttons"),J(X.$$.fragment),ee=f(" 1.1K\n "),J(te.$$.fragment),ne=f(" 22\n "),J(se.$$.fragment),ae=f(" SHARE\n "),J(le.$$.fragment),re=f(" SAVE\n "),J(oe.$$.fragment),ie=p(),ce=m("lower"),ue=m("promotion"),ge=m("nav"),de=m("card"),fe=m("img"),he=p(),ve=m("info"),ve.innerHTML='

    Zed A. Shaw

    \n 1 subscriber',$e=p(),we=m("button"),we.textContent="SUBSCRIBE",ye=p(),xe=m("content"),xe.textContent="Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur",ke=p(),Se=m("hr"),je=p(),Ce=m("comments"),Te=m("nav"),ze=m("span"),ze.textContent="125 Comments",Le=p(),Ae=m("sort"),J(qe.$$.fragment),Fe=f(" SORT BY"),Me=p();for(let e=0;e \n
    Login
    \n \n \n \n \n
    \n
    \n ',s=p(),J(a.$$.fragment),$(n,"class","svelte-t7gl8c")},m(e,t){c(e,n,t),c(e,s,t),K(a,e,t),l=!0},p:e,i(e){l||(Y(a.$$.fragment,e),l=!0)},o(e){Z(a.$$.fragment,e),l=!1},d(e){e&&u(n),e&&u(s),Q(a,e)}}}function tn(t){let n,s,a,l,r,o,g,d,f,h,v,b,w,y,x,k,S;return v=new be({props:{name:"check-circle",color:"var(--color-bg)",size:"24"}}),y=new be({props:{name:"x-circle",color:"var(--color-bg)",size:"24"}}),k=new Xe({props:{source:"/code/Tiles",notes:"/cdoe/Tiles.notes.html"}}),{c(){n=m("content"),s=m("tile"),a=m("left"),l=m("img"),o=p(),g=m("middle"),g.innerHTML='

    Tile Example

    \n

    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

    ',d=p(),f=m("right"),h=m("button"),J(v.$$.fragment),b=p(),w=m("button"),J(y.$$.fragment),x=p(),J(k.$$.fragment),l.src!==(r=Ne(48,48))&&$(l,"src",r),$(g,"class","svelte-fwzpwr"),$(h,"class","svelte-fwzpwr"),$(w,"class","svelte-fwzpwr"),$(f,"class","svelte-fwzpwr"),$(s,"class","svelte-fwzpwr"),$(n,"class","svelte-fwzpwr")},m(e,t){c(e,n,t),i(n,s),i(s,a),i(a,l),i(s,o),i(s,g),i(s,d),i(s,f),i(f,h),K(v,h,null),i(f,b),i(f,w),K(y,w,null),c(e,x,t),K(k,e,t),S=!0},p:e,i(e){S||(Y(v.$$.fragment,e),Y(y.$$.fragment,e),Y(k.$$.fragment,e),S=!0)},o(e){Z(v.$$.fragment,e),Z(y.$$.fragment,e),Z(k.$$.fragment,e),S=!1},d(e){e&&u(n),Q(v),Q(y),e&&u(x),Q(k,e)}}}function nn(t){let n,s,a,l,r,o,g,d,f,h,v,b,w,y,x,k,S;return v=new be({props:{name:"check-circle",color:"var(--color-bg)",size:"24"}}),y=new be({props:{name:"x-circle",color:"var(--color-bg)",size:"24"}}),k=new Xe({props:{source:"/code/Cards",notes:"/code/Cards.notes.html"}}),{c(){n=m("content"),s=m("card"),a=m("top"),l=m("img"),o=p(),g=m("middle"),g.innerHTML='

    Card Example

    \n

    Lorem ipsum dolor sit amet, consectetur\n adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

    ',d=p(),f=m("bottom"),h=m("button"),J(v.$$.fragment),b=p(),w=m("button"),J(y.$$.fragment),x=p(),J(k.$$.fragment),l.src!==(r=Ne(480,270))&&$(l,"src",r),$(l,"class","svelte-12f1gxf"),$(g,"class","svelte-12f1gxf"),$(h,"class","svelte-12f1gxf"),$(w,"class","svelte-12f1gxf"),$(f,"class","svelte-12f1gxf"),$(s,"class","svelte-12f1gxf"),$(n,"class","svelte-12f1gxf")},m(e,t){c(e,n,t),i(n,s),i(s,a),i(a,l),i(s,o),i(s,g),i(s,d),i(s,f),i(f,h),K(v,h,null),i(f,b),i(f,w),K(y,w,null),c(e,x,t),K(k,e,t),S=!0},p:e,i(e){S||(Y(v.$$.fragment,e),Y(y.$$.fragment,e),Y(k.$$.fragment,e),S=!0)},o(e){Z(v.$$.fragment,e),Z(y.$$.fragment,e),Z(k.$$.fragment,e),S=!1},d(e){e&&u(n),Q(v),Q(y),e&&u(x),Q(k,e)}}}function sn(t){let n,s,a,l,r,o,g,d,h,v,b,w,y,x,k,S,j;return h=new be({props:{name:"x-circle",color:"var(--color-text)",size:"24"}}),y=new be({props:{name:"check-circle",color:"var(--color-bg)",size:"24"}}),S=new Xe({props:{source:"/code/Panels",notes:"/code/Panels.notes.html"}}),{c(){n=m("content"),s=m("panel"),a=m("top"),a.innerHTML="

    Panel is a Card

    ",l=p(),r=m("middle"),r.innerHTML="

    Panel Example

    \n

    Not sure what the big deal is with the difference between panels and cards\n but I'm doing all the things so here's a panel. Let's say, buttons on a panel\n are different to demonstrate how to make a button strip.

    ",o=p(),g=m("bottom"),d=m("button"),J(h.$$.fragment),v=f(" CANCEL"),b=p(),w=m("button"),J(y.$$.fragment),x=f(" OK"),k=p(),J(S.$$.fragment),$(a,"class","svelte-1lajyim"),$(r,"class","svelte-1lajyim"),$(d,"id","cancel"),$(d,"class","svelte-1lajyim"),$(w,"class","svelte-1lajyim"),$(g,"class","svelte-1lajyim"),$(s,"class","svelte-1lajyim"),$(n,"class","svelte-1lajyim")},m(e,t){c(e,n,t),i(n,s),i(s,a),i(s,l),i(s,r),i(s,o),i(s,g),i(g,d),K(h,d,null),i(d,v),i(g,b),i(g,w),K(y,w,null),i(w,x),c(e,k,t),K(S,e,t),j=!0},p:e,i(e){j||(Y(h.$$.fragment,e),Y(y.$$.fragment,e),Y(S.$$.fragment,e),j=!0)},o(e){Z(h.$$.fragment,e),Z(y.$$.fragment,e),Z(S.$$.fragment,e),j=!1},d(e){e&&u(n),Q(h),Q(y),e&&u(k),Q(S,e)}}}function an(t){let n,s,a;return{c(){n=m("modal"),n.innerHTML='

    This Is A Modal

    \n

    Designers love modals. Click anywhere to close this.

    ',$(n,"class","svelte-cwnhgy")},m(e,l){c(e,n,l),s||(a=v(n,"click",t[2]),s=!0)},p:e,d(e){e&&u(n),s=!1,a()}}}function ln(e){let t,n,s,a,l,r,o,g,d=e[0]&&an(e);return l=new Xe({props:{source:"/code/Modal"}}),{c(){t=m("content"),n=m("button"),n.textContent="Click Me!",s=p(),d&&d.c(),a=p(),J(l.$$.fragment),$(n,"class","svelte-cwnhgy"),$(t,"class","svelte-cwnhgy")},m(u,m){c(u,t,m),i(t,n),c(u,s,m),d&&d.m(u,m),c(u,a,m),K(l,u,m),r=!0,o||(g=v(n,"click",e[1]),o=!0)},p(e,[t]){e[0]?d?d.p(e,t):(d=an(e),d.c(),d.m(a.parentNode,a)):d&&(d.d(1),d=null)},i(e){r||(Y(l.$$.fragment,e),r=!0)},o(e){Z(l.$$.fragment,e),r=!1},d(e){e&&u(t),e&&u(s),d&&d.d(e),e&&u(a),Q(l,e),o=!1,g()}}}function rn(e,t,n){let{visible:s=!1}=t;return e.$$set=e=>{"visible"in e&&n(0,s=e.visible)},[s,()=>n(0,s=!0),()=>n(0,s=!1)]}function on(t){let n,s,a,l,r,o,g,d,h,v,w,y,x,k,S,j,C,T,z,L,A,q,F;return r=new be({props:{name:"trash",color:"var(--color-text)"}}),S=new be({props:{name:"trash",color:"var(--color-text)"}}),q=new Xe({props:{source:"/code/NavBar"}}),{c(){n=m("content"),s=m("nav-bar"),a=m("left"),l=m("b"),J(r.$$.fragment),o=f(" fsck CSS"),g=p(),d=m("middle"),d.innerHTML='',h=p(),v=m("right"),v.innerHTML=" \n Sign Up",w=p(),y=m("nav-bar"),x=m("left"),k=m("b"),J(S.$$.fragment),j=f(" fsck CSS"),C=p(),T=m("middle"),z=p(),L=m("right"),L.innerHTML=' \n ',A=p(),J(q.$$.fragment),$(d,"class","svelte-1ofkzoq"),b(s,"class","svelte-1ofkzoq"),$(T,"class","svelte-1ofkzoq"),b(y,"class","alternate svelte-1ofkzoq"),$(n,"class","svelte-1ofkzoq")},m(e,t){c(e,n,t),i(n,s),i(s,a),i(a,l),K(r,l,null),i(l,o),i(s,g),i(s,d),i(s,h),i(s,v),i(n,w),i(n,y),i(y,x),i(x,k),K(S,k,null),i(k,j),i(y,C),i(y,T),i(y,z),i(y,L),c(e,A,t),K(q,e,t),F=!0},p:e,i(e){F||(Y(r.$$.fragment,e),Y(S.$$.fragment,e),Y(q.$$.fragment,e),F=!0)},o(e){Z(r.$$.fragment,e),Z(S.$$.fragment,e),Z(q.$$.fragment,e),F=!1},d(e){e&&u(n),Q(r),Q(S),e&&u(A),Q(q,e)}}}function cn(e,t,n){const s=e.slice();return s[3]=t[n],s[5]=n,s}function un(e,t,n){const s=e.slice();return s[3]=t[n],s[5]=n,s}function gn(e){let t,n,s,a,l=e[3].title+"";function r(){return e[2](e[5])}return{c(){t=m("a"),n=f(l),$(t,"class","svelte-j1ijok"),x(t,"active",e[3].active)},m(e,l){c(e,t,l),i(t,n),s||(a=v(t,"click",r),s=!0)},p(s,a){e=s,1&a&&l!==(l=e[3].title+"")&&y(n,l),1&a&&x(t,"active",e[3].active)},d(e){e&&u(t),s=!1,a()}}}function mn(e){let t,n,s,a,l,r,o=e[3].title+"";return{c(){t=m("panel"),n=m("h1"),s=f(o),a=p(),l=m("p"),l.textContent="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim\n veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea\n commodo consequat. Duis aute irure dolor in reprehenderit in voluptate\n velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat\n cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est\n laborum.",r=p(),$(t,"class","svelte-j1ijok"),x(t,"active",e[3].active)},m(e,o){c(e,t,o),i(t,n),i(n,s),i(t,a),i(t,l),i(t,r)},p(e,n){1&n&&o!==(o=e[3].title+"")&&y(s,o),1&n&&x(t,"active",e[3].active)},d(e){e&&u(t)}}}function dn(e){let t,n,s,a,l,r,o,d,f,h,v,b,w,y=e[0],x=[];for(let t=0;tTab1 \n Tab2 \n Tab3',l=p(),r=m("h2"),r.textContent="Interactive Demo",o=p(),d=m("tabs");for(let e=0;e{s.forEach(((t,n)=>t.active=e==n)),n(0,s)};return[s,a,e=>a(e)]}function pn(e,t,n){const s=e.slice();return s[1]=t[n],s}function hn(t){let n,s,a=t[1]+"";return{c(){n=m("date"),s=f(a),$(n,"class","svelte-1gt8gt4")},m(e,t){c(e,n,t),i(n,s)},p:e,d(e){e&&u(n)}}}function vn(e){let t,n,s,a,l,r,o,d,f,h,v,b,w,y,x,k=e[0](),S=[];for(let t=0;t{let e=[];for(let t=0;t<31;t++)e.push(t);return e}]}function bn(t){let n,s,a,l;return a=new Xe({props:{source:"/code/GridOverGraphic",notes:"/code/GridOverGraphic.notes.html"}}),{c(){n=m("content"),n.innerHTML='

    Grid Over Graphic

    \n\n \n\n

    Do You Like Icecream?

    \n

    This square is placed over this image using a\n CSS Grid.

    \n

    Icecream Rules

    \n

    Sometimes you want to put a graphic behind some creatively\n organize text and panels. You can do that with CSS grids.

    \n

    Bottom Left

    \n

    I don't know why I put that sphere there.

    ',s=p(),J(a.$$.fragment),$(n,"class","svelte-1c5ml3s")},m(e,t){c(e,n,t),c(e,s,t),K(a,e,t),l=!0},p:e,i(e){l||(Y(a.$$.fragment,e),l=!0)},o(e){Z(a.$$.fragment,e),l=!1},d(e){e&&u(n),e&&u(s),Q(a,e)}}}var wn={"/":class extends te{constructor(e){super(),ee(this,e,null,we,r,{})}},"/demos":class extends te{constructor(e){super(),ee(this,e,ht,pt,r,{})}},"/demos/login":class extends te{constructor(e){super(),ee(this,e,null,en,r,{})}},"/demos/tiles":class extends te{constructor(e){super(),ee(this,e,null,tn,r,{})}},"/demos/modal":class extends te{constructor(e){super(),ee(this,e,rn,ln,r,{visible:0})}},"/demos/cards":class extends te{constructor(e){super(),ee(this,e,null,nn,r,{})}},"/demos/panels":class extends te{constructor(e){super(),ee(this,e,null,sn,r,{})}},"/demos/google":class extends te{constructor(e){super(),ee(this,e,null,$t,r,{})}},"/demos/twitter":class extends te{constructor(e){super(),ee(this,e,xt,yt,r,{})}},"/demos/youtube":class extends te{constructor(e){super(),ee(this,e,At,Lt,r,{thumbnail:1})}},"/demos/instagram":class extends te{constructor(e){super(),ee(this,e,Et,It,r,{})}},"/demos/pinterest":class extends te{constructor(e){super(),ee(this,e,Wt,Gt,r,{thumbnail:0})}},"/demos/navbar":class extends te{constructor(e){super(),ee(this,e,null,on,r,{})}},"/demos/tabs":class extends te{constructor(e){super(),ee(this,e,fn,dn,r,{})}},"/demos/calendar":class extends te{constructor(e){super(),ee(this,e,$n,vn,r,{})}},"/demos/gridovergraphic":class extends te{constructor(e){super(),ee(this,e,null,bn,r,{})}},"/demos/xoracademy":class extends te{constructor(e){super(),ee(this,e,Vt,Zt,r,{})}},"/demos/xoracademy/watch":class extends te{constructor(e){super(),ee(this,e,Qt,Kt,r,{})}},"*":class extends te{constructor(e){super(),ee(this,e,null,vt,r,{})}}};function yn(t){let n,s,a,l,r;return s=new be({props:{name:"sunset",size:"32"}}),{c(){n=m("span"),J(s.$$.fragment)},m(e,o){c(e,n,o),K(s,n,null),a=!0,l||(r=v(n,"click",t[3]),l=!0)},p:e,i(e){a||(Y(s.$$.fragment,e),a=!0)},o(e){Z(s.$$.fragment,e),a=!1},d(e){e&&u(n),Q(s),l=!1,r()}}}function xn(t){let n,s,a,l,r;return s=new be({props:{name:"sunrise",size:"32"}}),{c(){n=m("span"),J(s.$$.fragment)},m(e,o){c(e,n,o),K(s,n,null),a=!0,l||(r=v(n,"click",t[2]),l=!0)},p:e,i(e){a||(Y(s.$$.fragment,e),a=!0)},o(e){Z(s.$$.fragment,e),a=!1},d(e){e&&u(n),Q(s),l=!1,r()}}}function kn(e){let t,n,s,a;const l=[xn,yn],r=[];function o(e,t){return"dark"==e[0]?0:1}return t=o(e),n=r[t]=l[t](e),{c(){n.c(),s=h()},m(e,n){r[t].m(e,n),c(e,s,n),a=!0},p(e,[a]){let i=t;t=o(e),t===i?r[t].p(e,a):(R(),Z(r[i],1,1,(()=>{r[i]=null})),B(),n=r[t],n?n.p(e,a):(n=r[t]=l[t](e),n.c()),Y(n,1),n.m(s.parentNode,s))},i(e){a||(Y(n),a=!0)},o(e){Z(n),a=!1},d(e){r[t].d(e),e&&u(s)}}}function Sn(e,t,n){let{theme:s=(localStorage.getItem("theme")?localStorage.getItem("theme"):"light")}=t;const a=()=>{document.documentElement.setAttribute("data-theme",s),localStorage.setItem("theme",s)},l=()=>{n(0,s="light"==s?"dark":"light"),a()};T((()=>{a()}));return e.$$set=e=>{"theme"in e&&n(0,s=e.theme)},[s,l,()=>l(),()=>l()]}class jn extends te{constructor(e){super(),ee(this,e,Sn,kn,r,{theme:0})}}function Cn(t){let n,s,l,r,g,d,f,h,v,b,w,y,x,k,S,j,C,T,z,L,A,q,F,M,H,I,E,P,_,N,O,D,G,W,U;return r=new be({props:{name:"trash-2",size:"64"}}),x=new he({props:{routes:wn,restoreScrollState:!0}}),H=new be({props:{name:"twitter",size:"32"}}),_=new be({props:{name:"instagram",size:"32"}}),D=new jn({}),{c(){n=m("header"),s=m("nav"),l=m("a"),J(r.$$.fragment),d=p(),f=m("ul"),h=m("li"),v=m("a"),v.textContent="Demos",w=p(),y=m("main"),J(x.$$.fragment),k=p(),S=m("hr"),j=p(),C=m("footer"),T=m("nav"),z=m("a"),z.innerHTML="

    Copyright (C) Zed A. Shaw. All rights reserved.

    ",A=p(),q=m("ul"),F=m("li"),M=m("a"),J(H.$$.fragment),I=p(),E=m("li"),P=m("a"),J(_.$$.fragment),N=p(),O=m("li"),J(D.$$.fragment),$(l,"href","/"),$(v,"href","/demos"),$(n,"class","svelte-khlxmc"),$(y,"class","svelte-khlxmc"),$(z,"href","/"),$(M,"href","https://twitter.com/lzsthw"),$(P,"href","https://instagram.com/zedshaw"),$(T,"class","svelte-khlxmc"),$(C,"class","svelte-khlxmc")},m(e,t){c(e,n,t),i(n,s),i(s,l),K(r,l,null),i(s,d),i(s,f),i(f,h),i(h,v),c(e,w,t),c(e,y,t),K(x,y,null),c(e,k,t),c(e,S,t),c(e,j,t),c(e,C,t),i(C,T),i(T,z),i(T,A),i(T,q),i(q,F),i(F,M),K(H,M,null),i(q,I),i(q,E),i(E,P),K(_,P,null),i(q,N),i(q,O),K(D,O,null),G=!0,W||(U=[o(g=me.call(null,l)),o(b=me.call(null,v)),o(L=me.call(null,z))],W=!0)},p:e,i(e){G||(Y(r.$$.fragment,e),Y(x.$$.fragment,e),Y(H.$$.fragment,e),Y(_.$$.fragment,e),Y(D.$$.fragment,e),G=!0)},o(e){Z(r.$$.fragment,e),Z(x.$$.fragment,e),Z(H.$$.fragment,e),Z(_.$$.fragment,e),Z(D.$$.fragment,e),G=!1},d(e){e&&u(n),Q(r),e&&u(w),e&&u(y),Q(x),e&&u(k),e&&u(S),e&&u(j),e&&u(C),Q(H),Q(_),Q(D),W=!1,a(U)}}}return new class extends te{constructor(e){super(),ee(this,e,null,Cn,r,{})}}({target:document.body,props:{name:"world"}})}(); //# sourceMappingURL=bundle.js.map