smoothly 0.1.90 → 0.1.91

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/cjs/{GoogleFont-47aed323.js → GoogleFont-6c4f0da1.js} +1 -1
  2. package/dist/cjs/{index-b5fcdcf9.js → index-40d009d5.js} +1 -1
  3. package/dist/cjs/index.cjs.js +2 -2
  4. package/dist/cjs/smoothly-accordion_47.cjs.entry.js +1 -1
  5. package/dist/cjs/smoothly-dialog.cjs.entry.js +2 -2
  6. package/dist/cjs/smoothly-display-demo.cjs.entry.js +2 -2
  7. package/dist/cjs/smoothly-frame.cjs.entry.js +2 -2
  8. package/dist/cjs/smoothly-google-font.cjs.entry.js +1 -1
  9. package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +2 -2
  10. package/dist/cjs/smoothly-trigger-source.cjs.entry.js +2 -2
  11. package/dist/collection/model/GoogleFont.js +1 -1
  12. package/dist/custom-elements/index.js +1 -1
  13. package/dist/{smoothly/GoogleFont-31de060f.js → esm/GoogleFont-8474516b.js} +1 -1
  14. package/dist/{smoothly/index-53434aca.js → esm/index-c8b5d468.js} +1 -1
  15. package/dist/esm/index.js +2 -2
  16. package/dist/esm/smoothly-accordion_47.entry.js +1 -1
  17. package/dist/esm/smoothly-dialog.entry.js +2 -2
  18. package/dist/esm/smoothly-display-demo.entry.js +2 -2
  19. package/dist/esm/smoothly-frame.entry.js +2 -2
  20. package/dist/esm/smoothly-google-font.entry.js +1 -1
  21. package/dist/esm/smoothly-trigger-sink.entry.js +2 -2
  22. package/dist/esm/smoothly-trigger-source.entry.js +2 -2
  23. package/dist/{esm/GoogleFont-31de060f.js → smoothly/GoogleFont-8474516b.js} +1 -1
  24. package/dist/{esm/index-53434aca.js → smoothly/index-c8b5d468.js} +1 -1
  25. package/dist/smoothly/index.esm.js +2 -2
  26. package/dist/smoothly/{p-f6cbbcf3.entry.js → p-14232157.entry.js} +1 -1
  27. package/dist/smoothly/{p-07653599.entry.js → p-22d4d5a7.entry.js} +1 -1
  28. package/dist/smoothly/{p-d2cfda26.entry.js → p-9947e4bf.entry.js} +1 -1
  29. package/dist/smoothly/{p-2191d2d2.entry.js → p-b8a3e273.entry.js} +1 -1
  30. package/dist/smoothly/{p-82f56327.js → p-bd478a53.js} +1 -1
  31. package/dist/smoothly/smoothly-dialog.entry.js +2 -2
  32. package/dist/smoothly/smoothly-display-demo.entry.js +2 -2
  33. package/dist/smoothly/smoothly-frame.entry.js +2 -2
  34. package/dist/smoothly/smoothly-google-font.entry.js +1 -1
  35. package/dist/smoothly/smoothly-trigger-sink.entry.js +2 -2
  36. package/dist/smoothly/smoothly-trigger-source.entry.js +2 -2
  37. package/package.json +1 -1
@@ -5,7 +5,7 @@ exports.GoogleFont = void 0;
5
5
  function is(value) {
6
6
  return (typeof value == "string" &&
7
7
  !/[</>"'`]/g.test(value) &&
8
- /^([a-zA-ZäöüåßÄÖÜÅ+ ])+(:(ital(,)?)?((wght@(([01],\d{3})(;[01],\d{3})+|((\d{3})(;\d{3})+))))?)?$/g.test(value));
8
+ /^([a-zA-ZäöüåßÄÖÜÅ+ ])+(:(ital(,)?)?((wght@(([01],\d{3})(;[01],\d{3})*|((\d{3})(;\d{3})*))))?)?$/g.test(value));
9
9
  }
10
10
  GoogleFont.is = is;
