{"mappings":";AAAA,OAAS,gBAAgBA,EAAG,QAAQC,MAAS,2CAE7C,IAAIC,EAAI,cAAcF,CAAE,CACvB,OAAO,eAAiB,CAAE,KAAM,QAAS,EACzC,OAAO,MAAQ,CACd,OAAQ,UACR,MAAO,EACR,EACAG,GAAK,CACJ,QAAS,gBACT,OAAQ,cACR,SAAU,eACV,aAAc,cACd,SAAU,aACX,EACAC,GAAK,CACJ,cAAe,QACf,kBAAmB,KACnB,wBAAyB,cACzB,wBAAyB,WACzB,eAAgB,IAChB,kBAAmB,MACpB,EACA,IAAI,UAAW,CACd,IAAIJ,EAAI,KAAKG,GAAG,KAAK,MAAM,MAAM,EACjC,OAAOF;AAAA,uDAC8C,CACpD,QAAS,eACT,aAAc,MACd,OAAQ,UACR,MAAO,SACP,OAAQ,SACR,gBAAiB,OAAOD,CAAC,IACzB,YAAa,UACb,GAAG,KAAK,MAAM,MAAQ,KAAKI,GAAK,CAAC,CAClC,CAAC;AAAA;AAAA;AAAA;AAAA,cAIW,KAAK,MAAM,MAAQH;AAAA;AAAA;AAAA,oDAGmBD,CAAC;AAAA,wDACGA,CAAC;AAAA,sDACHA,CAAC;AAAA;AAAA,0BAE3B,EAAE,EAC7B,CACD,EACA,eAAe,OAAO,mBAAoBE,CAAC","names":["e","t","n","#e","#t"],"sources":["../esm/npm/@ayo-run/status-indicator@2.1.2/node_modules/@ayo-run/status-indicator/dist/status-indicator.js"],"sourcesContent":["import { WebComponent as e, html as t } from \"web-component-base\";\n//#region src/status-indicator.ts\nvar n = class extends e {\n\tstatic shadowRootInit = { mode: \"closed\" };\n\tstatic props = {\n\t\tstatus: \"default\",\n\t\tpulse: !1\n\t};\n\t#e = {\n\t\tdefault: \"216, 226, 233\",\n\t\tactive: \"0, 149, 255\",\n\t\tpositive: \"75, 210, 143\",\n\t\tintermediary: \"255, 170, 0\",\n\t\tnegative: \"255, 77, 77\"\n\t};\n\t#t = {\n\t\tanimationName: \"pulse\",\n\t\tanimationDuration: \"2s\",\n\t\tanimationTimingFunction: \"ease-in-out\",\n\t\tanimationIterationCount: \"infinite\",\n\t\tanimationDelay: \"0\",\n\t\tanimationFillMode: \"none\"\n\t};\n\tget template() {\n\t\tlet e = this.#e[this.props.status];\n\t\treturn t`\n            \u003cdiv class=\"status-indicator-icon\" style=${{\n\t\t\tdisplay: \"inline-block\",\n\t\t\tborderRadius: \"50%\",\n\t\t\tcursor: \"pointer\",\n\t\t\twidth: \"0.5rem\",\n\t\t\theight: \"0.5rem\",\n\t\t\tbackgroundColor: `rgb(${e})`,\n\t\t\tmarginRight: \"0.05rem\",\n\t\t\t...this.props.pulse ? this.#t : []\n\t\t}}\u003e \u003c/div\u003e\n\n            \u003cspan class=\"status-indicator-label\"\u003e\u003cslot\u003e\u003c/slot\u003e\u003c/span\u003e\n\n            ${this.props.pulse ? t`\n                \u003cstyle\u003e\n                @keyframes pulse {\n                    0% { box-shadow: 0 0 0 0 rgba(${e}, 0.5);}\n                    70% { box-shadow: 0 0 0 10px rgba(${e}, 0); }\n                    100% { box-shadow: 0 0 0 0 rgba(${e}, 0); }\n                }\n                \u003c/style\u003e` : \"\"}`;\n\t}\n};\ncustomElements.define(\"status-indicator\", n);\n//#endregion\nexport { n as default };\n"],"version":3}
