1"use strict"; 2(self["webpackChunknhbLogin"] = self["webpackChunknhbLogin"] || []).push([[5008],{ 3 4/***/ 5008 5(__unused_webpack_module, __webpack_exports__, __webpack_require__) { 6 7__webpack_require__.r(__webpack_exports__); 8/* harmony export */ __webpack_require__.d(__webpack_exports__, { 9/* harmony export */ san_loading_error: () => (/* binding */ SanLoadingError) 10/* harmony export */ }); 11/* harmony import */ var _runnertmp_work_san_hobapa_loginui_san_hobapa_loginui_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3029); 12/* harmony import */ var _runnertmp_work_san_hobapa_loginui_san_hobapa_loginui_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2901); 13/* harmony import */ var _index_74790bf6_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3434); 14 15 16 17var SanLoadingErrorTypes = /*#__PURE__*/function (SanLoadingErrorTypes) { 18 SanLoadingErrorTypes["DEFAULT"] = "default"; 19 SanLoadingErrorTypes["INVERTED"] = "inverted"; 20 return SanLoadingErrorTypes; 21}(SanLoadingErrorTypes || {}); 22var sanLoadingErrorCss = "html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin-block-start:0
22px;margin-block-end:0px;margin-inline-start:0px;margin-inline-end:0px;margin:0;padding:0;border:0;font-size:100%;font-family:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:\"\";content:none}table{border-collapse:collapse;border-spacing:0}::slotted(p){margin:0;padding:0}/*! \n* Main Utitilities\n* Copyright 2023 Santander \n* Copyright 2023 Santander. \n* Licensed under MIT (https://github.com/master/LICENSE) \n*/:host{display:block}:host *{box-sizing:border-box}:host .san-loading-error{min-height:88px;min-width:160px;border-radius:var(--size-border-radius-03);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--size-spacing-01);padding:var(--size-spacing-04)}:host .san-loading-error.default{background-color:var(--color-background-soft)}:host .san-loading-error.default p{color:var(--color-text-default)}:host .san-loading-error.inverted{background-color:var(--color-background-overlay)}:host .san-loading-error.inverted p{color:var(--color-text-inverted)}:host .san-loading-error p{text-align:center;font-size:var(--typescale-caption-default-size);font-family:var(--typescale-caption-default-font);line-height:var(--typescale-caption-default-line-height);font-weight:var(--typescale-caption-default-weight);font-style:var(--typescale-caption-default-style)}"; 23var SanLoadingErrorStyle0 = sanLoadingErrorCss; 24var SanLoadingError = /*#__PURE__*/(function () { 25 var SanLoadingError = /*#__PURE__*/function () { 26 function SanLoadingError(hostRef) { 27 (0,_runnertmp_work_san_hobapa_loginui_san_hobapa_loginui_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(this, SanLoadingError); 28 (0,_index_74790bf6_js__WEBPACK_IMPORTED_MODULE_2__.r)(this, hostRef); 29 this.type = undefined; 30 this.icon = undefined; 31 this.text = undefined; 32 this.ariadescription = undefined; 33 this.width = undefined; 34 this.height = undefined; 35 this.iconSize = undefined; 36 } 37 return (0,_runnertmp_work_san_hobapa_loginui_san_hobapa_loginui_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A)(SanLoadingError, [{ 38 key: "componentWillLoad", 39 value: function componentWillLoad() { 40 var _a, _b, _c, _d; 41 this.type = (_a = this.type) !== null && _a !== void 0 ? _a : SanLoadingErrorTypes.DEFAULT; 42 this.icon = (_b = this.icon) !== null && _b !== void 0 ? _b : 'error-400-500'; 43 this.text = (_c = this.text) !== null && _c !== void 0 ? _c : 'Loa
43ding error'; 44 this.ariadescription = (_d = this.ariadescription) !== null && _d !== void 0 ? _d : 'Loading error box'; 45 } 46 }, { 47 key: "componentDidLoad", 48 value: function componentDidLoad() { 49 var child = this.element.shadowRoot.querySelector('div.san-loading-error'); 50 var width = this.width || 'fit-content'; 51 var height = this.height || 'fit-content'; 52 var styleObj = "width: ".concat(width, "; height: ").concat(height); 53 child.setAttribute('style', styleObj); 54 } 55 }, { 56 key: "render", 57 value: function render() { 58 return (0,_index_74790bf6_js__WEBPACK_IMPORTED_MODULE_2__.h)("div", { 59 key: 'f428d44a29395028408347f7b2b95d64e9fd67f2', 60 "class": "san-loading-error ".concat(this.type), 61 "aria-description": this.ariadescription 62 }, (0,_index_74790bf6_js__WEBPACK_IMPORTED_MODULE_2__.h)("san-icon", { 63 key: '0c22538d2b646c636324a0c322b3a326923797cc', 64 iconcontent: this.icon, 65 color: "color-icon-".concat(this.type), 66 size: this.iconSize 67 }), (0,_index_74790bf6_js__WEBPACK_IMPORTED_MODULE_2__.h)("p", { 68 key: 'dc8806ccc1624505fa6b03a5bb194235b286db94' 69 }, this.text)); 70 } 71 }, { 72 key: "element", 73 get: function get() { 74 return (0,_index_74790bf6_js__WEBPACK_IMPORTED_MODULE_2__.g)(this); 75 } 76 }]); 77 }(); 78 SanLoadingError.style = SanLoadingErrorStyle0; 79 return SanLoadingError; 80})(); 81 82 83//# sourceMappingURL=san-loading-error.entry.js.map 84 85/***/ } 86 87}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.