11
11
  function getFont(value) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- require('./GoogleFont-47aed323.js');
3
+ require('./GoogleFont-6c4f0da1.js');
4
4
 
5
5
  class TextEncoder {
6
6
  constructor() {
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const App = require('./App-ffc56e72.js');
6
- const index = require('./index-b5fcdcf9.js');
7
- const GoogleFont = require('./GoogleFont-47aed323.js');
6
+ const index = require('./index-40d009d5.js');
7
+ const GoogleFont = require('./GoogleFont-6c4f0da1.js');
8
8
  require('./index-138c41c2.js');
9
9
 
10
10
  var Hex;
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-41a36ce2.js');
6
6
  const Notice = require('./Notice-9120d311.js');
7
7
  const Trigger = require('./Trigger-74bd1ee8.js');
8
- require('./GoogleFont-47aed323.js');
8
+ require('./GoogleFont-6c4f0da1.js');
9
9
 
10
10
  const styleCss$D = "smoothly-accordion-item.sc-smoothly-accordion{border:1px solid rgb(var(--smoothly-dark-color));border-bottom:none}smoothly-accordion-item.sc-smoothly-accordion:first-of-type{border-top-left-radius:4px;border-top-right-radius:4px;margin-top:0.4em}smoothly-accordion-item.sc-smoothly-accordion:last-of-type{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:1px solid rgb(var(--smoothly-dark-color));margin-bottom:0.6em}smoothly-accordion-item[open].sc-smoothly-accordion{border-color:rgb(var(--smoothly-primary-color));border-bottom:1px solid rgb(var(--smoothly-primary-color))}smoothly-accordion-item[open].sc-smoothly-accordion+smoothly-accordion-item.sc-smoothly-accordion{border-top:none}";
11
11
 
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-138c41c2.js');
6
- const index$1 = require('./index-b5fcdcf9.js');
7
- require('./GoogleFont-47aed323.js');
6
+ const index$1 = require('./index-40d009d5.js');
7
+ require('./GoogleFont-6c4f0da1.js');
8
8
 
9
9
  const styleCss = ".sc-smoothly-dialog-h{display:block;position:fixed;left:0;top:0;width:100%;height:100%;z-index:1;background:rgba(var(--smoothly-default-color), var(--smoothly-semitransparent)) !important}[hidden].sc-smoothly-dialog-h{display:none}.sc-smoothly-dialog-h>header.sc-smoothly-dialog{border-top-left-radius:8px;border-top-right-radius:8px;margin-top:2em;color:rgb(var(--smoothly-primary-contrast));background:rgb(var(--smoothly-primary-color));border-color:rgb(var(--smoothly-primary-color))}.sc-smoothly-dialog-h:not([header]) header.sc-smoothly-dialog{border:none}.sc-smoothly-dialog-h>*.sc-smoothly-dialog{position:relative;color:rgb(var(--smoothly-default-contrast));background-color:rgb(var(--smoothly-default-color));border-color:rgb(var(--smoothly-color));border-width:1px;border-style:solid;max-width:40em;width:calc(100vw - 4em - 2px);max-height:calc(100vh - 6em - 2px);height:auto;margin-left:auto;margin-right:auto;border-collapse:collapse}.sc-smoothly-dialog-h>main.sc-smoothly-dialog{border-bottom-left-radius:8px;border-bottom-right-radius:8px;margin-bottom:2em;border:1px solid rgb(var(--smoothly-default-contrast));box-sizing:border-box;overflow:hidden}.sc-smoothly-dialog-h:not([header]) main.sc-smoothly-dialog{border-radius:8px}.sc-smoothly-dialog-h>*.sc-smoothly-dialog>smoothly-trigger.sc-smoothly-dialog{position:absolute;right:-2em;top:-2em;z-index:1;border-color:transparent}.sc-smoothly-dialog-h>*.sc-smoothly-dialog>smoothly-trigger.sc-smoothly-dialog:hover{border-color:transparent}.sc-smoothly-dialog-h smoothly-icon.sc-smoothly-dialog{background-color:rgb(var(--smoothly-color));border-radius:50%}.sc-smoothly-dialog-h>*.sc-smoothly-dialog>*.sc-smoothly-dialog{margin:10px}";
10
10
 
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-138c41c2.js');
6
- const index$1 = require('./index-b5fcdcf9.js');
7
- require('./GoogleFont-47aed323.js');
6
+ const index$1 = require('./index-40d009d5.js');
7
+ require('./GoogleFont-6c4f0da1.js');
8
8
 
9
9
  let SmoothlyDisplayDemo = class {
10
10
  constructor(hostRef) {
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-138c41c2.js');
6
- const index$1 = require('./index-b5fcdcf9.js');
7
- require('./GoogleFont-47aed323.js');
6
+ const index$1 = require('./index-40d009d5.js');
7
+ require('./GoogleFont-6c4f0da1.js');
8
8
 
9
9
  const styleCss = ".sc-smoothly-frame-h{display:block;width:100%;height:100%}[hidden].sc-smoothly-frame-h{display:none}.sc-smoothly-frame-h>iframe.sc-smoothly-frame{border:none;padding:none;margin:none}";
10
10
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-138c41c2.js');
6
- const GoogleFont = require('./GoogleFont-47aed323.js');
6
+ const GoogleFont = require('./GoogleFont-6c4f0da1.js');
7
7
 
8
8
  let SmoothlyGoogleFont = class {
9
9
  constructor(hostRef) {
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-138c41c2.js');
6
- const index$1 = require('./index-b5fcdcf9.js');
7
- require('./GoogleFont-47aed323.js');
6
+ const index$1 = require('./index-40d009d5.js');
7
+ require('./GoogleFont-6c4f0da1.js');
8
8
 
9
9
  const styleCss = ".sc-smoothly-trigger-sink-h{display:block}[hidden].sc-smoothly-trigger-sink-h{display:none}";
10
10
 
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-138c41c2.js');
6
- const index$1 = require('./index-b5fcdcf9.js');
7
- require('./GoogleFont-47aed323.js');
6
+ const index$1 = require('./index-40d009d5.js');
7
+ require('./GoogleFont-6c4f0da1.js');
8
8
 
9
9
  const styleCss = ".sc-smoothly-trigger-source-h{display:block}[hidden].sc-smoothly-trigger-source-h{display:none}";
10
10
 
@@ -3,7 +3,7 @@ export var GoogleFont;
3
3
  function is(value) {
4
4
  return (typeof value == "string" &&
5
5
  !/[</>"'`]/g.test(value) &&
6
- /^([a-zA-ZäöüåßÄÖÜÅ+ ])+(:(ital(,)?)?((wght@(([01],\d{3})(;[01],\d{3})+|((\d{3})(;\d{3})+))))?)?$/g.test(value));
6
+ /^([a-zA-ZäöüåßÄÖÜÅ+ ])+(:(ital(,)?)?((wght@(([01],\d{3})(;[01],\d{3})*|((\d{3})(;\d{3})*))))?)?$/g.test(value));
7
7
  }
8
8
  GoogleFont.is = is;
9
9
  function getFont(value) {
@@ -1858,7 +1858,7 @@ var GoogleFont;
1858
1858
  function is(value) {
1859
1859
  return (typeof value == "string" &&
1860
1860
  !/[</>"'`]/g.test(value) &&
1861
- /^([a-zA-ZäöüåßÄÖÜÅ+ ])+(:(ital(,)?)?((wght@(([01],\d{3})(;[01],\d{3})+|((\d{3})(;\d{3})+))))?)?$/g.test(value));
1861
+ /^([a-zA-ZäöüåßÄÖÜÅ+ ])+(:(ital(,)?)?((wght@(([01],\d{3})(;[01],\d{3})*|((\d{3})(;\d{3})*))))?)?$/g.test(value));
1862
1862
  }
1863
1863
  GoogleFont.is = is;
1864
1864
  function getFont(value) {
@@ -3,7 +3,7 @@ var GoogleFont;
3
3
  function is(value) {
4
4
  return (typeof value == "string" &&
5
5
  !/[</>"'`]/g.test(value) &&
6
- /^([a-zA-ZäöüåßÄÖÜÅ+ ])+(:(ital(,)?)?((wght@(([01],\d{3})(;[01],\d{3})+|((\d{3})(;\d{3})+))))?)?$/g.test(value));
6
+ /^([a-zA-ZäöüåßÄÖÜÅ+ ])+(:(ital(,)?)?((wght@(([01],\d{3})(;[01],\d{3})*|((\d{3})(;\d{3})*))))?)?$/g.test(value));
7
7
  }
8
8
  GoogleFont.is = is;
9
9
  function getFont(value) {
@@ -1,4 +1,4 @@
1
- import './GoogleFont-31de060f.js';
1
+ import './GoogleFont-8474516b.js';
2
2
 
3
3
  class TextEncoder {
4
4
  constructor() {
package/dist/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export { A as App } from './App-c5f6000f.js';
2
- export { C as ClientIdentifier, M as Message, N as Notice, T as Trigger } from './index-53434aca.js';
3
- export { G as GoogleFont } from './GoogleFont-31de060f.js';
2
+ export { C as ClientIdentifier, M as Message, N as Notice, T as Trigger } from './index-c8b5d468.js';
3
+ export { G as GoogleFont } from './GoogleFont-8474516b.js';
4
4
  import './index-02a70ac1.js';
5
5
 
6
6
  var Hex;
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, a as getElement, c as createEvent, H as Host } from './index-dcb2b612.js';
2
2
  import { A as App, N as Notice } from './Notice-d87d90f7.js';
3
3
  import { T as Trigger, M as Message } from './Trigger-d7b181ec.js';
4
- import './GoogleFont-31de060f.js';
4
+ import './GoogleFont-8474516b.js';
5
5
 
6
6
  const styleCss$D = "smoothly-accordion-item.sc-smoothly-accordion{border:1px solid rgb(var(--smoothly-dark-color));border-bottom:none}smoothly-accordion-item.sc-smoothly-accordion:first-of-type{border-top-left-radius:4px;border-top-right-radius:4px;margin-top:0.4em}smoothly-accordion-item.sc-smoothly-accordion:last-of-type{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:1px solid rgb(var(--smoothly-dark-color));margin-bottom:0.6em}smoothly-accordion-item[open].sc-smoothly-accordion{border-color:rgb(var(--smoothly-primary-color));border-bottom:1px solid rgb(var(--smoothly-primary-color))}smoothly-accordion-item[open].sc-smoothly-accordion+smoothly-accordion-item.sc-smoothly-accordion{border-top:none}";
7
7
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, k as Host } from './index-02a70ac1.js';
2
- import { T as Trigger } from './index-53434aca.js';
3
- import './GoogleFont-31de060f.js';
2
+ import { T as Trigger } from './index-c8b5d468.js';
3
+ import './GoogleFont-8474516b.js';
4
4
 
5
5
  const styleCss = ".sc-smoothly-dialog-h{display:block;position:fixed;left:0;top:0;width:100%;height:100%;z-index:1;background:rgba(var(--smoothly-default-color), var(--smoothly-semitransparent)) !important}[hidden].sc-smoothly-dialog-h{display:none}.sc-smoothly-dialog-h>header.sc-smoothly-dialog{border-top-left-radius:8px;border-top-right-radius:8px;margin-top:2em;color:rgb(var(--smoothly-primary-contrast));background:rgb(var(--smoothly-primary-color));border-color:rgb(var(--smoothly-primary-color))}.sc-smoothly-dialog-h:not([header]) header.sc-smoothly-dialog{border:none}.sc-smoothly-dialog-h>*.sc-smoothly-dialog{position:relative;color:rgb(var(--smoothly-default-contrast));background-color:rgb(var(--smoothly-default-color));border-color:rgb(var(--smoothly-color));border-width:1px;border-style:solid;max-width:40em;width:calc(100vw - 4em - 2px);max-height:calc(100vh - 6em - 2px);height:auto;margin-left:auto;margin-right:auto;border-collapse:collapse}.sc-smoothly-dialog-h>main.sc-smoothly-dialog{border-bottom-left-radius:8px;border-bottom-right-radius:8px;margin-bottom:2em;border:1px solid rgb(var(--smoothly-default-contrast));box-sizing:border-box;overflow:hidden}.sc-smoothly-dialog-h:not([header]) main.sc-smoothly-dialog{border-radius:8px}.sc-smoothly-dialog-h>*.sc-smoothly-dialog>smoothly-trigger.sc-smoothly-dialog{position:absolute;right:-2em;top:-2em;z-index:1;border-color:transparent}.sc-smoothly-dialog-h>*.sc-smoothly-dialog>smoothly-trigger.sc-smoothly-dialog:hover{border-color:transparent}.sc-smoothly-dialog-h smoothly-icon.sc-smoothly-dialog{background-color:rgb(var(--smoothly-color));border-radius:50%}.sc-smoothly-dialog-h>*.sc-smoothly-dialog>*.sc-smoothly-dialog{margin:10px}";
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, i as createEvent, h } from './index-02a70ac1.js';
2
- import { N as Notice } from './index-53434aca.js';
3
- import './GoogleFont-31de060f.js';
2
+ import { N as Notice } from './index-c8b5d468.js';
3
+ import './GoogleFont-8474516b.js';
4
4
 
5
5
  let SmoothlyDisplayDemo = class {
6
6
  constructor(hostRef) {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, i as createEvent, h, j as getElement } from './index-02a70ac1.js';
2
- import { M as Message, T as Trigger } from './index-53434aca.js';
3
- import './GoogleFont-31de060f.js';
2
+ import { M as Message, T as Trigger } from './index-c8b5d468.js';
3
+ import './GoogleFont-8474516b.js';
4
4
 
5
5
  const styleCss = ".sc-smoothly-frame-h{display:block;width:100%;height:100%}[hidden].sc-smoothly-frame-h{display:none}.sc-smoothly-frame-h>iframe.sc-smoothly-frame{border:none;padding:none;margin:none}";
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h } from './index-02a70ac1.js';
2
- import { G as GoogleFont } from './GoogleFont-31de060f.js';
2
+ import { G as GoogleFont } from './GoogleFont-8474516b.js';
3
3
 
4
4
  let SmoothlyGoogleFont = class {
5
5
  constructor(hostRef) {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h } from './index-02a70ac1.js';
2
- import { T as Trigger, M as Message } from './index-53434aca.js';
3
- import './GoogleFont-31de060f.js';
2
+ import { T as Trigger, M as Message } from './index-c8b5d468.js';
3
+ import './GoogleFont-8474516b.js';
4
4
 
5
5
  const styleCss = ".sc-smoothly-trigger-sink-h{display:block}[hidden].sc-smoothly-trigger-sink-h{display:none}";
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, i as createEvent, h, j as getElement } from './index-02a70ac1.js';
2
- import { M as Message, T as Trigger } from './index-53434aca.js';
3
- import './GoogleFont-31de060f.js';
2
+ import { M as Message, T as Trigger } from './index-c8b5d468.js';
3
+ import './GoogleFont-8474516b.js';
4
4
 
5
5
  const styleCss = ".sc-smoothly-trigger-source-h{display:block}[hidden].sc-smoothly-trigger-source-h{display:none}";
6
6
 
@@ -3,7 +3,7 @@ var GoogleFont;
3
3
  function is(value) {
4
4
  return (typeof value == "string" &&
5
5
  !/[</>"'`]/g.test(value) &&
6
- /^([a-zA-ZäöüåßÄÖÜÅ+ ])+(:(ital(,)?)?((wght@(([01],\d{3})(;[01],\d{3})+|((\d{3})(;\d{3})+))))?)?$/g.test(value));
6
+ /^([a-zA-ZäöüåßÄÖÜÅ+ ])+(:(ital(,)?)?((wght@(([01],\d{3})(;[01],\d{3})*|((\d{3})(;\d{3})*))))?)?$/g.test(value));
7
7
  }
8
8
  GoogleFont.is = is;
9
9
  function getFont(value) {
@@ -1,4 +1,4 @@
1
- import './GoogleFont-31de060f.js';
1
+ import './GoogleFont-8474516b.js';
2
2
 
3
3
  class TextEncoder {
4
4
  constructor() {
@@ -1,6 +1,6 @@
1
1
  export { A as App } from './App-c5f6000f.js';
2
- export { C as ClientIdentifier, M as Message, N as Notice, T as Trigger } from './index-53434aca.js';
3
- export { G as GoogleFont } from './GoogleFont-31de060f.js';
2
+ export { C as ClientIdentifier, M as Message, N as Notice, T as Trigger } from './index-c8b5d468.js';
3
+ export { G as GoogleFont } from './GoogleFont-8474516b.js';
4
4
  import './index-02a70ac1.js';
5
5
 
6
6
  var Hex;
@@ -1 +1 @@
1
- import{r as s,c as t,h as o,a as r}from"./p-074a0448.js";import{M as e,T as i}from"./p-2cda1784.js";import"./p-82f56327.js";let n=class{constructor(o){s(this,o),this.trigger=t(this,"trigger",7),this.message=t(this,"message",7)}componentDidLoad(){e.listen(this.listen,((s,t)=>{i.is(t)?this.trigger.emit(t):this.message.emit({destination:s,content:t})}),window)}render(){return o("slot",null)}get element(){return r(this)}};n.style=".sc-smoothly-trigger-source-h{display:block}[hidden].sc-smoothly-trigger-source-h{display:none}";export{n as smoothly_trigger_source}
1
+ import{r as s,c as t,h as o,a as r}from"./p-074a0448.js";import{M as e,T as i}from"./p-2cda1784.js";import"./p-bd478a53.js";let a=class{constructor(o){s(this,o),this.trigger=t(this,"trigger",7),this.message=t(this,"message",7)}componentDidLoad(){e.listen(this.listen,((s,t)=>{i.is(t)?this.trigger.emit(t):this.message.emit({destination:s,content:t})}),window)}render(){return o("slot",null)}get element(){return r(this)}};a.style=".sc-smoothly-trigger-source-h{display:block}[hidden].sc-smoothly-trigger-source-h{display:none}";export{a as smoothly_trigger_source}
@@ -1 +1 @@
1
- import{r as s,h as t}from"./p-074a0448.js";import{T as i,M as r}from"./p-2cda1784.js";import"./p-82f56327.js";let o=class{constructor(t){s(this,t)}get filters(){return this.filtersValue||(this.filtersValue=this.filter?this.filter.split(" "):[]),this.filtersValue}TriggerListener(s){i.is(s.detail)&&this.filters.some((t=>t==s.detail.name))&&(r.send(this.destination,s.detail,this.context||window),s.preventDefault(),s.stopPropagation())}render(){return t("slot",null)}};o.style=".sc-smoothly-trigger-sink-h{display:block}[hidden].sc-smoothly-trigger-sink-h{display:none}";export{o as smoothly_trigger_sink}
1
+ import{r as s,h as t}from"./p-074a0448.js";import{T as i,M as r}from"./p-2cda1784.js";import"./p-bd478a53.js";let o=class{constructor(t){s(this,t)}get filters(){return this.filtersValue||(this.filtersValue=this.filter?this.filter.split(" "):[]),this.filtersValue}TriggerListener(s){i.is(s.detail)&&this.filters.some((t=>t==s.detail.name))&&(r.send(this.destination,s.detail,this.context||window),s.preventDefault(),s.stopPropagation())}render(){return t("slot",null)}};o.style=".sc-smoothly-trigger-sink-h{display:block}[hidden].sc-smoothly-trigger-sink-h{display:none}";export{o as smoothly_trigger_sink}