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AuF,EAAE,uFAAuF,EAAE,qFAAqF,EAAE,+BAA+B,uCAAuC,eAAe,QAAQ,6CAA6C,EAAE,+BAA+B,mCAAmC,eAAe,4BAA4B,iBAAiB,aAAa,kBAAkB,cAAc,kCAAkC,mCAAmC,OAAO,QAAQ,MAAM,SAAS,oBAAoB,aAAa,eAAe,sBAAsB,mBAAmB,qBAAqB,uBAAuB,2CAA2C,eAAe,sBAAsB,kBAAkB,yBAAyB,sBAAsB,qBAAqB,iBAAiB,aAAa,oCAAoC,aAAa,mCAAmC,oBAAoB,aAAa,uBAAuB,oBAAoB,sBAAsB,wBAAwB,mBAAmB,2BAA2B,2BAA2B,qBAAqB,6BAA6B,6BAA6B,6BAA6B,UAAU,WAAW,uNAAuN,2BAA2B,qBAAqB,8CAA8C,kBAAkB,iBAAiB,iDAAiD,wCAAwC,eAAe,mCAAmC,kBAAkB,kBAAkB,mBAAmB,iBAAiB,oBAAoB,8CAA8C,sCAAsC,6FAA6F,mCAAmC,mBAAmB,oBAAoB,2BAA2B,0BAA0B,yBAAyB,yBAAyB,wEAAwE,iBAAiB,6FAA6F,wEAAwE,kBAAkB,0BAA0B,0BAA0B,EAAE,+BAA+B,uCAAuC,eAAe,WAAW,+BAA+B,IAAI,gCAAgC,cAAc,sCAAsC,OAAO,4DAAa,0CAA0C,qCAAqC,OAAO,4DAAc,+BAA+B,+BAA+B,OAAO,6DAAiB,+BAA+B,OAAO,+DAAmB,kBAAkB,SAAS,4DAAU,0BAA0B,EAAE,EAAE,+BAA+B,eAAe,+BAA+B,+BAA+B,wCAAwC,eAAe,OAAO,QAAQ,UAAU,UAAU,UAAU,MAAM,mBAAmB,SAAS,YAAY,+BAA+B,IAAI,G","file":"142.js","sourcesContent":["import*as tslib_1 from\"../polyfills/tslib.js\";import{h}from\"../ionic.core.js\";import{a as BACKDROP,c as present,d as dismiss,e as eventMethod,f as createOverlay,g as dismissOverlay,h as getOverlay}from\"./chunk-265f51bc.js\";import{a as getClassMap}from\"./chunk-7c632336.js\";function iosEnterAnimation(e,t){var n=new e,o=new e;o.addElement(t.querySelector(\"ion-backdrop\"));var i=new e;return i.addElement(t.querySelector(\".loading-wrapper\")),o.fromTo(\"opacity\",.01,.3),i.fromTo(\"opacity\",.01,1).fromTo(\"scale\",1.1,1),Promise.resolve(n.addElement(t).easing(\"ease-in-out\").duration(200).add(o).add(i))}function iosLeaveAnimation(e,t){var n=new e,o=new e;o.addElement(t.querySelector(\"ion-backdrop\"));var i=new e;return i.addElement(t.querySelector(\".loading-wrapper\")),o.fromTo(\"opacity\",.3,0),i.fromTo(\"opacity\",.99,0).fromTo(\"scale\",1,.9),Promise.resolve(n.addElement(t).easing(\"ease-in-out\").duration(200).add(o).add(i))}function mdEnterAnimation(e,t){var n=new e,o=new e;o.addElement(t.querySelector(\"ion-backdrop\"));var i=new e;return i.addElement(t.querySelector(\".loading-wrapper\")),o.fromTo(\"opacity\",.01,.32),i.fromTo(\"opacity\",.01,1).fromTo(\"scale\",1.1,1),Promise.resolve(n.addElement(t).easing(\"ease-in-out\").duration(200).add(o).add(i))}function mdLeaveAnimation(e,t){var n=new e,o=new e;o.addElement(t.querySelector(\"ion-backdrop\"));var i=new e;return i.addElement(t.querySelector(\".loading-wrapper\")),o.fromTo(\"opacity\",.32,0),i.fromTo(\"opacity\",.99,0).fromTo(\"scale\",1,.9),Promise.resolve(n.addElement(t).easing(\"ease-in-out\").duration(200).add(o).add(i))}var Loading=function(){function e(){this.presented=!1,this.keyboardClose=!0,this.duration=0,this.backdropDismiss=!1,this.showBackdrop=!0,this.translucent=!1,this.animated=!0}return e.prototype.componentWillLoad=function(){void 0===this.spinner&&(this.spinner=this.config.get(\"loadingSpinner\",\"ios\"===this.mode?\"lines\":\"crescent\"))},e.prototype.onBackdropTap=function(){this.dismiss(void 0,BACKDROP)},e.prototype.present=function(){return tslib_1.__awaiter(this,void 0,void 0,function(){var e=this;return tslib_1.__generator(this,function(t){switch(t.label){case 0:return[4,present(this,\"loadingEnter\",iosEnterAnimation,mdEnterAnimation,void 0)];case 1:return t.sent(),this.duration>0&&(this.durationTimeout=setTimeout(function(){return e.dismiss()},this.duration+10)),[2]}})})},e.prototype.dismiss=function(e,t){return this.durationTimeout&&clearTimeout(this.durationTimeout),dismiss(this,e,t,\"loadingLeave\",iosLeaveAnimation,mdLeaveAnimation)},e.prototype.onDidDismiss=function(){return eventMethod(this.el,\"ionLoadingDidDismiss\")},e.prototype.onWillDismiss=function(){return eventMethod(this.el,\"ionLoadingWillDismiss\")},e.prototype.hostData=function(){return{style:{zIndex:4e4+this.overlayIndex},class:Object.assign({},getClassMap(this.cssClass),{\"loading-translucent\":this.translucent})}},e.prototype.render=function(){return[h(\"ion-backdrop\",{visible:this.showBackdrop,tappable:this.backdropDismiss}),h(\"div\",{class:\"loading-wrapper\",role:\"dialog\"},this.spinner&&h(\"div\",{class:\"loading-spinner\"},h(\"ion-spinner\",{name:this.spinner})),this.message&&h(\"div\",{class:\"loading-content\"},this.message))]},Object.defineProperty(e,\"is\",{get:function(){return\"ion-loading\"},enumerable:!0,configurable:!0}),Object.defineProperty(e,\"encapsulation\",{get:function(){return\"scoped\"},enumerable:!0,configurable:!0}),Object.defineProperty(e,\"properties\",{get:function(){return{animated:{type:Boolean,attr:\"animated\"},backdropDismiss:{type:Boolean,attr:\"backdrop-dismiss\"},config:{context:\"config\"},cssClass:{type:String,attr:\"css-class\"},dismiss:{method:!0},duration:{type:Number,attr:\"duration\"},el:{elementRef:!0},enterAnimation:{type:\"Any\",attr:\"enter-animation\"},keyboardClose:{type:Boolean,attr:\"keyboard-close\"},leaveAnimation:{type:\"Any\",attr:\"leave-animation\"},message:{type:String,attr:\"message\"},mode:{type:String,attr:\"mode\"},onDidDismiss:{method:!0},onWillDismiss:{method:!0},overlayIndex:{type:Number,attr:\"overlay-index\"},present:{method:!0},showBackdrop:{type:Boolean,attr:\"show-backdrop\"},spinner:{type:String,attr:\"spinner\",mutable:!0},translucent:{type:Boolean,attr:\"translucent\"}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,\"events\",{get:function(){return[{name:\"ionLoadingDidPresent\",method:\"didPresent\",bubbles:!0,cancelable:!0,composed:!0},{name:\"ionLoadingWillPresent\",method:\"willPresent\",bubbles:!0,cancelable:!0,composed:!0},{name:\"ionLoadingWillDismiss\",method:\"willDismiss\",bubbles:!0,cancelable:!0,composed:!0},{name:\"ionLoadingDidDismiss\",method:\"didDismiss\",bubbles:!0,cancelable:!0,composed:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,\"listeners\",{get:function(){return[{name:\"ionBackdropTap\",method:\"onBackdropTap\"}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,\"style\",{get:function(){return\".sc-ion-loading-md-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-family:var(--ion-font-family,inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1000}.overlay-hidden.sc-ion-loading-md-h{display:none}.loading-wrapper.sc-ion-loading-md{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}.spinner-bubbles.sc-ion-loading-md, .spinner-circles.sc-ion-loading-md, .spinner-crescent.sc-ion-loading-md, .spinner-dots.sc-ion-loading-md, .spinner-lines.sc-ion-loading-md, .spinner-lines-small.sc-ion-loading-md{color:var(--spinner-color)}.sc-ion-loading-md-h{--background:var(--ion-color-step-50,#f2f2f2);--max-width:280px;--max-height:90%;--spinner-color:var(--ion-color-primary,#3880ff);color:var(--ion-color-step-850,#262626);font-size:14px}.loading-wrapper.sc-ion-loading-md{border-radius:2px;padding-left:24px;padding-right:24px;padding-top:24px;padding-bottom:24px;-webkit-box-shadow:0 16px 20px rgba(0,0,0,.4);box-shadow:0 16px 20px rgba(0,0,0,.4)}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.loading-wrapper.sc-ion-loading-md{padding-left:unset;padding-right:unset;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px}}.loading-spinner.sc-ion-loading-md + .loading-content.sc-ion-loading-md{margin-left:16px}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.loading-spinner.sc-ion-loading-md + .loading-content.sc-ion-loading-md{margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}\"},enumerable:!0,configurable:!0}),Object.defineProperty(e,\"styleMode\",{get:function(){return\"md\"},enumerable:!0,configurable:!0}),e}(),LoadingController=function(){function e(){}return e.prototype.create=function(e){return createOverlay(this.doc.createElement(\"ion-loading\"),e)},e.prototype.dismiss=function(e,t,n){return dismissOverlay(this.doc,e,t,\"ion-loading\",n)},e.prototype.getTop=function(){return tslib_1.__awaiter(this,void 0,void 0,function(){return tslib_1.__generator(this,function(e){return[2,getOverlay(this.doc,\"ion-loading\")]})})},Object.defineProperty(e,\"is\",{get:function(){return\"ion-loading-controller\"},enumerable:!0,configurable:!0}),Object.defineProperty(e,\"properties\",{get:function(){return{create:{method:!0},dismiss:{method:!0},doc:{context:\"document\"},getTop:{method:!0}}},enumerable:!0,configurable:!0}),e}();export{Loading as IonLoading,LoadingController as IonLoadingController};"],"sourceRoot":""}