@plaidev/karte-action-sdk 1.1.240 → 1.1.241-28705558.eff03b11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hydrate/index.es.d.ts +27 -1
- package/dist/hydrate/index.es.js +453 -404
- package/dist/index.es.d.ts +27 -1
- package/dist/index.es.js +434 -392
- package/dist/templates.cjs.js +1 -0
- package/dist/templates.js +1 -0
- package/package.json +1 -1
- package/meta/karte-action-sdk.api.json +0 -8155
package/dist/index.es.js
CHANGED
@@ -1817,6 +1817,8 @@ function createModal(App, options = {
|
|
1817
1817
|
context: { api_key: '', collection_endpoint: undefined },
|
1818
1818
|
}) {
|
1819
1819
|
let app = null;
|
1820
|
+
let hasAlreadySentMessageOpenEvent = false;
|
1821
|
+
let hasAlreadySentMessageCloseEvent = false;
|
1820
1822
|
const data = getVariables();
|
1821
1823
|
const actionProps = {
|
1822
1824
|
send: options.send,
|
@@ -1827,8 +1829,9 @@ function createModal(App, options = {
|
|
1827
1829
|
if (!app) {
|
1828
1830
|
return NOOP;
|
1829
1831
|
}
|
1830
|
-
if (trigger !== 'auto') {
|
1832
|
+
if (trigger !== 'auto' && !hasAlreadySentMessageCloseEvent) {
|
1831
1833
|
options.send('message_close', { trigger, state: getState$1() });
|
1834
|
+
hasAlreadySentMessageCloseEvent = true;
|
1832
1835
|
}
|
1833
1836
|
options.send('_message_state_changed', {
|
1834
1837
|
trigger,
|
@@ -1867,8 +1870,9 @@ function createModal(App, options = {
|
|
1867
1870
|
if (!result.success)
|
1868
1871
|
return;
|
1869
1872
|
}
|
1870
|
-
if (
|
1873
|
+
if (!hasAlreadySentMessageOpenEvent) {
|
1871
1874
|
options.send('message_open', { state: getState$1() });
|
1875
|
+
hasAlreadySentMessageOpenEvent = true;
|
1872
1876
|
}
|
1873
1877
|
options.send('_message_state_changed', {
|
1874
1878
|
trigger,
|
@@ -2894,7 +2898,7 @@ const LAYOUT_COMPONENT_NAMES = [
|
|
2894
2898
|
|
2895
2899
|
/* src/components/Header.svelte generated by Svelte v3.53.1 */
|
2896
2900
|
|
2897
|
-
function create_if_block$
|
2901
|
+
function create_if_block$f(ctx) {
|
2898
2902
|
let link;
|
2899
2903
|
|
2900
2904
|
return {
|
@@ -2920,7 +2924,7 @@ function create_if_block$e(ctx) {
|
|
2920
2924
|
|
2921
2925
|
function create_fragment$1a(ctx) {
|
2922
2926
|
let head;
|
2923
|
-
let if_block = /*googleFontUrl*/ ctx[0] && create_if_block$
|
2927
|
+
let if_block = /*googleFontUrl*/ ctx[0] && create_if_block$f(ctx);
|
2924
2928
|
|
2925
2929
|
return {
|
2926
2930
|
c() {
|
@@ -2936,7 +2940,7 @@ function create_fragment$1a(ctx) {
|
|
2936
2940
|
if (if_block) {
|
2937
2941
|
if_block.p(ctx, dirty);
|
2938
2942
|
} else {
|
2939
|
-
if_block = create_if_block$
|
2943
|
+
if_block = create_if_block$f(ctx);
|
2940
2944
|
if_block.c();
|
2941
2945
|
if_block.m(head, null);
|
2942
2946
|
}
|
@@ -3068,11 +3072,11 @@ class State extends SvelteComponent {
|
|
3068
3072
|
/* src/components/StateItem.svelte generated by Svelte v3.53.1 */
|
3069
3073
|
|
3070
3074
|
function add_css$F(target) {
|
3071
|
-
append_styles(target, "svelte-
|
3075
|
+
append_styles(target, "svelte-2qb6dm", ".state-item.svelte-2qb6dm{position:absolute;display:none}");
|
3072
3076
|
}
|
3073
3077
|
|
3074
3078
|
// (23:0) {#if $state === path}
|
3075
|
-
function create_if_block$
|
3079
|
+
function create_if_block$e(ctx) {
|
3076
3080
|
let div;
|
3077
3081
|
let t;
|
3078
3082
|
let current;
|
@@ -3085,7 +3089,7 @@ function create_if_block$d(ctx) {
|
|
3085
3089
|
t = space();
|
3086
3090
|
if (default_slot) default_slot.c();
|
3087
3091
|
attr(div, "data-state-path", /*path*/ ctx[0]);
|
3088
|
-
attr(div, "class", "state-item svelte-
|
3092
|
+
attr(div, "class", "state-item svelte-2qb6dm");
|
3089
3093
|
},
|
3090
3094
|
m(target, anchor) {
|
3091
3095
|
insert(target, div, anchor);
|
@@ -3137,7 +3141,7 @@ function create_if_block$d(ctx) {
|
|
3137
3141
|
function create_fragment$18(ctx) {
|
3138
3142
|
let if_block_anchor;
|
3139
3143
|
let current;
|
3140
|
-
let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$
|
3144
|
+
let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$e(ctx);
|
3141
3145
|
|
3142
3146
|
return {
|
3143
3147
|
c() {
|
@@ -3158,7 +3162,7 @@ function create_fragment$18(ctx) {
|
|
3158
3162
|
transition_in(if_block, 1);
|
3159
3163
|
}
|
3160
3164
|
} else {
|
3161
|
-
if_block = create_if_block$
|
3165
|
+
if_block = create_if_block$e(ctx);
|
3162
3166
|
if_block.c();
|
3163
3167
|
transition_in(if_block, 1);
|
3164
3168
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
@@ -3407,11 +3411,11 @@ function customAnimation(node, { transforms, animationStyle, delay = 0, duration
|
|
3407
3411
|
/* src/components/BackgroundOverlay.svelte generated by Svelte v3.53.1 */
|
3408
3412
|
|
3409
3413
|
function add_css$E(target) {
|
3410
|
-
append_styles(target, "svelte-
|
3414
|
+
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}");
|
3411
3415
|
}
|
3412
3416
|
|
3413
3417
|
// (14:0) {#if backgroundOverlay}
|
3414
|
-
function create_if_block$
|
3418
|
+
function create_if_block$d(ctx) {
|
3415
3419
|
let div;
|
3416
3420
|
let div_class_value;
|
3417
3421
|
let mounted;
|
@@ -3420,7 +3424,7 @@ function create_if_block$c(ctx) {
|
|
3420
3424
|
return {
|
3421
3425
|
c() {
|
3422
3426
|
div = element("div");
|
3423
|
-
attr(div, "class", div_class_value = "" + (null_to_empty(['background', /*className*/ ctx[1] || ''].join(' ')) + " svelte-
|
3427
|
+
attr(div, "class", div_class_value = "" + (null_to_empty(['background', /*className*/ ctx[1] || ''].join(' ')) + " svelte-1d4fta"));
|
3424
3428
|
},
|
3425
3429
|
m(target, anchor) {
|
3426
3430
|
insert(target, div, anchor);
|
@@ -3431,7 +3435,7 @@ function create_if_block$c(ctx) {
|
|
3431
3435
|
}
|
3432
3436
|
},
|
3433
3437
|
p(ctx, dirty) {
|
3434
|
-
if (dirty & /*className*/ 2 && div_class_value !== (div_class_value = "" + (null_to_empty(['background', /*className*/ ctx[1] || ''].join(' ')) + " svelte-
|
3438
|
+
if (dirty & /*className*/ 2 && div_class_value !== (div_class_value = "" + (null_to_empty(['background', /*className*/ ctx[1] || ''].join(' ')) + " svelte-1d4fta"))) {
|
3435
3439
|
attr(div, "class", div_class_value);
|
3436
3440
|
}
|
3437
3441
|
},
|
@@ -3445,7 +3449,7 @@ function create_if_block$c(ctx) {
|
|
3445
3449
|
|
3446
3450
|
function create_fragment$17(ctx) {
|
3447
3451
|
let if_block_anchor;
|
3448
|
-
let if_block = /*backgroundOverlay*/ ctx[0] && create_if_block$
|
3452
|
+
let if_block = /*backgroundOverlay*/ ctx[0] && create_if_block$d(ctx);
|
3449
3453
|
|
3450
3454
|
return {
|
3451
3455
|
c() {
|
@@ -3461,7 +3465,7 @@ function create_fragment$17(ctx) {
|
|
3461
3465
|
if (if_block) {
|
3462
3466
|
if_block.p(ctx, dirty);
|
3463
3467
|
} else {
|
3464
|
-
if_block = create_if_block$
|
3468
|
+
if_block = create_if_block$d(ctx);
|
3465
3469
|
if_block.c();
|
3466
3470
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
3467
3471
|
}
|
@@ -3537,7 +3541,7 @@ function checkStopPropagation(eventName, handler) {
|
|
3537
3541
|
/* src/components/Button.svelte generated by Svelte v3.53.1 */
|
3538
3542
|
|
3539
3543
|
function add_css$D(target) {
|
3540
|
-
append_styles(target, "svelte-
|
3544
|
+
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}");
|
3541
3545
|
}
|
3542
3546
|
|
3543
3547
|
// (50:0) {:else}
|
@@ -3566,7 +3570,7 @@ function create_else_block$5(ctx) {
|
|
3566
3570
|
button = element("button");
|
3567
3571
|
if (default_slot) default_slot.c();
|
3568
3572
|
set_attributes(button, button_data);
|
3569
|
-
toggle_class(button, "svelte-
|
3573
|
+
toggle_class(button, "svelte-15k4deh", true);
|
3570
3574
|
},
|
3571
3575
|
m(target, anchor) {
|
3572
3576
|
insert(target, button, anchor);
|
@@ -3605,7 +3609,7 @@ function create_else_block$5(ctx) {
|
|
3605
3609
|
dataAttrStopPropagation('click')
|
3606
3610
|
]));
|
3607
3611
|
|
3608
|
-
toggle_class(button, "svelte-
|
3612
|
+
toggle_class(button, "svelte-15k4deh", true);
|
3609
3613
|
},
|
3610
3614
|
i(local) {
|
3611
3615
|
if (current) return;
|
@@ -3636,7 +3640,7 @@ function create_if_block_2$2(ctx) {
|
|
3636
3640
|
c() {
|
3637
3641
|
div = element("div");
|
3638
3642
|
if (default_slot) default_slot.c();
|
3639
|
-
attr(div, "class", "" + (null_to_empty(BUTTON_CLASS) + " svelte-
|
3643
|
+
attr(div, "class", "" + (null_to_empty(BUTTON_CLASS) + " svelte-15k4deh"));
|
3640
3644
|
attr(div, "style", /*style*/ ctx[1]);
|
3641
3645
|
},
|
3642
3646
|
m(target, anchor) {
|
@@ -3720,7 +3724,7 @@ function create_if_block_1$3(ctx) {
|
|
3720
3724
|
a = element("a");
|
3721
3725
|
if (default_slot) default_slot.c();
|
3722
3726
|
set_attributes(a, a_data);
|
3723
|
-
toggle_class(a, "svelte-
|
3727
|
+
toggle_class(a, "svelte-15k4deh", true);
|
3724
3728
|
},
|
3725
3729
|
m(target, anchor) {
|
3726
3730
|
insert(target, a, anchor);
|
@@ -3762,7 +3766,7 @@ function create_if_block_1$3(ctx) {
|
|
3762
3766
|
dataAttrStopPropagation('click')
|
3763
3767
|
]));
|
3764
3768
|
|
3765
|
-
toggle_class(a, "svelte-
|
3769
|
+
toggle_class(a, "svelte-15k4deh", true);
|
3766
3770
|
},
|
3767
3771
|
i(local) {
|
3768
3772
|
if (current) return;
|
@@ -3783,7 +3787,7 @@ function create_if_block_1$3(ctx) {
|
|
3783
3787
|
}
|
3784
3788
|
|
3785
3789
|
// (31:0) {#if disabled}
|
3786
|
-
function create_if_block$
|
3790
|
+
function create_if_block$c(ctx) {
|
3787
3791
|
let div;
|
3788
3792
|
let current;
|
3789
3793
|
const default_slot_template = /*#slots*/ ctx[9].default;
|
@@ -3793,7 +3797,7 @@ function create_if_block$b(ctx) {
|
|
3793
3797
|
c() {
|
3794
3798
|
div = element("div");
|
3795
3799
|
if (default_slot) default_slot.c();
|
3796
|
-
attr(div, "class", "" + (BUTTON_CLASS + " _disabled" + " svelte-
|
3800
|
+
attr(div, "class", "" + (BUTTON_CLASS + " _disabled" + " svelte-15k4deh"));
|
3797
3801
|
attr(div, "style", /*style*/ ctx[1]);
|
3798
3802
|
},
|
3799
3803
|
m(target, anchor) {
|
@@ -3846,7 +3850,7 @@ function create_fragment$16(ctx) {
|
|
3846
3850
|
let if_block;
|
3847
3851
|
let if_block_anchor;
|
3848
3852
|
let current;
|
3849
|
-
const if_block_creators = [create_if_block$
|
3853
|
+
const if_block_creators = [create_if_block$c, create_if_block_1$3, create_if_block_2$2, create_else_block$5];
|
3850
3854
|
const if_blocks = [];
|
3851
3855
|
|
3852
3856
|
function select_block_type(ctx, dirty) {
|
@@ -3997,7 +4001,7 @@ let Button$1 = class Button extends SvelteComponent {
|
|
3997
4001
|
/* src/components/Modal.svelte generated by Svelte v3.53.1 */
|
3998
4002
|
|
3999
4003
|
function add_css$C(target) {
|
4000
|
-
append_styles(target, "svelte-
|
4004
|
+
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}}");
|
4001
4005
|
}
|
4002
4006
|
|
4003
4007
|
// (277:0) {:else}
|
@@ -4045,7 +4049,7 @@ function create_else_block$4(ctx) {
|
|
4045
4049
|
}
|
4046
4050
|
|
4047
4051
|
// (266:24)
|
4048
|
-
function create_if_block_3
|
4052
|
+
function create_if_block_3(ctx) {
|
4049
4053
|
let backgroundoverlay0;
|
4050
4054
|
let t;
|
4051
4055
|
let backgroundoverlay1;
|
@@ -4126,7 +4130,7 @@ function create_if_block_2$1(ctx) {
|
|
4126
4130
|
}
|
4127
4131
|
|
4128
4132
|
// (280:0) {#if visible}
|
4129
|
-
function create_if_block$
|
4133
|
+
function create_if_block$b(ctx) {
|
4130
4134
|
let div;
|
4131
4135
|
let button;
|
4132
4136
|
let div_class_value;
|
@@ -4147,7 +4151,7 @@ function create_if_block$a(ctx) {
|
|
4147
4151
|
c() {
|
4148
4152
|
div = element("div");
|
4149
4153
|
create_component(button.$$.fragment);
|
4150
|
-
attr(div, "class", div_class_value = "" + (null_to_empty(['modal', /*useBreakPoint*/ ctx[3] ? 'modal-bp' : ''].join(' ')) + " svelte-
|
4154
|
+
attr(div, "class", div_class_value = "" + (null_to_empty(['modal', /*useBreakPoint*/ ctx[3] ? 'modal-bp' : ''].join(' ')) + " svelte-1ijkyzl"));
|
4151
4155
|
attr(div, "role", "dialog");
|
4152
4156
|
attr(div, "aria-modal", "true");
|
4153
4157
|
attr(div, "style", Array.from(/*modalStyles*/ ctx[23]).join(';'));
|
@@ -4171,7 +4175,7 @@ function create_if_block$a(ctx) {
|
|
4171
4175
|
|
4172
4176
|
button.$set(button_changes);
|
4173
4177
|
|
4174
|
-
if (!current || dirty[0] & /*useBreakPoint*/ 8 && div_class_value !== (div_class_value = "" + (null_to_empty(['modal', /*useBreakPoint*/ ctx[3] ? 'modal-bp' : ''].join(' ')) + " svelte-
|
4178
|
+
if (!current || dirty[0] & /*useBreakPoint*/ 8 && div_class_value !== (div_class_value = "" + (null_to_empty(['modal', /*useBreakPoint*/ ctx[3] ? 'modal-bp' : ''].join(' ')) + " svelte-1ijkyzl"))) {
|
4175
4179
|
attr(div, "class", div_class_value);
|
4176
4180
|
}
|
4177
4181
|
},
|
@@ -4225,7 +4229,7 @@ function create_if_block_1$2(ctx) {
|
|
4225
4229
|
c() {
|
4226
4230
|
div = element("div");
|
4227
4231
|
create_component(button.$$.fragment);
|
4228
|
-
attr(div, "class", "close svelte-
|
4232
|
+
attr(div, "class", "close svelte-1ijkyzl");
|
4229
4233
|
set_style(div, "z-index", /*$maximumZindex*/ ctx[22] + 1);
|
4230
4234
|
},
|
4231
4235
|
m(target, anchor) {
|
@@ -4314,7 +4318,7 @@ function create_default_slot$6(ctx) {
|
|
4314
4318
|
t = space();
|
4315
4319
|
div = element("div");
|
4316
4320
|
if (default_slot) default_slot.c();
|
4317
|
-
attr(div, "class", "modal-content svelte-
|
4321
|
+
attr(div, "class", "modal-content svelte-1ijkyzl");
|
4318
4322
|
attr(div, "style", /*_style*/ ctx[5]);
|
4319
4323
|
},
|
4320
4324
|
m(target, anchor) {
|
@@ -4400,7 +4404,7 @@ function create_fragment$15(ctx) {
|
|
4400
4404
|
let current;
|
4401
4405
|
let mounted;
|
4402
4406
|
let dispose;
|
4403
|
-
const if_block_creators = [create_if_block_2$1, create_if_block_3
|
4407
|
+
const if_block_creators = [create_if_block_2$1, create_if_block_3, create_else_block$4];
|
4404
4408
|
const if_blocks = [];
|
4405
4409
|
|
4406
4410
|
function select_block_type(ctx, dirty) {
|
@@ -4412,7 +4416,7 @@ function create_fragment$15(ctx) {
|
|
4412
4416
|
|
4413
4417
|
current_block_type_index = select_block_type(ctx);
|
4414
4418
|
if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
4415
|
-
let if_block1 = /*visible*/ ctx[16] && create_if_block$
|
4419
|
+
let if_block1 = /*visible*/ ctx[16] && create_if_block$b(ctx);
|
4416
4420
|
|
4417
4421
|
return {
|
4418
4422
|
c() {
|
@@ -4472,7 +4476,7 @@ function create_fragment$15(ctx) {
|
|
4472
4476
|
transition_in(if_block1, 1);
|
4473
4477
|
}
|
4474
4478
|
} else {
|
4475
|
-
if_block1 = create_if_block$
|
4479
|
+
if_block1 = create_if_block$b(ctx);
|
4476
4480
|
if_block1.c();
|
4477
4481
|
transition_in(if_block1, 1);
|
4478
4482
|
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
@@ -4964,7 +4968,7 @@ class Grid extends SvelteComponent {
|
|
4964
4968
|
/* src/components/GridItem.svelte generated by Svelte v3.53.1 */
|
4965
4969
|
|
4966
4970
|
function add_css$B(target) {
|
4967
|
-
append_styles(target, "svelte-
|
4971
|
+
append_styles(target, "svelte-n7kdl3", ".grid-item.svelte-n7kdl3{word-break:break-all;position:relative}.grid-item-inner.svelte-n7kdl3{position:absolute;inset:0}");
|
4968
4972
|
}
|
4969
4973
|
|
4970
4974
|
function create_fragment$13(ctx) {
|
@@ -4979,8 +4983,8 @@ function create_fragment$13(ctx) {
|
|
4979
4983
|
div1 = element("div");
|
4980
4984
|
div0 = element("div");
|
4981
4985
|
if (default_slot) default_slot.c();
|
4982
|
-
attr(div0, "class", "grid-item-inner svelte-
|
4983
|
-
attr(div1, "class", "grid-item svelte-
|
4986
|
+
attr(div0, "class", "grid-item-inner svelte-n7kdl3");
|
4987
|
+
attr(div1, "class", "grid-item svelte-n7kdl3");
|
4984
4988
|
attr(div1, "data-element-id", /*gridItemId*/ ctx[0]);
|
4985
4989
|
attr(div1, "data-grid-item-id", /*gridItemId*/ ctx[0]);
|
4986
4990
|
attr(div1, "style", /*_style*/ ctx[1]);
|
@@ -5137,7 +5141,7 @@ function create_else_block$3(ctx) {
|
|
5137
5141
|
}
|
5138
5142
|
|
5139
5143
|
// (11:2) {#if item.match(regexp)}
|
5140
|
-
function create_if_block$
|
5144
|
+
function create_if_block$a(ctx) {
|
5141
5145
|
let br;
|
5142
5146
|
|
5143
5147
|
return {
|
@@ -5162,7 +5166,7 @@ function create_each_block$6(ctx) {
|
|
5162
5166
|
function select_block_type(ctx, dirty) {
|
5163
5167
|
if (dirty & /*items*/ 1) show_if = null;
|
5164
5168
|
if (show_if == null) show_if = !!/*item*/ ctx[2].match(regexp);
|
5165
|
-
if (show_if) return create_if_block$
|
5169
|
+
if (show_if) return create_if_block$a;
|
5166
5170
|
return create_else_block$3;
|
5167
5171
|
}
|
5168
5172
|
|
@@ -5285,7 +5289,7 @@ class RenderText extends SvelteComponent {
|
|
5285
5289
|
/* src/components/TextElement.svelte generated by Svelte v3.53.1 */
|
5286
5290
|
|
5287
5291
|
function add_css$A(target) {
|
5288
|
-
append_styles(target, "svelte-
|
5292
|
+
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}");
|
5289
5293
|
}
|
5290
5294
|
|
5291
5295
|
// (94:2) {:else}
|
@@ -5302,8 +5306,8 @@ function create_else_block$2(ctx) {
|
|
5302
5306
|
div1 = element("div");
|
5303
5307
|
div0 = element("div");
|
5304
5308
|
create_component(rendertext.$$.fragment);
|
5305
|
-
attr(div0, "class", "text-element-inner svelte-
|
5306
|
-
attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
5309
|
+
attr(div0, "class", "text-element-inner svelte-9ixs0b");
|
5310
|
+
attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-9ixs0b"));
|
5307
5311
|
attr(div1, "style", /*style*/ ctx[5]);
|
5308
5312
|
},
|
5309
5313
|
m(target, anchor) {
|
@@ -5317,7 +5321,7 @@ function create_else_block$2(ctx) {
|
|
5317
5321
|
if (dirty & /*text*/ 1) rendertext_changes.text = /*text*/ ctx[0];
|
5318
5322
|
rendertext.$set(rendertext_changes);
|
5319
5323
|
|
5320
|
-
if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
5324
|
+
if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-9ixs0b"))) {
|
5321
5325
|
attr(div1, "class", div1_class_value);
|
5322
5326
|
}
|
5323
5327
|
|
@@ -5342,7 +5346,7 @@ function create_else_block$2(ctx) {
|
|
5342
5346
|
}
|
5343
5347
|
|
5344
5348
|
// (80:2) {#if enableCopy}
|
5345
|
-
function create_if_block$
|
5349
|
+
function create_if_block$9(ctx) {
|
5346
5350
|
let a;
|
5347
5351
|
let div0;
|
5348
5352
|
let rendertext;
|
@@ -5367,12 +5371,12 @@ function create_if_block$8(ctx) {
|
|
5367
5371
|
t2 = space();
|
5368
5372
|
div2 = element("div");
|
5369
5373
|
div2.textContent = "コピーできませんでした";
|
5370
|
-
attr(div0, "class", "text-element-inner svelte-
|
5374
|
+
attr(div0, "class", "text-element-inner svelte-9ixs0b");
|
5371
5375
|
attr(a, "href", '');
|
5372
|
-
attr(a, "class", a_class_value = "" + (null_to_empty(`text-element text-link-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
5376
|
+
attr(a, "class", a_class_value = "" + (null_to_empty(`text-element text-link-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-9ixs0b"));
|
5373
5377
|
attr(a, "style", /*style*/ ctx[5]);
|
5374
|
-
attr(div1, "class", "tooltip svelte-
|
5375
|
-
attr(div2, "class", "tooltip tooltip-error svelte-
|
5378
|
+
attr(div1, "class", "tooltip svelte-9ixs0b");
|
5379
|
+
attr(div2, "class", "tooltip tooltip-error svelte-9ixs0b");
|
5376
5380
|
},
|
5377
5381
|
m(target, anchor) {
|
5378
5382
|
insert(target, a, anchor);
|
@@ -5396,7 +5400,7 @@ function create_if_block$8(ctx) {
|
|
5396
5400
|
if (dirty & /*text*/ 1) rendertext_changes.text = /*text*/ ctx[0];
|
5397
5401
|
rendertext.$set(rendertext_changes);
|
5398
5402
|
|
5399
|
-
if (!current || dirty & /*textDirection*/ 2 && a_class_value !== (a_class_value = "" + (null_to_empty(`text-element text-link-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
5403
|
+
if (!current || dirty & /*textDirection*/ 2 && a_class_value !== (a_class_value = "" + (null_to_empty(`text-element text-link-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-9ixs0b"))) {
|
5400
5404
|
attr(a, "class", a_class_value);
|
5401
5405
|
}
|
5402
5406
|
|
@@ -5433,7 +5437,7 @@ function create_fragment$11(ctx) {
|
|
5433
5437
|
let current_block_type_index;
|
5434
5438
|
let if_block;
|
5435
5439
|
let current;
|
5436
|
-
const if_block_creators = [create_if_block$
|
5440
|
+
const if_block_creators = [create_if_block$9, create_else_block$2];
|
5437
5441
|
const if_blocks = [];
|
5438
5442
|
|
5439
5443
|
function select_block_type(ctx, dirty) {
|
@@ -5448,7 +5452,7 @@ function create_fragment$11(ctx) {
|
|
5448
5452
|
c() {
|
5449
5453
|
div = element("div");
|
5450
5454
|
if_block.c();
|
5451
|
-
attr(div, "class", "text-element-wrapper svelte-
|
5455
|
+
attr(div, "class", "text-element-wrapper svelte-9ixs0b");
|
5452
5456
|
},
|
5453
5457
|
m(target, anchor) {
|
5454
5458
|
insert(target, div, anchor);
|
@@ -5614,7 +5618,7 @@ class TextElement extends SvelteComponent {
|
|
5614
5618
|
/* src/components/TextButtonElement.svelte generated by Svelte v3.53.1 */
|
5615
5619
|
|
5616
5620
|
function add_css$z(target) {
|
5617
|
-
append_styles(target, "svelte-
|
5621
|
+
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)}");
|
5618
5622
|
}
|
5619
5623
|
|
5620
5624
|
// (48:2) <Button {onClick} {style} {eventName}>
|
@@ -5670,7 +5674,7 @@ function create_fragment$10(ctx) {
|
|
5670
5674
|
c() {
|
5671
5675
|
div = element("div");
|
5672
5676
|
create_component(button.$$.fragment);
|
5673
|
-
attr(div, "class", "text-button-element svelte-
|
5677
|
+
attr(div, "class", "text-button-element svelte-1vg84sc");
|
5674
5678
|
},
|
5675
5679
|
m(target, anchor) {
|
5676
5680
|
insert(target, div, anchor);
|
@@ -5762,7 +5766,7 @@ class TextButtonElement extends SvelteComponent {
|
|
5762
5766
|
/* src/components/ImageElement.svelte generated by Svelte v3.53.1 */
|
5763
5767
|
|
5764
5768
|
function add_css$y(target) {
|
5765
|
-
append_styles(target, "svelte-
|
5769
|
+
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%}");
|
5766
5770
|
}
|
5767
5771
|
|
5768
5772
|
// (44:2) <Button {onClick} style={_style} {eventName}>
|
@@ -5774,7 +5778,7 @@ function create_default_slot$4(ctx) {
|
|
5774
5778
|
return {
|
5775
5779
|
c() {
|
5776
5780
|
img = element("img");
|
5777
|
-
attr(img, "class", "image svelte-
|
5781
|
+
attr(img, "class", "image svelte-t6tu0e");
|
5778
5782
|
attr(img, "loading", "lazy");
|
5779
5783
|
attr(img, "width", "auto");
|
5780
5784
|
attr(img, "height", "auto");
|
@@ -5836,7 +5840,7 @@ function create_fragment$$(ctx) {
|
|
5836
5840
|
c() {
|
5837
5841
|
div = element("div");
|
5838
5842
|
create_component(button.$$.fragment);
|
5839
|
-
attr(div, "class", div_class_value = "image-element " + (/*transport*/ ctx[2] ? ' transport' : '') + " svelte-
|
5843
|
+
attr(div, "class", div_class_value = "image-element " + (/*transport*/ ctx[2] ? ' transport' : '') + " svelte-t6tu0e");
|
5840
5844
|
},
|
5841
5845
|
m(target, anchor) {
|
5842
5846
|
insert(target, div, anchor);
|
@@ -5855,7 +5859,7 @@ function create_fragment$$(ctx) {
|
|
5855
5859
|
|
5856
5860
|
button.$set(button_changes);
|
5857
5861
|
|
5858
|
-
if (!current || dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "image-element " + (/*transport*/ ctx[2] ? ' transport' : '') + " svelte-
|
5862
|
+
if (!current || dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "image-element " + (/*transport*/ ctx[2] ? ' transport' : '') + " svelte-t6tu0e")) {
|
5859
5863
|
attr(div, "class", div_class_value);
|
5860
5864
|
}
|
5861
5865
|
},
|
@@ -5927,7 +5931,7 @@ class ImageElement extends SvelteComponent {
|
|
5927
5931
|
/* src/components/List.svelte generated by Svelte v3.53.1 */
|
5928
5932
|
|
5929
5933
|
function add_css$x(target) {
|
5930
|
-
append_styles(target, "svelte-
|
5934
|
+
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}");
|
5931
5935
|
}
|
5932
5936
|
|
5933
5937
|
function create_fragment$_(ctx) {
|
@@ -5940,7 +5944,7 @@ function create_fragment$_(ctx) {
|
|
5940
5944
|
c() {
|
5941
5945
|
div = element("div");
|
5942
5946
|
if (default_slot) default_slot.c();
|
5943
|
-
attr(div, "class", "list svelte-
|
5947
|
+
attr(div, "class", "list svelte-aquv6z");
|
5944
5948
|
attr(div, "style", /*style*/ ctx[0]);
|
5945
5949
|
},
|
5946
5950
|
m(target, anchor) {
|
@@ -6074,7 +6078,7 @@ class List extends SvelteComponent {
|
|
6074
6078
|
/* src/components/ListItem.svelte generated by Svelte v3.53.1 */
|
6075
6079
|
|
6076
6080
|
function add_css$w(target) {
|
6077
|
-
append_styles(target, "svelte-
|
6081
|
+
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}");
|
6078
6082
|
}
|
6079
6083
|
|
6080
6084
|
// (67:2) <Button {onClick} style={_style} eventName={clickEventName}>
|
@@ -6144,7 +6148,7 @@ function create_fragment$Z(ctx) {
|
|
6144
6148
|
c() {
|
6145
6149
|
div = element("div");
|
6146
6150
|
create_component(button.$$.fragment);
|
6147
|
-
attr(div, "class", "list-item svelte-
|
6151
|
+
attr(div, "class", "list-item svelte-9n97pe");
|
6148
6152
|
attr(div, "style", /*listItemStyle*/ ctx[3]);
|
6149
6153
|
},
|
6150
6154
|
m(target, anchor) {
|
@@ -6270,7 +6274,7 @@ class ListItem extends SvelteComponent {
|
|
6270
6274
|
/* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
|
6271
6275
|
|
6272
6276
|
function add_css$v(target) {
|
6273
|
-
append_styles(target, "svelte-
|
6277
|
+
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}");
|
6274
6278
|
}
|
6275
6279
|
|
6276
6280
|
function create_fragment$Y(ctx) {
|
@@ -6279,7 +6283,7 @@ function create_fragment$Y(ctx) {
|
|
6279
6283
|
return {
|
6280
6284
|
c() {
|
6281
6285
|
div = element("div");
|
6282
|
-
attr(div, "class", "embed svelte-
|
6286
|
+
attr(div, "class", "embed svelte-wocq4p");
|
6283
6287
|
attr(div, "style", /*_style*/ ctx[1]);
|
6284
6288
|
},
|
6285
6289
|
m(target, anchor) {
|
@@ -6322,7 +6326,7 @@ class EmbedElement extends SvelteComponent {
|
|
6322
6326
|
/* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
|
6323
6327
|
|
6324
6328
|
function add_css$u(target) {
|
6325
|
-
append_styles(target, "svelte-
|
6329
|
+
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%}");
|
6326
6330
|
}
|
6327
6331
|
|
6328
6332
|
function create_fragment$X(ctx) {
|
@@ -6334,7 +6338,7 @@ function create_fragment$X(ctx) {
|
|
6334
6338
|
div1 = element("div");
|
6335
6339
|
div0 = element("div");
|
6336
6340
|
attr(div0, "class", "karte-player");
|
6337
|
-
attr(div1, "class", "embed svelte-
|
6341
|
+
attr(div1, "class", "embed svelte-vikz49");
|
6338
6342
|
attr(div1, "style", /*_style*/ ctx[0]);
|
6339
6343
|
},
|
6340
6344
|
m(target, anchor) {
|
@@ -6676,7 +6680,7 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
6676
6680
|
/* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
|
6677
6681
|
|
6678
6682
|
function add_css$t(target) {
|
6679
|
-
append_styles(target, "svelte-
|
6683
|
+
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%}");
|
6680
6684
|
}
|
6681
6685
|
|
6682
6686
|
function create_fragment$W(ctx) {
|
@@ -6688,7 +6692,7 @@ function create_fragment$W(ctx) {
|
|
6688
6692
|
div1 = element("div");
|
6689
6693
|
div0 = element("div");
|
6690
6694
|
attr(div0, "class", "karte-player");
|
6691
|
-
attr(div1, "class", "embed svelte-
|
6695
|
+
attr(div1, "class", "embed svelte-vikz49");
|
6692
6696
|
attr(div1, "style", /*_style*/ ctx[0]);
|
6693
6697
|
},
|
6694
6698
|
m(target, anchor) {
|
@@ -6872,7 +6876,7 @@ class MovieVimeoElement extends SvelteComponent {
|
|
6872
6876
|
/* src/components/FormTextarea.svelte generated by Svelte v3.53.1 */
|
6873
6877
|
|
6874
6878
|
function add_css$s(target) {
|
6875
|
-
append_styles(target, "svelte-
|
6879
|
+
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}");
|
6876
6880
|
}
|
6877
6881
|
|
6878
6882
|
function create_fragment$V(ctx) {
|
@@ -6885,12 +6889,12 @@ function create_fragment$V(ctx) {
|
|
6885
6889
|
c() {
|
6886
6890
|
div = element("div");
|
6887
6891
|
textarea = element("textarea");
|
6888
|
-
attr(textarea, "class", "textarea svelte-
|
6892
|
+
attr(textarea, "class", "textarea svelte-zxvkkc");
|
6889
6893
|
textarea.value = /*$value*/ ctx[4];
|
6890
6894
|
textarea.required = /*required*/ ctx[1];
|
6891
6895
|
attr(textarea, "placeholder", /*placeholder*/ ctx[0]);
|
6892
6896
|
attr(textarea, "style", /*style*/ ctx[3]);
|
6893
|
-
attr(div, "class", "textarea-wrapper svelte-
|
6897
|
+
attr(div, "class", "textarea-wrapper svelte-zxvkkc");
|
6894
6898
|
attr(div, "style", /*styleVariables*/ ctx[2]);
|
6895
6899
|
},
|
6896
6900
|
m(target, anchor) {
|
@@ -7042,7 +7046,7 @@ class FormTextarea extends SvelteComponent {
|
|
7042
7046
|
/* src/components/FormRadioButtons.svelte generated by Svelte v3.53.1 */
|
7043
7047
|
|
7044
7048
|
function add_css$r(target) {
|
7045
|
-
append_styles(target, "svelte-
|
7049
|
+
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}");
|
7046
7050
|
}
|
7047
7051
|
|
7048
7052
|
function get_each_context$5(ctx, list, i) {
|
@@ -7076,14 +7080,14 @@ function create_each_block$5(ctx) {
|
|
7076
7080
|
t1 = text(t1_value);
|
7077
7081
|
t2 = space();
|
7078
7082
|
attr(input, "type", "radio");
|
7079
|
-
attr(input, "class", "radio-button-input svelte-
|
7083
|
+
attr(input, "class", "radio-button-input svelte-17s08g");
|
7080
7084
|
attr(input, "style", /*buttonStyle*/ ctx[5]);
|
7081
7085
|
attr(input, "name", /*name*/ ctx[0]);
|
7082
7086
|
input.value = input_value_value = /*option*/ ctx[17];
|
7083
7087
|
input.checked = input_checked_value = /*option*/ ctx[17] === /*_value*/ ctx[3];
|
7084
|
-
attr(span, "class", "radio-button-text svelte-
|
7088
|
+
attr(span, "class", "radio-button-text svelte-17s08g");
|
7085
7089
|
attr(span, "style", span_style_value = `${/*_textStyle*/ ctx[2]} ${/*fontCss*/ ctx[6]}`);
|
7086
|
-
attr(label, "class", "radio-button svelte-
|
7090
|
+
attr(label, "class", "radio-button svelte-17s08g");
|
7087
7091
|
},
|
7088
7092
|
m(target, anchor) {
|
7089
7093
|
insert(target, label, anchor);
|
@@ -7148,7 +7152,7 @@ function create_fragment$U(ctx) {
|
|
7148
7152
|
each_blocks[i].c();
|
7149
7153
|
}
|
7150
7154
|
|
7151
|
-
attr(div, "class", "radio-buttons svelte-
|
7155
|
+
attr(div, "class", "radio-buttons svelte-17s08g");
|
7152
7156
|
attr(div, "style", /*_layoutStyle*/ ctx[1]);
|
7153
7157
|
},
|
7154
7158
|
m(target, anchor) {
|
@@ -7317,7 +7321,7 @@ class FormRadioButtons extends SvelteComponent {
|
|
7317
7321
|
/* src/components/FormSelect.svelte generated by Svelte v3.53.1 */
|
7318
7322
|
|
7319
7323
|
function add_css$q(target) {
|
7320
|
-
append_styles(target, "svelte-
|
7324
|
+
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}");
|
7321
7325
|
}
|
7322
7326
|
|
7323
7327
|
function get_each_context$4(ctx, list, i) {
|
@@ -7348,7 +7352,7 @@ function create_else_block$1(ctx) {
|
|
7348
7352
|
}
|
7349
7353
|
|
7350
7354
|
// (105:10) {#if option}
|
7351
|
-
function create_if_block$
|
7355
|
+
function create_if_block$8(ctx) {
|
7352
7356
|
let t_value = /*option*/ ctx[19] + "";
|
7353
7357
|
let t;
|
7354
7358
|
|
@@ -7376,7 +7380,7 @@ function create_each_block$4(ctx) {
|
|
7376
7380
|
let option_selected_value;
|
7377
7381
|
|
7378
7382
|
function select_block_type(ctx, dirty) {
|
7379
|
-
if (/*option*/ ctx[19]) return create_if_block$
|
7383
|
+
if (/*option*/ ctx[19]) return create_if_block$8;
|
7380
7384
|
return create_else_block$1;
|
7381
7385
|
}
|
7382
7386
|
|
@@ -7451,10 +7455,10 @@ function create_fragment$T(ctx) {
|
|
7451
7455
|
|
7452
7456
|
t = space();
|
7453
7457
|
div0 = element("div");
|
7454
|
-
attr(select, "class", "select-select svelte-
|
7458
|
+
attr(select, "class", "select-select svelte-t9ynyj");
|
7455
7459
|
attr(select, "style", /*style*/ ctx[3]);
|
7456
|
-
attr(div0, "class", "select-icon svelte-
|
7457
|
-
attr(div1, "class", "select svelte-
|
7460
|
+
attr(div0, "class", "select-icon svelte-t9ynyj");
|
7461
|
+
attr(div1, "class", "select svelte-t9ynyj");
|
7458
7462
|
attr(div1, "style", /*styleVariables*/ ctx[2]);
|
7459
7463
|
},
|
7460
7464
|
m(target, anchor) {
|
@@ -7656,7 +7660,7 @@ class FormSelect extends SvelteComponent {
|
|
7656
7660
|
/* src/components/FormCheckBoxes.svelte generated by Svelte v3.53.1 */
|
7657
7661
|
|
7658
7662
|
function add_css$p(target) {
|
7659
|
-
append_styles(target, "svelte-
|
7663
|
+
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}");
|
7660
7664
|
}
|
7661
7665
|
|
7662
7666
|
function get_each_context$3(ctx, list, i) {
|
@@ -7695,19 +7699,19 @@ function create_each_block$3(ctx) {
|
|
7695
7699
|
span2 = element("span");
|
7696
7700
|
t2 = text(t2_value);
|
7697
7701
|
t3 = space();
|
7698
|
-
attr(input, "class", "check-box-input svelte-
|
7702
|
+
attr(input, "class", "check-box-input svelte-1p65cg8");
|
7699
7703
|
attr(input, "type", "checkbox");
|
7700
7704
|
attr(input, "name", /*name*/ ctx[0]);
|
7701
7705
|
input.checked = input_checked_value = /*isCheckedArray*/ ctx[4][/*i*/ ctx[19]];
|
7702
|
-
attr(span0, "class", "check-box-icon svelte-
|
7706
|
+
attr(span0, "class", "check-box-icon svelte-1p65cg8");
|
7703
7707
|
|
7704
7708
|
attr(span1, "class", span1_class_value = "" + (null_to_empty(`check-box-check${/*isCheckedArray*/ ctx[4][/*i*/ ctx[19]]
|
7705
7709
|
? ' _checked'
|
7706
|
-
: ''}`) + " svelte-
|
7710
|
+
: ''}`) + " svelte-1p65cg8"));
|
7707
7711
|
|
7708
|
-
attr(span2, "class", "check-box-text svelte-
|
7712
|
+
attr(span2, "class", "check-box-text svelte-1p65cg8");
|
7709
7713
|
attr(span2, "style", span2_style_value = `${/*_textStyle*/ ctx[2]} ${/*fontCss*/ ctx[6]}`);
|
7710
|
-
attr(label, "class", "check-box svelte-
|
7714
|
+
attr(label, "class", "check-box svelte-1p65cg8");
|
7711
7715
|
attr(label, "style", /*styleVariables*/ ctx[5]);
|
7712
7716
|
},
|
7713
7717
|
m(target, anchor) {
|
@@ -7739,7 +7743,7 @@ function create_each_block$3(ctx) {
|
|
7739
7743
|
|
7740
7744
|
if (dirty & /*isCheckedArray*/ 16 && span1_class_value !== (span1_class_value = "" + (null_to_empty(`check-box-check${/*isCheckedArray*/ ctx[4][/*i*/ ctx[19]]
|
7741
7745
|
? ' _checked'
|
7742
|
-
: ''}`) + " svelte-
|
7746
|
+
: ''}`) + " svelte-1p65cg8"))) {
|
7743
7747
|
attr(span1, "class", span1_class_value);
|
7744
7748
|
}
|
7745
7749
|
|
@@ -7778,7 +7782,7 @@ function create_fragment$S(ctx) {
|
|
7778
7782
|
each_blocks[i].c();
|
7779
7783
|
}
|
7780
7784
|
|
7781
|
-
attr(div, "class", "check-boxes svelte-
|
7785
|
+
attr(div, "class", "check-boxes svelte-1p65cg8");
|
7782
7786
|
attr(div, "style", /*_layoutStyle*/ ctx[1]);
|
7783
7787
|
},
|
7784
7788
|
m(target, anchor) {
|
@@ -7953,7 +7957,7 @@ class FormCheckBoxes extends SvelteComponent {
|
|
7953
7957
|
/* src/components/FormRatingButtonsNumber.svelte generated by Svelte v3.53.1 */
|
7954
7958
|
|
7955
7959
|
function add_css$o(target) {
|
7956
|
-
append_styles(target, "svelte-
|
7960
|
+
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}");
|
7957
7961
|
}
|
7958
7962
|
|
7959
7963
|
function get_each_context$2(ctx, list, i) {
|
@@ -7977,7 +7981,7 @@ function create_each_block$2(ctx) {
|
|
7977
7981
|
button = element("button");
|
7978
7982
|
t0 = text(t0_value);
|
7979
7983
|
t1 = space();
|
7980
|
-
attr(button, "class", "rating-button svelte-
|
7984
|
+
attr(button, "class", "rating-button svelte-1iqf36p");
|
7981
7985
|
attr(button, "style", button_style_value = /*getTextButtonStyle*/ ctx[5](/*i*/ ctx[14] === /*_value*/ ctx[2]));
|
7982
7986
|
},
|
7983
7987
|
m(target, anchor) {
|
@@ -8026,7 +8030,7 @@ function create_fragment$R(ctx) {
|
|
8026
8030
|
each_blocks[i].c();
|
8027
8031
|
}
|
8028
8032
|
|
8029
|
-
attr(div, "class", "rating-buttons svelte-
|
8033
|
+
attr(div, "class", "rating-buttons svelte-1iqf36p");
|
8030
8034
|
},
|
8031
8035
|
m(target, anchor) {
|
8032
8036
|
insert(target, div, anchor);
|
@@ -8170,7 +8174,7 @@ class FormRatingButtonsNumber extends SvelteComponent {
|
|
8170
8174
|
/* src/components/FormRatingButtonsFace.svelte generated by Svelte v3.53.1 */
|
8171
8175
|
|
8172
8176
|
function add_css$n(target) {
|
8173
|
-
append_styles(target, "svelte-
|
8177
|
+
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%)}");
|
8174
8178
|
}
|
8175
8179
|
|
8176
8180
|
function get_each_context$1(ctx, list, i) {
|
@@ -8195,9 +8199,9 @@ function create_each_block$1(ctx) {
|
|
8195
8199
|
img = element("img");
|
8196
8200
|
t = space();
|
8197
8201
|
if (!src_url_equal(img.src, img_src_value = /*ICONS*/ ctx[2][/*i*/ ctx[10]])) attr(img, "src", img_src_value);
|
8198
|
-
attr(img, "class", img_class_value = "" + (null_to_empty(`rating-button-image${/*i*/ ctx[10] === /*_value*/ ctx[1] ? ' _active' : ''}`) + " svelte-
|
8202
|
+
attr(img, "class", img_class_value = "" + (null_to_empty(`rating-button-image${/*i*/ ctx[10] === /*_value*/ ctx[1] ? ' _active' : ''}`) + " svelte-tbunko"));
|
8199
8203
|
attr(img, "alt", "rate" + /*i*/ ctx[10]);
|
8200
|
-
attr(button, "class", "rating-button svelte-
|
8204
|
+
attr(button, "class", "rating-button svelte-tbunko");
|
8201
8205
|
attr(button, "style", /*buttonStyle*/ ctx[0]);
|
8202
8206
|
},
|
8203
8207
|
m(target, anchor) {
|
@@ -8213,7 +8217,7 @@ function create_each_block$1(ctx) {
|
|
8213
8217
|
p(new_ctx, dirty) {
|
8214
8218
|
ctx = new_ctx;
|
8215
8219
|
|
8216
|
-
if (dirty & /*_value*/ 2 && img_class_value !== (img_class_value = "" + (null_to_empty(`rating-button-image${/*i*/ ctx[10] === /*_value*/ ctx[1] ? ' _active' : ''}`) + " svelte-
|
8220
|
+
if (dirty & /*_value*/ 2 && img_class_value !== (img_class_value = "" + (null_to_empty(`rating-button-image${/*i*/ ctx[10] === /*_value*/ ctx[1] ? ' _active' : ''}`) + " svelte-tbunko"))) {
|
8217
8221
|
attr(img, "class", img_class_value);
|
8218
8222
|
}
|
8219
8223
|
|
@@ -8246,7 +8250,7 @@ function create_fragment$Q(ctx) {
|
|
8246
8250
|
each_blocks[i].c();
|
8247
8251
|
}
|
8248
8252
|
|
8249
|
-
attr(div, "class", "rating-buttons svelte-
|
8253
|
+
attr(div, "class", "rating-buttons svelte-tbunko");
|
8250
8254
|
},
|
8251
8255
|
m(target, anchor) {
|
8252
8256
|
insert(target, div, anchor);
|
@@ -8354,7 +8358,7 @@ class FormRatingButtonsFace extends SvelteComponent {
|
|
8354
8358
|
/* src/components/FormIdentifyInput.svelte generated by Svelte v3.53.1 */
|
8355
8359
|
|
8356
8360
|
function add_css$m(target) {
|
8357
|
-
append_styles(target, "svelte-
|
8361
|
+
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}");
|
8358
8362
|
}
|
8359
8363
|
|
8360
8364
|
function create_fragment$P(ctx) {
|
@@ -8368,13 +8372,13 @@ function create_fragment$P(ctx) {
|
|
8368
8372
|
c() {
|
8369
8373
|
div = element("div");
|
8370
8374
|
input = element("input");
|
8371
|
-
attr(input, "class", input_class_value = "" + (null_to_empty(['input', /*isValidForUI*/ ctx[3] ? '' : '_error'].join(' ')) + " svelte-
|
8375
|
+
attr(input, "class", input_class_value = "" + (null_to_empty(['input', /*isValidForUI*/ ctx[3] ? '' : '_error'].join(' ')) + " svelte-h8fqwx"));
|
8372
8376
|
attr(input, "type", "text");
|
8373
8377
|
input.value = /*$value*/ ctx[2];
|
8374
8378
|
input.required = /*required*/ ctx[0];
|
8375
8379
|
attr(input, "placeholder", /*placeholder*/ ctx[1]);
|
8376
8380
|
attr(input, "style", /*style*/ ctx[5]);
|
8377
|
-
attr(div, "class", "input-wrapper svelte-
|
8381
|
+
attr(div, "class", "input-wrapper svelte-h8fqwx");
|
8378
8382
|
attr(div, "style", /*styleVariables*/ ctx[4]);
|
8379
8383
|
},
|
8380
8384
|
m(target, anchor) {
|
@@ -8387,7 +8391,7 @@ function create_fragment$P(ctx) {
|
|
8387
8391
|
}
|
8388
8392
|
},
|
8389
8393
|
p(ctx, [dirty]) {
|
8390
|
-
if (dirty & /*isValidForUI*/ 8 && input_class_value !== (input_class_value = "" + (null_to_empty(['input', /*isValidForUI*/ ctx[3] ? '' : '_error'].join(' ')) + " svelte-
|
8394
|
+
if (dirty & /*isValidForUI*/ 8 && input_class_value !== (input_class_value = "" + (null_to_empty(['input', /*isValidForUI*/ ctx[3] ? '' : '_error'].join(' ')) + " svelte-h8fqwx"))) {
|
8391
8395
|
attr(input, "class", input_class_value);
|
8392
8396
|
}
|
8393
8397
|
|
@@ -8575,7 +8579,7 @@ class FormIdentifyInput extends SvelteComponent {
|
|
8575
8579
|
/* src/components/FormIdentifyChoices.svelte generated by Svelte v3.53.1 */
|
8576
8580
|
|
8577
8581
|
function add_css$l(target) {
|
8578
|
-
append_styles(target, "svelte-
|
8582
|
+
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}");
|
8579
8583
|
}
|
8580
8584
|
|
8581
8585
|
function create_fragment$O(ctx) {
|
@@ -8613,20 +8617,20 @@ function create_fragment$O(ctx) {
|
|
8613
8617
|
span1 = element("span");
|
8614
8618
|
t4 = text("いいえ");
|
8615
8619
|
attr(input0, "type", "radio");
|
8616
|
-
attr(input0, "class", "radio-button-input svelte-
|
8620
|
+
attr(input0, "class", "radio-button-input svelte-8zbmyo");
|
8617
8621
|
attr(input0, "style", /*buttonStyle*/ ctx[2]);
|
8618
8622
|
input0.checked = input0_checked_value = /*$value*/ ctx[3] === true;
|
8619
|
-
attr(span0, "class", "radio-button-text svelte-
|
8623
|
+
attr(span0, "class", "radio-button-text svelte-8zbmyo");
|
8620
8624
|
attr(span0, "style", span0_style_value = `${/*_textStyle*/ ctx[1]} ${/*fontCss*/ ctx[4]}`);
|
8621
|
-
attr(label0, "class", "radio-button svelte-
|
8625
|
+
attr(label0, "class", "radio-button svelte-8zbmyo");
|
8622
8626
|
attr(input1, "type", "radio");
|
8623
|
-
attr(input1, "class", "radio-button-input svelte-
|
8627
|
+
attr(input1, "class", "radio-button-input svelte-8zbmyo");
|
8624
8628
|
attr(input1, "style", /*buttonStyle*/ ctx[2]);
|
8625
8629
|
input1.checked = input1_checked_value = /*$value*/ ctx[3] === false;
|
8626
|
-
attr(span1, "class", "radio-button-text svelte-
|
8630
|
+
attr(span1, "class", "radio-button-text svelte-8zbmyo");
|
8627
8631
|
attr(span1, "style", span1_style_value = `${/*_textStyle*/ ctx[1]} ${/*fontCss*/ ctx[4]}`);
|
8628
|
-
attr(label1, "class", "radio-button svelte-
|
8629
|
-
attr(div, "class", "radio-buttons svelte-
|
8632
|
+
attr(label1, "class", "radio-button svelte-8zbmyo");
|
8633
|
+
attr(div, "class", "radio-buttons svelte-8zbmyo");
|
8630
8634
|
attr(div, "style", /*_layoutStyle*/ ctx[0]);
|
8631
8635
|
},
|
8632
8636
|
m(target, anchor) {
|
@@ -8794,7 +8798,7 @@ class FormIdentifyChoices extends SvelteComponent {
|
|
8794
8798
|
/* src/components/Slide.svelte generated by Svelte v3.53.1 */
|
8795
8799
|
|
8796
8800
|
function add_css$k(target) {
|
8797
|
-
append_styles(target, "svelte-
|
8801
|
+
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%}");
|
8798
8802
|
}
|
8799
8803
|
|
8800
8804
|
function get_each_context(ctx, list, i) {
|
@@ -8823,9 +8827,9 @@ function create_if_block_1$1(ctx) {
|
|
8823
8827
|
attr(svg, "viewBox", "0 0 10 16");
|
8824
8828
|
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
8825
8829
|
attr(svg, "style", /*prevIconStyle*/ ctx[10]);
|
8826
|
-
attr(button, "class", "move-button svelte-
|
8830
|
+
attr(button, "class", "move-button svelte-ji1fh");
|
8827
8831
|
attr(button, "style", /*_prevButtonContainerStyle*/ ctx[9]);
|
8828
|
-
attr(div, "class", "prev-button-container svelte-
|
8832
|
+
attr(div, "class", "prev-button-container svelte-ji1fh");
|
8829
8833
|
},
|
8830
8834
|
m(target, anchor) {
|
8831
8835
|
insert(target, div, anchor);
|
@@ -8856,7 +8860,7 @@ function create_if_block_1$1(ctx) {
|
|
8856
8860
|
}
|
8857
8861
|
|
8858
8862
|
// (380:2) {#if isVisibleNextButton}
|
8859
|
-
function create_if_block$
|
8863
|
+
function create_if_block$7(ctx) {
|
8860
8864
|
let div;
|
8861
8865
|
let button;
|
8862
8866
|
let svg;
|
@@ -8874,9 +8878,9 @@ function create_if_block$6(ctx) {
|
|
8874
8878
|
attr(svg, "viewBox", "0 0 10 16");
|
8875
8879
|
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
8876
8880
|
attr(svg, "style", /*nextIconStyle*/ ctx[8]);
|
8877
|
-
attr(button, "class", "move-button svelte-
|
8881
|
+
attr(button, "class", "move-button svelte-ji1fh");
|
8878
8882
|
attr(button, "style", /*_nextButtonContainerStyle*/ ctx[7]);
|
8879
|
-
attr(div, "class", "next-button-container svelte-
|
8883
|
+
attr(div, "class", "next-button-container svelte-ji1fh");
|
8880
8884
|
},
|
8881
8885
|
m(target, anchor) {
|
8882
8886
|
insert(target, div, anchor);
|
@@ -8924,9 +8928,9 @@ function create_each_block(ctx) {
|
|
8924
8928
|
button = element("button");
|
8925
8929
|
div = element("div");
|
8926
8930
|
t = space();
|
8927
|
-
attr(div, "class", "navigation-item-inner circle svelte-
|
8931
|
+
attr(div, "class", "navigation-item-inner circle svelte-ji1fh");
|
8928
8932
|
attr(div, "style", div_style_value = /*getNavigationItemInnerStyle*/ ctx[5](/*i*/ ctx[63]));
|
8929
|
-
attr(button, "class", "navigation-item svelte-
|
8933
|
+
attr(button, "class", "navigation-item svelte-ji1fh");
|
8930
8934
|
attr(button, "style", /*navigationItemStyle*/ ctx[6]);
|
8931
8935
|
},
|
8932
8936
|
m(target, anchor) {
|
@@ -8971,7 +8975,7 @@ function create_fragment$N(ctx) {
|
|
8971
8975
|
const default_slot_template = /*#slots*/ ctx[32].default;
|
8972
8976
|
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[31], null);
|
8973
8977
|
let if_block0 = /*isVisiblePrevButton*/ ctx[12] && create_if_block_1$1(ctx);
|
8974
|
-
let if_block1 = /*isVisibleNextButton*/ ctx[11] && create_if_block$
|
8978
|
+
let if_block1 = /*isVisibleNextButton*/ ctx[11] && create_if_block$7(ctx);
|
8975
8979
|
let each_value = /*items*/ ctx[1];
|
8976
8980
|
let each_blocks = [];
|
8977
8981
|
|
@@ -9003,14 +9007,14 @@ function create_fragment$N(ctx) {
|
|
9003
9007
|
each_blocks[i].c();
|
9004
9008
|
}
|
9005
9009
|
|
9006
|
-
attr(div0, "class", div0_class_value = "" + (null_to_empty(/*slideClass*/ ctx[13]) + " svelte-
|
9010
|
+
attr(div0, "class", div0_class_value = "" + (null_to_empty(/*slideClass*/ ctx[13]) + " svelte-ji1fh"));
|
9007
9011
|
attr(div0, "style", /*slideStyle*/ ctx[14]);
|
9008
|
-
attr(div1, "class", "container svelte-
|
9012
|
+
attr(div1, "class", "container svelte-ji1fh");
|
9009
9013
|
attr(div1, "style", /*_style*/ ctx[0]);
|
9010
|
-
attr(div2, "class", "navigation svelte-
|
9014
|
+
attr(div2, "class", "navigation svelte-ji1fh");
|
9011
9015
|
attr(div2, "style", /*navigationStyle*/ ctx[4]);
|
9012
9016
|
set_attributes(div3, div3_data);
|
9013
|
-
toggle_class(div3, "svelte-
|
9017
|
+
toggle_class(div3, "svelte-ji1fh", true);
|
9014
9018
|
},
|
9015
9019
|
m(target, anchor) {
|
9016
9020
|
insert(target, div3, anchor);
|
@@ -9052,7 +9056,7 @@ function create_fragment$N(ctx) {
|
|
9052
9056
|
}
|
9053
9057
|
}
|
9054
9058
|
|
9055
|
-
if (!current || dirty[0] & /*slideClass*/ 8192 && div0_class_value !== (div0_class_value = "" + (null_to_empty(/*slideClass*/ ctx[13]) + " svelte-
|
9059
|
+
if (!current || dirty[0] & /*slideClass*/ 8192 && div0_class_value !== (div0_class_value = "" + (null_to_empty(/*slideClass*/ ctx[13]) + " svelte-ji1fh"))) {
|
9056
9060
|
attr(div0, "class", div0_class_value);
|
9057
9061
|
}
|
9058
9062
|
|
@@ -9081,7 +9085,7 @@ function create_fragment$N(ctx) {
|
|
9081
9085
|
if (if_block1) {
|
9082
9086
|
if_block1.p(ctx, dirty);
|
9083
9087
|
} else {
|
9084
|
-
if_block1 = create_if_block$
|
9088
|
+
if_block1 = create_if_block$7(ctx);
|
9085
9089
|
if_block1.c();
|
9086
9090
|
if_block1.m(div3, t2);
|
9087
9091
|
}
|
@@ -9118,7 +9122,7 @@ function create_fragment$N(ctx) {
|
|
9118
9122
|
}
|
9119
9123
|
|
9120
9124
|
set_attributes(div3, div3_data = get_spread_update(div3_levels, [{ class: "root" }, dataAttrStopPropagation('click')]));
|
9121
|
-
toggle_class(div3, "svelte-
|
9125
|
+
toggle_class(div3, "svelte-ji1fh", true);
|
9122
9126
|
},
|
9123
9127
|
i(local) {
|
9124
9128
|
if (current) return;
|
@@ -9630,7 +9634,7 @@ class Slide extends SvelteComponent {
|
|
9630
9634
|
/* src/components/SlideItem.svelte generated by Svelte v3.53.1 */
|
9631
9635
|
|
9632
9636
|
function add_css$j(target) {
|
9633
|
-
append_styles(target, "svelte-
|
9637
|
+
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}");
|
9634
9638
|
}
|
9635
9639
|
|
9636
9640
|
function create_fragment$M(ctx) {
|
@@ -9645,9 +9649,9 @@ function create_fragment$M(ctx) {
|
|
9645
9649
|
div1 = element("div");
|
9646
9650
|
div0 = element("div");
|
9647
9651
|
if (default_slot) default_slot.c();
|
9648
|
-
attr(div0, "class", "item-inner svelte-
|
9652
|
+
attr(div0, "class", "item-inner svelte-9ygf1w");
|
9649
9653
|
attr(div0, "style", /*_style*/ ctx[0]);
|
9650
|
-
attr(div1, "class", "item svelte-
|
9654
|
+
attr(div1, "class", "item svelte-9ygf1w");
|
9651
9655
|
attr(div1, "style", /*itemStyle*/ ctx[1]);
|
9652
9656
|
},
|
9653
9657
|
m(target, anchor) {
|
@@ -9773,7 +9777,7 @@ class SlideItem extends SvelteComponent {
|
|
9773
9777
|
/* src/components/Countdown.svelte generated by Svelte v3.53.1 */
|
9774
9778
|
|
9775
9779
|
function add_css$i(target) {
|
9776
|
-
append_styles(target, "svelte-
|
9780
|
+
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}");
|
9777
9781
|
}
|
9778
9782
|
|
9779
9783
|
const get_default_slot_changes = dirty => ({ countdown: dirty & /*countdown*/ 2 });
|
@@ -9791,9 +9795,9 @@ function create_fragment$L(ctx) {
|
|
9791
9795
|
div1 = element("div");
|
9792
9796
|
div0 = element("div");
|
9793
9797
|
if (default_slot) default_slot.c();
|
9794
|
-
attr(div0, "class", "countdown-inner svelte-
|
9798
|
+
attr(div0, "class", "countdown-inner svelte-rroxiz");
|
9795
9799
|
attr(div0, "style", /*_style*/ ctx[0]);
|
9796
|
-
attr(div1, "class", "countdown svelte-
|
9800
|
+
attr(div1, "class", "countdown svelte-rroxiz");
|
9797
9801
|
},
|
9798
9802
|
m(target, anchor) {
|
9799
9803
|
insert(target, div1, anchor);
|
@@ -9927,7 +9931,7 @@ class Countdown extends SvelteComponent {
|
|
9927
9931
|
/* src/components/Box.svelte generated by Svelte v3.53.1 */
|
9928
9932
|
|
9929
9933
|
function add_css$h(target) {
|
9930
|
-
append_styles(target, "svelte-
|
9934
|
+
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}");
|
9931
9935
|
}
|
9932
9936
|
|
9933
9937
|
// (24:2) <Button {onClick} style={_style} {eventName}>
|
@@ -9997,7 +10001,7 @@ function create_fragment$K(ctx) {
|
|
9997
10001
|
c() {
|
9998
10002
|
div = element("div");
|
9999
10003
|
create_component(button.$$.fragment);
|
10000
|
-
attr(div, "class", "box svelte-
|
10004
|
+
attr(div, "class", "box svelte-1ccydfy");
|
10001
10005
|
},
|
10002
10006
|
m(target, anchor) {
|
10003
10007
|
insert(target, div, anchor);
|
@@ -10058,11 +10062,11 @@ class Box extends SvelteComponent {
|
|
10058
10062
|
/* src/components/IconElement.svelte generated by Svelte v3.53.1 */
|
10059
10063
|
|
10060
10064
|
function add_css$g(target) {
|
10061
|
-
append_styles(target, "svelte-
|
10065
|
+
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)}");
|
10062
10066
|
}
|
10063
10067
|
|
10064
10068
|
// (56:4) {#if svg}
|
10065
|
-
function create_if_block$
|
10069
|
+
function create_if_block$6(ctx) {
|
10066
10070
|
let html_tag;
|
10067
10071
|
let html_anchor;
|
10068
10072
|
|
@@ -10089,7 +10093,7 @@ function create_if_block$5(ctx) {
|
|
10089
10093
|
// (55:2) <Button {onClick} {style} {eventName}>
|
10090
10094
|
function create_default_slot$1(ctx) {
|
10091
10095
|
let if_block_anchor;
|
10092
|
-
let if_block = /*svg*/ ctx[3] && create_if_block$
|
10096
|
+
let if_block = /*svg*/ ctx[3] && create_if_block$6(ctx);
|
10093
10097
|
|
10094
10098
|
return {
|
10095
10099
|
c() {
|
@@ -10105,7 +10109,7 @@ function create_default_slot$1(ctx) {
|
|
10105
10109
|
if (if_block) {
|
10106
10110
|
if_block.p(ctx, dirty);
|
10107
10111
|
} else {
|
10108
|
-
if_block = create_if_block$
|
10112
|
+
if_block = create_if_block$6(ctx);
|
10109
10113
|
if_block.c();
|
10110
10114
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
10111
10115
|
}
|
@@ -10140,7 +10144,7 @@ function create_fragment$J(ctx) {
|
|
10140
10144
|
c() {
|
10141
10145
|
div = element("div");
|
10142
10146
|
create_component(button.$$.fragment);
|
10143
|
-
attr(div, "class", "icon svelte-
|
10147
|
+
attr(div, "class", "icon svelte-1mkvcuo");
|
10144
10148
|
},
|
10145
10149
|
m(target, anchor) {
|
10146
10150
|
insert(target, div, anchor);
|
@@ -10249,7 +10253,7 @@ class IconElement extends SvelteComponent {
|
|
10249
10253
|
/* src/components/CodeElement.svelte generated by Svelte v3.53.1 */
|
10250
10254
|
|
10251
10255
|
function add_css$f(target) {
|
10252
|
-
append_styles(target, "svelte-
|
10256
|
+
append_styles(target, "svelte-ymsb9l", ".codeElement.svelte-ymsb9l{box-sizing:border-box;margin:0px;padding:0px;width:100%;height:100%}");
|
10253
10257
|
}
|
10254
10258
|
|
10255
10259
|
function create_fragment$I(ctx) {
|
@@ -10275,7 +10279,7 @@ function create_fragment$I(ctx) {
|
|
10275
10279
|
c() {
|
10276
10280
|
div = element("div");
|
10277
10281
|
if (switch_instance) create_component(switch_instance.$$.fragment);
|
10278
|
-
attr(div, "class", "codeElement svelte-
|
10282
|
+
attr(div, "class", "codeElement svelte-ymsb9l");
|
10279
10283
|
attr(div, "style", /*style*/ ctx[3]);
|
10280
10284
|
},
|
10281
10285
|
m(target, anchor) {
|
@@ -10364,7 +10368,7 @@ class CodeElement extends SvelteComponent {
|
|
10364
10368
|
/* src/components/Flex.svelte generated by Svelte v3.53.1 */
|
10365
10369
|
|
10366
10370
|
function add_css$e(target) {
|
10367
|
-
append_styles(target, "svelte-
|
10371
|
+
append_styles(target, "svelte-1e71ejc", ".flex.svelte-1e71ejc{display:flex}");
|
10368
10372
|
}
|
10369
10373
|
|
10370
10374
|
function create_fragment$H(ctx) {
|
@@ -10378,7 +10382,7 @@ function create_fragment$H(ctx) {
|
|
10378
10382
|
c() {
|
10379
10383
|
div = element("div");
|
10380
10384
|
if (default_slot) default_slot.c();
|
10381
|
-
attr(div, "class", "flex svelte-
|
10385
|
+
attr(div, "class", "flex svelte-1e71ejc");
|
10382
10386
|
attr(div, "style", div_style_value = "width:" + /*width*/ ctx[1] + "; height:" + /*height*/ ctx[2] + "; flex-direction:" + /*direction*/ ctx[0] + "; " + /*_style*/ ctx[3]);
|
10383
10387
|
},
|
10384
10388
|
m(target, anchor) {
|
@@ -10475,7 +10479,7 @@ class Flex extends SvelteComponent {
|
|
10475
10479
|
/* src/components/FlexItem.svelte generated by Svelte v3.53.1 */
|
10476
10480
|
|
10477
10481
|
function add_css$d(target) {
|
10478
|
-
append_styles(target, "svelte-
|
10482
|
+
append_styles(target, "svelte-1p0bk1x", ".flex-item.svelte-1p0bk1x{max-width:100%;max-height:100%;position:relative;isolation:isolate}");
|
10479
10483
|
}
|
10480
10484
|
|
10481
10485
|
function create_fragment$G(ctx) {
|
@@ -10488,7 +10492,7 @@ function create_fragment$G(ctx) {
|
|
10488
10492
|
c() {
|
10489
10493
|
div = element("div");
|
10490
10494
|
if (default_slot) default_slot.c();
|
10491
|
-
attr(div, "class", "flex-item svelte-
|
10495
|
+
attr(div, "class", "flex-item svelte-1p0bk1x");
|
10492
10496
|
attr(div, "style", /*style*/ ctx[0]);
|
10493
10497
|
},
|
10494
10498
|
m(target, anchor) {
|
@@ -10896,7 +10900,7 @@ class GridModalState extends SvelteComponent {
|
|
10896
10900
|
/* src/components/TextBlock.svelte generated by Svelte v3.53.1 */
|
10897
10901
|
|
10898
10902
|
function add_css$c(target) {
|
10899
|
-
append_styles(target, "svelte-
|
10903
|
+
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%}");
|
10900
10904
|
}
|
10901
10905
|
|
10902
10906
|
function create_fragment$E(ctx) {
|
@@ -10912,8 +10916,8 @@ function create_fragment$E(ctx) {
|
|
10912
10916
|
div1 = element("div");
|
10913
10917
|
div0 = element("div");
|
10914
10918
|
create_component(rendertext.$$.fragment);
|
10915
|
-
attr(div0, "class", "text-block-inner svelte-
|
10916
|
-
attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
10919
|
+
attr(div0, "class", "text-block-inner svelte-15pej1m");
|
10920
|
+
attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-15pej1m"));
|
10917
10921
|
attr(div1, "style", /*style*/ ctx[2]);
|
10918
10922
|
},
|
10919
10923
|
m(target, anchor) {
|
@@ -10927,7 +10931,7 @@ function create_fragment$E(ctx) {
|
|
10927
10931
|
if (dirty & /*text*/ 1) rendertext_changes.text = /*text*/ ctx[0];
|
10928
10932
|
rendertext.$set(rendertext_changes);
|
10929
10933
|
|
10930
|
-
if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
10934
|
+
if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-15pej1m"))) {
|
10931
10935
|
attr(div1, "class", div1_class_value);
|
10932
10936
|
}
|
10933
10937
|
|
@@ -11005,7 +11009,7 @@ class TextBlock extends SvelteComponent {
|
|
11005
11009
|
/* src/components/TextButtonBlock.svelte generated by Svelte v3.53.1 */
|
11006
11010
|
|
11007
11011
|
function add_css$b(target) {
|
11008
|
-
append_styles(target, "svelte-
|
11012
|
+
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)}");
|
11009
11013
|
}
|
11010
11014
|
|
11011
11015
|
function create_fragment$D(ctx) {
|
@@ -11022,9 +11026,9 @@ function create_fragment$D(ctx) {
|
|
11022
11026
|
div = element("div");
|
11023
11027
|
button = element("button");
|
11024
11028
|
create_component(rendertext.$$.fragment);
|
11025
|
-
attr(button, "class", "text-button svelte-
|
11029
|
+
attr(button, "class", "text-button svelte-ff0k6r");
|
11026
11030
|
attr(button, "style", /*_buttonStyle*/ ctx[1]);
|
11027
|
-
attr(div, "class", "text-button-block svelte-
|
11031
|
+
attr(div, "class", "text-button-block svelte-ff0k6r");
|
11028
11032
|
attr(div, "style", /*_style*/ ctx[2]);
|
11029
11033
|
},
|
11030
11034
|
m(target, anchor) {
|
@@ -11130,7 +11134,7 @@ class TextButtonBlock extends SvelteComponent {
|
|
11130
11134
|
/* src/components/ImageBlock.svelte generated by Svelte v3.53.1 */
|
11131
11135
|
|
11132
11136
|
function add_css$a(target) {
|
11133
|
-
append_styles(target, "svelte-
|
11137
|
+
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)}");
|
11134
11138
|
}
|
11135
11139
|
|
11136
11140
|
function create_fragment$C(ctx) {
|
@@ -11146,14 +11150,14 @@ function create_fragment$C(ctx) {
|
|
11146
11150
|
c() {
|
11147
11151
|
div = element("div");
|
11148
11152
|
img = element("img");
|
11149
|
-
attr(img, "class", "image svelte-
|
11153
|
+
attr(img, "class", "image svelte-1pdw891");
|
11150
11154
|
attr(img, "loading", "lazy");
|
11151
11155
|
attr(img, "width", "auto");
|
11152
11156
|
attr(img, "height", "auto");
|
11153
11157
|
attr(img, "style", img_style_value = `${/*_imageStyle*/ ctx[4]} object-fit: ${/*objectFit*/ ctx[3]};`);
|
11154
11158
|
if (!src_url_equal(img.src, img_src_value = /*src*/ ctx[0])) attr(img, "src", img_src_value);
|
11155
11159
|
attr(img, "alt", /*alt*/ ctx[1]);
|
11156
|
-
attr(div, "class", div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-
|
11160
|
+
attr(div, "class", div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-1pdw891"));
|
11157
11161
|
attr(div, "style", /*_style*/ ctx[5]);
|
11158
11162
|
},
|
11159
11163
|
m(target, anchor) {
|
@@ -11178,7 +11182,7 @@ function create_fragment$C(ctx) {
|
|
11178
11182
|
attr(img, "alt", /*alt*/ ctx[1]);
|
11179
11183
|
}
|
11180
11184
|
|
11181
|
-
if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-
|
11185
|
+
if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-1pdw891"))) {
|
11182
11186
|
attr(div, "class", div_class_value);
|
11183
11187
|
}
|
11184
11188
|
|
@@ -11349,7 +11353,7 @@ const toCssShadow = (p) => {
|
|
11349
11353
|
/* src/components-flex/avatar/Avatar.svelte generated by Svelte v3.53.1 */
|
11350
11354
|
|
11351
11355
|
function add_css$9(target) {
|
11352
|
-
append_styles(target, "svelte-
|
11356
|
+
append_styles(target, "svelte-17xar9h", ".avatar.svelte-17xar9h{display:flex;align-items:center;overflow:hidden;flex-shrink:0}");
|
11353
11357
|
}
|
11354
11358
|
|
11355
11359
|
function create_fragment$B(ctx) {
|
@@ -11365,7 +11369,7 @@ function create_fragment$B(ctx) {
|
|
11365
11369
|
if (!src_url_equal(img.src, img_src_value = /*props*/ ctx[0].image)) attr(img, "src", img_src_value);
|
11366
11370
|
attr(img, "alt", img_alt_value = /*props*/ ctx[0].alt);
|
11367
11371
|
attr(img, "style", /*imgStyle*/ ctx[2]);
|
11368
|
-
attr(div, "class", "avatar svelte-
|
11372
|
+
attr(div, "class", "avatar svelte-17xar9h");
|
11369
11373
|
attr(div, "data-layer-id", /*layerId*/ ctx[1]);
|
11370
11374
|
attr(div, "style", /*style*/ ctx[3]);
|
11371
11375
|
},
|
@@ -12977,11 +12981,11 @@ const ICON_PARAMS = [
|
|
12977
12981
|
/* src/components-flex/icon/Icon.svelte generated by Svelte v3.53.1 */
|
12978
12982
|
|
12979
12983
|
function add_css$8(target) {
|
12980
|
-
append_styles(target, "svelte-
|
12984
|
+
append_styles(target, "svelte-1mx2edd", ".icon.svelte-1mx2edd{display:inline-flex;align-items:center;overflow:hidden;width:auto}");
|
12981
12985
|
}
|
12982
12986
|
|
12983
12987
|
// (20:0) {#if (IconComponent)}
|
12984
|
-
function create_if_block$
|
12988
|
+
function create_if_block$5(ctx) {
|
12985
12989
|
let div;
|
12986
12990
|
let switch_instance;
|
12987
12991
|
let current;
|
@@ -13002,7 +13006,7 @@ function create_if_block$4(ctx) {
|
|
13002
13006
|
div = element("div");
|
13003
13007
|
if (switch_instance) create_component(switch_instance.$$.fragment);
|
13004
13008
|
attr(div, "data-layer-id", /*layerId*/ ctx[1]);
|
13005
|
-
attr(div, "class", "icon svelte-
|
13009
|
+
attr(div, "class", "icon svelte-1mx2edd");
|
13006
13010
|
attr(div, "style", /*style*/ ctx[3]);
|
13007
13011
|
},
|
13008
13012
|
m(target, anchor) {
|
@@ -13065,7 +13069,7 @@ function create_if_block$4(ctx) {
|
|
13065
13069
|
function create_fragment$8(ctx) {
|
13066
13070
|
let if_block_anchor;
|
13067
13071
|
let current;
|
13068
|
-
let if_block = /*IconComponent*/ ctx[2] && create_if_block$
|
13072
|
+
let if_block = /*IconComponent*/ ctx[2] && create_if_block$5(ctx);
|
13069
13073
|
|
13070
13074
|
return {
|
13071
13075
|
c() {
|
@@ -13086,7 +13090,7 @@ function create_fragment$8(ctx) {
|
|
13086
13090
|
transition_in(if_block, 1);
|
13087
13091
|
}
|
13088
13092
|
} else {
|
13089
|
-
if_block = create_if_block$
|
13093
|
+
if_block = create_if_block$5(ctx);
|
13090
13094
|
if_block.c();
|
13091
13095
|
transition_in(if_block, 1);
|
13092
13096
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
@@ -13254,11 +13258,11 @@ const BUTTON_VARIANTS = {
|
|
13254
13258
|
/* src/components-flex/button/Button.svelte generated by Svelte v3.53.1 */
|
13255
13259
|
|
13256
13260
|
function add_css$7(target) {
|
13257
|
-
append_styles(target, "svelte-
|
13261
|
+
append_styles(target, "svelte-bo01kn", ".button.svelte-bo01kn{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}.button-icon.svelte-bo01kn{display:flex;align-items:center;justify-content:center;margin-left:-0.2em;margin-right:-0.2em}");
|
13258
13262
|
}
|
13259
13263
|
|
13260
13264
|
// (47:2) {#if (props.isIcon && props.iconVariant)}
|
13261
|
-
function create_if_block$
|
13265
|
+
function create_if_block$4(ctx) {
|
13262
13266
|
let div;
|
13263
13267
|
let icon;
|
13264
13268
|
let current;
|
@@ -13276,7 +13280,7 @@ function create_if_block$3(ctx) {
|
|
13276
13280
|
c() {
|
13277
13281
|
div = element("div");
|
13278
13282
|
create_component(icon.$$.fragment);
|
13279
|
-
attr(div, "class", "button-icon svelte-
|
13283
|
+
attr(div, "class", "button-icon svelte-bo01kn");
|
13280
13284
|
},
|
13281
13285
|
m(target, anchor) {
|
13282
13286
|
insert(target, div, anchor);
|
@@ -13318,7 +13322,7 @@ function create_fragment$7(ctx) {
|
|
13318
13322
|
let current;
|
13319
13323
|
let mounted;
|
13320
13324
|
let dispose;
|
13321
|
-
let if_block = /*props*/ ctx[0].isIcon && /*props*/ ctx[0].iconVariant && create_if_block$
|
13325
|
+
let if_block = /*props*/ ctx[0].isIcon && /*props*/ ctx[0].iconVariant && create_if_block$4(ctx);
|
13322
13326
|
|
13323
13327
|
return {
|
13324
13328
|
c() {
|
@@ -13329,7 +13333,7 @@ function create_fragment$7(ctx) {
|
|
13329
13333
|
t1 = text(t1_value);
|
13330
13334
|
attr(button, "data-layer-id", /*layerId*/ ctx[1]);
|
13331
13335
|
attr(button, "style", /*style*/ ctx[2]);
|
13332
|
-
attr(button, "class", "button svelte-
|
13336
|
+
attr(button, "class", "button svelte-bo01kn");
|
13333
13337
|
},
|
13334
13338
|
m(target, anchor) {
|
13335
13339
|
insert(target, button, anchor);
|
@@ -13353,7 +13357,7 @@ function create_fragment$7(ctx) {
|
|
13353
13357
|
transition_in(if_block, 1);
|
13354
13358
|
}
|
13355
13359
|
} else {
|
13356
|
-
if_block = create_if_block$
|
13360
|
+
if_block = create_if_block$4(ctx);
|
13357
13361
|
if_block.c();
|
13358
13362
|
transition_in(if_block, 1);
|
13359
13363
|
if_block.m(button, t0);
|
@@ -13506,11 +13510,11 @@ const BUTTON_ICON_ANGLE = {
|
|
13506
13510
|
/* src/components-flex/text-button/TextButton.svelte generated by Svelte v3.53.1 */
|
13507
13511
|
|
13508
13512
|
function add_css$6(target) {
|
13509
|
-
append_styles(target, "svelte-
|
13513
|
+
append_styles(target, "svelte-2imv7z", ".flex-text-button.svelte-2imv7z{display:inline-flex;align-content:center;justify-content:center;gap:0.65em;cursor:pointer;outline:0;padding:0;text-decoration:underline;background-color:rgba(255, 255, 255, 0);transition:color 0.12s}.flex-text-button.svelte-2imv7z:hover{text-decoration:none}.flex-text-button-icon.svelte-2imv7z{display:flex;align-items:center;justify-content:center;margin-left:-0.2em;margin-right:-0.2em}");
|
13510
13514
|
}
|
13511
13515
|
|
13512
13516
|
// (103:4) {#if props.isIcon && props.iconVariant}
|
13513
|
-
function create_if_block$
|
13517
|
+
function create_if_block$3(ctx) {
|
13514
13518
|
let div;
|
13515
13519
|
let icon;
|
13516
13520
|
let current;
|
@@ -13528,7 +13532,7 @@ function create_if_block$2(ctx) {
|
|
13528
13532
|
c() {
|
13529
13533
|
div = element("div");
|
13530
13534
|
create_component(icon.$$.fragment);
|
13531
|
-
attr(div, "class", "flex-text-button-icon svelte-
|
13535
|
+
attr(div, "class", "flex-text-button-icon svelte-2imv7z");
|
13532
13536
|
},
|
13533
13537
|
m(target, anchor) {
|
13534
13538
|
insert(target, div, anchor);
|
@@ -13570,7 +13574,7 @@ function create_fragment$6(ctx) {
|
|
13570
13574
|
let current;
|
13571
13575
|
let mounted;
|
13572
13576
|
let dispose;
|
13573
|
-
let if_block = /*props*/ ctx[0].isIcon && /*props*/ ctx[0].iconVariant && create_if_block$
|
13577
|
+
let if_block = /*props*/ ctx[0].isIcon && /*props*/ ctx[0].iconVariant && create_if_block$3(ctx);
|
13574
13578
|
|
13575
13579
|
return {
|
13576
13580
|
c() {
|
@@ -13581,7 +13585,7 @@ function create_fragment$6(ctx) {
|
|
13581
13585
|
t1 = text(t1_value);
|
13582
13586
|
attr(button, "data-layer-id", /*layerId*/ ctx[1]);
|
13583
13587
|
attr(button, "style", /*style*/ ctx[2]);
|
13584
|
-
attr(button, "class", "flex-text-button svelte-
|
13588
|
+
attr(button, "class", "flex-text-button svelte-2imv7z");
|
13585
13589
|
},
|
13586
13590
|
m(target, anchor) {
|
13587
13591
|
insert(target, button, anchor);
|
@@ -13605,7 +13609,7 @@ function create_fragment$6(ctx) {
|
|
13605
13609
|
transition_in(if_block, 1);
|
13606
13610
|
}
|
13607
13611
|
} else {
|
13608
|
-
if_block = create_if_block$
|
13612
|
+
if_block = create_if_block$3(ctx);
|
13609
13613
|
if_block.c();
|
13610
13614
|
transition_in(if_block, 1);
|
13611
13615
|
if_block.m(button, t0);
|
@@ -13799,22 +13803,76 @@ const TEXT_BUTTON_ICON_ANGLE = {
|
|
13799
13803
|
'row-reverse': '右側',
|
13800
13804
|
};
|
13801
13805
|
|
13806
|
+
const CLOSE_BUTTON_PLACEMENT = {
|
13807
|
+
topRight: 'topRight',
|
13808
|
+
topLeft: 'topLeft',
|
13809
|
+
bottomRight: 'bottomRight',
|
13810
|
+
bottomLeft: 'bottomLeft',
|
13811
|
+
};
|
13812
|
+
const CLOSE_BUTTON_ROUND = {
|
13813
|
+
default: 'デフォルト',
|
13814
|
+
none: 'なし',
|
13815
|
+
fulled: '円形',
|
13816
|
+
};
|
13817
|
+
const CLOSE_BUTTON_LABEL_PLACEMENT = {
|
13818
|
+
right: 'right',
|
13819
|
+
left: 'left',
|
13820
|
+
};
|
13821
|
+
|
13802
13822
|
/* src/components-flex/close-button/CloseButton.svelte generated by Svelte v3.53.1 */
|
13803
13823
|
|
13804
13824
|
function add_css$5(target) {
|
13805
|
-
append_styles(target, "svelte-
|
13825
|
+
append_styles(target, "svelte-1l8m1e9", ".close.svelte-1l8m1e9{position:absolute;top:8px;right:8px}.close-button-row.svelte-1l8m1e9{display:flex;flex-direction:row;align-items:center;gap:4px}.close-button.svelte-1l8m1e9{display:inline-flex;align-items:center;justify-content:center;border-radius:100%;background:none;cursor:pointer;border:0;outline:0;transition:background-color 0.12s, border-color 0.12s, color 0.12s}.close-button.svelte-1l8m1e9:hover{transform:rotate(90deg)}.close-button-order-one.svelte-1l8m1e9{order:1}.close-button-order-two.svelte-1l8m1e9{order:2}.close-button-label.svelte-1l8m1e9{color:var(--close-button-label-color, '#ccc')}");
|
13826
|
+
}
|
13827
|
+
|
13828
|
+
// (99:4) {#if hasLabel}
|
13829
|
+
function create_if_block$2(ctx) {
|
13830
|
+
let span;
|
13831
|
+
let t;
|
13832
|
+
|
13833
|
+
return {
|
13834
|
+
c() {
|
13835
|
+
span = element("span");
|
13836
|
+
t = text(/*label*/ ctx[7]);
|
13837
|
+
attr(span, "style", /*labelCssVariable*/ ctx[2]);
|
13838
|
+
|
13839
|
+
attr(span, "class", "close-button-label " + (/*isLeftLabelPlacement*/ ctx[8]
|
13840
|
+
? 'close-button-order-one'
|
13841
|
+
: '') + " svelte-1l8m1e9");
|
13842
|
+
},
|
13843
|
+
m(target, anchor) {
|
13844
|
+
insert(target, span, anchor);
|
13845
|
+
append(span, t);
|
13846
|
+
},
|
13847
|
+
p(ctx, dirty) {
|
13848
|
+
if (dirty & /*labelCssVariable*/ 4) {
|
13849
|
+
attr(span, "style", /*labelCssVariable*/ ctx[2]);
|
13850
|
+
}
|
13851
|
+
},
|
13852
|
+
d(detaching) {
|
13853
|
+
if (detaching) detach(span);
|
13854
|
+
}
|
13855
|
+
};
|
13806
13856
|
}
|
13807
13857
|
|
13808
13858
|
function create_fragment$5(ctx) {
|
13859
|
+
let div1;
|
13860
|
+
let div0;
|
13809
13861
|
let button;
|
13810
13862
|
let svg;
|
13811
13863
|
let path;
|
13864
|
+
let button_class_value;
|
13865
|
+
let t;
|
13812
13866
|
let mounted;
|
13813
13867
|
let dispose;
|
13814
13868
|
|
13815
13869
|
let button_levels = [
|
13816
13870
|
{ "data-layer-id": /*layerId*/ ctx[0] },
|
13817
|
-
{
|
13871
|
+
{
|
13872
|
+
class: button_class_value = "close-button " + (/*isLeftLabelPlacement*/ ctx[8]
|
13873
|
+
? 'close-button-order-two'
|
13874
|
+
: '')
|
13875
|
+
},
|
13818
13876
|
{ style: /*style*/ ctx[1] },
|
13819
13877
|
dataAttrStopPropagation('click')
|
13820
13878
|
];
|
@@ -13825,45 +13883,76 @@ function create_fragment$5(ctx) {
|
|
13825
13883
|
button_data = assign(button_data, button_levels[i]);
|
13826
13884
|
}
|
13827
13885
|
|
13886
|
+
let if_block = /*hasLabel*/ ctx[4] && create_if_block$2(ctx);
|
13887
|
+
|
13828
13888
|
return {
|
13829
13889
|
c() {
|
13890
|
+
div1 = element("div");
|
13891
|
+
div0 = element("div");
|
13830
13892
|
button = element("button");
|
13831
13893
|
svg = svg_element("svg");
|
13832
13894
|
path = svg_element("path");
|
13895
|
+
t = space();
|
13896
|
+
if (if_block) if_block.c();
|
13833
13897
|
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");
|
13834
13898
|
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
13835
13899
|
set_style(svg, "width", "75%");
|
13836
13900
|
set_style(svg, "height", "75%");
|
13837
13901
|
attr(svg, "viewBox", "0 0 50 50");
|
13838
|
-
attr(svg, "fill",
|
13902
|
+
attr(svg, "fill", /*color*/ ctx[6]);
|
13839
13903
|
set_attributes(button, button_data);
|
13840
|
-
toggle_class(button, "svelte-
|
13904
|
+
toggle_class(button, "svelte-1l8m1e9", true);
|
13905
|
+
attr(div0, "class", "close-button-row svelte-1l8m1e9");
|
13906
|
+
attr(div1, "class", "close svelte-1l8m1e9");
|
13907
|
+
attr(div1, "style", /*rootStyle*/ ctx[3]);
|
13841
13908
|
},
|
13842
13909
|
m(target, anchor) {
|
13843
|
-
insert(target,
|
13910
|
+
insert(target, div1, anchor);
|
13911
|
+
append(div1, div0);
|
13912
|
+
append(div0, button);
|
13844
13913
|
append(button, svg);
|
13845
13914
|
append(svg, path);
|
13846
13915
|
if (button.autofocus) button.focus();
|
13916
|
+
append(div0, t);
|
13917
|
+
if (if_block) if_block.m(div0, null);
|
13847
13918
|
|
13848
13919
|
if (!mounted) {
|
13849
|
-
dispose = listen(button, "click", prevent_default(checkStopPropagation('click', /*handleClick*/ ctx[
|
13920
|
+
dispose = listen(button, "click", prevent_default(checkStopPropagation('click', /*handleClick*/ ctx[5])));
|
13850
13921
|
mounted = true;
|
13851
13922
|
}
|
13852
13923
|
},
|
13853
13924
|
p(ctx, [dirty]) {
|
13854
13925
|
set_attributes(button, button_data = get_spread_update(button_levels, [
|
13855
13926
|
dirty & /*layerId*/ 1 && { "data-layer-id": /*layerId*/ ctx[0] },
|
13856
|
-
{ class:
|
13927
|
+
{ class: button_class_value },
|
13857
13928
|
dirty & /*style*/ 2 && { style: /*style*/ ctx[1] },
|
13858
13929
|
dataAttrStopPropagation('click')
|
13859
13930
|
]));
|
13860
13931
|
|
13861
|
-
toggle_class(button, "svelte-
|
13932
|
+
toggle_class(button, "svelte-1l8m1e9", true);
|
13933
|
+
|
13934
|
+
if (/*hasLabel*/ ctx[4]) {
|
13935
|
+
if (if_block) {
|
13936
|
+
if_block.p(ctx, dirty);
|
13937
|
+
} else {
|
13938
|
+
if_block = create_if_block$2(ctx);
|
13939
|
+
if_block.c();
|
13940
|
+
if_block.m(div0, null);
|
13941
|
+
}
|
13942
|
+
} else if (if_block) {
|
13943
|
+
if_block.d(1);
|
13944
|
+
if_block = null;
|
13945
|
+
}
|
13946
|
+
|
13947
|
+
if (dirty & /*rootStyle*/ 8) {
|
13948
|
+
attr(div1, "style", /*rootStyle*/ ctx[3]);
|
13949
|
+
}
|
13862
13950
|
},
|
13863
13951
|
i: noop,
|
13864
13952
|
o: noop,
|
13865
13953
|
d(detaching) {
|
13866
|
-
if (detaching) detach(
|
13954
|
+
if (detaching) detach(div1);
|
13955
|
+
if (if_block) if_block.d();
|
13867
13956
|
mounted = false;
|
13868
13957
|
dispose();
|
13869
13958
|
}
|
@@ -13871,14 +13960,34 @@ function create_fragment$5(ctx) {
|
|
13871
13960
|
}
|
13872
13961
|
|
13873
13962
|
function instance$5($$self, $$props, $$invalidate) {
|
13963
|
+
let hasLabel;
|
13964
|
+
let rootStyle;
|
13965
|
+
let labelCssVariable;
|
13874
13966
|
let style;
|
13875
|
-
let
|
13967
|
+
let $maximumZindex;
|
13968
|
+
component_subscribe($$self, maximumZindex, $$value => $$invalidate(12, $maximumZindex = $$value));
|
13876
13969
|
let { props = {} } = $$props;
|
13877
13970
|
let { layerId = '' } = $$props;
|
13878
13971
|
let { eventName = '' } = $$props;
|
13879
13972
|
let { eventValue = undefined } = $$props;
|
13880
13973
|
|
13974
|
+
const VARIANTS = {
|
13975
|
+
placement: {
|
13976
|
+
topRight: { top: '8px', right: '8px' },
|
13977
|
+
topLeft: { top: '8px', left: '8px' },
|
13978
|
+
bottomRight: { bottom: '8px', right: '8px' },
|
13979
|
+
bottomLeft: { bottom: '8px', left: '8px' }
|
13980
|
+
},
|
13981
|
+
round: {
|
13982
|
+
none: { borderRadius: 0 },
|
13983
|
+
default: {},
|
13984
|
+
fulled: { borderRadius: '56px' }
|
13985
|
+
}
|
13986
|
+
};
|
13987
|
+
|
13881
13988
|
function handleClick() {
|
13989
|
+
const onClick = { operation: 'closeApp', args: ['button'] };
|
13990
|
+
|
13882
13991
|
if (eventName) {
|
13883
13992
|
send_event(eventName, eventValue);
|
13884
13993
|
}
|
@@ -13887,27 +13996,64 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
13887
13996
|
}
|
13888
13997
|
|
13889
13998
|
const size = props.size ?? 24;
|
13999
|
+
const color = props.color ?? '#666';
|
14000
|
+
const label = props.label;
|
14001
|
+
const isLeftLabelPlacement = props.labelPlacement === 'left';
|
14002
|
+
|
14003
|
+
const getCssPlacement = () => {
|
14004
|
+
return {
|
14005
|
+
top: props.top ?? VARIANTS.placement[props.placement ?? 'topRight'].top,
|
14006
|
+
right: props.right ?? VARIANTS.placement[props.placement ?? 'topRight'].right,
|
14007
|
+
left: props.left ?? VARIANTS.placement[props.placement ?? 'topRight'].left,
|
14008
|
+
bottom: props.bottom ?? VARIANTS.placement[props.placement ?? 'topRight'].bottom
|
14009
|
+
};
|
14010
|
+
};
|
13890
14011
|
|
13891
14012
|
$$self.$$set = $$props => {
|
13892
|
-
if ('
|
13893
|
-
if ('props' in $$props) $$invalidate(4, props = $$props.props);
|
14013
|
+
if ('props' in $$props) $$invalidate(9, props = $$props.props);
|
13894
14014
|
if ('layerId' in $$props) $$invalidate(0, layerId = $$props.layerId);
|
13895
|
-
if ('eventName' in $$props) $$invalidate(
|
13896
|
-
if ('eventValue' in $$props) $$invalidate(
|
14015
|
+
if ('eventName' in $$props) $$invalidate(10, eventName = $$props.eventName);
|
14016
|
+
if ('eventValue' in $$props) $$invalidate(11, eventValue = $$props.eventValue);
|
13897
14017
|
};
|
13898
14018
|
|
13899
14019
|
$$self.$$.update = () => {
|
13900
|
-
if ($$self.$$.dirty &
|
14020
|
+
if ($$self.$$.dirty & /*$maximumZindex*/ 4096) {
|
14021
|
+
$$invalidate(3, rootStyle = objToStyle({
|
14022
|
+
...getCssPlacement(),
|
14023
|
+
zIndex: $maximumZindex + 1
|
14024
|
+
}));
|
14025
|
+
}
|
14026
|
+
|
14027
|
+
if ($$self.$$.dirty & /*props*/ 512) {
|
13901
14028
|
$$invalidate(1, style = objToStyle({
|
13902
14029
|
width: `${size}px`,
|
13903
14030
|
height: `${size}px`,
|
13904
14031
|
...props.bordered && { border: '1px solid #666' },
|
14032
|
+
backgroundColor: props.backgroundColor ?? 'transparent',
|
14033
|
+
...VARIANTS.round[props.round ?? 'default'],
|
13905
14034
|
...toCssCommon(props)
|
13906
14035
|
}));
|
13907
14036
|
}
|
13908
14037
|
};
|
13909
14038
|
|
13910
|
-
|
14039
|
+
$$invalidate(4, hasLabel = label !== undefined && label !== '');
|
14040
|
+
$$invalidate(2, labelCssVariable = '--close-button-label-color: {props.labelColor}');
|
14041
|
+
|
14042
|
+
return [
|
14043
|
+
layerId,
|
14044
|
+
style,
|
14045
|
+
labelCssVariable,
|
14046
|
+
rootStyle,
|
14047
|
+
hasLabel,
|
14048
|
+
handleClick,
|
14049
|
+
color,
|
14050
|
+
label,
|
14051
|
+
isLeftLabelPlacement,
|
14052
|
+
props,
|
14053
|
+
eventName,
|
14054
|
+
eventValue,
|
14055
|
+
$maximumZindex
|
14056
|
+
];
|
13911
14057
|
}
|
13912
14058
|
|
13913
14059
|
class CloseButton extends SvelteComponent {
|
@@ -13921,11 +14067,10 @@ class CloseButton extends SvelteComponent {
|
|
13921
14067
|
create_fragment$5,
|
13922
14068
|
safe_not_equal,
|
13923
14069
|
{
|
13924
|
-
|
13925
|
-
props: 4,
|
14070
|
+
props: 9,
|
13926
14071
|
layerId: 0,
|
13927
|
-
eventName:
|
13928
|
-
eventValue:
|
14072
|
+
eventName: 10,
|
14073
|
+
eventValue: 11
|
13929
14074
|
},
|
13930
14075
|
add_css$5
|
13931
14076
|
);
|
@@ -13935,7 +14080,7 @@ class CloseButton extends SvelteComponent {
|
|
13935
14080
|
/* src/components-flex/image/Image.svelte generated by Svelte v3.53.1 */
|
13936
14081
|
|
13937
14082
|
function add_css$4(target) {
|
13938
|
-
append_styles(target, "svelte-
|
14083
|
+
append_styles(target, "svelte-52a988", ".image.svelte-52a988{max-width:100%;overflow:hidden;flex-shrink:0}.image-object.svelte-52a988{width:100%;overflow:hidden}.image-img.svelte-52a988{vertical-align:top;width:100%;height:100%;object-fit:cover;user-select:none}");
|
13939
14084
|
}
|
13940
14085
|
|
13941
14086
|
function create_fragment$4(ctx) {
|
@@ -13952,11 +14097,11 @@ function create_fragment$4(ctx) {
|
|
13952
14097
|
img = element("img");
|
13953
14098
|
if (!src_url_equal(img.src, img_src_value = /*props*/ ctx[0].image)) attr(img, "src", img_src_value);
|
13954
14099
|
attr(img, "alt", img_alt_value = /*props*/ ctx[0].alt);
|
13955
|
-
attr(img, "class", "image-img svelte-
|
14100
|
+
attr(img, "class", "image-img svelte-52a988");
|
13956
14101
|
attr(object, "style", /*objectStyle*/ ctx[2]);
|
13957
|
-
attr(object, "class", "image-object svelte-
|
14102
|
+
attr(object, "class", "image-object svelte-52a988");
|
13958
14103
|
attr(div, "data-layer-id", /*layerId*/ ctx[1]);
|
13959
|
-
attr(div, "class", "image svelte-
|
14104
|
+
attr(div, "class", "image svelte-52a988");
|
13960
14105
|
attr(div, "style", /*style*/ ctx[3]);
|
13961
14106
|
},
|
13962
14107
|
m(target, anchor) {
|
@@ -14030,7 +14175,7 @@ class Image extends SvelteComponent {
|
|
14030
14175
|
/* src/components-flex/layout/Layout.svelte generated by Svelte v3.53.1 */
|
14031
14176
|
|
14032
14177
|
function add_css$3(target) {
|
14033
|
-
append_styles(target, "svelte-
|
14178
|
+
append_styles(target, "svelte-1g6q4hu", ".layout.svelte-1g6q4hu{margin:0}");
|
14034
14179
|
}
|
14035
14180
|
|
14036
14181
|
function create_fragment$3(ctx) {
|
@@ -14044,7 +14189,7 @@ function create_fragment$3(ctx) {
|
|
14044
14189
|
div = element("div");
|
14045
14190
|
if (default_slot) default_slot.c();
|
14046
14191
|
attr(div, "data-layer-id", /*layerId*/ ctx[0]);
|
14047
|
-
attr(div, "class", "layout svelte-
|
14192
|
+
attr(div, "class", "layout svelte-1g6q4hu");
|
14048
14193
|
attr(div, "style", /*style*/ ctx[1]);
|
14049
14194
|
},
|
14050
14195
|
m(target, anchor) {
|
@@ -14197,7 +14342,7 @@ const TEXT_VARIANTS = {
|
|
14197
14342
|
/* src/components-flex/text/Text.svelte generated by Svelte v3.53.1 */
|
14198
14343
|
|
14199
14344
|
function add_css$2(target) {
|
14200
|
-
append_styles(target, "svelte-
|
14345
|
+
append_styles(target, "svelte-1vl0c87", ".text.svelte-1vl0c87{margin:0;word-break:break-all}");
|
14201
14346
|
}
|
14202
14347
|
|
14203
14348
|
function create_fragment$2(ctx) {
|
@@ -14207,7 +14352,7 @@ function create_fragment$2(ctx) {
|
|
14207
14352
|
c() {
|
14208
14353
|
p = element("p");
|
14209
14354
|
attr(p, "data-layer-id", /*layerId*/ ctx[0]);
|
14210
|
-
attr(p, "class", "text svelte-
|
14355
|
+
attr(p, "class", "text svelte-1vl0c87");
|
14211
14356
|
attr(p, "style", /*style*/ ctx[1]);
|
14212
14357
|
},
|
14213
14358
|
m(target, anchor) {
|
@@ -14301,7 +14446,7 @@ const LAYER_TEXT_SIZE = {
|
|
14301
14446
|
/* src/components-flex/background-overlay/BackgroundOverlay.svelte generated by Svelte v3.53.1 */
|
14302
14447
|
|
14303
14448
|
function add_css$1(target) {
|
14304
|
-
append_styles(target, "svelte-
|
14449
|
+
append_styles(target, "svelte-18nkdjz", ".v2-background.svelte-18nkdjz{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.3);z-index:2147483646}");
|
14305
14450
|
}
|
14306
14451
|
|
14307
14452
|
// (14:0) {#if backgroundOverlay}
|
@@ -14314,7 +14459,7 @@ function create_if_block$1(ctx) {
|
|
14314
14459
|
return {
|
14315
14460
|
c() {
|
14316
14461
|
div = element("div");
|
14317
|
-
attr(div, "class", div_class_value = "" + (null_to_empty(['v2-background', /*className*/ ctx[1] || ''].join(' ')) + " svelte-
|
14462
|
+
attr(div, "class", div_class_value = "" + (null_to_empty(['v2-background', /*className*/ ctx[1] || ''].join(' ')) + " svelte-18nkdjz"));
|
14318
14463
|
},
|
14319
14464
|
m(target, anchor) {
|
14320
14465
|
insert(target, div, anchor);
|
@@ -14325,7 +14470,7 @@ function create_if_block$1(ctx) {
|
|
14325
14470
|
}
|
14326
14471
|
},
|
14327
14472
|
p(ctx, dirty) {
|
14328
|
-
if (dirty & /*className*/ 2 && div_class_value !== (div_class_value = "" + (null_to_empty(['v2-background', /*className*/ ctx[1] || ''].join(' ')) + " svelte-
|
14473
|
+
if (dirty & /*className*/ 2 && div_class_value !== (div_class_value = "" + (null_to_empty(['v2-background', /*className*/ ctx[1] || ''].join(' ')) + " svelte-18nkdjz"))) {
|
14329
14474
|
attr(div, "class", div_class_value);
|
14330
14475
|
}
|
14331
14476
|
},
|
@@ -14397,22 +14542,22 @@ class BackgroundOverlay extends SvelteComponent {
|
|
14397
14542
|
/* src/components-flex/modal/Modal.svelte generated by Svelte v3.53.1 */
|
14398
14543
|
|
14399
14544
|
function add_css(target) {
|
14400
|
-
append_styles(target, "svelte-
|
14545
|
+
append_styles(target, "svelte-5997yi", ".modal.svelte-5997yi{position:fixed;box-sizing:border-box;z-index:2147483647;display:flex}.modal.svelte-5997yi > .button{flex:auto;display:flex}@media screen and (min-width: 641px){.modal-bp.svelte-5997yi{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-5997yi{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}}");
|
14401
14546
|
}
|
14402
14547
|
|
14403
|
-
// (
|
14548
|
+
// (253:0) {:else}
|
14404
14549
|
function create_else_block(ctx) {
|
14405
14550
|
let backgroundoverlay;
|
14406
14551
|
let current;
|
14407
14552
|
|
14408
14553
|
backgroundoverlay = new BackgroundOverlay({
|
14409
14554
|
props: {
|
14410
|
-
backgroundOverlay: /*backgroundOverlay*/ ctx[
|
14555
|
+
backgroundOverlay: /*backgroundOverlay*/ ctx[3]
|
14411
14556
|
}
|
14412
14557
|
});
|
14413
14558
|
|
14414
14559
|
backgroundoverlay.$on("click", function () {
|
14415
|
-
if (is_function(/*backgroundClick*/ ctx[
|
14560
|
+
if (is_function(/*backgroundClick*/ ctx[11])) /*backgroundClick*/ ctx[11].apply(this, arguments);
|
14416
14561
|
});
|
14417
14562
|
|
14418
14563
|
return {
|
@@ -14426,7 +14571,7 @@ function create_else_block(ctx) {
|
|
14426
14571
|
p(new_ctx, dirty) {
|
14427
14572
|
ctx = new_ctx;
|
14428
14573
|
const backgroundoverlay_changes = {};
|
14429
|
-
if (dirty
|
14574
|
+
if (dirty & /*backgroundOverlay*/ 8) backgroundoverlay_changes.backgroundOverlay = /*backgroundOverlay*/ ctx[3];
|
14430
14575
|
backgroundoverlay.$set(backgroundoverlay_changes);
|
14431
14576
|
},
|
14432
14577
|
i(local) {
|
@@ -14444,8 +14589,8 @@ function create_else_block(ctx) {
|
|
14444
14589
|
};
|
14445
14590
|
}
|
14446
14591
|
|
14447
|
-
// (
|
14448
|
-
function
|
14592
|
+
// (242:24)
|
14593
|
+
function create_if_block_2(ctx) {
|
14449
14594
|
let backgroundoverlay0;
|
14450
14595
|
let t;
|
14451
14596
|
let backgroundoverlay1;
|
@@ -14454,23 +14599,23 @@ function create_if_block_3(ctx) {
|
|
14454
14599
|
backgroundoverlay0 = new BackgroundOverlay({
|
14455
14600
|
props: {
|
14456
14601
|
class: "background-bp-pc",
|
14457
|
-
backgroundOverlay: /*backgroundOverlayPC*/ ctx[
|
14602
|
+
backgroundOverlay: /*backgroundOverlayPC*/ ctx[4]
|
14458
14603
|
}
|
14459
14604
|
});
|
14460
14605
|
|
14461
14606
|
backgroundoverlay0.$on("click", function () {
|
14462
|
-
if (is_function(/*backgroundClickPC*/ ctx[
|
14607
|
+
if (is_function(/*backgroundClickPC*/ ctx[10])) /*backgroundClickPC*/ ctx[10].apply(this, arguments);
|
14463
14608
|
});
|
14464
14609
|
|
14465
14610
|
backgroundoverlay1 = new BackgroundOverlay({
|
14466
14611
|
props: {
|
14467
14612
|
class: "background-bp-sp ",
|
14468
|
-
backgroundOverlay: /*backgroundOverlaySP*/ ctx[
|
14613
|
+
backgroundOverlay: /*backgroundOverlaySP*/ ctx[5]
|
14469
14614
|
}
|
14470
14615
|
});
|
14471
14616
|
|
14472
14617
|
backgroundoverlay1.$on("click", function () {
|
14473
|
-
if (is_function(/*backgroundClickSP*/ ctx[
|
14618
|
+
if (is_function(/*backgroundClickSP*/ ctx[9])) /*backgroundClickSP*/ ctx[9].apply(this, arguments);
|
14474
14619
|
});
|
14475
14620
|
|
14476
14621
|
return {
|
@@ -14488,10 +14633,10 @@ function create_if_block_3(ctx) {
|
|
14488
14633
|
p(new_ctx, dirty) {
|
14489
14634
|
ctx = new_ctx;
|
14490
14635
|
const backgroundoverlay0_changes = {};
|
14491
|
-
if (dirty
|
14636
|
+
if (dirty & /*backgroundOverlayPC*/ 16) backgroundoverlay0_changes.backgroundOverlay = /*backgroundOverlayPC*/ ctx[4];
|
14492
14637
|
backgroundoverlay0.$set(backgroundoverlay0_changes);
|
14493
14638
|
const backgroundoverlay1_changes = {};
|
14494
|
-
if (dirty
|
14639
|
+
if (dirty & /*backgroundOverlaySP*/ 32) backgroundoverlay1_changes.backgroundOverlay = /*backgroundOverlaySP*/ ctx[5];
|
14495
14640
|
backgroundoverlay1.$set(backgroundoverlay1_changes);
|
14496
14641
|
},
|
14497
14642
|
i(local) {
|
@@ -14513,8 +14658,8 @@ function create_if_block_3(ctx) {
|
|
14513
14658
|
};
|
14514
14659
|
}
|
14515
14660
|
|
14516
|
-
// (
|
14517
|
-
function
|
14661
|
+
// (240:0) {#if isPreview()}
|
14662
|
+
function create_if_block_1(ctx) {
|
14518
14663
|
return {
|
14519
14664
|
c: noop,
|
14520
14665
|
m: noop,
|
@@ -14525,94 +14670,64 @@ function create_if_block_2(ctx) {
|
|
14525
14670
|
};
|
14526
14671
|
}
|
14527
14672
|
|
14528
|
-
// (
|
14673
|
+
// (256:0) {#if visible}
|
14529
14674
|
function create_if_block(ctx) {
|
14530
14675
|
let div;
|
14531
|
-
let t;
|
14532
14676
|
let div_class_value;
|
14533
14677
|
let div_intro;
|
14534
14678
|
let current;
|
14535
|
-
|
14536
|
-
const
|
14537
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[29], null);
|
14679
|
+
const default_slot_template = /*#slots*/ ctx[26].default;
|
14680
|
+
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[25], null);
|
14538
14681
|
|
14539
14682
|
return {
|
14540
14683
|
c() {
|
14541
14684
|
div = element("div");
|
14542
|
-
if (if_block) if_block.c();
|
14543
|
-
t = space();
|
14544
14685
|
if (default_slot) default_slot.c();
|
14545
|
-
attr(div, "class", div_class_value = "" + (null_to_empty(['modal', /*useBreakPoint*/ ctx[0] ? 'modal-bp' : ''].join(' ')) + " svelte-
|
14686
|
+
attr(div, "class", div_class_value = "" + (null_to_empty(['modal', /*useBreakPoint*/ ctx[0] ? 'modal-bp' : ''].join(' ')) + " svelte-5997yi"));
|
14546
14687
|
attr(div, "role", "dialog");
|
14547
14688
|
attr(div, "aria-modal", "true");
|
14548
|
-
attr(div, "style", Array.from(/*modalStyles*/ ctx[
|
14689
|
+
attr(div, "style", Array.from(/*modalStyles*/ ctx[12]).join(';'));
|
14549
14690
|
},
|
14550
14691
|
m(target, anchor) {
|
14551
14692
|
insert(target, div, anchor);
|
14552
|
-
if (if_block) if_block.m(div, null);
|
14553
|
-
append(div, t);
|
14554
14693
|
|
14555
14694
|
if (default_slot) {
|
14556
14695
|
default_slot.m(div, null);
|
14557
14696
|
}
|
14558
14697
|
|
14559
|
-
/*div_binding*/ ctx[
|
14698
|
+
/*div_binding*/ ctx[27](div);
|
14560
14699
|
current = true;
|
14561
14700
|
},
|
14562
14701
|
p(new_ctx, dirty) {
|
14563
14702
|
ctx = new_ctx;
|
14564
14703
|
|
14565
|
-
if (/*closable*/ ctx[16]) {
|
14566
|
-
if (if_block) {
|
14567
|
-
if_block.p(ctx, dirty);
|
14568
|
-
|
14569
|
-
if (dirty[0] & /*closable*/ 65536) {
|
14570
|
-
transition_in(if_block, 1);
|
14571
|
-
}
|
14572
|
-
} else {
|
14573
|
-
if_block = create_if_block_1(ctx);
|
14574
|
-
if_block.c();
|
14575
|
-
transition_in(if_block, 1);
|
14576
|
-
if_block.m(div, t);
|
14577
|
-
}
|
14578
|
-
} else if (if_block) {
|
14579
|
-
group_outros();
|
14580
|
-
|
14581
|
-
transition_out(if_block, 1, 1, () => {
|
14582
|
-
if_block = null;
|
14583
|
-
});
|
14584
|
-
|
14585
|
-
check_outros();
|
14586
|
-
}
|
14587
|
-
|
14588
14704
|
if (default_slot) {
|
14589
|
-
if (default_slot.p && (!current || dirty
|
14705
|
+
if (default_slot.p && (!current || dirty & /*$$scope*/ 33554432)) {
|
14590
14706
|
update_slot_base(
|
14591
14707
|
default_slot,
|
14592
14708
|
default_slot_template,
|
14593
14709
|
ctx,
|
14594
|
-
/*$$scope*/ ctx[
|
14710
|
+
/*$$scope*/ ctx[25],
|
14595
14711
|
!current
|
14596
|
-
? get_all_dirty_from_scope(/*$$scope*/ ctx[
|
14597
|
-
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[
|
14712
|
+
? get_all_dirty_from_scope(/*$$scope*/ ctx[25])
|
14713
|
+
: get_slot_changes(default_slot_template, /*$$scope*/ ctx[25], dirty, null),
|
14598
14714
|
null
|
14599
14715
|
);
|
14600
14716
|
}
|
14601
14717
|
}
|
14602
14718
|
|
14603
|
-
if (!current || dirty
|
14719
|
+
if (!current || dirty & /*useBreakPoint*/ 1 && div_class_value !== (div_class_value = "" + (null_to_empty(['modal', /*useBreakPoint*/ ctx[0] ? 'modal-bp' : ''].join(' ')) + " svelte-5997yi"))) {
|
14604
14720
|
attr(div, "class", div_class_value);
|
14605
14721
|
}
|
14606
14722
|
},
|
14607
14723
|
i(local) {
|
14608
14724
|
if (current) return;
|
14609
|
-
transition_in(if_block);
|
14610
14725
|
transition_in(default_slot, local);
|
14611
14726
|
|
14612
14727
|
if (!div_intro) {
|
14613
14728
|
add_render_callback(() => {
|
14614
14729
|
div_intro = create_in_transition(div, customAnimation, {
|
14615
|
-
transforms: /*transforms*/ ctx[
|
14730
|
+
transforms: /*transforms*/ ctx[2],
|
14616
14731
|
animationStyle: /*animation*/ ctx[1]
|
14617
14732
|
});
|
14618
14733
|
|
@@ -14623,70 +14738,13 @@ function create_if_block(ctx) {
|
|
14623
14738
|
current = true;
|
14624
14739
|
},
|
14625
14740
|
o(local) {
|
14626
|
-
transition_out(if_block);
|
14627
14741
|
transition_out(default_slot, local);
|
14628
14742
|
current = false;
|
14629
14743
|
},
|
14630
14744
|
d(detaching) {
|
14631
14745
|
if (detaching) detach(div);
|
14632
|
-
if (if_block) if_block.d();
|
14633
14746
|
if (default_slot) default_slot.d(detaching);
|
14634
|
-
/*div_binding*/ ctx[
|
14635
|
-
}
|
14636
|
-
};
|
14637
|
-
}
|
14638
|
-
|
14639
|
-
// (279:4) {#if closable}
|
14640
|
-
function create_if_block_1(ctx) {
|
14641
|
-
let div;
|
14642
|
-
let closebutton;
|
14643
|
-
let current;
|
14644
|
-
|
14645
|
-
closebutton = new CloseButton({
|
14646
|
-
props: {
|
14647
|
-
onClick: /*onClose*/ ctx[2],
|
14648
|
-
eventName: /*closeEventName*/ ctx[3],
|
14649
|
-
eventValue: /*closeEventValue*/ ctx[4],
|
14650
|
-
props: /*closeButtonProps*/ ctx[5]
|
14651
|
-
}
|
14652
|
-
});
|
14653
|
-
|
14654
|
-
return {
|
14655
|
-
c() {
|
14656
|
-
div = element("div");
|
14657
|
-
create_component(closebutton.$$.fragment);
|
14658
|
-
attr(div, "class", "close svelte-f7e8di");
|
14659
|
-
set_style(div, "z-index", /*$maximumZindex*/ ctx[17] + 1);
|
14660
|
-
},
|
14661
|
-
m(target, anchor) {
|
14662
|
-
insert(target, div, anchor);
|
14663
|
-
mount_component(closebutton, div, null);
|
14664
|
-
current = true;
|
14665
|
-
},
|
14666
|
-
p(ctx, dirty) {
|
14667
|
-
const closebutton_changes = {};
|
14668
|
-
if (dirty[0] & /*onClose*/ 4) closebutton_changes.onClick = /*onClose*/ ctx[2];
|
14669
|
-
if (dirty[0] & /*closeEventName*/ 8) closebutton_changes.eventName = /*closeEventName*/ ctx[3];
|
14670
|
-
if (dirty[0] & /*closeEventValue*/ 16) closebutton_changes.eventValue = /*closeEventValue*/ ctx[4];
|
14671
|
-
if (dirty[0] & /*closeButtonProps*/ 32) closebutton_changes.props = /*closeButtonProps*/ ctx[5];
|
14672
|
-
closebutton.$set(closebutton_changes);
|
14673
|
-
|
14674
|
-
if (!current || dirty[0] & /*$maximumZindex*/ 131072) {
|
14675
|
-
set_style(div, "z-index", /*$maximumZindex*/ ctx[17] + 1);
|
14676
|
-
}
|
14677
|
-
},
|
14678
|
-
i(local) {
|
14679
|
-
if (current) return;
|
14680
|
-
transition_in(closebutton.$$.fragment, local);
|
14681
|
-
current = true;
|
14682
|
-
},
|
14683
|
-
o(local) {
|
14684
|
-
transition_out(closebutton.$$.fragment, local);
|
14685
|
-
current = false;
|
14686
|
-
},
|
14687
|
-
d(detaching) {
|
14688
|
-
if (detaching) detach(div);
|
14689
|
-
destroy_component(closebutton);
|
14747
|
+
/*div_binding*/ ctx[27](null);
|
14690
14748
|
}
|
14691
14749
|
};
|
14692
14750
|
}
|
@@ -14700,7 +14758,7 @@ function create_fragment(ctx) {
|
|
14700
14758
|
let current;
|
14701
14759
|
let mounted;
|
14702
14760
|
let dispose;
|
14703
|
-
const if_block_creators = [
|
14761
|
+
const if_block_creators = [create_if_block_1, create_if_block_2, create_else_block];
|
14704
14762
|
const if_blocks = [];
|
14705
14763
|
|
14706
14764
|
function select_block_type(ctx, dirty) {
|
@@ -14712,7 +14770,7 @@ function create_fragment(ctx) {
|
|
14712
14770
|
|
14713
14771
|
current_block_type_index = select_block_type(ctx);
|
14714
14772
|
if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
14715
|
-
let if_block1 = /*visible*/ ctx[
|
14773
|
+
let if_block1 = /*visible*/ ctx[7] && create_if_block(ctx);
|
14716
14774
|
|
14717
14775
|
return {
|
14718
14776
|
c() {
|
@@ -14730,13 +14788,13 @@ function create_fragment(ctx) {
|
|
14730
14788
|
|
14731
14789
|
if (!mounted) {
|
14732
14790
|
dispose = listen(window, "keydown", function () {
|
14733
|
-
if (is_function(/*handle_keydown*/ ctx[
|
14791
|
+
if (is_function(/*handle_keydown*/ ctx[8])) /*handle_keydown*/ ctx[8].apply(this, arguments);
|
14734
14792
|
});
|
14735
14793
|
|
14736
14794
|
mounted = true;
|
14737
14795
|
}
|
14738
14796
|
},
|
14739
|
-
p(new_ctx, dirty) {
|
14797
|
+
p(new_ctx, [dirty]) {
|
14740
14798
|
ctx = new_ctx;
|
14741
14799
|
let previous_block_index = current_block_type_index;
|
14742
14800
|
current_block_type_index = select_block_type(ctx);
|
@@ -14764,11 +14822,11 @@ function create_fragment(ctx) {
|
|
14764
14822
|
if_block0.m(t.parentNode, t);
|
14765
14823
|
}
|
14766
14824
|
|
14767
|
-
if (/*visible*/ ctx[
|
14825
|
+
if (/*visible*/ ctx[7]) {
|
14768
14826
|
if (if_block1) {
|
14769
14827
|
if_block1.p(ctx, dirty);
|
14770
14828
|
|
14771
|
-
if (dirty
|
14829
|
+
if (dirty & /*visible*/ 128) {
|
14772
14830
|
transition_in(if_block1, 1);
|
14773
14831
|
}
|
14774
14832
|
} else {
|
@@ -14811,14 +14869,11 @@ function create_fragment(ctx) {
|
|
14811
14869
|
|
14812
14870
|
function instance($$self, $$props, $$invalidate) {
|
14813
14871
|
let close;
|
14814
|
-
let closable;
|
14815
14872
|
let backgroundClick;
|
14816
14873
|
let backgroundClickPC;
|
14817
14874
|
let backgroundClickSP;
|
14818
14875
|
let handle_keydown;
|
14819
14876
|
let visible;
|
14820
|
-
let $maximumZindex;
|
14821
|
-
component_subscribe($$self, maximumZindex, $$value => $$invalidate(17, $maximumZindex = $$value));
|
14822
14877
|
let { $$slots: slots = {}, $$scope } = $$props;
|
14823
14878
|
let { onClick = { operation: 'none', args: [] } } = $$props;
|
14824
14879
|
let { clickEventName = '' } = $$props;
|
@@ -14828,10 +14883,8 @@ function instance($$self, $$props, $$invalidate) {
|
|
14828
14883
|
let { breakPoint } = $$props;
|
14829
14884
|
let { elasticity } = $$props;
|
14830
14885
|
let { animation = 'none' } = $$props;
|
14831
|
-
let { onClose = { operation: 'closeApp', args: ['button'] } } = $$props;
|
14832
14886
|
let { closeEventName = '' } = $$props;
|
14833
14887
|
let { closeEventValue = null } = $$props;
|
14834
|
-
let { closeButtonProps = {} } = $$props;
|
14835
14888
|
|
14836
14889
|
// モーダル背景の設定
|
14837
14890
|
let backgroundOverlay = DefaultModalPlacement.backgroundOverlay;
|
@@ -14849,7 +14902,7 @@ function instance($$self, $$props, $$invalidate) {
|
|
14849
14902
|
let modal;
|
14850
14903
|
|
14851
14904
|
onMount$1(() => {
|
14852
|
-
$$invalidate(
|
14905
|
+
$$invalidate(7, visible = true);
|
14853
14906
|
});
|
14854
14907
|
|
14855
14908
|
onDestroy$1(() => setPreviousFocus());
|
@@ -14857,29 +14910,29 @@ function instance($$self, $$props, $$invalidate) {
|
|
14857
14910
|
function div_binding($$value) {
|
14858
14911
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
14859
14912
|
modal = $$value;
|
14860
|
-
$$invalidate(
|
14913
|
+
$$invalidate(6, modal);
|
14861
14914
|
});
|
14862
14915
|
}
|
14863
14916
|
|
14864
14917
|
$$self.$$set = $$props => {
|
14865
|
-
if ('onClick' in $$props) $$invalidate(
|
14866
|
-
if ('clickEventName' in $$props) $$invalidate(
|
14867
|
-
if ('clickEventValue' in $$props) $$invalidate(
|
14918
|
+
if ('onClick' in $$props) $$invalidate(13, onClick = $$props.onClick);
|
14919
|
+
if ('clickEventName' in $$props) $$invalidate(14, clickEventName = $$props.clickEventName);
|
14920
|
+
if ('clickEventValue' in $$props) $$invalidate(15, clickEventValue = $$props.clickEventValue);
|
14868
14921
|
if ('useBreakPoint' in $$props) $$invalidate(0, useBreakPoint = $$props.useBreakPoint);
|
14869
|
-
if ('placement' in $$props) $$invalidate(
|
14870
|
-
if ('breakPoint' in $$props) $$invalidate(
|
14871
|
-
if ('elasticity' in $$props) $$invalidate(
|
14922
|
+
if ('placement' in $$props) $$invalidate(16, placement = $$props.placement);
|
14923
|
+
if ('breakPoint' in $$props) $$invalidate(17, breakPoint = $$props.breakPoint);
|
14924
|
+
if ('elasticity' in $$props) $$invalidate(18, elasticity = $$props.elasticity);
|
14872
14925
|
if ('animation' in $$props) $$invalidate(1, animation = $$props.animation);
|
14873
|
-
if ('
|
14874
|
-
if ('
|
14875
|
-
if ('
|
14876
|
-
if ('closeButtonProps' in $$props) $$invalidate(5, closeButtonProps = $$props.closeButtonProps);
|
14877
|
-
if ('$$scope' in $$props) $$invalidate(29, $$scope = $$props.$$scope);
|
14926
|
+
if ('closeEventName' in $$props) $$invalidate(19, closeEventName = $$props.closeEventName);
|
14927
|
+
if ('closeEventValue' in $$props) $$invalidate(20, closeEventValue = $$props.closeEventValue);
|
14928
|
+
if ('$$scope' in $$props) $$invalidate(25, $$scope = $$props.$$scope);
|
14878
14929
|
};
|
14879
14930
|
|
14880
14931
|
$$self.$$.update = () => {
|
14881
|
-
if ($$self.$$.dirty
|
14882
|
-
$$invalidate(
|
14932
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue*/ 1572864) {
|
14933
|
+
$$invalidate(24, close = () => {
|
14934
|
+
const onClose = { operation: 'closeApp', args: ['button'] };
|
14935
|
+
|
14883
14936
|
if (closeEventName) {
|
14884
14937
|
send_event(closeEventName, closeEventValue);
|
14885
14938
|
}
|
@@ -14888,49 +14941,45 @@ function instance($$self, $$props, $$invalidate) {
|
|
14888
14941
|
});
|
14889
14942
|
}
|
14890
14943
|
|
14891
|
-
if ($$self.$$.dirty
|
14892
|
-
$$invalidate(16, closable = haveFunction(onClose));
|
14893
|
-
}
|
14894
|
-
|
14895
|
-
if ($$self.$$.dirty[0] & /*placement, useBreakPoint, breakPoint*/ 12582913) {
|
14944
|
+
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/ 196609) {
|
14896
14945
|
{
|
14897
14946
|
if (placement && placement.backgroundOverlay) {
|
14898
|
-
$$invalidate(
|
14947
|
+
$$invalidate(3, backgroundOverlay = placement.backgroundOverlay);
|
14899
14948
|
}
|
14900
14949
|
|
14901
14950
|
if (useBreakPoint) {
|
14902
14951
|
const pc = breakPoint?.PC?.placement?.backgroundOverlay;
|
14903
|
-
$$invalidate(
|
14952
|
+
$$invalidate(4, backgroundOverlayPC = pc ?? false);
|
14904
14953
|
const sp = breakPoint?.SP?.placement?.backgroundOverlay;
|
14905
|
-
$$invalidate(
|
14954
|
+
$$invalidate(5, backgroundOverlaySP = sp ?? false);
|
14906
14955
|
}
|
14907
14956
|
}
|
14908
14957
|
}
|
14909
14958
|
|
14910
|
-
if ($$self.$$.dirty
|
14959
|
+
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/ 196609) {
|
14911
14960
|
{
|
14912
14961
|
if (placement && placement.backgroundClick) {
|
14913
|
-
$$invalidate(
|
14962
|
+
$$invalidate(21, backgroundClickFunction = placement.backgroundClick);
|
14914
14963
|
}
|
14915
14964
|
|
14916
14965
|
if (useBreakPoint) {
|
14917
14966
|
const pc = breakPoint?.PC?.placement?.backgroundClick;
|
14918
14967
|
|
14919
14968
|
if (pc) {
|
14920
|
-
$$invalidate(
|
14969
|
+
$$invalidate(22, backgroundClickFunctionPC = pc);
|
14921
14970
|
}
|
14922
14971
|
|
14923
14972
|
const sp = breakPoint?.SP?.placement?.backgroundClick;
|
14924
14973
|
|
14925
14974
|
if (sp) {
|
14926
|
-
$$invalidate(
|
14975
|
+
$$invalidate(23, backgroundClickFunctionSP = sp);
|
14927
14976
|
}
|
14928
14977
|
}
|
14929
14978
|
}
|
14930
14979
|
}
|
14931
14980
|
|
14932
|
-
if ($$self.$$.dirty
|
14933
|
-
$$invalidate(
|
14981
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/ 3670016) {
|
14982
|
+
$$invalidate(11, backgroundClick = () => {
|
14934
14983
|
if (closeEventName) {
|
14935
14984
|
send_event(closeEventName, closeEventValue);
|
14936
14985
|
}
|
@@ -14939,8 +14988,8 @@ function instance($$self, $$props, $$invalidate) {
|
|
14939
14988
|
});
|
14940
14989
|
}
|
14941
14990
|
|
14942
|
-
if ($$self.$$.dirty
|
14943
|
-
$$invalidate(
|
14991
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunctionPC*/ 5767168) {
|
14992
|
+
$$invalidate(10, backgroundClickPC = () => {
|
14944
14993
|
if (closeEventName) {
|
14945
14994
|
send_event(closeEventName, closeEventValue);
|
14946
14995
|
}
|
@@ -14949,8 +14998,8 @@ function instance($$self, $$props, $$invalidate) {
|
|
14949
14998
|
});
|
14950
14999
|
}
|
14951
15000
|
|
14952
|
-
if ($$self.$$.dirty
|
14953
|
-
$$invalidate(
|
15001
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunctionSP*/ 9961472) {
|
15002
|
+
$$invalidate(9, backgroundClickSP = () => {
|
14954
15003
|
if (closeEventName) {
|
14955
15004
|
send_event(closeEventName, closeEventValue);
|
14956
15005
|
}
|
@@ -14959,7 +15008,7 @@ function instance($$self, $$props, $$invalidate) {
|
|
14959
15008
|
});
|
14960
15009
|
}
|
14961
15010
|
|
14962
|
-
if ($$self.$$.dirty
|
15011
|
+
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint, transforms*/ 196613) {
|
14963
15012
|
// 表示位置のスタイルとアニメーションの動きを設定
|
14964
15013
|
{
|
14965
15014
|
// 表示位置のスタイルの設定
|
@@ -14975,7 +15024,7 @@ function instance($$self, $$props, $$invalidate) {
|
|
14975
15024
|
modalStyles.add(positionStyle);
|
14976
15025
|
}
|
14977
15026
|
|
14978
|
-
$$invalidate(
|
15027
|
+
$$invalidate(2, transforms = []);
|
14979
15028
|
|
14980
15029
|
DEVICE_IDS.forEach(deviceId => {
|
14981
15030
|
if (useBreakPoint) {
|
@@ -15003,7 +15052,7 @@ function instance($$self, $$props, $$invalidate) {
|
|
15003
15052
|
}
|
15004
15053
|
}
|
15005
15054
|
|
15006
|
-
if ($$self.$$.dirty
|
15055
|
+
if ($$self.$$.dirty & /*placement, useBreakPoint, breakPoint*/ 196609) {
|
15007
15056
|
// 表示位置の調整のスタイルを設定
|
15008
15057
|
{
|
15009
15058
|
let margin = DefaultModalPlacement.margin;
|
@@ -15035,7 +15084,7 @@ function instance($$self, $$props, $$invalidate) {
|
|
15035
15084
|
}
|
15036
15085
|
}
|
15037
15086
|
|
15038
|
-
if ($$self.$$.dirty
|
15087
|
+
if ($$self.$$.dirty & /*elasticity, useBreakPoint, breakPoint*/ 393217) {
|
15039
15088
|
// 拡大方法のスタイルを設定
|
15040
15089
|
{
|
15041
15090
|
let elasticStyle = ElasticityStyle[elasticity];
|
@@ -15061,23 +15110,19 @@ function instance($$self, $$props, $$invalidate) {
|
|
15061
15110
|
}
|
15062
15111
|
}
|
15063
15112
|
|
15064
|
-
if ($$self.$$.dirty
|
15065
|
-
$$invalidate(
|
15113
|
+
if ($$self.$$.dirty & /*close*/ 16777216) {
|
15114
|
+
$$invalidate(8, handle_keydown = handleKeydown({ Escape: close }));
|
15066
15115
|
}
|
15067
15116
|
};
|
15068
15117
|
|
15069
|
-
$$invalidate(
|
15118
|
+
$$invalidate(6, modal = null);
|
15070
15119
|
|
15071
15120
|
// svelteコンポーネントのアニメーションを発火させるためにマウント時にvisibleをtrueにする。
|
15072
|
-
$$invalidate(
|
15121
|
+
$$invalidate(7, visible = false);
|
15073
15122
|
|
15074
15123
|
return [
|
15075
15124
|
useBreakPoint,
|
15076
15125
|
animation,
|
15077
|
-
onClose,
|
15078
|
-
closeEventName,
|
15079
|
-
closeEventValue,
|
15080
|
-
closeButtonProps,
|
15081
15126
|
transforms,
|
15082
15127
|
backgroundOverlay,
|
15083
15128
|
backgroundOverlayPC,
|
@@ -15088,8 +15133,6 @@ function instance($$self, $$props, $$invalidate) {
|
|
15088
15133
|
backgroundClickSP,
|
15089
15134
|
backgroundClickPC,
|
15090
15135
|
backgroundClick,
|
15091
|
-
closable,
|
15092
|
-
$maximumZindex,
|
15093
15136
|
modalStyles,
|
15094
15137
|
onClick,
|
15095
15138
|
clickEventName,
|
@@ -15097,6 +15140,8 @@ function instance($$self, $$props, $$invalidate) {
|
|
15097
15140
|
placement,
|
15098
15141
|
breakPoint,
|
15099
15142
|
elasticity,
|
15143
|
+
closeEventName,
|
15144
|
+
closeEventValue,
|
15100
15145
|
backgroundClickFunction,
|
15101
15146
|
backgroundClickFunctionPC,
|
15102
15147
|
backgroundClickFunctionSP,
|
@@ -15118,23 +15163,20 @@ class Modal extends SvelteComponent {
|
|
15118
15163
|
create_fragment,
|
15119
15164
|
safe_not_equal,
|
15120
15165
|
{
|
15121
|
-
onClick:
|
15122
|
-
clickEventName:
|
15123
|
-
clickEventValue:
|
15166
|
+
onClick: 13,
|
15167
|
+
clickEventName: 14,
|
15168
|
+
clickEventValue: 15,
|
15124
15169
|
useBreakPoint: 0,
|
15125
|
-
placement:
|
15126
|
-
breakPoint:
|
15127
|
-
elasticity:
|
15170
|
+
placement: 16,
|
15171
|
+
breakPoint: 17,
|
15172
|
+
elasticity: 18,
|
15128
15173
|
animation: 1,
|
15129
|
-
|
15130
|
-
|
15131
|
-
closeEventValue: 4,
|
15132
|
-
closeButtonProps: 5
|
15174
|
+
closeEventName: 19,
|
15175
|
+
closeEventValue: 20
|
15133
15176
|
},
|
15134
|
-
add_css
|
15135
|
-
[-1, -1]
|
15177
|
+
add_css
|
15136
15178
|
);
|
15137
15179
|
}
|
15138
15180
|
}
|
15139
15181
|
|
15140
|
-
export { ACTION_HOOK_LABEL, AVATAR_SHAPE, AVATAR_SIZE, Alignments, AnimationStyles, BUTTON_ICON_ANGLE, BUTTON_LINK_TARGET, BUTTON_ROUND, BUTTON_SIZE, BUTTON_THEME, BUTTON_VARIANTS, 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, Avatar as FlexAvatar, Button as FlexButton, CloseButton as FlexCloseButton, FlexDirections, Icon as FlexIcon, Image as FlexImage, FlexItem, Layout as FlexLayout, Modal as FlexModal, Text as FlexText, TextButton as FlexTextButton, 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, LAYER_TEXT_SIZE, LAYOUT_ALIGN, LAYOUT_COMPONENT_NAMES, LAYOUT_DIRECTION, LAYOUT_DISPLAY_TYPE, LAYOUT_JUSTIFY, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal$1 as Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, SYSTEM_FONT, Slide, SlideItem, State, StateItem, TEXT_BUTTON_COLOR, TEXT_BUTTON_ICON_ANGLE, TEXT_BUTTON_LINK_TARGET, TEXT_BUTTON_ROUND, TEXT_BUTTON_SIZE, TEXT_VARIANTS, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, 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 };
|
15182
|
+
export { ACTION_HOOK_LABEL, AVATAR_SHAPE, AVATAR_SIZE, Alignments, AnimationStyles, BUTTON_ICON_ANGLE, BUTTON_LINK_TARGET, BUTTON_ROUND, BUTTON_SIZE, BUTTON_THEME, BUTTON_VARIANTS, BackgroundSizes, Box, CLOSE_BUTTON_LABEL_PLACEMENT, CLOSE_BUTTON_PLACEMENT, CLOSE_BUTTON_ROUND, 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, Avatar as FlexAvatar, Button as FlexButton, CloseButton as FlexCloseButton, FlexDirections, Icon as FlexIcon, Image as FlexImage, FlexItem, Layout as FlexLayout, Modal as FlexModal, Text as FlexText, TextButton as FlexTextButton, 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, LAYER_TEXT_SIZE, LAYOUT_ALIGN, LAYOUT_COMPONENT_NAMES, LAYOUT_DIRECTION, LAYOUT_DISPLAY_TYPE, LAYOUT_JUSTIFY, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal$1 as Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, SYSTEM_FONT, Slide, SlideItem, State, StateItem, TEXT_BUTTON_COLOR, TEXT_BUTTON_ICON_ANGLE, TEXT_BUTTON_LINK_TARGET, TEXT_BUTTON_ROUND, TEXT_BUTTON_SIZE, TEXT_VARIANTS, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, 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 };
|