@netless/fastboard-ui 0.3.2-canary.1 → 0.3.2-canary.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +23 -1
- package/dist/index.js +531 -172
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +531 -172
- package/dist/index.mjs.map +1 -1
- package/dist/index.svelte.mjs +947 -568
- package/dist/index.svelte.mjs.map +1 -1
- package/package.json +3 -3
- package/src/components/Fastboard/Fastboard.svelte +14 -5
- package/src/components/Fastboard/Fastboard.svelte.ts +2 -1
- package/src/components/Toolbar/Toolbar.scss +7 -0
- package/src/components/Toolbar/components/Contents.svelte +2 -1
- package/src/components/Toolbar/components/TextColor.svelte +39 -0
- package/src/index.ts +1 -1
- package/src/typings.ts +15 -0
package/dist/index.js
CHANGED
|
@@ -50,7 +50,7 @@ __export(src_exports, {
|
|
|
50
50
|
});
|
|
51
51
|
module.exports = __toCommonJS(src_exports);
|
|
52
52
|
|
|
53
|
-
// ../../node_modules/.pnpm/svelte@3.46.
|
|
53
|
+
// ../../node_modules/.pnpm/svelte@3.46.5/node_modules/svelte/internal/index.mjs
|
|
54
54
|
function noop() {
|
|
55
55
|
}
|
|
56
56
|
function assign(tar, src) {
|
|
@@ -356,7 +356,7 @@ function outro_and_destroy_block(block, lookup) {
|
|
|
356
356
|
lookup.delete(block.key);
|
|
357
357
|
});
|
|
358
358
|
}
|
|
359
|
-
function update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy,
|
|
359
|
+
function update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block6, next, get_context) {
|
|
360
360
|
let o = old_blocks.length;
|
|
361
361
|
let n = list.length;
|
|
362
362
|
let i = o;
|
|
@@ -372,7 +372,7 @@ function update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, looku
|
|
|
372
372
|
const key = get_key(child_ctx);
|
|
373
373
|
let block = lookup.get(key);
|
|
374
374
|
if (!block) {
|
|
375
|
-
block =
|
|
375
|
+
block = create_each_block6(key, child_ctx);
|
|
376
376
|
block.c();
|
|
377
377
|
} else if (dynamic) {
|
|
378
378
|
block.p(child_ctx, dirty);
|
|
@@ -494,7 +494,7 @@ function make_dirty(component, i) {
|
|
|
494
494
|
}
|
|
495
495
|
component.$$.dirty[i / 31 | 0] |= 1 << i % 31;
|
|
496
496
|
}
|
|
497
|
-
function init(component, options,
|
|
497
|
+
function init(component, options, instance60, create_fragment60, not_equal, props, append_styles, dirty = [-1]) {
|
|
498
498
|
const parent_component = current_component;
|
|
499
499
|
set_current_component(component);
|
|
500
500
|
const $$ = component.$$ = {
|
|
@@ -517,7 +517,7 @@ function init(component, options, instance59, create_fragment59, not_equal, prop
|
|
|
517
517
|
};
|
|
518
518
|
append_styles && append_styles($$.root);
|
|
519
519
|
let ready = false;
|
|
520
|
-
$$.ctx =
|
|
520
|
+
$$.ctx = instance60 ? instance60(component, options.props || {}, (i, ret, ...rest) => {
|
|
521
521
|
const value = rest.length ? rest[0] : ret;
|
|
522
522
|
if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {
|
|
523
523
|
if (!$$.skip_bound && $$.bound[i])
|
|
@@ -530,7 +530,7 @@ function init(component, options, instance59, create_fragment59, not_equal, prop
|
|
|
530
530
|
$$.update();
|
|
531
531
|
ready = true;
|
|
532
532
|
run_all($$.before_update);
|
|
533
|
-
$$.fragment =
|
|
533
|
+
$$.fragment = create_fragment60 ? create_fragment60($$.ctx) : false;
|
|
534
534
|
if (options.target) {
|
|
535
535
|
if (options.hydrate) {
|
|
536
536
|
start_hydrating();
|
|
@@ -3511,12 +3511,12 @@ if (is_client) {
|
|
|
3511
3511
|
{
|
|
3512
3512
|
name: "className",
|
|
3513
3513
|
defaultValue: "",
|
|
3514
|
-
fn(
|
|
3514
|
+
fn(instance60) {
|
|
3515
3515
|
function add() {
|
|
3516
|
-
const el =
|
|
3516
|
+
const el = instance60.popper.firstElementChild;
|
|
3517
3517
|
if (el) {
|
|
3518
3518
|
el.classList.add("fastboard-tip");
|
|
3519
|
-
const extra = (
|
|
3519
|
+
const extra = (instance60.props.className || "").trim();
|
|
3520
3520
|
if (extra) {
|
|
3521
3521
|
el.classList.add(extra);
|
|
3522
3522
|
}
|
|
@@ -3524,7 +3524,7 @@ if (is_client) {
|
|
|
3524
3524
|
}
|
|
3525
3525
|
function remove() {
|
|
3526
3526
|
var _a;
|
|
3527
|
-
(_a =
|
|
3527
|
+
(_a = instance60.popper.firstElementChild) == null ? void 0 : _a.classList.remove("fastboard-tip");
|
|
3528
3528
|
}
|
|
3529
3529
|
return {
|
|
3530
3530
|
onCreate: add,
|
|
@@ -3537,21 +3537,21 @@ if (is_client) {
|
|
|
3537
3537
|
});
|
|
3538
3538
|
}
|
|
3539
3539
|
var tippy = function(node, props) {
|
|
3540
|
-
const
|
|
3540
|
+
const instance60 = (0, import_tippy.default)(node, props);
|
|
3541
3541
|
return {
|
|
3542
3542
|
update(props2) {
|
|
3543
|
-
|
|
3543
|
+
instance60.setProps(props2);
|
|
3544
3544
|
},
|
|
3545
3545
|
destroy() {
|
|
3546
|
-
|
|
3546
|
+
instance60.destroy();
|
|
3547
3547
|
}
|
|
3548
3548
|
};
|
|
3549
3549
|
};
|
|
3550
3550
|
function tippy_hide_all() {
|
|
3551
3551
|
document.querySelectorAll("[data-tippy-root]").forEach((el) => {
|
|
3552
|
-
const
|
|
3553
|
-
if (
|
|
3554
|
-
|
|
3552
|
+
const instance60 = el._tippy;
|
|
3553
|
+
if (instance60)
|
|
3554
|
+
instance60.hide();
|
|
3555
3555
|
});
|
|
3556
3556
|
}
|
|
3557
3557
|
var tippy_menu = {
|
|
@@ -5516,7 +5516,7 @@ var ZoomControl = class extends SvelteComponent {
|
|
|
5516
5516
|
};
|
|
5517
5517
|
var ZoomControl_default = ZoomControl;
|
|
5518
5518
|
|
|
5519
|
-
// ../../node_modules/.pnpm/svelte@3.46.
|
|
5519
|
+
// ../../node_modules/.pnpm/svelte@3.46.5/node_modules/svelte/store/index.mjs
|
|
5520
5520
|
var subscriber_queue = [];
|
|
5521
5521
|
function writable(value, start = noop) {
|
|
5522
5522
|
let stop;
|
|
@@ -6194,8 +6194,160 @@ var StrokeColor = class extends SvelteComponent {
|
|
|
6194
6194
|
};
|
|
6195
6195
|
var StrokeColor_default = StrokeColor;
|
|
6196
6196
|
|
|
6197
|
-
// src/components/Toolbar/components/
|
|
6197
|
+
// src/components/Toolbar/components/TextColor.svelte
|
|
6198
6198
|
function get_each_context2(ctx, list, i) {
|
|
6199
|
+
const child_ctx = ctx.slice();
|
|
6200
|
+
child_ctx[7] = list[i];
|
|
6201
|
+
return child_ctx;
|
|
6202
|
+
}
|
|
6203
|
+
function create_each_block2(key_1, ctx) {
|
|
6204
|
+
let button;
|
|
6205
|
+
let span;
|
|
6206
|
+
let t;
|
|
6207
|
+
let button_class_value;
|
|
6208
|
+
let button_data_color_key_value;
|
|
6209
|
+
return {
|
|
6210
|
+
key: key_1,
|
|
6211
|
+
first: null,
|
|
6212
|
+
c() {
|
|
6213
|
+
button = element("button");
|
|
6214
|
+
span = element("span");
|
|
6215
|
+
t = space();
|
|
6216
|
+
attr(span, "class", "fastboard-toolbar-color-item");
|
|
6217
|
+
set_style(span, "background-color", ctx[7], false);
|
|
6218
|
+
attr(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-color-btn " + ctx[0]);
|
|
6219
|
+
attr(button, "data-color-key", button_data_color_key_value = ctx[7]);
|
|
6220
|
+
button.disabled = ctx[1];
|
|
6221
|
+
toggle_class(button, "is-active", is_equal_color2(ctx[2], colors[ctx[7]]));
|
|
6222
|
+
this.first = button;
|
|
6223
|
+
},
|
|
6224
|
+
m(target, anchor) {
|
|
6225
|
+
insert(target, button, anchor);
|
|
6226
|
+
append(button, span);
|
|
6227
|
+
append(button, t);
|
|
6228
|
+
},
|
|
6229
|
+
p(new_ctx, dirty) {
|
|
6230
|
+
ctx = new_ctx;
|
|
6231
|
+
if (dirty & 1 && button_class_value !== (button_class_value = "fastboard-toolbar-btn fastboard-toolbar-color-btn " + ctx[0])) {
|
|
6232
|
+
attr(button, "class", button_class_value);
|
|
6233
|
+
}
|
|
6234
|
+
if (dirty & 2) {
|
|
6235
|
+
button.disabled = ctx[1];
|
|
6236
|
+
}
|
|
6237
|
+
if (dirty & 5) {
|
|
6238
|
+
toggle_class(button, "is-active", is_equal_color2(ctx[2], colors[ctx[7]]));
|
|
6239
|
+
}
|
|
6240
|
+
},
|
|
6241
|
+
d(detaching) {
|
|
6242
|
+
if (detaching)
|
|
6243
|
+
detach(button);
|
|
6244
|
+
}
|
|
6245
|
+
};
|
|
6246
|
+
}
|
|
6247
|
+
function create_fragment53(ctx) {
|
|
6248
|
+
let div;
|
|
6249
|
+
let each_blocks = [];
|
|
6250
|
+
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
6251
|
+
let div_class_value;
|
|
6252
|
+
let mounted;
|
|
6253
|
+
let dispose;
|
|
6254
|
+
let each_value = colorKeys;
|
|
6255
|
+
const get_key = (ctx2) => ctx2[7];
|
|
6256
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
6257
|
+
let child_ctx = get_each_context2(ctx, each_value, i);
|
|
6258
|
+
let key = get_key(child_ctx);
|
|
6259
|
+
each_1_lookup.set(key, each_blocks[i] = create_each_block2(key, child_ctx));
|
|
6260
|
+
}
|
|
6261
|
+
return {
|
|
6262
|
+
c() {
|
|
6263
|
+
div = element("div");
|
|
6264
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
6265
|
+
each_blocks[i].c();
|
|
6266
|
+
}
|
|
6267
|
+
attr(div, "class", div_class_value = "fastboard-toolbar-colors " + ctx[0]);
|
|
6268
|
+
},
|
|
6269
|
+
m(target, anchor) {
|
|
6270
|
+
insert(target, div, anchor);
|
|
6271
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
6272
|
+
each_blocks[i].m(div, null);
|
|
6273
|
+
}
|
|
6274
|
+
if (!mounted) {
|
|
6275
|
+
dispose = listen(div, "click", ctx[4]);
|
|
6276
|
+
mounted = true;
|
|
6277
|
+
}
|
|
6278
|
+
},
|
|
6279
|
+
p(ctx2, [dirty]) {
|
|
6280
|
+
if (dirty & 7) {
|
|
6281
|
+
each_value = colorKeys;
|
|
6282
|
+
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx2, each_value, each_1_lookup, div, destroy_block, create_each_block2, null, get_each_context2);
|
|
6283
|
+
}
|
|
6284
|
+
if (dirty & 1 && div_class_value !== (div_class_value = "fastboard-toolbar-colors " + ctx2[0])) {
|
|
6285
|
+
attr(div, "class", div_class_value);
|
|
6286
|
+
}
|
|
6287
|
+
},
|
|
6288
|
+
i: noop,
|
|
6289
|
+
o: noop,
|
|
6290
|
+
d(detaching) {
|
|
6291
|
+
if (detaching)
|
|
6292
|
+
detach(div);
|
|
6293
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
6294
|
+
each_blocks[i].d();
|
|
6295
|
+
}
|
|
6296
|
+
mounted = false;
|
|
6297
|
+
dispose();
|
|
6298
|
+
}
|
|
6299
|
+
};
|
|
6300
|
+
}
|
|
6301
|
+
function is_equal_color2(a, b) {
|
|
6302
|
+
return a && b && a.every((v, i) => v === b[i]);
|
|
6303
|
+
}
|
|
6304
|
+
function instance53($$self, $$props, $$invalidate) {
|
|
6305
|
+
let memberState;
|
|
6306
|
+
let textColor;
|
|
6307
|
+
let $memberState, $$unsubscribe_memberState = noop, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe(memberState, ($$value) => $$invalidate(6, $memberState = $$value)), memberState);
|
|
6308
|
+
$$self.$$.on_destroy.push(() => $$unsubscribe_memberState());
|
|
6309
|
+
let { app = null } = $$props;
|
|
6310
|
+
let { theme = "light" } = $$props;
|
|
6311
|
+
let { disabled = false } = $$props;
|
|
6312
|
+
function set_stroke_color(ev) {
|
|
6313
|
+
let button = ev.target;
|
|
6314
|
+
if (button && button.dataset.colorKey) {
|
|
6315
|
+
let color = colors[button.dataset.colorKey];
|
|
6316
|
+
if (color && app) {
|
|
6317
|
+
app.setTextColor(color);
|
|
6318
|
+
}
|
|
6319
|
+
}
|
|
6320
|
+
}
|
|
6321
|
+
$$self.$$set = ($$props2) => {
|
|
6322
|
+
if ("app" in $$props2)
|
|
6323
|
+
$$invalidate(5, app = $$props2.app);
|
|
6324
|
+
if ("theme" in $$props2)
|
|
6325
|
+
$$invalidate(0, theme = $$props2.theme);
|
|
6326
|
+
if ("disabled" in $$props2)
|
|
6327
|
+
$$invalidate(1, disabled = $$props2.disabled);
|
|
6328
|
+
};
|
|
6329
|
+
$$self.$$.update = () => {
|
|
6330
|
+
if ($$self.$$.dirty & 32) {
|
|
6331
|
+
$:
|
|
6332
|
+
$$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
|
|
6333
|
+
}
|
|
6334
|
+
if ($$self.$$.dirty & 64) {
|
|
6335
|
+
$:
|
|
6336
|
+
$$invalidate(2, textColor = $memberState == null ? void 0 : $memberState.textColor);
|
|
6337
|
+
}
|
|
6338
|
+
};
|
|
6339
|
+
return [theme, disabled, textColor, memberState, set_stroke_color, app, $memberState];
|
|
6340
|
+
}
|
|
6341
|
+
var TextColor = class extends SvelteComponent {
|
|
6342
|
+
constructor(options) {
|
|
6343
|
+
super();
|
|
6344
|
+
init(this, options, instance53, create_fragment53, safe_not_equal, { app: 5, theme: 0, disabled: 1 });
|
|
6345
|
+
}
|
|
6346
|
+
};
|
|
6347
|
+
var TextColor_default = TextColor;
|
|
6348
|
+
|
|
6349
|
+
// src/components/Toolbar/components/Shapes.svelte
|
|
6350
|
+
function get_each_context3(ctx, list, i) {
|
|
6199
6351
|
const child_ctx = ctx.slice();
|
|
6200
6352
|
child_ctx[12] = list[i];
|
|
6201
6353
|
const constants_0 = child_ctx[4] === "shape" ? child_ctx[3] === child_ctx[12] : child_ctx[4] === child_ctx[12];
|
|
@@ -6342,7 +6494,7 @@ function create_if_block5(ctx) {
|
|
|
6342
6494
|
}
|
|
6343
6495
|
};
|
|
6344
6496
|
}
|
|
6345
|
-
function
|
|
6497
|
+
function create_each_block3(key_1, ctx) {
|
|
6346
6498
|
let button;
|
|
6347
6499
|
let current_block_type_index;
|
|
6348
6500
|
let if_block;
|
|
@@ -6444,7 +6596,7 @@ function create_each_block2(key_1, ctx) {
|
|
|
6444
6596
|
}
|
|
6445
6597
|
};
|
|
6446
6598
|
}
|
|
6447
|
-
function
|
|
6599
|
+
function create_fragment54(ctx) {
|
|
6448
6600
|
let div;
|
|
6449
6601
|
let each_blocks = [];
|
|
6450
6602
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
@@ -6455,9 +6607,9 @@ function create_fragment53(ctx) {
|
|
|
6455
6607
|
let each_value = shapes;
|
|
6456
6608
|
const get_key = (ctx2) => ctx2[12];
|
|
6457
6609
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
6458
|
-
let child_ctx =
|
|
6610
|
+
let child_ctx = get_each_context3(ctx, each_value, i);
|
|
6459
6611
|
let key = get_key(child_ctx);
|
|
6460
|
-
each_1_lookup.set(key, each_blocks[i] =
|
|
6612
|
+
each_1_lookup.set(key, each_blocks[i] = create_each_block3(key, child_ctx));
|
|
6461
6613
|
}
|
|
6462
6614
|
return {
|
|
6463
6615
|
c() {
|
|
@@ -6482,7 +6634,7 @@ function create_fragment53(ctx) {
|
|
|
6482
6634
|
if (dirty & 95) {
|
|
6483
6635
|
each_value = shapes;
|
|
6484
6636
|
group_outros();
|
|
6485
|
-
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx2, each_value, each_1_lookup, div, outro_and_destroy_block,
|
|
6637
|
+
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx2, each_value, each_1_lookup, div, outro_and_destroy_block, create_each_block3, null, get_each_context3);
|
|
6486
6638
|
check_outros();
|
|
6487
6639
|
}
|
|
6488
6640
|
if (!current || dirty & 1 && div_class_value !== (div_class_value = "fastboard-toolbar-shapes " + ctx2[0])) {
|
|
@@ -6536,7 +6688,7 @@ var i18n5 = {
|
|
|
6536
6688
|
speechBalloon: "\u6C14\u6CE1"
|
|
6537
6689
|
}
|
|
6538
6690
|
};
|
|
6539
|
-
function
|
|
6691
|
+
function instance54($$self, $$props, $$invalidate) {
|
|
6540
6692
|
let t;
|
|
6541
6693
|
let memberState;
|
|
6542
6694
|
let appliance;
|
|
@@ -6621,7 +6773,7 @@ function instance53($$self, $$props, $$invalidate) {
|
|
|
6621
6773
|
var Shapes = class extends SvelteComponent {
|
|
6622
6774
|
constructor(options) {
|
|
6623
6775
|
super();
|
|
6624
|
-
init(this, options,
|
|
6776
|
+
init(this, options, instance54, create_fragment54, safe_not_equal, {
|
|
6625
6777
|
app: 8,
|
|
6626
6778
|
theme: 0,
|
|
6627
6779
|
language: 9,
|
|
@@ -6632,7 +6784,7 @@ var Shapes = class extends SvelteComponent {
|
|
|
6632
6784
|
var Shapes_default = Shapes;
|
|
6633
6785
|
|
|
6634
6786
|
// src/components/Toolbar/components/Contents.svelte
|
|
6635
|
-
function
|
|
6787
|
+
function get_each_context4(ctx, list, i) {
|
|
6636
6788
|
const child_ctx = ctx.slice();
|
|
6637
6789
|
child_ctx[40] = list[i];
|
|
6638
6790
|
const constants_0 = child_ctx[40];
|
|
@@ -7725,7 +7877,7 @@ function create_default_slot4(ctx) {
|
|
|
7725
7877
|
}
|
|
7726
7878
|
};
|
|
7727
7879
|
}
|
|
7728
|
-
function
|
|
7880
|
+
function create_each_block4(ctx) {
|
|
7729
7881
|
let button;
|
|
7730
7882
|
let img;
|
|
7731
7883
|
let img_class_value;
|
|
@@ -7826,7 +7978,7 @@ function create_each_block3(ctx) {
|
|
|
7826
7978
|
}
|
|
7827
7979
|
};
|
|
7828
7980
|
}
|
|
7829
|
-
function
|
|
7981
|
+
function create_fragment55(ctx) {
|
|
7830
7982
|
let t0;
|
|
7831
7983
|
let div0;
|
|
7832
7984
|
let button0;
|
|
@@ -7860,7 +8012,7 @@ function create_fragment54(ctx) {
|
|
|
7860
8012
|
let div2_class_value;
|
|
7861
8013
|
let t12;
|
|
7862
8014
|
let div3;
|
|
7863
|
-
let
|
|
8015
|
+
let textcolor;
|
|
7864
8016
|
let div3_class_value;
|
|
7865
8017
|
let t13;
|
|
7866
8018
|
let div6;
|
|
@@ -7874,7 +8026,7 @@ function create_fragment54(ctx) {
|
|
|
7874
8026
|
let div5;
|
|
7875
8027
|
let div5_class_value;
|
|
7876
8028
|
let t17;
|
|
7877
|
-
let
|
|
8029
|
+
let strokecolor1;
|
|
7878
8030
|
let div6_class_value;
|
|
7879
8031
|
let t18;
|
|
7880
8032
|
let div7;
|
|
@@ -8007,7 +8159,7 @@ function create_fragment54(ctx) {
|
|
|
8007
8159
|
disabled: ctx[3]
|
|
8008
8160
|
}
|
|
8009
8161
|
});
|
|
8010
|
-
|
|
8162
|
+
textcolor = new TextColor_default({
|
|
8011
8163
|
props: {
|
|
8012
8164
|
app: ctx[0],
|
|
8013
8165
|
theme: ctx[1],
|
|
@@ -8029,7 +8181,7 @@ function create_fragment54(ctx) {
|
|
|
8029
8181
|
disabled: ctx[3]
|
|
8030
8182
|
}
|
|
8031
8183
|
});
|
|
8032
|
-
|
|
8184
|
+
strokecolor1 = new StrokeColor_default({
|
|
8033
8185
|
props: {
|
|
8034
8186
|
app: ctx[0],
|
|
8035
8187
|
theme: ctx[1],
|
|
@@ -8039,7 +8191,7 @@ function create_fragment54(ctx) {
|
|
|
8039
8191
|
let each_value = ctx[18];
|
|
8040
8192
|
let each_blocks = [];
|
|
8041
8193
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
8042
|
-
each_blocks[i] =
|
|
8194
|
+
each_blocks[i] = create_each_block4(get_each_context4(ctx, each_value, i));
|
|
8043
8195
|
}
|
|
8044
8196
|
return {
|
|
8045
8197
|
c() {
|
|
@@ -8075,7 +8227,7 @@ function create_fragment54(ctx) {
|
|
|
8075
8227
|
create_component(strokecolor0.$$.fragment);
|
|
8076
8228
|
t12 = space();
|
|
8077
8229
|
div3 = element("div");
|
|
8078
|
-
create_component(
|
|
8230
|
+
create_component(textcolor.$$.fragment);
|
|
8079
8231
|
t13 = space();
|
|
8080
8232
|
div6 = element("div");
|
|
8081
8233
|
create_component(shapes2.$$.fragment);
|
|
@@ -8086,7 +8238,7 @@ function create_fragment54(ctx) {
|
|
|
8086
8238
|
t16 = space();
|
|
8087
8239
|
div5 = element("div");
|
|
8088
8240
|
t17 = space();
|
|
8089
|
-
create_component(
|
|
8241
|
+
create_component(strokecolor1.$$.fragment);
|
|
8090
8242
|
t18 = space();
|
|
8091
8243
|
div7 = element("div");
|
|
8092
8244
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
@@ -8139,7 +8291,7 @@ function create_fragment54(ctx) {
|
|
|
8139
8291
|
ctx[34](div2);
|
|
8140
8292
|
append(div8, t12);
|
|
8141
8293
|
append(div8, div3);
|
|
8142
|
-
mount_component(
|
|
8294
|
+
mount_component(textcolor, div3, null);
|
|
8143
8295
|
ctx[35](div3);
|
|
8144
8296
|
append(div8, t13);
|
|
8145
8297
|
append(div8, div6);
|
|
@@ -8151,7 +8303,7 @@ function create_fragment54(ctx) {
|
|
|
8151
8303
|
append(div6, t16);
|
|
8152
8304
|
append(div6, div5);
|
|
8153
8305
|
append(div6, t17);
|
|
8154
|
-
mount_component(
|
|
8306
|
+
mount_component(strokecolor1, div6, null);
|
|
8155
8307
|
ctx[36](div6);
|
|
8156
8308
|
append(div8, t18);
|
|
8157
8309
|
append(div8, div7);
|
|
@@ -8305,14 +8457,14 @@ function create_fragment54(ctx) {
|
|
|
8305
8457
|
if (dirty[0] & 8)
|
|
8306
8458
|
strokecolor0_changes.disabled = ctx2[3];
|
|
8307
8459
|
strokecolor0.$set(strokecolor0_changes);
|
|
8308
|
-
const
|
|
8460
|
+
const textcolor_changes = {};
|
|
8309
8461
|
if (dirty[0] & 1)
|
|
8310
|
-
|
|
8462
|
+
textcolor_changes.app = ctx2[0];
|
|
8311
8463
|
if (dirty[0] & 2)
|
|
8312
|
-
|
|
8464
|
+
textcolor_changes.theme = ctx2[1];
|
|
8313
8465
|
if (dirty[0] & 8)
|
|
8314
|
-
|
|
8315
|
-
|
|
8466
|
+
textcolor_changes.disabled = ctx2[3];
|
|
8467
|
+
textcolor.$set(textcolor_changes);
|
|
8316
8468
|
const shapes_changes = {};
|
|
8317
8469
|
if (dirty[0] & 1)
|
|
8318
8470
|
shapes_changes.app = ctx2[0];
|
|
@@ -8331,23 +8483,23 @@ function create_fragment54(ctx) {
|
|
|
8331
8483
|
if (dirty[0] & 8)
|
|
8332
8484
|
strokewidth1_changes.disabled = ctx2[3];
|
|
8333
8485
|
strokewidth1.$set(strokewidth1_changes);
|
|
8334
|
-
const
|
|
8486
|
+
const strokecolor1_changes = {};
|
|
8335
8487
|
if (dirty[0] & 1)
|
|
8336
|
-
|
|
8488
|
+
strokecolor1_changes.app = ctx2[0];
|
|
8337
8489
|
if (dirty[0] & 2)
|
|
8338
|
-
|
|
8490
|
+
strokecolor1_changes.theme = ctx2[1];
|
|
8339
8491
|
if (dirty[0] & 8)
|
|
8340
|
-
|
|
8341
|
-
|
|
8492
|
+
strokecolor1_changes.disabled = ctx2[3];
|
|
8493
|
+
strokecolor1.$set(strokecolor1_changes);
|
|
8342
8494
|
if (dirty[0] & 786435) {
|
|
8343
8495
|
each_value = ctx2[18];
|
|
8344
8496
|
let i;
|
|
8345
8497
|
for (i = 0; i < each_value.length; i += 1) {
|
|
8346
|
-
const child_ctx =
|
|
8498
|
+
const child_ctx = get_each_context4(ctx2, each_value, i);
|
|
8347
8499
|
if (each_blocks[i]) {
|
|
8348
8500
|
each_blocks[i].p(child_ctx, dirty);
|
|
8349
8501
|
} else {
|
|
8350
|
-
each_blocks[i] =
|
|
8502
|
+
each_blocks[i] = create_each_block4(child_ctx);
|
|
8351
8503
|
each_blocks[i].c();
|
|
8352
8504
|
each_blocks[i].m(div7, null);
|
|
8353
8505
|
}
|
|
@@ -8376,10 +8528,10 @@ function create_fragment54(ctx) {
|
|
|
8376
8528
|
transition_in(if_block1);
|
|
8377
8529
|
transition_in(strokewidth0.$$.fragment, local);
|
|
8378
8530
|
transition_in(strokecolor0.$$.fragment, local);
|
|
8379
|
-
transition_in(
|
|
8531
|
+
transition_in(textcolor.$$.fragment, local);
|
|
8380
8532
|
transition_in(shapes2.$$.fragment, local);
|
|
8381
8533
|
transition_in(strokewidth1.$$.fragment, local);
|
|
8382
|
-
transition_in(
|
|
8534
|
+
transition_in(strokecolor1.$$.fragment, local);
|
|
8383
8535
|
current = true;
|
|
8384
8536
|
},
|
|
8385
8537
|
o(local) {
|
|
@@ -8395,10 +8547,10 @@ function create_fragment54(ctx) {
|
|
|
8395
8547
|
transition_out(if_block1);
|
|
8396
8548
|
transition_out(strokewidth0.$$.fragment, local);
|
|
8397
8549
|
transition_out(strokecolor0.$$.fragment, local);
|
|
8398
|
-
transition_out(
|
|
8550
|
+
transition_out(textcolor.$$.fragment, local);
|
|
8399
8551
|
transition_out(shapes2.$$.fragment, local);
|
|
8400
8552
|
transition_out(strokewidth1.$$.fragment, local);
|
|
8401
|
-
transition_out(
|
|
8553
|
+
transition_out(strokecolor1.$$.fragment, local);
|
|
8402
8554
|
current = false;
|
|
8403
8555
|
},
|
|
8404
8556
|
d(detaching) {
|
|
@@ -8427,11 +8579,11 @@ function create_fragment54(ctx) {
|
|
|
8427
8579
|
destroy_component(strokewidth0);
|
|
8428
8580
|
destroy_component(strokecolor0);
|
|
8429
8581
|
ctx[34](null);
|
|
8430
|
-
destroy_component(
|
|
8582
|
+
destroy_component(textcolor);
|
|
8431
8583
|
ctx[35](null);
|
|
8432
8584
|
destroy_component(shapes2);
|
|
8433
8585
|
destroy_component(strokewidth1);
|
|
8434
|
-
destroy_component(
|
|
8586
|
+
destroy_component(strokecolor1);
|
|
8435
8587
|
ctx[36](null);
|
|
8436
8588
|
destroy_each(each_blocks, detaching);
|
|
8437
8589
|
ctx[37](null);
|
|
@@ -8441,7 +8593,7 @@ function create_fragment54(ctx) {
|
|
|
8441
8593
|
};
|
|
8442
8594
|
}
|
|
8443
8595
|
var name5 = "fastboard-toolbar";
|
|
8444
|
-
function
|
|
8596
|
+
function instance55($$self, $$props, $$invalidate) {
|
|
8445
8597
|
let t;
|
|
8446
8598
|
let hotkeys;
|
|
8447
8599
|
let c;
|
|
@@ -8647,7 +8799,7 @@ function instance54($$self, $$props, $$invalidate) {
|
|
|
8647
8799
|
var Contents = class extends SvelteComponent {
|
|
8648
8800
|
constructor(options) {
|
|
8649
8801
|
super();
|
|
8650
|
-
init(this, options,
|
|
8802
|
+
init(this, options, instance55, create_fragment55, safe_not_equal, {
|
|
8651
8803
|
app: 0,
|
|
8652
8804
|
theme: 1,
|
|
8653
8805
|
language: 2,
|
|
@@ -8721,7 +8873,7 @@ function create_if_block7(ctx) {
|
|
|
8721
8873
|
}
|
|
8722
8874
|
};
|
|
8723
8875
|
}
|
|
8724
|
-
function
|
|
8876
|
+
function create_fragment56(ctx) {
|
|
8725
8877
|
let div1;
|
|
8726
8878
|
let div0;
|
|
8727
8879
|
let contents;
|
|
@@ -8876,7 +9028,7 @@ function create_fragment55(ctx) {
|
|
|
8876
9028
|
};
|
|
8877
9029
|
}
|
|
8878
9030
|
var name6 = "fastboard-toolbar";
|
|
8879
|
-
function
|
|
9031
|
+
function instance56($$self, $$props, $$invalidate) {
|
|
8880
9032
|
let writable2;
|
|
8881
9033
|
let disabled;
|
|
8882
9034
|
let computed_height;
|
|
@@ -8944,13 +9096,13 @@ function instance55($$self, $$props, $$invalidate) {
|
|
|
8944
9096
|
var Toolbar = class extends SvelteComponent {
|
|
8945
9097
|
constructor(options) {
|
|
8946
9098
|
super();
|
|
8947
|
-
init(this, options,
|
|
9099
|
+
init(this, options, instance56, create_fragment56, safe_not_equal, { app: 0, theme: 1, language: 2 });
|
|
8948
9100
|
}
|
|
8949
9101
|
};
|
|
8950
9102
|
var Toolbar_default = Toolbar;
|
|
8951
9103
|
|
|
8952
9104
|
// src/components/PlayerControl/PlayerControl.svelte
|
|
8953
|
-
function
|
|
9105
|
+
function get_each_context5(ctx, list, i) {
|
|
8954
9106
|
const child_ctx = ctx.slice();
|
|
8955
9107
|
child_ctx[25] = list[i];
|
|
8956
9108
|
return child_ctx;
|
|
@@ -9446,7 +9598,7 @@ function create_default_slot5(ctx) {
|
|
|
9446
9598
|
}
|
|
9447
9599
|
};
|
|
9448
9600
|
}
|
|
9449
|
-
function
|
|
9601
|
+
function create_each_block5(key_1, ctx) {
|
|
9450
9602
|
let first;
|
|
9451
9603
|
let button;
|
|
9452
9604
|
let current;
|
|
@@ -9508,7 +9660,7 @@ function create_each_block4(key_1, ctx) {
|
|
|
9508
9660
|
}
|
|
9509
9661
|
};
|
|
9510
9662
|
}
|
|
9511
|
-
function
|
|
9663
|
+
function create_fragment57(ctx) {
|
|
9512
9664
|
let div0;
|
|
9513
9665
|
let button0;
|
|
9514
9666
|
let t0;
|
|
@@ -9561,9 +9713,9 @@ function create_fragment56(ctx) {
|
|
|
9561
9713
|
let each_value = speeds;
|
|
9562
9714
|
const get_key = (ctx2) => ctx2[25];
|
|
9563
9715
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
9564
|
-
let child_ctx =
|
|
9716
|
+
let child_ctx = get_each_context5(ctx, each_value, i);
|
|
9565
9717
|
let key = get_key(child_ctx);
|
|
9566
|
-
each_1_lookup.set(key, each_blocks[i] =
|
|
9718
|
+
each_1_lookup.set(key, each_blocks[i] = create_each_block5(key, child_ctx));
|
|
9567
9719
|
}
|
|
9568
9720
|
return {
|
|
9569
9721
|
c() {
|
|
@@ -9652,7 +9804,7 @@ function create_fragment56(ctx) {
|
|
|
9652
9804
|
if (dirty & 294929) {
|
|
9653
9805
|
each_value = speeds;
|
|
9654
9806
|
group_outros();
|
|
9655
|
-
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx2, each_value, each_1_lookup, div1, outro_and_destroy_block,
|
|
9807
|
+
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx2, each_value, each_1_lookup, div1, outro_and_destroy_block, create_each_block5, null, get_each_context5);
|
|
9656
9808
|
check_outros();
|
|
9657
9809
|
}
|
|
9658
9810
|
},
|
|
@@ -9712,7 +9864,7 @@ function format(ms) {
|
|
|
9712
9864
|
return String(m).padStart(2, "0") + ":" + String(s % 60).padStart(2, "0");
|
|
9713
9865
|
}
|
|
9714
9866
|
var name7 = "fastboard-player-control";
|
|
9715
|
-
function
|
|
9867
|
+
function instance57($$self, $$props, $$invalidate) {
|
|
9716
9868
|
let t;
|
|
9717
9869
|
let canPlay;
|
|
9718
9870
|
let disabled;
|
|
@@ -9857,7 +10009,7 @@ function instance56($$self, $$props, $$invalidate) {
|
|
|
9857
10009
|
var PlayerControl = class extends SvelteComponent {
|
|
9858
10010
|
constructor(options) {
|
|
9859
10011
|
super();
|
|
9860
|
-
init(this, options,
|
|
10012
|
+
init(this, options, instance57, create_fragment57, safe_not_equal, {
|
|
9861
10013
|
player: 19,
|
|
9862
10014
|
theme: 0,
|
|
9863
10015
|
language: 20,
|
|
@@ -9868,7 +10020,7 @@ var PlayerControl = class extends SvelteComponent {
|
|
|
9868
10020
|
var PlayerControl_default = PlayerControl;
|
|
9869
10021
|
|
|
9870
10022
|
// src/components/Fastboard/ReplayFastboard.svelte
|
|
9871
|
-
function
|
|
10023
|
+
function create_fragment58(ctx) {
|
|
9872
10024
|
let div2;
|
|
9873
10025
|
let div0;
|
|
9874
10026
|
let div0_class_value;
|
|
@@ -9946,7 +10098,7 @@ function create_fragment57(ctx) {
|
|
|
9946
10098
|
};
|
|
9947
10099
|
}
|
|
9948
10100
|
var name8 = "fastboard";
|
|
9949
|
-
function
|
|
10101
|
+
function instance58($$self, $$props, $$invalidate) {
|
|
9950
10102
|
let { player = null } = $$props;
|
|
9951
10103
|
let { theme = "light" } = $$props;
|
|
9952
10104
|
let { language = "en" } = $$props;
|
|
@@ -10000,7 +10152,7 @@ function instance57($$self, $$props, $$invalidate) {
|
|
|
10000
10152
|
var ReplayFastboard = class extends SvelteComponent {
|
|
10001
10153
|
constructor(options) {
|
|
10002
10154
|
super();
|
|
10003
|
-
init(this, options,
|
|
10155
|
+
init(this, options, instance58, create_fragment58, safe_not_equal, {
|
|
10004
10156
|
player: 0,
|
|
10005
10157
|
theme: 1,
|
|
10006
10158
|
language: 2,
|
|
@@ -10011,28 +10163,9 @@ var ReplayFastboard = class extends SvelteComponent {
|
|
|
10011
10163
|
var ReplayFastboard_default = ReplayFastboard;
|
|
10012
10164
|
|
|
10013
10165
|
// src/components/Fastboard/Fastboard.svelte
|
|
10014
|
-
function
|
|
10015
|
-
let div4;
|
|
10016
|
-
let div0;
|
|
10017
|
-
let div0_class_value;
|
|
10018
|
-
let t0;
|
|
10019
|
-
let div1;
|
|
10166
|
+
function create_if_block_32(ctx) {
|
|
10020
10167
|
let toolbar;
|
|
10021
|
-
let div1_class_value;
|
|
10022
|
-
let t1;
|
|
10023
|
-
let div2;
|
|
10024
|
-
let redoundo;
|
|
10025
|
-
let t2;
|
|
10026
|
-
let zoomcontrol;
|
|
10027
|
-
let div2_class_value;
|
|
10028
|
-
let t3;
|
|
10029
|
-
let div3;
|
|
10030
|
-
let pagecontrol;
|
|
10031
|
-
let div3_class_value;
|
|
10032
|
-
let div4_class_value;
|
|
10033
10168
|
let current;
|
|
10034
|
-
let mounted;
|
|
10035
|
-
let dispose;
|
|
10036
10169
|
toolbar = new Toolbar_default({
|
|
10037
10170
|
props: {
|
|
10038
10171
|
app: ctx[0],
|
|
@@ -10040,6 +10173,42 @@ function create_fragment58(ctx) {
|
|
|
10040
10173
|
language: ctx[2]
|
|
10041
10174
|
}
|
|
10042
10175
|
});
|
|
10176
|
+
return {
|
|
10177
|
+
c() {
|
|
10178
|
+
create_component(toolbar.$$.fragment);
|
|
10179
|
+
},
|
|
10180
|
+
m(target, anchor) {
|
|
10181
|
+
mount_component(toolbar, target, anchor);
|
|
10182
|
+
current = true;
|
|
10183
|
+
},
|
|
10184
|
+
p(ctx2, dirty) {
|
|
10185
|
+
const toolbar_changes = {};
|
|
10186
|
+
if (dirty & 1)
|
|
10187
|
+
toolbar_changes.app = ctx2[0];
|
|
10188
|
+
if (dirty & 2)
|
|
10189
|
+
toolbar_changes.theme = ctx2[1];
|
|
10190
|
+
if (dirty & 4)
|
|
10191
|
+
toolbar_changes.language = ctx2[2];
|
|
10192
|
+
toolbar.$set(toolbar_changes);
|
|
10193
|
+
},
|
|
10194
|
+
i(local) {
|
|
10195
|
+
if (current)
|
|
10196
|
+
return;
|
|
10197
|
+
transition_in(toolbar.$$.fragment, local);
|
|
10198
|
+
current = true;
|
|
10199
|
+
},
|
|
10200
|
+
o(local) {
|
|
10201
|
+
transition_out(toolbar.$$.fragment, local);
|
|
10202
|
+
current = false;
|
|
10203
|
+
},
|
|
10204
|
+
d(detaching) {
|
|
10205
|
+
destroy_component(toolbar, detaching);
|
|
10206
|
+
}
|
|
10207
|
+
};
|
|
10208
|
+
}
|
|
10209
|
+
function create_if_block_23(ctx) {
|
|
10210
|
+
let redoundo;
|
|
10211
|
+
let current;
|
|
10043
10212
|
redoundo = new RedoUndo_default({
|
|
10044
10213
|
props: {
|
|
10045
10214
|
app: ctx[0],
|
|
@@ -10047,6 +10216,42 @@ function create_fragment58(ctx) {
|
|
|
10047
10216
|
language: ctx[2]
|
|
10048
10217
|
}
|
|
10049
10218
|
});
|
|
10219
|
+
return {
|
|
10220
|
+
c() {
|
|
10221
|
+
create_component(redoundo.$$.fragment);
|
|
10222
|
+
},
|
|
10223
|
+
m(target, anchor) {
|
|
10224
|
+
mount_component(redoundo, target, anchor);
|
|
10225
|
+
current = true;
|
|
10226
|
+
},
|
|
10227
|
+
p(ctx2, dirty) {
|
|
10228
|
+
const redoundo_changes = {};
|
|
10229
|
+
if (dirty & 1)
|
|
10230
|
+
redoundo_changes.app = ctx2[0];
|
|
10231
|
+
if (dirty & 2)
|
|
10232
|
+
redoundo_changes.theme = ctx2[1];
|
|
10233
|
+
if (dirty & 4)
|
|
10234
|
+
redoundo_changes.language = ctx2[2];
|
|
10235
|
+
redoundo.$set(redoundo_changes);
|
|
10236
|
+
},
|
|
10237
|
+
i(local) {
|
|
10238
|
+
if (current)
|
|
10239
|
+
return;
|
|
10240
|
+
transition_in(redoundo.$$.fragment, local);
|
|
10241
|
+
current = true;
|
|
10242
|
+
},
|
|
10243
|
+
o(local) {
|
|
10244
|
+
transition_out(redoundo.$$.fragment, local);
|
|
10245
|
+
current = false;
|
|
10246
|
+
},
|
|
10247
|
+
d(detaching) {
|
|
10248
|
+
destroy_component(redoundo, detaching);
|
|
10249
|
+
}
|
|
10250
|
+
};
|
|
10251
|
+
}
|
|
10252
|
+
function create_if_block_14(ctx) {
|
|
10253
|
+
let zoomcontrol;
|
|
10254
|
+
let current;
|
|
10050
10255
|
zoomcontrol = new ZoomControl_default({
|
|
10051
10256
|
props: {
|
|
10052
10257
|
app: ctx[0],
|
|
@@ -10054,6 +10259,42 @@ function create_fragment58(ctx) {
|
|
|
10054
10259
|
language: ctx[2]
|
|
10055
10260
|
}
|
|
10056
10261
|
});
|
|
10262
|
+
return {
|
|
10263
|
+
c() {
|
|
10264
|
+
create_component(zoomcontrol.$$.fragment);
|
|
10265
|
+
},
|
|
10266
|
+
m(target, anchor) {
|
|
10267
|
+
mount_component(zoomcontrol, target, anchor);
|
|
10268
|
+
current = true;
|
|
10269
|
+
},
|
|
10270
|
+
p(ctx2, dirty) {
|
|
10271
|
+
const zoomcontrol_changes = {};
|
|
10272
|
+
if (dirty & 1)
|
|
10273
|
+
zoomcontrol_changes.app = ctx2[0];
|
|
10274
|
+
if (dirty & 2)
|
|
10275
|
+
zoomcontrol_changes.theme = ctx2[1];
|
|
10276
|
+
if (dirty & 4)
|
|
10277
|
+
zoomcontrol_changes.language = ctx2[2];
|
|
10278
|
+
zoomcontrol.$set(zoomcontrol_changes);
|
|
10279
|
+
},
|
|
10280
|
+
i(local) {
|
|
10281
|
+
if (current)
|
|
10282
|
+
return;
|
|
10283
|
+
transition_in(zoomcontrol.$$.fragment, local);
|
|
10284
|
+
current = true;
|
|
10285
|
+
},
|
|
10286
|
+
o(local) {
|
|
10287
|
+
transition_out(zoomcontrol.$$.fragment, local);
|
|
10288
|
+
current = false;
|
|
10289
|
+
},
|
|
10290
|
+
d(detaching) {
|
|
10291
|
+
destroy_component(zoomcontrol, detaching);
|
|
10292
|
+
}
|
|
10293
|
+
};
|
|
10294
|
+
}
|
|
10295
|
+
function create_if_block9(ctx) {
|
|
10296
|
+
let pagecontrol;
|
|
10297
|
+
let current;
|
|
10057
10298
|
pagecontrol = new PageControl_default({
|
|
10058
10299
|
props: {
|
|
10059
10300
|
app: ctx[0],
|
|
@@ -10061,46 +10302,110 @@ function create_fragment58(ctx) {
|
|
|
10061
10302
|
language: ctx[2]
|
|
10062
10303
|
}
|
|
10063
10304
|
});
|
|
10305
|
+
return {
|
|
10306
|
+
c() {
|
|
10307
|
+
create_component(pagecontrol.$$.fragment);
|
|
10308
|
+
},
|
|
10309
|
+
m(target, anchor) {
|
|
10310
|
+
mount_component(pagecontrol, target, anchor);
|
|
10311
|
+
current = true;
|
|
10312
|
+
},
|
|
10313
|
+
p(ctx2, dirty) {
|
|
10314
|
+
const pagecontrol_changes = {};
|
|
10315
|
+
if (dirty & 1)
|
|
10316
|
+
pagecontrol_changes.app = ctx2[0];
|
|
10317
|
+
if (dirty & 2)
|
|
10318
|
+
pagecontrol_changes.theme = ctx2[1];
|
|
10319
|
+
if (dirty & 4)
|
|
10320
|
+
pagecontrol_changes.language = ctx2[2];
|
|
10321
|
+
pagecontrol.$set(pagecontrol_changes);
|
|
10322
|
+
},
|
|
10323
|
+
i(local) {
|
|
10324
|
+
if (current)
|
|
10325
|
+
return;
|
|
10326
|
+
transition_in(pagecontrol.$$.fragment, local);
|
|
10327
|
+
current = true;
|
|
10328
|
+
},
|
|
10329
|
+
o(local) {
|
|
10330
|
+
transition_out(pagecontrol.$$.fragment, local);
|
|
10331
|
+
current = false;
|
|
10332
|
+
},
|
|
10333
|
+
d(detaching) {
|
|
10334
|
+
destroy_component(pagecontrol, detaching);
|
|
10335
|
+
}
|
|
10336
|
+
};
|
|
10337
|
+
}
|
|
10338
|
+
function create_fragment59(ctx) {
|
|
10339
|
+
var _a, _b, _c, _d;
|
|
10340
|
+
let div4;
|
|
10341
|
+
let div0;
|
|
10342
|
+
let div0_class_value;
|
|
10343
|
+
let t0;
|
|
10344
|
+
let div1;
|
|
10345
|
+
let div1_class_value;
|
|
10346
|
+
let t1;
|
|
10347
|
+
let div2;
|
|
10348
|
+
let t2;
|
|
10349
|
+
let div2_class_value;
|
|
10350
|
+
let t3;
|
|
10351
|
+
let div3;
|
|
10352
|
+
let div3_class_value;
|
|
10353
|
+
let div4_class_value;
|
|
10354
|
+
let current;
|
|
10355
|
+
let mounted;
|
|
10356
|
+
let dispose;
|
|
10357
|
+
let if_block0 = ((_a = ctx[3].toolbar) == null ? void 0 : _a.enable) !== false && create_if_block_32(ctx);
|
|
10358
|
+
let if_block1 = ((_b = ctx[3].redo_undo) == null ? void 0 : _b.enable) !== false && create_if_block_23(ctx);
|
|
10359
|
+
let if_block2 = ((_c = ctx[3].zoom_control) == null ? void 0 : _c.enable) !== false && create_if_block_14(ctx);
|
|
10360
|
+
let if_block3 = ((_d = ctx[3].page_control) == null ? void 0 : _d.enable) !== false && create_if_block9(ctx);
|
|
10064
10361
|
return {
|
|
10065
10362
|
c() {
|
|
10066
10363
|
div4 = element("div");
|
|
10067
10364
|
div0 = element("div");
|
|
10068
10365
|
t0 = space();
|
|
10069
10366
|
div1 = element("div");
|
|
10070
|
-
|
|
10367
|
+
if (if_block0)
|
|
10368
|
+
if_block0.c();
|
|
10071
10369
|
t1 = space();
|
|
10072
10370
|
div2 = element("div");
|
|
10073
|
-
|
|
10371
|
+
if (if_block1)
|
|
10372
|
+
if_block1.c();
|
|
10074
10373
|
t2 = space();
|
|
10075
|
-
|
|
10374
|
+
if (if_block2)
|
|
10375
|
+
if_block2.c();
|
|
10076
10376
|
t3 = space();
|
|
10077
10377
|
div3 = element("div");
|
|
10078
|
-
|
|
10378
|
+
if (if_block3)
|
|
10379
|
+
if_block3.c();
|
|
10079
10380
|
attr(div0, "class", div0_class_value = name9 + "-view");
|
|
10080
10381
|
attr(div1, "class", div1_class_value = name9 + "-left");
|
|
10081
|
-
toggle_class(div1, "hidden", !(ctx[
|
|
10382
|
+
toggle_class(div1, "hidden", !(ctx[5] === "visible" || ctx[5] === "toolbar-only"));
|
|
10082
10383
|
attr(div2, "class", div2_class_value = name9 + "-bottom-left");
|
|
10083
|
-
toggle_class(div2, "hidden", ctx[
|
|
10384
|
+
toggle_class(div2, "hidden", ctx[5] !== "visible");
|
|
10084
10385
|
attr(div3, "class", div3_class_value = name9 + "-bottom-right");
|
|
10085
|
-
toggle_class(div3, "hidden", ctx[
|
|
10386
|
+
toggle_class(div3, "hidden", ctx[5] !== "visible");
|
|
10086
10387
|
attr(div4, "class", div4_class_value = name9 + "-root");
|
|
10087
10388
|
toggle_class(div4, "loading", !ctx[0]);
|
|
10088
10389
|
},
|
|
10089
10390
|
m(target, anchor) {
|
|
10090
10391
|
insert(target, div4, anchor);
|
|
10091
10392
|
append(div4, div0);
|
|
10092
|
-
ctx[
|
|
10393
|
+
ctx[13](div0);
|
|
10093
10394
|
append(div4, t0);
|
|
10094
10395
|
append(div4, div1);
|
|
10095
|
-
|
|
10396
|
+
if (if_block0)
|
|
10397
|
+
if_block0.m(div1, null);
|
|
10096
10398
|
append(div4, t1);
|
|
10097
10399
|
append(div4, div2);
|
|
10098
|
-
|
|
10400
|
+
if (if_block1)
|
|
10401
|
+
if_block1.m(div2, null);
|
|
10099
10402
|
append(div2, t2);
|
|
10100
|
-
|
|
10403
|
+
if (if_block2)
|
|
10404
|
+
if_block2.m(div2, null);
|
|
10101
10405
|
append(div4, t3);
|
|
10102
10406
|
append(div4, div3);
|
|
10103
|
-
|
|
10407
|
+
if (if_block3)
|
|
10408
|
+
if_block3.m(div3, null);
|
|
10104
10409
|
current = true;
|
|
10105
10410
|
if (!mounted) {
|
|
10106
10411
|
dispose = listen(div0, "touchstart", tippy_hide_all, true);
|
|
@@ -10108,46 +10413,91 @@ function create_fragment58(ctx) {
|
|
|
10108
10413
|
}
|
|
10109
10414
|
},
|
|
10110
10415
|
p(ctx2, [dirty]) {
|
|
10111
|
-
|
|
10112
|
-
if (
|
|
10113
|
-
|
|
10114
|
-
|
|
10115
|
-
|
|
10116
|
-
|
|
10117
|
-
|
|
10118
|
-
|
|
10119
|
-
|
|
10120
|
-
|
|
10416
|
+
var _a2, _b2, _c2, _d2;
|
|
10417
|
+
if (((_a2 = ctx2[3].toolbar) == null ? void 0 : _a2.enable) !== false) {
|
|
10418
|
+
if (if_block0) {
|
|
10419
|
+
if_block0.p(ctx2, dirty);
|
|
10420
|
+
if (dirty & 8) {
|
|
10421
|
+
transition_in(if_block0, 1);
|
|
10422
|
+
}
|
|
10423
|
+
} else {
|
|
10424
|
+
if_block0 = create_if_block_32(ctx2);
|
|
10425
|
+
if_block0.c();
|
|
10426
|
+
transition_in(if_block0, 1);
|
|
10427
|
+
if_block0.m(div1, null);
|
|
10428
|
+
}
|
|
10429
|
+
} else if (if_block0) {
|
|
10430
|
+
group_outros();
|
|
10431
|
+
transition_out(if_block0, 1, 1, () => {
|
|
10432
|
+
if_block0 = null;
|
|
10433
|
+
});
|
|
10434
|
+
check_outros();
|
|
10121
10435
|
}
|
|
10122
|
-
|
|
10123
|
-
|
|
10124
|
-
redoundo_changes.app = ctx2[0];
|
|
10125
|
-
if (dirty & 2)
|
|
10126
|
-
redoundo_changes.theme = ctx2[1];
|
|
10127
|
-
if (dirty & 4)
|
|
10128
|
-
redoundo_changes.language = ctx2[2];
|
|
10129
|
-
redoundo.$set(redoundo_changes);
|
|
10130
|
-
const zoomcontrol_changes = {};
|
|
10131
|
-
if (dirty & 1)
|
|
10132
|
-
zoomcontrol_changes.app = ctx2[0];
|
|
10133
|
-
if (dirty & 2)
|
|
10134
|
-
zoomcontrol_changes.theme = ctx2[1];
|
|
10135
|
-
if (dirty & 4)
|
|
10136
|
-
zoomcontrol_changes.language = ctx2[2];
|
|
10137
|
-
zoomcontrol.$set(zoomcontrol_changes);
|
|
10138
|
-
if (dirty & 16) {
|
|
10139
|
-
toggle_class(div2, "hidden", ctx2[4] !== "visible");
|
|
10436
|
+
if (dirty & 32) {
|
|
10437
|
+
toggle_class(div1, "hidden", !(ctx2[5] === "visible" || ctx2[5] === "toolbar-only"));
|
|
10140
10438
|
}
|
|
10141
|
-
|
|
10142
|
-
|
|
10143
|
-
|
|
10144
|
-
|
|
10145
|
-
|
|
10146
|
-
|
|
10147
|
-
|
|
10148
|
-
|
|
10149
|
-
|
|
10150
|
-
|
|
10439
|
+
if (((_b2 = ctx2[3].redo_undo) == null ? void 0 : _b2.enable) !== false) {
|
|
10440
|
+
if (if_block1) {
|
|
10441
|
+
if_block1.p(ctx2, dirty);
|
|
10442
|
+
if (dirty & 8) {
|
|
10443
|
+
transition_in(if_block1, 1);
|
|
10444
|
+
}
|
|
10445
|
+
} else {
|
|
10446
|
+
if_block1 = create_if_block_23(ctx2);
|
|
10447
|
+
if_block1.c();
|
|
10448
|
+
transition_in(if_block1, 1);
|
|
10449
|
+
if_block1.m(div2, t2);
|
|
10450
|
+
}
|
|
10451
|
+
} else if (if_block1) {
|
|
10452
|
+
group_outros();
|
|
10453
|
+
transition_out(if_block1, 1, 1, () => {
|
|
10454
|
+
if_block1 = null;
|
|
10455
|
+
});
|
|
10456
|
+
check_outros();
|
|
10457
|
+
}
|
|
10458
|
+
if (((_c2 = ctx2[3].zoom_control) == null ? void 0 : _c2.enable) !== false) {
|
|
10459
|
+
if (if_block2) {
|
|
10460
|
+
if_block2.p(ctx2, dirty);
|
|
10461
|
+
if (dirty & 8) {
|
|
10462
|
+
transition_in(if_block2, 1);
|
|
10463
|
+
}
|
|
10464
|
+
} else {
|
|
10465
|
+
if_block2 = create_if_block_14(ctx2);
|
|
10466
|
+
if_block2.c();
|
|
10467
|
+
transition_in(if_block2, 1);
|
|
10468
|
+
if_block2.m(div2, null);
|
|
10469
|
+
}
|
|
10470
|
+
} else if (if_block2) {
|
|
10471
|
+
group_outros();
|
|
10472
|
+
transition_out(if_block2, 1, 1, () => {
|
|
10473
|
+
if_block2 = null;
|
|
10474
|
+
});
|
|
10475
|
+
check_outros();
|
|
10476
|
+
}
|
|
10477
|
+
if (dirty & 32) {
|
|
10478
|
+
toggle_class(div2, "hidden", ctx2[5] !== "visible");
|
|
10479
|
+
}
|
|
10480
|
+
if (((_d2 = ctx2[3].page_control) == null ? void 0 : _d2.enable) !== false) {
|
|
10481
|
+
if (if_block3) {
|
|
10482
|
+
if_block3.p(ctx2, dirty);
|
|
10483
|
+
if (dirty & 8) {
|
|
10484
|
+
transition_in(if_block3, 1);
|
|
10485
|
+
}
|
|
10486
|
+
} else {
|
|
10487
|
+
if_block3 = create_if_block9(ctx2);
|
|
10488
|
+
if_block3.c();
|
|
10489
|
+
transition_in(if_block3, 1);
|
|
10490
|
+
if_block3.m(div3, null);
|
|
10491
|
+
}
|
|
10492
|
+
} else if (if_block3) {
|
|
10493
|
+
group_outros();
|
|
10494
|
+
transition_out(if_block3, 1, 1, () => {
|
|
10495
|
+
if_block3 = null;
|
|
10496
|
+
});
|
|
10497
|
+
check_outros();
|
|
10498
|
+
}
|
|
10499
|
+
if (dirty & 32) {
|
|
10500
|
+
toggle_class(div3, "hidden", ctx2[5] !== "visible");
|
|
10151
10501
|
}
|
|
10152
10502
|
if (dirty & 1) {
|
|
10153
10503
|
toggle_class(div4, "loading", !ctx2[0]);
|
|
@@ -10156,40 +10506,44 @@ function create_fragment58(ctx) {
|
|
|
10156
10506
|
i(local) {
|
|
10157
10507
|
if (current)
|
|
10158
10508
|
return;
|
|
10159
|
-
transition_in(
|
|
10160
|
-
transition_in(
|
|
10161
|
-
transition_in(
|
|
10162
|
-
transition_in(
|
|
10509
|
+
transition_in(if_block0);
|
|
10510
|
+
transition_in(if_block1);
|
|
10511
|
+
transition_in(if_block2);
|
|
10512
|
+
transition_in(if_block3);
|
|
10163
10513
|
current = true;
|
|
10164
10514
|
},
|
|
10165
10515
|
o(local) {
|
|
10166
|
-
transition_out(
|
|
10167
|
-
transition_out(
|
|
10168
|
-
transition_out(
|
|
10169
|
-
transition_out(
|
|
10516
|
+
transition_out(if_block0);
|
|
10517
|
+
transition_out(if_block1);
|
|
10518
|
+
transition_out(if_block2);
|
|
10519
|
+
transition_out(if_block3);
|
|
10170
10520
|
current = false;
|
|
10171
10521
|
},
|
|
10172
10522
|
d(detaching) {
|
|
10173
10523
|
if (detaching)
|
|
10174
10524
|
detach(div4);
|
|
10175
|
-
ctx[
|
|
10176
|
-
|
|
10177
|
-
|
|
10178
|
-
|
|
10179
|
-
|
|
10525
|
+
ctx[13](null);
|
|
10526
|
+
if (if_block0)
|
|
10527
|
+
if_block0.d();
|
|
10528
|
+
if (if_block1)
|
|
10529
|
+
if_block1.d();
|
|
10530
|
+
if (if_block2)
|
|
10531
|
+
if_block2.d();
|
|
10532
|
+
if (if_block3)
|
|
10533
|
+
if_block3.d();
|
|
10180
10534
|
mounted = false;
|
|
10181
10535
|
dispose();
|
|
10182
10536
|
}
|
|
10183
10537
|
};
|
|
10184
10538
|
}
|
|
10185
10539
|
var name9 = "fastboard";
|
|
10186
|
-
function
|
|
10540
|
+
function instance59($$self, $$props, $$invalidate) {
|
|
10187
10541
|
let writable2;
|
|
10188
10542
|
let boxState;
|
|
10189
10543
|
let focusedApp;
|
|
10190
|
-
let $focusedApp, $$unsubscribe_focusedApp = noop, $$subscribe_focusedApp = () => ($$unsubscribe_focusedApp(), $$unsubscribe_focusedApp = subscribe(focusedApp, ($$value) => $$invalidate(
|
|
10191
|
-
let $boxState, $$unsubscribe_boxState = noop, $$subscribe_boxState = () => ($$unsubscribe_boxState(), $$unsubscribe_boxState = subscribe(boxState, ($$value) => $$invalidate(
|
|
10192
|
-
let $writable, $$unsubscribe_writable = noop, $$subscribe_writable = () => ($$unsubscribe_writable(), $$unsubscribe_writable = subscribe(writable2, ($$value) => $$invalidate(
|
|
10544
|
+
let $focusedApp, $$unsubscribe_focusedApp = noop, $$subscribe_focusedApp = () => ($$unsubscribe_focusedApp(), $$unsubscribe_focusedApp = subscribe(focusedApp, ($$value) => $$invalidate(10, $focusedApp = $$value)), focusedApp);
|
|
10545
|
+
let $boxState, $$unsubscribe_boxState = noop, $$subscribe_boxState = () => ($$unsubscribe_boxState(), $$unsubscribe_boxState = subscribe(boxState, ($$value) => $$invalidate(11, $boxState = $$value)), boxState);
|
|
10546
|
+
let $writable, $$unsubscribe_writable = noop, $$subscribe_writable = () => ($$unsubscribe_writable(), $$unsubscribe_writable = subscribe(writable2, ($$value) => $$invalidate(12, $writable = $$value)), writable2);
|
|
10193
10547
|
$$self.$$.on_destroy.push(() => $$unsubscribe_focusedApp());
|
|
10194
10548
|
$$self.$$.on_destroy.push(() => $$unsubscribe_boxState());
|
|
10195
10549
|
$$self.$$.on_destroy.push(() => $$unsubscribe_writable());
|
|
@@ -10197,6 +10551,7 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10197
10551
|
let { theme = "light" } = $$props;
|
|
10198
10552
|
let { language = "en" } = $$props;
|
|
10199
10553
|
let { containerRef = void 0 } = $$props;
|
|
10554
|
+
let { config = {} } = $$props;
|
|
10200
10555
|
const AppsShowToolbar = ["DocsViewer", "Slide"];
|
|
10201
10556
|
let container;
|
|
10202
10557
|
let layout = "hidden";
|
|
@@ -10212,7 +10567,7 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10212
10567
|
function div0_binding($$value) {
|
|
10213
10568
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
10214
10569
|
container = $$value;
|
|
10215
|
-
$$invalidate(
|
|
10570
|
+
$$invalidate(4, container);
|
|
10216
10571
|
});
|
|
10217
10572
|
}
|
|
10218
10573
|
$$self.$$set = ($$props2) => {
|
|
@@ -10223,36 +10578,38 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10223
10578
|
if ("language" in $$props2)
|
|
10224
10579
|
$$invalidate(2, language = $$props2.language);
|
|
10225
10580
|
if ("containerRef" in $$props2)
|
|
10226
|
-
$$invalidate(
|
|
10581
|
+
$$invalidate(9, containerRef = $$props2.containerRef);
|
|
10582
|
+
if ("config" in $$props2)
|
|
10583
|
+
$$invalidate(3, config = $$props2.config);
|
|
10227
10584
|
};
|
|
10228
10585
|
$$self.$$.update = () => {
|
|
10229
10586
|
if ($$self.$$.dirty & 1) {
|
|
10230
10587
|
$:
|
|
10231
|
-
$$subscribe_writable($$invalidate(
|
|
10588
|
+
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
10232
10589
|
}
|
|
10233
10590
|
if ($$self.$$.dirty & 1) {
|
|
10234
10591
|
$:
|
|
10235
|
-
$$subscribe_boxState($$invalidate(
|
|
10592
|
+
$$subscribe_boxState($$invalidate(7, boxState = app == null ? void 0 : app.boxState));
|
|
10236
10593
|
}
|
|
10237
10594
|
if ($$self.$$.dirty & 1) {
|
|
10238
10595
|
$:
|
|
10239
|
-
$$subscribe_focusedApp($$invalidate(
|
|
10596
|
+
$$subscribe_focusedApp($$invalidate(6, focusedApp = app == null ? void 0 : app.focusedApp));
|
|
10240
10597
|
}
|
|
10241
|
-
if ($$self.$$.dirty &
|
|
10598
|
+
if ($$self.$$.dirty & 7168) {
|
|
10242
10599
|
$:
|
|
10243
10600
|
if (!$writable) {
|
|
10244
|
-
$$invalidate(
|
|
10601
|
+
$$invalidate(5, layout = "hidden");
|
|
10245
10602
|
} else if ($boxState === "maximized") {
|
|
10246
10603
|
if ($focusedApp && AppsShowToolbar.some((kind) => ($focusedApp || "").includes(kind))) {
|
|
10247
|
-
$$invalidate(
|
|
10604
|
+
$$invalidate(5, layout = "toolbar-only");
|
|
10248
10605
|
} else {
|
|
10249
|
-
$$invalidate(
|
|
10606
|
+
$$invalidate(5, layout = "hidden");
|
|
10250
10607
|
}
|
|
10251
10608
|
} else {
|
|
10252
|
-
$$invalidate(
|
|
10609
|
+
$$invalidate(5, layout = "visible");
|
|
10253
10610
|
}
|
|
10254
10611
|
}
|
|
10255
|
-
if ($$self.$$.dirty &
|
|
10612
|
+
if ($$self.$$.dirty & 17) {
|
|
10256
10613
|
$:
|
|
10257
10614
|
try {
|
|
10258
10615
|
if (app && container)
|
|
@@ -10273,6 +10630,7 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10273
10630
|
app,
|
|
10274
10631
|
theme,
|
|
10275
10632
|
language,
|
|
10633
|
+
config,
|
|
10276
10634
|
container,
|
|
10277
10635
|
layout,
|
|
10278
10636
|
focusedApp,
|
|
@@ -10288,11 +10646,12 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10288
10646
|
var Fastboard = class extends SvelteComponent {
|
|
10289
10647
|
constructor(options) {
|
|
10290
10648
|
super();
|
|
10291
|
-
init(this, options,
|
|
10649
|
+
init(this, options, instance59, create_fragment59, safe_not_equal, {
|
|
10292
10650
|
app: 0,
|
|
10293
10651
|
theme: 1,
|
|
10294
10652
|
language: 2,
|
|
10295
|
-
containerRef:
|
|
10653
|
+
containerRef: 9,
|
|
10654
|
+
config: 3
|
|
10296
10655
|
});
|
|
10297
10656
|
}
|
|
10298
10657
|
};
|
|
@@ -10309,7 +10668,7 @@ function injectStyle(text2) {
|
|
|
10309
10668
|
}
|
|
10310
10669
|
|
|
10311
10670
|
// inline-sass-content:./src/style.scss
|
|
10312
|
-
var style_default = '.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.tippy-box[data-theme~=light]{color:#26323d;box-shadow:0 0 20px 4px #9aa1b126,0 4px 80px -8px #24282f40,0 4px 4px -2px #5b5e6926;background-color:#fff}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff}.tippy-box[data-theme~=light]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=light]>.tippy-svg-arrow{fill:#fff}.fastboard-icon.light .fastboard-icon-stroke-color{stroke:var(--fastboard-color, #5d6066)}.fastboard-icon.light .fastboard-icon-fill-color{fill:var(--fastboard-color, #5d6066)}.fastboard-icon.light.is-active .fastboard-icon-stroke-color{stroke:var(--fastboard-active-color, #3381ff)}.fastboard-icon.light.is-active .fastboard-icon-fill-color{fill:var(--fastboard-active-color, #3381ff)}.fastboard-icon.dark .fastboard-icon-stroke-color{stroke:var(--fastboard-color, #7b7e84)}.fastboard-icon.dark .fastboard-icon-fill-color{fill:var(--fastboard-color, #7b7e84)}.fastboard-icon.dark.is-active .fastboard-icon-stroke-color{stroke:var(--fastboard-active-color, #2867cc)}.fastboard-icon.dark.is-active .fastboard-icon-fill-color{fill:var(--fastboard-active-color, #2867cc)}.fastboard-redo-undo{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.fastboard-redo-undo *{box-sizing:inherit}.fastboard-redo-undo.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-redo-undo.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-redo-undo-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:0;width:24px;height:24px;background-color:transparent;border-radius:4px;font-size:0;line-height:1;flex-shrink:0}.fastboard-redo-undo-btn svg,.fastboard-redo-undo-btn img{width:100%;height:100%;pointer-events:none}.fastboard-redo-undo-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-redo-undo-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-redo-undo-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-zoom-control{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.fastboard-zoom-control *{box-sizing:inherit}.fastboard-zoom-control.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-zoom-control.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-zoom-control-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:0;width:24px;height:24px;background-color:transparent;border-radius:4px;font-size:0;line-height:1;flex-shrink:0}.fastboard-zoom-control-btn svg,.fastboard-zoom-control-btn img{width:100%;height:100%;pointer-events:none}.fastboard-zoom-control-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-zoom-control-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-zoom-control-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-zoom-control-text{font-variant-numeric:tabular-nums}.fastboard-page-control{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.fastboard-page-control *{box-sizing:inherit}.fastboard-page-control.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-page-control.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-page-control-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:0;width:24px;height:24px;background-color:transparent;border-radius:4px;font-size:0;line-height:1;flex-shrink:0}.fastboard-page-control-btn svg,.fastboard-page-control-btn img{width:100%;height:100%;pointer-events:none}.fastboard-page-control-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-page-control-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-page-control-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-page-control-text{font-variant-numeric:tabular-nums}.fastboard-player-control{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);width:100%}.fastboard-player-control *{box-sizing:inherit}.fastboard-player-control.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-player-control.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-player-control-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:0;width:24px;height:24px;background-color:transparent;border-radius:4px;font-size:0;line-height:1;flex-shrink:0;display:inline}.fastboard-player-control-btn svg,.fastboard-player-control-btn img{width:100%;height:100%;pointer-events:none}.fastboard-player-control-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-player-control-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-player-control-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-player-control-btn.loading svg,.fastboard-player-control-btn.loading img{animation:fastboard-player-control-rotate .5s linear infinite}@keyframes fastboard-player-control-rotate{to{transform:rotate(360deg)}}.fastboard-player-control-btn.speed{width:auto;padding:4px;text-align:right;font-size:14px;font-variant-numeric:tabular-nums}.fastboard-player-control-btn.is-active.light{color:var(--fastboard-active-color, #3381ff)}.fastboard-player-control-btn.is-active.dark{color:var(--fastboard-active-color, #2867cc)}.fastboard-player-control-speed-text,.fastboard-player-control-progress{font-size:14px;font-variant-numeric:tabular-nums;line-height:16px}.fastboard-player-control-progress{display:inline-flex;align-items:center}.fastboard-player-control-panel.speed{display:flex;flex-direction:column}.fastboard-toolbar{height:100%;display:flex;align-items:center;position:relative;transform:translate(0);transition:transform .5s cubic-bezier(.34,1.56,.64,1);pointer-events:none}.fastboard-toolbar.collapsed{transform:translate(-100%)}.fastboard-toolbar-handler{position:absolute;left:100%;width:17px;font-size:0;cursor:pointer;pointer-events:auto}.fastboard-toolbar-handler input[type=checkbox]{position:absolute;top:0;left:0;appearance:none;margin:0;width:100%;height:100%;cursor:pointer}.fastboard-toolbar-handler svg{opacity:0;transition:opacity .5s 1s;pointer-events:none}.fastboard-toolbar-handler.light .fastboard-toolbar-handler-bg-color{fill:var(--fastboard-bg-color, rgba(255, 255, 255, .9))}.fastboard-toolbar-handler.light .fastboard-toolbar-handler-border-color{stroke:var(--fastboard-border-color, #e5e8f0)}.fastboard-toolbar-handler.light .fastboard-toolbar-handler-image-stroke-color{stroke:var(--fastboard-color, #5d6066)}.fastboard-toolbar-handler.light .fastboard-toolbar-handler-image-fill-color{fill:var(--fastboard-color, #5d6066)}.fastboard-toolbar-handler.dark .fastboard-toolbar-handler-bg-color{fill:var(--fastboard-bg-color, rgba(20, 24, 30, .9))}.fastboard-toolbar-handler.dark .fastboard-toolbar-handler-border-color{stroke:var(--fastboard-border-color, #383b42)}.fastboard-toolbar-handler.dark .fastboard-toolbar-handler-image-stroke-color{stroke:var(--fastboard-color, #7b7e84)}.fastboard-toolbar-handler.dark .fastboard-toolbar-handler-image-fill-color{fill:var(--fastboard-color, #7b7e84)}.fastboard-toolbar:hover .fastboard-toolbar-handler svg,.fastboard-toolbar.collapsed .fastboard-toolbar-handler svg{opacity:1;transition:opacity .2s}.fastboard-toolbar-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:4px;width:32px;height:32px;background-color:transparent;border-radius:4px;font-size:0;line-height:1;flex-shrink:0}.fastboard-toolbar-btn svg,.fastboard-toolbar-btn img{width:100%;height:100%;pointer-events:none}.fastboard-toolbar-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-toolbar-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-toolbar-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-slider{box-sizing:border-box;position:relative;width:100%;height:100%;display:flex;align-items:center}.fastboard-slider *{box-sizing:inherit}.fastboard-slider-track{appearance:none;background:transparent;border:0;border-radius:26px;flex:1;display:block;height:19px;margin:0;width:0;min-width:0;padding:0;transition:box-shadow .3s ease;cursor:pointer;touch-action:manipulation}.fastboard-slider-track::-webkit-slider-runnable-track{border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;user-select:none;background-color:#80808040;-webkit-user-select:none;background-image:linear-gradient(to right,currentColor var(--value, 0%),transparent var(--value, 0%))}.fastboard-slider-track::-webkit-slider-thumb{background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px #23292f26,0 0 0 1px #23292f33;width:13px;height:13px;position:relative;transition:all .2s ease;cursor:grab;appearance:none;margin-top:-4px}.fastboard-slider-track::-moz-range-track{border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;user-select:none;background-color:#80808040;-webkit-user-select:none}.fastboard-slider-track::-moz-range-thumb{appearance:none;background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px #23292f26,0 0 0 1px #23292f33;width:13px;height:13px;position:relative;transition:all .2s ease;cursor:grab}.fastboard-slider-track::-moz-range-progress{background:currentColor;border-radius:2.5px;height:5px}.fastboard-slider-track::-ms-track{border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;user-select:none;background-color:#80808040;-webkit-user-select:none;color:transparent}.fastboard-slider-track::-ms-thumb{appearance:none;background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px #23292f26,0 0 0 1px #23292f33;width:13px;height:13px;position:relative;transition:all .2s ease;cursor:grab;margin-top:0}.fastboard-slider-track::-ms-tooltip{display:none}.fastboard-slider-track::-moz-focus-outer{border:0}.fastboard-slider-track.grabbing::-webkit-slider-thumb{cursor:grabbing}.fastboard-slider-track.light{color:var(--fastboard-active-color, #3381ff)}.fastboard-slider-track.dark{color:var(--fastboard-active-color, #2867cc)}.fastboard-toolbar-contents{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);padding:2px 0;gap:0;flex-direction:column}.fastboard-toolbar-contents *{box-sizing:inherit}.fastboard-toolbar-contents.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-toolbar-contents.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-toolbar-contents>.fastboard-toolbar-btn{margin:2px 4px}.fastboard-toolbar-btn-interactive{position:relative}.fastboard-toolbar-triangle{width:0px;height:0px;border-bottom:4px solid;border-left:4px solid transparent;position:absolute;bottom:0;right:0}.fastboard-toolbar-btn:focus+.fastboard-toolbar-triangle{opacity:0}.fastboard-toolbar-scrollable{padding:2px 4px;overflow:hidden;display:flex;flex-direction:column;gap:4px}.fastboard-toolbar-tooltip{display:inline-flex;align-items:center;gap:4px}.fastboard-toolbar-hotkey{display:inline-flex;margin-right:-4px;width:24px;height:24px;align-items:center;justify-content:center;background-color:#ffffff1a;border-radius:4px}.fastboard-toolbar-panel-wrapper{display:none}.fastboard-toolbar-panel{display:flex;flex-direction:column}.fastboard-toolbar-panel-divider{height:.5px;width:100%;margin:4px 0;background-color:#ffffff26}.fastboard-toolbar-colors,.fastboard-toolbar-shapes{display:grid;align-self:center;grid-template:repeat(2,1fr)/repeat(4,1fr);align-items:center;justify-items:center;gap:4px}.fastboard-toolbar-shape-btn,.fastboard-toolbar-color-btn{width:24px;height:24px;padding:0;display:inline-flex;align-items:center;justify-content:center}.fastboard-toolbar-color-btn{border:1px solid transparent}.fastboard-toolbar-color-btn.light.is-active{border-color:var(--fastboard-active-color, #3381ff)}.fastboard-toolbar-color-btn.dark.is-active{border-color:var(--fastboard-active-color, #2867cc)}.fastboard-toolbar-color-item{display:inline-block;width:16px;height:16px;border-radius:4px;pointer-events:none}.fastboard-toolbar-panel.apps{display:grid;grid-template-columns:repeat(min(var(--n, 3),3),minmax(max-content,1fr));gap:4px}.fastboard-toolbar-app-btn{margin:0;border:0;border-radius:2px;padding:4px 6px;background-color:transparent;display:inline-flex;flex-direction:column;align-items:center;gap:4px;font-size:0}.fastboard-toolbar-app-btn:disabled{opacity:.8}.fastboard-toolbar-app-btn-icon{width:32px;height:32px;pointer-events:none}.fastboard-toolbar-app-btn-text{font-size:14px;line-height:1;max-width:100%;overflow:hidden;text-overflow:ellipsis}.fastboard-toolbar-app-btn.is-loading{cursor:progress}.fastboard-toolbar-app-btn.is-failed{cursor:not-allowed;opacity:.5}.fastboard-toolbar-app-btn:not(:disabled,.is-loading,.is-failed):hover.light{cursor:pointer;background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-toolbar-app-btn-text.light{color:var(--fastboard-color, #5d6066)}.fastboard-toolbar-app-btn:not(:disabled,.is-loading,.is-failed):hover.dark{cursor:pointer;background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-toolbar-app-btn-text.dark{color:var(--fastboard-color, #7b7e84)}.fastboard-root{position:relative;width:100%;height:100%;overflow:hidden}.fastboard-view{position:absolute;top:0;left:0;width:100%;height:100%}.fastboard-left{display:flex;align-items:center;position:absolute;bottom:62px;top:8px;left:0;z-index:200;pointer-events:none}.fastboard-left .fastboard-toolbar{padding-left:16px}.fastboard-bottom-left,.fastboard-bottom,.fastboard-bottom-right{display:flex;gap:10px;position:absolute;bottom:8px;left:8px;padding:8px;z-index:200;pointer-events:none}.fastboard-bottom-right{left:auto;right:8px}.fastboard-bottom{right:8px}.fastboard-left.hidden *,.fastboard-bottom.hidden *,.fastboard-bottom-left.hidden *,.fastboard-bottom-right.hidden *{opacity:0;pointer-events:none}.fastboard-tip{font-family:inherit;color:#d5d9e0;background-color:#03060d}.fastboard-tip[data-placement^=right]>.tippy-arrow:before{top:4px;border-width:4px;border-right-color:#03060d}.fastboard-tip[data-placement^=top]>.tippy-arrow:before{left:4px;border-width:4px;border-top-color:#03060d}.fastboard-panel .tippy-content{padding:8px}';
|
|
10671
|
+
var style_default = '.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.tippy-box[data-theme~=light]{color:#26323d;box-shadow:0 0 20px 4px #9aa1b126,0 4px 80px -8px #24282f40,0 4px 4px -2px #5b5e6926;background-color:#fff}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff}.tippy-box[data-theme~=light]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=light]>.tippy-svg-arrow{fill:#fff}.fastboard-icon.light .fastboard-icon-stroke-color{stroke:var(--fastboard-color, #5d6066)}.fastboard-icon.light .fastboard-icon-fill-color{fill:var(--fastboard-color, #5d6066)}.fastboard-icon.light.is-active .fastboard-icon-stroke-color{stroke:var(--fastboard-active-color, #3381ff)}.fastboard-icon.light.is-active .fastboard-icon-fill-color{fill:var(--fastboard-active-color, #3381ff)}.fastboard-icon.dark .fastboard-icon-stroke-color{stroke:var(--fastboard-color, #7b7e84)}.fastboard-icon.dark .fastboard-icon-fill-color{fill:var(--fastboard-color, #7b7e84)}.fastboard-icon.dark.is-active .fastboard-icon-stroke-color{stroke:var(--fastboard-active-color, #2867cc)}.fastboard-icon.dark.is-active .fastboard-icon-fill-color{fill:var(--fastboard-active-color, #2867cc)}.fastboard-redo-undo{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.fastboard-redo-undo *{box-sizing:inherit}.fastboard-redo-undo.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-redo-undo.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-redo-undo-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:0;width:24px;height:24px;background-color:#0000;border-radius:4px;font-size:0;line-height:1;flex-shrink:0}.fastboard-redo-undo-btn svg,.fastboard-redo-undo-btn img{width:100%;height:100%;pointer-events:none}.fastboard-redo-undo-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-redo-undo-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-redo-undo-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-zoom-control{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.fastboard-zoom-control *{box-sizing:inherit}.fastboard-zoom-control.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-zoom-control.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-zoom-control-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:0;width:24px;height:24px;background-color:#0000;border-radius:4px;font-size:0;line-height:1;flex-shrink:0}.fastboard-zoom-control-btn svg,.fastboard-zoom-control-btn img{width:100%;height:100%;pointer-events:none}.fastboard-zoom-control-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-zoom-control-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-zoom-control-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-zoom-control-text{font-variant-numeric:tabular-nums}.fastboard-page-control{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.fastboard-page-control *{box-sizing:inherit}.fastboard-page-control.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-page-control.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-page-control-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:0;width:24px;height:24px;background-color:#0000;border-radius:4px;font-size:0;line-height:1;flex-shrink:0}.fastboard-page-control-btn svg,.fastboard-page-control-btn img{width:100%;height:100%;pointer-events:none}.fastboard-page-control-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-page-control-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-page-control-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-page-control-text{font-variant-numeric:tabular-nums}.fastboard-player-control{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);width:100%}.fastboard-player-control *{box-sizing:inherit}.fastboard-player-control.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-player-control.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-player-control-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:0;width:24px;height:24px;background-color:#0000;border-radius:4px;font-size:0;line-height:1;flex-shrink:0;display:inline}.fastboard-player-control-btn svg,.fastboard-player-control-btn img{width:100%;height:100%;pointer-events:none}.fastboard-player-control-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-player-control-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-player-control-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-player-control-btn.loading svg,.fastboard-player-control-btn.loading img{animation:fastboard-player-control-rotate .5s linear infinite}@keyframes fastboard-player-control-rotate{to{transform:rotate(360deg)}}.fastboard-player-control-btn.speed{width:auto;padding:4px;text-align:right;font-size:14px;font-variant-numeric:tabular-nums}.fastboard-player-control-btn.is-active.light{color:var(--fastboard-active-color, #3381ff)}.fastboard-player-control-btn.is-active.dark{color:var(--fastboard-active-color, #2867cc)}.fastboard-player-control-speed-text,.fastboard-player-control-progress{font-size:14px;font-variant-numeric:tabular-nums;line-height:16px}.fastboard-player-control-progress{display:inline-flex;align-items:center}.fastboard-player-control-panel.speed{display:flex;flex-direction:column}.fastboard-toolbar{height:100%;display:flex;align-items:center;position:relative;transform:translate(0);transition:transform .5s cubic-bezier(.34,1.56,.64,1);pointer-events:none}.fastboard-toolbar.collapsed{transform:translate(-100%)}.fastboard-toolbar-handler{position:absolute;left:100%;width:17px;font-size:0;border-radius:3px;cursor:pointer;pointer-events:auto}.fastboard-toolbar-handler:focus-within{outline:2px solid -webkit-focus-ring-color}.fastboard-toolbar-handler input[type=checkbox]{position:absolute;top:0;left:0;appearance:none;margin:0;width:100%;height:100%;cursor:pointer;opacity:0;z-index:-1}.fastboard-toolbar-handler svg{opacity:0;transition:opacity .5s 1s;pointer-events:none}.fastboard-toolbar-handler.light .fastboard-toolbar-handler-bg-color{fill:var(--fastboard-bg-color, rgba(255, 255, 255, .9))}.fastboard-toolbar-handler.light .fastboard-toolbar-handler-border-color{stroke:var(--fastboard-border-color, #e5e8f0)}.fastboard-toolbar-handler.light .fastboard-toolbar-handler-image-stroke-color{stroke:var(--fastboard-color, #5d6066)}.fastboard-toolbar-handler.light .fastboard-toolbar-handler-image-fill-color{fill:var(--fastboard-color, #5d6066)}.fastboard-toolbar-handler.dark .fastboard-toolbar-handler-bg-color{fill:var(--fastboard-bg-color, rgba(20, 24, 30, .9))}.fastboard-toolbar-handler.dark .fastboard-toolbar-handler-border-color{stroke:var(--fastboard-border-color, #383b42)}.fastboard-toolbar-handler.dark .fastboard-toolbar-handler-image-stroke-color{stroke:var(--fastboard-color, #7b7e84)}.fastboard-toolbar-handler.dark .fastboard-toolbar-handler-image-fill-color{fill:var(--fastboard-color, #7b7e84)}.fastboard-toolbar:hover .fastboard-toolbar-handler svg,.fastboard-toolbar.collapsed .fastboard-toolbar-handler svg{opacity:1;transition:opacity .2s}.fastboard-toolbar-btn{appearance:none;cursor:pointer;margin:0;border:0;padding:4px;width:32px;height:32px;background-color:#0000;border-radius:4px;font-size:0;line-height:1;flex-shrink:0}.fastboard-toolbar-btn svg,.fastboard-toolbar-btn img{width:100%;height:100%;pointer-events:none}.fastboard-toolbar-btn:disabled{opacity:.5;cursor:not-allowed}.fastboard-toolbar-btn.light:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-toolbar-btn.dark:not(:disabled):hover{background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-slider{box-sizing:border-box;position:relative;width:100%;height:100%;display:flex;align-items:center}.fastboard-slider *{box-sizing:inherit}.fastboard-slider-track{appearance:none;background:rgba(0,0,0,0);border:0;border-radius:26px;flex:1;display:block;height:19px;margin:0;width:0;min-width:0;padding:0;transition:box-shadow .3s ease;cursor:pointer;touch-action:manipulation}.fastboard-slider-track::-webkit-slider-runnable-track{border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;user-select:none;background-color:#80808040;-webkit-user-select:none;background-image:linear-gradient(to right,currentColor var(--value, 0%),transparent var(--value, 0%))}.fastboard-slider-track::-webkit-slider-thumb{background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px #23292f26,0 0 0 1px #23292f33;width:13px;height:13px;position:relative;transition:all .2s ease;cursor:grab;appearance:none;margin-top:-4px}.fastboard-slider-track::-moz-range-track{border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;user-select:none;background-color:#80808040;-webkit-user-select:none}.fastboard-slider-track::-moz-range-thumb{appearance:none;background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px #23292f26,0 0 0 1px #23292f33;width:13px;height:13px;position:relative;transition:all .2s ease;cursor:grab}.fastboard-slider-track::-moz-range-progress{background:currentColor;border-radius:2.5px;height:5px}.fastboard-slider-track::-ms-track{border:0;border-radius:2.5px;height:5px;transition:box-shadow .3s ease;user-select:none;background-color:#80808040;-webkit-user-select:none;color:#0000}.fastboard-slider-track::-ms-thumb{appearance:none;background:#fff;border:0;border-radius:100%;box-shadow:0 1px 1px #23292f26,0 0 0 1px #23292f33;width:13px;height:13px;position:relative;transition:all .2s ease;cursor:grab;margin-top:0}.fastboard-slider-track::-ms-tooltip{display:none}.fastboard-slider-track::-moz-focus-outer{border:0}.fastboard-slider-track.grabbing::-webkit-slider-thumb{cursor:grabbing}.fastboard-slider-track.light{color:var(--fastboard-active-color, #3381ff)}.fastboard-slider-track.dark{color:var(--fastboard-active-color, #2867cc)}.fastboard-toolbar-contents{box-sizing:border-box;display:inline-flex;align-items:center;gap:4px;border:1px solid;border-radius:4px;font-size:14px;font-family:system-ui;pointer-events:auto;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);padding:2px 0;gap:0;flex-direction:column}.fastboard-toolbar-contents *{box-sizing:inherit}.fastboard-toolbar-contents.light{color:var(--fastboard-color, #5d6066);background-color:var(--fastboard-bg-color, rgba(255, 255, 255, .9));border-color:var(--fastboard-border-color, #e5e8f0)}.fastboard-toolbar-contents.dark{color:var(--fastboard-color, #7b7e84);background-color:var(--fastboard-bg-color, rgba(20, 24, 30, .9));border-color:var(--fastboard-border-color, #383b42)}.fastboard-toolbar-contents>.fastboard-toolbar-btn{margin:2px 4px}.fastboard-toolbar-btn-interactive{position:relative}.fastboard-toolbar-triangle{width:0px;height:0px;border-bottom:4px solid;border-left:4px solid rgba(0,0,0,0);position:absolute;bottom:0;right:0}.fastboard-toolbar-btn:focus+.fastboard-toolbar-triangle{opacity:0}.fastboard-toolbar-scrollable{padding:2px 4px;overflow:hidden;display:flex;flex-direction:column;gap:4px}.fastboard-toolbar-tooltip{display:inline-flex;align-items:center;gap:4px}.fastboard-toolbar-hotkey{display:inline-flex;margin-right:-4px;width:24px;height:24px;align-items:center;justify-content:center;background-color:#ffffff1a;border-radius:4px}.fastboard-toolbar-panel-wrapper{display:none}.fastboard-toolbar-panel{display:flex;flex-direction:column}.fastboard-toolbar-panel-divider{height:.5px;width:100%;margin:4px 0;background-color:#ffffff26}.fastboard-toolbar-colors,.fastboard-toolbar-shapes{display:grid;align-self:center;grid-template:repeat(2,1fr)/repeat(4,1fr);align-items:center;justify-items:center;gap:4px}.fastboard-toolbar-shape-btn,.fastboard-toolbar-color-btn{width:24px;height:24px;padding:0;display:inline-flex;align-items:center;justify-content:center}.fastboard-toolbar-color-btn{border:1px solid rgba(0,0,0,0)}.fastboard-toolbar-color-btn.light.is-active{border-color:var(--fastboard-active-color, #3381ff)}.fastboard-toolbar-color-btn.dark.is-active{border-color:var(--fastboard-active-color, #2867cc)}.fastboard-toolbar-color-item{display:inline-block;width:16px;height:16px;border-radius:4px;pointer-events:none}.fastboard-toolbar-panel.apps{display:grid;grid-template-columns:repeat(min(var(--n, 3),3),minmax(max-content,1fr));gap:4px}.fastboard-toolbar-app-btn{margin:0;border:0;border-radius:2px;padding:4px 6px;background-color:#0000;display:inline-flex;flex-direction:column;align-items:center;gap:4px;font-size:0}.fastboard-toolbar-app-btn:disabled{opacity:.8}.fastboard-toolbar-app-btn-icon{width:32px;height:32px;pointer-events:none}.fastboard-toolbar-app-btn-text{font-size:14px;line-height:1;max-width:100%;overflow:hidden;text-overflow:ellipsis}.fastboard-toolbar-app-btn.is-loading{cursor:progress}.fastboard-toolbar-app-btn.is-failed{cursor:not-allowed;opacity:.5}.fastboard-toolbar-app-btn:not(:disabled,.is-loading,.is-failed):hover.light{cursor:pointer;background-color:var(--fastboard-hover-bg-color, #ebf2ff)}.fastboard-toolbar-app-btn-text.light{color:var(--fastboard-color, #5d6066)}.fastboard-toolbar-app-btn:not(:disabled,.is-loading,.is-failed):hover.dark{cursor:pointer;background-color:var(--fastboard-hover-bg-color, #383b42)}.fastboard-toolbar-app-btn-text.dark{color:var(--fastboard-color, #7b7e84)}.fastboard-root{position:relative;width:100%;height:100%;overflow:hidden}.fastboard-view{position:absolute;top:0;left:0;width:100%;height:100%}.fastboard-left{display:flex;align-items:center;position:absolute;bottom:62px;top:8px;left:0;z-index:200;pointer-events:none}.fastboard-left .fastboard-toolbar{padding-left:16px}.fastboard-bottom-left,.fastboard-bottom,.fastboard-bottom-right{display:flex;gap:10px;position:absolute;bottom:8px;left:8px;padding:8px;z-index:200;pointer-events:none}.fastboard-bottom-right{left:auto;right:8px}.fastboard-bottom{right:8px}.fastboard-left.hidden *,.fastboard-bottom.hidden *,.fastboard-bottom-left.hidden *,.fastboard-bottom-right.hidden *{opacity:0;pointer-events:none}.fastboard-tip{font-family:inherit;color:#d5d9e0;background-color:#03060d}.fastboard-tip[data-placement^=right]>.tippy-arrow:before{top:4px;border-width:4px;border-right-color:#03060d}.fastboard-tip[data-placement^=top]>.tippy-arrow:before{left:4px;border-width:4px;border-top-color:#03060d}.fastboard-panel .tippy-content{padding:8px}';
|
|
10313
10672
|
|
|
10314
10673
|
// inline-sass-stub:./src/style.scss
|
|
10315
10674
|
injectStyle(style_default);
|