remove temp layouts access
This commit is contained in:
@@ -1417,7 +1417,7 @@ var app = (function () {
|
||||
return block;
|
||||
}
|
||||
|
||||
function create_fragment$z(ctx) {
|
||||
function create_fragment$y(ctx) {
|
||||
let current_block_type_index;
|
||||
let if_block;
|
||||
let if_block_anchor;
|
||||
@@ -1490,7 +1490,7 @@ var app = (function () {
|
||||
|
||||
dispatch_dev("SvelteRegisterBlock", {
|
||||
block,
|
||||
id: create_fragment$z.name,
|
||||
id: create_fragment$y.name,
|
||||
type: "component",
|
||||
source: "",
|
||||
ctx
|
||||
@@ -1691,7 +1691,7 @@ var app = (function () {
|
||||
window.location.hash = href;
|
||||
}
|
||||
|
||||
function instance$z($$self, $$props, $$invalidate) {
|
||||
function instance$y($$self, $$props, $$invalidate) {
|
||||
let { $$slots: slots = {}, $$scope } = $$props;
|
||||
validate_slots('Router', slots, []);
|
||||
let { routes = {} } = $$props;
|
||||
@@ -2106,7 +2106,7 @@ var app = (function () {
|
||||
constructor(options) {
|
||||
super(options);
|
||||
|
||||
init$1(this, options, instance$z, create_fragment$z, safe_not_equal, {
|
||||
init$1(this, options, instance$y, create_fragment$y, safe_not_equal, {
|
||||
routes: 3,
|
||||
prefix: 4,
|
||||
restoreScrollState: 5
|
||||
@@ -2116,7 +2116,7 @@ var app = (function () {
|
||||
component: this,
|
||||
tagName: "Router",
|
||||
options,
|
||||
id: create_fragment$z.name
|
||||
id: create_fragment$y.name
|
||||
});
|
||||
}
|
||||
|
||||
@@ -2146,9 +2146,9 @@ var app = (function () {
|
||||
}
|
||||
|
||||
/* src/pages/NotFound.svelte generated by Svelte v3.53.1 */
|
||||
const file$v = "src/pages/NotFound.svelte";
|
||||
const file$u = "src/pages/NotFound.svelte";
|
||||
|
||||
function create_fragment$y(ctx) {
|
||||
function create_fragment$x(ctx) {
|
||||
let h1;
|
||||
let t1;
|
||||
let p0;
|
||||
@@ -2174,12 +2174,12 @@ var app = (function () {
|
||||
a = element("a");
|
||||
h2 = element("h2");
|
||||
h2.textContent = "Take me home →";
|
||||
add_location(h1, file$v, 4, 0, 64);
|
||||
add_location(p0, file$v, 5, 0, 87);
|
||||
add_location(p1, file$v, 7, 0, 192);
|
||||
add_location(h2, file$v, 9, 4, 247);
|
||||
add_location(h1, file$u, 4, 0, 64);
|
||||
add_location(p0, file$u, 5, 0, 87);
|
||||
add_location(p1, file$u, 7, 0, 192);
|
||||
add_location(h2, file$u, 9, 4, 247);
|
||||
attr_dev(a, "href", "/");
|
||||
add_location(a, file$v, 8, 0, 221);
|
||||
add_location(a, file$u, 8, 0, 221);
|
||||
},
|
||||
l: function claim(nodes) {
|
||||
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
||||
@@ -2217,7 +2217,7 @@ var app = (function () {
|
||||
|
||||
dispatch_dev("SvelteRegisterBlock", {
|
||||
block,
|
||||
id: create_fragment$y.name,
|
||||
id: create_fragment$x.name,
|
||||
type: "component",
|
||||
source: "",
|
||||
ctx
|
||||
@@ -2226,7 +2226,7 @@ var app = (function () {
|
||||
return block;
|
||||
}
|
||||
|
||||
function instance$y($$self, $$props, $$invalidate) {
|
||||
function instance$x($$self, $$props, $$invalidate) {
|
||||
let { $$slots: slots = {}, $$scope } = $$props;
|
||||
validate_slots('NotFound', slots, []);
|
||||
const writable_props = [];
|
||||
@@ -2242,13 +2242,13 @@ var app = (function () {
|
||||
class NotFound extends SvelteComponentDev {
|
||||
constructor(options) {
|
||||
super(options);
|
||||
init$1(this, options, instance$y, create_fragment$y, safe_not_equal, {});
|
||||
init$1(this, options, instance$x, create_fragment$x, safe_not_equal, {});
|
||||
|
||||
dispatch_dev("SvelteRegisterComponent", {
|
||||
component: this,
|
||||
tagName: "NotFound",
|
||||
options,
|
||||
id: create_fragment$y.name
|
||||
id: create_fragment$x.name
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -2299,7 +2299,7 @@ var app = (function () {
|
||||
/* src/pieces/Header.svelte generated by Svelte v3.53.1 */
|
||||
|
||||
const { console: console_1$7 } = globals;
|
||||
const file$u = "src/pieces/Header.svelte";
|
||||
const file$t = "src/pieces/Header.svelte";
|
||||
|
||||
// (28:39)
|
||||
function create_if_block_1$4(ctx) {
|
||||
@@ -2312,7 +2312,7 @@ var app = (function () {
|
||||
button = element("button");
|
||||
button.textContent = "Settings";
|
||||
attr_dev(button, "class", "svelte-1aisfio");
|
||||
add_location(button, file$u, 28, 6, 1164);
|
||||
add_location(button, file$t, 28, 6, 1164);
|
||||
},
|
||||
m: function mount(target, anchor) {
|
||||
insert_dev(target, button, anchor);
|
||||
@@ -2352,7 +2352,7 @@ var app = (function () {
|
||||
button = element("button");
|
||||
button.textContent = "My Profile";
|
||||
attr_dev(button, "class", "svelte-1aisfio");
|
||||
add_location(button, file$u, 26, 6, 1054);
|
||||
add_location(button, file$t, 26, 6, 1054);
|
||||
},
|
||||
m: function mount(target, anchor) {
|
||||
insert_dev(target, button, anchor);
|
||||
@@ -2381,7 +2381,7 @@ var app = (function () {
|
||||
return block;
|
||||
}
|
||||
|
||||
function create_fragment$x(ctx) {
|
||||
function create_fragment$w(ctx) {
|
||||
let header;
|
||||
let img;
|
||||
let img_src_value;
|
||||
@@ -2443,25 +2443,25 @@ var app = (function () {
|
||||
if (!src_url_equal(img.src, img_src_value = "/img/potato_logo.png")) attr_dev(img, "src", img_src_value);
|
||||
attr_dev(img, "alt", "Potato Pong Logo");
|
||||
attr_dev(img, "class", "svelte-1aisfio");
|
||||
add_location(img, file$u, 19, 2, 712);
|
||||
add_location(img, file$t, 19, 2, 712);
|
||||
attr_dev(h1, "class", "svelte-1aisfio");
|
||||
add_location(h1, file$u, 20, 2, 799);
|
||||
add_location(h1, file$t, 20, 2, 799);
|
||||
attr_dev(button0, "class", "svelte-1aisfio");
|
||||
add_location(button0, file$u, 22, 1, 829);
|
||||
add_location(button0, file$t, 22, 1, 829);
|
||||
attr_dev(button1, "class", "svelte-1aisfio");
|
||||
add_location(button1, file$u, 23, 1, 885);
|
||||
add_location(button1, file$t, 23, 1, 885);
|
||||
attr_dev(button2, "class", "svelte-1aisfio");
|
||||
add_location(button2, file$u, 24, 1, 952);
|
||||
add_location(button2, file$t, 24, 1, 952);
|
||||
attr_dev(button3, "class", "svelte-1aisfio");
|
||||
add_location(button3, file$u, 35, 4, 1408);
|
||||
add_location(button3, file$t, 35, 4, 1408);
|
||||
attr_dev(button4, "class", "svelte-1aisfio");
|
||||
add_location(button4, file$u, 36, 4, 1481);
|
||||
add_location(button4, file$t, 36, 4, 1481);
|
||||
attr_dev(button5, "class", "svelte-1aisfio");
|
||||
add_location(button5, file$u, 37, 4, 1540);
|
||||
add_location(button5, file$t, 37, 4, 1540);
|
||||
attr_dev(nav, "class", "svelte-1aisfio");
|
||||
add_location(nav, file$u, 21, 2, 822);
|
||||
add_location(nav, file$t, 21, 2, 822);
|
||||
attr_dev(header, "class", "svelte-1aisfio");
|
||||
add_location(header, file$u, 18, 0, 701);
|
||||
add_location(header, file$t, 18, 0, 701);
|
||||
},
|
||||
l: function claim(nodes) {
|
||||
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
||||
@@ -2530,7 +2530,7 @@ var app = (function () {
|
||||
|
||||
dispatch_dev("SvelteRegisterBlock", {
|
||||
block,
|
||||
id: create_fragment$x.name,
|
||||
id: create_fragment$w.name,
|
||||
type: "component",
|
||||
source: "",
|
||||
ctx
|
||||
@@ -2539,7 +2539,7 @@ var app = (function () {
|
||||
return block;
|
||||
}
|
||||
|
||||
function instance$x($$self, $$props, $$invalidate) {
|
||||
function instance$w($$self, $$props, $$invalidate) {
|
||||
let $location;
|
||||
validate_store(location$2, 'location');
|
||||
component_subscribe($$self, location$2, $$value => $$invalidate(0, $location = $$value));
|
||||
@@ -2603,19 +2603,19 @@ var app = (function () {
|
||||
class Header extends SvelteComponentDev {
|
||||
constructor(options) {
|
||||
super(options);
|
||||
init$1(this, options, instance$x, create_fragment$x, safe_not_equal, {});
|
||||
init$1(this, options, instance$w, create_fragment$w, safe_not_equal, {});
|
||||
|
||||
dispatch_dev("SvelteRegisterComponent", {
|
||||
component: this,
|
||||
tagName: "Header",
|
||||
options,
|
||||
id: create_fragment$x.name
|
||||
id: create_fragment$w.name
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/* src/pieces/GenerateUserDisplay.svelte generated by Svelte v3.53.1 */
|
||||
const file$t = "src/pieces/GenerateUserDisplay.svelte";
|
||||
const file$s = "src/pieces/GenerateUserDisplay.svelte";
|
||||
|
||||
// (59:2) {#if user !== undefined}
|
||||
function create_if_block$a(ctx) {
|
||||
@@ -2716,49 +2716,49 @@ var app = (function () {
|
||||
attr_dev(img, "class", "avatar svelte-16aefqu");
|
||||
if (!src_url_equal(img.src, img_src_value = /*avatar*/ ctx[2])) attr_dev(img, "src", img_src_value);
|
||||
attr_dev(img, "alt", "default user icon");
|
||||
add_location(img, file$t, 62, 4, 2016);
|
||||
add_location(img, file$s, 62, 4, 2016);
|
||||
attr_dev(div0, "class", "username svelte-16aefqu");
|
||||
add_location(div0, file$t, 63, 4, 2080);
|
||||
add_location(div0, file$s, 63, 4, 2080);
|
||||
attr_dev(path0, "d", "M512 255.1c0 11.34-7.406 20.86-18.44 23.64l-171.3 42.78l-42.78 171.1C276.7 504.6 267.2 512 255.9 512s-20.84-7.406-23.62-18.44l-42.66-171.2L18.47 279.6C7.406 276.8 0 267.3 0 255.1c0-11.34 7.406-20.83 18.44-23.61l171.2-42.78l42.78-171.1C235.2 7.406 244.7 0 256 0s20.84 7.406 23.62 18.44l42.78 171.2l171.2 42.78C504.6 235.2 512 244.6 512 255.1z");
|
||||
attr_dev(path0, "class", "svelte-16aefqu");
|
||||
add_location(path0, file$t, 68, 10, 2287);
|
||||
add_location(path0, file$s, 68, 10, 2287);
|
||||
attr_dev(svg0, "viewBox", "0 0 512 512");
|
||||
attr_dev(svg0, "class", "svelte-16aefqu");
|
||||
add_location(svg0, file$t, 67, 10, 2249);
|
||||
add_location(svg0, file$s, 67, 10, 2249);
|
||||
attr_dev(span0, "class", "glitter-star svelte-16aefqu");
|
||||
add_location(span0, file$t, 66, 8, 2190);
|
||||
add_location(span0, file$s, 66, 8, 2190);
|
||||
attr_dev(path1, "d", "M512 255.1c0 11.34-7.406 20.86-18.44 23.64l-171.3 42.78l-42.78 171.1C276.7 504.6 267.2 512 255.9 512s-20.84-7.406-23.62-18.44l-42.66-171.2L18.47 279.6C7.406 276.8 0 267.3 0 255.1c0-11.34 7.406-20.83 18.44-23.61l171.2-42.78l42.78-171.1C235.2 7.406 244.7 0 256 0s20.84 7.406 23.62 18.44l42.78 171.2l171.2 42.78C504.6 235.2 512 244.6 512 255.1z");
|
||||
attr_dev(path1, "class", "svelte-16aefqu");
|
||||
add_location(path1, file$t, 73, 10, 2780);
|
||||
add_location(path1, file$s, 73, 10, 2780);
|
||||
attr_dev(svg1, "viewBox", "0 0 512 512");
|
||||
attr_dev(svg1, "class", "svelte-16aefqu");
|
||||
add_location(svg1, file$t, 72, 10, 2742);
|
||||
add_location(svg1, file$s, 72, 10, 2742);
|
||||
attr_dev(span1, "class", "glitter-star svelte-16aefqu");
|
||||
add_location(span1, file$t, 71, 8, 2683);
|
||||
add_location(span1, file$s, 71, 8, 2683);
|
||||
attr_dev(path2, "d", "M512 255.1c0 11.34-7.406 20.86-18.44 23.64l-171.3 42.78l-42.78 171.1C276.7 504.6 267.2 512 255.9 512s-20.84-7.406-23.62-18.44l-42.66-171.2L18.47 279.6C7.406 276.8 0 267.3 0 255.1c0-11.34 7.406-20.83 18.44-23.61l171.2-42.78l42.78-171.1C235.2 7.406 244.7 0 256 0s20.84 7.406 23.62 18.44l42.78 171.2l171.2 42.78C504.6 235.2 512 244.6 512 255.1z");
|
||||
attr_dev(path2, "class", "svelte-16aefqu");
|
||||
add_location(path2, file$t, 78, 10, 3273);
|
||||
add_location(path2, file$s, 78, 10, 3273);
|
||||
attr_dev(svg2, "viewBox", "0 0 512 512");
|
||||
attr_dev(svg2, "class", "svelte-16aefqu");
|
||||
add_location(svg2, file$t, 77, 10, 3235);
|
||||
add_location(svg2, file$s, 77, 10, 3235);
|
||||
attr_dev(span2, "class", "glitter-star svelte-16aefqu");
|
||||
add_location(span2, file$t, 76, 8, 3176);
|
||||
add_location(span2, file$s, 76, 8, 3176);
|
||||
attr_dev(span3, "class", "glitter-text svelte-16aefqu");
|
||||
add_location(span3, file$t, 81, 8, 3669);
|
||||
add_location(span3, file$s, 81, 8, 3669);
|
||||
attr_dev(span4, "class", "glitter svelte-16aefqu");
|
||||
add_location(span4, file$t, 65, 6, 2159);
|
||||
add_location(span4, file$s, 65, 6, 2159);
|
||||
attr_dev(div1, "class", "rank svelte-16aefqu");
|
||||
add_location(div1, file$t, 64, 4, 2128);
|
||||
add_location(div1, file$s, 64, 4, 2128);
|
||||
attr_dev(h4, "class", "svelte-16aefqu");
|
||||
add_location(h4, file$t, 85, 6, 3774);
|
||||
add_location(p0, file$t, 86, 6, 3806);
|
||||
add_location(p1, file$t, 87, 6, 3849);
|
||||
add_location(p2, file$t, 88, 6, 3894);
|
||||
add_location(p3, file$t, 89, 6, 3937);
|
||||
add_location(h4, file$s, 85, 6, 3774);
|
||||
add_location(p0, file$s, 86, 6, 3806);
|
||||
add_location(p1, file$s, 87, 6, 3849);
|
||||
add_location(p2, file$s, 88, 6, 3894);
|
||||
add_location(p3, file$s, 89, 6, 3937);
|
||||
attr_dev(section, "class", "main-stats svelte-16aefqu");
|
||||
add_location(section, file$t, 84, 4, 3739);
|
||||
add_location(section, file$s, 84, 4, 3739);
|
||||
attr_dev(main, "class", "svelte-16aefqu");
|
||||
add_location(main, file$t, 59, 2, 1838);
|
||||
add_location(main, file$s, 59, 2, 1838);
|
||||
},
|
||||
m: function mount(target, anchor) {
|
||||
insert_dev(target, main, anchor);
|
||||
@@ -2838,7 +2838,7 @@ var app = (function () {
|
||||
return block;
|
||||
}
|
||||
|
||||
function create_fragment$w(ctx) {
|
||||
function create_fragment$v(ctx) {
|
||||
let div;
|
||||
let if_block = /*user*/ ctx[0] !== undefined && create_if_block$a(ctx);
|
||||
|
||||
@@ -2847,7 +2847,7 @@ var app = (function () {
|
||||
div = element("div");
|
||||
if (if_block) if_block.c();
|
||||
attr_dev(div, "class", "outer svelte-16aefqu");
|
||||
add_location(div, file$t, 57, 0, 1789);
|
||||
add_location(div, file$s, 57, 0, 1789);
|
||||
},
|
||||
l: function claim(nodes) {
|
||||
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
||||
@@ -2880,7 +2880,7 @@ var app = (function () {
|
||||
|
||||
dispatch_dev("SvelteRegisterBlock", {
|
||||
block,
|
||||
id: create_fragment$w.name,
|
||||
id: create_fragment$v.name,
|
||||
type: "component",
|
||||
source: "",
|
||||
ctx
|
||||
@@ -2889,7 +2889,7 @@ var app = (function () {
|
||||
return block;
|
||||
}
|
||||
|
||||
function instance$w($$self, $$props, $$invalidate) {
|
||||
function instance$v($$self, $$props, $$invalidate) {
|
||||
let { $$slots: slots = {}, $$scope } = $$props;
|
||||
validate_slots('GenerateUserDisplay', slots, []);
|
||||
let { user } = $$props;
|
||||
@@ -3038,13 +3038,13 @@ var app = (function () {
|
||||
class GenerateUserDisplay extends SvelteComponentDev {
|
||||
constructor(options) {
|
||||
super(options);
|
||||
init$1(this, options, instance$w, create_fragment$w, safe_not_equal, { user: 0, primary: 4 });
|
||||
init$1(this, options, instance$v, create_fragment$v, safe_not_equal, { user: 0, primary: 4 });
|
||||
|
||||
dispatch_dev("SvelteRegisterComponent", {
|
||||
component: this,
|
||||
tagName: "GenerateUserDisplay",
|
||||
options,
|
||||
id: create_fragment$w.name
|
||||
id: create_fragment$v.name
|
||||
});
|
||||
}
|
||||
|
||||
@@ -3065,285 +3065,6 @@ var app = (function () {
|
||||
}
|
||||
}
|
||||
|
||||
/* src/pieces/chat/tmp_debug.svelte generated by Svelte v3.53.1 */
|
||||
|
||||
const file$s = "src/pieces/chat/tmp_debug.svelte";
|
||||
|
||||
function create_fragment$v(ctx) {
|
||||
let div;
|
||||
let p;
|
||||
let t1;
|
||||
let button0;
|
||||
let t3;
|
||||
let button1;
|
||||
let t5;
|
||||
let button2;
|
||||
let t7;
|
||||
let button3;
|
||||
let t9;
|
||||
let button4;
|
||||
let t11;
|
||||
let button5;
|
||||
let t13;
|
||||
let button6;
|
||||
let t15;
|
||||
let button7;
|
||||
let t17;
|
||||
let button8;
|
||||
let t19;
|
||||
let button9;
|
||||
let t21;
|
||||
let button10;
|
||||
let mounted;
|
||||
let dispose;
|
||||
|
||||
const block = {
|
||||
c: function create() {
|
||||
div = element("div");
|
||||
p = element("p");
|
||||
p.textContent = "temp, for testing :";
|
||||
t1 = space();
|
||||
button0 = element("button");
|
||||
button0.textContent = "close";
|
||||
t3 = space();
|
||||
button1 = element("button");
|
||||
button1.textContent = "home";
|
||||
t5 = space();
|
||||
button2 = element("button");
|
||||
button2.textContent = "room";
|
||||
t7 = space();
|
||||
button3 = element("button");
|
||||
button3.textContent = "new";
|
||||
t9 = space();
|
||||
button4 = element("button");
|
||||
button4.textContent = "settings";
|
||||
t11 = space();
|
||||
button5 = element("button");
|
||||
button5.textContent = "room_set";
|
||||
t13 = space();
|
||||
button6 = element("button");
|
||||
button6.textContent = "protected";
|
||||
t15 = space();
|
||||
button7 = element("button");
|
||||
button7.textContent = "create";
|
||||
t17 = space();
|
||||
button8 = element("button");
|
||||
button8.textContent = "mute";
|
||||
t19 = space();
|
||||
button9 = element("button");
|
||||
button9.textContent = "user from settings";
|
||||
t21 = space();
|
||||
button10 = element("button");
|
||||
button10.textContent = "user from room_set";
|
||||
add_location(p, file$s, 8, 1, 209);
|
||||
add_location(button0, file$s, 9, 1, 237);
|
||||
add_location(button1, file$s, 10, 1, 305);
|
||||
add_location(button2, file$s, 11, 1, 372);
|
||||
add_location(button3, file$s, 12, 1, 439);
|
||||
add_location(button4, file$s, 13, 1, 505);
|
||||
add_location(button5, file$s, 14, 1, 576);
|
||||
add_location(button6, file$s, 15, 1, 647);
|
||||
add_location(button7, file$s, 16, 1, 719);
|
||||
add_location(button8, file$s, 17, 1, 788);
|
||||
add_location(button9, file$s, 18, 1, 855);
|
||||
add_location(button10, file$s, 22, 1, 975);
|
||||
set_style(div, "display", "flex");
|
||||
set_style(div, "flex-direction", "column");
|
||||
set_style(div, "font-size", "12px");
|
||||
set_style(div, "position", "fixed");
|
||||
set_style(div, "top", "20px");
|
||||
set_style(div, "left", "20px");
|
||||
set_style(div, "background-color", "white");
|
||||
add_location(div, file$s, 7, 0, 73);
|
||||
},
|
||||
l: function claim(nodes) {
|
||||
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
||||
},
|
||||
m: function mount(target, anchor) {
|
||||
insert_dev(target, div, anchor);
|
||||
append_dev(div, p);
|
||||
append_dev(div, t1);
|
||||
append_dev(div, button0);
|
||||
append_dev(div, t3);
|
||||
append_dev(div, button1);
|
||||
append_dev(div, t5);
|
||||
append_dev(div, button2);
|
||||
append_dev(div, t7);
|
||||
append_dev(div, button3);
|
||||
append_dev(div, t9);
|
||||
append_dev(div, button4);
|
||||
append_dev(div, t11);
|
||||
append_dev(div, button5);
|
||||
append_dev(div, t13);
|
||||
append_dev(div, button6);
|
||||
append_dev(div, t15);
|
||||
append_dev(div, button7);
|
||||
append_dev(div, t17);
|
||||
append_dev(div, button8);
|
||||
append_dev(div, t19);
|
||||
append_dev(div, button9);
|
||||
append_dev(div, t21);
|
||||
append_dev(div, button10);
|
||||
|
||||
if (!mounted) {
|
||||
dispose = [
|
||||
listen_dev(button0, "click", /*click_handler*/ ctx[2], false, false, false),
|
||||
listen_dev(button1, "click", /*click_handler_1*/ ctx[3], false, false, false),
|
||||
listen_dev(button2, "click", /*click_handler_2*/ ctx[4], false, false, false),
|
||||
listen_dev(button3, "click", /*click_handler_3*/ ctx[5], false, false, false),
|
||||
listen_dev(button4, "click", /*click_handler_4*/ ctx[6], false, false, false),
|
||||
listen_dev(button5, "click", /*click_handler_5*/ ctx[7], false, false, false),
|
||||
listen_dev(button6, "click", /*click_handler_6*/ ctx[8], false, false, false),
|
||||
listen_dev(button7, "click", /*click_handler_7*/ ctx[9], false, false, false),
|
||||
listen_dev(button8, "click", /*click_handler_8*/ ctx[10], false, false, false),
|
||||
listen_dev(button9, "click", /*click_handler_9*/ ctx[11], false, false, false),
|
||||
listen_dev(button10, "click", /*click_handler_10*/ ctx[12], false, false, false)
|
||||
];
|
||||
|
||||
mounted = true;
|
||||
}
|
||||
},
|
||||
p: noop,
|
||||
i: noop,
|
||||
o: noop,
|
||||
d: function destroy(detaching) {
|
||||
if (detaching) detach_dev(div);
|
||||
mounted = false;
|
||||
run_all(dispose);
|
||||
}
|
||||
};
|
||||
|
||||
dispatch_dev("SvelteRegisterBlock", {
|
||||
block,
|
||||
id: create_fragment$v.name,
|
||||
type: "component",
|
||||
source: "",
|
||||
ctx
|
||||
});
|
||||
|
||||
return block;
|
||||
}
|
||||
|
||||
function instance$v($$self, $$props, $$invalidate) {
|
||||
let { $$slots: slots = {}, $$scope } = $$props;
|
||||
validate_slots('Tmp_debug', slots, []);
|
||||
let { layout = "" } = $$props;
|
||||
let { layouts = [] } = $$props;
|
||||
const writable_props = ['layout', 'layouts'];
|
||||
|
||||
Object.keys($$props).forEach(key => {
|
||||
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(`<Tmp_debug> was created with unknown prop '${key}'`);
|
||||
});
|
||||
|
||||
const click_handler = function () {
|
||||
$$invalidate(0, layout = "close");
|
||||
};
|
||||
|
||||
const click_handler_1 = function () {
|
||||
$$invalidate(0, layout = "home");
|
||||
};
|
||||
|
||||
const click_handler_2 = function () {
|
||||
$$invalidate(0, layout = "room");
|
||||
};
|
||||
|
||||
const click_handler_3 = function () {
|
||||
$$invalidate(0, layout = "new");
|
||||
};
|
||||
|
||||
const click_handler_4 = function () {
|
||||
$$invalidate(0, layout = "settings");
|
||||
};
|
||||
|
||||
const click_handler_5 = function () {
|
||||
$$invalidate(0, layout = "room_set");
|
||||
};
|
||||
|
||||
const click_handler_6 = function () {
|
||||
$$invalidate(0, layout = "protected");
|
||||
};
|
||||
|
||||
const click_handler_7 = function () {
|
||||
$$invalidate(0, layout = "create");
|
||||
};
|
||||
|
||||
const click_handler_8 = function () {
|
||||
$$invalidate(0, layout = "mute");
|
||||
};
|
||||
|
||||
const click_handler_9 = function () {
|
||||
$$invalidate(1, layouts = ["settings", "settings"]);
|
||||
$$invalidate(0, layout = "user");
|
||||
};
|
||||
|
||||
const click_handler_10 = function () {
|
||||
$$invalidate(1, layouts = ["room_set", "room_set"]);
|
||||
$$invalidate(0, layout = "user");
|
||||
};
|
||||
|
||||
$$self.$$set = $$props => {
|
||||
if ('layout' in $$props) $$invalidate(0, layout = $$props.layout);
|
||||
if ('layouts' in $$props) $$invalidate(1, layouts = $$props.layouts);
|
||||
};
|
||||
|
||||
$$self.$capture_state = () => ({ layout, layouts });
|
||||
|
||||
$$self.$inject_state = $$props => {
|
||||
if ('layout' in $$props) $$invalidate(0, layout = $$props.layout);
|
||||
if ('layouts' in $$props) $$invalidate(1, layouts = $$props.layouts);
|
||||
};
|
||||
|
||||
if ($$props && "$$inject" in $$props) {
|
||||
$$self.$inject_state($$props.$$inject);
|
||||
}
|
||||
|
||||
return [
|
||||
layout,
|
||||
layouts,
|
||||
click_handler,
|
||||
click_handler_1,
|
||||
click_handler_2,
|
||||
click_handler_3,
|
||||
click_handler_4,
|
||||
click_handler_5,
|
||||
click_handler_6,
|
||||
click_handler_7,
|
||||
click_handler_8,
|
||||
click_handler_9,
|
||||
click_handler_10
|
||||
];
|
||||
}
|
||||
|
||||
class Tmp_debug extends SvelteComponentDev {
|
||||
constructor(options) {
|
||||
super(options);
|
||||
init$1(this, options, instance$v, create_fragment$v, safe_not_equal, { layout: 0, layouts: 1 });
|
||||
|
||||
dispatch_dev("SvelteRegisterComponent", {
|
||||
component: this,
|
||||
tagName: "Tmp_debug",
|
||||
options,
|
||||
id: create_fragment$v.name
|
||||
});
|
||||
}
|
||||
|
||||
get layout() {
|
||||
throw new Error("<Tmp_debug>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
|
||||
}
|
||||
|
||||
set layout(value) {
|
||||
throw new Error("<Tmp_debug>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
|
||||
}
|
||||
|
||||
get layouts() {
|
||||
throw new Error("<Tmp_debug>: Props cannot be read directly from the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
|
||||
}
|
||||
|
||||
set layouts(value) {
|
||||
throw new Error("<Tmp_debug>: Props cannot be set directly on the component instance unless compiling with 'accessors: true' or '<svelte:options accessors/>'");
|
||||
}
|
||||
}
|
||||
|
||||
/* src/pieces/chat/Chat_box_css.svelte generated by Svelte v3.53.1 */
|
||||
|
||||
const file$r = "src/pieces/chat/Chat_box_css.svelte";
|
||||
@@ -12858,7 +12579,7 @@ var app = (function () {
|
||||
|
||||
/* src/pieces/chat/Chat_layouts.svelte generated by Svelte v3.53.1 */
|
||||
|
||||
// (66:29)
|
||||
// (65:29)
|
||||
function create_if_block_9(ctx) {
|
||||
let userlayout;
|
||||
let updating_layout;
|
||||
@@ -12915,14 +12636,14 @@ var app = (function () {
|
||||
block,
|
||||
id: create_if_block_9.name,
|
||||
type: "if",
|
||||
source: "(66:29) ",
|
||||
source: "(65:29) ",
|
||||
ctx
|
||||
});
|
||||
|
||||
return block;
|
||||
}
|
||||
|
||||
// (63:29)
|
||||
// (62:29)
|
||||
function create_if_block_8$1(ctx) {
|
||||
let mutelayout;
|
||||
let updating_layout;
|
||||
@@ -12979,14 +12700,14 @@ var app = (function () {
|
||||
block,
|
||||
id: create_if_block_8$1.name,
|
||||
type: "if",
|
||||
source: "(63:29) ",
|
||||
source: "(62:29) ",
|
||||
ctx
|
||||
});
|
||||
|
||||
return block;
|
||||
}
|
||||
|
||||
// (60:31)
|
||||
// (59:31)
|
||||
function create_if_block_7$1(ctx) {
|
||||
let createlayout;
|
||||
let updating_layout;
|
||||
@@ -13047,14 +12768,14 @@ var app = (function () {
|
||||
block,
|
||||
id: create_if_block_7$1.name,
|
||||
type: "if",
|
||||
source: "(60:31) ",
|
||||
source: "(59:31) ",
|
||||
ctx
|
||||
});
|
||||
|
||||
return block;
|
||||
}
|
||||
|
||||
// (57:34)
|
||||
// (56:34)
|
||||
function create_if_block_6$1(ctx) {
|
||||
let protectedlayout;
|
||||
let updating_layout;
|
||||
@@ -13115,14 +12836,14 @@ var app = (function () {
|
||||
block,
|
||||
id: create_if_block_6$1.name,
|
||||
type: "if",
|
||||
source: "(57:34) ",
|
||||
source: "(56:34) ",
|
||||
ctx
|
||||
});
|
||||
|
||||
return block;
|
||||
}
|
||||
|
||||
// (54:33)
|
||||
// (53:33)
|
||||
function create_if_block_5$1(ctx) {
|
||||
let roomsetlayout;
|
||||
let updating_layout;
|
||||
@@ -13183,14 +12904,14 @@ var app = (function () {
|
||||
block,
|
||||
id: create_if_block_5$1.name,
|
||||
type: "if",
|
||||
source: "(54:33) ",
|
||||
source: "(53:33) ",
|
||||
ctx
|
||||
});
|
||||
|
||||
return block;
|
||||
}
|
||||
|
||||
// (51:33)
|
||||
// (50:33)
|
||||
function create_if_block_4$1(ctx) {
|
||||
let settingslayout;
|
||||
let updating_layout;
|
||||
@@ -13251,14 +12972,14 @@ var app = (function () {
|
||||
block,
|
||||
id: create_if_block_4$1.name,
|
||||
type: "if",
|
||||
source: "(51:33) ",
|
||||
source: "(50:33) ",
|
||||
ctx
|
||||
});
|
||||
|
||||
return block;
|
||||
}
|
||||
|
||||
// (48:28)
|
||||
// (47:28)
|
||||
function create_if_block_3$1(ctx) {
|
||||
let newlayout;
|
||||
let updating_layout;
|
||||
@@ -13315,14 +13036,14 @@ var app = (function () {
|
||||
block,
|
||||
id: create_if_block_3$1.name,
|
||||
type: "if",
|
||||
source: "(48:28) ",
|
||||
source: "(47:28) ",
|
||||
ctx
|
||||
});
|
||||
|
||||
return block;
|
||||
}
|
||||
|
||||
// (45:29)
|
||||
// (44:29)
|
||||
function create_if_block_2$1(ctx) {
|
||||
let roomlayout;
|
||||
let updating_layout;
|
||||
@@ -13379,14 +13100,14 @@ var app = (function () {
|
||||
block,
|
||||
id: create_if_block_2$1.name,
|
||||
type: "if",
|
||||
source: "(45:29) ",
|
||||
source: "(44:29) ",
|
||||
ctx
|
||||
});
|
||||
|
||||
return block;
|
||||
}
|
||||
|
||||
// (42:30)
|
||||
// (41:30)
|
||||
function create_if_block_1$2(ctx) {
|
||||
let closelayout;
|
||||
let updating_layout;
|
||||
@@ -13442,14 +13163,14 @@ var app = (function () {
|
||||
block,
|
||||
id: create_if_block_1$2.name,
|
||||
type: "if",
|
||||
source: "(42:30) ",
|
||||
source: "(41:30) ",
|
||||
ctx
|
||||
});
|
||||
|
||||
return block;
|
||||
}
|
||||
|
||||
// (39:1) {#if layout === "home"}
|
||||
// (38:1) {#if layout === "home"}
|
||||
function create_if_block$8(ctx) {
|
||||
let homelayout;
|
||||
let updating_layout;
|
||||
@@ -13505,14 +13226,14 @@ var app = (function () {
|
||||
block,
|
||||
id: create_if_block$8.name,
|
||||
type: "if",
|
||||
source: "(39:1) {#if layout === \\\"home\\\"}",
|
||||
source: "(38:1) {#if layout === \\\"home\\\"}",
|
||||
ctx
|
||||
});
|
||||
|
||||
return block;
|
||||
}
|
||||
|
||||
// (37:0) <ChatBox layout={layout} color={color}>
|
||||
// (36:0) <ChatBox layout={layout} color={color}>
|
||||
function create_default_slot$2(ctx) {
|
||||
let current_block_type_index;
|
||||
let if_block;
|
||||
@@ -13623,7 +13344,7 @@ var app = (function () {
|
||||
block,
|
||||
id: create_default_slot$2.name,
|
||||
type: "slot",
|
||||
source: "(37:0) <ChatBox layout={layout} color={color}>",
|
||||
source: "(36:0) <ChatBox layout={layout} color={color}>",
|
||||
ctx
|
||||
});
|
||||
|
||||
@@ -13632,10 +13353,6 @@ var app = (function () {
|
||||
|
||||
function create_fragment$h(ctx) {
|
||||
let chatbox;
|
||||
let t;
|
||||
let debug_1;
|
||||
let updating_layout;
|
||||
let updating_layouts;
|
||||
let current;
|
||||
|
||||
chatbox = new Chat_box_css({
|
||||
@@ -13648,41 +13365,15 @@ var app = (function () {
|
||||
$$inline: true
|
||||
});
|
||||
|
||||
function debug_1_layout_binding(value) {
|
||||
/*debug_1_layout_binding*/ ctx[13](value);
|
||||
}
|
||||
|
||||
function debug_1_layouts_binding(value) {
|
||||
/*debug_1_layouts_binding*/ ctx[14](value);
|
||||
}
|
||||
|
||||
let debug_1_props = {};
|
||||
|
||||
if (/*layout*/ ctx[1] !== void 0) {
|
||||
debug_1_props.layout = /*layout*/ ctx[1];
|
||||
}
|
||||
|
||||
if (/*layouts*/ ctx[2] !== void 0) {
|
||||
debug_1_props.layouts = /*layouts*/ ctx[2];
|
||||
}
|
||||
|
||||
debug_1 = new Tmp_debug({ props: debug_1_props, $$inline: true });
|
||||
binding_callbacks.push(() => bind(debug_1, 'layout', debug_1_layout_binding));
|
||||
binding_callbacks.push(() => bind(debug_1, 'layouts', debug_1_layouts_binding));
|
||||
|
||||
const block = {
|
||||
c: function create() {
|
||||
create_component(chatbox.$$.fragment);
|
||||
t = space();
|
||||
create_component(debug_1.$$.fragment);
|
||||
},
|
||||
l: function claim(nodes) {
|
||||
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
||||
},
|
||||
m: function mount(target, anchor) {
|
||||
mount_component(chatbox, target, anchor);
|
||||
insert_dev(target, t, anchor);
|
||||
mount_component(debug_1, target, anchor);
|
||||
current = true;
|
||||
},
|
||||
p: function update(ctx, [dirty]) {
|
||||
@@ -13690,42 +13381,23 @@ var app = (function () {
|
||||
if (dirty & /*layout*/ 2) chatbox_changes.layout = /*layout*/ ctx[1];
|
||||
if (dirty & /*color*/ 1) chatbox_changes.color = /*color*/ ctx[0];
|
||||
|
||||
if (dirty & /*$$scope, layout, layouts*/ 262150) {
|
||||
if (dirty & /*$$scope, layout, layouts*/ 65542) {
|
||||
chatbox_changes.$$scope = { dirty, ctx };
|
||||
}
|
||||
|
||||
chatbox.$set(chatbox_changes);
|
||||
const debug_1_changes = {};
|
||||
|
||||
if (!updating_layout && dirty & /*layout*/ 2) {
|
||||
updating_layout = true;
|
||||
debug_1_changes.layout = /*layout*/ ctx[1];
|
||||
add_flush_callback(() => updating_layout = false);
|
||||
}
|
||||
|
||||
if (!updating_layouts && dirty & /*layouts*/ 4) {
|
||||
updating_layouts = true;
|
||||
debug_1_changes.layouts = /*layouts*/ ctx[2];
|
||||
add_flush_callback(() => updating_layouts = false);
|
||||
}
|
||||
|
||||
debug_1.$set(debug_1_changes);
|
||||
},
|
||||
i: function intro(local) {
|
||||
if (current) return;
|
||||
transition_in(chatbox.$$.fragment, local);
|
||||
transition_in(debug_1.$$.fragment, local);
|
||||
current = true;
|
||||
},
|
||||
o: function outro(local) {
|
||||
transition_out(chatbox.$$.fragment, local);
|
||||
transition_out(debug_1.$$.fragment, local);
|
||||
current = false;
|
||||
},
|
||||
d: function destroy(detaching) {
|
||||
destroy_component(chatbox, detaching);
|
||||
if (detaching) detach_dev(t);
|
||||
destroy_component(debug_1, detaching);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -13819,22 +13491,11 @@ var app = (function () {
|
||||
$$invalidate(1, layout);
|
||||
}
|
||||
|
||||
function debug_1_layout_binding(value) {
|
||||
layout = value;
|
||||
$$invalidate(1, layout);
|
||||
}
|
||||
|
||||
function debug_1_layouts_binding(value) {
|
||||
layouts = value;
|
||||
$$invalidate(2, layouts);
|
||||
}
|
||||
|
||||
$$self.$$set = $$props => {
|
||||
if ('color' in $$props) $$invalidate(0, color = $$props.color);
|
||||
};
|
||||
|
||||
$$self.$capture_state = () => ({
|
||||
Debug: Tmp_debug,
|
||||
ChatBox: Chat_box_css,
|
||||
CloseLayout: Layout_close,
|
||||
HomeLayout: Layout_home,
|
||||
@@ -13885,9 +13546,7 @@ var app = (function () {
|
||||
protectedlayout_layout_binding,
|
||||
createlayout_layout_binding,
|
||||
mutelayout_layout_binding,
|
||||
userlayout_layout_binding,
|
||||
debug_1_layout_binding,
|
||||
debug_1_layouts_binding
|
||||
userlayout_layout_binding
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user