@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.mjs
CHANGED
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
|
|
21
|
-
// ../../node_modules/.pnpm/svelte@3.46.
|
|
21
|
+
// ../../node_modules/.pnpm/svelte@3.46.5/node_modules/svelte/internal/index.mjs
|
|
22
22
|
function noop() {
|
|
23
23
|
}
|
|
24
24
|
function assign(tar, src) {
|
|
@@ -324,7 +324,7 @@ function outro_and_destroy_block(block, lookup) {
|
|
|
324
324
|
lookup.delete(block.key);
|
|
325
325
|
});
|
|
326
326
|
}
|
|
327
|
-
function update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy,
|
|
327
|
+
function update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block6, next, get_context) {
|
|
328
328
|
let o = old_blocks.length;
|
|
329
329
|
let n = list.length;
|
|
330
330
|
let i = o;
|
|
@@ -340,7 +340,7 @@ function update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, looku
|
|
|
340
340
|
const key = get_key(child_ctx);
|
|
341
341
|
let block = lookup.get(key);
|
|
342
342
|
if (!block) {
|
|
343
|
-
block =
|
|
343
|
+
block = create_each_block6(key, child_ctx);
|
|
344
344
|
block.c();
|
|
345
345
|
} else if (dynamic) {
|
|
346
346
|
block.p(child_ctx, dirty);
|
|
@@ -462,7 +462,7 @@ function make_dirty(component, i) {
|
|
|
462
462
|
}
|
|
463
463
|
component.$$.dirty[i / 31 | 0] |= 1 << i % 31;
|
|
464
464
|
}
|
|
465
|
-
function init(component, options,
|
|
465
|
+
function init(component, options, instance60, create_fragment60, not_equal, props, append_styles, dirty = [-1]) {
|
|
466
466
|
const parent_component = current_component;
|
|
467
467
|
set_current_component(component);
|
|
468
468
|
const $$ = component.$$ = {
|
|
@@ -485,7 +485,7 @@ function init(component, options, instance59, create_fragment59, not_equal, prop
|
|
|
485
485
|
};
|
|
486
486
|
append_styles && append_styles($$.root);
|
|
487
487
|
let ready = false;
|
|
488
|
-
$$.ctx =
|
|
488
|
+
$$.ctx = instance60 ? instance60(component, options.props || {}, (i, ret, ...rest) => {
|
|
489
489
|
const value = rest.length ? rest[0] : ret;
|
|
490
490
|
if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {
|
|
491
491
|
if (!$$.skip_bound && $$.bound[i])
|
|
@@ -498,7 +498,7 @@ function init(component, options, instance59, create_fragment59, not_equal, prop
|
|
|
498
498
|
$$.update();
|
|
499
499
|
ready = true;
|
|
500
500
|
run_all($$.before_update);
|
|
501
|
-
$$.fragment =
|
|
501
|
+
$$.fragment = create_fragment60 ? create_fragment60($$.ctx) : false;
|
|
502
502
|
if (options.target) {
|
|
503
503
|
if (options.hydrate) {
|
|
504
504
|
start_hydrating();
|
|
@@ -3479,12 +3479,12 @@ if (is_client) {
|
|
|
3479
3479
|
{
|
|
3480
3480
|
name: "className",
|
|
3481
3481
|
defaultValue: "",
|
|
3482
|
-
fn(
|
|
3482
|
+
fn(instance60) {
|
|
3483
3483
|
function add() {
|
|
3484
|
-
const el =
|
|
3484
|
+
const el = instance60.popper.firstElementChild;
|
|
3485
3485
|
if (el) {
|
|
3486
3486
|
el.classList.add("fastboard-tip");
|
|
3487
|
-
const extra = (
|
|
3487
|
+
const extra = (instance60.props.className || "").trim();
|
|
3488
3488
|
if (extra) {
|
|
3489
3489
|
el.classList.add(extra);
|
|
3490
3490
|
}
|
|
@@ -3492,7 +3492,7 @@ if (is_client) {
|
|
|
3492
3492
|
}
|
|
3493
3493
|
function remove() {
|
|
3494
3494
|
var _a;
|
|
3495
|
-
(_a =
|
|
3495
|
+
(_a = instance60.popper.firstElementChild) == null ? void 0 : _a.classList.remove("fastboard-tip");
|
|
3496
3496
|
}
|
|
3497
3497
|
return {
|
|
3498
3498
|
onCreate: add,
|
|
@@ -3505,21 +3505,21 @@ if (is_client) {
|
|
|
3505
3505
|
});
|
|
3506
3506
|
}
|
|
3507
3507
|
var tippy = function(node, props) {
|
|
3508
|
-
const
|
|
3508
|
+
const instance60 = Tippy(node, props);
|
|
3509
3509
|
return {
|
|
3510
3510
|
update(props2) {
|
|
3511
|
-
|
|
3511
|
+
instance60.setProps(props2);
|
|
3512
3512
|
},
|
|
3513
3513
|
destroy() {
|
|
3514
|
-
|
|
3514
|
+
instance60.destroy();
|
|
3515
3515
|
}
|
|
3516
3516
|
};
|
|
3517
3517
|
};
|
|
3518
3518
|
function tippy_hide_all() {
|
|
3519
3519
|
document.querySelectorAll("[data-tippy-root]").forEach((el) => {
|
|
3520
|
-
const
|
|
3521
|
-
if (
|
|
3522
|
-
|
|
3520
|
+
const instance60 = el._tippy;
|
|
3521
|
+
if (instance60)
|
|
3522
|
+
instance60.hide();
|
|
3523
3523
|
});
|
|
3524
3524
|
}
|
|
3525
3525
|
var tippy_menu = {
|
|
@@ -5484,7 +5484,7 @@ var ZoomControl = class extends SvelteComponent {
|
|
|
5484
5484
|
};
|
|
5485
5485
|
var ZoomControl_default = ZoomControl;
|
|
5486
5486
|
|
|
5487
|
-
// ../../node_modules/.pnpm/svelte@3.46.
|
|
5487
|
+
// ../../node_modules/.pnpm/svelte@3.46.5/node_modules/svelte/store/index.mjs
|
|
5488
5488
|
var subscriber_queue = [];
|
|
5489
5489
|
function writable(value, start = noop) {
|
|
5490
5490
|
let stop;
|
|
@@ -6162,8 +6162,160 @@ var StrokeColor = class extends SvelteComponent {
|
|
|
6162
6162
|
};
|
|
6163
6163
|
var StrokeColor_default = StrokeColor;
|
|
6164
6164
|
|
|
6165
|
-
// src/components/Toolbar/components/
|
|
6165
|
+
// src/components/Toolbar/components/TextColor.svelte
|
|
6166
6166
|
function get_each_context2(ctx, list, i) {
|
|
6167
|
+
const child_ctx = ctx.slice();
|
|
6168
|
+
child_ctx[7] = list[i];
|
|
6169
|
+
return child_ctx;
|
|
6170
|
+
}
|
|
6171
|
+
function create_each_block2(key_1, ctx) {
|
|
6172
|
+
let button;
|
|
6173
|
+
let span;
|
|
6174
|
+
let t;
|
|
6175
|
+
let button_class_value;
|
|
6176
|
+
let button_data_color_key_value;
|
|
6177
|
+
return {
|
|
6178
|
+
key: key_1,
|
|
6179
|
+
first: null,
|
|
6180
|
+
c() {
|
|
6181
|
+
button = element("button");
|
|
6182
|
+
span = element("span");
|
|
6183
|
+
t = space();
|
|
6184
|
+
attr(span, "class", "fastboard-toolbar-color-item");
|
|
6185
|
+
set_style(span, "background-color", ctx[7], false);
|
|
6186
|
+
attr(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-color-btn " + ctx[0]);
|
|
6187
|
+
attr(button, "data-color-key", button_data_color_key_value = ctx[7]);
|
|
6188
|
+
button.disabled = ctx[1];
|
|
6189
|
+
toggle_class(button, "is-active", is_equal_color2(ctx[2], colors[ctx[7]]));
|
|
6190
|
+
this.first = button;
|
|
6191
|
+
},
|
|
6192
|
+
m(target, anchor) {
|
|
6193
|
+
insert(target, button, anchor);
|
|
6194
|
+
append(button, span);
|
|
6195
|
+
append(button, t);
|
|
6196
|
+
},
|
|
6197
|
+
p(new_ctx, dirty) {
|
|
6198
|
+
ctx = new_ctx;
|
|
6199
|
+
if (dirty & 1 && button_class_value !== (button_class_value = "fastboard-toolbar-btn fastboard-toolbar-color-btn " + ctx[0])) {
|
|
6200
|
+
attr(button, "class", button_class_value);
|
|
6201
|
+
}
|
|
6202
|
+
if (dirty & 2) {
|
|
6203
|
+
button.disabled = ctx[1];
|
|
6204
|
+
}
|
|
6205
|
+
if (dirty & 5) {
|
|
6206
|
+
toggle_class(button, "is-active", is_equal_color2(ctx[2], colors[ctx[7]]));
|
|
6207
|
+
}
|
|
6208
|
+
},
|
|
6209
|
+
d(detaching) {
|
|
6210
|
+
if (detaching)
|
|
6211
|
+
detach(button);
|
|
6212
|
+
}
|
|
6213
|
+
};
|
|
6214
|
+
}
|
|
6215
|
+
function create_fragment53(ctx) {
|
|
6216
|
+
let div;
|
|
6217
|
+
let each_blocks = [];
|
|
6218
|
+
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
6219
|
+
let div_class_value;
|
|
6220
|
+
let mounted;
|
|
6221
|
+
let dispose;
|
|
6222
|
+
let each_value = colorKeys;
|
|
6223
|
+
const get_key = (ctx2) => ctx2[7];
|
|
6224
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
6225
|
+
let child_ctx = get_each_context2(ctx, each_value, i);
|
|
6226
|
+
let key = get_key(child_ctx);
|
|
6227
|
+
each_1_lookup.set(key, each_blocks[i] = create_each_block2(key, child_ctx));
|
|
6228
|
+
}
|
|
6229
|
+
return {
|
|
6230
|
+
c() {
|
|
6231
|
+
div = element("div");
|
|
6232
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
6233
|
+
each_blocks[i].c();
|
|
6234
|
+
}
|
|
6235
|
+
attr(div, "class", div_class_value = "fastboard-toolbar-colors " + ctx[0]);
|
|
6236
|
+
},
|
|
6237
|
+
m(target, anchor) {
|
|
6238
|
+
insert(target, div, anchor);
|
|
6239
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
6240
|
+
each_blocks[i].m(div, null);
|
|
6241
|
+
}
|
|
6242
|
+
if (!mounted) {
|
|
6243
|
+
dispose = listen(div, "click", ctx[4]);
|
|
6244
|
+
mounted = true;
|
|
6245
|
+
}
|
|
6246
|
+
},
|
|
6247
|
+
p(ctx2, [dirty]) {
|
|
6248
|
+
if (dirty & 7) {
|
|
6249
|
+
each_value = colorKeys;
|
|
6250
|
+
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);
|
|
6251
|
+
}
|
|
6252
|
+
if (dirty & 1 && div_class_value !== (div_class_value = "fastboard-toolbar-colors " + ctx2[0])) {
|
|
6253
|
+
attr(div, "class", div_class_value);
|
|
6254
|
+
}
|
|
6255
|
+
},
|
|
6256
|
+
i: noop,
|
|
6257
|
+
o: noop,
|
|
6258
|
+
d(detaching) {
|
|
6259
|
+
if (detaching)
|
|
6260
|
+
detach(div);
|
|
6261
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
6262
|
+
each_blocks[i].d();
|
|
6263
|
+
}
|
|
6264
|
+
mounted = false;
|
|
6265
|
+
dispose();
|
|
6266
|
+
}
|
|
6267
|
+
};
|
|
6268
|
+
}
|
|
6269
|
+
function is_equal_color2(a, b) {
|
|
6270
|
+
return a && b && a.every((v, i) => v === b[i]);
|
|
6271
|
+
}
|
|
6272
|
+
function instance53($$self, $$props, $$invalidate) {
|
|
6273
|
+
let memberState;
|
|
6274
|
+
let textColor;
|
|
6275
|
+
let $memberState, $$unsubscribe_memberState = noop, $$subscribe_memberState = () => ($$unsubscribe_memberState(), $$unsubscribe_memberState = subscribe(memberState, ($$value) => $$invalidate(6, $memberState = $$value)), memberState);
|
|
6276
|
+
$$self.$$.on_destroy.push(() => $$unsubscribe_memberState());
|
|
6277
|
+
let { app = null } = $$props;
|
|
6278
|
+
let { theme = "light" } = $$props;
|
|
6279
|
+
let { disabled = false } = $$props;
|
|
6280
|
+
function set_stroke_color(ev) {
|
|
6281
|
+
let button = ev.target;
|
|
6282
|
+
if (button && button.dataset.colorKey) {
|
|
6283
|
+
let color = colors[button.dataset.colorKey];
|
|
6284
|
+
if (color && app) {
|
|
6285
|
+
app.setTextColor(color);
|
|
6286
|
+
}
|
|
6287
|
+
}
|
|
6288
|
+
}
|
|
6289
|
+
$$self.$$set = ($$props2) => {
|
|
6290
|
+
if ("app" in $$props2)
|
|
6291
|
+
$$invalidate(5, app = $$props2.app);
|
|
6292
|
+
if ("theme" in $$props2)
|
|
6293
|
+
$$invalidate(0, theme = $$props2.theme);
|
|
6294
|
+
if ("disabled" in $$props2)
|
|
6295
|
+
$$invalidate(1, disabled = $$props2.disabled);
|
|
6296
|
+
};
|
|
6297
|
+
$$self.$$.update = () => {
|
|
6298
|
+
if ($$self.$$.dirty & 32) {
|
|
6299
|
+
$:
|
|
6300
|
+
$$subscribe_memberState($$invalidate(3, memberState = app == null ? void 0 : app.memberState));
|
|
6301
|
+
}
|
|
6302
|
+
if ($$self.$$.dirty & 64) {
|
|
6303
|
+
$:
|
|
6304
|
+
$$invalidate(2, textColor = $memberState == null ? void 0 : $memberState.textColor);
|
|
6305
|
+
}
|
|
6306
|
+
};
|
|
6307
|
+
return [theme, disabled, textColor, memberState, set_stroke_color, app, $memberState];
|
|
6308
|
+
}
|
|
6309
|
+
var TextColor = class extends SvelteComponent {
|
|
6310
|
+
constructor(options) {
|
|
6311
|
+
super();
|
|
6312
|
+
init(this, options, instance53, create_fragment53, safe_not_equal, { app: 5, theme: 0, disabled: 1 });
|
|
6313
|
+
}
|
|
6314
|
+
};
|
|
6315
|
+
var TextColor_default = TextColor;
|
|
6316
|
+
|
|
6317
|
+
// src/components/Toolbar/components/Shapes.svelte
|
|
6318
|
+
function get_each_context3(ctx, list, i) {
|
|
6167
6319
|
const child_ctx = ctx.slice();
|
|
6168
6320
|
child_ctx[12] = list[i];
|
|
6169
6321
|
const constants_0 = child_ctx[4] === "shape" ? child_ctx[3] === child_ctx[12] : child_ctx[4] === child_ctx[12];
|
|
@@ -6310,7 +6462,7 @@ function create_if_block5(ctx) {
|
|
|
6310
6462
|
}
|
|
6311
6463
|
};
|
|
6312
6464
|
}
|
|
6313
|
-
function
|
|
6465
|
+
function create_each_block3(key_1, ctx) {
|
|
6314
6466
|
let button;
|
|
6315
6467
|
let current_block_type_index;
|
|
6316
6468
|
let if_block;
|
|
@@ -6412,7 +6564,7 @@ function create_each_block2(key_1, ctx) {
|
|
|
6412
6564
|
}
|
|
6413
6565
|
};
|
|
6414
6566
|
}
|
|
6415
|
-
function
|
|
6567
|
+
function create_fragment54(ctx) {
|
|
6416
6568
|
let div;
|
|
6417
6569
|
let each_blocks = [];
|
|
6418
6570
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
|
@@ -6423,9 +6575,9 @@ function create_fragment53(ctx) {
|
|
|
6423
6575
|
let each_value = shapes;
|
|
6424
6576
|
const get_key = (ctx2) => ctx2[12];
|
|
6425
6577
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
6426
|
-
let child_ctx =
|
|
6578
|
+
let child_ctx = get_each_context3(ctx, each_value, i);
|
|
6427
6579
|
let key = get_key(child_ctx);
|
|
6428
|
-
each_1_lookup.set(key, each_blocks[i] =
|
|
6580
|
+
each_1_lookup.set(key, each_blocks[i] = create_each_block3(key, child_ctx));
|
|
6429
6581
|
}
|
|
6430
6582
|
return {
|
|
6431
6583
|
c() {
|
|
@@ -6450,7 +6602,7 @@ function create_fragment53(ctx) {
|
|
|
6450
6602
|
if (dirty & 95) {
|
|
6451
6603
|
each_value = shapes;
|
|
6452
6604
|
group_outros();
|
|
6453
|
-
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx2, each_value, each_1_lookup, div, outro_and_destroy_block,
|
|
6605
|
+
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);
|
|
6454
6606
|
check_outros();
|
|
6455
6607
|
}
|
|
6456
6608
|
if (!current || dirty & 1 && div_class_value !== (div_class_value = "fastboard-toolbar-shapes " + ctx2[0])) {
|
|
@@ -6504,7 +6656,7 @@ var i18n5 = {
|
|
|
6504
6656
|
speechBalloon: "\u6C14\u6CE1"
|
|
6505
6657
|
}
|
|
6506
6658
|
};
|
|
6507
|
-
function
|
|
6659
|
+
function instance54($$self, $$props, $$invalidate) {
|
|
6508
6660
|
let t;
|
|
6509
6661
|
let memberState;
|
|
6510
6662
|
let appliance;
|
|
@@ -6589,7 +6741,7 @@ function instance53($$self, $$props, $$invalidate) {
|
|
|
6589
6741
|
var Shapes = class extends SvelteComponent {
|
|
6590
6742
|
constructor(options) {
|
|
6591
6743
|
super();
|
|
6592
|
-
init(this, options,
|
|
6744
|
+
init(this, options, instance54, create_fragment54, safe_not_equal, {
|
|
6593
6745
|
app: 8,
|
|
6594
6746
|
theme: 0,
|
|
6595
6747
|
language: 9,
|
|
@@ -6600,7 +6752,7 @@ var Shapes = class extends SvelteComponent {
|
|
|
6600
6752
|
var Shapes_default = Shapes;
|
|
6601
6753
|
|
|
6602
6754
|
// src/components/Toolbar/components/Contents.svelte
|
|
6603
|
-
function
|
|
6755
|
+
function get_each_context4(ctx, list, i) {
|
|
6604
6756
|
const child_ctx = ctx.slice();
|
|
6605
6757
|
child_ctx[40] = list[i];
|
|
6606
6758
|
const constants_0 = child_ctx[40];
|
|
@@ -7693,7 +7845,7 @@ function create_default_slot4(ctx) {
|
|
|
7693
7845
|
}
|
|
7694
7846
|
};
|
|
7695
7847
|
}
|
|
7696
|
-
function
|
|
7848
|
+
function create_each_block4(ctx) {
|
|
7697
7849
|
let button;
|
|
7698
7850
|
let img;
|
|
7699
7851
|
let img_class_value;
|
|
@@ -7794,7 +7946,7 @@ function create_each_block3(ctx) {
|
|
|
7794
7946
|
}
|
|
7795
7947
|
};
|
|
7796
7948
|
}
|
|
7797
|
-
function
|
|
7949
|
+
function create_fragment55(ctx) {
|
|
7798
7950
|
let t0;
|
|
7799
7951
|
let div0;
|
|
7800
7952
|
let button0;
|
|
@@ -7828,7 +7980,7 @@ function create_fragment54(ctx) {
|
|
|
7828
7980
|
let div2_class_value;
|
|
7829
7981
|
let t12;
|
|
7830
7982
|
let div3;
|
|
7831
|
-
let
|
|
7983
|
+
let textcolor;
|
|
7832
7984
|
let div3_class_value;
|
|
7833
7985
|
let t13;
|
|
7834
7986
|
let div6;
|
|
@@ -7842,7 +7994,7 @@ function create_fragment54(ctx) {
|
|
|
7842
7994
|
let div5;
|
|
7843
7995
|
let div5_class_value;
|
|
7844
7996
|
let t17;
|
|
7845
|
-
let
|
|
7997
|
+
let strokecolor1;
|
|
7846
7998
|
let div6_class_value;
|
|
7847
7999
|
let t18;
|
|
7848
8000
|
let div7;
|
|
@@ -7975,7 +8127,7 @@ function create_fragment54(ctx) {
|
|
|
7975
8127
|
disabled: ctx[3]
|
|
7976
8128
|
}
|
|
7977
8129
|
});
|
|
7978
|
-
|
|
8130
|
+
textcolor = new TextColor_default({
|
|
7979
8131
|
props: {
|
|
7980
8132
|
app: ctx[0],
|
|
7981
8133
|
theme: ctx[1],
|
|
@@ -7997,7 +8149,7 @@ function create_fragment54(ctx) {
|
|
|
7997
8149
|
disabled: ctx[3]
|
|
7998
8150
|
}
|
|
7999
8151
|
});
|
|
8000
|
-
|
|
8152
|
+
strokecolor1 = new StrokeColor_default({
|
|
8001
8153
|
props: {
|
|
8002
8154
|
app: ctx[0],
|
|
8003
8155
|
theme: ctx[1],
|
|
@@ -8007,7 +8159,7 @@ function create_fragment54(ctx) {
|
|
|
8007
8159
|
let each_value = ctx[18];
|
|
8008
8160
|
let each_blocks = [];
|
|
8009
8161
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
8010
|
-
each_blocks[i] =
|
|
8162
|
+
each_blocks[i] = create_each_block4(get_each_context4(ctx, each_value, i));
|
|
8011
8163
|
}
|
|
8012
8164
|
return {
|
|
8013
8165
|
c() {
|
|
@@ -8043,7 +8195,7 @@ function create_fragment54(ctx) {
|
|
|
8043
8195
|
create_component(strokecolor0.$$.fragment);
|
|
8044
8196
|
t12 = space();
|
|
8045
8197
|
div3 = element("div");
|
|
8046
|
-
create_component(
|
|
8198
|
+
create_component(textcolor.$$.fragment);
|
|
8047
8199
|
t13 = space();
|
|
8048
8200
|
div6 = element("div");
|
|
8049
8201
|
create_component(shapes2.$$.fragment);
|
|
@@ -8054,7 +8206,7 @@ function create_fragment54(ctx) {
|
|
|
8054
8206
|
t16 = space();
|
|
8055
8207
|
div5 = element("div");
|
|
8056
8208
|
t17 = space();
|
|
8057
|
-
create_component(
|
|
8209
|
+
create_component(strokecolor1.$$.fragment);
|
|
8058
8210
|
t18 = space();
|
|
8059
8211
|
div7 = element("div");
|
|
8060
8212
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
@@ -8107,7 +8259,7 @@ function create_fragment54(ctx) {
|
|
|
8107
8259
|
ctx[34](div2);
|
|
8108
8260
|
append(div8, t12);
|
|
8109
8261
|
append(div8, div3);
|
|
8110
|
-
mount_component(
|
|
8262
|
+
mount_component(textcolor, div3, null);
|
|
8111
8263
|
ctx[35](div3);
|
|
8112
8264
|
append(div8, t13);
|
|
8113
8265
|
append(div8, div6);
|
|
@@ -8119,7 +8271,7 @@ function create_fragment54(ctx) {
|
|
|
8119
8271
|
append(div6, t16);
|
|
8120
8272
|
append(div6, div5);
|
|
8121
8273
|
append(div6, t17);
|
|
8122
|
-
mount_component(
|
|
8274
|
+
mount_component(strokecolor1, div6, null);
|
|
8123
8275
|
ctx[36](div6);
|
|
8124
8276
|
append(div8, t18);
|
|
8125
8277
|
append(div8, div7);
|
|
@@ -8273,14 +8425,14 @@ function create_fragment54(ctx) {
|
|
|
8273
8425
|
if (dirty[0] & 8)
|
|
8274
8426
|
strokecolor0_changes.disabled = ctx2[3];
|
|
8275
8427
|
strokecolor0.$set(strokecolor0_changes);
|
|
8276
|
-
const
|
|
8428
|
+
const textcolor_changes = {};
|
|
8277
8429
|
if (dirty[0] & 1)
|
|
8278
|
-
|
|
8430
|
+
textcolor_changes.app = ctx2[0];
|
|
8279
8431
|
if (dirty[0] & 2)
|
|
8280
|
-
|
|
8432
|
+
textcolor_changes.theme = ctx2[1];
|
|
8281
8433
|
if (dirty[0] & 8)
|
|
8282
|
-
|
|
8283
|
-
|
|
8434
|
+
textcolor_changes.disabled = ctx2[3];
|
|
8435
|
+
textcolor.$set(textcolor_changes);
|
|
8284
8436
|
const shapes_changes = {};
|
|
8285
8437
|
if (dirty[0] & 1)
|
|
8286
8438
|
shapes_changes.app = ctx2[0];
|
|
@@ -8299,23 +8451,23 @@ function create_fragment54(ctx) {
|
|
|
8299
8451
|
if (dirty[0] & 8)
|
|
8300
8452
|
strokewidth1_changes.disabled = ctx2[3];
|
|
8301
8453
|
strokewidth1.$set(strokewidth1_changes);
|
|
8302
|
-
const
|
|
8454
|
+
const strokecolor1_changes = {};
|
|
8303
8455
|
if (dirty[0] & 1)
|
|
8304
|
-
|
|
8456
|
+
strokecolor1_changes.app = ctx2[0];
|
|
8305
8457
|
if (dirty[0] & 2)
|
|
8306
|
-
|
|
8458
|
+
strokecolor1_changes.theme = ctx2[1];
|
|
8307
8459
|
if (dirty[0] & 8)
|
|
8308
|
-
|
|
8309
|
-
|
|
8460
|
+
strokecolor1_changes.disabled = ctx2[3];
|
|
8461
|
+
strokecolor1.$set(strokecolor1_changes);
|
|
8310
8462
|
if (dirty[0] & 786435) {
|
|
8311
8463
|
each_value = ctx2[18];
|
|
8312
8464
|
let i;
|
|
8313
8465
|
for (i = 0; i < each_value.length; i += 1) {
|
|
8314
|
-
const child_ctx =
|
|
8466
|
+
const child_ctx = get_each_context4(ctx2, each_value, i);
|
|
8315
8467
|
if (each_blocks[i]) {
|
|
8316
8468
|
each_blocks[i].p(child_ctx, dirty);
|
|
8317
8469
|
} else {
|
|
8318
|
-
each_blocks[i] =
|
|
8470
|
+
each_blocks[i] = create_each_block4(child_ctx);
|
|
8319
8471
|
each_blocks[i].c();
|
|
8320
8472
|
each_blocks[i].m(div7, null);
|
|
8321
8473
|
}
|
|
@@ -8344,10 +8496,10 @@ function create_fragment54(ctx) {
|
|
|
8344
8496
|
transition_in(if_block1);
|
|
8345
8497
|
transition_in(strokewidth0.$$.fragment, local);
|
|
8346
8498
|
transition_in(strokecolor0.$$.fragment, local);
|
|
8347
|
-
transition_in(
|
|
8499
|
+
transition_in(textcolor.$$.fragment, local);
|
|
8348
8500
|
transition_in(shapes2.$$.fragment, local);
|
|
8349
8501
|
transition_in(strokewidth1.$$.fragment, local);
|
|
8350
|
-
transition_in(
|
|
8502
|
+
transition_in(strokecolor1.$$.fragment, local);
|
|
8351
8503
|
current = true;
|
|
8352
8504
|
},
|
|
8353
8505
|
o(local) {
|
|
@@ -8363,10 +8515,10 @@ function create_fragment54(ctx) {
|
|
|
8363
8515
|
transition_out(if_block1);
|
|
8364
8516
|
transition_out(strokewidth0.$$.fragment, local);
|
|
8365
8517
|
transition_out(strokecolor0.$$.fragment, local);
|
|
8366
|
-
transition_out(
|
|
8518
|
+
transition_out(textcolor.$$.fragment, local);
|
|
8367
8519
|
transition_out(shapes2.$$.fragment, local);
|
|
8368
8520
|
transition_out(strokewidth1.$$.fragment, local);
|
|
8369
|
-
transition_out(
|
|
8521
|
+
transition_out(strokecolor1.$$.fragment, local);
|
|
8370
8522
|
current = false;
|
|
8371
8523
|
},
|
|
8372
8524
|
d(detaching) {
|
|
@@ -8395,11 +8547,11 @@ function create_fragment54(ctx) {
|
|
|
8395
8547
|
destroy_component(strokewidth0);
|
|
8396
8548
|
destroy_component(strokecolor0);
|
|
8397
8549
|
ctx[34](null);
|
|
8398
|
-
destroy_component(
|
|
8550
|
+
destroy_component(textcolor);
|
|
8399
8551
|
ctx[35](null);
|
|
8400
8552
|
destroy_component(shapes2);
|
|
8401
8553
|
destroy_component(strokewidth1);
|
|
8402
|
-
destroy_component(
|
|
8554
|
+
destroy_component(strokecolor1);
|
|
8403
8555
|
ctx[36](null);
|
|
8404
8556
|
destroy_each(each_blocks, detaching);
|
|
8405
8557
|
ctx[37](null);
|
|
@@ -8409,7 +8561,7 @@ function create_fragment54(ctx) {
|
|
|
8409
8561
|
};
|
|
8410
8562
|
}
|
|
8411
8563
|
var name5 = "fastboard-toolbar";
|
|
8412
|
-
function
|
|
8564
|
+
function instance55($$self, $$props, $$invalidate) {
|
|
8413
8565
|
let t;
|
|
8414
8566
|
let hotkeys;
|
|
8415
8567
|
let c;
|
|
@@ -8615,7 +8767,7 @@ function instance54($$self, $$props, $$invalidate) {
|
|
|
8615
8767
|
var Contents = class extends SvelteComponent {
|
|
8616
8768
|
constructor(options) {
|
|
8617
8769
|
super();
|
|
8618
|
-
init(this, options,
|
|
8770
|
+
init(this, options, instance55, create_fragment55, safe_not_equal, {
|
|
8619
8771
|
app: 0,
|
|
8620
8772
|
theme: 1,
|
|
8621
8773
|
language: 2,
|
|
@@ -8689,7 +8841,7 @@ function create_if_block7(ctx) {
|
|
|
8689
8841
|
}
|
|
8690
8842
|
};
|
|
8691
8843
|
}
|
|
8692
|
-
function
|
|
8844
|
+
function create_fragment56(ctx) {
|
|
8693
8845
|
let div1;
|
|
8694
8846
|
let div0;
|
|
8695
8847
|
let contents;
|
|
@@ -8844,7 +8996,7 @@ function create_fragment55(ctx) {
|
|
|
8844
8996
|
};
|
|
8845
8997
|
}
|
|
8846
8998
|
var name6 = "fastboard-toolbar";
|
|
8847
|
-
function
|
|
8999
|
+
function instance56($$self, $$props, $$invalidate) {
|
|
8848
9000
|
let writable2;
|
|
8849
9001
|
let disabled;
|
|
8850
9002
|
let computed_height;
|
|
@@ -8912,13 +9064,13 @@ function instance55($$self, $$props, $$invalidate) {
|
|
|
8912
9064
|
var Toolbar = class extends SvelteComponent {
|
|
8913
9065
|
constructor(options) {
|
|
8914
9066
|
super();
|
|
8915
|
-
init(this, options,
|
|
9067
|
+
init(this, options, instance56, create_fragment56, safe_not_equal, { app: 0, theme: 1, language: 2 });
|
|
8916
9068
|
}
|
|
8917
9069
|
};
|
|
8918
9070
|
var Toolbar_default = Toolbar;
|
|
8919
9071
|
|
|
8920
9072
|
// src/components/PlayerControl/PlayerControl.svelte
|
|
8921
|
-
function
|
|
9073
|
+
function get_each_context5(ctx, list, i) {
|
|
8922
9074
|
const child_ctx = ctx.slice();
|
|
8923
9075
|
child_ctx[25] = list[i];
|
|
8924
9076
|
return child_ctx;
|
|
@@ -9414,7 +9566,7 @@ function create_default_slot5(ctx) {
|
|
|
9414
9566
|
}
|
|
9415
9567
|
};
|
|
9416
9568
|
}
|
|
9417
|
-
function
|
|
9569
|
+
function create_each_block5(key_1, ctx) {
|
|
9418
9570
|
let first;
|
|
9419
9571
|
let button;
|
|
9420
9572
|
let current;
|
|
@@ -9476,7 +9628,7 @@ function create_each_block4(key_1, ctx) {
|
|
|
9476
9628
|
}
|
|
9477
9629
|
};
|
|
9478
9630
|
}
|
|
9479
|
-
function
|
|
9631
|
+
function create_fragment57(ctx) {
|
|
9480
9632
|
let div0;
|
|
9481
9633
|
let button0;
|
|
9482
9634
|
let t0;
|
|
@@ -9529,9 +9681,9 @@ function create_fragment56(ctx) {
|
|
|
9529
9681
|
let each_value = speeds;
|
|
9530
9682
|
const get_key = (ctx2) => ctx2[25];
|
|
9531
9683
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
9532
|
-
let child_ctx =
|
|
9684
|
+
let child_ctx = get_each_context5(ctx, each_value, i);
|
|
9533
9685
|
let key = get_key(child_ctx);
|
|
9534
|
-
each_1_lookup.set(key, each_blocks[i] =
|
|
9686
|
+
each_1_lookup.set(key, each_blocks[i] = create_each_block5(key, child_ctx));
|
|
9535
9687
|
}
|
|
9536
9688
|
return {
|
|
9537
9689
|
c() {
|
|
@@ -9620,7 +9772,7 @@ function create_fragment56(ctx) {
|
|
|
9620
9772
|
if (dirty & 294929) {
|
|
9621
9773
|
each_value = speeds;
|
|
9622
9774
|
group_outros();
|
|
9623
|
-
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx2, each_value, each_1_lookup, div1, outro_and_destroy_block,
|
|
9775
|
+
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);
|
|
9624
9776
|
check_outros();
|
|
9625
9777
|
}
|
|
9626
9778
|
},
|
|
@@ -9680,7 +9832,7 @@ function format(ms) {
|
|
|
9680
9832
|
return String(m).padStart(2, "0") + ":" + String(s % 60).padStart(2, "0");
|
|
9681
9833
|
}
|
|
9682
9834
|
var name7 = "fastboard-player-control";
|
|
9683
|
-
function
|
|
9835
|
+
function instance57($$self, $$props, $$invalidate) {
|
|
9684
9836
|
let t;
|
|
9685
9837
|
let canPlay;
|
|
9686
9838
|
let disabled;
|
|
@@ -9825,7 +9977,7 @@ function instance56($$self, $$props, $$invalidate) {
|
|
|
9825
9977
|
var PlayerControl = class extends SvelteComponent {
|
|
9826
9978
|
constructor(options) {
|
|
9827
9979
|
super();
|
|
9828
|
-
init(this, options,
|
|
9980
|
+
init(this, options, instance57, create_fragment57, safe_not_equal, {
|
|
9829
9981
|
player: 19,
|
|
9830
9982
|
theme: 0,
|
|
9831
9983
|
language: 20,
|
|
@@ -9836,7 +9988,7 @@ var PlayerControl = class extends SvelteComponent {
|
|
|
9836
9988
|
var PlayerControl_default = PlayerControl;
|
|
9837
9989
|
|
|
9838
9990
|
// src/components/Fastboard/ReplayFastboard.svelte
|
|
9839
|
-
function
|
|
9991
|
+
function create_fragment58(ctx) {
|
|
9840
9992
|
let div2;
|
|
9841
9993
|
let div0;
|
|
9842
9994
|
let div0_class_value;
|
|
@@ -9914,7 +10066,7 @@ function create_fragment57(ctx) {
|
|
|
9914
10066
|
};
|
|
9915
10067
|
}
|
|
9916
10068
|
var name8 = "fastboard";
|
|
9917
|
-
function
|
|
10069
|
+
function instance58($$self, $$props, $$invalidate) {
|
|
9918
10070
|
let { player = null } = $$props;
|
|
9919
10071
|
let { theme = "light" } = $$props;
|
|
9920
10072
|
let { language = "en" } = $$props;
|
|
@@ -9968,7 +10120,7 @@ function instance57($$self, $$props, $$invalidate) {
|
|
|
9968
10120
|
var ReplayFastboard = class extends SvelteComponent {
|
|
9969
10121
|
constructor(options) {
|
|
9970
10122
|
super();
|
|
9971
|
-
init(this, options,
|
|
10123
|
+
init(this, options, instance58, create_fragment58, safe_not_equal, {
|
|
9972
10124
|
player: 0,
|
|
9973
10125
|
theme: 1,
|
|
9974
10126
|
language: 2,
|
|
@@ -9979,28 +10131,9 @@ var ReplayFastboard = class extends SvelteComponent {
|
|
|
9979
10131
|
var ReplayFastboard_default = ReplayFastboard;
|
|
9980
10132
|
|
|
9981
10133
|
// src/components/Fastboard/Fastboard.svelte
|
|
9982
|
-
function
|
|
9983
|
-
let div4;
|
|
9984
|
-
let div0;
|
|
9985
|
-
let div0_class_value;
|
|
9986
|
-
let t0;
|
|
9987
|
-
let div1;
|
|
10134
|
+
function create_if_block_32(ctx) {
|
|
9988
10135
|
let toolbar;
|
|
9989
|
-
let div1_class_value;
|
|
9990
|
-
let t1;
|
|
9991
|
-
let div2;
|
|
9992
|
-
let redoundo;
|
|
9993
|
-
let t2;
|
|
9994
|
-
let zoomcontrol;
|
|
9995
|
-
let div2_class_value;
|
|
9996
|
-
let t3;
|
|
9997
|
-
let div3;
|
|
9998
|
-
let pagecontrol;
|
|
9999
|
-
let div3_class_value;
|
|
10000
|
-
let div4_class_value;
|
|
10001
10136
|
let current;
|
|
10002
|
-
let mounted;
|
|
10003
|
-
let dispose;
|
|
10004
10137
|
toolbar = new Toolbar_default({
|
|
10005
10138
|
props: {
|
|
10006
10139
|
app: ctx[0],
|
|
@@ -10008,6 +10141,42 @@ function create_fragment58(ctx) {
|
|
|
10008
10141
|
language: ctx[2]
|
|
10009
10142
|
}
|
|
10010
10143
|
});
|
|
10144
|
+
return {
|
|
10145
|
+
c() {
|
|
10146
|
+
create_component(toolbar.$$.fragment);
|
|
10147
|
+
},
|
|
10148
|
+
m(target, anchor) {
|
|
10149
|
+
mount_component(toolbar, target, anchor);
|
|
10150
|
+
current = true;
|
|
10151
|
+
},
|
|
10152
|
+
p(ctx2, dirty) {
|
|
10153
|
+
const toolbar_changes = {};
|
|
10154
|
+
if (dirty & 1)
|
|
10155
|
+
toolbar_changes.app = ctx2[0];
|
|
10156
|
+
if (dirty & 2)
|
|
10157
|
+
toolbar_changes.theme = ctx2[1];
|
|
10158
|
+
if (dirty & 4)
|
|
10159
|
+
toolbar_changes.language = ctx2[2];
|
|
10160
|
+
toolbar.$set(toolbar_changes);
|
|
10161
|
+
},
|
|
10162
|
+
i(local) {
|
|
10163
|
+
if (current)
|
|
10164
|
+
return;
|
|
10165
|
+
transition_in(toolbar.$$.fragment, local);
|
|
10166
|
+
current = true;
|
|
10167
|
+
},
|
|
10168
|
+
o(local) {
|
|
10169
|
+
transition_out(toolbar.$$.fragment, local);
|
|
10170
|
+
current = false;
|
|
10171
|
+
},
|
|
10172
|
+
d(detaching) {
|
|
10173
|
+
destroy_component(toolbar, detaching);
|
|
10174
|
+
}
|
|
10175
|
+
};
|
|
10176
|
+
}
|
|
10177
|
+
function create_if_block_23(ctx) {
|
|
10178
|
+
let redoundo;
|
|
10179
|
+
let current;
|
|
10011
10180
|
redoundo = new RedoUndo_default({
|
|
10012
10181
|
props: {
|
|
10013
10182
|
app: ctx[0],
|
|
@@ -10015,6 +10184,42 @@ function create_fragment58(ctx) {
|
|
|
10015
10184
|
language: ctx[2]
|
|
10016
10185
|
}
|
|
10017
10186
|
});
|
|
10187
|
+
return {
|
|
10188
|
+
c() {
|
|
10189
|
+
create_component(redoundo.$$.fragment);
|
|
10190
|
+
},
|
|
10191
|
+
m(target, anchor) {
|
|
10192
|
+
mount_component(redoundo, target, anchor);
|
|
10193
|
+
current = true;
|
|
10194
|
+
},
|
|
10195
|
+
p(ctx2, dirty) {
|
|
10196
|
+
const redoundo_changes = {};
|
|
10197
|
+
if (dirty & 1)
|
|
10198
|
+
redoundo_changes.app = ctx2[0];
|
|
10199
|
+
if (dirty & 2)
|
|
10200
|
+
redoundo_changes.theme = ctx2[1];
|
|
10201
|
+
if (dirty & 4)
|
|
10202
|
+
redoundo_changes.language = ctx2[2];
|
|
10203
|
+
redoundo.$set(redoundo_changes);
|
|
10204
|
+
},
|
|
10205
|
+
i(local) {
|
|
10206
|
+
if (current)
|
|
10207
|
+
return;
|
|
10208
|
+
transition_in(redoundo.$$.fragment, local);
|
|
10209
|
+
current = true;
|
|
10210
|
+
},
|
|
10211
|
+
o(local) {
|
|
10212
|
+
transition_out(redoundo.$$.fragment, local);
|
|
10213
|
+
current = false;
|
|
10214
|
+
},
|
|
10215
|
+
d(detaching) {
|
|
10216
|
+
destroy_component(redoundo, detaching);
|
|
10217
|
+
}
|
|
10218
|
+
};
|
|
10219
|
+
}
|
|
10220
|
+
function create_if_block_14(ctx) {
|
|
10221
|
+
let zoomcontrol;
|
|
10222
|
+
let current;
|
|
10018
10223
|
zoomcontrol = new ZoomControl_default({
|
|
10019
10224
|
props: {
|
|
10020
10225
|
app: ctx[0],
|
|
@@ -10022,6 +10227,42 @@ function create_fragment58(ctx) {
|
|
|
10022
10227
|
language: ctx[2]
|
|
10023
10228
|
}
|
|
10024
10229
|
});
|
|
10230
|
+
return {
|
|
10231
|
+
c() {
|
|
10232
|
+
create_component(zoomcontrol.$$.fragment);
|
|
10233
|
+
},
|
|
10234
|
+
m(target, anchor) {
|
|
10235
|
+
mount_component(zoomcontrol, target, anchor);
|
|
10236
|
+
current = true;
|
|
10237
|
+
},
|
|
10238
|
+
p(ctx2, dirty) {
|
|
10239
|
+
const zoomcontrol_changes = {};
|
|
10240
|
+
if (dirty & 1)
|
|
10241
|
+
zoomcontrol_changes.app = ctx2[0];
|
|
10242
|
+
if (dirty & 2)
|
|
10243
|
+
zoomcontrol_changes.theme = ctx2[1];
|
|
10244
|
+
if (dirty & 4)
|
|
10245
|
+
zoomcontrol_changes.language = ctx2[2];
|
|
10246
|
+
zoomcontrol.$set(zoomcontrol_changes);
|
|
10247
|
+
},
|
|
10248
|
+
i(local) {
|
|
10249
|
+
if (current)
|
|
10250
|
+
return;
|
|
10251
|
+
transition_in(zoomcontrol.$$.fragment, local);
|
|
10252
|
+
current = true;
|
|
10253
|
+
},
|
|
10254
|
+
o(local) {
|
|
10255
|
+
transition_out(zoomcontrol.$$.fragment, local);
|
|
10256
|
+
current = false;
|
|
10257
|
+
},
|
|
10258
|
+
d(detaching) {
|
|
10259
|
+
destroy_component(zoomcontrol, detaching);
|
|
10260
|
+
}
|
|
10261
|
+
};
|
|
10262
|
+
}
|
|
10263
|
+
function create_if_block9(ctx) {
|
|
10264
|
+
let pagecontrol;
|
|
10265
|
+
let current;
|
|
10025
10266
|
pagecontrol = new PageControl_default({
|
|
10026
10267
|
props: {
|
|
10027
10268
|
app: ctx[0],
|
|
@@ -10029,46 +10270,110 @@ function create_fragment58(ctx) {
|
|
|
10029
10270
|
language: ctx[2]
|
|
10030
10271
|
}
|
|
10031
10272
|
});
|
|
10273
|
+
return {
|
|
10274
|
+
c() {
|
|
10275
|
+
create_component(pagecontrol.$$.fragment);
|
|
10276
|
+
},
|
|
10277
|
+
m(target, anchor) {
|
|
10278
|
+
mount_component(pagecontrol, target, anchor);
|
|
10279
|
+
current = true;
|
|
10280
|
+
},
|
|
10281
|
+
p(ctx2, dirty) {
|
|
10282
|
+
const pagecontrol_changes = {};
|
|
10283
|
+
if (dirty & 1)
|
|
10284
|
+
pagecontrol_changes.app = ctx2[0];
|
|
10285
|
+
if (dirty & 2)
|
|
10286
|
+
pagecontrol_changes.theme = ctx2[1];
|
|
10287
|
+
if (dirty & 4)
|
|
10288
|
+
pagecontrol_changes.language = ctx2[2];
|
|
10289
|
+
pagecontrol.$set(pagecontrol_changes);
|
|
10290
|
+
},
|
|
10291
|
+
i(local) {
|
|
10292
|
+
if (current)
|
|
10293
|
+
return;
|
|
10294
|
+
transition_in(pagecontrol.$$.fragment, local);
|
|
10295
|
+
current = true;
|
|
10296
|
+
},
|
|
10297
|
+
o(local) {
|
|
10298
|
+
transition_out(pagecontrol.$$.fragment, local);
|
|
10299
|
+
current = false;
|
|
10300
|
+
},
|
|
10301
|
+
d(detaching) {
|
|
10302
|
+
destroy_component(pagecontrol, detaching);
|
|
10303
|
+
}
|
|
10304
|
+
};
|
|
10305
|
+
}
|
|
10306
|
+
function create_fragment59(ctx) {
|
|
10307
|
+
var _a, _b, _c, _d;
|
|
10308
|
+
let div4;
|
|
10309
|
+
let div0;
|
|
10310
|
+
let div0_class_value;
|
|
10311
|
+
let t0;
|
|
10312
|
+
let div1;
|
|
10313
|
+
let div1_class_value;
|
|
10314
|
+
let t1;
|
|
10315
|
+
let div2;
|
|
10316
|
+
let t2;
|
|
10317
|
+
let div2_class_value;
|
|
10318
|
+
let t3;
|
|
10319
|
+
let div3;
|
|
10320
|
+
let div3_class_value;
|
|
10321
|
+
let div4_class_value;
|
|
10322
|
+
let current;
|
|
10323
|
+
let mounted;
|
|
10324
|
+
let dispose;
|
|
10325
|
+
let if_block0 = ((_a = ctx[3].toolbar) == null ? void 0 : _a.enable) !== false && create_if_block_32(ctx);
|
|
10326
|
+
let if_block1 = ((_b = ctx[3].redo_undo) == null ? void 0 : _b.enable) !== false && create_if_block_23(ctx);
|
|
10327
|
+
let if_block2 = ((_c = ctx[3].zoom_control) == null ? void 0 : _c.enable) !== false && create_if_block_14(ctx);
|
|
10328
|
+
let if_block3 = ((_d = ctx[3].page_control) == null ? void 0 : _d.enable) !== false && create_if_block9(ctx);
|
|
10032
10329
|
return {
|
|
10033
10330
|
c() {
|
|
10034
10331
|
div4 = element("div");
|
|
10035
10332
|
div0 = element("div");
|
|
10036
10333
|
t0 = space();
|
|
10037
10334
|
div1 = element("div");
|
|
10038
|
-
|
|
10335
|
+
if (if_block0)
|
|
10336
|
+
if_block0.c();
|
|
10039
10337
|
t1 = space();
|
|
10040
10338
|
div2 = element("div");
|
|
10041
|
-
|
|
10339
|
+
if (if_block1)
|
|
10340
|
+
if_block1.c();
|
|
10042
10341
|
t2 = space();
|
|
10043
|
-
|
|
10342
|
+
if (if_block2)
|
|
10343
|
+
if_block2.c();
|
|
10044
10344
|
t3 = space();
|
|
10045
10345
|
div3 = element("div");
|
|
10046
|
-
|
|
10346
|
+
if (if_block3)
|
|
10347
|
+
if_block3.c();
|
|
10047
10348
|
attr(div0, "class", div0_class_value = name9 + "-view");
|
|
10048
10349
|
attr(div1, "class", div1_class_value = name9 + "-left");
|
|
10049
|
-
toggle_class(div1, "hidden", !(ctx[
|
|
10350
|
+
toggle_class(div1, "hidden", !(ctx[5] === "visible" || ctx[5] === "toolbar-only"));
|
|
10050
10351
|
attr(div2, "class", div2_class_value = name9 + "-bottom-left");
|
|
10051
|
-
toggle_class(div2, "hidden", ctx[
|
|
10352
|
+
toggle_class(div2, "hidden", ctx[5] !== "visible");
|
|
10052
10353
|
attr(div3, "class", div3_class_value = name9 + "-bottom-right");
|
|
10053
|
-
toggle_class(div3, "hidden", ctx[
|
|
10354
|
+
toggle_class(div3, "hidden", ctx[5] !== "visible");
|
|
10054
10355
|
attr(div4, "class", div4_class_value = name9 + "-root");
|
|
10055
10356
|
toggle_class(div4, "loading", !ctx[0]);
|
|
10056
10357
|
},
|
|
10057
10358
|
m(target, anchor) {
|
|
10058
10359
|
insert(target, div4, anchor);
|
|
10059
10360
|
append(div4, div0);
|
|
10060
|
-
ctx[
|
|
10361
|
+
ctx[13](div0);
|
|
10061
10362
|
append(div4, t0);
|
|
10062
10363
|
append(div4, div1);
|
|
10063
|
-
|
|
10364
|
+
if (if_block0)
|
|
10365
|
+
if_block0.m(div1, null);
|
|
10064
10366
|
append(div4, t1);
|
|
10065
10367
|
append(div4, div2);
|
|
10066
|
-
|
|
10368
|
+
if (if_block1)
|
|
10369
|
+
if_block1.m(div2, null);
|
|
10067
10370
|
append(div2, t2);
|
|
10068
|
-
|
|
10371
|
+
if (if_block2)
|
|
10372
|
+
if_block2.m(div2, null);
|
|
10069
10373
|
append(div4, t3);
|
|
10070
10374
|
append(div4, div3);
|
|
10071
|
-
|
|
10375
|
+
if (if_block3)
|
|
10376
|
+
if_block3.m(div3, null);
|
|
10072
10377
|
current = true;
|
|
10073
10378
|
if (!mounted) {
|
|
10074
10379
|
dispose = listen(div0, "touchstart", tippy_hide_all, true);
|
|
@@ -10076,46 +10381,91 @@ function create_fragment58(ctx) {
|
|
|
10076
10381
|
}
|
|
10077
10382
|
},
|
|
10078
10383
|
p(ctx2, [dirty]) {
|
|
10079
|
-
|
|
10080
|
-
if (
|
|
10081
|
-
|
|
10082
|
-
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
|
|
10086
|
-
|
|
10087
|
-
|
|
10088
|
-
|
|
10384
|
+
var _a2, _b2, _c2, _d2;
|
|
10385
|
+
if (((_a2 = ctx2[3].toolbar) == null ? void 0 : _a2.enable) !== false) {
|
|
10386
|
+
if (if_block0) {
|
|
10387
|
+
if_block0.p(ctx2, dirty);
|
|
10388
|
+
if (dirty & 8) {
|
|
10389
|
+
transition_in(if_block0, 1);
|
|
10390
|
+
}
|
|
10391
|
+
} else {
|
|
10392
|
+
if_block0 = create_if_block_32(ctx2);
|
|
10393
|
+
if_block0.c();
|
|
10394
|
+
transition_in(if_block0, 1);
|
|
10395
|
+
if_block0.m(div1, null);
|
|
10396
|
+
}
|
|
10397
|
+
} else if (if_block0) {
|
|
10398
|
+
group_outros();
|
|
10399
|
+
transition_out(if_block0, 1, 1, () => {
|
|
10400
|
+
if_block0 = null;
|
|
10401
|
+
});
|
|
10402
|
+
check_outros();
|
|
10089
10403
|
}
|
|
10090
|
-
|
|
10091
|
-
|
|
10092
|
-
redoundo_changes.app = ctx2[0];
|
|
10093
|
-
if (dirty & 2)
|
|
10094
|
-
redoundo_changes.theme = ctx2[1];
|
|
10095
|
-
if (dirty & 4)
|
|
10096
|
-
redoundo_changes.language = ctx2[2];
|
|
10097
|
-
redoundo.$set(redoundo_changes);
|
|
10098
|
-
const zoomcontrol_changes = {};
|
|
10099
|
-
if (dirty & 1)
|
|
10100
|
-
zoomcontrol_changes.app = ctx2[0];
|
|
10101
|
-
if (dirty & 2)
|
|
10102
|
-
zoomcontrol_changes.theme = ctx2[1];
|
|
10103
|
-
if (dirty & 4)
|
|
10104
|
-
zoomcontrol_changes.language = ctx2[2];
|
|
10105
|
-
zoomcontrol.$set(zoomcontrol_changes);
|
|
10106
|
-
if (dirty & 16) {
|
|
10107
|
-
toggle_class(div2, "hidden", ctx2[4] !== "visible");
|
|
10404
|
+
if (dirty & 32) {
|
|
10405
|
+
toggle_class(div1, "hidden", !(ctx2[5] === "visible" || ctx2[5] === "toolbar-only"));
|
|
10108
10406
|
}
|
|
10109
|
-
|
|
10110
|
-
|
|
10111
|
-
|
|
10112
|
-
|
|
10113
|
-
|
|
10114
|
-
|
|
10115
|
-
|
|
10116
|
-
|
|
10117
|
-
|
|
10118
|
-
|
|
10407
|
+
if (((_b2 = ctx2[3].redo_undo) == null ? void 0 : _b2.enable) !== false) {
|
|
10408
|
+
if (if_block1) {
|
|
10409
|
+
if_block1.p(ctx2, dirty);
|
|
10410
|
+
if (dirty & 8) {
|
|
10411
|
+
transition_in(if_block1, 1);
|
|
10412
|
+
}
|
|
10413
|
+
} else {
|
|
10414
|
+
if_block1 = create_if_block_23(ctx2);
|
|
10415
|
+
if_block1.c();
|
|
10416
|
+
transition_in(if_block1, 1);
|
|
10417
|
+
if_block1.m(div2, t2);
|
|
10418
|
+
}
|
|
10419
|
+
} else if (if_block1) {
|
|
10420
|
+
group_outros();
|
|
10421
|
+
transition_out(if_block1, 1, 1, () => {
|
|
10422
|
+
if_block1 = null;
|
|
10423
|
+
});
|
|
10424
|
+
check_outros();
|
|
10425
|
+
}
|
|
10426
|
+
if (((_c2 = ctx2[3].zoom_control) == null ? void 0 : _c2.enable) !== false) {
|
|
10427
|
+
if (if_block2) {
|
|
10428
|
+
if_block2.p(ctx2, dirty);
|
|
10429
|
+
if (dirty & 8) {
|
|
10430
|
+
transition_in(if_block2, 1);
|
|
10431
|
+
}
|
|
10432
|
+
} else {
|
|
10433
|
+
if_block2 = create_if_block_14(ctx2);
|
|
10434
|
+
if_block2.c();
|
|
10435
|
+
transition_in(if_block2, 1);
|
|
10436
|
+
if_block2.m(div2, null);
|
|
10437
|
+
}
|
|
10438
|
+
} else if (if_block2) {
|
|
10439
|
+
group_outros();
|
|
10440
|
+
transition_out(if_block2, 1, 1, () => {
|
|
10441
|
+
if_block2 = null;
|
|
10442
|
+
});
|
|
10443
|
+
check_outros();
|
|
10444
|
+
}
|
|
10445
|
+
if (dirty & 32) {
|
|
10446
|
+
toggle_class(div2, "hidden", ctx2[5] !== "visible");
|
|
10447
|
+
}
|
|
10448
|
+
if (((_d2 = ctx2[3].page_control) == null ? void 0 : _d2.enable) !== false) {
|
|
10449
|
+
if (if_block3) {
|
|
10450
|
+
if_block3.p(ctx2, dirty);
|
|
10451
|
+
if (dirty & 8) {
|
|
10452
|
+
transition_in(if_block3, 1);
|
|
10453
|
+
}
|
|
10454
|
+
} else {
|
|
10455
|
+
if_block3 = create_if_block9(ctx2);
|
|
10456
|
+
if_block3.c();
|
|
10457
|
+
transition_in(if_block3, 1);
|
|
10458
|
+
if_block3.m(div3, null);
|
|
10459
|
+
}
|
|
10460
|
+
} else if (if_block3) {
|
|
10461
|
+
group_outros();
|
|
10462
|
+
transition_out(if_block3, 1, 1, () => {
|
|
10463
|
+
if_block3 = null;
|
|
10464
|
+
});
|
|
10465
|
+
check_outros();
|
|
10466
|
+
}
|
|
10467
|
+
if (dirty & 32) {
|
|
10468
|
+
toggle_class(div3, "hidden", ctx2[5] !== "visible");
|
|
10119
10469
|
}
|
|
10120
10470
|
if (dirty & 1) {
|
|
10121
10471
|
toggle_class(div4, "loading", !ctx2[0]);
|
|
@@ -10124,40 +10474,44 @@ function create_fragment58(ctx) {
|
|
|
10124
10474
|
i(local) {
|
|
10125
10475
|
if (current)
|
|
10126
10476
|
return;
|
|
10127
|
-
transition_in(
|
|
10128
|
-
transition_in(
|
|
10129
|
-
transition_in(
|
|
10130
|
-
transition_in(
|
|
10477
|
+
transition_in(if_block0);
|
|
10478
|
+
transition_in(if_block1);
|
|
10479
|
+
transition_in(if_block2);
|
|
10480
|
+
transition_in(if_block3);
|
|
10131
10481
|
current = true;
|
|
10132
10482
|
},
|
|
10133
10483
|
o(local) {
|
|
10134
|
-
transition_out(
|
|
10135
|
-
transition_out(
|
|
10136
|
-
transition_out(
|
|
10137
|
-
transition_out(
|
|
10484
|
+
transition_out(if_block0);
|
|
10485
|
+
transition_out(if_block1);
|
|
10486
|
+
transition_out(if_block2);
|
|
10487
|
+
transition_out(if_block3);
|
|
10138
10488
|
current = false;
|
|
10139
10489
|
},
|
|
10140
10490
|
d(detaching) {
|
|
10141
10491
|
if (detaching)
|
|
10142
10492
|
detach(div4);
|
|
10143
|
-
ctx[
|
|
10144
|
-
|
|
10145
|
-
|
|
10146
|
-
|
|
10147
|
-
|
|
10493
|
+
ctx[13](null);
|
|
10494
|
+
if (if_block0)
|
|
10495
|
+
if_block0.d();
|
|
10496
|
+
if (if_block1)
|
|
10497
|
+
if_block1.d();
|
|
10498
|
+
if (if_block2)
|
|
10499
|
+
if_block2.d();
|
|
10500
|
+
if (if_block3)
|
|
10501
|
+
if_block3.d();
|
|
10148
10502
|
mounted = false;
|
|
10149
10503
|
dispose();
|
|
10150
10504
|
}
|
|
10151
10505
|
};
|
|
10152
10506
|
}
|
|
10153
10507
|
var name9 = "fastboard";
|
|
10154
|
-
function
|
|
10508
|
+
function instance59($$self, $$props, $$invalidate) {
|
|
10155
10509
|
let writable2;
|
|
10156
10510
|
let boxState;
|
|
10157
10511
|
let focusedApp;
|
|
10158
|
-
let $focusedApp, $$unsubscribe_focusedApp = noop, $$subscribe_focusedApp = () => ($$unsubscribe_focusedApp(), $$unsubscribe_focusedApp = subscribe(focusedApp, ($$value) => $$invalidate(
|
|
10159
|
-
let $boxState, $$unsubscribe_boxState = noop, $$subscribe_boxState = () => ($$unsubscribe_boxState(), $$unsubscribe_boxState = subscribe(boxState, ($$value) => $$invalidate(
|
|
10160
|
-
let $writable, $$unsubscribe_writable = noop, $$subscribe_writable = () => ($$unsubscribe_writable(), $$unsubscribe_writable = subscribe(writable2, ($$value) => $$invalidate(
|
|
10512
|
+
let $focusedApp, $$unsubscribe_focusedApp = noop, $$subscribe_focusedApp = () => ($$unsubscribe_focusedApp(), $$unsubscribe_focusedApp = subscribe(focusedApp, ($$value) => $$invalidate(10, $focusedApp = $$value)), focusedApp);
|
|
10513
|
+
let $boxState, $$unsubscribe_boxState = noop, $$subscribe_boxState = () => ($$unsubscribe_boxState(), $$unsubscribe_boxState = subscribe(boxState, ($$value) => $$invalidate(11, $boxState = $$value)), boxState);
|
|
10514
|
+
let $writable, $$unsubscribe_writable = noop, $$subscribe_writable = () => ($$unsubscribe_writable(), $$unsubscribe_writable = subscribe(writable2, ($$value) => $$invalidate(12, $writable = $$value)), writable2);
|
|
10161
10515
|
$$self.$$.on_destroy.push(() => $$unsubscribe_focusedApp());
|
|
10162
10516
|
$$self.$$.on_destroy.push(() => $$unsubscribe_boxState());
|
|
10163
10517
|
$$self.$$.on_destroy.push(() => $$unsubscribe_writable());
|
|
@@ -10165,6 +10519,7 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10165
10519
|
let { theme = "light" } = $$props;
|
|
10166
10520
|
let { language = "en" } = $$props;
|
|
10167
10521
|
let { containerRef = void 0 } = $$props;
|
|
10522
|
+
let { config = {} } = $$props;
|
|
10168
10523
|
const AppsShowToolbar = ["DocsViewer", "Slide"];
|
|
10169
10524
|
let container;
|
|
10170
10525
|
let layout = "hidden";
|
|
@@ -10180,7 +10535,7 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10180
10535
|
function div0_binding($$value) {
|
|
10181
10536
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
10182
10537
|
container = $$value;
|
|
10183
|
-
$$invalidate(
|
|
10538
|
+
$$invalidate(4, container);
|
|
10184
10539
|
});
|
|
10185
10540
|
}
|
|
10186
10541
|
$$self.$$set = ($$props2) => {
|
|
@@ -10191,36 +10546,38 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10191
10546
|
if ("language" in $$props2)
|
|
10192
10547
|
$$invalidate(2, language = $$props2.language);
|
|
10193
10548
|
if ("containerRef" in $$props2)
|
|
10194
|
-
$$invalidate(
|
|
10549
|
+
$$invalidate(9, containerRef = $$props2.containerRef);
|
|
10550
|
+
if ("config" in $$props2)
|
|
10551
|
+
$$invalidate(3, config = $$props2.config);
|
|
10195
10552
|
};
|
|
10196
10553
|
$$self.$$.update = () => {
|
|
10197
10554
|
if ($$self.$$.dirty & 1) {
|
|
10198
10555
|
$:
|
|
10199
|
-
$$subscribe_writable($$invalidate(
|
|
10556
|
+
$$subscribe_writable($$invalidate(8, writable2 = app == null ? void 0 : app.writable));
|
|
10200
10557
|
}
|
|
10201
10558
|
if ($$self.$$.dirty & 1) {
|
|
10202
10559
|
$:
|
|
10203
|
-
$$subscribe_boxState($$invalidate(
|
|
10560
|
+
$$subscribe_boxState($$invalidate(7, boxState = app == null ? void 0 : app.boxState));
|
|
10204
10561
|
}
|
|
10205
10562
|
if ($$self.$$.dirty & 1) {
|
|
10206
10563
|
$:
|
|
10207
|
-
$$subscribe_focusedApp($$invalidate(
|
|
10564
|
+
$$subscribe_focusedApp($$invalidate(6, focusedApp = app == null ? void 0 : app.focusedApp));
|
|
10208
10565
|
}
|
|
10209
|
-
if ($$self.$$.dirty &
|
|
10566
|
+
if ($$self.$$.dirty & 7168) {
|
|
10210
10567
|
$:
|
|
10211
10568
|
if (!$writable) {
|
|
10212
|
-
$$invalidate(
|
|
10569
|
+
$$invalidate(5, layout = "hidden");
|
|
10213
10570
|
} else if ($boxState === "maximized") {
|
|
10214
10571
|
if ($focusedApp && AppsShowToolbar.some((kind) => ($focusedApp || "").includes(kind))) {
|
|
10215
|
-
$$invalidate(
|
|
10572
|
+
$$invalidate(5, layout = "toolbar-only");
|
|
10216
10573
|
} else {
|
|
10217
|
-
$$invalidate(
|
|
10574
|
+
$$invalidate(5, layout = "hidden");
|
|
10218
10575
|
}
|
|
10219
10576
|
} else {
|
|
10220
|
-
$$invalidate(
|
|
10577
|
+
$$invalidate(5, layout = "visible");
|
|
10221
10578
|
}
|
|
10222
10579
|
}
|
|
10223
|
-
if ($$self.$$.dirty &
|
|
10580
|
+
if ($$self.$$.dirty & 17) {
|
|
10224
10581
|
$:
|
|
10225
10582
|
try {
|
|
10226
10583
|
if (app && container)
|
|
@@ -10241,6 +10598,7 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10241
10598
|
app,
|
|
10242
10599
|
theme,
|
|
10243
10600
|
language,
|
|
10601
|
+
config,
|
|
10244
10602
|
container,
|
|
10245
10603
|
layout,
|
|
10246
10604
|
focusedApp,
|
|
@@ -10256,11 +10614,12 @@ function instance58($$self, $$props, $$invalidate) {
|
|
|
10256
10614
|
var Fastboard = class extends SvelteComponent {
|
|
10257
10615
|
constructor(options) {
|
|
10258
10616
|
super();
|
|
10259
|
-
init(this, options,
|
|
10617
|
+
init(this, options, instance59, create_fragment59, safe_not_equal, {
|
|
10260
10618
|
app: 0,
|
|
10261
10619
|
theme: 1,
|
|
10262
10620
|
language: 2,
|
|
10263
|
-
containerRef:
|
|
10621
|
+
containerRef: 9,
|
|
10622
|
+
config: 3
|
|
10264
10623
|
});
|
|
10265
10624
|
}
|
|
10266
10625
|
};
|
|
@@ -10277,7 +10636,7 @@ function injectStyle(text2) {
|
|
|
10277
10636
|
}
|
|
10278
10637
|
|
|
10279
10638
|
// inline-sass-content:./src/style.scss
|
|
10280
|
-
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}';
|
|
10639
|
+
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}';
|
|
10281
10640
|
|
|
10282
10641
|
// inline-sass-stub:./src/style.scss
|
|
10283
10642
|
injectStyle(style_default);
|