{"version":3,"sources":["webpack:///./node_modules/@aws-amplify/ui-components/dist/esm-es5/amplify-button_3.entry.js"],"names":["amplifyButtonCss","AmplifyButton","hostRef","this","type","variant","disabled","prototype","componentWillLoad","console","warn","render","_a","class","onClick","handleButtonClick","name","icon","Object","defineProperty","get","enumerable","configurable","style","amplifyLoadingSpinnerCss","AmplifyLoadingSpinner","amplifySectionCss","AmplifySection","role"],"mappings":"gHAAA,8KACIA,EAAmB,86DACnBC,EAA+B,WAC/B,SAASA,EAAcC,GACnB,eAAiBC,KAAMD,GAEvBC,KAAKC,KAAO,SAEZD,KAAKE,QAAU,SAEfF,KAAKG,UAAW,EAgBpB,OAdAL,EAAcM,UAAUC,kBAAoB,WACxCC,QAAQC,KAAK,qMAEjBT,EAAcM,UAAUI,OAAS,WAC7B,IAAIC,EACJ,OAAQ,cAAD,CAAG,OAAM,KAAM,eAAE,SAAU,CAAEC,OAAQD,EAAK,GACzCA,EAAGT,KAAKE,UAAW,EACnBO,GAAKR,KAAMD,KAAKC,KAAME,SAAUH,KAAKG,SAAUQ,QAASX,KAAKY,mBAAsC,SAAjBZ,KAAKE,SAAuB,cAAD,CAAG,eAAgB,CAAEW,KAAMb,KAAKc,OAAU,eAAE,OAAQ,SAE7KC,OAAOC,eAAelB,EAAcM,UAAW,KAAM,CACjDa,IAAK,WAAc,OAAO,eAAWjB,OACrCkB,YAAY,EACZC,cAAc,IAEXrB,EAxBuB,GA0BlCA,EAAcsB,MAAQvB,EACtB,IAAIwB,EAA2B,guBAC3BC,EAAuC,WACvC,SAASA,EAAsBvB,GAC3B,eAAiBC,KAAMD,GAQ3B,OANAuB,EAAsBlB,UAAUC,kBAAoB,WAChDC,QAAQC,KAAK,qMAEjBe,EAAsBlB,UAAUI,OAAS,WACrC,OAAO,eAAE,eAAgB,CAAEE,MAAO,kBAAmBG,KAAM,aAExDS,EAV+B,GAY1CA,EAAsBF,MAAQC,EAC9B,IAAIE,EAAoB,opBACpBC,EAAgC,WAChC,SAASA,EAAezB,GACpB,eAAiBC,KAAMD,GAEvBC,KAAKyB,KAAO,cAahB,OAXAD,EAAepB,UAAUC,kBAAoB,WACzCC,QAAQC,KAAK,qMAEjBiB,EAAepB,UAAUI,OAAS,WAC9B,OAAQ,cAAD,CAAG,UAAW,CAAEE,MAAO,UAAWe,KAAMzB,KAAKyB,MAAQ,eAAE,OAAQ,QAE1EV,OAAOC,eAAeQ,EAAepB,UAAW,KAAM,CAClDa,IAAK,WAAc,OAAO,eAAWjB,OACrCkB,YAAY,EACZC,cAAc,IAEXK,EAjBwB,GAmBnCA,EAAeJ,MAAQG","file":"js/chunk-2d23154f.77c6b16b.js","sourcesContent":["import { r as registerInstance, h, H as Host, g as getElement } from './index-83f2275b.js';\nvar amplifyButtonCss = \"amplify-button{--background-color:var(--amplify-primary-color);--background-color-active:var(--amplify-primary-shade);--background-color-disable:var(--amplify-primary-tint);--color:var(--amplify-primary-contrast);--border-width:0;--border-color:initial;--border-style:initial;--border-radius:initial;--link-color:var(--amplify-primary-color);--link-hover:var(--amplify-primary-tint);--link-active:var(--amplify-primary-shade);--text-transform:uppercase;--icon-fill:var(--amplify-white);--icon-height:1.25rem;--padding:1rem;--width:100%;width:var(--width);text-align:center}@media (min-width: 672px){amplify-button{width:inherit}}.button{width:100%;min-width:153px;display:inline-block;margin-bottom:0;font-size:var(--amplify-text-sm);font-family:var(--amplify-font-family);font-weight:600;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;color:var(--color);padding:var(--padding);letter-spacing:0.75px;text-transform:var(--text-transform);background-color:var(--background-color);border-width:var(--border-width);border-color:var(--border-color);border-style:var(--border-style);border-radius:var(--border-radius)}.button:active{opacity:1;background-color:var(--background-color-active)}.button:hover{opacity:0.8}.button:disabled{opacity:0.65;cursor:auto;background-color:var(--background-color-disable)}.icon{background-color:inherit;border:none;font:inherit;cursor:pointer;padding:var(--padding)}.icon amplify-icon{--icon-fill-color:var(--icon-fill);--height:var(--icon-height)}.anchor{color:var(--link-color);background-color:inherit;padding:0;border:none;font:inherit;cursor:pointer}.anchor:link{color:var(--link-color);text-decoration:none}.anchor:hover{color:var(--link-hover);text-decoration:underline}.anchor:active{color:var(--link-active);text-decoration:underline}\";\nvar AmplifyButton = /** @class */ (function () {\n function AmplifyButton(hostRef) {\n registerInstance(this, hostRef);\n /** Type of the button: 'button', 'submit' or 'reset' */\n this.type = 'button';\n /** Variant of a button: 'button' | 'anchor | 'icon' */\n this.variant = 'button';\n /** Disabled state of the button */\n this.disabled = false;\n }\n AmplifyButton.prototype.componentWillLoad = function () {\n console.warn('Version `1.x` of Amplify UI has been deprecated and will be removed in a future major version of `aws-amplify`. Please visit https://ui.docs.amplify.aws/ for the current version of Amplify UI.');\n };\n AmplifyButton.prototype.render = function () {\n var _a;\n return (h(Host, null, h(\"button\", { class: (_a = {},\n _a[this.variant] = true,\n _a), type: this.type, disabled: this.disabled, onClick: this.handleButtonClick }, this.variant === 'icon' && (h(\"amplify-icon\", { name: this.icon })), h(\"slot\", null))));\n };\n Object.defineProperty(AmplifyButton.prototype, \"el\", {\n get: function () { return getElement(this); },\n enumerable: false,\n configurable: true\n });\n return AmplifyButton;\n}());\nAmplifyButton.style = amplifyButtonCss;\nvar amplifyLoadingSpinnerCss = \":host{--spinner-circle-fill:var(--amplify-smoke-white);--spinner-bar-fill:var(--amplify-primary-color);--width:0.875rem;--height:0.875rem}.loading-spinner svg{-webkit-animation:loading-spinner 1s linear infinite;animation:loading-spinner 1s linear infinite;width:var(--width);height:var(--height)}.loading-spinner svg #spinner-circle{fill:var(--spinner-circle-fill)}.loading-spinner svg #spinner-bar{fill:var(--spinner-bar-fill)}@-webkit-keyframes loading-spinner{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading-spinner{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}\";\nvar AmplifyLoadingSpinner = /** @class */ (function () {\n function AmplifyLoadingSpinner(hostRef) {\n registerInstance(this, hostRef);\n }\n AmplifyLoadingSpinner.prototype.componentWillLoad = function () {\n console.warn('Version `1.x` of Amplify UI has been deprecated and will be removed in a future major version of `aws-amplify`. Please visit https://ui.docs.amplify.aws/ for the current version of Amplify UI.');\n };\n AmplifyLoadingSpinner.prototype.render = function () {\n return h(\"amplify-icon\", { class: \"loading-spinner\", name: \"loading\" });\n };\n return AmplifyLoadingSpinner;\n}());\nAmplifyLoadingSpinner.style = amplifyLoadingSpinnerCss;\nvar amplifySectionCss = \"amplify-section{--font-family:var(--amplify-font-family);--background-color:var(--amplify-background-color)}.section{position:relative;margin-bottom:var(--margin-bottom, 20px);background-color:var(--background-color);padding:var(--padding, 35px 40px);text-align:left;display:inline-block;border-radius:var(--border-radius, 6px);-webkit-box-shadow:var(--box-shadow, 1px 1px 4px 0 rgba(0, 0, 0, 0.15));box-shadow:var(--box-shadow, 1px 1px 4px 0 rgba(0, 0, 0, 0.15));-webkit-box-sizing:border-box;box-sizing:border-box;font-family:var(--font-family);width:100%;min-width:var(--min-width, 20rem)}@media (min-width: 672px){.section{width:var(--width, 28.75rem)}}\";\nvar AmplifySection = /** @class */ (function () {\n function AmplifySection(hostRef) {\n registerInstance(this, hostRef);\n /** Equivalent to html section role */\n this.role = 'application';\n }\n AmplifySection.prototype.componentWillLoad = function () {\n console.warn('Version `1.x` of Amplify UI has been deprecated and will be removed in a future major version of `aws-amplify`. Please visit https://ui.docs.amplify.aws/ for the current version of Amplify UI.');\n };\n AmplifySection.prototype.render = function () {\n return (h(\"section\", { class: \"section\", role: this.role }, h(\"slot\", null)));\n };\n Object.defineProperty(AmplifySection.prototype, \"el\", {\n get: function () { return getElement(this); },\n enumerable: false,\n configurable: true\n });\n return AmplifySection;\n}());\nAmplifySection.style = amplifySectionCss;\nexport { AmplifyButton as amplify_button, AmplifyLoadingSpinner as amplify_loading_spinner, AmplifySection as amplify_section };\n"],"sourceRoot":""}