@manifoldco/ui
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -359,4 +359,3 @@ { | ||
"context-consumer", | ||
"manifold-service-grid", | ||
"manifold-services-tunnel" | ||
"manifold-marketplace-grid" | ||
], | ||
@@ -368,2 +367,7 @@ "componentClass": "ManifoldMarketplace", | ||
{ | ||
"name": "blacklist", | ||
"type": "String", | ||
"attr": "blacklist" | ||
}, | ||
{ | ||
"name": "connection", | ||
@@ -378,5 +382,20 @@ "attr": "connection" | ||
{ | ||
"name": "hideCategories", | ||
"type": "Boolean", | ||
"attr": "hide-categories" | ||
}, | ||
{ | ||
"name": "hideTemplates", | ||
"type": "Boolean", | ||
"attr": "hide-templates" | ||
}, | ||
{ | ||
"name": "linkFormat", | ||
"type": "String", | ||
"attr": "link-format" | ||
}, | ||
{ | ||
"name": "whitelist", | ||
"type": "String", | ||
"attr": "whitelist" | ||
} | ||
@@ -386,2 +405,11 @@ ], | ||
{ | ||
"name": "parsedBlacklist" | ||
}, | ||
{ | ||
"name": "parsedFeatured" | ||
}, | ||
{ | ||
"name": "parsedWhitelist" | ||
}, | ||
{ | ||
"name": "services" | ||
@@ -395,12 +423,15 @@ } | ||
{ | ||
"tag": "manifold-marketplace-results", | ||
"tag": "manifold-marketplace-grid", | ||
"dependencies": [ | ||
"manifold-service-card" | ||
"manifold-icon", | ||
"manifold-service-card", | ||
"manifold-template-card", | ||
"manifold-toast" | ||
], | ||
"componentClass": "ManifoldMarketplace", | ||
"componentPath": "components/manifold-marketplace-results/manifold-marketplace-results.js", | ||
"componentClass": "ManifoldMarketplaceGrid", | ||
"componentPath": "components/manifold-marketplace-grid/manifold-marketplace-grid.js", | ||
"styles": { | ||
"$": { | ||
"stylePaths": [ | ||
"components/manifold-marketplace-results/marketplace-results.css" | ||
"components/manifold-marketplace-grid/manifold-marketplace-grid.css" | ||
] | ||
@@ -411,7 +442,20 @@ } | ||
{ | ||
"name": "blacklist", | ||
"attr": "blacklist" | ||
}, | ||
{ | ||
"name": "featured", | ||
"type": "String", | ||
"attr": "featured" | ||
}, | ||
{ | ||
"name": "hideCategories", | ||
"type": "Boolean", | ||
"attr": "hide-categories" | ||
}, | ||
{ | ||
"name": "hideTemplates", | ||
"type": "Boolean", | ||
"attr": "hide-templates" | ||
}, | ||
{ | ||
"name": "linkFormat", | ||
@@ -424,4 +468,29 @@ "type": "String", | ||
"attr": "services" | ||
}, | ||
{ | ||
"name": "whitelist", | ||
"attr": "whitelist" | ||
} | ||
] | ||
], | ||
"states": [ | ||
{ | ||
"name": "activeCategory" | ||
}, | ||
{ | ||
"name": "filter" | ||
}, | ||
{ | ||
"name": "observer" | ||
}, | ||
{ | ||
"name": "scrollToCategory" | ||
}, | ||
{ | ||
"name": "search" | ||
} | ||
], | ||
"hostElement": { | ||
"name": "el" | ||
}, | ||
"shadow": true | ||
}, | ||
@@ -618,8 +687,12 @@ { | ||
{ | ||
"event": "manifold-planCTA-click", | ||
"method": "ctaClicked" | ||
"event": "manifold-planSelector-change", | ||
"method": "planUpdate" | ||
}, | ||
{ | ||
"event": "manifold-planUpdated", | ||
"method": "planUpdated" | ||
"event": "manifold-planSelector-click", | ||
"method": "planClick" | ||
}, | ||
{ | ||
"event": "manifold-planSelector-load", | ||
"method": "planLoad" | ||
} | ||
@@ -865,3 +938,2 @@ ], | ||
"context-consumer", | ||
"manifold-icon", | ||
"manifold-lazy-image" | ||
@@ -889,7 +961,2 @@ ], | ||
{ | ||
"name": "isCustom", | ||
"type": "Boolean", | ||
"attr": "is-custom" | ||
}, | ||
{ | ||
"name": "isFeatured", | ||
@@ -938,4 +1005,4 @@ "type": "Boolean", | ||
{ | ||
"event": "manifold-serviceCard-click", | ||
"method": "cardClicked" | ||
"event": "manifold-marketplace-click", | ||
"method": "marketplaceClick" | ||
} | ||
@@ -946,12 +1013,12 @@ ], | ||
{ | ||
"tag": "manifold-service-category", | ||
"tag": "manifold-template-card", | ||
"dependencies": [ | ||
"manifold-icon" | ||
], | ||
"componentClass": "ManifoldServiceCategory", | ||
"componentPath": "components/manifold-service-category/manifold-service-category.js", | ||
"componentClass": "ManifoldTemplateCard", | ||
"componentPath": "components/manifold-template-card.tsx/manifold-template-card.js", | ||
"styles": { | ||
"$": { | ||
"stylePaths": [ | ||
"components/manifold-service-category/service-category.css" | ||
"components/manifold-template-card.tsx/manifold-template-card.css" | ||
] | ||
@@ -962,104 +1029,66 @@ } | ||
{ | ||
"name": "categoryLoaded", | ||
"attr": "category-loaded" | ||
}, | ||
{ | ||
"name": "icon", | ||
"name": "category", | ||
"type": "String", | ||
"attr": "icon" | ||
"attr": "category" | ||
}, | ||
{ | ||
"name": "label", | ||
"name": "linkFormat", | ||
"type": "String", | ||
"attr": "label" | ||
}, | ||
"attr": "link-format" | ||
} | ||
], | ||
"events": [ | ||
{ | ||
"name": "name", | ||
"type": "String", | ||
"attr": "name" | ||
}, | ||
{ | ||
"name": "tagline", | ||
"type": "String", | ||
"attr": "tagline" | ||
"event": "manifold-template-click", | ||
"method": "templateClick" | ||
} | ||
] | ||
], | ||
"shadow": true | ||
}, | ||
{ | ||
"tag": "manifold-service-grid", | ||
"tag": "manifold-toast", | ||
"dependencies": [ | ||
"context-consumer", | ||
"manifold-marketplace-results", | ||
"manifold-sorted-categories" | ||
"manifold-icon" | ||
], | ||
"componentClass": "ManifoldServiceGrid", | ||
"componentPath": "components/manifold-service-grid/manifold-service-grid.js", | ||
"componentClass": "ManifoldToast", | ||
"componentPath": "components/manifold-toast/manifold-toast.js", | ||
"styles": { | ||
"$": { | ||
"stylePaths": [ | ||
"components/manifold-service-grid/service-grid.css" | ||
"components/manifold-toast/manifold-toast.css" | ||
] | ||
} | ||
}, | ||
"states": [ | ||
"props": [ | ||
{ | ||
"name": "activeCategory" | ||
"name": "alertType", | ||
"type": "String", | ||
"attr": "alert-type" | ||
}, | ||
{ | ||
"name": "filter" | ||
"name": "dismissable", | ||
"type": "Boolean", | ||
"attr": "dismissable" | ||
}, | ||
{ | ||
"name": "observer" | ||
}, | ||
{ | ||
"name": "scrollToCategory" | ||
"name": "icon", | ||
"type": "String", | ||
"attr": "icon" | ||
} | ||
], | ||
"hostElement": { | ||
"name": "root" | ||
}, | ||
"shadow": true | ||
}, | ||
{ | ||
"tag": "manifold-services-tunnel", | ||
"dependencies": [ | ||
"context-consumer" | ||
], | ||
"componentClass": "ManiTunnel", | ||
"componentPath": "components/manifold-services-tunnel/manifold-services-tunnel.js", | ||
"styles": {}, | ||
"props": [ | ||
"states": [ | ||
{ | ||
"name": "featured", | ||
"type": "String", | ||
"attr": "featured" | ||
"name": "lastHeight" | ||
}, | ||
{ | ||
"name": "linkFormat", | ||
"type": "String", | ||
"attr": "link-format" | ||
"name": "observer" | ||
}, | ||
{ | ||
"name": "services", | ||
"attr": "services" | ||
"name": "status" | ||
} | ||
] | ||
}, | ||
{ | ||
"tag": "manifold-sorted-categories", | ||
"dependencies": [ | ||
"context-consumer", | ||
"manifold-marketplace-results", | ||
"manifold-service-card", | ||
"manifold-service-category" | ||
], | ||
"componentClass": "ManifoldSortedCategories", | ||
"componentPath": "components/manifold-sorted-categories/manifold-sorted-categories.js", | ||
"styles": {}, | ||
"props": [ | ||
{ | ||
"name": "observeCategory", | ||
"attr": "observe-category" | ||
} | ||
] | ||
"hostElement": { | ||
"name": "el" | ||
}, | ||
"shadow": true | ||
}, | ||
@@ -1066,0 +1095,0 @@ { |
@@ -29,3 +29,3 @@ export class ManifoldIcon { | ||
return (h("svg", { "margin-right": this.marginRight, "margin-left": this.marginLeft, viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", xmlnsX: "http://www.w3.org/1999/xlink" }, | ||
h("title", null, this.title || this.icon), | ||
this.title && h("title", null, this.title), | ||
this.gradient ? ([ | ||
@@ -32,0 +32,0 @@ h("defs", null, |
@@ -7,17 +7,37 @@ import Tunnel from '../../data/connection'; | ||
this.connection = connections.prod; | ||
this.hideTemplates = false; | ||
this.hideCategories = false; | ||
this.parsedBlacklist = []; | ||
this.parsedFeatured = []; | ||
this.parsedWhitelist = []; | ||
this.services = []; | ||
} | ||
componentWillLoad() { | ||
this.parseProps(); | ||
return fetch(`${this.connection.catalog}/products`, withAuth()) | ||
.then(response => response.json()) | ||
.then(data => { | ||
this.services = data; | ||
this.services = [...data].sort((a, b) => a.body.name.localeCompare(b.body.name)); | ||
}); | ||
} | ||
parse(list) { | ||
return list.split(',').map(item => item.trim()); | ||
} | ||
parseProps() { | ||
if (typeof this.featured === 'string') | ||
this.parsedFeatured = this.parse(this.featured); | ||
if (typeof this.blacklist === 'string') | ||
this.parsedBlacklist = this.parse(this.blacklist); | ||
if (typeof this.whitelist === 'string') | ||
this.parsedWhitelist = this.parse(this.whitelist); | ||
} | ||
render() { | ||
return (h("manifold-services-tunnel", { services: this.services, linkFormat: this.linkFormat, featured: this.featured }, | ||
h("manifold-service-grid", { slot: "marketplace-content" }))); | ||
return (h("manifold-marketplace-grid", { blacklist: this.parsedBlacklist, featured: this.parsedFeatured, hideCategories: this.hideCategories, hideTemplates: this.hideTemplates, linkFormat: this.linkFormat, services: this.services, whitelist: this.parsedWhitelist })); | ||
} | ||
static get is() { return "manifold-marketplace"; } | ||
static get properties() { return { | ||
"blacklist": { | ||
"type": String, | ||
"attr": "blacklist" | ||
}, | ||
"connection": { | ||
@@ -34,2 +54,10 @@ "type": "Any", | ||
}, | ||
"hideCategories": { | ||
"type": Boolean, | ||
"attr": "hide-categories" | ||
}, | ||
"hideTemplates": { | ||
"type": Boolean, | ||
"attr": "hide-templates" | ||
}, | ||
"linkFormat": { | ||
@@ -39,4 +67,17 @@ "type": String, | ||
}, | ||
"parsedBlacklist": { | ||
"state": true | ||
}, | ||
"parsedFeatured": { | ||
"state": true | ||
}, | ||
"parsedWhitelist": { | ||
"state": true | ||
}, | ||
"services": { | ||
"state": true | ||
}, | ||
"whitelist": { | ||
"type": String, | ||
"attr": "whitelist" | ||
} | ||
@@ -43,0 +84,0 @@ }; } |
@@ -10,7 +10,11 @@ import { arrow_right } from '@manifoldco/icons'; | ||
this.onClick = (e) => { | ||
if (!this.linkFormat) { | ||
if (!this.linkFormat && this.plan && this.product) { | ||
e.preventDefault(); | ||
const product = this.product && this.product.body.label; | ||
const plan = this.plan && this.plan.body.label; | ||
this.ctaClicked.emit({ product, plan, features: this.features }); | ||
const detail = { | ||
productLabel: this.product.body.label, | ||
planId: this.plan.id, | ||
planLabel: this.plan.body.label, | ||
features: this.features, | ||
}; | ||
this.planClick.emit(detail); | ||
} | ||
@@ -22,3 +26,9 @@ }; | ||
this.features = features; | ||
this.updatedPlanHandler({ features }); | ||
const detail = { | ||
planId: newPlan.id, | ||
planLabel: newPlan.body.label, | ||
productLabel: this.product && this.product.body.label, | ||
features, | ||
}; | ||
this.planUpdate.emit(detail); | ||
} | ||
@@ -28,3 +38,11 @@ componentWillLoad() { | ||
this.features = features; | ||
this.updatedPlanHandler({ features }); | ||
if (this.plan && this.product) { | ||
const detail = { | ||
planId: this.plan.id, | ||
planLabel: this.plan.body.label, | ||
productLabel: this.product.body.label, | ||
features, | ||
}; | ||
this.planLoad.emit(detail); | ||
} | ||
} | ||
@@ -34,3 +52,11 @@ handleChangeValue({ detail: { name, value } }) { | ||
this.features = features; | ||
this.updatedPlanHandler({ features }); | ||
if (this.plan && this.product) { | ||
const detail = { | ||
planId: this.plan.id, | ||
planLabel: this.plan.body.label, | ||
productLabel: this.product.body.label, | ||
features, | ||
}; | ||
this.planUpdate.emit(detail); | ||
} | ||
} | ||
@@ -42,10 +68,2 @@ initialFeatures(plan = this.plan) { | ||
} | ||
updatedPlanHandler({ id = this.plan && this.plan.id, label = this.plan && this.plan.body.label, product = this.product && this.product.body.label, features = this.features, }) { | ||
this.planUpdated.emit({ | ||
id, | ||
label, | ||
product, | ||
features, | ||
}); | ||
} | ||
get ctaLink() { | ||
@@ -136,4 +154,4 @@ if (!this.product || !this.plan) | ||
static get events() { return [{ | ||
"name": "manifold-planUpdated", | ||
"method": "planUpdated", | ||
"name": "manifold-planSelector-change", | ||
"method": "planUpdate", | ||
"bubbles": true, | ||
@@ -143,9 +161,15 @@ "cancelable": true, | ||
}, { | ||
"name": "manifold-planCTA-click", | ||
"method": "ctaClicked", | ||
"name": "manifold-planSelector-click", | ||
"method": "planClick", | ||
"bubbles": true, | ||
"cancelable": true, | ||
"composed": true | ||
}, { | ||
"name": "manifold-planSelector-load", | ||
"method": "planLoad", | ||
"bubbles": true, | ||
"cancelable": true, | ||
"composed": true | ||
}]; } | ||
static get style() { return "/**style-placeholder:manifold-plan-details:**/"; } | ||
} |
import { arrow_right, arrow_up_right, book, life_buoy } from '@manifoldco/icons'; | ||
import { themeIcons } from '../../assets/icons'; | ||
import { categoryIcon } from '../../utils/marketplace'; | ||
export class ManifoldProductPage { | ||
@@ -29,3 +29,3 @@ constructor() { | ||
tags.map(tag => (h("div", { class: "category", style: { '--categoryColor': `var(--mf-c-${tag})` } }, | ||
h("manifold-icon", { icon: themeIcons[tag] || themeIcons.uncategorized, "margin-right": true }), | ||
h("manifold-icon", { icon: categoryIcon[tag] || categoryIcon.uncategorized, "margin-right": true }), | ||
tag))))), | ||
@@ -38,3 +38,3 @@ h("div", { class: "sidebar-section" }, | ||
"Docs", | ||
h("manifold-icon", { class: "external-link-icon", icon: arrow_up_right, color: "--mf-c-grayLight", "margin-left": true }))), | ||
h("manifold-icon", { class: "external-link-icon", icon: arrow_up_right, color: "--mf-c-gray-t3", "margin-left": true }))), | ||
h("div", { class: "provider-link" }, | ||
@@ -44,3 +44,3 @@ h("a", { href: `mailto:${support_email}`, target: "_blank", rel: "noopener noreferrer" }, | ||
"Support", | ||
h("manifold-icon", { class: "external-link-icon", icon: arrow_up_right, color: "--mf-c-grayLight", "margin-left": true }))))))); | ||
h("manifold-icon", { class: "external-link-icon", icon: arrow_up_right, color: "--mf-c-gray-t3", "margin-left": true }))))))); | ||
}; | ||
@@ -47,0 +47,0 @@ } |
@@ -1,2 +0,1 @@ | ||
import { settings } from '@manifoldco/icons'; | ||
import Tunnel from '../../data/connection'; | ||
@@ -12,3 +11,7 @@ import { withAuth } from '../../utils/auth'; | ||
e.preventDefault(); | ||
this.cardClicked.emit({ label: this.label }); | ||
const detail = { | ||
productId: this.productId, | ||
productLabel: this.label, | ||
}; | ||
this.marketplaceClick.emit(detail); | ||
} | ||
@@ -23,2 +26,7 @@ }; | ||
} | ||
get href() { | ||
if (!this.linkFormat || !this.label) | ||
return ''; | ||
return this.linkFormat.replace(/:product/gi, this.label); | ||
} | ||
fetchIsFree(productId = this.productId) { | ||
@@ -36,6 +44,5 @@ if (typeof productId !== 'string') | ||
render() { | ||
return (h("a", { class: `wrapper ${this.isCustom ? 'is-custom' : ''}`, role: "button", itemscope: true, itemtype: "https://schema.org/Product", itemprop: "url", href: this.linkFormat, onClick: this.onClick }, | ||
this.isCustom && h("manifold-icon", { class: "gear", icon: settings }), | ||
h("div", { class: "logo" }, this.isCustom ? (h("div", { class: "icon-border" }, | ||
h("manifold-icon", { class: "icon", icon: this.logo }))) : (h("manifold-lazy-image", { src: this.logo, alt: this.name, itemprop: "image" }))), | ||
return (h("a", { class: "wrapper", role: "button", itemscope: true, itemtype: "https://schema.org/Product", itemprop: "url", href: this.href, onClick: this.onClick }, | ||
h("div", { class: "logo" }, | ||
h("manifold-lazy-image", { src: this.logo, alt: this.name, itemprop: "image" })), | ||
h("h3", { class: "name", itemprop: "name" }, this.name), | ||
@@ -62,6 +69,2 @@ h("div", { class: "info" }, | ||
}, | ||
"isCustom": { | ||
"type": Boolean, | ||
"attr": "is-custom" | ||
}, | ||
"isFeatured": { | ||
@@ -97,4 +100,4 @@ "type": Boolean, | ||
static get events() { return [{ | ||
"name": "manifold-serviceCard-click", | ||
"method": "cardClicked", | ||
"name": "manifold-marketplace-click", | ||
"method": "marketplaceClick", | ||
"bubbles": true, | ||
@@ -101,0 +104,0 @@ "cancelable": true, |
@@ -0,1 +1,2 @@ | ||
import { activity, ai, cpu, credit_card, database, dollar_sign, file, image, infrastructure, logging, message_circle, play_circle, plug, search, shield, shopping_cart, square, tool, worker, } from '@manifoldco/icons'; | ||
export function formatCategoryLabel(tag) { | ||
@@ -11,3 +12,2 @@ switch (tag) { | ||
} | ||
export const customCardExcludeList = ['sell-your-service']; | ||
export function categories(services) { | ||
@@ -37,1 +37,22 @@ const categoryMap = {}; | ||
} | ||
export const categoryIcon = { | ||
'ai-ml': ai, | ||
api: plug, | ||
authentication: shield, | ||
cms: file, | ||
database, | ||
infrastructure, | ||
logging, | ||
'memory-store': cpu, | ||
monitoring: activity, | ||
messaging: message_circle, | ||
optimization: image, | ||
payment: credit_card, | ||
runtime: play_circle, | ||
search, | ||
'sell-your-service': dollar_sign, | ||
worker, | ||
uncategorized: square, | ||
utility: tool, | ||
ecommerce: shopping_cart, | ||
}; |
// manifold: Host Data, ES Module/es2017 Target | ||
export const COMPONENTS = [["context-consumer","wmw4y2la",0,[["context",1],["el",64],["renderer",1,0,1,1],["subscribe",1],["unsubscribe",16]]],["manifold-active-plan","hcvlp3sz",1,[["hideCta",1,0,"hide-cta",4],["isExistingResource",1,0,"is-existing-resource",4],["linkFormat",1,0,"link-format",2],["plans",1],["product",1],["selectedPlanId",16]],1],["manifold-badge","05fqozv6",1,0,1],["manifold-connection","jnpya3ge",0,[["env",1,0,1,2]]],["manifold-cost-display","05fqozv6",1,[["baseCost",1,0,"base-cost",8],["compact",1,0,1,4],["el",64],["isCustomizable",1,0,"is-customizable",4],["measuredCosts",1]],1],["manifold-data-product-logo","gvioscot",0,[["alt",1,0,1,2],["connection",1],["el",64],["product",16],["productLabel",1,0,"product-label",2]]],["manifold-data-product-name","qx6eclsy",0,[["connection",1],["el",64],["product",16],["productLabel",1,0,"product-label",2]]],["manifold-featured-service","avz9xgr1",1,[["logo",1,0,1,2],["name",1,0,1,2],["productGradient",1,0,"product-gradient",2]],1],["manifold-icon","05fqozv6",1,[["color",1,0,1,2],["element",64],["gradient",1,0,1,2],["icon",1,0,1,2],["marginLeft",1,0,"margin-left",4],["marginRight",1,0,"margin-right",4],["title",1,0,1,2]],1],["manifold-image-gallery","avz9xgr1",1,[["images",1],["selectedImage",16],["title",1,0,1,2]],1],["manifold-lazy-image","kjg2qzdb",0,[["alt",1,0,1,2],["itemprop",1,0,1,2],["observer",16],["src",1,0,1,2]]],["manifold-link-button","05fqozv6",1,[["href",1,0,1,2],["onClick",1],["rel",1,0,1,2],["target",1,0,1,2]],1],["manifold-marketplace","oimuftac",0,[["connection",1],["el",64],["featured",1,0,1,2],["linkFormat",1,0,"link-format",2],["services",16]]],["manifold-marketplace-results","wmw4y2la",1,[["featured",1,0,1,2],["linkFormat",1,0,"link-format",2],["services",1]]],["manifold-number-input","hcvlp3sz",1,[["decrementDisabledLabel",1,0,"decrement-disabled-label",2],["error",1,0,1,2],["increment",1,0,1,8],["incrementDisabledLabel",1,0,"increment-disabled-label",2],["max",1,0,1,8],["min",1,0,1,8],["name",1,0,1,2],["suffix",1,0,1,2],["value",2,0,1,8]],1],["manifold-plan-cost","05fqozv6",0,[["allFeatures",1],["baseCost",16],["compact",1,0,1,4],["connection",1],["controller",16],["customizable",1,0,1,4],["el",64],["measuredCosts",16],["planId",1,0,"plan-id",2],["selectedFeatures",1]]],["manifold-plan-details","hcvlp3sz",1,[["features",16],["hideCta",1,0,"hide-cta",4],["isExistingResource",1,0,"is-existing-resource",4],["linkFormat",1,0,"link-format",2],["plan",1],["product",1]],1],["manifold-plan-menu","hcvlp3sz",1,[["plans",1],["selectPlan",1],["selectedPlanId",1,0,"selected-plan-id",2]],1],["manifold-plan-selector","hcvlp3sz",0,[["connection",1],["el",64],["hideCta",1,0,"hide-cta",4],["linkFormat",1,0,"link-format",2],["plans",16],["product",16],["productLabel",1,0,"product-label",2],["resourceId",1,0,"resource-id",2]],1],["manifold-product","uuckad8k",0,[["connection",1],["el",64],["hideCta",1,0,"hide-cta",4],["linkFormat",1,0,"link-format",2],["product",16],["productLabel",1,0,"product-label",2],["provider",16]]],["manifold-product-details","avz9xgr1",1,[["product",1]],1],["manifold-product-page","avz9xgr1",1,[["hideCta",1,0,"hide-cta",4],["linkFormat",1,0,"link-format",2],["product",1],["provider",1]],1],["manifold-select","hcvlp3sz",1,[["defaultValue",1,0,"default-value",2],["name",1,0,1,2],["options",1],["required",1,0,1,4]],2],["manifold-service-card","kjg2qzdb",1,[["connection",1],["description",1,0,1,2],["el",64],["isCustom",1,0,"is-custom",4],["isFeatured",1,0,"is-featured",4],["isFree",16],["label",1,0,1,2],["linkFormat",1,0,"link-format",2],["logo",1,0,1,2],["name",1,0,1,2],["productId",1,0,"product-id",2]],1],["manifold-service-category","dgkh1gcf",1,[["categoryLoaded",1],["icon",1,0,1,2],["label",1,0,1,2],["name",1,0,1,2],["tagline",1,0,1,2]]],["manifold-service-grid","dgkh1gcf",1,[["activeCategory",16],["filter",16],["observer",16],["root",64],["scrollToCategory",16]],1],["manifold-services-tunnel","oimuftac",0,[["featured",1,0,1,2],["linkFormat",1,0,"link-format",2],["services",1]]],["manifold-sorted-categories","dgkh1gcf",0,[["observeCategory",1]]],["manifold-toggle","hcvlp3sz",1,[["ariaLabelledby",1,0,"aria-labelledby",2],["defaultValue",1,0,"default-value",4],["disabled",1,0,1,4],["label",1,0,1,2],["name",1,0,1,2]],2],["manifold-tooltip","05fqozv6",1,[["labelText",1,0,"label-text",2]],1]] | ||
export const COMPONENTS = [["context-consumer","ye0ydyx1",0,[["context",1],["el",64],["renderer",1,0,1,1],["subscribe",1],["unsubscribe",16]]],["manifold-active-plan","wbiybzfd",1,[["hideCta",1,0,"hide-cta",4],["isExistingResource",1,0,"is-existing-resource",4],["linkFormat",1,0,"link-format",2],["plans",1],["product",1],["selectedPlanId",16]],1],["manifold-badge","g2g50qwz",1,0,1],["manifold-connection","zqc0cerq",0,[["env",1,0,1,2]]],["manifold-cost-display","g2g50qwz",1,[["baseCost",1,0,"base-cost",8],["compact",1,0,1,4],["el",64],["isCustomizable",1,0,"is-customizable",4],["measuredCosts",1]],1],["manifold-data-product-logo","brfh5byq",0,[["alt",1,0,1,2],["connection",1],["el",64],["product",16],["productLabel",1,0,"product-label",2]]],["manifold-data-product-name","v68wnawd",0,[["connection",1],["el",64],["product",16],["productLabel",1,0,"product-label",2]]],["manifold-featured-service","g2g50qwz",1,[["logo",1,0,1,2],["name",1,0,1,2],["productGradient",1,0,"product-gradient",2]],1],["manifold-icon","llrkhz7d",1,[["color",1,0,1,2],["element",64],["gradient",1,0,1,2],["icon",1,0,1,2],["marginLeft",1,0,"margin-left",4],["marginRight",1,0,"margin-right",4],["title",1,0,1,2]],1],["manifold-image-gallery","g2g50qwz",1,[["images",1],["selectedImage",16],["title",1,0,1,2]],1],["manifold-lazy-image","7whbkpdz",0,[["alt",1,0,1,2],["itemprop",1,0,1,2],["observer",16],["src",1,0,1,2]]],["manifold-link-button","g2g50qwz",1,[["href",1,0,1,2],["onClick",1],["rel",1,0,1,2],["target",1,0,1,2]],1],["manifold-marketplace","7whbkpdz",0,[["blacklist",1,0,1,2],["connection",1],["el",64],["featured",1,0,1,2],["hideCategories",1,0,"hide-categories",4],["hideTemplates",1,0,"hide-templates",4],["linkFormat",1,0,"link-format",2],["parsedBlacklist",16],["parsedFeatured",16],["parsedWhitelist",16],["services",16],["whitelist",1,0,1,2]]],["manifold-marketplace-grid","7whbkpdz",1,[["activeCategory",16],["blacklist",1],["el",64],["featured",1],["filter",16],["hideCategories",1,0,"hide-categories",4],["hideTemplates",1,0,"hide-templates",4],["linkFormat",1,0,"link-format",2],["observer",16],["scrollToCategory",16],["search",16],["services",1],["whitelist",1]],1],["manifold-number-input","wbiybzfd",1,[["decrementDisabledLabel",1,0,"decrement-disabled-label",2],["error",1,0,1,2],["increment",1,0,1,8],["incrementDisabledLabel",1,0,"increment-disabled-label",2],["max",1,0,1,8],["min",1,0,1,8],["name",1,0,1,2],["suffix",1,0,1,2],["value",2,0,1,8]],1],["manifold-plan-cost","g2g50qwz",0,[["allFeatures",1],["baseCost",16],["compact",1,0,1,4],["connection",1],["controller",16],["customizable",1,0,1,4],["el",64],["measuredCosts",16],["planId",1,0,"plan-id",2],["selectedFeatures",1]]],["manifold-plan-details","wbiybzfd",1,[["features",16],["hideCta",1,0,"hide-cta",4],["isExistingResource",1,0,"is-existing-resource",4],["linkFormat",1,0,"link-format",2],["plan",1],["product",1]],1],["manifold-plan-menu","wbiybzfd",1,[["plans",1],["selectPlan",1],["selectedPlanId",1,0,"selected-plan-id",2]],1],["manifold-plan-selector","wbiybzfd",0,[["connection",1],["el",64],["hideCta",1,0,"hide-cta",4],["linkFormat",1,0,"link-format",2],["plans",16],["product",16],["productLabel",1,0,"product-label",2],["resourceId",1,0,"resource-id",2]],1],["manifold-product","7kelc9vg",0,[["connection",1],["el",64],["hideCta",1,0,"hide-cta",4],["linkFormat",1,0,"link-format",2],["product",16],["productLabel",1,0,"product-label",2],["provider",16]]],["manifold-product-details","g2g50qwz",1,[["product",1]],1],["manifold-product-page","g2g50qwz",1,[["hideCta",1,0,"hide-cta",4],["linkFormat",1,0,"link-format",2],["product",1],["provider",1]],1],["manifold-select","wbiybzfd",1,[["defaultValue",1,0,"default-value",2],["name",1,0,1,2],["options",1],["required",1,0,1,4]],2],["manifold-service-card","7whbkpdz",1,[["connection",1],["description",1,0,1,2],["el",64],["isFeatured",1,0,"is-featured",4],["isFree",16],["label",1,0,1,2],["linkFormat",1,0,"link-format",2],["logo",1,0,1,2],["name",1,0,1,2],["productId",1,0,"product-id",2]],1],["manifold-template-card","7whbkpdz",1,[["category",1,0,1,2],["linkFormat",1,0,"link-format",2]],1],["manifold-toast","7whbkpdz",1,[["alertType",1,0,"alert-type",2],["dismissable",1,0,1,4],["el",64],["icon",1,0,1,2],["lastHeight",16],["observer",16],["status",16]],1],["manifold-toggle","wbiybzfd",1,[["ariaLabelledby",1,0,"aria-labelledby",2],["defaultValue",1,0,"default-value",4],["disabled",1,0,1,4],["label",1,0,1,2],["name",1,0,1,2]],2],["manifold-tooltip","g2g50qwz",1,[["labelText",1,0,"label-text",2]],1]] |
@@ -8,2 +8,2 @@ /*! | ||
/* webpackMode: "lazy" */ | ||
`./build/${e}${t?".sc":""}.entry.js`).then(e=>e[n])})("string"==typeof n?n:n[e],t,o)),t}(t),n)})})()})}import i from"./manifold.global.js";function applyPolyfills(){return Promise.resolve()}const l="$",s={},r={enter:13,escape:27,space:32,tab:9,left:37,up:38,right:39,down:40},a=(t,n,o,i)=>{let s=o.t+l,r=o[s];if((2===o.u||1===o.u&&!t.m.p)&&(i["s-sc"]=r?e(o,i.mode):e(o)),r){let e=n.v.head;if(n.p)if(1===o.u)e=i.shadowRoot;else{const t=i.getRootNode();t.host&&(e=t)}let l=t.g.get(e);if(l||t.g.set(e,l={}),!l[s]){let t;{t=r.content.cloneNode(!0),l[s]=!0;const o=e.querySelectorAll("[data-styles]");n.M(e,t,o.length&&o[o.length-1].nextSibling||e.firstChild)}}}},c=e=>null!=e,f=e=>e.toLowerCase(),u=e=>f(e).split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(""),p=(e,t,n,o,i,l)=>{if("class"!==n||l)if("style"===n){for(const e in o)i&&null!=i[e]||(/-/.test(e)?t.style.removeProperty(e):t.style[e]="");for(const e in i)o&&i[e]===o[e]||(/-/.test(e)?t.style.setProperty(e,i[e]):t.style[e]=i[e])}else if("o"!==n[0]||"n"!==n[1]||!/[A-Z]/.test(n[2])||n in t)if("list"!==n&&"type"!==n&&!l&&(n in t||-1!==["object","function"].indexOf(typeof i)&&null!==i)){const o=e.k(t);o&&o.C&&o.C[n]?b(t,n,i):"ref"!==n&&(b(t,n,null==i?"":i),null!=i&&!1!==i||e.m.j(t,n))}else null!=i&&"key"!==n?((e,t,n,o="boolean"==typeof n,i)=>{i=t!==(t=t.replace(/^xlink\:?/,"")),null==n||o&&(!n||"false"===n)?i?e.removeAttributeNS("http://www.w3.org/1999/xlink",f(t)):e.removeAttribute(t):"function"!=typeof n&&(n=o?"":n.toString(),i?e.setAttributeNS("http://www.w3.org/1999/xlink",f(t),n):e.setAttribute(t,n))})(t,n,i):(l||e.m.A(t,n)&&(null==i||!1===i))&&e.m.j(t,n);else n=f(n)in t?f(n.substring(2)):f(n[2])+n.substring(3),i?i!==o&&e.m._(t,n,i,0):e.m.O(t,n,0);else if(o!==i){const e=d(o),n=d(i),l=e.filter(e=>!n.includes(e)),s=d(t.className).filter(e=>!l.includes(e)),r=n.filter(t=>!e.includes(t)&&!s.includes(t));s.push(...r),t.className=s.join(" ")}},d=e=>null==e||""===e?[]:e.trim().split(/\s+/),b=(e,t,n)=>{try{e[t]=n}catch(e){}},m=(e,t,n,o,i)=>{const l=11===n.o.nodeType&&n.o.host?n.o.host:n.o,r=t&&t.vattrs||s,a=n.vattrs||s;for(i in r)a&&null!=a[i]||null==r[i]||p(e,l,i,r[i],void 0,o,n.i);for(i in a)i in r&&a[i]===("value"===i||"checked"===i?l[i]:r[i])||p(e,l,i,r[i],a[i],o,n.i)};let y=!1;const v=(e,t)=>{e&&(e.vattrs&&e.vattrs.ref&&e.vattrs.ref(t?null:e.o),e.vchildren&&e.vchildren.forEach(e=>{v(e,t)}))},h=(e,t)=>{{let n=0,o=!1;const i=()=>t.performance.now(),l=!1!==e.asyncQueue,s=Promise.resolve(),r=[],a=[],c=[],f=[],u=t=>n=>{t.push(n),o||(o=!0,e.raf(b))},p=e=>{for(let t=0;t<e.length;t++)try{e[t](i())}catch(e){console.error(e)}e.length=0},d=(e,t)=>{let n,o=0;for(;o<e.length&&(n=i())<t;)try{e[o++](n)}catch(e){console.error(e)}o===e.length?e.length=0:0!==o&&e.splice(0,o)},b=()=>{n++,p(a);const t=l?i()+7*Math.ceil(n*(1/22)):Infinity;d(c,t),d(f,t),c.length>0&&(f.push(...c),c.length=0),(o=a.length+c.length+f.length>0)?e.raf(b):n=0};return e.raf||(e.raf=t.requestAnimationFrame.bind(t)),{tick(e){r.push(e),1===r.length&&s.then(()=>p(r))},read:u(a),write:u(c)}}},w=[],g={forEach:(e,t)=>e.forEach(t),map:(e,t)=>e.map(t)},M=(e,t,n)=>{const[o,i,,l,s,r]=e,a={color:{S:"color"}};if(l)for(t=0;t<l.length;t++)a[(n=l[t])[0]]={W:n[1],N:!!n[2],S:"string"==typeof n[3]?n[3]:n[3]?n[0]:0,P:n[4]};return{t:o,s:i,C:Object.assign({},a),u:s,R:r?r.map($):void 0}},$=e=>({L:e[0],T:e[1],D:!!e[2],H:!!e[3],q:!!e[4]}),k=(e,t)=>c(t)&&"object"!=typeof t&&"function"!=typeof t?e===Boolean||4===e?"false"!==t&&(""===t||!!t):e===Number||8===e?parseFloat(t):e===String||2===e?t.toString():t:t,C=(e,t,n)=>{e.B.add(t),e.F.has(t)||(e.F.set(t,!0),e.I?e.queue.write(()=>j(e,t,n)):e.queue.tick(()=>j(e,t,n)))},j=async(e,o,i,l,s,r)=>{if(e.F.delete(o),!e.U.has(o)){if(!(s=e.Y.get(o))){if((r=e.Z.get(o))&&!r["s-rn"])return void(r["s-rc"]=r["s-rc"]||[]).push(()=>{j(e,o,i)});if(s=W(e,o,e.G.get(o),i))try{s.componentWillLoad&&await s.componentWillLoad()}catch(t){e.J(t,3,o)}}((e,o,i,l)=>{try{const s=o.K.host,r=o.K.encapsulation,a="shadow"===r&&e.m.p;let c,f=i;if(a&&(f=i.shadowRoot),!i["s-rn"]){e.V(e,e.m,o,i);const n=i["s-sc"];n&&(e.m.X(i,t(n,!0)),"scoped"===r&&e.m.X(i,t(n)))}if(l.render||l.hostData||s||c){e.ee=!0;const t=l.render&&l.render();let o;e.ee=!1;const s=n(null,o,t),c=e.te.get(i)||{};c.o=f,e.te.set(i,e.render(i,c,s,a,r))}i["s-rn"]=!0,i["s-rc"]&&(i["s-rc"].forEach(e=>e()),i["s-rc"]=null)}catch(t){e.ee=!1,e.J(t,8,i,!0)}})(e,e.k(o),o,s),o["s-init"]()}},E=(e,t,n,o,i,l,s,r,a)=>{if(t.type||t.state){const f=e.ne.get(n);t.state||(!t.attr||void 0!==f[i]&&""!==f[i]||(r=l&&l.oe)&&c(a=r[t.attr])&&(f[i]=k(t.type,a)),n.hasOwnProperty(i)&&(void 0===f[i]&&(f[i]=k(t.type,n[i])),"mode"!==i&&delete n[i])),o.hasOwnProperty(i)&&void 0===f[i]&&(f[i]=o[i]),t.watchCallbacks&&(f[S+i]=t.watchCallbacks.slice()),O(o,i,function f(t){return(t=e.ne.get(e.ie.get(this)))&&t[i]},function u(n,o){(o=e.ie.get(this))&&(t.state||t.mutable)&&A(e,o,i,n,s)})}else t.elementRef&&_(o,i,n)},A=(e,t,n,o,i,l,s)=>{(s=e.ne.get(t))||e.ne.set(t,s={});const r=s[n];if(o!==r&&(s[n]=o,l=e.Y.get(t))){{const e=s[S+n];if(e)for(let t=0;t<e.length;t++)try{l[e[t]].call(l,o,r,n)}catch(e){console.error(e)}}!e.ee&&t["s-rn"]&&C(e,t,i)}},_=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,value:n})},O=(e,t,n,o)=>{Object.defineProperty(e,t,{configurable:!0,get:n,set:o})},S="wc-",W=(e,t,n,o,i,l)=>{try{i=new(l=e.k(t).K),((e,t,n,o,i,l)=>{e.ie.set(o,n),e.ne.has(n)||e.ne.set(n,{}),Object.entries(Object.assign({color:{type:String}},t.properties,{mode:{type:String}})).forEach(([t,s])=>{E(e,s,n,o,t,i,l)})})(e,l,t,i,n,o),function s(e,t,n){if(t){const o=e.ie.get(n);t.forEach(t=>{n[t.method]={emit:n=>e.le(o,t.name,{bubbles:t.bubbles,composed:t.composed,cancelable:t.cancelable,detail:n})}})}}(e,l.events,i)}catch(n){i={},e.J(n,7,t,!0)}return e.Y.set(t,i),i},N=(e,t,n,o,i,l)=>{if(e.B.delete(t),(i=e.Z.get(t))&&((o=i["s-ld"])&&((n=o.indexOf(t))>-1&&o.splice(n,1),o.length||i["s-init"]&&i["s-init"]()),e.Z.delete(t)),e.se.length&&!e.B.size)for(;l=e.se.shift();)l()},x=(e,t,n,o)=>{t.forEach(([t,i])=>{3&i.W&&O(n,t,function n(){return(e.ne.get(this)||{})[t]},function n(l){A(e,this,t,k(i.P,l),o)})})},P=(e,t,n,o,i)=>{if(n.connectedCallback=function(){((e,t,n)=>{e.U.delete(n),e.re.has(n)||(e.ae=!0,e.B.add(n),e.re.set(n,!0),((e,t,n)=>{for(n=t;n=e.m.ce(n);)if(e.fe(n)){e.ue.has(t)||(e.Z.set(t,n),(n["s-ld"]=n["s-ld"]||[]).push(t));break}})(e,n),e.queue.tick(()=>{e.G.set(n,((e,t,n,o,i)=>{if(n.mode||(n.mode=e.pe(n)),n["s-cr"]||e.de(n,"ssrv")||e.p&&1===t.u||(n["s-cr"]=e.be(""),n["s-cr"]["s-cn"]=!0,e.M(n,n["s-cr"],e.me(n)[0])),!e.p&&1===t.u)try{!window.HTMLElement||"shadowRoot"in window.HTMLElement.prototype||(n.shadowRoot=n)}catch(e){}return 1===t.u&&e.p&&!n.shadowRoot&&e.ye(n,{mode:"open"}),o={oe:{}},t.C&&Object.keys(t.C).forEach(l=>{(i=t.C[l].S)&&(o.oe[i]=e.de(n,i))}),o})(e.m,t,n)),e.ve(t,n)}))})(e,t,this)},n.disconnectedCallback=function(){((e,t)=>{if(!e.he&&((e,t)=>{for(;t;){if(!e.we(t))return 9!==e.ge(t);t=e.we(t)}})(e.m,t)){e.U.set(t,!0),N(e,t),v(e.te.get(t),!0);{const n=e.Y.get(t);n&&n.componentDidUnload&&n.componentDidUnload()}e.m.O(t),e.Me.delete(t),[e.Z,e.$e,e.G].forEach(e=>e.delete(t))}})(e,this)},n["s-init"]=function(){((e,t,n,o,i,l,s)=>{if((i=e.Y.get(t))&&!e.U.has(t)&&(!t["s-ld"]||!t["s-ld"].length)){e.ue.set(t,!0),(s=e.ke.has(t))||(e.ke.set(t,!0),t["s-ld"]=void 0,e.m.X(t,n));try{v(e.te.get(t)),(l=e.$e.get(t))&&(l.forEach(e=>e(t)),e.$e.delete(t)),s&&i.componentDidUpdate&&i.componentDidUpdate()}catch(n){e.J(n,4,t)}N(e,t)}})(e,this,o)},n.forceUpdate=function(){C(e,this,i)},t.C){const o=Object.entries(t.C);{let e={};o.forEach(([t,{S:n}])=>{n&&(e[n]=t)}),e=Object.assign({},e),n.attributeChangedCallback=function(t,n,o){(function i(e,t,n,o){const i=e[f(n)];i&&(t[i]=(null!==o||"boolean"!=typeof t[i])&&o)})(e,this,t,o)}}x(e,o,n,i)}},R=(e,t,o,i,s,u)=>{const p=o.performance,d={html:{}},b=o[e]=o[e]||{},v=((e,t,n)=>{const o=new WeakMap,i={v:n,p:!!n.documentElement.attachShadow,Ce:!1,ge:e=>e.nodeType,je:e=>n.createElement(e),Ee:(e,t)=>n.createElementNS(e,t),be:e=>n.createTextNode(e),Ae:e=>n.createComment(e),M:(e,t,n)=>e.insertBefore(t,n),_e:e=>e.remove(),Oe:(e,t)=>e.appendChild(t),X:(e,t)=>{e.classList.add(t)},me:e=>e.childNodes,we:e=>e.parentNode,Se:e=>e.nextSibling,We:e=>e.previousSibling,Ne:e=>f(e.nodeName),xe:e=>e.textContent,Pe:(e,t)=>e.textContent=t,de:(e,t)=>e.getAttribute(t),Re:(e,t,n)=>e.setAttribute(t,n),j:(e,t)=>e.removeAttribute(t),A:(e,t)=>e.hasAttribute(t),pe:t=>t.getAttribute("mode")||(e.Context||{}).mode,Le:(e,o)=>"child"===o?e.firstElementChild:"parent"===o?i.ce(e):"body"===o?n.body:"document"===o?n:"window"===o?t:e,_:(t,n,l,s,a,c,f,u,p,d)=>{let b=t,m=l,y=o.get(t);d=n+s,y&&y[d]&&y[d](),"string"==typeof f?b=i.Le(t,f):"object"==typeof f?b=f:(p=n.split(":")).length>1&&(b=i.Le(t,p[0]),n=p[1]),b&&((p=n.split(".")).length>1&&(n=p[0],m=(e=>{e.keyCode===r[p[1]]&&l(e)})),u=i.Ce?{capture:!!a,passive:!!c}:!!a,e.ael(b,n,m,u),y||o.set(t,y={}),y[d]=(()=>{b&&e.rel(b,n,m,u),y[d]=null}))},O:(e,t,n,i)=>{(i=o.get(e))&&(t?i[t+n]&&i[t+n]():Object.keys(i).forEach(e=>{i[e]&&i[e]()}))},Te:(e,n,o,i)=>(i=new t.CustomEvent(n,o),e&&e.dispatchEvent(i),i),ce:(e,t)=>(t=i.we(e))&&11===i.ge(t)?t.host:t,De:(e,t,n,o)=>e.setAttributeNS(t,n,o),ye:(e,t)=>e.attachShadow(t)};e.ael||(e.ael=((e,t,n,o)=>e.addEventListener(t,n,o)),e.rel=((e,t,n,o)=>e.removeEventListener(t,n,o)));try{t.addEventListener("e",null,Object.defineProperty({},"passive",{get:()=>i.Ce=!0}))}catch(e){}return i})(b,o,i),w=v.v.documentElement,g=o["s-defined"]=o["s-defined"]||{},M={m:v,l:(e,t)=>{o.customElements.get(e.t)||(P(M,d[e.t]=e,t.prototype,u,p),t.observedAttributes=Object.values(e.C).map(e=>e.S).filter(e=>!!e),o.customElements.define(e.t,t))},k:e=>d[v.Ne(e)],He:e=>t[e],isClient:!0,fe:e=>!(!g[v.Ne(e)]&&!M.k(e)),J:(e,t,n)=>console.error(e,t,n&&n.tagName),queue:t.queue=h(b,o),ve:(e,t)=>{{const n=!v.p,o={mode:t.mode,scoped:n};e.s(o).then(n=>{try{e.K=n,function o(e,t,n,i,s){if(i){const n=t.t+(s||l);if(!t[n]){const o=e.je("template");t[n]=o,o.innerHTML=`<style>${i}</style>`,e.Oe(e.v.head,o)}}}(v,e,e.u,n.style,n.styleMode)}catch(t){console.error(t),e.K=class{}}C(M,t,p)})}},ee:!1,I:!1,he:!1,V:a,Z:new WeakMap,g:new WeakMap,re:new WeakMap,Me:new WeakMap,ke:new WeakMap,ue:new WeakMap,ie:new WeakMap,G:new WeakMap,Y:new WeakMap,U:new WeakMap,F:new WeakMap,$e:new WeakMap,qe:new WeakMap,te:new WeakMap,ne:new WeakMap,B:new Set,se:[]};return t.isServer=t.isPrerender=!(t.isClient=!0),t.window=o,t.location=o.location,t.document=i,t.resourcesUrl=t.publicPath=s,M.le=t.emit=((e,n,o)=>v.Te(e,t.eventNameFn?t.eventNameFn(n):n,o)),b.h=n,b.Context=t,b.onReady=(()=>new Promise(e=>M.queue.write(()=>M.B.size?M.se.push(e):e()))),M.render=((e,t)=>{let n,o,i,l,s,r,a;const f=(i,p,d,b,v,h,w,g,M)=>{if(g=p.vchildren[d],n||(l=!0,"slot"===g.vtag&&(o&&t.X(b,o+"-s"),g.vchildren?g.Be=!0:g.Fe=!0)),c(g.vtext))g.o=t.be(g.vtext);else if(g.Fe)g.o=t.be("");else{if(h=g.o=y||"svg"===g.vtag?t.Ee("http://www.w3.org/2000/svg",g.vtag):t.je(g.Be?"slot-fb":g.vtag),e.fe(h)&&e.ue.delete(a),y="svg"===g.vtag||"foreignObject"!==g.vtag&&y,m(e,null,g,y),c(o)&&h["s-si"]!==o&&t.X(h,h["s-si"]=o),g.vchildren)for(v=0;v<g.vchildren.length;++v)(w=f(i,g,v,h))&&t.Oe(h,w);"svg"===g.vtag&&(y=!1)}return g.o["s-hn"]=r,(g.Be||g.Fe)&&(g.o["s-sr"]=!0,g.o["s-cr"]=s,g.o["s-sn"]=g.vname||"",(M=i&&i.vchildren&&i.vchildren[d])&&M.vtag===g.vtag&&i.o&&u(i.o)),g.o},u=(n,o,i,s)=>{e.he=!0;const a=t.me(n);for(i=a.length-1;i>=0;i--)(s=a[i])["s-hn"]!==r&&s["s-ol"]&&(t._e(s),t.M(h(s),s,v(s)),t._e(s["s-ol"]),s["s-ol"]=null,l=!0),o&&u(s,o);e.he=!1},p=(e,n,o,i,l,s,a,u)=>{const p=e["s-cr"];for((a=p&&t.we(p)||e).shadowRoot&&t.Ne(a)===r&&(a=a.shadowRoot);l<=s;++l)i[l]&&(u=c(i[l].vtext)?t.be(i[l].vtext):f(null,o,l,e))&&(i[l].o=u,t.M(a,u,v(n)))},d=(e,n,o,l)=>{for(;n<=o;++n)c(e[n])&&(l=e[n].o,i=!0,l["s-ol"]?t._e(l["s-ol"]):u(l,!0),t._e(l))},b=(e,t)=>e.vtag===t.vtag&&e.vkey===t.vkey&&("slot"!==e.vtag||e.vname===t.vname),v=e=>e&&e["s-ol"]?e["s-ol"]:e,h=e=>t.we(e["s-ol"]?e["s-ol"]:e),w=(n,o,i)=>{const l=o.o=n.o,s=n.vchildren,r=o.vchildren;y=o.o&&c(t.ce(o.o))&&void 0!==o.o.ownerSVGElement,y="svg"===o.vtag||"foreignObject"!==o.vtag&&y,c(o.vtext)?(i=l["s-cr"])?t.Pe(t.we(i),o.vtext):n.vtext!==o.vtext&&t.Pe(l,o.vtext):("slot"!==o.vtag&&m(e,n,o,y),c(s)&&c(r)?((e,n,o,i,l,s,r,a)=>{let m=0,y=0,g=n.length-1,M=n[0],$=n[g],k=i.length-1,C=i[0],j=i[k];for(;m<=g&&y<=k;)if(null==M)M=n[++m];else if(null==$)$=n[--g];else if(null==C)C=i[++y];else if(null==j)j=i[--k];else if(b(M,C))w(M,C),M=n[++m],C=i[++y];else if(b($,j))w($,j),$=n[--g],j=i[--k];else if(b(M,j))"slot"!==M.vtag&&"slot"!==j.vtag||u(t.we(M.o)),w(M,j),t.M(e,M.o,t.Se($.o)),M=n[++m],j=i[--k];else if(b($,C))"slot"!==M.vtag&&"slot"!==j.vtag||u(t.we($.o)),w($,C),t.M(e,$.o,M.o),$=n[--g],C=i[++y];else{for(l=null,s=m;s<=g;++s)if(n[s]&&c(n[s].vkey)&&n[s].vkey===C.vkey){l=s;break}c(l)?((a=n[l]).vtag!==C.vtag?r=f(n&&n[y],o,l,e):(w(a,C),n[l]=void 0,r=a.o),C=i[++y]):(r=f(n&&n[y],o,y,e),C=i[++y]),r&&t.M(h(M.o),r,v(M.o))}m>g?p(e,null==i[k+1]?null:i[k+1].o,o,i,y,k):y>k&&d(n,m,g)})(l,s,o,r):c(r)?(c(n.vtext)&&t.Pe(l,""),p(l,null,o,r,0,r.length-1)):c(s)&&d(s,0,s.length-1)),y&&"svg"===o.vtag&&(y=!1)},g=(e,n,o,i,l,s,r,a)=>{for(i=0,l=(o=t.me(e)).length;i<l;i++)if(n=o[i],1===t.ge(n)){if(n["s-sr"])for(r=n["s-sn"],n.hidden=!1,s=0;s<l;s++)if(o[s]["s-hn"]!==n["s-hn"])if(a=t.ge(o[s]),""!==r){if(1===a&&r===t.de(o[s],"slot")){n.hidden=!0;break}}else if(1===a||3===a&&""!==t.xe(o[s]).trim()){n.hidden=!0;break}g(n)}},M=[],$=(e,n,o,l,s,r,a,c,f,u)=>{for(s=0,r=(n=t.me(e)).length;s<r;s++){if((o=n[s])["s-sr"]&&(l=o["s-cr"]))for(c=t.me(t.we(l)),f=o["s-sn"],a=c.length-1;a>=0;a--)(l=c[a])["s-cn"]||l["s-nr"]||l["s-hn"]===o["s-hn"]||((3===(u=t.ge(l))||8===u)&&""===f||1===u&&null===t.de(l,"slot")&&""===f||1===u&&t.de(l,"slot")===f)&&(M.some(e=>e.Ie===l)||(i=!0,l["s-sn"]=f,M.push({Qe:o,Ie:l})));1===t.ge(o)&&$(o)}};return(c,f,u,p,d,b,m,y,v,h,k,C)=>{if(a=c,r=t.Ne(a),s=a["s-cr"],n=p,o=a["s-sc"],l=i=!1,w(f,u),l){for($(u.o),m=0;m<M.length;m++)(y=M[m]).Ie["s-ol"]||((v=t.be(""))["s-nr"]=y.Ie,t.M(t.we(y.Ie),y.Ie["s-ol"]=v,y.Ie));for(e.he=!0,m=0;m<M.length;m++){for(y=M[m],k=t.we(y.Qe),C=t.Se(y.Qe),v=y.Ie["s-ol"];v=t.We(v);)if((h=v["s-nr"])&&h&&h["s-sn"]===y.Ie["s-sn"]&&k===t.we(h)&&(h=t.Se(h))&&h&&!h["s-nr"]){C=h;break}(!C&&k!==t.we(y.Ie)||t.Se(y.Ie)!==C)&&y.Ie!==C&&(t._e(y.Ie),t.M(k,y.Ie,C))}e.he=!1}return i&&g(u.o),M.length=0,u}})(M,v),w["s-ld"]=[],w["s-rn"]=!0,w["s-init"]=(()=>{M.ue.set(w,b.loaded=M.I=!0),v.Te(o,"appload",{detail:{namespace:e}})}),((e,t,n,o,i,l)=>{if(t.componentOnReady=((t,n)=>{if(!t.nodeName.includes("-"))return n(null),!1;const o=e.k(t);if(o)if(e.ue.has(t))n(t);else{const o=e.$e.get(t)||[];o.push(n),e.$e.set(t,o)}return!!o}),i){for(l=i.length-1;l>=0;l--)t.componentOnReady(i[l][0],i[l][1])&&i.splice(l,1);for(l=0;l<o.length;l++)if(!n[o[l]].componentOnReady)return;for(l=0;l<i.length;l++)i[l][1](null);i.length=0}})(M,b,o,o["s-apps"],o["s-cr"]),b.initialized=!0,M},L={};let T=!1;export{o as defineCustomElement,n as h}; | ||
`./build/${e}${t?".sc":""}.entry.js`).then(e=>e[n])})("string"==typeof n?n:n[e],t,o)),t}(t),n)})})()})}import i from"./manifold.global.js";function applyPolyfills(){return Promise.resolve()}const l="$",s={},r={enter:13,escape:27,space:32,tab:9,left:37,up:38,right:39,down:40},a=(t,n,o,i)=>{let s=o.t+l,r=o[s];if((2===o.u||1===o.u&&!t.m.p)&&(i["s-sc"]=r?e(o,i.mode):e(o)),r){let e=n.v.head;if(n.p)if(1===o.u)e=i.shadowRoot;else{const t=i.getRootNode();t.host&&(e=t)}let l=t.g.get(e);if(l||t.g.set(e,l={}),!l[s]){let t;{t=r.content.cloneNode(!0),l[s]=!0;const o=e.querySelectorAll("[data-styles]");n.M(e,t,o.length&&o[o.length-1].nextSibling||e.firstChild)}}}},c=e=>null!=e,f=e=>e.toLowerCase(),u=e=>f(e).split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(""),p=(e,t,n,o,i,l)=>{if("class"!==n||l)if("style"===n){for(const e in o)i&&null!=i[e]||(/-/.test(e)?t.style.removeProperty(e):t.style[e]="");for(const e in i)o&&i[e]===o[e]||(/-/.test(e)?t.style.setProperty(e,i[e]):t.style[e]=i[e])}else if("o"!==n[0]||"n"!==n[1]||!/[A-Z]/.test(n[2])||n in t)if("list"!==n&&"type"!==n&&!l&&(n in t||-1!==["object","function"].indexOf(typeof i)&&null!==i)){const o=e.k(t);o&&o.C&&o.C[n]?b(t,n,i):"ref"!==n&&(b(t,n,null==i?"":i),null!=i&&!1!==i||e.m.j(t,n))}else null!=i&&"key"!==n?((e,t,n,o="boolean"==typeof n,i)=>{i=t!==(t=t.replace(/^xlink\:?/,"")),null==n||o&&(!n||"false"===n)?i?e.removeAttributeNS("http://www.w3.org/1999/xlink",f(t)):e.removeAttribute(t):"function"!=typeof n&&(n=o?"":n.toString(),i?e.setAttributeNS("http://www.w3.org/1999/xlink",f(t),n):e.setAttribute(t,n))})(t,n,i):(l||e.m.A(t,n)&&(null==i||!1===i))&&e.m.j(t,n);else n=f(n)in t?f(n.substring(2)):f(n[2])+n.substring(3),i?i!==o&&e.m._(t,n,i,0):e.m.O(t,n,0);else if(o!==i){const e=d(o),n=d(i),l=e.filter(e=>!n.includes(e)),s=d(t.className).filter(e=>!l.includes(e)),r=n.filter(t=>!e.includes(t)&&!s.includes(t));s.push(...r),t.className=s.join(" ")}},d=e=>null==e||""===e?[]:e.trim().split(/\s+/),b=(e,t,n)=>{try{e[t]=n}catch(e){}},m=(e,t,n,o,i)=>{const l=11===n.o.nodeType&&n.o.host?n.o.host:n.o,r=t&&t.vattrs||s,a=n.vattrs||s;for(i in r)a&&null!=a[i]||null==r[i]||p(e,l,i,r[i],void 0,o,n.i);for(i in a)i in r&&a[i]===("value"===i||"checked"===i?l[i]:r[i])||p(e,l,i,r[i],a[i],o,n.i)};let y=!1;const v=(e,t)=>{e&&(e.vattrs&&e.vattrs.ref&&e.vattrs.ref(t?null:e.o),e.vchildren&&e.vchildren.forEach(e=>{v(e,t)}))},h=(e,t)=>{{let n=0,o=!1;const i=()=>t.performance.now(),l=!1!==e.asyncQueue,s=Promise.resolve(),r=[],a=[],c=[],f=[],u=t=>n=>{t.push(n),o||(o=!0,e.raf(b))},p=e=>{for(let t=0;t<e.length;t++)try{e[t](i())}catch(e){console.error(e)}e.length=0},d=(e,t)=>{let n,o=0;for(;o<e.length&&(n=i())<t;)try{e[o++](n)}catch(e){console.error(e)}o===e.length?e.length=0:0!==o&&e.splice(0,o)},b=()=>{n++,p(a);const t=l?i()+7*Math.ceil(n*(1/22)):Infinity;d(c,t),d(f,t),c.length>0&&(f.push(...c),c.length=0),(o=a.length+c.length+f.length>0)?e.raf(b):n=0};return e.raf||(e.raf=t.requestAnimationFrame.bind(t)),{tick(e){r.push(e),1===r.length&&s.then(()=>p(r))},read:u(a),write:u(c)}}},w=[],g={forEach:(e,t)=>e.forEach(t),map:(e,t)=>e.map(t)},M=(e,t,n)=>{const[o,i,,l,s,r]=e,a={color:{S:"color"}};if(l)for(t=0;t<l.length;t++)a[(n=l[t])[0]]={W:n[1],N:!!n[2],S:"string"==typeof n[3]?n[3]:n[3]?n[0]:0,P:n[4]};return{t:o,s:i,C:Object.assign({},a),u:s,R:r?r.map($):void 0}},$=e=>({L:e[0],T:e[1],D:!!e[2],H:!!e[3],q:!!e[4]}),k=(e,t)=>c(t)&&"object"!=typeof t&&"function"!=typeof t?e===Boolean||4===e?"false"!==t&&(""===t||!!t):e===Number||8===e?parseFloat(t):e===String||2===e?t.toString():t:t,C=(e,t,n)=>{e.B.add(t),e.F.has(t)||(e.F.set(t,!0),e.I?e.queue.write(()=>j(e,t,n)):e.queue.tick(()=>j(e,t,n)))},j=async(e,o,i,l,s,r)=>{if(e.F.delete(o),!e.U.has(o)){if(!(s=e.Y.get(o))){if((r=e.Z.get(o))&&!r["s-rn"])return void(r["s-rc"]=r["s-rc"]||[]).push(()=>{j(e,o,i)});if(s=W(e,o,e.G.get(o),i))try{s.componentWillLoad&&await s.componentWillLoad()}catch(t){e.J(t,3,o)}}((e,o,i,l)=>{try{const s=o.K.host,r=o.K.encapsulation,a="shadow"===r&&e.m.p;let c,f=i;if(a&&(f=i.shadowRoot),!i["s-rn"]){e.V(e,e.m,o,i);const n=i["s-sc"];n&&(e.m.X(i,t(n,!0)),"scoped"===r&&e.m.X(i,t(n)))}if(l.render||l.hostData||s||c){e.ee=!0;const t=l.render&&l.render();let o;o=l.hostData&&l.hostData(),e.ee=!1;const s=n(null,o,t),c=e.te.get(i)||{};c.o=f,e.te.set(i,e.render(i,c,s,a,r))}i["s-rn"]=!0,i["s-rc"]&&(i["s-rc"].forEach(e=>e()),i["s-rc"]=null)}catch(t){e.ee=!1,e.J(t,8,i,!0)}})(e,e.k(o),o,s),o["s-init"]()}},E=(e,t,n,o,i,l,s,r,a)=>{if(t.type||t.state){const f=e.ne.get(n);t.state||(!t.attr||void 0!==f[i]&&""!==f[i]||(r=l&&l.oe)&&c(a=r[t.attr])&&(f[i]=k(t.type,a)),n.hasOwnProperty(i)&&(void 0===f[i]&&(f[i]=k(t.type,n[i])),"mode"!==i&&delete n[i])),o.hasOwnProperty(i)&&void 0===f[i]&&(f[i]=o[i]),t.watchCallbacks&&(f[S+i]=t.watchCallbacks.slice()),O(o,i,function f(t){return(t=e.ne.get(e.ie.get(this)))&&t[i]},function u(n,o){(o=e.ie.get(this))&&(t.state||t.mutable)&&A(e,o,i,n,s)})}else t.elementRef&&_(o,i,n)},A=(e,t,n,o,i,l,s)=>{(s=e.ne.get(t))||e.ne.set(t,s={});const r=s[n];if(o!==r&&(s[n]=o,l=e.Y.get(t))){{const e=s[S+n];if(e)for(let t=0;t<e.length;t++)try{l[e[t]].call(l,o,r,n)}catch(e){console.error(e)}}!e.ee&&t["s-rn"]&&C(e,t,i)}},_=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,value:n})},O=(e,t,n,o)=>{Object.defineProperty(e,t,{configurable:!0,get:n,set:o})},S="wc-",W=(e,t,n,o,i,l)=>{try{i=new(l=e.k(t).K),((e,t,n,o,i,l)=>{e.ie.set(o,n),e.ne.has(n)||e.ne.set(n,{}),Object.entries(Object.assign({color:{type:String}},t.properties,{mode:{type:String}})).forEach(([t,s])=>{E(e,s,n,o,t,i,l)})})(e,l,t,i,n,o),function s(e,t,n){if(t){const o=e.ie.get(n);t.forEach(t=>{n[t.method]={emit:n=>e.le(o,t.name,{bubbles:t.bubbles,composed:t.composed,cancelable:t.cancelable,detail:n})}})}}(e,l.events,i)}catch(n){i={},e.J(n,7,t,!0)}return e.Y.set(t,i),i},N=(e,t,n,o,i,l)=>{if(e.B.delete(t),(i=e.Z.get(t))&&((o=i["s-ld"])&&((n=o.indexOf(t))>-1&&o.splice(n,1),o.length||i["s-init"]&&i["s-init"]()),e.Z.delete(t)),e.se.length&&!e.B.size)for(;l=e.se.shift();)l()},x=(e,t,n,o)=>{t.forEach(([t,i])=>{3&i.W&&O(n,t,function n(){return(e.ne.get(this)||{})[t]},function n(l){A(e,this,t,k(i.P,l),o)})})},P=(e,t,n,o,i)=>{if(n.connectedCallback=function(){((e,t,n)=>{e.U.delete(n),e.re.has(n)||(e.ae=!0,e.B.add(n),e.re.set(n,!0),((e,t,n)=>{for(n=t;n=e.m.ce(n);)if(e.fe(n)){e.ue.has(t)||(e.Z.set(t,n),(n["s-ld"]=n["s-ld"]||[]).push(t));break}})(e,n),e.queue.tick(()=>{e.G.set(n,((e,t,n,o,i)=>{if(n.mode||(n.mode=e.pe(n)),n["s-cr"]||e.de(n,"ssrv")||e.p&&1===t.u||(n["s-cr"]=e.be(""),n["s-cr"]["s-cn"]=!0,e.M(n,n["s-cr"],e.me(n)[0])),!e.p&&1===t.u)try{!window.HTMLElement||"shadowRoot"in window.HTMLElement.prototype||(n.shadowRoot=n)}catch(e){}return 1===t.u&&e.p&&!n.shadowRoot&&e.ye(n,{mode:"open"}),o={oe:{}},t.C&&Object.keys(t.C).forEach(l=>{(i=t.C[l].S)&&(o.oe[i]=e.de(n,i))}),o})(e.m,t,n)),e.ve(t,n)}))})(e,t,this)},n.disconnectedCallback=function(){((e,t)=>{if(!e.he&&((e,t)=>{for(;t;){if(!e.we(t))return 9!==e.ge(t);t=e.we(t)}})(e.m,t)){e.U.set(t,!0),N(e,t),v(e.te.get(t),!0);{const n=e.Y.get(t);n&&n.componentDidUnload&&n.componentDidUnload()}e.m.O(t),e.Me.delete(t),[e.Z,e.$e,e.G].forEach(e=>e.delete(t))}})(e,this)},n["s-init"]=function(){((e,t,n,o,i,l,s)=>{if((i=e.Y.get(t))&&!e.U.has(t)&&(!t["s-ld"]||!t["s-ld"].length)){e.ue.set(t,!0),(s=e.ke.has(t))||(e.ke.set(t,!0),t["s-ld"]=void 0,e.m.X(t,n));try{v(e.te.get(t)),(l=e.$e.get(t))&&(l.forEach(e=>e(t)),e.$e.delete(t)),!s&&i.componentDidLoad?i.componentDidLoad():s&&i.componentDidUpdate&&i.componentDidUpdate()}catch(n){e.J(n,4,t)}N(e,t)}})(e,this,o)},n.forceUpdate=function(){C(e,this,i)},t.C){const o=Object.entries(t.C);{let e={};o.forEach(([t,{S:n}])=>{n&&(e[n]=t)}),e=Object.assign({},e),n.attributeChangedCallback=function(t,n,o){(function i(e,t,n,o){const i=e[f(n)];i&&(t[i]=(null!==o||"boolean"!=typeof t[i])&&o)})(e,this,t,o)}}x(e,o,n,i)}},R=(e,t,o,i,s,u)=>{const p=o.performance,d={html:{}},b=o[e]=o[e]||{},v=((e,t,n)=>{const o=new WeakMap,i={v:n,p:!!n.documentElement.attachShadow,Ce:!1,ge:e=>e.nodeType,je:e=>n.createElement(e),Ee:(e,t)=>n.createElementNS(e,t),be:e=>n.createTextNode(e),Ae:e=>n.createComment(e),M:(e,t,n)=>e.insertBefore(t,n),_e:e=>e.remove(),Oe:(e,t)=>e.appendChild(t),X:(e,t)=>{e.classList.add(t)},me:e=>e.childNodes,we:e=>e.parentNode,Se:e=>e.nextSibling,We:e=>e.previousSibling,Ne:e=>f(e.nodeName),xe:e=>e.textContent,Pe:(e,t)=>e.textContent=t,de:(e,t)=>e.getAttribute(t),Re:(e,t,n)=>e.setAttribute(t,n),j:(e,t)=>e.removeAttribute(t),A:(e,t)=>e.hasAttribute(t),pe:t=>t.getAttribute("mode")||(e.Context||{}).mode,Le:(e,o)=>"child"===o?e.firstElementChild:"parent"===o?i.ce(e):"body"===o?n.body:"document"===o?n:"window"===o?t:e,_:(t,n,l,s,a,c,f,u,p,d)=>{let b=t,m=l,y=o.get(t);d=n+s,y&&y[d]&&y[d](),"string"==typeof f?b=i.Le(t,f):"object"==typeof f?b=f:(p=n.split(":")).length>1&&(b=i.Le(t,p[0]),n=p[1]),b&&((p=n.split(".")).length>1&&(n=p[0],m=(e=>{e.keyCode===r[p[1]]&&l(e)})),u=i.Ce?{capture:!!a,passive:!!c}:!!a,e.ael(b,n,m,u),y||o.set(t,y={}),y[d]=(()=>{b&&e.rel(b,n,m,u),y[d]=null}))},O:(e,t,n,i)=>{(i=o.get(e))&&(t?i[t+n]&&i[t+n]():Object.keys(i).forEach(e=>{i[e]&&i[e]()}))},Te:(e,n,o,i)=>(i=new t.CustomEvent(n,o),e&&e.dispatchEvent(i),i),ce:(e,t)=>(t=i.we(e))&&11===i.ge(t)?t.host:t,De:(e,t,n,o)=>e.setAttributeNS(t,n,o),ye:(e,t)=>e.attachShadow(t)};e.ael||(e.ael=((e,t,n,o)=>e.addEventListener(t,n,o)),e.rel=((e,t,n,o)=>e.removeEventListener(t,n,o)));try{t.addEventListener("e",null,Object.defineProperty({},"passive",{get:()=>i.Ce=!0}))}catch(e){}return i})(b,o,i),w=v.v.documentElement,g=o["s-defined"]=o["s-defined"]||{},M={m:v,l:(e,t)=>{o.customElements.get(e.t)||(P(M,d[e.t]=e,t.prototype,u,p),t.observedAttributes=Object.values(e.C).map(e=>e.S).filter(e=>!!e),o.customElements.define(e.t,t))},k:e=>d[v.Ne(e)],He:e=>t[e],isClient:!0,fe:e=>!(!g[v.Ne(e)]&&!M.k(e)),J:(e,t,n)=>console.error(e,t,n&&n.tagName),queue:t.queue=h(b,o),ve:(e,t)=>{{const n=!v.p,o={mode:t.mode,scoped:n};e.s(o).then(n=>{try{e.K=n,function o(e,t,n,i,s){if(i){const n=t.t+(s||l);if(!t[n]){const o=e.je("template");t[n]=o,o.innerHTML=`<style>${i}</style>`,e.Oe(e.v.head,o)}}}(v,e,e.u,n.style,n.styleMode)}catch(t){console.error(t),e.K=class{}}C(M,t,p)})}},ee:!1,I:!1,he:!1,V:a,Z:new WeakMap,g:new WeakMap,re:new WeakMap,Me:new WeakMap,ke:new WeakMap,ue:new WeakMap,ie:new WeakMap,G:new WeakMap,Y:new WeakMap,U:new WeakMap,F:new WeakMap,$e:new WeakMap,qe:new WeakMap,te:new WeakMap,ne:new WeakMap,B:new Set,se:[]};return t.isServer=t.isPrerender=!(t.isClient=!0),t.window=o,t.location=o.location,t.document=i,t.resourcesUrl=t.publicPath=s,M.le=t.emit=((e,n,o)=>v.Te(e,t.eventNameFn?t.eventNameFn(n):n,o)),b.h=n,b.Context=t,b.onReady=(()=>new Promise(e=>M.queue.write(()=>M.B.size?M.se.push(e):e()))),M.render=((e,t)=>{let n,o,i,l,s,r,a;const f=(i,p,d,b,v,h,w,g,M)=>{if(g=p.vchildren[d],n||(l=!0,"slot"===g.vtag&&(o&&t.X(b,o+"-s"),g.vchildren?g.Be=!0:g.Fe=!0)),c(g.vtext))g.o=t.be(g.vtext);else if(g.Fe)g.o=t.be("");else{if(h=g.o=y||"svg"===g.vtag?t.Ee("http://www.w3.org/2000/svg",g.vtag):t.je(g.Be?"slot-fb":g.vtag),e.fe(h)&&e.ue.delete(a),y="svg"===g.vtag||"foreignObject"!==g.vtag&&y,m(e,null,g,y),c(o)&&h["s-si"]!==o&&t.X(h,h["s-si"]=o),g.vchildren)for(v=0;v<g.vchildren.length;++v)(w=f(i,g,v,h))&&t.Oe(h,w);"svg"===g.vtag&&(y=!1)}return g.o["s-hn"]=r,(g.Be||g.Fe)&&(g.o["s-sr"]=!0,g.o["s-cr"]=s,g.o["s-sn"]=g.vname||"",(M=i&&i.vchildren&&i.vchildren[d])&&M.vtag===g.vtag&&i.o&&u(i.o)),g.o},u=(n,o,i,s)=>{e.he=!0;const a=t.me(n);for(i=a.length-1;i>=0;i--)(s=a[i])["s-hn"]!==r&&s["s-ol"]&&(t._e(s),t.M(h(s),s,v(s)),t._e(s["s-ol"]),s["s-ol"]=null,l=!0),o&&u(s,o);e.he=!1},p=(e,n,o,i,l,s,a,u)=>{const p=e["s-cr"];for((a=p&&t.we(p)||e).shadowRoot&&t.Ne(a)===r&&(a=a.shadowRoot);l<=s;++l)i[l]&&(u=c(i[l].vtext)?t.be(i[l].vtext):f(null,o,l,e))&&(i[l].o=u,t.M(a,u,v(n)))},d=(e,n,o,l)=>{for(;n<=o;++n)c(e[n])&&(l=e[n].o,i=!0,l["s-ol"]?t._e(l["s-ol"]):u(l,!0),t._e(l))},b=(e,t)=>e.vtag===t.vtag&&e.vkey===t.vkey&&("slot"!==e.vtag||e.vname===t.vname),v=e=>e&&e["s-ol"]?e["s-ol"]:e,h=e=>t.we(e["s-ol"]?e["s-ol"]:e),w=(n,o,i)=>{const l=o.o=n.o,s=n.vchildren,r=o.vchildren;y=o.o&&c(t.ce(o.o))&&void 0!==o.o.ownerSVGElement,y="svg"===o.vtag||"foreignObject"!==o.vtag&&y,c(o.vtext)?(i=l["s-cr"])?t.Pe(t.we(i),o.vtext):n.vtext!==o.vtext&&t.Pe(l,o.vtext):("slot"!==o.vtag&&m(e,n,o,y),c(s)&&c(r)?((e,n,o,i,l,s,r,a)=>{let m=0,y=0,g=n.length-1,M=n[0],$=n[g],k=i.length-1,C=i[0],j=i[k];for(;m<=g&&y<=k;)if(null==M)M=n[++m];else if(null==$)$=n[--g];else if(null==C)C=i[++y];else if(null==j)j=i[--k];else if(b(M,C))w(M,C),M=n[++m],C=i[++y];else if(b($,j))w($,j),$=n[--g],j=i[--k];else if(b(M,j))"slot"!==M.vtag&&"slot"!==j.vtag||u(t.we(M.o)),w(M,j),t.M(e,M.o,t.Se($.o)),M=n[++m],j=i[--k];else if(b($,C))"slot"!==M.vtag&&"slot"!==j.vtag||u(t.we($.o)),w($,C),t.M(e,$.o,M.o),$=n[--g],C=i[++y];else{for(l=null,s=m;s<=g;++s)if(n[s]&&c(n[s].vkey)&&n[s].vkey===C.vkey){l=s;break}c(l)?((a=n[l]).vtag!==C.vtag?r=f(n&&n[y],o,l,e):(w(a,C),n[l]=void 0,r=a.o),C=i[++y]):(r=f(n&&n[y],o,y,e),C=i[++y]),r&&t.M(h(M.o),r,v(M.o))}m>g?p(e,null==i[k+1]?null:i[k+1].o,o,i,y,k):y>k&&d(n,m,g)})(l,s,o,r):c(r)?(c(n.vtext)&&t.Pe(l,""),p(l,null,o,r,0,r.length-1)):c(s)&&d(s,0,s.length-1)),y&&"svg"===o.vtag&&(y=!1)},g=(e,n,o,i,l,s,r,a)=>{for(i=0,l=(o=t.me(e)).length;i<l;i++)if(n=o[i],1===t.ge(n)){if(n["s-sr"])for(r=n["s-sn"],n.hidden=!1,s=0;s<l;s++)if(o[s]["s-hn"]!==n["s-hn"])if(a=t.ge(o[s]),""!==r){if(1===a&&r===t.de(o[s],"slot")){n.hidden=!0;break}}else if(1===a||3===a&&""!==t.xe(o[s]).trim()){n.hidden=!0;break}g(n)}},M=[],$=(e,n,o,l,s,r,a,c,f,u)=>{for(s=0,r=(n=t.me(e)).length;s<r;s++){if((o=n[s])["s-sr"]&&(l=o["s-cr"]))for(c=t.me(t.we(l)),f=o["s-sn"],a=c.length-1;a>=0;a--)(l=c[a])["s-cn"]||l["s-nr"]||l["s-hn"]===o["s-hn"]||((3===(u=t.ge(l))||8===u)&&""===f||1===u&&null===t.de(l,"slot")&&""===f||1===u&&t.de(l,"slot")===f)&&(M.some(e=>e.Ie===l)||(i=!0,l["s-sn"]=f,M.push({Qe:o,Ie:l})));1===t.ge(o)&&$(o)}};return(c,f,u,p,d,b,m,y,v,h,k,C)=>{if(a=c,r=t.Ne(a),s=a["s-cr"],n=p,o=a["s-sc"],l=i=!1,w(f,u),l){for($(u.o),m=0;m<M.length;m++)(y=M[m]).Ie["s-ol"]||((v=t.be(""))["s-nr"]=y.Ie,t.M(t.we(y.Ie),y.Ie["s-ol"]=v,y.Ie));for(e.he=!0,m=0;m<M.length;m++){for(y=M[m],k=t.we(y.Qe),C=t.Se(y.Qe),v=y.Ie["s-ol"];v=t.We(v);)if((h=v["s-nr"])&&h&&h["s-sn"]===y.Ie["s-sn"]&&k===t.we(h)&&(h=t.Se(h))&&h&&!h["s-nr"]){C=h;break}(!C&&k!==t.we(y.Ie)||t.Se(y.Ie)!==C)&&y.Ie!==C&&(t._e(y.Ie),t.M(k,y.Ie,C))}e.he=!1}return i&&g(u.o),M.length=0,u}})(M,v),w["s-ld"]=[],w["s-rn"]=!0,w["s-init"]=(()=>{M.ue.set(w,b.loaded=M.I=!0),v.Te(o,"appload",{detail:{namespace:e}})}),((e,t,n,o,i,l)=>{if(t.componentOnReady=((t,n)=>{if(!t.nodeName.includes("-"))return n(null),!1;const o=e.k(t);if(o)if(e.ue.has(t))n(t);else{const o=e.$e.get(t)||[];o.push(n),e.$e.set(t,o)}return!!o}),i){for(l=i.length-1;l>=0;l--)t.componentOnReady(i[l][0],i[l][1])&&i.splice(l,1);for(l=0;l<o.length;l++)if(!n[o[l]].componentOnReady)return;for(l=0;l<i.length;l++)i[l][1](null);i.length=0}})(M,b,o,o["s-apps"],o["s-cr"]),b.initialized=!0,M},L={};let T=!1;export{o as defineCustomElement,n as h}; |
// manifold: Host Data, ES Module/es5 Target | ||
export var COMPONENTS = [["context-consumer","wmw4y2la",0,[["context",1],["el",64],["renderer",1,0,1,1],["subscribe",1],["unsubscribe",16]]],["manifold-active-plan","hcvlp3sz",1,[["hideCta",1,0,"hide-cta",4],["isExistingResource",1,0,"is-existing-resource",4],["linkFormat",1,0,"link-format",2],["plans",1],["product",1],["selectedPlanId",16]],1],["manifold-badge","05fqozv6",1,0,1],["manifold-connection","jnpya3ge",0,[["env",1,0,1,2]]],["manifold-cost-display","05fqozv6",1,[["baseCost",1,0,"base-cost",8],["compact",1,0,1,4],["el",64],["isCustomizable",1,0,"is-customizable",4],["measuredCosts",1]],1],["manifold-data-product-logo","gvioscot",0,[["alt",1,0,1,2],["connection",1],["el",64],["product",16],["productLabel",1,0,"product-label",2]]],["manifold-data-product-name","qx6eclsy",0,[["connection",1],["el",64],["product",16],["productLabel",1,0,"product-label",2]]],["manifold-featured-service","avz9xgr1",1,[["logo",1,0,1,2],["name",1,0,1,2],["productGradient",1,0,"product-gradient",2]],1],["manifold-icon","05fqozv6",1,[["color",1,0,1,2],["element",64],["gradient",1,0,1,2],["icon",1,0,1,2],["marginLeft",1,0,"margin-left",4],["marginRight",1,0,"margin-right",4],["title",1,0,1,2]],1],["manifold-image-gallery","avz9xgr1",1,[["images",1],["selectedImage",16],["title",1,0,1,2]],1],["manifold-lazy-image","kjg2qzdb",0,[["alt",1,0,1,2],["itemprop",1,0,1,2],["observer",16],["src",1,0,1,2]]],["manifold-link-button","05fqozv6",1,[["href",1,0,1,2],["onClick",1],["rel",1,0,1,2],["target",1,0,1,2]],1],["manifold-marketplace","oimuftac",0,[["connection",1],["el",64],["featured",1,0,1,2],["linkFormat",1,0,"link-format",2],["services",16]]],["manifold-marketplace-results","wmw4y2la",1,[["featured",1,0,1,2],["linkFormat",1,0,"link-format",2],["services",1]]],["manifold-number-input","hcvlp3sz",1,[["decrementDisabledLabel",1,0,"decrement-disabled-label",2],["error",1,0,1,2],["increment",1,0,1,8],["incrementDisabledLabel",1,0,"increment-disabled-label",2],["max",1,0,1,8],["min",1,0,1,8],["name",1,0,1,2],["suffix",1,0,1,2],["value",2,0,1,8]],1],["manifold-plan-cost","05fqozv6",0,[["allFeatures",1],["baseCost",16],["compact",1,0,1,4],["connection",1],["controller",16],["customizable",1,0,1,4],["el",64],["measuredCosts",16],["planId",1,0,"plan-id",2],["selectedFeatures",1]]],["manifold-plan-details","hcvlp3sz",1,[["features",16],["hideCta",1,0,"hide-cta",4],["isExistingResource",1,0,"is-existing-resource",4],["linkFormat",1,0,"link-format",2],["plan",1],["product",1]],1],["manifold-plan-menu","hcvlp3sz",1,[["plans",1],["selectPlan",1],["selectedPlanId",1,0,"selected-plan-id",2]],1],["manifold-plan-selector","hcvlp3sz",0,[["connection",1],["el",64],["hideCta",1,0,"hide-cta",4],["linkFormat",1,0,"link-format",2],["plans",16],["product",16],["productLabel",1,0,"product-label",2],["resourceId",1,0,"resource-id",2]],1],["manifold-product","uuckad8k",0,[["connection",1],["el",64],["hideCta",1,0,"hide-cta",4],["linkFormat",1,0,"link-format",2],["product",16],["productLabel",1,0,"product-label",2],["provider",16]]],["manifold-product-details","avz9xgr1",1,[["product",1]],1],["manifold-product-page","avz9xgr1",1,[["hideCta",1,0,"hide-cta",4],["linkFormat",1,0,"link-format",2],["product",1],["provider",1]],1],["manifold-select","hcvlp3sz",1,[["defaultValue",1,0,"default-value",2],["name",1,0,1,2],["options",1],["required",1,0,1,4]],2],["manifold-service-card","kjg2qzdb",1,[["connection",1],["description",1,0,1,2],["el",64],["isCustom",1,0,"is-custom",4],["isFeatured",1,0,"is-featured",4],["isFree",16],["label",1,0,1,2],["linkFormat",1,0,"link-format",2],["logo",1,0,1,2],["name",1,0,1,2],["productId",1,0,"product-id",2]],1],["manifold-service-category","dgkh1gcf",1,[["categoryLoaded",1],["icon",1,0,1,2],["label",1,0,1,2],["name",1,0,1,2],["tagline",1,0,1,2]]],["manifold-service-grid","dgkh1gcf",1,[["activeCategory",16],["filter",16],["observer",16],["root",64],["scrollToCategory",16]],1],["manifold-services-tunnel","oimuftac",0,[["featured",1,0,1,2],["linkFormat",1,0,"link-format",2],["services",1]]],["manifold-sorted-categories","dgkh1gcf",0,[["observeCategory",1]]],["manifold-toggle","hcvlp3sz",1,[["ariaLabelledby",1,0,"aria-labelledby",2],["defaultValue",1,0,"default-value",4],["disabled",1,0,1,4],["label",1,0,1,2],["name",1,0,1,2]],2],["manifold-tooltip","05fqozv6",1,[["labelText",1,0,"label-text",2]],1]] | ||
export var COMPONENTS = [["context-consumer","ye0ydyx1",0,[["context",1],["el",64],["renderer",1,0,1,1],["subscribe",1],["unsubscribe",16]]],["manifold-active-plan","wbiybzfd",1,[["hideCta",1,0,"hide-cta",4],["isExistingResource",1,0,"is-existing-resource",4],["linkFormat",1,0,"link-format",2],["plans",1],["product",1],["selectedPlanId",16]],1],["manifold-badge","g2g50qwz",1,0,1],["manifold-connection","zqc0cerq",0,[["env",1,0,1,2]]],["manifold-cost-display","g2g50qwz",1,[["baseCost",1,0,"base-cost",8],["compact",1,0,1,4],["el",64],["isCustomizable",1,0,"is-customizable",4],["measuredCosts",1]],1],["manifold-data-product-logo","brfh5byq",0,[["alt",1,0,1,2],["connection",1],["el",64],["product",16],["productLabel",1,0,"product-label",2]]],["manifold-data-product-name","v68wnawd",0,[["connection",1],["el",64],["product",16],["productLabel",1,0,"product-label",2]]],["manifold-featured-service","g2g50qwz",1,[["logo",1,0,1,2],["name",1,0,1,2],["productGradient",1,0,"product-gradient",2]],1],["manifold-icon","llrkhz7d",1,[["color",1,0,1,2],["element",64],["gradient",1,0,1,2],["icon",1,0,1,2],["marginLeft",1,0,"margin-left",4],["marginRight",1,0,"margin-right",4],["title",1,0,1,2]],1],["manifold-image-gallery","g2g50qwz",1,[["images",1],["selectedImage",16],["title",1,0,1,2]],1],["manifold-lazy-image","7whbkpdz",0,[["alt",1,0,1,2],["itemprop",1,0,1,2],["observer",16],["src",1,0,1,2]]],["manifold-link-button","g2g50qwz",1,[["href",1,0,1,2],["onClick",1],["rel",1,0,1,2],["target",1,0,1,2]],1],["manifold-marketplace","7whbkpdz",0,[["blacklist",1,0,1,2],["connection",1],["el",64],["featured",1,0,1,2],["hideCategories",1,0,"hide-categories",4],["hideTemplates",1,0,"hide-templates",4],["linkFormat",1,0,"link-format",2],["parsedBlacklist",16],["parsedFeatured",16],["parsedWhitelist",16],["services",16],["whitelist",1,0,1,2]]],["manifold-marketplace-grid","7whbkpdz",1,[["activeCategory",16],["blacklist",1],["el",64],["featured",1],["filter",16],["hideCategories",1,0,"hide-categories",4],["hideTemplates",1,0,"hide-templates",4],["linkFormat",1,0,"link-format",2],["observer",16],["scrollToCategory",16],["search",16],["services",1],["whitelist",1]],1],["manifold-number-input","wbiybzfd",1,[["decrementDisabledLabel",1,0,"decrement-disabled-label",2],["error",1,0,1,2],["increment",1,0,1,8],["incrementDisabledLabel",1,0,"increment-disabled-label",2],["max",1,0,1,8],["min",1,0,1,8],["name",1,0,1,2],["suffix",1,0,1,2],["value",2,0,1,8]],1],["manifold-plan-cost","g2g50qwz",0,[["allFeatures",1],["baseCost",16],["compact",1,0,1,4],["connection",1],["controller",16],["customizable",1,0,1,4],["el",64],["measuredCosts",16],["planId",1,0,"plan-id",2],["selectedFeatures",1]]],["manifold-plan-details","wbiybzfd",1,[["features",16],["hideCta",1,0,"hide-cta",4],["isExistingResource",1,0,"is-existing-resource",4],["linkFormat",1,0,"link-format",2],["plan",1],["product",1]],1],["manifold-plan-menu","wbiybzfd",1,[["plans",1],["selectPlan",1],["selectedPlanId",1,0,"selected-plan-id",2]],1],["manifold-plan-selector","wbiybzfd",0,[["connection",1],["el",64],["hideCta",1,0,"hide-cta",4],["linkFormat",1,0,"link-format",2],["plans",16],["product",16],["productLabel",1,0,"product-label",2],["resourceId",1,0,"resource-id",2]],1],["manifold-product","7kelc9vg",0,[["connection",1],["el",64],["hideCta",1,0,"hide-cta",4],["linkFormat",1,0,"link-format",2],["product",16],["productLabel",1,0,"product-label",2],["provider",16]]],["manifold-product-details","g2g50qwz",1,[["product",1]],1],["manifold-product-page","g2g50qwz",1,[["hideCta",1,0,"hide-cta",4],["linkFormat",1,0,"link-format",2],["product",1],["provider",1]],1],["manifold-select","wbiybzfd",1,[["defaultValue",1,0,"default-value",2],["name",1,0,1,2],["options",1],["required",1,0,1,4]],2],["manifold-service-card","7whbkpdz",1,[["connection",1],["description",1,0,1,2],["el",64],["isFeatured",1,0,"is-featured",4],["isFree",16],["label",1,0,1,2],["linkFormat",1,0,"link-format",2],["logo",1,0,1,2],["name",1,0,1,2],["productId",1,0,"product-id",2]],1],["manifold-template-card","7whbkpdz",1,[["category",1,0,1,2],["linkFormat",1,0,"link-format",2]],1],["manifold-toast","7whbkpdz",1,[["alertType",1,0,"alert-type",2],["dismissable",1,0,1,4],["el",64],["icon",1,0,1,2],["lastHeight",16],["observer",16],["status",16]],1],["manifold-toggle","wbiybzfd",1,[["ariaLabelledby",1,0,"aria-labelledby",2],["defaultValue",1,0,"default-value",4],["disabled",1,0,1,4],["label",1,0,1,2],["name",1,0,1,2]],2],["manifold-tooltip","g2g50qwz",1,[["labelText",1,0,"label-text",2]],1]] |
@@ -8,2 +8,2 @@ /*! | ||
/* webpackMode: "lazy" */ | ||
"./build/"+n+(t?".sc":"")+".entry.js").then(function(n){return n[e]})}("string"==typeof e?e:e[t],i,r)},t}(t),e)})}if(!R[s]){var u={},c=e.resourcesUrl||"./";f(s,u,n,i,c,o),R[s]=N(s,u,n,i,c,o,r)}if(window.customStyleShim)return R[s].l=window.customStyleShim,R[s].l.initShim().then(t);t()})}this&&this.v;var i=this&&this.p||function(n,t,e,r){return new(e||(e=Promise))(function(i,o){function u(n){try{c(r.next(n))}catch(n){o(n)}}function f(n){try{c(r.throw(n))}catch(n){o(n)}}function c(n){n.done?i(n.value):new e(function(t){t(n.value)}).then(u,f)}c((r=r.apply(n,t||[])).next())})},o=this&&this.m||function(n,t){function e(e){return function(u){return function c(e){if(r)throw new TypeError("Generator is already executing.");for(;f;)try{if(r=1,i&&(o=2&e[0]?i.return:e[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,e[1])).done)return o;switch(i=0,o&&(e=[2&e[0],o.value]),e[0]){case 0:case 1:o=e;break;case 4:return f.label++,{value:e[1],done:!1};case 5:f.label++,i=e[1],e=[0];continue;case 7:e=f.g.pop(),f.M.pop();continue;default:if(!(o=(o=f.M).length>0&&o[o.length-1])&&(6===e[0]||2===e[0])){f=0;continue}if(3===e[0]&&(!o||e[1]>o[0]&&e[1]<o[3])){f.label=e[1];break}if(6===e[0]&&f.label<o[1]){f.label=o[1],o=e;break}if(o&&f.label<o[2]){f.label=o[2],f.g.push(e);break}o[2]&&f.g.pop(),f.M.pop();continue}e=t.call(n,f)}catch(n){e=[6,n],i=0}finally{r=o=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}([e,u])}}var r,i,o,u,f={label:0,j:function(){if(1&o[0])throw o[1];return o[1]},M:[],g:[]};return u={next:e(0),throw:e(1),return:e(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u},u=this;import f from"./manifold.global.js";function applyPolyfills(n){n.k=function(){function t(){var n=setTimeout;return function(){return n(e,1)}}function e(){for(var n=0;n<b;n+=2)(0,S[n])(S[n+1]),S[n]=void 0,S[n+1]=void 0;b=0}function r(n,t){var e=this,r=new this.constructor(o);void 0===r[_]&&h(r);var i=e.A;if(i){var u=arguments[i-1];M(function(){return d(i,r,u,e.C)})}else v(e,r,n,t);return r}function i(n){if(n&&"object"==typeof n&&n.constructor===this)return n;var t=new this(o);return c(t,n),t}function o(){}function u(n){try{return n.then}catch(n){return P.error=n,P}}function f(n,t,e){t.constructor===n.constructor&&e===r&&t.constructor.resolve===i?function(n,t){t.A===T?s(n,t.C):t.A===W?l(n,t.C):v(t,void 0,function(t){return c(n,t)},function(t){return l(n,t)})}(n,t):e===P?(l(n,P.error),P.error=null):void 0===e?s(n,t):"function"==typeof e?function(n,t,e){M(function(n){var r=!1,i=function(n,t,e,r){try{n.call(t,e,r)}catch(n){return n}}(e,t,function(e){r||(r=!0,t!==e?c(n,e):s(n,e))},function(t){r||(r=!0,l(n,t))},n.S);!r&&i&&(r=!0,l(n,i))},n)}(n,t,e):s(n,t)}function c(n,t){if(n===t)l(n,new TypeError("cannot resolve promise w/ itself"));else{var e=typeof t;null===t||"object"!==e&&"function"!==e?s(n,t):f(n,t,u(t))}}function a(n){n.O&&n.O(n.C),p(n)}function s(n,t){n.A===x&&(n.C=t,n.A=T,0!==n._.length&&M(p,n))}function l(n,t){n.A===x&&(n.A=W,n.C=t,M(a,n))}function v(n,t,e,r){var i=n._,o=i.length;n.O=null,i[o]=t,i[o+T]=e,i[o+W]=r,0===o&&n.A&&M(p,n)}function p(n){var t=n._,e=n.A;if(0!==t.length){for(var r,i,o=n.C,u=0;u<t.length;u+=3)r=t[u],i=t[u+e],r?d(e,r,i,o):i(o);n._.length=0}}function d(n,t,e,r){var i="function"==typeof e,o=void 0,u=void 0,f=void 0,a=void 0;if(i){try{o=e(r)}catch(n){P.error=n,o=P}if(o===P?(a=!0,u=o.error,o.error=null):f=!0,t===o)return void l(t,new TypeError("Cannot return same promise"))}else o=r,f=!0;t.A===x&&(i&&f?c(t,o):a?l(t,u):n===T?s(t,o):n===W&&l(t,o))}function h(n){n[_]=N++,n.A=void 0,n.C=void 0,n._=[]}var y,w=Array.isArray?Array.isArray:function(n){return"[object Array]"===Object.prototype.toString.call(n)},b=0,m=void 0,g=void 0,M=function(n,t){S[b]=n,S[b+1]=t,2===(b+=2)&&(g?g(e):O())},j=(y=void 0!==n?n:void 0)||{},k=j.MutationObserver||j.WebKitMutationObserver;j="undefined"==typeof self;var $,A,E,C="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,S=Array(1e3),O=void 0;O=k?($=0,A=new k(e),E=document.createTextNode(""),A.observe(E,{characterData:!0}),function(){E.data=$=++$%2}):C?function(){var n=new MessageChannel;return n.port1.onmessage=e,function(){return n.port2.postMessage(0)}}():void 0===y&&"function"==typeof require?function(){try{var n=Function("return this")().T("vertx");return void 0!==(m=n.W||n.P)?function(){m(e)}:t()}catch(n){return t()}}():t();var _=Math.random().toString(36).substring(2),x=void 0,T=1,W=2,P={error:null},N=0,R=function(){function n(n,t){this.N=n,this.R=new n(o),this.R[_]||h(this.R),w(t)?(this.L=this.length=t.length,this.C=Array(this.length),0===this.length?s(this.R,this.C):(this.length=this.length||0,this.D(t),0===this.L&&s(this.R,this.C))):l(this.R,Error("Array Methods must be provided an Array"))}return n.prototype.D=function(n){for(var t=0;this.A===x&&t<n.length;t++)this.F(n[t],t)},n.prototype.F=function(n,t){var e=this.N,c=e.resolve;c===i?(c=u(n))===r&&n.A!==x?this.H(n.A,t,n.C):"function"!=typeof c?(this.L--,this.C[t]=n):e===L?(f(e=new e(o),n,c),this.q(e,t)):this.q(new e(function(t){return t(n)}),t):this.q(c(n),t)},n.prototype.H=function(n,t,e){var r=this.R;r.A===x&&(this.L--,n===W?l(r,e):this.C[t]=e),0===this.L&&s(r,this.C)},n.prototype.q=function(n,t){var e=this;v(n,void 0,function(n){return e.H(T,t,n)},function(n){return e.H(W,t,n)})},n}(),L=function(){function n(t){if(this[_]=N++,this.C=this.A=void 0,this._=[],o!==t){if("function"!=typeof t)throw new TypeError("Must pass a resolver fn as 1st arg");if(!(this instanceof n))throw new TypeError("Failed to construct 'Promise': Use the 'new' operator.");!function(n,t){try{t(function(t){c(n,t)},function(t){l(n,t)})}catch(t){l(n,t)}}(this,t)}}return n.prototype.catch=function(n){return this.then(null,n)},n.prototype.finally=function(n){var t=this.constructor;return this.then(function(e){return t.resolve(n()).then(function(){return e})},function(e){return t.resolve(n()).then(function(){throw e})})},n}();return L.prototype.then=r,L.all=function(n){return new R(this,n).R},L.race=function(n){var t=this;return w(n)?new t(function(e,r){for(var i=n.length,o=0;o<i;o++)t.resolve(n[o]).then(e,r)}):new t(function(n,t){return t(new TypeError("Must pass array to race"))})},L.resolve=i,L.reject=function(n){var t=new this(o);return l(t,n),t},L.U=function(n){g=n},L.B=function(n){M=n},L.I=M,L.G=function(){var n=void 0;if("undefined"!=typeof global)n=global;else if("undefined"!=typeof self)n=self;else try{n=Function("return this")()}catch(n){throw Error("polyfill failed")}var t=n.Promise;if(t){var e=null;try{e=Object.prototype.toString.call(t.resolve())}catch(n){}if("[object Promise]"===e&&!t.cast)return}n.Promise=L},L.Promise=L,L.G(),L}();var t=[];return n.customElements&&(!n.Element||n.Element.prototype.closest&&n.Element.prototype.matches&&n.Element.prototype.remove)||t.push(import("./polyfills/dom.js")),"function"==typeof Object.assign&&Object.entries||t.push(import("./polyfills/object.js")),Array.prototype.find&&Array.prototype.includes||t.push(import("./polyfills/array.js")),String.prototype.startsWith&&String.prototype.endsWith||t.push(import("./polyfills/string.js")),n.fetch||t.push(import("./polyfills/fetch.js")),"undefined"!=typeof WeakMap&&n.CSS&&n.CSS.supports&&n.CSS.supports("color","var(--c)")||t.push(import("./polyfills/css-shim.js")),function e(){try{var n=new URL("b","http://a");return n.pathname="c%20d","http://a/c%20d"===n.href&&n.searchParams}catch(n){return!1}}||t.push(import("./polyfills/url.js")),Promise.all(t).then(function(t){t.forEach(function(t){try{t.applyPolyfill(n,n.document)}catch(n){console.error(n)}})})}var c="$",a={},s={enter:13,escape:27,space:32,tab:9,left:37,up:38,right:39,down:40},l=function(t,e,r,i){var o=r.t+c,u=r[o];if((2===r.Y||1===r.Y&&!t.J.Z)&&(i["s-sc"]=u?n(r,i.mode):n(r)),u){var f=e.K.head;if(e.Z)if(1===r.Y)f=i.shadowRoot;else{var a=i.getRootNode();a.host&&(f=a)}var s=t.V.get(f);if(s||t.V.set(f,s={}),!s[o]){var l=void 0;if(t.l?l=t.l.createHostStyle(i,o,u):((l=e.X("style")).innerHTML=u,s[o]=!0),l){var v=f.querySelectorAll("[data-styles]");e.nn(f,l,v.length&&v[v.length-1].nextSibling||f.firstChild)}}}},v=function(n){return null!=n},p=function(n){return n.toLowerCase()},d=function(n){return p(n).split("-").map(function(n){return n.charAt(0).toUpperCase()+n.slice(1)}).join("")},h=function(n,t,e,r,i,o){if("class"!==e||o)if("style"===e){for(var u in r)i&&null!=i[u]||(/-/.test(u)?t.style.removeProperty(u):t.style[u]="");for(var u in i)r&&i[u]===r[u]||(/-/.test(u)?t.style.setProperty(u,i[u]):t.style[u]=i[u])}else if("o"!==e[0]||"n"!==e[1]||!/[A-Z]/.test(e[2])||e in t)if("list"!==e&&"type"!==e&&!o&&(e in t||-1!==["object","function"].indexOf(typeof i)&&null!==i)){var f=n.tn(t);f&&f.en&&f.en[e]?w(t,e,i):"ref"!==e&&(w(t,e,null==i?"":i),null!=i&&!1!==i||n.J.rn(t,e))}else null!=i&&"key"!==e?function(n,t,e,r,i){void 0===r&&(r="boolean"==typeof e),i=t!==(t=t.replace(/^xlink\:?/,"")),null==e||r&&(!e||"false"===e)?i?n.removeAttributeNS("http://www.w3.org/1999/xlink",p(t)):n.removeAttribute(t):"function"!=typeof e&&(e=r?"":e.toString(),i?n.setAttributeNS("http://www.w3.org/1999/xlink",p(t),e):n.setAttribute(t,e))}(t,e,i):(o||n.J.in(t,e)&&(null==i||!1===i))&&n.J.rn(t,e);else e=p(e)in t?p(e.substring(2)):p(e[2])+e.substring(3),i?i!==r&&n.J.on(t,e,i,0):n.J.un(t,e,0);else if(r!==i){var c=y(r),a=y(i),s=c.filter(function(n){return!a.includes(n)}),l=y(t.className).filter(function(n){return!s.includes(n)}),v=a.filter(function(n){return!c.includes(n)&&!l.includes(n)});l.push.apply(l,v),t.className=l.join(" ")}},y=function(n){return null==n||""===n?[]:n.trim().split(/\s+/)},w=function(n,t,e){try{n[t]=e}catch(n){}},b=function(n,t,e,r,i){var o=11===e.i.nodeType&&e.i.host?e.i.host:e.i,u=t&&t.vattrs||a,f=e.vattrs||a;for(i in u)f&&null!=f[i]||null==u[i]||h(n,o,i,u[i],void 0,r,e.o);for(i in f)i in u&&f[i]===("value"===i||"checked"===i?o[i]:u[i])||h(n,o,i,u[i],f[i],r,e.o)},m=!1,g=function(n,t){n&&(n.vattrs&&n.vattrs.ref&&n.vattrs.ref(t?null:n.i),n.vchildren&&n.vchildren.forEach(function(n){g(n,t)}))},M=function(n,t){var e=0,r=!1,i=function(){return t.performance.now()},o=!1!==n.asyncQueue,u=Promise.resolve(),f=[],c=[],a=[],s=[],l=function(t){return function(e){t.push(e),r||(r=!0,n.raf(d))}},v=function(n){for(var t=0;t<n.length;t++)try{n[t](i())}catch(n){console.error(n)}n.length=0},p=function(n,t){for(var e,r=0;r<n.length&&(e=i())<t;)try{n[r++](e)}catch(n){console.error(n)}r===n.length?n.length=0:0!==r&&n.splice(0,r)},d=function(){e++,v(c);var t=o?i()+7*Math.ceil(e*(1/22)):Infinity;p(a,t),p(s,t),a.length>0&&(s.push.apply(s,a),a.length=0),(r=c.length+a.length+s.length>0)?n.raf(d):e=0};return n.raf||(n.raf=t.requestAnimationFrame.bind(t)),{tick:function(n){f.push(n),1===f.length&&u.then(function(){return v(f)})},read:l(c),write:l(a)}},j=[],k={forEach:function(n,t){return n.forEach(t)},map:function(n,t){return n.map(t)}},$=function(n,t,e){var r=n[0],i=n[1],o=n[3],u=n[4],f=n[5],c={color:{fn:"color"}};if(o)for(t=0;t<o.length;t++)c[(e=o[t])[0]]={cn:e[1],an:!!e[2],fn:"string"==typeof e[3]?e[3]:e[3]?e[0]:0,sn:e[4]};return{t:r,s:i,en:Object.assign({},c),Y:u,ln:f?f.map(A):void 0}},A=function(n){return{vn:n[0],pn:n[1],dn:!!n[2],hn:!!n[3],yn:!!n[4]}},E=function(n,t){return v(t)&&"object"!=typeof t&&"function"!=typeof t?n===Boolean||4===n?"false"!==t&&(""===t||!!t):n===Number||8===n?parseFloat(t):n===String||2===n?t.toString():t:t},C=function(n,t,e){n.wn.add(t),n.bn.has(t)||(n.bn.set(t,!0),n.mn?n.queue.write(function(){return S(n,t,e)}):n.queue.tick(function(){return S(n,t,e)}))},S=function(n,r,f,c,a,s){return i(u,void 0,void 0,function(){var i,u;return o(this,function(o){switch(o.label){case 0:if(n.bn.delete(r),n.gn.has(r))return[3,12];if(a=n.Mn.get(r))return[3,6];if((s=n.jn.get(r))&&!s["s-rn"])return(s["s-rc"]=s["s-rc"]||[]).push(function(){S(n,r,f)}),[2];if(!(a=T(n,r,n.kn.get(r),f)))return[3,5];o.label=1;case 1:return o.M.push([1,4,,5]),a.componentWillLoad?[4,a.componentWillLoad()]:[3,3];case 2:o.j(),o.label=3;case 3:return[3,5];case 4:return i=o.j(),n.$n(i,3,r),[3,5];case 5:case 6:return[3,11];case 7:return o.M.push([7,10,,11]),a.componentWillUpdate?[4,a.componentWillUpdate()]:[3,9];case 8:o.j(),o.label=9;case 9:return[3,11];case 10:return u=o.j(),n.$n(u,5,r),[3,11];case 11:(function(n,r,i,o){try{var u=r.An.host,f=r.An.encapsulation,c="shadow"===f&&n.J.Z,a=i;if(c&&(a=i.shadowRoot),!i["s-rn"]){n.En(n,n.J,r,i);var s=i["s-sc"];s&&(n.J.Cn(i,t(s,!0)),"scoped"===f&&n.J.Cn(i,t(s)))}if(o.render||o.hostData||u){n.Sn=!0;var l=o.render&&o.render();n.Sn=!1;var v=e(null,void 0,l),p=n.On.get(i)||{};p.i=a,n.On.set(i,n.render(i,p,v,c,f))}n.l&&n.l.updateHost(i),i["s-rn"]=!0,i["s-rc"]&&(i["s-rc"].forEach(function(n){return n()}),i["s-rc"]=null)}catch(t){n.Sn=!1,n.$n(t,8,i,!0)}})(n,n.tn(r),r,a),r["s-init"](),o.label=12;case 12:return[2]}})})},O=function(n,t,e,r,i,o,u){(u=n._n.get(t))||n._n.set(t,u={});var f=u[e];if(r!==f&&(u[e]=r,o=n.Mn.get(t))){var c=u[x+e];if(c)for(var a=0;a<c.length;a++)try{o[c[a]].call(o,r,f,e)}catch(n){console.error(n)}!n.Sn&&t["s-rn"]&&C(n,t,i)}},_=function(n,t,e,r){Object.defineProperty(n,t,{configurable:!0,get:e,set:r})},x="wc-",T=function(n,t,e,r,i,o){try{i=new(o=n.tn(t).An),function(n,t,e,r,i,o){n.xn.set(r,e),n._n.has(e)||n._n.set(e,{}),Object.entries(Object.assign({color:{type:String}},t.properties,{mode:{type:String}})).forEach(function(t){var u=t[0],f=t[1];(function(n,t,e,r,i,o,u,f,c){if(t.type||t.state){var a=n._n.get(e);t.state||(!t.attr||void 0!==a[i]&&""!==a[i]||(f=o&&o.Tn)&&v(c=f[t.attr])&&(a[i]=E(t.type,c)),e.hasOwnProperty(i)&&(void 0===a[i]&&(a[i]=E(t.type,e[i])),"mode"!==i&&delete e[i])),r.hasOwnProperty(i)&&void 0===a[i]&&(a[i]=r[i]),t.watchCallbacks&&(a[x+i]=t.watchCallbacks.slice()),_(r,i,function s(t){return(t=n._n.get(n.xn.get(this)))&&t[i]},function l(e,r){(r=n.xn.get(this))&&(t.state||t.mutable)&&O(n,r,i,e,u)})}else t.elementRef&&(p=r,d=i,h=e,Object.defineProperty(p,d,{configurable:!0,value:h}));var p,d,h})(n,f,e,r,u,i,o)})}(n,o,t,i,e,r),function u(n,t,e){if(t){var r=n.xn.get(e);t.forEach(function(t){e[t.method]={emit:function(e){return n.Wn(r,t.name,{bubbles:t.bubbles,composed:t.composed,cancelable:t.cancelable,detail:e})}}})}}(n,o.events,i)}catch(e){i={},n.$n(e,7,t,!0)}return n.Mn.set(t,i),i},W=function(n,t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];if(1===r.nodeType){if(n.tn(r)&&!n.Pn.has(r))return!1;if(!W(n,r))return!1}}return!0},P=function(n,t,e,r,i,o){if(n.wn.delete(t),(i=n.jn.get(t))&&((r=i["s-ld"])&&((e=r.indexOf(t))>-1&&r.splice(e,1),r.length||i["s-init"]&&i["s-init"]()),n.jn.delete(t)),n.Nn.length&&!n.wn.size)for(;o=n.Nn.shift();)o()},N=function(n,t,r,i,o,u){var f=r.performance,a={html:{}},d=r[n]=r[n]||{},h=function(n,t,e){var r=new WeakMap,i={K:e,Z:!!e.documentElement.attachShadow,Rn:!1,Ln:function(n){return n.nodeType},X:function(n){return e.createElement(n)},Dn:function(n,t){return e.createElementNS(n,t)},Fn:function(n){return e.createTextNode(n)},Hn:function(n){return e.createComment(n)},nn:function(n,t,e){return n.insertBefore(t,e)},qn:function(n){return n.remove()},Un:function(n,t){return n.appendChild(t)},Cn:function(n,t){if(n.classList)n.classList.add(t);else if("svg"===n.nodeName.toLowerCase()){var e=n.getAttribute("class")||"";e.split(" ").includes(t)||(e+=" "+t),n.setAttribute("class",e.trim())}},Bn:function(n){return n.childNodes},In:function(n){return n.parentNode},Gn:function(n){return n.nextSibling},Qn:function(n){return n.previousSibling},Yn:function(n){return p(n.nodeName)},Zn:function(n){return n.textContent},zn:function(n,t){return n.textContent=t},Jn:function(n,t){return n.getAttribute(t)},Kn:function(n,t,e){return n.setAttribute(t,e)},rn:function(n,t){return n.removeAttribute(t)},in:function(n,t){return n.hasAttribute(t)},Vn:function(t){return t.getAttribute("mode")||(n.Context||{}).mode},Xn:function(n,r){return"child"===r?n.firstElementChild:"parent"===r?i.nt(n):"body"===r?e.body:"document"===r?e:"window"===r?t:n},on:function(t,e,o,u,f,c,a,l,v,p){var d=t,h=o,y=r.get(t);p=e+u,y&&y[p]&&y[p](),"string"==typeof a?d=i.Xn(t,a):"object"==typeof a?d=a:(v=e.split(":")).length>1&&(d=i.Xn(t,v[0]),e=v[1]),d&&((v=e.split(".")).length>1&&(e=v[0],h=function(n){n.keyCode===s[v[1]]&&o(n)}),l=i.Rn?{capture:!!f,passive:!!c}:!!f,n.ael(d,e,h,l),y||r.set(t,y={}),y[p]=function(){d&&n.rel(d,e,h,l),y[p]=null})},un:function(n,t,e,i){(i=r.get(n))&&(t?i[t+e]&&i[t+e]():Object.keys(i).forEach(function(n){i[n]&&i[n]()}))},tt:function(n,e,r,i){return i=new t.CustomEvent(e,r),n&&n.dispatchEvent(i),i},nt:function(n,t){return(t=i.In(n))&&11===i.Ln(t)?t.host:t},et:function(n,t,e,r){return n.setAttributeNS(t,e,r)},rt:function(n,t){return n.attachShadow(t)}};"function"!=typeof t.CustomEvent&&(t.CustomEvent=function(n,t,r){return t=t||{},(r=e.createEvent("CustomEvent")).initCustomEvent(n,t.bubbles,t.cancelable,t.detail),r},t.CustomEvent.prototype=t.Event.prototype),n.ael||(n.ael=function(n,t,e,r){return n.addEventListener(t,e,r)},n.rel=function(n,t,e,r){return n.removeEventListener(t,e,r)});try{t.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){return i.Rn=!0}}))}catch(n){}return i}(d,r,i),y=h.K.documentElement,w=r["s-defined"]=r["s-defined"]||{},j={J:h,u:function(n,t){r.customElements.get(n.t)||(function(n,t,e,r,i){if(e.connectedCallback=function(){(function(n,t,e){n.gn.delete(e),n.Pn.has(e)||(n.it=!0,n.wn.add(e),n.Pn.set(e,!0),function(n,t,e){for(e=t;e=n.J.nt(e);)if(n.ot(e)){n.ut.has(t)||(n.jn.set(t,e),(e["s-ld"]=e["s-ld"]||[]).push(t));break}}(n,e),n.queue.tick(function(){n.kn.set(e,function(n,t,e,r,i){if(e.mode||(e.mode=n.Vn(e)),e["s-cr"]||n.Jn(e,"ssrv")||n.Z&&1===t.Y||(e["s-cr"]=n.Fn(""),e["s-cr"]["s-cn"]=!0,n.nn(e,e["s-cr"],n.Bn(e)[0])),!n.Z&&1===t.Y)try{!window.HTMLElement||"shadowRoot"in window.HTMLElement.prototype||(e.shadowRoot=e)}catch(n){}return 1===t.Y&&n.Z&&!e.shadowRoot&&n.rt(e,{mode:"open"}),r={Tn:{}},t.en&&Object.keys(t.en).forEach(function(o){(i=t.en[o].fn)&&(r.Tn[i]=n.Jn(e,i))}),r}(n.J,t,e)),n.ft(t,e)}))})(n,t,this)},e.disconnectedCallback=function(){(function(n,t){if(!n.ct&&function(n,t){for(;t;){if(!n.In(t))return 9!==n.Ln(t);t=n.In(t)}}(n.J,t)){n.gn.set(t,!0),P(n,t),g(n.On.get(t),!0);var e=n.Mn.get(t);e&&e.componentDidUnload&&e.componentDidUnload(),n.J.un(t),n.at.delete(t),n.l&&n.l.removeHost(t),[n.jn,n.st,n.kn].forEach(function(n){return n.delete(t)})}})(n,this)},e["s-init"]=function(){(function(n,t,e,r,i,o,u){if(W(n,t)&&(i=n.Mn.get(t))&&!n.gn.has(t)&&(!t["s-ld"]||!t["s-ld"].length)){n.ut.set(t,!0),(u=n.lt.has(t))||(n.lt.set(t,!0),t["s-ld"]=void 0,n.J.Cn(t,e));try{g(n.On.get(t)),(o=n.st.get(t))&&(o.forEach(function(n){return n(t)}),n.st.delete(t)),u&&i.componentDidUpdate&&i.componentDidUpdate()}catch(e){n.$n(e,4,t)}P(n,t)}})(n,this,r)},e.forceUpdate=function(){C(n,this,i)},t.en){var o=Object.entries(t.en),u={};o.forEach(function(n){var t=n[0],e=n[1].fn;e&&(u[e]=t)}),u=Object.assign({},u),e.attributeChangedCallback=function(n,t,e){(function r(n,t,e,i){var o=n[p(e)];o&&(t[o]=(null!==i||"boolean"!=typeof t[o])&&i)})(u,this,n,e)},function(n,t,e,r){o.forEach(function(t){var i=t[0],o=t[1];3&o.cn&&_(e,i,function t(){return(n._n.get(this)||{})[i]},function t(e){O(n,this,i,E(o.sn,e),r)})})}(n,0,e,i)}}(j,a[n.t]=n,t.prototype,u,f),t.observedAttributes=Object.values(n.en).map(function(n){return n.fn}).filter(function(n){return!!n}),r.customElements.define(n.t,t))},tn:function(n){return a[h.Yn(n)]},vt:function(n){return t[n]},isClient:!0,ot:function(n){return!(!w[h.Yn(n)]&&!j.tn(n))},$n:function(n,t,e){return console.error(n,t,e&&e.tagName)},queue:t.queue=M(d,r),ft:function(n,t){var e=!h.Z,r={mode:t.mode,scoped:e};n.s(r).then(function(e){try{n.An=e,function r(n,t,e,i,o){if(i){var u=t.t+(o||c);t[u]||(t[u]=i)}}(0,n,n.Y,e.style,e.styleMode)}catch(t){console.error(t),n.An=function i(){}}C(j,t,f)})},Sn:!1,mn:!1,ct:!1,En:l,jn:new WeakMap,V:new WeakMap,Pn:new WeakMap,at:new WeakMap,lt:new WeakMap,ut:new WeakMap,xn:new WeakMap,kn:new WeakMap,Mn:new WeakMap,gn:new WeakMap,bn:new WeakMap,st:new WeakMap,pt:new WeakMap,On:new WeakMap,_n:new WeakMap,wn:new Set,Nn:[]};return t.isServer=t.isPrerender=!(t.isClient=!0),t.window=r,t.location=r.location,t.document=i,t.resourcesUrl=t.publicPath=o,j.Wn=t.emit=function(n,e,r){return h.tt(n,t.eventNameFn?t.eventNameFn(e):e,r)},d.h=e,d.Context=t,d.onReady=function(){return new Promise(function(n){return j.queue.write(function(){return j.wn.size?j.Nn.push(n):n()})})},j.render=function(n,t){var e,r,i,o,u,f,c,a=function(i,l,p,d,h,y,w,g,M){if(g=l.vchildren[p],e||(o=!0,"slot"===g.vtag&&(r&&t.Cn(d,r+"-s"),g.vchildren?g.dt=!0:g.ht=!0)),v(g.vtext))g.i=t.Fn(g.vtext);else if(g.ht)g.i=t.Fn("");else{if(y=g.i=m||"svg"===g.vtag?t.Dn("http://www.w3.org/2000/svg",g.vtag):t.X(g.dt?"slot-fb":g.vtag),n.ot(y)&&n.ut.delete(c),m="svg"===g.vtag||"foreignObject"!==g.vtag&&m,b(n,null,g,m),v(r)&&y["s-si"]!==r&&t.Cn(y,y["s-si"]=r),g.vchildren)for(h=0;h<g.vchildren.length;++h)(w=a(i,g,h,y))&&t.Un(y,w);"svg"===g.vtag&&(m=!1)}return g.i["s-hn"]=f,(g.dt||g.ht)&&(g.i["s-sr"]=!0,g.i["s-cr"]=u,g.i["s-sn"]=g.vname||"",(M=i&&i.vchildren&&i.vchildren[p])&&M.vtag===g.vtag&&i.i&&s(i.i)),g.i},s=function(e,r,i,u){n.ct=!0;var c=t.Bn(e);for(i=c.length-1;i>=0;i--)(u=c[i])["s-hn"]!==f&&u["s-ol"]&&(t.qn(u),t.nn(y(u),u,h(u)),t.qn(u["s-ol"]),u["s-ol"]=null,o=!0),r&&s(u,r);n.ct=!1},l=function(n,e,r,i,o,u,c,s){var l=n["s-cr"];for((c=l&&t.In(l)||n).shadowRoot&&t.Yn(c)===f&&(c=c.shadowRoot);o<=u;++o)i[o]&&(s=v(i[o].vtext)?t.Fn(i[o].vtext):a(null,r,o,n))&&(i[o].i=s,t.nn(c,s,h(e)))},p=function(n,e,r,o){for(;e<=r;++e)v(n[e])&&(o=n[e].i,i=!0,o["s-ol"]?t.qn(o["s-ol"]):s(o,!0),t.qn(o))},d=function(n,t){return n.vtag===t.vtag&&n.vkey===t.vkey&&("slot"!==n.vtag||n.vname===t.vname)},h=function(n){return n&&n["s-ol"]?n["s-ol"]:n},y=function(n){return t.In(n["s-ol"]?n["s-ol"]:n)},w=function(e,r,i){var o=r.i=e.i,u=e.vchildren,f=r.vchildren;m=r.i&&v(t.nt(r.i))&&void 0!==r.i.ownerSVGElement,m="svg"===r.vtag||"foreignObject"!==r.vtag&&m,v(r.vtext)?(i=o["s-cr"])?t.zn(t.In(i),r.vtext):e.vtext!==r.vtext&&t.zn(o,r.vtext):("slot"!==r.vtag&&b(n,e,r,m),v(u)&&v(f)?function(n,e,r,i,o,u,f,c){for(var b=0,m=0,g=e.length-1,M=e[0],j=e[g],k=i.length-1,$=i[0],A=i[k];b<=g&&m<=k;)if(null==M)M=e[++b];else if(null==j)j=e[--g];else if(null==$)$=i[++m];else if(null==A)A=i[--k];else if(d(M,$))w(M,$),M=e[++b],$=i[++m];else if(d(j,A))w(j,A),j=e[--g],A=i[--k];else if(d(M,A))"slot"!==M.vtag&&"slot"!==A.vtag||s(t.In(M.i)),w(M,A),t.nn(n,M.i,t.Gn(j.i)),M=e[++b],A=i[--k];else if(d(j,$))"slot"!==M.vtag&&"slot"!==A.vtag||s(t.In(j.i)),w(j,$),t.nn(n,j.i,M.i),j=e[--g],$=i[++m];else{for(o=null,u=b;u<=g;++u)if(e[u]&&v(e[u].vkey)&&e[u].vkey===$.vkey){o=u;break}v(o)?((c=e[o]).vtag!==$.vtag?f=a(e&&e[m],r,o,n):(w(c,$),e[o]=void 0,f=c.i),$=i[++m]):(f=a(e&&e[m],r,m,n),$=i[++m]),f&&t.nn(y(M.i),f,h(M.i))}b>g?l(n,null==i[k+1]?null:i[k+1].i,r,i,m,k):m>k&&p(e,b,g)}(o,u,r,f):v(f)?(v(e.vtext)&&t.zn(o,""),l(o,null,r,f,0,f.length-1)):v(u)&&p(u,0,u.length-1)),m&&"svg"===r.vtag&&(m=!1)},g=function(n,e,r,i,o,u,f,c){for(i=0,o=(r=t.Bn(n)).length;i<o;i++)if(e=r[i],1===t.Ln(e)){if(e["s-sr"])for(f=e["s-sn"],e.hidden=!1,u=0;u<o;u++)if(r[u]["s-hn"]!==e["s-hn"])if(c=t.Ln(r[u]),""!==f){if(1===c&&f===t.Jn(r[u],"slot")){e.hidden=!0;break}}else if(1===c||3===c&&""!==t.Zn(r[u]).trim()){e.hidden=!0;break}g(e)}},M=[],j=function(n,e,r,o,u,f,c,a,s,l){for(u=0,f=(e=t.Bn(n)).length;u<f;u++){if((r=e[u])["s-sr"]&&(o=r["s-cr"]))for(a=t.Bn(t.In(o)),s=r["s-sn"],c=a.length-1;c>=0;c--)(o=a[c])["s-cn"]||o["s-nr"]||o["s-hn"]===r["s-hn"]||((3===(l=t.Ln(o))||8===l)&&""===s||1===l&&null===t.Jn(o,"slot")&&""===s||1===l&&t.Jn(o,"slot")===s)&&(M.some(function(n){return n.yt===o})||(i=!0,o["s-sn"]=s,M.push({wt:r,yt:o})));1===t.Ln(r)&&j(r)}};return function(a,s,l,v,p,d,h,y,b,m,k,$){if(c=a,f=t.Yn(c),u=c["s-cr"],e=v,r=c["s-sc"],o=i=!1,w(s,l),o){for(j(l.i),h=0;h<M.length;h++)(y=M[h]).yt["s-ol"]||((b=t.Fn(""))["s-nr"]=y.yt,t.nn(t.In(y.yt),y.yt["s-ol"]=b,y.yt));for(n.ct=!0,h=0;h<M.length;h++){for(y=M[h],k=t.In(y.wt),$=t.Gn(y.wt),b=y.yt["s-ol"];b=t.Qn(b);)if((m=b["s-nr"])&&m&&m["s-sn"]===y.yt["s-sn"]&&k===t.In(m)&&(m=t.Gn(m))&&m&&!m["s-nr"]){$=m;break}(!$&&k!==t.In(y.yt)||t.Gn(y.yt)!==$)&&y.yt!==$&&(t.qn(y.yt),t.nn(k,y.yt,$))}n.ct=!1}return i&&g(l.i),M.length=0,l}}(j,h),y["s-ld"]=[],y["s-rn"]=!0,y["s-init"]=function(){j.ut.set(y,d.loaded=j.mn=!0),h.tt(r,"appload",{detail:{namespace:n}})},function(n,t,e,r,i,o){if(t.componentOnReady=function(t,e){if(!t.nodeName.includes("-"))return e(null),!1;var r=n.tn(t);if(r)if(n.ut.has(t))e(t);else{var i=n.st.get(t)||[];i.push(e),n.st.set(t,i)}return!!r},i){for(o=i.length-1;o>=0;o--)t.componentOnReady(i[o][0],i[o][1])&&i.splice(o,1);for(o=0;o<r.length;o++)if(!e[r[o]].componentOnReady)return;for(o=0;o<i.length;o++)i[o][1](null);i.length=0}}(j,d,r,r["s-apps"],r["s-cr"]),d.initialized=!0,j},R={},L=!1;export{r as defineCustomElement,e as h}; | ||
"./build/"+n+(t?".sc":"")+".entry.js").then(function(n){return n[e]})}("string"==typeof e?e:e[t],i,r)},t}(t),e)})}if(!R[s]){var u={},c=e.resourcesUrl||"./";f(s,u,n,i,c,o),R[s]=N(s,u,n,i,c,o,r)}if(window.customStyleShim)return R[s].l=window.customStyleShim,R[s].l.initShim().then(t);t()})}this&&this.v;var i=this&&this.p||function(n,t,e,r){return new(e||(e=Promise))(function(i,o){function u(n){try{c(r.next(n))}catch(n){o(n)}}function f(n){try{c(r.throw(n))}catch(n){o(n)}}function c(n){n.done?i(n.value):new e(function(t){t(n.value)}).then(u,f)}c((r=r.apply(n,t||[])).next())})},o=this&&this.m||function(n,t){function e(e){return function(u){return function c(e){if(r)throw new TypeError("Generator is already executing.");for(;f;)try{if(r=1,i&&(o=2&e[0]?i.return:e[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,e[1])).done)return o;switch(i=0,o&&(e=[2&e[0],o.value]),e[0]){case 0:case 1:o=e;break;case 4:return f.label++,{value:e[1],done:!1};case 5:f.label++,i=e[1],e=[0];continue;case 7:e=f.g.pop(),f.M.pop();continue;default:if(!(o=(o=f.M).length>0&&o[o.length-1])&&(6===e[0]||2===e[0])){f=0;continue}if(3===e[0]&&(!o||e[1]>o[0]&&e[1]<o[3])){f.label=e[1];break}if(6===e[0]&&f.label<o[1]){f.label=o[1],o=e;break}if(o&&f.label<o[2]){f.label=o[2],f.g.push(e);break}o[2]&&f.g.pop(),f.M.pop();continue}e=t.call(n,f)}catch(n){e=[6,n],i=0}finally{r=o=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}([e,u])}}var r,i,o,u,f={label:0,j:function(){if(1&o[0])throw o[1];return o[1]},M:[],g:[]};return u={next:e(0),throw:e(1),return:e(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u},u=this;import f from"./manifold.global.js";function applyPolyfills(n){n.k=function(){function t(){var n=setTimeout;return function(){return n(e,1)}}function e(){for(var n=0;n<b;n+=2)(0,S[n])(S[n+1]),S[n]=void 0,S[n+1]=void 0;b=0}function r(n,t){var e=this,r=new this.constructor(o);void 0===r[_]&&h(r);var i=e.A;if(i){var u=arguments[i-1];M(function(){return d(i,r,u,e.C)})}else v(e,r,n,t);return r}function i(n){if(n&&"object"==typeof n&&n.constructor===this)return n;var t=new this(o);return c(t,n),t}function o(){}function u(n){try{return n.then}catch(n){return P.error=n,P}}function f(n,t,e){t.constructor===n.constructor&&e===r&&t.constructor.resolve===i?function(n,t){t.A===T?s(n,t.C):t.A===W?l(n,t.C):v(t,void 0,function(t){return c(n,t)},function(t){return l(n,t)})}(n,t):e===P?(l(n,P.error),P.error=null):void 0===e?s(n,t):"function"==typeof e?function(n,t,e){M(function(n){var r=!1,i=function(n,t,e,r){try{n.call(t,e,r)}catch(n){return n}}(e,t,function(e){r||(r=!0,t!==e?c(n,e):s(n,e))},function(t){r||(r=!0,l(n,t))},n.S);!r&&i&&(r=!0,l(n,i))},n)}(n,t,e):s(n,t)}function c(n,t){if(n===t)l(n,new TypeError("cannot resolve promise w/ itself"));else{var e=typeof t;null===t||"object"!==e&&"function"!==e?s(n,t):f(n,t,u(t))}}function a(n){n.O&&n.O(n.C),p(n)}function s(n,t){n.A===x&&(n.C=t,n.A=T,0!==n._.length&&M(p,n))}function l(n,t){n.A===x&&(n.A=W,n.C=t,M(a,n))}function v(n,t,e,r){var i=n._,o=i.length;n.O=null,i[o]=t,i[o+T]=e,i[o+W]=r,0===o&&n.A&&M(p,n)}function p(n){var t=n._,e=n.A;if(0!==t.length){for(var r,i,o=n.C,u=0;u<t.length;u+=3)r=t[u],i=t[u+e],r?d(e,r,i,o):i(o);n._.length=0}}function d(n,t,e,r){var i="function"==typeof e,o=void 0,u=void 0,f=void 0,a=void 0;if(i){try{o=e(r)}catch(n){P.error=n,o=P}if(o===P?(a=!0,u=o.error,o.error=null):f=!0,t===o)return void l(t,new TypeError("Cannot return same promise"))}else o=r,f=!0;t.A===x&&(i&&f?c(t,o):a?l(t,u):n===T?s(t,o):n===W&&l(t,o))}function h(n){n[_]=N++,n.A=void 0,n.C=void 0,n._=[]}var y,w=Array.isArray?Array.isArray:function(n){return"[object Array]"===Object.prototype.toString.call(n)},b=0,m=void 0,g=void 0,M=function(n,t){S[b]=n,S[b+1]=t,2===(b+=2)&&(g?g(e):O())},j=(y=void 0!==n?n:void 0)||{},k=j.MutationObserver||j.WebKitMutationObserver;j="undefined"==typeof self;var $,A,E,C="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,S=Array(1e3),O=void 0;O=k?($=0,A=new k(e),E=document.createTextNode(""),A.observe(E,{characterData:!0}),function(){E.data=$=++$%2}):C?function(){var n=new MessageChannel;return n.port1.onmessage=e,function(){return n.port2.postMessage(0)}}():void 0===y&&"function"==typeof require?function(){try{var n=Function("return this")().T("vertx");return void 0!==(m=n.W||n.P)?function(){m(e)}:t()}catch(n){return t()}}():t();var _=Math.random().toString(36).substring(2),x=void 0,T=1,W=2,P={error:null},N=0,R=function(){function n(n,t){this.N=n,this.R=new n(o),this.R[_]||h(this.R),w(t)?(this.L=this.length=t.length,this.C=Array(this.length),0===this.length?s(this.R,this.C):(this.length=this.length||0,this.D(t),0===this.L&&s(this.R,this.C))):l(this.R,Error("Array Methods must be provided an Array"))}return n.prototype.D=function(n){for(var t=0;this.A===x&&t<n.length;t++)this.F(n[t],t)},n.prototype.F=function(n,t){var e=this.N,c=e.resolve;c===i?(c=u(n))===r&&n.A!==x?this.H(n.A,t,n.C):"function"!=typeof c?(this.L--,this.C[t]=n):e===L?(f(e=new e(o),n,c),this.q(e,t)):this.q(new e(function(t){return t(n)}),t):this.q(c(n),t)},n.prototype.H=function(n,t,e){var r=this.R;r.A===x&&(this.L--,n===W?l(r,e):this.C[t]=e),0===this.L&&s(r,this.C)},n.prototype.q=function(n,t){var e=this;v(n,void 0,function(n){return e.H(T,t,n)},function(n){return e.H(W,t,n)})},n}(),L=function(){function n(t){if(this[_]=N++,this.C=this.A=void 0,this._=[],o!==t){if("function"!=typeof t)throw new TypeError("Must pass a resolver fn as 1st arg");if(!(this instanceof n))throw new TypeError("Failed to construct 'Promise': Use the 'new' operator.");!function(n,t){try{t(function(t){c(n,t)},function(t){l(n,t)})}catch(t){l(n,t)}}(this,t)}}return n.prototype.catch=function(n){return this.then(null,n)},n.prototype.finally=function(n){var t=this.constructor;return this.then(function(e){return t.resolve(n()).then(function(){return e})},function(e){return t.resolve(n()).then(function(){throw e})})},n}();return L.prototype.then=r,L.all=function(n){return new R(this,n).R},L.race=function(n){var t=this;return w(n)?new t(function(e,r){for(var i=n.length,o=0;o<i;o++)t.resolve(n[o]).then(e,r)}):new t(function(n,t){return t(new TypeError("Must pass array to race"))})},L.resolve=i,L.reject=function(n){var t=new this(o);return l(t,n),t},L.U=function(n){g=n},L.B=function(n){M=n},L.I=M,L.G=function(){var n=void 0;if("undefined"!=typeof global)n=global;else if("undefined"!=typeof self)n=self;else try{n=Function("return this")()}catch(n){throw Error("polyfill failed")}var t=n.Promise;if(t){var e=null;try{e=Object.prototype.toString.call(t.resolve())}catch(n){}if("[object Promise]"===e&&!t.cast)return}n.Promise=L},L.Promise=L,L.G(),L}();var t=[];return n.customElements&&(!n.Element||n.Element.prototype.closest&&n.Element.prototype.matches&&n.Element.prototype.remove)||t.push(import("./polyfills/dom.js")),"function"==typeof Object.assign&&Object.entries||t.push(import("./polyfills/object.js")),Array.prototype.find&&Array.prototype.includes||t.push(import("./polyfills/array.js")),String.prototype.startsWith&&String.prototype.endsWith||t.push(import("./polyfills/string.js")),n.fetch||t.push(import("./polyfills/fetch.js")),"undefined"!=typeof WeakMap&&n.CSS&&n.CSS.supports&&n.CSS.supports("color","var(--c)")||t.push(import("./polyfills/css-shim.js")),function e(){try{var n=new URL("b","http://a");return n.pathname="c%20d","http://a/c%20d"===n.href&&n.searchParams}catch(n){return!1}}||t.push(import("./polyfills/url.js")),Promise.all(t).then(function(t){t.forEach(function(t){try{t.applyPolyfill(n,n.document)}catch(n){console.error(n)}})})}var c="$",a={},s={enter:13,escape:27,space:32,tab:9,left:37,up:38,right:39,down:40},l=function(t,e,r,i){var o=r.t+c,u=r[o];if((2===r.Y||1===r.Y&&!t.J.Z)&&(i["s-sc"]=u?n(r,i.mode):n(r)),u){var f=e.K.head;if(e.Z)if(1===r.Y)f=i.shadowRoot;else{var a=i.getRootNode();a.host&&(f=a)}var s=t.V.get(f);if(s||t.V.set(f,s={}),!s[o]){var l=void 0;if(t.l?l=t.l.createHostStyle(i,o,u):((l=e.X("style")).innerHTML=u,s[o]=!0),l){var v=f.querySelectorAll("[data-styles]");e.nn(f,l,v.length&&v[v.length-1].nextSibling||f.firstChild)}}}},v=function(n){return null!=n},p=function(n){return n.toLowerCase()},d=function(n){return p(n).split("-").map(function(n){return n.charAt(0).toUpperCase()+n.slice(1)}).join("")},h=function(n,t,e,r,i,o){if("class"!==e||o)if("style"===e){for(var u in r)i&&null!=i[u]||(/-/.test(u)?t.style.removeProperty(u):t.style[u]="");for(var u in i)r&&i[u]===r[u]||(/-/.test(u)?t.style.setProperty(u,i[u]):t.style[u]=i[u])}else if("o"!==e[0]||"n"!==e[1]||!/[A-Z]/.test(e[2])||e in t)if("list"!==e&&"type"!==e&&!o&&(e in t||-1!==["object","function"].indexOf(typeof i)&&null!==i)){var f=n.tn(t);f&&f.en&&f.en[e]?w(t,e,i):"ref"!==e&&(w(t,e,null==i?"":i),null!=i&&!1!==i||n.J.rn(t,e))}else null!=i&&"key"!==e?function(n,t,e,r,i){void 0===r&&(r="boolean"==typeof e),i=t!==(t=t.replace(/^xlink\:?/,"")),null==e||r&&(!e||"false"===e)?i?n.removeAttributeNS("http://www.w3.org/1999/xlink",p(t)):n.removeAttribute(t):"function"!=typeof e&&(e=r?"":e.toString(),i?n.setAttributeNS("http://www.w3.org/1999/xlink",p(t),e):n.setAttribute(t,e))}(t,e,i):(o||n.J.in(t,e)&&(null==i||!1===i))&&n.J.rn(t,e);else e=p(e)in t?p(e.substring(2)):p(e[2])+e.substring(3),i?i!==r&&n.J.on(t,e,i,0):n.J.un(t,e,0);else if(r!==i){var c=y(r),a=y(i),s=c.filter(function(n){return!a.includes(n)}),l=y(t.className).filter(function(n){return!s.includes(n)}),v=a.filter(function(n){return!c.includes(n)&&!l.includes(n)});l.push.apply(l,v),t.className=l.join(" ")}},y=function(n){return null==n||""===n?[]:n.trim().split(/\s+/)},w=function(n,t,e){try{n[t]=e}catch(n){}},b=function(n,t,e,r,i){var o=11===e.i.nodeType&&e.i.host?e.i.host:e.i,u=t&&t.vattrs||a,f=e.vattrs||a;for(i in u)f&&null!=f[i]||null==u[i]||h(n,o,i,u[i],void 0,r,e.o);for(i in f)i in u&&f[i]===("value"===i||"checked"===i?o[i]:u[i])||h(n,o,i,u[i],f[i],r,e.o)},m=!1,g=function(n,t){n&&(n.vattrs&&n.vattrs.ref&&n.vattrs.ref(t?null:n.i),n.vchildren&&n.vchildren.forEach(function(n){g(n,t)}))},M=function(n,t){var e=0,r=!1,i=function(){return t.performance.now()},o=!1!==n.asyncQueue,u=Promise.resolve(),f=[],c=[],a=[],s=[],l=function(t){return function(e){t.push(e),r||(r=!0,n.raf(d))}},v=function(n){for(var t=0;t<n.length;t++)try{n[t](i())}catch(n){console.error(n)}n.length=0},p=function(n,t){for(var e,r=0;r<n.length&&(e=i())<t;)try{n[r++](e)}catch(n){console.error(n)}r===n.length?n.length=0:0!==r&&n.splice(0,r)},d=function(){e++,v(c);var t=o?i()+7*Math.ceil(e*(1/22)):Infinity;p(a,t),p(s,t),a.length>0&&(s.push.apply(s,a),a.length=0),(r=c.length+a.length+s.length>0)?n.raf(d):e=0};return n.raf||(n.raf=t.requestAnimationFrame.bind(t)),{tick:function(n){f.push(n),1===f.length&&u.then(function(){return v(f)})},read:l(c),write:l(a)}},j=[],k={forEach:function(n,t){return n.forEach(t)},map:function(n,t){return n.map(t)}},$=function(n,t,e){var r=n[0],i=n[1],o=n[3],u=n[4],f=n[5],c={color:{fn:"color"}};if(o)for(t=0;t<o.length;t++)c[(e=o[t])[0]]={cn:e[1],an:!!e[2],fn:"string"==typeof e[3]?e[3]:e[3]?e[0]:0,sn:e[4]};return{t:r,s:i,en:Object.assign({},c),Y:u,ln:f?f.map(A):void 0}},A=function(n){return{vn:n[0],pn:n[1],dn:!!n[2],hn:!!n[3],yn:!!n[4]}},E=function(n,t){return v(t)&&"object"!=typeof t&&"function"!=typeof t?n===Boolean||4===n?"false"!==t&&(""===t||!!t):n===Number||8===n?parseFloat(t):n===String||2===n?t.toString():t:t},C=function(n,t,e){n.wn.add(t),n.bn.has(t)||(n.bn.set(t,!0),n.mn?n.queue.write(function(){return S(n,t,e)}):n.queue.tick(function(){return S(n,t,e)}))},S=function(n,r,f,c,a,s){return i(u,void 0,void 0,function(){var i,u;return o(this,function(o){switch(o.label){case 0:if(n.bn.delete(r),n.gn.has(r))return[3,12];if(a=n.Mn.get(r))return[3,6];if((s=n.jn.get(r))&&!s["s-rn"])return(s["s-rc"]=s["s-rc"]||[]).push(function(){S(n,r,f)}),[2];if(!(a=T(n,r,n.kn.get(r),f)))return[3,5];o.label=1;case 1:return o.M.push([1,4,,5]),a.componentWillLoad?[4,a.componentWillLoad()]:[3,3];case 2:o.j(),o.label=3;case 3:return[3,5];case 4:return i=o.j(),n.$n(i,3,r),[3,5];case 5:case 6:return[3,11];case 7:return o.M.push([7,10,,11]),a.componentWillUpdate?[4,a.componentWillUpdate()]:[3,9];case 8:o.j(),o.label=9;case 9:return[3,11];case 10:return u=o.j(),n.$n(u,5,r),[3,11];case 11:(function(n,r,i,o){try{var u=r.An.host,f=r.An.encapsulation,c="shadow"===f&&n.J.Z,a=i;if(c&&(a=i.shadowRoot),!i["s-rn"]){n.En(n,n.J,r,i);var s=i["s-sc"];s&&(n.J.Cn(i,t(s,!0)),"scoped"===f&&n.J.Cn(i,t(s)))}if(o.render||o.hostData||u){n.Sn=!0;var l,v=o.render&&o.render();l=o.hostData&&o.hostData(),n.Sn=!1;var p=e(null,l,v),d=n.On.get(i)||{};d.i=a,n.On.set(i,n.render(i,d,p,c,f))}n.l&&n.l.updateHost(i),i["s-rn"]=!0,i["s-rc"]&&(i["s-rc"].forEach(function(n){return n()}),i["s-rc"]=null)}catch(t){n.Sn=!1,n.$n(t,8,i,!0)}})(n,n.tn(r),r,a),r["s-init"](),o.label=12;case 12:return[2]}})})},O=function(n,t,e,r,i,o,u){(u=n._n.get(t))||n._n.set(t,u={});var f=u[e];if(r!==f&&(u[e]=r,o=n.Mn.get(t))){var c=u[x+e];if(c)for(var a=0;a<c.length;a++)try{o[c[a]].call(o,r,f,e)}catch(n){console.error(n)}!n.Sn&&t["s-rn"]&&C(n,t,i)}},_=function(n,t,e,r){Object.defineProperty(n,t,{configurable:!0,get:e,set:r})},x="wc-",T=function(n,t,e,r,i,o){try{i=new(o=n.tn(t).An),function(n,t,e,r,i,o){n.xn.set(r,e),n._n.has(e)||n._n.set(e,{}),Object.entries(Object.assign({color:{type:String}},t.properties,{mode:{type:String}})).forEach(function(t){var u=t[0],f=t[1];(function(n,t,e,r,i,o,u,f,c){if(t.type||t.state){var a=n._n.get(e);t.state||(!t.attr||void 0!==a[i]&&""!==a[i]||(f=o&&o.Tn)&&v(c=f[t.attr])&&(a[i]=E(t.type,c)),e.hasOwnProperty(i)&&(void 0===a[i]&&(a[i]=E(t.type,e[i])),"mode"!==i&&delete e[i])),r.hasOwnProperty(i)&&void 0===a[i]&&(a[i]=r[i]),t.watchCallbacks&&(a[x+i]=t.watchCallbacks.slice()),_(r,i,function s(t){return(t=n._n.get(n.xn.get(this)))&&t[i]},function l(e,r){(r=n.xn.get(this))&&(t.state||t.mutable)&&O(n,r,i,e,u)})}else t.elementRef&&(p=r,d=i,h=e,Object.defineProperty(p,d,{configurable:!0,value:h}));var p,d,h})(n,f,e,r,u,i,o)})}(n,o,t,i,e,r),function u(n,t,e){if(t){var r=n.xn.get(e);t.forEach(function(t){e[t.method]={emit:function(e){return n.Wn(r,t.name,{bubbles:t.bubbles,composed:t.composed,cancelable:t.cancelable,detail:e})}}})}}(n,o.events,i)}catch(e){i={},n.$n(e,7,t,!0)}return n.Mn.set(t,i),i},W=function(n,t){for(var e=0;e<t.childNodes.length;e++){var r=t.childNodes[e];if(1===r.nodeType){if(n.tn(r)&&!n.Pn.has(r))return!1;if(!W(n,r))return!1}}return!0},P=function(n,t,e,r,i,o){if(n.wn.delete(t),(i=n.jn.get(t))&&((r=i["s-ld"])&&((e=r.indexOf(t))>-1&&r.splice(e,1),r.length||i["s-init"]&&i["s-init"]()),n.jn.delete(t)),n.Nn.length&&!n.wn.size)for(;o=n.Nn.shift();)o()},N=function(n,t,r,i,o,u){var f=r.performance,a={html:{}},d=r[n]=r[n]||{},h=function(n,t,e){var r=new WeakMap,i={K:e,Z:!!e.documentElement.attachShadow,Rn:!1,Ln:function(n){return n.nodeType},X:function(n){return e.createElement(n)},Dn:function(n,t){return e.createElementNS(n,t)},Fn:function(n){return e.createTextNode(n)},Hn:function(n){return e.createComment(n)},nn:function(n,t,e){return n.insertBefore(t,e)},qn:function(n){return n.remove()},Un:function(n,t){return n.appendChild(t)},Cn:function(n,t){if(n.classList)n.classList.add(t);else if("svg"===n.nodeName.toLowerCase()){var e=n.getAttribute("class")||"";e.split(" ").includes(t)||(e+=" "+t),n.setAttribute("class",e.trim())}},Bn:function(n){return n.childNodes},In:function(n){return n.parentNode},Gn:function(n){return n.nextSibling},Qn:function(n){return n.previousSibling},Yn:function(n){return p(n.nodeName)},Zn:function(n){return n.textContent},zn:function(n,t){return n.textContent=t},Jn:function(n,t){return n.getAttribute(t)},Kn:function(n,t,e){return n.setAttribute(t,e)},rn:function(n,t){return n.removeAttribute(t)},in:function(n,t){return n.hasAttribute(t)},Vn:function(t){return t.getAttribute("mode")||(n.Context||{}).mode},Xn:function(n,r){return"child"===r?n.firstElementChild:"parent"===r?i.nt(n):"body"===r?e.body:"document"===r?e:"window"===r?t:n},on:function(t,e,o,u,f,c,a,l,v,p){var d=t,h=o,y=r.get(t);p=e+u,y&&y[p]&&y[p](),"string"==typeof a?d=i.Xn(t,a):"object"==typeof a?d=a:(v=e.split(":")).length>1&&(d=i.Xn(t,v[0]),e=v[1]),d&&((v=e.split(".")).length>1&&(e=v[0],h=function(n){n.keyCode===s[v[1]]&&o(n)}),l=i.Rn?{capture:!!f,passive:!!c}:!!f,n.ael(d,e,h,l),y||r.set(t,y={}),y[p]=function(){d&&n.rel(d,e,h,l),y[p]=null})},un:function(n,t,e,i){(i=r.get(n))&&(t?i[t+e]&&i[t+e]():Object.keys(i).forEach(function(n){i[n]&&i[n]()}))},tt:function(n,e,r,i){return i=new t.CustomEvent(e,r),n&&n.dispatchEvent(i),i},nt:function(n,t){return(t=i.In(n))&&11===i.Ln(t)?t.host:t},et:function(n,t,e,r){return n.setAttributeNS(t,e,r)},rt:function(n,t){return n.attachShadow(t)}};"function"!=typeof t.CustomEvent&&(t.CustomEvent=function(n,t,r){return t=t||{},(r=e.createEvent("CustomEvent")).initCustomEvent(n,t.bubbles,t.cancelable,t.detail),r},t.CustomEvent.prototype=t.Event.prototype),n.ael||(n.ael=function(n,t,e,r){return n.addEventListener(t,e,r)},n.rel=function(n,t,e,r){return n.removeEventListener(t,e,r)});try{t.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){return i.Rn=!0}}))}catch(n){}return i}(d,r,i),y=h.K.documentElement,w=r["s-defined"]=r["s-defined"]||{},j={J:h,u:function(n,t){r.customElements.get(n.t)||(function(n,t,e,r,i){if(e.connectedCallback=function(){(function(n,t,e){n.gn.delete(e),n.Pn.has(e)||(n.it=!0,n.wn.add(e),n.Pn.set(e,!0),function(n,t,e){for(e=t;e=n.J.nt(e);)if(n.ot(e)){n.ut.has(t)||(n.jn.set(t,e),(e["s-ld"]=e["s-ld"]||[]).push(t));break}}(n,e),n.queue.tick(function(){n.kn.set(e,function(n,t,e,r,i){if(e.mode||(e.mode=n.Vn(e)),e["s-cr"]||n.Jn(e,"ssrv")||n.Z&&1===t.Y||(e["s-cr"]=n.Fn(""),e["s-cr"]["s-cn"]=!0,n.nn(e,e["s-cr"],n.Bn(e)[0])),!n.Z&&1===t.Y)try{!window.HTMLElement||"shadowRoot"in window.HTMLElement.prototype||(e.shadowRoot=e)}catch(n){}return 1===t.Y&&n.Z&&!e.shadowRoot&&n.rt(e,{mode:"open"}),r={Tn:{}},t.en&&Object.keys(t.en).forEach(function(o){(i=t.en[o].fn)&&(r.Tn[i]=n.Jn(e,i))}),r}(n.J,t,e)),n.ft(t,e)}))})(n,t,this)},e.disconnectedCallback=function(){(function(n,t){if(!n.ct&&function(n,t){for(;t;){if(!n.In(t))return 9!==n.Ln(t);t=n.In(t)}}(n.J,t)){n.gn.set(t,!0),P(n,t),g(n.On.get(t),!0);var e=n.Mn.get(t);e&&e.componentDidUnload&&e.componentDidUnload(),n.J.un(t),n.at.delete(t),n.l&&n.l.removeHost(t),[n.jn,n.st,n.kn].forEach(function(n){return n.delete(t)})}})(n,this)},e["s-init"]=function(){(function(n,t,e,r,i,o,u){if(W(n,t)&&(i=n.Mn.get(t))&&!n.gn.has(t)&&(!t["s-ld"]||!t["s-ld"].length)){n.ut.set(t,!0),(u=n.lt.has(t))||(n.lt.set(t,!0),t["s-ld"]=void 0,n.J.Cn(t,e));try{g(n.On.get(t)),(o=n.st.get(t))&&(o.forEach(function(n){return n(t)}),n.st.delete(t)),!u&&i.componentDidLoad?i.componentDidLoad():u&&i.componentDidUpdate&&i.componentDidUpdate()}catch(e){n.$n(e,4,t)}P(n,t)}})(n,this,r)},e.forceUpdate=function(){C(n,this,i)},t.en){var o=Object.entries(t.en),u={};o.forEach(function(n){var t=n[0],e=n[1].fn;e&&(u[e]=t)}),u=Object.assign({},u),e.attributeChangedCallback=function(n,t,e){(function r(n,t,e,i){var o=n[p(e)];o&&(t[o]=(null!==i||"boolean"!=typeof t[o])&&i)})(u,this,n,e)},function(n,t,e,r){o.forEach(function(t){var i=t[0],o=t[1];3&o.cn&&_(e,i,function t(){return(n._n.get(this)||{})[i]},function t(e){O(n,this,i,E(o.sn,e),r)})})}(n,0,e,i)}}(j,a[n.t]=n,t.prototype,u,f),t.observedAttributes=Object.values(n.en).map(function(n){return n.fn}).filter(function(n){return!!n}),r.customElements.define(n.t,t))},tn:function(n){return a[h.Yn(n)]},vt:function(n){return t[n]},isClient:!0,ot:function(n){return!(!w[h.Yn(n)]&&!j.tn(n))},$n:function(n,t,e){return console.error(n,t,e&&e.tagName)},queue:t.queue=M(d,r),ft:function(n,t){var e=!h.Z,r={mode:t.mode,scoped:e};n.s(r).then(function(e){try{n.An=e,function r(n,t,e,i,o){if(i){var u=t.t+(o||c);t[u]||(t[u]=i)}}(0,n,n.Y,e.style,e.styleMode)}catch(t){console.error(t),n.An=function i(){}}C(j,t,f)})},Sn:!1,mn:!1,ct:!1,En:l,jn:new WeakMap,V:new WeakMap,Pn:new WeakMap,at:new WeakMap,lt:new WeakMap,ut:new WeakMap,xn:new WeakMap,kn:new WeakMap,Mn:new WeakMap,gn:new WeakMap,bn:new WeakMap,st:new WeakMap,pt:new WeakMap,On:new WeakMap,_n:new WeakMap,wn:new Set,Nn:[]};return t.isServer=t.isPrerender=!(t.isClient=!0),t.window=r,t.location=r.location,t.document=i,t.resourcesUrl=t.publicPath=o,j.Wn=t.emit=function(n,e,r){return h.tt(n,t.eventNameFn?t.eventNameFn(e):e,r)},d.h=e,d.Context=t,d.onReady=function(){return new Promise(function(n){return j.queue.write(function(){return j.wn.size?j.Nn.push(n):n()})})},j.render=function(n,t){var e,r,i,o,u,f,c,a=function(i,l,p,d,h,y,w,g,M){if(g=l.vchildren[p],e||(o=!0,"slot"===g.vtag&&(r&&t.Cn(d,r+"-s"),g.vchildren?g.dt=!0:g.ht=!0)),v(g.vtext))g.i=t.Fn(g.vtext);else if(g.ht)g.i=t.Fn("");else{if(y=g.i=m||"svg"===g.vtag?t.Dn("http://www.w3.org/2000/svg",g.vtag):t.X(g.dt?"slot-fb":g.vtag),n.ot(y)&&n.ut.delete(c),m="svg"===g.vtag||"foreignObject"!==g.vtag&&m,b(n,null,g,m),v(r)&&y["s-si"]!==r&&t.Cn(y,y["s-si"]=r),g.vchildren)for(h=0;h<g.vchildren.length;++h)(w=a(i,g,h,y))&&t.Un(y,w);"svg"===g.vtag&&(m=!1)}return g.i["s-hn"]=f,(g.dt||g.ht)&&(g.i["s-sr"]=!0,g.i["s-cr"]=u,g.i["s-sn"]=g.vname||"",(M=i&&i.vchildren&&i.vchildren[p])&&M.vtag===g.vtag&&i.i&&s(i.i)),g.i},s=function(e,r,i,u){n.ct=!0;var c=t.Bn(e);for(i=c.length-1;i>=0;i--)(u=c[i])["s-hn"]!==f&&u["s-ol"]&&(t.qn(u),t.nn(y(u),u,h(u)),t.qn(u["s-ol"]),u["s-ol"]=null,o=!0),r&&s(u,r);n.ct=!1},l=function(n,e,r,i,o,u,c,s){var l=n["s-cr"];for((c=l&&t.In(l)||n).shadowRoot&&t.Yn(c)===f&&(c=c.shadowRoot);o<=u;++o)i[o]&&(s=v(i[o].vtext)?t.Fn(i[o].vtext):a(null,r,o,n))&&(i[o].i=s,t.nn(c,s,h(e)))},p=function(n,e,r,o){for(;e<=r;++e)v(n[e])&&(o=n[e].i,i=!0,o["s-ol"]?t.qn(o["s-ol"]):s(o,!0),t.qn(o))},d=function(n,t){return n.vtag===t.vtag&&n.vkey===t.vkey&&("slot"!==n.vtag||n.vname===t.vname)},h=function(n){return n&&n["s-ol"]?n["s-ol"]:n},y=function(n){return t.In(n["s-ol"]?n["s-ol"]:n)},w=function(e,r,i){var o=r.i=e.i,u=e.vchildren,f=r.vchildren;m=r.i&&v(t.nt(r.i))&&void 0!==r.i.ownerSVGElement,m="svg"===r.vtag||"foreignObject"!==r.vtag&&m,v(r.vtext)?(i=o["s-cr"])?t.zn(t.In(i),r.vtext):e.vtext!==r.vtext&&t.zn(o,r.vtext):("slot"!==r.vtag&&b(n,e,r,m),v(u)&&v(f)?function(n,e,r,i,o,u,f,c){for(var b=0,m=0,g=e.length-1,M=e[0],j=e[g],k=i.length-1,$=i[0],A=i[k];b<=g&&m<=k;)if(null==M)M=e[++b];else if(null==j)j=e[--g];else if(null==$)$=i[++m];else if(null==A)A=i[--k];else if(d(M,$))w(M,$),M=e[++b],$=i[++m];else if(d(j,A))w(j,A),j=e[--g],A=i[--k];else if(d(M,A))"slot"!==M.vtag&&"slot"!==A.vtag||s(t.In(M.i)),w(M,A),t.nn(n,M.i,t.Gn(j.i)),M=e[++b],A=i[--k];else if(d(j,$))"slot"!==M.vtag&&"slot"!==A.vtag||s(t.In(j.i)),w(j,$),t.nn(n,j.i,M.i),j=e[--g],$=i[++m];else{for(o=null,u=b;u<=g;++u)if(e[u]&&v(e[u].vkey)&&e[u].vkey===$.vkey){o=u;break}v(o)?((c=e[o]).vtag!==$.vtag?f=a(e&&e[m],r,o,n):(w(c,$),e[o]=void 0,f=c.i),$=i[++m]):(f=a(e&&e[m],r,m,n),$=i[++m]),f&&t.nn(y(M.i),f,h(M.i))}b>g?l(n,null==i[k+1]?null:i[k+1].i,r,i,m,k):m>k&&p(e,b,g)}(o,u,r,f):v(f)?(v(e.vtext)&&t.zn(o,""),l(o,null,r,f,0,f.length-1)):v(u)&&p(u,0,u.length-1)),m&&"svg"===r.vtag&&(m=!1)},g=function(n,e,r,i,o,u,f,c){for(i=0,o=(r=t.Bn(n)).length;i<o;i++)if(e=r[i],1===t.Ln(e)){if(e["s-sr"])for(f=e["s-sn"],e.hidden=!1,u=0;u<o;u++)if(r[u]["s-hn"]!==e["s-hn"])if(c=t.Ln(r[u]),""!==f){if(1===c&&f===t.Jn(r[u],"slot")){e.hidden=!0;break}}else if(1===c||3===c&&""!==t.Zn(r[u]).trim()){e.hidden=!0;break}g(e)}},M=[],j=function(n,e,r,o,u,f,c,a,s,l){for(u=0,f=(e=t.Bn(n)).length;u<f;u++){if((r=e[u])["s-sr"]&&(o=r["s-cr"]))for(a=t.Bn(t.In(o)),s=r["s-sn"],c=a.length-1;c>=0;c--)(o=a[c])["s-cn"]||o["s-nr"]||o["s-hn"]===r["s-hn"]||((3===(l=t.Ln(o))||8===l)&&""===s||1===l&&null===t.Jn(o,"slot")&&""===s||1===l&&t.Jn(o,"slot")===s)&&(M.some(function(n){return n.yt===o})||(i=!0,o["s-sn"]=s,M.push({wt:r,yt:o})));1===t.Ln(r)&&j(r)}};return function(a,s,l,v,p,d,h,y,b,m,k,$){if(c=a,f=t.Yn(c),u=c["s-cr"],e=v,r=c["s-sc"],o=i=!1,w(s,l),o){for(j(l.i),h=0;h<M.length;h++)(y=M[h]).yt["s-ol"]||((b=t.Fn(""))["s-nr"]=y.yt,t.nn(t.In(y.yt),y.yt["s-ol"]=b,y.yt));for(n.ct=!0,h=0;h<M.length;h++){for(y=M[h],k=t.In(y.wt),$=t.Gn(y.wt),b=y.yt["s-ol"];b=t.Qn(b);)if((m=b["s-nr"])&&m&&m["s-sn"]===y.yt["s-sn"]&&k===t.In(m)&&(m=t.Gn(m))&&m&&!m["s-nr"]){$=m;break}(!$&&k!==t.In(y.yt)||t.Gn(y.yt)!==$)&&y.yt!==$&&(t.qn(y.yt),t.nn(k,y.yt,$))}n.ct=!1}return i&&g(l.i),M.length=0,l}}(j,h),y["s-ld"]=[],y["s-rn"]=!0,y["s-init"]=function(){j.ut.set(y,d.loaded=j.mn=!0),h.tt(r,"appload",{detail:{namespace:n}})},function(n,t,e,r,i,o){if(t.componentOnReady=function(t,e){if(!t.nodeName.includes("-"))return e(null),!1;var r=n.tn(t);if(r)if(n.ut.has(t))e(t);else{var i=n.st.get(t)||[];i.push(e),n.st.set(t,i)}return!!r},i){for(o=i.length-1;o>=0;o--)t.componentOnReady(i[o][0],i[o][1])&&i.splice(o,1);for(o=0;o<r.length;o++)if(!e[r[o]].componentOnReady)return;for(o=0;o<i.length;o++)i[o][1](null);i.length=0}}(j,d,r,r["s-apps"],r["s-cr"]),d.initialized=!0,j},R={},L=!1;export{r as defineCustomElement,e as h}; |
@@ -1,1 +0,1 @@ | ||
!function(e,t,n,o,i,a,r,l,d,s,c,m,f,u){for(c=e.manifold=e.manifold||{},(m=t.createElement("style")).innerHTML=d+"{visibility:hidden}.hydrated{visibility:inherit}",m.setAttribute("data-styles",""),f=t.head.querySelector("meta[charset]"),t.head.insertBefore(m,f?f.nextSibling:t.head.firstChild),function(e,t,n){(e["s-apps"]=e["s-apps"]||[]).push("manifold"),n.componentOnReady||(n.componentOnReady=function(){var t=this;function n(n){if(t.nodeName.indexOf("-")>0){for(var o=e["s-apps"],i=0,a=0;a<o.length;a++)if(e[o[a]].componentOnReady){if(e[o[a]].componentOnReady(t,n))return;i++}if(i<o.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,n])}n(null)}return e.Promise?new e.Promise(n):{then:n}})}(e,0,s),i=i||c.resourcesUrl,m=(f=t.querySelectorAll("script")).length-1;m>=0&&!(u=f[m]).src&&!u.hasAttribute("data-resources-url");m--);f=u.getAttribute("data-resources-url"),!i&&f&&(i=f),!i&&u.src&&(i=(f=u.src.split("/").slice(0,-1)).join("/")+(f.length?"/":"")+"manifold/"),m=t.createElement("script"),function(e,t,n,o){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in n)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,m)?m.src=i+"manifold.86mwy6sc.js":(m.src=i+"manifold.86opd3y5.js",m.setAttribute("type","module"),m.setAttribute("crossorigin",!0)),m.setAttribute("data-resources-url",i),m.setAttribute("data-namespace","manifold"),t.head.appendChild(m)}(window,document,0,0,0,0,0,0,"context-consumer,manifold-active-plan,manifold-badge,manifold-connection,manifold-cost-display,manifold-data-product-logo,manifold-data-product-name,manifold-featured-service,manifold-icon,manifold-image-gallery,manifold-lazy-image,manifold-link-button,manifold-marketplace,manifold-marketplace-results,manifold-number-input,manifold-plan-cost,manifold-plan-details,manifold-plan-menu,manifold-plan-selector,manifold-product,manifold-product-details,manifold-product-page,manifold-select,manifold-service-card,manifold-service-category,manifold-service-grid,manifold-services-tunnel,manifold-sorted-categories,manifold-toggle,manifold-tooltip",HTMLElement.prototype); | ||
!function(e,t,n,o,i,a,r,l,d,s,c,m,f,u){for(c=e.manifold=e.manifold||{},(m=t.createElement("style")).innerHTML=d+"{visibility:hidden}.hydrated{visibility:inherit}",m.setAttribute("data-styles",""),f=t.head.querySelector("meta[charset]"),t.head.insertBefore(m,f?f.nextSibling:t.head.firstChild),function(e,t,n){(e["s-apps"]=e["s-apps"]||[]).push("manifold"),n.componentOnReady||(n.componentOnReady=function(){var t=this;function n(n){if(t.nodeName.indexOf("-")>0){for(var o=e["s-apps"],i=0,a=0;a<o.length;a++)if(e[o[a]].componentOnReady){if(e[o[a]].componentOnReady(t,n))return;i++}if(i<o.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,n])}n(null)}return e.Promise?new e.Promise(n):{then:n}})}(e,0,s),i=i||c.resourcesUrl,m=(f=t.querySelectorAll("script")).length-1;m>=0&&!(u=f[m]).src&&!u.hasAttribute("data-resources-url");m--);f=u.getAttribute("data-resources-url"),!i&&f&&(i=f),!i&&u.src&&(i=(f=u.src.split("/").slice(0,-1)).join("/")+(f.length?"/":"")+"manifold/"),m=t.createElement("script"),function(e,t,n,o){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in n)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,m)?m.src=i+"manifold.x9vzhnpg.js":(m.src=i+"manifold.dc6pndcw.js",m.setAttribute("type","module"),m.setAttribute("crossorigin",!0)),m.setAttribute("data-resources-url",i),m.setAttribute("data-namespace","manifold"),t.head.appendChild(m)}(window,document,0,0,0,0,0,0,"context-consumer,manifold-active-plan,manifold-badge,manifold-connection,manifold-cost-display,manifold-data-product-logo,manifold-data-product-name,manifold-featured-service,manifold-icon,manifold-image-gallery,manifold-lazy-image,manifold-link-button,manifold-marketplace,manifold-marketplace-grid,manifold-number-input,manifold-plan-cost,manifold-plan-details,manifold-plan-menu,manifold-plan-selector,manifold-product,manifold-product-details,manifold-product-page,manifold-select,manifold-service-card,manifold-template-card,manifold-toast,manifold-toggle,manifold-tooltip",HTMLElement.prototype); |
@@ -15,5 +15,2 @@ /* tslint:disable */ | ||
import { | ||
UserFeatures, | ||
} from 'types/UserFeatures'; | ||
import { | ||
Option, | ||
@@ -198,11 +195,19 @@ } from 'types/Select'; | ||
interface ManifoldMarketplaceResults { | ||
'featured'?: string; | ||
interface ManifoldMarketplaceGrid { | ||
'blacklist'?: string[]; | ||
'featured'?: string[]; | ||
'hideCategories'?: boolean; | ||
'hideTemplates'?: boolean; | ||
'linkFormat'?: string; | ||
'services': Catalog.Product[]; | ||
'services'?: Catalog.Product[]; | ||
'whitelist'?: string[]; | ||
} | ||
interface ManifoldMarketplaceResultsAttributes extends StencilHTMLAttributes { | ||
'featured'?: string; | ||
interface ManifoldMarketplaceGridAttributes extends StencilHTMLAttributes { | ||
'blacklist'?: string[]; | ||
'featured'?: string[]; | ||
'hideCategories'?: boolean; | ||
'hideTemplates'?: boolean; | ||
'linkFormat'?: string; | ||
'services'?: Catalog.Product[]; | ||
'whitelist'?: string[]; | ||
} | ||
@@ -212,2 +217,6 @@ | ||
/** | ||
* Comma-separated list of hidden products (labels) | ||
*/ | ||
'blacklist'?: string; | ||
/** | ||
* _(hidden)_ Passed by `<manifold-connection>` | ||
@@ -217,12 +226,28 @@ */ | ||
/** | ||
* _(optional)_ Comma-separated list of featured products (labels) | ||
* Comma-separated list of featured products (labels) | ||
*/ | ||
'featured'?: string; | ||
/** | ||
* _(optional)_ Link format structure, with `:product` placeholder | ||
* Hide categories & side menu? | ||
*/ | ||
'hideCategories'?: boolean; | ||
/** | ||
* Hide template cards? | ||
*/ | ||
'hideTemplates'?: boolean; | ||
/** | ||
* Link format structure, with `:product` placeholder | ||
*/ | ||
'linkFormat'?: string; | ||
/** | ||
* Comma-separated list of allowed products (labels) | ||
*/ | ||
'whitelist'?: string; | ||
} | ||
interface ManifoldMarketplaceAttributes extends StencilHTMLAttributes { | ||
/** | ||
* Comma-separated list of hidden products (labels) | ||
*/ | ||
'blacklist'?: string; | ||
/** | ||
* _(hidden)_ Passed by `<manifold-connection>` | ||
@@ -232,9 +257,21 @@ */ | ||
/** | ||
* _(optional)_ Comma-separated list of featured products (labels) | ||
* Comma-separated list of featured products (labels) | ||
*/ | ||
'featured'?: string; | ||
/** | ||
* _(optional)_ Link format structure, with `:product` placeholder | ||
* Hide categories & side menu? | ||
*/ | ||
'hideCategories'?: boolean; | ||
/** | ||
* Hide template cards? | ||
*/ | ||
'hideTemplates'?: boolean; | ||
/** | ||
* Link format structure, with `:product` placeholder | ||
*/ | ||
'linkFormat'?: string; | ||
/** | ||
* Comma-separated list of allowed products (labels) | ||
*/ | ||
'whitelist'?: string; | ||
} | ||
@@ -294,4 +331,5 @@ | ||
'linkFormat'?: string; | ||
'onManifold-planCTA-click'?: (event: CustomEvent) => void; | ||
'onManifold-planUpdated'?: (event: CustomEvent) => void; | ||
'onManifold-planSelector-change'?: (event: CustomEvent) => void; | ||
'onManifold-planSelector-click'?: (event: CustomEvent) => void; | ||
'onManifold-planSelector-load'?: (event: CustomEvent) => void; | ||
'plan'?: Catalog.ExpandedPlan; | ||
@@ -432,3 +470,2 @@ 'product'?: Catalog.Product; | ||
'description'?: string; | ||
'isCustom'?: boolean; | ||
'isFeatured'?: boolean; | ||
@@ -444,3 +481,2 @@ 'label'?: string; | ||
'description'?: string; | ||
'isCustom'?: boolean; | ||
'isFeatured'?: boolean; | ||
@@ -451,40 +487,43 @@ 'label'?: string; | ||
'name'?: string; | ||
'onManifold-serviceCard-click'?: (event: CustomEvent) => void; | ||
'onManifold-marketplace-click'?: (event: CustomEvent) => void; | ||
'productId'?: string; | ||
} | ||
interface ManifoldServiceCategory { | ||
'categoryLoaded'?: (el?: HTMLElement) => void; | ||
'icon'?: string; | ||
'label': string; | ||
'name': string; | ||
'tagline'?: string; | ||
} | ||
interface ManifoldServiceCategoryAttributes extends StencilHTMLAttributes { | ||
'categoryLoaded'?: (el?: HTMLElement) => void; | ||
'icon'?: string; | ||
'label'?: string; | ||
'name'?: string; | ||
'tagline'?: string; | ||
} | ||
interface ManifoldServiceGrid {} | ||
interface ManifoldServiceGridAttributes extends StencilHTMLAttributes {} | ||
interface ManifoldServicesTunnel { | ||
'featured'?: string; | ||
interface ManifoldTemplateCard { | ||
'category': string; | ||
'linkFormat'?: string; | ||
'services': Catalog.Product[]; | ||
} | ||
interface ManifoldServicesTunnelAttributes extends StencilHTMLAttributes { | ||
'featured'?: string; | ||
interface ManifoldTemplateCardAttributes extends StencilHTMLAttributes { | ||
'category'?: string; | ||
'linkFormat'?: string; | ||
'services'?: Catalog.Product[]; | ||
'onManifold-template-click'?: (event: CustomEvent) => void; | ||
} | ||
interface ManifoldSortedCategories { | ||
'observeCategory': (el?: HTMLElement) => void; | ||
interface ManifoldToast { | ||
/** | ||
* `success` | `warning` | `error` | ||
*/ | ||
'alertType'?: 'success' | 'warning' | 'error' | undefined; | ||
/** | ||
* Is this dismissable? | ||
*/ | ||
'dismissable'?: boolean; | ||
/** | ||
* Use custom icon path data (1024×1024) | ||
*/ | ||
'icon'?: string; | ||
} | ||
interface ManifoldSortedCategoriesAttributes extends StencilHTMLAttributes { | ||
'observeCategory'?: (el?: HTMLElement) => void; | ||
interface ManifoldToastAttributes extends StencilHTMLAttributes { | ||
/** | ||
* `success` | `warning` | `error` | ||
*/ | ||
'alertType'?: 'success' | 'warning' | 'error' | undefined; | ||
/** | ||
* Is this dismissable? | ||
*/ | ||
'dismissable'?: boolean; | ||
/** | ||
* Use custom icon path data (1024×1024) | ||
*/ | ||
'icon'?: string; | ||
} | ||
@@ -529,3 +568,3 @@ | ||
'ManifoldLinkButton': Components.ManifoldLinkButton; | ||
'ManifoldMarketplaceResults': Components.ManifoldMarketplaceResults; | ||
'ManifoldMarketplaceGrid': Components.ManifoldMarketplaceGrid; | ||
'ManifoldMarketplace': Components.ManifoldMarketplace; | ||
@@ -542,6 +581,4 @@ 'ManifoldNumberInput': Components.ManifoldNumberInput; | ||
'ManifoldServiceCard': Components.ManifoldServiceCard; | ||
'ManifoldServiceCategory': Components.ManifoldServiceCategory; | ||
'ManifoldServiceGrid': Components.ManifoldServiceGrid; | ||
'ManifoldServicesTunnel': Components.ManifoldServicesTunnel; | ||
'ManifoldSortedCategories': Components.ManifoldSortedCategories; | ||
'ManifoldTemplateCard': Components.ManifoldTemplateCard; | ||
'ManifoldToast': Components.ManifoldToast; | ||
'ManifoldToggle': Components.ManifoldToggle; | ||
@@ -563,3 +600,3 @@ 'ManifoldTooltip': Components.ManifoldTooltip; | ||
'manifold-link-button': Components.ManifoldLinkButtonAttributes; | ||
'manifold-marketplace-results': Components.ManifoldMarketplaceResultsAttributes; | ||
'manifold-marketplace-grid': Components.ManifoldMarketplaceGridAttributes; | ||
'manifold-marketplace': Components.ManifoldMarketplaceAttributes; | ||
@@ -576,6 +613,4 @@ 'manifold-number-input': Components.ManifoldNumberInputAttributes; | ||
'manifold-service-card': Components.ManifoldServiceCardAttributes; | ||
'manifold-service-category': Components.ManifoldServiceCategoryAttributes; | ||
'manifold-service-grid': Components.ManifoldServiceGridAttributes; | ||
'manifold-services-tunnel': Components.ManifoldServicesTunnelAttributes; | ||
'manifold-sorted-categories': Components.ManifoldSortedCategoriesAttributes; | ||
'manifold-template-card': Components.ManifoldTemplateCardAttributes; | ||
'manifold-toast': Components.ManifoldToastAttributes; | ||
'manifold-toggle': Components.ManifoldToggleAttributes; | ||
@@ -652,6 +687,6 @@ 'manifold-tooltip': Components.ManifoldTooltipAttributes; | ||
interface HTMLManifoldMarketplaceResultsElement extends Components.ManifoldMarketplaceResults, HTMLStencilElement {} | ||
var HTMLManifoldMarketplaceResultsElement: { | ||
prototype: HTMLManifoldMarketplaceResultsElement; | ||
new (): HTMLManifoldMarketplaceResultsElement; | ||
interface HTMLManifoldMarketplaceGridElement extends Components.ManifoldMarketplaceGrid, HTMLStencilElement {} | ||
var HTMLManifoldMarketplaceGridElement: { | ||
prototype: HTMLManifoldMarketplaceGridElement; | ||
new (): HTMLManifoldMarketplaceGridElement; | ||
}; | ||
@@ -725,26 +760,14 @@ | ||
interface HTMLManifoldServiceCategoryElement extends Components.ManifoldServiceCategory, HTMLStencilElement {} | ||
var HTMLManifoldServiceCategoryElement: { | ||
prototype: HTMLManifoldServiceCategoryElement; | ||
new (): HTMLManifoldServiceCategoryElement; | ||
interface HTMLManifoldTemplateCardElement extends Components.ManifoldTemplateCard, HTMLStencilElement {} | ||
var HTMLManifoldTemplateCardElement: { | ||
prototype: HTMLManifoldTemplateCardElement; | ||
new (): HTMLManifoldTemplateCardElement; | ||
}; | ||
interface HTMLManifoldServiceGridElement extends Components.ManifoldServiceGrid, HTMLStencilElement {} | ||
var HTMLManifoldServiceGridElement: { | ||
prototype: HTMLManifoldServiceGridElement; | ||
new (): HTMLManifoldServiceGridElement; | ||
interface HTMLManifoldToastElement extends Components.ManifoldToast, HTMLStencilElement {} | ||
var HTMLManifoldToastElement: { | ||
prototype: HTMLManifoldToastElement; | ||
new (): HTMLManifoldToastElement; | ||
}; | ||
interface HTMLManifoldServicesTunnelElement extends Components.ManifoldServicesTunnel, HTMLStencilElement {} | ||
var HTMLManifoldServicesTunnelElement: { | ||
prototype: HTMLManifoldServicesTunnelElement; | ||
new (): HTMLManifoldServicesTunnelElement; | ||
}; | ||
interface HTMLManifoldSortedCategoriesElement extends Components.ManifoldSortedCategories, HTMLStencilElement {} | ||
var HTMLManifoldSortedCategoriesElement: { | ||
prototype: HTMLManifoldSortedCategoriesElement; | ||
new (): HTMLManifoldSortedCategoriesElement; | ||
}; | ||
interface HTMLManifoldToggleElement extends Components.ManifoldToggle, HTMLStencilElement {} | ||
@@ -774,3 +797,3 @@ var HTMLManifoldToggleElement: { | ||
'manifold-link-button': HTMLManifoldLinkButtonElement | ||
'manifold-marketplace-results': HTMLManifoldMarketplaceResultsElement | ||
'manifold-marketplace-grid': HTMLManifoldMarketplaceGridElement | ||
'manifold-marketplace': HTMLManifoldMarketplaceElement | ||
@@ -787,6 +810,4 @@ 'manifold-number-input': HTMLManifoldNumberInputElement | ||
'manifold-service-card': HTMLManifoldServiceCardElement | ||
'manifold-service-category': HTMLManifoldServiceCategoryElement | ||
'manifold-service-grid': HTMLManifoldServiceGridElement | ||
'manifold-services-tunnel': HTMLManifoldServicesTunnelElement | ||
'manifold-sorted-categories': HTMLManifoldSortedCategoriesElement | ||
'manifold-template-card': HTMLManifoldTemplateCardElement | ||
'manifold-toast': HTMLManifoldToastElement | ||
'manifold-toggle': HTMLManifoldToggleElement | ||
@@ -808,3 +829,3 @@ 'manifold-tooltip': HTMLManifoldTooltipElement | ||
'manifold-link-button': HTMLManifoldLinkButtonElement; | ||
'manifold-marketplace-results': HTMLManifoldMarketplaceResultsElement; | ||
'manifold-marketplace-grid': HTMLManifoldMarketplaceGridElement; | ||
'manifold-marketplace': HTMLManifoldMarketplaceElement; | ||
@@ -821,6 +842,4 @@ 'manifold-number-input': HTMLManifoldNumberInputElement; | ||
'manifold-service-card': HTMLManifoldServiceCardElement; | ||
'manifold-service-category': HTMLManifoldServiceCategoryElement; | ||
'manifold-service-grid': HTMLManifoldServiceGridElement; | ||
'manifold-services-tunnel': HTMLManifoldServicesTunnelElement; | ||
'manifold-sorted-categories': HTMLManifoldSortedCategoriesElement; | ||
'manifold-template-card': HTMLManifoldTemplateCardElement; | ||
'manifold-toast': HTMLManifoldToastElement; | ||
'manifold-toggle': HTMLManifoldToggleElement; | ||
@@ -827,0 +846,0 @@ 'manifold-tooltip': HTMLManifoldTooltipElement; |
@@ -5,11 +5,24 @@ import '../../stencil.core'; | ||
el: HTMLElement; | ||
/** Comma-separated list of hidden products (labels) */ | ||
blacklist?: string; | ||
/** _(hidden)_ Passed by `<manifold-connection>` */ | ||
connection: Connection; | ||
/** _(optional)_ Link format structure, with `:product` placeholder */ | ||
/** Comma-separated list of featured products (labels) */ | ||
featured?: string; | ||
/** Hide template cards? */ | ||
hideTemplates?: boolean; | ||
/** Hide categories & side menu? */ | ||
hideCategories?: boolean; | ||
/** Link format structure, with `:product` placeholder */ | ||
linkFormat?: string; | ||
/** _(optional)_ Comma-separated list of featured products (labels) */ | ||
featured?: string; | ||
/** Comma-separated list of allowed products (labels) */ | ||
whitelist?: string; | ||
parsedBlacklist: string[]; | ||
parsedFeatured: string[]; | ||
parsedWhitelist: string[]; | ||
services: Catalog.Product[]; | ||
componentWillLoad(): Promise<void>; | ||
private parse; | ||
private parseProps; | ||
render(): JSX.Element; | ||
} |
import '../../stencil.core'; | ||
import { UserFeatures } from 'types/UserFeatures'; | ||
import { Connection } from '../../utils/connections'; | ||
@@ -4,0 +3,0 @@ export declare class ManifoldPlanCost { |
import { FunctionalComponent } from '../../../stencil.core'; | ||
import { UserFeatures } from 'types/UserFeatures'; | ||
interface FeatureValueProps { | ||
@@ -4,0 +3,0 @@ features: UserFeatures; |
import { FunctionalComponent } from '../../../stencil.core'; | ||
import { UserFeatures } from 'types/UserFeatures'; | ||
interface NumberFeatureProps { | ||
@@ -4,0 +3,0 @@ features: UserFeatures; |
import '../../stencil.core'; | ||
import { EventEmitter } from '../../stencil.core'; | ||
import { UserFeatures } from 'types/UserFeatures'; | ||
export declare class ManifoldPlanDetails { | ||
isExistingResource?: boolean; | ||
hideCta?: boolean; | ||
linkFormat?: string; | ||
plan?: Catalog.ExpandedPlan; | ||
linkFormat?: string; | ||
product?: Catalog.Product; | ||
hideCta?: boolean; | ||
features: UserFeatures; | ||
planUpdated: EventEmitter; | ||
planUpdate: EventEmitter; | ||
planClick: EventEmitter; | ||
planLoad: EventEmitter; | ||
onUpdate(newPlan: Catalog.ExpandedPlan): void; | ||
ctaClicked: EventEmitter; | ||
componentWillLoad(): void; | ||
handleChangeValue({ detail: { name, value } }: CustomEvent): void; | ||
initialFeatures(plan?: Catalog.ExpandedPlan | undefined): UserFeatures; | ||
updatedPlanHandler({ id, label, product, features, }: { | ||
id?: string | undefined; | ||
label?: string | undefined; | ||
product?: string | undefined; | ||
features?: UserFeatures | undefined; | ||
}): void; | ||
readonly ctaLink: string | undefined; | ||
@@ -24,0 +18,0 @@ readonly header: JSX.Element | null; |
@@ -6,7 +6,5 @@ import '../../stencil.core'; | ||
el: HTMLElement; | ||
cardClicked: EventEmitter; | ||
name?: string; | ||
connection: Connection; | ||
description?: string; | ||
isCustom?: boolean; | ||
isFeatured?: boolean; | ||
@@ -18,4 +16,6 @@ label?: string; | ||
isFree: boolean; | ||
marketplaceClick: EventEmitter; | ||
watchHandler(newProductId: string): void; | ||
componentWillLoad(): void; | ||
readonly href: string; | ||
fetchIsFree(productId?: string | undefined): void; | ||
@@ -22,0 +22,0 @@ onClick: (e: Event) => void; |
@@ -5,4 +5,6 @@ export interface CategoryMap { | ||
export declare function formatCategoryLabel(tag: string): string; | ||
export declare const customCardExcludeList: string[]; | ||
export declare function categories(services?: Catalog.Product[]): CategoryMap; | ||
export declare function filteredServices(filter: string, services?: Catalog.Product[]): Catalog.Product[]; | ||
export declare const categoryIcon: { | ||
[key: string]: string; | ||
}; |
@@ -1,2 +0,1 @@ | ||
import { UserFeatures } from 'types/UserFeatures'; | ||
import { Option } from 'types/Select'; | ||
@@ -3,0 +2,0 @@ import { Connection } from './connections'; |
@@ -199,7 +199,7 @@ { | ||
{ | ||
"label": "manifold-marketplace-results", | ||
"label": "manifold-marketplace-grid", | ||
"description": "", | ||
"attributes": [ | ||
{ | ||
"label": "featured", | ||
"label": "hide-categories", | ||
"description": "", | ||
@@ -209,2 +209,7 @@ "required": false | ||
{ | ||
"label": "hide-templates", | ||
"description": "", | ||
"required": false | ||
}, | ||
{ | ||
"label": "link-format", | ||
@@ -221,10 +226,30 @@ "description": "", | ||
{ | ||
"label": "blacklist", | ||
"description": "Comma-separated list of hidden products (labels)", | ||
"required": false | ||
}, | ||
{ | ||
"label": "featured", | ||
"description": "_(optional)_ Comma-separated list of featured products (labels)", | ||
"description": "Comma-separated list of featured products (labels)", | ||
"required": false | ||
}, | ||
{ | ||
"label": "hide-categories", | ||
"description": "Hide categories & side menu?", | ||
"required": false | ||
}, | ||
{ | ||
"label": "hide-templates", | ||
"description": "Hide template cards?", | ||
"required": false | ||
}, | ||
{ | ||
"label": "link-format", | ||
"description": "_(optional)_ Link format structure, with `:product` placeholder", | ||
"description": "Link format structure, with `:product` placeholder", | ||
"required": false | ||
}, | ||
{ | ||
"label": "whitelist", | ||
"description": "Comma-separated list of allowed products (labels)", | ||
"required": false | ||
} | ||
@@ -339,3 +364,3 @@ ] | ||
"label": "manifold-plan-selector", | ||
"description": "Display the plans for a product.\n\n```html\n<manifold-plan-selector product-label=\"jawsdb-mysql\" />\n```", | ||
"description": "Display the plans for a product.\n\n```html\n<manifold-plan-selector product-label=\"jawsdb-mysql\" />\n```\n\nYou can find the `:product` label for each at\n`https://manifold.co/services/:product`.", | ||
"attributes": [ | ||
@@ -437,7 +462,2 @@ { | ||
{ | ||
"label": "is-custom", | ||
"description": "", | ||
"required": false | ||
}, | ||
{ | ||
"label": "is-featured", | ||
@@ -475,7 +495,7 @@ "description": "", | ||
{ | ||
"label": "manifold-service-category", | ||
"label": "manifold-template-card", | ||
"description": "", | ||
"attributes": [ | ||
{ | ||
"label": "icon", | ||
"label": "category", | ||
"description": "", | ||
@@ -485,15 +505,5 @@ "required": false | ||
{ | ||
"label": "label", | ||
"label": "link-format", | ||
"description": "", | ||
"required": false | ||
}, | ||
{ | ||
"label": "name", | ||
"description": "", | ||
"required": false | ||
}, | ||
{ | ||
"label": "tagline", | ||
"description": "", | ||
"required": false | ||
} | ||
@@ -503,19 +513,19 @@ ] | ||
{ | ||
"label": "manifold-service-grid", | ||
"description": "", | ||
"attributes": [] | ||
}, | ||
{ | ||
"label": "manifold-services-tunnel", | ||
"description": "", | ||
"label": "manifold-toast", | ||
"description": "Simple error display component.\n\n```html\n<manifold-toast>Basic info</manifold-toast>\n<manifold-toast alert-type=\"error\">Error</manifold-toast>\n<manifold-toast alert-type=\"warning\">Warning</manifold-toast>\n<manifold-toast alert-type=\"success\">Success</manifold-toast>\n```", | ||
"attributes": [ | ||
{ | ||
"label": "featured", | ||
"description": "", | ||
"label": "alert-type", | ||
"description": "`success` | `warning` | `error`", | ||
"required": false | ||
}, | ||
{ | ||
"label": "link-format", | ||
"description": "", | ||
"label": "dismissable", | ||
"description": "Is this dismissable?", | ||
"required": false | ||
}, | ||
{ | ||
"label": "icon", | ||
"description": "Use custom icon path data (1024×1024)", | ||
"required": false | ||
} | ||
@@ -525,7 +535,2 @@ ] | ||
{ | ||
"label": "manifold-sorted-categories", | ||
"description": "", | ||
"attributes": [] | ||
}, | ||
{ | ||
"label": "manifold-toggle", | ||
@@ -532,0 +537,0 @@ "description": "", |
@@ -27,2 +27,3 @@ { | ||
"@manifoldco/icons": "0.0.3", | ||
"@reach/observe-rect": "^1.0.3", | ||
"@stencil/core": "^0.18.0", | ||
@@ -54,3 +55,3 @@ "@stencil/postcss": "^0.1.0", | ||
}, | ||
"version": "0.0.14" | ||
"version": "0.0.15" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1485384
14657
27
246
82