{"version":3,"sources":["webpack:///./node_modules/@aws-amplify/ui-components/dist/esm-es5/amplify-checkbox.entry.js"],"names":["amplifyCheckboxCss","AmplifyCheckbox","hostRef","_this","this","checked","disabled","onClick","prototype","render","class","type","name","value","id","fieldId","htmlFor","label","style"],"mappings":"gHAAA,wEACIA,EAAqB,uNACrBC,EAAiC,WACjC,SAASA,EAAgBC,GACrB,IAAIC,EAAQC,KACZ,eAAiBA,KAAMF,GAEvBE,KAAKC,SAAU,EAEfD,KAAKE,UAAW,EAChBF,KAAKG,QAAU,WACXJ,EAAME,SAAWF,EAAME,SAM/B,OAHAJ,EAAgBO,UAAUC,OAAS,WAC/B,OAAQ,cAAD,CAAG,OAAQ,CAAEC,MAAO,YAAc,eAAE,QAAS,CAAEH,QAASH,KAAKG,QAASI,KAAM,WAAYC,KAAMR,KAAKQ,KAAMC,MAAOT,KAAKS,MAAOC,GAAIV,KAAKW,QAASV,QAASD,KAAKC,QAASC,SAAUF,KAAKE,WAAa,eAAE,gBAAiB,CAAEU,QAASZ,KAAKW,SAAWX,KAAKa,SAExPhB,EAfyB,GAiBpCA,EAAgBiB,MAAQlB","file":"js/chunk-2d228cf2.2eb22644.js","sourcesContent":["import { r as registerInstance, h } from './index-83f2275b.js';\nvar amplifyCheckboxCss = \":host{--font-family:var(--amplify-font-family)}.checkbox{margin-bottom:22px;display:block;width:100%;padding:16px;font-size:var(--amplify-text-sm);font-family:var(--font-family)}.checkbox input{margin-right:12px}\";\nvar AmplifyCheckbox = /** @class */ (function () {\n function AmplifyCheckbox(hostRef) {\n var _this = this;\n registerInstance(this, hostRef);\n /** If `true`, the checkbox is selected. */\n this.checked = false;\n /** If `true`, the checkbox is disabled */\n this.disabled = false;\n this.onClick = function () {\n _this.checked = !_this.checked;\n };\n }\n AmplifyCheckbox.prototype.render = function () {\n return (h(\"span\", { class: \"checkbox\" }, h(\"input\", { onClick: this.onClick, type: \"checkbox\", name: this.name, value: this.value, id: this.fieldId, checked: this.checked, disabled: this.disabled }), h(\"amplify-label\", { htmlFor: this.fieldId }, this.label)));\n };\n return AmplifyCheckbox;\n}());\nAmplifyCheckbox.style = amplifyCheckboxCss;\nexport { AmplifyCheckbox as amplify_checkbox };\n"],"sourceRoot":""}