@plaidev/karte-action-sdk 1.1.232-28658179.8f1dd9a9 → 1.1.232-28663591.feead91d

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js CHANGED
@@ -2880,7 +2880,7 @@ const LAYOUT_COMPONENT_NAMES = [
2880
2880
 
2881
2881
  /* src/components/Header.svelte generated by Svelte v3.53.1 */
2882
2882
 
2883
- function create_if_block$d(ctx) {
2883
+ function create_if_block$b(ctx) {
2884
2884
  let link;
2885
2885
 
2886
2886
  return {
@@ -2906,7 +2906,7 @@ function create_if_block$d(ctx) {
2906
2906
 
2907
2907
  function create_fragment$15(ctx) {
2908
2908
  let head;
2909
- let if_block = /*googleFontUrl*/ ctx[0] && create_if_block$d(ctx);
2909
+ let if_block = /*googleFontUrl*/ ctx[0] && create_if_block$b(ctx);
2910
2910
 
2911
2911
  return {
2912
2912
  c() {
@@ -2922,7 +2922,7 @@ function create_fragment$15(ctx) {
2922
2922
  if (if_block) {
2923
2923
  if_block.p(ctx, dirty);
2924
2924
  } else {
2925
- if_block = create_if_block$d(ctx);
2925
+ if_block = create_if_block$b(ctx);
2926
2926
  if_block.c();
2927
2927
  if_block.m(head, null);
2928
2928
  }
@@ -3053,12 +3053,12 @@ class State extends SvelteComponent {
3053
3053
 
3054
3054
  /* src/components/StateItem.svelte generated by Svelte v3.53.1 */
3055
3055
 
3056
- function add_css$w(target) {
3056
+ function add_css$C(target) {
3057
3057
  append_styles(target, "svelte-2qb6dm", ".state-item.svelte-2qb6dm{position:absolute;display:none}");
3058
3058
  }
3059
3059
 
3060
3060
  // (23:0) {#if $state === path}
3061
- function create_if_block$c(ctx) {
3061
+ function create_if_block$a(ctx) {
3062
3062
  let div;
3063
3063
  let t;
3064
3064
  let current;
@@ -3123,7 +3123,7 @@ function create_if_block$c(ctx) {
3123
3123
  function create_fragment$13(ctx) {
3124
3124
  let if_block_anchor;
3125
3125
  let current;
3126
- let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$c(ctx);
3126
+ let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$a(ctx);
3127
3127
 
3128
3128
  return {
3129
3129
  c() {
@@ -3144,7 +3144,7 @@ function create_fragment$13(ctx) {
3144
3144
  transition_in(if_block, 1);
3145
3145
  }
3146
3146
  } else {
3147
- if_block = create_if_block$c(ctx);
3147
+ if_block = create_if_block$a(ctx);
3148
3148
  if_block.c();
3149
3149
  transition_in(if_block, 1);
3150
3150
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -3207,7 +3207,7 @@ function instance$13($$self, $$props, $$invalidate) {
3207
3207
  class StateItem extends SvelteComponent {
3208
3208
  constructor(options) {
3209
3209
  super();
3210
- init(this, options, instance$13, create_fragment$13, safe_not_equal, { path: 0 }, add_css$w);
3210
+ init(this, options, instance$13, create_fragment$13, safe_not_equal, { path: 0 }, add_css$C);
3211
3211
  }
3212
3212
  }
3213
3213
 
@@ -3392,12 +3392,12 @@ function customAnimation(node, { transforms, animationStyle, delay = 0, duration
3392
3392
 
3393
3393
  /* src/components/BackgroundOverlay.svelte generated by Svelte v3.53.1 */
3394
3394
 
3395
- function add_css$v(target) {
3395
+ function add_css$B(target) {
3396
3396
  append_styles(target, "svelte-1d4fta", ".background.svelte-1d4fta{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.3);z-index:2147483646}");
3397
3397
  }
3398
3398
 
3399
3399
  // (14:0) {#if backgroundOverlay}
3400
- function create_if_block$b(ctx) {
3400
+ function create_if_block$9(ctx) {
3401
3401
  let div;
3402
3402
  let div_class_value;
3403
3403
  let mounted;
@@ -3431,7 +3431,7 @@ function create_if_block$b(ctx) {
3431
3431
 
3432
3432
  function create_fragment$12(ctx) {
3433
3433
  let if_block_anchor;
3434
- let if_block = /*backgroundOverlay*/ ctx[0] && create_if_block$b(ctx);
3434
+ let if_block = /*backgroundOverlay*/ ctx[0] && create_if_block$9(ctx);
3435
3435
 
3436
3436
  return {
3437
3437
  c() {
@@ -3447,7 +3447,7 @@ function create_fragment$12(ctx) {
3447
3447
  if (if_block) {
3448
3448
  if_block.p(ctx, dirty);
3449
3449
  } else {
3450
- if_block = create_if_block$b(ctx);
3450
+ if_block = create_if_block$9(ctx);
3451
3451
  if_block.c();
3452
3452
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
3453
3453
  }
@@ -3482,7 +3482,7 @@ function instance$12($$self, $$props, $$invalidate) {
3482
3482
  class BackgroundOverlay extends SvelteComponent {
3483
3483
  constructor(options) {
3484
3484
  super();
3485
- init(this, options, instance$12, create_fragment$12, safe_not_equal, { backgroundOverlay: 0, class: 1 }, add_css$v);
3485
+ init(this, options, instance$12, create_fragment$12, safe_not_equal, { backgroundOverlay: 0, class: 1 }, add_css$B);
3486
3486
  }
3487
3487
  }
3488
3488
 
@@ -3522,7 +3522,7 @@ function checkStopPropagation(eventName, handler) {
3522
3522
 
3523
3523
  /* src/components/Button.svelte generated by Svelte v3.53.1 */
3524
3524
 
3525
- function add_css$u(target) {
3525
+ function add_css$A(target) {
3526
3526
  append_styles(target, "svelte-15k4deh", ".button.svelte-15k4deh{display:block;text-decoration:none;color:inherit;border:none;background:none;margin:0;padding:0}.button.svelte-15k4deh:link,.button.svelte-15k4deh:visited,.button.svelte-15k4deh:active,.button.svelte-15k4deh:hover{color:inherit}");
3527
3527
  }
3528
3528
 
@@ -3769,7 +3769,7 @@ function create_if_block_1$2(ctx) {
3769
3769
  }
3770
3770
 
3771
3771
  // (31:0) {#if disabled}
3772
- function create_if_block$a(ctx) {
3772
+ function create_if_block$8(ctx) {
3773
3773
  let div;
3774
3774
  let current;
3775
3775
  const default_slot_template = /*#slots*/ ctx[9].default;
@@ -3832,7 +3832,7 @@ function create_fragment$11(ctx) {
3832
3832
  let if_block;
3833
3833
  let if_block_anchor;
3834
3834
  let current;
3835
- const if_block_creators = [create_if_block$a, create_if_block_1$2, create_if_block_2$1, create_else_block$4];
3835
+ const if_block_creators = [create_if_block$8, create_if_block_1$2, create_if_block_2$1, create_else_block$4];
3836
3836
  const if_blocks = [];
3837
3837
 
3838
3838
  function select_block_type(ctx, dirty) {
@@ -3975,14 +3975,14 @@ let Button$1 = class Button extends SvelteComponent {
3975
3975
  eventValue: 6,
3976
3976
  style: 1
3977
3977
  },
3978
- add_css$u
3978
+ add_css$A
3979
3979
  );
3980
3980
  }
3981
3981
  };
3982
3982
 
3983
3983
  /* src/components/Modal.svelte generated by Svelte v3.53.1 */
3984
3984
 
3985
- function add_css$t(target) {
3985
+ function add_css$z(target) {
3986
3986
  append_styles(target, "svelte-1ijkyzl", ".modal.svelte-1ijkyzl{position:fixed;box-sizing:border-box;z-index:2147483647;display:flex}.modal.svelte-1ijkyzl > .button{flex:auto;display:flex}.close.svelte-1ijkyzl{position:absolute;top:0;right:0}.close.svelte-1ijkyzl > .button{position:absolute;display:flex;justify-content:center;align-items:center;background-color:transparent;border:none;cursor:pointer;padding:0;transition:all 0.25s}.close.svelte-1ijkyzl > .button:hover{transform:rotate(90deg)}.modal-content.svelte-1ijkyzl{flex:auto;display:flex;justify-content:center;align-items:center;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}@media screen and (min-width: 641px){.modal-bp.svelte-1ijkyzl{height:var(--modal-bp-height-pc) !important;width:var(--modal-bp-width-pc) !important;top:var(--modal-bp-top-pc) !important;left:var(--modal-bp-left-pc) !important;bottom:var(--modal-bp-bottom-pc) !important;right:var(--modal-bp-right-pc) !important;transform:var(--modal-bp-transform-pc);margin:var(--modal-bp-margin-pc) !important}.background-bp-pc{display:block}.background-bp-sp{display:none}}@media screen and (max-width: 640px){.modal-bp.svelte-1ijkyzl{height:var(--modal-bp-height-sp) !important;width:var(--modal-bp-width-sp) !important;top:var(--modal-bp-top-sp) !important;left:var(--modal-bp-left-sp) !important;bottom:var(--modal-bp-bottom-sp) !important;right:var(--modal-bp-right-sp) !important;transform:var(--modal-bp-transform-sp);margin:var(--modal-bp-margin-sp) !important}.background-bp-pc{display:none}.background-bp-sp{display:block}}");
3987
3987
  }
3988
3988
 
@@ -4112,7 +4112,7 @@ function create_if_block_2(ctx) {
4112
4112
  }
4113
4113
 
4114
4114
  // (280:0) {#if visible}
4115
- function create_if_block$9(ctx) {
4115
+ function create_if_block$7(ctx) {
4116
4116
  let div;
4117
4117
  let button;
4118
4118
  let div_class_value;
@@ -4398,7 +4398,7 @@ function create_fragment$10(ctx) {
4398
4398
 
4399
4399
  current_block_type_index = select_block_type(ctx);
4400
4400
  if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
4401
- let if_block1 = /*visible*/ ctx[16] && create_if_block$9(ctx);
4401
+ let if_block1 = /*visible*/ ctx[16] && create_if_block$7(ctx);
4402
4402
 
4403
4403
  return {
4404
4404
  c() {
@@ -4458,7 +4458,7 @@ function create_fragment$10(ctx) {
4458
4458
  transition_in(if_block1, 1);
4459
4459
  }
4460
4460
  } else {
4461
- if_block1 = create_if_block$9(ctx);
4461
+ if_block1 = create_if_block$7(ctx);
4462
4462
  if_block1.c();
4463
4463
  transition_in(if_block1, 1);
4464
4464
  if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
@@ -4825,7 +4825,7 @@ class Modal extends SvelteComponent {
4825
4825
  closeButtonColor: 9,
4826
4826
  _closeStyle: 10
4827
4827
  },
4828
- add_css$t,
4828
+ add_css$z,
4829
4829
  [-1, -1]
4830
4830
  );
4831
4831
  }
@@ -4949,7 +4949,7 @@ class Grid extends SvelteComponent {
4949
4949
 
4950
4950
  /* src/components/GridItem.svelte generated by Svelte v3.53.1 */
4951
4951
 
4952
- function add_css$s(target) {
4952
+ function add_css$y(target) {
4953
4953
  append_styles(target, "svelte-n7kdl3", ".grid-item.svelte-n7kdl3{word-break:break-all;position:relative}.grid-item-inner.svelte-n7kdl3{position:absolute;inset:0}");
4954
4954
  }
4955
4955
 
@@ -5088,7 +5088,7 @@ class GridItem extends SvelteComponent {
5088
5088
  background: 7,
5089
5089
  gridItemId: 0
5090
5090
  },
5091
- add_css$s
5091
+ add_css$y
5092
5092
  );
5093
5093
  }
5094
5094
  }
@@ -5123,7 +5123,7 @@ function create_else_block$2(ctx) {
5123
5123
  }
5124
5124
 
5125
5125
  // (11:2) {#if item.match(regexp)}
5126
- function create_if_block$8(ctx) {
5126
+ function create_if_block$6(ctx) {
5127
5127
  let br;
5128
5128
 
5129
5129
  return {
@@ -5148,7 +5148,7 @@ function create_each_block$6(ctx) {
5148
5148
  function select_block_type(ctx, dirty) {
5149
5149
  if (dirty & /*items*/ 1) show_if = null;
5150
5150
  if (show_if == null) show_if = !!/*item*/ ctx[2].match(regexp);
5151
- if (show_if) return create_if_block$8;
5151
+ if (show_if) return create_if_block$6;
5152
5152
  return create_else_block$2;
5153
5153
  }
5154
5154
 
@@ -5270,7 +5270,7 @@ class RenderText extends SvelteComponent {
5270
5270
 
5271
5271
  /* src/components/TextElement.svelte generated by Svelte v3.53.1 */
5272
5272
 
5273
- function add_css$r(target) {
5273
+ function add_css$x(target) {
5274
5274
  append_styles(target, "svelte-9ixs0b", ".text-element-wrapper.svelte-9ixs0b.svelte-9ixs0b{position:relative;height:100%}.text-element.svelte-9ixs0b.svelte-9ixs0b{display:flex;position:relative;width:100%;height:100%;box-sizing:border-box;white-space:pre-wrap;margin:0px;padding:0px;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden;font-size:12px;line-height:1.5}.text-link-element.svelte-9ixs0b.svelte-9ixs0b{text-decoration:none;color:inherit}.text-element-inner.svelte-9ixs0b.svelte-9ixs0b{width:100%;height:auto}.text-direction-vertical.svelte-9ixs0b.svelte-9ixs0b{writing-mode:vertical-rl}.text-direction-vertical.svelte-9ixs0b .text-element-inner.svelte-9ixs0b{width:auto;height:100%}.tooltip.svelte-9ixs0b.svelte-9ixs0b{display:none;position:absolute;bottom:-40px;left:50%;transform:translateX(-50%);color:#fff;background-color:#3d4948;white-space:nowrap;padding:4px 8px 4px 8px;border-radius:4px;font-size:12px;z-index:2147483647}.tooltip.svelte-9ixs0b.svelte-9ixs0b:before{content:'';position:absolute;top:-13px;left:50%;margin-left:-7px;border:7px solid transparent;border-bottom:7px solid #3d4948}.tooltip.show.svelte-9ixs0b.svelte-9ixs0b{display:block}.tooltip-error.svelte-9ixs0b.svelte-9ixs0b{background-color:#c00}.tooltip-error.svelte-9ixs0b.svelte-9ixs0b:before{border-bottom:7px solid #c00}");
5275
5275
  }
5276
5276
 
@@ -5328,7 +5328,7 @@ function create_else_block$1(ctx) {
5328
5328
  }
5329
5329
 
5330
5330
  // (80:2) {#if enableCopy}
5331
- function create_if_block$7(ctx) {
5331
+ function create_if_block$5(ctx) {
5332
5332
  let a;
5333
5333
  let div0;
5334
5334
  let rendertext;
@@ -5419,7 +5419,7 @@ function create_fragment$Y(ctx) {
5419
5419
  let current_block_type_index;
5420
5420
  let if_block;
5421
5421
  let current;
5422
- const if_block_creators = [create_if_block$7, create_else_block$1];
5422
+ const if_block_creators = [create_if_block$5, create_else_block$1];
5423
5423
  const if_blocks = [];
5424
5424
 
5425
5425
  function select_block_type(ctx, dirty) {
@@ -5592,14 +5592,14 @@ class TextElement extends SvelteComponent {
5592
5592
  enableCopy: 2,
5593
5593
  eventName: 10
5594
5594
  },
5595
- add_css$r
5595
+ add_css$x
5596
5596
  );
5597
5597
  }
5598
5598
  }
5599
5599
 
5600
5600
  /* src/components/TextButtonElement.svelte generated by Svelte v3.53.1 */
5601
5601
 
5602
- function add_css$q(target) {
5602
+ function add_css$w(target) {
5603
5603
  append_styles(target, "svelte-1vg84sc", ".text-button-element.svelte-1vg84sc{width:100%;height:100%}.text-button-element.svelte-1vg84sc > .button{display:flex;width:100%;height:100%;border:none;box-shadow:transparent;box-sizing:border-box;transition:box-shadow 0.2s;white-space:pre-wrap;overflow:hidden;color:#ffffff;font-size:14px;font-weight:bold;justify-content:center;align-items:center;padding:1px 6px 1px 6px;line-height:1.5;background-color:#33403e;border-radius:4px;cursor:pointer;border-width:0px;border-style:solid;border-color:#000000}.text-button-element.svelte-1vg84sc > .button._disabled{cursor:not-allowed !important;opacity:0.2}.text-button-element.svelte-1vg84sc > .button:not(._disabled):active{box-shadow:inset 0 0 100px 100px rgba(0, 0, 0, 0.3)}.text-button-element.svelte-1vg84sc > .button:not(._disabled):hover{box-shadow:inset 0 0 100px 100px rgba(255, 255, 255, 0.3)}");
5604
5604
  }
5605
5605
 
@@ -5740,14 +5740,14 @@ class TextButtonElement extends SvelteComponent {
5740
5740
  _buttonStyle: 5,
5741
5741
  _style: 6
5742
5742
  },
5743
- add_css$q
5743
+ add_css$w
5744
5744
  );
5745
5745
  }
5746
5746
  }
5747
5747
 
5748
5748
  /* src/components/ImageElement.svelte generated by Svelte v3.53.1 */
5749
5749
 
5750
- function add_css$p(target) {
5750
+ function add_css$v(target) {
5751
5751
  append_styles(target, "svelte-t6tu0e", ".image-element.svelte-t6tu0e{width:100%;height:100%;max-width:100%;max-height:100%;box-sizing:border-box}.image-element.svelte-t6tu0e > .button{display:flex;position:relative;width:100%;height:100%;max-width:100%;max-height:100%;justify-content:center;align-items:center;white-space:nowrap;box-sizing:border-box;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}.image-element.svelte-t6tu0e > .button._disabled{cursor:not-allowed !important;opacity:0.2}.image-element.transport.svelte-t6tu0e > .button:not(._disabled):hover,.image-element.transport.svelte-t6tu0e > .button:not(._disabled):focus{opacity:0.75;box-shadow:0 5px 16px rgba(0, 0, 0, 0.1), 0 8px 28px rgba(0, 0, 0, 0.16)}.image.svelte-t6tu0e{width:100%;height:100%}");
5752
5752
  }
5753
5753
 
@@ -5905,14 +5905,14 @@ class ImageElement extends SvelteComponent {
5905
5905
  _imageStyle: 6,
5906
5906
  _style: 7
5907
5907
  },
5908
- add_css$p
5908
+ add_css$v
5909
5909
  );
5910
5910
  }
5911
5911
  }
5912
5912
 
5913
5913
  /* src/components/List.svelte generated by Svelte v3.53.1 */
5914
5914
 
5915
- function add_css$o(target) {
5915
+ function add_css$u(target) {
5916
5916
  append_styles(target, "svelte-aquv6z", ".list.svelte-aquv6z{display:flex;width:100%;height:100%;overflow:hidden;border-width:0px;border-style:solid;border-color:#000000}");
5917
5917
  }
5918
5918
 
@@ -6052,14 +6052,14 @@ class List extends SvelteComponent {
6052
6052
  background: 3,
6053
6053
  _style: 4
6054
6054
  },
6055
- add_css$o
6055
+ add_css$u
6056
6056
  );
6057
6057
  }
6058
6058
  }
6059
6059
 
6060
6060
  /* src/components/ListItem.svelte generated by Svelte v3.53.1 */
6061
6061
 
6062
- function add_css$n(target) {
6062
+ function add_css$t(target) {
6063
6063
  append_styles(target, "svelte-9n97pe", ".list-item.svelte-9n97pe{flex:auto;box-sizing:border-box;min-width:0;min-height:0;position:relative}.list-item.svelte-9n97pe > .button{position:absolute;inset:0;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}");
6064
6064
  }
6065
6065
 
@@ -6249,13 +6249,13 @@ function instance$U($$self, $$props, $$invalidate) {
6249
6249
  class ListItem extends SvelteComponent {
6250
6250
  constructor(options) {
6251
6251
  super();
6252
- init(this, options, instance$U, create_fragment$U, safe_not_equal, { onClick: 0, clickEventName: 1, _style: 2 }, add_css$n);
6252
+ init(this, options, instance$U, create_fragment$U, safe_not_equal, { onClick: 0, clickEventName: 1, _style: 2 }, add_css$t);
6253
6253
  }
6254
6254
  }
6255
6255
 
6256
6256
  /* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
6257
6257
 
6258
- function add_css$m(target) {
6258
+ function add_css$s(target) {
6259
6259
  append_styles(target, "svelte-wocq4p", ".embed.svelte-wocq4p{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%}.embed.svelte-wocq4p iframe{position:absolute;top:0;left:0;width:100%;height:100%;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}");
6260
6260
  }
6261
6261
 
@@ -6301,13 +6301,13 @@ function instance$T($$self, $$props, $$invalidate) {
6301
6301
  class EmbedElement extends SvelteComponent {
6302
6302
  constructor(options) {
6303
6303
  super();
6304
- init(this, options, instance$T, create_fragment$T, safe_not_equal, { code: 0, _style: 1 }, add_css$m);
6304
+ init(this, options, instance$T, create_fragment$T, safe_not_equal, { code: 0, _style: 1 }, add_css$s);
6305
6305
  }
6306
6306
  }
6307
6307
 
6308
6308
  /* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
6309
6309
 
6310
- function add_css$l(target) {
6310
+ function add_css$r(target) {
6311
6311
  append_styles(target, "svelte-vikz49", ".embed.svelte-vikz49{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}.embed.svelte-vikz49 iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
6312
6312
  }
6313
6313
 
@@ -6653,7 +6653,7 @@ class MovieYouTubeElement extends SvelteComponent {
6653
6653
  mute: 25,
6654
6654
  _style: 0
6655
6655
  },
6656
- add_css$l,
6656
+ add_css$r,
6657
6657
  [-1, -1]
6658
6658
  );
6659
6659
  }
@@ -6661,7 +6661,7 @@ class MovieYouTubeElement extends SvelteComponent {
6661
6661
 
6662
6662
  /* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
6663
6663
 
6664
- function add_css$k(target) {
6664
+ function add_css$q(target) {
6665
6665
  append_styles(target, "svelte-vikz49", ".embed.svelte-vikz49{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}.embed.svelte-vikz49 iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
6666
6666
  }
6667
6667
 
@@ -6850,14 +6850,14 @@ class MovieVimeoElement extends SvelteComponent {
6850
6850
  mute: 6,
6851
6851
  _style: 0
6852
6852
  },
6853
- add_css$k
6853
+ add_css$q
6854
6854
  );
6855
6855
  }
6856
6856
  }
6857
6857
 
6858
6858
  /* src/components/FormTextarea.svelte generated by Svelte v3.53.1 */
6859
6859
 
6860
- function add_css$j(target) {
6860
+ function add_css$p(target) {
6861
6861
  append_styles(target, "svelte-zxvkkc", ".textarea-wrapper.svelte-zxvkkc{display:flex;align-items:center;width:100%;height:100%}.textarea.svelte-zxvkkc{width:100%;height:100%;box-sizing:border-box;resize:none;appearance:none;background-color:#fff;border:solid 2px #ccc;border-radius:6px;padding:6px 10px 6px 10px;font-size:12px;line-height:1.5}.textarea.svelte-zxvkkc::placeholder{color:var(--placeholder-color)}.textarea.svelte-zxvkkc:focus{outline:none;border-width:var(--focus-border-width) !important;border-color:var(--focus-border-color) !important;border-style:var(--focus-border-style) !important}");
6862
6862
  }
6863
6863
 
@@ -7020,14 +7020,14 @@ class FormTextarea extends SvelteComponent {
7020
7020
  _textStyle: 11,
7021
7021
  _placeholderStyle: 12
7022
7022
  },
7023
- add_css$j
7023
+ add_css$p
7024
7024
  );
7025
7025
  }
7026
7026
  }
7027
7027
 
7028
7028
  /* src/components/FormRadioButtons.svelte generated by Svelte v3.53.1 */
7029
7029
 
7030
- function add_css$i(target) {
7030
+ function add_css$o(target) {
7031
7031
  append_styles(target, "svelte-17s08g", ".radio-buttons.svelte-17s08g{display:flex;justify-content:space-between;flex-direction:column;width:100%;height:100%}.radio-button.svelte-17s08g{cursor:pointer;display:flex;align-items:center}.radio-button-input.svelte-17s08g{appearance:none;margin:0;box-sizing:border-box;border-radius:var(--size);position:relative;width:var(--size);height:var(--size);border:solid calc(var(--size) / 3) var(--color-main);background-color:var(--color-sub);cursor:pointer;flex:none}.radio-button-input.svelte-17s08g:checked{border:solid calc(var(--size) / 3) var(--color-main-active);background-color:var(--color-sub-active);box-shadow:0px 1px 8px 2px rgba(18,160,160,.08),0px 1px 4px -1px rgba(18,160,160,.24)}.radio-button-text.svelte-17s08g{margin-left:0.5em}");
7032
7032
  }
7033
7033
 
@@ -7295,14 +7295,14 @@ class FormRadioButtons extends SvelteComponent {
7295
7295
  buttonColor: 13,
7296
7296
  buttonColorActive: 14
7297
7297
  },
7298
- add_css$i
7298
+ add_css$o
7299
7299
  );
7300
7300
  }
7301
7301
  }
7302
7302
 
7303
7303
  /* src/components/FormSelect.svelte generated by Svelte v3.53.1 */
7304
7304
 
7305
- function add_css$h(target) {
7305
+ function add_css$n(target) {
7306
7306
  append_styles(target, "svelte-t9ynyj", ".select.svelte-t9ynyj{width:100%;height:100%}.select-select.svelte-t9ynyj{position:relative;appearance:none;width:100%;height:100%;cursor:pointer;background-color:#fff;border:solid 2px #ccc;border-radius:6px;padding:0 0 0 10px;font-size:12px;line-height:1.5}.select-select.svelte-t9ynyj:focus{outline:none;border-width:var(--focus-border-width) !important;border-color:var(--focus-border-color) !important;border-style:var(--focus-border-style) !important}.select-icon.svelte-t9ynyj{position:absolute;width:calc(var(--icon-size) / 1.41);height:calc(var(--icon-size) / 1.41);top:calc(50% - calc(var(--icon-size) / 4));right:calc(var(--icon-size) * 1.2);box-sizing:border-box;border-right:solid 2px var(--icon-color);border-top:solid 2px var(--icon-color);transform:translateY(-35.4%) rotate(135deg);pointer-events:none}");
7307
7307
  }
7308
7308
 
@@ -7334,7 +7334,7 @@ function create_else_block(ctx) {
7334
7334
  }
7335
7335
 
7336
7336
  // (105:10) {#if option}
7337
- function create_if_block$6(ctx) {
7337
+ function create_if_block$4(ctx) {
7338
7338
  let t_value = /*option*/ ctx[19] + "";
7339
7339
  let t;
7340
7340
 
@@ -7362,7 +7362,7 @@ function create_each_block$4(ctx) {
7362
7362
  let option_selected_value;
7363
7363
 
7364
7364
  function select_block_type(ctx, dirty) {
7365
- if (/*option*/ ctx[19]) return create_if_block$6;
7365
+ if (/*option*/ ctx[19]) return create_if_block$4;
7366
7366
  return create_else_block;
7367
7367
  }
7368
7368
 
@@ -7634,14 +7634,14 @@ class FormSelect extends SvelteComponent {
7634
7634
  iconColor: 15,
7635
7635
  iconSize: 16
7636
7636
  },
7637
- add_css$h
7637
+ add_css$n
7638
7638
  );
7639
7639
  }
7640
7640
  }
7641
7641
 
7642
7642
  /* src/components/FormCheckBoxes.svelte generated by Svelte v3.53.1 */
7643
7643
 
7644
- function add_css$g(target) {
7644
+ function add_css$m(target) {
7645
7645
  append_styles(target, "svelte-1p65cg8", ".check-boxes.svelte-1p65cg8.svelte-1p65cg8{display:flex;justify-content:space-between;flex-direction:column;width:100%;height:100%;gap:0px}.check-box.svelte-1p65cg8.svelte-1p65cg8{display:flex;align-items:center;position:relative;cursor:pointer}.check-box-input.svelte-1p65cg8.svelte-1p65cg8{width:var(--size);height:var(--size);margin:0;position:absolute;appearance:none;cursor:pointer}.check-box-check.svelte-1p65cg8.svelte-1p65cg8{display:inline-flex;background-color:var(--color-main);width:var(--size);height:var(--size);border-radius:calc(var(--size) / 4);justify-content:center;align-items:center;flex:none}.check-box-icon.svelte-1p65cg8.svelte-1p65cg8{display:inline-block;--icon-size:calc(var(--size) * 3 / 4);width:var(--icon-size);height:var(--icon-size)}.check-box-icon.svelte-1p65cg8.svelte-1p65cg8:after{content:'';display:block;box-sizing:border-box;width:45%;height:91%;transform:translate(60%, -8%) rotate(45deg);border-style:none solid solid none;border-width:2px;border-color:var(--color-sub)}.check-box-check._checked.svelte-1p65cg8.svelte-1p65cg8{background-color:var(--color-main-active)}.check-box-check._checked.svelte-1p65cg8 .check-box-icon.svelte-1p65cg8:after{border-color:var(--color-sub-active)}.check-box-text.svelte-1p65cg8.svelte-1p65cg8{margin-left:0.5em;color:#333;font-size:12px;line-height:1.5}");
7646
7646
  }
7647
7647
 
@@ -7931,14 +7931,14 @@ class FormCheckBoxes extends SvelteComponent {
7931
7931
  buttonColor: 13,
7932
7932
  buttonColorActive: 14
7933
7933
  },
7934
- add_css$g
7934
+ add_css$m
7935
7935
  );
7936
7936
  }
7937
7937
  }
7938
7938
 
7939
7939
  /* src/components/FormRatingButtonsNumber.svelte generated by Svelte v3.53.1 */
7940
7940
 
7941
- function add_css$f(target) {
7941
+ function add_css$l(target) {
7942
7942
  append_styles(target, "svelte-1iqf36p", ".rating-buttons.svelte-1iqf36p{display:flex;justify-content:space-between;align-items:center;width:100%;height:100%}.rating-button.svelte-1iqf36p{cursor:pointer;display:flex;justify-content:center;align-items:center;transition:background-color 0.2s, box-shadow 0.2s;appearance:none;background:none;border:none;margin:0;padding:0}");
7943
7943
  }
7944
7944
 
@@ -8148,14 +8148,14 @@ class FormRatingButtonsNumber extends SvelteComponent {
8148
8148
  buttonStyle: 9,
8149
8149
  buttonActiveStyle: 10
8150
8150
  },
8151
- add_css$f
8151
+ add_css$l
8152
8152
  );
8153
8153
  }
8154
8154
  }
8155
8155
 
8156
8156
  /* src/components/FormRatingButtonsFace.svelte generated by Svelte v3.53.1 */
8157
8157
 
8158
- function add_css$e(target) {
8158
+ function add_css$k(target) {
8159
8159
  append_styles(target, "svelte-tbunko", ".rating-buttons.svelte-tbunko{display:flex;justify-content:space-between;align-items:center;width:100%;height:100%}.rating-button.svelte-tbunko{appearance:none;background:none;border:none;margin:0;padding:0}.rating-button-image.svelte-tbunko{cursor:pointer;user-select:none;-webkit-user-drag:none;width:100%;height:100%}.rating-button-image.svelte-tbunko:not(._active){filter:grayscale(100%)}");
8160
8160
  }
8161
8161
 
@@ -8333,13 +8333,13 @@ function instance$L($$self, $$props, $$invalidate) {
8333
8333
  class FormRatingButtonsFace extends SvelteComponent {
8334
8334
  constructor(options) {
8335
8335
  super();
8336
- init(this, options, instance$L, create_fragment$L, safe_not_equal, { name: 5, required: 6, size: 7 }, add_css$e);
8336
+ init(this, options, instance$L, create_fragment$L, safe_not_equal, { name: 5, required: 6, size: 7 }, add_css$k);
8337
8337
  }
8338
8338
  }
8339
8339
 
8340
8340
  /* src/components/FormIdentifyInput.svelte generated by Svelte v3.53.1 */
8341
8341
 
8342
- function add_css$d(target) {
8342
+ function add_css$j(target) {
8343
8343
  append_styles(target, "svelte-h8fqwx", ".input-wrapper.svelte-h8fqwx{display:flex;align-items:center;width:100%;height:100%}.input.svelte-h8fqwx{width:100%;height:100%;box-sizing:border-box;resize:none;appearance:none;background-color:#fff;border:solid 2px #ccc;border-radius:6px;padding:6px 10px 6px 10px;font-size:12px;line-height:1.5}.input.svelte-h8fqwx::placeholder{color:var(--placeholder-color)}.input.svelte-h8fqwx:focus{outline:none;border-width:var(--focus-border-width) !important;border-color:var(--focus-border-color) !important;border-style:var(--focus-border-style) !important}.input._error.svelte-h8fqwx{outline:none;border-width:var(--error-border-width) !important;border-color:var(--error-border-color) !important;border-style:var(--error-border-style) !important}");
8344
8344
  }
8345
8345
 
@@ -8553,14 +8553,14 @@ class FormIdentifyInput extends SvelteComponent {
8553
8553
  _textStyle: 15,
8554
8554
  _placeholderStyle: 16
8555
8555
  },
8556
- add_css$d
8556
+ add_css$j
8557
8557
  );
8558
8558
  }
8559
8559
  }
8560
8560
 
8561
8561
  /* src/components/FormIdentifyChoices.svelte generated by Svelte v3.53.1 */
8562
8562
 
8563
- function add_css$c(target) {
8563
+ function add_css$i(target) {
8564
8564
  append_styles(target, "svelte-8zbmyo", ".radio-buttons.svelte-8zbmyo{display:flex;justify-content:space-between;flex-direction:column;width:100%;height:100%}.radio-button.svelte-8zbmyo{cursor:pointer;display:flex;align-items:center}.radio-button-input.svelte-8zbmyo{appearance:none;margin:0;box-sizing:border-box;border-radius:var(--size);position:relative;width:var(--size);height:var(--size);border:solid calc(var(--size) / 3) var(--color-main);background-color:var(--color-sub);cursor:pointer;flex:none}.radio-button-input.svelte-8zbmyo:checked{border:solid calc(var(--size) / 3) var(--color-main-active);background-color:var(--color-sub-active);box-shadow:0px 1px 8px 2px rgba(18, 160, 160, 0.08), 0px 1px 4px -1px rgba(18, 160, 160, 0.24)}.radio-button-text.svelte-8zbmyo{margin-left:0.5em}");
8565
8565
  }
8566
8566
 
@@ -8772,14 +8772,14 @@ class FormIdentifyChoices extends SvelteComponent {
8772
8772
  buttonColor: 10,
8773
8773
  buttonColorActive: 11
8774
8774
  },
8775
- add_css$c
8775
+ add_css$i
8776
8776
  );
8777
8777
  }
8778
8778
  }
8779
8779
 
8780
8780
  /* src/components/Slide.svelte generated by Svelte v3.53.1 */
8781
8781
 
8782
- function add_css$b(target) {
8782
+ function add_css$h(target) {
8783
8783
  append_styles(target, "svelte-ji1fh", ".root.svelte-ji1fh{width:100%;height:100%;position:relative}.container.svelte-ji1fh{width:100%;height:100%;position:relative;overflow:hidden;box-sizing:border-box;border-width:0px;border-style:solid;border-color:#000000}.slide.svelte-ji1fh{height:100%;position:absolute;display:flex}.transition.svelte-ji1fh{transition:left 0.2s cubic-bezier(.04,.67,.53,.96)}.item.svelte-ji1fh{height:100%;flex:none}.prev-button-container.svelte-ji1fh,.next-button-container.svelte-ji1fh{top:50%;height:0;position:absolute;display:flex;overflow:visible;align-items:center}.prev-button-container.svelte-ji1fh{left:0}.next-button-container.svelte-ji1fh{right:0}.move-button.svelte-ji1fh{display:flex;align-items:center;justify-content:center;cursor:pointer;box-sizing:border-box;border:none;background:none;margin:0;padding:0}.navigation.svelte-ji1fh{position:absolute;width:0;left:50%;bottom:0;display:flex;justify-content:center;overflow:visible}.navigation-item.svelte-ji1fh{flex-shrink:0;cursor:pointer;border:none;background:none;margin:0;padding:0;appearance:none}.navigation-item-inner.circle.svelte-ji1fh{border-radius:51%}");
8784
8784
  }
8785
8785
 
@@ -8842,7 +8842,7 @@ function create_if_block_1(ctx) {
8842
8842
  }
8843
8843
 
8844
8844
  // (380:2) {#if isVisibleNextButton}
8845
- function create_if_block$5(ctx) {
8845
+ function create_if_block$3(ctx) {
8846
8846
  let div;
8847
8847
  let button;
8848
8848
  let svg;
@@ -8957,7 +8957,7 @@ function create_fragment$I(ctx) {
8957
8957
  const default_slot_template = /*#slots*/ ctx[32].default;
8958
8958
  const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[31], null);
8959
8959
  let if_block0 = /*isVisiblePrevButton*/ ctx[12] && create_if_block_1(ctx);
8960
- let if_block1 = /*isVisibleNextButton*/ ctx[11] && create_if_block$5(ctx);
8960
+ let if_block1 = /*isVisibleNextButton*/ ctx[11] && create_if_block$3(ctx);
8961
8961
  let each_value = /*items*/ ctx[1];
8962
8962
  let each_blocks = [];
8963
8963
 
@@ -9067,7 +9067,7 @@ function create_fragment$I(ctx) {
9067
9067
  if (if_block1) {
9068
9068
  if_block1.p(ctx, dirty);
9069
9069
  } else {
9070
- if_block1 = create_if_block$5(ctx);
9070
+ if_block1 = create_if_block$3(ctx);
9071
9071
  if_block1.c();
9072
9072
  if_block1.m(div3, t2);
9073
9073
  }
@@ -9607,7 +9607,7 @@ class Slide extends SvelteComponent {
9607
9607
  navigationButton: 25,
9608
9608
  navigationEdgePosition: 26
9609
9609
  },
9610
- add_css$b,
9610
+ add_css$h,
9611
9611
  [-1, -1, -1]
9612
9612
  );
9613
9613
  }
@@ -9615,7 +9615,7 @@ class Slide extends SvelteComponent {
9615
9615
 
9616
9616
  /* src/components/SlideItem.svelte generated by Svelte v3.53.1 */
9617
9617
 
9618
- function add_css$a(target) {
9618
+ function add_css$g(target) {
9619
9619
  append_styles(target, "svelte-9ygf1w", ".item.svelte-9ygf1w{height:100%;flex:none;position:relative}.item.svelte-9ygf1w img{user-select:none;-webkit-user-drag:none}.item-inner.svelte-9ygf1w{position:absolute;inset:0;border-width:0px;border-style:solid;border-color:#000000;cursor:default;overflow:hidden}");
9620
9620
  }
9621
9621
 
@@ -9752,13 +9752,13 @@ function instance$H($$self, $$props, $$invalidate) {
9752
9752
  class SlideItem extends SvelteComponent {
9753
9753
  constructor(options) {
9754
9754
  super();
9755
- init(this, options, instance$H, create_fragment$H, safe_not_equal, { _style: 0 }, add_css$a);
9755
+ init(this, options, instance$H, create_fragment$H, safe_not_equal, { _style: 0 }, add_css$g);
9756
9756
  }
9757
9757
  }
9758
9758
 
9759
9759
  /* src/components/Countdown.svelte generated by Svelte v3.53.1 */
9760
9760
 
9761
- function add_css$9(target) {
9761
+ function add_css$f(target) {
9762
9762
  append_styles(target, "svelte-rroxiz", ".countdown.svelte-rroxiz{position:relative;width:100%;height:100%}.countdown-inner.svelte-rroxiz{position:absolute;inset:0;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}");
9763
9763
  }
9764
9764
 
@@ -9906,13 +9906,13 @@ function instance$G($$self, $$props, $$invalidate) {
9906
9906
  class Countdown extends SvelteComponent {
9907
9907
  constructor(options) {
9908
9908
  super();
9909
- init(this, options, instance$G, create_fragment$G, safe_not_equal, { timeLimit: 2, stateOnEnd: 3, _style: 0 }, add_css$9);
9909
+ init(this, options, instance$G, create_fragment$G, safe_not_equal, { timeLimit: 2, stateOnEnd: 3, _style: 0 }, add_css$f);
9910
9910
  }
9911
9911
  }
9912
9912
 
9913
9913
  /* src/components/Box.svelte generated by Svelte v3.53.1 */
9914
9914
 
9915
- function add_css$8(target) {
9915
+ function add_css$e(target) {
9916
9916
  append_styles(target, "svelte-1ccydfy", ".box.svelte-1ccydfy{position:relative;width:100%;height:100%}.box.svelte-1ccydfy > .button{position:absolute;inset:0;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}");
9917
9917
  }
9918
9918
 
@@ -10037,18 +10037,18 @@ function instance$F($$self, $$props, $$invalidate) {
10037
10037
  class Box extends SvelteComponent {
10038
10038
  constructor(options) {
10039
10039
  super();
10040
- init(this, options, instance$F, create_fragment$F, safe_not_equal, { onClick: 0, eventName: 1, _style: 2 }, add_css$8);
10040
+ init(this, options, instance$F, create_fragment$F, safe_not_equal, { onClick: 0, eventName: 1, _style: 2 }, add_css$e);
10041
10041
  }
10042
10042
  }
10043
10043
 
10044
10044
  /* src/components/IconElement.svelte generated by Svelte v3.53.1 */
10045
10045
 
10046
- function add_css$7(target) {
10046
+ function add_css$d(target) {
10047
10047
  append_styles(target, "svelte-1mkvcuo", ".icon.svelte-1mkvcuo{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.icon.svelte-1mkvcuo > .button{display:flex;position:relative;width:100%;height:100%;max-width:100%;max-height:100%;justify-content:center;align-items:center;white-space:nowrap;box-sizing:border-box;overflow:hidden}.icon.svelte-1mkvcuo > .button._disabled{cursor:not-allowed !important;opacity:0.2}.icon.svelte-1mkvcuo svg{width:var(--width);height:var(--height);color:var(--color);stroke:var(--stroke);fill:var(--fill)}");
10048
10048
  }
10049
10049
 
10050
10050
  // (56:4) {#if svg}
10051
- function create_if_block$4(ctx) {
10051
+ function create_if_block$2(ctx) {
10052
10052
  let html_tag;
10053
10053
  let html_anchor;
10054
10054
 
@@ -10075,7 +10075,7 @@ function create_if_block$4(ctx) {
10075
10075
  // (55:2) <Button {onClick} {style} {eventName}>
10076
10076
  function create_default_slot$1(ctx) {
10077
10077
  let if_block_anchor;
10078
- let if_block = /*svg*/ ctx[3] && create_if_block$4(ctx);
10078
+ let if_block = /*svg*/ ctx[3] && create_if_block$2(ctx);
10079
10079
 
10080
10080
  return {
10081
10081
  c() {
@@ -10091,7 +10091,7 @@ function create_default_slot$1(ctx) {
10091
10091
  if (if_block) {
10092
10092
  if_block.p(ctx, dirty);
10093
10093
  } else {
10094
- if_block = create_if_block$4(ctx);
10094
+ if_block = create_if_block$2(ctx);
10095
10095
  if_block.c();
10096
10096
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
10097
10097
  }
@@ -10227,14 +10227,14 @@ class IconElement extends SvelteComponent {
10227
10227
  color: 6,
10228
10228
  _style: 7
10229
10229
  },
10230
- add_css$7
10230
+ add_css$d
10231
10231
  );
10232
10232
  }
10233
10233
  }
10234
10234
 
10235
10235
  /* src/components/CodeElement.svelte generated by Svelte v3.53.1 */
10236
10236
 
10237
- function add_css$6(target) {
10237
+ function add_css$c(target) {
10238
10238
  append_styles(target, "svelte-ymsb9l", ".codeElement.svelte-ymsb9l{box-sizing:border-box;margin:0px;padding:0px;width:100%;height:100%}");
10239
10239
  }
10240
10240
 
@@ -10343,13 +10343,13 @@ function instance$D($$self, $$props, $$invalidate) {
10343
10343
  class CodeElement extends SvelteComponent {
10344
10344
  constructor(options) {
10345
10345
  super();
10346
- init(this, options, instance$D, create_fragment$D, safe_not_equal, { name: 0, component: 1, data: 2, style: 3 }, add_css$6);
10346
+ init(this, options, instance$D, create_fragment$D, safe_not_equal, { name: 0, component: 1, data: 2, style: 3 }, add_css$c);
10347
10347
  }
10348
10348
  }
10349
10349
 
10350
10350
  /* src/components/Flex.svelte generated by Svelte v3.53.1 */
10351
10351
 
10352
- function add_css$5(target) {
10352
+ function add_css$b(target) {
10353
10353
  append_styles(target, "svelte-1e71ejc", ".flex.svelte-1e71ejc{display:flex}");
10354
10354
  }
10355
10355
 
@@ -10453,14 +10453,14 @@ class Flex extends SvelteComponent {
10453
10453
  height: 2,
10454
10454
  _style: 3
10455
10455
  },
10456
- add_css$5
10456
+ add_css$b
10457
10457
  );
10458
10458
  }
10459
10459
  }
10460
10460
 
10461
10461
  /* src/components/FlexItem.svelte generated by Svelte v3.53.1 */
10462
10462
 
10463
- function add_css$4(target) {
10463
+ function add_css$a(target) {
10464
10464
  append_styles(target, "svelte-1p0bk1x", ".flex-item.svelte-1p0bk1x{max-width:100%;max-height:100%;position:relative;isolation:isolate}");
10465
10465
  }
10466
10466
 
@@ -10565,7 +10565,7 @@ function instance$B($$self, $$props, $$invalidate) {
10565
10565
  class FlexItem extends SvelteComponent {
10566
10566
  constructor(options) {
10567
10567
  super();
10568
- init(this, options, instance$B, create_fragment$B, safe_not_equal, { length: 1, _style: 2 }, add_css$4);
10568
+ init(this, options, instance$B, create_fragment$B, safe_not_equal, { length: 1, _style: 2 }, add_css$a);
10569
10569
  }
10570
10570
  }
10571
10571
 
@@ -10881,7 +10881,7 @@ class GridModalState extends SvelteComponent {
10881
10881
 
10882
10882
  /* src/components/TextBlock.svelte generated by Svelte v3.53.1 */
10883
10883
 
10884
- function add_css$3(target) {
10884
+ function add_css$9(target) {
10885
10885
  append_styles(target, "svelte-15pej1m", ".text-block.svelte-15pej1m.svelte-15pej1m{display:flex;position:relative;width:100%;height:100%;box-sizing:border-box;white-space:pre-wrap;overflow:hidden}.text-block-inner.svelte-15pej1m.svelte-15pej1m{width:100%;height:auto}.text-direction-vertical.svelte-15pej1m.svelte-15pej1m{writing-mode:vertical-rl}.text-direction-vertical.svelte-15pej1m .text-block-inner.svelte-15pej1m{width:auto;height:100%}");
10886
10886
  }
10887
10887
 
@@ -10983,14 +10983,14 @@ class TextBlock extends SvelteComponent {
10983
10983
  textDirection: 1,
10984
10984
  _style: 5
10985
10985
  },
10986
- add_css$3
10986
+ add_css$9
10987
10987
  );
10988
10988
  }
10989
10989
  }
10990
10990
 
10991
10991
  /* src/components/TextButtonBlock.svelte generated by Svelte v3.53.1 */
10992
10992
 
10993
- function add_css$2(target) {
10993
+ function add_css$8(target) {
10994
10994
  append_styles(target, "svelte-ff0k6r", ".text-button-block.svelte-ff0k6r{width:100%;height:100%;background-color:#000000;border-radius:4px}.text-button.svelte-ff0k6r{display:flex;width:100%;height:100%;background-color:transparent;border:none;box-shadow:transparent;box-sizing:border-box;cursor:pointer;transition:box-shadow 0.2s;color:#ffffff;font-size:14px;font-weight:bold;justify-content:center;align-items:center;padding:1px 6px 1px 6px;line-height:1.5}.text-button.svelte-ff0k6r:active{box-shadow:inset 0 0 100px 100px rgba(0, 0, 0, 0.3)}.text-button.svelte-ff0k6r:hover{box-shadow:inset 0 0 100px 100px rgba(255, 255, 255, 0.3)}");
10995
10995
  }
10996
10996
 
@@ -11108,14 +11108,14 @@ class TextButtonBlock extends SvelteComponent {
11108
11108
  _buttonStyle: 1,
11109
11109
  _style: 2
11110
11110
  },
11111
- add_css$2
11111
+ add_css$8
11112
11112
  );
11113
11113
  }
11114
11114
  }
11115
11115
 
11116
11116
  /* src/components/ImageBlock.svelte generated by Svelte v3.53.1 */
11117
11117
 
11118
- function add_css$1(target) {
11118
+ function add_css$7(target) {
11119
11119
  append_styles(target, "svelte-1pdw891", ".image-block.svelte-1pdw891{display:flex;position:relative;width:100%;height:100%;max-width:100%;max-height:100%;justify-content:center;align-items:center;white-space:nowrap;box-sizing:border-box;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}.image.svelte-1pdw891{width:100%;height:100%}.transport.svelte-1pdw891:hover,.transport.svelte-1pdw891:focus{opacity:0.75;box-shadow:0 5px 16px rgba(0, 0, 0, 0.1), 0 8px 28px rgba(0, 0, 0, 0.16)}");
11120
11120
  }
11121
11121
 
@@ -11235,63 +11235,213 @@ class ImageBlock extends SvelteComponent {
11235
11235
  _imageStyle: 4,
11236
11236
  _style: 5
11237
11237
  },
11238
- add_css$1
11238
+ add_css$7
11239
11239
  );
11240
11240
  }
11241
11241
  }
11242
11242
 
11243
- /* src/components-v2/icon/variants/IconArrowDown.svelte generated by Svelte v3.53.1 */
11243
+ const COMPONENT_PARAMETER_TYPES = {
11244
+ TEXT: 'text',
11245
+ MULTILINE_TEXT: 'multiline_text',
11246
+ SELECT: 'select',
11247
+ RADIO: 'radio',
11248
+ CHECKBOX: 'checkbox',
11249
+ BOOLEAN: 'boolean',
11250
+ IMAGE: 'image',
11251
+ NUMBER: 'number',
11252
+ WIDTH: 'width',
11253
+ ASPECT: 'aspect',
11254
+ COLOR: 'color',
11255
+ ICON: 'icon',
11256
+ };
11257
+
11258
+ const toHyphenCase = (str) => {
11259
+ let result = str.replace(/_/g, '-');
11260
+ result = result.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
11261
+ return result;
11262
+ };
11263
+ const objToStyle = (obj) => {
11264
+ const styles = Object.entries(obj)
11265
+ .map(([key, value]) => {
11266
+ if (value === undefined)
11267
+ return '';
11268
+ return `${toHyphenCase(key)}: ${value};`;
11269
+ })
11270
+ .filter(v => v !== '');
11271
+ return styles.join(' ');
11272
+ };
11273
+
11274
+ const toCssPosition = (p) => {
11275
+ return {
11276
+ position: p?.position ?? 'static',
11277
+ top: p?.top,
11278
+ left: p?.left,
11279
+ bottom: p?.bottom,
11280
+ right: p?.right,
11281
+ };
11282
+ };
11283
+ const toCssCommon = (p) => {
11284
+ return {
11285
+ ...toCssPosition(p),
11286
+ };
11287
+ };
11288
+ const toCssBorder = (p) => {
11289
+ const borderWidth = p?.borderTopWidth ?? p?.borderRightWidth ?? p?.borderLeftWidth ?? p?.borderBottomWidth ?? null;
11290
+ if (borderWidth === null)
11291
+ return {};
11292
+ return {
11293
+ borderColor: p?.borderColor,
11294
+ borderStyle: 'solid',
11295
+ borderTopWidth: p?.borderTopWidth,
11296
+ borderLeftWidth: p?.borderLeftWidth,
11297
+ borderRightWidth: p?.borderRightWidth,
11298
+ borderBottomWidth: p?.borderBottomWidth,
11299
+ };
11300
+ };
11301
+ const toCssPadding = (p) => {
11302
+ return {
11303
+ paddingTop: p?.paddingTop,
11304
+ paddingLeft: p?.paddingLeft,
11305
+ paddingRight: p?.paddingRight,
11306
+ paddingBottom: p?.paddingBottom,
11307
+ };
11308
+ };
11309
+ const toCssBackgroundImage = (p) => {
11310
+ const url = p?.backgroundImageUrl;
11311
+ return {
11312
+ backgroundImage: url ? `url(${url})` : undefined,
11313
+ backgroundSize: url ? 'cover' : undefined,
11314
+ };
11315
+ };
11316
+ const toCssBackgroundColor = (p) => {
11317
+ return {
11318
+ backgroundColor: p?.backgroundColor,
11319
+ };
11320
+ };
11321
+ const toCssRadius = (p) => {
11322
+ return {
11323
+ borderTopLeftRadius: p?.borderTopLeftRadius,
11324
+ borderTopRightRadius: p?.borderTopRightRadius,
11325
+ borderBottomLeftRadius: p?.borderBottomLeftRadius,
11326
+ borderBottomRightRadius: p?.borderBottomRightRadius,
11327
+ };
11328
+ };
11329
+ const toCssShadow = (p) => {
11330
+ return {
11331
+ boxShadow: p?.shadow,
11332
+ };
11333
+ };
11334
+
11335
+ /* src/components-v2/avatar/Avatar.svelte generated by Svelte v3.53.1 */
11336
+
11337
+ function add_css$6(target) {
11338
+ append_styles(target, "svelte-17xar9h", ".avatar.svelte-17xar9h{display:flex;align-items:center;overflow:hidden;flex-shrink:0}");
11339
+ }
11244
11340
 
11245
11341
  function create_fragment$w(ctx) {
11246
- let svg;
11247
- let path;
11342
+ let div;
11343
+ let img;
11344
+ let img_src_value;
11345
+ let img_alt_value;
11248
11346
 
11249
11347
  return {
11250
11348
  c() {
11251
- svg = svg_element("svg");
11252
- path = svg_element("path");
11253
- attr(path, "fill", /*color*/ ctx[0]);
11254
- attr(path, "d", "M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z");
11255
- attr(svg, "xmlns", "http://www.w3.org/2000/svg");
11256
- set_style(svg, "width", "100%");
11257
- set_style(svg, "height", "100%");
11258
- attr(svg, "viewBox", "0 0 384 512");
11349
+ div = element("div");
11350
+ img = element("img");
11351
+ if (!src_url_equal(img.src, img_src_value = /*props*/ ctx[0].image)) attr(img, "src", img_src_value);
11352
+ attr(img, "alt", img_alt_value = /*props*/ ctx[0].alt);
11353
+ attr(img, "style", /*imgStyle*/ ctx[1]);
11354
+ attr(div, "class", "avatar svelte-17xar9h");
11355
+ attr(div, "style", /*style*/ ctx[2]);
11259
11356
  },
11260
11357
  m(target, anchor) {
11261
- insert(target, svg, anchor);
11262
- append(svg, path);
11358
+ insert(target, div, anchor);
11359
+ append(div, img);
11263
11360
  },
11264
11361
  p(ctx, [dirty]) {
11265
- if (dirty & /*color*/ 1) {
11266
- attr(path, "fill", /*color*/ ctx[0]);
11362
+ if (dirty & /*props*/ 1 && !src_url_equal(img.src, img_src_value = /*props*/ ctx[0].image)) {
11363
+ attr(img, "src", img_src_value);
11364
+ }
11365
+
11366
+ if (dirty & /*props*/ 1 && img_alt_value !== (img_alt_value = /*props*/ ctx[0].alt)) {
11367
+ attr(img, "alt", img_alt_value);
11368
+ }
11369
+
11370
+ if (dirty & /*imgStyle*/ 2) {
11371
+ attr(img, "style", /*imgStyle*/ ctx[1]);
11372
+ }
11373
+
11374
+ if (dirty & /*style*/ 4) {
11375
+ attr(div, "style", /*style*/ ctx[2]);
11267
11376
  }
11268
11377
  },
11269
11378
  i: noop,
11270
11379
  o: noop,
11271
11380
  d(detaching) {
11272
- if (detaching) detach(svg);
11381
+ if (detaching) detach(div);
11273
11382
  }
11274
11383
  };
11275
11384
  }
11276
11385
 
11277
11386
  function instance$w($$self, $$props, $$invalidate) {
11278
- let { color } = $$props;
11387
+ let style;
11388
+ let imgStyle;
11389
+ let { props = {} } = $$props;
11390
+
11391
+ const VARIANTS = {
11392
+ shape: {
11393
+ circle: { borderRadius: '100%' },
11394
+ square: { borderRadius: '4px' }
11395
+ }
11396
+ };
11397
+
11398
+ const size = props.size ?? 64;
11279
11399
 
11280
11400
  $$self.$$set = $$props => {
11281
- if ('color' in $$props) $$invalidate(0, color = $$props.color);
11401
+ if ('props' in $$props) $$invalidate(0, props = $$props.props);
11282
11402
  };
11283
11403
 
11284
- return [color];
11404
+ $$self.$$.update = () => {
11405
+ if ($$self.$$.dirty & /*props*/ 1) {
11406
+ $$invalidate(2, style = objToStyle({
11407
+ width: `${size}px`,
11408
+ height: `${size}px`,
11409
+ ...VARIANTS.shape[props.shape ?? 'square'],
11410
+ ...props.bordered && { border: `1px solid #dbdbdb` },
11411
+ ...toCssCommon(props)
11412
+ }));
11413
+ }
11414
+ };
11415
+
11416
+ $$invalidate(1, imgStyle = objToStyle({
11417
+ width: '100%',
11418
+ height: '100%',
11419
+ objectFit: 'cover'
11420
+ }));
11421
+
11422
+ return [props, imgStyle, style];
11285
11423
  }
11286
11424
 
11287
- class IconArrowDown extends SvelteComponent {
11425
+ class Avatar extends SvelteComponent {
11288
11426
  constructor(options) {
11289
11427
  super();
11290
- init(this, options, instance$w, create_fragment$w, safe_not_equal, { color: 0 });
11428
+ init(this, options, instance$w, create_fragment$w, safe_not_equal, { props: 0 }, add_css$6);
11291
11429
  }
11292
11430
  }
11293
11431
 
11294
- /* src/components-v2/icon/variants/IconArrowUp.svelte generated by Svelte v3.53.1 */
11432
+ const AVATAR_SIZE = {
11433
+ extra_small: 'XS(48 x 48)',
11434
+ small: 'S(64 x 64)',
11435
+ medium: 'M(88 x 88)',
11436
+ large: 'L(108 x 108)',
11437
+ extra_large: 'XL(128 x 128)',
11438
+ };
11439
+ const AVATAR_SHAPE = {
11440
+ circle: 'サークル',
11441
+ square: 'スクエア',
11442
+ };
11443
+
11444
+ /* src/components-v2/icon/variants/IconArrowDown.svelte generated by Svelte v3.53.1 */
11295
11445
 
11296
11446
  function create_fragment$v(ctx) {
11297
11447
  let svg;
@@ -11302,7 +11452,7 @@ function create_fragment$v(ctx) {
11302
11452
  svg = svg_element("svg");
11303
11453
  path = svg_element("path");
11304
11454
  attr(path, "fill", /*color*/ ctx[0]);
11305
- attr(path, "d", "M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z");
11455
+ attr(path, "d", "M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z");
11306
11456
  attr(svg, "xmlns", "http://www.w3.org/2000/svg");
11307
11457
  set_style(svg, "width", "100%");
11308
11458
  set_style(svg, "height", "100%");
@@ -11335,14 +11485,14 @@ function instance$v($$self, $$props, $$invalidate) {
11335
11485
  return [color];
11336
11486
  }
11337
11487
 
11338
- class IconArrowUp extends SvelteComponent {
11488
+ class IconArrowDown extends SvelteComponent {
11339
11489
  constructor(options) {
11340
11490
  super();
11341
11491
  init(this, options, instance$v, create_fragment$v, safe_not_equal, { color: 0 });
11342
11492
  }
11343
11493
  }
11344
11494
 
11345
- /* src/components-v2/icon/variants/IconUsers.svelte generated by Svelte v3.53.1 */
11495
+ /* src/components-v2/icon/variants/IconArrowUp.svelte generated by Svelte v3.53.1 */
11346
11496
 
11347
11497
  function create_fragment$u(ctx) {
11348
11498
  let svg;
@@ -11353,11 +11503,11 @@ function create_fragment$u(ctx) {
11353
11503
  svg = svg_element("svg");
11354
11504
  path = svg_element("path");
11355
11505
  attr(path, "fill", /*color*/ ctx[0]);
11356
- attr(path, "d", "M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z");
11506
+ attr(path, "d", "M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z");
11357
11507
  attr(svg, "xmlns", "http://www.w3.org/2000/svg");
11358
11508
  set_style(svg, "width", "100%");
11359
11509
  set_style(svg, "height", "100%");
11360
- attr(svg, "viewBox", "0 0 640 512");
11510
+ attr(svg, "viewBox", "0 0 384 512");
11361
11511
  },
11362
11512
  m(target, anchor) {
11363
11513
  insert(target, svg, anchor);
@@ -11386,19 +11536,70 @@ function instance$u($$self, $$props, $$invalidate) {
11386
11536
  return [color];
11387
11537
  }
11388
11538
 
11389
- class IconUsers extends SvelteComponent {
11539
+ class IconArrowUp extends SvelteComponent {
11390
11540
  constructor(options) {
11391
11541
  super();
11392
11542
  init(this, options, instance$u, create_fragment$u, safe_not_equal, { color: 0 });
11393
11543
  }
11394
11544
  }
11395
11545
 
11396
- /* src/components-v2/icon/variants/IconArrowLeft.svelte generated by Svelte v3.53.1 */
11546
+ /* src/components-v2/icon/variants/IconUsers.svelte generated by Svelte v3.53.1 */
11397
11547
 
11398
11548
  function create_fragment$t(ctx) {
11399
11549
  let svg;
11400
11550
  let path;
11401
11551
 
11552
+ return {
11553
+ c() {
11554
+ svg = svg_element("svg");
11555
+ path = svg_element("path");
11556
+ attr(path, "fill", /*color*/ ctx[0]);
11557
+ attr(path, "d", "M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z");
11558
+ attr(svg, "xmlns", "http://www.w3.org/2000/svg");
11559
+ set_style(svg, "width", "100%");
11560
+ set_style(svg, "height", "100%");
11561
+ attr(svg, "viewBox", "0 0 640 512");
11562
+ },
11563
+ m(target, anchor) {
11564
+ insert(target, svg, anchor);
11565
+ append(svg, path);
11566
+ },
11567
+ p(ctx, [dirty]) {
11568
+ if (dirty & /*color*/ 1) {
11569
+ attr(path, "fill", /*color*/ ctx[0]);
11570
+ }
11571
+ },
11572
+ i: noop,
11573
+ o: noop,
11574
+ d(detaching) {
11575
+ if (detaching) detach(svg);
11576
+ }
11577
+ };
11578
+ }
11579
+
11580
+ function instance$t($$self, $$props, $$invalidate) {
11581
+ let { color } = $$props;
11582
+
11583
+ $$self.$$set = $$props => {
11584
+ if ('color' in $$props) $$invalidate(0, color = $$props.color);
11585
+ };
11586
+
11587
+ return [color];
11588
+ }
11589
+
11590
+ class IconUsers extends SvelteComponent {
11591
+ constructor(options) {
11592
+ super();
11593
+ init(this, options, instance$t, create_fragment$t, safe_not_equal, { color: 0 });
11594
+ }
11595
+ }
11596
+
11597
+ /* src/components-v2/icon/variants/IconArrowLeft.svelte generated by Svelte v3.53.1 */
11598
+
11599
+ function create_fragment$s(ctx) {
11600
+ let svg;
11601
+ let path;
11602
+
11402
11603
  return {
11403
11604
  c() {
11404
11605
  svg = svg_element("svg");
@@ -11427,7 +11628,7 @@ function create_fragment$t(ctx) {
11427
11628
  };
11428
11629
  }
11429
11630
 
11430
- function instance$t($$self, $$props, $$invalidate) {
11631
+ function instance$s($$self, $$props, $$invalidate) {
11431
11632
  let { color } = $$props;
11432
11633
 
11433
11634
  $$self.$$set = $$props => {
@@ -11440,13 +11641,13 @@ function instance$t($$self, $$props, $$invalidate) {
11440
11641
  class IconArrowLeft extends SvelteComponent {
11441
11642
  constructor(options) {
11442
11643
  super();
11443
- init(this, options, instance$t, create_fragment$t, safe_not_equal, { color: 0 });
11644
+ init(this, options, instance$s, create_fragment$s, safe_not_equal, { color: 0 });
11444
11645
  }
11445
11646
  }
11446
11647
 
11447
11648
  /* src/components-v2/icon/variants/IconArrowRight.svelte generated by Svelte v3.53.1 */
11448
11649
 
11449
- function create_fragment$s(ctx) {
11650
+ function create_fragment$r(ctx) {
11450
11651
  let svg;
11451
11652
  let path;
11452
11653
 
@@ -11478,7 +11679,7 @@ function create_fragment$s(ctx) {
11478
11679
  };
11479
11680
  }
11480
11681
 
11481
- function instance$s($$self, $$props, $$invalidate) {
11682
+ function instance$r($$self, $$props, $$invalidate) {
11482
11683
  let { color } = $$props;
11483
11684
 
11484
11685
  $$self.$$set = $$props => {
@@ -11491,13 +11692,13 @@ function instance$s($$self, $$props, $$invalidate) {
11491
11692
  class IconArrowRight extends SvelteComponent {
11492
11693
  constructor(options) {
11493
11694
  super();
11494
- init(this, options, instance$s, create_fragment$s, safe_not_equal, { color: 0 });
11695
+ init(this, options, instance$r, create_fragment$r, safe_not_equal, { color: 0 });
11495
11696
  }
11496
11697
  }
11497
11698
 
11498
11699
  /* src/components-v2/icon/variants/IconBell.svelte generated by Svelte v3.53.1 */
11499
11700
 
11500
- function create_fragment$r(ctx) {
11701
+ function create_fragment$q(ctx) {
11501
11702
  let svg;
11502
11703
  let path;
11503
11704
 
@@ -11529,7 +11730,7 @@ function create_fragment$r(ctx) {
11529
11730
  };
11530
11731
  }
11531
11732
 
11532
- function instance$r($$self, $$props, $$invalidate) {
11733
+ function instance$q($$self, $$props, $$invalidate) {
11533
11734
  let { color } = $$props;
11534
11735
 
11535
11736
  $$self.$$set = $$props => {
@@ -11542,13 +11743,13 @@ function instance$r($$self, $$props, $$invalidate) {
11542
11743
  class IconBell extends SvelteComponent {
11543
11744
  constructor(options) {
11544
11745
  super();
11545
- init(this, options, instance$r, create_fragment$r, safe_not_equal, { color: 0 });
11746
+ init(this, options, instance$q, create_fragment$q, safe_not_equal, { color: 0 });
11546
11747
  }
11547
11748
  }
11548
11749
 
11549
11750
  /* src/components-v2/icon/variants/IconArrowUpFromSquare.svelte generated by Svelte v3.53.1 */
11550
11751
 
11551
- function create_fragment$q(ctx) {
11752
+ function create_fragment$p(ctx) {
11552
11753
  let svg;
11553
11754
  let path;
11554
11755
 
@@ -11580,7 +11781,7 @@ function create_fragment$q(ctx) {
11580
11781
  };
11581
11782
  }
11582
11783
 
11583
- function instance$q($$self, $$props, $$invalidate) {
11784
+ function instance$p($$self, $$props, $$invalidate) {
11584
11785
  let { color } = $$props;
11585
11786
 
11586
11787
  $$self.$$set = $$props => {
@@ -11593,13 +11794,13 @@ function instance$q($$self, $$props, $$invalidate) {
11593
11794
  class IconArrowUpFromSquare extends SvelteComponent {
11594
11795
  constructor(options) {
11595
11796
  super();
11596
- init(this, options, instance$q, create_fragment$q, safe_not_equal, { color: 0 });
11797
+ init(this, options, instance$p, create_fragment$p, safe_not_equal, { color: 0 });
11597
11798
  }
11598
11799
  }
11599
11800
 
11600
11801
  /* src/components-v2/icon/variants/IconTicket.svelte generated by Svelte v3.53.1 */
11601
11802
 
11602
- function create_fragment$p(ctx) {
11803
+ function create_fragment$o(ctx) {
11603
11804
  let svg;
11604
11805
  let path;
11605
11806
 
@@ -11631,7 +11832,7 @@ function create_fragment$p(ctx) {
11631
11832
  };
11632
11833
  }
11633
11834
 
11634
- function instance$p($$self, $$props, $$invalidate) {
11835
+ function instance$o($$self, $$props, $$invalidate) {
11635
11836
  let { color } = $$props;
11636
11837
 
11637
11838
  $$self.$$set = $$props => {
@@ -11644,13 +11845,13 @@ function instance$p($$self, $$props, $$invalidate) {
11644
11845
  class IconTicket extends SvelteComponent {
11645
11846
  constructor(options) {
11646
11847
  super();
11647
- init(this, options, instance$p, create_fragment$p, safe_not_equal, { color: 0 });
11848
+ init(this, options, instance$o, create_fragment$o, safe_not_equal, { color: 0 });
11648
11849
  }
11649
11850
  }
11650
11851
 
11651
11852
  /* src/components-v2/icon/variants/IconTrack.svelte generated by Svelte v3.53.1 */
11652
11853
 
11653
- function create_fragment$o(ctx) {
11854
+ function create_fragment$n(ctx) {
11654
11855
  let svg;
11655
11856
  let path;
11656
11857
 
@@ -11682,7 +11883,7 @@ function create_fragment$o(ctx) {
11682
11883
  };
11683
11884
  }
11684
11885
 
11685
- function instance$o($$self, $$props, $$invalidate) {
11886
+ function instance$n($$self, $$props, $$invalidate) {
11686
11887
  let { color } = $$props;
11687
11888
 
11688
11889
  $$self.$$set = $$props => {
@@ -11695,13 +11896,13 @@ function instance$o($$self, $$props, $$invalidate) {
11695
11896
  class IconTrack extends SvelteComponent {
11696
11897
  constructor(options) {
11697
11898
  super();
11698
- init(this, options, instance$o, create_fragment$o, safe_not_equal, { color: 0 });
11899
+ init(this, options, instance$n, create_fragment$n, safe_not_equal, { color: 0 });
11699
11900
  }
11700
11901
  }
11701
11902
 
11702
11903
  /* src/components-v2/icon/variants/IconCartShopping.svelte generated by Svelte v3.53.1 */
11703
11904
 
11704
- function create_fragment$n(ctx) {
11905
+ function create_fragment$m(ctx) {
11705
11906
  let svg;
11706
11907
  let path;
11707
11908
 
@@ -11733,7 +11934,7 @@ function create_fragment$n(ctx) {
11733
11934
  };
11734
11935
  }
11735
11936
 
11736
- function instance$n($$self, $$props, $$invalidate) {
11937
+ function instance$m($$self, $$props, $$invalidate) {
11737
11938
  let { color } = $$props;
11738
11939
 
11739
11940
  $$self.$$set = $$props => {
@@ -11746,13 +11947,13 @@ function instance$n($$self, $$props, $$invalidate) {
11746
11947
  class IconCartShopping extends SvelteComponent {
11747
11948
  constructor(options) {
11748
11949
  super();
11749
- init(this, options, instance$n, create_fragment$n, safe_not_equal, { color: 0 });
11950
+ init(this, options, instance$m, create_fragment$m, safe_not_equal, { color: 0 });
11750
11951
  }
11751
11952
  }
11752
11953
 
11753
11954
  /* src/components-v2/icon/variants/IconCircle.svelte generated by Svelte v3.53.1 */
11754
11955
 
11755
- function create_fragment$m(ctx) {
11956
+ function create_fragment$l(ctx) {
11756
11957
  let svg;
11757
11958
  let path;
11758
11959
 
@@ -11784,7 +11985,7 @@ function create_fragment$m(ctx) {
11784
11985
  };
11785
11986
  }
11786
11987
 
11787
- function instance$m($$self, $$props, $$invalidate) {
11988
+ function instance$l($$self, $$props, $$invalidate) {
11788
11989
  let { color } = $$props;
11789
11990
 
11790
11991
  $$self.$$set = $$props => {
@@ -11797,13 +11998,13 @@ function instance$m($$self, $$props, $$invalidate) {
11797
11998
  class IconCircle extends SvelteComponent {
11798
11999
  constructor(options) {
11799
12000
  super();
11800
- init(this, options, instance$m, create_fragment$m, safe_not_equal, { color: 0 });
12001
+ init(this, options, instance$l, create_fragment$l, safe_not_equal, { color: 0 });
11801
12002
  }
11802
12003
  }
11803
12004
 
11804
12005
  /* src/components-v2/icon/variants/IconCircleQuestion.svelte generated by Svelte v3.53.1 */
11805
12006
 
11806
- function create_fragment$l(ctx) {
12007
+ function create_fragment$k(ctx) {
11807
12008
  let svg;
11808
12009
  let path;
11809
12010
 
@@ -11835,7 +12036,7 @@ function create_fragment$l(ctx) {
11835
12036
  };
11836
12037
  }
11837
12038
 
11838
- function instance$l($$self, $$props, $$invalidate) {
12039
+ function instance$k($$self, $$props, $$invalidate) {
11839
12040
  let { color } = $$props;
11840
12041
 
11841
12042
  $$self.$$set = $$props => {
@@ -11848,13 +12049,13 @@ function instance$l($$self, $$props, $$invalidate) {
11848
12049
  class IconCircleQuestion extends SvelteComponent {
11849
12050
  constructor(options) {
11850
12051
  super();
11851
- init(this, options, instance$l, create_fragment$l, safe_not_equal, { color: 0 });
12052
+ init(this, options, instance$k, create_fragment$k, safe_not_equal, { color: 0 });
11852
12053
  }
11853
12054
  }
11854
12055
 
11855
12056
  /* src/components-v2/icon/variants/IconCheck.svelte generated by Svelte v3.53.1 */
11856
12057
 
11857
- function create_fragment$k(ctx) {
12058
+ function create_fragment$j(ctx) {
11858
12059
  let svg;
11859
12060
  let path;
11860
12061
 
@@ -11886,7 +12087,7 @@ function create_fragment$k(ctx) {
11886
12087
  };
11887
12088
  }
11888
12089
 
11889
- function instance$k($$self, $$props, $$invalidate) {
12090
+ function instance$j($$self, $$props, $$invalidate) {
11890
12091
  let { color } = $$props;
11891
12092
 
11892
12093
  $$self.$$set = $$props => {
@@ -11899,13 +12100,13 @@ function instance$k($$self, $$props, $$invalidate) {
11899
12100
  class IconCheck extends SvelteComponent {
11900
12101
  constructor(options) {
11901
12102
  super();
11902
- init(this, options, instance$k, create_fragment$k, safe_not_equal, { color: 0 });
12103
+ init(this, options, instance$j, create_fragment$j, safe_not_equal, { color: 0 });
11903
12104
  }
11904
12105
  }
11905
12106
 
11906
12107
  /* src/components-v2/icon/variants/IconXMark.svelte generated by Svelte v3.53.1 */
11907
12108
 
11908
- function create_fragment$j(ctx) {
12109
+ function create_fragment$i(ctx) {
11909
12110
  let svg;
11910
12111
  let path;
11911
12112
 
@@ -11937,7 +12138,7 @@ function create_fragment$j(ctx) {
11937
12138
  };
11938
12139
  }
11939
12140
 
11940
- function instance$j($$self, $$props, $$invalidate) {
12141
+ function instance$i($$self, $$props, $$invalidate) {
11941
12142
  let { color } = $$props;
11942
12143
 
11943
12144
  $$self.$$set = $$props => {
@@ -11950,13 +12151,13 @@ function instance$j($$self, $$props, $$invalidate) {
11950
12151
  class IconXMark extends SvelteComponent {
11951
12152
  constructor(options) {
11952
12153
  super();
11953
- init(this, options, instance$j, create_fragment$j, safe_not_equal, { color: 0 });
12154
+ init(this, options, instance$i, create_fragment$i, safe_not_equal, { color: 0 });
11954
12155
  }
11955
12156
  }
11956
12157
 
11957
12158
  /* src/components-v2/icon/variants/IconPaperPlane.svelte generated by Svelte v3.53.1 */
11958
12159
 
11959
- function create_fragment$i(ctx) {
12160
+ function create_fragment$h(ctx) {
11960
12161
  let svg;
11961
12162
  let path;
11962
12163
 
@@ -11988,7 +12189,7 @@ function create_fragment$i(ctx) {
11988
12189
  };
11989
12190
  }
11990
12191
 
11991
- function instance$i($$self, $$props, $$invalidate) {
12192
+ function instance$h($$self, $$props, $$invalidate) {
11992
12193
  let { color } = $$props;
11993
12194
 
11994
12195
  $$self.$$set = $$props => {
@@ -12001,13 +12202,13 @@ function instance$i($$self, $$props, $$invalidate) {
12001
12202
  class IconPaperPlane extends SvelteComponent {
12002
12203
  constructor(options) {
12003
12204
  super();
12004
- init(this, options, instance$i, create_fragment$i, safe_not_equal, { color: 0 });
12205
+ init(this, options, instance$h, create_fragment$h, safe_not_equal, { color: 0 });
12005
12206
  }
12006
12207
  }
12007
12208
 
12008
12209
  /* src/components-v2/icon/variants/IconCopy.svelte generated by Svelte v3.53.1 */
12009
12210
 
12010
- function create_fragment$h(ctx) {
12211
+ function create_fragment$g(ctx) {
12011
12212
  let svg;
12012
12213
  let path;
12013
12214
 
@@ -12039,7 +12240,7 @@ function create_fragment$h(ctx) {
12039
12240
  };
12040
12241
  }
12041
12242
 
12042
- function instance$h($$self, $$props, $$invalidate) {
12243
+ function instance$g($$self, $$props, $$invalidate) {
12043
12244
  let { color } = $$props;
12044
12245
 
12045
12246
  $$self.$$set = $$props => {
@@ -12052,13 +12253,13 @@ function instance$h($$self, $$props, $$invalidate) {
12052
12253
  class IconCopy extends SvelteComponent {
12053
12254
  constructor(options) {
12054
12255
  super();
12055
- init(this, options, instance$h, create_fragment$h, safe_not_equal, { color: 0 });
12256
+ init(this, options, instance$g, create_fragment$g, safe_not_equal, { color: 0 });
12056
12257
  }
12057
12258
  }
12058
12259
 
12059
12260
  /* src/components-v2/icon/variants/IconCircleXMark.svelte generated by Svelte v3.53.1 */
12060
12261
 
12061
- function create_fragment$g(ctx) {
12262
+ function create_fragment$f(ctx) {
12062
12263
  let svg;
12063
12264
  let path;
12064
12265
 
@@ -12090,7 +12291,7 @@ function create_fragment$g(ctx) {
12090
12291
  };
12091
12292
  }
12092
12293
 
12093
- function instance$g($$self, $$props, $$invalidate) {
12294
+ function instance$f($$self, $$props, $$invalidate) {
12094
12295
  let { color } = $$props;
12095
12296
 
12096
12297
  $$self.$$set = $$props => {
@@ -12103,13 +12304,13 @@ function instance$g($$self, $$props, $$invalidate) {
12103
12304
  class IconCircleXMark extends SvelteComponent {
12104
12305
  constructor(options) {
12105
12306
  super();
12106
- init(this, options, instance$g, create_fragment$g, safe_not_equal, { color: 0 });
12307
+ init(this, options, instance$f, create_fragment$f, safe_not_equal, { color: 0 });
12107
12308
  }
12108
12309
  }
12109
12310
 
12110
12311
  /* src/components-v2/icon/variants/IconHeart.svelte generated by Svelte v3.53.1 */
12111
12312
 
12112
- function create_fragment$f(ctx) {
12313
+ function create_fragment$e(ctx) {
12113
12314
  let svg;
12114
12315
  let path;
12115
12316
 
@@ -12141,7 +12342,7 @@ function create_fragment$f(ctx) {
12141
12342
  };
12142
12343
  }
12143
12344
 
12144
- function instance$f($$self, $$props, $$invalidate) {
12345
+ function instance$e($$self, $$props, $$invalidate) {
12145
12346
  let { color } = $$props;
12146
12347
 
12147
12348
  $$self.$$set = $$props => {
@@ -12154,13 +12355,13 @@ function instance$f($$self, $$props, $$invalidate) {
12154
12355
  class IconHeart extends SvelteComponent {
12155
12356
  constructor(options) {
12156
12357
  super();
12157
- init(this, options, instance$f, create_fragment$f, safe_not_equal, { color: 0 });
12358
+ init(this, options, instance$e, create_fragment$e, safe_not_equal, { color: 0 });
12158
12359
  }
12159
12360
  }
12160
12361
 
12161
12362
  /* src/components-v2/icon/variants/IconMagnifyingGrass.svelte generated by Svelte v3.53.1 */
12162
12363
 
12163
- function create_fragment$e(ctx) {
12364
+ function create_fragment$d(ctx) {
12164
12365
  let svg;
12165
12366
  let path;
12166
12367
 
@@ -12192,7 +12393,7 @@ function create_fragment$e(ctx) {
12192
12393
  };
12193
12394
  }
12194
12395
 
12195
- function instance$e($$self, $$props, $$invalidate) {
12396
+ function instance$d($$self, $$props, $$invalidate) {
12196
12397
  let { color } = $$props;
12197
12398
 
12198
12399
  $$self.$$set = $$props => {
@@ -12205,13 +12406,13 @@ function instance$e($$self, $$props, $$invalidate) {
12205
12406
  class IconMagnifyingGrass extends SvelteComponent {
12206
12407
  constructor(options) {
12207
12408
  super();
12208
- init(this, options, instance$e, create_fragment$e, safe_not_equal, { color: 0 });
12409
+ init(this, options, instance$d, create_fragment$d, safe_not_equal, { color: 0 });
12209
12410
  }
12210
12411
  }
12211
12412
 
12212
12413
  /* src/components-v2/icon/variants/IconStar.svelte generated by Svelte v3.53.1 */
12213
12414
 
12214
- function create_fragment$d(ctx) {
12415
+ function create_fragment$c(ctx) {
12215
12416
  let svg;
12216
12417
  let path;
12217
12418
 
@@ -12243,7 +12444,7 @@ function create_fragment$d(ctx) {
12243
12444
  };
12244
12445
  }
12245
12446
 
12246
- function instance$d($$self, $$props, $$invalidate) {
12447
+ function instance$c($$self, $$props, $$invalidate) {
12247
12448
  let { color } = $$props;
12248
12449
 
12249
12450
  $$self.$$set = $$props => {
@@ -12256,13 +12457,13 @@ function instance$d($$self, $$props, $$invalidate) {
12256
12457
  class IconStar extends SvelteComponent {
12257
12458
  constructor(options) {
12258
12459
  super();
12259
- init(this, options, instance$d, create_fragment$d, safe_not_equal, { color: 0 });
12460
+ init(this, options, instance$c, create_fragment$c, safe_not_equal, { color: 0 });
12260
12461
  }
12261
12462
  }
12262
12463
 
12263
12464
  /* src/components-v2/icon/variants/IconCircleInfo.svelte generated by Svelte v3.53.1 */
12264
12465
 
12265
- function create_fragment$c(ctx) {
12466
+ function create_fragment$b(ctx) {
12266
12467
  let svg;
12267
12468
  let path;
12268
12469
 
@@ -12294,7 +12495,7 @@ function create_fragment$c(ctx) {
12294
12495
  };
12295
12496
  }
12296
12497
 
12297
- function instance$c($$self, $$props, $$invalidate) {
12498
+ function instance$b($$self, $$props, $$invalidate) {
12298
12499
  let { color } = $$props;
12299
12500
 
12300
12501
  $$self.$$set = $$props => {
@@ -12307,13 +12508,13 @@ function instance$c($$self, $$props, $$invalidate) {
12307
12508
  class IconCircleInfo extends SvelteComponent {
12308
12509
  constructor(options) {
12309
12510
  super();
12310
- init(this, options, instance$c, create_fragment$c, safe_not_equal, { color: 0 });
12511
+ init(this, options, instance$b, create_fragment$b, safe_not_equal, { color: 0 });
12311
12512
  }
12312
12513
  }
12313
12514
 
12314
12515
  /* src/components-v2/icon/variants/IconEnvelope.svelte generated by Svelte v3.53.1 */
12315
12516
 
12316
- function create_fragment$b(ctx) {
12517
+ function create_fragment$a(ctx) {
12317
12518
  let svg;
12318
12519
  let path;
12319
12520
 
@@ -12345,7 +12546,7 @@ function create_fragment$b(ctx) {
12345
12546
  };
12346
12547
  }
12347
12548
 
12348
- function instance$b($$self, $$props, $$invalidate) {
12549
+ function instance$a($$self, $$props, $$invalidate) {
12349
12550
  let { color } = $$props;
12350
12551
 
12351
12552
  $$self.$$set = $$props => {
@@ -12358,13 +12559,13 @@ function instance$b($$self, $$props, $$invalidate) {
12358
12559
  class IconEnvelope extends SvelteComponent {
12359
12560
  constructor(options) {
12360
12561
  super();
12361
- init(this, options, instance$b, create_fragment$b, safe_not_equal, { color: 0 });
12562
+ init(this, options, instance$a, create_fragment$a, safe_not_equal, { color: 0 });
12362
12563
  }
12363
12564
  }
12364
12565
 
12365
12566
  /* src/components-v2/icon/variants/IconGift.svelte generated by Svelte v3.53.1 */
12366
12567
 
12367
- function create_fragment$a(ctx) {
12568
+ function create_fragment$9(ctx) {
12368
12569
  let svg;
12369
12570
  let path;
12370
12571
 
@@ -12396,7 +12597,7 @@ function create_fragment$a(ctx) {
12396
12597
  };
12397
12598
  }
12398
12599
 
12399
- function instance$a($$self, $$props, $$invalidate) {
12600
+ function instance$9($$self, $$props, $$invalidate) {
12400
12601
  let { color } = $$props;
12401
12602
 
12402
12603
  $$self.$$set = $$props => {
@@ -12409,13 +12610,13 @@ function instance$a($$self, $$props, $$invalidate) {
12409
12610
  class IconGift extends SvelteComponent {
12410
12611
  constructor(options) {
12411
12612
  super();
12412
- init(this, options, instance$a, create_fragment$a, safe_not_equal, { color: 0 });
12613
+ init(this, options, instance$9, create_fragment$9, safe_not_equal, { color: 0 });
12413
12614
  }
12414
12615
  }
12415
12616
 
12416
12617
  /* src/components-v2/icon/variants/IconPaperclip.svelte generated by Svelte v3.53.1 */
12417
12618
 
12418
- function create_fragment$9(ctx) {
12619
+ function create_fragment$8(ctx) {
12419
12620
  let svg;
12420
12621
  let path;
12421
12622
 
@@ -12447,7 +12648,7 @@ function create_fragment$9(ctx) {
12447
12648
  };
12448
12649
  }
12449
12650
 
12450
- function instance$9($$self, $$props, $$invalidate) {
12651
+ function instance$8($$self, $$props, $$invalidate) {
12451
12652
  let { color } = $$props;
12452
12653
 
12453
12654
  $$self.$$set = $$props => {
@@ -12460,13 +12661,13 @@ function instance$9($$self, $$props, $$invalidate) {
12460
12661
  class IconPaperclip extends SvelteComponent {
12461
12662
  constructor(options) {
12462
12663
  super();
12463
- init(this, options, instance$9, create_fragment$9, safe_not_equal, { color: 0 });
12664
+ init(this, options, instance$8, create_fragment$8, safe_not_equal, { color: 0 });
12464
12665
  }
12465
12666
  }
12466
12667
 
12467
12668
  /* src/components-v2/icon/variants/IconFire.svelte generated by Svelte v3.53.1 */
12468
12669
 
12469
- function create_fragment$8(ctx) {
12670
+ function create_fragment$7(ctx) {
12470
12671
  let svg;
12471
12672
  let path;
12472
12673
 
@@ -12498,7 +12699,7 @@ function create_fragment$8(ctx) {
12498
12699
  };
12499
12700
  }
12500
12701
 
12501
- function instance$8($$self, $$props, $$invalidate) {
12702
+ function instance$7($$self, $$props, $$invalidate) {
12502
12703
  let { color } = $$props;
12503
12704
 
12504
12705
  $$self.$$set = $$props => {
@@ -12511,13 +12712,13 @@ function instance$8($$self, $$props, $$invalidate) {
12511
12712
  class IconFire extends SvelteComponent {
12512
12713
  constructor(options) {
12513
12714
  super();
12514
- init(this, options, instance$8, create_fragment$8, safe_not_equal, { color: 0 });
12715
+ init(this, options, instance$7, create_fragment$7, safe_not_equal, { color: 0 });
12515
12716
  }
12516
12717
  }
12517
12718
 
12518
12719
  /* src/components-v2/icon/variants/IconLink.svelte generated by Svelte v3.53.1 */
12519
12720
 
12520
- function create_fragment$7(ctx) {
12721
+ function create_fragment$6(ctx) {
12521
12722
  let svg;
12522
12723
  let path;
12523
12724
 
@@ -12549,7 +12750,7 @@ function create_fragment$7(ctx) {
12549
12750
  };
12550
12751
  }
12551
12752
 
12552
- function instance$7($$self, $$props, $$invalidate) {
12753
+ function instance$6($$self, $$props, $$invalidate) {
12553
12754
  let { color } = $$props;
12554
12755
 
12555
12756
  $$self.$$set = $$props => {
@@ -12562,7 +12763,7 @@ function instance$7($$self, $$props, $$invalidate) {
12562
12763
  class IconLink extends SvelteComponent {
12563
12764
  constructor(options) {
12564
12765
  super();
12565
- init(this, options, instance$7, create_fragment$7, safe_not_equal, { color: 0 });
12766
+ init(this, options, instance$6, create_fragment$6, safe_not_equal, { color: 0 });
12566
12767
  }
12567
12768
  }
12568
12769
 
@@ -12626,7 +12827,7 @@ const ICON_VARIANTS = {
12626
12827
  x_mark: IconXMark,
12627
12828
  };
12628
12829
  // @ts-ignore
12629
- [
12830
+ const ICON_PARAMS = [
12630
12831
  {
12631
12832
  id: 'variant',
12632
12833
  name: 'アイコン',
@@ -12648,95 +12849,22 @@ const ICON_VARIANTS = {
12648
12849
  },
12649
12850
  ];
12650
12851
 
12651
- const toHyphenCase = (str) => {
12652
- let result = str.replace(/_/g, '-');
12653
- result = result.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
12654
- return result;
12655
- };
12656
- const objToStyle = (obj) => {
12657
- const styles = Object.entries(obj)
12658
- .map(([key, value]) => {
12659
- if (value === undefined)
12660
- return '';
12661
- return `${toHyphenCase(key)}: ${value};`;
12662
- })
12663
- .filter(v => v !== '');
12664
- return styles.join(' ');
12665
- };
12852
+ /* src/components-v2/icon/Icon.svelte generated by Svelte v3.53.1 */
12666
12853
 
12667
- const toCssPosition = (p) => {
12668
- return {
12669
- position: p?.position ?? 'static',
12670
- top: p?.top,
12671
- left: p?.left,
12672
- bottom: p?.bottom,
12673
- right: p?.right,
12674
- };
12675
- };
12676
- const toCssCommon = (p) => {
12677
- return {
12678
- ...toCssPosition(p),
12679
- };
12680
- };
12681
- const toCssBorder = (p) => {
12682
- const borderWidth = p?.borderTopWidth ?? p?.borderRightWidth ?? p?.borderLeftWidth ?? p?.borderBottomWidth ?? null;
12683
- if (borderWidth === null)
12684
- return {};
12685
- return {
12686
- borderColor: p?.borderColor,
12687
- borderStyle: 'solid',
12688
- borderTopWidth: p?.borderTopWidth,
12689
- borderLeftWidth: p?.borderLeftWidth,
12690
- borderRightWidth: p?.borderRightWidth,
12691
- borderBottomWidth: p?.borderBottomWidth,
12692
- };
12693
- };
12694
- const toCssPadding = (p) => {
12695
- return {
12696
- paddingTop: p?.paddingTop,
12697
- paddingLeft: p?.paddingLeft,
12698
- paddingRight: p?.paddingRight,
12699
- paddingBottom: p?.paddingBottom,
12700
- };
12701
- };
12702
- const toCssBackgroundImage = (p) => {
12703
- const url = p?.backgroundImageUrl;
12704
- return {
12705
- backgroundImage: url ? `url(${url})` : undefined,
12706
- backgroundSize: url ? 'cover' : undefined,
12707
- };
12708
- };
12709
- const toCssBackgroundColor = (p) => {
12710
- return {
12711
- backgroundColor: p?.backgroundColor,
12712
- };
12713
- };
12714
- const toCssRadius = (p) => {
12715
- return {
12716
- borderTopLeftRadius: p?.borderTopLeftRadius,
12717
- borderTopRightRadius: p?.borderTopRightRadius,
12718
- borderBottomLeftRadius: p?.borderBottomLeftRadius,
12719
- borderBottomRightRadius: p?.borderBottomRightRadius,
12720
- };
12721
- };
12722
- const toCssShadow = (p) => {
12723
- return {
12724
- boxShadow: p?.shadow,
12725
- };
12726
- };
12727
-
12728
- /* src/components-v2/icon/Icon.svelte generated by Svelte v3.53.1 */
12854
+ function add_css$5(target) {
12855
+ append_styles(target, "svelte-1mx2edd", ".icon.svelte-1mx2edd{display:inline-flex;align-items:center;overflow:hidden;width:auto}");
12856
+ }
12729
12857
 
12730
- function create_if_block$3(ctx) {
12858
+ // (14:0) {#if (IconComponent)}
12859
+ function create_if_block$1(ctx) {
12731
12860
  let div;
12732
12861
  let switch_instance;
12733
- let div_style_value;
12734
12862
  let current;
12735
- var switch_value = /*IconComponent*/ ctx[3];
12863
+ var switch_value = /*IconComponent*/ ctx[1];
12736
12864
 
12737
12865
  function switch_props(ctx) {
12738
12866
  return {
12739
- props: { color: /*props*/ ctx[1].color ?? '#333' }
12867
+ props: { color: /*props*/ ctx[0].color ?? '#333' }
12740
12868
  };
12741
12869
  }
12742
12870
 
@@ -12748,9 +12876,8 @@ function create_if_block$3(ctx) {
12748
12876
  c() {
12749
12877
  div = element("div");
12750
12878
  if (switch_instance) create_component(switch_instance.$$.fragment);
12751
- attr(div, "data-layer-id", /*layerId*/ ctx[0]);
12752
- attr(div, "data-component-id", "icon");
12753
- attr(div, "style", div_style_value = [/*style*/ ctx[4], /*overrideStyle*/ ctx[2]].join(' '));
12879
+ attr(div, "class", "icon svelte-1mx2edd");
12880
+ attr(div, "style", /*style*/ ctx[2]);
12754
12881
  },
12755
12882
  m(target, anchor) {
12756
12883
  insert(target, div, anchor);
@@ -12759,9 +12886,9 @@ function create_if_block$3(ctx) {
12759
12886
  },
12760
12887
  p(ctx, dirty) {
12761
12888
  const switch_instance_changes = {};
12762
- if (dirty & /*props*/ 2) switch_instance_changes.color = /*props*/ ctx[1].color ?? '#333';
12889
+ if (dirty & /*props*/ 1) switch_instance_changes.color = /*props*/ ctx[0].color ?? '#333';
12763
12890
 
12764
- if (switch_value !== (switch_value = /*IconComponent*/ ctx[3])) {
12891
+ if (switch_value !== (switch_value = /*IconComponent*/ ctx[1])) {
12765
12892
  if (switch_instance) {
12766
12893
  group_outros();
12767
12894
  const old_component = switch_instance;
@@ -12785,12 +12912,8 @@ function create_if_block$3(ctx) {
12785
12912
  switch_instance.$set(switch_instance_changes);
12786
12913
  }
12787
12914
 
12788
- if (!current || dirty & /*layerId*/ 1) {
12789
- attr(div, "data-layer-id", /*layerId*/ ctx[0]);
12790
- }
12791
-
12792
- if (!current || dirty & /*style, overrideStyle*/ 20 && div_style_value !== (div_style_value = [/*style*/ ctx[4], /*overrideStyle*/ ctx[2]].join(' '))) {
12793
- attr(div, "style", div_style_value);
12915
+ if (!current || dirty & /*style*/ 4) {
12916
+ attr(div, "style", /*style*/ ctx[2]);
12794
12917
  }
12795
12918
  },
12796
12919
  i(local) {
@@ -12809,10 +12932,10 @@ function create_if_block$3(ctx) {
12809
12932
  };
12810
12933
  }
12811
12934
 
12812
- function create_fragment$6(ctx) {
12935
+ function create_fragment$5(ctx) {
12813
12936
  let if_block_anchor;
12814
12937
  let current;
12815
- let if_block = /*IconComponent*/ ctx[3] && create_if_block$3(ctx);
12938
+ let if_block = /*IconComponent*/ ctx[1] && create_if_block$1(ctx);
12816
12939
 
12817
12940
  return {
12818
12941
  c() {
@@ -12825,15 +12948,15 @@ function create_fragment$6(ctx) {
12825
12948
  current = true;
12826
12949
  },
12827
12950
  p(ctx, [dirty]) {
12828
- if (/*IconComponent*/ ctx[3]) {
12951
+ if (/*IconComponent*/ ctx[1]) {
12829
12952
  if (if_block) {
12830
12953
  if_block.p(ctx, dirty);
12831
12954
 
12832
- if (dirty & /*IconComponent*/ 8) {
12955
+ if (dirty & /*IconComponent*/ 2) {
12833
12956
  transition_in(if_block, 1);
12834
12957
  }
12835
12958
  } else {
12836
- if_block = create_if_block$3(ctx);
12959
+ if_block = create_if_block$1(ctx);
12837
12960
  if_block.c();
12838
12961
  transition_in(if_block, 1);
12839
12962
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -12864,67 +12987,58 @@ function create_fragment$6(ctx) {
12864
12987
  };
12865
12988
  }
12866
12989
 
12867
- function instance$6($$self, $$props, $$invalidate) {
12990
+ function instance$5($$self, $$props, $$invalidate) {
12868
12991
  let style;
12869
12992
  let IconComponent;
12870
- let { layerId } = $$props;
12871
12993
  let { props = {} } = $$props;
12872
- let { overrideStyle } = $$props;
12873
12994
 
12874
12995
  $$self.$$set = $$props => {
12875
- if ('layerId' in $$props) $$invalidate(0, layerId = $$props.layerId);
12876
- if ('props' in $$props) $$invalidate(1, props = $$props.props);
12877
- if ('overrideStyle' in $$props) $$invalidate(2, overrideStyle = $$props.overrideStyle);
12996
+ if ('props' in $$props) $$invalidate(0, props = $$props.props);
12878
12997
  };
12879
12998
 
12880
12999
  $$self.$$.update = () => {
12881
- if ($$self.$$.dirty & /*props*/ 2) {
12882
- $$invalidate(4, style = objToStyle({
12883
- display: 'inline-flex',
12884
- alignItems: 'center',
12885
- overflow: 'hidden',
12886
- width: 'auto',
13000
+ if ($$self.$$.dirty & /*props*/ 1) {
13001
+ $$invalidate(2, style = objToStyle({
12887
13002
  minWidth: props.size,
13003
+ width: props.size,
12888
13004
  height: props.size,
12889
13005
  ...toCssCommon(props)
12890
13006
  }));
12891
13007
  }
12892
13008
 
12893
- if ($$self.$$.dirty & /*props*/ 2) {
12894
- $$invalidate(3, IconComponent = ICON_VARIANTS[props.variant] ?? undefined);
13009
+ if ($$self.$$.dirty & /*props*/ 1) {
13010
+ $$invalidate(1, IconComponent = ICON_VARIANTS[props.variant] ?? undefined);
12895
13011
  }
12896
13012
  };
12897
13013
 
12898
- return [layerId, props, overrideStyle, IconComponent, style];
13014
+ return [props, IconComponent, style];
12899
13015
  }
12900
13016
 
12901
13017
  class Icon extends SvelteComponent {
12902
13018
  constructor(options) {
12903
13019
  super();
12904
- init(this, options, instance$6, create_fragment$6, safe_not_equal, { layerId: 0, props: 1, overrideStyle: 2 });
13020
+ init(this, options, instance$5, create_fragment$5, safe_not_equal, { props: 0 }, add_css$5);
12905
13021
  }
12906
13022
  }
12907
13023
 
12908
13024
  /* src/components-v2/button/Button.svelte generated by Svelte v3.53.1 */
12909
13025
 
12910
- function add_css(target) {
12911
- append_styles(target, "svelte-i9kun1", ".v2-button.svelte-i9kun1{display:inline-flex;align-content:center;justify-content:center;gap:0.65em;outline:0;transition:background-color 0.12s, border-color 0.12s, color 0.12s}.v2-button-icon.svelte-i9kun1{display:flex;align-items:center;justify-content:center;margin-left:-0.2em;margin-right:-0.2em}");
13026
+ function add_css$4(target) {
13027
+ append_styles(target, "svelte-kz1c6t", ".v2-button.svelte-kz1c6t{display:inline-flex;align-content:center;justify-content:center;gap:0.65em;cursor:pointer;outline:0;transition:background-color 0.12s, border-color 0.12s, color 0.12s}.v2-button-icon.svelte-kz1c6t{display:flex;align-items:center;justify-content:center;margin-left:-0.2em;margin-right:-0.2em}");
12912
13028
  }
12913
13029
 
12914
- // (128:2) {#if (props.isIcon && props.iconVariant)}
12915
- function create_if_block$2(ctx) {
13030
+ // (126:2) {#if (props.isIcon && props.iconVariant)}
13031
+ function create_if_block(ctx) {
12916
13032
  let div;
12917
13033
  let icon;
12918
13034
  let current;
12919
13035
 
12920
13036
  icon = new Icon({
12921
13037
  props: {
12922
- layerId: undefined,
12923
- overrideStyle: undefined,
12924
13038
  props: {
12925
- variant: /*props*/ ctx[1].iconVariant,
13039
+ variant: /*props*/ ctx[0].iconVariant,
12926
13040
  size: '1em',
12927
- color: /*VARIANTS*/ ctx[4].color[/*props*/ ctx[1].color ?? 'default'].color
13041
+ color: /*VARIANTS*/ ctx[2].color[/*props*/ ctx[0].color ?? 'default'].color
12928
13042
  }
12929
13043
  }
12930
13044
  });
@@ -12933,7 +13047,7 @@ function create_if_block$2(ctx) {
12933
13047
  c() {
12934
13048
  div = element("div");
12935
13049
  create_component(icon.$$.fragment);
12936
- attr(div, "class", "v2-button-icon svelte-i9kun1");
13050
+ attr(div, "class", "v2-button-icon svelte-kz1c6t");
12937
13051
  },
12938
13052
  m(target, anchor) {
12939
13053
  insert(target, div, anchor);
@@ -12943,10 +13057,10 @@ function create_if_block$2(ctx) {
12943
13057
  p(ctx, dirty) {
12944
13058
  const icon_changes = {};
12945
13059
 
12946
- if (dirty & /*props*/ 2) icon_changes.props = {
12947
- variant: /*props*/ ctx[1].iconVariant,
13060
+ if (dirty & /*props*/ 1) icon_changes.props = {
13061
+ variant: /*props*/ ctx[0].iconVariant,
12948
13062
  size: '1em',
12949
- color: /*VARIANTS*/ ctx[4].color[/*props*/ ctx[1].color ?? 'default'].color
13063
+ color: /*VARIANTS*/ ctx[2].color[/*props*/ ctx[0].color ?? 'default'].color
12950
13064
  };
12951
13065
 
12952
13066
  icon.$set(icon_changes);
@@ -12967,17 +13081,16 @@ function create_if_block$2(ctx) {
12967
13081
  };
12968
13082
  }
12969
13083
 
12970
- function create_fragment$5(ctx) {
13084
+ function create_fragment$4(ctx) {
12971
13085
  let button;
12972
13086
  let t0;
12973
13087
  let span;
12974
- let t1_value = /*props*/ ctx[1].label + "";
13088
+ let t1_value = /*props*/ ctx[0].label + "";
12975
13089
  let t1;
12976
- let button_style_value;
12977
13090
  let current;
12978
13091
  let mounted;
12979
13092
  let dispose;
12980
- let if_block = /*props*/ ctx[1].isIcon && /*props*/ ctx[1].iconVariant && create_if_block$2(ctx);
13093
+ let if_block = /*props*/ ctx[0].isIcon && /*props*/ ctx[0].iconVariant && create_if_block(ctx);
12981
13094
 
12982
13095
  return {
12983
13096
  c() {
@@ -12986,9 +13099,8 @@ function create_fragment$5(ctx) {
12986
13099
  t0 = space();
12987
13100
  span = element("span");
12988
13101
  t1 = text(t1_value);
12989
- attr(button, "data-layer-id", /*layerId*/ ctx[0]);
12990
- attr(button, "style", button_style_value = [/*style*/ ctx[3], /*overrideStyle*/ ctx[2]].join(' '));
12991
- attr(button, "class", "v2-button svelte-i9kun1");
13102
+ attr(button, "style", /*style*/ ctx[1]);
13103
+ attr(button, "class", "v2-button svelte-kz1c6t");
12992
13104
  },
12993
13105
  m(target, anchor) {
12994
13106
  insert(target, button, anchor);
@@ -12999,20 +13111,20 @@ function create_fragment$5(ctx) {
12999
13111
  current = true;
13000
13112
 
13001
13113
  if (!mounted) {
13002
- dispose = listen(button, "click", checkStopPropagation('click', /*handleClick*/ ctx[5]));
13114
+ dispose = listen(button, "click", checkStopPropagation('click', /*handleClick*/ ctx[3]));
13003
13115
  mounted = true;
13004
13116
  }
13005
13117
  },
13006
13118
  p(ctx, [dirty]) {
13007
- if (/*props*/ ctx[1].isIcon && /*props*/ ctx[1].iconVariant) {
13119
+ if (/*props*/ ctx[0].isIcon && /*props*/ ctx[0].iconVariant) {
13008
13120
  if (if_block) {
13009
13121
  if_block.p(ctx, dirty);
13010
13122
 
13011
- if (dirty & /*props*/ 2) {
13123
+ if (dirty & /*props*/ 1) {
13012
13124
  transition_in(if_block, 1);
13013
13125
  }
13014
13126
  } else {
13015
- if_block = create_if_block$2(ctx);
13127
+ if_block = create_if_block(ctx);
13016
13128
  if_block.c();
13017
13129
  transition_in(if_block, 1);
13018
13130
  if_block.m(button, t0);
@@ -13027,14 +13139,10 @@ function create_fragment$5(ctx) {
13027
13139
  check_outros();
13028
13140
  }
13029
13141
 
13030
- if ((!current || dirty & /*props*/ 2) && t1_value !== (t1_value = /*props*/ ctx[1].label + "")) set_data(t1, t1_value);
13031
-
13032
- if (!current || dirty & /*layerId*/ 1) {
13033
- attr(button, "data-layer-id", /*layerId*/ ctx[0]);
13034
- }
13142
+ if ((!current || dirty & /*props*/ 1) && t1_value !== (t1_value = /*props*/ ctx[0].label + "")) set_data(t1, t1_value);
13035
13143
 
13036
- if (!current || dirty & /*style, overrideStyle*/ 12 && button_style_value !== (button_style_value = [/*style*/ ctx[3], /*overrideStyle*/ ctx[2]].join(' '))) {
13037
- attr(button, "style", button_style_value);
13144
+ if (!current || dirty & /*style*/ 2) {
13145
+ attr(button, "style", /*style*/ ctx[1]);
13038
13146
  }
13039
13147
  },
13040
13148
  i(local) {
@@ -13055,14 +13163,12 @@ function create_fragment$5(ctx) {
13055
13163
  };
13056
13164
  }
13057
13165
 
13058
- function instance$5($$self, $$props, $$invalidate) {
13166
+ function instance$4($$self, $$props, $$invalidate) {
13059
13167
  let style;
13060
- let { layerId = '' } = $$props;
13061
13168
  let { onClick = { operation: 'none', args: [] } } = $$props;
13062
13169
  let { eventName = '' } = $$props;
13063
13170
  let { eventValue = undefined } = $$props;
13064
13171
  let { props = {} } = $$props;
13065
- let { overrideStyle } = $$props;
13066
13172
 
13067
13173
  const VARIANTS = {
13068
13174
  size: {
@@ -13095,7 +13201,7 @@ function instance$5($$self, $$props, $$invalidate) {
13095
13201
  large: {
13096
13202
  minHeight: '48px',
13097
13203
  paddingInline: '32px',
13098
- fontSize: '16px',
13204
+ fontSize: '14px',
13099
13205
  paddingBlock: '10px',
13100
13206
  lineHeight: 1.5,
13101
13207
  borderRadius: '4px'
@@ -13152,17 +13258,15 @@ function instance$5($$self, $$props, $$invalidate) {
13152
13258
  }
13153
13259
 
13154
13260
  $$self.$$set = $$props => {
13155
- if ('layerId' in $$props) $$invalidate(0, layerId = $$props.layerId);
13156
- if ('onClick' in $$props) $$invalidate(6, onClick = $$props.onClick);
13157
- if ('eventName' in $$props) $$invalidate(7, eventName = $$props.eventName);
13158
- if ('eventValue' in $$props) $$invalidate(8, eventValue = $$props.eventValue);
13159
- if ('props' in $$props) $$invalidate(1, props = $$props.props);
13160
- if ('overrideStyle' in $$props) $$invalidate(2, overrideStyle = $$props.overrideStyle);
13261
+ if ('onClick' in $$props) $$invalidate(4, onClick = $$props.onClick);
13262
+ if ('eventName' in $$props) $$invalidate(5, eventName = $$props.eventName);
13263
+ if ('eventValue' in $$props) $$invalidate(6, eventValue = $$props.eventValue);
13264
+ if ('props' in $$props) $$invalidate(0, props = $$props.props);
13161
13265
  };
13162
13266
 
13163
13267
  $$self.$$.update = () => {
13164
- if ($$self.$$.dirty & /*props*/ 2) {
13165
- $$invalidate(3, style = objToStyle({
13268
+ if ($$self.$$.dirty & /*props*/ 1) {
13269
+ $$invalidate(1, style = objToStyle({
13166
13270
  display: 'inline-flex',
13167
13271
  gap: '0.65em',
13168
13272
  alignItems: 'center',
@@ -13183,17 +13287,7 @@ function instance$5($$self, $$props, $$invalidate) {
13183
13287
  }
13184
13288
  };
13185
13289
 
13186
- return [
13187
- layerId,
13188
- props,
13189
- overrideStyle,
13190
- style,
13191
- VARIANTS,
13192
- handleClick,
13193
- onClick,
13194
- eventName,
13195
- eventValue
13196
- ];
13290
+ return [props, style, VARIANTS, handleClick, onClick, eventName, eventValue];
13197
13291
  }
13198
13292
 
13199
13293
  class Button extends SvelteComponent {
@@ -13203,572 +13297,393 @@ class Button extends SvelteComponent {
13203
13297
  init(
13204
13298
  this,
13205
13299
  options,
13206
- instance$5,
13207
- create_fragment$5,
13300
+ instance$4,
13301
+ create_fragment$4,
13208
13302
  safe_not_equal,
13209
13303
  {
13210
- layerId: 0,
13211
- onClick: 6,
13212
- eventName: 7,
13213
- eventValue: 8,
13214
- props: 1,
13215
- overrideStyle: 2
13304
+ onClick: 4,
13305
+ eventName: 5,
13306
+ eventValue: 6,
13307
+ props: 0
13216
13308
  },
13217
- add_css
13309
+ add_css$4
13218
13310
  );
13219
13311
  }
13220
13312
  }
13221
13313
 
13222
- /* src/components-v2/layout/Layout.svelte generated by Svelte v3.53.1 */
13223
-
13224
- function create_fragment$4(ctx) {
13225
- let div;
13226
- let current;
13227
- const default_slot_template = /*#slots*/ ctx[4].default;
13228
- const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[3], null);
13229
-
13230
- return {
13231
- c() {
13232
- div = element("div");
13233
- if (default_slot) default_slot.c();
13234
- attr(div, "data-layer-id", /*layerId*/ ctx[0]);
13235
- attr(div, "data-component-name", "layout");
13236
- attr(div, "style", /*style*/ ctx[1]);
13237
- },
13238
- m(target, anchor) {
13239
- insert(target, div, anchor);
13240
-
13241
- if (default_slot) {
13242
- default_slot.m(div, null);
13243
- }
13244
-
13245
- current = true;
13246
- },
13247
- p(ctx, [dirty]) {
13248
- if (default_slot) {
13249
- if (default_slot.p && (!current || dirty & /*$$scope*/ 8)) {
13250
- update_slot_base(
13251
- default_slot,
13252
- default_slot_template,
13253
- ctx,
13254
- /*$$scope*/ ctx[3],
13255
- !current
13256
- ? get_all_dirty_from_scope(/*$$scope*/ ctx[3])
13257
- : get_slot_changes(default_slot_template, /*$$scope*/ ctx[3], dirty, null),
13258
- null
13259
- );
13260
- }
13261
- }
13262
-
13263
- if (!current || dirty & /*layerId*/ 1) {
13264
- attr(div, "data-layer-id", /*layerId*/ ctx[0]);
13265
- }
13266
-
13267
- if (!current || dirty & /*style*/ 2) {
13268
- attr(div, "style", /*style*/ ctx[1]);
13269
- }
13270
- },
13271
- i(local) {
13272
- if (current) return;
13273
- transition_in(default_slot, local);
13274
- current = true;
13275
- },
13276
- o(local) {
13277
- transition_out(default_slot, local);
13278
- current = false;
13279
- },
13280
- d(detaching) {
13281
- if (detaching) detach(div);
13282
- if (default_slot) default_slot.d(detaching);
13283
- }
13284
- };
13285
- }
13286
-
13287
- function instance$4($$self, $$props, $$invalidate) {
13288
- let style;
13289
- let { $$slots: slots = {}, $$scope } = $$props;
13290
- let { layerId = undefined } = $$props;
13291
- let { props = {} } = $$props;
13292
-
13293
- $$self.$$set = $$props => {
13294
- if ('layerId' in $$props) $$invalidate(0, layerId = $$props.layerId);
13295
- if ('props' in $$props) $$invalidate(2, props = $$props.props);
13296
- if ('$$scope' in $$props) $$invalidate(3, $$scope = $$props.$$scope);
13297
- };
13298
-
13299
- $$self.$$.update = () => {
13300
- if ($$self.$$.dirty & /*props*/ 4) {
13301
- $$invalidate(1, style = objToStyle({
13302
- display: props.display ?? 'flex',
13303
- flexDirection: props.direction,
13304
- alignItems: props.align,
13305
- justifyContent: props.justify,
13306
- rowGap: props.rowGap,
13307
- columnGap: props.columnGap,
13308
- width: props.width,
13309
- ...toCssShadow(props),
13310
- ...toCssRadius(props),
13311
- ...toCssBackgroundImage(props.backgroundImage),
13312
- ...toCssBackgroundColor(props),
13313
- ...toCssCommon(props),
13314
- ...toCssPadding(props),
13315
- ...toCssBorder(props)
13316
- }));
13317
- }
13318
- };
13314
+ const BUTTON_SIZE = {
13315
+ extra_small: 'XSmall',
13316
+ small: 'Small',
13317
+ medium: 'Medium',
13318
+ large: 'Large',
13319
+ extra_large: 'XLarge',
13320
+ };
13321
+ const BUTTON_COLOR = {
13322
+ default: 'デフォルト',
13323
+ theme: 'テーマカラー',
13324
+ alert: 'アラート',
13325
+ transparent: '背景なし',
13326
+ };
13327
+ const BUTTON_ROUND = {
13328
+ default: 'デフォルト',
13329
+ none: 'なし',
13330
+ fulled: '円形',
13331
+ };
13332
+ const BUTTON_LINK_TARGET = {
13333
+ _self: '画面内遷移',
13334
+ _blank: '別タブで開く',
13335
+ };
13336
+ const BUTTON_ICON_ANGLE = {
13337
+ row: '左側',
13338
+ 'row-reverse': '右側',
13339
+ };
13319
13340
 
13320
- return [layerId, style, props, $$scope, slots];
13321
- }
13341
+ /* src/components-v2/close-button/CloseButton.svelte generated by Svelte v3.53.1 */
13322
13342
 
13323
- class Layout extends SvelteComponent {
13324
- constructor(options) {
13325
- super();
13326
- init(this, options, instance$4, create_fragment$4, safe_not_equal, { layerId: 0, props: 2 });
13327
- }
13343
+ function add_css$3(target) {
13344
+ append_styles(target, "svelte-1dgpo5m", ".close-button.svelte-1dgpo5m{display:inline-flex;align-items:center;justify-content:center;border-radius:100%;background:none;border:0;outline:0;transition:background-color 0.12s, border-color 0.12s, color 0.12s}");
13328
13345
  }
13329
13346
 
13330
- /* src/components-v2/text/Text.svelte generated by Svelte v3.53.1 */
13331
-
13332
13347
  function create_fragment$3(ctx) {
13333
- let p;
13348
+ let button;
13349
+ let svg;
13350
+ let path;
13334
13351
 
13335
13352
  return {
13336
13353
  c() {
13337
- p = element("p");
13338
- attr(p, "data-layer-id", /*layerId*/ ctx[0]);
13339
- attr(p, "style", /*style*/ ctx[1]);
13354
+ button = element("button");
13355
+ svg = svg_element("svg");
13356
+ path = svg_element("path");
13357
+ attr(path, "d", "M 9.15625 6.3125 L 6.3125 9.15625 L 22.15625 25 L 6.21875 40.96875 L 9.03125 43.78125 L 25 27.84375 L 40.9375 43.78125 L 43.78125 40.9375 L 27.84375 25 L 43.6875 9.15625 L 40.84375 6.3125 L 25 22.15625 Z");
13358
+ attr(svg, "xmlns", "http://www.w3.org/2000/svg");
13359
+ set_style(svg, "width", "75%");
13360
+ set_style(svg, "height", "75%");
13361
+ attr(svg, "viewBox", "0 0 50 50");
13362
+ attr(svg, "fill", "#666666");
13363
+ attr(button, "class", "close-button svelte-1dgpo5m");
13364
+ attr(button, "style", /*style*/ ctx[0]);
13340
13365
  },
13341
13366
  m(target, anchor) {
13342
- insert(target, p, anchor);
13343
- p.innerHTML = /*escapedHTML*/ ctx[2];
13367
+ insert(target, button, anchor);
13368
+ append(button, svg);
13369
+ append(svg, path);
13344
13370
  },
13345
13371
  p(ctx, [dirty]) {
13346
- if (dirty & /*escapedHTML*/ 4) p.innerHTML = /*escapedHTML*/ ctx[2];
13347
- if (dirty & /*layerId*/ 1) {
13348
- attr(p, "data-layer-id", /*layerId*/ ctx[0]);
13349
- }
13350
-
13351
- if (dirty & /*style*/ 2) {
13352
- attr(p, "style", /*style*/ ctx[1]);
13372
+ if (dirty & /*style*/ 1) {
13373
+ attr(button, "style", /*style*/ ctx[0]);
13353
13374
  }
13354
13375
  },
13355
13376
  i: noop,
13356
13377
  o: noop,
13357
13378
  d(detaching) {
13358
- if (detaching) detach(p);
13379
+ if (detaching) detach(button);
13359
13380
  }
13360
13381
  };
13361
13382
  }
13362
13383
 
13363
13384
  function instance$3($$self, $$props, $$invalidate) {
13364
- let escapedHTML;
13365
13385
  let style;
13366
- let { layerId } = $$props;
13367
- let { props = { content: '' } } = $$props;
13386
+ let { props = {} } = $$props;
13387
+ const size = props.size ?? 24;
13368
13388
 
13369
13389
  $$self.$$set = $$props => {
13370
- if ('layerId' in $$props) $$invalidate(0, layerId = $$props.layerId);
13371
- if ('props' in $$props) $$invalidate(3, props = $$props.props);
13390
+ if ('props' in $$props) $$invalidate(1, props = $$props.props);
13372
13391
  };
13373
13392
 
13374
13393
  $$self.$$.update = () => {
13375
- if ($$self.$$.dirty & /*props*/ 8) {
13376
- $$invalidate(2, escapedHTML = props.content.replace(/&/g, '&lt;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;').replace(/'/g, '&#x27;').replace(/\n/g, '<br />'));
13377
- }
13378
-
13379
- if ($$self.$$.dirty & /*props*/ 8) {
13380
- $$invalidate(1, style = objToStyle({
13381
- margin: 0,
13382
- position: props?.position ?? 'static',
13383
- fontWeight: props.fontWeight,
13384
- fontSize: props.fontSize,
13385
- color: props.color,
13386
- textAlign: props.align,
13387
- wordBreak: 'break-all',
13388
- width: props.width,
13389
- ...toCssRadius(props),
13390
- ...toCssBackgroundColor(props),
13391
- ...toCssCommon(props),
13392
- ...toCssPosition(props),
13393
- ...toCssBorder(props)
13394
+ if ($$self.$$.dirty & /*props*/ 2) {
13395
+ $$invalidate(0, style = objToStyle({
13396
+ width: `${size}px`,
13397
+ height: `${size}px`,
13398
+ ...props.bordered && { border: '1px solid #666' },
13399
+ ...toCssCommon(props)
13394
13400
  }));
13395
13401
  }
13396
13402
  };
13397
13403
 
13398
- return [layerId, style, escapedHTML, props];
13404
+ return [style, props];
13399
13405
  }
13400
13406
 
13401
- class Text extends SvelteComponent {
13407
+ class CloseButton extends SvelteComponent {
13402
13408
  constructor(options) {
13403
13409
  super();
13404
- init(this, options, instance$3, create_fragment$3, safe_not_equal, { layerId: 0, props: 3 });
13410
+ init(this, options, instance$3, create_fragment$3, safe_not_equal, { props: 1 }, add_css$3);
13405
13411
  }
13406
13412
  }
13407
13413
 
13408
- /* src/components-v2/avatar/Avatar.svelte generated by Svelte v3.53.1 */
13414
+ /* src/components-v2/image/Image.svelte generated by Svelte v3.53.1 */
13409
13415
 
13410
- function create_if_block$1(ctx) {
13416
+ function add_css$2(target) {
13417
+ append_styles(target, "svelte-vojroc", ".image.svelte-vojroc{display:flex;max-width:100%;align-items:center;justify-content:center;overflow:hidden}.image-object.svelte-vojroc{width:100%;overflow:hidden}.image-img.svelte-vojroc{vertical-align:top;width:100%;height:100%;object-fit:cover;user-select:none}");
13418
+ }
13419
+
13420
+ function create_fragment$2(ctx) {
13411
13421
  let div;
13422
+ let object;
13412
13423
  let img;
13413
13424
  let img_src_value;
13414
- let div_style_value;
13425
+ let img_alt_value;
13415
13426
 
13416
13427
  return {
13417
13428
  c() {
13418
13429
  div = element("div");
13430
+ object = element("object");
13419
13431
  img = element("img");
13420
- if (!src_url_equal(img.src, img_src_value = /*props*/ ctx[1].image)) attr(img, "src", img_src_value);
13421
- attr(img, "alt", "");
13422
- attr(img, "style", /*imgStyle*/ ctx[3]);
13423
- attr(div, "data-layer-id", /*layerId*/ ctx[0]);
13424
- attr(div, "data-component-id", "avatar");
13425
- attr(div, "style", div_style_value = [/*style*/ ctx[4], /*overrideStyle*/ ctx[2]].join(' '));
13432
+ if (!src_url_equal(img.src, img_src_value = /*props*/ ctx[0].image)) attr(img, "src", img_src_value);
13433
+ attr(img, "alt", img_alt_value = /*props*/ ctx[0].alt);
13434
+ attr(img, "class", "image-img svelte-vojroc");
13435
+ attr(object, "style", /*objectStyle*/ ctx[1]);
13436
+ attr(object, "class", "image-object svelte-vojroc");
13437
+ attr(div, "class", "image svelte-vojroc");
13438
+ attr(div, "style", /*style*/ ctx[2]);
13426
13439
  },
13427
13440
  m(target, anchor) {
13428
13441
  insert(target, div, anchor);
13429
- append(div, img);
13442
+ append(div, object);
13443
+ append(object, img);
13430
13444
  },
13431
- p(ctx, dirty) {
13432
- if (dirty & /*props*/ 2 && !src_url_equal(img.src, img_src_value = /*props*/ ctx[1].image)) {
13445
+ p(ctx, [dirty]) {
13446
+ if (dirty & /*props*/ 1 && !src_url_equal(img.src, img_src_value = /*props*/ ctx[0].image)) {
13433
13447
  attr(img, "src", img_src_value);
13434
13448
  }
13435
13449
 
13436
- if (dirty & /*imgStyle*/ 8) {
13437
- attr(img, "style", /*imgStyle*/ ctx[3]);
13450
+ if (dirty & /*props*/ 1 && img_alt_value !== (img_alt_value = /*props*/ ctx[0].alt)) {
13451
+ attr(img, "alt", img_alt_value);
13438
13452
  }
13439
13453
 
13440
- if (dirty & /*layerId*/ 1) {
13441
- attr(div, "data-layer-id", /*layerId*/ ctx[0]);
13454
+ if (dirty & /*objectStyle*/ 2) {
13455
+ attr(object, "style", /*objectStyle*/ ctx[1]);
13442
13456
  }
13443
13457
 
13444
- if (dirty & /*style, overrideStyle*/ 20 && div_style_value !== (div_style_value = [/*style*/ ctx[4], /*overrideStyle*/ ctx[2]].join(' '))) {
13445
- attr(div, "style", div_style_value);
13446
- }
13447
- },
13448
- d(detaching) {
13449
- if (detaching) detach(div);
13450
- }
13451
- };
13452
- }
13453
-
13454
- function create_fragment$2(ctx) {
13455
- let if_block_anchor;
13456
- let if_block = /*props*/ ctx[1].image && create_if_block$1(ctx);
13457
-
13458
- return {
13459
- c() {
13460
- if (if_block) if_block.c();
13461
- if_block_anchor = empty();
13462
- },
13463
- m(target, anchor) {
13464
- if (if_block) if_block.m(target, anchor);
13465
- insert(target, if_block_anchor, anchor);
13466
- },
13467
- p(ctx, [dirty]) {
13468
- if (/*props*/ ctx[1].image) {
13469
- if (if_block) {
13470
- if_block.p(ctx, dirty);
13471
- } else {
13472
- if_block = create_if_block$1(ctx);
13473
- if_block.c();
13474
- if_block.m(if_block_anchor.parentNode, if_block_anchor);
13475
- }
13476
- } else if (if_block) {
13477
- if_block.d(1);
13478
- if_block = null;
13458
+ if (dirty & /*style*/ 4) {
13459
+ attr(div, "style", /*style*/ ctx[2]);
13479
13460
  }
13480
13461
  },
13481
13462
  i: noop,
13482
13463
  o: noop,
13483
13464
  d(detaching) {
13484
- if (if_block) if_block.d(detaching);
13485
- if (detaching) detach(if_block_anchor);
13465
+ if (detaching) detach(div);
13486
13466
  }
13487
13467
  };
13488
13468
  }
13489
13469
 
13490
13470
  function instance$2($$self, $$props, $$invalidate) {
13491
13471
  let style;
13492
- let imgStyle;
13493
- let { layerId = '' } = $$props;
13472
+ let objectStyle;
13494
13473
  let { props = {} } = $$props;
13495
- let { overrideStyle } = $$props;
13496
-
13497
- const VARIANTS = {
13498
- shape: {
13499
- circle: { borderRadius: '100%' },
13500
- square: { borderRadius: '4px' }
13501
- }
13502
- };
13503
-
13504
- const size = props.size ?? 64;
13505
13474
 
13506
13475
  $$self.$$set = $$props => {
13507
- if ('layerId' in $$props) $$invalidate(0, layerId = $$props.layerId);
13508
- if ('props' in $$props) $$invalidate(1, props = $$props.props);
13509
- if ('overrideStyle' in $$props) $$invalidate(2, overrideStyle = $$props.overrideStyle);
13476
+ if ('props' in $$props) $$invalidate(0, props = $$props.props);
13510
13477
  };
13511
13478
 
13512
13479
  $$self.$$.update = () => {
13513
- if ($$self.$$.dirty & /*props*/ 2) {
13514
- $$invalidate(4, style = objToStyle({
13515
- display: 'flex',
13516
- alignItems: 'center',
13517
- overflow: 'hidden',
13518
- flexShrink: 0,
13519
- width: `${size}px`,
13520
- height: `${size}px`,
13521
- ...VARIANTS.shape[props.shape ?? 'square'],
13522
- ...props.bordered && { border: `1px solid #dbdbdb` },
13480
+ if ($$self.$$.dirty & /*props*/ 1) {
13481
+ $$invalidate(2, style = objToStyle({
13482
+ width: props.width ?? '100%',
13523
13483
  ...toCssCommon(props)
13524
13484
  }));
13525
13485
  }
13526
- };
13527
13486
 
13528
- $$invalidate(3, imgStyle = objToStyle({
13529
- width: '100%',
13530
- height: '100%',
13531
- objectFit: 'cover'
13532
- }));
13487
+ if ($$self.$$.dirty & /*props*/ 1) {
13488
+ $$invalidate(1, objectStyle = objToStyle({ aspectRatio: props.aspect }));
13489
+ }
13490
+ };
13533
13491
 
13534
- return [layerId, props, overrideStyle, imgStyle, style];
13492
+ return [props, objectStyle, style];
13535
13493
  }
13536
13494
 
13537
- class Avatar extends SvelteComponent {
13495
+ class Image extends SvelteComponent {
13538
13496
  constructor(options) {
13539
13497
  super();
13540
- init(this, options, instance$2, create_fragment$2, safe_not_equal, { layerId: 0, props: 1, overrideStyle: 2 });
13498
+ init(this, options, instance$2, create_fragment$2, safe_not_equal, { props: 0 }, add_css$2);
13541
13499
  }
13542
13500
  }
13543
13501
 
13544
- /* src/components-v2/image/Image.svelte generated by Svelte v3.53.1 */
13502
+ /* src/components-v2/layout/Layout.svelte generated by Svelte v3.53.1 */
13545
13503
 
13546
- function create_if_block(ctx) {
13504
+ function add_css$1(target) {
13505
+ append_styles(target, "svelte-1g6q4hu", ".layout.svelte-1g6q4hu{margin:0}");
13506
+ }
13507
+
13508
+ function create_fragment$1(ctx) {
13547
13509
  let div;
13548
- let object;
13549
- let img;
13550
- let img_src_value;
13551
- let div_style_value;
13510
+ let current;
13511
+ const default_slot_template = /*#slots*/ ctx[3].default;
13512
+ const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[2], null);
13552
13513
 
13553
13514
  return {
13554
13515
  c() {
13555
13516
  div = element("div");
13556
- object = element("object");
13557
- img = element("img");
13558
- if (!src_url_equal(img.src, img_src_value = /*props*/ ctx[1].image)) attr(img, "src", img_src_value);
13559
- attr(img, "alt", "");
13560
- attr(img, "style", /*imgStyle*/ ctx[3]);
13561
- attr(object, "style", /*objectStyle*/ ctx[4]);
13562
- attr(object, "title", "");
13563
- attr(div, "data-layer-id", /*layerId*/ ctx[0]);
13564
- attr(div, "style", div_style_value = [/*style*/ ctx[5], /*overrideStyle*/ ctx[2]].join(' '));
13517
+ if (default_slot) default_slot.c();
13518
+ attr(div, "class", "layout svelte-1g6q4hu");
13519
+ attr(div, "style", /*style*/ ctx[0]);
13565
13520
  },
13566
13521
  m(target, anchor) {
13567
13522
  insert(target, div, anchor);
13568
- append(div, object);
13569
- append(object, img);
13570
- },
13571
- p(ctx, dirty) {
13572
- if (dirty & /*props*/ 2 && !src_url_equal(img.src, img_src_value = /*props*/ ctx[1].image)) {
13573
- attr(img, "src", img_src_value);
13574
- }
13575
-
13576
- if (dirty & /*imgStyle*/ 8) {
13577
- attr(img, "style", /*imgStyle*/ ctx[3]);
13578
- }
13579
13523
 
13580
- if (dirty & /*objectStyle*/ 16) {
13581
- attr(object, "style", /*objectStyle*/ ctx[4]);
13524
+ if (default_slot) {
13525
+ default_slot.m(div, null);
13582
13526
  }
13583
13527
 
13584
- if (dirty & /*layerId*/ 1) {
13585
- attr(div, "data-layer-id", /*layerId*/ ctx[0]);
13528
+ current = true;
13529
+ },
13530
+ p(ctx, [dirty]) {
13531
+ if (default_slot) {
13532
+ if (default_slot.p && (!current || dirty & /*$$scope*/ 4)) {
13533
+ update_slot_base(
13534
+ default_slot,
13535
+ default_slot_template,
13536
+ ctx,
13537
+ /*$$scope*/ ctx[2],
13538
+ !current
13539
+ ? get_all_dirty_from_scope(/*$$scope*/ ctx[2])
13540
+ : get_slot_changes(default_slot_template, /*$$scope*/ ctx[2], dirty, null),
13541
+ null
13542
+ );
13543
+ }
13586
13544
  }
13587
13545
 
13588
- if (dirty & /*style, overrideStyle*/ 36 && div_style_value !== (div_style_value = [/*style*/ ctx[5], /*overrideStyle*/ ctx[2]].join(' '))) {
13589
- attr(div, "style", div_style_value);
13546
+ if (!current || dirty & /*style*/ 1) {
13547
+ attr(div, "style", /*style*/ ctx[0]);
13590
13548
  }
13591
13549
  },
13592
- d(detaching) {
13593
- if (detaching) detach(div);
13594
- }
13595
- };
13596
- }
13597
-
13598
- function create_fragment$1(ctx) {
13599
- let if_block_anchor;
13600
- let if_block = /*props*/ ctx[1].image && create_if_block(ctx);
13601
-
13602
- return {
13603
- c() {
13604
- if (if_block) if_block.c();
13605
- if_block_anchor = empty();
13606
- },
13607
- m(target, anchor) {
13608
- if (if_block) if_block.m(target, anchor);
13609
- insert(target, if_block_anchor, anchor);
13550
+ i(local) {
13551
+ if (current) return;
13552
+ transition_in(default_slot, local);
13553
+ current = true;
13610
13554
  },
13611
- p(ctx, [dirty]) {
13612
- if (/*props*/ ctx[1].image) {
13613
- if (if_block) {
13614
- if_block.p(ctx, dirty);
13615
- } else {
13616
- if_block = create_if_block(ctx);
13617
- if_block.c();
13618
- if_block.m(if_block_anchor.parentNode, if_block_anchor);
13619
- }
13620
- } else if (if_block) {
13621
- if_block.d(1);
13622
- if_block = null;
13623
- }
13555
+ o(local) {
13556
+ transition_out(default_slot, local);
13557
+ current = false;
13624
13558
  },
13625
- i: noop,
13626
- o: noop,
13627
13559
  d(detaching) {
13628
- if (if_block) if_block.d(detaching);
13629
- if (detaching) detach(if_block_anchor);
13560
+ if (detaching) detach(div);
13561
+ if (default_slot) default_slot.d(detaching);
13630
13562
  }
13631
13563
  };
13632
13564
  }
13633
13565
 
13634
13566
  function instance$1($$self, $$props, $$invalidate) {
13635
13567
  let style;
13636
- let objectStyle;
13637
- let imgStyle;
13638
- let { layerId } = $$props;
13568
+ let { $$slots: slots = {}, $$scope } = $$props;
13639
13569
  let { props = {} } = $$props;
13640
- let { overrideStyle } = $$props;
13641
13570
 
13642
13571
  $$self.$$set = $$props => {
13643
- if ('layerId' in $$props) $$invalidate(0, layerId = $$props.layerId);
13644
13572
  if ('props' in $$props) $$invalidate(1, props = $$props.props);
13645
- if ('overrideStyle' in $$props) $$invalidate(2, overrideStyle = $$props.overrideStyle);
13573
+ if ('$$scope' in $$props) $$invalidate(2, $$scope = $$props.$$scope);
13646
13574
  };
13647
13575
 
13648
13576
  $$self.$$.update = () => {
13649
13577
  if ($$self.$$.dirty & /*props*/ 2) {
13650
- $$invalidate(5, style = objToStyle({
13578
+ $$invalidate(0, style = objToStyle({
13579
+ display: props.display ?? 'flex',
13580
+ flexDirection: props.direction,
13581
+ alignItems: props.align,
13582
+ justifyContent: props.justify,
13583
+ rowGap: props.rowGap,
13584
+ columnGap: props.columnGap,
13651
13585
  width: props.width,
13652
- display: 'flex',
13653
- maxWidth: '100%',
13654
- alignItems: 'center',
13655
- justifyContent: 'center',
13656
- overflow: 'hidden',
13657
- wordBreak: 'break-all',
13658
- ...toCssCommon(props)
13659
- }));
13660
- }
13661
-
13662
- if ($$self.$$.dirty & /*props*/ 2) {
13663
- $$invalidate(4, objectStyle = objToStyle({
13664
- width: '100%',
13665
- aspectRatio: props.aspect,
13666
- overflow: 'hidden'
13586
+ ...toCssShadow(props),
13587
+ ...toCssRadius(props),
13588
+ ...toCssBackgroundImage(props),
13589
+ ...toCssBackgroundColor(props),
13590
+ ...toCssCommon(props),
13591
+ ...toCssPadding(props),
13592
+ ...toCssBorder(props)
13667
13593
  }));
13668
13594
  }
13669
13595
  };
13670
13596
 
13671
- $$invalidate(3, imgStyle = objToStyle({
13672
- width: '100%',
13673
- height: '100%',
13674
- objectFit: 'cover',
13675
- userSelect: 'none'
13676
- }));
13677
-
13678
- return [layerId, props, overrideStyle, imgStyle, objectStyle, style];
13597
+ return [style, props, $$scope, slots];
13679
13598
  }
13680
13599
 
13681
- class Image extends SvelteComponent {
13600
+ class Layout extends SvelteComponent {
13682
13601
  constructor(options) {
13683
13602
  super();
13684
- init(this, options, instance$1, create_fragment$1, safe_not_equal, { layerId: 0, props: 1, overrideStyle: 2 });
13603
+ init(this, options, instance$1, create_fragment$1, safe_not_equal, { props: 1 }, add_css$1);
13685
13604
  }
13686
13605
  }
13687
13606
 
13688
- /* src/components-v2/close-button/CloseButton.svelte generated by Svelte v3.53.1 */
13607
+ const LAYOUT_DISPLAY_TYPE = ['inline-flex', 'flex', 'block'];
13608
+ const LAYOUT_DIRECTION = ['column', 'column-reverse', 'row', 'row-reverse'];
13609
+ const LAYOUT_ALIGN = ['flex-start', 'center', 'flex-end'];
13610
+ const LAYOUT_JUSTIFY = ['flex-start', 'center', 'flex-end', 'space-between'];
13611
+
13612
+ /* src/components-v2/text/Text.svelte generated by Svelte v3.53.1 */
13613
+
13614
+ function add_css(target) {
13615
+ append_styles(target, "svelte-1vl0c87", ".text.svelte-1vl0c87{margin:0;word-break:break-all}");
13616
+ }
13689
13617
 
13690
13618
  function create_fragment(ctx) {
13691
- let button;
13692
- let svg;
13693
- let path;
13694
- let button_style_value;
13619
+ let p;
13695
13620
 
13696
13621
  return {
13697
13622
  c() {
13698
- button = element("button");
13699
- svg = svg_element("svg");
13700
- path = svg_element("path");
13701
- attr(path, "d", "M 9.15625 6.3125 L 6.3125 9.15625 L 22.15625 25 L 6.21875 40.96875 L 9.03125 43.78125 L 25 27.84375 L 40.9375 43.78125 L 43.78125 40.9375 L 27.84375 25 L 43.6875 9.15625 L 40.84375 6.3125 L 25 22.15625 Z");
13702
- attr(svg, "xmlns", "http://www.w3.org/2000/svg");
13703
- set_style(svg, "width", "75%");
13704
- set_style(svg, "height", "75%");
13705
- attr(svg, "viewBox", "0 0 50 50");
13706
- attr(svg, "fill", "#666666");
13707
- attr(button, "data-layer-id", /*layerId*/ ctx[0]);
13708
- attr(button, "style", button_style_value = [/*style*/ ctx[2], /*overrideStyle*/ ctx[1]].join(' '));
13623
+ p = element("p");
13624
+ attr(p, "class", "text svelte-1vl0c87");
13625
+ attr(p, "style", /*style*/ ctx[0]);
13709
13626
  },
13710
13627
  m(target, anchor) {
13711
- insert(target, button, anchor);
13712
- append(button, svg);
13713
- append(svg, path);
13628
+ insert(target, p, anchor);
13629
+ p.innerHTML = /*escapedHTML*/ ctx[1];
13714
13630
  },
13715
13631
  p(ctx, [dirty]) {
13716
- if (dirty & /*layerId*/ 1) {
13717
- attr(button, "data-layer-id", /*layerId*/ ctx[0]);
13718
- }
13719
-
13720
- if (dirty & /*style, overrideStyle*/ 6 && button_style_value !== (button_style_value = [/*style*/ ctx[2], /*overrideStyle*/ ctx[1]].join(' '))) {
13721
- attr(button, "style", button_style_value);
13632
+ if (dirty & /*escapedHTML*/ 2) p.innerHTML = /*escapedHTML*/ ctx[1];
13633
+ if (dirty & /*style*/ 1) {
13634
+ attr(p, "style", /*style*/ ctx[0]);
13722
13635
  }
13723
13636
  },
13724
13637
  i: noop,
13725
13638
  o: noop,
13726
13639
  d(detaching) {
13727
- if (detaching) detach(button);
13640
+ if (detaching) detach(p);
13728
13641
  }
13729
13642
  };
13730
13643
  }
13731
13644
 
13732
13645
  function instance($$self, $$props, $$invalidate) {
13646
+ let escapedHTML;
13733
13647
  let style;
13734
- let { layerId } = $$props;
13735
- let { props = {} } = $$props;
13736
- let { overrideStyle } = $$props;
13737
- const size = props.size ?? 24;
13648
+ let { props = { content: '' } } = $$props;
13738
13649
 
13739
13650
  $$self.$$set = $$props => {
13740
- if ('layerId' in $$props) $$invalidate(0, layerId = $$props.layerId);
13741
- if ('props' in $$props) $$invalidate(3, props = $$props.props);
13742
- if ('overrideStyle' in $$props) $$invalidate(1, overrideStyle = $$props.overrideStyle);
13651
+ if ('props' in $$props) $$invalidate(2, props = $$props.props);
13743
13652
  };
13744
13653
 
13745
13654
  $$self.$$.update = () => {
13746
- if ($$self.$$.dirty & /*props*/ 8) {
13747
- $$invalidate(2, style = objToStyle({
13748
- display: 'inline-flex',
13749
- alignItems: 'center',
13750
- justifyContent: 'center',
13751
- borderRadius: '100%',
13752
- background: 'none',
13753
- border: 0,
13754
- outline: 0,
13755
- transition: 'background-color 0.12s, border-color 0.12s, color 0.12s',
13756
- width: `${size}px`,
13757
- height: `${size}px`,
13758
- ...props.bordered && { border: '1px solid #666' },
13759
- ...toCssCommon(props)
13655
+ if ($$self.$$.dirty & /*props*/ 4) {
13656
+ $$invalidate(1, escapedHTML = props.content.replace(/&/g, '&lt;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;').replace(/'/g, '&#x27;').replace(/\n/g, '<br />'));
13657
+ }
13658
+
13659
+ if ($$self.$$.dirty & /*props*/ 4) {
13660
+ $$invalidate(0, style = objToStyle({
13661
+ position: props?.position ?? 'static',
13662
+ fontWeight: props.fontWeight,
13663
+ fontSize: props.fontSize,
13664
+ color: props.color,
13665
+ textAlign: props.align,
13666
+ width: props.width,
13667
+ ...toCssRadius(props),
13668
+ ...toCssBackgroundColor(props),
13669
+ ...toCssCommon(props),
13670
+ ...toCssPosition(props),
13671
+ ...toCssBorder(props)
13760
13672
  }));
13761
13673
  }
13762
13674
  };
13763
13675
 
13764
- return [layerId, overrideStyle, style, props];
13676
+ return [style, escapedHTML, props];
13765
13677
  }
13766
13678
 
13767
- class CloseButton extends SvelteComponent {
13679
+ class Text extends SvelteComponent {
13768
13680
  constructor(options) {
13769
13681
  super();
13770
- init(this, options, instance, create_fragment, safe_not_equal, { layerId: 0, props: 3, overrideStyle: 1 });
13682
+ init(this, options, instance, create_fragment, safe_not_equal, { props: 2 }, add_css);
13771
13683
  }
13772
13684
  }
13773
13685
 
13774
- export { ACTION_HOOK_LABEL, Alignments, AnimationStyles, BackgroundSizes, Box, ClipPaths, CodeElement, Countdown, Cursors, DefaultEdgePosition, DefaultElasticity, DefaultFormButtonColor, DefaultFormIdentifyBooleanField, DefaultFormIdentifyTextField, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalBreakPoint, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexDirections, FlexItem, Fonts, FormCheckBoxes, FormIdentifyBooleanFields, FormIdentifyChoices, FormIdentifyInput, FormIdentifyTextFieldPlaceholders, FormIdentifyTextFieldValidations, FormIdentifyTextFields, FormRadioButtons, FormRatingButtonsFace, FormRatingButtonsNumber, FormSelect, FormTextarea, Grid, GridItem, GridModalState, IconElement, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LAYOUT_COMPONENT_NAMES, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, SYSTEM_FONT, Slide, SlideItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, Avatar as V2Avatar, Button as V2Button, CloseButton as V2CloseButton, Icon as V2Icon, Image as V2Image, Layout as V2Layout, Text as V2Text, WritingModes, addChoiceAnswer, addFreeAnswer, afterUpdate, applyCss, applyGlobalCss, beforeUpdate, close, closeAction, collection$1 as collection, create, createApp, createFog, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, formData, getActionRoot, getAnsweredQuestion, getAnsweredQuestionIds, getCssVariables, getEventHandlers, getEvents, getLogs, getState$1 as getState, getStates, getSystem, getVariables, hideOnScroll, hideOnTime, initialize, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestory, onDestroy, onMount, onScroll, onShow, onTime, removeAnswer, resetEventHandlers, resetVariables, sendAnswer, sendAnswers, setEventHandlers, setSetting, setState$1 as setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, tick, variables, widget };
13686
+ const LAYER_TEXT_ALIGN_VALUES = ['center', 'left', 'right'];
13687
+ const LAYER_TEXT_FONT_WEIGHT_VALUES = ['bold', 'normal'];
13688
+
13689
+ export { ACTION_HOOK_LABEL, AVATAR_SHAPE, AVATAR_SIZE, Alignments, AnimationStyles, BUTTON_COLOR, BUTTON_ICON_ANGLE, BUTTON_LINK_TARGET, BUTTON_ROUND, BUTTON_SIZE, BackgroundSizes, Box, COMPONENT_PARAMETER_TYPES, ClipPaths, CodeElement, Countdown, Cursors, DefaultEdgePosition, DefaultElasticity, DefaultFormButtonColor, DefaultFormIdentifyBooleanField, DefaultFormIdentifyTextField, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalBreakPoint, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexDirections, FlexItem, Fonts, FormCheckBoxes, FormIdentifyBooleanFields, FormIdentifyChoices, FormIdentifyInput, FormIdentifyTextFieldPlaceholders, FormIdentifyTextFieldValidations, FormIdentifyTextFields, FormRadioButtons, FormRatingButtonsFace, FormRatingButtonsNumber, FormSelect, FormTextarea, Grid, GridItem, GridModalState, ICON_PARAMS, ICON_SIZE, ICON_VARIANTS, IconElement, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LAYER_TEXT_ALIGN_VALUES, LAYER_TEXT_FONT_WEIGHT_VALUES, LAYOUT_ALIGN, LAYOUT_COMPONENT_NAMES, LAYOUT_DIRECTION, LAYOUT_DISPLAY_TYPE, LAYOUT_JUSTIFY, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, SYSTEM_FONT, Slide, SlideItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, Avatar as V2Avatar, Button as V2Button, CloseButton as V2CloseButton, Icon as V2Icon, Image as V2Image, Layout as V2Layout, Text as V2Text, WritingModes, addChoiceAnswer, addFreeAnswer, afterUpdate, applyCss, applyGlobalCss, beforeUpdate, close, closeAction, collection$1 as collection, create, createApp, createFog, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, formData, getActionRoot, getAnsweredQuestion, getAnsweredQuestionIds, getCssVariables, getEventHandlers, getEvents, getLogs, getState$1 as getState, getStates, getSystem, getVariables, hideOnScroll, hideOnTime, initialize, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestory, onDestroy, onMount, onScroll, onShow, onTime, removeAnswer, resetEventHandlers, resetVariables, sendAnswer, sendAnswers, setEventHandlers, setSetting, setState$1 as setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, tick, variables, widget };