import{r as s,h as i,H as e,e as r}from"./p-03169580.js";import{m as n,n as t}from"./p-e05250ba.js";import{g as o,c,a}from"./p-4cb16df5.js";import{s as h}from"./p-7d8427eb.js";import{S as l}from"./p-f3cba72a.js";let f=class{constructor(i){s(this,i)}componentWillLoad(){if(this.pullingIcon===undefined){const s=o(this);const i=this.el.style.webkitOverflowScrolling!==undefined?"lines":t;this.pullingIcon=c.get("refreshingIcon",s==="ios"&&a("mobile")?c.get("spinner",i):"circular")}if(this.refreshingSpinner===undefined){const s=o(this);this.refreshingSpinner=c.get("refreshingSpinner",c.get("spinner",s==="ios"?"lines":"circular"))}}render(){const s=this.pullingIcon;const r=s!=null&&l[s]!==undefined;const t=o(this);return i(e,{class:t},i("div",{class:"refresher-pulling"},this.pullingIcon&&r&&i("div",{class:"refresher-pulling-icon"},i("div",{class:"spinner-arrow-container"},i("ion-spinner",{name:this.pullingIcon,paused:true}),t==="md"&&this.pullingIcon==="circular"&&i("div",{class:"arrow-container"},i("ion-icon",{icon:n})))),this.pullingIcon&&!r&&i("div",{class:"refresher-pulling-icon"},i("ion-icon",{icon:this.pullingIcon,lazy:false})),this.pullingText&&i("div",{class:"refresher-pulling-text",innerHTML:h(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:h(this.refreshingText)})))}get el(){return r(this)}};export{f as ion_refresher_content};
//# sourceMappingURL=p-85002833.entry.js.map