w3ps1/_app/immutable/components/pages/_page.svelte-782630be.js

2067 lines
60 KiB
JavaScript
Raw Normal View History

import { S as SvelteComponent, i as init, s as safe_not_equal, e as empty, b as insert_hydration, f as transition_in, g as group_outros, d as check_outros, t as transition_out, M as destroy_each, h as detach, k as element, a as space, q as text, l as claim_element, m as children, c as claim_space, r as claim_text, G as src_url_equal, n as attr, H as append_hydration, I as listen, u as set_data, x as create_component, y as claim_component, z as mount_component, A as destroy_component, _ as head_selector, N as run_all } from "../../chunks/index-a23f1e07.js";
import { a as animateText, S as SvelteMarkdown } from "../../chunks/helpers-bfd3e6c9.js";
function get_each_context$1(ctx, list, i) {
const child_ctx = ctx.slice();
child_ctx[5] = list[i];
return child_ctx;
}
function create_if_block$1(ctx) {
let div;
let sveltemarkdown;
let current;
sveltemarkdown = new SvelteMarkdown({
props: { source: (
/*item*/
ctx[5].caption
) }
});
return {
c() {
div = element("div");
create_component(sveltemarkdown.$$.fragment);
this.h();
},
l(nodes) {
div = claim_element(nodes, "DIV", { class: true });
var div_nodes = children(div);
claim_component(sveltemarkdown.$$.fragment, div_nodes);
div_nodes.forEach(detach);
this.h();
},
h() {
attr(div, "class", "mt-2 text-base text-supermild");
},
m(target, anchor) {
insert_hydration(target, div, anchor);
mount_component(sveltemarkdown, div, null);
current = true;
},
p(ctx2, dirty) {
const sveltemarkdown_changes = {};
if (dirty & /*items*/
1)
sveltemarkdown_changes.source = /*item*/
ctx2[5].caption;
sveltemarkdown.$set(sveltemarkdown_changes);
},
i(local) {
if (current)
return;
transition_in(sveltemarkdown.$$.fragment, local);
current = true;
},
o(local) {
transition_out(sveltemarkdown.$$.fragment, local);
current = false;
},
d(detaching) {
if (detaching)
detach(div);
destroy_component(sveltemarkdown);
}
};
}
function create_each_block$1(ctx) {
let div3;
let div0;
let img;
let img_src_value;
let t0;
let div1;
let t1_value = (
/*item*/
ctx[5].name.toUpperCase() + ""
);
let t1;
let t2;
let div2;
let a;
let t3;
let t4_value = (
/*item*/
ctx[5].twitter + ""
);
let t4;
let a_href_value;
let t5;
let t6;
let div3_class_value;
let current;
let mounted;
let dispose;
let if_block = (
/*item*/
ctx[5].caption && create_if_block$1(ctx)
);
return {
c() {
div3 = element("div");
div0 = element("div");
img = element("img");
t0 = space();
div1 = element("div");
t1 = text(t1_value);
t2 = space();
div2 = element("div");
a = element("a");
t3 = text("@");
t4 = text(t4_value);
t5 = space();
if (if_block)
if_block.c();
t6 = space();
this.h();
},
l(nodes) {
div3 = claim_element(nodes, "DIV", { class: true });
var div3_nodes = children(div3);
div0 = claim_element(div3_nodes, "DIV", {});
var div0_nodes = children(div0);
img = claim_element(div0_nodes, "IMG", { src: true, class: true });
div0_nodes.forEach(detach);
t0 = claim_space(div3_nodes);
div1 = claim_element(div3_nodes, "DIV", { class: true });
var div1_nodes = children(div1);
t1 = claim_text(div1_nodes, t1_value);
div1_nodes.forEach(detach);
t2 = claim_space(div3_nodes);
div2 = claim_element(div3_nodes, "DIV", { class: true });
var div2_nodes = children(div2);
a = claim_element(div2_nodes, "A", { href: true, class: true });
var a_nodes = children(a);
t3 = claim_text(a_nodes, "@");
t4 = claim_text(a_nodes, t4_value);
a_nodes.forEach(detach);
div2_nodes.forEach(detach);
t5 = claim_space(div3_nodes);
if (if_block)
if_block.l(div3_nodes);
t6 = claim_space(div3_nodes);
div3_nodes.forEach(detach);
this.h();
},
h() {
if (!src_url_equal(img.src, img_src_value = "/people/" + /*item*/
ctx[5].img))
attr(img, "src", img_src_value);
attr(img, "class", "grayscale invert aspect-square object-cover w-full");
attr(div1, "class", "mt-4 speaker-name animate-speaker text-xl");
attr(a, "href", a_href_value = twitterLink(
/*item*/
ctx[5].twitter
));
attr(a, "class", "hover:underline animate-speaker");
attr(div2, "class", "text-lg text-mild");
attr(div3, "class", div3_class_value = "hover:bg-white hover:text-black p-2 " + /*size*/
(ctx[1] === "small" ? "w-2/3 sm:w-48" : "w-2/3 sm:w-64") + " person-item");
},
m(target, anchor) {
insert_hydration(target, div3, anchor);
append_hydration(div3, div0);
append_hydration(div0, img);
append_hydration(div3, t0);
append_hydration(div3, div1);
append_hydration(div1, t1);
append_hydration(div3, t2);
append_hydration(div3, div2);
append_hydration(div2, a);
append_hydration(a, t3);
append_hydration(a, t4);
append_hydration(div3, t5);
if (if_block)
if_block.m(div3, null);
append_hydration(div3, t6);
current = true;
if (!mounted) {
dispose = listen(
div3,
"mouseenter",
/*animateSpeaker*/
ctx[3]
);
mounted = true;
}
},
p(ctx2, dirty) {
if (!current || dirty & /*items*/
1 && !src_url_equal(img.src, img_src_value = "/people/" + /*item*/
ctx2[5].img)) {
attr(img, "src", img_src_value);
}
if ((!current || dirty & /*items*/
1) && t1_value !== (t1_value = /*item*/
ctx2[5].name.toUpperCase() + ""))
set_data(t1, t1_value);
if ((!current || dirty & /*items*/
1) && t4_value !== (t4_value = /*item*/
ctx2[5].twitter + ""))
set_data(t4, t4_value);
if (!current || dirty & /*items*/
1 && a_href_value !== (a_href_value = twitterLink(
/*item*/
ctx2[5].twitter
))) {
attr(a, "href", a_href_value);
}
if (
/*item*/
ctx2[5].caption
) {
if (if_block) {
if_block.p(ctx2, dirty);
if (dirty & /*items*/
1) {
transition_in(if_block, 1);
}
} else {
if_block = create_if_block$1(ctx2);
if_block.c();
transition_in(if_block, 1);
if_block.m(div3, t6);
}
} else if (if_block) {
group_outros();
transition_out(if_block, 1, 1, () => {
if_block = null;
});
check_outros();
}
if (!current || dirty & /*size*/
2 && div3_class_value !== (div3_class_value = "hover:bg-white hover:text-black p-2 " + /*size*/
(ctx2[1] === "small" ? "w-2/3 sm:w-48" : "w-2/3 sm:w-64") + " person-item")) {
attr(div3, "class", div3_class_value);
}
},
i(local) {
if (current)
return;
transition_in(if_block);
current = true;
},
o(local) {
transition_out(if_block);
current = false;
},
d(detaching) {
if (detaching)
detach(div3);
if (if_block)
if_block.d();
mounted = false;
dispose();
}
};
}
function create_fragment$1(ctx) {
let each_1_anchor;
let current;
let each_value = (
/*items*/
ctx[0].map(
/*getPerson*/
ctx[2]
)
);
let each_blocks = [];
for (let i = 0; i < each_value.length; i += 1) {
each_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));
}
const out = (i) => transition_out(each_blocks[i], 1, 1, () => {
each_blocks[i] = null;
});
return {
c() {
for (let i = 0; i < each_blocks.length; i += 1) {
each_blocks[i].c();
}
each_1_anchor = empty();
},
l(nodes) {
for (let i = 0; i < each_blocks.length; i += 1) {
each_blocks[i].l(nodes);
}
each_1_anchor = empty();
},
m(target, anchor) {
for (let i = 0; i < each_blocks.length; i += 1) {
each_blocks[i].m(target, anchor);
}
insert_hydration(target, each_1_anchor, anchor);
current = true;
},
p(ctx2, [dirty]) {
if (dirty & /*size, animateSpeaker, items, getPerson, twitterLink*/
15) {
each_value = /*items*/
ctx2[0].map(
/*getPerson*/
ctx2[2]
);
let i;
for (i = 0; i < each_value.length; i += 1) {
const child_ctx = get_each_context$1(ctx2, each_value, i);
if (each_blocks[i]) {
each_blocks[i].p(child_ctx, dirty);
transition_in(each_blocks[i], 1);
} else {
each_blocks[i] = create_each_block$1(child_ctx);
each_blocks[i].c();
transition_in(each_blocks[i], 1);
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
}
}
group_outros();
for (i = each_value.length; i < each_blocks.length; i += 1) {
out(i);
}
check_outros();
}
},
i(local) {
if (current)
return;
for (let i = 0; i < each_value.length; i += 1) {
transition_in(each_blocks[i]);
}
current = true;
},
o(local) {
each_blocks = each_blocks.filter(Boolean);
for (let i = 0; i < each_blocks.length; i += 1) {
transition_out(each_blocks[i]);
}
current = false;
},
d(detaching) {
destroy_each(each_blocks, detaching);
if (detaching)
detach(each_1_anchor);
}
};
}
function twitterLink(handle) {
return `https://twitter.com/${handle}`;
}
function instance$1($$self, $$props, $$invalidate) {
let { items } = $$props;
let { people } = $$props;
let { size = "normal" } = $$props;
function getPerson(id) {
return people.find((p) => p.id === id);
}
function animateSpeaker(el) {
for (const e of el.target.getElementsByClassName("animate-speaker")) {
animateText({ target: e });
}
}
$$self.$$set = ($$props2) => {
if ("items" in $$props2)
$$invalidate(0, items = $$props2.items);
if ("people" in $$props2)
$$invalidate(4, people = $$props2.people);
if ("size" in $$props2)
$$invalidate(1, size = $$props2.size);
};
return [items, size, getPerson, animateSpeaker, people];
}
class PeopleList extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance$1, create_fragment$1, safe_not_equal, { items: 0, people: 4, size: 1 });
}
}
function get_each_context(ctx, list, i) {
const child_ctx = ctx.slice();
child_ctx[2] = list[i];
return child_ctx;
}
function get_each_context_1(ctx, list, i) {
const child_ctx = ctx.slice();
child_ctx[5] = list[i];
return child_ctx;
}
function get_each_context_2(ctx, list, i) {
const child_ctx = ctx.slice();
child_ctx[8] = list[i];
return child_ctx;
}
function get_each_context_3(ctx, list, i) {
const child_ctx = ctx.slice();
child_ctx[11] = list[i];
return child_ctx;
}
function get_each_context_4(ctx, list, i) {
const child_ctx = ctx.slice();
child_ctx[8] = list[i];
return child_ctx;
}
function create_each_block_4(ctx) {
let div2;
let div0;
let t0_value = (
/*ti*/
ctx[8].title.toUpperCase() + ""
);
let t0;
let t1;
let div1;
let sveltemarkdown;
let t2;
let current;
let mounted;
let dispose;
sveltemarkdown = new SvelteMarkdown({ props: { source: (
/*ti*/
ctx[8].desc
) } });
return {
c() {
div2 = element("div");
div0 = element("div");
t0 = text(t0_value);
t1 = space();
div1 = element("div");
create_component(sveltemarkdown.$$.fragment);
t2 = space();
this.h();
},
l(nodes) {
div2 = claim_element(nodes, "DIV", { class: true });
var div2_nodes = children(div2);
div0 = claim_element(div2_nodes, "DIV", { class: true });
var div0_nodes = children(div0);
t0 = claim_text(div0_nodes, t0_value);
div0_nodes.forEach(detach);
t1 = claim_space(div2_nodes);
div1 = claim_element(div2_nodes, "DIV", { class: true });
var div1_nodes = children(div1);
claim_component(sveltemarkdown.$$.fragment, div1_nodes);
div1_nodes.forEach(detach);
t2 = claim_space(div2_nodes);
div2_nodes.forEach(detach);
this.h();
},
h() {
attr(div0, "class", "text-2xl animate-section");
attr(div1, "class", "mt-4 text-lg text-mild markdown");
attr(div2, "class", "bg-[#0d1117] hover:text-black hover:bg-white px-4 py-6 topic-item");
},
m(target, anchor) {
insert_hydration(target, div2, anchor);
append_hydration(div2, div0);
append_hydration(div0, t0);
append_hydration(div2, t1);
append_hydration(div2, div1);
mount_component(sveltemarkdown, div1, null);
append_hydration(div2, t2);
current = true;
if (!mounted) {
dispose = listen(
div2,
"mouseenter",
/*animateSection*/
ctx[1](35)
);
mounted = true;
}
},
p(ctx2, dirty) {
if ((!current || dirty & /*data*/
1) && t0_value !== (t0_value = /*ti*/
ctx2[8].title.toUpperCase() + ""))
set_data(t0, t0_value);
const sveltemarkdown_changes = {};
if (dirty & /*data*/
1)
sveltemarkdown_changes.source = /*ti*/
ctx2[8].desc;
sveltemarkdown.$set(sveltemarkdown_changes);
},
i(local) {
if (current)
return;
transition_in(sveltemarkdown.$$.fragment, local);
current = true;
},
o(local) {
transition_out(sveltemarkdown.$$.fragment, local);
current = false;
},
d(detaching) {
if (detaching)
detach(div2);
destroy_component(sveltemarkdown);
mounted = false;
dispose();
}
};
}
function create_if_block_2(ctx) {
let div;
let sveltemarkdown;
let current;
sveltemarkdown = new SvelteMarkdown({ props: { source: (
/*pi*/
ctx[11].desc
) } });
return {
c() {
div = element("div");
create_component(sveltemarkdown.$$.fragment);
this.h();
},
l(nodes) {
div = claim_element(nodes, "DIV", { class: true });
var div_nodes = children(div);
claim_component(sveltemarkdown.$$.fragment, div_nodes);
div_nodes.forEach(detach);
this.h();
},
h() {
attr(div, "class", "mt-2 text-base description text-mild markdown");
},
m(target, anchor) {
insert_hydration(target, div, anchor);
mount_component(sveltemarkdown, div, null);
current = true;
},
p(ctx2, dirty) {
const sveltemarkdown_changes = {};
if (dirty & /*data*/
1)
sveltemarkdown_changes.source = /*pi*/
ctx2[11].desc;
sveltemarkdown.$set(sveltemarkdown_changes);
},
i(local) {
if (current)
return;
transition_in(sveltemarkdown.$$.fragment, local);
current = true;
},
o(local) {
transition_out(sveltemarkdown.$$.fragment, local);
current = false;
},
d(detaching) {
if (detaching)
detach(div);
destroy_component(sveltemarkdown);
}
};
}
function create_each_block_3(ctx) {
var _a;
let tr;
let td0;
let raw_value = (
/*pi*/
ctx[11].time.split("-").map(func).join('<div class="xl:inline-block hidden mx-1">-</div>') + ""
);
let t0;
let td1;
let div;
let span;
let t1_value = (
/*pi*/
ctx[11].title + ""
);
let t1;
let t2;
let t3_value = (
/*pi*/
ctx[11].speakers ? "― " + /*pi*/
((_a = ctx[11].speakers[0]) == null ? void 0 : _a.name) : ""
);
let t3;
let t4;
let t5;
let current;
let mounted;
let dispose;
let if_block = (
/*pi*/
ctx[11].desc && create_if_block_2(ctx)
);
return {
c() {
tr = element("tr");
td0 = element("td");
t0 = space();
td1 = element("td");
div = element("div");
span = element("span");
t1 = text(t1_value);
t2 = space();
t3 = text(t3_value);
t4 = space();
if (if_block)
if_block.c();
t5 = space();
this.h();
},
l(nodes) {
tr = claim_element(nodes, "TR", { class: true });
var tr_nodes = children(tr);
td0 = claim_element(tr_nodes, "TD", { class: true });
var td0_nodes = children(td0);
td0_nodes.forEach(detach);
t0 = claim_space(tr_nodes);
td1 = claim_element(tr_nodes, "TD", { class: true });
var td1_nodes = children(td1);
div = claim_element(td1_nodes, "DIV", { class: true });
var div_nodes = children(div);
span = claim_element(div_nodes, "SPAN", { class: true });
var span_nodes = children(span);
t1 = claim_text(span_nodes, t1_value);
span_nodes.forEach(detach);
t2 = claim_space(div_nodes);
t3 = claim_text(div_nodes, t3_value);
div_nodes.forEach(detach);
t4 = claim_space(td1_nodes);
if (if_block)
if_block.l(td1_nodes);
td1_nodes.forEach(detach);
t5 = claim_space(tr_nodes);
tr_nodes.forEach(detach);
this.h();
},
h() {
attr(td0, "class", "text-right time xl:whitespace-nowrap sm:w-16 xl:w-36");
attr(span, "class", "animate-section");
attr(div, "class", "text-xl");
attr(td1, "class", "text-left");
attr(tr, "class", "");
},
m(target, anchor) {
insert_hydration(target, tr, anchor);
append_hydration(tr, td0);
td0.innerHTML = raw_value;
append_hydration(tr, t0);
append_hydration(tr, td1);
append_hydration(td1, div);
append_hydration(div, span);
append_hydration(span, t1);
append_hydration(div, t2);
append_hydration(div, t3);
append_hydration(td1, t4);
if (if_block)
if_block.m(td1, null);
append_hydration(tr, t5);
current = true;
if (!mounted) {
dispose = listen(
tr,
"mouseenter",
/*animateSection*/
ctx[1](35)
);
mounted = true;
}
},
p(ctx2, dirty) {
var _a2;
if ((!current || dirty & /*data*/
1) && raw_value !== (raw_value = /*pi*/
ctx2[11].time.split("-").map(func).join('<div class="xl:inline-block hidden mx-1">-</div>') + ""))
td0.innerHTML = raw_value;
if ((!current || dirty & /*data*/
1) && t1_value !== (t1_value = /*pi*/
ctx2[11].title + ""))
set_data(t1, t1_value);
if ((!current || dirty & /*data*/
1) && t3_value !== (t3_value = /*pi*/
ctx2[11].speakers ? "― " + /*pi*/
((_a2 = ctx2[11].speakers[0]) == null ? void 0 : _a2.name) : ""))
set_data(t3, t3_value);
if (
/*pi*/
ctx2[11].desc
) {
if (if_block) {
if_block.p(ctx2, dirty);
if (dirty & /*data*/
1) {
transition_in(if_block, 1);
}
} else {
if_block = create_if_block_2(ctx2);
if_block.c();
transition_in(if_block, 1);
if_block.m(td1, null);
}
} else if (if_block) {
group_outros();
transition_out(if_block, 1, 1, () => {
if_block = null;
});
check_outros();
}
},
i(local) {
if (current)
return;
transition_in(if_block);
current = true;
},
o(local) {
transition_out(if_block);
current = false;
},
d(detaching) {
if (detaching)
detach(tr);
if (if_block)
if_block.d();
mounted = false;
dispose();
}
};
}
function create_each_block_2(ctx) {
let li;
let t_value = (
/*ti*/
ctx[8] + ""
);
let t;
return {
c() {
li = element("li");
t = text(t_value);
},
l(nodes) {
li = claim_element(nodes, "LI", {});
var li_nodes = children(li);
t = claim_text(li_nodes, t_value);
li_nodes.forEach(detach);
},
m(target, anchor) {
insert_hydration(target, li, anchor);
append_hydration(li, t);
},
p(ctx2, dirty) {
if (dirty & /*data*/
1 && t_value !== (t_value = /*ti*/
ctx2[8] + ""))
set_data(t, t_value);
},
d(detaching) {
if (detaching)
detach(li);
}
};
}
function create_if_block_1(ctx) {
let div;
let t_value = (
/*tt*/
ctx[5].note + ""
);
let t;
return {
c() {
div = element("div");
t = text(t_value);
this.h();
},
l(nodes) {
div = claim_element(nodes, "DIV", { class: true });
var div_nodes = children(div);
t = claim_text(div_nodes, t_value);
div_nodes.forEach(detach);
this.h();
},
h() {
attr(div, "class", "mt-10 text-base");
},
m(target, anchor) {
insert_hydration(target, div, anchor);
append_hydration(div, t);
},
p(ctx2, dirty) {
if (dirty & /*data*/
1 && t_value !== (t_value = /*tt*/
ctx2[5].note + ""))
set_data(t, t_value);
},
d(detaching) {
if (detaching)
detach(div);
}
};
}
function create_if_block(ctx) {
let div;
let sveltemarkdown;
let current;
sveltemarkdown = new SvelteMarkdown({ props: { source: (
/*tt*/
ctx[5].hint
) } });
return {
c() {
div = element("div");
create_component(sveltemarkdown.$$.fragment);
this.h();
},
l(nodes) {
div = claim_element(nodes, "DIV", { class: true });
var div_nodes = children(div);
claim_component(sveltemarkdown.$$.fragment, div_nodes);
div_nodes.forEach(detach);
this.h();
},
h() {
attr(div, "class", "mt-10 markdown text-base");
},
m(target, anchor) {
insert_hydration(target, div, anchor);
mount_component(sveltemarkdown, div, null);
current = true;
},
p(ctx2, dirty) {
const sveltemarkdown_changes = {};
if (dirty & /*data*/
1)
sveltemarkdown_changes.source = /*tt*/
ctx2[5].hint;
sveltemarkdown.$set(sveltemarkdown_changes);
},
i(local) {
if (current)
return;
transition_in(sveltemarkdown.$$.fragment, local);
current = true;
},
o(local) {
transition_out(sveltemarkdown.$$.fragment, local);
current = false;
},
d(detaching) {
if (detaching)
detach(div);
destroy_component(sveltemarkdown);
}
};
}
function create_each_block_1(ctx) {
let div2;
let div0;
let t0_value = (
/*tt*/
ctx[5].title + ""
);
let t0;
let t1;
let div1;
let t2_value = (
/*tt*/
ctx[5].price + ""
);
let t2;
let t3;
let ul;
let t4;
let t5;
let t6;
let current;
let mounted;
let dispose;
let each_value_2 = (
/*tt*/
ctx[5].includes
);
let each_blocks = [];
for (let i = 0; i < each_value_2.length; i += 1) {
each_blocks[i] = create_each_block_2(get_each_context_2(ctx, each_value_2, i));
}
let if_block0 = (
/*tt*/
ctx[5].note && create_if_block_1(ctx)
);
let if_block1 = (
/*tt*/
ctx[5].hint && create_if_block(ctx)
);
return {
c() {
div2 = element("div");
div0 = element("div");
t0 = text(t0_value);
t1 = space();
div1 = element("div");
t2 = text(t2_value);
t3 = space();
ul = element("ul");
for (let i = 0; i < each_blocks.length; i += 1) {
each_blocks[i].c();
}
t4 = space();
if (if_block0)
if_block0.c();
t5 = space();
if (if_block1)
if_block1.c();
t6 = space();
this.h();
},
l(nodes) {
div2 = claim_element(nodes, "DIV", { class: true });
var div2_nodes = children(div2);
div0 = claim_element(div2_nodes, "DIV", { class: true });
var div0_nodes = children(div0);
t0 = claim_text(div0_nodes, t0_value);
div0_nodes.forEach(detach);
t1 = claim_space(div2_nodes);
div1 = claim_element(div2_nodes, "DIV", { class: true });
var div1_nodes = children(div1);
t2 = claim_text(div1_nodes, t2_value);
div1_nodes.forEach(detach);
t3 = claim_space(div2_nodes);
ul = claim_element(div2_nodes, "UL", { class: true });
var ul_nodes = children(ul);
for (let i = 0; i < each_blocks.length; i += 1) {
each_blocks[i].l(ul_nodes);
}
ul_nodes.forEach(detach);
t4 = claim_space(div2_nodes);
if (if_block0)
if_block0.l(div2_nodes);
t5 = claim_space(div2_nodes);
if (if_block1)
if_block1.l(div2_nodes);
t6 = claim_space(div2_nodes);
div2_nodes.forEach(detach);
this.h();
},
h() {
attr(div0, "class", "text-3xl uppercase animate-section");
attr(div1, "class", "text-xl mt-6 font-bold animate-section");
attr(ul, "class", "mt-6 text-lg text-left list-disc px-6");
attr(div2, "class", "bg-[#0d1117] hover:border-0 py-10 px-10 hover:text-black hover:bg-white");
},
m(target, anchor) {
insert_hydration(target, div2, anchor);
append_hydration(div2, div0);
append_hydration(div0, t0);
append_hydration(div2, t1);
append_hydration(div2, div1);
append_hydration(div1, t2);
append_hydration(div2, t3);
append_hydration(div2, ul);
for (let i = 0; i < each_blocks.length; i += 1) {
each_blocks[i].m(ul, null);
}
append_hydration(div2, t4);
if (if_block0)
if_block0.m(div2, null);
append_hydration(div2, t5);
if (if_block1)
if_block1.m(div2, null);
append_hydration(div2, t6);
current = true;
if (!mounted) {
dispose = listen(
div2,
"mouseenter",
/*animateSection*/
ctx[1](40)
);
mounted = true;
}
},
p(ctx2, dirty) {
if ((!current || dirty & /*data*/
1) && t0_value !== (t0_value = /*tt*/
ctx2[5].title + ""))
set_data(t0, t0_value);
if ((!current || dirty & /*data*/
1) && t2_value !== (t2_value = /*tt*/
ctx2[5].price + ""))
set_data(t2, t2_value);
if (dirty & /*data*/
1) {
each_value_2 = /*tt*/
ctx2[5].includes;
let i;
for (i = 0; i < each_value_2.length; i += 1) {
const child_ctx = get_each_context_2(ctx2, each_value_2, i);
if (each_blocks[i]) {
each_blocks[i].p(child_ctx, dirty);
} else {
each_blocks[i] = create_each_block_2(child_ctx);
each_blocks[i].c();
each_blocks[i].m(ul, null);
}
}
for (; i < each_blocks.length; i += 1) {
each_blocks[i].d(1);
}
each_blocks.length = each_value_2.length;
}
if (
/*tt*/
ctx2[5].note
) {
if (if_block0) {
if_block0.p(ctx2, dirty);
} else {
if_block0 = create_if_block_1(ctx2);
if_block0.c();
if_block0.m(div2, t5);
}
} else if (if_block0) {
if_block0.d(1);
if_block0 = null;
}
if (
/*tt*/
ctx2[5].hint
) {
if (if_block1) {
if_block1.p(ctx2, dirty);
if (dirty & /*data*/
1) {
transition_in(if_block1, 1);
}
} else {
if_block1 = create_if_block(ctx2);
if_block1.c();
transition_in(if_block1, 1);
if_block1.m(div2, t6);
}
} else if (if_block1) {
group_outros();
transition_out(if_block1, 1, 1, () => {
if_block1 = null;
});
check_outros();
}
},
i(local) {
if (current)
return;
transition_in(if_block1);
current = true;
},
o(local) {
transition_out(if_block1);
current = false;
},
d(detaching) {
if (detaching)
detach(div2);
destroy_each(each_blocks, detaching);
if (if_block0)
if_block0.d();
if (if_block1)
if_block1.d();
mounted = false;
dispose();
}
};
}
function create_each_block(ctx) {
let div2;
let div0;
let t0_value = (
/*fi*/
ctx[2].title + ""
);
let t0;
let t1;
let div1;
let sveltemarkdown;
let t2;
let current;
let mounted;
let dispose;
sveltemarkdown = new SvelteMarkdown({ props: { source: (
/*fi*/
ctx[2].text
) } });
return {
c() {
div2 = element("div");
div0 = element("div");
t0 = text(t0_value);
t1 = space();
div1 = element("div");
create_component(sveltemarkdown.$$.fragment);
t2 = space();
this.h();
},
l(nodes) {
div2 = claim_element(nodes, "DIV", { class: true });
var div2_nodes = children(div2);
div0 = claim_element(div2_nodes, "DIV", { class: true });
var div0_nodes = children(div0);
t0 = claim_text(div0_nodes, t0_value);
div0_nodes.forEach(detach);
t1 = claim_space(div2_nodes);
div1 = claim_element(div2_nodes, "DIV", { class: true });
var div1_nodes = children(div1);
claim_component(sveltemarkdown.$$.fragment, div1_nodes);
div1_nodes.forEach(detach);
t2 = claim_space(div2_nodes);
div2_nodes.forEach(detach);
this.h();
},
h() {
attr(div0, "class", "text-2xl font-bold mb-6 animate-section");
attr(div1, "class", "text-lg markdown");
attr(div2, "class", "py-10 px-4 hover:bg-white hover:text-black");
},
m(target, anchor) {
insert_hydration(target, div2, anchor);
append_hydration(div2, div0);
append_hydration(div0, t0);
append_hydration(div2, t1);
append_hydration(div2, div1);
mount_component(sveltemarkdown, div1, null);
append_hydration(div2, t2);
current = true;
if (!mounted) {
dispose = listen(
div2,
"mouseenter",
/*animateSection*/
ctx[1](15)
);
mounted = true;
}
},
p(ctx2, dirty) {
if ((!current || dirty & /*data*/
1) && t0_value !== (t0_value = /*fi*/
ctx2[2].title + ""))
set_data(t0, t0_value);
const sveltemarkdown_changes = {};
if (dirty & /*data*/
1)
sveltemarkdown_changes.source = /*fi*/
ctx2[2].text;
sveltemarkdown.$set(sveltemarkdown_changes);
},
i(local) {
if (current)
return;
transition_in(sveltemarkdown.$$.fragment, local);
current = true;
},
o(local) {
transition_out(sveltemarkdown.$$.fragment, local);
current = false;
},
d(detaching) {
if (detaching)
detach(div2);
destroy_component(sveltemarkdown);
mounted = false;
dispose();
}
};
}
function create_fragment(ctx) {
let title_value;
let meta0;
let meta0_content_value;
let meta1;
let meta2;
let meta2_content_value;
let meta3;
let meta3_content_value;
let meta4;
let meta4_content_value;
let meta5;
let meta5_content_value;
let t0;
let div4;
let div3;
let div0;
let sveltemarkdown;
let t1;
let div1;
let t2;
let t3;
let div2;
let t4;
let div9;
let div8;
let div5;
let t5;
let t6;
let div7;
let div6;
let peoplelist0;
let t7;
let div14;
let div13;
let div10;
let t8;
let t9;
let div12;
let div11;
let peoplelist1;
let t10;
let div17;
let div16;
let div15;
let t11;
let t12;
let table;
let thead;
let tr;
let th0;
let t13;
let t14;
let th1;
let t15;
let t16;
let tbody;
let t17;
let div21;
let div20;
let div18;
let t18;
let t19;
let div19;
let a;
let button;
let t20;
let a_href_value;
let t21;
let div27;
let div26;
let div22;
let t22;
let t23;
let div23;
let t24_value = (
/*data*/
ctx[0].config.ticketsIntro + ""
);
let t24;
let t25;
let div24;
let t26;
let div25;
let t27_value = (
/*data*/
ctx[0].config.ticketsNote + ""
);
let t27;
let t28;
let div31;
let div30;
let div28;
let t29;
let t30;
let div29;
let current;
let mounted;
let dispose;
document.title = title_value = /*data*/
ctx[0].config.title + " | " + /*data*/
ctx[0].config.date;
sveltemarkdown = new SvelteMarkdown({
props: { source: (
/*data*/
ctx[0].config.intro
) }
});
let each_value_4 = (
/*data*/
ctx[0].config.themes
);
let each_blocks_3 = [];
for (let i = 0; i < each_value_4.length; i += 1) {
each_blocks_3[i] = create_each_block_4(get_each_context_4(ctx, each_value_4, i));
}
const out = (i) => transition_out(each_blocks_3[i], 1, 1, () => {
each_blocks_3[i] = null;
});
peoplelist0 = new PeopleList({
props: {
items: (
/*data*/
ctx[0].config.speakers
),
people: (
/*data*/
ctx[0].config.people
)
}
});
peoplelist1 = new PeopleList({
props: {
items: (
/*data*/
ctx[0].config.hosts
),
people: (
/*data*/
ctx[0].config.people
),
size: "small"
}
});
let each_value_3 = (
/*data*/
ctx[0].config.program
);
let each_blocks_2 = [];
for (let i = 0; i < each_value_3.length; i += 1) {
each_blocks_2[i] = create_each_block_3(get_each_context_3(ctx, each_value_3, i));
}
const out_1 = (i) => transition_out(each_blocks_2[i], 1, 1, () => {
each_blocks_2[i] = null;
});
let each_value_1 = (
/*data*/
ctx[0].config.tickets
);
let each_blocks_1 = [];
for (let i = 0; i < each_value_1.length; i += 1) {
each_blocks_1[i] = create_each_block_1(get_each_context_1(ctx, each_value_1, i));
}
const out_2 = (i) => transition_out(each_blocks_1[i], 1, 1, () => {
each_blocks_1[i] = null;
});
let each_value = (
/*data*/
ctx[0].config.faq
);
let each_blocks = [];
for (let i = 0; i < each_value.length; i += 1) {
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
}
const out_3 = (i) => transition_out(each_blocks[i], 1, 1, () => {
each_blocks[i] = null;
});
return {
c() {
meta0 = element("meta");
meta1 = element("meta");
meta2 = element("meta");
meta3 = element("meta");
meta4 = element("meta");
meta5 = element("meta");
t0 = space();
div4 = element("div");
div3 = element("div");
div0 = element("div");
create_component(sveltemarkdown.$$.fragment);
t1 = space();
div1 = element("div");
t2 = text("Key themes");
t3 = space();
div2 = element("div");
for (let i = 0; i < each_blocks_3.length; i += 1) {
each_blocks_3[i].c();
}
t4 = space();
div9 = element("div");
div8 = element("div");
div5 = element("div");
t5 = text("Speakers");
t6 = space();
div7 = element("div");
div6 = element("div");
create_component(peoplelist0.$$.fragment);
t7 = space();
div14 = element("div");
div13 = element("div");
div10 = element("div");
t8 = text("Hosts");
t9 = space();
div12 = element("div");
div11 = element("div");
create_component(peoplelist1.$$.fragment);
t10 = space();
div17 = element("div");
div16 = element("div");
div15 = element("div");
t11 = text("Program");
t12 = space();
table = element("table");
thead = element("thead");
tr = element("tr");
th0 = element("th");
t13 = text("time");
t14 = space();
th1 = element("th");
t15 = text("topic");
t16 = space();
tbody = element("tbody");
for (let i = 0; i < each_blocks_2.length; i += 1) {
each_blocks_2[i].c();
}
t17 = space();
div21 = element("div");
div20 = element("div");
div18 = element("div");
t18 = text("Sponsors");
t19 = space();
div19 = element("div");
a = element("a");
button = element("button");
t20 = text("Become a Sponsor");
t21 = space();
div27 = element("div");
div26 = element("div");
div22 = element("div");
t22 = text("Ticket");
t23 = space();
div23 = element("div");
t24 = text(t24_value);
t25 = space();
div24 = element("div");
for (let i = 0; i < each_blocks_1.length; i += 1) {
each_blocks_1[i].c();
}
t26 = space();
div25 = element("div");
t27 = text(t27_value);
t28 = space();
div31 = element("div");
div30 = element("div");
div28 = element("div");
t29 = text("FAQ");
t30 = space();
div29 = element("div");
for (let i = 0; i < each_blocks.length; i += 1) {
each_blocks[i].c();
}
this.h();
},
l(nodes) {
const head_nodes = head_selector("svelte-1v6y0me", document.head);
meta0 = claim_element(head_nodes, "META", { name: true, content: true });
meta1 = claim_element(head_nodes, "META", { name: true, content: true });
meta2 = claim_element(head_nodes, "META", { name: true, content: true });
meta3 = claim_element(head_nodes, "META", { name: true, content: true });
meta4 = claim_element(head_nodes, "META", { name: true, content: true });
meta5 = claim_element(head_nodes, "META", { name: true, content: true });
head_nodes.forEach(detach);
t0 = claim_space(nodes);
div4 = claim_element(nodes, "DIV", { class: true, id: true });
var div4_nodes = children(div4);
div3 = claim_element(div4_nodes, "DIV", { class: true });
var div3_nodes = children(div3);
div0 = claim_element(div3_nodes, "DIV", { class: true });
var div0_nodes = children(div0);
claim_component(sveltemarkdown.$$.fragment, div0_nodes);
div0_nodes.forEach(detach);
t1 = claim_space(div3_nodes);
div1 = claim_element(div3_nodes, "DIV", { class: true });
var div1_nodes = children(div1);
t2 = claim_text(div1_nodes, "Key themes");
div1_nodes.forEach(detach);
t3 = claim_space(div3_nodes);
div2 = claim_element(div3_nodes, "DIV", { class: true });
var div2_nodes = children(div2);
for (let i = 0; i < each_blocks_3.length; i += 1) {
each_blocks_3[i].l(div2_nodes);
}
div2_nodes.forEach(detach);
div3_nodes.forEach(detach);
div4_nodes.forEach(detach);
t4 = claim_space(nodes);
div9 = claim_element(nodes, "DIV", { class: true, id: true });
var div9_nodes = children(div9);
div8 = claim_element(div9_nodes, "DIV", { class: true });
var div8_nodes = children(div8);
div5 = claim_element(div8_nodes, "DIV", { class: true });
var div5_nodes = children(div5);
t5 = claim_text(div5_nodes, "Speakers");
div5_nodes.forEach(detach);
t6 = claim_space(div8_nodes);
div7 = claim_element(div8_nodes, "DIV", { class: true });
var div7_nodes = children(div7);
div6 = claim_element(div7_nodes, "DIV", { class: true });
var div6_nodes = children(div6);
claim_component(peoplelist0.$$.fragment, div6_nodes);
div6_nodes.forEach(detach);
div7_nodes.forEach(detach);
div8_nodes.forEach(detach);
div9_nodes.forEach(detach);
t7 = claim_space(nodes);
div14 = claim_element(nodes, "DIV", { id: true });
var div14_nodes = children(div14);
div13 = claim_element(div14_nodes, "DIV", { class: true });
var div13_nodes = children(div13);
div10 = claim_element(div13_nodes, "DIV", { class: true });
var div10_nodes = children(div10);
t8 = claim_text(div10_nodes, "Hosts");
div10_nodes.forEach(detach);
t9 = claim_space(div13_nodes);
div12 = claim_element(div13_nodes, "DIV", { class: true });
var div12_nodes = children(div12);
div11 = claim_element(div12_nodes, "DIV", { class: true });
var div11_nodes = children(div11);
claim_component(peoplelist1.$$.fragment, div11_nodes);
div11_nodes.forEach(detach);
div12_nodes.forEach(detach);
div13_nodes.forEach(detach);
div14_nodes.forEach(detach);
t10 = claim_space(nodes);
div17 = claim_element(nodes, "DIV", { class: true, id: true });
var div17_nodes = children(div17);
div16 = claim_element(div17_nodes, "DIV", { class: true });
var div16_nodes = children(div16);
div15 = claim_element(div16_nodes, "DIV", { class: true });
var div15_nodes = children(div15);
t11 = claim_text(div15_nodes, "Program");
div15_nodes.forEach(detach);
t12 = claim_space(div16_nodes);
table = claim_element(div16_nodes, "TABLE", { class: true });
var table_nodes = children(table);
thead = claim_element(table_nodes, "THEAD", {});
var thead_nodes = children(thead);
tr = claim_element(thead_nodes, "TR", {});
var tr_nodes = children(tr);
th0 = claim_element(tr_nodes, "TH", { class: true });
var th0_nodes = children(th0);
t13 = claim_text(th0_nodes, "time");
th0_nodes.forEach(detach);
t14 = claim_space(tr_nodes);
th1 = claim_element(tr_nodes, "TH", { class: true });
var th1_nodes = children(th1);
t15 = claim_text(th1_nodes, "topic");
th1_nodes.forEach(detach);
tr_nodes.forEach(detach);
thead_nodes.forEach(detach);
t16 = claim_space(table_nodes);
tbody = claim_element(table_nodes, "TBODY", {});
var tbody_nodes = children(tbody);
for (let i = 0; i < each_blocks_2.length; i += 1) {
each_blocks_2[i].l(tbody_nodes);
}
tbody_nodes.forEach(detach);
table_nodes.forEach(detach);
div16_nodes.forEach(detach);
div17_nodes.forEach(detach);
t17 = claim_space(nodes);
div21 = claim_element(nodes, "DIV", { class: true, id: true });
var div21_nodes = children(div21);
div20 = claim_element(div21_nodes, "DIV", { class: true });
var div20_nodes = children(div20);
div18 = claim_element(div20_nodes, "DIV", { class: true });
var div18_nodes = children(div18);
t18 = claim_text(div18_nodes, "Sponsors");
div18_nodes.forEach(detach);
t19 = claim_space(div20_nodes);
div19 = claim_element(div20_nodes, "DIV", {});
var div19_nodes = children(div19);
a = claim_element(div19_nodes, "A", { href: true, target: true });
var a_nodes = children(a);
button = claim_element(a_nodes, "BUTTON", { class: true });
var button_nodes = children(button);
t20 = claim_text(button_nodes, "Become a Sponsor");
button_nodes.forEach(detach);
a_nodes.forEach(detach);
div19_nodes.forEach(detach);
div20_nodes.forEach(detach);
div21_nodes.forEach(detach);
t21 = claim_space(nodes);
div27 = claim_element(nodes, "DIV", { class: true, id: true });
var div27_nodes = children(div27);
div26 = claim_element(div27_nodes, "DIV", { class: true });
var div26_nodes = children(div26);
div22 = claim_element(div26_nodes, "DIV", { class: true });
var div22_nodes = children(div22);
t22 = claim_text(div22_nodes, "Ticket");
div22_nodes.forEach(detach);
t23 = claim_space(div26_nodes);
div23 = claim_element(div26_nodes, "DIV", { class: true });
var div23_nodes = children(div23);
t24 = claim_text(div23_nodes, t24_value);
div23_nodes.forEach(detach);
t25 = claim_space(div26_nodes);
div24 = claim_element(div26_nodes, "DIV", { class: true });
var div24_nodes = children(div24);
for (let i = 0; i < each_blocks_1.length; i += 1) {
each_blocks_1[i].l(div24_nodes);
}
div24_nodes.forEach(detach);
t26 = claim_space(div26_nodes);
div25 = claim_element(div26_nodes, "DIV", { class: true });
var div25_nodes = children(div25);
t27 = claim_text(div25_nodes, t27_value);
div25_nodes.forEach(detach);
div26_nodes.forEach(detach);
div27_nodes.forEach(detach);
t28 = claim_space(nodes);
div31 = claim_element(nodes, "DIV", { class: true, id: true });
var div31_nodes = children(div31);
div30 = claim_element(div31_nodes, "DIV", { class: true });
var div30_nodes = children(div30);
div28 = claim_element(div30_nodes, "DIV", { class: true });
var div28_nodes = children(div28);
t29 = claim_text(div28_nodes, "FAQ");
div28_nodes.forEach(detach);
t30 = claim_space(div30_nodes);
div29 = claim_element(div30_nodes, "DIV", { class: true });
var div29_nodes = children(div29);
for (let i = 0; i < each_blocks.length; i += 1) {
each_blocks[i].l(div29_nodes);
}
div29_nodes.forEach(detach);
div30_nodes.forEach(detach);
div31_nodes.forEach(detach);
this.h();
},
h() {
attr(meta0, "name", "description");
attr(meta0, "content", meta0_content_value = /*data*/
ctx[0].config.desc);
attr(meta1, "name", "twitter:card");
attr(meta1, "content", "summary");
attr(meta2, "name", "twitter:site");
attr(meta2, "content", meta2_content_value = "@" + /*data*/
ctx[0].config.twitter);
attr(meta3, "name", "twitter:title");
attr(meta3, "content", meta3_content_value = /*data*/
ctx[0].config.title);
attr(meta4, "name", "twitter:description");
attr(meta4, "content", meta4_content_value = /*data*/
ctx[0].config.desc);
attr(meta5, "name", "twitter:image");
attr(meta5, "content", meta5_content_value = "https://" + /*data*/
ctx[0].config.domain + /*data*/
ctx[0].config.image);
attr(div0, "class", "py-16 md:py-32 md:w-2/3 mx-auto markdown");
attr(div1, "class", "section-header");
attr(div2, "class", "grid md:grid-cols-3 gap-4 md:gap-10");
attr(div3, "class", "middle-pane-medium pb-16 text-xl text-center mx-auto");
attr(div4, "class", "bg-black");
attr(div4, "id", "about");
attr(div5, "class", "section-header");
attr(div6, "class", "pb-16 flex flex-wrap justify-center gap-6");
attr(div7, "class", "mx-auto");
attr(div8, "class", "middle-pane-medium pt-16 text-xl text-center mx-auto");
attr(div9, "class", "");
attr(div9, "id", "speakers");
attr(div10, "class", "section-header");
attr(div11, "class", "pb-16 flex flex-wrap justify-center gap-6");
attr(div12, "class", "mx-auto");
attr(div13, "class", "middle-pane-medium pt-0 text-xl text-center mx-auto");
attr(div14, "id", "hosts");
attr(div15, "class", "section-header");
attr(th0, "class", "text-right");
attr(th1, "class", "text-left");
attr(table, "class", "table-auto table-custom w-full mx-0 lg:mx-8");
attr(div16, "class", "middle-pane-medium pt-16 text-xl text-center mx-auto pb-32");
attr(div17, "class", "bg-black");
attr(div17, "id", "program");
attr(div18, "class", "section-header");
attr(button, "class", "py-2 px-5 bg-white text-black hover:bg-black border border-bg-white hover:text-white");
attr(a, "href", a_href_value = /*data*/
ctx[0].config.sponsorUrl);
attr(a, "target", "_blank");
attr(div20, "class", "middle-pane-medium pt-16 text-xl text-center mx-auto pb-32");
attr(div21, "class", "");
attr(div21, "id", "sponsors");
attr(div22, "class", "section-header");
attr(div23, "class", "mb-8 text-lg text-mild");
attr(div24, "class", "grid lg:grid-cols-2 gap-10 md:w-2/3 mx-auto");
attr(div25, "class", "mt-8 text-xl");
attr(div26, "class", "middle-pane-medium pt-16 text-xl text-center mx-auto pb-32");
attr(div27, "class", "bg-black");
attr(div27, "id", "ticket");
attr(div28, "class", "section-header");
attr(div29, "class", "grid md:grid-cols-2 gap-2 md:gap-10");
attr(div30, "class", "middle-pane-medium pt-20 text-xl text-center mx-auto");
attr(div31, "class", "mb-36");
attr(div31, "id", "faq");
},
m(target, anchor) {
append_hydration(document.head, meta0);
append_hydration(document.head, meta1);
append_hydration(document.head, meta2);
append_hydration(document.head, meta3);
append_hydration(document.head, meta4);
append_hydration(document.head, meta5);
insert_hydration(target, t0, anchor);
insert_hydration(target, div4, anchor);
append_hydration(div4, div3);
append_hydration(div3, div0);
mount_component(sveltemarkdown, div0, null);
append_hydration(div3, t1);
append_hydration(div3, div1);
append_hydration(div1, t2);
append_hydration(div3, t3);
append_hydration(div3, div2);
for (let i = 0; i < each_blocks_3.length; i += 1) {
each_blocks_3[i].m(div2, null);
}
insert_hydration(target, t4, anchor);
insert_hydration(target, div9, anchor);
append_hydration(div9, div8);
append_hydration(div8, div5);
append_hydration(div5, t5);
append_hydration(div8, t6);
append_hydration(div8, div7);
append_hydration(div7, div6);
mount_component(peoplelist0, div6, null);
insert_hydration(target, t7, anchor);
insert_hydration(target, div14, anchor);
append_hydration(div14, div13);
append_hydration(div13, div10);
append_hydration(div10, t8);
append_hydration(div13, t9);
append_hydration(div13, div12);
append_hydration(div12, div11);
mount_component(peoplelist1, div11, null);
insert_hydration(target, t10, anchor);
insert_hydration(target, div17, anchor);
append_hydration(div17, div16);
append_hydration(div16, div15);
append_hydration(div15, t11);
append_hydration(div16, t12);
append_hydration(div16, table);
append_hydration(table, thead);
append_hydration(thead, tr);
append_hydration(tr, th0);
append_hydration(th0, t13);
append_hydration(tr, t14);
append_hydration(tr, th1);
append_hydration(th1, t15);
append_hydration(table, t16);
append_hydration(table, tbody);
for (let i = 0; i < each_blocks_2.length; i += 1) {
each_blocks_2[i].m(tbody, null);
}
insert_hydration(target, t17, anchor);
insert_hydration(target, div21, anchor);
append_hydration(div21, div20);
append_hydration(div20, div18);
append_hydration(div18, t18);
append_hydration(div20, t19);
append_hydration(div20, div19);
append_hydration(div19, a);
append_hydration(a, button);
append_hydration(button, t20);
insert_hydration(target, t21, anchor);
insert_hydration(target, div27, anchor);
append_hydration(div27, div26);
append_hydration(div26, div22);
append_hydration(div22, t22);
append_hydration(div26, t23);
append_hydration(div26, div23);
append_hydration(div23, t24);
append_hydration(div26, t25);
append_hydration(div26, div24);
for (let i = 0; i < each_blocks_1.length; i += 1) {
each_blocks_1[i].m(div24, null);
}
append_hydration(div26, t26);
append_hydration(div26, div25);
append_hydration(div25, t27);
insert_hydration(target, t28, anchor);
insert_hydration(target, div31, anchor);
append_hydration(div31, div30);
append_hydration(div30, div28);
append_hydration(div28, t29);
append_hydration(div30, t30);
append_hydration(div30, div29);
for (let i = 0; i < each_blocks.length; i += 1) {
each_blocks[i].m(div29, null);
}
current = true;
if (!mounted) {
dispose = [
listen(div1, "mouseenter", animateText),
listen(div5, "mouseenter", animateText),
listen(div10, "mouseenter", animateText),
listen(div15, "mouseenter", animateText),
listen(div18, "mouseenter", animateText),
listen(button, "mouseenter", animateText),
listen(div22, "mouseenter", animateText),
listen(div28, "mouseenter", animateText)
];
mounted = true;
}
},
p(ctx2, [dirty]) {
if ((!current || dirty & /*data*/
1) && title_value !== (title_value = /*data*/
ctx2[0].config.title + " | " + /*data*/
ctx2[0].config.date)) {
document.title = title_value;
}
if (!current || dirty & /*data*/
1 && meta0_content_value !== (meta0_content_value = /*data*/
ctx2[0].config.desc)) {
attr(meta0, "content", meta0_content_value);
}
if (!current || dirty & /*data*/
1 && meta2_content_value !== (meta2_content_value = "@" + /*data*/
ctx2[0].config.twitter)) {
attr(meta2, "content", meta2_content_value);
}
if (!current || dirty & /*data*/
1 && meta3_content_value !== (meta3_content_value = /*data*/
ctx2[0].config.title)) {
attr(meta3, "content", meta3_content_value);
}
if (!current || dirty & /*data*/
1 && meta4_content_value !== (meta4_content_value = /*data*/
ctx2[0].config.desc)) {
attr(meta4, "content", meta4_content_value);
}
if (!current || dirty & /*data*/
1 && meta5_content_value !== (meta5_content_value = "https://" + /*data*/
ctx2[0].config.domain + /*data*/
ctx2[0].config.image)) {
attr(meta5, "content", meta5_content_value);
}
const sveltemarkdown_changes = {};
if (dirty & /*data*/
1)
sveltemarkdown_changes.source = /*data*/
ctx2[0].config.intro;
sveltemarkdown.$set(sveltemarkdown_changes);
if (dirty & /*animateSection, data*/
3) {
each_value_4 = /*data*/
ctx2[0].config.themes;
let i;
for (i = 0; i < each_value_4.length; i += 1) {
const child_ctx = get_each_context_4(ctx2, each_value_4, i);
if (each_blocks_3[i]) {
each_blocks_3[i].p(child_ctx, dirty);
transition_in(each_blocks_3[i], 1);
} else {
each_blocks_3[i] = create_each_block_4(child_ctx);
each_blocks_3[i].c();
transition_in(each_blocks_3[i], 1);
each_blocks_3[i].m(div2, null);
}
}
group_outros();
for (i = each_value_4.length; i < each_blocks_3.length; i += 1) {
out(i);
}
check_outros();
}
const peoplelist0_changes = {};
if (dirty & /*data*/
1)
peoplelist0_changes.items = /*data*/
ctx2[0].config.speakers;
if (dirty & /*data*/
1)
peoplelist0_changes.people = /*data*/
ctx2[0].config.people;
peoplelist0.$set(peoplelist0_changes);
const peoplelist1_changes = {};
if (dirty & /*data*/
1)
peoplelist1_changes.items = /*data*/
ctx2[0].config.hosts;
if (dirty & /*data*/
1)
peoplelist1_changes.people = /*data*/
ctx2[0].config.people;
peoplelist1.$set(peoplelist1_changes);
if (dirty & /*animateSection, data*/
3) {
each_value_3 = /*data*/
ctx2[0].config.program;
let i;
for (i = 0; i < each_value_3.length; i += 1) {
const child_ctx = get_each_context_3(ctx2, each_value_3, i);
if (each_blocks_2[i]) {
each_blocks_2[i].p(child_ctx, dirty);
transition_in(each_blocks_2[i], 1);
} else {
each_blocks_2[i] = create_each_block_3(child_ctx);
each_blocks_2[i].c();
transition_in(each_blocks_2[i], 1);
each_blocks_2[i].m(tbody, null);
}
}
group_outros();
for (i = each_value_3.length; i < each_blocks_2.length; i += 1) {
out_1(i);
}
check_outros();
}
if (!current || dirty & /*data*/
1 && a_href_value !== (a_href_value = /*data*/
ctx2[0].config.sponsorUrl)) {
attr(a, "href", a_href_value);
}
if ((!current || dirty & /*data*/
1) && t24_value !== (t24_value = /*data*/
ctx2[0].config.ticketsIntro + ""))
set_data(t24, t24_value);
if (dirty & /*animateSection, data*/
3) {
each_value_1 = /*data*/
ctx2[0].config.tickets;
let i;
for (i = 0; i < each_value_1.length; i += 1) {
const child_ctx = get_each_context_1(ctx2, each_value_1, i);
if (each_blocks_1[i]) {
each_blocks_1[i].p(child_ctx, dirty);
transition_in(each_blocks_1[i], 1);
} else {
each_blocks_1[i] = create_each_block_1(child_ctx);
each_blocks_1[i].c();
transition_in(each_blocks_1[i], 1);
each_blocks_1[i].m(div24, null);
}
}
group_outros();
for (i = each_value_1.length; i < each_blocks_1.length; i += 1) {
out_2(i);
}
check_outros();
}
if ((!current || dirty & /*data*/
1) && t27_value !== (t27_value = /*data*/
ctx2[0].config.ticketsNote + ""))
set_data(t27, t27_value);
if (dirty & /*animateSection, data*/
3) {
each_value = /*data*/
ctx2[0].config.faq;
let i;
for (i = 0; i < each_value.length; i += 1) {
const child_ctx = get_each_context(ctx2, each_value, i);
if (each_blocks[i]) {
each_blocks[i].p(child_ctx, dirty);
transition_in(each_blocks[i], 1);
} else {
each_blocks[i] = create_each_block(child_ctx);
each_blocks[i].c();
transition_in(each_blocks[i], 1);
each_blocks[i].m(div29, null);
}
}
group_outros();
for (i = each_value.length; i < each_blocks.length; i += 1) {
out_3(i);
}
check_outros();
}
},
i(local) {
if (current)
return;
transition_in(sveltemarkdown.$$.fragment, local);
for (let i = 0; i < each_value_4.length; i += 1) {
transition_in(each_blocks_3[i]);
}
transition_in(peoplelist0.$$.fragment, local);
transition_in(peoplelist1.$$.fragment, local);
for (let i = 0; i < each_value_3.length; i += 1) {
transition_in(each_blocks_2[i]);
}
for (let i = 0; i < each_value_1.length; i += 1) {
transition_in(each_blocks_1[i]);
}
for (let i = 0; i < each_value.length; i += 1) {
transition_in(each_blocks[i]);
}
current = true;
},
o(local) {
transition_out(sveltemarkdown.$$.fragment, local);
each_blocks_3 = each_blocks_3.filter(Boolean);
for (let i = 0; i < each_blocks_3.length; i += 1) {
transition_out(each_blocks_3[i]);
}
transition_out(peoplelist0.$$.fragment, local);
transition_out(peoplelist1.$$.fragment, local);
each_blocks_2 = each_blocks_2.filter(Boolean);
for (let i = 0; i < each_blocks_2.length; i += 1) {
transition_out(each_blocks_2[i]);
}
each_blocks_1 = each_blocks_1.filter(Boolean);
for (let i = 0; i < each_blocks_1.length; i += 1) {
transition_out(each_blocks_1[i]);
}
each_blocks = each_blocks.filter(Boolean);
for (let i = 0; i < each_blocks.length; i += 1) {
transition_out(each_blocks[i]);
}
current = false;
},
d(detaching) {
detach(meta0);
detach(meta1);
detach(meta2);
detach(meta3);
detach(meta4);
detach(meta5);
if (detaching)
detach(t0);
if (detaching)
detach(div4);
destroy_component(sveltemarkdown);
destroy_each(each_blocks_3, detaching);
if (detaching)
detach(t4);
if (detaching)
detach(div9);
destroy_component(peoplelist0);
if (detaching)
detach(t7);
if (detaching)
detach(div14);
destroy_component(peoplelist1);
if (detaching)
detach(t10);
if (detaching)
detach(div17);
destroy_each(each_blocks_2, detaching);
if (detaching)
detach(t17);
if (detaching)
detach(div21);
if (detaching)
detach(t21);
if (detaching)
detach(div27);
destroy_each(each_blocks_1, detaching);
if (detaching)
detach(t28);
if (detaching)
detach(div31);
destroy_each(each_blocks, detaching);
mounted = false;
run_all(dispose);
}
};
}
const func = (x) => x;
function instance($$self, $$props, $$invalidate) {
let { data } = $$props;
function animateSection(interval = 50) {
return (el) => {
for (const e of el.target.getElementsByClassName("animate-section")) {
animateText({ target: e }, interval);
}
};
}
$$self.$$set = ($$props2) => {
if ("data" in $$props2)
$$invalidate(0, data = $$props2.data);
};
return [data, animateSection];
}
class Page extends SvelteComponent {
constructor(options) {
super();
init(this, options, instance, create_fragment, safe_not_equal, { data: 0 });
}
}
export {
Page as default
};