import{r as registerInstance,h,H as Host}from"./index-aed5ae27.js";var styleCss='x-skeleton{cursor:progress;border-radius:0.25rem;background-color:var(--color-border-tinted, #d9d8db);display:inline-block;vertical-align:middle;position:relative;overflow:hidden}x-skeleton::after{position:absolute;top:0;right:0;bottom:0;left:0;-webkit-transform:translateX(-100%);transform:translateX(-100%);background-image:-webkit-gradient(linear, left top, right top, color-stop(0, rgba(255, 255, 255, 0)), color-stop(20%, rgba(255, 255, 255, 0.2)), color-stop(60%, rgba(255, 255, 255, 0.5)), to(rgba(255, 255, 255, 0)));background-image:linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0));-webkit-animation:shimmer 2s infinite;animation:shimmer 2s infinite;content:""}.is-dark-mode x-skeleton{background-color:var(--color-border-shaded, #8c8b8f)}@-webkit-keyframes skeleton{to{background-color:var(--color-border, #C8C7CC)}}@keyframes skeleton{to{background-color:var(--color-border, #C8C7CC)}}@-webkit-keyframes shimmer{100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes shimmer{100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}';var XSkeletonStyle0=styleCss;var XSkeleton=function(){function e(e){registerInstance(this,e);this.width="100%";this.height="1rem";this.block=false}e.prototype.render=function(){return h(Host,{key:"c85f10de7f02a3b166779ef15996bb44229867b5",style:{height:this.height,width:this.width,display:this.block?"block":"inline-block"}})};return e}();XSkeleton.style=XSkeletonStyle0;export{XSkeleton as x_skeleton};