mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
1 line
19 KiB
JavaScript
1 line
19 KiB
JavaScript
|
|
!function(){function i(i,t,r){return t in i?Object.defineProperty(i,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[t]=r,i}function t(i,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,e.key,e)}}(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[4694],{24694:function(r,e,n){"use strict";n.r(e),n.d(e,{ion_progress_bar:function(){return b}});var a=n(31667),s=n(36177),o=n(13772),m=n(61269),b=function(){function r(i){!function(i,t){if(!(i instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),(0,a.r)(this,i),this.type="determinate",this.reversed=!1,this.value=0,this.buffer=1}var e,n,o;return e=r,(n=[{key:"render",value:function(){var t,r=this.color,e=this.type,n=this.reversed,o=this.value,b=this.buffer,l=s.c.getBoolean("_testing"),u=(0,s.b)(this);return(0,a.h)(a.H,{role:"progressbar","aria-valuenow":"determinate"===e?o:null,"aria-valuemin":"0","aria-valuemax":"1",class:(0,m.c)(r,(t={},i(t,u,!0),i(t,"progress-bar-".concat(e),!0),i(t,"progress-paused",l),i(t,"progress-bar-reversed","rtl"===document.dir?!n:n),t))},"indeterminate"===e?c():f(o,b))}}])&&t(e.prototype,n),o&&t(e,o),r}(),c=function(){return[(0,a.h)("div",{class:"indeterminate-bar-primary"},(0,a.h)("span",{class:"progress-indeterminate"})),(0,a.h)("div",{class:"indeterminate-bar-secondary"},(0,a.h)("span",{class:"progress-indeterminate"}))]},f=function(i,t){var r=(0,o.h)(0,i,1),e=(0,o.h)(0,t,1);return[(0,a.h)("div",{class:"progress",style:{transform:"scaleX(".concat(r,")")}}),1!==e&&(0,a.h)("div",{class:"buffer-circles"}),(0,a.h)("div",{class:"progress-buffer-bar",style:{transform:"scaleX(".concat(e,")")}})]};b.style={ios:':host{--background:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.2);--progress-background:var(--ion-color-primary, #3880ff);--buffer-background:var(--background);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}:host(.ion-color){--progress-background:var(--ion-color-base);--buffer-background:rgba(var(--ion-color-base-rgb), 0.2)}:host(.progress-bar-indeterminate){background:var(--buffer-background)}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar,.progress-buffer-bar:before,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.progress,.progress-buffer-bar{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:#fff;z-index:1}.progress-buffer-bar:before{background:var(--buffer-background);content:""}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background:radial-gradient(ellipse at center, var(--buffer-background) 0%, var(--buffer-background) 30%, transparent 30%) repeat-x 5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host
|