(self.webpackChunk_pixelpay_ui_core=self.webpackChunk_pixelpay_ui_core||[]).push([[1430],{"./dist/ui-stencil/p-29a2bdb3.system.entry.js":function(){var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function s(e){try{c(i.next(e))}catch(e){o(e)}}function r(e){try{c(i.throw(e))}catch(e){o(e)}}function c(e){e.done?n(e.value):a(e.value).then(s,r)}c((i=i.apply(e,t||[])).next())}))},__generator=this&&this.__generator||function(e,t){var i,a,o,s,n={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return s={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function r(e){return function(t){return c([e,t])}}function c(r){if(i)throw new TypeError("Generator is already executing.");for(;s&&(s=0,r[0]&&(n=0)),n;)try{if(i=1,a&&(o=2&r[0]?a.return:r[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,r[1])).done)return o;switch(a=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return n.label++,{value:r[1],done:!1};case 5:n.label++,a=r[1],r=[0];continue;case 7:r=n.ops.pop(),n.trys.pop();continue;default:if(!(o=n.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){n=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]<o[3])){n.label=r[1];break}if(6===r[0]&&n.label<o[1]){n.label=o[1],o=r;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(r);break}o[2]&&n.ops.pop(),n.trys.pop();continue}r=t.call(e,n)}catch(e){r=[6,e],a=0}finally{i=o=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}};System.register(["./p-14b5f59f.system.js","./p-9565041b.system.js"],(function(e){"use strict";var t,n,i,a,o;return{setters:[function(e){t=e.r,n=e.h,i=e.H,a=e.g},function(e){o=e.c}],execute:function(){var c=e("x_collapse",function(){function e(e){t(this,e),this.header=void 0,this.show=!1,this.expanded=!1}return e.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return this.toggleCollapse(),[2]}))}))},e.prototype.watchExpanded=function(){this.updateCollapse()},e.prototype.componentWillLoad=function(){this.show&&(this.expanded=!0)},e.prototype.componentDidLoad=function(){this.updateCollapse()},e.prototype.toggleCollapse=function(){this.expanded=!this.expanded},e.prototype.updateCollapse=function(){this.container&&(this.expanded?this.showCollapseContainer():this.hideCollapseContainer())},e.prototype.hideCollapseContainer=function(){this.container.style.maxHeight=null,this.container.style.overflow="hidden"},e.prototype.showCollapseContainer=function(){var e=this;this.container.style.maxHeight="".concat(this.container.scrollHeight,"px"),setTimeout((function(){e.container.style.overflow="initial"}),200)},e.prototype.onCollapseKeyDown=function(e){" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),this.toggleCollapse())},e.prototype.render=function(){var t,e=this;return n(i,{key:"19ed85314812bb8f7b1ab9ae498c4ad871969afe",class:o({"collapse-expanded":this.expanded})},n("div",{key:"97da921d56604e13a04899d015d88efae06e9640",role:"switch",class:"collapse-header",tabIndex:0,"aria-checked":this.expanded,onClick:function(){return e.toggleCollapse()},onKeyDown:function(t){return e.onCollapseKeyDown(t)}},(null===(t=this.header)||void 0===t?void 0:t.length)?n("h4",null,this.header):n("slot",{name:"header"}),n("span",{key:"f7a9656eda86cebadba55449332987910a1d810e",class:"collapse-action"},n("x-icon",{key:"8e6c592bf22f6f6973f3f1fe5dca549e1db08c4f",name:this.expanded?"minus":"dropdown"}))),n("div",{key:"86302a74f164e24c118d7b51e42f5228448e24cb",class:"collapse-container",ref:function(t){return e.container=t}},n("slot",{key:"47edb1b312d7c0a15d9c82f1b4cc61664b89bba9"})))},Object.defineProperty(e.prototype,"el",{get:function(){return a(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e,"watchers",{get:function(){return{expanded:["watchExpanded"]}},enumerable:!1,configurable:!0}),e}());c.style="x-collapse{display:block;position:relative;-webkit-transition:0.3s;transition:0.3s}.is-dark-mode x-collapse{color:var(--color-text-light, #FEFEFE)}x-collapse .collapse-header{position:relative;padding:0.5rem 0;line-height:1em;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}x-collapse .collapse-header:hover:after{-webkit-animation:0.75s fadeBreathe infinite;animation:0.75s fadeBreathe infinite}x-collapse .collapse-header h4{margin:0}x-collapse .collapse-header .collapse-action{position:absolute;top:calc(50% - 0.5rem);right:0.75rem}x-collapse .collapse-container{overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-height:0;opacity:0;-webkit-transition:max-height 0.2s ease-out, opacity 0.2s;transition:max-height 0.2s ease-out, opacity 0.2s}x-collapse.collapse-expanded .collapse-container{opacity:1}"}}}))}}]);