@plaidev/karte-action-sdk 1.1.107 → 1.1.108-27918306.f8f4fc25
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/hydrate/index.es.d.ts +17 -7
- package/dist/hydrate/index.es.js +85 -87
- package/dist/index.es.d.ts +17 -7
- package/dist/index.es.js +85 -87
- package/dist/templates.js +7 -7
- package/package.json +3 -2
package/dist/hydrate/index.es.js
CHANGED
@@ -639,6 +639,7 @@ const PropTypes = [
|
|
639
639
|
'Color',
|
640
640
|
'Alignment',
|
641
641
|
'State',
|
642
|
+
'TransitState',
|
642
643
|
'Style',
|
643
644
|
'ModalPlacement',
|
644
645
|
'OnClick',
|
@@ -710,7 +711,7 @@ const OnClickOperationOptions = [
|
|
710
711
|
operation: 'moveTo',
|
711
712
|
args: [
|
712
713
|
{
|
713
|
-
type: '
|
714
|
+
type: 'TransitState',
|
714
715
|
default: '/',
|
715
716
|
},
|
716
717
|
],
|
@@ -738,6 +739,7 @@ const LengthUnits = ['px', 'em', 'rem', 'vw', 'fr', '%'];
|
|
738
739
|
const Justifies = ['flex-start', 'center', 'flex-end'];
|
739
740
|
const Alignments = ['flex-start', 'center', 'flex-end'];
|
740
741
|
const ObjectFits = ['fill', 'contain', 'cover'];
|
742
|
+
const ClipPaths = ['none', 'circle(closest-side)'];
|
741
743
|
const Repeats = ['repeat', 'space', 'round', 'no-repeat'];
|
742
744
|
const BackgroundSizes = ['cover', 'contain', 'auto'];
|
743
745
|
const Cursors = ['default', 'pointer'];
|
@@ -1609,7 +1611,7 @@ var widget = /*#__PURE__*/Object.freeze({
|
|
1609
1611
|
/* src/components/Normalize.svelte generated by Svelte v3.53.1 */
|
1610
1612
|
|
1611
1613
|
function add_css$k(target) {
|
1612
|
-
append_styles(target, "svelte-
|
1614
|
+
append_styles(target, "svelte-tr4qnr", "@import 'https://esm.sh/normalize.css';");
|
1613
1615
|
}
|
1614
1616
|
|
1615
1617
|
class Normalize extends SvelteComponent {
|
@@ -1705,7 +1707,7 @@ class State extends SvelteComponent {
|
|
1705
1707
|
/* src/components/StateItem.svelte generated by Svelte v3.53.1 */
|
1706
1708
|
|
1707
1709
|
function add_css$j(target) {
|
1708
|
-
append_styles(target, "svelte-
|
1710
|
+
append_styles(target, "svelte-2qb6dm", ".state-item.svelte-2qb6dm{position:absolute;display:none}");
|
1709
1711
|
}
|
1710
1712
|
|
1711
1713
|
// (11:0) {#if $state === path}
|
@@ -1732,7 +1734,7 @@ function create_if_block$3(ctx) {
|
|
1732
1734
|
},
|
1733
1735
|
h() {
|
1734
1736
|
attr(div, "data-state-path", /*path*/ ctx[0]);
|
1735
|
-
attr(div, "class", "state-item svelte-
|
1737
|
+
attr(div, "class", "state-item svelte-2qb6dm");
|
1736
1738
|
},
|
1737
1739
|
m(target, anchor) {
|
1738
1740
|
insert_hydration(target, div, anchor);
|
@@ -1872,7 +1874,7 @@ class StateItem extends SvelteComponent {
|
|
1872
1874
|
/* src/components/BackgroundOverray.svelte generated by Svelte v3.53.1 */
|
1873
1875
|
|
1874
1876
|
function add_css$i(target) {
|
1875
|
-
append_styles(target, "svelte-
|
1877
|
+
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}");
|
1876
1878
|
}
|
1877
1879
|
|
1878
1880
|
// (9:0) {#if backgroundOverray}
|
@@ -1892,7 +1894,7 @@ function create_if_block$2(ctx) {
|
|
1892
1894
|
this.h();
|
1893
1895
|
},
|
1894
1896
|
h() {
|
1895
|
-
attr(div, "class", "background svelte-
|
1897
|
+
attr(div, "class", "background svelte-1d4fta");
|
1896
1898
|
},
|
1897
1899
|
m(target, anchor) {
|
1898
1900
|
insert_hydration(target, div, anchor);
|
@@ -1973,7 +1975,7 @@ class BackgroundOverray extends SvelteComponent {
|
|
1973
1975
|
/* src/components/Modal.svelte generated by Svelte v3.53.1 */
|
1974
1976
|
|
1975
1977
|
function add_css$h(target) {
|
1976
|
-
append_styles(target, "svelte-
|
1978
|
+
append_styles(target, "svelte-12dkw0q", ".modal.svelte-12dkw0q{position:fixed;box-sizing:border-box;z-index:2147483647}.close.svelte-12dkw0q{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-12dkw0q:hover{transform:rotate(90deg)}.modal-content.svelte-12dkw0q{display:flex;justify-content:center;align-items:center}");
|
1977
1979
|
}
|
1978
1980
|
|
1979
1981
|
// (142:0) {#if visible}
|
@@ -2018,9 +2020,9 @@ function create_if_block$1(ctx) {
|
|
2018
2020
|
this.h();
|
2019
2021
|
},
|
2020
2022
|
h() {
|
2021
|
-
attr(div0, "class", "modal-content svelte-
|
2023
|
+
attr(div0, "class", "modal-content svelte-12dkw0q");
|
2022
2024
|
attr(div0, "style", /*_style*/ ctx[1]);
|
2023
|
-
attr(div1, "class", "modal svelte-
|
2025
|
+
attr(div1, "class", "modal svelte-12dkw0q");
|
2024
2026
|
attr(div1, "role", "dialog");
|
2025
2027
|
attr(div1, "aria-modal", "true");
|
2026
2028
|
attr(div1, "style", div1_style_value = "" + /*pos*/ ctx[10] + " " + /*marginStyle*/ ctx[8] + " " + ElasticityStyle[/*overwriteElasticity*/ ctx[11]] + "");
|
@@ -2167,7 +2169,7 @@ function create_if_block_1(ctx) {
|
|
2167
2169
|
attr(svg, "viewBox", "0 0 9 10");
|
2168
2170
|
attr(svg, "fill", "none");
|
2169
2171
|
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
2170
|
-
attr(button, "class", "close svelte-
|
2172
|
+
attr(button, "class", "close svelte-12dkw0q");
|
2171
2173
|
attr(button, "style", button_style_value = "z-index:" + (/*$maximumZindex*/ ctx[16] + 1) + "; " + /*_closeStyle*/ ctx[3] + "");
|
2172
2174
|
},
|
2173
2175
|
m(target, anchor) {
|
@@ -2965,7 +2967,7 @@ class GridModalState extends SvelteComponent {
|
|
2965
2967
|
/* src/components/GridItem.svelte generated by Svelte v3.53.1 */
|
2966
2968
|
|
2967
2969
|
function add_css$g(target) {
|
2968
|
-
append_styles(target, "svelte-
|
2970
|
+
append_styles(target, "svelte-n7kdl3", ".grid-item.svelte-n7kdl3{word-break:break-all;position:relative}.grid-item-inner.svelte-n7kdl3{position:absolute;inset:0}");
|
2969
2971
|
}
|
2970
2972
|
|
2971
2973
|
function create_fragment$i(ctx) {
|
@@ -2998,8 +3000,8 @@ function create_fragment$i(ctx) {
|
|
2998
3000
|
this.h();
|
2999
3001
|
},
|
3000
3002
|
h() {
|
3001
|
-
attr(div0, "class", "grid-item-inner svelte-
|
3002
|
-
attr(div1, "class", "grid-item svelte-
|
3003
|
+
attr(div0, "class", "grid-item-inner svelte-n7kdl3");
|
3004
|
+
attr(div1, "class", "grid-item svelte-n7kdl3");
|
3003
3005
|
attr(div1, "data-grid-item-id", /*gridItemId*/ ctx[1]);
|
3004
3006
|
attr(div1, "style", /*_style*/ ctx[0]);
|
3005
3007
|
},
|
@@ -3121,7 +3123,7 @@ class GridItem extends SvelteComponent {
|
|
3121
3123
|
/* src/components/Flex.svelte generated by Svelte v3.53.1 */
|
3122
3124
|
|
3123
3125
|
function add_css$f(target) {
|
3124
|
-
append_styles(target, "svelte-
|
3126
|
+
append_styles(target, "svelte-1e71ejc", ".flex.svelte-1e71ejc{display:flex}");
|
3125
3127
|
}
|
3126
3128
|
|
3127
3129
|
function create_fragment$h(ctx) {
|
@@ -3145,7 +3147,7 @@ function create_fragment$h(ctx) {
|
|
3145
3147
|
this.h();
|
3146
3148
|
},
|
3147
3149
|
h() {
|
3148
|
-
attr(div, "class", "flex svelte-
|
3150
|
+
attr(div, "class", "flex svelte-1e71ejc");
|
3149
3151
|
attr(div, "style", div_style_value = "width:" + /*width*/ ctx[1] + "; height:" + /*height*/ ctx[2] + "; flex-direction:" + /*direction*/ ctx[0] + "; " + /*_style*/ ctx[3]);
|
3150
3152
|
},
|
3151
3153
|
m(target, anchor) {
|
@@ -3242,7 +3244,7 @@ class Flex extends SvelteComponent {
|
|
3242
3244
|
/* src/components/FlexItem.svelte generated by Svelte v3.53.1 */
|
3243
3245
|
|
3244
3246
|
function add_css$e(target) {
|
3245
|
-
append_styles(target, "svelte-
|
3247
|
+
append_styles(target, "svelte-1p0bk1x", ".flex-item.svelte-1p0bk1x{max-width:100%;max-height:100%;position:relative;isolation:isolate}");
|
3246
3248
|
}
|
3247
3249
|
|
3248
3250
|
function create_fragment$g(ctx) {
|
@@ -3265,7 +3267,7 @@ function create_fragment$g(ctx) {
|
|
3265
3267
|
this.h();
|
3266
3268
|
},
|
3267
3269
|
h() {
|
3268
|
-
attr(div, "class", "flex-item svelte-
|
3270
|
+
attr(div, "class", "flex-item svelte-1p0bk1x");
|
3269
3271
|
attr(div, "style", /*style*/ ctx[0]);
|
3270
3272
|
},
|
3271
3273
|
m(target, anchor) {
|
@@ -3554,7 +3556,7 @@ class RenderText extends SvelteComponent {
|
|
3554
3556
|
/* src/components/TextElement.svelte generated by Svelte v3.53.1 */
|
3555
3557
|
|
3556
3558
|
function add_css$d(target) {
|
3557
|
-
append_styles(target, "svelte-
|
3559
|
+
append_styles(target, "svelte-9en2jg", ".text-element.svelte-9en2jg.svelte-9en2jg{display:flex;position:relative;width:100%;height:100%;box-sizing:border-box;white-space:pre-wrap;overflow:auto}.text-element-inner.svelte-9en2jg.svelte-9en2jg{width:100%;height:auto}.text-direction-vertical.svelte-9en2jg.svelte-9en2jg{writing-mode:vertical-rl}.text-direction-vertical.svelte-9en2jg .text-element-inner.svelte-9en2jg{width:auto;height:100%}");
|
3558
3560
|
}
|
3559
3561
|
|
3560
3562
|
function create_fragment$e(ctx) {
|
@@ -3583,8 +3585,8 @@ function create_fragment$e(ctx) {
|
|
3583
3585
|
this.h();
|
3584
3586
|
},
|
3585
3587
|
h() {
|
3586
|
-
attr(div0, "class", "text-element-inner svelte-
|
3587
|
-
attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
3588
|
+
attr(div0, "class", "text-element-inner svelte-9en2jg");
|
3589
|
+
attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-9en2jg"));
|
3588
3590
|
attr(div1, "style", /*style*/ ctx[2]);
|
3589
3591
|
},
|
3590
3592
|
m(target, anchor) {
|
@@ -3598,7 +3600,7 @@ function create_fragment$e(ctx) {
|
|
3598
3600
|
if (dirty & /*text*/ 1) rendertext_changes.text = /*text*/ ctx[0];
|
3599
3601
|
rendertext.$set(rendertext_changes);
|
3600
3602
|
|
3601
|
-
if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
3603
|
+
if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-9en2jg"))) {
|
3602
3604
|
attr(div1, "class", div1_class_value);
|
3603
3605
|
}
|
3604
3606
|
|
@@ -3669,7 +3671,7 @@ class TextElement extends SvelteComponent {
|
|
3669
3671
|
/* src/components/TextButtonElement.svelte generated by Svelte v3.53.1 */
|
3670
3672
|
|
3671
3673
|
function add_css$c(target) {
|
3672
|
-
append_styles(target, "svelte-
|
3674
|
+
append_styles(target, "svelte-tx5xf5", ".text-button-element.svelte-tx5xf5{width:100%;height:100%}.text-button.svelte-tx5xf5{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background-color:transparent;border:none;box-shadow:transparent;box-sizing:border-box;cursor:pointer;transition:box-shadow 0.2s;white-space:pre-wrap;overflow:hidden}.text-button.svelte-tx5xf5:active{box-shadow:inset 0 0 100px 100px rgba(0, 0, 0, 0.3)}.text-button.svelte-tx5xf5:hover{box-shadow:inset 0 0 100px 100px rgba(255, 255, 255, 0.3)}");
|
3673
3675
|
}
|
3674
3676
|
|
3675
3677
|
function create_fragment$d(ctx) {
|
@@ -3699,9 +3701,9 @@ function create_fragment$d(ctx) {
|
|
3699
3701
|
this.h();
|
3700
3702
|
},
|
3701
3703
|
h() {
|
3702
|
-
attr(button, "class", "text-button svelte-
|
3704
|
+
attr(button, "class", "text-button svelte-tx5xf5");
|
3703
3705
|
attr(button, "style", /*_buttonStyle*/ ctx[1]);
|
3704
|
-
attr(div, "class", "text-button-element svelte-
|
3706
|
+
attr(div, "class", "text-button-element svelte-tx5xf5");
|
3705
3707
|
attr(div, "style", /*_style*/ ctx[2]);
|
3706
3708
|
},
|
3707
3709
|
m(target, anchor) {
|
@@ -3798,7 +3800,7 @@ class TextButtonElement extends SvelteComponent {
|
|
3798
3800
|
/* src/components/ImageElement.svelte generated by Svelte v3.53.1 */
|
3799
3801
|
|
3800
3802
|
function add_css$b(target) {
|
3801
|
-
append_styles(target, "svelte-
|
3803
|
+
append_styles(target, "svelte-t8kpqw", ".image-element.svelte-t8kpqw{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}.image.svelte-t8kpqw{width:100%;height:100%}.transport.svelte-t8kpqw:hover,.transport.svelte-t8kpqw:focus{opacity:0.75;box-shadow:0 5px 16px rgba(0, 0, 0, 0.1), 0 8px 28px rgba(0, 0, 0, 0.16)}");
|
3802
3804
|
}
|
3803
3805
|
|
3804
3806
|
function create_fragment$c(ctx) {
|
@@ -3833,14 +3835,14 @@ function create_fragment$c(ctx) {
|
|
3833
3835
|
this.h();
|
3834
3836
|
},
|
3835
3837
|
h() {
|
3836
|
-
attr(img, "class", "image svelte-
|
3838
|
+
attr(img, "class", "image svelte-t8kpqw");
|
3837
3839
|
attr(img, "loading", "lazy");
|
3838
3840
|
attr(img, "width", "auto");
|
3839
3841
|
attr(img, "height", "auto");
|
3840
3842
|
attr(img, "style", /*_imageStyle*/ ctx[3]);
|
3841
3843
|
if (!src_url_equal(img.src, img_src_value = /*src*/ ctx[0])) attr(img, "src", img_src_value);
|
3842
3844
|
attr(img, "alt", /*alt*/ ctx[1]);
|
3843
|
-
attr(div, "class", div_class_value = "" + (null_to_empty('image-element' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-
|
3845
|
+
attr(div, "class", div_class_value = "" + (null_to_empty('image-element' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-t8kpqw"));
|
3844
3846
|
attr(div, "style", /*_style*/ ctx[4]);
|
3845
3847
|
},
|
3846
3848
|
m(target, anchor) {
|
@@ -3865,7 +3867,7 @@ function create_fragment$c(ctx) {
|
|
3865
3867
|
attr(img, "alt", /*alt*/ ctx[1]);
|
3866
3868
|
}
|
3867
3869
|
|
3868
|
-
if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty('image-element' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-
|
3870
|
+
if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty('image-element' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-t8kpqw"))) {
|
3869
3871
|
attr(div, "class", div_class_value);
|
3870
3872
|
}
|
3871
3873
|
|
@@ -3941,7 +3943,7 @@ class ImageElement extends SvelteComponent {
|
|
3941
3943
|
/* src/components/List.svelte generated by Svelte v3.53.1 */
|
3942
3944
|
|
3943
3945
|
function add_css$a(target) {
|
3944
|
-
append_styles(target, "svelte-
|
3946
|
+
append_styles(target, "svelte-dfqtyx", ".list.svelte-dfqtyx{display:flex;width:100%;height:100%;overflow:hidden}");
|
3945
3947
|
}
|
3946
3948
|
|
3947
3949
|
function create_fragment$b(ctx) {
|
@@ -3964,7 +3966,7 @@ function create_fragment$b(ctx) {
|
|
3964
3966
|
this.h();
|
3965
3967
|
},
|
3966
3968
|
h() {
|
3967
|
-
attr(div, "class", "list svelte-
|
3969
|
+
attr(div, "class", "list svelte-dfqtyx");
|
3968
3970
|
attr(div, "style", /*style*/ ctx[0]);
|
3969
3971
|
},
|
3970
3972
|
m(target, anchor) {
|
@@ -4098,7 +4100,7 @@ class List extends SvelteComponent {
|
|
4098
4100
|
/* src/components/ListItem.svelte generated by Svelte v3.53.1 */
|
4099
4101
|
|
4100
4102
|
function add_css$9(target) {
|
4101
|
-
append_styles(target, "svelte-
|
4103
|
+
append_styles(target, "svelte-h5j4xe", ".list-item.svelte-h5j4xe{flex:auto;box-sizing:border-box;min-width:0;min-height:0;position:relative}.list-item-inner.svelte-h5j4xe{position:absolute;inset:0}");
|
4102
4104
|
}
|
4103
4105
|
|
4104
4106
|
function create_fragment$a(ctx) {
|
@@ -4128,9 +4130,9 @@ function create_fragment$a(ctx) {
|
|
4128
4130
|
this.h();
|
4129
4131
|
},
|
4130
4132
|
h() {
|
4131
|
-
attr(div0, "class", "list-item-inner svelte-
|
4133
|
+
attr(div0, "class", "list-item-inner svelte-h5j4xe");
|
4132
4134
|
attr(div0, "style", /*_style*/ ctx[0]);
|
4133
|
-
attr(div1, "class", "list-item svelte-
|
4135
|
+
attr(div1, "class", "list-item svelte-h5j4xe");
|
4134
4136
|
attr(div1, "style", /*listItemStyle*/ ctx[1]);
|
4135
4137
|
},
|
4136
4138
|
m(target, anchor) {
|
@@ -4292,7 +4294,7 @@ class ListItem extends SvelteComponent {
|
|
4292
4294
|
/* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
|
4293
4295
|
|
4294
4296
|
function add_css$8(target) {
|
4295
|
-
append_styles(target, "svelte-
|
4297
|
+
append_styles(target, "svelte-k86zna", ".embed.svelte-k86zna{position:relative;box-shadow:0 1px rgba(0, 0, 0, 0.06);padding-top:56.25%;overflow:hidden}.embed.svelte-k86zna iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
4296
4298
|
}
|
4297
4299
|
|
4298
4300
|
function create_fragment$9(ctx) {
|
@@ -4310,7 +4312,7 @@ function create_fragment$9(ctx) {
|
|
4310
4312
|
this.h();
|
4311
4313
|
},
|
4312
4314
|
h() {
|
4313
|
-
attr(div, "class", "embed svelte-
|
4315
|
+
attr(div, "class", "embed svelte-k86zna");
|
4314
4316
|
attr(div, "style", /*_style*/ ctx[1]);
|
4315
4317
|
},
|
4316
4318
|
m(target, anchor) {
|
@@ -4353,7 +4355,7 @@ class EmbedElement extends SvelteComponent {
|
|
4353
4355
|
/* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
|
4354
4356
|
|
4355
4357
|
function add_css$7(target) {
|
4356
|
-
append_styles(target, "svelte-
|
4358
|
+
append_styles(target, "svelte-k86zna", ".embed.svelte-k86zna{position:relative;box-shadow:0 1px rgba(0, 0, 0, 0.06);padding-top:56.25%;overflow:hidden}.embed.svelte-k86zna iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
4357
4359
|
}
|
4358
4360
|
|
4359
4361
|
function create_fragment$8(ctx) {
|
@@ -4376,7 +4378,7 @@ function create_fragment$8(ctx) {
|
|
4376
4378
|
},
|
4377
4379
|
h() {
|
4378
4380
|
attr(div0, "class", "karte-player");
|
4379
|
-
attr(div1, "class", "embed svelte-
|
4381
|
+
attr(div1, "class", "embed svelte-k86zna");
|
4380
4382
|
attr(div1, "style", /*_style*/ ctx[0]);
|
4381
4383
|
},
|
4382
4384
|
m(target, anchor) {
|
@@ -4411,7 +4413,7 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
4411
4413
|
// @ts-ignore
|
4412
4414
|
if (!window.YT) {
|
4413
4415
|
const tag = document.createElement("script");
|
4414
|
-
tag.src = "
|
4416
|
+
tag.src = "https://www.youtube.com/iframe_api";
|
4415
4417
|
const firstScriptTag = document.getElementsByTagName("script")[0];
|
4416
4418
|
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
|
4417
4419
|
}
|
@@ -4523,14 +4525,6 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
4523
4525
|
});
|
4524
4526
|
}
|
4525
4527
|
|
4526
|
-
onDestroy$1(() => {
|
4527
|
-
if (player) {
|
4528
|
-
player.stopVideo();
|
4529
|
-
}
|
4530
|
-
|
4531
|
-
player.destroy();
|
4532
|
-
});
|
4533
|
-
|
4534
4528
|
onMount(() => {
|
4535
4529
|
setTimeout(
|
4536
4530
|
() => {
|
@@ -4543,6 +4537,13 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
4543
4537
|
);
|
4544
4538
|
});
|
4545
4539
|
|
4540
|
+
onDestroy$1(() => {
|
4541
|
+
if (player) {
|
4542
|
+
player.stopVideo();
|
4543
|
+
player.destroy();
|
4544
|
+
}
|
4545
|
+
});
|
4546
|
+
|
4546
4547
|
// @ts-ignore
|
4547
4548
|
window.onYouTubeIframeAPIReady = () => {
|
4548
4549
|
createPlayer();
|
@@ -4597,7 +4598,7 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
4597
4598
|
/* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
|
4598
4599
|
|
4599
4600
|
function add_css$6(target) {
|
4600
|
-
append_styles(target, "svelte-
|
4601
|
+
append_styles(target, "svelte-5l33p2", ".embed.svelte-5l33p2{position:relative;box-shadow:0 1px rgba(0, 0, 0, 0.06);padding-top:56.25%;overflow:hidden}.embed.svelte-5l33p2 iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
4601
4602
|
}
|
4602
4603
|
|
4603
4604
|
function create_fragment$7(ctx) {
|
@@ -4620,7 +4621,7 @@ function create_fragment$7(ctx) {
|
|
4620
4621
|
},
|
4621
4622
|
h() {
|
4622
4623
|
attr(div0, "class", "karte-player");
|
4623
|
-
attr(div1, "class", "embed svelte-
|
4624
|
+
attr(div1, "class", "embed svelte-5l33p2");
|
4624
4625
|
attr(div1, "style", /*_style*/ ctx[0]);
|
4625
4626
|
},
|
4626
4627
|
m(target, anchor) {
|
@@ -4650,13 +4651,13 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
4650
4651
|
let { autoplay = false } = $$props;
|
4651
4652
|
let { loop = false } = $$props;
|
4652
4653
|
let { mute = false } = $$props;
|
4653
|
-
let { _style =
|
4654
|
+
let { _style = '' } = $$props;
|
4654
4655
|
|
4655
4656
|
// @ts-ignore
|
4656
4657
|
if (!window.Vimeo) {
|
4657
|
-
const tag = document.createElement(
|
4658
|
-
tag.src =
|
4659
|
-
const firstScriptTag = document.getElementsByTagName(
|
4658
|
+
const tag = document.createElement('script');
|
4659
|
+
tag.src = 'https://player.vimeo.com/api/player.js';
|
4660
|
+
const firstScriptTag = document.getElementsByTagName('script')[0];
|
4660
4661
|
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
|
4661
4662
|
}
|
4662
4663
|
|
@@ -4689,7 +4690,7 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
4689
4690
|
const playSeconds = Math.round((currentDate - startDate) / 1000);
|
4690
4691
|
totalPlaySeconds += playSeconds;
|
4691
4692
|
|
4692
|
-
sendMovieEvent(
|
4693
|
+
sendMovieEvent('_movie_playtime', {
|
4693
4694
|
seconds: playSeconds,
|
4694
4695
|
total_seconds: totalPlaySeconds
|
4695
4696
|
});
|
@@ -4706,7 +4707,7 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
4706
4707
|
|
4707
4708
|
if (!alreadyPlay) {
|
4708
4709
|
alreadyPlay = true;
|
4709
|
-
sendMovieEvent(
|
4710
|
+
sendMovieEvent('_movie_play');
|
4710
4711
|
}
|
4711
4712
|
}
|
4712
4713
|
|
@@ -4716,7 +4717,7 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
4716
4717
|
}
|
4717
4718
|
|
4718
4719
|
function onFinish() {
|
4719
|
-
sendMovieEvent(
|
4720
|
+
sendMovieEvent('_movie_finish');
|
4720
4721
|
sendPlaytime();
|
4721
4722
|
startDate = null;
|
4722
4723
|
}
|
@@ -4727,30 +4728,21 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
4727
4728
|
}
|
4728
4729
|
|
4729
4730
|
const playerOptions = { id: videoId, autoplay, loop };
|
4730
|
-
console.log("createPlayer1");
|
4731
4731
|
|
4732
4732
|
// @ts-ignore
|
4733
4733
|
player = new window.Vimeo.Player(domRef, playerOptions);
|
4734
4734
|
|
4735
|
-
|
4736
|
-
player.on(
|
4737
|
-
player.on(
|
4738
|
-
player.on("ended", onFinish);
|
4735
|
+
player.on('play', onStart);
|
4736
|
+
player.on('pause', onPause);
|
4737
|
+
player.on('ended', onFinish);
|
4739
4738
|
onPlayerReady();
|
4740
4739
|
}
|
4741
4740
|
|
4742
|
-
onDestroy$1(() => {
|
4743
|
-
player.destroy();
|
4744
|
-
});
|
4745
|
-
|
4746
4741
|
onMount(() => {
|
4747
|
-
console.log("onMount1");
|
4748
|
-
|
4749
4742
|
setTimeout(
|
4750
4743
|
() => {
|
4751
4744
|
// @ts-ignore
|
4752
4745
|
if (window.Vimeo) {
|
4753
|
-
console.log("onMount2");
|
4754
4746
|
createPlayer();
|
4755
4747
|
}
|
4756
4748
|
},
|
@@ -4758,7 +4750,13 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
4758
4750
|
);
|
4759
4751
|
});
|
4760
4752
|
|
4761
|
-
|
4753
|
+
onDestroy$1(() => {
|
4754
|
+
if (player) {
|
4755
|
+
player.destroy();
|
4756
|
+
}
|
4757
|
+
});
|
4758
|
+
|
4759
|
+
window.addEventListener('beforeunload', () => {
|
4762
4760
|
sendPlaytime();
|
4763
4761
|
});
|
4764
4762
|
|
@@ -4807,7 +4805,7 @@ class MovieVimeoElement extends SvelteComponent {
|
|
4807
4805
|
/* src/components/Form.svelte generated by Svelte v3.53.1 */
|
4808
4806
|
|
4809
4807
|
function add_css$5(target) {
|
4810
|
-
append_styles(target, "svelte-
|
4808
|
+
append_styles(target, "svelte-1il0aow", ".form.svelte-1il0aow{width:100%;height:100%}");
|
4811
4809
|
}
|
4812
4810
|
|
4813
4811
|
function create_fragment$6(ctx) {
|
@@ -4830,7 +4828,7 @@ function create_fragment$6(ctx) {
|
|
4830
4828
|
this.h();
|
4831
4829
|
},
|
4832
4830
|
h() {
|
4833
|
-
attr(div, "class", "form svelte-
|
4831
|
+
attr(div, "class", "form svelte-1il0aow");
|
4834
4832
|
},
|
4835
4833
|
m(target, anchor) {
|
4836
4834
|
insert_hydration(target, div, anchor);
|
@@ -4984,7 +4982,7 @@ class Form extends SvelteComponent {
|
|
4984
4982
|
/* src/components/FormTextarea.svelte generated by Svelte v3.53.1 */
|
4985
4983
|
|
4986
4984
|
function add_css$4(target) {
|
4987
|
-
append_styles(target, "svelte-
|
4985
|
+
append_styles(target, "svelte-kyay3k", ".textarea-wrapper.svelte-kyay3k{display:flex;align-items:center;width:100%;height:100%}.textarea.svelte-kyay3k{width:100%;resize:none}");
|
4988
4986
|
}
|
4989
4987
|
|
4990
4988
|
function create_fragment$5(ctx) {
|
@@ -5014,12 +5012,12 @@ function create_fragment$5(ctx) {
|
|
5014
5012
|
this.h();
|
5015
5013
|
},
|
5016
5014
|
h() {
|
5017
|
-
attr(textarea, "class", "textarea svelte-
|
5015
|
+
attr(textarea, "class", "textarea svelte-kyay3k");
|
5018
5016
|
textarea.value = /*value*/ ctx[3];
|
5019
5017
|
textarea.required = /*required*/ ctx[0];
|
5020
5018
|
attr(textarea, "rows", /*rows*/ ctx[1]);
|
5021
5019
|
attr(textarea, "placeholder", /*placeholder*/ ctx[2]);
|
5022
|
-
attr(div, "class", "textarea-wrapper svelte-
|
5020
|
+
attr(div, "class", "textarea-wrapper svelte-kyay3k");
|
5023
5021
|
},
|
5024
5022
|
m(target, anchor) {
|
5025
5023
|
insert_hydration(target, div, anchor);
|
@@ -5243,7 +5241,7 @@ class FormButton extends SvelteComponent {
|
|
5243
5241
|
/* src/components/FormRadioButtons.svelte generated by Svelte v3.53.1 */
|
5244
5242
|
|
5245
5243
|
function add_css$3(target) {
|
5246
|
-
append_styles(target, "svelte-
|
5244
|
+
append_styles(target, "svelte-1ajmbw1", ".radio-buttons.svelte-1ajmbw1{display:flex;justify-content:center;flex-direction:column;width:100%;height:100%}");
|
5247
5245
|
}
|
5248
5246
|
|
5249
5247
|
function get_each_context(ctx, list, i) {
|
@@ -5353,7 +5351,7 @@ function create_fragment$3(ctx) {
|
|
5353
5351
|
this.h();
|
5354
5352
|
},
|
5355
5353
|
h() {
|
5356
|
-
attr(div, "class", "radio-buttons svelte-
|
5354
|
+
attr(div, "class", "radio-buttons svelte-1ajmbw1");
|
5357
5355
|
},
|
5358
5356
|
m(target, anchor) {
|
5359
5357
|
insert_hydration(target, div, anchor);
|
@@ -5433,7 +5431,7 @@ class FormRadioButtons extends SvelteComponent {
|
|
5433
5431
|
/* src/components/TextBlock.svelte generated by Svelte v3.53.1 */
|
5434
5432
|
|
5435
5433
|
function add_css$2(target) {
|
5436
|
-
append_styles(target, "svelte-
|
5434
|
+
append_styles(target, "svelte-11rpuv5", ".text-block.svelte-11rpuv5.svelte-11rpuv5{display:flex;position:relative;width:100%;height:100%;box-sizing:border-box;white-space:pre-wrap;overflow:auto}.text-block-inner.svelte-11rpuv5.svelte-11rpuv5{width:100%;height:auto}.text-direction-vertical.svelte-11rpuv5.svelte-11rpuv5{writing-mode:vertical-rl}.text-direction-vertical.svelte-11rpuv5 .text-block-inner.svelte-11rpuv5{width:auto;height:100%}");
|
5437
5435
|
}
|
5438
5436
|
|
5439
5437
|
function create_fragment$2(ctx) {
|
@@ -5462,8 +5460,8 @@ function create_fragment$2(ctx) {
|
|
5462
5460
|
this.h();
|
5463
5461
|
},
|
5464
5462
|
h() {
|
5465
|
-
attr(div0, "class", "text-block-inner svelte-
|
5466
|
-
attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
5463
|
+
attr(div0, "class", "text-block-inner svelte-11rpuv5");
|
5464
|
+
attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-11rpuv5"));
|
5467
5465
|
attr(div1, "style", /*style*/ ctx[2]);
|
5468
5466
|
},
|
5469
5467
|
m(target, anchor) {
|
@@ -5477,7 +5475,7 @@ function create_fragment$2(ctx) {
|
|
5477
5475
|
if (dirty & /*text*/ 1) rendertext_changes.text = /*text*/ ctx[0];
|
5478
5476
|
rendertext.$set(rendertext_changes);
|
5479
5477
|
|
5480
|
-
if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-
|
5478
|
+
if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-11rpuv5"))) {
|
5481
5479
|
attr(div1, "class", div1_class_value);
|
5482
5480
|
}
|
5483
5481
|
|
@@ -5548,7 +5546,7 @@ class TextBlock extends SvelteComponent {
|
|
5548
5546
|
/* src/components/TextButtonBlock.svelte generated by Svelte v3.53.1 */
|
5549
5547
|
|
5550
5548
|
function add_css$1(target) {
|
5551
|
-
append_styles(target, "svelte-
|
5549
|
+
append_styles(target, "svelte-1t5i3za", ".text-button-block.svelte-1t5i3za{width:100%;height:100%}.text-button.svelte-1t5i3za{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background-color:transparent;border:none;box-shadow:transparent;box-sizing:border-box;cursor:pointer;transition:box-shadow 0.2s}.text-button.svelte-1t5i3za:active{box-shadow:inset 0 0 100px 100px rgba(0, 0, 0, 0.3)}.text-button.svelte-1t5i3za:hover{box-shadow:inset 0 0 100px 100px rgba(255, 255, 255, 0.3)}");
|
5552
5550
|
}
|
5553
5551
|
|
5554
5552
|
function create_fragment$1(ctx) {
|
@@ -5578,9 +5576,9 @@ function create_fragment$1(ctx) {
|
|
5578
5576
|
this.h();
|
5579
5577
|
},
|
5580
5578
|
h() {
|
5581
|
-
attr(button, "class", "text-button svelte-
|
5579
|
+
attr(button, "class", "text-button svelte-1t5i3za");
|
5582
5580
|
attr(button, "style", /*_buttonStyle*/ ctx[1]);
|
5583
|
-
attr(div, "class", "text-button-block svelte-
|
5581
|
+
attr(div, "class", "text-button-block svelte-1t5i3za");
|
5584
5582
|
attr(div, "style", /*_style*/ ctx[2]);
|
5585
5583
|
},
|
5586
5584
|
m(target, anchor) {
|
@@ -5677,7 +5675,7 @@ class TextButtonBlock extends SvelteComponent {
|
|
5677
5675
|
/* src/components/ImageBlock.svelte generated by Svelte v3.53.1 */
|
5678
5676
|
|
5679
5677
|
function add_css(target) {
|
5680
|
-
append_styles(target, "svelte-
|
5678
|
+
append_styles(target, "svelte-1ec6zfb", ".image-block.svelte-1ec6zfb{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}.image.svelte-1ec6zfb{width:100%;height:100%}.transport.svelte-1ec6zfb:hover,.transport.svelte-1ec6zfb:focus{opacity:0.75;box-shadow:0 5px 16px rgba(0, 0, 0, 0.1), 0 8px 28px rgba(0, 0, 0, 0.16)}");
|
5681
5679
|
}
|
5682
5680
|
|
5683
5681
|
function create_fragment(ctx) {
|
@@ -5712,14 +5710,14 @@ function create_fragment(ctx) {
|
|
5712
5710
|
this.h();
|
5713
5711
|
},
|
5714
5712
|
h() {
|
5715
|
-
attr(img, "class", "image svelte-
|
5713
|
+
attr(img, "class", "image svelte-1ec6zfb");
|
5716
5714
|
attr(img, "loading", "lazy");
|
5717
5715
|
attr(img, "width", "auto");
|
5718
5716
|
attr(img, "height", "auto");
|
5719
5717
|
attr(img, "style", /*_imageStyle*/ ctx[3]);
|
5720
5718
|
if (!src_url_equal(img.src, img_src_value = /*src*/ ctx[0])) attr(img, "src", img_src_value);
|
5721
5719
|
attr(img, "alt", /*alt*/ ctx[1]);
|
5722
|
-
attr(div, "class", div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-
|
5720
|
+
attr(div, "class", div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-1ec6zfb"));
|
5723
5721
|
attr(div, "style", /*_style*/ ctx[4]);
|
5724
5722
|
},
|
5725
5723
|
m(target, anchor) {
|
@@ -5744,7 +5742,7 @@ function create_fragment(ctx) {
|
|
5744
5742
|
attr(img, "alt", /*alt*/ ctx[1]);
|
5745
5743
|
}
|
5746
5744
|
|
5747
|
-
if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-
|
5745
|
+
if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-1ec6zfb"))) {
|
5748
5746
|
attr(div, "class", div_class_value);
|
5749
5747
|
}
|
5750
5748
|
|
@@ -5817,4 +5815,4 @@ class ImageBlock extends SvelteComponent {
|
|
5817
5815
|
}
|
5818
5816
|
}
|
5819
5817
|
|
5820
|
-
export { ACTION_CHANGE_STATE_EVENT, ACTION_CLOSE_EVENT, ACTION_DESTROY_EVENT, ACTION_SHOW_EVENT, ALL_ACTION_ID, ALL_ACTION_SHORTEN_ID, Alignments, AnimationStyles, BackgroundSizes, Cursors, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexItem, Form, FormButton, FormRadioButtons, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_ACTION_RID, KARTE_ACTION_ROOT, KARTE_ACTION_SHORTEN_ID, KARTE_MODAL_ROOT, LengthUnits, List, ListItem, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, NOOP, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, actionId, actionSetting, addState, applyCss, applyGlobalCss, close, closeAction, closeApp, closed, collection$1 as collection, create, createApp, createFog, customAnimation, customHandlers, customVariables, destroy, destroyed, dispatchDestroyEvent, embed, ensureActionRoot, ensureModalRoot, execOnClickOperation, finalize, getActionSetting, getActionShadowRoot, getCustomHandlers, getCustomVariables, getInternalHandlers, getMarginStyle, getPositionStyle, getState$1 as getState, getStates, getStoreState, getSystem, getTransform, h, handleFocus, handleKeydown, handleState, hasSuffix, hashCode, haveFunction, hideOnScroll, hideOnTime, initialize, internalHandlers, isClosed, isDestroyed, isOpened, isPreview, isStopped, linkTo, loadGlobalScript, loadGlobalStyle, loadStyle, maximumZindex, moveTo, none, onChangeState, onClose, onCreate, onDestroy, onScroll, onShow, onTime, opened, randStr, resetActionSetting, runScript, send_event, setActionSetting, setAutoStart, setClosed, setCustomHandlers, setCustomVariables, setDestroyed, setInternalHandlers, setMaximumZindex, setOpened, setPreviousFocus, setState$1 as setState, setStopped, setSystem, show, showAction, showModal, showOnScroll, showOnTime, state, states, stopped, system, toBr, updateCustomHandlers, updateCustomVariables, updateInternalHandlers, widget };
|
5818
|
+
export { ACTION_CHANGE_STATE_EVENT, ACTION_CLOSE_EVENT, ACTION_DESTROY_EVENT, ACTION_SHOW_EVENT, ALL_ACTION_ID, ALL_ACTION_SHORTEN_ID, Alignments, AnimationStyles, BackgroundSizes, ClipPaths, Cursors, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexItem, Form, FormButton, FormRadioButtons, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_ACTION_RID, KARTE_ACTION_ROOT, KARTE_ACTION_SHORTEN_ID, KARTE_MODAL_ROOT, LengthUnits, List, ListItem, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, NOOP, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, actionId, actionSetting, addState, applyCss, applyGlobalCss, close, closeAction, closeApp, closed, collection$1 as collection, create, createApp, createFog, customAnimation, customHandlers, customVariables, destroy, destroyed, dispatchDestroyEvent, embed, ensureActionRoot, ensureModalRoot, execOnClickOperation, finalize, getActionSetting, getActionShadowRoot, getCustomHandlers, getCustomVariables, getInternalHandlers, getMarginStyle, getPositionStyle, getState$1 as getState, getStates, getStoreState, getSystem, getTransform, h, handleFocus, handleKeydown, handleState, hasSuffix, hashCode, haveFunction, hideOnScroll, hideOnTime, initialize, internalHandlers, isClosed, isDestroyed, isOpened, isPreview, isStopped, linkTo, loadGlobalScript, loadGlobalStyle, loadStyle, maximumZindex, moveTo, none, onChangeState, onClose, onCreate, onDestroy, onScroll, onShow, onTime, opened, randStr, resetActionSetting, runScript, send_event, setActionSetting, setAutoStart, setClosed, setCustomHandlers, setCustomVariables, setDestroyed, setInternalHandlers, setMaximumZindex, setOpened, setPreviousFocus, setState$1 as setState, setStopped, setSystem, show, showAction, showModal, showOnScroll, showOnTime, state, states, stopped, system, toBr, updateCustomHandlers, updateCustomVariables, updateInternalHandlers, widget };
|