1 line
5.7 KiB
Plaintext
1 line
5.7 KiB
Plaintext
{"version":3,"sources":["webpack:///node_modules/@ionic/core/dist/esm/ion-avatar_3.entry.js"],"names":["avatarIosCss","avatarMdCss","Avatar","hostRef","style","ios","md","badgeIosCss","badgeMdCss","Badge","mode","color","thumbnailCss","Thumbnail"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;;;AAAA;AAAA;AAAA;AAAA;;;AAAA;AAAA;AAAA;AAAA;;;AAAA;AAAA;AAAA;AAAA;;;AAAA;AAAA;AAAA;AAAA;;;AAAA;AAAA;AAAA;AAAA;;;AAAA;AAAA;AAAA;;AAIA,UAAMA,YAAY,GAAG,2PAArB;AAEA,UAAMC,WAAW,GAAG,2PAApB;;AAEA,UAAMC,MAAM;AACR,wBAAYC,OAAZ,EAAqB;AAAA;;AACjB,uEAAiB,IAAjB,EAAuBA,OAAvB;AACH;;AAHO;AAAA;AAAA,mCAIC;AACL,mBAAQ,6DAAE,oDAAF,EAAQ;AAAE,uBAAO,oEAAW,IAAX;AAAT,aAAR,EAAqC,6DAAE,MAAF,EAAU,IAAV,CAArC,CAAR;AACH;AANO;;AAAA;AAAA,SAAZ;;AAQAD,YAAM,CAACE,KAAP,GAAe;AACXC,WAAG,EAAEL,YADM;AAEXM,UAAE,EAAEL;AAFO,OAAf;AAKA,UAAMM,WAAW,GAAG,ijCAApB;AAEA,UAAMC,UAAU,GAAG,6nCAAnB;;AAEA,UAAMC,KAAK;AACP,uBAAYN,OAAZ,EAAqB;AAAA;;AACjB,uEAAiB,IAAjB,EAAuBA,OAAvB;AACH;;AAHM;AAAA;AAAA,mCAIE;AACL,gBAAMO,IAAI,GAAG,oEAAW,IAAX,CAAb;AACA,mBAAQ,6DAAE,oDAAF,EAAQ;AAAE,uBAAO,6DAAmB,KAAKC,KAAxB,sBAChBD,IADgB,EACT,IADS;AAAT,aAAR,EAEE,6DAAE,MAAF,EAAU,IAAV,CAFF,CAAR;AAGH;AATM;;AAAA;AAAA,SAAX;;AAWAD,WAAK,CAACL,KAAN,GAAc;AACVC,WAAG,EAAEE,WADK;AAEVD,UAAE,EAAEE;AAFM,OAAd;AAKA,UAAMI,YAAY,GAAG,6QAArB;;AAEA,UAAMC,SAAS;AACX,2BAAYV,OAAZ,EAAqB;AAAA;;AACjB,uEAAiB,IAAjB,EAAuBA,OAAvB;AACH;;AAHU;AAAA;AAAA,mCAIF;AACL,mBAAQ,6DAAE,oDAAF,EAAQ;AAAE,uBAAO,oEAAW,IAAX;AAAT,aAAR,EAAqC,6DAAE,MAAF,EAAU,IAAV,CAArC,CAAR;AACH;AANU;;AAAA;AAAA,SAAf;;AAQAU,eAAS,CAACT,KAAV,GAAkBQ,YAAlB","file":"3-es5.js","sourcesContent":["import { r as registerInstance, h, H as Host } from './index-92848855.js';\nimport { b as getIonMode } from './ionic-global-23e7365a.js';\nimport { c as createColorClasses } from './theme-5641d27f.js';\n\nconst avatarIosCss = \":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}\";\n\nconst avatarMdCss = \":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:64px;height:64px}\";\n\nconst Avatar = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n render() {\n return (h(Host, { class: getIonMode(this) }, h(\"slot\", null)));\n }\n};\nAvatar.style = {\n ios: avatarIosCss,\n md: avatarMdCss\n};\n\nconst badgeIosCss = \":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:13px;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{border-radius:10px}\";\n\nconst badgeMdCss = \":host{--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:13px;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--padding-top:3px;--padding-end:4px;--padding-bottom:4px;--padding-start:4px;border-radius:4px}\";\n\nconst Badge = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n render() {\n const mode = getIonMode(this);\n return (h(Host, { class: createColorClasses(this.color, {\n [mode]: true,\n }) }, h(\"slot\", null)));\n }\n};\nBadge.style = {\n ios: badgeIosCss,\n md: badgeMdCss\n};\n\nconst thumbnailCss = \":host{--size:48px;--border-radius:0;border-radius:var(--border-radius);display:block;width:var(--size);height:var(--size)}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}\";\n\nconst Thumbnail = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n render() {\n return (h(Host, { class: getIonMode(this) }, h(\"slot\", null)));\n }\n};\nThumbnail.style = thumbnailCss;\n\nexport { Avatar as ion_avatar, Badge as ion_badge, Thumbnail as ion_thumbnail };\n"]} |