(self.webpackChunk_pixelpay_ui_core=self.webpackChunk_pixelpay_ui_core||[]).push([[5203],{"./dist/ui-stencil/p-bcf5b7b9.system.entry.js":()=>{System.register(["./p-14b5f59f.system.js","./p-9565041b.system.js","./p-81f62123.system.js"],(function(t){"use strict";var o,e,i,a,n,r,s,l,p,d,c,h;return{setters:[function(t){o=t.r,e=t.h,i=t.g,a=t.H},function(t){n=t.h,r=t.t},function(t){s=t.c,l=t.d,p=t.f,d=t.s,c=t.o,h=t.e}],execute:function(){var m=["mouseenter","touchstart"],b=["mouseleave","blur","touchend"],v=t("x_tooltip",function(){function t(t){o(this,t),this.content=void 0,this.align="top"}return t.prototype.componentDidLoad=function(){var t=this;this.tooltip=n(),m.forEach((function(o){t.el.addEventListener(o,t.showHandler.bind(t))})),b.forEach((function(o){t.el.addEventListener(o,t.hideHandler.bind(t))}))},t.prototype.disconectedCallback=function(){var t=this;v.activeElements.delete(this.el),m.forEach((function(o){t.el.removeEventListener(o,t.showHandler)})),b.forEach((function(o){t.el.removeEventListener(o,t.hideHandler)}))},t.prototype.showHandler=function(){var t=this;v.activeElements.add(this.el),this.tooltip.setAttribute("data-show",""),this.tooltip.querySelector("span").innerHTML=r(this.content)||"";var o=this.tooltip.querySelector(".tooltip-arrow");s(this.el,this.tooltip,{placement:this.align,middleware:["auto"==this.align?l():p(),d({padding:10}),c(4),h({element:o})]}).then((function(e){var i,a=e.x,n=e.y,r=e.middlewareData,s=e.placement;if(t.tooltip.style.left="".concat(a,"px"),t.tooltip.style.top="".concat(n,"px"),r.arrow){var l=r.arrow,p=l.x,d=l.y,c={top:"bottom",right:"left",bottom:"top",left:"right"}[s.split("-")[0]];Object.assign(o.style,((i={left:null!=p?"".concat(p,"px"):"",top:null!=d?"".concat(d,"px"):"",right:"",bottom:""})[c]="-4px",i))}}))},t.prototype.hideHandler=function(){v.activeElements.delete(this.el),0===v.activeElements.size&&(this.tooltip.removeAttribute("data-show"),this.tooltip.querySelector("span").innerHTML="")},t.prototype.render=function(){return e(a,{key:"9205e005c475445b4aa61f98a113aef33cde3ab4","aria-label":this.content})},Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:!1,configurable:!0}),t}());v.activeElements=new Set,v.style='x-tooltip{display:inherit}x-tooltip-overlay{font-family:"Poppins", "Arial", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";background:var(--color-dark-tinted, #626262);color:var(--color-text-light, #FEFEFE);padding:4px 8px;font-size:0.9rem;border-radius:4px;display:none;-webkit-box-shadow:0 0 1em rgba(0, 0, 0, 0.2);box-shadow:0 0 1em rgba(0, 0, 0, 0.2);z-index:10000;position:absolute;text-align:inherit;top:0;left:0;width:-webkit-max-content;width:-moz-max-content;width:max-content}x-tooltip-overlay:empty{display:none}.is-dark-mode x-tooltip-overlay{background:var(--color-light-shade, #d8d8d8);color:var(--color-text, #4A4A4A)}x-tooltip-overlay[data-show]{display:block;-webkit-animation:0.4s fadeIn;animation:0.4s fadeIn}x-tooltip-overlay>p{margin:0px;font-family:"Poppins", "Arial", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}x-tooltip-overlay .tooltip-arrow{position:absolute;background:var(--color-dark-tinted, #626262);width:8px;height:8px;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.is-dark-mode x-tooltip-overlay .tooltip-arrow{background:var(--color-light-shade, #d8d8d8)}'}}}))}}]);