"use strict";(self.webpackChunk_surecart_surecart=self.webpackChunk_surecart_surecart||[]).push([[5360],{25360:function(t,e,n){n.r(e),n.d(e,{sc_block_ui:function(){return o}});var r=n(23029),a=n(92901),s=n(27364),o=function(){return(0,a.A)((function t(e){(0,r.A)(this,t),(0,s.r)(this,e),this.zIndex=1,this.transparent=void 0,this.spinner=void 0}),[{key:"render",value:function(){return(0,s.h)("div",{key:"da4a3d9d4aae87c6ef9a51dd335e391a373c0d9e",part:"base",class:{overlay:!0,transparent:this.transparent},style:{"z-index":this.zIndex.toString()}},(0,s.h)("div",{key:"ad4555f0ec7c9431941664d6dd47c12cec737ed0",class:"overlay__content",part:"content"},(0,s.h)("slot",{key:"b226d9bc01759054a83b4d17d10f91ec22b429e2",name:"spinner"},!this.transparent&&this.spinner&&(0,s.h)("sc-spinner",{key:"ba47a361179c0944612831d43408a0a680b1399a"})),(0,s.h)("slot",{key:"efbfee08ebd450a42c4399555d24e78712b0e73c"})))}}])}();o.style=':host{display:block;position:var(--sc-block-ui-position, absolute);top:-5px;left:-5px;right:-5px;bottom:-5px;overflow:hidden;display:flex;align-items:center;justify-content:center}:host>*{z-index:1}:host:after{content:"";position:var(--sc-block-ui-position, absolute);top:0;left:0;right:0;bottom:0;cursor:var(--sc-block-ui-cursor, wait);background:var(--sc-block-ui-background-color, var(--sc-color-white));opacity:var(--sc-block-ui-opacity, 0.15)}:host.transparent:after{background:transparent}.overlay__content{font-size:var(--sc-font-size-large);font-weight:var(--sc-font-weight-semibold);display:grid;gap:0.5em;text-align:center}'}}]);