text: import { r as registerInstance, h } from './index-39969785.js';
  import { I18n } from '@aws-amplify/core';
  import '@aws-amplify/auth';
  import { T as Translations } from './Translations-3f32c42a.js';
  
  const 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}";
  
  const AmplifyPicker = class {
      constructor(hostRef) {
          registerInstance(this, hostRef);
          /** Picker button text */
          this.pickerText = Translations.PICKER_TEXT;
          /** File input accept value */
          this.acceptValue = '*/*';
      }
      render() {
          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: e => this.inputHandler(e) })));
      }
  };
  AmplifyPicker.style = amplifyPickerCss;
  
  export { AmplifyPicker as amplify_picker };
  