├── .gitignore
├── .npmrc
├── .prettierignore
├── .prettierrc
├── LICENSE
├── Makefile
├── README.md
├── docs
├── .nojekyll
├── __data.json
├── _app
│ ├── env.js
│ ├── immutable
│ │ ├── assets
│ │ │ ├── 0.Dv8x_4Cz.css
│ │ │ ├── 2.BaN8YEm5.css
│ │ │ ├── 3.CO4jlTh2.css
│ │ │ ├── 4.BosP74pi.css
│ │ │ ├── 5.B-mGqUsL.css
│ │ │ ├── _layout.oDFnYxWp.css
│ │ │ ├── _page.B-mGqUsL.css
│ │ │ ├── _page.BaN8YEm5.css
│ │ │ ├── _page.BbtFu9-w.css
│ │ │ └── _page.BosP74pi.css
│ │ ├── chunks
│ │ │ ├── -0kCmqra.js
│ │ │ ├── B7mm1rr4.js
│ │ │ ├── BASgGI1b.js
│ │ │ ├── CMUBZgSg.js
│ │ │ ├── CWT9bnGQ.js
│ │ │ ├── CWj6FrbW.js
│ │ │ ├── CY5piJI4.js
│ │ │ ├── CZjA61F2.js
│ │ │ ├── Cdd2vc2j.js
│ │ │ ├── CkxHW-tX.js
│ │ │ ├── D6iY2F4E.js
│ │ │ ├── DfLy1BuI.js
│ │ │ ├── DnXbvXxH.js
│ │ │ └── DpoC0QzE.js
│ │ ├── entry
│ │ │ ├── app.ytM75Wwz.js
│ │ │ └── start.3zWGZb7n.js
│ │ └── nodes
│ │ │ ├── 0.ihsB691z.js
│ │ │ ├── 1.Qh7DPxM0.js
│ │ │ ├── 2.lXA7VpVS.js
│ │ │ ├── 3.BremIw8B.js
│ │ │ ├── 4.C9nE09uB.js
│ │ │ ├── 5.Bozl_rDw.js
│ │ │ └── 6.DUcV82Gi.js
│ └── version.json
├── assets
│ ├── branding
│ │ ├── cloud.jpg
│ │ ├── donate.jpg
│ │ └── subscribe.png
│ └── demo
│ │ ├── fonts
│ │ ├── atkinson.css
│ │ ├── atlas-typewriter.css
│ │ ├── atlas.css
│ │ ├── baloo-bhai.css
│ │ ├── canela.css
│ │ ├── computer-modern.css
│ │ ├── cozette.css
│ │ ├── inconsolata.css
│ │ ├── inter.css
│ │ ├── jamboree.css
│ │ ├── jersey.css
│ │ ├── lyon.css
│ │ ├── metropolis.css
│ │ ├── national.css
│ │ ├── publico.css
│ │ ├── recoleta.css
│ │ ├── rubik.css
│ │ ├── spacemono.css
│ │ └── tiempos.css
│ │ ├── test.csv
│ │ └── test.jpg
├── demo
│ ├── elements
│ │ └── index.html
│ ├── fonts
│ │ └── index.html
│ ├── ig-story
│ │ └── index.html
│ └── index.html
├── favicon.ico
└── index.html
├── google.config.js
├── jsconfig.json
├── package-lock.json
├── package.json
├── pnpm-lock.yaml
├── properties
├── category.json
├── color.json
└── font-size.json
├── src
├── actions
│ ├── canTab.js
│ ├── checkOverlap.js
│ ├── focusTrap.js
│ ├── inView.js
│ ├── keepWithinBox.js
│ └── resize.js
├── app.html
├── components
│ ├── Footer.Story.svelte
│ ├── Footer.svelte
│ ├── FooterDeprecated.svelte
│ ├── Header.svelte
│ ├── Index.svelte
│ ├── Meta.svelte
│ ├── demo
│ │ ├── Demo.Elements.svelte
│ │ ├── Demo.Fonts.Sample.svelte
│ │ ├── Demo.Fonts.svelte
│ │ ├── Demo.Img.svelte
│ │ ├── Demo.Link.svelte
│ │ ├── Demo.LoadData.svelte
│ │ ├── Demo.MicroCMS.svelte
│ │ ├── Demo.MicroCMSTest.svelte
│ │ ├── Demo.Scrolly.svelte
│ │ ├── Demo.Svelte5.svelte
│ │ ├── Demo.SvelteComponent.A.svelte
│ │ ├── Demo.SvelteComponent.B.svelte
│ │ ├── Demo.SvelteComponent.svelte
│ │ ├── Demo.SvelteElement.svelte
│ │ ├── Demo.svelte
│ │ ├── demo-fonts.json
│ │ └── migrate
│ │ │ ├── Demo.ButtonSet.svelte
│ │ │ ├── Demo.Figure.svelte
│ │ │ ├── Demo.IgStory.Chapters.svelte
│ │ │ ├── Demo.IgStory.Figure.svelte
│ │ │ ├── Demo.IgStory.svelte
│ │ │ ├── Demo.LayerCake.svelte
│ │ │ ├── Demo.Range.svelte
│ │ │ ├── Demo.Select.svelte
│ │ │ ├── Demo.Slider.svelte
│ │ │ ├── Demo.SortTable.svelte
│ │ │ ├── Demo.Tip.svelte
│ │ │ ├── Demo.Toggle.svelte
│ │ │ └── demo-layercake.csv
│ ├── figure
│ │ └── migrate
│ │ │ ├── Figure.MapCanvas.svelte
│ │ │ ├── Figure.MapLabels.svelte
│ │ │ ├── Figure.MapPath.svelte
│ │ │ ├── Figure.MapPoints.svelte
│ │ │ ├── Figure.MapSvg.svelte
│ │ │ ├── Figure.Template.svelte
│ │ │ ├── Figure.Tooltip.svelte
│ │ │ └── Figure.svelte
│ ├── helpers
│ │ ├── CMS.svelte
│ │ ├── Scrolly.svelte
│ │ └── migrate
│ │ │ ├── ShareLink.svelte
│ │ │ ├── Slider.Slide.svelte
│ │ │ ├── Slider.svelte
│ │ │ ├── SortTable.svelte
│ │ │ ├── Tap.svelte
│ │ │ ├── Tip.svelte
│ │ │ └── Toggle.svelte
│ └── layercake
│ │ ├── future
│ │ ├── Beeswarm.html.svelte
│ │ ├── Beeswarm.svg.svelte
│ │ ├── BeeswarmForce.html.svelte
│ │ ├── BeeswarmForce.svelte
│ │ ├── CirclePack.html.svelte
│ │ ├── ClevelandDotPlot.svelte
│ │ ├── Map.canvas.svelte
│ │ ├── Map.svg.svelte
│ │ ├── MapLabels.html.svelte
│ │ ├── MapLabels.svg.svelte
│ │ ├── MapPoints.canvas.svelte
│ │ ├── MapPoints.html.svelte
│ │ ├── MapPoints.svelte
│ │ └── MultiLine.svelte
│ │ └── migrate
│ │ ├── Area.svelte
│ │ ├── AxisX.html.svelte
│ │ ├── AxisX.svg.svelte
│ │ ├── AxisY.html.svelte
│ │ ├── AxisY.svg.svelte
│ │ ├── Bar.svelte
│ │ ├── Column.svelte
│ │ ├── ColumnStacked.svelte
│ │ ├── Line.svelte
│ │ ├── Scatter.canvas.svelte
│ │ ├── Scatter.html.svelte
│ │ ├── Scatter.svg.svelte
│ │ ├── Tooltip.html.svelte
│ │ └── Voronoi.svelte
├── data
│ ├── copy.json
│ ├── test.csv
│ └── variables.json
├── routes
│ ├── +error.svelte
│ ├── +layout.js
│ ├── +layout.svelte
│ ├── +page.server.js
│ ├── +page.svelte
│ └── demo
│ │ ├── +page.svelte
│ │ ├── elements
│ │ └── +page.svelte
│ │ ├── fonts
│ │ └── +page.svelte
│ │ └── ig-story
│ │ └── +page.svelte
├── runes
│ ├── misc.svelte.js
│ ├── useClipboard.svelte.js
│ ├── useFetcher.svelte.js
│ ├── useWindowDimensions.svelte.js
│ └── useWindowFocus.svelte.js
├── styles
│ ├── app.css
│ ├── font.css
│ ├── normalize.css
│ ├── reset.css
│ └── variables.css
├── svg
│ ├── arrow-footer.svg
│ ├── arrow-up-right.svg
│ ├── logo-black.svg
│ ├── logo-white.svg
│ ├── play.svg
│ ├── wordmark-bubble.svg
│ ├── wordmark-line.svg
│ ├── wordmark-plain.svg
│ ├── wordmark-shadow.svg
│ └── wordmark-sticker.svg
└── utils
│ ├── checkScrollDir.js
│ ├── csvDownload.js
│ ├── generateId.js
│ ├── loadCsv.js
│ ├── loadImage.js
│ ├── loadJson.js
│ ├── loadPixels.js
│ ├── localStorage.js
│ ├── locate.js
│ ├── mapToArray.js
│ ├── transformSvg.js
│ ├── translate.js
│ ├── urlParams.js
│ └── version.js
├── static
├── assets
│ ├── branding
│ │ ├── cloud.jpg
│ │ ├── donate.jpg
│ │ └── subscribe.png
│ └── demo
│ │ ├── fonts
│ │ ├── atkinson.css
│ │ ├── atlas-typewriter.css
│ │ ├── atlas.css
│ │ ├── baloo-bhai.css
│ │ ├── canela.css
│ │ ├── computer-modern.css
│ │ ├── cozette.css
│ │ ├── inconsolata.css
│ │ ├── inter.css
│ │ ├── jamboree.css
│ │ ├── jersey.css
│ │ ├── lyon.css
│ │ ├── metropolis.css
│ │ ├── national.css
│ │ ├── publico.css
│ │ ├── recoleta.css
│ │ ├── rubik.css
│ │ ├── spacemono.css
│ │ └── tiempos.css
│ │ ├── test.csv
│ │ └── test.jpg
└── favicon.ico
├── svelte.config.js
├── tasks
├── fetch-google.js
└── style-dictionary.js
├── tsconfig.json
└── vite.config.js
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | .svelte
4 | .svelte-kit
5 | build
6 | functions
7 | .env
--------------------------------------------------------------------------------
/.npmrc:
--------------------------------------------------------------------------------
1 | engine-strict=true
2 |
--------------------------------------------------------------------------------
/.prettierignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | /build
4 | /.svelte-kit
5 | /package
6 | /static
7 | .env
8 | .env.*
9 | !.env.example
10 |
11 | # Ignore files for PNPM, NPM and YARN
12 | pnpm-lock.yaml
13 | package-lock.json
14 | yarn.lock
--------------------------------------------------------------------------------
/.prettierrc:
--------------------------------------------------------------------------------
1 | {
2 | "useTabs": true,
3 | "trailingComma": "none",
4 | "printWidth": 80,
5 | "svelteSortOrder": "options-scripts-markup-styles",
6 | "plugins": ["prettier-plugin-svelte"],
7 | "overrides": [
8 | {
9 | "files": "*.svelte",
10 | "options": {
11 | "parser": "svelte"
12 | }
13 | }
14 | ]
15 | }
16 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2022 The Pudding
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
--------------------------------------------------------------------------------
/Makefile:
--------------------------------------------------------------------------------
1 | PHONY: github pudding
2 |
3 | github:
4 | rm -rf docs
5 | cp -r build docs
6 | touch docs/.nojekyll
7 | git add -A
8 | git commit -m "update github pages"
9 | git push
10 |
11 | protect:
12 | cd build && npx staticrypt --short index.html -p $(shell grep PASSWORD .env | cut -d '=' -f2) -d .
13 |
14 | staging:
15 | npm run build
16 | make github
17 |
18 | production:
19 | npm run build
20 | make pudding
21 |
22 | # aws-sync:
23 | # aws s3 sync build s3://pudding.cool/year/month/name --delete --cache-control 'max-age=31536000'
24 |
25 | # aws-cache:
26 | # aws cloudfront create-invalidation --distribution-id E13X38CRR4E04D --paths '/year/month/name*'
27 |
28 | # pudding: aws-sync aws-cache
--------------------------------------------------------------------------------
/docs/.nojekyll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/the-pudding/svelte-starter/af709d4ad57db15c10650a09accf8d5d4d2e23ac/docs/.nojekyll
--------------------------------------------------------------------------------
/docs/__data.json:
--------------------------------------------------------------------------------
1 | {"type":"data","nodes":[null,{"type":"data","data":[{}],"uses":{}}]}
2 |
--------------------------------------------------------------------------------
/docs/_app/env.js:
--------------------------------------------------------------------------------
1 | export const env={}
--------------------------------------------------------------------------------
/docs/_app/immutable/assets/3.CO4jlTh2.css:
--------------------------------------------------------------------------------
1 | img.svelte-o47y6s{width:128px}div.svelte-o47y6s{width:128px;height:128px;background:url(../../../assets/demo/test.jpg);background-size:cover;background-position:center center}h2.svelte-12sq0x6{position:sticky;top:4em}.spacer.svelte-12sq0x6{height:75vh}.step.svelte-12sq0x6{height:80vh;background:var(--color-gray-100);text-align:center}.step.svelte-12sq0x6 p:where(.svelte-12sq0x6){padding:1rem}.people.svelte-1ltx6da{display:-webkit-box;display:flex}.person.svelte-1ltx6da{margin:8px}p.svelte-1ltx6da{margin:0}button.svelte-1ltx6da{margin-bottom:8px}#demo.svelte-m1ilu3{max-width:40rem;padding:16px;margin:0 auto}#demo section{margin:32px auto;padding-top:32px}#demo h2 span{background:var(--color-mark);padding:0 8px}
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/assets/4.BosP74pi.css:
--------------------------------------------------------------------------------
1 | .wrapper.svelte-p95kjz{padding:1rem;max-width:60rem;margin:0 auto}article.svelte-p95kjz>h2:where(.svelte-p95kjz){background:var(--color-fg);color:var(--color-bg);padding:0 16px}
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/assets/5.B-mGqUsL.css:
--------------------------------------------------------------------------------
1 | h3.svelte-15nxc8l{margin-top:0}div.svelte-15nxc8l{width:calc(25em - 4px);padding:16px;background:var(--color-input-bg);color:var(--color-input-fg);margin:2px;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-pack:justify;justify-content:space-between}details.svelte-15nxc8l{font-family:var(--mono)}summary.svelte-15nxc8l{cursor:pointer}code.svelte-15nxc8l{display:block;background:var(--color-input-fg);color:var(--color-input-bg);padding:16px;white-space:pre-wrap}#info.svelte-1lzc8ku{text-align:center}article.svelte-1lzc8ku{margin:32px auto;max-width:75em}section.svelte-1lzc8ku{display:-webkit-box;display:flex;flex-wrap:wrap;margin-bottom:64px}label.svelte-1lzc8ku{display:block;margin-bottom:8px}
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/assets/_page.B-mGqUsL.css:
--------------------------------------------------------------------------------
1 | h3.svelte-15nxc8l{margin-top:0}div.svelte-15nxc8l{width:calc(25em - 4px);padding:16px;background:var(--color-input-bg);color:var(--color-input-fg);margin:2px;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-pack:justify;justify-content:space-between}details.svelte-15nxc8l{font-family:var(--mono)}summary.svelte-15nxc8l{cursor:pointer}code.svelte-15nxc8l{display:block;background:var(--color-input-fg);color:var(--color-input-bg);padding:16px;white-space:pre-wrap}#info.svelte-1lzc8ku{text-align:center}article.svelte-1lzc8ku{margin:32px auto;max-width:75em}section.svelte-1lzc8ku{display:-webkit-box;display:flex;flex-wrap:wrap;margin-bottom:64px}label.svelte-1lzc8ku{display:block;margin-bottom:8px}
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/assets/_page.BbtFu9-w.css:
--------------------------------------------------------------------------------
1 | img.svelte-o47y6s{width:128px}div.svelte-o47y6s{width:128px;height:128px;background:url(/assets/demo/test.jpg);background-size:cover;background-position:center center}h2.svelte-12sq0x6{position:sticky;top:4em}.spacer.svelte-12sq0x6{height:75vh}.step.svelte-12sq0x6{height:80vh;background:var(--color-gray-100);text-align:center}.step.svelte-12sq0x6 p:where(.svelte-12sq0x6){padding:1rem}.people.svelte-1ltx6da{display:-webkit-box;display:flex}.person.svelte-1ltx6da{margin:8px}p.svelte-1ltx6da{margin:0}button.svelte-1ltx6da{margin-bottom:8px}#demo.svelte-m1ilu3{max-width:40rem;padding:16px;margin:0 auto}#demo section{margin:32px auto;padding-top:32px}#demo h2 span{background:var(--color-mark);padding:0 8px}
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/assets/_page.BosP74pi.css:
--------------------------------------------------------------------------------
1 | .wrapper.svelte-p95kjz{padding:1rem;max-width:60rem;margin:0 auto}article.svelte-p95kjz>h2:where(.svelte-p95kjz){background:var(--color-fg);color:var(--color-bg);padding:0 16px}
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/chunks/B7mm1rr4.js:
--------------------------------------------------------------------------------
1 | import{s as c,g as l}from"./DfLy1BuI.js";import{P as o,a5 as b,R as f,a6 as p,W as d,Y as _}from"./-0kCmqra.js";let s=!1,i=Symbol();function y(e,n,r){const u=r[n]??(r[n]={store:null,source:p(void 0),unsubscribe:f});if(u.store!==e&&!(i in r))if(u.unsubscribe(),u.store=e??null,e==null)u.source.v=void 0,u.unsubscribe=f;else{var t=!0;u.unsubscribe=c(e,a=>{t?u.source.v=a:_(u.source,a)}),t=!1}return e&&i in r?l(e):d(u.source)}function m(){const e={};function n(){o(()=>{for(var r in e)e[r].unsubscribe();b(e,i,{enumerable:!1,value:!0})})}return[e,n]}function N(e){var n=s;try{return s=!1,[e(),s]}finally{s=n}}export{y as a,N as c,m as s};
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/chunks/CWT9bnGQ.js:
--------------------------------------------------------------------------------
1 | import{l as o,u as b,j as i,k as y,m as n,n as d,o as f,p as l,q as g,v as x,w as h,x as C,y as k,z as S}from"./-0kCmqra.js";import{h as w,m as j,u as A}from"./DnXbvXxH.js";import{c as z}from"./D6iY2F4E.js";function D(){var t;return i===null&&y(),((t=i).ac??(t.ac=new AbortController)).signal}function _(t){n===null&&o(),b(()=>{const e=l(t);if(typeof e=="function")return e})}function E(t){n===null&&o(),_(()=>()=>l(t))}function M(t,e,{bubbles:s=!1,cancelable:c=!1}={}){return new CustomEvent(t,{detail:e,bubbles:s,cancelable:c})}function O(){const t=n;return t===null&&o(),(e,s,c)=>{var r;const a=(r=t.s.$$events)==null?void 0:r[e];if(a){const m=d(a)?a.slice():[a],u=M(e,s,c);for(const v of m)v.call(t.x,u);return!u.defaultPrevented}return!0}}function P(t){n===null&&o(),n.l===null&&f(),p(n).b.push(t)}function U(t){n===null&&o(),n.l===null&&f(),p(n).a.push(t)}function p(t){var e=t.l;return e.u??(e.u={a:[],b:[],m:[]})}const T=Object.freeze(Object.defineProperty({__proto__:null,afterUpdate:U,beforeUpdate:P,createEventDispatcher:O,createRawSnippet:z,flushSync:g,getAbortSignal:D,getAllContexts:x,getContext:h,hasContext:C,hydrate:w,mount:j,onDestroy:E,onMount:_,setContext:k,tick:S,unmount:A,untrack:l},Symbol.toStringTag,{value:"Module"}));export{_ as o,T as s};
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/chunks/CWj6FrbW.js:
--------------------------------------------------------------------------------
1 | const d="5";var e;typeof window<"u"&&((e=window.__svelte??(window.__svelte={})).v??(e.v=new Set)).add(d);
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/chunks/CY5piJI4.js:
--------------------------------------------------------------------------------
1 | import{O as v,h as e,a as g,Q as k,ab as o,B as Y,ac as q,ad as B,s as F,D as N,ae as R,L as I,af as A,ag as H,c as p,ah as j,ai as C,p as M,aj as P,a2 as Q}from"./-0kCmqra.js";function Z(f,t,[r,i]=[0,0]){e&&r===0&&g();var a=f,s=null,c=null,l=H,D=r>0?k:0,u=!1;const L=(T,n=!0)=>{u=!0,E(n,T)},E=(T,n)=>{if(l===(l=T))return;let b=!1;if(e&&i!==-1){if(r===0){const h=o(a);h===Y?i=0:h===q?i=1/0:(i=parseInt(h.substring(1)),i!==i&&(i=l?1/0:-1))}const O=i>r;!!l===O&&(a=B(),F(a),N(!1),b=!0,i=-1)}l?(s?R(s):n&&(s=I(()=>n(a))),c&&A(c,()=>{c=null})):(c?R(c):n&&(c=I(()=>n(a,[r+1,i]))),s&&A(s,()=>{s=null})),b&&N(!0)};v(()=>{u=!1,t(L),u||E(null,null)},D),e&&(a=p)}function w(f,t,r){e&&g();var i=f,a,s;v(()=>{a!==(a=t())&&(s&&(A(s),s=null),a&&(s=I(()=>r(i,a))))},k),e&&(i=p)}function S(f,t){return f===t||(f==null?void 0:f[Q])===t}function z(f={},t,r,i){return j(()=>{var a,s;return C(()=>{a=s,s=[],M(()=>{f!==r(...s)&&(t(f,...s),a&&S(r(...a),f)&&t(null,...a))})}),()=>{P(()=>{s&&S(r(...s),f)&&t(null,...s)})}}),f}export{z as b,w as c,Z as i};
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/chunks/CZjA61F2.js:
--------------------------------------------------------------------------------
1 | import{t as u,h as o,a as l,b as g,r as y,c as h,C as p,g as b,d as w,H as O,e as c,s as R,f as C,i as f}from"./-0kCmqra.js";function T(m,v,i=!1,_=!1,E=!1){var d=m,t="";u(()=>{var s=g;if(t===(t=v()??"")){o&&l();return}if(s.nodes_start!==null&&(y(s.nodes_start,s.nodes_end),s.nodes_start=s.nodes_end=null),t!==""){if(o){h.data;for(var e=l(),n=e;e!==null&&(e.nodeType!==p||e.data!=="");)n=e,e=b(e);if(e===null)throw w(),O;c(h,n),d=R(e);return}var r=t+"";i?r=``:_&&(r=``);var a=C(r);if((i||_)&&(a=f(a)),c(f(a),a.lastChild),i||_)for(;f(a);)d.before(f(a));else d.before(a)}})}export{T as h};
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/chunks/Cdd2vc2j.js:
--------------------------------------------------------------------------------
1 | var s;const e=((s=globalThis.__sveltekit_117h6s7)==null?void 0:s.base)??"";var a;const t=((a=globalThis.__sveltekit_117h6s7)==null?void 0:a.assets)??e;export{t as a,e as b};
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/chunks/CkxHW-tX.js:
--------------------------------------------------------------------------------
1 | import{T as P,U as A,V as y,W as v,X as L,Y as T,Z as x,_ as E,$ as R,p as B,a0 as D,a1 as Y,a2 as I,a3 as O,a4 as _}from"./-0kCmqra.js";import{c as j}from"./B7mm1rr4.js";const M={get(n,r){let t=n.props.length;for(;t--;){let e=n.props[t];if(_(e)&&(e=e()),typeof e=="object"&&e!==null&&r in e)return e[r]}},set(n,r,t){let e=n.props.length;for(;e--;){let i=n.props[e];_(i)&&(i=i());const a=P(i,r);if(a&&a.set)return a.set(t),!0}return!1},getOwnPropertyDescriptor(n,r){let t=n.props.length;for(;t--;){let e=n.props[t];if(_(e)&&(e=e()),typeof e=="object"&&e!==null&&r in e){const i=P(e,r);return i&&!i.configurable&&(i.configurable=!0),i}}},has(n,r){if(r===I||r===O)return!1;for(let t of n.props)if(_(t)&&(t=t()),t!=null&&r in t)return!0;return!1},ownKeys(n){const r=[];for(let t of n.props)if(_(t)&&(t=t()),!!t){for(const e in t)r.includes(e)||r.push(e);for(const e of Object.getOwnPropertySymbols(t))r.includes(e)||r.push(e)}return r}};function Z(...n){return new Proxy({props:n},M)}function U(n){var r;return((r=n.ctx)==null?void 0:r.d)??!1}function q(n,r,t,e){var S;var i=(t&R)!==0,a=(t&Y)!==0,c=e,d=!0,h=()=>(d&&(d=!1,c=a?B(e):e),c),u;if(i){var w=I in n||O in n;u=((S=P(n,r))==null?void 0:S.set)??(w&&r in n?s=>n[r]=s:void 0)}var o,g=!1;i?[o,g]=j(()=>n[r]):o=n[r],o===void 0&&e!==void 0&&(o=h(),u&&(A(),u(o)));var l;if(l=()=>{var s=n[r];return s===void 0?h():(d=!0,s)},(t&y)===0)return l;if(u){var m=n.$$legacy;return function(s,p){return arguments.length>0?((!p||m||g)&&u(p?l():s),s):l()}}var f=((t&D)!==0?x:E)(l);return i&&v(f),function(s,p){if(arguments.length>0){const b=p?v(f):i?L(s):s;return T(f,b),c!==void 0&&(c=b),s}return U(f)?f.v:v(f)}}export{q as p,Z as s};
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/chunks/D6iY2F4E.js:
--------------------------------------------------------------------------------
1 | import{O as _,h as o,a as d,f as h,e as l,P as u,Q as m,L as v,R as y,S as g,c,i as R}from"./-0kCmqra.js";function E(t,s,...n){var a=t,e=y,r;_(()=>{e!==(e=s())&&(r&&(g(r),r=null),r=v(()=>e(a,...n)))},m),o&&(a=c)}function S(t){return(s,...n)=>{var i;var a=t(...n),e;if(o)e=c,d();else{var r=a.render().trim(),p=h(r);e=R(p),s.before(e)}const f=(i=a.setup)==null?void 0:i.call(a,e);l(e,e),typeof f=="function"&&u(f)}}export{S as c,E as s};
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/chunks/DfLy1BuI.js:
--------------------------------------------------------------------------------
1 | import{aj as L,as as b,ar as v,j as N,b as O,a5 as M,n as R,K as V,O as j,az as q,h as g,C as z,B,g as w,D as T,s as k,c as S,i as W,R as h,p as F,aA as H}from"./-0kCmqra.js";function te(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const G=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function re(e){return G.includes(e)}const K={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function ae(e){return e=e.toLowerCase(),K[e]??e}const U=["touchstart","touchmove"];function ne(e){return U.includes(e)}const X=["textarea","script","style","title"];function se(e){return X.includes(e)}function oe(e,t){if(t){const r=document.body;e.autofocus=!0,L(()=>{document.activeElement===r&&e.focus()})}}let A=!1;function Y(){A||(A=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var t;if(!e.defaultPrevented)for(const r of e.target.elements)(t=r.__on_r)==null||t.call(r)})},{capture:!0}))}function x(e){var t=N,r=O;b(null),v(null);try{return e()}finally{b(t),v(r)}}function ie(e,t,r,a=r){e.addEventListener(t,()=>x(r));const s=e.__on_r;s?e.__on_r=()=>{s(),a(!0)}:e.__on_r=()=>a(!0),Y()}const J=new Set,Q=new Set;function ue(e,t,r,a={}){function s(n){if(a.capture||Z.call(t,n),!n.cancelBubble)return x(()=>r==null?void 0:r.call(this,n))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?L(()=>{t.addEventListener(e,s,a)}):t.addEventListener(e,s,a),s}function ce(e){for(var t=0;t{throw p});throw d}}finally{e.__root=t,delete e.currentTarget,b(D),v(P)}}}let i;function le(){i=void 0}function fe(e){let t=null,r=g;var a;if(g){for(t=S,i===void 0&&(i=W(document.head));i!==null&&(i.nodeType!==z||i.data!==B);)i=w(i);i===null?T(!1):i=k(w(i))}g||(a=document.head.appendChild(V()));try{j(()=>e(a),q)}finally{r&&(T(!0),i=S,k(t))}}function $(e,t,r){if(e==null)return t(void 0),h;const a=F(()=>e.subscribe(t,r));return a.unsubscribe?()=>a.unsubscribe():a}const l=[];function de(e,t=h){let r=null;const a=new Set;function s(u){if(H(e,u)&&(e=u,r)){const c=!l.length;for(const o of a)o[1](),l.push(o,e);if(c){for(let o=0;o{a.delete(o),a.size===0&&r&&(r(),r=null)}}return{set:s,update:n,subscribe:f}}function _e(e){let t;return $(e,r=>t=r)(),t}export{J as a,le as b,fe as c,se as d,ce as e,Y as f,_e as g,Z as h,ne as i,te as j,ue as k,ie as l,oe as m,ae as n,re as o,Q as r,$ as s,de as w};
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/chunks/DnXbvXxH.js:
--------------------------------------------------------------------------------
1 | import{A as m,i as A,C as T,B as L,g as M,H as p,D as c,s as R,a as C,c as _,E as H,d as I,F as Y,G as S,I as V,J as $,K as j,L as k,M as B,m as F,h as E,e as G,b as J,N as K}from"./-0kCmqra.js";import{a as P,r as D,h,i as W,b as q}from"./DfLy1BuI.js";function X(t,e){var r=e==null?"":typeof e=="object"?e+"":e;r!==(t.__t??(t.__t=t.nodeValue))&&(t.__t=r,t.nodeValue=r+"")}function z(t,e){return O(t,e)}function Z(t,e){m(),e.intro=e.intro??!1;const r=e.target,l=E,u=_;try{for(var a=A(r);a&&(a.nodeType!==T||a.data!==L);)a=M(a);if(!a)throw p;c(!0),R(a),C();const o=O(t,{...e,anchor:a});if(_===null||_.nodeType!==T||_.data!==H)throw I(),p;return c(!1),o}catch(o){if(o===p)return e.recover===!1&&Y(),m(),S(r),c(!1),z(t,e);throw o}finally{c(l),R(u),q()}}const i=new Map;function O(t,{target:e,anchor:r,props:l={},events:u,context:a,intro:o=!0}){m();var v=new Set,y=d=>{for(var s=0;s{var d=r??e.appendChild(j());return k(()=>{if(a){B({});var s=F;s.c=a}u&&(l.$$events=u),E&&G(d,null),g=t(d,l)||{},E&&(J.nodes_end=_),a&&K()}),()=>{var f;for(var s of v){e.removeEventListener(s,h);var n=i.get(s);--n===0?(document.removeEventListener(s,h),i.delete(s)):i.set(s,n)}D.delete(y),d!==r&&((f=d.parentNode)==null||f.removeChild(d))}});return w.set(g,b),g}let w=new WeakMap;function x(t,e){const r=w.get(t);return r?(w.delete(t),r(e)):Promise.resolve()}export{Z as h,z as m,X as s,x as u};
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/chunks/DpoC0QzE.js:
--------------------------------------------------------------------------------
1 | const t={title:"Title TK",description:"Description tk."},e=[{section:"intro",content:[{type:"h4",value:"An h4 element with no attributes"},{type:"text",value:"Some random text here, followed by an img tag."},{type:"img",value:{src:"../assets/demo/test.jpg",alt:"A cat"}},{type:"Test",value:{label:"I’m a custom component!",value:"50"}}]}],o={meta:t,body:e};export{o as c};
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/entry/start.3zWGZb7n.js:
--------------------------------------------------------------------------------
1 | import{l as o,a as r}from"../chunks/BASgGI1b.js";export{o as load_css,r as start};
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/nodes/1.Qh7DPxM0.js:
--------------------------------------------------------------------------------
1 | import"../chunks/CWj6FrbW.js";import{M as n,a7 as c,t as i,a8 as u,N as m,a9 as g,aa as b}from"../chunks/-0kCmqra.js";import{s as $}from"../chunks/DnXbvXxH.js";import{s as f,a as d}from"../chunks/B7mm1rr4.js";import{s as h}from"../chunks/BASgGI1b.js";const _=()=>{const s=h;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},v={subscribe(s){return _().page.subscribe(s)}};var l=c("
");function k(s,e){n(e,!0);const[a,o]=f(),r=()=>d(v,"$page",a);var t=l(),p=g(t);b(t),i(()=>$(p,`${r().status??""}: ${r().error.message??""}`)),u(s,t),m(),o()}export{k as component};
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/nodes/2.lXA7VpVS.js:
--------------------------------------------------------------------------------
1 | var I=a=>{throw TypeError(a)};var R=(a,t,e)=>t.has(a)||I("Cannot "+e);var r=(a,t,e)=>(R(a,t,"read from private field"),e?e.call(a):t.get(a)),l=(a,t,e)=>t.has(a)?I("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(a):t.set(a,e),n=(a,t,e,o)=>(R(a,t,"write to private field"),o?o.call(a,e):t.set(a,e),e),j=(a,t,e)=>(R(a,t,"access private method"),e);import"../chunks/CWj6FrbW.js";import{c as L,O as rt,b as Q,L as A,ar as V,as as E,at as Y,j as H,m as nt,S as J,aj as st,h as W,a as it,af as ct,s as X,au as lt,ad as mt,Q as pt,av as ft,aw as ht,ax as dt,a7 as C,am as N,an as c,t as Z,ay as ut,a8 as F,W as gt,ao as _t,M as vt,y as $,N as yt}from"../chunks/-0kCmqra.js";import{c as wt}from"../chunks/DfLy1BuI.js";import{e as bt,i as kt,s as i}from"../chunks/CMUBZgSg.js";import{p as y}from"../chunks/CkxHW-tX.js";import{c as tt}from"../chunks/DpoC0QzE.js";var xt=pt|ft|ht;function Tt(a,t,e){new Et(a,t,e)}var p,w,u,b,f,h,m,d,k,B;class Et{constructor(t,e,o){l(this,k);l(this,p);l(this,w);l(this,u);l(this,b);l(this,f);l(this,h,null);l(this,m,null);l(this,d,!1);n(this,p,t),n(this,u,e),n(this,b,o),n(this,w,L),n(this,f,rt(()=>{Q.b=this,W&&it();try{n(this,h,A(()=>o(r(this,p))))}catch(s){this.error(s)}},xt)),W&&n(this,p,L)}error(t){var e=r(this,u).onerror;let o=r(this,u).failed;const s=()=>{r(this,m)!==null&&ct(r(this,m),()=>{n(this,m,null)}),n(this,h,j(this,k,B).call(this,()=>(n(this,d,!1),A(()=>r(this,b).call(this,r(this,p))))))};if(r(this,d)||!e&&!o)throw t;var g=H;try{E(null),e==null||e(t,s)}finally{E(g)}r(this,h)&&(J(r(this,h)),n(this,h,null)),r(this,m)&&(J(r(this,m)),n(this,m,null)),W&&(X(r(this,w)),lt(),X(mt())),o&&st(()=>{n(this,m,j(this,k,B).call(this,()=>{n(this,d,!0);try{return A(()=>{o(r(this,p),()=>t,()=>s)})}catch(_){return dt(_,r(this,f).parent),null}finally{n(this,d,!1)}}))})}}p=new WeakMap,w=new WeakMap,u=new WeakMap,b=new WeakMap,f=new WeakMap,h=new WeakMap,m=new WeakMap,d=new WeakMap,k=new WeakSet,B=function(t){var e=Q,o=H,s=nt;V(r(this,f)),E(r(this,f)),Y(r(this,f).ctx);try{return t()}finally{V(e),E(o),Y(s)}};var Ft=C(''),Rt=C(' ',1);function jt(a,t){let e=y(t,"title",3,"Title TK"),o=y(t,"description",3,"Description TK"),s=y(t,"url",3,"https://pudding.cool"),g=y(t,"keywords",3,""),_=y(t,"preloadFont",19,()=>[]);wt(x=>{var v=Rt(),T=N(v),P=c(T,4),S=c(P,2),D=c(S,4),G=c(D,2),K=c(G,6),M=c(K,14),O=c(M,2),U=c(O,2),q=c(U,4),et=c(q,2);bt(et,17,_,kt,(at,ot)=>{var z=Ft();Z(()=>i(z,"href",gt(ot))),F(at,z)}),Z(()=>{ut.title=e(),i(T,"content",o()),i(P,"content",g()),i(S,"content",e()),i(D,"content",s()),i(G,"content",o()),i(K,"content",`${s()??""}/assets/social-facebook.jpg`),i(M,"content",e()),i(O,"content",o()),i(U,"content",`${s()??""}/assets/social-twitter.jpg`),i(q,"href",`${s()??""}/`)}),F(x,v)})}function At(a){var t=_t(),e=N(t);Tt(e,{onerror:o=>console.error(o)},o=>{}),F(a,t)}function Wt(){console.log("--- --- --- --- --- ---"),console.log("svelte-starter: 6.14.0"),console.log("build: 2025-07-08-10:43"),console.log("--- --- --- --- --- ---")}var Bt=C(" ",1);function Mt(a,t){vt(t,!0),Wt();const e=["https://pudding.cool/assets/fonts/tiempos/TiemposTextWeb-Regular.woff2","https://pudding.cool/assets/fonts/tiempos/TiemposTextWeb-Bold.woff2","https://pudding.cool/assets/fonts/atlas/AtlasGrotesk-Regular-Web.woff2","https://pudding.cool/assets/fonts/atlas/AtlasGrotesk-Bold-Web.woff2"],{title:o,description:s,url:g,keywords:_}=tt;$("copy",tt),$("data",t.data);var x=Bt(),v=N(x);jt(v,{get title(){return o},get description(){return s},get url(){return g},get preloadFont(){return e},get keywords(){return _}});var T=c(v,2);At(T),F(a,x),yt()}export{Mt as component};
2 |
--------------------------------------------------------------------------------
/docs/_app/immutable/nodes/5.Bozl_rDw.js:
--------------------------------------------------------------------------------
1 | import"../chunks/CWj6FrbW.js";import{p as Y,ai as K,h as Q,M as R,Y as U,al as X,a7 as w,t as M,a8 as S,a9 as m,aa as f,an as d,W as _,ap as V,N as W,am as A,aB as Z}from"../chunks/-0kCmqra.js";import{s as k}from"../chunks/DnXbvXxH.js";import{s as $,a as B,e as F,r as I,i as E}from"../chunks/CMUBZgSg.js";import{l as ee,c as te}from"../chunks/DfLy1BuI.js";import{p as z}from"../chunks/CkxHW-tX.js";import{o as ae}from"../chunks/CWT9bnGQ.js";import{b as se}from"../chunks/Cdd2vc2j.js";function J(e,t,s=t){ee(e,"input",a=>{var r=a?e.defaultValue:e.value;if(r=j(e)?D(r):r,s(r),r!==(r=t())){var u=e.selectionStart,n=e.selectionEnd;e.value=r??"",n!==null&&(e.selectionStart=u,e.selectionEnd=Math.min(n,e.value.length))}}),(Q&&e.defaultValue!==e.value||Y(t)==null&&e.value)&&s(j(e)?D(e.value):e.value),K(()=>{var a=t();j(e)&&a===D(e.value)||e.type==="date"&&!a&&!e.value||a!==e.value&&(e.value=a??"")})}function j(e){var t=e.type;return t==="number"||t==="range"}function D(e){return e===""?null:+e}function re(e,t){return e==null||t==null?NaN:te?1:t>=e?0:NaN}class ne extends Map{constructor(t,s=le){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:s}}),t!=null)for(const[a,r]of t)this.set(a,r)}get(t){return super.get(O(this,t))}has(t){return super.has(O(this,t))}set(t,s){return super.set(ie(this,t),s)}delete(t){return super.delete(oe(this,t))}}function O({_intern:e,_key:t},s){const a=t(s);return e.has(a)?e.get(a):s}function ie({_intern:e,_key:t},s){const a=t(s);return e.has(a)?e.get(a):(e.set(a,s),s)}function oe({_intern:e,_key:t},s){const a=t(s);return e.has(a)&&(s=e.get(a),e.delete(a)),s}function le(e){return e!==null&&typeof e=="object"?e.valueOf():e}function fe(e){return e}function ue(e,...t){return ce(e,Array.from,fe,t)}function ce(e,t,s,a){return function r(u,n){if(n>=a.length)return s(u);const o=new ne,c=a[n++];let p=-1;for(const l of u){const i=c(l,++p,u),y=o.get(i);y?y.push(l):o.set(i,[l])}for(const[l,i]of o)o.set(l,r(i,n));return t(o)}(e,0)}var me=w(''),ye=w('