funnel-gfx-wc 0.1.26 → 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/funnel-app.cjs.entry.js +1 -1
- package/dist/cjs/funnel-gfx-wc.cjs.js +2 -2
- package/dist/cjs/{index-CQ2Ua21l.js → index-sqnSx8k6.js} +18 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/funnel-app.entry.js +1 -1
- package/dist/esm/funnel-gfx-wc.js +3 -3
- package/dist/esm/{index-BO7cqoUY.js → index-X5KYys3Y.js} +18 -1
- package/dist/esm/loader.js +2 -2
- package/dist/funnel-gfx-wc/funnel-gfx-wc.esm.js +1 -1
- package/dist/funnel-gfx-wc/{p-82f1c0c1.entry.js → p-0aafd3c2.entry.js} +1 -1
- package/dist/funnel-gfx-wc/p-X5KYys3Y.js +2 -0
- package/package.json +5 -4
- package/dist/funnel-gfx-wc/p-BO7cqoUY.js +0 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-sqnSx8k6.js');
|
|
4
4
|
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
5
5
|
|
|
6
6
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser v4.29.
|
|
8
|
+
Stencil Client Patch Browser v4.29.3 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
var patchBrowser = () => {
|
|
@@ -4,7 +4,7 @@ const NAMESPACE = 'funnel-gfx-wc';
|
|
|
4
4
|
const BUILD = /* funnel-gfx-wc */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true, watchCallback: false };
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
|
-
Stencil Client Platform v4.29.
|
|
7
|
+
Stencil Client Platform v4.29.3 | MIT Licensed | https://stenciljs.com
|
|
8
8
|
*/
|
|
9
9
|
var __defProp = Object.defineProperty;
|
|
10
10
|
var __export = (target, all) => {
|
|
@@ -148,6 +148,11 @@ function queryNonceMetaTagContent(doc) {
|
|
|
148
148
|
return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
+
// src/utils/regular-expression.ts
|
|
152
|
+
var escapeRegExpSpecialCharacters = (text) => {
|
|
153
|
+
return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
154
|
+
};
|
|
155
|
+
|
|
151
156
|
// src/utils/result.ts
|
|
152
157
|
var result_exports = {};
|
|
153
158
|
__export(result_exports, {
|
|
@@ -311,6 +316,18 @@ var convertToPrivate = (node) => {
|
|
|
311
316
|
vnode.$name$ = node.vname;
|
|
312
317
|
return vnode;
|
|
313
318
|
};
|
|
319
|
+
var createSupportsRuleRe = (selector) => {
|
|
320
|
+
const safeSelector2 = escapeRegExpSpecialCharacters(selector);
|
|
321
|
+
return new RegExp(
|
|
322
|
+
// First capture group: match any context before the selector that's not inside @supports selector()
|
|
323
|
+
// Using negative lookahead to avoid matching inside @supports selector(...) condition
|
|
324
|
+
`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
|
|
325
|
+
"g"
|
|
326
|
+
);
|
|
327
|
+
};
|
|
328
|
+
createSupportsRuleRe("::slotted");
|
|
329
|
+
createSupportsRuleRe(":host");
|
|
330
|
+
createSupportsRuleRe(":host-context");
|
|
314
331
|
var parsePropertyValue = (propValue, propType) => {
|
|
315
332
|
if (propValue != null && !isComplexType(propValue)) {
|
|
316
333
|
if (propType & 1 /* String */) {
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, g as getRenderingRef, f as forceUpdate, r as registerInstance } from './index-
|
|
1
|
+
import { h, g as getRenderingRef, f as forceUpdate, r as registerInstance } from './index-X5KYys3Y.js';
|
|
2
2
|
|
|
3
3
|
const Radio = props => {
|
|
4
4
|
const hex = props.hex || 'currentColor';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-X5KYys3Y.js';
|
|
2
|
+
export { s as setNonce } from './index-X5KYys3Y.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.29.
|
|
6
|
+
Stencil Client Patch Browser v4.29.3 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
var patchBrowser = () => {
|
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'funnel-gfx-wc';
|
|
|
2
2
|
const BUILD = /* funnel-gfx-wc */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true, watchCallback: false };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.29.
|
|
5
|
+
Stencil Client Platform v4.29.3 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
@@ -146,6 +146,11 @@ function queryNonceMetaTagContent(doc) {
|
|
|
146
146
|
return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
+
// src/utils/regular-expression.ts
|
|
150
|
+
var escapeRegExpSpecialCharacters = (text) => {
|
|
151
|
+
return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
152
|
+
};
|
|
153
|
+
|
|
149
154
|
// src/utils/result.ts
|
|
150
155
|
var result_exports = {};
|
|
151
156
|
__export(result_exports, {
|
|
@@ -309,6 +314,18 @@ var convertToPrivate = (node) => {
|
|
|
309
314
|
vnode.$name$ = node.vname;
|
|
310
315
|
return vnode;
|
|
311
316
|
};
|
|
317
|
+
var createSupportsRuleRe = (selector) => {
|
|
318
|
+
const safeSelector2 = escapeRegExpSpecialCharacters(selector);
|
|
319
|
+
return new RegExp(
|
|
320
|
+
// First capture group: match any context before the selector that's not inside @supports selector()
|
|
321
|
+
// Using negative lookahead to avoid matching inside @supports selector(...) condition
|
|
322
|
+
`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
|
|
323
|
+
"g"
|
|
324
|
+
);
|
|
325
|
+
};
|
|
326
|
+
createSupportsRuleRe("::slotted");
|
|
327
|
+
createSupportsRuleRe(":host");
|
|
328
|
+
createSupportsRuleRe(":host-context");
|
|
312
329
|
var parsePropertyValue = (propValue, propType) => {
|
|
313
330
|
if (propValue != null && !isComplexType(propValue)) {
|
|
314
331
|
if (propType & 1 /* String */) {
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-X5KYys3Y.js';
|
|
2
|
+
export { s as setNonce } from './index-X5KYys3Y.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as
|
|
1
|
+
import{p as a,b as p}from"./p-X5KYys3Y.js";export{s as setNonce}from"./p-X5KYys3Y.js";import{g as t}from"./p-DQuL1Twl.js";(()=>{const s=import.meta.url,p={};return""!==s&&(p.resourcesUrl=new URL(".",s).href),a(p)})().then((async s=>(await t(),p([["p-0aafd3c2",[[1,"funnel-app",{tag:[1]}]]]],s))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as n,g as t,f as e,r}from"./p-BO7cqoUY.js";const a=t=>{const e=t.hex||"currentColor",r=t.selected||!1,a=t.size||24;return n("svg",{class:t.class,width:a,height:a,viewBox:"0 0 24 24",role:"img","aria-label":"title"},n("title",null,t.label||"radio")," ",n("g",{fill:e},n("path",r?{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),n("path",{d:"M0 0h24v24H0z",fill:"none"}))};var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var l,s,u,c,f,h,d={exports:{}},b={exports:{}};function v(){return c?u:(c=1,u=function(n){return!(!n||"string"==typeof n)&&(n instanceof Array||Array.isArray(n)||n.length>=0&&(n.splice instanceof Function||Object.getOwnPropertyDescriptor(n,n.length-1)&&"String"!==n.constructor.name))})}function g(){if(h)return d.exports;h=1;var n=s?l:(s=1,l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),t=function(){if(f)return b.exports;f=1;var n=v(),t=Array.prototype.concat,e=Array.prototype.slice,r=b.exports=function(r){for(var a=[],i=0,o=r.length;i<o;i++){var l=r[i];n(l)?a=t.call(a,e.call(l)):a.push(l)}return a};return r.wrap=function(n){return function(){return n(r(arguments))}},b.exports}(),e=Object.hasOwnProperty,r=Object.create(null);for(var a in n)e.call(n,a)&&(r[n[a]]=a);var i=d.exports={to:{},get:{}};function o(n,t,e){return Math.min(Math.max(t,n),e)}function u(n){var t=Math.round(n).toString(16).toUpperCase();return t.length<2?"0"+t:t}return i.get=function(n){var t,e;switch(n.substring(0,3).toLowerCase()){case"hsl":t=i.get.hsl(n),e="hsl";break;case"hwb":t=i.get.hwb(n),e="hwb";break;default:t=i.get.rgb(n),e="rgb"}return t?{model:e,value:t}:null},i.get.rgb=function(t){if(!t)return null;var r,a,i,l=[0,0,0,1];if(r=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(i=r[2],r=r[1],a=0;a<3;a++){var s=2*a;l[a]=parseInt(r.slice(s,s+2),16)}i&&(l[3]=parseInt(i,16)/255)}else if(r=t.match(/^#([a-f0-9]{3,4})$/i)){for(i=(r=r[1])[3],a=0;a<3;a++)l[a]=parseInt(r[a]+r[a],16);i&&(l[3]=parseInt(i+i,16)/255)}else if(r=t.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(a=0;a<3;a++)l[a]=parseInt(r[a+1],0);r[4]&&(l[3]=r[5]?.01*parseFloat(r[4]):parseFloat(r[4]))}else{if(!(r=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(r=t.match(/^(\w+)$/))?"transparent"===r[1]?[0,0,0,0]:e.call(n,r[1])?((l=n[r[1]])[3]=1,l):null:null;for(a=0;a<3;a++)l[a]=Math.round(2.55*parseFloat(r[a+1]));r[4]&&(l[3]=r[5]?.01*parseFloat(r[4]):parseFloat(r[4]))}for(a=0;a<3;a++)l[a]=o(l[a],0,255);return l[3]=o(l[3],0,1),l},i.get.hsl=function(n){if(!n)return null;var t=n.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var e=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,o(parseFloat(t[2]),0,100),o(parseFloat(t[3]),0,100),o(isNaN(e)?1:e,0,1)]}return null},i.get.hwb=function(n){if(!n)return null;var t=n.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var e=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,o(parseFloat(t[2]),0,100),o(parseFloat(t[3]),0,100),o(isNaN(e)?1:e,0,1)]}return null},i.to.hex=function(){var n=t(arguments);return"#"+u(n[0])+u(n[1])+u(n[2])+(n[3]<1?u(Math.round(255*n[3])):"")},i.to.rgb=function(){var n=t(arguments);return n.length<4||1===n[3]?"rgb("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+")":"rgba("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+", "+n[3]+")"},i.to.rgb.percent=function(){var n=t(arguments),e=Math.round(n[0]/255*100),r=Math.round(n[1]/255*100),a=Math.round(n[2]/255*100);return n.length<4||1===n[3]?"rgb("+e+"%, "+r+"%, "+a+"%)":"rgba("+e+"%, "+r+"%, "+a+"%, "+n[3]+")"},i.to.hsl=function(){var n=t(arguments);return n.length<4||1===n[3]?"hsl("+n[0]+", "+n[1]+"%, "+n[2]+"%)":"hsla("+n[0]+", "+n[1]+"%, "+n[2]+"%, "+n[3]+")"},i.to.hwb=function(){var n=t(arguments),e="";return n.length>=4&&1!==n[3]&&(e=", "+n[3]),"hwb("+n[0]+", "+n[1]+"%, "+n[2]+"%"+e+")"},i.to.keyword=function(n){return r[n.slice(0,3)]},d.exports}var p,y,m,w,k,M,x,C,O,j={exports:{}};function A(){if(m)return j.exports;m=1;var n=y?p:(y=1,p={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),t={};for(var e in n)n.hasOwnProperty(e)&&(t[n[e]]=e);var r=j.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var a in r)if(r.hasOwnProperty(a)){if(!("channels"in r[a]))throw new Error("missing channels property: "+a);if(!("labels"in r[a]))throw new Error("missing channel labels property: "+a);if(r[a].labels.length!==r[a].channels)throw new Error("channel and label counts mismatch: "+a);var i=r[a].channels,o=r[a].labels;delete r[a].channels,delete r[a].labels,Object.defineProperty(r[a],"channels",{value:i}),Object.defineProperty(r[a],"labels",{value:o})}return r.rgb.hsl=function(n){var t,e,r=n[0]/255,a=n[1]/255,i=n[2]/255,o=Math.min(r,a,i),l=Math.max(r,a,i),s=l-o;return l===o?t=0:r===l?t=(a-i)/s:a===l?t=2+(i-r)/s:i===l&&(t=4+(r-a)/s),(t=Math.min(60*t,360))<0&&(t+=360),e=(o+l)/2,[t,100*(l===o?0:e<=.5?s/(l+o):s/(2-l-o)),100*e]},r.rgb.hsv=function(n){var t,e,r,a,i,o=n[0]/255,l=n[1]/255,s=n[2]/255,u=Math.max(o,l,s),c=u-Math.min(o,l,s),f=function(n){return(u-n)/6/c+.5};return 0===c?a=i=0:(i=c/u,t=f(o),e=f(l),r=f(s),o===u?a=r-e:l===u?a=1/3+t-r:s===u&&(a=2/3+e-t),a<0?a+=1:a>1&&(a-=1)),[360*a,100*i,100*u]},r.rgb.hwb=function(n){var t=n[0],e=n[1],a=n[2];return[r.rgb.hsl(n)[0],1/255*Math.min(t,Math.min(e,a))*100,100*(a=1-1/255*Math.max(t,Math.max(e,a)))]},r.rgb.cmyk=function(n){var t,e=n[0]/255,r=n[1]/255,a=n[2]/255;return[100*((1-e-(t=Math.min(1-e,1-r,1-a)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var r=t[e];if(r)return r;var a,i,o,l=1/0;for(var s in n)if(n.hasOwnProperty(s)){var u=(i=e,o=n[s],Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)+Math.pow(i[2]-o[2],2));u<l&&(l=u,a=s)}return a},r.keyword.rgb=function(t){return n[t]},r.rgb.xyz=function(n){var t=n[0]/255,e=n[1]/255,r=n[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*e+.0722*r),100*(.0193*t+.1192*e+.9505*r)]},r.rgb.lab=function(n){var t=r.rgb.xyz(n),e=t[0],a=t[1],i=t[2];return a/=100,i/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116)-16,500*(e-a),200*(a-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},r.hsl.rgb=function(n){var t,e,r,a,i,o=n[0]/360,l=n[1]/100,s=n[2]/100;if(0===l)return[i=255*s,i,i];t=2*s-(e=s<.5?s*(1+l):s+l-s*l),a=[0,0,0];for(var u=0;u<3;u++)(r=o+1/3*-(u-1))<0&&r++,r>1&&r--,a[u]=255*(i=6*r<1?t+6*(e-t)*r:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t);return a},r.hsl.hsv=function(n){var t=n[0],e=n[1]/100,r=n[2]/100,a=e,i=Math.max(r,.01);return e*=(r*=2)<=1?r:2-r,a*=i<=1?i:2-i,[t,100*(0===r?2*a/(i+a):2*e/(r+e)),(r+e)/2*100]},r.hsv.rgb=function(n){var t=n[0]/60,e=n[1]/100,r=n[2]/100,a=Math.floor(t)%6,i=t-Math.floor(t),o=255*r*(1-e),l=255*r*(1-e*i),s=255*r*(1-e*(1-i));switch(r*=255,a){case 0:return[r,s,o];case 1:return[l,r,o];case 2:return[o,r,s];case 3:return[o,l,r];case 4:return[s,o,r];case 5:return[r,o,l]}},r.hsv.hsl=function(n){var t,e,r,a=n[0],i=n[1]/100,o=n[2]/100,l=Math.max(o,.01);return r=(2-i)*o,e=i*l,[a,100*(e=(e/=(t=(2-i)*l)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(n){var t,e,r,a,i,o,l,s=n[0]/360,u=n[1]/100,c=n[2]/100,f=u+c;switch(f>1&&(u/=f,c/=f),r=6*s-(t=Math.floor(6*s)),1&t&&(r=1-r),a=u+r*((e=1-c)-u),t){default:case 6:case 0:i=e,o=a,l=u;break;case 1:i=a,o=e,l=u;break;case 2:i=u,o=e,l=a;break;case 3:i=u,o=a,l=e;break;case 4:i=a,o=u,l=e;break;case 5:i=e,o=u,l=a}return[255*i,255*o,255*l]},r.cmyk.rgb=function(n){var t=n[1]/100,e=n[2]/100,r=n[3]/100;return[255*(1-Math.min(1,n[0]/100*(1-r)+r)),255*(1-Math.min(1,t*(1-r)+r)),255*(1-Math.min(1,e*(1-r)+r))]},r.xyz.rgb=function(n){var t,e,r,a=n[0]/100,i=n[1]/100,o=n[2]/100;return e=-.9689*a+1.8758*i+.0415*o,r=.0557*a+-.204*i+1.057*o,t=(t=3.2406*a+-1.5372*i+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(e=Math.min(Math.max(0,e),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(n){var t=n[0],e=n[1],r=n[2];return e/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(e=e>.008856?Math.pow(e,1/3):7.787*e+16/116)-16,500*(t-e),200*(e-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(n){var t,e,r;t=n[1]/500+(e=(n[0]+16)/116),r=e-n[2]/200;var a=Math.pow(e,3),i=Math.pow(t,3),o=Math.pow(r,3);return e=a>.008856?a:(e-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,r=o>.008856?o:(r-16/116)/7.787,[t*=95.047,e*=100,r*=108.883]},r.lab.lch=function(n){var t,e=n[0],r=n[1],a=n[2];return(t=360*Math.atan2(a,r)/2/Math.PI)<0&&(t+=360),[e,Math.sqrt(r*r+a*a),t]},r.lch.lab=function(n){var t,e=n[1];return t=n[2]/360*2*Math.PI,[n[0],e*Math.cos(t),e*Math.sin(t)]},r.rgb.ansi16=function(n){var t=n[0],e=n[1],a=n[2],i=1 in arguments?arguments[1]:r.rgb.hsv(n)[2];if(0===(i=Math.round(i/50)))return 30;var o=30+(Math.round(a/255)<<2|Math.round(e/255)<<1|Math.round(t/255));return 2===i&&(o+=60),o},r.hsv.ansi16=function(n){return r.rgb.ansi16(r.hsv.rgb(n),n[2])},r.rgb.ansi256=function(n){var t=n[0],e=n[1],r=n[2];return t===e&&e===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(e/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(n){var t=n%10;if(0===t||7===t)return n>50&&(t+=3.5),[t=t/10.5*255,t,t];var e=.5*(1+~~(n>50));return[(1&t)*e*255,(t>>1&1)*e*255,(t>>2&1)*e*255]},r.ansi256.rgb=function(n){if(n>=232){var t=10*(n-232)+8;return[t,t,t]}var e;return n-=16,[Math.floor(n/36)/5*255,Math.floor((e=n%36)/6)/5*255,e%6/5*255]},r.rgb.hex=function(n){var t=(((255&Math.round(n[0]))<<16)+((255&Math.round(n[1]))<<8)+(255&Math.round(n[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(n){var t=n.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var e=t[0];3===t[0].length&&(e=e.split("").map((function(n){return n+n})).join(""));var r=parseInt(e,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(n){var t,e=n[0]/255,r=n[1]/255,a=n[2]/255,i=Math.max(Math.max(e,r),a),o=Math.min(Math.min(e,r),a),l=i-o;return t=l<=0?0:i===e?(r-a)/l%6:i===r?2+(a-e)/l:4+(e-r)/l+4,t/=6,[360*(t%=1),100*l,100*(l<1?o/(1-l):0)]},r.hsl.hcg=function(n){var t,e=n[1]/100,r=n[2]/100,a=0;return(t=r<.5?2*e*r:2*e*(1-r))<1&&(a=(r-.5*t)/(1-t)),[n[0],100*t,100*a]},r.hsv.hcg=function(n){var t=n[2]/100,e=n[1]/100*t,r=0;return e<1&&(r=(t-e)/(1-e)),[n[0],100*e,100*r]},r.hcg.rgb=function(n){var t=n[1]/100,e=n[2]/100;if(0===t)return[255*e,255*e,255*e];var r,a=[0,0,0],i=n[0]/360%1*6,o=i%1,l=1-o;switch(Math.floor(i)){case 0:a[0]=1,a[1]=o,a[2]=0;break;case 1:a[0]=l,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=o;break;case 3:a[0]=0,a[1]=l,a[2]=1;break;case 4:a[0]=o,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=l}return[255*(t*a[0]+(r=(1-t)*e)),255*(t*a[1]+r),255*(t*a[2]+r)]},r.hcg.hsv=function(n){var t=n[1]/100,e=t+n[2]/100*(1-t),r=0;return e>0&&(r=t/e),[n[0],100*r,100*e]},r.hcg.hsl=function(n){var t=n[1]/100,e=n[2]/100*(1-t)+.5*t,r=0;return e>0&&e<.5?r=t/(2*e):e>=.5&&e<1&&(r=t/(2*(1-e))),[n[0],100*r,100*e]},r.hcg.hwb=function(n){var t=n[1]/100,e=t+n[2]/100*(1-t);return[n[0],100*(e-t),100*(1-e)]},r.hwb.hcg=function(n){var t=1-n[2]/100,e=t-n[1]/100,r=0;return e<1&&(r=(t-e)/(1-e)),[n[0],100*e,100*r]},r.apple.rgb=function(n){return[n[0]/65535*255,n[1]/65535*255,n[2]/65535*255]},r.rgb.apple=function(n){return[n[0]/255*65535,n[1]/255*65535,n[2]/255*65535]},r.gray.rgb=function(n){return[n[0]/100*255,n[0]/100*255,n[0]/100*255]},r.gray.hsl=r.gray.hsv=function(n){return[0,0,n[0]]},r.gray.hwb=function(n){return[0,100,n[0]]},r.gray.cmyk=function(n){return[0,0,0,n[0]]},r.gray.lab=function(n){return[n[0],0,0]},r.gray.hex=function(n){var t=255&Math.round(n[0]/100*255),e=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(e.length)+e},r.rgb.gray=function(n){return[(n[0]+n[1]+n[2])/3/255*100]},j.exports}function I(){if(k)return w;k=1;var n=A();function t(n,t){return function(e){return t(n(e))}}function e(e,r){for(var a=[r[e].parent,e],i=n[r[e].parent][e],o=r[e].parent;r[o].parent;)a.unshift(r[o].parent),i=t(n[r[o].parent][o],i),o=r[o].parent;return i.conversion=a,i}return w=function(t){for(var r=function(t){var e=function(){for(var t={},e=Object.keys(n),r=e.length,a=0;a<r;a++)t[e[a]]={distance:-1,parent:null};return t}(),r=[t];for(e[t].distance=0;r.length;)for(var a=r.pop(),i=Object.keys(n[a]),o=i.length,l=0;l<o;l++){var s=i[l],u=e[s];-1===u.distance&&(u.distance=e[a].distance+1,u.parent=a,r.unshift(s))}return e}(t),a={},i=Object.keys(r),o=i.length,l=0;l<o;l++){var s=i[l];null!==r[s].parent&&(a[s]=e(s,r))}return a}}var z,q,S=function(){if(O)return C;O=1;var n=g(),t=function(){if(x)return M;x=1;var n=A(),t=I(),e={};return Object.keys(n).forEach((function(r){e[r]={},Object.defineProperty(e[r],"channels",{value:n[r].channels}),Object.defineProperty(e[r],"labels",{value:n[r].labels});var a=t(r);Object.keys(a).forEach((function(n){var t=a[n];e[r][n]=function(n){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var e=n(t);if("object"==typeof e)for(var r=e.length,a=0;a<r;a++)e[a]=Math.round(e[a]);return e};return"conversion"in n&&(t.conversion=n.conversion),t}(t),e[r][n].raw=function(n){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),n(t))};return"conversion"in n&&(t.conversion=n.conversion),t}(t)}))})),M=e}(),e=[].slice,r=["keyword","gray","hex"],a={};Object.keys(t).forEach((function(n){a[e.call(t[n].labels).sort().join("")]=n}));var i={};function o(l,s){if(!(this instanceof o))return new o(l,s);if(s&&s in r&&(s=null),s&&!(s in t))throw new Error("Unknown model: "+s);var c,f;if(null==l)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(l instanceof o)this.model=l.model,this.color=l.color.slice(),this.valpha=l.valpha;else if("string"==typeof l){var h=n.get(l);if(null===h)throw new Error("Unable to parse color from string: "+l);this.model=h.model,this.color=h.value.slice(0,f=t[this.model].channels),this.valpha="number"==typeof h.value[f]?h.value[f]:1}else if(l.length){this.model=s||"rgb";var d=e.call(l,0,f=t[this.model].channels);this.color=u(d,f),this.valpha="number"==typeof l[f]?l[f]:1}else if("number"==typeof l)l&=16777215,this.model="rgb",this.color=[l>>16&255,l>>8&255,255&l],this.valpha=1;else{this.valpha=1;var b=Object.keys(l);"alpha"in l&&(b.splice(b.indexOf("alpha"),1),this.valpha="number"==typeof l.alpha?l.alpha:0);var v=b.sort().join("");if(!(v in a))throw new Error("Unable to parse color from object: "+JSON.stringify(l));this.model=a[v];var g=t[this.model].labels,p=[];for(c=0;c<g.length;c++)p.push(l[g[c]]);this.color=u(p)}if(i[this.model])for(f=t[this.model].channels,c=0;c<f;c++){var y=i[this.model][c];y&&(this.color[c]=y(this.color[c]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function l(n,t,e){return(n=Array.isArray(n)?n:[n]).forEach((function(n){(i[n]||(i[n]=[]))[t]=e})),n=n[0],function(r){var a;return arguments.length?(e&&(r=e(r)),(a=this[n]()).color[t]=r,a):(a=this[n]().color[t],e&&(a=e(a)),a)}}function s(n){return function(t){return Math.max(0,Math.min(n,t))}}function u(n,t){for(var e=0;e<t;e++)"number"!=typeof n[e]&&(n[e]=0);return n}return o.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(t){var e=this.model in n.to?this:this.rgb(),r=1===(e=e.round("number"==typeof t?t:1)).valpha?e.color:e.color.concat(this.valpha);return n.to[e.model](r)},percentString:function(t){var e=this.rgb().round("number"==typeof t?t:1),r=1===e.valpha?e.color:e.color.concat(this.valpha);return n.to.rgb.percent(r)},array:function(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var n={},e=t[this.model].channels,r=t[this.model].labels,a=0;a<e;a++)n[r[a]]=this.color[a];return 1!==this.valpha&&(n.alpha=this.valpha),n},unitArray:function(){var n=this.rgb().color;return n[0]/=255,n[1]/=255,n[2]/=255,1!==this.valpha&&n.push(this.valpha),n},unitObject:function(){var n=this.rgb().object();return n.r/=255,n.g/=255,n.b/=255,1!==this.valpha&&(n.alpha=this.valpha),n},round:function(n){return n=Math.max(n||0,0),new o(this.color.map(function(n){return function(t){return function(n,t){return Number(n.toFixed(t))}(t,n)}}(n)).concat(this.valpha),this.model)},alpha:function(n){return arguments.length?new o(this.color.concat(Math.max(0,Math.min(1,n))),this.model):this.valpha},red:l("rgb",0,s(255)),green:l("rgb",1,s(255)),blue:l("rgb",2,s(255)),hue:l(["hsl","hsv","hsl","hwb","hcg"],0,(function(n){return(n%360+360)%360})),saturationl:l("hsl",1,s(100)),lightness:l("hsl",2,s(100)),saturationv:l("hsv",1,s(100)),value:l("hsv",2,s(100)),chroma:l("hcg",1,s(100)),gray:l("hcg",2,s(100)),white:l("hwb",1,s(100)),wblack:l("hwb",2,s(100)),cyan:l("cmyk",0,s(100)),magenta:l("cmyk",1,s(100)),yellow:l("cmyk",2,s(100)),black:l("cmyk",3,s(100)),x:l("xyz",0,s(100)),y:l("xyz",1,s(100)),z:l("xyz",2,s(100)),l:l("lab",0,s(100)),a:l("lab",1),b:l("lab",2),keyword:function(n){return arguments.length?new o(n):t[this.model].keyword(this.color)},hex:function(t){return arguments.length?new o(t):n.to.hex(this.rgb().round().color)},rgbNumber:function(){var n=this.rgb().color;return(255&n[0])<<16|(255&n[1])<<8|255&n[2]},luminosity:function(){for(var n=this.rgb().color,t=[],e=0;e<n.length;e++){var r=n[e]/255;t[e]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(n){var t=this.luminosity(),e=n.luminosity();return t>e?(t+.05)/(e+.05):(e+.05)/(t+.05)},level:function(n){var t=this.contrast(n);return t>=7.1?"AAA":t>=4.5?"AA":""},isDark:function(){var n=this.rgb().color;return(299*n[0]+587*n[1]+114*n[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var n=this.rgb(),t=0;t<3;t++)n.color[t]=255-n.color[t];return n},lighten:function(n){var t=this.hsl();return t.color[2]+=t.color[2]*n,t},darken:function(n){var t=this.hsl();return t.color[2]-=t.color[2]*n,t},saturate:function(n){var t=this.hsl();return t.color[1]+=t.color[1]*n,t},desaturate:function(n){var t=this.hsl();return t.color[1]-=t.color[1]*n,t},whiten:function(n){var t=this.hwb();return t.color[1]+=t.color[1]*n,t},blacken:function(n){var t=this.hwb();return t.color[2]+=t.color[2]*n,t},grayscale:function(){var n=this.rgb().color,t=.3*n[0]+.59*n[1]+.11*n[2];return o.rgb(t,t,t)},fade:function(n){return this.alpha(this.valpha-this.valpha*n)},opaquer:function(n){return this.alpha(this.valpha+this.valpha*n)},rotate:function(n){var t=this.hsl(),e=t.color[0];return t.color[0]=e=(e=(e+n)%360)<0?360+e:e,t},mix:function(n,t){if(!n||!n.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof n);var e=n.rgb(),r=this.rgb(),a=void 0===t?.5:t,i=2*a-1,l=e.alpha()-r.alpha(),s=((i*l==-1?i:(i+l)/(1+i*l))+1)/2,u=1-s;return o.rgb(s*e.red()+u*r.red(),s*e.green()+u*r.green(),s*e.blue()+u*r.blue(),e.alpha()*a+r.alpha()*(1-a))}},Object.keys(t).forEach((function(n){if(-1===r.indexOf(n)){var a=t[n].channels;o.prototype[n]=function(){if(this.model===n)return new o(this);if(arguments.length)return new o(arguments,n);var e,r="number"==typeof arguments[a]?a:this.valpha;return new o((e=t[this.model][n].raw(this.color),Array.isArray(e)?e:[e]).concat(r),n)},o[n]=function(t){return"number"==typeof t&&(t=u(e.call(arguments),a)),new o(t,n)}}})),C=o}(),$=o(S),L=o(g()),E=o(q?z:(q=1,z=function(n,t,e){return n*(1-e)+t*e}));const F={name:"color",test:n=>"string"==typeof n&&(n.indexOf("rgb")>=0||n.indexOf("#")>=0||n.indexOf("hsl")>=0||L.get.rgb(n)),initialize:(n,t)=>({data:{format:(n.indexOf("rgba")>=0?"rgba":n.indexOf("rgb")>=0&&"rgb")||n.indexOf("#")>=0&&"hex"||$(n).model},startValue:$(n).rgb(),destValue:$(t).rgb()}),interpolate(n,t,e,r){const a=E(n.color[0],t.color[0],e),i=E(n.color[1],t.color[1],e),o=E(n.color[2],t.color[2],e),l=E(n.valpha,t.valpha,e),s=$.rgb(a,i,o,l)["rgba"===r.format?"rgb":r.format]();return"string"==typeof s?s:s.string()}},N=[{id:1,height:400,width:100,x:10,y:10,drop:20},{id:2,height:356,width:100,x:120,y:32,drop:20},{id:3,height:312,width:100,x:230,y:54,drop:20},{id:4,height:268,width:100,x:340,y:76,drop:20},{id:5,height:224,width:100,x:450,y:98,drop:20}],D=N.map((()=>0)),T={bada55:"#bada55",navy:"#001f3f",blue:"#0074d9",aqua:"#7fdbff",teal:"#39cccc",olive:"#3d9970",green:"#2ecc40",lime:"#01ff70",yellow:"#ffdc00",orange:"#ff851b",red:"#ff4136",maroon:"#85144b",fuchsia:"#f012be",purple:"#b10dc9",black:"#111111",gray:"#aaaaaa",silver:"#dddddd"},_={slate:"#708090",slate4:"#4e5964",white:"#ffffff"},R=n=>T[n]||_[n],B=Object.keys(T),U=n=>!("isConnected"in n)||n.isConnected,P=(()=>{let n;return(...t)=>{n&&clearTimeout(n),n=setTimeout((()=>{n=0,(n=>{for(let t of n.keys())n.set(t,n.get(t).filter(U))})(...t)}),2e3)}})(),V=n=>"function"==typeof n?n():n,H="funnel-gfx-wc::app-data",J=(()=>{const n=((n,t=(n,t)=>n!==t)=>{const e=V(n);let r=new Map(Object.entries(e??{}));const a={dispose:[],get:[],set:[],reset:[]},i=()=>{r=new Map(Object.entries(V(n)??{})),a.reset.forEach((n=>n()))},o=n=>(a.get.forEach((t=>t(n))),r.get(n)),l=(n,e)=>{const i=r.get(n);t(e,i,n)&&(r.set(n,e),a.set.forEach((t=>t(n,e,i))))},s="undefined"==typeof Proxy?{}:new Proxy(e,{get:(n,t)=>o(t),ownKeys:()=>Array.from(r.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(n,t)=>r.has(t),set:(n,t,e)=>(l(t,e),!0)}),u=(n,t)=>(a[n].push(t),()=>{((n,t)=>{const e=n.indexOf(t);e>=0&&(n[e]=n[n.length-1],n.length--)})(a[n],t)});return{state:s,get:o,set:l,on:u,onChange:(t,e)=>{const r=u("set",((n,r)=>{n===t&&e(r)})),a=u("reset",(()=>e(V(n)[t])));return()=>{r(),a()}},use:(...n)=>{const t=n.reduce(((n,t)=>(t.set&&n.push(u("set",t.set)),t.get&&n.push(u("get",t.get)),t.reset&&n.push(u("reset",t.reset)),t.dispose&&n.push(u("dispose",t.dispose)),n)),[]);return()=>t.forEach((n=>n()))},dispose:()=>{a.dispose.forEach((n=>n())),i()},reset:i,forceUpdate:n=>{const t=r.get(n);a.set.forEach((e=>e(n,t,t)))}}})({count:0,pick:"bada55",values:[...D]},void 0);return n.use((()=>{if("function"!=typeof t)return{};const n=new Map;return{dispose:()=>n.clear(),get:e=>{const r=t();r&&((n,t,e)=>{const r=n.get(t);r?r.includes(e)||r.push(e):n.set(t,[e])})(n,e,r)},set:t=>{const r=n.get(t);r&&n.set(t,r.filter(e)),P(n)},reset:()=>{n.forEach((n=>n.forEach(e))),P(n)}}})()),n})(),{state:Q,onChange:Z}=J,K=()=>{const{count:n,pick:t,values:e}=Q;(n=>{const t=JSON.stringify(n);localStorage.setItem(H,t)})({count:n,pick:t,values:e})},Y={initApp:()=>{const n=(()=>{const n=localStorage.getItem(H);return n?JSON.parse(n):void 0})();if(n){const{count:t,pick:e,values:r}=n;Q.count=t,Q.pick=e,Q.values=r}},refresh:()=>{const n=D.map((()=>Math.floor(100*Math.random())));Q.count=Q.count+1,Q.values=n,K()},reset:()=>{Q.count=0,Q.values=[...D],K()},updatePick:n=>{Q.pick=n,K()}},G=t=>{const{actions:e,state:r}=t,{pick:i}=r;return n("div",{id:"toolbar",class:"flex flex-wrap",role:"radiogroup"},B.map((t=>{const r=R(t),o=i==t;return n("div",{"aria-label":t,"aria-checked":o?"true":"false",role:"radio",onClick:()=>{e.updatePick(t)}},n(a,{hex:r,selected:o,label:t}))})))},W=t=>{const e=t.hex||"currentColor",r=t.size||24;return n("svg",{class:t.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},n("title",null,t.label||"chevron-double-left"),n("g",{fill:e},n("path",{d:"M18.41,7.41L17,6L11,12L17,18L18.41,16.59L13.83,12L18.41,7.41M12.41,7.41L11,6L5,12L11,18L12.41,16.59L7.83,12L12.41,7.41Z"})),n("path",{d:"M0 0h24v24H0z",fill:"none"}))},X=t=>{const e=t.hex||"currentColor",r=t.size||24;return n("svg",{class:t.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},n("title",null,t.label||"close"),n("g",{fill:e},n("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),n("path",{d:"M0 0h24v24H0z",fill:"none"}))},nn=t=>{const e=t.hex||"currentColor",r=t.size||24;return n("svg",{class:t.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},n("title",null,t.label||"refresh"),n("g",{fill:e},n("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99\n 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65\n 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35\n 2.35z"})),n("path",{d:"M0 0h24v24H0z",fill:"none"}))},tn=t=>{const{actions:e,state:r}=t,{count:a}=r;return n("div",{class:"mb-10px mt-3 flex items-center"},n("button",{"aria-label":"Refresh",class:"ds1-button data-button bg-clrs-blue",onClick:()=>{e.refresh()}},n(nn,{label:"Refresh"})),n("button",{"aria-label":"Reset",class:"ds1-button data-button bg-clrs-red",onClick:()=>{e.reset()}},n(X,{label:"Reset"})),n("span",{class:"flex items-center"},n(W,{size:28}),n("span",{class:"italic"},"click a button... ",n("sup",null,a))))},en=()=>n("label",{class:"ml-auto align-top text-xs italic text-clrs-slate4"},"Tailwind ","4.1.3"),rn=t=>{const{state:e}=t,{values:r,pick:a,count:i}=e;return n("div",{class:"flex"},n("div",{class:"flex flex-col"},n("div",{class:"flex"},n("span",{class:"mr-10px font-bold"},"color:"),n("span",{class:"italic text-clrs-slate4"},a)),n("div",{class:"mt-5px flex"},n("span",{class:"mr-10px font-bold"},"sample:"),n("span",{class:"italic text-clrs-slate4"},`${i>0?r:"..."}`))),n(en,null))};var an,on={exports:{}},ln=(an||(an=1,on.exports=function(){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(t)}function t(n,t){for(var e=0;e<t.length;e++){var r=t[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function e(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}function r(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function a(n){return(a=Object.getPrototypeOf||function(n){return n.__proto__})(n)}function o(n,t){return(o=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function l(n,t,e){return(l="undefined"!=typeof Reflect&&Reflect.construct?Reflect.construct:function(n,t,e){var r=[null];r.push.apply(r,t);var a=new(n.bind.apply(n,r));return e&&o(a,e.prototype),a}).apply(null,arguments)}function s(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}var u=function(n,t,e){return n*(1-e)+t*e},c="undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:{};function f(n,t){return n(t={exports:{}},t.exports),t.exports}for(var h=f((function(n){var t=n.exports={Linear:{None:function(n){return n}},Quadratic:{In:function(n){return n*n},Out:function(n){return n*(2-n)},InOut:function(n){return(n*=2)<1?.5*n*n:-.5*(--n*(n-2)-1)}},Cubic:{In:function(n){return n*n*n},Out:function(n){return--n*n*n+1},InOut:function(n){return(n*=2)<1?.5*n*n*n:.5*((n-=2)*n*n+2)}},Quartic:{In:function(n){return n*n*n*n},Out:function(n){return 1- --n*n*n*n},InOut:function(n){return(n*=2)<1?.5*n*n*n*n:-.5*((n-=2)*n*n*n-2)}},Quintic:{In:function(n){return n*n*n*n*n},Out:function(n){return--n*n*n*n*n+1},InOut:function(n){return(n*=2)<1?.5*n*n*n*n*n:.5*((n-=2)*n*n*n*n+2)}},Sinusoidal:{In:function(n){return 1-Math.cos(n*Math.PI/2)},Out:function(n){return Math.sin(n*Math.PI/2)},InOut:function(n){return.5*(1-Math.cos(Math.PI*n))}},Exponential:{In:function(n){return 0===n?0:Math.pow(1024,n-1)},Out:function(n){return 1===n?1:1-Math.pow(2,-10*n)},InOut:function(n){return 0===n?0:1===n?1:(n*=2)<1?.5*Math.pow(1024,n-1):.5*(2-Math.pow(2,-10*(n-1)))}},Circular:{In:function(n){return 1-Math.sqrt(1-n*n)},Out:function(n){return Math.sqrt(1- --n*n)},InOut:function(n){return(n*=2)<1?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1)}},Elastic:{In:function(n){var t,e=.1;return 0===n?0:1===n?1:(!e||e<1?(e=1,t=.1):t=.4*Math.asin(1/e)/(2*Math.PI),-e*Math.pow(2,10*(n-=1))*Math.sin((n-t)*(2*Math.PI)/.4))},Out:function(n){var t,e=.1;return 0===n?0:1===n?1:(!e||e<1?(e=1,t=.1):t=.4*Math.asin(1/e)/(2*Math.PI),e*Math.pow(2,-10*n)*Math.sin((n-t)*(2*Math.PI)/.4)+1)},InOut:function(n){var t,e=.1;return 0===n?0:1===n?1:(!e||e<1?(e=1,t=.1):t=.4*Math.asin(1/e)/(2*Math.PI),(n*=2)<1?e*Math.pow(2,10*(n-=1))*Math.sin((n-t)*(2*Math.PI)/.4)*-.5:e*Math.pow(2,-10*(n-=1))*Math.sin((n-t)*(2*Math.PI)/.4)*.5+1)}},Back:{In:function(n){return n*n*(2.70158*n-1.70158)},Out:function(n){return--n*n*(2.70158*n+1.70158)+1},InOut:function(n){var t=2.5949095;return(n*=2)<1?n*n*((t+1)*n-t)*.5:.5*((n-=2)*n*((t+1)*n+t)+2)}},Bounce:{In:function(n){return 1-t.Bounce.Out(1-n)},Out:function(n){return n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375},InOut:function(n){return n<.5?.5*t.Bounce.In(2*n):.5*t.Bounce.Out(2*n-1)+.5}}}})),d=f((function(n){(function(){var t,e,r,a,i,o;"undefined"!=typeof performance&&null!==performance&&performance.now?n.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(n.exports=function(){return(t()-i)/1e6},e=process.hrtime,a=(t=function(){var n;return 1e9*(n=e())[0]+n[1]})(),o=1e9*process.uptime(),i=a-o):Date.now?(n.exports=function(){return Date.now()-r},r=Date.now()):(n.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(c)})),b="undefined"==typeof window?c:window,v=["moz","webkit"],g="AnimationFrame",p=b["request"+g],y=b["cancel"+g]||b["cancelRequest"+g],m=0;!p&&m<v.length;m++)p=b[v[m]+"Request"+g],y=b[v[m]+"Cancel"+g]||b[v[m]+"CancelRequest"+g];if(!p||!y){var w=0,k=0,M=[];p=function(n){if(0===M.length){var t=d(),e=Math.max(0,1e3/60-(t-w));w=e+t,setTimeout((function(){for(var n=M.slice(0),t=M.length=0;t<n.length;t++)if(!n[t].cancelled)try{n[t].callback(w)}catch(n){setTimeout((function(){throw n}),0)}}),Math.round(e))}return M.push({handle:++k,callback:n,cancelled:!1}),k},y=function(n){for(var t=0;t<M.length;t++)M[t].handle===n&&(M[t].cancelled=!0)}}var x=function(n){return p.call(b,n)};x.cancel=function(){y.apply(b,arguments)},x.polyfill=function(n){n||(n=b),n.requestAnimationFrame=p,n.cancelAnimationFrame=y};var C,O,j=[],A=Symbol("type"),I=Symbol("start_time"),z=Symbol("completed"),q=Symbol("paused"),S=requestAnimationFrame||x,$=Date.now();!function n(){S(n),C=Date.now(),O=C-$;for(var t=0;t<j.length;t++)j[t][z]||j[t](O,Date.now()-j[t][I]);$=C}();var L=function(t){function i(t,e){var o,l,c;!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),c=a(i).call(this),r(s(s(l=!c||"object"!=typeof c&&"function"!=typeof c?s(this):c)),"update",(function(){var n=s(s(l))._updateValue;return function(t,e){l[z]||l[q]||(0===l.localTime&&l.emit("start",l.value,s(s(l))),n(l.ease(l.loopFunction.progress(Math.min(1,(e||l.localTime)/l.duration)))),l.emit("update",l.value,s(s(l)),t),l.localTime>=l.duration&&l.loopFunction.complete((function(){l[z]=!0,l.emit("complete",l.value,s(s(l)))})),l.localTime+=t)}}));var f=l.plugin=Object.values(i._plugins).reduce((function(n,e){return n||e&&e.test&&e.test(t)&&e}),!1),h=f&&f.name||("object"===n(t)?Array.isArray(t)?"array":"object":"number");if(f){var d=f.initialize(t,e);t=d.startValue,e=d.destValue,l.data=d.data}switch(Object.assign(s(s(l)),(r(o={duration:1e3,localTime:0,startValue:t,destValue:e,loopMode:"once",loopFunction:i.DEFAULT_LOOP,ease:function(n){return n},value:"array"===h?[].concat(t):"object"===h?Object.assign({},t):t},z,!1),r(o,A,h),r(o,I,Date.now()),r(o,q,!1),o)),l[A]){case"number":l._updateValue=function(n){l.value=u(l.startValue,l.destValue,n)};break;case"array":var b=l.value.length,v=s(s(l)),g=v.startValue,p=v.destValue,y=v.value;l._updateValue=function(n){for(var t=0;t<b;t++)y[t]=u(g[t],p[t],n)};break;case"object":var m=Object.keys(l.startValue),w=m.length,k=s(s(l)),M=k.startValue,x=k.destValue,C=k.value;l._updateValue=function(n){for(var t=0;t<w;t++){var e=m[t];C[e]=u(M[e],x[e],n)}};break;default:l.plugin?l._updateValue=function(n){l.value=l.plugin.interpolate(l.startValue,l.destValue,n,l.data)}:(console.warn("Between: startValue type was unrecognized."),l._updateValue=function(){return null})}return j.push(l.update()),l}return e(i,null,[{key:"between",value:function(){for(var n=arguments.length,t=new Array(n),e=0;e<n;e++)t[e]=arguments[e];return l(i,t)}}]),e(i,[{key:"pause",value:function(){return this[q]=!0,this.emit("pause",this.value,this,O),this}},{key:"play",value:function(){return this[q]=!1,this.emit("play",this.value,this,O),this}},{key:"easing",value:function(n){return this.ease=n,this}},{key:"time",value:function(n){return this.duration=n,this}},{key:"loop",value:function(){for(var n="__loop_".concat(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"once"),t=arguments.length,e=new Array(1<t?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return this.loopFunction=n in this?Object.assign({},i.DEFAULT_LOOP,this[n].apply(this,e)):i.DEFAULT_LOOP,this}},{key:"__loop_repeat",value:function(n){var t=this,e=n;return this.times=0,{complete:function(n){t.localTime=0,Number.isInteger(e)&&++t.times===e?n():Number.isInteger(e)||++t.times}}}},{key:"__loop_bounce",value:function(n){var t=this,e=n,r=1;return this.times=0,{complete:function(n){t.localTime=0,r=-r,Number.isInteger(e)&&++t.times===e?n():Number.isInteger(e)||++t.times},progress:function(n){return 0<r?n:1-n}}}},{key:"isPaused",get:function(){return this[q]}}]),function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");o(n.prototype,t&&t.prototype),t&&o(n,t)}(i,t),i}((function(n){var t={},e=[];(n=n||this).on=function(e,r,a){return(t[e]=t[e]||[]).push([r,a]),n},n.off=function(r,a){r||(t={});for(var i=t[r]||e,o=i.length=a?i.length:0;o--;)a==i[o][0]&&i.splice(o,1);return n},n.emit=function(r){for(var a,i=t[r]||e,o=0<i.length?i.slice(0,i.length):i,l=0;a=o[l++];)a[0].apply(a[1],e.slice.call(arguments,1));return n}}));return r(L,"DEFAULT_LOOP",{complete:function(n){return n()},progress:function(n){return n}}),L.Easing=h,L._plugins={},L}()),on.exports),sn=o(ln);sn._plugins.color=F;let un,cn=[];const fn=R("white"),hn=R("bada55");let dn,bn="#bada55",vn=[0,0,0,0,0],gn=[void 0,void 0,void 0,void 0,void 0];const pn=n=>{if(!un)return;const t=bn,e=R(n);null!==t&&t!==e&&(dn&&dn.pause(),dn=new sn(t,e).time(1e3).easing(sn.Easing.Cubic.InOut).on("update",(n=>{un.forEach((t=>{t.setAttribute("fill",`${n}`)})),bn=n})))},yn=n=>{un&&un.forEach(((t,e)=>{const r=cn[e],a=vn[e],i=n[e];null!==a&&a!==i&&(gn[e]&&gn[e].pause(),gn[e]=new sn(a,i).time(1e3).easing(sn.Easing.Cubic.InOut).on("update",(n=>{t.setAttribute("y",""+r*((100-n)/100)),vn[e]=n})))}))},mn=()=>{const t=N.map((n=>(({id:n,height:t,width:e,x:r,y:a,drop:i})=>({id:n,height:t,width:e,x:r,y:a,maskId:`mask-${n}`,maskUri:`url('#mask-${n}')`,mask:`0.5,0.5,0.5,${t-.5},${e-.5},${t-i-.5},${e-.5},${i+.5}`,matrix:`matrix(1,0,0,1,${r},${a})`,points:`0,0,0,${t},${e},${t-i},${e},${i}`}))(n))),e="currentColor";return cn=Array(t.length),un=Array(t.length),n("div",{class:"funnel-gfx"},n("svg",{viewBox:"0 0 600 420"},n("desc",null,"Created with Snap"),n("defs",null,t.map((t=>n("mask",{id:t.maskId},n("polygon",{points:t.mask,fill:fn}))))),t.map(((t,r)=>{const{height:a,width:i,maskUri:o,matrix:l,points:s}=t;return cn[r]=a,n("g",{transform:l},n("polygon",{points:s,fill:fn,stroke:e}),n("rect",{ref:n=>un[r]=n,x:"0",y:a,width:i,height:a,mask:o,fill:hn,stroke:e}))}))))},wn=t=>{const e=t.hex||"currentColor",r=t.size||24;return n("svg",{class:t.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},n("title",null,t.label||"fingerprint"),n("g",{fill:e},n("path",{d:"M17.81,4.47C17.73,4.47 17.65,4.45 17.58,4.41C15.66,3.42 14,3\n 12,3C10.03,3 8.15,3.47 6.44,4.41C6.2,4.54 5.9,4.45 5.76,4.21C5.63,3.97\n 5.72,3.66 5.96,3.53C7.82,2.5 9.86,2 12,2C14.14,2 16,2.47\n 18.04,3.5C18.29,3.65 18.38,3.95 18.25,4.19C18.16,4.37 18,4.47\n 17.81,4.47M3.5,9.72C3.4,9.72 3.3,9.69 3.21,9.63C3,9.47 2.93,9.16\n 3.09,8.93C4.08,7.53 5.34,6.43 6.84,5.66C10,4.04 14,4.03\n 17.15,5.65C18.65,6.42 19.91,7.5 20.9,8.9C21.06,9.12 21,9.44\n 20.78,9.6C20.55,9.76 20.24,9.71 20.08,9.5C19.18,8.22 18.04,7.23\n 16.69,6.54C13.82,5.07 10.15,5.07 7.29,6.55C5.93,7.25 4.79,8.25\n 3.89,9.5C3.81,9.65 3.66,9.72 3.5,9.72M9.75,21.79C9.62,21.79 9.5,21.74\n 9.4,21.64C8.53,20.77 8.06,20.21 7.39,19C6.7,17.77 6.34,16.27\n 6.34,14.66C6.34,11.69 8.88,9.27 12,9.27C15.12,9.27 17.66,11.69\n 17.66,14.66A0.5,0.5 0 0,1 17.16,15.16A0.5,0.5 0 0,1\n 16.66,14.66C16.66,12.24 14.57,10.27 12,10.27C9.43,10.27 7.34,12.24\n 7.34,14.66C7.34,16.1 7.66,17.43 8.27,18.5C8.91,19.66 9.35,20.15\n 10.12,20.93C10.31,21.13 10.31,21.44 10.12,21.64C10,21.74 9.88,21.79\n 9.75,21.79M16.92,19.94C15.73,19.94 14.68,19.64 13.82,19.05C12.33,18.04\n 11.44,16.4 11.44,14.66A0.5,0.5 0 0,1 11.94,14.16A0.5,0.5 0 0,1\n 12.44,14.66C12.44,16.07 13.16,17.4 14.38,18.22C15.09,18.7 15.92,18.93\n 16.92,18.93C17.16,18.93 17.56,18.9 17.96,18.83C18.23,18.78 18.5,18.96\n 18.54,19.24C18.59,19.5 18.41,19.77 18.13,19.82C17.56,19.93 17.06,19.94\n 16.92,19.94M14.91,22C14.87,22 14.82,22 14.78,22C13.19,21.54 12.15,20.95\n 11.06,19.88C9.66,18.5 8.89,16.64 8.89,14.66C8.89,13.04 10.27,11.72\n 11.97,11.72C13.67,11.72 15.05,13.04 15.05,14.66C15.05,15.73 16,16.6\n 17.13,16.6C18.28,16.6 19.21,15.73 19.21,14.66C19.21,10.89 15.96,7.83\n 11.96,7.83C9.12,7.83 6.5,9.41 5.35,11.86C4.96,12.67 4.76,13.62\n 4.76,14.66C4.76,15.44 4.83,16.67 5.43,18.27C5.53,18.53 5.4,18.82\n 5.14,18.91C4.88,19 4.59,18.87 4.5,18.62C4,17.31 3.77,16\n 3.77,14.66C3.77,13.46 4,12.37 4.45,11.42C5.78,8.63 8.73,6.82\n 11.96,6.82C16.5,6.82 20.21,10.33 20.21,14.65C20.21,16.27 18.83,17.59\n 17.13,17.59C15.43,17.59 14.05,16.27 14.05,14.65C14.05,13.58 13.12,12.71\n 11.97,12.71C10.82,12.71 9.89,13.58 9.89,14.65C9.89,16.36 10.55,17.96\n 11.76,19.16C12.71,20.1 13.62,20.62 15.03,21C15.3,21.08 15.45,21.36\n 15.38,21.62C15.33,21.85 15.12,22 14.91,22Z"})),n("path",{d:"M0 0h24v24H0z",fill:"none"}))},kn="eswat2",Mn=()=>n("a",{class:"absolute right-8 top-8 text-clrs-gray hover:text-clrs-navy",href:"https://eswat2.dev","aria-label":kn,target:"blank",title:kn},n(wn,{label:"eswat2"})),xn=class{constructor(n){r(this,n),this.tag="funnel-app"}componentDidLoad(){Z("pick",pn),Z("values",yn),Y.initApp()}render(){return n("div",{key:"7998626a3f01e8bb4b2ed4b2b80d8b8de4a11206",id:"app",class:"ds1-main relative"},n(Mn,{key:"44437debf47c76557ac6a115eec78b43a0aa2648"}),n(mn,{key:"f0806a91f365823850ab6ccebbc1339c18dd46b1"}),n(tn,{key:"bfe9dc2f232eac7142d416c2dff3e7d8522930b7",actions:Y,state:Q}),n(G,{key:"23836d760ccb38b898857abd205ae186d8f05242",actions:Y,state:Q}),n("hr",{key:"33eae1954a6b50e6a7b8c3124e92895114a8412d",class:"ml-0 mr-0"}),n(rn,{key:"4d449b22dedd37ce95356c98b00d5137008b5345",state:Q}))}};xn.style="/*! tailwindcss v4.1.3 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root,\n :host {\n --font-sans:\n ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',\n 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n --spacing: 0.25rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --font-weight-bold: 700;\n }\n}\n@layer utilities {\n .absolute {\n position: absolute;\n }\n .relative {\n position: relative;\n }\n .top-8 {\n top: calc(var(--spacing) * 8);\n }\n .right-8 {\n right: calc(var(--spacing) * 8);\n }\n .mt-3 {\n margin-top: calc(var(--spacing) * 3);\n }\n .mt-5px {\n margin-top: 5px;\n }\n .mr-0 {\n margin-right: calc(var(--spacing) * 0);\n }\n .mr-10px {\n margin-right: 10px;\n }\n .mb-10px {\n margin-bottom: 10px;\n }\n .ml-0 {\n margin-left: calc(var(--spacing) * 0);\n }\n .ml-auto {\n margin-left: auto;\n }\n .flex {\n display: flex;\n }\n .transform {\n transform: var(--tw-rotate-x) var(--tw-rotate-y) var(--tw-rotate-z)\n var(--tw-skew-x) var(--tw-skew-y);\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-wrap {\n flex-wrap: wrap;\n }\n .items-center {\n align-items: center;\n }\n .border-solid {\n --tw-border-style: solid;\n border-style: solid;\n }\n .border-clrs-gray {\n border-color: var(--clrs-gray, #aaaaaa);\n }\n .border-clrs-slate {\n border-color: var(--clrs-slate, #708090);\n }\n .bg-clrs-blue {\n background-color: var(--clrs-blue, #0074d9);\n }\n .bg-clrs-red {\n background-color: var(--clrs-red, #ff4136);\n }\n .bg-clrs-silver {\n background-color: var(--clrs-silver, #dddddd);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .align-top {\n vertical-align: top;\n }\n .font-sans {\n font-family: var(--font-sans);\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .text-clrs-gray {\n color: var(--clrs-gray, #aaaaaa);\n }\n .text-clrs-navy {\n color: var(--clrs-navy, #001f3f);\n }\n .text-clrs-slate4 {\n color: var(--clrs-slate4, #4e5964);\n }\n .text-clrs-white {\n color: var(--clrs-white, #ffffff);\n }\n .italic {\n font-style: italic;\n }\n .shadow {\n --tw-shadow:\n 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)),\n 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow), var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .hover\\:text-clrs-navy {\n &:hover {\n @media (hover: hover) {\n color: var(--clrs-navy, #001f3f);\n }\n }\n }\n .active\\:bg-clrs-gray {\n &:active {\n background-color: var(--clrs-gray, #aaaaaa);\n }\n }\n .active\\:text-clrs-navy {\n &:active {\n color: var(--clrs-navy, #001f3f);\n }\n }\n}\n@layer components {\n .ds1-main {\n display: flex;\n flex-direction: column;\n padding: calc(var(--spacing) * 4);\n font-family: var(--font-sans);\n color: var(--clrs-navy, #001f3f);\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .ds1-button {\n display: flex;\n align-items: center;\n --tw-border-style: solid;\n border-style: solid;\n border-color: var(--clrs-slate, #708090);\n color: var(--clrs-white, #ffffff);\n &:active {\n background-color: var(--clrs-gray, #aaaaaa);\n }\n &:active {\n color: var(--clrs-navy, #001f3f);\n }\n }\n .funnel-gfx {\n --tw-border-style: solid;\n border-style: solid;\n border-color: var(--clrs-gray, #aaaaaa);\n background-color: var(--clrs-silver, #dddddd);\n stroke-width: 1;\n }\n}\n.data-button {\n border-radius: 5px;\n border-width: 1px;\n padding: 5px;\n margin: 0px;\n margin-right: 5px;\n cursor: pointer;\n}\n.funnel-gfx {\n width: calc(100% - 20px);\n height: 100%;\n padding: 10px;\n padding-bottom: 7px;\n border-radius: 10px;\n border-width: 1px;\n}\n";export{xn as funnel_app}
|
|
1
|
+
import{h as n,g as t,f as e,r}from"./p-X5KYys3Y.js";const a=t=>{const e=t.hex||"currentColor",r=t.selected||!1,a=t.size||24;return n("svg",{class:t.class,width:a,height:a,viewBox:"0 0 24 24",role:"img","aria-label":"title"},n("title",null,t.label||"radio")," ",n("g",{fill:e},n("path",r?{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),n("path",{d:"M0 0h24v24H0z",fill:"none"}))};var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var l,s,u,c,f,h,d={exports:{}},b={exports:{}};function v(){return c?u:(c=1,u=function(n){return!(!n||"string"==typeof n)&&(n instanceof Array||Array.isArray(n)||n.length>=0&&(n.splice instanceof Function||Object.getOwnPropertyDescriptor(n,n.length-1)&&"String"!==n.constructor.name))})}function g(){if(h)return d.exports;h=1;var n=s?l:(s=1,l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),t=function(){if(f)return b.exports;f=1;var n=v(),t=Array.prototype.concat,e=Array.prototype.slice,r=b.exports=function(r){for(var a=[],i=0,o=r.length;i<o;i++){var l=r[i];n(l)?a=t.call(a,e.call(l)):a.push(l)}return a};return r.wrap=function(n){return function(){return n(r(arguments))}},b.exports}(),e=Object.hasOwnProperty,r=Object.create(null);for(var a in n)e.call(n,a)&&(r[n[a]]=a);var i=d.exports={to:{},get:{}};function o(n,t,e){return Math.min(Math.max(t,n),e)}function u(n){var t=Math.round(n).toString(16).toUpperCase();return t.length<2?"0"+t:t}return i.get=function(n){var t,e;switch(n.substring(0,3).toLowerCase()){case"hsl":t=i.get.hsl(n),e="hsl";break;case"hwb":t=i.get.hwb(n),e="hwb";break;default:t=i.get.rgb(n),e="rgb"}return t?{model:e,value:t}:null},i.get.rgb=function(t){if(!t)return null;var r,a,i,l=[0,0,0,1];if(r=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(i=r[2],r=r[1],a=0;a<3;a++){var s=2*a;l[a]=parseInt(r.slice(s,s+2),16)}i&&(l[3]=parseInt(i,16)/255)}else if(r=t.match(/^#([a-f0-9]{3,4})$/i)){for(i=(r=r[1])[3],a=0;a<3;a++)l[a]=parseInt(r[a]+r[a],16);i&&(l[3]=parseInt(i+i,16)/255)}else if(r=t.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(a=0;a<3;a++)l[a]=parseInt(r[a+1],0);r[4]&&(l[3]=r[5]?.01*parseFloat(r[4]):parseFloat(r[4]))}else{if(!(r=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(r=t.match(/^(\w+)$/))?"transparent"===r[1]?[0,0,0,0]:e.call(n,r[1])?((l=n[r[1]])[3]=1,l):null:null;for(a=0;a<3;a++)l[a]=Math.round(2.55*parseFloat(r[a+1]));r[4]&&(l[3]=r[5]?.01*parseFloat(r[4]):parseFloat(r[4]))}for(a=0;a<3;a++)l[a]=o(l[a],0,255);return l[3]=o(l[3],0,1),l},i.get.hsl=function(n){if(!n)return null;var t=n.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var e=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,o(parseFloat(t[2]),0,100),o(parseFloat(t[3]),0,100),o(isNaN(e)?1:e,0,1)]}return null},i.get.hwb=function(n){if(!n)return null;var t=n.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var e=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,o(parseFloat(t[2]),0,100),o(parseFloat(t[3]),0,100),o(isNaN(e)?1:e,0,1)]}return null},i.to.hex=function(){var n=t(arguments);return"#"+u(n[0])+u(n[1])+u(n[2])+(n[3]<1?u(Math.round(255*n[3])):"")},i.to.rgb=function(){var n=t(arguments);return n.length<4||1===n[3]?"rgb("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+")":"rgba("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+", "+n[3]+")"},i.to.rgb.percent=function(){var n=t(arguments),e=Math.round(n[0]/255*100),r=Math.round(n[1]/255*100),a=Math.round(n[2]/255*100);return n.length<4||1===n[3]?"rgb("+e+"%, "+r+"%, "+a+"%)":"rgba("+e+"%, "+r+"%, "+a+"%, "+n[3]+")"},i.to.hsl=function(){var n=t(arguments);return n.length<4||1===n[3]?"hsl("+n[0]+", "+n[1]+"%, "+n[2]+"%)":"hsla("+n[0]+", "+n[1]+"%, "+n[2]+"%, "+n[3]+")"},i.to.hwb=function(){var n=t(arguments),e="";return n.length>=4&&1!==n[3]&&(e=", "+n[3]),"hwb("+n[0]+", "+n[1]+"%, "+n[2]+"%"+e+")"},i.to.keyword=function(n){return r[n.slice(0,3)]},d.exports}var p,y,m,w,k,M,x,C,O,j={exports:{}};function A(){if(m)return j.exports;m=1;var n=y?p:(y=1,p={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),t={};for(var e in n)n.hasOwnProperty(e)&&(t[n[e]]=e);var r=j.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var a in r)if(r.hasOwnProperty(a)){if(!("channels"in r[a]))throw new Error("missing channels property: "+a);if(!("labels"in r[a]))throw new Error("missing channel labels property: "+a);if(r[a].labels.length!==r[a].channels)throw new Error("channel and label counts mismatch: "+a);var i=r[a].channels,o=r[a].labels;delete r[a].channels,delete r[a].labels,Object.defineProperty(r[a],"channels",{value:i}),Object.defineProperty(r[a],"labels",{value:o})}return r.rgb.hsl=function(n){var t,e,r=n[0]/255,a=n[1]/255,i=n[2]/255,o=Math.min(r,a,i),l=Math.max(r,a,i),s=l-o;return l===o?t=0:r===l?t=(a-i)/s:a===l?t=2+(i-r)/s:i===l&&(t=4+(r-a)/s),(t=Math.min(60*t,360))<0&&(t+=360),e=(o+l)/2,[t,100*(l===o?0:e<=.5?s/(l+o):s/(2-l-o)),100*e]},r.rgb.hsv=function(n){var t,e,r,a,i,o=n[0]/255,l=n[1]/255,s=n[2]/255,u=Math.max(o,l,s),c=u-Math.min(o,l,s),f=function(n){return(u-n)/6/c+.5};return 0===c?a=i=0:(i=c/u,t=f(o),e=f(l),r=f(s),o===u?a=r-e:l===u?a=1/3+t-r:s===u&&(a=2/3+e-t),a<0?a+=1:a>1&&(a-=1)),[360*a,100*i,100*u]},r.rgb.hwb=function(n){var t=n[0],e=n[1],a=n[2];return[r.rgb.hsl(n)[0],1/255*Math.min(t,Math.min(e,a))*100,100*(a=1-1/255*Math.max(t,Math.max(e,a)))]},r.rgb.cmyk=function(n){var t,e=n[0]/255,r=n[1]/255,a=n[2]/255;return[100*((1-e-(t=Math.min(1-e,1-r,1-a)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var r=t[e];if(r)return r;var a,i,o,l=1/0;for(var s in n)if(n.hasOwnProperty(s)){var u=(i=e,o=n[s],Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)+Math.pow(i[2]-o[2],2));u<l&&(l=u,a=s)}return a},r.keyword.rgb=function(t){return n[t]},r.rgb.xyz=function(n){var t=n[0]/255,e=n[1]/255,r=n[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*e+.0722*r),100*(.0193*t+.1192*e+.9505*r)]},r.rgb.lab=function(n){var t=r.rgb.xyz(n),e=t[0],a=t[1],i=t[2];return a/=100,i/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116)-16,500*(e-a),200*(a-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},r.hsl.rgb=function(n){var t,e,r,a,i,o=n[0]/360,l=n[1]/100,s=n[2]/100;if(0===l)return[i=255*s,i,i];t=2*s-(e=s<.5?s*(1+l):s+l-s*l),a=[0,0,0];for(var u=0;u<3;u++)(r=o+1/3*-(u-1))<0&&r++,r>1&&r--,a[u]=255*(i=6*r<1?t+6*(e-t)*r:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t);return a},r.hsl.hsv=function(n){var t=n[0],e=n[1]/100,r=n[2]/100,a=e,i=Math.max(r,.01);return e*=(r*=2)<=1?r:2-r,a*=i<=1?i:2-i,[t,100*(0===r?2*a/(i+a):2*e/(r+e)),(r+e)/2*100]},r.hsv.rgb=function(n){var t=n[0]/60,e=n[1]/100,r=n[2]/100,a=Math.floor(t)%6,i=t-Math.floor(t),o=255*r*(1-e),l=255*r*(1-e*i),s=255*r*(1-e*(1-i));switch(r*=255,a){case 0:return[r,s,o];case 1:return[l,r,o];case 2:return[o,r,s];case 3:return[o,l,r];case 4:return[s,o,r];case 5:return[r,o,l]}},r.hsv.hsl=function(n){var t,e,r,a=n[0],i=n[1]/100,o=n[2]/100,l=Math.max(o,.01);return r=(2-i)*o,e=i*l,[a,100*(e=(e/=(t=(2-i)*l)<=1?t:2-t)||0),100*(r/=2)]},r.hwb.rgb=function(n){var t,e,r,a,i,o,l,s=n[0]/360,u=n[1]/100,c=n[2]/100,f=u+c;switch(f>1&&(u/=f,c/=f),r=6*s-(t=Math.floor(6*s)),1&t&&(r=1-r),a=u+r*((e=1-c)-u),t){default:case 6:case 0:i=e,o=a,l=u;break;case 1:i=a,o=e,l=u;break;case 2:i=u,o=e,l=a;break;case 3:i=u,o=a,l=e;break;case 4:i=a,o=u,l=e;break;case 5:i=e,o=u,l=a}return[255*i,255*o,255*l]},r.cmyk.rgb=function(n){var t=n[1]/100,e=n[2]/100,r=n[3]/100;return[255*(1-Math.min(1,n[0]/100*(1-r)+r)),255*(1-Math.min(1,t*(1-r)+r)),255*(1-Math.min(1,e*(1-r)+r))]},r.xyz.rgb=function(n){var t,e,r,a=n[0]/100,i=n[1]/100,o=n[2]/100;return e=-.9689*a+1.8758*i+.0415*o,r=.0557*a+-.204*i+1.057*o,t=(t=3.2406*a+-1.5372*i+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(e=Math.min(Math.max(0,e),1)),255*(r=Math.min(Math.max(0,r),1))]},r.xyz.lab=function(n){var t=n[0],e=n[1],r=n[2];return e/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(e=e>.008856?Math.pow(e,1/3):7.787*e+16/116)-16,500*(t-e),200*(e-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},r.lab.xyz=function(n){var t,e,r;t=n[1]/500+(e=(n[0]+16)/116),r=e-n[2]/200;var a=Math.pow(e,3),i=Math.pow(t,3),o=Math.pow(r,3);return e=a>.008856?a:(e-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,r=o>.008856?o:(r-16/116)/7.787,[t*=95.047,e*=100,r*=108.883]},r.lab.lch=function(n){var t,e=n[0],r=n[1],a=n[2];return(t=360*Math.atan2(a,r)/2/Math.PI)<0&&(t+=360),[e,Math.sqrt(r*r+a*a),t]},r.lch.lab=function(n){var t,e=n[1];return t=n[2]/360*2*Math.PI,[n[0],e*Math.cos(t),e*Math.sin(t)]},r.rgb.ansi16=function(n){var t=n[0],e=n[1],a=n[2],i=1 in arguments?arguments[1]:r.rgb.hsv(n)[2];if(0===(i=Math.round(i/50)))return 30;var o=30+(Math.round(a/255)<<2|Math.round(e/255)<<1|Math.round(t/255));return 2===i&&(o+=60),o},r.hsv.ansi16=function(n){return r.rgb.ansi16(r.hsv.rgb(n),n[2])},r.rgb.ansi256=function(n){var t=n[0],e=n[1],r=n[2];return t===e&&e===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(e/255*5)+Math.round(r/255*5)},r.ansi16.rgb=function(n){var t=n%10;if(0===t||7===t)return n>50&&(t+=3.5),[t=t/10.5*255,t,t];var e=.5*(1+~~(n>50));return[(1&t)*e*255,(t>>1&1)*e*255,(t>>2&1)*e*255]},r.ansi256.rgb=function(n){if(n>=232){var t=10*(n-232)+8;return[t,t,t]}var e;return n-=16,[Math.floor(n/36)/5*255,Math.floor((e=n%36)/6)/5*255,e%6/5*255]},r.rgb.hex=function(n){var t=(((255&Math.round(n[0]))<<16)+((255&Math.round(n[1]))<<8)+(255&Math.round(n[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(n){var t=n.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var e=t[0];3===t[0].length&&(e=e.split("").map((function(n){return n+n})).join(""));var r=parseInt(e,16);return[r>>16&255,r>>8&255,255&r]},r.rgb.hcg=function(n){var t,e=n[0]/255,r=n[1]/255,a=n[2]/255,i=Math.max(Math.max(e,r),a),o=Math.min(Math.min(e,r),a),l=i-o;return t=l<=0?0:i===e?(r-a)/l%6:i===r?2+(a-e)/l:4+(e-r)/l+4,t/=6,[360*(t%=1),100*l,100*(l<1?o/(1-l):0)]},r.hsl.hcg=function(n){var t,e=n[1]/100,r=n[2]/100,a=0;return(t=r<.5?2*e*r:2*e*(1-r))<1&&(a=(r-.5*t)/(1-t)),[n[0],100*t,100*a]},r.hsv.hcg=function(n){var t=n[2]/100,e=n[1]/100*t,r=0;return e<1&&(r=(t-e)/(1-e)),[n[0],100*e,100*r]},r.hcg.rgb=function(n){var t=n[1]/100,e=n[2]/100;if(0===t)return[255*e,255*e,255*e];var r,a=[0,0,0],i=n[0]/360%1*6,o=i%1,l=1-o;switch(Math.floor(i)){case 0:a[0]=1,a[1]=o,a[2]=0;break;case 1:a[0]=l,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=o;break;case 3:a[0]=0,a[1]=l,a[2]=1;break;case 4:a[0]=o,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=l}return[255*(t*a[0]+(r=(1-t)*e)),255*(t*a[1]+r),255*(t*a[2]+r)]},r.hcg.hsv=function(n){var t=n[1]/100,e=t+n[2]/100*(1-t),r=0;return e>0&&(r=t/e),[n[0],100*r,100*e]},r.hcg.hsl=function(n){var t=n[1]/100,e=n[2]/100*(1-t)+.5*t,r=0;return e>0&&e<.5?r=t/(2*e):e>=.5&&e<1&&(r=t/(2*(1-e))),[n[0],100*r,100*e]},r.hcg.hwb=function(n){var t=n[1]/100,e=t+n[2]/100*(1-t);return[n[0],100*(e-t),100*(1-e)]},r.hwb.hcg=function(n){var t=1-n[2]/100,e=t-n[1]/100,r=0;return e<1&&(r=(t-e)/(1-e)),[n[0],100*e,100*r]},r.apple.rgb=function(n){return[n[0]/65535*255,n[1]/65535*255,n[2]/65535*255]},r.rgb.apple=function(n){return[n[0]/255*65535,n[1]/255*65535,n[2]/255*65535]},r.gray.rgb=function(n){return[n[0]/100*255,n[0]/100*255,n[0]/100*255]},r.gray.hsl=r.gray.hsv=function(n){return[0,0,n[0]]},r.gray.hwb=function(n){return[0,100,n[0]]},r.gray.cmyk=function(n){return[0,0,0,n[0]]},r.gray.lab=function(n){return[n[0],0,0]},r.gray.hex=function(n){var t=255&Math.round(n[0]/100*255),e=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(e.length)+e},r.rgb.gray=function(n){return[(n[0]+n[1]+n[2])/3/255*100]},j.exports}function I(){if(k)return w;k=1;var n=A();function t(n,t){return function(e){return t(n(e))}}function e(e,r){for(var a=[r[e].parent,e],i=n[r[e].parent][e],o=r[e].parent;r[o].parent;)a.unshift(r[o].parent),i=t(n[r[o].parent][o],i),o=r[o].parent;return i.conversion=a,i}return w=function(t){for(var r=function(t){var e=function(){for(var t={},e=Object.keys(n),r=e.length,a=0;a<r;a++)t[e[a]]={distance:-1,parent:null};return t}(),r=[t];for(e[t].distance=0;r.length;)for(var a=r.pop(),i=Object.keys(n[a]),o=i.length,l=0;l<o;l++){var s=i[l],u=e[s];-1===u.distance&&(u.distance=e[a].distance+1,u.parent=a,r.unshift(s))}return e}(t),a={},i=Object.keys(r),o=i.length,l=0;l<o;l++){var s=i[l];null!==r[s].parent&&(a[s]=e(s,r))}return a}}var z,S,q=function(){if(O)return C;O=1;var n=g(),t=function(){if(x)return M;x=1;var n=A(),t=I(),e={};return Object.keys(n).forEach((function(r){e[r]={},Object.defineProperty(e[r],"channels",{value:n[r].channels}),Object.defineProperty(e[r],"labels",{value:n[r].labels});var a=t(r);Object.keys(a).forEach((function(n){var t=a[n];e[r][n]=function(n){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var e=n(t);if("object"==typeof e)for(var r=e.length,a=0;a<r;a++)e[a]=Math.round(e[a]);return e};return"conversion"in n&&(t.conversion=n.conversion),t}(t),e[r][n].raw=function(n){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),n(t))};return"conversion"in n&&(t.conversion=n.conversion),t}(t)}))})),M=e}(),e=[].slice,r=["keyword","gray","hex"],a={};Object.keys(t).forEach((function(n){a[e.call(t[n].labels).sort().join("")]=n}));var i={};function o(l,s){if(!(this instanceof o))return new o(l,s);if(s&&s in r&&(s=null),s&&!(s in t))throw new Error("Unknown model: "+s);var c,f;if(null==l)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(l instanceof o)this.model=l.model,this.color=l.color.slice(),this.valpha=l.valpha;else if("string"==typeof l){var h=n.get(l);if(null===h)throw new Error("Unable to parse color from string: "+l);this.model=h.model,this.color=h.value.slice(0,f=t[this.model].channels),this.valpha="number"==typeof h.value[f]?h.value[f]:1}else if(l.length){this.model=s||"rgb";var d=e.call(l,0,f=t[this.model].channels);this.color=u(d,f),this.valpha="number"==typeof l[f]?l[f]:1}else if("number"==typeof l)l&=16777215,this.model="rgb",this.color=[l>>16&255,l>>8&255,255&l],this.valpha=1;else{this.valpha=1;var b=Object.keys(l);"alpha"in l&&(b.splice(b.indexOf("alpha"),1),this.valpha="number"==typeof l.alpha?l.alpha:0);var v=b.sort().join("");if(!(v in a))throw new Error("Unable to parse color from object: "+JSON.stringify(l));this.model=a[v];var g=t[this.model].labels,p=[];for(c=0;c<g.length;c++)p.push(l[g[c]]);this.color=u(p)}if(i[this.model])for(f=t[this.model].channels,c=0;c<f;c++){var y=i[this.model][c];y&&(this.color[c]=y(this.color[c]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function l(n,t,e){return(n=Array.isArray(n)?n:[n]).forEach((function(n){(i[n]||(i[n]=[]))[t]=e})),n=n[0],function(r){var a;return arguments.length?(e&&(r=e(r)),(a=this[n]()).color[t]=r,a):(a=this[n]().color[t],e&&(a=e(a)),a)}}function s(n){return function(t){return Math.max(0,Math.min(n,t))}}function u(n,t){for(var e=0;e<t;e++)"number"!=typeof n[e]&&(n[e]=0);return n}return o.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(t){var e=this.model in n.to?this:this.rgb(),r=1===(e=e.round("number"==typeof t?t:1)).valpha?e.color:e.color.concat(this.valpha);return n.to[e.model](r)},percentString:function(t){var e=this.rgb().round("number"==typeof t?t:1),r=1===e.valpha?e.color:e.color.concat(this.valpha);return n.to.rgb.percent(r)},array:function(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var n={},e=t[this.model].channels,r=t[this.model].labels,a=0;a<e;a++)n[r[a]]=this.color[a];return 1!==this.valpha&&(n.alpha=this.valpha),n},unitArray:function(){var n=this.rgb().color;return n[0]/=255,n[1]/=255,n[2]/=255,1!==this.valpha&&n.push(this.valpha),n},unitObject:function(){var n=this.rgb().object();return n.r/=255,n.g/=255,n.b/=255,1!==this.valpha&&(n.alpha=this.valpha),n},round:function(n){return n=Math.max(n||0,0),new o(this.color.map(function(n){return function(t){return function(n,t){return Number(n.toFixed(t))}(t,n)}}(n)).concat(this.valpha),this.model)},alpha:function(n){return arguments.length?new o(this.color.concat(Math.max(0,Math.min(1,n))),this.model):this.valpha},red:l("rgb",0,s(255)),green:l("rgb",1,s(255)),blue:l("rgb",2,s(255)),hue:l(["hsl","hsv","hsl","hwb","hcg"],0,(function(n){return(n%360+360)%360})),saturationl:l("hsl",1,s(100)),lightness:l("hsl",2,s(100)),saturationv:l("hsv",1,s(100)),value:l("hsv",2,s(100)),chroma:l("hcg",1,s(100)),gray:l("hcg",2,s(100)),white:l("hwb",1,s(100)),wblack:l("hwb",2,s(100)),cyan:l("cmyk",0,s(100)),magenta:l("cmyk",1,s(100)),yellow:l("cmyk",2,s(100)),black:l("cmyk",3,s(100)),x:l("xyz",0,s(100)),y:l("xyz",1,s(100)),z:l("xyz",2,s(100)),l:l("lab",0,s(100)),a:l("lab",1),b:l("lab",2),keyword:function(n){return arguments.length?new o(n):t[this.model].keyword(this.color)},hex:function(t){return arguments.length?new o(t):n.to.hex(this.rgb().round().color)},rgbNumber:function(){var n=this.rgb().color;return(255&n[0])<<16|(255&n[1])<<8|255&n[2]},luminosity:function(){for(var n=this.rgb().color,t=[],e=0;e<n.length;e++){var r=n[e]/255;t[e]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(n){var t=this.luminosity(),e=n.luminosity();return t>e?(t+.05)/(e+.05):(e+.05)/(t+.05)},level:function(n){var t=this.contrast(n);return t>=7.1?"AAA":t>=4.5?"AA":""},isDark:function(){var n=this.rgb().color;return(299*n[0]+587*n[1]+114*n[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var n=this.rgb(),t=0;t<3;t++)n.color[t]=255-n.color[t];return n},lighten:function(n){var t=this.hsl();return t.color[2]+=t.color[2]*n,t},darken:function(n){var t=this.hsl();return t.color[2]-=t.color[2]*n,t},saturate:function(n){var t=this.hsl();return t.color[1]+=t.color[1]*n,t},desaturate:function(n){var t=this.hsl();return t.color[1]-=t.color[1]*n,t},whiten:function(n){var t=this.hwb();return t.color[1]+=t.color[1]*n,t},blacken:function(n){var t=this.hwb();return t.color[2]+=t.color[2]*n,t},grayscale:function(){var n=this.rgb().color,t=.3*n[0]+.59*n[1]+.11*n[2];return o.rgb(t,t,t)},fade:function(n){return this.alpha(this.valpha-this.valpha*n)},opaquer:function(n){return this.alpha(this.valpha+this.valpha*n)},rotate:function(n){var t=this.hsl(),e=t.color[0];return t.color[0]=e=(e=(e+n)%360)<0?360+e:e,t},mix:function(n,t){if(!n||!n.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof n);var e=n.rgb(),r=this.rgb(),a=void 0===t?.5:t,i=2*a-1,l=e.alpha()-r.alpha(),s=((i*l==-1?i:(i+l)/(1+i*l))+1)/2,u=1-s;return o.rgb(s*e.red()+u*r.red(),s*e.green()+u*r.green(),s*e.blue()+u*r.blue(),e.alpha()*a+r.alpha()*(1-a))}},Object.keys(t).forEach((function(n){if(-1===r.indexOf(n)){var a=t[n].channels;o.prototype[n]=function(){if(this.model===n)return new o(this);if(arguments.length)return new o(arguments,n);var e,r="number"==typeof arguments[a]?a:this.valpha;return new o((e=t[this.model][n].raw(this.color),Array.isArray(e)?e:[e]).concat(r),n)},o[n]=function(t){return"number"==typeof t&&(t=u(e.call(arguments),a)),new o(t,n)}}})),C=o}(),$=o(q),L=o(g()),E=o(S?z:(S=1,z=function(n,t,e){return n*(1-e)+t*e}));const F={name:"color",test:n=>"string"==typeof n&&(n.indexOf("rgb")>=0||n.indexOf("#")>=0||n.indexOf("hsl")>=0||L.get.rgb(n)),initialize:(n,t)=>({data:{format:(n.indexOf("rgba")>=0?"rgba":n.indexOf("rgb")>=0&&"rgb")||n.indexOf("#")>=0&&"hex"||$(n).model},startValue:$(n).rgb(),destValue:$(t).rgb()}),interpolate(n,t,e,r){const a=E(n.color[0],t.color[0],e),i=E(n.color[1],t.color[1],e),o=E(n.color[2],t.color[2],e),l=E(n.valpha,t.valpha,e),s=$.rgb(a,i,o,l)["rgba"===r.format?"rgb":r.format]();return"string"==typeof s?s:s.string()}},N=[{id:1,height:400,width:100,x:10,y:10,drop:20},{id:2,height:356,width:100,x:120,y:32,drop:20},{id:3,height:312,width:100,x:230,y:54,drop:20},{id:4,height:268,width:100,x:340,y:76,drop:20},{id:5,height:224,width:100,x:450,y:98,drop:20}],D=N.map((()=>0)),T={bada55:"#bada55",navy:"#001f3f",blue:"#0074d9",aqua:"#7fdbff",teal:"#39cccc",olive:"#3d9970",green:"#2ecc40",lime:"#01ff70",yellow:"#ffdc00",orange:"#ff851b",red:"#ff4136",maroon:"#85144b",fuchsia:"#f012be",purple:"#b10dc9",black:"#111111",gray:"#aaaaaa",silver:"#dddddd"},_={slate:"#708090",slate4:"#4e5964",white:"#ffffff"},R=n=>T[n]||_[n],B=Object.keys(T),U=n=>!("isConnected"in n)||n.isConnected,P=(()=>{let n;return(...t)=>{n&&clearTimeout(n),n=setTimeout((()=>{n=0,(n=>{for(let t of n.keys())n.set(t,n.get(t).filter(U))})(...t)}),2e3)}})(),V=n=>"function"==typeof n?n():n,H="funnel-gfx-wc::app-data",J=(()=>{const n=((n,t=(n,t)=>n!==t)=>{const e=V(n);let r=new Map(Object.entries(e??{}));const a={dispose:[],get:[],set:[],reset:[]},i=()=>{r=new Map(Object.entries(V(n)??{})),a.reset.forEach((n=>n()))},o=n=>(a.get.forEach((t=>t(n))),r.get(n)),l=(n,e)=>{const i=r.get(n);t(e,i,n)&&(r.set(n,e),a.set.forEach((t=>t(n,e,i))))},s="undefined"==typeof Proxy?{}:new Proxy(e,{get:(n,t)=>o(t),ownKeys:()=>Array.from(r.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(n,t)=>r.has(t),set:(n,t,e)=>(l(t,e),!0)}),u=(n,t)=>(a[n].push(t),()=>{((n,t)=>{const e=n.indexOf(t);e>=0&&(n[e]=n[n.length-1],n.length--)})(a[n],t)});return{state:s,get:o,set:l,on:u,onChange:(t,e)=>{const r=u("set",((n,r)=>{n===t&&e(r)})),a=u("reset",(()=>e(V(n)[t])));return()=>{r(),a()}},use:(...n)=>{const t=n.reduce(((n,t)=>(t.set&&n.push(u("set",t.set)),t.get&&n.push(u("get",t.get)),t.reset&&n.push(u("reset",t.reset)),t.dispose&&n.push(u("dispose",t.dispose)),n)),[]);return()=>t.forEach((n=>n()))},dispose:()=>{a.dispose.forEach((n=>n())),i()},reset:i,forceUpdate:n=>{const t=r.get(n);a.set.forEach((e=>e(n,t,t)))}}})({count:0,pick:"bada55",values:[...D]},void 0);return n.use((()=>{if("function"!=typeof t)return{};const n=new Map;return{dispose:()=>n.clear(),get:e=>{const r=t();r&&((n,t,e)=>{const r=n.get(t);r?r.includes(e)||r.push(e):n.set(t,[e])})(n,e,r)},set:t=>{const r=n.get(t);r&&n.set(t,r.filter(e)),P(n)},reset:()=>{n.forEach((n=>n.forEach(e))),P(n)}}})()),n})(),{state:Q,onChange:K}=J,Y=()=>{const{count:n,pick:t,values:e}=Q;(n=>{const t=JSON.stringify(n);localStorage.setItem(H,t)})({count:n,pick:t,values:e})},Z={initApp:()=>{const n=(()=>{const n=localStorage.getItem(H);return n?JSON.parse(n):void 0})();if(n){const{count:t,pick:e,values:r}=n;Q.count=t,Q.pick=e,Q.values=r}},refresh:()=>{const n=D.map((()=>Math.floor(100*Math.random())));Q.count=Q.count+1,Q.values=n,Y()},reset:()=>{Q.count=0,Q.values=[...D],Y()},updatePick:n=>{Q.pick=n,Y()}},X=t=>{const{actions:e,state:r}=t,{pick:i}=r;return n("div",{id:"toolbar",class:"flex flex-wrap",role:"radiogroup"},B.map((t=>{const r=R(t),o=i==t;return n("div",{"aria-label":t,"aria-checked":o?"true":"false",role:"radio",onClick:()=>{e.updatePick(t)}},n(a,{hex:r,selected:o,label:t}))})))},G=t=>{const e=t.hex||"currentColor",r=t.size||24;return n("svg",{class:t.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},n("title",null,t.label||"chevron-double-left"),n("g",{fill:e},n("path",{d:"M18.41,7.41L17,6L11,12L17,18L18.41,16.59L13.83,12L18.41,7.41M12.41,7.41L11,6L5,12L11,18L12.41,16.59L7.83,12L12.41,7.41Z"})),n("path",{d:"M0 0h24v24H0z",fill:"none"}))},W=t=>{const e=t.hex||"currentColor",r=t.size||24;return n("svg",{class:t.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},n("title",null,t.label||"close"),n("g",{fill:e},n("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),n("path",{d:"M0 0h24v24H0z",fill:"none"}))},nn=t=>{const e=t.hex||"currentColor",r=t.size||24;return n("svg",{class:t.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},n("title",null,t.label||"refresh"),n("g",{fill:e},n("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99\n 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65\n 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35\n 2.35z"})),n("path",{d:"M0 0h24v24H0z",fill:"none"}))},tn=t=>{const{actions:e,state:r}=t,{count:a}=r;return n("div",{class:"mb-10px mt-3 flex items-center"},n("button",{"aria-label":"Refresh",class:"ds1-button data-button bg-clrs-blue",onClick:()=>{e.refresh()}},n(nn,{label:"Refresh"})),n("button",{"aria-label":"Reset",class:"ds1-button data-button bg-clrs-red",onClick:()=>{e.reset()}},n(W,{label:"Reset"})),n("span",{class:"flex items-center"},n(G,{size:28}),n("span",{class:"italic"},"click a button... ",n("sup",null,a))))},en=()=>n("label",{class:"ml-auto align-top text-xs italic text-clrs-slate4"},"Tailwind ","4.1.3"),rn=t=>{const{state:e}=t,{values:r,pick:a,count:i}=e;return n("div",{class:"flex"},n("div",{class:"flex flex-col"},n("div",{class:"flex"},n("span",{class:"mr-10px font-bold"},"color:"),n("span",{class:"italic text-clrs-slate4"},a)),n("div",{class:"mt-5px flex"},n("span",{class:"mr-10px font-bold"},"sample:"),n("span",{class:"italic text-clrs-slate4"},`${i>0?r:"..."}`))),n(en,null))};var an,on={exports:{}},ln=(an||(an=1,on.exports=function(){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(t)}function t(n,t){for(var e=0;e<t.length;e++){var r=t[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function e(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}function r(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function a(n){return(a=Object.getPrototypeOf||function(n){return n.__proto__})(n)}function o(n,t){return(o=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function l(n,t,e){return(l="undefined"!=typeof Reflect&&Reflect.construct?Reflect.construct:function(n,t,e){var r=[null];r.push.apply(r,t);var a=new(n.bind.apply(n,r));return e&&o(a,e.prototype),a}).apply(null,arguments)}function s(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}var u=function(n,t,e){return n*(1-e)+t*e},c="undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:{};function f(n,t){return n(t={exports:{}},t.exports),t.exports}for(var h=f((function(n){var t=n.exports={Linear:{None:function(n){return n}},Quadratic:{In:function(n){return n*n},Out:function(n){return n*(2-n)},InOut:function(n){return(n*=2)<1?.5*n*n:-.5*(--n*(n-2)-1)}},Cubic:{In:function(n){return n*n*n},Out:function(n){return--n*n*n+1},InOut:function(n){return(n*=2)<1?.5*n*n*n:.5*((n-=2)*n*n+2)}},Quartic:{In:function(n){return n*n*n*n},Out:function(n){return 1- --n*n*n*n},InOut:function(n){return(n*=2)<1?.5*n*n*n*n:-.5*((n-=2)*n*n*n-2)}},Quintic:{In:function(n){return n*n*n*n*n},Out:function(n){return--n*n*n*n*n+1},InOut:function(n){return(n*=2)<1?.5*n*n*n*n*n:.5*((n-=2)*n*n*n*n+2)}},Sinusoidal:{In:function(n){return 1-Math.cos(n*Math.PI/2)},Out:function(n){return Math.sin(n*Math.PI/2)},InOut:function(n){return.5*(1-Math.cos(Math.PI*n))}},Exponential:{In:function(n){return 0===n?0:Math.pow(1024,n-1)},Out:function(n){return 1===n?1:1-Math.pow(2,-10*n)},InOut:function(n){return 0===n?0:1===n?1:(n*=2)<1?.5*Math.pow(1024,n-1):.5*(2-Math.pow(2,-10*(n-1)))}},Circular:{In:function(n){return 1-Math.sqrt(1-n*n)},Out:function(n){return Math.sqrt(1- --n*n)},InOut:function(n){return(n*=2)<1?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1)}},Elastic:{In:function(n){var t,e=.1;return 0===n?0:1===n?1:(!e||e<1?(e=1,t=.1):t=.4*Math.asin(1/e)/(2*Math.PI),-e*Math.pow(2,10*(n-=1))*Math.sin((n-t)*(2*Math.PI)/.4))},Out:function(n){var t,e=.1;return 0===n?0:1===n?1:(!e||e<1?(e=1,t=.1):t=.4*Math.asin(1/e)/(2*Math.PI),e*Math.pow(2,-10*n)*Math.sin((n-t)*(2*Math.PI)/.4)+1)},InOut:function(n){var t,e=.1;return 0===n?0:1===n?1:(!e||e<1?(e=1,t=.1):t=.4*Math.asin(1/e)/(2*Math.PI),(n*=2)<1?e*Math.pow(2,10*(n-=1))*Math.sin((n-t)*(2*Math.PI)/.4)*-.5:e*Math.pow(2,-10*(n-=1))*Math.sin((n-t)*(2*Math.PI)/.4)*.5+1)}},Back:{In:function(n){return n*n*(2.70158*n-1.70158)},Out:function(n){return--n*n*(2.70158*n+1.70158)+1},InOut:function(n){var t=2.5949095;return(n*=2)<1?n*n*((t+1)*n-t)*.5:.5*((n-=2)*n*((t+1)*n+t)+2)}},Bounce:{In:function(n){return 1-t.Bounce.Out(1-n)},Out:function(n){return n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375},InOut:function(n){return n<.5?.5*t.Bounce.In(2*n):.5*t.Bounce.Out(2*n-1)+.5}}}})),d=f((function(n){(function(){var t,e,r,a,i,o;"undefined"!=typeof performance&&null!==performance&&performance.now?n.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(n.exports=function(){return(t()-i)/1e6},e=process.hrtime,a=(t=function(){var n;return 1e9*(n=e())[0]+n[1]})(),o=1e9*process.uptime(),i=a-o):Date.now?(n.exports=function(){return Date.now()-r},r=Date.now()):(n.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(c)})),b="undefined"==typeof window?c:window,v=["moz","webkit"],g="AnimationFrame",p=b["request"+g],y=b["cancel"+g]||b["cancelRequest"+g],m=0;!p&&m<v.length;m++)p=b[v[m]+"Request"+g],y=b[v[m]+"Cancel"+g]||b[v[m]+"CancelRequest"+g];if(!p||!y){var w=0,k=0,M=[];p=function(n){if(0===M.length){var t=d(),e=Math.max(0,1e3/60-(t-w));w=e+t,setTimeout((function(){for(var n=M.slice(0),t=M.length=0;t<n.length;t++)if(!n[t].cancelled)try{n[t].callback(w)}catch(n){setTimeout((function(){throw n}),0)}}),Math.round(e))}return M.push({handle:++k,callback:n,cancelled:!1}),k},y=function(n){for(var t=0;t<M.length;t++)M[t].handle===n&&(M[t].cancelled=!0)}}var x=function(n){return p.call(b,n)};x.cancel=function(){y.apply(b,arguments)},x.polyfill=function(n){n||(n=b),n.requestAnimationFrame=p,n.cancelAnimationFrame=y};var C,O,j=[],A=Symbol("type"),I=Symbol("start_time"),z=Symbol("completed"),S=Symbol("paused"),q=requestAnimationFrame||x,$=Date.now();!function n(){q(n),C=Date.now(),O=C-$;for(var t=0;t<j.length;t++)j[t][z]||j[t](O,Date.now()-j[t][I]);$=C}();var L=function(t){function i(t,e){var o,l,c;!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),c=a(i).call(this),r(s(s(l=!c||"object"!=typeof c&&"function"!=typeof c?s(this):c)),"update",(function(){var n=s(s(l))._updateValue;return function(t,e){l[z]||l[S]||(0===l.localTime&&l.emit("start",l.value,s(s(l))),n(l.ease(l.loopFunction.progress(Math.min(1,(e||l.localTime)/l.duration)))),l.emit("update",l.value,s(s(l)),t),l.localTime>=l.duration&&l.loopFunction.complete((function(){l[z]=!0,l.emit("complete",l.value,s(s(l)))})),l.localTime+=t)}}));var f=l.plugin=Object.values(i._plugins).reduce((function(n,e){return n||e&&e.test&&e.test(t)&&e}),!1),h=f&&f.name||("object"===n(t)?Array.isArray(t)?"array":"object":"number");if(f){var d=f.initialize(t,e);t=d.startValue,e=d.destValue,l.data=d.data}switch(Object.assign(s(s(l)),(r(o={duration:1e3,localTime:0,startValue:t,destValue:e,loopMode:"once",loopFunction:i.DEFAULT_LOOP,ease:function(n){return n},value:"array"===h?[].concat(t):"object"===h?Object.assign({},t):t},z,!1),r(o,A,h),r(o,I,Date.now()),r(o,S,!1),o)),l[A]){case"number":l._updateValue=function(n){l.value=u(l.startValue,l.destValue,n)};break;case"array":var b=l.value.length,v=s(s(l)),g=v.startValue,p=v.destValue,y=v.value;l._updateValue=function(n){for(var t=0;t<b;t++)y[t]=u(g[t],p[t],n)};break;case"object":var m=Object.keys(l.startValue),w=m.length,k=s(s(l)),M=k.startValue,x=k.destValue,C=k.value;l._updateValue=function(n){for(var t=0;t<w;t++){var e=m[t];C[e]=u(M[e],x[e],n)}};break;default:l.plugin?l._updateValue=function(n){l.value=l.plugin.interpolate(l.startValue,l.destValue,n,l.data)}:(console.warn("Between: startValue type was unrecognized."),l._updateValue=function(){return null})}return j.push(l.update()),l}return e(i,null,[{key:"between",value:function(){for(var n=arguments.length,t=new Array(n),e=0;e<n;e++)t[e]=arguments[e];return l(i,t)}}]),e(i,[{key:"pause",value:function(){return this[S]=!0,this.emit("pause",this.value,this,O),this}},{key:"play",value:function(){return this[S]=!1,this.emit("play",this.value,this,O),this}},{key:"easing",value:function(n){return this.ease=n,this}},{key:"time",value:function(n){return this.duration=n,this}},{key:"loop",value:function(){for(var n="__loop_".concat(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"once"),t=arguments.length,e=new Array(1<t?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return this.loopFunction=n in this?Object.assign({},i.DEFAULT_LOOP,this[n].apply(this,e)):i.DEFAULT_LOOP,this}},{key:"__loop_repeat",value:function(n){var t=this,e=n;return this.times=0,{complete:function(n){t.localTime=0,Number.isInteger(e)&&++t.times===e?n():Number.isInteger(e)||++t.times}}}},{key:"__loop_bounce",value:function(n){var t=this,e=n,r=1;return this.times=0,{complete:function(n){t.localTime=0,r=-r,Number.isInteger(e)&&++t.times===e?n():Number.isInteger(e)||++t.times},progress:function(n){return 0<r?n:1-n}}}},{key:"isPaused",get:function(){return this[S]}}]),function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");o(n.prototype,t&&t.prototype),t&&o(n,t)}(i,t),i}((function(n){var t={},e=[];(n=n||this).on=function(e,r,a){return(t[e]=t[e]||[]).push([r,a]),n},n.off=function(r,a){r||(t={});for(var i=t[r]||e,o=i.length=a?i.length:0;o--;)a==i[o][0]&&i.splice(o,1);return n},n.emit=function(r){for(var a,i=t[r]||e,o=0<i.length?i.slice(0,i.length):i,l=0;a=o[l++];)a[0].apply(a[1],e.slice.call(arguments,1));return n}}));return r(L,"DEFAULT_LOOP",{complete:function(n){return n()},progress:function(n){return n}}),L.Easing=h,L._plugins={},L}()),on.exports),sn=o(ln);sn._plugins.color=F;let un,cn=[];const fn=R("white"),hn=R("bada55");let dn,bn="#bada55",vn=[0,0,0,0,0],gn=[void 0,void 0,void 0,void 0,void 0];const pn=n=>{if(!un)return;const t=bn,e=R(n);null!==t&&t!==e&&(dn&&dn.pause(),dn=new sn(t,e).time(1e3).easing(sn.Easing.Cubic.InOut).on("update",(n=>{un.forEach((t=>{t.setAttribute("fill",`${n}`)})),bn=n})))},yn=n=>{un&&un.forEach(((t,e)=>{const r=cn[e],a=vn[e],i=n[e];null!==a&&a!==i&&(gn[e]&&gn[e].pause(),gn[e]=new sn(a,i).time(1e3).easing(sn.Easing.Cubic.InOut).on("update",(n=>{t.setAttribute("y",""+r*((100-n)/100)),vn[e]=n})))}))},mn=()=>{const t=N.map((n=>(({id:n,height:t,width:e,x:r,y:a,drop:i})=>({id:n,height:t,width:e,x:r,y:a,maskId:`mask-${n}`,maskUri:`url('#mask-${n}')`,mask:`0.5,0.5,0.5,${t-.5},${e-.5},${t-i-.5},${e-.5},${i+.5}`,matrix:`matrix(1,0,0,1,${r},${a})`,points:`0,0,0,${t},${e},${t-i},${e},${i}`}))(n))),e="currentColor";return cn=Array(t.length),un=Array(t.length),n("div",{class:"funnel-gfx"},n("svg",{viewBox:"0 0 600 420"},n("desc",null,"Created with Snap"),n("defs",null,t.map((t=>n("mask",{id:t.maskId},n("polygon",{points:t.mask,fill:fn}))))),t.map(((t,r)=>{const{height:a,width:i,maskUri:o,matrix:l,points:s}=t;return cn[r]=a,n("g",{transform:l},n("polygon",{points:s,fill:fn,stroke:e}),n("rect",{ref:n=>un[r]=n,x:"0",y:a,width:i,height:a,mask:o,fill:hn,stroke:e}))}))))},wn=t=>{const e=t.hex||"currentColor",r=t.size||24;return n("svg",{class:t.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},n("title",null,t.label||"fingerprint"),n("g",{fill:e},n("path",{d:"M17.81,4.47C17.73,4.47 17.65,4.45 17.58,4.41C15.66,3.42 14,3\n 12,3C10.03,3 8.15,3.47 6.44,4.41C6.2,4.54 5.9,4.45 5.76,4.21C5.63,3.97\n 5.72,3.66 5.96,3.53C7.82,2.5 9.86,2 12,2C14.14,2 16,2.47\n 18.04,3.5C18.29,3.65 18.38,3.95 18.25,4.19C18.16,4.37 18,4.47\n 17.81,4.47M3.5,9.72C3.4,9.72 3.3,9.69 3.21,9.63C3,9.47 2.93,9.16\n 3.09,8.93C4.08,7.53 5.34,6.43 6.84,5.66C10,4.04 14,4.03\n 17.15,5.65C18.65,6.42 19.91,7.5 20.9,8.9C21.06,9.12 21,9.44\n 20.78,9.6C20.55,9.76 20.24,9.71 20.08,9.5C19.18,8.22 18.04,7.23\n 16.69,6.54C13.82,5.07 10.15,5.07 7.29,6.55C5.93,7.25 4.79,8.25\n 3.89,9.5C3.81,9.65 3.66,9.72 3.5,9.72M9.75,21.79C9.62,21.79 9.5,21.74\n 9.4,21.64C8.53,20.77 8.06,20.21 7.39,19C6.7,17.77 6.34,16.27\n 6.34,14.66C6.34,11.69 8.88,9.27 12,9.27C15.12,9.27 17.66,11.69\n 17.66,14.66A0.5,0.5 0 0,1 17.16,15.16A0.5,0.5 0 0,1\n 16.66,14.66C16.66,12.24 14.57,10.27 12,10.27C9.43,10.27 7.34,12.24\n 7.34,14.66C7.34,16.1 7.66,17.43 8.27,18.5C8.91,19.66 9.35,20.15\n 10.12,20.93C10.31,21.13 10.31,21.44 10.12,21.64C10,21.74 9.88,21.79\n 9.75,21.79M16.92,19.94C15.73,19.94 14.68,19.64 13.82,19.05C12.33,18.04\n 11.44,16.4 11.44,14.66A0.5,0.5 0 0,1 11.94,14.16A0.5,0.5 0 0,1\n 12.44,14.66C12.44,16.07 13.16,17.4 14.38,18.22C15.09,18.7 15.92,18.93\n 16.92,18.93C17.16,18.93 17.56,18.9 17.96,18.83C18.23,18.78 18.5,18.96\n 18.54,19.24C18.59,19.5 18.41,19.77 18.13,19.82C17.56,19.93 17.06,19.94\n 16.92,19.94M14.91,22C14.87,22 14.82,22 14.78,22C13.19,21.54 12.15,20.95\n 11.06,19.88C9.66,18.5 8.89,16.64 8.89,14.66C8.89,13.04 10.27,11.72\n 11.97,11.72C13.67,11.72 15.05,13.04 15.05,14.66C15.05,15.73 16,16.6\n 17.13,16.6C18.28,16.6 19.21,15.73 19.21,14.66C19.21,10.89 15.96,7.83\n 11.96,7.83C9.12,7.83 6.5,9.41 5.35,11.86C4.96,12.67 4.76,13.62\n 4.76,14.66C4.76,15.44 4.83,16.67 5.43,18.27C5.53,18.53 5.4,18.82\n 5.14,18.91C4.88,19 4.59,18.87 4.5,18.62C4,17.31 3.77,16\n 3.77,14.66C3.77,13.46 4,12.37 4.45,11.42C5.78,8.63 8.73,6.82\n 11.96,6.82C16.5,6.82 20.21,10.33 20.21,14.65C20.21,16.27 18.83,17.59\n 17.13,17.59C15.43,17.59 14.05,16.27 14.05,14.65C14.05,13.58 13.12,12.71\n 11.97,12.71C10.82,12.71 9.89,13.58 9.89,14.65C9.89,16.36 10.55,17.96\n 11.76,19.16C12.71,20.1 13.62,20.62 15.03,21C15.3,21.08 15.45,21.36\n 15.38,21.62C15.33,21.85 15.12,22 14.91,22Z"})),n("path",{d:"M0 0h24v24H0z",fill:"none"}))},kn="eswat2",Mn=()=>n("a",{class:"absolute right-8 top-8 text-clrs-gray hover:text-clrs-navy",href:"https://eswat2.dev","aria-label":kn,target:"blank",title:kn},n(wn,{label:"eswat2"})),xn=class{constructor(n){r(this,n),this.tag="funnel-app"}componentDidLoad(){K("pick",pn),K("values",yn),Z.initApp()}render(){return n("div",{key:"7998626a3f01e8bb4b2ed4b2b80d8b8de4a11206",id:"app",class:"ds1-main relative"},n(Mn,{key:"44437debf47c76557ac6a115eec78b43a0aa2648"}),n(mn,{key:"f0806a91f365823850ab6ccebbc1339c18dd46b1"}),n(tn,{key:"bfe9dc2f232eac7142d416c2dff3e7d8522930b7",actions:Z,state:Q}),n(X,{key:"23836d760ccb38b898857abd205ae186d8f05242",actions:Z,state:Q}),n("hr",{key:"33eae1954a6b50e6a7b8c3124e92895114a8412d",class:"ml-0 mr-0"}),n(rn,{key:"4d449b22dedd37ce95356c98b00d5137008b5345",state:Q}))}};xn.style="/*! tailwindcss v4.1.3 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root,\n :host {\n --font-sans:\n ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',\n 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n --spacing: 0.25rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --font-weight-bold: 700;\n }\n}\n@layer utilities {\n .absolute {\n position: absolute;\n }\n .relative {\n position: relative;\n }\n .top-8 {\n top: calc(var(--spacing) * 8);\n }\n .right-8 {\n right: calc(var(--spacing) * 8);\n }\n .mt-3 {\n margin-top: calc(var(--spacing) * 3);\n }\n .mt-5px {\n margin-top: 5px;\n }\n .mr-0 {\n margin-right: calc(var(--spacing) * 0);\n }\n .mr-10px {\n margin-right: 10px;\n }\n .mb-10px {\n margin-bottom: 10px;\n }\n .ml-0 {\n margin-left: calc(var(--spacing) * 0);\n }\n .ml-auto {\n margin-left: auto;\n }\n .flex {\n display: flex;\n }\n .transform {\n transform: var(--tw-rotate-x) var(--tw-rotate-y) var(--tw-rotate-z)\n var(--tw-skew-x) var(--tw-skew-y);\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-wrap {\n flex-wrap: wrap;\n }\n .items-center {\n align-items: center;\n }\n .border-solid {\n --tw-border-style: solid;\n border-style: solid;\n }\n .border-clrs-gray {\n border-color: var(--clrs-gray, #aaaaaa);\n }\n .border-clrs-slate {\n border-color: var(--clrs-slate, #708090);\n }\n .bg-clrs-blue {\n background-color: var(--clrs-blue, #0074d9);\n }\n .bg-clrs-red {\n background-color: var(--clrs-red, #ff4136);\n }\n .bg-clrs-silver {\n background-color: var(--clrs-silver, #dddddd);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .align-top {\n vertical-align: top;\n }\n .font-sans {\n font-family: var(--font-sans);\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .text-clrs-gray {\n color: var(--clrs-gray, #aaaaaa);\n }\n .text-clrs-navy {\n color: var(--clrs-navy, #001f3f);\n }\n .text-clrs-slate4 {\n color: var(--clrs-slate4, #4e5964);\n }\n .text-clrs-white {\n color: var(--clrs-white, #ffffff);\n }\n .italic {\n font-style: italic;\n }\n .shadow {\n --tw-shadow:\n 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)),\n 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow), var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .hover\\:text-clrs-navy {\n &:hover {\n @media (hover: hover) {\n color: var(--clrs-navy, #001f3f);\n }\n }\n }\n .active\\:bg-clrs-gray {\n &:active {\n background-color: var(--clrs-gray, #aaaaaa);\n }\n }\n .active\\:text-clrs-navy {\n &:active {\n color: var(--clrs-navy, #001f3f);\n }\n }\n}\n@layer components {\n .ds1-main {\n display: flex;\n flex-direction: column;\n padding: calc(var(--spacing) * 4);\n font-family: var(--font-sans);\n color: var(--clrs-navy, #001f3f);\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .ds1-button {\n display: flex;\n align-items: center;\n --tw-border-style: solid;\n border-style: solid;\n border-color: var(--clrs-slate, #708090);\n color: var(--clrs-white, #ffffff);\n &:active {\n background-color: var(--clrs-gray, #aaaaaa);\n }\n &:active {\n color: var(--clrs-navy, #001f3f);\n }\n }\n .funnel-gfx {\n --tw-border-style: solid;\n border-style: solid;\n border-color: var(--clrs-gray, #aaaaaa);\n background-color: var(--clrs-silver, #dddddd);\n stroke-width: 1;\n }\n}\n.data-button {\n border-radius: 5px;\n border-width: 1px;\n padding: 5px;\n margin: 0px;\n margin-right: 5px;\n cursor: pointer;\n}\n.funnel-gfx {\n width: calc(100% - 20px);\n height: 100%;\n padding: 10px;\n padding-bottom: 7px;\n border-radius: 10px;\n border-width: 1px;\n}\n";export{xn as funnel_app}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},n=(e,t)=>{e.__stencil__getHostRef=()=>t,t.t=e},o=(e,t)=>t in e,l=(e,t)=>(0,console.error)(e,t),s=new Map,i=new Map,r="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="undefined"!=typeof window?window:{},u={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},f=e=>Promise.resolve(e),a=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),d=!1,h=[],p=[],m=(e,t)=>n=>{e.push(n),d||(d=!0,t&&4&u.o?w(y):u.raf(y))},v=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){l(e)}e.length=0},y=()=>{v(h),v(p),(d=h.length>0)&&u.raf(y)},w=e=>f().then(e),b=m(p,!0),$=e=>"object"==(e=typeof e)||"function"===e;function g(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>j,map:()=>O,ok:()=>S,unwrap:()=>k,unwrapErr:()=>E});var S=e=>({isOk:!0,isErr:!1,value:e}),j=e=>({isOk:!1,isErr:!0,value:e});function O(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>S(e))):S(n)}if(e.isErr)return j(e.value);throw"should never get here"}var k=e=>{if(e.isOk)return e.value;throw e.value},E=e=>{if(e.isErr)return e.value;throw e.value},C=(e,t,...n)=>{let o=null,l=null,s=!1,i=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof e&&!$(o))&&(o+=""),s&&i?r[r.length-1].i+=o:r.push(s?x(null,o):o),i=s)};if(c(n),t){t.key&&(l=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,P);const u=x(e,null);return u.u=t,r.length>0&&(u.h=r),u.p=l,u},x=(e,t)=>({o:0,m:e,i:t,v:null,h:null,u:null,p:null}),M={},P={forEach:(e,t)=>e.map(R).forEach(t),map:(e,t)=>e.map(R).map(t).map(D)},R=e=>({vattrs:e.u,vchildren:e.h,vkey:e.p,vname:e.$,vtag:e.m,vtext:e.i}),D=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),C(e.vtag,t,...e.vchildren||[])}const t=x(e.vtag,e.vtext);return t.u=e.vattrs,t.h=e.vchildren,t.p=e.vkey,t.$=e.vname,t},U=e=>{const t=(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(e);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};U("::slotted"),U(":host"),U(":host-context");var W,A=(e,t)=>null==e||$(e)?e:1&t?e+"":e,N=new WeakMap,L=e=>"sc-"+e.S,T=(e,t,n,l,s,i)=>{if(n===l)return;let r=o(e,t),f=t.toLowerCase();if("class"===t){const t=e.classList,o=z(n);let s=z(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===t);else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const o=$(l);if((r||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]!==l&&(e[t]=l);else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&i||s)&&!o&&1===e.nodeType&&e.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):o(c,f)?f.slice(2):f[2]+t.slice(3),n||l){const o=t.endsWith(F);t=t.replace(V,""),n&&u.rel(e,t,n,o),l&&u.ael(e,t,l,o)}},H=/\s/,z=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(H):[]),F="Capture",V=RegExp(F+"$"),q=(e,t,n)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,l=e&&e.u||{},s=t.u||{};for(const e of G(Object.keys(l)))e in s||T(o,e,l[e],void 0,n,t.o);for(const e of G(Object.keys(s)))T(o,e,l[e],s[e],n,t.o)};function G(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var I=!1,Y=(e,t,n)=>{const o=t.h[n];let l,s,i=0;if(null!==o.i)l=o.v=c.document.createTextNode(o.i);else{if(I||(I="svg"===o.m),!c.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(l=o.v=c.document.createElementNS(I?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.m),I&&"foreignObject"===o.m&&(I=!1),q(null,o,I),o.h)for(i=0;i<o.h.length;++i)s=Y(e,o,i),s&&l.appendChild(s);"svg"===o.m?I=!1:"foreignObject"===l.tagName&&(I=!0)}return l["s-hn"]=W,l},_=(e,t,n,o,l,s)=>{let i,r=e;for(r.shadowRoot&&r.tagName===W&&(r=r.shadowRoot);l<=s;++l)o[l]&&(i=Y(null,n,l),i&&(o[l].v=i,X(r,i,t)))},B=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.v;Q(t),e&&e.remove()}}},J=(e,t,n=!1)=>e.m===t.m&&(n?(n&&!e.p&&t.p&&(e.p=t.p),!0):e.p===t.p),K=(e,t,n=!1)=>{const o=t.v=e.v,l=e.h,s=t.h,i=t.m,r=t.i;null===r?(q(e,t,I="svg"===i||"foreignObject"!==i&&I),null!==l&&null!==s?((e,t,n,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=t.length-1,d=t[0],h=t[a],p=o.length-1,m=o[0],v=o[p];for(;r<=a&&c<=p;)if(null==d)d=t[++r];else if(null==h)h=t[--a];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(J(d,m,l))K(d,m,l),d=t[++r],m=o[++c];else if(J(h,v,l))K(h,v,l),h=t[--a],v=o[--p];else if(J(d,v,l))K(d,v,l),X(e,d.v,h.v.nextSibling),d=t[++r],v=o[--p];else if(J(h,m,l))K(h,m,l),X(e,h.v,d.v),h=t[--a],m=o[++c];else{for(u=-1,f=r;f<=a;++f)if(t[f]&&null!==t[f].p&&t[f].p===m.p){u=f;break}u>=0?(i=t[u],i.m!==m.m?s=Y(t&&t[c],n,u):(K(i,m,l),t[u]=void 0,s=i.v),m=o[++c]):(s=Y(t&&t[c],n,c),m=o[++c]),s&&X(d.v.parentNode,s,d.v)}r>a?_(e,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&B(t,r,a)})(o,l,t,s,n):null!==s?(null!==e.i&&(o.textContent=""),_(o,null,t,s,0,s.length-1)):!n&&null!==l&&B(l,0,l.length-1),I&&"svg"===i&&(I=!1)):e.i!==r&&(o.data=r)},Q=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(Q)},X=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),Z=(e,t)=>{if(t&&!e.j&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.j=()=>{t["s-p"].splice(n-1,1),o()})))}},ee=(e,t)=>{if(e.o|=16,!(4&e.o))return Z(e,e.O),b((()=>te(e,t)));e.o|=512},te=(e,t)=>{const n=e.$hostElement$,o=e.t;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return l=ae(o,t?"componentWillLoad":"componentWillUpdate",void 0,n),l=ne(l,(()=>ae(o,"componentWillRender",void 0,n))),ne(l,(()=>le(e,o,t)))},ne=(e,t)=>oe(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),oe=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,le=async(e,t,n)=>{var o;const l=e.$hostElement$,s=l["s-rc"];n&&(e=>{const t=e.k,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=L(t),l=i.get(o);if(!c.document)return o;if(e=11===e.nodeType?e:c.document,l)if("string"==typeof l){let s,i=N.get(e=e.head||e);if(i||N.set(e,i=new Set),!i.has(o)){{s=document.querySelector(`[sty-id="${o}"]`)||c.document.createElement("style"),s.innerHTML=l;const i=null!=(n=u.C)?n:g(c.document);if(null!=i&&s.setAttribute("nonce",i),!(1&t.o))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(a){const t=new CSSStyleSheet;t.replaceSync(l),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(s)}else e.append(s);1&t.o&&e.insertBefore(s,null)}4&t.o&&(s.innerHTML+=r),i&&i.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);ie(e,t,l,n),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>ce(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},se=null,ie=(e,t,n,o)=>{try{se=t,t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.M||x(null,null),s=(e=>e&&e.m===M)(t)?t:C(null,null,t);if(W=o.tagName,n&&s.u)for(const e of Object.keys(s.u))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.u[e]=o[e]);s.m=null,s.o|=4,e.M=s,s.v=l.v=o.shadowRoot||o,K(l,s,n)})(e,t,o)}catch(t){l(t,e.$hostElement$)}return se=null,null},re=()=>se,ce=e=>{const t=e.$hostElement$,n=e.t,o=e.O;ae(n,"componentDidRender",void 0,t),64&e.o?ae(n,"componentDidUpdate",void 0,t):(e.o|=64,de(t),ae(n,"componentDidLoad",void 0,t),e.P(t),o||fe()),e.j&&(e.j(),e.j=void 0),512&e.o&&w((()=>ee(e,!1))),e.o&=-517},ue=e=>{{const n=t(e),o=n.$hostElement$.isConnected;return o&&2==(18&n.o)&&ee(n,!1),o}},fe=()=>{w((()=>(e=>{const t=u.ce("appload",{detail:{namespace:"funnel-gfx-wc"}});return e.dispatchEvent(t),t})(c)))},ae=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){l(e,o)}},de=e=>e.classList.add("hydrated"),he=(e,n,o,l)=>{const s=t(e);if(!s)throw Error(`Couldn't find host element for "${l.S}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const i=s.R.get(n),r=s.o,c=s.t;if(o=A(o,l.D[n][0]),(!(8&r)||void 0===i)&&o!==i&&(!Number.isNaN(i)||!Number.isNaN(o))&&(s.R.set(n,o),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,i,n))return;ee(s,!1)}},pe=(e,n,o)=>{var l,s;const i=e.prototype;if(n.D){const r=Object.entries(null!=(l=n.D)?l:{});if(r.map((([e,[l]])=>{if(31&l||2&o&&32&l){const{get:s,set:r}=Object.getOwnPropertyDescriptor(i,e)||{};s&&(n.D[e][0]|=2048),r&&(n.D[e][0]|=4096),(1&o||!s)&&Object.defineProperty(i,e,{get(){{if(!(2048&n.D[e][0]))return((e,n)=>t(this).R.get(n))(0,e);const o=t(this),l=o?o.t:i;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,e,{set(s){const i=t(this);if(r){const t=32&l?this[e]:i.$hostElement$[e];return void 0===t&&i.R.get(e)?s=i.R.get(e):!i.R.get(e)&&t&&i.R.set(e,t),r.call(this,A(s,l)),void he(this,e,s=32&l?this[e]:i.$hostElement$[e],n)}{if(!(1&o&&4096&n.D[e][0]))return he(this,e,s,n),void(1&o&&!i.t&&i.U.then((()=>{4096&n.D[e][0]&&i.t[e]!==i.R.get(e)&&(i.t[e]=s)})));const t=()=>{const t=i.t[e];!i.R.get(e)&&t&&i.R.set(e,t),i.t[e]=A(s,l),he(this,e,i.t[e],n)};i.t?t():i.U.then((()=>t()))}}})}})),1&o){const o=new Map;i.attributeChangedCallback=function(e,l,s){u.jmp((()=>{var r;const c=o.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=t(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&s!==l){const t=o.t,i=null==(r=n.W)?void 0:r[e];null==i||i.forEach((n=>{null!=t[n]&&t[n].call(t,s,l,e)}))}return}}const u=Object.getOwnPropertyDescriptor(i,c);(s=(null!==s||"boolean"!=typeof this[c])&&s)===this[c]||u.get&&!u.set||(this[c]=s)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=n.W)?s:{}),...r.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return o.set(n,e),n}))]))}}return e},me=(e,t)=>{ae(e,"connectedCallback",void 0,t)},ve=(e,t)=>{ae(e,"disconnectedCallback",void 0,t||e)},ye=(e,n={})=>{var o;if(!c.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const f=[],d=n.exclude||[],h=c.customElements,p=c.document.head,m=p.querySelector("meta[charset]"),v=c.document.createElement("style"),y=[];let w,b=!0;Object.assign(u,n),u.l=new URL(n.resourcesUrl||"./",c.document.baseURI).href;let $=!1;if(e.map((e=>{e[1].map((n=>{const o={o:n[0],S:n[1],D:n[2],A:n[3]};4&o.o&&($=!0),o.D=n[2];const r=o.S,c=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,t)=>{const n={o:0,$hostElement$:e,k:t,R:new Map};n.U=new Promise((e=>n.P=e)),e["s-p"]=[],e["s-rc"]=[];const o=n;e.__stencil__getHostRef=()=>o})(e=this,o),1&o.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.S}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),w&&(clearTimeout(w),w=null),b?y.push(this):u.jmp((()=>(e=>{if(!(1&u.o)){const n=t(e),o=n.k,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?me(n.t,e):(null==n?void 0:n.U)&&n.U.then((()=>me(n.t,e)));else{n.o|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){Z(n,n.O=t);break}}o.D&&Object.entries(o.D).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.N){const i=((e,t)=>{const n=e.S.replace(/-/g,"_"),o=e.N;if(!o)return;const i=s.get(o);return i?i[n]:import(`./${o}.entry.js`).then((e=>(s.set(o,e),e[n])),(e=>{l(e,t.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,t);if(i&&"then"in i){const e=()=>{};o=await i,e()}else o=i;if(!o)throw Error(`Constructor for "${n.S}#${t.L}" was not found`);o.isProxied||(pe(o,n,2),o.isProxied=!0);const r=()=>{};t.o|=8;try{new o(t)}catch(t){l(t,e)}t.o&=-9,r(),me(t.t,e)}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=L(n);if(!i.has(t)){const o=()=>{};((e,t,n)=>{let o=i.get(e);a&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,i.set(e,o)})(t,e,!!(1&n.o)),o()}}}const r=t.O,c=()=>ee(t,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(e,n,o)}r()}})(this)))}disconnectedCallback(){u.jmp((()=>(async e=>{if(!(1&u.o)){const n=t(e);(null==n?void 0:n.t)?ve(n.t,e):(null==n?void 0:n.U)&&n.U.then((()=>ve(n.t,e)))}N.has(e)&&N.delete(e),e.shadowRoot&&N.has(e.shadowRoot)&&N.delete(e.shadowRoot)})(this))),u.raf((()=>{var e;const n=t(this),o=y.findIndex((e=>e===this));o>-1&&y.splice(o,1),(null==(e=null==n?void 0:n.M)?void 0:e.v)instanceof Node&&!n.M.v.isConnected&&delete n.M.v}))}componentOnReady(){return t(this).U}};o.N=e[0],d.includes(r)||h.get(r)||(f.push(r),h.define(r,pe(c,o,1)))}))})),f.length>0&&($&&(v.textContent+=r),v.textContent+=f.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const e=null!=(o=u.C)?o:g(c.document);null!=e&&v.setAttribute("nonce",e),p.insertBefore(v,m?m.nextSibling:p.firstChild)}b=!1,y.length?y.map((e=>e.connectedCallback())):u.jmp((()=>w=setTimeout(fe,30)))},we=e=>u.C=e;export{ye as b,ue as f,re as g,C as h,f as p,n as r,we as s}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "funnel-gfx-wc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.28",
|
|
4
4
|
"description": "prototype -- a simple SVG demo built with Stencil and Tailwind",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"format": "prettier --write src"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@stencil/core": "4.29.
|
|
30
|
+
"@stencil/core": "4.29.3",
|
|
31
31
|
"@stencil/store": "2.1.2",
|
|
32
32
|
"between.js": "0.1.2-fix.2"
|
|
33
33
|
},
|
|
@@ -39,10 +39,11 @@
|
|
|
39
39
|
"postcss": "8.5.3",
|
|
40
40
|
"prettier": "3.5.3",
|
|
41
41
|
"prettier-plugin-tailwindcss": "0.6.11",
|
|
42
|
-
"proto-tailwindcss-clrs": "0.0.
|
|
42
|
+
"proto-tailwindcss-clrs": "0.0.416",
|
|
43
43
|
"tailwindcss": "4.1.3",
|
|
44
44
|
"typescript": "5.8.3",
|
|
45
45
|
"workbox-build": "7.3.0"
|
|
46
46
|
},
|
|
47
|
-
"license": "MIT"
|
|
47
|
+
"license": "MIT",
|
|
48
|
+
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
48
49
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e=Object.defineProperty,t=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},n=(e,t)=>{e.__stencil__getHostRef=()=>t,t.t=e},o=(e,t)=>t in e,l=(e,t)=>(0,console.error)(e,t),i=new Map,s=new Map,r="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="undefined"!=typeof window?window:{},u={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},f=e=>Promise.resolve(e),a=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),d=!1,h=[],p=[],m=(e,t)=>n=>{e.push(n),d||(d=!0,t&&4&u.o?w(y):u.raf(y))},v=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){l(e)}e.length=0},y=()=>{v(h),v(p),(d=h.length>0)&&u.raf(y)},w=e=>f().then(e),b=m(p,!0),$=e=>"object"==(e=typeof e)||"function"===e;function g(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>j,map:()=>O,ok:()=>S,unwrap:()=>E,unwrapErr:()=>C});var S=e=>({isOk:!0,isErr:!1,value:e}),j=e=>({isOk:!1,isErr:!0,value:e});function O(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>S(e))):S(n)}if(e.isErr)return j(e.value);throw"should never get here"}var k,E=e=>{if(e.isOk)return e.value;throw e.value},C=e=>{if(e.isErr)return e.value;throw e.value},M=(e,t,...n)=>{let o=null,l=null,i=!1,s=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof e&&!$(o))&&(o+=""),i&&s?r[r.length-1].i+=o:r.push(i?x(null,o):o),s=i)};if(c(n),t){t.key&&(l=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,D);const u=x(e,null);return u.u=t,r.length>0&&(u.h=r),u.p=l,u},x=(e,t)=>({o:0,m:e,i:t,v:null,h:null,u:null,p:null}),P={},D={forEach:(e,t)=>e.map(R).forEach(t),map:(e,t)=>e.map(R).map(t).map(U)},R=e=>({vattrs:e.u,vchildren:e.h,vkey:e.p,vname:e.$,vtag:e.m,vtext:e.i}),U=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),M(e.vtag,t,...e.vchildren||[])}const t=x(e.vtag,e.vtext);return t.u=e.vattrs,t.h=e.vchildren,t.p=e.vkey,t.$=e.vname,t},W=(e,t)=>null==e||$(e)?e:1&t?e+"":e,A=new WeakMap,N=e=>"sc-"+e.S,L=(e,t,n,l,i,s)=>{if(n===l)return;let r=o(e,t),f=t.toLowerCase();if("class"===t){const t=e.classList,o=H(n);let i=H(l);t.remove(...o.filter((e=>e&&!i.includes(e)))),t.add(...i.filter((e=>e&&!o.includes(e))))}else if("key"===t);else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const o=$(l);if((r||o&&null!==l)&&!i)try{if(e.tagName.includes("-"))e[t]!==l&&(e[t]=l);else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&s||i)&&!o&&1===e.nodeType&&e.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):o(c,f)?f.slice(2):f[2]+t.slice(3),n||l){const o=t.endsWith(z);t=t.replace(F,""),n&&u.rel(e,t,n,o),l&&u.ael(e,t,l,o)}},T=/\s/,H=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(T):[]),z="Capture",F=RegExp(z+"$"),V=(e,t,n)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,l=e&&e.u||{},i=t.u||{};for(const e of q(Object.keys(l)))e in i||L(o,e,l[e],void 0,n,t.o);for(const e of q(Object.keys(i)))L(o,e,l[e],i[e],n,t.o)};function q(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var G=!1,I=(e,t,n)=>{const o=t.h[n];let l,i,s=0;if(null!==o.i)l=o.v=c.document.createTextNode(o.i);else{if(G||(G="svg"===o.m),!c.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(l=o.v=c.document.createElementNS(G?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.m),G&&"foreignObject"===o.m&&(G=!1),V(null,o,G),o.h)for(s=0;s<o.h.length;++s)i=I(e,o,s),i&&l.appendChild(i);"svg"===o.m?G=!1:"foreignObject"===l.tagName&&(G=!0)}return l["s-hn"]=k,l},Y=(e,t,n,o,l,i)=>{let s,r=e;for(r.shadowRoot&&r.tagName===k&&(r=r.shadowRoot);l<=i;++l)o[l]&&(s=I(null,n,l),s&&(o[l].v=s,Q(r,s,t)))},_=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.v;K(t),e&&e.remove()}}},B=(e,t,n=!1)=>e.m===t.m&&(n?(n&&!e.p&&t.p&&(e.p=t.p),!0):e.p===t.p),J=(e,t,n=!1)=>{const o=t.v=e.v,l=e.h,i=t.h,s=t.m,r=t.i;null===r?(V(e,t,G="svg"===s||"foreignObject"!==s&&G),null!==l&&null!==i?((e,t,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,f=0,a=t.length-1,d=t[0],h=t[a],p=o.length-1,m=o[0],v=o[p];for(;r<=a&&c<=p;)if(null==d)d=t[++r];else if(null==h)h=t[--a];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(B(d,m,l))J(d,m,l),d=t[++r],m=o[++c];else if(B(h,v,l))J(h,v,l),h=t[--a],v=o[--p];else if(B(d,v,l))J(d,v,l),Q(e,d.v,h.v.nextSibling),d=t[++r],v=o[--p];else if(B(h,m,l))J(h,m,l),Q(e,h.v,d.v),h=t[--a],m=o[++c];else{for(u=-1,f=r;f<=a;++f)if(t[f]&&null!==t[f].p&&t[f].p===m.p){u=f;break}u>=0?(s=t[u],s.m!==m.m?i=I(t&&t[c],n,u):(J(s,m,l),t[u]=void 0,i=s.v),m=o[++c]):(i=I(t&&t[c],n,c),m=o[++c]),i&&Q(d.v.parentNode,i,d.v)}r>a?Y(e,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&_(t,r,a)})(o,l,t,i,n):null!==i?(null!==e.i&&(o.textContent=""),Y(o,null,t,i,0,i.length-1)):!n&&null!==l&&_(l,0,l.length-1),G&&"svg"===s&&(G=!1)):e.i!==r&&(o.data=r)},K=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(K)},Q=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),X=(e,t)=>{if(t&&!e.j&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.j=()=>{t["s-p"].splice(n-1,1),o()})))}},Z=(e,t)=>{if(e.o|=16,!(4&e.o))return X(e,e.O),b((()=>ee(e,t)));e.o|=512},ee=(e,t)=>{const n=e.$hostElement$,o=e.t;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return l=fe(o,t?"componentWillLoad":"componentWillUpdate",void 0,n),l=te(l,(()=>fe(o,"componentWillRender",void 0,n))),te(l,(()=>oe(e,o,t)))},te=(e,t)=>ne(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),ne=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,oe=async(e,t,n)=>{var o;const l=e.$hostElement$,i=l["s-rc"];n&&(e=>{const t=e.k,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=N(t),l=s.get(o);if(!c.document)return o;if(e=11===e.nodeType?e:c.document,l)if("string"==typeof l){let i,s=A.get(e=e.head||e);if(s||A.set(e,s=new Set),!s.has(o)){{i=document.querySelector(`[sty-id="${o}"]`)||c.document.createElement("style"),i.innerHTML=l;const s=null!=(n=u.C)?n:g(c.document);if(null!=s&&i.setAttribute("nonce",s),!(1&t.o))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(i,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(a){const t=new CSSStyleSheet;t.replaceSync(l),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(i)}else e.append(i);1&t.o&&e.insertBefore(i,null)}4&t.o&&(i.innerHTML+=r),s&&s.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);ie(e,t,l,n),i&&(i.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>re(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},le=null,ie=(e,t,n,o)=>{try{le=t,t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.M||x(null,null),i=(e=>e&&e.m===P)(t)?t:M(null,null,t);if(k=o.tagName,n&&i.u)for(const e of Object.keys(i.u))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(i.u[e]=o[e]);i.m=null,i.o|=4,e.M=i,i.v=l.v=o.shadowRoot||o,J(l,i,n)})(e,t,o)}catch(t){l(t,e.$hostElement$)}return le=null,null},se=()=>le,re=e=>{const t=e.$hostElement$,n=e.t,o=e.O;fe(n,"componentDidRender",void 0,t),64&e.o?fe(n,"componentDidUpdate",void 0,t):(e.o|=64,ae(t),fe(n,"componentDidLoad",void 0,t),e.P(t),o||ue()),e.j&&(e.j(),e.j=void 0),512&e.o&&w((()=>Z(e,!1))),e.o&=-517},ce=e=>{{const n=t(e),o=n.$hostElement$.isConnected;return o&&2==(18&n.o)&&Z(n,!1),o}},ue=()=>{w((()=>(e=>{const t=u.ce("appload",{detail:{namespace:"funnel-gfx-wc"}});return e.dispatchEvent(t),t})(c)))},fe=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){l(e,o)}},ae=e=>e.classList.add("hydrated"),de=(e,n,o,l)=>{const i=t(e);if(!i)throw Error(`Couldn't find host element for "${l.S}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const s=i.D.get(n),r=i.o,c=i.t;if(o=W(o,l.R[n][0]),(!(8&r)||void 0===s)&&o!==s&&(!Number.isNaN(s)||!Number.isNaN(o))&&(i.D.set(n,o),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,s,n))return;Z(i,!1)}},he=(e,n,o)=>{var l,i;const s=e.prototype;if(n.R){const r=Object.entries(null!=(l=n.R)?l:{});if(r.map((([e,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,e)||{};i&&(n.R[e][0]|=2048),r&&(n.R[e][0]|=4096),(1&o||!i)&&Object.defineProperty(s,e,{get(){{if(!(2048&n.R[e][0]))return((e,n)=>t(this).D.get(n))(0,e);const o=t(this),l=o?o.t:s;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,e,{set(i){const s=t(this);if(r){const t=32&l?this[e]:s.$hostElement$[e];return void 0===t&&s.D.get(e)?i=s.D.get(e):!s.D.get(e)&&t&&s.D.set(e,t),r.call(this,W(i,l)),void de(this,e,i=32&l?this[e]:s.$hostElement$[e],n)}{if(!(1&o&&4096&n.R[e][0]))return de(this,e,i,n),void(1&o&&!s.t&&s.U.then((()=>{4096&n.R[e][0]&&s.t[e]!==s.D.get(e)&&(s.t[e]=i)})));const t=()=>{const t=s.t[e];!s.D.get(e)&&t&&s.D.set(e,t),s.t[e]=W(i,l),de(this,e,s.t[e],n)};s.t?t():s.U.then((()=>t()))}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(e,l,i){u.jmp((()=>{var r;const c=o.get(e);if(this.hasOwnProperty(c))i=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==i)return;if(null==c){const o=t(this),s=null==o?void 0:o.o;if(s&&!(8&s)&&128&s&&i!==l){const t=o.t,s=null==(r=n.W)?void 0:r[e];null==s||s.forEach((n=>{null!=t[n]&&t[n].call(t,i,l,e)}))}return}}const u=Object.getOwnPropertyDescriptor(s,c);(i=(null!==i||"boolean"!=typeof this[c])&&i)===this[c]||u.get&&!u.set||(this[c]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.W)?i:{}),...r.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return o.set(n,e),n}))]))}}return e},pe=(e,t)=>{fe(e,"connectedCallback",void 0,t)},me=(e,t)=>{fe(e,"disconnectedCallback",void 0,t||e)},ve=(e,n={})=>{var o;if(!c.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const f=[],d=n.exclude||[],h=c.customElements,p=c.document.head,m=p.querySelector("meta[charset]"),v=c.document.createElement("style"),y=[];let w,b=!0;Object.assign(u,n),u.l=new URL(n.resourcesUrl||"./",c.document.baseURI).href;let $=!1;if(e.map((e=>{e[1].map((n=>{const o={o:n[0],S:n[1],R:n[2],A:n[3]};4&o.o&&($=!0),o.R=n[2];const r=o.S,c=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,t)=>{const n={o:0,$hostElement$:e,k:t,D:new Map};n.U=new Promise((e=>n.P=e)),e["s-p"]=[],e["s-rc"]=[];const o=n;e.__stencil__getHostRef=()=>o})(e=this,o),1&o.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.S}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),w&&(clearTimeout(w),w=null),b?y.push(this):u.jmp((()=>(e=>{if(!(1&u.o)){const n=t(e),o=n.k,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?pe(n.t,e):(null==n?void 0:n.U)&&n.U.then((()=>pe(n.t,e)));else{n.o|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){X(n,n.O=t);break}}o.R&&Object.entries(o.R).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.N){const s=((e,t)=>{const n=e.S.replace(/-/g,"_"),o=e.N;if(!o)return;const s=i.get(o);return s?s[n]:import(`./${o}.entry.js`).then((e=>(i.set(o,e),e[n])),(e=>{l(e,t.$hostElement$)}))
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,t);if(s&&"then"in s){const e=()=>{};o=await s,e()}else o=s;if(!o)throw Error(`Constructor for "${n.S}#${t.L}" was not found`);o.isProxied||(he(o,n,2),o.isProxied=!0);const r=()=>{};t.o|=8;try{new o(t)}catch(t){l(t,e)}t.o&=-9,r(),pe(t.t,e)}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=N(n);if(!s.has(t)){const o=()=>{};((e,t,n)=>{let o=s.get(e);a&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,s.set(e,o)})(t,e,!!(1&n.o)),o()}}}const r=t.O,c=()=>Z(t,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(e,n,o)}r()}})(this)))}disconnectedCallback(){u.jmp((()=>(async e=>{if(!(1&u.o)){const n=t(e);(null==n?void 0:n.t)?me(n.t,e):(null==n?void 0:n.U)&&n.U.then((()=>me(n.t,e)))}A.has(e)&&A.delete(e),e.shadowRoot&&A.has(e.shadowRoot)&&A.delete(e.shadowRoot)})(this))),u.raf((()=>{var e;const n=t(this),o=y.findIndex((e=>e===this));o>-1&&y.splice(o,1),(null==(e=null==n?void 0:n.M)?void 0:e.v)instanceof Node&&!n.M.v.isConnected&&delete n.M.v}))}componentOnReady(){return t(this).U}};o.N=e[0],d.includes(r)||h.get(r)||(f.push(r),h.define(r,he(c,o,1)))}))})),f.length>0&&($&&(v.textContent+=r),v.textContent+=f.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const e=null!=(o=u.C)?o:g(c.document);null!=e&&v.setAttribute("nonce",e),p.insertBefore(v,m?m.nextSibling:p.firstChild)}b=!1,y.length?y.map((e=>e.connectedCallback())):u.jmp((()=>w=setTimeout(ue,30)))},ye=e=>u.C=e;export{ve as b,ce as f,se as g,M as h,f as p,n as r,ye as s}
|