import{r as e,i as r,f as s,h as i,H as n}from"./p-5ab6b26f.js";import{s as t}from"./p-8d8e0c6f.js";class h{constructor(r){e(this,r)}componentWillLoad(){if(void 0===this.pullingIcon&&(this.pullingIcon=r.get("refreshingIcon","arrow-down")),void 0===this.refreshingSpinner){const e=s(this);this.refreshingSpinner=r.get("refreshingSpinner",r.get("spinner","ios"===e?"lines":"crescent"))}}hostData(){return{class:{[s(this)]:!0}}}__stencil_render(){return[i("div",{class:"refresher-pulling"},this.pullingIcon&&i("div",{class:"refresher-pulling-icon"},i("ion-icon",{icon:this.pullingIcon,lazy:!1})),this.pullingText&&i("div",{class:"refresher-pulling-text",innerHTML:t(this.pullingText)})),i("div",{class:"refresher-refreshing"},this.refreshingSpinner&&i("div",{class:"refresher-refreshing-icon"},i("ion-spinner",{name:this.refreshingSpinner})),this.refreshingText&&i("div",{class:"refresher-refreshing-text",innerHTML:t(this.refreshingText)}))]}render(){return i(n,this.hostData(),this.__stencil_render())}}export{h as ion_refresher_content};