@plaidev/karte-action-sdk 1.1.106 → 1.1.107

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js CHANGED
@@ -1721,20 +1721,20 @@ var widget = /*#__PURE__*/Object.freeze({
1721
1721
 
1722
1722
  /* src/components/Normalize.svelte generated by Svelte v3.53.1 */
1723
1723
 
1724
- function add_css$i(target) {
1725
- append_styles(target, "svelte-tr4qnr", "@import 'https://esm.sh/normalize.css';");
1724
+ function add_css$k(target) {
1725
+ append_styles(target, "svelte-osypsj", "@import 'https://esm.sh/normalize.css';");
1726
1726
  }
1727
1727
 
1728
1728
  class Normalize extends SvelteComponent {
1729
1729
  constructor(options) {
1730
1730
  super();
1731
- init(this, options, null, null, safe_not_equal, {}, add_css$i);
1731
+ init(this, options, null, null, safe_not_equal, {}, add_css$k);
1732
1732
  }
1733
1733
  }
1734
1734
 
1735
1735
  /* src/components/State.svelte generated by Svelte v3.53.1 */
1736
1736
 
1737
- function create_fragment$m(ctx) {
1737
+ function create_fragment$o(ctx) {
1738
1738
  let normalize;
1739
1739
  let t;
1740
1740
  let current;
@@ -1793,7 +1793,7 @@ function create_fragment$m(ctx) {
1793
1793
  };
1794
1794
  }
1795
1795
 
1796
- function instance$m($$self, $$props, $$invalidate) {
1796
+ function instance$o($$self, $$props, $$invalidate) {
1797
1797
  let { $$slots: slots = {}, $$scope } = $$props;
1798
1798
 
1799
1799
  $$self.$$set = $$props => {
@@ -1806,14 +1806,14 @@ function instance$m($$self, $$props, $$invalidate) {
1806
1806
  class State extends SvelteComponent {
1807
1807
  constructor(options) {
1808
1808
  super();
1809
- init(this, options, instance$m, create_fragment$m, safe_not_equal, {});
1809
+ init(this, options, instance$o, create_fragment$o, safe_not_equal, {});
1810
1810
  }
1811
1811
  }
1812
1812
 
1813
1813
  /* src/components/StateItem.svelte generated by Svelte v3.53.1 */
1814
1814
 
1815
- function add_css$h(target) {
1816
- append_styles(target, "svelte-2qb6dm", ".state-item.svelte-2qb6dm{position:absolute;display:none}");
1815
+ function add_css$j(target) {
1816
+ append_styles(target, "svelte-1amihue", ".state-item.svelte-1amihue{position:absolute;display:none}");
1817
1817
  }
1818
1818
 
1819
1819
  // (11:0) {#if $state === path}
@@ -1830,7 +1830,7 @@ function create_if_block$3(ctx) {
1830
1830
  t = space();
1831
1831
  if (default_slot) default_slot.c();
1832
1832
  attr(div, "data-state-path", /*path*/ ctx[0]);
1833
- attr(div, "class", "state-item svelte-2qb6dm");
1833
+ attr(div, "class", "state-item svelte-1amihue");
1834
1834
  },
1835
1835
  m(target, anchor) {
1836
1836
  insert(target, div, anchor);
@@ -1879,7 +1879,7 @@ function create_if_block$3(ctx) {
1879
1879
  };
1880
1880
  }
1881
1881
 
1882
- function create_fragment$l(ctx) {
1882
+ function create_fragment$n(ctx) {
1883
1883
  let if_block_anchor;
1884
1884
  let current;
1885
1885
  let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$3(ctx);
@@ -1934,7 +1934,7 @@ function create_fragment$l(ctx) {
1934
1934
  };
1935
1935
  }
1936
1936
 
1937
- function instance$l($$self, $$props, $$invalidate) {
1937
+ function instance$n($$self, $$props, $$invalidate) {
1938
1938
  let $state;
1939
1939
  component_subscribe($$self, state, $$value => $$invalidate(1, $state = $$value));
1940
1940
  let { $$slots: slots = {}, $$scope } = $$props;
@@ -1959,14 +1959,14 @@ function instance$l($$self, $$props, $$invalidate) {
1959
1959
  class StateItem extends SvelteComponent {
1960
1960
  constructor(options) {
1961
1961
  super();
1962
- init(this, options, instance$l, create_fragment$l, safe_not_equal, { path: 0 }, add_css$h);
1962
+ init(this, options, instance$n, create_fragment$n, safe_not_equal, { path: 0 }, add_css$j);
1963
1963
  }
1964
1964
  }
1965
1965
 
1966
1966
  /* src/components/BackgroundOverray.svelte generated by Svelte v3.53.1 */
1967
1967
 
1968
- function add_css$g(target) {
1969
- 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}");
1968
+ function add_css$i(target) {
1969
+ append_styles(target, "svelte-g6ucc2", ".background.svelte-g6ucc2{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.3);z-index:2147483646}");
1970
1970
  }
1971
1971
 
1972
1972
  // (9:0) {#if backgroundOverray}
@@ -1978,7 +1978,7 @@ function create_if_block$2(ctx) {
1978
1978
  return {
1979
1979
  c() {
1980
1980
  div = element("div");
1981
- attr(div, "class", "background svelte-1d4fta");
1981
+ attr(div, "class", "background svelte-g6ucc2");
1982
1982
  },
1983
1983
  m(target, anchor) {
1984
1984
  insert(target, div, anchor);
@@ -1997,7 +1997,7 @@ function create_if_block$2(ctx) {
1997
1997
  };
1998
1998
  }
1999
1999
 
2000
- function create_fragment$k(ctx) {
2000
+ function create_fragment$m(ctx) {
2001
2001
  let if_block_anchor;
2002
2002
  let if_block = /*backgroundOverray*/ ctx[0] && create_if_block$2(ctx);
2003
2003
 
@@ -2033,7 +2033,7 @@ function create_fragment$k(ctx) {
2033
2033
  };
2034
2034
  }
2035
2035
 
2036
- function instance$k($$self, $$props, $$invalidate) {
2036
+ function instance$m($$self, $$props, $$invalidate) {
2037
2037
  let { backgroundOverray = false } = $$props;
2038
2038
  const dispatch = createEventDispatcher();
2039
2039
  const click_handler = () => dispatch('click');
@@ -2048,14 +2048,14 @@ function instance$k($$self, $$props, $$invalidate) {
2048
2048
  class BackgroundOverray extends SvelteComponent {
2049
2049
  constructor(options) {
2050
2050
  super();
2051
- init(this, options, instance$k, create_fragment$k, safe_not_equal, { backgroundOverray: 0 }, add_css$g);
2051
+ init(this, options, instance$m, create_fragment$m, safe_not_equal, { backgroundOverray: 0 }, add_css$i);
2052
2052
  }
2053
2053
  }
2054
2054
 
2055
2055
  /* src/components/Modal.svelte generated by Svelte v3.53.1 */
2056
2056
 
2057
- function add_css$f(target) {
2058
- 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}");
2057
+ function add_css$h(target) {
2058
+ append_styles(target, "svelte-bcei9a", ".modal.svelte-bcei9a{position:fixed;box-sizing:border-box;z-index:2147483647}.close.svelte-bcei9a{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-bcei9a:hover{transform:rotate(90deg)}.modal-content.svelte-bcei9a{display:flex;justify-content:center;align-items:center}");
2059
2059
  }
2060
2060
 
2061
2061
  // (142:0) {#if visible}
@@ -2079,9 +2079,9 @@ function create_if_block$1(ctx) {
2079
2079
  t = space();
2080
2080
  div0 = element("div");
2081
2081
  if (default_slot) default_slot.c();
2082
- attr(div0, "class", "modal-content svelte-12dkw0q");
2082
+ attr(div0, "class", "modal-content svelte-bcei9a");
2083
2083
  attr(div0, "style", /*_style*/ ctx[1]);
2084
- attr(div1, "class", "modal svelte-12dkw0q");
2084
+ attr(div1, "class", "modal svelte-bcei9a");
2085
2085
  attr(div1, "role", "dialog");
2086
2086
  attr(div1, "aria-modal", "true");
2087
2087
  attr(div1, "style", div1_style_value = "" + /*pos*/ ctx[10] + " " + /*marginStyle*/ ctx[8] + " " + ElasticityStyle[/*overwriteElasticity*/ ctx[11]] + "");
@@ -2200,7 +2200,7 @@ function create_if_block_1(ctx) {
2200
2200
  attr(svg, "viewBox", "0 0 9 10");
2201
2201
  attr(svg, "fill", "none");
2202
2202
  attr(svg, "xmlns", "http://www.w3.org/2000/svg");
2203
- attr(button, "class", "close svelte-12dkw0q");
2203
+ attr(button, "class", "close svelte-bcei9a");
2204
2204
  attr(button, "style", button_style_value = "z-index:" + (/*$maximumZindex*/ ctx[16] + 1) + "; " + /*_closeStyle*/ ctx[3] + "");
2205
2205
  },
2206
2206
  m(target, anchor) {
@@ -2235,7 +2235,7 @@ function create_if_block_1(ctx) {
2235
2235
  };
2236
2236
  }
2237
2237
 
2238
- function create_fragment$j(ctx) {
2238
+ function create_fragment$l(ctx) {
2239
2239
  let backgroundoverray;
2240
2240
  let t;
2241
2241
  let if_block_anchor;
@@ -2328,7 +2328,7 @@ function create_fragment$j(ctx) {
2328
2328
  };
2329
2329
  }
2330
2330
 
2331
- function instance$j($$self, $$props, $$invalidate) {
2331
+ function instance$l($$self, $$props, $$invalidate) {
2332
2332
  let click;
2333
2333
  let close;
2334
2334
  let closable;
@@ -2516,8 +2516,8 @@ class Modal extends SvelteComponent {
2516
2516
  init(
2517
2517
  this,
2518
2518
  options,
2519
- instance$j,
2520
- create_fragment$j,
2519
+ instance$l,
2520
+ create_fragment$l,
2521
2521
  safe_not_equal,
2522
2522
  {
2523
2523
  onClick: 17,
@@ -2533,14 +2533,14 @@ class Modal extends SvelteComponent {
2533
2533
  closeButtonColor: 2,
2534
2534
  _closeStyle: 3
2535
2535
  },
2536
- add_css$f
2536
+ add_css$h
2537
2537
  );
2538
2538
  }
2539
2539
  }
2540
2540
 
2541
2541
  /* src/components/Grid.svelte generated by Svelte v3.53.1 */
2542
2542
 
2543
- function create_fragment$i(ctx) {
2543
+ function create_fragment$k(ctx) {
2544
2544
  let div;
2545
2545
  let current;
2546
2546
  const default_slot_template = /*#slots*/ ctx[8].default;
@@ -2598,7 +2598,7 @@ function create_fragment$i(ctx) {
2598
2598
  };
2599
2599
  }
2600
2600
 
2601
- function instance$i($$self, $$props, $$invalidate) {
2601
+ function instance$k($$self, $$props, $$invalidate) {
2602
2602
  let _style;
2603
2603
  let { $$slots: slots = {}, $$scope } = $$props;
2604
2604
  let { width = '512px' } = $$props;
@@ -2643,7 +2643,7 @@ class Grid extends SvelteComponent {
2643
2643
  constructor(options) {
2644
2644
  super();
2645
2645
 
2646
- init(this, options, instance$i, create_fragment$i, safe_not_equal, {
2646
+ init(this, options, instance$k, create_fragment$k, safe_not_equal, {
2647
2647
  width: 1,
2648
2648
  height: 2,
2649
2649
  rows: 3,
@@ -2825,7 +2825,7 @@ function create_default_slot(ctx) {
2825
2825
  };
2826
2826
  }
2827
2827
 
2828
- function create_fragment$h(ctx) {
2828
+ function create_fragment$j(ctx) {
2829
2829
  let stateitem;
2830
2830
  let current;
2831
2831
 
@@ -2870,7 +2870,7 @@ function create_fragment$h(ctx) {
2870
2870
  };
2871
2871
  }
2872
2872
 
2873
- function instance$h($$self, $$props, $$invalidate) {
2873
+ function instance$j($$self, $$props, $$invalidate) {
2874
2874
  let { $$slots: slots = {}, $$scope } = $$props;
2875
2875
  let { path } = $$props;
2876
2876
  let { onClick = { operation: 'none', args: [] } } = $$props;
@@ -2941,7 +2941,7 @@ class GridModalState extends SvelteComponent {
2941
2941
  constructor(options) {
2942
2942
  super();
2943
2943
 
2944
- init(this, options, instance$h, create_fragment$h, safe_not_equal, {
2944
+ init(this, options, instance$j, create_fragment$j, safe_not_equal, {
2945
2945
  path: 0,
2946
2946
  onClick: 1,
2947
2947
  clickEventName: 2,
@@ -2966,11 +2966,11 @@ class GridModalState extends SvelteComponent {
2966
2966
 
2967
2967
  /* src/components/GridItem.svelte generated by Svelte v3.53.1 */
2968
2968
 
2969
- function add_css$e(target) {
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
+ function add_css$g(target) {
2970
+ append_styles(target, "svelte-1cryhmb", ".grid-item.svelte-1cryhmb{word-break:break-all;position:relative}.grid-item-inner.svelte-1cryhmb{position:absolute;inset:0}");
2971
2971
  }
2972
2972
 
2973
- function create_fragment$g(ctx) {
2973
+ function create_fragment$i(ctx) {
2974
2974
  let div1;
2975
2975
  let div0;
2976
2976
  let current;
@@ -2982,8 +2982,8 @@ function create_fragment$g(ctx) {
2982
2982
  div1 = element("div");
2983
2983
  div0 = element("div");
2984
2984
  if (default_slot) default_slot.c();
2985
- attr(div0, "class", "grid-item-inner svelte-n7kdl3");
2986
- attr(div1, "class", "grid-item svelte-n7kdl3");
2985
+ attr(div0, "class", "grid-item-inner svelte-1cryhmb");
2986
+ attr(div1, "class", "grid-item svelte-1cryhmb");
2987
2987
  attr(div1, "data-grid-item-id", /*gridItemId*/ ctx[1]);
2988
2988
  attr(div1, "style", /*_style*/ ctx[0]);
2989
2989
  },
@@ -3033,7 +3033,7 @@ function create_fragment$g(ctx) {
3033
3033
  };
3034
3034
  }
3035
3035
 
3036
- function instance$g($$self, $$props, $$invalidate) {
3036
+ function instance$i($$self, $$props, $$invalidate) {
3037
3037
  let _style;
3038
3038
  let { $$slots: slots = {}, $$scope } = $$props;
3039
3039
  let { x1 } = $$props;
@@ -3086,8 +3086,8 @@ class GridItem extends SvelteComponent {
3086
3086
  init(
3087
3087
  this,
3088
3088
  options,
3089
- instance$g,
3090
- create_fragment$g,
3089
+ instance$i,
3090
+ create_fragment$i,
3091
3091
  safe_not_equal,
3092
3092
  {
3093
3093
  x1: 2,
@@ -3097,18 +3097,18 @@ class GridItem extends SvelteComponent {
3097
3097
  z: 6,
3098
3098
  background: 7
3099
3099
  },
3100
- add_css$e
3100
+ add_css$g
3101
3101
  );
3102
3102
  }
3103
3103
  }
3104
3104
 
3105
3105
  /* src/components/Flex.svelte generated by Svelte v3.53.1 */
3106
3106
 
3107
- function add_css$d(target) {
3108
- append_styles(target, "svelte-1e71ejc", ".flex.svelte-1e71ejc{display:flex}");
3107
+ function add_css$f(target) {
3108
+ append_styles(target, "svelte-9v2qdg", ".flex.svelte-9v2qdg{display:flex}");
3109
3109
  }
3110
3110
 
3111
- function create_fragment$f(ctx) {
3111
+ function create_fragment$h(ctx) {
3112
3112
  let div;
3113
3113
  let div_style_value;
3114
3114
  let current;
@@ -3119,7 +3119,7 @@ function create_fragment$f(ctx) {
3119
3119
  c() {
3120
3120
  div = element("div");
3121
3121
  if (default_slot) default_slot.c();
3122
- attr(div, "class", "flex svelte-1e71ejc");
3122
+ attr(div, "class", "flex svelte-9v2qdg");
3123
3123
  attr(div, "style", div_style_value = "width:" + /*width*/ ctx[1] + "; height:" + /*height*/ ctx[2] + "; flex-direction:" + /*direction*/ ctx[0] + "; " + /*_style*/ ctx[3]);
3124
3124
  },
3125
3125
  m(target, anchor) {
@@ -3173,7 +3173,7 @@ function getFlexContext() {
3173
3173
  return getContext(FlexContextKey);
3174
3174
  }
3175
3175
 
3176
- function instance$f($$self, $$props, $$invalidate) {
3176
+ function instance$h($$self, $$props, $$invalidate) {
3177
3177
  let { $$slots: slots = {}, $$scope } = $$props;
3178
3178
  let { direction = 'row' } = $$props;
3179
3179
  let { width = '100%' } = $$props;
@@ -3199,8 +3199,8 @@ class Flex extends SvelteComponent {
3199
3199
  init(
3200
3200
  this,
3201
3201
  options,
3202
- instance$f,
3203
- create_fragment$f,
3202
+ instance$h,
3203
+ create_fragment$h,
3204
3204
  safe_not_equal,
3205
3205
  {
3206
3206
  direction: 0,
@@ -3208,18 +3208,18 @@ class Flex extends SvelteComponent {
3208
3208
  height: 2,
3209
3209
  _style: 3
3210
3210
  },
3211
- add_css$d
3211
+ add_css$f
3212
3212
  );
3213
3213
  }
3214
3214
  }
3215
3215
 
3216
3216
  /* src/components/FlexItem.svelte generated by Svelte v3.53.1 */
3217
3217
 
3218
- function add_css$c(target) {
3219
- append_styles(target, "svelte-1p0bk1x", ".flex-item.svelte-1p0bk1x{max-width:100%;max-height:100%;position:relative;isolation:isolate}");
3218
+ function add_css$e(target) {
3219
+ append_styles(target, "svelte-164ah5d", ".flex-item.svelte-164ah5d{max-width:100%;max-height:100%;position:relative;isolation:isolate}");
3220
3220
  }
3221
3221
 
3222
- function create_fragment$e(ctx) {
3222
+ function create_fragment$g(ctx) {
3223
3223
  let div;
3224
3224
  let current;
3225
3225
  const default_slot_template = /*#slots*/ ctx[4].default;
@@ -3229,7 +3229,7 @@ function create_fragment$e(ctx) {
3229
3229
  c() {
3230
3230
  div = element("div");
3231
3231
  if (default_slot) default_slot.c();
3232
- attr(div, "class", "flex-item svelte-1p0bk1x");
3232
+ attr(div, "class", "flex-item svelte-164ah5d");
3233
3233
  attr(div, "style", /*style*/ ctx[0]);
3234
3234
  },
3235
3235
  m(target, anchor) {
@@ -3277,7 +3277,7 @@ function create_fragment$e(ctx) {
3277
3277
  };
3278
3278
  }
3279
3279
 
3280
- function instance$e($$self, $$props, $$invalidate) {
3280
+ function instance$g($$self, $$props, $$invalidate) {
3281
3281
  let { $$slots: slots = {}, $$scope } = $$props;
3282
3282
  let { length } = $$props;
3283
3283
  let { _style = '' } = $$props;
@@ -3320,7 +3320,7 @@ function instance$e($$self, $$props, $$invalidate) {
3320
3320
  class FlexItem extends SvelteComponent {
3321
3321
  constructor(options) {
3322
3322
  super();
3323
- init(this, options, instance$e, create_fragment$e, safe_not_equal, { length: 1, _style: 2 }, add_css$c);
3323
+ init(this, options, instance$g, create_fragment$g, safe_not_equal, { length: 1, _style: 2 }, add_css$e);
3324
3324
  }
3325
3325
  }
3326
3326
 
@@ -3415,7 +3415,7 @@ function create_each_block$1(ctx) {
3415
3415
  };
3416
3416
  }
3417
3417
 
3418
- function create_fragment$d(ctx) {
3418
+ function create_fragment$f(ctx) {
3419
3419
  let each_1_anchor;
3420
3420
  let each_value = /*items*/ ctx[0];
3421
3421
  let each_blocks = [];
@@ -3474,7 +3474,7 @@ function create_fragment$d(ctx) {
3474
3474
 
3475
3475
  const regexp = /(\r?\n)/;
3476
3476
 
3477
- function instance$d($$self, $$props, $$invalidate) {
3477
+ function instance$f($$self, $$props, $$invalidate) {
3478
3478
  let items;
3479
3479
  let { text = 'サンプルSample' } = $$props;
3480
3480
 
@@ -3494,17 +3494,17 @@ function instance$d($$self, $$props, $$invalidate) {
3494
3494
  class RenderText extends SvelteComponent {
3495
3495
  constructor(options) {
3496
3496
  super();
3497
- init(this, options, instance$d, create_fragment$d, safe_not_equal, { text: 1 });
3497
+ init(this, options, instance$f, create_fragment$f, safe_not_equal, { text: 1 });
3498
3498
  }
3499
3499
  }
3500
3500
 
3501
3501
  /* src/components/TextElement.svelte generated by Svelte v3.53.1 */
3502
3502
 
3503
- function add_css$b(target) {
3504
- 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%}");
3503
+ function add_css$d(target) {
3504
+ append_styles(target, "svelte-ojltd4", ".text-element.svelte-ojltd4.svelte-ojltd4{display:flex;position:relative;width:100%;height:100%;box-sizing:border-box;white-space:pre-wrap;overflow:auto}.text-element-inner.svelte-ojltd4.svelte-ojltd4{width:100%;height:auto}.text-direction-vertical.svelte-ojltd4.svelte-ojltd4{writing-mode:vertical-rl}.text-direction-vertical.svelte-ojltd4 .text-element-inner.svelte-ojltd4{width:auto;height:100%}");
3505
3505
  }
3506
3506
 
3507
- function create_fragment$c(ctx) {
3507
+ function create_fragment$e(ctx) {
3508
3508
  let div1;
3509
3509
  let div0;
3510
3510
  let rendertext;
@@ -3517,8 +3517,8 @@ function create_fragment$c(ctx) {
3517
3517
  div1 = element("div");
3518
3518
  div0 = element("div");
3519
3519
  create_component(rendertext.$$.fragment);
3520
- attr(div0, "class", "text-element-inner svelte-9en2jg");
3521
- attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-9en2jg"));
3520
+ attr(div0, "class", "text-element-inner svelte-ojltd4");
3521
+ attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-ojltd4"));
3522
3522
  attr(div1, "style", /*style*/ ctx[2]);
3523
3523
  },
3524
3524
  m(target, anchor) {
@@ -3532,7 +3532,7 @@ function create_fragment$c(ctx) {
3532
3532
  if (dirty & /*text*/ 1) rendertext_changes.text = /*text*/ ctx[0];
3533
3533
  rendertext.$set(rendertext_changes);
3534
3534
 
3535
- if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-9en2jg"))) {
3535
+ if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-element text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-ojltd4"))) {
3536
3536
  attr(div1, "class", div1_class_value);
3537
3537
  }
3538
3538
 
@@ -3556,7 +3556,7 @@ function create_fragment$c(ctx) {
3556
3556
  };
3557
3557
  }
3558
3558
 
3559
- function instance$c($$self, $$props, $$invalidate) {
3559
+ function instance$e($$self, $$props, $$invalidate) {
3560
3560
  let style;
3561
3561
  let { text = 'サンプルSample' } = $$props;
3562
3562
  let { _textStyle = 'font-size:12px;' } = $$props;
@@ -3586,8 +3586,8 @@ class TextElement extends SvelteComponent {
3586
3586
  init(
3587
3587
  this,
3588
3588
  options,
3589
- instance$c,
3590
- create_fragment$c,
3589
+ instance$e,
3590
+ create_fragment$e,
3591
3591
  safe_not_equal,
3592
3592
  {
3593
3593
  text: 0,
@@ -3595,18 +3595,18 @@ class TextElement extends SvelteComponent {
3595
3595
  textDirection: 1,
3596
3596
  _style: 4
3597
3597
  },
3598
- add_css$b
3598
+ add_css$d
3599
3599
  );
3600
3600
  }
3601
3601
  }
3602
3602
 
3603
3603
  /* src/components/TextButtonElement.svelte generated by Svelte v3.53.1 */
3604
3604
 
3605
- function add_css$a(target) {
3606
- 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)}");
3605
+ function add_css$c(target) {
3606
+ append_styles(target, "svelte-m5478d", ".text-button-element.svelte-m5478d{width:100%;height:100%}.text-button.svelte-m5478d{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-m5478d:active{box-shadow:inset 0 0 100px 100px rgba(0, 0, 0, 0.3)}.text-button.svelte-m5478d:hover{box-shadow:inset 0 0 100px 100px rgba(255, 255, 255, 0.3)}");
3607
3607
  }
3608
3608
 
3609
- function create_fragment$b(ctx) {
3609
+ function create_fragment$d(ctx) {
3610
3610
  let div;
3611
3611
  let button;
3612
3612
  let rendertext;
@@ -3620,9 +3620,9 @@ function create_fragment$b(ctx) {
3620
3620
  div = element("div");
3621
3621
  button = element("button");
3622
3622
  create_component(rendertext.$$.fragment);
3623
- attr(button, "class", "text-button svelte-tx5xf5");
3623
+ attr(button, "class", "text-button svelte-m5478d");
3624
3624
  attr(button, "style", /*_buttonStyle*/ ctx[1]);
3625
- attr(div, "class", "text-button-element svelte-tx5xf5");
3625
+ attr(div, "class", "text-button-element svelte-m5478d");
3626
3626
  attr(div, "style", /*_style*/ ctx[2]);
3627
3627
  },
3628
3628
  m(target, anchor) {
@@ -3667,7 +3667,7 @@ function create_fragment$b(ctx) {
3667
3667
  };
3668
3668
  }
3669
3669
 
3670
- function instance$b($$self, $$props, $$invalidate) {
3670
+ function instance$d($$self, $$props, $$invalidate) {
3671
3671
  let { text = 'ボタンラベル' } = $$props;
3672
3672
  let { onClick = { operation: 'none', args: [] } } = $$props;
3673
3673
 
@@ -3701,8 +3701,8 @@ class TextButtonElement extends SvelteComponent {
3701
3701
  init(
3702
3702
  this,
3703
3703
  options,
3704
- instance$b,
3705
- create_fragment$b,
3704
+ instance$d,
3705
+ create_fragment$d,
3706
3706
  safe_not_equal,
3707
3707
  {
3708
3708
  text: 0,
@@ -3711,18 +3711,18 @@ class TextButtonElement extends SvelteComponent {
3711
3711
  _buttonStyle: 1,
3712
3712
  _style: 2
3713
3713
  },
3714
- add_css$a
3714
+ add_css$c
3715
3715
  );
3716
3716
  }
3717
3717
  }
3718
3718
 
3719
3719
  /* src/components/ImageElement.svelte generated by Svelte v3.53.1 */
3720
3720
 
3721
- function add_css$9(target) {
3722
- 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)}");
3721
+ function add_css$b(target) {
3722
+ append_styles(target, "svelte-1yun3cc", ".image-element.svelte-1yun3cc{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-1yun3cc{width:100%;height:100%}.transport.svelte-1yun3cc:hover,.transport.svelte-1yun3cc:focus{opacity:0.75;box-shadow:0 5px 16px rgba(0, 0, 0, 0.1), 0 8px 28px rgba(0, 0, 0, 0.16)}");
3723
3723
  }
3724
3724
 
3725
- function create_fragment$a(ctx) {
3725
+ function create_fragment$c(ctx) {
3726
3726
  let div;
3727
3727
  let img;
3728
3728
  let img_src_value;
@@ -3734,14 +3734,14 @@ function create_fragment$a(ctx) {
3734
3734
  c() {
3735
3735
  div = element("div");
3736
3736
  img = element("img");
3737
- attr(img, "class", "image svelte-t8kpqw");
3737
+ attr(img, "class", "image svelte-1yun3cc");
3738
3738
  attr(img, "loading", "lazy");
3739
3739
  attr(img, "width", "auto");
3740
3740
  attr(img, "height", "auto");
3741
3741
  attr(img, "style", /*_imageStyle*/ ctx[3]);
3742
3742
  if (!src_url_equal(img.src, img_src_value = /*src*/ ctx[0])) attr(img, "src", img_src_value);
3743
3743
  attr(img, "alt", /*alt*/ ctx[1]);
3744
- attr(div, "class", div_class_value = "" + (null_to_empty('image-element' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-t8kpqw"));
3744
+ attr(div, "class", div_class_value = "" + (null_to_empty('image-element' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-1yun3cc"));
3745
3745
  attr(div, "style", /*_style*/ ctx[4]);
3746
3746
  },
3747
3747
  m(target, anchor) {
@@ -3766,7 +3766,7 @@ function create_fragment$a(ctx) {
3766
3766
  attr(img, "alt", /*alt*/ ctx[1]);
3767
3767
  }
3768
3768
 
3769
- if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty('image-element' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-t8kpqw"))) {
3769
+ if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty('image-element' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-1yun3cc"))) {
3770
3770
  attr(div, "class", div_class_value);
3771
3771
  }
3772
3772
 
@@ -3784,7 +3784,7 @@ function create_fragment$a(ctx) {
3784
3784
  };
3785
3785
  }
3786
3786
 
3787
- function instance$a($$self, $$props, $$invalidate) {
3787
+ function instance$c($$self, $$props, $$invalidate) {
3788
3788
  let { src = 'https://admin.karte.io/action-editor2/public/images/no_image_en.svg' } = $$props;
3789
3789
  let { alt = 'No Image' } = $$props;
3790
3790
  let { transport = false } = $$props;
@@ -3822,8 +3822,8 @@ class ImageElement extends SvelteComponent {
3822
3822
  init(
3823
3823
  this,
3824
3824
  options,
3825
- instance$a,
3826
- create_fragment$a,
3825
+ instance$c,
3826
+ create_fragment$c,
3827
3827
  safe_not_equal,
3828
3828
  {
3829
3829
  src: 0,
@@ -3834,18 +3834,18 @@ class ImageElement extends SvelteComponent {
3834
3834
  _imageStyle: 3,
3835
3835
  _style: 4
3836
3836
  },
3837
- add_css$9
3837
+ add_css$b
3838
3838
  );
3839
3839
  }
3840
3840
  }
3841
3841
 
3842
3842
  /* src/components/List.svelte generated by Svelte v3.53.1 */
3843
3843
 
3844
- function add_css$8(target) {
3845
- append_styles(target, "svelte-dfqtyx", ".list.svelte-dfqtyx{display:flex;width:100%;height:100%;overflow:hidden}");
3844
+ function add_css$a(target) {
3845
+ append_styles(target, "svelte-c6mdjx", ".list.svelte-c6mdjx{display:flex;width:100%;height:100%;overflow:hidden}");
3846
3846
  }
3847
3847
 
3848
- function create_fragment$9(ctx) {
3848
+ function create_fragment$b(ctx) {
3849
3849
  let div;
3850
3850
  let current;
3851
3851
  const default_slot_template = /*#slots*/ ctx[6].default;
@@ -3855,7 +3855,7 @@ function create_fragment$9(ctx) {
3855
3855
  c() {
3856
3856
  div = element("div");
3857
3857
  if (default_slot) default_slot.c();
3858
- attr(div, "class", "list svelte-dfqtyx");
3858
+ attr(div, "class", "list svelte-c6mdjx");
3859
3859
  attr(div, "style", /*style*/ ctx[0]);
3860
3860
  },
3861
3861
  m(target, anchor) {
@@ -3905,7 +3905,7 @@ function create_fragment$9(ctx) {
3905
3905
 
3906
3906
  const LIST_CONTEXT_KEY = Symbol();
3907
3907
 
3908
- function instance$9($$self, $$props, $$invalidate) {
3908
+ function instance$b($$self, $$props, $$invalidate) {
3909
3909
  let style;
3910
3910
  let { $$slots: slots = {}, $$scope } = $$props;
3911
3911
  let { direction = 'vertical' } = $$props;
@@ -3972,8 +3972,8 @@ class List extends SvelteComponent {
3972
3972
  init(
3973
3973
  this,
3974
3974
  options,
3975
- instance$9,
3976
- create_fragment$9,
3975
+ instance$b,
3976
+ create_fragment$b,
3977
3977
  safe_not_equal,
3978
3978
  {
3979
3979
  direction: 1,
@@ -3981,18 +3981,18 @@ class List extends SvelteComponent {
3981
3981
  background: 3,
3982
3982
  _style: 4
3983
3983
  },
3984
- add_css$8
3984
+ add_css$a
3985
3985
  );
3986
3986
  }
3987
3987
  }
3988
3988
 
3989
3989
  /* src/components/ListItem.svelte generated by Svelte v3.53.1 */
3990
3990
 
3991
- function add_css$7(target) {
3992
- 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}");
3991
+ function add_css$9(target) {
3992
+ append_styles(target, "svelte-16bv3xq", ".list-item.svelte-16bv3xq{flex:auto;box-sizing:border-box;min-width:0;min-height:0;position:relative}.list-item-inner.svelte-16bv3xq{position:absolute;inset:0}");
3993
3993
  }
3994
3994
 
3995
- function create_fragment$8(ctx) {
3995
+ function create_fragment$a(ctx) {
3996
3996
  let div1;
3997
3997
  let div0;
3998
3998
  let current;
@@ -4006,9 +4006,9 @@ function create_fragment$8(ctx) {
4006
4006
  div1 = element("div");
4007
4007
  div0 = element("div");
4008
4008
  if (default_slot) default_slot.c();
4009
- attr(div0, "class", "list-item-inner svelte-h5j4xe");
4009
+ attr(div0, "class", "list-item-inner svelte-16bv3xq");
4010
4010
  attr(div0, "style", /*_style*/ ctx[0]);
4011
- attr(div1, "class", "list-item svelte-h5j4xe");
4011
+ attr(div1, "class", "list-item svelte-16bv3xq");
4012
4012
  attr(div1, "style", /*listItemStyle*/ ctx[1]);
4013
4013
  },
4014
4014
  m(target, anchor) {
@@ -4073,7 +4073,7 @@ function create_fragment$8(ctx) {
4073
4073
  };
4074
4074
  }
4075
4075
 
4076
- function instance$8($$self, $$props, $$invalidate) {
4076
+ function instance$a($$self, $$props, $$invalidate) {
4077
4077
  let click;
4078
4078
  let listItemStyle;
4079
4079
  let { $$slots: slots = {}, $$scope } = $$props;
@@ -4163,23 +4163,23 @@ function instance$8($$self, $$props, $$invalidate) {
4163
4163
  class ListItem extends SvelteComponent {
4164
4164
  constructor(options) {
4165
4165
  super();
4166
- init(this, options, instance$8, create_fragment$8, safe_not_equal, { onClick: 3, clickEventName: 4, _style: 0 }, add_css$7);
4166
+ init(this, options, instance$a, create_fragment$a, safe_not_equal, { onClick: 3, clickEventName: 4, _style: 0 }, add_css$9);
4167
4167
  }
4168
4168
  }
4169
4169
 
4170
4170
  /* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
4171
4171
 
4172
- function add_css$6(target) {
4173
- 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%}");
4172
+ function add_css$8(target) {
4173
+ append_styles(target, "svelte-no29sy", ".embed.svelte-no29sy{position:relative;box-shadow:0 1px rgba(0, 0, 0, 0.06);padding-top:56.25%;overflow:hidden}.embed.svelte-no29sy iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
4174
4174
  }
4175
4175
 
4176
- function create_fragment$7(ctx) {
4176
+ function create_fragment$9(ctx) {
4177
4177
  let div;
4178
4178
 
4179
4179
  return {
4180
4180
  c() {
4181
4181
  div = element("div");
4182
- attr(div, "class", "embed svelte-k86zna");
4182
+ attr(div, "class", "embed svelte-no29sy");
4183
4183
  attr(div, "style", /*_style*/ ctx[1]);
4184
4184
  },
4185
4185
  m(target, anchor) {
@@ -4200,7 +4200,7 @@ function create_fragment$7(ctx) {
4200
4200
  };
4201
4201
  }
4202
4202
 
4203
- function instance$7($$self, $$props, $$invalidate) {
4203
+ function instance$9($$self, $$props, $$invalidate) {
4204
4204
  let { code } = $$props;
4205
4205
  let { _style = '' } = $$props;
4206
4206
 
@@ -4215,14 +4215,446 @@ function instance$7($$self, $$props, $$invalidate) {
4215
4215
  class EmbedElement extends SvelteComponent {
4216
4216
  constructor(options) {
4217
4217
  super();
4218
- init(this, options, instance$7, create_fragment$7, safe_not_equal, { code: 0, _style: 1 }, add_css$6);
4218
+ init(this, options, instance$9, create_fragment$9, safe_not_equal, { code: 0, _style: 1 }, add_css$8);
4219
+ }
4220
+ }
4221
+
4222
+ /* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
4223
+
4224
+ function add_css$7(target) {
4225
+ append_styles(target, "svelte-no29sy", ".embed.svelte-no29sy{position:relative;box-shadow:0 1px rgba(0, 0, 0, 0.06);padding-top:56.25%;overflow:hidden}.embed.svelte-no29sy iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
4226
+ }
4227
+
4228
+ function create_fragment$8(ctx) {
4229
+ let div1;
4230
+ let div0;
4231
+
4232
+ return {
4233
+ c() {
4234
+ div1 = element("div");
4235
+ div0 = element("div");
4236
+ attr(div0, "class", "karte-player");
4237
+ attr(div1, "class", "embed svelte-no29sy");
4238
+ attr(div1, "style", /*_style*/ ctx[0]);
4239
+ },
4240
+ m(target, anchor) {
4241
+ insert(target, div1, anchor);
4242
+ append(div1, div0);
4243
+ /*div0_binding*/ ctx[7](div0);
4244
+ },
4245
+ p(ctx, [dirty]) {
4246
+ if (dirty & /*_style*/ 1) {
4247
+ attr(div1, "style", /*_style*/ ctx[0]);
4248
+ }
4249
+ },
4250
+ i: noop,
4251
+ o: noop,
4252
+ d(detaching) {
4253
+ if (detaching) detach(div1);
4254
+ /*div0_binding*/ ctx[7](null);
4255
+ }
4256
+ };
4257
+ }
4258
+
4259
+ function instance$8($$self, $$props, $$invalidate) {
4260
+ let $system;
4261
+ component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
4262
+ let { videoId } = $$props;
4263
+ let { sendEvent } = $$props;
4264
+ let { autoplay = false } = $$props;
4265
+ let { loop = false } = $$props;
4266
+ let { mute = false } = $$props;
4267
+ let { _style = "" } = $$props;
4268
+
4269
+ // @ts-ignore
4270
+ if (!window.YT) {
4271
+ const tag = document.createElement("script");
4272
+ tag.src = "//www.youtube.com/iframe_api";
4273
+ const firstScriptTag = document.getElementsByTagName("script")[0];
4274
+ firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
4275
+ }
4276
+
4277
+ let startDate = 0;
4278
+ let totalPlaySeconds = 0;
4279
+ let alreadyPlay = false;
4280
+ let player = null;
4281
+ let domRef = null;
4282
+
4283
+ function sendMovieEvent(event_name, values = {}) {
4284
+ if (!sendEvent) {
4285
+ return;
4286
+ }
4287
+
4288
+ const sentValues = {
4289
+ campaign_id: $system.campaignId,
4290
+ shorten_id: $system.shortenId,
4291
+ ...values
4292
+ };
4293
+
4294
+ send_event(event_name, sentValues);
4295
+ }
4296
+
4297
+ function sendPlaytime() {
4298
+ if (!startDate) {
4299
+ return;
4300
+ }
4301
+
4302
+ const currentDate = Date.now();
4303
+ const playSeconds = Math.round((currentDate - startDate) / 1000);
4304
+ totalPlaySeconds += playSeconds;
4305
+
4306
+ sendMovieEvent("_movie_playtime", {
4307
+ seconds: playSeconds,
4308
+ total_seconds: totalPlaySeconds
4309
+ });
4310
+ }
4311
+
4312
+ // @ts-ignore
4313
+ function onPlayerReady(event) {
4314
+ if (mute) {
4315
+ player.mute();
4316
+ }
4317
+ }
4318
+
4319
+ function onStart() {
4320
+ startDate = Date.now();
4321
+
4322
+ if (!alreadyPlay) {
4323
+ alreadyPlay = true;
4324
+ sendMovieEvent("_movie_play");
4325
+ }
4326
+ }
4327
+
4328
+ function onPause() {
4329
+ sendPlaytime();
4330
+ startDate = null;
4331
+ }
4332
+
4333
+ function onFinish() {
4334
+ sendMovieEvent("_movie_finish");
4335
+ sendPlaytime();
4336
+ startDate = null;
4337
+ }
4338
+
4339
+ function onPlayerStateChange(event) {
4340
+ switch (event.data) {
4341
+ case 1:
4342
+ // 再生中
4343
+ onStart();
4344
+ break;
4345
+ case 2:
4346
+ // 停止
4347
+ onPause();
4348
+ break;
4349
+ case 0:
4350
+ // 終了
4351
+ onFinish();
4352
+ break;
4353
+ }
4354
+ }
4355
+
4356
+ function createPlayer() {
4357
+ if (!domRef) {
4358
+ return;
4359
+ }
4360
+
4361
+ const playerVars = {
4362
+ autoplay: autoplay ? 1 : 0,
4363
+ loop: loop ? 1 : 0,
4364
+ rel: 0,
4365
+ playlist: null
4366
+ };
4367
+
4368
+ if (loop) {
4369
+ playerVars.playlist = videoId;
4370
+ }
4371
+
4372
+ // @ts-ignore
4373
+ player = new window.YT.Player(domRef,
4374
+ {
4375
+ videoId,
4376
+ playerVars,
4377
+ events: {
4378
+ onReady: onPlayerReady,
4379
+ onStateChange: onPlayerStateChange
4380
+ }
4381
+ });
4382
+ }
4383
+
4384
+ onDestroy$1(() => {
4385
+ if (player) {
4386
+ player.stopVideo();
4387
+ }
4388
+
4389
+ player.destroy();
4390
+ });
4391
+
4392
+ onMount(() => {
4393
+ setTimeout(
4394
+ () => {
4395
+ // @ts-ignore
4396
+ if (window.YT) {
4397
+ createPlayer();
4398
+ }
4399
+ },
4400
+ 200
4401
+ );
4402
+ });
4403
+
4404
+ // @ts-ignore
4405
+ window.onYouTubeIframeAPIReady = () => {
4406
+ createPlayer();
4407
+ };
4408
+
4409
+ window.addEventListener("beforeunload", () => {
4410
+ sendPlaytime();
4411
+ });
4412
+
4413
+ function div0_binding($$value) {
4414
+ binding_callbacks[$$value ? 'unshift' : 'push'](() => {
4415
+ domRef = $$value;
4416
+ $$invalidate(1, domRef);
4417
+ });
4418
+ }
4419
+
4420
+ $$self.$$set = $$props => {
4421
+ if ('videoId' in $$props) $$invalidate(2, videoId = $$props.videoId);
4422
+ if ('sendEvent' in $$props) $$invalidate(3, sendEvent = $$props.sendEvent);
4423
+ if ('autoplay' in $$props) $$invalidate(4, autoplay = $$props.autoplay);
4424
+ if ('loop' in $$props) $$invalidate(5, loop = $$props.loop);
4425
+ if ('mute' in $$props) $$invalidate(6, mute = $$props.mute);
4426
+ if ('_style' in $$props) $$invalidate(0, _style = $$props._style);
4427
+ };
4428
+
4429
+ return [_style, domRef, videoId, sendEvent, autoplay, loop, mute, div0_binding];
4430
+ }
4431
+
4432
+ class MovieYouTubeElement extends SvelteComponent {
4433
+ constructor(options) {
4434
+ super();
4435
+
4436
+ init(
4437
+ this,
4438
+ options,
4439
+ instance$8,
4440
+ create_fragment$8,
4441
+ safe_not_equal,
4442
+ {
4443
+ videoId: 2,
4444
+ sendEvent: 3,
4445
+ autoplay: 4,
4446
+ loop: 5,
4447
+ mute: 6,
4448
+ _style: 0
4449
+ },
4450
+ add_css$7
4451
+ );
4452
+ }
4453
+ }
4454
+
4455
+ /* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
4456
+
4457
+ function add_css$6(target) {
4458
+ append_styles(target, "svelte-no29sy", ".embed.svelte-no29sy{position:relative;box-shadow:0 1px rgba(0, 0, 0, 0.06);padding-top:56.25%;overflow:hidden}.embed.svelte-no29sy iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
4459
+ }
4460
+
4461
+ function create_fragment$7(ctx) {
4462
+ let div1;
4463
+ let div0;
4464
+
4465
+ return {
4466
+ c() {
4467
+ div1 = element("div");
4468
+ div0 = element("div");
4469
+ attr(div0, "class", "karte-player");
4470
+ attr(div1, "class", "embed svelte-no29sy");
4471
+ attr(div1, "style", /*_style*/ ctx[0]);
4472
+ },
4473
+ m(target, anchor) {
4474
+ insert(target, div1, anchor);
4475
+ append(div1, div0);
4476
+ /*div0_binding*/ ctx[7](div0);
4477
+ },
4478
+ p(ctx, [dirty]) {
4479
+ if (dirty & /*_style*/ 1) {
4480
+ attr(div1, "style", /*_style*/ ctx[0]);
4481
+ }
4482
+ },
4483
+ i: noop,
4484
+ o: noop,
4485
+ d(detaching) {
4486
+ if (detaching) detach(div1);
4487
+ /*div0_binding*/ ctx[7](null);
4488
+ }
4489
+ };
4490
+ }
4491
+
4492
+ function instance$7($$self, $$props, $$invalidate) {
4493
+ let $system;
4494
+ component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
4495
+ let { videoId } = $$props;
4496
+ let { sendEvent } = $$props;
4497
+ let { autoplay = false } = $$props;
4498
+ let { loop = false } = $$props;
4499
+ let { mute = false } = $$props;
4500
+ let { _style = "" } = $$props;
4501
+
4502
+ // @ts-ignore
4503
+ if (!window.Vimeo) {
4504
+ const tag = document.createElement("script");
4505
+ tag.src = "//player.vimeo.com/api/player.js";
4506
+ const firstScriptTag = document.getElementsByTagName("script")[0];
4507
+ firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
4508
+ }
4509
+
4510
+ let startDate = 0;
4511
+ let totalPlaySeconds = 0;
4512
+ let alreadyPlay = false;
4513
+ let player = null;
4514
+ let domRef = null;
4515
+
4516
+ function sendMovieEvent(event_name, values = {}) {
4517
+ if (!sendEvent) {
4518
+ return;
4519
+ }
4520
+
4521
+ const sentValues = {
4522
+ campaign_id: $system.campaignId,
4523
+ shorten_id: $system.shortenId,
4524
+ ...values
4525
+ };
4526
+
4527
+ send_event(event_name, sentValues);
4528
+ }
4529
+
4530
+ function sendPlaytime() {
4531
+ if (!startDate) {
4532
+ return;
4533
+ }
4534
+
4535
+ const currentDate = Date.now();
4536
+ const playSeconds = Math.round((currentDate - startDate) / 1000);
4537
+ totalPlaySeconds += playSeconds;
4538
+
4539
+ sendMovieEvent("_movie_playtime", {
4540
+ seconds: playSeconds,
4541
+ total_seconds: totalPlaySeconds
4542
+ });
4543
+ }
4544
+
4545
+ function onPlayerReady() {
4546
+ if (mute) {
4547
+ player.setMuted(true);
4548
+ }
4549
+ }
4550
+
4551
+ function onStart() {
4552
+ startDate = Date.now();
4553
+
4554
+ if (!alreadyPlay) {
4555
+ alreadyPlay = true;
4556
+ sendMovieEvent("_movie_play");
4557
+ }
4558
+ }
4559
+
4560
+ function onPause() {
4561
+ sendPlaytime();
4562
+ startDate = null;
4563
+ }
4564
+
4565
+ function onFinish() {
4566
+ sendMovieEvent("_movie_finish");
4567
+ sendPlaytime();
4568
+ startDate = null;
4569
+ }
4570
+
4571
+ function createPlayer() {
4572
+ if (!domRef) {
4573
+ return;
4574
+ }
4575
+
4576
+ const playerOptions = { id: videoId, autoplay, loop };
4577
+ console.log("createPlayer1");
4578
+
4579
+ // @ts-ignore
4580
+ player = new window.Vimeo.Player(domRef, playerOptions);
4581
+
4582
+ console.log("createPlayer2");
4583
+ player.on("play", onStart);
4584
+ player.on("pause", onPause);
4585
+ player.on("ended", onFinish);
4586
+ onPlayerReady();
4587
+ }
4588
+
4589
+ onDestroy$1(() => {
4590
+ player.destroy();
4591
+ });
4592
+
4593
+ onMount(() => {
4594
+ console.log("onMount1");
4595
+
4596
+ setTimeout(
4597
+ () => {
4598
+ // @ts-ignore
4599
+ if (window.Vimeo) {
4600
+ console.log("onMount2");
4601
+ createPlayer();
4602
+ }
4603
+ },
4604
+ 1000
4605
+ );
4606
+ });
4607
+
4608
+ window.addEventListener("beforeunload", () => {
4609
+ sendPlaytime();
4610
+ });
4611
+
4612
+ function div0_binding($$value) {
4613
+ binding_callbacks[$$value ? 'unshift' : 'push'](() => {
4614
+ domRef = $$value;
4615
+ $$invalidate(1, domRef);
4616
+ });
4617
+ }
4618
+
4619
+ $$self.$$set = $$props => {
4620
+ if ('videoId' in $$props) $$invalidate(2, videoId = $$props.videoId);
4621
+ if ('sendEvent' in $$props) $$invalidate(3, sendEvent = $$props.sendEvent);
4622
+ if ('autoplay' in $$props) $$invalidate(4, autoplay = $$props.autoplay);
4623
+ if ('loop' in $$props) $$invalidate(5, loop = $$props.loop);
4624
+ if ('mute' in $$props) $$invalidate(6, mute = $$props.mute);
4625
+ if ('_style' in $$props) $$invalidate(0, _style = $$props._style);
4626
+ };
4627
+
4628
+ return [_style, domRef, videoId, sendEvent, autoplay, loop, mute, div0_binding];
4629
+ }
4630
+
4631
+ class MovieVimeoElement extends SvelteComponent {
4632
+ constructor(options) {
4633
+ super();
4634
+
4635
+ init(
4636
+ this,
4637
+ options,
4638
+ instance$7,
4639
+ create_fragment$7,
4640
+ safe_not_equal,
4641
+ {
4642
+ videoId: 2,
4643
+ sendEvent: 3,
4644
+ autoplay: 4,
4645
+ loop: 5,
4646
+ mute: 6,
4647
+ _style: 0
4648
+ },
4649
+ add_css$6
4650
+ );
4219
4651
  }
4220
4652
  }
4221
4653
 
4222
4654
  /* src/components/Form.svelte generated by Svelte v3.53.1 */
4223
4655
 
4224
4656
  function add_css$5(target) {
4225
- append_styles(target, "svelte-1il0aow", ".form.svelte-1il0aow{width:100%;height:100%}");
4657
+ append_styles(target, "svelte-ll2nus", ".form.svelte-ll2nus{width:100%;height:100%}");
4226
4658
  }
4227
4659
 
4228
4660
  function create_fragment$6(ctx) {
@@ -4235,7 +4667,7 @@ function create_fragment$6(ctx) {
4235
4667
  c() {
4236
4668
  div = element("div");
4237
4669
  if (default_slot) default_slot.c();
4238
- attr(div, "class", "form svelte-1il0aow");
4670
+ attr(div, "class", "form svelte-ll2nus");
4239
4671
  },
4240
4672
  m(target, anchor) {
4241
4673
  insert(target, div, anchor);
@@ -4389,7 +4821,7 @@ class Form extends SvelteComponent {
4389
4821
  /* src/components/FormTextarea.svelte generated by Svelte v3.53.1 */
4390
4822
 
4391
4823
  function add_css$4(target) {
4392
- 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}");
4824
+ append_styles(target, "svelte-13z4kn0", ".textarea-wrapper.svelte-13z4kn0{display:flex;align-items:center;width:100%;height:100%}.textarea.svelte-13z4kn0{width:100%;resize:none}");
4393
4825
  }
4394
4826
 
4395
4827
  function create_fragment$5(ctx) {
@@ -4402,12 +4834,12 @@ function create_fragment$5(ctx) {
4402
4834
  c() {
4403
4835
  div = element("div");
4404
4836
  textarea = element("textarea");
4405
- attr(textarea, "class", "textarea svelte-kyay3k");
4837
+ attr(textarea, "class", "textarea svelte-13z4kn0");
4406
4838
  textarea.value = /*value*/ ctx[3];
4407
4839
  textarea.required = /*required*/ ctx[0];
4408
4840
  attr(textarea, "rows", /*rows*/ ctx[1]);
4409
4841
  attr(textarea, "placeholder", /*placeholder*/ ctx[2]);
4410
- attr(div, "class", "textarea-wrapper svelte-kyay3k");
4842
+ attr(div, "class", "textarea-wrapper svelte-13z4kn0");
4411
4843
  },
4412
4844
  m(target, anchor) {
4413
4845
  insert(target, div, anchor);
@@ -4624,7 +5056,7 @@ class FormButton extends SvelteComponent {
4624
5056
  /* src/components/FormRadioButtons.svelte generated by Svelte v3.53.1 */
4625
5057
 
4626
5058
  function add_css$3(target) {
4627
- append_styles(target, "svelte-1ajmbw1", ".radio-buttons.svelte-1ajmbw1{display:flex;justify-content:center;flex-direction:column;width:100%;height:100%}");
5059
+ append_styles(target, "svelte-1pbq2od", ".radio-buttons.svelte-1pbq2od{display:flex;justify-content:center;flex-direction:column;width:100%;height:100%}");
4628
5060
  }
4629
5061
 
4630
5062
  function get_each_context(ctx, list, i) {
@@ -4707,7 +5139,7 @@ function create_fragment$3(ctx) {
4707
5139
  each_blocks[i].c();
4708
5140
  }
4709
5141
 
4710
- attr(div, "class", "radio-buttons svelte-1ajmbw1");
5142
+ attr(div, "class", "radio-buttons svelte-1pbq2od");
4711
5143
  },
4712
5144
  m(target, anchor) {
4713
5145
  insert(target, div, anchor);
@@ -4787,7 +5219,7 @@ class FormRadioButtons extends SvelteComponent {
4787
5219
  /* src/components/TextBlock.svelte generated by Svelte v3.53.1 */
4788
5220
 
4789
5221
  function add_css$2(target) {
4790
- 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%}");
5222
+ append_styles(target, "svelte-q1o685", ".text-block.svelte-q1o685.svelte-q1o685{display:flex;position:relative;width:100%;height:100%;box-sizing:border-box;white-space:pre-wrap;overflow:auto}.text-block-inner.svelte-q1o685.svelte-q1o685{width:100%;height:auto}.text-direction-vertical.svelte-q1o685.svelte-q1o685{writing-mode:vertical-rl}.text-direction-vertical.svelte-q1o685 .text-block-inner.svelte-q1o685{width:auto;height:100%}");
4791
5223
  }
4792
5224
 
4793
5225
  function create_fragment$2(ctx) {
@@ -4803,8 +5235,8 @@ function create_fragment$2(ctx) {
4803
5235
  div1 = element("div");
4804
5236
  div0 = element("div");
4805
5237
  create_component(rendertext.$$.fragment);
4806
- attr(div0, "class", "text-block-inner svelte-11rpuv5");
4807
- attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-11rpuv5"));
5238
+ attr(div0, "class", "text-block-inner svelte-q1o685");
5239
+ attr(div1, "class", div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-q1o685"));
4808
5240
  attr(div1, "style", /*style*/ ctx[2]);
4809
5241
  },
4810
5242
  m(target, anchor) {
@@ -4818,7 +5250,7 @@ function create_fragment$2(ctx) {
4818
5250
  if (dirty & /*text*/ 1) rendertext_changes.text = /*text*/ ctx[0];
4819
5251
  rendertext.$set(rendertext_changes);
4820
5252
 
4821
- if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-11rpuv5"))) {
5253
+ if (!current || dirty & /*textDirection*/ 2 && div1_class_value !== (div1_class_value = "" + (null_to_empty(`text-block text-direction-${/*textDirection*/ ctx[1]}`) + " svelte-q1o685"))) {
4822
5254
  attr(div1, "class", div1_class_value);
4823
5255
  }
4824
5256
 
@@ -4889,7 +5321,7 @@ class TextBlock extends SvelteComponent {
4889
5321
  /* src/components/TextButtonBlock.svelte generated by Svelte v3.53.1 */
4890
5322
 
4891
5323
  function add_css$1(target) {
4892
- 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)}");
5324
+ append_styles(target, "svelte-1cungpm", ".text-button-block.svelte-1cungpm{width:100%;height:100%}.text-button.svelte-1cungpm{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-1cungpm:active{box-shadow:inset 0 0 100px 100px rgba(0, 0, 0, 0.3)}.text-button.svelte-1cungpm:hover{box-shadow:inset 0 0 100px 100px rgba(255, 255, 255, 0.3)}");
4893
5325
  }
4894
5326
 
4895
5327
  function create_fragment$1(ctx) {
@@ -4906,9 +5338,9 @@ function create_fragment$1(ctx) {
4906
5338
  div = element("div");
4907
5339
  button = element("button");
4908
5340
  create_component(rendertext.$$.fragment);
4909
- attr(button, "class", "text-button svelte-1t5i3za");
5341
+ attr(button, "class", "text-button svelte-1cungpm");
4910
5342
  attr(button, "style", /*_buttonStyle*/ ctx[1]);
4911
- attr(div, "class", "text-button-block svelte-1t5i3za");
5343
+ attr(div, "class", "text-button-block svelte-1cungpm");
4912
5344
  attr(div, "style", /*_style*/ ctx[2]);
4913
5345
  },
4914
5346
  m(target, anchor) {
@@ -5005,7 +5437,7 @@ class TextButtonBlock extends SvelteComponent {
5005
5437
  /* src/components/ImageBlock.svelte generated by Svelte v3.53.1 */
5006
5438
 
5007
5439
  function add_css(target) {
5008
- 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)}");
5440
+ append_styles(target, "svelte-xuever", ".image-block.svelte-xuever{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-xuever{width:100%;height:100%}.transport.svelte-xuever:hover,.transport.svelte-xuever:focus{opacity:0.75;box-shadow:0 5px 16px rgba(0, 0, 0, 0.1), 0 8px 28px rgba(0, 0, 0, 0.16)}");
5009
5441
  }
5010
5442
 
5011
5443
  function create_fragment(ctx) {
@@ -5020,14 +5452,14 @@ function create_fragment(ctx) {
5020
5452
  c() {
5021
5453
  div = element("div");
5022
5454
  img = element("img");
5023
- attr(img, "class", "image svelte-1ec6zfb");
5455
+ attr(img, "class", "image svelte-xuever");
5024
5456
  attr(img, "loading", "lazy");
5025
5457
  attr(img, "width", "auto");
5026
5458
  attr(img, "height", "auto");
5027
5459
  attr(img, "style", /*_imageStyle*/ ctx[3]);
5028
5460
  if (!src_url_equal(img.src, img_src_value = /*src*/ ctx[0])) attr(img, "src", img_src_value);
5029
5461
  attr(img, "alt", /*alt*/ ctx[1]);
5030
- attr(div, "class", div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-1ec6zfb"));
5462
+ attr(div, "class", div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-xuever"));
5031
5463
  attr(div, "style", /*_style*/ ctx[4]);
5032
5464
  },
5033
5465
  m(target, anchor) {
@@ -5052,7 +5484,7 @@ function create_fragment(ctx) {
5052
5484
  attr(img, "alt", /*alt*/ ctx[1]);
5053
5485
  }
5054
5486
 
5055
- if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-1ec6zfb"))) {
5487
+ if (dirty & /*transport*/ 4 && div_class_value !== (div_class_value = "" + (null_to_empty('image-block' + (/*transport*/ ctx[2] ? ' transport' : '')) + " svelte-xuever"))) {
5056
5488
  attr(div, "class", div_class_value);
5057
5489
  }
5058
5490
 
@@ -5125,4 +5557,4 @@ class ImageBlock extends SvelteComponent {
5125
5557
  }
5126
5558
  }
5127
5559
 
5128
- 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, 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 };
5560
+ 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 };