UNPKG

@phosphor-icons/webcomponents

Version:
79 lines (78 loc) 5.32 kB
import "../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/reactive-element.mjs"; import { svg as l, html as h } from "../node_modules/.pnpm/lit-html@3.1.4/node_modules/lit-html/lit-html.mjs"; import { LitElement as n } from "../node_modules/.pnpm/lit-element@4.0.6/node_modules/lit-element/lit-element.mjs"; import { customElement as A } from "../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/custom-element.mjs"; import { property as i } from "../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/property.mjs"; import { css as L } from "../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.mjs"; var c = Object.defineProperty, g = Object.getOwnPropertyDescriptor, r = (e, s, p, o) => { for (var t = o > 1 ? void 0 : o ? g(s, p) : s, m = e.length - 1, H; m >= 0; m--) (H = e[m]) && (t = (o ? H(s, p, t) : H(t)) || t); return o && t && c(s, p, t), t; }; let a = class extends n { constructor() { super(...arguments), this.size = "1em", this.weight = "regular", this.color = "currentColor", this.mirrored = !1; } render() { var e; return h`<svg xmlns="http://www.w3.org/2000/svg" width="${this.size}" height="${this.size}" fill="${this.color}" viewBox="0 0 256 256" transform=${this.mirrored ? "scale(-1, 1)" : null} > ${a.weightsMap.get((e = this.weight) != null ? e : "regular")} </svg>`; } }; a.weightsMap = /* @__PURE__ */ new Map([ [ "thin", l`<path d="M220,232a4,4,0,0,1-4,4H112a4,4,0,0,1,0-8H216A4,4,0,0,1,220,232Zm0-72v32a12,12,0,0,1-12,12H114.11a11.94,11.94,0,0,1-10.74-6.63l-58.11-116a12.07,12.07,0,0,1,0-10.74l22.12-44a12,12,0,0,1,16-5.42l33.78,14.27.23.11a12,12,0,0,1,5.37,16.1l-.06.1L108.4,78.26a4,4,0,0,0,0,3.53l31.78,64a4,4,0,0,0,3.57,2.2H208A12,12,0,0,1,220,160Zm-8,0a4,4,0,0,0-4-4H143.77A11.94,11.94,0,0,1,133,149.37l-31.78-64a12,12,0,0,1,0-10.72l.06-.11,14.27-26.47a4,4,0,0,0-1.71-5.27L80.13,28.53l-.24-.11A3.91,3.91,0,0,0,78.11,28a4,4,0,0,0-3.58,2.21l-22.12,44a4,4,0,0,0,0,3.57l58.11,116a4,4,0,0,0,3.58,2.21H208a4,4,0,0,0,4-4Z"/>` ], [ "light", l`<path d="M222,232a6,6,0,0,1-6,6H112a6,6,0,1,1,0-12H216A6,6,0,0,1,222,232Zm0-72v32a14,14,0,0,1-14,14H114.11a13.94,13.94,0,0,1-12.53-7.74l-58.11-116a14.06,14.06,0,0,1,0-12.52l22.12-44a14,14,0,0,1,18.58-6.35l33.74,14.24.34.17a14,14,0,0,1,6.27,18.78l-.09.16L110.18,79.16a2,2,0,0,0,0,1.73l31.78,64a2,2,0,0,0,1.78,1.09H208A14,14,0,0,1,222,160Zm-12,0a2,2,0,0,0-2-2H143.77a13.94,13.94,0,0,1-12.52-7.74l-31.78-64a14,14,0,0,1,0-12.5l.09-.17,14.25-26.42a2,2,0,0,0,.08-1.47,2,2,0,0,0-.89-1.1L79.35,30.37,79,30.21a2,2,0,0,0-.89-.21,2,2,0,0,0-1.79,1.1l-22.12,44a2,2,0,0,0,0,1.78l58.12,116a2,2,0,0,0,1.79,1.11H208a2,2,0,0,0,2-2Z"/>` ], [ "regular", l`<path d="M224,232a8,8,0,0,1-8,8H112a8,8,0,0,1,0-16H216A8,8,0,0,1,224,232Zm0-72v32a16,16,0,0,1-16,16H114.11a15.93,15.93,0,0,1-14.32-8.85l-58.11-116a16.1,16.1,0,0,1,0-14.32l22.12-44A16,16,0,0,1,85,17.56l33.69,14.22.47.22a16,16,0,0,1,7.15,21.46,1.51,1.51,0,0,1-.11.22L112,80l31.78,64L208,144A16,16,0,0,1,224,160Zm-16,0H143.77a15.91,15.91,0,0,1-14.31-8.85l-31.79-64a16.07,16.07,0,0,1,0-14.29l.12-.22L112,46.32,78.57,32.21A4.84,4.84,0,0,1,78.1,32L56,76,114.1,192H208Z"/>` ], [ "bold", l`<path d="M228,232a12,12,0,0,1-12,12H112a12,12,0,0,1,0-24H216A12,12,0,0,1,228,232Zm0-72v28a20,20,0,0,1-20,20H112.1a19.9,19.9,0,0,1-17.89-11.06L38.1,85a20.12,20.12,0,0,1,0-17.9L60.22,23a20,20,0,0,1,26.72-9l29.81,14.27.18.09a20,20,0,0,1,8.95,26.83l-.17.33L112.5,80.08,142.25,140H208A20,20,0,0,1,228,160Zm-24,4H139.77a19.9,19.9,0,0,1-17.89-11.06l-31.79-64a20.07,20.07,0,0,1,0-17.86c.06-.11.12-.22.17-.33l12.2-22.62L79.91,37.3,60.47,76l54.1,108H204Z"/>` ], [ "fill", l`<path d="M224,232a8,8,0,0,1-8,8H112a8,8,0,0,1,0-16H216A8,8,0,0,1,224,232Zm-16-88-64.22,0L112,80l14.19-26.32a1.51,1.51,0,0,0,.11-.22A16,16,0,0,0,119.15,32l-.47-.22L85,17.57A16,16,0,0,0,63.8,24.84l-22.12,44a16.1,16.1,0,0,0,0,14.32l58.11,116A15.93,15.93,0,0,0,114.11,208H208a16,16,0,0,0,16-16V160A16,16,0,0,0,208,144Z"/>` ], [ "duotone", l`<path d="M216,160v32a8,8,0,0,1-8,8H114.11a8,8,0,0,1-7.15-4.42l-58.12-116a8,8,0,0,1,0-7.16L71,28.42a8,8,0,0,1,10.73-3.57l33.89,14.31a8,8,0,0,1,3.57,10.73L104.84,76.42a8,8,0,0,0,0,7.16l31.78,64a8,8,0,0,0,7.16,4.42H208A8,8,0,0,1,216,160Z" opacity="0.2"/><path d="M224,232a8,8,0,0,1-8,8H112a8,8,0,0,1,0-16H216A8,8,0,0,1,224,232Zm0-72v32a16,16,0,0,1-16,16H114.11a15.93,15.93,0,0,1-14.32-8.85l-58.11-116a16.1,16.1,0,0,1,0-14.32l22.12-44A16,16,0,0,1,85,17.56l33.69,14.22.47.22a16,16,0,0,1,7.15,21.46,1.51,1.51,0,0,1-.11.22L112,80l31.78,64L208,144A16,16,0,0,1,224,160Zm-16,0H143.77a15.91,15.91,0,0,1-14.31-8.85l-31.79-64a16.07,16.07,0,0,1,0-14.29l.12-.22L112,46.32,78.57,32.21c-.16-.06-.31-.14-.46-.21L56,76,114.1,192H208Z"/>` ] ]); a.styles = L` :host { display: contents; } `; r([ i({ type: String, reflect: !0 }) ], a.prototype, "size", 2); r([ i({ type: String, reflect: !0 }) ], a.prototype, "weight", 2); r([ i({ type: String, reflect: !0 }) ], a.prototype, "color", 2); r([ i({ type: Boolean, reflect: !0 }) ], a.prototype, "mirrored", 2); a = r([ A("ph-seat") ], a); export { a as PhSeat };