@netless/fastboard-ui 0.3.5 → 0.3.7

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.mjs CHANGED
@@ -19,8 +19,28 @@ var __spreadValues = (a, b) => {
19
19
  return a;
20
20
  };
21
21
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
22
+ var __publicField = (obj, key, value) => {
23
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
24
+ return value;
25
+ };
26
+
27
+ // inline-sass-helper:inline-sass-style-helper.js
28
+ function injectStyle(text2) {
29
+ if (typeof document !== "undefined") {
30
+ var style = document.createElement("style");
31
+ var node = document.createTextNode(text2);
32
+ style.appendChild(node);
33
+ document.head.appendChild(style);
34
+ }
35
+ }
36
+
37
+ // inline-sass-content:./src/style.scss
38
+ 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-visible{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}.netless-whiteboard:focus-visible{outline:none}';
39
+
40
+ // inline-sass-stub:./src/style.scss
41
+ injectStyle(style_default);
22
42
 
23
- // ../../node_modules/.pnpm/svelte@3.49.0/node_modules/svelte/internal/index.mjs
43
+ // ../../node_modules/.pnpm/svelte@3.54.0/node_modules/svelte/internal/index.mjs
24
44
  function noop() {
25
45
  }
26
46
  function assign(tar, src) {
@@ -126,7 +146,9 @@ function insert(target, node, anchor) {
126
146
  target.insertBefore(node, anchor || null);
127
147
  }
128
148
  function detach(node) {
129
- node.parentNode.removeChild(node);
149
+ if (node.parentNode) {
150
+ node.parentNode.removeChild(node);
151
+ }
130
152
  }
131
153
  function destroy_each(iterations, detaching) {
132
154
  for (let i = 0; i < iterations.length; i += 1) {
@@ -188,6 +210,9 @@ function custom_event(type, detail, { bubbles = false, cancelable = false } = {}
188
210
  e.initCustomEvent(type, bubbles, cancelable, detail);
189
211
  return e;
190
212
  }
213
+ function construct_svelte_component(component, props) {
214
+ return new component(props);
215
+ }
191
216
  var current_component;
192
217
  function set_current_component(component) {
193
218
  current_component = component;
@@ -431,13 +456,13 @@ function create_component(block) {
431
456
  block && block.c();
432
457
  }
433
458
  function mount_component(component, target, anchor, customElement) {
434
- const { fragment, on_mount, on_destroy, after_update } = component.$$;
459
+ const { fragment, after_update } = component.$$;
435
460
  fragment && fragment.m(target, anchor);
436
461
  if (!customElement) {
437
462
  add_render_callback(() => {
438
- const new_on_destroy = on_mount.map(run).filter(is_function);
439
- if (on_destroy) {
440
- on_destroy.push(...new_on_destroy);
463
+ const new_on_destroy = component.$$.on_mount.map(run).filter(is_function);
464
+ if (component.$$.on_destroy) {
465
+ component.$$.on_destroy.push(...new_on_destroy);
441
466
  } else {
442
467
  run_all(new_on_destroy);
443
468
  }
@@ -468,7 +493,7 @@ function init(component, options, instance59, create_fragment59, not_equal2, pro
468
493
  set_current_component(component);
469
494
  const $$ = component.$$ = {
470
495
  fragment: null,
471
- ctx: null,
496
+ ctx: [],
472
497
  props,
473
498
  update: noop,
474
499
  not_equal: not_equal2,
@@ -521,6 +546,9 @@ var SvelteComponent = class {
521
546
  this.$destroy = noop;
522
547
  }
523
548
  $on(type, callback) {
549
+ if (!is_function(callback)) {
550
+ return noop;
551
+ }
524
552
  const callbacks = this.$$.callbacks[type] || (this.$$.callbacks[type] = []);
525
553
  callbacks.push(callback);
526
554
  return () => {
@@ -557,7 +585,14 @@ function create_else_block(ctx) {
557
585
  p(ctx2, dirty) {
558
586
  if (default_slot) {
559
587
  if (default_slot.p && (!current || dirty & 8)) {
560
- update_slot_base(default_slot, default_slot_template, ctx2, ctx2[3], !current ? get_all_dirty_from_scope(ctx2[3]) : get_slot_changes(default_slot_template, ctx2[3], dirty, null), null);
588
+ update_slot_base(
589
+ default_slot,
590
+ default_slot_template,
591
+ ctx2,
592
+ ctx2[3],
593
+ !current ? get_all_dirty_from_scope(ctx2[3]) : get_slot_changes(default_slot_template, ctx2[3], dirty, null),
594
+ null
595
+ );
561
596
  }
562
597
  }
563
598
  },
@@ -3474,7 +3509,14 @@ function create_else_block_1(ctx) {
3474
3509
  p(ctx2, dirty) {
3475
3510
  if (default_slot) {
3476
3511
  if (default_slot.p && (!current || dirty & 256)) {
3477
- update_slot_base(default_slot, default_slot_template, ctx2, ctx2[8], !current ? get_all_dirty_from_scope(ctx2[8]) : get_slot_changes(default_slot_template, ctx2[8], dirty, null), null);
3512
+ update_slot_base(
3513
+ default_slot,
3514
+ default_slot_template,
3515
+ ctx2,
3516
+ ctx2[8],
3517
+ !current ? get_all_dirty_from_scope(ctx2[8]) : get_slot_changes(default_slot_template, ctx2[8], dirty, null),
3518
+ null
3519
+ );
3478
3520
  }
3479
3521
  }
3480
3522
  if (!current || dirty & 7 && button_class_value !== (button_class_value = ctx2[1] + "-btn " + ctx2[0] + " " + ctx2[2])) {
@@ -3605,7 +3647,14 @@ function create_else_block2(ctx) {
3605
3647
  p(ctx2, dirty) {
3606
3648
  if (default_slot) {
3607
3649
  if (default_slot.p && (!current || dirty & 256)) {
3608
- update_slot_base(default_slot, default_slot_template, ctx2, ctx2[8], !current ? get_all_dirty_from_scope(ctx2[8]) : get_slot_changes(default_slot_template, ctx2[8], dirty, null), null);
3650
+ update_slot_base(
3651
+ default_slot,
3652
+ default_slot_template,
3653
+ ctx2,
3654
+ ctx2[8],
3655
+ !current ? get_all_dirty_from_scope(ctx2[8]) : get_slot_changes(default_slot_template, ctx2[8], dirty, null),
3656
+ null
3657
+ );
3609
3658
  }
3610
3659
  }
3611
3660
  if (!current || dirty & 7 && button_class_value !== (button_class_value = ctx2[1] + "-btn " + ctx2[0] + " " + ctx2[2])) {
@@ -3701,7 +3750,14 @@ function create_if_block_1(ctx) {
3701
3750
  p(ctx2, dirty) {
3702
3751
  if (default_slot) {
3703
3752
  if (default_slot.p && (!current || dirty & 256)) {
3704
- update_slot_base(default_slot, default_slot_template, ctx2, ctx2[8], !current ? get_all_dirty_from_scope(ctx2[8]) : get_slot_changes(default_slot_template, ctx2[8], dirty, null), null);
3753
+ update_slot_base(
3754
+ default_slot,
3755
+ default_slot_template,
3756
+ ctx2,
3757
+ ctx2[8],
3758
+ !current ? get_all_dirty_from_scope(ctx2[8]) : get_slot_changes(default_slot_template, ctx2[8], dirty, null),
3759
+ null
3760
+ );
3705
3761
  }
3706
3762
  }
3707
3763
  if (!current || dirty & 7 && button_class_value !== (button_class_value = ctx2[1] + "-btn " + ctx2[0] + " " + ctx2[2])) {
@@ -5373,7 +5429,7 @@ var ZoomControl = class extends SvelteComponent {
5373
5429
  };
5374
5430
  var ZoomControl_default = ZoomControl;
5375
5431
 
5376
- // ../../node_modules/.pnpm/svelte@3.49.0/node_modules/svelte/store/index.mjs
5432
+ // ../../node_modules/.pnpm/svelte@3.54.0/node_modules/svelte/store/index.mjs
5377
5433
  var subscriber_queue = [];
5378
5434
  function writable(value, start = noop) {
5379
5435
  let stop;
@@ -5523,7 +5579,7 @@ var scrollTop = function(node, value) {
5523
5579
  let timer = 0;
5524
5580
  function on_scroll() {
5525
5581
  clearTimeout(timer);
5526
- timer = setTimeout(() => value.set(node.scrollTop), 200);
5582
+ timer = window.setTimeout(() => value.set(node.scrollTop), 200);
5527
5583
  }
5528
5584
  node.addEventListener("scroll", on_scroll);
5529
5585
  let unsubscribe = value.subscribe(listener);
@@ -5553,7 +5609,7 @@ var countdown_default = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3d
5553
5609
  var AppsInToolbar = class {
5554
5610
  constructor(_data) {
5555
5611
  this._data = _data;
5556
- this._listeners = [];
5612
+ __publicField(this, "_listeners", []);
5557
5613
  }
5558
5614
  get data() {
5559
5615
  return this._data;
@@ -5926,7 +5982,7 @@ function create_each_block(key_1, ctx) {
5926
5982
  span = element("span");
5927
5983
  t = space();
5928
5984
  attr(span, "class", "fastboard-toolbar-color-item");
5929
- set_style(span, "background-color", ctx[7], false);
5985
+ set_style(span, "background-color", ctx[7]);
5930
5986
  attr(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-color-btn " + ctx[0]);
5931
5987
  attr(button, "data-color-key", ctx[7]);
5932
5988
  button.disabled = ctx[1];
@@ -6075,7 +6131,7 @@ function create_each_block2(key_1, ctx) {
6075
6131
  span = element("span");
6076
6132
  t = space();
6077
6133
  attr(span, "class", "fastboard-toolbar-color-item");
6078
- set_style(span, "background-color", ctx[7], false);
6134
+ set_style(span, "background-color", ctx[7]);
6079
6135
  attr(button, "class", button_class_value = "fastboard-toolbar-btn fastboard-toolbar-color-btn " + ctx[0]);
6080
6136
  attr(button, "data-color-key", ctx[7]);
6081
6137
  button.disabled = ctx[1];
@@ -6222,7 +6278,7 @@ function create_else_block5(ctx) {
6222
6278
  return { props: { theme: ctx2[0] } };
6223
6279
  }
6224
6280
  if (switch_value) {
6225
- switch_instance = new switch_value(switch_props(ctx));
6281
+ switch_instance = construct_svelte_component(switch_value, switch_props(ctx));
6226
6282
  }
6227
6283
  return {
6228
6284
  c() {
@@ -6231,9 +6287,8 @@ function create_else_block5(ctx) {
6231
6287
  switch_instance_anchor = empty();
6232
6288
  },
6233
6289
  m(target, anchor) {
6234
- if (switch_instance) {
6290
+ if (switch_instance)
6235
6291
  mount_component(switch_instance, target, anchor);
6236
- }
6237
6292
  insert(target, switch_instance_anchor, anchor);
6238
6293
  current = true;
6239
6294
  },
@@ -6251,7 +6306,7 @@ function create_else_block5(ctx) {
6251
6306
  check_outros();
6252
6307
  }
6253
6308
  if (switch_value) {
6254
- switch_instance = new switch_value(switch_props(ctx2));
6309
+ switch_instance = construct_svelte_component(switch_value, switch_props(ctx2));
6255
6310
  create_component(switch_instance.$$.fragment);
6256
6311
  transition_in(switch_instance.$$.fragment, 1);
6257
6312
  mount_component(switch_instance, switch_instance_anchor.parentNode, switch_instance_anchor);
@@ -6293,7 +6348,7 @@ function create_if_block5(ctx) {
6293
6348
  };
6294
6349
  }
6295
6350
  if (switch_value) {
6296
- switch_instance = new switch_value(switch_props(ctx));
6351
+ switch_instance = construct_svelte_component(switch_value, switch_props(ctx));
6297
6352
  }
6298
6353
  return {
6299
6354
  c() {
@@ -6302,9 +6357,8 @@ function create_if_block5(ctx) {
6302
6357
  switch_instance_anchor = empty();
6303
6358
  },
6304
6359
  m(target, anchor) {
6305
- if (switch_instance) {
6360
+ if (switch_instance)
6306
6361
  mount_component(switch_instance, target, anchor);
6307
- }
6308
6362
  insert(target, switch_instance_anchor, anchor);
6309
6363
  current = true;
6310
6364
  },
@@ -6322,7 +6376,7 @@ function create_if_block5(ctx) {
6322
6376
  check_outros();
6323
6377
  }
6324
6378
  if (switch_value) {
6325
- switch_instance = new switch_value(switch_props(ctx2));
6379
+ switch_instance = construct_svelte_component(switch_value, switch_props(ctx2));
6326
6380
  create_component(switch_instance.$$.fragment);
6327
6381
  transition_in(switch_instance.$$.fragment, 1);
6328
6382
  mount_component(switch_instance, switch_instance_anchor.parentNode, switch_instance_anchor);
@@ -6431,7 +6485,7 @@ function create_each_block3(key_1, ctx) {
6431
6485
  content: tooltip(ctx[6][ctx[12]], ctx[2][ctx[12]]),
6432
6486
  placement: "top"
6433
6487
  });
6434
- if (dirty & 25) {
6488
+ if (!current || dirty & 25) {
6435
6489
  toggle_class(button, "is-active", ctx[13]);
6436
6490
  }
6437
6491
  },
@@ -6638,19 +6692,18 @@ var Shapes_default = Shapes;
6638
6692
  // src/components/Toolbar/components/Contents.svelte
6639
6693
  function get_each_context4(ctx, list, i) {
6640
6694
  const child_ctx = ctx.slice();
6641
- child_ctx[41] = list[i];
6642
- const constants_0 = child_ctx[41];
6643
- child_ctx[42] = constants_0.icon;
6644
- child_ctx[43] = constants_0.label;
6645
- child_ctx[44] = constants_0.kind;
6646
- child_ctx[45] = constants_0.onClick;
6647
- const constants_1 = child_ctx[20] && child_ctx[20][child_ctx[44]];
6648
- child_ctx[46] = constants_1;
6649
- const constants_2 = () => {
6650
- child_ctx[0] && child_ctx[45](child_ctx[0]);
6651
- tippy_hide_all();
6652
- };
6653
- child_ctx[47] = constants_2;
6695
+ child_ctx[42] = list[i];
6696
+ const constants_0 = child_ctx[42];
6697
+ child_ctx[43] = constants_0.icon;
6698
+ child_ctx[44] = constants_0.label;
6699
+ child_ctx[45] = constants_0.kind;
6700
+ child_ctx[46] = constants_0.onClick;
6701
+ const constants_1 = child_ctx[20] && child_ctx[20][child_ctx[45]];
6702
+ child_ctx[47] = constants_1;
6703
+ const constants_2 = function func() {
6704
+ return ctx[38](child_ctx[46]);
6705
+ };
6706
+ child_ctx[48] = constants_2;
6654
6707
  return child_ctx;
6655
6708
  }
6656
6709
  function create_if_block_8(ctx) {
@@ -6676,7 +6729,7 @@ function create_if_block_8(ctx) {
6676
6729
  },
6677
6730
  p(ctx2, dirty) {
6678
6731
  const button_changes = dirty[0] & 32768 ? get_spread_update(button_spread_levels, [button_spread_levels[0], get_spread_object(ctx2[15])]) : {};
6679
- if (dirty[0] & 2 | dirty[1] & 524288) {
6732
+ if (dirty[0] & 2 | dirty[1] & 1048576) {
6680
6733
  button_changes.$$scope = { dirty, ctx: ctx2 };
6681
6734
  }
6682
6735
  button.$set(button_changes);
@@ -7262,7 +7315,7 @@ function create_else_block_12(ctx) {
7262
7315
  return { props: { theme: ctx2[1] } };
7263
7316
  }
7264
7317
  if (switch_value) {
7265
- switch_instance = new switch_value(switch_props(ctx));
7318
+ switch_instance = construct_svelte_component(switch_value, switch_props(ctx));
7266
7319
  }
7267
7320
  return {
7268
7321
  c() {
@@ -7271,9 +7324,8 @@ function create_else_block_12(ctx) {
7271
7324
  switch_instance_anchor = empty();
7272
7325
  },
7273
7326
  m(target, anchor) {
7274
- if (switch_instance) {
7327
+ if (switch_instance)
7275
7328
  mount_component(switch_instance, target, anchor);
7276
- }
7277
7329
  insert(target, switch_instance_anchor, anchor);
7278
7330
  current = true;
7279
7331
  },
@@ -7291,7 +7343,7 @@ function create_else_block_12(ctx) {
7291
7343
  check_outros();
7292
7344
  }
7293
7345
  if (switch_value) {
7294
- switch_instance = new switch_value(switch_props(ctx2));
7346
+ switch_instance = construct_svelte_component(switch_value, switch_props(ctx2));
7295
7347
  create_component(switch_instance.$$.fragment);
7296
7348
  transition_in(switch_instance.$$.fragment, 1);
7297
7349
  mount_component(switch_instance, switch_instance_anchor.parentNode, switch_instance_anchor);
@@ -7333,7 +7385,7 @@ function create_if_block_3(ctx) {
7333
7385
  };
7334
7386
  }
7335
7387
  if (switch_value) {
7336
- switch_instance = new switch_value(switch_props(ctx));
7388
+ switch_instance = construct_svelte_component(switch_value, switch_props(ctx));
7337
7389
  }
7338
7390
  return {
7339
7391
  c() {
@@ -7342,9 +7394,8 @@ function create_if_block_3(ctx) {
7342
7394
  switch_instance_anchor = empty();
7343
7395
  },
7344
7396
  m(target, anchor) {
7345
- if (switch_instance) {
7397
+ if (switch_instance)
7346
7398
  mount_component(switch_instance, target, anchor);
7347
- }
7348
7399
  insert(target, switch_instance_anchor, anchor);
7349
7400
  current = true;
7350
7401
  },
@@ -7362,7 +7413,7 @@ function create_if_block_3(ctx) {
7362
7413
  check_outros();
7363
7414
  }
7364
7415
  if (switch_value) {
7365
- switch_instance = new switch_value(switch_props(ctx2));
7416
+ switch_instance = construct_svelte_component(switch_value, switch_props(ctx2));
7366
7417
  create_component(switch_instance.$$.fragment);
7367
7418
  transition_in(switch_instance.$$.fragment, 1);
7368
7419
  mount_component(switch_instance, switch_instance_anchor.parentNode, switch_instance_anchor);
@@ -7654,7 +7705,7 @@ function create_if_block_12(ctx) {
7654
7705
  dirty[0] & 16384 && { menu: ctx2[14] },
7655
7706
  button_spread_levels[4]
7656
7707
  ]) : {};
7657
- if (dirty[0] & 2 | dirty[1] & 524288) {
7708
+ if (dirty[0] & 2 | dirty[1] & 1048576) {
7658
7709
  button_changes.$$scope = { dirty, ctx: ctx2 };
7659
7710
  }
7660
7711
  button.$set(button_changes);
@@ -7735,7 +7786,7 @@ function create_if_block6(ctx) {
7735
7786
  button_changes.theme = ctx2[1];
7736
7787
  if (dirty[0] & 8)
7737
7788
  button_changes.disabled = ctx2[3];
7738
- if (dirty[0] & 2 | dirty[1] & 524288) {
7789
+ if (dirty[0] & 2 | dirty[1] & 1048576) {
7739
7790
  button_changes.$$scope = { dirty, ctx: ctx2 };
7740
7791
  }
7741
7792
  button.$set(button_changes);
@@ -7797,7 +7848,7 @@ function create_each_block4(ctx) {
7797
7848
  let img_title_value;
7798
7849
  let t0;
7799
7850
  let span;
7800
- let t1_value = ctx[43] + "";
7851
+ let t1_value = ctx[44] + "";
7801
7852
  let t1;
7802
7853
  let span_class_value;
7803
7854
  let t2;
@@ -7816,17 +7867,17 @@ function create_each_block4(ctx) {
7816
7867
  t1 = text(t1_value);
7817
7868
  t2 = space();
7818
7869
  attr(img, "class", img_class_value = name5 + "-app-btn-icon " + ctx[1]);
7819
- if (!src_url_equal(img.src, img_src_value = ctx[42]))
7870
+ if (!src_url_equal(img.src, img_src_value = ctx[43]))
7820
7871
  attr(img, "src", img_src_value);
7821
- attr(img, "alt", img_alt_value = ctx[44]);
7822
- attr(img, "title", img_title_value = ctx[43]);
7872
+ attr(img, "alt", img_alt_value = ctx[45]);
7873
+ attr(img, "title", img_title_value = ctx[44]);
7823
7874
  attr(span, "class", span_class_value = name5 + "-app-btn-text " + ctx[1]);
7824
- attr(button, "class", button_class_value = name5 + "-app-btn " + ctx[44] + " " + ctx[1]);
7825
- attr(button, "title", button_title_value = ctx[43] + (ctx[46] && ctx[46].reason ? ": " + ctx[46].reason : ""));
7826
- attr(button, "data-app-kind", button_data_app_kind_value = ctx[41].kind);
7827
- button.disabled = button_disabled_value = ctx[46] && ctx[46].status !== "idle";
7828
- toggle_class(button, "is-loading", ctx[46] && ctx[46].status === "loading");
7829
- toggle_class(button, "is-failed", ctx[46] && ctx[46].status === "failed");
7875
+ attr(button, "class", button_class_value = name5 + "-app-btn " + ctx[45] + " " + ctx[1]);
7876
+ attr(button, "title", button_title_value = ctx[44] + (ctx[47] && ctx[47].reason ? ": " + ctx[47].reason : ""));
7877
+ attr(button, "data-app-kind", button_data_app_kind_value = ctx[42].kind);
7878
+ button.disabled = button_disabled_value = ctx[47] && ctx[47].status !== "idle";
7879
+ toggle_class(button, "is-loading", ctx[47] && ctx[47].status === "loading");
7880
+ toggle_class(button, "is-failed", ctx[47] && ctx[47].status === "failed");
7830
7881
  },
7831
7882
  m(target, anchor) {
7832
7883
  insert(target, button, anchor);
@@ -7837,8 +7888,8 @@ function create_each_block4(ctx) {
7837
7888
  append(button, t2);
7838
7889
  if (!mounted) {
7839
7890
  dispose = listen(button, "click", function() {
7840
- if (is_function(ctx[47]))
7841
- ctx[47].apply(this, arguments);
7891
+ if (is_function(ctx[48]))
7892
+ ctx[48].apply(this, arguments);
7842
7893
  });
7843
7894
  mounted = true;
7844
7895
  }
@@ -7848,37 +7899,37 @@ function create_each_block4(ctx) {
7848
7899
  if (dirty[0] & 2 && img_class_value !== (img_class_value = name5 + "-app-btn-icon " + ctx[1])) {
7849
7900
  attr(img, "class", img_class_value);
7850
7901
  }
7851
- if (dirty[0] & 524288 && !src_url_equal(img.src, img_src_value = ctx[42])) {
7902
+ if (dirty[0] & 524288 && !src_url_equal(img.src, img_src_value = ctx[43])) {
7852
7903
  attr(img, "src", img_src_value);
7853
7904
  }
7854
- if (dirty[0] & 524288 && img_alt_value !== (img_alt_value = ctx[44])) {
7905
+ if (dirty[0] & 524288 && img_alt_value !== (img_alt_value = ctx[45])) {
7855
7906
  attr(img, "alt", img_alt_value);
7856
7907
  }
7857
- if (dirty[0] & 524288 && img_title_value !== (img_title_value = ctx[43])) {
7908
+ if (dirty[0] & 524288 && img_title_value !== (img_title_value = ctx[44])) {
7858
7909
  attr(img, "title", img_title_value);
7859
7910
  }
7860
- if (dirty[0] & 524288 && t1_value !== (t1_value = ctx[43] + ""))
7911
+ if (dirty[0] & 524288 && t1_value !== (t1_value = ctx[44] + ""))
7861
7912
  set_data(t1, t1_value);
7862
7913
  if (dirty[0] & 2 && span_class_value !== (span_class_value = name5 + "-app-btn-text " + ctx[1])) {
7863
7914
  attr(span, "class", span_class_value);
7864
7915
  }
7865
- if (dirty[0] & 524290 && button_class_value !== (button_class_value = name5 + "-app-btn " + ctx[44] + " " + ctx[1])) {
7916
+ if (dirty[0] & 524290 && button_class_value !== (button_class_value = name5 + "-app-btn " + ctx[45] + " " + ctx[1])) {
7866
7917
  attr(button, "class", button_class_value);
7867
7918
  }
7868
- if (dirty[0] & 1572864 && button_title_value !== (button_title_value = ctx[43] + (ctx[46] && ctx[46].reason ? ": " + ctx[46].reason : ""))) {
7919
+ if (dirty[0] & 1572864 && button_title_value !== (button_title_value = ctx[44] + (ctx[47] && ctx[47].reason ? ": " + ctx[47].reason : ""))) {
7869
7920
  attr(button, "title", button_title_value);
7870
7921
  }
7871
- if (dirty[0] & 524288 && button_data_app_kind_value !== (button_data_app_kind_value = ctx[41].kind)) {
7922
+ if (dirty[0] & 524288 && button_data_app_kind_value !== (button_data_app_kind_value = ctx[42].kind)) {
7872
7923
  attr(button, "data-app-kind", button_data_app_kind_value);
7873
7924
  }
7874
- if (dirty[0] & 1572864 && button_disabled_value !== (button_disabled_value = ctx[46] && ctx[46].status !== "idle")) {
7925
+ if (dirty[0] & 1572864 && button_disabled_value !== (button_disabled_value = ctx[47] && ctx[47].status !== "idle")) {
7875
7926
  button.disabled = button_disabled_value;
7876
7927
  }
7877
7928
  if (dirty[0] & 1572866) {
7878
- toggle_class(button, "is-loading", ctx[46] && ctx[46].status === "loading");
7929
+ toggle_class(button, "is-loading", ctx[47] && ctx[47].status === "loading");
7879
7930
  }
7880
7931
  if (dirty[0] & 1572866) {
7881
- toggle_class(button, "is-failed", ctx[46] && ctx[46].status === "failed");
7932
+ toggle_class(button, "is-failed", ctx[47] && ctx[47].status === "failed");
7882
7933
  }
7883
7934
  },
7884
7935
  d(detaching) {
@@ -8198,7 +8249,7 @@ function create_fragment54(ctx) {
8198
8249
  for (let i = 0; i < each_blocks.length; i += 1) {
8199
8250
  each_blocks[i].m(div7, null);
8200
8251
  }
8201
- ctx[38](div7);
8252
+ ctx[39](div7);
8202
8253
  current = true;
8203
8254
  if (!mounted) {
8204
8255
  dispose = [
@@ -8233,7 +8284,7 @@ function create_fragment54(ctx) {
8233
8284
  dirty[0] & 32768 && get_spread_object(ctx2[15]),
8234
8285
  dirty[0] & 262144 && { content: ctx2[18].clicker }
8235
8286
  ]) : {};
8236
- if (dirty[0] & 258 | dirty[1] & 524288) {
8287
+ if (dirty[0] & 258 | dirty[1] & 1048576) {
8237
8288
  button0_changes.$$scope = { dirty, ctx: ctx2 };
8238
8289
  }
8239
8290
  button0.$set(button0_changes);
@@ -8242,7 +8293,7 @@ function create_fragment54(ctx) {
8242
8293
  dirty[0] & 32768 && get_spread_object(ctx2[15]),
8243
8294
  dirty[0] & 262144 && { content: ctx2[18].selector }
8244
8295
  ]) : {};
8245
- if (dirty[0] & 258 | dirty[1] & 524288) {
8296
+ if (dirty[0] & 258 | dirty[1] & 1048576) {
8246
8297
  button1_changes.$$scope = { dirty, ctx: ctx2 };
8247
8298
  }
8248
8299
  button1.$set(button1_changes);
@@ -8252,7 +8303,7 @@ function create_fragment54(ctx) {
8252
8303
  dirty[0] & 262144 && { content: ctx2[18].pencil },
8253
8304
  dirty[0] & 2048 && { menu: ctx2[11] }
8254
8305
  ]) : {};
8255
- if (dirty[0] & 258 | dirty[1] & 524288) {
8306
+ if (dirty[0] & 258 | dirty[1] & 1048576) {
8256
8307
  button2_changes.$$scope = { dirty, ctx: ctx2 };
8257
8308
  }
8258
8309
  button2.$set(button2_changes);
@@ -8262,7 +8313,7 @@ function create_fragment54(ctx) {
8262
8313
  dirty[0] & 262144 && { content: ctx2[18].text },
8263
8314
  dirty[0] & 4096 && { menu: ctx2[12] }
8264
8315
  ]) : {};
8265
- if (dirty[0] & 258 | dirty[1] & 524288) {
8316
+ if (dirty[0] & 258 | dirty[1] & 1048576) {
8266
8317
  button3_changes.$$scope = { dirty, ctx: ctx2 };
8267
8318
  }
8268
8319
  button3.$set(button3_changes);
@@ -8272,7 +8323,7 @@ function create_fragment54(ctx) {
8272
8323
  dirty[0] & 512 && { content: ctx2[9].shapes },
8273
8324
  dirty[0] & 8192 && { menu: ctx2[13] }
8274
8325
  ]) : {};
8275
- if (dirty[0] & 1410 | dirty[1] & 524288) {
8326
+ if (dirty[0] & 1410 | dirty[1] & 1048576) {
8276
8327
  button4_changes.$$scope = { dirty, ctx: ctx2 };
8277
8328
  }
8278
8329
  button4.$set(button4_changes);
@@ -8281,7 +8332,7 @@ function create_fragment54(ctx) {
8281
8332
  dirty[0] & 32768 && get_spread_object(ctx2[15]),
8282
8333
  dirty[0] & 262144 && { content: ctx2[18].eraser }
8283
8334
  ]) : {};
8284
- if (dirty[0] & 258 | dirty[1] & 524288) {
8335
+ if (dirty[0] & 258 | dirty[1] & 1048576) {
8285
8336
  button5_changes.$$scope = { dirty, ctx: ctx2 };
8286
8337
  }
8287
8338
  button5.$set(button5_changes);
@@ -8290,7 +8341,7 @@ function create_fragment54(ctx) {
8290
8341
  dirty[0] & 32768 && get_spread_object(ctx2[15]),
8291
8342
  dirty[0] & 512 && { content: ctx2[9].clear }
8292
8343
  ]) : {};
8293
- if (dirty[0] & 2 | dirty[1] & 524288) {
8344
+ if (dirty[0] & 2 | dirty[1] & 1048576) {
8294
8345
  button6_changes.$$scope = { dirty, ctx: ctx2 };
8295
8346
  }
8296
8347
  button6.$set(button6_changes);
@@ -8315,7 +8366,7 @@ function create_fragment54(ctx) {
8315
8366
  }
8316
8367
  if (scrollHeight_action && is_function(scrollHeight_action.update) && dirty[0] & 16)
8317
8368
  scrollHeight_action.update.call(null, ctx2[4]);
8318
- if (dirty[0] & 32) {
8369
+ if (!current || dirty[0] & 32) {
8319
8370
  toggle_class(div0, "scrollable", ctx2[5]);
8320
8371
  }
8321
8372
  if (ctx2[5]) {
@@ -8483,7 +8534,7 @@ function create_fragment54(ctx) {
8483
8534
  destroy_component(strokecolor1);
8484
8535
  ctx[37](null);
8485
8536
  destroy_each(each_blocks, detaching);
8486
- ctx[38](null);
8537
+ ctx[39](null);
8487
8538
  mounted = false;
8488
8539
  run_all(dispose);
8489
8540
  }
@@ -8524,7 +8575,7 @@ function instance54($$self, $$props, $$invalidate) {
8524
8575
  let apps_panel;
8525
8576
  let btn_props;
8526
8577
  let top = writable(0);
8527
- component_subscribe($$self, top, (value) => $$invalidate(40, $top = value));
8578
+ component_subscribe($$self, top, (value) => $$invalidate(41, $top = value));
8528
8579
  function scroll_up() {
8529
8580
  set_store_value(top, $top = clamp($top - 32 - 4, 0, max_scroll), $top);
8530
8581
  }
@@ -8574,6 +8625,10 @@ function instance54($$self, $$props, $$invalidate) {
8574
8625
  $$invalidate(13, shapes_panel);
8575
8626
  });
8576
8627
  }
8628
+ const func = (onClick) => {
8629
+ app && onClick(app);
8630
+ tippy_hide_all();
8631
+ };
8577
8632
  function div7_binding($$value) {
8578
8633
  binding_callbacks[$$value ? "unshift" : "push"](() => {
8579
8634
  apps_panel = $$value;
@@ -8684,22 +8739,32 @@ function instance54($$self, $$props, $$invalidate) {
8684
8739
  div2_binding,
8685
8740
  div3_binding,
8686
8741
  div6_binding,
8742
+ func,
8687
8743
  div7_binding
8688
8744
  ];
8689
8745
  }
8690
8746
  var Contents = class extends SvelteComponent {
8691
8747
  constructor(options) {
8692
8748
  super();
8693
- init(this, options, instance54, create_fragment54, safe_not_equal, {
8694
- app: 0,
8695
- theme: 1,
8696
- language: 2,
8697
- disabled: 3,
8698
- scroll_height: 4,
8699
- computed_height: 31,
8700
- scrollable: 5,
8701
- hide_apps: 6
8702
- }, null, [-1, -1]);
8749
+ init(
8750
+ this,
8751
+ options,
8752
+ instance54,
8753
+ create_fragment54,
8754
+ safe_not_equal,
8755
+ {
8756
+ app: 0,
8757
+ theme: 1,
8758
+ language: 2,
8759
+ disabled: 3,
8760
+ scroll_height: 4,
8761
+ computed_height: 31,
8762
+ scrollable: 5,
8763
+ hide_apps: 6
8764
+ },
8765
+ null,
8766
+ [-1, -1]
8767
+ );
8703
8768
  }
8704
8769
  };
8705
8770
  var Contents_default = Contents;
@@ -8811,7 +8876,7 @@ function create_fragment55(ctx) {
8811
8876
  path1 = svg_element("path");
8812
8877
  if_block.c();
8813
8878
  attr(div0, "class", div0_class_value = name6 + "-contents " + ctx[1]);
8814
- set_style(div0, "height", ctx[5] ? ctx[6] + "px" : "auto", false);
8879
+ set_style(div0, "height", ctx[5] ? ctx[6] + "px" : "auto");
8815
8880
  attr(input, "type", "checkbox");
8816
8881
  attr(path0, "fill", "#fff");
8817
8882
  attr(path0, "stroke", "none");
@@ -8870,7 +8935,7 @@ function create_fragment55(ctx) {
8870
8935
  attr(div0, "class", div0_class_value);
8871
8936
  }
8872
8937
  if (dirty & 96) {
8873
- set_style(div0, "height", ctx2[5] ? ctx2[6] + "px" : "auto", false);
8938
+ set_style(div0, "height", ctx2[5] ? ctx2[6] + "px" : "auto");
8874
8939
  }
8875
8940
  if (dirty & 8) {
8876
8941
  input.checked = ctx2[3];
@@ -8891,7 +8956,7 @@ function create_fragment55(ctx) {
8891
8956
  if (!current || dirty & 2 && div1_class_value !== (div1_class_value = name6 + " " + ctx2[1])) {
8892
8957
  attr(div1, "class", div1_class_value);
8893
8958
  }
8894
- if (dirty & 10) {
8959
+ if (!current || dirty & 10) {
8895
8960
  toggle_class(div1, "collapsed", ctx2[3]);
8896
8961
  }
8897
8962
  },
@@ -9951,7 +10016,7 @@ function create_fragment57(ctx) {
9951
10016
  if (dirty & 4)
9952
10017
  playercontrol_changes.language = ctx2[2];
9953
10018
  playercontrol.$set(playercontrol_changes);
9954
- if (dirty & 1) {
10019
+ if (!current || dirty & 1) {
9955
10020
  toggle_class(div2, "loading", !ctx2[0]);
9956
10021
  }
9957
10022
  },
@@ -10324,7 +10389,7 @@ function create_fragment58(ctx) {
10324
10389
  });
10325
10390
  check_outros();
10326
10391
  }
10327
- if (dirty & 32) {
10392
+ if (!current || dirty & 32) {
10328
10393
  toggle_class(div1, "hidden", !(ctx2[5] === "visible" || ctx2[5] === "toolbar-only"));
10329
10394
  }
10330
10395
  if (((_b2 = ctx2[3].redo_undo) == null ? void 0 : _b2.enable) !== false) {
@@ -10365,7 +10430,7 @@ function create_fragment58(ctx) {
10365
10430
  });
10366
10431
  check_outros();
10367
10432
  }
10368
- if (dirty & 32) {
10433
+ if (!current || dirty & 32) {
10369
10434
  toggle_class(div2, "hidden", ctx2[5] !== "visible");
10370
10435
  }
10371
10436
  if (((_d2 = ctx2[3].page_control) == null ? void 0 : _d2.enable) !== false) {
@@ -10387,10 +10452,10 @@ function create_fragment58(ctx) {
10387
10452
  });
10388
10453
  check_outros();
10389
10454
  }
10390
- if (dirty & 32) {
10455
+ if (!current || dirty & 32) {
10391
10456
  toggle_class(div3, "hidden", ctx2[5] !== "visible");
10392
10457
  }
10393
- if (dirty & 1) {
10458
+ if (!current || dirty & 1) {
10394
10459
  toggle_class(div4, "loading", !ctx2[0]);
10395
10460
  }
10396
10461
  },
@@ -10576,7 +10641,7 @@ function createUI(app, div) {
10576
10641
  }
10577
10642
  };
10578
10643
  if (div) {
10579
- ui.mount(div);
10644
+ ui.mount(div, { app });
10580
10645
  }
10581
10646
  return ui;
10582
10647
  }
@@ -10603,26 +10668,11 @@ function createReplayUI(player, div) {
10603
10668
  }
10604
10669
  };
10605
10670
  if (div) {
10606
- ui.mount(div);
10671
+ ui.mount(div, { player });
10607
10672
  }
10608
10673
  return ui;
10609
10674
  }
10610
10675
 
10611
- // inline-sass-helper:inline-sass-style-helper.js
10612
- function injectStyle(text2) {
10613
- if (typeof document !== "undefined") {
10614
- var style = document.createElement("style");
10615
- var node = document.createTextNode(text2);
10616
- style.appendChild(node);
10617
- document.head.appendChild(style);
10618
- }
10619
- }
10620
-
10621
- // inline-sass-content:./src/style.scss
10622
- 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}';
10623
-
10624
- // inline-sass-stub:./src/style.scss
10625
- injectStyle(style_default);
10626
-
10627
10676
  export { Fastboard_default as Fastboard, PageControl_default as PageControl, PlayerControl_default as PlayerControl, RedoUndo_default as RedoUndo, ReplayFastboard_default as ReplayFastboard, Toolbar_default as Toolbar, ZoomControl_default as ZoomControl, apps, createReplayUI, createUI };
10677
+ //# sourceMappingURL=out.js.map
10628
10678
  //# sourceMappingURL=index.mjs.map