{"version":3,"sources":["webpack:///./node_modules/@aws-amplify/ui-components/dist/esm-es5/amplify-picker.entry.js"],"names":["amplifyPickerCss","AmplifyPicker","hostRef","this","pickerText","PICKER_TEXT","acceptValue","prototype","componentWillLoad","console","warn","render","_this","class","name","get","title","type","accept","onChange","e","inputHandler","style"],"mappings":"gHAAA,8FAIIA,EAAmB,wQACnBC,EAA+B,WAC/B,SAASA,EAAcC,GACnB,eAAiBC,KAAMD,GAEvBC,KAAKC,WAAa,OAAaC,YAE/BF,KAAKG,YAAc,MASvB,OAPAL,EAAcM,UAAUC,kBAAoB,WACxCC,QAAQC,KAAK,qMAEjBT,EAAcM,UAAUI,OAAS,WAC7B,IAAIC,EAAQT,KACZ,OAAQ,cAAD,CAAG,MAAO,CAAEU,MAAO,UAAY,eAAE,OAAQ,CAAEC,KAAM,UAAY,eAAE,iBAAkB,KAAM,OAAKC,IAAIZ,KAAKC,cAAe,eAAE,QAAS,CAAEY,MAAO,OAAKD,IAAIZ,KAAKC,YAAaa,KAAM,OAAQC,OAAQf,KAAKG,YAAaa,SAAU,SAAUC,GAAK,OAAOR,EAAMS,aAAaD,QAElQnB,EAfuB,GAiBlCA,EAAcqB,MAAQtB","file":"js/chunk-2d21d0be.c5ec0384.js","sourcesContent":["import { r as registerInstance, h } from './index-83f2275b.js';\nimport { I18n } from '@aws-amplify/core';\nimport '@aws-amplify/auth';\nimport { T as Translations } from './Translations-108d469f.js';\nvar amplifyPickerCss = \".picker{position:relative;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}input[type=file]{width:100%;height:100%;display:inline-block;position:absolute;left:0;top:0;opacity:0;cursor:pointer}\";\nvar AmplifyPicker = /** @class */ (function () {\n function AmplifyPicker(hostRef) {\n registerInstance(this, hostRef);\n /** Picker button text */\n this.pickerText = Translations.PICKER_TEXT;\n /** File input accept value */\n this.acceptValue = '*/*';\n }\n AmplifyPicker.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 AmplifyPicker.prototype.render = function () {\n var _this = this;\n return (h(\"div\", { class: \"picker\" }, h(\"slot\", { name: \"picker\" }, h(\"amplify-button\", null, I18n.get(this.pickerText))), h(\"input\", { title: I18n.get(this.pickerText), type: \"file\", accept: this.acceptValue, onChange: function (e) { return _this.inputHandler(e); } })));\n };\n return AmplifyPicker;\n}());\nAmplifyPicker.style = amplifyPickerCss;\nexport { AmplifyPicker as amplify_picker };\n"],"sourceRoot":""}