@baloise/ds-core 16.6.0 → 16.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/bal-segment-item.js +6 -0
- package/components/bal-segment.js +6 -3
- package/components/index.js +1 -1
- package/components/tokens.esm.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
- package/dist/baloise-design-system/index.esm.js +1 -1
- package/dist/baloise-design-system/{p-ca496a02d5.system.entry.js → p-05e4a53c65.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-33e346ee9c.entry.js → p-13e4cb7883.entry.js} +1 -1
- package/dist/baloise-design-system/p-1509eaa7.system.js +1 -1
- package/dist/baloise-design-system/{p-60dccd31d0.system.entry.js → p-1dab90ea92.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9df14aeb44.entry.js → p-1e76ea305f.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c5e4359d53.system.entry.js → p-26945cccaf.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ab3a5c74.system.js → p-2df0c70a.system.js} +1 -1
- package/dist/baloise-design-system/{p-840578b091.system.entry.js → p-36a339b316.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e15280fb2b.entry.js → p-37303e3032.entry.js} +1 -1
- package/dist/baloise-design-system/{p-5003a0c597.entry.js → p-37a5a1a22c.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a5ef8dac6d.system.entry.js → p-41ffaa3ffc.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-74eb881086.entry.js → p-482c44ab09.entry.js} +1 -1
- package/dist/baloise-design-system/p-54f81c32.js +1 -1
- package/dist/baloise-design-system/p-553751ab25.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-ce5ca16861.entry.js → p-5e3f3b1087.entry.js} +1 -1
- package/dist/baloise-design-system/{p-737c1fb94a.entry.js → p-628615ef50.entry.js} +1 -1
- package/dist/baloise-design-system/{p-29d8f4a3f3.system.entry.js → p-650f9ba0b9.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-318d8566b5.entry.js → p-65badcc3ef.entry.js} +1 -1
- package/dist/baloise-design-system/p-6bd085d5.js +1 -0
- package/dist/baloise-design-system/{p-ae96e76be8.entry.js → p-6d582b5344.entry.js} +1 -1
- package/dist/baloise-design-system/{p-b439906a26.system.entry.js → p-6e9cc6f775.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9e2ff161.system.js → p-6ff915ca.system.js} +1 -1
- package/dist/baloise-design-system/{p-22cf548aa1.system.entry.js → p-75f8958153.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9bff7b8289.system.entry.js → p-7bd3277bbb.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ca3cb874.system.js → p-8d2a7b98.system.js} +1 -1
- package/dist/baloise-design-system/{p-c7a5bfc385.system.entry.js → p-a0322563d7.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-bcca1ed3.system.js +1 -1
- package/dist/baloise-design-system/p-c643ad95.js +1 -0
- package/dist/baloise-design-system/{p-0570eb56.system.js → p-d2cd4498.system.js} +1 -1
- package/dist/baloise-design-system/p-d4deea6ff0.entry.js +1 -0
- package/dist/baloise-design-system/{p-7369c393.js → p-d8224577.js} +1 -1
- package/dist/baloise-design-system/{p-414e6186de.entry.js → p-e1aecdb9f3.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a818a7381b.entry.js → p-e2f54cc42a.entry.js} +1 -1
- package/dist/baloise-design-system/{p-06a5a7af22.system.entry.js → p-ee94c7f354.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-798e2ef3fc.entry.js → p-ee998baab0.entry.js} +1 -1
- package/dist/baloise-design-system/{p-4ecfee4374.system.entry.js → p-ff07a24a13.system.entry.js} +1 -1
- package/dist/cjs/bal-carousel_2.cjs.entry.js +3 -3
- package/dist/cjs/bal-datepicker.cjs.entry.js +3 -3
- package/dist/cjs/bal-hint_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-list_8.cjs.entry.js +3 -3
- package/dist/cjs/bal-logo.cjs.entry.js +3 -3
- package/dist/cjs/bal-nav_8.cjs.entry.js +3 -3
- package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-pagination.cjs.entry.js +3 -3
- package/dist/cjs/bal-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/bal-segment_2.cjs.entry.js +15 -6
- package/dist/cjs/bal-shape.cjs.entry.js +1 -1
- package/dist/cjs/bal-steps.cjs.entry.js +3 -3
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +3 -3
- package/dist/cjs/{breakpoints.decorator-e7e9f44f.js → breakpoints.decorator-15205966.js} +1 -1
- package/dist/cjs/{breakpoints.subject-e81f405a.js → breakpoints.subject-2aac9915.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/initialize-2a19d091.js +1 -1
- package/dist/cjs/{tokens.esm-bd463bce.js → tokens.esm-94853847.js} +1 -1
- package/dist/cjs/{window-resize.decorator-7c2d851d.js → window-resize.decorator-4a489114.js} +1 -1
- package/dist/collection/components/bal-segment/bal-segment-item/bal-segment-item.js +6 -0
- package/dist/collection/components/bal-segment/bal-segment.js +6 -3
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/esm/bal-carousel_2.entry.js +3 -3
- package/dist/esm/bal-datepicker.entry.js +3 -3
- package/dist/esm/bal-hint_5.entry.js +3 -3
- package/dist/esm/bal-list_8.entry.js +3 -3
- package/dist/esm/bal-logo.entry.js +3 -3
- package/dist/esm/bal-nav_8.entry.js +3 -3
- package/dist/esm/bal-navbar_5.entry.js +3 -3
- package/dist/esm/bal-pagination.entry.js +3 -3
- package/dist/esm/bal-progress-bar.entry.js +4 -4
- package/dist/esm/bal-segment_2.entry.js +16 -7
- package/dist/esm/bal-shape.entry.js +1 -1
- package/dist/esm/bal-steps.entry.js +3 -3
- package/dist/esm/bal-tab-item_2.entry.js +3 -3
- package/dist/esm/{breakpoints.decorator-c7356fbf.js → breakpoints.decorator-dffbf034.js} +1 -1
- package/dist/esm/{breakpoints.subject-c11e7472.js → breakpoints.subject-fd3dc49c.js} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/initialize-e216cfe4.js +1 -1
- package/dist/esm/{tokens.esm-ebe36fdf.js → tokens.esm-6cd758d9.js} +1 -1
- package/dist/esm/{window-resize.decorator-4d922021.js → window-resize.decorator-55f8e354.js} +1 -1
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-datepicker.entry.js +1 -1
- package/dist/esm-es5/bal-hint_5.entry.js +1 -1
- package/dist/esm-es5/bal-list_8.entry.js +1 -1
- package/dist/esm-es5/bal-logo.entry.js +1 -1
- package/dist/esm-es5/bal-nav_8.entry.js +1 -1
- package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
- package/dist/esm-es5/bal-pagination.entry.js +1 -1
- package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
- package/dist/esm-es5/bal-segment_2.entry.js +1 -1
- package/dist/esm-es5/bal-shape.entry.js +1 -1
- package/dist/esm-es5/bal-steps.entry.js +1 -1
- package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
- package/dist/esm-es5/breakpoints.decorator-dffbf034.js +1 -0
- package/dist/esm-es5/{breakpoints.subject-c11e7472.js → breakpoints.subject-fd3dc49c.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-e216cfe4.js +1 -1
- package/dist/esm-es5/{window-resize.decorator-4d922021.js → window-resize.decorator-55f8e354.js} +1 -1
- package/dist/types/components/bal-segment/bal-segment-item/bal-segment-item.d.ts +1 -0
- package/package.json +7 -7
- package/dist/baloise-design-system/p-77cdc5cbab.entry.js +0 -1
- package/dist/baloise-design-system/p-a37806b3.js +0 -1
- package/dist/baloise-design-system/p-ea5b8ead.js +0 -1
- package/dist/baloise-design-system/p-fecc5b1e11.system.entry.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-c7356fbf.js +0 -1
- /package/dist/baloise-design-system/{p-8e798e23.js → p-a6536532.js} +0 -0
- /package/dist/baloise-design-system/{p-788f308a.system.js → p-fa210a21.system.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-ebe36fdf.js → tokens.esm-6cd758d9.js} +0 -0
package/dist/baloise-design-system/{p-4ecfee4374.system.entry.js → p-ff07a24a13.system.entry.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,r,n){function i(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function a(t){try{u(n.next(t))}catch(t){o(t)}}function s(t){try{u(n["throw"](t))}catch(t){o(t)}}function u(t){t.done?r(t.value):i(t.value).then(a,s)}u((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return u([t,e])}}function u(s){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(r=0)),r)try{if(n=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;i=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=e.call(t,r)}catch(t){s=[6,t];i=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++){if(o||!(n in e)){if(!o)o=Array.prototype.slice.call(e,0,n);o[n]=e[n]}}return t.concat(o||Array.prototype.slice.call(e))};System.register(["./p-456fc561.system.js","./p-6dbef894.system.js","./p-db0895e2.system.js","./p-b79d8942.system.js","./p-f19ea306.system.js","./p-ab3a5c74.system.js","./p-9e2ff161.system.js","./p-0177e3a0.system.js","./p-a1f6e944.system.js","./p-23bdd8dc.system.js","./p-6913b916.system.js","./p-8954495d.system.js","./p-b3f2c626.system.js","./p-145d5c4e.system.js","./p-ec9a7cf5.system.js","./p-eecefb0a.system.js","./p-788f308a.system.js"],(function(t){"use strict";var e,r,n,i,o,a,s,u,c,f,l,v,p,h,d;return{setters:[function(t){e=t.r;r=t.h;n=t.H;i=t.g;o=t.c},function(t){a=t._;s=t.a},function(t){u=t.B},function(t){c=t.p},function(t){f=t.B},function(t){l=t.b},function(t){v=t.L},function(t){p=t.L},function(t){h=t.b},function(t){d=t.L},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var b=":root{--bal-hint-content-background:var(--bal-color-grey-2)}.bal-hint{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block}.bal-hint__icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}@media (hover: hover)and (pointer: fine){.bal-hint__icon:hover svg,.bal-hint__icon:hover g,.bal-hint__icon:hover path,.bal-hint__icon:hover circle,.bal-hint__icon:focus svg,.bal-hint__icon:focus g,.bal-hint__icon:focus path,.bal-hint__icon:focus circle{fill:var(--bal-color-light-blue-5)}}.bal-hint__content{background:var(--bal-hint-content-background);display:-ms-flexbox;display:flex;gap:1.5rem;-ms-flex-direction:column;flex-direction:column}@media screen and (max-width: 768px){.bal-hint__content{padding:1.25rem;min-height:100%}.bal-hint__content>div{-ms-flex:1;flex:1}}.bal-hint__content__title{display:block;margin-bottom:1rem}.bal-hint__content__title__heading{font-family:var(--bal-title-font-family);font-weight:var(--bal-title-font-weight);font-size:var(--bal-text-size-x-large);line-height:var(--bal-line-height-x-large)}@media screen and (min-width: 769px),print{.bal-hint__content__title__heading{font-size:var(--bal-text-size-x-large-tablet);line-height:var(--bal-line-height-tablet-x-large)}}@media screen and (min-width: 1024px){.bal-hint__content__title__heading{font-size:var(--bal-text-size-x-large-desktop);line-height:var(--bal-line-height-desktop-x-large)}}@media screen and (min-width: 769px),print{.bal-hint__content__buttons--is-hidden-desktop{display:none !important}}.bal-hint__overlay__content{position:fixed;display:none;overflow:auto;top:0;left:0;right:0;bottom:0;z-index:var(--bal-z-index-popup)}.bal-hint__overlay__content--active{display:block}";var _=b;var m=t("bal_hint",function(){function t(t){var r=this;e(this,t);this.bodyScrollHandler=new f;this.onPopoverChange=function(t){r.isActive=t.detail;c(t)};this.isActive=false;this.innerCloseLabel="Close";this.isMobile=l.isMobile;this.closeLabel=undefined;this.small=false}t.prototype.connectedCallback=function(){this.bodyScrollHandler.connect()};t.prototype.componentDidRender=function(){this.updateContent()};t.prototype.disconnectedCallback=function(){this.bodyScrollHandler.disconnect()};t.prototype.breakpointListener=function(t){var e=t.mobile;if(e!==this.isMobile){this.isActive=false}this.isMobile=e};t.prototype.configChanged=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(!this.closeLabel){switch(t.language){case"de":this.innerCloseLabel="Schliessen";break;case"fr":this.innerCloseLabel="Fermer";break;case"it":this.innerCloseLabel="Chiudere";break;case"nl":this.innerCloseLabel="Sluiten";break;default:this.innerCloseLabel="Close";break}}return[2]}))}))};t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.isActive){this.dismiss()}else{this.present()}return[2]}))}))};t.prototype.present=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.popoverElement){this.popoverElement.present()}if(this.isMobile){this.bodyScrollHandler.disable()}this.isActive=true;return[2]}))}))};t.prototype.dismiss=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.popoverElement){this.popoverElement.dismiss()}if(this.isMobile){this.bodyScrollHandler.enable()}this.isActive=false;return[2]}))}))};t.prototype.updateContent=function(){if(this.hintContentEl&&this.slotWrapperEl){this.hintContentEl.innerHTML=this.slotWrapperEl.innerHTML}};t.prototype.render=function(){var t=this;var e=u.block("hint");var i=e.element("icon");var o=e.element("content");var a=o.element("buttons");var s=this.isMobile?0:8;var c=this.isMobile?0:16;var f=function(){return r("bal-icon",{class:Object.assign({},i.class()),"data-testid":"bal-hint-trigger","bal-popover-trigger":true,"aria-haspopup":"true",role:"button",name:"info-circle",onClick:function(){return t.toggle()}})};var l=function(){return r("div",{class:Object.assign({},o.class()),"data-testid":"bal-hint-content"},r("div",{ref:function(e){return t.hintContentEl=e}}),r("bal-button-group",{class:Object.assign(Object.assign({},a.class()),a.modifier("is-hidden-desktop").class(t.small))},r("bal-button",{"data-testid":"bal-hint-close",color:"info",onClick:function(){return t.dismiss()}},t.closeLabel?t.closeLabel:t.innerCloseLabel)))};var v=function(){var n=e.element("overlay");return r("div",{class:Object.assign({},n.class())},r(f,null),r("div",{class:Object.assign(Object.assign({},n.element("content").class()),n.element("content").modifier("active").class(t.isActive))},r(l,null)))};var p=function(){return r("div",{class:Object.assign({},e.element("popover").class())},r("bal-popover",{hint:true,position:"right",offsetX:0,offsetY:c,padding:s,ref:function(e){return t.popoverElement=e},onBalChange:t.onPopoverChange},r(f,null),r("bal-popover-content",{color:"grey"},r(l,null))))};var h=this.isMobile?v:p;return r(n,{class:Object.assign({},e.class())},r(h,null),r("div",{ref:function(e){return t.slotWrapperEl=e},style:{display:"none"}},r("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());a([v(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",void 0)],m.prototype,"breakpointListener",null);a([p(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",Promise)],m.prototype,"configChanged",null);m.style=_;var g=t("bal_hint_text",function(){function t(t){e(this,t)}t.prototype.render=function(){var t=u.block("hint");var e=t.element("content");var i=e.element("text");var o=i.element("field");return r(n,{class:Object.assign({},i.class())},r("p",{class:Object.assign({},o.class())},r("slot",null)))};return t}());var y=t("bal_hint_title",function(){function t(t){e(this,t)}t.prototype.render=function(){var t=u.block("hint");var e=t.element("content");var i=e.element("title");var o=i.element("heading");return r(n,{class:Object.assign({},i.class())},r("h3",{class:Object.assign({},o.class())},r("span",null,r("slot",null))))};return t}());var w="top";var x="bottom";var j="right";var O="left";var k="auto";var z=[w,x,j,O];var A="start";var E="end";var M="clippingParents";var S="viewport";var P="popper";var C="reference";var L=z.reduce((function(t,e){return t.concat([e+"-"+A,e+"-"+E])}),[]);var T=[].concat(z,[k]).reduce((function(t,e){return t.concat([e,e+"-"+A,e+"-"+E])}),[]);var B="beforeRead";var F="read";var q="afterRead";var W="beforeMain";var R="main";var I="afterMain";var H="beforeWrite";var D="write";var G="afterWrite";var N=[B,F,q,W,R,I,H,D,G];function U(t){return t?(t.nodeName||"").toLowerCase():null}function V(t){if(t==null){return window}if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e?e.defaultView||window:window}return t}function X(t){var e=V(t).Element;return t instanceof e||t instanceof Element}function Y(t){var e=V(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function J(t){if(typeof ShadowRoot==="undefined"){return false}var e=V(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function K(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var r=e.styles[t]||{};var n=e.attributes[t]||{};var i=e.elements[t];if(!Y(i)||!U(i)){return}Object.assign(i.style,r);Object.keys(n).forEach((function(t){var e=n[t];if(e===false){i.removeAttribute(t)}else{i.setAttribute(t,e===true?"":e)}}))}))}function Q(t){var e=t.state;var r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,r.popper);e.styles=r;if(e.elements.arrow){Object.assign(e.elements.arrow.style,r.arrow)}return function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t];var i=e.attributes[t]||{};var o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:r[t]);var a=o.reduce((function(t,e){t[e]="";return t}),{});if(!Y(n)||!U(n)){return}Object.assign(n.style,a);Object.keys(i).forEach((function(t){n.removeAttribute(t)}))}))}}var Z={name:"applyStyles",enabled:true,phase:"write",fn:K,effect:Q,requires:["computeStyles"]};function $(t){return t.split("-")[0]}var tt=Math.max;var et=Math.min;var rt=Math.round;function nt(){var t=navigator.userAgentData;if(t!=null&&t.brands&&Array.isArray(t.brands)){return t.brands.map((function(t){return t.brand+"/"+t.version})).join(" ")}return navigator.userAgent}function it(){return!/^((?!chrome|android).)*safari/i.test(nt())}function ot(t,e,r){if(e===void 0){e=false}if(r===void 0){r=false}var n=t.getBoundingClientRect();var i=1;var o=1;if(e&&Y(t)){i=t.offsetWidth>0?rt(n.width)/t.offsetWidth||1:1;o=t.offsetHeight>0?rt(n.height)/t.offsetHeight||1:1}var a=X(t)?V(t):window,s=a.visualViewport;var u=!it()&&r;var c=(n.left+(u&&s?s.offsetLeft:0))/i;var f=(n.top+(u&&s?s.offsetTop:0))/o;var l=n.width/i;var v=n.height/o;return{width:l,height:v,top:f,right:c+l,bottom:f+v,left:c,x:c,y:f}}function at(t){var e=ot(t);var r=t.offsetWidth;var n=t.offsetHeight;if(Math.abs(e.width-r)<=1){r=e.width}if(Math.abs(e.height-n)<=1){n=e.height}return{x:t.offsetLeft,y:t.offsetTop,width:r,height:n}}function st(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e)){return true}else if(r&&J(r)){var n=e;do{if(n&&t.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function ut(t){return V(t).getComputedStyle(t)}function ct(t){return["table","td","th"].indexOf(U(t))>=0}function ft(t){return((X(t)?t.ownerDocument:t.document)||window.document).documentElement}function lt(t){if(U(t)==="html"){return t}return t.assignedSlot||t.parentNode||(J(t)?t.host:null)||ft(t)}function vt(t){if(!Y(t)||ut(t).position==="fixed"){return null}return t.offsetParent}function pt(t){var e=/firefox/i.test(nt());var r=/Trident/i.test(nt());if(r&&Y(t)){var n=ut(t);if(n.position==="fixed"){return null}}var i=lt(t);if(J(i)){i=i.host}while(Y(i)&&["html","body"].indexOf(U(i))<0){var o=ut(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none"){return i}else{i=i.parentNode}}return null}function ht(t){var e=V(t);var r=vt(t);while(r&&ct(r)&&ut(r).position==="static"){r=vt(r)}if(r&&(U(r)==="html"||U(r)==="body"&&ut(r).position==="static")){return e}return r||pt(t)||e}function dt(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function bt(t,e,r){return tt(t,et(e,r))}function _t(t,e,r){var n=bt(t,e,r);return n>r?r:n}function mt(){return{top:0,right:0,bottom:0,left:0}}function gt(t){return Object.assign({},mt(),t)}function yt(t,e){return e.reduce((function(e,r){e[r]=t;return e}),{})}var wt=function t(e,r){e=typeof e==="function"?e(Object.assign({},r.rects,{placement:r.placement})):e;return gt(typeof e!=="number"?e:yt(e,z))};function xt(t){var e;var r=t.state,n=t.name,i=t.options;var o=r.elements.arrow;var a=r.modifiersData.popperOffsets;var s=$(r.placement);var u=dt(s);var c=[O,j].indexOf(s)>=0;var f=c?"height":"width";if(!o||!a){return}var l=wt(i.padding,r);var v=at(o);var p=u==="y"?w:O;var h=u==="y"?x:j;var d=r.rects.reference[f]+r.rects.reference[u]-a[u]-r.rects.popper[f];var b=a[u]-r.rects.reference[u];var _=ht(o);var m=_?u==="y"?_.clientHeight||0:_.clientWidth||0:0;var g=d/2-b/2;var y=l[p];var k=m-v[f]-l[h];var z=m/2-v[f]/2+g;var A=bt(y,z,k);var E=u;r.modifiersData[n]=(e={},e[E]=A,e.centerOffset=A-z,e)}function jt(t){var e=t.state,r=t.options;var n=r.element,i=n===void 0?"[data-popper-arrow]":n;if(i==null){return}if(typeof i==="string"){i=e.elements.popper.querySelector(i);if(!i){return}}if(!st(e.elements.popper,i)){return}e.elements.arrow=i}var Ot={name:"arrow",enabled:true,phase:"main",fn:xt,effect:jt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function kt(t){return t.split("-")[1]}var zt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function At(t,e){var r=t.x,n=t.y;var i=e.devicePixelRatio||1;return{x:rt(r*i)/i||0,y:rt(n*i)/i||0}}function Et(t){var e;var r=t.popper,n=t.popperRect,i=t.placement,o=t.variation,a=t.offsets,s=t.position,u=t.gpuAcceleration,c=t.adaptive,f=t.roundOffsets,l=t.isFixed;var v=a.x,p=v===void 0?0:v,h=a.y,d=h===void 0?0:h;var b=typeof f==="function"?f({x:p,y:d}):{x:p,y:d};p=b.x;d=b.y;var _=a.hasOwnProperty("x");var m=a.hasOwnProperty("y");var g=O;var y=w;var k=window;if(c){var z=ht(r);var A="clientHeight";var M="clientWidth";if(z===V(r)){z=ft(r);if(ut(z).position!=="static"&&s==="absolute"){A="scrollHeight";M="scrollWidth"}}z=z;if(i===w||(i===O||i===j)&&o===E){y=x;var S=l&&z===k&&k.visualViewport?k.visualViewport.height:z[A];d-=S-n.height;d*=u?1:-1}if(i===O||(i===w||i===x)&&o===E){g=j;var P=l&&z===k&&k.visualViewport?k.visualViewport.width:z[M];p-=P-n.width;p*=u?1:-1}}var C=Object.assign({position:s},c&&zt);var L=f===true?At({x:p,y:d},V(r)):{x:p,y:d};p=L.x;d=L.y;if(u){var T;return Object.assign({},C,(T={},T[y]=m?"0":"",T[g]=_?"0":"",T.transform=(k.devicePixelRatio||1)<=1?"translate("+p+"px, "+d+"px)":"translate3d("+p+"px, "+d+"px, 0)",T))}return Object.assign({},C,(e={},e[y]=m?d+"px":"",e[g]=_?p+"px":"",e.transform="",e))}function Mt(t){var e=t.state,r=t.options;var n=r.gpuAcceleration,i=n===void 0?true:n,o=r.adaptive,a=o===void 0?true:o,s=r.roundOffsets,u=s===void 0?true:s;var c={placement:$(e.placement),variation:kt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};if(e.modifiersData.popperOffsets!=null){e.styles.popper=Object.assign({},e.styles.popper,Et(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:u})))}if(e.modifiersData.arrow!=null){e.styles.arrow=Object.assign({},e.styles.arrow,Et(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:u})))}e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var St={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:Mt,data:{}};var Pt={passive:true};function Ct(t){var e=t.state,r=t.instance,n=t.options;var i=n.scroll,o=i===void 0?true:i,a=n.resize,s=a===void 0?true:a;var u=V(e.elements.popper);var c=[].concat(e.scrollParents.reference,e.scrollParents.popper);if(o){c.forEach((function(t){t.addEventListener("scroll",r.update,Pt)}))}if(s){u.addEventListener("resize",r.update,Pt)}return function(){if(o){c.forEach((function(t){t.removeEventListener("scroll",r.update,Pt)}))}if(s){u.removeEventListener("resize",r.update,Pt)}}}var Lt={name:"eventListeners",enabled:true,phase:"write",fn:function t(){},effect:Ct,data:{}};var Tt={left:"right",right:"left",bottom:"top",top:"bottom"};function Bt(t){return t.replace(/left|right|bottom|top/g,(function(t){return Tt[t]}))}var Ft={start:"end",end:"start"};function qt(t){return t.replace(/start|end/g,(function(t){return Ft[t]}))}function Wt(t){var e=V(t);var r=e.pageXOffset;var n=e.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Rt(t){return ot(ft(t)).left+Wt(t).scrollLeft}function It(t,e){var r=V(t);var n=ft(t);var i=r.visualViewport;var o=n.clientWidth;var a=n.clientHeight;var s=0;var u=0;if(i){o=i.width;a=i.height;var c=it();if(c||!c&&e==="fixed"){s=i.offsetLeft;u=i.offsetTop}}return{width:o,height:a,x:s+Rt(t),y:u}}function Ht(t){var e;var r=ft(t);var n=Wt(t);var i=(e=t.ownerDocument)==null?void 0:e.body;var o=tt(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0);var a=tt(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0);var s=-n.scrollLeft+Rt(t);var u=-n.scrollTop;if(ut(i||r).direction==="rtl"){s+=tt(r.clientWidth,i?i.clientWidth:0)-o}return{width:o,height:a,x:s,y:u}}function Dt(t){var e=ut(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function Gt(t){if(["html","body","#document"].indexOf(U(t))>=0){return t.ownerDocument.body}if(Y(t)&&Dt(t)){return t}return Gt(lt(t))}function Nt(t,e){var r;if(e===void 0){e=[]}var n=Gt(t);var i=n===((r=t.ownerDocument)==null?void 0:r.body);var o=V(n);var a=i?[o].concat(o.visualViewport||[],Dt(n)?n:[]):n;var s=e.concat(a);return i?s:s.concat(Nt(lt(a)))}function Ut(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Vt(t,e){var r=ot(t,false,e==="fixed");r.top=r.top+t.clientTop;r.left=r.left+t.clientLeft;r.bottom=r.top+t.clientHeight;r.right=r.left+t.clientWidth;r.width=t.clientWidth;r.height=t.clientHeight;r.x=r.left;r.y=r.top;return r}function Xt(t,e,r){return e===S?Ut(It(t,r)):X(e)?Vt(e,r):Ut(Ht(ft(t)))}function Yt(t){var e=Nt(lt(t));var r=["absolute","fixed"].indexOf(ut(t).position)>=0;var n=r&&Y(t)?ht(t):t;if(!X(n)){return[]}return e.filter((function(t){return X(t)&&st(t,n)&&U(t)!=="body"}))}function Jt(t,e,r,n){var i=e==="clippingParents"?Yt(t):[].concat(e);var o=[].concat(i,[r]);var a=o[0];var s=o.reduce((function(e,r){var i=Xt(t,r,n);e.top=tt(i.top,e.top);e.right=et(i.right,e.right);e.bottom=et(i.bottom,e.bottom);e.left=tt(i.left,e.left);return e}),Xt(t,a,n));s.width=s.right-s.left;s.height=s.bottom-s.top;s.x=s.left;s.y=s.top;return s}function Kt(t){var e=t.reference,r=t.element,n=t.placement;var i=n?$(n):null;var o=n?kt(n):null;var a=e.x+e.width/2-r.width/2;var s=e.y+e.height/2-r.height/2;var u;switch(i){case w:u={x:a,y:e.y-r.height};break;case x:u={x:a,y:e.y+e.height};break;case j:u={x:e.x+e.width,y:s};break;case O:u={x:e.x-r.width,y:s};break;default:u={x:e.x,y:e.y}}var c=i?dt(i):null;if(c!=null){var f=c==="y"?"height":"width";switch(o){case A:u[c]=u[c]-(e[f]/2-r[f]/2);break;case E:u[c]=u[c]+(e[f]/2-r[f]/2);break}}return u}function Qt(t,e){if(e===void 0){e={}}var r=e,n=r.placement,i=n===void 0?t.placement:n,o=r.strategy,a=o===void 0?t.strategy:o,s=r.boundary,u=s===void 0?M:s,c=r.rootBoundary,f=c===void 0?S:c,l=r.elementContext,v=l===void 0?P:l,p=r.altBoundary,h=p===void 0?false:p,d=r.padding,b=d===void 0?0:d;var _=gt(typeof b!=="number"?b:yt(b,z));var m=v===P?C:P;var g=t.rects.popper;var y=t.elements[h?m:v];var O=Jt(X(y)?y:y.contextElement||ft(t.elements.popper),u,f,a);var k=ot(t.elements.reference);var A=Kt({reference:k,element:g,strategy:"absolute",placement:i});var E=Ut(Object.assign({},g,A));var L=v===P?E:k;var T={top:O.top-L.top+_.top,bottom:L.bottom-O.bottom+_.bottom,left:O.left-L.left+_.left,right:L.right-O.right+_.right};var B=t.modifiersData.offset;if(v===P&&B){var F=B[i];Object.keys(T).forEach((function(t){var e=[j,x].indexOf(t)>=0?1:-1;var r=[w,x].indexOf(t)>=0?"y":"x";T[t]+=F[r]*e}))}return T}function Zt(t,e){if(e===void 0){e={}}var r=e,n=r.placement,i=r.boundary,o=r.rootBoundary,a=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,c=u===void 0?T:u;var f=kt(n);var l=f?s?L:L.filter((function(t){return kt(t)===f})):z;var v=l.filter((function(t){return c.indexOf(t)>=0}));if(v.length===0){v=l}var p=v.reduce((function(e,r){e[r]=Qt(t,{placement:r,boundary:i,rootBoundary:o,padding:a})[$(r)];return e}),{});return Object.keys(p).sort((function(t,e){return p[t]-p[e]}))}function $t(t){if($(t)===k){return[]}var e=Bt(t);return[qt(t),e,qt(e)]}function te(t){var e=t.state,r=t.options,n=t.name;if(e.modifiersData[n]._skip){return}var i=r.mainAxis,o=i===void 0?true:i,a=r.altAxis,s=a===void 0?true:a,u=r.fallbackPlacements,c=r.padding,f=r.boundary,l=r.rootBoundary,v=r.altBoundary,p=r.flipVariations,h=p===void 0?true:p,d=r.allowedAutoPlacements;var b=e.options.placement;var _=$(b);var m=_===b;var g=u||(m||!h?[Bt(b)]:$t(b));var y=[b].concat(g).reduce((function(t,r){return t.concat($(r)===k?Zt(e,{placement:r,boundary:f,rootBoundary:l,padding:c,flipVariations:h,allowedAutoPlacements:d}):r)}),[]);var z=e.rects.reference;var E=e.rects.popper;var M=new Map;var S=true;var P=y[0];for(var C=0;C<y.length;C++){var L=y[C];var T=$(L);var B=kt(L)===A;var F=[w,x].indexOf(T)>=0;var q=F?"width":"height";var W=Qt(e,{placement:L,boundary:f,rootBoundary:l,altBoundary:v,padding:c});var R=F?B?j:O:B?x:w;if(z[q]>E[q]){R=Bt(R)}var I=Bt(R);var H=[];if(o){H.push(W[T]<=0)}if(s){H.push(W[R]<=0,W[I]<=0)}if(H.every((function(t){return t}))){P=L;S=false;break}M.set(L,H)}if(S){var D=h?3:1;var G=function t(e){var r=y.find((function(t){var r=M.get(t);if(r){return r.slice(0,e).every((function(t){return t}))}}));if(r){P=r;return"break"}};for(var N=D;N>0;N--){var U=G(N);if(U==="break")break}}if(e.placement!==P){e.modifiersData[n]._skip=true;e.placement=P;e.reset=true}}var ee={name:"flip",enabled:true,phase:"main",fn:te,requiresIfExists:["offset"],data:{_skip:false}};function re(t,e,r){if(r===void 0){r={x:0,y:0}}return{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function ne(t){return[w,j,x,O].some((function(e){return t[e]>=0}))}function ie(t){var e=t.state,r=t.name;var n=e.rects.reference;var i=e.rects.popper;var o=e.modifiersData.preventOverflow;var a=Qt(e,{elementContext:"reference"});var s=Qt(e,{altBoundary:true});var u=re(a,n);var c=re(s,i,o);var f=ne(u);var l=ne(c);e.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:l};e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":l})}var oe={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:ie};function ae(t,e,r){var n=$(t);var i=[O,w].indexOf(n)>=0?-1:1;var o=typeof r==="function"?r(Object.assign({},e,{placement:t})):r,a=o[0],s=o[1];a=a||0;s=(s||0)*i;return[O,j].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function se(t){var e=t.state,r=t.options,n=t.name;var i=r.offset,o=i===void 0?[0,0]:i;var a=T.reduce((function(t,r){t[r]=ae(r,e.rects,o);return t}),{});var s=a[e.placement],u=s.x,c=s.y;if(e.modifiersData.popperOffsets!=null){e.modifiersData.popperOffsets.x+=u;e.modifiersData.popperOffsets.y+=c}e.modifiersData[n]=a}var ue={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:se};function ce(t){var e=t.state,r=t.name;e.modifiersData[r]=Kt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var fe={name:"popperOffsets",enabled:true,phase:"read",fn:ce,data:{}};function le(t){return t==="x"?"y":"x"}function ve(t){var e=t.state,r=t.options,n=t.name;var i=r.mainAxis,o=i===void 0?true:i,a=r.altAxis,s=a===void 0?false:a,u=r.boundary,c=r.rootBoundary,f=r.altBoundary,l=r.padding,v=r.tether,p=v===void 0?true:v,h=r.tetherOffset,d=h===void 0?0:h;var b=Qt(e,{boundary:u,rootBoundary:c,padding:l,altBoundary:f});var _=$(e.placement);var m=kt(e.placement);var g=!m;var y=dt(_);var k=le(y);var z=e.modifiersData.popperOffsets;var E=e.rects.reference;var M=e.rects.popper;var S=typeof d==="function"?d(Object.assign({},e.rects,{placement:e.placement})):d;var P=typeof S==="number"?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S);var C=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null;var L={x:0,y:0};if(!z){return}if(o){var T;var B=y==="y"?w:O;var F=y==="y"?x:j;var q=y==="y"?"height":"width";var W=z[y];var R=W+b[B];var I=W-b[F];var H=p?-M[q]/2:0;var D=m===A?E[q]:M[q];var G=m===A?-M[q]:-E[q];var N=e.elements.arrow;var U=p&&N?at(N):{width:0,height:0};var V=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:mt();var X=V[B];var Y=V[F];var J=bt(0,E[q],U[q]);var K=g?E[q]/2-H-J-X-P.mainAxis:D-J-X-P.mainAxis;var Q=g?-E[q]/2+H+J+Y+P.mainAxis:G+J+Y+P.mainAxis;var Z=e.elements.arrow&&ht(e.elements.arrow);var rt=Z?y==="y"?Z.clientTop||0:Z.clientLeft||0:0;var nt=(T=C==null?void 0:C[y])!=null?T:0;var it=W+K-nt-rt;var ot=W+Q-nt;var st=bt(p?et(R,it):R,W,p?tt(I,ot):I);z[y]=st;L[y]=st-W}if(s){var ut;var ct=y==="x"?w:O;var ft=y==="x"?x:j;var lt=z[k];var vt=k==="y"?"height":"width";var pt=lt+b[ct];var gt=lt-b[ft];var yt=[w,O].indexOf(_)!==-1;var wt=(ut=C==null?void 0:C[k])!=null?ut:0;var xt=yt?pt:lt-E[vt]-M[vt]-wt+P.altAxis;var jt=yt?lt+E[vt]+M[vt]-wt-P.altAxis:gt;var Ot=p&&yt?_t(xt,lt,jt):bt(p?xt:pt,lt,p?jt:gt);z[k]=Ot;L[k]=Ot-lt}e.modifiersData[n]=L}var pe={name:"preventOverflow",enabled:true,phase:"main",fn:ve,requiresIfExists:["offset"]};function he(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function de(t){if(t===V(t)||!Y(t)){return Wt(t)}else{return he(t)}}function be(t){var e=t.getBoundingClientRect();var r=rt(e.width)/t.offsetWidth||1;var n=rt(e.height)/t.offsetHeight||1;return r!==1||n!==1}function _e(t,e,r){if(r===void 0){r=false}var n=Y(e);var i=Y(e)&&be(e);var o=ft(e);var a=ot(t,i,r);var s={scrollLeft:0,scrollTop:0};var u={x:0,y:0};if(n||!n&&!r){if(U(e)!=="body"||Dt(o)){s=de(e)}if(Y(e)){u=ot(e,true);u.x+=e.clientLeft;u.y+=e.clientTop}else if(o){u.x=Rt(o)}}return{x:a.left+s.scrollLeft-u.x,y:a.top+s.scrollTop-u.y,width:a.width,height:a.height}}function me(t){var e=new Map;var r=new Set;var n=[];t.forEach((function(t){e.set(t.name,t)}));function i(t){r.add(t.name);var o=[].concat(t.requires||[],t.requiresIfExists||[]);o.forEach((function(t){if(!r.has(t)){var n=e.get(t);if(n){i(n)}}}));n.push(t)}t.forEach((function(t){if(!r.has(t.name)){i(t)}}));return n}function ge(t){var e=me(t);return N.reduce((function(t,r){return t.concat(e.filter((function(t){return t.phase===r})))}),[])}function ye(t){var e;return function(){if(!e){e=new Promise((function(r){Promise.resolve().then((function(){e=undefined;r(t())}))}))}return e}}function we(t){var e=t.reduce((function(t,e){var r=t[e.name];t[e.name]=r?Object.assign({},r,e,{options:Object.assign({},r.options,e.options),data:Object.assign({},r.data,e.data)}):e;return t}),{});return Object.keys(e).map((function(t){return e[t]}))}var xe={placement:"bottom",modifiers:[],strategy:"absolute"};function je(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++){e[r]=arguments[r]}return!e.some((function(t){return!(t&&typeof t.getBoundingClientRect==="function")}))}function Oe(t){if(t===void 0){t={}}var e=t,r=e.defaultModifiers,n=r===void 0?[]:r,i=e.defaultOptions,o=i===void 0?xe:i;return function t(e,r,i){if(i===void 0){i=o}var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},xe,o),modifiersData:{},elements:{reference:e,popper:r},attributes:{},styles:{}};var s=[];var u=false;var c={state:a,setOptions:function t(i){var s=typeof i==="function"?i(a.options):i;l();a.options=Object.assign({},o,a.options,s);a.scrollParents={reference:X(e)?Nt(e):e.contextElement?Nt(e.contextElement):[],popper:Nt(r)};var u=ge(we([].concat(n,a.options.modifiers)));a.orderedModifiers=u.filter((function(t){return t.enabled}));f();return c.update()},forceUpdate:function t(){if(u){return}var e=a.elements,r=e.reference,n=e.popper;if(!je(r,n)){return}a.rects={reference:_e(r,ht(n),a.options.strategy==="fixed"),popper:at(n)};a.reset=false;a.placement=a.options.placement;a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<a.orderedModifiers.length;i++){if(a.reset===true){a.reset=false;i=-1;continue}var o=a.orderedModifiers[i],s=o.fn,f=o.options,l=f===void 0?{}:f,v=o.name;if(typeof s==="function"){a=s({state:a,options:l,name:v,instance:c})||a}}},update:ye((function(){return new Promise((function(t){c.forceUpdate();t(a)}))})),destroy:function t(){l();u=true}};if(!je(e,r)){return c}c.setOptions(i).then((function(t){if(!u&&i.onFirstUpdate){i.onFirstUpdate(t)}}));function f(){a.orderedModifiers.forEach((function(t){var e=t.name,r=t.options,n=r===void 0?{}:r,i=t.effect;if(typeof i==="function"){var o=i({state:a,name:e,instance:c,options:n});var u=function t(){};s.push(o||u)}}))}function l(){s.forEach((function(t){return t()}));s=[]}return c}}var ke=[Lt,fe,St,Z,ue,ee,pe,Ot,oe];var ze=Oe({defaultModifiers:ke});var Ae='.bal-popover__backdrop{bottom:0;left:0;position:absolute;right:0;top:0}:root{--bal-popover-backdrop-height:100vh;--bal-popover-content-height-top-nav:100vh;--bal-popover-backdrop-background:var(--bal-color-primary-6);--bal-popover-backdrop-opacity:.8;--bal-popover-content-shadow:var(--bal-shadow-normal);--bal-popover-content-background:var(--bal-color-white);--bal-popover-content-background-grey:var(--bal-color-grey-2);--bal-popover-tooltip-background:var(--bal-color-primary-6);--bal-popover-tooltip-color:var(--bal-color-white);--bal-popover-tooltip-font-family:var(--bal-font-family-text);--bal-popover-tooltip-font-size:var(--bal-text-size-small)}.bal-popover{display:block}@media screen and (max-width: 768px){.bal-popover .bal-popover__content{min-width:100vw !important}.bal-popover .bal-select__popover{min-width:100% !important}}.bal-popover--active .bal-popover__content{display:block}.bal-popover--backdrop [bal-popover-trigger]{z-index:calc(var(--bal-z-index-popup) - 1);position:relative}@media screen and (max-width: 768px){.bal-popover--hint .bal-popover__content{min-height:100vh}.bal-popover--hint .bal-popover__content .bal-popover__content__inner{min-height:100vh}}@media screen and (min-width: 769px),print{.bal-popover--hint .bal-popover__content{max-width:20rem}}@media screen and (min-width: 1024px){.bal-popover--hint .bal-popover__content{max-width:30rem}}.bal-popover__backdrop{z-index:calc(var(--bal-z-index-popup) - 2);position:fixed;background:var(--bal-popover-backdrop-background);opacity:var(--bal-popover-backdrop-opacity);height:var(--bal-popover-backdrop-height);width:100vw}.bal-popover__content{display:none;z-index:var(--bal-z-index-popup);-webkit-box-shadow:var(--bal-popover-content-shadow);box-shadow:var(--bal-popover-content-shadow);background:var(--bal-popover-content-background);min-width:16.25rem}.bal-popover__content[data-show]{display:block}.bal-popover__content--expanded{min-width:100%}.bal-popover__content--no-shadow{-webkit-box-shadow:none;box-shadow:none}.bal-popover__content--radius-normal{border-radius:var(--bal-radius-normal)}.bal-popover__content--radius-large{border-radius:var(--bal-radius-large)}.bal-popover__content--radius-none{border-radius:0}.bal-popover__content--radius-normal-bottom-none{border-radius:var(--bal-radius-normal);border-bottom-right-radius:0;border-bottom-left-radius:0}.bal-popover__content--radius-normal-top-none{border-radius:var(--bal-radius-normal);border-top-left-radius:0;border-top-right-radius:0}.bal-popover__content--radius-large-bottom-none{border-radius:var(--bal-radius-large);border-bottom-right-radius:0;border-bottom-left-radius:0}.bal-popover__content--radius-large-top-none{border-radius:var(--bal-radius-large);border-top-left-radius:0;border-top-right-radius:0}.bal-popover__content--on-top{border-top:1px solid var(--bal-color-grey-2);height:var(--bal-popover-content-height-top-nav);overflow-y:auto}.bal-popover__content--color-grey{background:var(--bal-popover-content-background-grey)}.bal-popover__content__inner{max-height:calc(100vh - 4.5rem);overflow:auto;padding:1rem}@media screen and (min-width: 769px),print{.bal-popover__content__inner{padding:1.5rem}}@media screen and (min-width: 1024px){.bal-popover__content__inner{max-height:calc(100vh - 8rem)}}.bal-popover__content--spaceless .bal-popover__content__inner{padding:0}.bal-popover__content [data-popper-arrow]{display:none}.bal-popover__content__arrow{visibility:hidden}.bal-popover__content__arrow [data-popper-arrow]{display:block}.bal-popover__content__arrow,.bal-popover__content__arrow:before{position:absolute;width:.5rem;height:.5rem;background:inherit}.bal-popover__content__arrow:before{visibility:visible;content:"";-webkit-transform:rotate(45deg);transform:rotate(45deg)}.bal-popover__content[data-popper-placement^=top]>.bal-popover__content__arrow{bottom:-0.25rem}.bal-popover__content[data-popper-placement^=bottom]>.bal-popover__content__arrow{top:-0.25rem}.bal-popover__content[data-popper-placement^=left]>.bal-popover__content__arrow{right:-0.25rem}.bal-popover__content[data-popper-placement^=right]>.bal-popover__content__arrow{left:-0.25rem}.bal-popover--arrow .bal-popover__content__arrow{display:block}.bal-popover--tooltip .bal-popover__content{min-width:unset;background:var(--bal-popover-tooltip-background)}.bal-popover--tooltip .bal-popover__content .bal-popover__content__inner{padding:var(--bal-space-x-small)}.bal-popover--tooltip .bal-popover__content .bal-popover__content__inner,.bal-popover--tooltip .bal-popover__content .bal-popover__content__inner p{color:var(--bal-popover-tooltip-color);font-family:var(--bal-popover-tooltip-font-family);font-size:var(--bal-popover-tooltip-font-size)}';var Ee=Ae;var Me=t("bal_popover",function(){function t(t){e(this,t);this.balChange=o(this,"balChange",7);this.balWillAnimate=o(this,"balWillAnimate",7);this.balDidAnimate=o(this,"balDidAnimate",7);this.balPopoverPrepare=o(this,"balPopoverPrepare",7);this.popoverId="bal-po-".concat(Se++);this.isTouch=l.isTouch;this.isInMainNav=false;this.backdropHeight=0;this.autoTrigger=false;this.hint=false;this.hover=false;this.arrow=false;this.backdrop=false;this.tooltip=false;this.offsetX=0;this.offsetY=0;this.padding=0;this.position="bottom-start";this.active=false;this.mobileTop=false}t.prototype.createLogger=function(t){this.log=t};t.prototype.activeChanged=function(t,e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){if(t===true&&t!==e){this.present({force:true})}else{this.dismiss({force:true})}return[2]}))}))};t.prototype.componentWillLoad=function(){this.backdropHeight=this.getBackdropHeight()};t.prototype.componentDidLoad=function(){var t=this;this.isInMainNav=this.footMobileNav!==null;if(this.triggerElement&&this.menuElement){this.popperInstance=ze(this.triggerElement,this.menuElement,{placement:this.tooltip?"bottom":this.position,modifiers:[this.modifierOffset,this.modifierPreventOverflow]});var e=[];var r=[];if(this.autoTrigger){e=["click"]}if(this.tooltip){e=["mouseenter","focus"];r=["mouseleave","blur"]}e.forEach((function(e){if(t.triggerElement){if(e==="click"){t.triggerElement.addEventListener(e,(function(){return t.toggle()}))}else{t.triggerElement.addEventListener(e,(function(){return t.present()}))}}}));r.forEach((function(e){if(t.triggerElement){t.triggerElement.addEventListener(e,(function(){return t.dismiss()}))}}))}};t.prototype.componentDidRender=function(){var t=this;if(this.popperInstance){this.popperInstance.setOptions((function(e){return Object.assign(Object.assign({},e),{placement:t.tooltip?"bottom":t.position,modifiers:__spreadArray(__spreadArray([],e.modifiers.filter((function(t){return t.name!=="offset"&&t.name!=="preventOverflow"})),true),[t.modifierOffset,t.modifierPreventOverflow],false)})}));this.updatePopper()}if(h.isSafari&&!this.isTouch){clearTimeout(this.componentDidRenderTimer);this.componentDidRenderTimer=setTimeout((function(){var e;var r=(e=t.element)===null||e===void 0?void 0:e.clientWidth;if(r){t.element.style.maxWidth="".concat(r,"px")}else{t.element.style.maxWidth="initial"}}))}};t.prototype.handlePopoverPrepare=function(t){var e=t.detail;if(this.popoverId!==e){this.dismiss()}};t.prototype.clickOnOutside=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(r){if(this.active){if(!this.element.contains(t.target)){this.active=false}if((e=this.backdropElement)===null||e===void 0?void 0:e.isEqualNode(t.target)){this.active=false}}return[2]}))}))};t.prototype.handleKeyUp=function(t){if(this.active&&(t.key==="Escape"||t.key==="Esc")){t.preventDefault();this.dismiss()}};t.prototype.tabOutside=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!(t.key==="Tab"&&!this.element.contains(document.activeElement)&&this.active))return[3,2];return[4,this.toggle()];case 1:e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.breakpointListener=function(t){this.isTouch=t.touch;this.isInMainNav=this.footMobileNav!==null;this.backdropHeight=this.getBackdropHeight()};t.prototype.present=function(t){if(t===void 0){t={force:false}}return __awaiter(this,void 0,void 0,(function(){var e,r;return __generator(this,(function(n){if(!this.active||t.force){(e=this.menuElement)===null||e===void 0?void 0:e.setAttribute("data-show","");(r=this.menuElement)===null||r===void 0?void 0:r.setAttribute("aria-hidden","false");if(this.menuInnerElement){this.menuInnerElement.scrollTo(0,0)}this.balPopoverPrepare.emit(this.popoverId);this.balWillAnimate.emit(this.active);this.active=true;this.popperInstance.setOptions((function(t){return Object.assign(Object.assign({},t),{modifiers:__spreadArray(__spreadArray([],t.modifiers,true),[{name:"eventListeners",enabled:true}],false)})}));this.updatePopper();this.balChange.emit(this.active);this.balDidAnimate.emit(this.active)}return[2]}))}))};t.prototype.dismiss=function(t){if(t===void 0){t={force:false}}return __awaiter(this,void 0,void 0,(function(){var e,r;return __generator(this,(function(n){if(this.active||t.force){(e=this.menuElement)===null||e===void 0?void 0:e.removeAttribute("data-show");(r=this.menuElement)===null||r===void 0?void 0:r.setAttribute("aria-hidden","true");this.balWillAnimate.emit(this.active);this.active=false;this.popperInstance.setOptions((function(t){return Object.assign(Object.assign({},t),{modifiers:__spreadArray(__spreadArray([],t.modifiers,true),[{name:"eventListeners",enabled:false}],false)})}));this.updatePopper();this.balChange.emit(this.active);this.balDidAnimate.emit(this.active)}return[2]}))}))};t.prototype.toggle=function(t){if(t===void 0){t={force:false}}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!this.active)return[3,2];return[4,this.dismiss(t)];case 1:e.sent();return[3,4];case 2:return[4,this.present(t)];case 3:e.sent();e.label=4;case 4:return[2]}}))}))};Object.defineProperty(t.prototype,"footMobileNav",{get:function(){return this.element.closest('[slot="meta-mobile-foot"]')},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"modifierOffset",{get:function(){return{name:"offset",options:{offset:[this.offsetX,this.offsetY+(this.tooltip||this.arrow?8:0)]}}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"modifierPreventOverflow",{get:function(){return{name:"preventOverflow",options:{padding:this.arrow||this.tooltip?8:this.padding,altAxis:true}}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"triggerElement",{get:function(){return this.element.querySelector("[bal-popover-trigger]")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"menuElement",{get:function(){return this.element.querySelector("bal-popover-content")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"menuInnerElement",{get:function(){return this.element.querySelector(".bal-popover__content__inner")},enumerable:false,configurable:true});t.prototype.getBackdropHeight=function(){if(h.hasWindow){return this.isInMainNav?(window.innerHeight-(this.isTouch?64:48))/16:window.innerHeight/16}return 0};t.prototype.updatePopper=function(){this.popperInstance.update()};t.prototype.render=function(){var t=this;var e=u.block("popover");return r(n,{"aria-presented":this.active?"true":null,"data-id":this.popoverId,class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e.class()),e.modifier("active").class(this.active)),e.modifier("tooltip").class(this.tooltip)),e.modifier("arrow").class(this.arrow)),e.modifier("hint").class(this.hint)),e.modifier("backdrop").class(this.backdrop))},!this.mobileTop&&r("div",{ref:function(e){t.backdropElement=e},class:Object.assign({},e.element("backdrop").class(this.backdrop&&this.active)),style:{"--bal-popover-backdrop-height":"".concat(this.backdropHeight,"rem")}}),r("slot",null))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeChanged"]}},enumerable:false,configurable:true});return t}());a([d("bal-popover"),s("design:type",Function),s("design:paramtypes",[Function]),s("design:returntype",void 0)],Me.prototype,"createLogger",null);a([v(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",void 0)],Me.prototype,"breakpointListener",null);var Se=0;Me.style=Ee;var Pe=t("bal_popover_content",function(){function t(t){e(this,t);this.isTouch=l.isTouch;this.spaceless=false;this.scrollable=0;this.contentWidth=0;this.contentMinWidth=0;this.color="white";this.expanded=false;this.radius="normal";this.noShadow=false;this.mobileTop=false;this.contentHeightOnTop=0}t.prototype.breakpointListener=function(t){if(h.hasWindow){this.contentHeightOnTop=window.innerHeight-64}};Object.defineProperty(t.prototype,"innerStyle",{get:function(){var t={};if(this.scrollable>0){t={"max-height":"".concat(this.scrollable,"px"),overflow:"auto"}}return Object.assign({},t)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"contentStyle",{get:function(){var t={};var e={};var r={"--bal-popover-content-height-top-nav":"".concat(this.contentHeightOnTop/16,"rem")};if(this.contentWidth>0){t={"max-width":"".concat(this.contentWidth,"px")}}if(this.contentMinWidth>0){e={"min-width":"".concat(this.contentMinWidth,"px")}}return Object.assign(Object.assign(Object.assign({},t),e),r)},enumerable:false,configurable:true});t.prototype.componentWillLoad=function(){if(h.hasWindow){this.contentHeightOnTop=window.innerHeight-64}};t.prototype.render=function(){var t=u.block("popover").element("content");return r(n,{class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},t.class()),t.modifier("expanded").class(this.expanded)),t.modifier("spaceless").class(this.spaceless)),t.modifier("no-shadow").class(this.noShadow)),t.modifier("radius-".concat(this.radius)).class()),t.modifier("color-".concat(this.color)).class()),t.modifier("on-top").class(this.mobileTop)),"data-testid":"bal-popover-content",role:"tooltip",style:this.contentStyle},r("div",{class:Object.assign({},t.element("inner").class()),style:this.innerStyle},r("slot",null)),r("div",{class:Object.assign({},t.element("arrow").class()),"data-popper-arrow":true}))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());a([v(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",void 0)],Pe.prototype,"breakpointListener",null)}}}));
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,r,n){function i(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function a(t){try{u(n.next(t))}catch(t){o(t)}}function s(t){try{u(n["throw"](t))}catch(t){o(t)}}function u(t){t.done?r(t.value):i(t.value).then(a,s)}u((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return u([t,e])}}function u(s){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(r=0)),r)try{if(n=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;i=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=e.call(t,r)}catch(t){s=[6,t];i=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++){if(o||!(n in e)){if(!o)o=Array.prototype.slice.call(e,0,n);o[n]=e[n]}}return t.concat(o||Array.prototype.slice.call(e))};System.register(["./p-456fc561.system.js","./p-6dbef894.system.js","./p-db0895e2.system.js","./p-b79d8942.system.js","./p-f19ea306.system.js","./p-2df0c70a.system.js","./p-6ff915ca.system.js","./p-0177e3a0.system.js","./p-a1f6e944.system.js","./p-23bdd8dc.system.js","./p-6913b916.system.js","./p-8954495d.system.js","./p-b3f2c626.system.js","./p-145d5c4e.system.js","./p-ec9a7cf5.system.js","./p-eecefb0a.system.js","./p-fa210a21.system.js"],(function(t){"use strict";var e,r,n,i,o,a,s,u,c,f,l,v,p,h,d;return{setters:[function(t){e=t.r;r=t.h;n=t.H;i=t.g;o=t.c},function(t){a=t._;s=t.a},function(t){u=t.B},function(t){c=t.p},function(t){f=t.B},function(t){l=t.b},function(t){v=t.L},function(t){p=t.L},function(t){h=t.b},function(t){d=t.L},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var b=":root{--bal-hint-content-background:var(--bal-color-grey-2)}.bal-hint{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block}.bal-hint__icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}@media (hover: hover)and (pointer: fine){.bal-hint__icon:hover svg,.bal-hint__icon:hover g,.bal-hint__icon:hover path,.bal-hint__icon:hover circle,.bal-hint__icon:focus svg,.bal-hint__icon:focus g,.bal-hint__icon:focus path,.bal-hint__icon:focus circle{fill:var(--bal-color-light-blue-5)}}.bal-hint__content{background:var(--bal-hint-content-background);display:-ms-flexbox;display:flex;gap:1.5rem;-ms-flex-direction:column;flex-direction:column}@media screen and (max-width: 768px){.bal-hint__content{padding:1.25rem;min-height:100%}.bal-hint__content>div{-ms-flex:1;flex:1}}.bal-hint__content__title{display:block;margin-bottom:1rem}.bal-hint__content__title__heading{font-family:var(--bal-title-font-family);font-weight:var(--bal-title-font-weight);font-size:var(--bal-text-size-x-large);line-height:var(--bal-line-height-x-large)}@media screen and (min-width: 769px),print{.bal-hint__content__title__heading{font-size:var(--bal-text-size-x-large-tablet);line-height:var(--bal-line-height-tablet-x-large)}}@media screen and (min-width: 1024px){.bal-hint__content__title__heading{font-size:var(--bal-text-size-x-large-desktop);line-height:var(--bal-line-height-desktop-x-large)}}@media screen and (min-width: 769px),print{.bal-hint__content__buttons--is-hidden-desktop{display:none !important}}.bal-hint__overlay__content{position:fixed;display:none;overflow:auto;top:0;left:0;right:0;bottom:0;z-index:var(--bal-z-index-popup)}.bal-hint__overlay__content--active{display:block}";var _=b;var m=t("bal_hint",function(){function t(t){var r=this;e(this,t);this.bodyScrollHandler=new f;this.onPopoverChange=function(t){r.isActive=t.detail;c(t)};this.isActive=false;this.innerCloseLabel="Close";this.isMobile=l.isMobile;this.closeLabel=undefined;this.small=false}t.prototype.connectedCallback=function(){this.bodyScrollHandler.connect()};t.prototype.componentDidRender=function(){this.updateContent()};t.prototype.disconnectedCallback=function(){this.bodyScrollHandler.disconnect()};t.prototype.breakpointListener=function(t){var e=t.mobile;if(e!==this.isMobile){this.isActive=false}this.isMobile=e};t.prototype.configChanged=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(!this.closeLabel){switch(t.language){case"de":this.innerCloseLabel="Schliessen";break;case"fr":this.innerCloseLabel="Fermer";break;case"it":this.innerCloseLabel="Chiudere";break;case"nl":this.innerCloseLabel="Sluiten";break;default:this.innerCloseLabel="Close";break}}return[2]}))}))};t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.isActive){this.dismiss()}else{this.present()}return[2]}))}))};t.prototype.present=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.popoverElement){this.popoverElement.present()}if(this.isMobile){this.bodyScrollHandler.disable()}this.isActive=true;return[2]}))}))};t.prototype.dismiss=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.popoverElement){this.popoverElement.dismiss()}if(this.isMobile){this.bodyScrollHandler.enable()}this.isActive=false;return[2]}))}))};t.prototype.updateContent=function(){if(this.hintContentEl&&this.slotWrapperEl){this.hintContentEl.innerHTML=this.slotWrapperEl.innerHTML}};t.prototype.render=function(){var t=this;var e=u.block("hint");var i=e.element("icon");var o=e.element("content");var a=o.element("buttons");var s=this.isMobile?0:8;var c=this.isMobile?0:16;var f=function(){return r("bal-icon",{class:Object.assign({},i.class()),"data-testid":"bal-hint-trigger","bal-popover-trigger":true,"aria-haspopup":"true",role:"button",name:"info-circle",onClick:function(){return t.toggle()}})};var l=function(){return r("div",{class:Object.assign({},o.class()),"data-testid":"bal-hint-content"},r("div",{ref:function(e){return t.hintContentEl=e}}),r("bal-button-group",{class:Object.assign(Object.assign({},a.class()),a.modifier("is-hidden-desktop").class(t.small))},r("bal-button",{"data-testid":"bal-hint-close",color:"info",onClick:function(){return t.dismiss()}},t.closeLabel?t.closeLabel:t.innerCloseLabel)))};var v=function(){var n=e.element("overlay");return r("div",{class:Object.assign({},n.class())},r(f,null),r("div",{class:Object.assign(Object.assign({},n.element("content").class()),n.element("content").modifier("active").class(t.isActive))},r(l,null)))};var p=function(){return r("div",{class:Object.assign({},e.element("popover").class())},r("bal-popover",{hint:true,position:"right",offsetX:0,offsetY:c,padding:s,ref:function(e){return t.popoverElement=e},onBalChange:t.onPopoverChange},r(f,null),r("bal-popover-content",{color:"grey"},r(l,null))))};var h=this.isMobile?v:p;return r(n,{class:Object.assign({},e.class())},r(h,null),r("div",{ref:function(e){return t.slotWrapperEl=e},style:{display:"none"}},r("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());a([v(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",void 0)],m.prototype,"breakpointListener",null);a([p(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",Promise)],m.prototype,"configChanged",null);m.style=_;var g=t("bal_hint_text",function(){function t(t){e(this,t)}t.prototype.render=function(){var t=u.block("hint");var e=t.element("content");var i=e.element("text");var o=i.element("field");return r(n,{class:Object.assign({},i.class())},r("p",{class:Object.assign({},o.class())},r("slot",null)))};return t}());var y=t("bal_hint_title",function(){function t(t){e(this,t)}t.prototype.render=function(){var t=u.block("hint");var e=t.element("content");var i=e.element("title");var o=i.element("heading");return r(n,{class:Object.assign({},i.class())},r("h3",{class:Object.assign({},o.class())},r("span",null,r("slot",null))))};return t}());var w="top";var x="bottom";var j="right";var O="left";var k="auto";var z=[w,x,j,O];var A="start";var E="end";var M="clippingParents";var S="viewport";var P="popper";var C="reference";var L=z.reduce((function(t,e){return t.concat([e+"-"+A,e+"-"+E])}),[]);var T=[].concat(z,[k]).reduce((function(t,e){return t.concat([e,e+"-"+A,e+"-"+E])}),[]);var B="beforeRead";var F="read";var q="afterRead";var W="beforeMain";var R="main";var I="afterMain";var H="beforeWrite";var D="write";var G="afterWrite";var N=[B,F,q,W,R,I,H,D,G];function U(t){return t?(t.nodeName||"").toLowerCase():null}function V(t){if(t==null){return window}if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e?e.defaultView||window:window}return t}function X(t){var e=V(t).Element;return t instanceof e||t instanceof Element}function Y(t){var e=V(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function J(t){if(typeof ShadowRoot==="undefined"){return false}var e=V(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function K(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var r=e.styles[t]||{};var n=e.attributes[t]||{};var i=e.elements[t];if(!Y(i)||!U(i)){return}Object.assign(i.style,r);Object.keys(n).forEach((function(t){var e=n[t];if(e===false){i.removeAttribute(t)}else{i.setAttribute(t,e===true?"":e)}}))}))}function Q(t){var e=t.state;var r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,r.popper);e.styles=r;if(e.elements.arrow){Object.assign(e.elements.arrow.style,r.arrow)}return function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t];var i=e.attributes[t]||{};var o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:r[t]);var a=o.reduce((function(t,e){t[e]="";return t}),{});if(!Y(n)||!U(n)){return}Object.assign(n.style,a);Object.keys(i).forEach((function(t){n.removeAttribute(t)}))}))}}var Z={name:"applyStyles",enabled:true,phase:"write",fn:K,effect:Q,requires:["computeStyles"]};function $(t){return t.split("-")[0]}var tt=Math.max;var et=Math.min;var rt=Math.round;function nt(){var t=navigator.userAgentData;if(t!=null&&t.brands&&Array.isArray(t.brands)){return t.brands.map((function(t){return t.brand+"/"+t.version})).join(" ")}return navigator.userAgent}function it(){return!/^((?!chrome|android).)*safari/i.test(nt())}function ot(t,e,r){if(e===void 0){e=false}if(r===void 0){r=false}var n=t.getBoundingClientRect();var i=1;var o=1;if(e&&Y(t)){i=t.offsetWidth>0?rt(n.width)/t.offsetWidth||1:1;o=t.offsetHeight>0?rt(n.height)/t.offsetHeight||1:1}var a=X(t)?V(t):window,s=a.visualViewport;var u=!it()&&r;var c=(n.left+(u&&s?s.offsetLeft:0))/i;var f=(n.top+(u&&s?s.offsetTop:0))/o;var l=n.width/i;var v=n.height/o;return{width:l,height:v,top:f,right:c+l,bottom:f+v,left:c,x:c,y:f}}function at(t){var e=ot(t);var r=t.offsetWidth;var n=t.offsetHeight;if(Math.abs(e.width-r)<=1){r=e.width}if(Math.abs(e.height-n)<=1){n=e.height}return{x:t.offsetLeft,y:t.offsetTop,width:r,height:n}}function st(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e)){return true}else if(r&&J(r)){var n=e;do{if(n&&t.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function ut(t){return V(t).getComputedStyle(t)}function ct(t){return["table","td","th"].indexOf(U(t))>=0}function ft(t){return((X(t)?t.ownerDocument:t.document)||window.document).documentElement}function lt(t){if(U(t)==="html"){return t}return t.assignedSlot||t.parentNode||(J(t)?t.host:null)||ft(t)}function vt(t){if(!Y(t)||ut(t).position==="fixed"){return null}return t.offsetParent}function pt(t){var e=/firefox/i.test(nt());var r=/Trident/i.test(nt());if(r&&Y(t)){var n=ut(t);if(n.position==="fixed"){return null}}var i=lt(t);if(J(i)){i=i.host}while(Y(i)&&["html","body"].indexOf(U(i))<0){var o=ut(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none"){return i}else{i=i.parentNode}}return null}function ht(t){var e=V(t);var r=vt(t);while(r&&ct(r)&&ut(r).position==="static"){r=vt(r)}if(r&&(U(r)==="html"||U(r)==="body"&&ut(r).position==="static")){return e}return r||pt(t)||e}function dt(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function bt(t,e,r){return tt(t,et(e,r))}function _t(t,e,r){var n=bt(t,e,r);return n>r?r:n}function mt(){return{top:0,right:0,bottom:0,left:0}}function gt(t){return Object.assign({},mt(),t)}function yt(t,e){return e.reduce((function(e,r){e[r]=t;return e}),{})}var wt=function t(e,r){e=typeof e==="function"?e(Object.assign({},r.rects,{placement:r.placement})):e;return gt(typeof e!=="number"?e:yt(e,z))};function xt(t){var e;var r=t.state,n=t.name,i=t.options;var o=r.elements.arrow;var a=r.modifiersData.popperOffsets;var s=$(r.placement);var u=dt(s);var c=[O,j].indexOf(s)>=0;var f=c?"height":"width";if(!o||!a){return}var l=wt(i.padding,r);var v=at(o);var p=u==="y"?w:O;var h=u==="y"?x:j;var d=r.rects.reference[f]+r.rects.reference[u]-a[u]-r.rects.popper[f];var b=a[u]-r.rects.reference[u];var _=ht(o);var m=_?u==="y"?_.clientHeight||0:_.clientWidth||0:0;var g=d/2-b/2;var y=l[p];var k=m-v[f]-l[h];var z=m/2-v[f]/2+g;var A=bt(y,z,k);var E=u;r.modifiersData[n]=(e={},e[E]=A,e.centerOffset=A-z,e)}function jt(t){var e=t.state,r=t.options;var n=r.element,i=n===void 0?"[data-popper-arrow]":n;if(i==null){return}if(typeof i==="string"){i=e.elements.popper.querySelector(i);if(!i){return}}if(!st(e.elements.popper,i)){return}e.elements.arrow=i}var Ot={name:"arrow",enabled:true,phase:"main",fn:xt,effect:jt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function kt(t){return t.split("-")[1]}var zt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function At(t,e){var r=t.x,n=t.y;var i=e.devicePixelRatio||1;return{x:rt(r*i)/i||0,y:rt(n*i)/i||0}}function Et(t){var e;var r=t.popper,n=t.popperRect,i=t.placement,o=t.variation,a=t.offsets,s=t.position,u=t.gpuAcceleration,c=t.adaptive,f=t.roundOffsets,l=t.isFixed;var v=a.x,p=v===void 0?0:v,h=a.y,d=h===void 0?0:h;var b=typeof f==="function"?f({x:p,y:d}):{x:p,y:d};p=b.x;d=b.y;var _=a.hasOwnProperty("x");var m=a.hasOwnProperty("y");var g=O;var y=w;var k=window;if(c){var z=ht(r);var A="clientHeight";var M="clientWidth";if(z===V(r)){z=ft(r);if(ut(z).position!=="static"&&s==="absolute"){A="scrollHeight";M="scrollWidth"}}z=z;if(i===w||(i===O||i===j)&&o===E){y=x;var S=l&&z===k&&k.visualViewport?k.visualViewport.height:z[A];d-=S-n.height;d*=u?1:-1}if(i===O||(i===w||i===x)&&o===E){g=j;var P=l&&z===k&&k.visualViewport?k.visualViewport.width:z[M];p-=P-n.width;p*=u?1:-1}}var C=Object.assign({position:s},c&&zt);var L=f===true?At({x:p,y:d},V(r)):{x:p,y:d};p=L.x;d=L.y;if(u){var T;return Object.assign({},C,(T={},T[y]=m?"0":"",T[g]=_?"0":"",T.transform=(k.devicePixelRatio||1)<=1?"translate("+p+"px, "+d+"px)":"translate3d("+p+"px, "+d+"px, 0)",T))}return Object.assign({},C,(e={},e[y]=m?d+"px":"",e[g]=_?p+"px":"",e.transform="",e))}function Mt(t){var e=t.state,r=t.options;var n=r.gpuAcceleration,i=n===void 0?true:n,o=r.adaptive,a=o===void 0?true:o,s=r.roundOffsets,u=s===void 0?true:s;var c={placement:$(e.placement),variation:kt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};if(e.modifiersData.popperOffsets!=null){e.styles.popper=Object.assign({},e.styles.popper,Et(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:u})))}if(e.modifiersData.arrow!=null){e.styles.arrow=Object.assign({},e.styles.arrow,Et(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:u})))}e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var St={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:Mt,data:{}};var Pt={passive:true};function Ct(t){var e=t.state,r=t.instance,n=t.options;var i=n.scroll,o=i===void 0?true:i,a=n.resize,s=a===void 0?true:a;var u=V(e.elements.popper);var c=[].concat(e.scrollParents.reference,e.scrollParents.popper);if(o){c.forEach((function(t){t.addEventListener("scroll",r.update,Pt)}))}if(s){u.addEventListener("resize",r.update,Pt)}return function(){if(o){c.forEach((function(t){t.removeEventListener("scroll",r.update,Pt)}))}if(s){u.removeEventListener("resize",r.update,Pt)}}}var Lt={name:"eventListeners",enabled:true,phase:"write",fn:function t(){},effect:Ct,data:{}};var Tt={left:"right",right:"left",bottom:"top",top:"bottom"};function Bt(t){return t.replace(/left|right|bottom|top/g,(function(t){return Tt[t]}))}var Ft={start:"end",end:"start"};function qt(t){return t.replace(/start|end/g,(function(t){return Ft[t]}))}function Wt(t){var e=V(t);var r=e.pageXOffset;var n=e.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Rt(t){return ot(ft(t)).left+Wt(t).scrollLeft}function It(t,e){var r=V(t);var n=ft(t);var i=r.visualViewport;var o=n.clientWidth;var a=n.clientHeight;var s=0;var u=0;if(i){o=i.width;a=i.height;var c=it();if(c||!c&&e==="fixed"){s=i.offsetLeft;u=i.offsetTop}}return{width:o,height:a,x:s+Rt(t),y:u}}function Ht(t){var e;var r=ft(t);var n=Wt(t);var i=(e=t.ownerDocument)==null?void 0:e.body;var o=tt(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0);var a=tt(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0);var s=-n.scrollLeft+Rt(t);var u=-n.scrollTop;if(ut(i||r).direction==="rtl"){s+=tt(r.clientWidth,i?i.clientWidth:0)-o}return{width:o,height:a,x:s,y:u}}function Dt(t){var e=ut(t),r=e.overflow,n=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function Gt(t){if(["html","body","#document"].indexOf(U(t))>=0){return t.ownerDocument.body}if(Y(t)&&Dt(t)){return t}return Gt(lt(t))}function Nt(t,e){var r;if(e===void 0){e=[]}var n=Gt(t);var i=n===((r=t.ownerDocument)==null?void 0:r.body);var o=V(n);var a=i?[o].concat(o.visualViewport||[],Dt(n)?n:[]):n;var s=e.concat(a);return i?s:s.concat(Nt(lt(a)))}function Ut(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Vt(t,e){var r=ot(t,false,e==="fixed");r.top=r.top+t.clientTop;r.left=r.left+t.clientLeft;r.bottom=r.top+t.clientHeight;r.right=r.left+t.clientWidth;r.width=t.clientWidth;r.height=t.clientHeight;r.x=r.left;r.y=r.top;return r}function Xt(t,e,r){return e===S?Ut(It(t,r)):X(e)?Vt(e,r):Ut(Ht(ft(t)))}function Yt(t){var e=Nt(lt(t));var r=["absolute","fixed"].indexOf(ut(t).position)>=0;var n=r&&Y(t)?ht(t):t;if(!X(n)){return[]}return e.filter((function(t){return X(t)&&st(t,n)&&U(t)!=="body"}))}function Jt(t,e,r,n){var i=e==="clippingParents"?Yt(t):[].concat(e);var o=[].concat(i,[r]);var a=o[0];var s=o.reduce((function(e,r){var i=Xt(t,r,n);e.top=tt(i.top,e.top);e.right=et(i.right,e.right);e.bottom=et(i.bottom,e.bottom);e.left=tt(i.left,e.left);return e}),Xt(t,a,n));s.width=s.right-s.left;s.height=s.bottom-s.top;s.x=s.left;s.y=s.top;return s}function Kt(t){var e=t.reference,r=t.element,n=t.placement;var i=n?$(n):null;var o=n?kt(n):null;var a=e.x+e.width/2-r.width/2;var s=e.y+e.height/2-r.height/2;var u;switch(i){case w:u={x:a,y:e.y-r.height};break;case x:u={x:a,y:e.y+e.height};break;case j:u={x:e.x+e.width,y:s};break;case O:u={x:e.x-r.width,y:s};break;default:u={x:e.x,y:e.y}}var c=i?dt(i):null;if(c!=null){var f=c==="y"?"height":"width";switch(o){case A:u[c]=u[c]-(e[f]/2-r[f]/2);break;case E:u[c]=u[c]+(e[f]/2-r[f]/2);break}}return u}function Qt(t,e){if(e===void 0){e={}}var r=e,n=r.placement,i=n===void 0?t.placement:n,o=r.strategy,a=o===void 0?t.strategy:o,s=r.boundary,u=s===void 0?M:s,c=r.rootBoundary,f=c===void 0?S:c,l=r.elementContext,v=l===void 0?P:l,p=r.altBoundary,h=p===void 0?false:p,d=r.padding,b=d===void 0?0:d;var _=gt(typeof b!=="number"?b:yt(b,z));var m=v===P?C:P;var g=t.rects.popper;var y=t.elements[h?m:v];var O=Jt(X(y)?y:y.contextElement||ft(t.elements.popper),u,f,a);var k=ot(t.elements.reference);var A=Kt({reference:k,element:g,strategy:"absolute",placement:i});var E=Ut(Object.assign({},g,A));var L=v===P?E:k;var T={top:O.top-L.top+_.top,bottom:L.bottom-O.bottom+_.bottom,left:O.left-L.left+_.left,right:L.right-O.right+_.right};var B=t.modifiersData.offset;if(v===P&&B){var F=B[i];Object.keys(T).forEach((function(t){var e=[j,x].indexOf(t)>=0?1:-1;var r=[w,x].indexOf(t)>=0?"y":"x";T[t]+=F[r]*e}))}return T}function Zt(t,e){if(e===void 0){e={}}var r=e,n=r.placement,i=r.boundary,o=r.rootBoundary,a=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,c=u===void 0?T:u;var f=kt(n);var l=f?s?L:L.filter((function(t){return kt(t)===f})):z;var v=l.filter((function(t){return c.indexOf(t)>=0}));if(v.length===0){v=l}var p=v.reduce((function(e,r){e[r]=Qt(t,{placement:r,boundary:i,rootBoundary:o,padding:a})[$(r)];return e}),{});return Object.keys(p).sort((function(t,e){return p[t]-p[e]}))}function $t(t){if($(t)===k){return[]}var e=Bt(t);return[qt(t),e,qt(e)]}function te(t){var e=t.state,r=t.options,n=t.name;if(e.modifiersData[n]._skip){return}var i=r.mainAxis,o=i===void 0?true:i,a=r.altAxis,s=a===void 0?true:a,u=r.fallbackPlacements,c=r.padding,f=r.boundary,l=r.rootBoundary,v=r.altBoundary,p=r.flipVariations,h=p===void 0?true:p,d=r.allowedAutoPlacements;var b=e.options.placement;var _=$(b);var m=_===b;var g=u||(m||!h?[Bt(b)]:$t(b));var y=[b].concat(g).reduce((function(t,r){return t.concat($(r)===k?Zt(e,{placement:r,boundary:f,rootBoundary:l,padding:c,flipVariations:h,allowedAutoPlacements:d}):r)}),[]);var z=e.rects.reference;var E=e.rects.popper;var M=new Map;var S=true;var P=y[0];for(var C=0;C<y.length;C++){var L=y[C];var T=$(L);var B=kt(L)===A;var F=[w,x].indexOf(T)>=0;var q=F?"width":"height";var W=Qt(e,{placement:L,boundary:f,rootBoundary:l,altBoundary:v,padding:c});var R=F?B?j:O:B?x:w;if(z[q]>E[q]){R=Bt(R)}var I=Bt(R);var H=[];if(o){H.push(W[T]<=0)}if(s){H.push(W[R]<=0,W[I]<=0)}if(H.every((function(t){return t}))){P=L;S=false;break}M.set(L,H)}if(S){var D=h?3:1;var G=function t(e){var r=y.find((function(t){var r=M.get(t);if(r){return r.slice(0,e).every((function(t){return t}))}}));if(r){P=r;return"break"}};for(var N=D;N>0;N--){var U=G(N);if(U==="break")break}}if(e.placement!==P){e.modifiersData[n]._skip=true;e.placement=P;e.reset=true}}var ee={name:"flip",enabled:true,phase:"main",fn:te,requiresIfExists:["offset"],data:{_skip:false}};function re(t,e,r){if(r===void 0){r={x:0,y:0}}return{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function ne(t){return[w,j,x,O].some((function(e){return t[e]>=0}))}function ie(t){var e=t.state,r=t.name;var n=e.rects.reference;var i=e.rects.popper;var o=e.modifiersData.preventOverflow;var a=Qt(e,{elementContext:"reference"});var s=Qt(e,{altBoundary:true});var u=re(a,n);var c=re(s,i,o);var f=ne(u);var l=ne(c);e.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:l};e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":l})}var oe={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:ie};function ae(t,e,r){var n=$(t);var i=[O,w].indexOf(n)>=0?-1:1;var o=typeof r==="function"?r(Object.assign({},e,{placement:t})):r,a=o[0],s=o[1];a=a||0;s=(s||0)*i;return[O,j].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function se(t){var e=t.state,r=t.options,n=t.name;var i=r.offset,o=i===void 0?[0,0]:i;var a=T.reduce((function(t,r){t[r]=ae(r,e.rects,o);return t}),{});var s=a[e.placement],u=s.x,c=s.y;if(e.modifiersData.popperOffsets!=null){e.modifiersData.popperOffsets.x+=u;e.modifiersData.popperOffsets.y+=c}e.modifiersData[n]=a}var ue={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:se};function ce(t){var e=t.state,r=t.name;e.modifiersData[r]=Kt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var fe={name:"popperOffsets",enabled:true,phase:"read",fn:ce,data:{}};function le(t){return t==="x"?"y":"x"}function ve(t){var e=t.state,r=t.options,n=t.name;var i=r.mainAxis,o=i===void 0?true:i,a=r.altAxis,s=a===void 0?false:a,u=r.boundary,c=r.rootBoundary,f=r.altBoundary,l=r.padding,v=r.tether,p=v===void 0?true:v,h=r.tetherOffset,d=h===void 0?0:h;var b=Qt(e,{boundary:u,rootBoundary:c,padding:l,altBoundary:f});var _=$(e.placement);var m=kt(e.placement);var g=!m;var y=dt(_);var k=le(y);var z=e.modifiersData.popperOffsets;var E=e.rects.reference;var M=e.rects.popper;var S=typeof d==="function"?d(Object.assign({},e.rects,{placement:e.placement})):d;var P=typeof S==="number"?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S);var C=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null;var L={x:0,y:0};if(!z){return}if(o){var T;var B=y==="y"?w:O;var F=y==="y"?x:j;var q=y==="y"?"height":"width";var W=z[y];var R=W+b[B];var I=W-b[F];var H=p?-M[q]/2:0;var D=m===A?E[q]:M[q];var G=m===A?-M[q]:-E[q];var N=e.elements.arrow;var U=p&&N?at(N):{width:0,height:0};var V=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:mt();var X=V[B];var Y=V[F];var J=bt(0,E[q],U[q]);var K=g?E[q]/2-H-J-X-P.mainAxis:D-J-X-P.mainAxis;var Q=g?-E[q]/2+H+J+Y+P.mainAxis:G+J+Y+P.mainAxis;var Z=e.elements.arrow&&ht(e.elements.arrow);var rt=Z?y==="y"?Z.clientTop||0:Z.clientLeft||0:0;var nt=(T=C==null?void 0:C[y])!=null?T:0;var it=W+K-nt-rt;var ot=W+Q-nt;var st=bt(p?et(R,it):R,W,p?tt(I,ot):I);z[y]=st;L[y]=st-W}if(s){var ut;var ct=y==="x"?w:O;var ft=y==="x"?x:j;var lt=z[k];var vt=k==="y"?"height":"width";var pt=lt+b[ct];var gt=lt-b[ft];var yt=[w,O].indexOf(_)!==-1;var wt=(ut=C==null?void 0:C[k])!=null?ut:0;var xt=yt?pt:lt-E[vt]-M[vt]-wt+P.altAxis;var jt=yt?lt+E[vt]+M[vt]-wt-P.altAxis:gt;var Ot=p&&yt?_t(xt,lt,jt):bt(p?xt:pt,lt,p?jt:gt);z[k]=Ot;L[k]=Ot-lt}e.modifiersData[n]=L}var pe={name:"preventOverflow",enabled:true,phase:"main",fn:ve,requiresIfExists:["offset"]};function he(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function de(t){if(t===V(t)||!Y(t)){return Wt(t)}else{return he(t)}}function be(t){var e=t.getBoundingClientRect();var r=rt(e.width)/t.offsetWidth||1;var n=rt(e.height)/t.offsetHeight||1;return r!==1||n!==1}function _e(t,e,r){if(r===void 0){r=false}var n=Y(e);var i=Y(e)&&be(e);var o=ft(e);var a=ot(t,i,r);var s={scrollLeft:0,scrollTop:0};var u={x:0,y:0};if(n||!n&&!r){if(U(e)!=="body"||Dt(o)){s=de(e)}if(Y(e)){u=ot(e,true);u.x+=e.clientLeft;u.y+=e.clientTop}else if(o){u.x=Rt(o)}}return{x:a.left+s.scrollLeft-u.x,y:a.top+s.scrollTop-u.y,width:a.width,height:a.height}}function me(t){var e=new Map;var r=new Set;var n=[];t.forEach((function(t){e.set(t.name,t)}));function i(t){r.add(t.name);var o=[].concat(t.requires||[],t.requiresIfExists||[]);o.forEach((function(t){if(!r.has(t)){var n=e.get(t);if(n){i(n)}}}));n.push(t)}t.forEach((function(t){if(!r.has(t.name)){i(t)}}));return n}function ge(t){var e=me(t);return N.reduce((function(t,r){return t.concat(e.filter((function(t){return t.phase===r})))}),[])}function ye(t){var e;return function(){if(!e){e=new Promise((function(r){Promise.resolve().then((function(){e=undefined;r(t())}))}))}return e}}function we(t){var e=t.reduce((function(t,e){var r=t[e.name];t[e.name]=r?Object.assign({},r,e,{options:Object.assign({},r.options,e.options),data:Object.assign({},r.data,e.data)}):e;return t}),{});return Object.keys(e).map((function(t){return e[t]}))}var xe={placement:"bottom",modifiers:[],strategy:"absolute"};function je(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++){e[r]=arguments[r]}return!e.some((function(t){return!(t&&typeof t.getBoundingClientRect==="function")}))}function Oe(t){if(t===void 0){t={}}var e=t,r=e.defaultModifiers,n=r===void 0?[]:r,i=e.defaultOptions,o=i===void 0?xe:i;return function t(e,r,i){if(i===void 0){i=o}var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},xe,o),modifiersData:{},elements:{reference:e,popper:r},attributes:{},styles:{}};var s=[];var u=false;var c={state:a,setOptions:function t(i){var s=typeof i==="function"?i(a.options):i;l();a.options=Object.assign({},o,a.options,s);a.scrollParents={reference:X(e)?Nt(e):e.contextElement?Nt(e.contextElement):[],popper:Nt(r)};var u=ge(we([].concat(n,a.options.modifiers)));a.orderedModifiers=u.filter((function(t){return t.enabled}));f();return c.update()},forceUpdate:function t(){if(u){return}var e=a.elements,r=e.reference,n=e.popper;if(!je(r,n)){return}a.rects={reference:_e(r,ht(n),a.options.strategy==="fixed"),popper:at(n)};a.reset=false;a.placement=a.options.placement;a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<a.orderedModifiers.length;i++){if(a.reset===true){a.reset=false;i=-1;continue}var o=a.orderedModifiers[i],s=o.fn,f=o.options,l=f===void 0?{}:f,v=o.name;if(typeof s==="function"){a=s({state:a,options:l,name:v,instance:c})||a}}},update:ye((function(){return new Promise((function(t){c.forceUpdate();t(a)}))})),destroy:function t(){l();u=true}};if(!je(e,r)){return c}c.setOptions(i).then((function(t){if(!u&&i.onFirstUpdate){i.onFirstUpdate(t)}}));function f(){a.orderedModifiers.forEach((function(t){var e=t.name,r=t.options,n=r===void 0?{}:r,i=t.effect;if(typeof i==="function"){var o=i({state:a,name:e,instance:c,options:n});var u=function t(){};s.push(o||u)}}))}function l(){s.forEach((function(t){return t()}));s=[]}return c}}var ke=[Lt,fe,St,Z,ue,ee,pe,Ot,oe];var ze=Oe({defaultModifiers:ke});var Ae='.bal-popover__backdrop{bottom:0;left:0;position:absolute;right:0;top:0}:root{--bal-popover-backdrop-height:100vh;--bal-popover-content-height-top-nav:100vh;--bal-popover-backdrop-background:var(--bal-color-primary-6);--bal-popover-backdrop-opacity:.8;--bal-popover-content-shadow:var(--bal-shadow-normal);--bal-popover-content-background:var(--bal-color-white);--bal-popover-content-background-grey:var(--bal-color-grey-2);--bal-popover-tooltip-background:var(--bal-color-primary-6);--bal-popover-tooltip-color:var(--bal-color-white);--bal-popover-tooltip-font-family:var(--bal-font-family-text);--bal-popover-tooltip-font-size:var(--bal-text-size-small)}.bal-popover{display:block}@media screen and (max-width: 768px){.bal-popover .bal-popover__content{min-width:100vw !important}.bal-popover .bal-select__popover{min-width:100% !important}}.bal-popover--active .bal-popover__content{display:block}.bal-popover--backdrop [bal-popover-trigger]{z-index:calc(var(--bal-z-index-popup) - 1);position:relative}@media screen and (max-width: 768px){.bal-popover--hint .bal-popover__content{min-height:100vh}.bal-popover--hint .bal-popover__content .bal-popover__content__inner{min-height:100vh}}@media screen and (min-width: 769px),print{.bal-popover--hint .bal-popover__content{max-width:20rem}}@media screen and (min-width: 1024px){.bal-popover--hint .bal-popover__content{max-width:30rem}}.bal-popover__backdrop{z-index:calc(var(--bal-z-index-popup) - 2);position:fixed;background:var(--bal-popover-backdrop-background);opacity:var(--bal-popover-backdrop-opacity);height:var(--bal-popover-backdrop-height);width:100vw}.bal-popover__content{display:none;z-index:var(--bal-z-index-popup);-webkit-box-shadow:var(--bal-popover-content-shadow);box-shadow:var(--bal-popover-content-shadow);background:var(--bal-popover-content-background);min-width:16.25rem}.bal-popover__content[data-show]{display:block}.bal-popover__content--expanded{min-width:100%}.bal-popover__content--no-shadow{-webkit-box-shadow:none;box-shadow:none}.bal-popover__content--radius-normal{border-radius:var(--bal-radius-normal)}.bal-popover__content--radius-large{border-radius:var(--bal-radius-large)}.bal-popover__content--radius-none{border-radius:0}.bal-popover__content--radius-normal-bottom-none{border-radius:var(--bal-radius-normal);border-bottom-right-radius:0;border-bottom-left-radius:0}.bal-popover__content--radius-normal-top-none{border-radius:var(--bal-radius-normal);border-top-left-radius:0;border-top-right-radius:0}.bal-popover__content--radius-large-bottom-none{border-radius:var(--bal-radius-large);border-bottom-right-radius:0;border-bottom-left-radius:0}.bal-popover__content--radius-large-top-none{border-radius:var(--bal-radius-large);border-top-left-radius:0;border-top-right-radius:0}.bal-popover__content--on-top{border-top:1px solid var(--bal-color-grey-2);height:var(--bal-popover-content-height-top-nav);overflow-y:auto}.bal-popover__content--color-grey{background:var(--bal-popover-content-background-grey)}.bal-popover__content__inner{max-height:calc(100vh - 4.5rem);overflow:auto;padding:1rem}@media screen and (min-width: 769px),print{.bal-popover__content__inner{padding:1.5rem}}@media screen and (min-width: 1024px){.bal-popover__content__inner{max-height:calc(100vh - 8rem)}}.bal-popover__content--spaceless .bal-popover__content__inner{padding:0}.bal-popover__content [data-popper-arrow]{display:none}.bal-popover__content__arrow{visibility:hidden}.bal-popover__content__arrow [data-popper-arrow]{display:block}.bal-popover__content__arrow,.bal-popover__content__arrow:before{position:absolute;width:.5rem;height:.5rem;background:inherit}.bal-popover__content__arrow:before{visibility:visible;content:"";-webkit-transform:rotate(45deg);transform:rotate(45deg)}.bal-popover__content[data-popper-placement^=top]>.bal-popover__content__arrow{bottom:-0.25rem}.bal-popover__content[data-popper-placement^=bottom]>.bal-popover__content__arrow{top:-0.25rem}.bal-popover__content[data-popper-placement^=left]>.bal-popover__content__arrow{right:-0.25rem}.bal-popover__content[data-popper-placement^=right]>.bal-popover__content__arrow{left:-0.25rem}.bal-popover--arrow .bal-popover__content__arrow{display:block}.bal-popover--tooltip .bal-popover__content{min-width:unset;background:var(--bal-popover-tooltip-background)}.bal-popover--tooltip .bal-popover__content .bal-popover__content__inner{padding:var(--bal-space-x-small)}.bal-popover--tooltip .bal-popover__content .bal-popover__content__inner,.bal-popover--tooltip .bal-popover__content .bal-popover__content__inner p{color:var(--bal-popover-tooltip-color);font-family:var(--bal-popover-tooltip-font-family);font-size:var(--bal-popover-tooltip-font-size)}';var Ee=Ae;var Me=t("bal_popover",function(){function t(t){e(this,t);this.balChange=o(this,"balChange",7);this.balWillAnimate=o(this,"balWillAnimate",7);this.balDidAnimate=o(this,"balDidAnimate",7);this.balPopoverPrepare=o(this,"balPopoverPrepare",7);this.popoverId="bal-po-".concat(Se++);this.isTouch=l.isTouch;this.isInMainNav=false;this.backdropHeight=0;this.autoTrigger=false;this.hint=false;this.hover=false;this.arrow=false;this.backdrop=false;this.tooltip=false;this.offsetX=0;this.offsetY=0;this.padding=0;this.position="bottom-start";this.active=false;this.mobileTop=false}t.prototype.createLogger=function(t){this.log=t};t.prototype.activeChanged=function(t,e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){if(t===true&&t!==e){this.present({force:true})}else{this.dismiss({force:true})}return[2]}))}))};t.prototype.componentWillLoad=function(){this.backdropHeight=this.getBackdropHeight()};t.prototype.componentDidLoad=function(){var t=this;this.isInMainNav=this.footMobileNav!==null;if(this.triggerElement&&this.menuElement){this.popperInstance=ze(this.triggerElement,this.menuElement,{placement:this.tooltip?"bottom":this.position,modifiers:[this.modifierOffset,this.modifierPreventOverflow]});var e=[];var r=[];if(this.autoTrigger){e=["click"]}if(this.tooltip){e=["mouseenter","focus"];r=["mouseleave","blur"]}e.forEach((function(e){if(t.triggerElement){if(e==="click"){t.triggerElement.addEventListener(e,(function(){return t.toggle()}))}else{t.triggerElement.addEventListener(e,(function(){return t.present()}))}}}));r.forEach((function(e){if(t.triggerElement){t.triggerElement.addEventListener(e,(function(){return t.dismiss()}))}}))}};t.prototype.componentDidRender=function(){var t=this;if(this.popperInstance){this.popperInstance.setOptions((function(e){return Object.assign(Object.assign({},e),{placement:t.tooltip?"bottom":t.position,modifiers:__spreadArray(__spreadArray([],e.modifiers.filter((function(t){return t.name!=="offset"&&t.name!=="preventOverflow"})),true),[t.modifierOffset,t.modifierPreventOverflow],false)})}));this.updatePopper()}if(h.isSafari&&!this.isTouch){clearTimeout(this.componentDidRenderTimer);this.componentDidRenderTimer=setTimeout((function(){var e;var r=(e=t.element)===null||e===void 0?void 0:e.clientWidth;if(r){t.element.style.maxWidth="".concat(r,"px")}else{t.element.style.maxWidth="initial"}}))}};t.prototype.handlePopoverPrepare=function(t){var e=t.detail;if(this.popoverId!==e){this.dismiss()}};t.prototype.clickOnOutside=function(t){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(r){if(this.active){if(!this.element.contains(t.target)){this.active=false}if((e=this.backdropElement)===null||e===void 0?void 0:e.isEqualNode(t.target)){this.active=false}}return[2]}))}))};t.prototype.handleKeyUp=function(t){if(this.active&&(t.key==="Escape"||t.key==="Esc")){t.preventDefault();this.dismiss()}};t.prototype.tabOutside=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!(t.key==="Tab"&&!this.element.contains(document.activeElement)&&this.active))return[3,2];return[4,this.toggle()];case 1:e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.breakpointListener=function(t){this.isTouch=t.touch;this.isInMainNav=this.footMobileNav!==null;this.backdropHeight=this.getBackdropHeight()};t.prototype.present=function(t){if(t===void 0){t={force:false}}return __awaiter(this,void 0,void 0,(function(){var e,r;return __generator(this,(function(n){if(!this.active||t.force){(e=this.menuElement)===null||e===void 0?void 0:e.setAttribute("data-show","");(r=this.menuElement)===null||r===void 0?void 0:r.setAttribute("aria-hidden","false");if(this.menuInnerElement){this.menuInnerElement.scrollTo(0,0)}this.balPopoverPrepare.emit(this.popoverId);this.balWillAnimate.emit(this.active);this.active=true;this.popperInstance.setOptions((function(t){return Object.assign(Object.assign({},t),{modifiers:__spreadArray(__spreadArray([],t.modifiers,true),[{name:"eventListeners",enabled:true}],false)})}));this.updatePopper();this.balChange.emit(this.active);this.balDidAnimate.emit(this.active)}return[2]}))}))};t.prototype.dismiss=function(t){if(t===void 0){t={force:false}}return __awaiter(this,void 0,void 0,(function(){var e,r;return __generator(this,(function(n){if(this.active||t.force){(e=this.menuElement)===null||e===void 0?void 0:e.removeAttribute("data-show");(r=this.menuElement)===null||r===void 0?void 0:r.setAttribute("aria-hidden","true");this.balWillAnimate.emit(this.active);this.active=false;this.popperInstance.setOptions((function(t){return Object.assign(Object.assign({},t),{modifiers:__spreadArray(__spreadArray([],t.modifiers,true),[{name:"eventListeners",enabled:false}],false)})}));this.updatePopper();this.balChange.emit(this.active);this.balDidAnimate.emit(this.active)}return[2]}))}))};t.prototype.toggle=function(t){if(t===void 0){t={force:false}}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!this.active)return[3,2];return[4,this.dismiss(t)];case 1:e.sent();return[3,4];case 2:return[4,this.present(t)];case 3:e.sent();e.label=4;case 4:return[2]}}))}))};Object.defineProperty(t.prototype,"footMobileNav",{get:function(){return this.element.closest('[slot="meta-mobile-foot"]')},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"modifierOffset",{get:function(){return{name:"offset",options:{offset:[this.offsetX,this.offsetY+(this.tooltip||this.arrow?8:0)]}}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"modifierPreventOverflow",{get:function(){return{name:"preventOverflow",options:{padding:this.arrow||this.tooltip?8:this.padding,altAxis:true}}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"triggerElement",{get:function(){return this.element.querySelector("[bal-popover-trigger]")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"menuElement",{get:function(){return this.element.querySelector("bal-popover-content")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"menuInnerElement",{get:function(){return this.element.querySelector(".bal-popover__content__inner")},enumerable:false,configurable:true});t.prototype.getBackdropHeight=function(){if(h.hasWindow){return this.isInMainNav?(window.innerHeight-(this.isTouch?64:48))/16:window.innerHeight/16}return 0};t.prototype.updatePopper=function(){this.popperInstance.update()};t.prototype.render=function(){var t=this;var e=u.block("popover");return r(n,{"aria-presented":this.active?"true":null,"data-id":this.popoverId,class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e.class()),e.modifier("active").class(this.active)),e.modifier("tooltip").class(this.tooltip)),e.modifier("arrow").class(this.arrow)),e.modifier("hint").class(this.hint)),e.modifier("backdrop").class(this.backdrop))},!this.mobileTop&&r("div",{ref:function(e){t.backdropElement=e},class:Object.assign({},e.element("backdrop").class(this.backdrop&&this.active)),style:{"--bal-popover-backdrop-height":"".concat(this.backdropHeight,"rem")}}),r("slot",null))};Object.defineProperty(t.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeChanged"]}},enumerable:false,configurable:true});return t}());a([d("bal-popover"),s("design:type",Function),s("design:paramtypes",[Function]),s("design:returntype",void 0)],Me.prototype,"createLogger",null);a([v(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",void 0)],Me.prototype,"breakpointListener",null);var Se=0;Me.style=Ee;var Pe=t("bal_popover_content",function(){function t(t){e(this,t);this.isTouch=l.isTouch;this.spaceless=false;this.scrollable=0;this.contentWidth=0;this.contentMinWidth=0;this.color="white";this.expanded=false;this.radius="normal";this.noShadow=false;this.mobileTop=false;this.contentHeightOnTop=0}t.prototype.breakpointListener=function(t){if(h.hasWindow){this.contentHeightOnTop=window.innerHeight-64}};Object.defineProperty(t.prototype,"innerStyle",{get:function(){var t={};if(this.scrollable>0){t={"max-height":"".concat(this.scrollable,"px"),overflow:"auto"}}return Object.assign({},t)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"contentStyle",{get:function(){var t={};var e={};var r={"--bal-popover-content-height-top-nav":"".concat(this.contentHeightOnTop/16,"rem")};if(this.contentWidth>0){t={"max-width":"".concat(this.contentWidth,"px")}}if(this.contentMinWidth>0){e={"min-width":"".concat(this.contentMinWidth,"px")}}return Object.assign(Object.assign(Object.assign({},t),e),r)},enumerable:false,configurable:true});t.prototype.componentWillLoad=function(){if(h.hasWindow){this.contentHeightOnTop=window.innerHeight-64}};t.prototype.render=function(){var t=u.block("popover").element("content");return r(n,{class:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},t.class()),t.modifier("expanded").class(this.expanded)),t.modifier("spaceless").class(this.spaceless)),t.modifier("no-shadow").class(this.noShadow)),t.modifier("radius-".concat(this.radius)).class()),t.modifier("color-".concat(this.color)).class()),t.modifier("on-top").class(this.mobileTop)),"data-testid":"bal-popover-content",role:"tooltip",style:this.contentStyle},r("div",{class:Object.assign({},t.element("inner").class()),style:this.innerStyle},r("slot",null)),r("div",{class:Object.assign({},t.element("arrow").class()),"data-popper-arrow":true}))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());a([v(),s("design:type",Function),s("design:paramtypes",[Object]),s("design:returntype",void 0)],Pe.prototype,"breakpointListener",null)}}}));
|
|
@@ -7,12 +7,12 @@ const tslib_es6 = require('./tslib.es6-a680968e.js');
|
|
|
7
7
|
const helpers = require('./helpers-2a8c8333.js');
|
|
8
8
|
const bem = require('./bem-81bc6a2d.js');
|
|
9
9
|
const formInput = require('./form-input-b61eb894.js');
|
|
10
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
10
|
+
const breakpoints_decorator = require('./breakpoints.decorator-15205966.js');
|
|
11
11
|
const style = require('./style-799e9253.js');
|
|
12
12
|
const mutation_decorator = require('./mutation.decorator-af043b68.js');
|
|
13
13
|
const swipe_decorator = require('./swipe.decorator-5206d283.js');
|
|
14
14
|
const resize_decorator = require('./resize.decorator-ae91ead2.js');
|
|
15
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
15
|
+
const breakpoints_subject = require('./breakpoints.subject-2aac9915.js');
|
|
16
16
|
const config_default = require('./config.default-5bdd6e3d.js');
|
|
17
17
|
const config_decorator = require('./config.decorator-b393a72f.js');
|
|
18
18
|
const attributes = require('./attributes-9f366716.js');
|
|
@@ -22,7 +22,7 @@ require('./config.utils-e4cd49d6.js');
|
|
|
22
22
|
require('./listener-52d2e5fd.js');
|
|
23
23
|
require('./swipe.subject-4ec94271.js');
|
|
24
24
|
require('./device-9f97a845.js');
|
|
25
|
-
require('./tokens.esm-
|
|
25
|
+
require('./tokens.esm-94853847.js');
|
|
26
26
|
require('./log-33398c2a.js');
|
|
27
27
|
|
|
28
28
|
const TabControl = ({ value, items, containerId, onControlChange }) => {
|
|
@@ -16,16 +16,16 @@ const bem = require('./bem-81bc6a2d.js');
|
|
|
16
16
|
const log = require('./log-33398c2a.js');
|
|
17
17
|
const form = require('./form-2279fb2f.js');
|
|
18
18
|
const config_default = require('./config.default-5bdd6e3d.js');
|
|
19
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
19
|
+
const breakpoints_subject = require('./breakpoints.subject-2aac9915.js');
|
|
20
20
|
const config_utils = require('./config.utils-e4cd49d6.js');
|
|
21
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
21
|
+
const breakpoints_decorator = require('./breakpoints.decorator-15205966.js');
|
|
22
22
|
const config_decorator = require('./config.decorator-b393a72f.js');
|
|
23
23
|
require('./browser-1d542d0f.js');
|
|
24
24
|
require('./icons.constant-7c82086a.js');
|
|
25
25
|
require('./_commonjsHelpers-68cdf74f.js');
|
|
26
26
|
require('./device-9f97a845.js');
|
|
27
27
|
require('./listener-52d2e5fd.js');
|
|
28
|
-
require('./tokens.esm-
|
|
28
|
+
require('./tokens.esm-94853847.js');
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
31
|
* @name addDays
|
|
@@ -7,8 +7,8 @@ const tslib_es6 = require('./tslib.es6-a680968e.js');
|
|
|
7
7
|
const bem = require('./bem-81bc6a2d.js');
|
|
8
8
|
const utils = require('./utils-9ea175af.js');
|
|
9
9
|
const scroll = require('./scroll-73c1b762.js');
|
|
10
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
11
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
10
|
+
const breakpoints_subject = require('./breakpoints.subject-2aac9915.js');
|
|
11
|
+
const breakpoints_decorator = require('./breakpoints.decorator-15205966.js');
|
|
12
12
|
const config_decorator = require('./config.decorator-b393a72f.js');
|
|
13
13
|
const browser = require('./browser-1d542d0f.js');
|
|
14
14
|
const log = require('./log-33398c2a.js');
|
|
@@ -18,7 +18,7 @@ require('./icons.constant-7c82086a.js');
|
|
|
18
18
|
require('./config.utils-e4cd49d6.js');
|
|
19
19
|
require('./device-9f97a845.js');
|
|
20
20
|
require('./listener-52d2e5fd.js');
|
|
21
|
-
require('./tokens.esm-
|
|
21
|
+
require('./tokens.esm-94853847.js');
|
|
22
22
|
|
|
23
23
|
const balHintCss = ":root{--bal-hint-content-background:var(--bal-color-grey-2)}.bal-hint{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block}.bal-hint__icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}@media (hover: hover)and (pointer: fine){.bal-hint__icon:hover svg,.bal-hint__icon:hover g,.bal-hint__icon:hover path,.bal-hint__icon:hover circle,.bal-hint__icon:focus svg,.bal-hint__icon:focus g,.bal-hint__icon:focus path,.bal-hint__icon:focus circle{fill:var(--bal-color-light-blue-5)}}.bal-hint__content{background:var(--bal-hint-content-background);display:-ms-flexbox;display:flex;gap:1.5rem;-ms-flex-direction:column;flex-direction:column}@media screen and (max-width: 768px){.bal-hint__content{padding:1.25rem;min-height:100%}.bal-hint__content>div{-ms-flex:1;flex:1}}.bal-hint__content__title{display:block;margin-bottom:1rem}.bal-hint__content__title__heading{font-family:var(--bal-title-font-family);font-weight:var(--bal-title-font-weight);font-size:var(--bal-text-size-x-large);line-height:var(--bal-line-height-x-large)}@media screen and (min-width: 769px),print{.bal-hint__content__title__heading{font-size:var(--bal-text-size-x-large-tablet);line-height:var(--bal-line-height-tablet-x-large)}}@media screen and (min-width: 1024px){.bal-hint__content__title__heading{font-size:var(--bal-text-size-x-large-desktop);line-height:var(--bal-line-height-desktop-x-large)}}@media screen and (min-width: 769px),print{.bal-hint__content__buttons--is-hidden-desktop{display:none !important}}.bal-hint__overlay__content{position:fixed;display:none;overflow:auto;top:0;left:0;right:0;bottom:0;z-index:var(--bal-z-index-popup)}.bal-hint__overlay__content--active{display:block}";
|
|
24
24
|
const BalHintStyle0 = balHintCss;
|
|
@@ -8,16 +8,16 @@ const tslib_es6 = require('./tslib.es6-a680968e.js');
|
|
|
8
8
|
const log = require('./log-33398c2a.js');
|
|
9
9
|
const helpers = require('./helpers-2a8c8333.js');
|
|
10
10
|
const config_decorator = require('./config.decorator-b393a72f.js');
|
|
11
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
11
|
+
const breakpoints_subject = require('./breakpoints.subject-2aac9915.js');
|
|
12
12
|
const resize_decorator = require('./resize.decorator-ae91ead2.js');
|
|
13
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
13
|
+
const breakpoints_decorator = require('./breakpoints.decorator-15205966.js');
|
|
14
14
|
const index_esm = require('./index.esm-54a3d84e.js');
|
|
15
15
|
require('./browser-1d542d0f.js');
|
|
16
16
|
require('./icons.constant-7c82086a.js');
|
|
17
17
|
require('./config.utils-e4cd49d6.js');
|
|
18
18
|
require('./device-9f97a845.js');
|
|
19
19
|
require('./listener-52d2e5fd.js');
|
|
20
|
-
require('./tokens.esm-
|
|
20
|
+
require('./tokens.esm-94853847.js');
|
|
21
21
|
require('./index-e6a233be.js');
|
|
22
22
|
require('./_commonjsHelpers-68cdf74f.js');
|
|
23
23
|
|
|
@@ -7,15 +7,15 @@ const tslib_es6 = require('./tslib.es6-a680968e.js');
|
|
|
7
7
|
const bem = require('./bem-81bc6a2d.js');
|
|
8
8
|
const log = require('./log-33398c2a.js');
|
|
9
9
|
const helpers = require('./helpers-2a8c8333.js');
|
|
10
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
11
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
10
|
+
const breakpoints_decorator = require('./breakpoints.decorator-15205966.js');
|
|
11
|
+
const breakpoints_subject = require('./breakpoints.subject-2aac9915.js');
|
|
12
12
|
const config_decorator = require('./config.decorator-b393a72f.js');
|
|
13
13
|
require('./browser-1d542d0f.js');
|
|
14
14
|
require('./icons.constant-7c82086a.js');
|
|
15
15
|
require('./config.utils-e4cd49d6.js');
|
|
16
16
|
require('./device-9f97a845.js');
|
|
17
17
|
require('./listener-52d2e5fd.js');
|
|
18
|
-
require('./tokens.esm-
|
|
18
|
+
require('./tokens.esm-94853847.js');
|
|
19
19
|
|
|
20
20
|
const balLogoCss = ".bal-logo{position:static;display:block;height:22px}.bal-logo svg{-webkit-transform:unset !important;transform:unset !important}.bal-logo svg svg,.bal-logo svg g,.bal-logo svg path,.bal-logo svg circle{fill:#000d6e}.bal-logo>div{height:22px}@media screen and (min-width: 1024px){.bal-logo--animated{margin-left:-7px}}.bal-logo--white svg svg,.bal-logo--white svg g,.bal-logo--white svg path,.bal-logo--white svg circle{fill:#fff}@media screen and (min-width: 1024px){.bal-logo{height:32px}.bal-logo>div{height:32px}}.bal-logo--size-small{height:22px}.bal-logo--size-small>div{height:22px}";
|
|
21
21
|
const BalLogoStyle0 = balLogoCss;
|
|
@@ -9,17 +9,17 @@ const log = require('./log-33398c2a.js');
|
|
|
9
9
|
const browser = require('./browser-1d542d0f.js');
|
|
10
10
|
const scroll = require('./scroll-73c1b762.js');
|
|
11
11
|
const helpers = require('./helpers-2a8c8333.js');
|
|
12
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
12
|
+
const breakpoints_subject = require('./breakpoints.subject-2aac9915.js');
|
|
13
13
|
const config_default = require('./config.default-5bdd6e3d.js');
|
|
14
14
|
const mutation_decorator = require('./mutation.decorator-af043b68.js');
|
|
15
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
15
|
+
const breakpoints_decorator = require('./breakpoints.decorator-15205966.js');
|
|
16
16
|
const config_decorator = require('./config.decorator-b393a72f.js');
|
|
17
17
|
const resize_decorator = require('./resize.decorator-ae91ead2.js');
|
|
18
18
|
require('./icons.constant-7c82086a.js');
|
|
19
19
|
require('./config.utils-e4cd49d6.js');
|
|
20
20
|
require('./device-9f97a845.js');
|
|
21
21
|
require('./listener-52d2e5fd.js');
|
|
22
|
-
require('./tokens.esm-
|
|
22
|
+
require('./tokens.esm-94853847.js');
|
|
23
23
|
|
|
24
24
|
class NavLinkItem {
|
|
25
25
|
constructor(item, observer) {
|
|
@@ -8,13 +8,13 @@ const scroll = require('./scroll-73c1b762.js');
|
|
|
8
8
|
const browser = require('./browser-1d542d0f.js');
|
|
9
9
|
const tslib_es6 = require('./tslib.es6-a680968e.js');
|
|
10
10
|
const helpers = require('./helpers-2a8c8333.js');
|
|
11
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
12
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
11
|
+
const breakpoints_subject = require('./breakpoints.subject-2aac9915.js');
|
|
12
|
+
const breakpoints_decorator = require('./breakpoints.decorator-15205966.js');
|
|
13
13
|
require('./icons.constant-7c82086a.js');
|
|
14
14
|
require('./config.utils-e4cd49d6.js');
|
|
15
15
|
require('./device-9f97a845.js');
|
|
16
16
|
require('./listener-52d2e5fd.js');
|
|
17
|
-
require('./tokens.esm-
|
|
17
|
+
require('./tokens.esm-94853847.js');
|
|
18
18
|
|
|
19
19
|
const balNavbarCss = ":root{--bal-navbar-background:var(--bal-color-primary);--bal-navbar-light-background:var(--bal-color-white);--bal-navbar-active-menu-background:var(--bal-color-white);--bal-navbar-height:4rem;--bal-navbar-height-desktop:5rem;--bal-navbar-brand-title-text-color:var(--bal-color-text-white);--bal-navbar-brand-title-font-size:var(--bal-text-size-medium);--bal-navbar-brand-title-light-text-color:var(--bal-color-text-primary);--bal-navbar-brand-text-color:var(--bal-color-text-white);--bal-navbar-brand-logo-link-color:var(--bal-color-text-white)}.bal-navbar{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:block}.bal-navbar--context-app:not(.bal-navbar--is-light),.bal-navbar--context-simple:not(.bal-navbar--is-light){background:var(--bal-navbar-background)}.bal-navbar--context-app,.bal-navbar--context-simple{height:var(--bal-navbar-height);max-height:var(--bal-navbar-height)}@media screen and (min-width: 1024px){.bal-navbar--context-app,.bal-navbar--context-simple{height:var(--bal-navbar-height-desktop);max-height:var(--bal-navbar-height-desktop)}}.bal-navbar__nav{display:-ms-flexbox;display:flex;height:100%;gap:1rem}.bal-navbar__brand{-ms-flex:1;flex:1;gap:2rem;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center}@media screen and (min-width: 1024px){.bal-navbar__brand{-ms-flex:initial;flex:initial}}.bal-navbar__brand>a{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%}.bal-navbar__brand__logo{height:calc(100% - 1rem);-o-object-fit:contain;object-fit:contain}@media screen and (min-width: 1024px){.bal-navbar__brand__logo{height:calc(100% - 2rem)}}.bal-navbar__brand__title{display:none;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.bal-navbar__brand__title>bal-logo{display:none}@media screen and (min-width: 769px),print{.bal-navbar__brand__title{display:inline-block;font-size:var(--bal-navbar-brand-title-font-size);font-family:var(--bal-font-family-title);font-weight:var(--bal-font-weight-bold);color:var(--bal-navbar-brand-title-text-color)}}@media screen and (min-width: 1024px){.bal-navbar__brand__title{font-size:var(--bal-navbar-brand-title-font-size)}}.bal-navbar__brand--context-app,.bal-navbar__brand--context-simple{color:var(--bal-navbar-brand-text-color)}.bal-navbar__brand--context-app>a,.bal-navbar__brand--context-simple>a{color:var(--bal-navbar-brand-logo-link-color)}.bal-navbar__menu{position:static;display:none;z-index:var(--bal-z-index-navigation)}@media screen and (max-width: 1023px){.bal-navbar__menu--active{position:fixed !important;display:block;background:var(--bal-navbar-active-menu-background)}}@media screen and (max-width: 1023px){.bal-navbar__menu--context-app{padding-top:1rem;padding-bottom:1rem;overflow-y:auto;-ms-flex-direction:column-reverse;flex-direction:column-reverse;top:4rem;left:0;bottom:0;right:0}}@media screen and (min-width: 1024px){.bal-navbar__menu{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;gap:1rem;padding-right:0 !important}}.bal-navbar__menu--context-simple{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;-ms-flex:1;flex:1;gap:1rem}.bal-navbar__menu__start{display:block;margin-bottom:1rem}@media screen and (min-width: 1024px){.bal-navbar__menu__start{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;gap:.5rem;margin-bottom:0}}.bal-navbar__menu__start--context-simple{display:none}.bal-navbar__menu__start--context-meta{-ms-flex-pack:start;justify-content:flex-start}.bal-navbar__menu__end{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center;gap:.5rem}.bal-navbar__menu__end .button-label{word-break:keep-all !important}.bal-navbar__menu__end .bal-button-group{width:100%}@media screen and (max-width: 1023px){.bal-navbar__menu__end .bal-button-group{margin-top:2rem}}.bal-navbar__menu__end--context-simple>.field{-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center}.bal-navbar__menu__end>.field{-ms-flex:1;flex:1}@media screen and (min-width: 1024px){.bal-navbar__menu__end>.field{-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center}}.bal-navbar--is-light{background-color:var(--bal-navbar-light-background);-webkit-box-shadow:var(--bal-shadow-normal);box-shadow:var(--bal-shadow-normal)}.bal-navbar--is-light .bal-navbar__brand__title{color:var(--bal-navbar-brand-title-light-text-color)}.bal-navbar--is-light bal-logo svg svg,.bal-navbar--is-light bal-logo svg g,.bal-navbar--is-light bal-logo svg path,.bal-navbar--is-light bal-logo svg circle{fill:var(--bal-color-primary)}.bal-navbar__brand__burger.bal-button{margin-left:auto}@media screen and (min-width: 1024px){.bal-navbar__brand__burger.bal-button{display:none}}.bal-navbar__brand__burger--hidden.bal-button{display:none !important}";
|
|
20
20
|
const BalNavbarStyle0 = balNavbarCss;
|
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-219b2f52.js');
|
|
6
6
|
const tslib_es6 = require('./tslib.es6-a680968e.js');
|
|
7
7
|
const bem = require('./bem-81bc6a2d.js');
|
|
8
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
8
|
+
const breakpoints_subject = require('./breakpoints.subject-2aac9915.js');
|
|
9
9
|
const config_default = require('./config.default-5bdd6e3d.js');
|
|
10
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
10
|
+
const breakpoints_decorator = require('./breakpoints.decorator-15205966.js');
|
|
11
11
|
const config_decorator = require('./config.decorator-b393a72f.js');
|
|
12
12
|
require('./helpers-2a8c8333.js');
|
|
13
13
|
require('./browser-1d542d0f.js');
|
|
@@ -15,7 +15,7 @@ require('./icons.constant-7c82086a.js');
|
|
|
15
15
|
require('./config.utils-e4cd49d6.js');
|
|
16
16
|
require('./device-9f97a845.js');
|
|
17
17
|
require('./listener-52d2e5fd.js');
|
|
18
|
-
require('./tokens.esm-
|
|
18
|
+
require('./tokens.esm-94853847.js');
|
|
19
19
|
require('./log-33398c2a.js');
|
|
20
20
|
|
|
21
21
|
function generatePaginationControl(value, totalPages, pageRange) {
|
|
@@ -6,15 +6,15 @@ const index = require('./index-219b2f52.js');
|
|
|
6
6
|
const tslib_es6 = require('./tslib.es6-a680968e.js');
|
|
7
7
|
const bem = require('./bem-81bc6a2d.js');
|
|
8
8
|
const helpers = require('./helpers-2a8c8333.js');
|
|
9
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
10
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
11
|
-
const windowResize_decorator = require('./window-resize.decorator-
|
|
9
|
+
const breakpoints_subject = require('./breakpoints.subject-2aac9915.js');
|
|
10
|
+
const breakpoints_decorator = require('./breakpoints.decorator-15205966.js');
|
|
11
|
+
const windowResize_decorator = require('./window-resize.decorator-4a489114.js');
|
|
12
12
|
require('./browser-1d542d0f.js');
|
|
13
13
|
require('./icons.constant-7c82086a.js');
|
|
14
14
|
require('./config.utils-e4cd49d6.js');
|
|
15
15
|
require('./device-9f97a845.js');
|
|
16
16
|
require('./listener-52d2e5fd.js');
|
|
17
|
-
require('./tokens.esm-
|
|
17
|
+
require('./tokens.esm-94853847.js');
|
|
18
18
|
|
|
19
19
|
const balProgressBarCss = ":root{--bal-progress-bar-background-white:var(--bal-color-white);--bal-progress-bar-background-grey:var(--bal-color-grey-3);--bal-progress-bar-background-purple:var(--bal-color-purple-2);--bal-progress-bar-background-yellow:var(--bal-color-yellow-2);--bal-progress-bar-background-red:var(--bal-color-red-2);--bal-progress-bar-background-green:var(--bal-color-green-2);--bal-progress-bar-line-color-primary:var(--bal-color-primary);--bal-progress-bar-line-color-purple:var(--bal-color-purple-6);--bal-progress-bar-line-color-yellow:var(--bal-color-yellow-6);--bal-progress-bar-line-color-red:var(--bal-color-red-6);--bal-progress-bar-line-color-green:var(--bal-color-green-6);--bal-progress-bar-line-radius:var(--bal-radius-rounded)}.bal-progress-bar{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;width:100%;min-width:0;height:.25rem}.bal-progress-bar--background-white-of-primary,.bal-progress-bar--background-white-of-purple,.bal-progress-bar--background-white-of-red,.bal-progress-bar--background-white-of-green,.bal-progress-bar--background-white-of-yellow{background:var(--bal-progress-bar-background-white)}.bal-progress-bar--background-grey-of-primary{background:var(--bal-progress-bar-background-grey)}.bal-progress-bar--background-grey-of-purple{background:var(--bal-progress-bar-background-purple)}.bal-progress-bar--background-grey-of-red{background:var(--bal-progress-bar-background-red)}.bal-progress-bar--background-grey-of-green{background:var(--bal-progress-bar-background-green)}.bal-progress-bar--background-grey-of-yellow{background:var(--bal-progress-bar-background-yellow)}.bal-progress-bar__line{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;height:.25rem;width:0;background:var(--bal-progress-bar-line-color-primary);border-top-right-radius:var(--bal-progress-bar-line-radius);border-bottom-right-radius:var(--bal-progress-bar-line-radius)}.bal-progress-bar__line--animated{will-change:width;-webkit-transition:all var(--bal-animation-transition-duration) var(--bal-animation-transition-easing);transition:all var(--bal-animation-transition-duration) var(--bal-animation-transition-easing)}.bal-progress-bar__line--full{border-top-right-radius:0;border-bottom-right-radius:0}.bal-progress-bar__line--color-purple{background:var(--bal-progress-bar-line-color-purple)}.bal-progress-bar__line--color-yellow{background:var(--bal-progress-bar-line-color-yellow)}.bal-progress-bar__line--color-red{background:var(--bal-progress-bar-line-color-red)}.bal-progress-bar__line--color-green{background:var(--bal-progress-bar-line-color-green)}";
|
|
20
20
|
const BalProgressBarStyle0 = balProgressBarCss;
|
|
@@ -12,8 +12,8 @@ const focusVisible = require('./focus-visible-264bd9b8.js');
|
|
|
12
12
|
const helpers = require('./helpers-2a8c8333.js');
|
|
13
13
|
const form = require('./form-2279fb2f.js');
|
|
14
14
|
const focus_decorator = require('./focus.decorator-afaf9ac4.js');
|
|
15
|
-
const windowResize_decorator = require('./window-resize.decorator-
|
|
16
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
15
|
+
const windowResize_decorator = require('./window-resize.decorator-4a489114.js');
|
|
16
|
+
const breakpoints_decorator = require('./breakpoints.decorator-15205966.js');
|
|
17
17
|
const attributes = require('./attributes-9f366716.js');
|
|
18
18
|
require('./browser-1d542d0f.js');
|
|
19
19
|
require('./index-e6a233be.js');
|
|
@@ -21,9 +21,9 @@ require('./_commonjsHelpers-68cdf74f.js');
|
|
|
21
21
|
require('./icons.constant-7c82086a.js');
|
|
22
22
|
require('./config.utils-e4cd49d6.js');
|
|
23
23
|
require('./listener-52d2e5fd.js');
|
|
24
|
-
require('./breakpoints.subject-
|
|
24
|
+
require('./breakpoints.subject-2aac9915.js');
|
|
25
25
|
require('./device-9f97a845.js');
|
|
26
|
-
require('./tokens.esm-
|
|
26
|
+
require('./tokens.esm-94853847.js');
|
|
27
27
|
|
|
28
28
|
const balSegmentCss = ":root{--bal-segment-background:var(--bal-color-grey-2);--bal-segment-background-invalid:var(--bal-color-danger-1);--bal-segment-item-focus-border:var(--bal-color-border-primary);--bal-segment-item-text-color:var(--bal-color-text-primary);--bal-segment-item-text-color-checked:var(--bal-color-text-primary);--bal-segment-item-text-color-checked-hovered:var(--bal-color-text-primary-hovered);--bal-segment-item-text-color-checked-pressed:var(--bal-color-text-primary-pressed);--bal-segment-item-text-color-invalid:var(--bal-color-text-danger);--bal-segment-item-text-color-invalid-hovered:var(--bal-color-text-danger-hovered);--bal-segment-item-text-color-invalid-pressed:var(--bal-color-text-danger-pressed);--bal-segment-item-text-color-disabled:var(--bal-color-text-grey);--bal-segment-item-text-color-disabled-checked:var(--bal-color-text-grey-dark);--bal-segment-item-divider-background:var(--bal-color-grey);--bal-segment-item-divider-background-invalid:var(--bal-color-danger-2);--bal-segment-item-indicator-background:var(--bal-color-purple-2);--bal-segment-item-indicator-background-invalid:var(--bal-color-danger-4);--bal-segment-item-indicator-background-disabled:var(--bal-color-grey-3)}.bal-segment{display:-ms-flexbox;display:flex;background:var(--bal-segment-background);border-radius:var(--bal-radius-normal);gap:.125rem;gap:.125rem;padding:.25rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.bal-segment--invalid{background:var(--bal-segment-background-invalid)}.bal-segment--vertical{-ms-flex-direction:column;flex-direction:column;width:100%}.bal-segment--vertical .bal-segment-item__button{width:100%;-ms-flex:1;flex:1}.bal-segment--vertical.bal-segment--scrollable{overflow:auto;max-height:240px}.bal-segment--expanded{width:100%;min-width:100%;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center}.bal-segment--expanded .bal-segment-item,.bal-segment--expanded .bal-segment-item>button{-ms-flex:1;flex:1;width:100%}.bal-segment--expanded .bal-segment-item .bal-content,.bal-segment--expanded .bal-segment-item>button .bal-content{-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}";
|
|
29
29
|
const BalSegmentStyle0 = balSegmentCss;
|
|
@@ -137,6 +137,7 @@ const Segment = class {
|
|
|
137
137
|
this.el.addEventListener('touchstart', this.onPointerDown);
|
|
138
138
|
this.el.addEventListener('mousedown', this.onPointerDown);
|
|
139
139
|
this.disabledChanged();
|
|
140
|
+
this.isVertical = this.vertical;
|
|
140
141
|
}
|
|
141
142
|
disconnectedCallback() {
|
|
142
143
|
this.el.removeEventListener('touchstart', this.onPointerDown);
|
|
@@ -178,10 +179,12 @@ const Segment = class {
|
|
|
178
179
|
}
|
|
179
180
|
listenOnKeyDown(ev) {
|
|
180
181
|
this.keyboardMode = focusVisible.FOCUS_KEYS.includes(ev.key);
|
|
182
|
+
let forceChange = false;
|
|
181
183
|
let current;
|
|
182
|
-
if (index_esm.isSpaceKey(ev)) {
|
|
184
|
+
if (index_esm.isSpaceKey(ev) || index_esm.isEnterKey(ev)) {
|
|
183
185
|
formInput.stopEventBubbling(ev);
|
|
184
186
|
current = this.getSegmentItem('current');
|
|
187
|
+
forceChange = this.value !== current.value;
|
|
185
188
|
this.value = current.value;
|
|
186
189
|
}
|
|
187
190
|
else if (index_esm.isArrowUpKey(ev) || index_esm.isArrowLeftKey(ev)) {
|
|
@@ -204,7 +207,7 @@ const Segment = class {
|
|
|
204
207
|
return;
|
|
205
208
|
}
|
|
206
209
|
const previous = this.checked;
|
|
207
|
-
if (current !== previous) {
|
|
210
|
+
if (current !== previous || forceChange) {
|
|
208
211
|
this.checkButton(previous, current);
|
|
209
212
|
this.emitValueChange();
|
|
210
213
|
}
|
|
@@ -424,6 +427,12 @@ const SegmentItem = class {
|
|
|
424
427
|
componentWillLoad() {
|
|
425
428
|
this.inheritedAttributes = Object.assign({}, attributes.inheritAttributes(this.el, ['aria-label']));
|
|
426
429
|
}
|
|
430
|
+
connectedCallback() {
|
|
431
|
+
const segmentEl = (this.segmentEl = this.el.closest('bal-segment'));
|
|
432
|
+
if (segmentEl && segmentEl.vertical) {
|
|
433
|
+
this.isVertical = segmentEl.vertical;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
427
436
|
componentDidLoad() {
|
|
428
437
|
const segmentEl = (this.segmentEl = this.el.closest('bal-segment'));
|
|
429
438
|
if (segmentEl) {
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-219b2f52.js');
|
|
6
6
|
const bem = require('./bem-81bc6a2d.js');
|
|
7
|
-
const tokens_esm = require('./tokens.esm-
|
|
7
|
+
const tokens_esm = require('./tokens.esm-94853847.js');
|
|
8
8
|
|
|
9
9
|
const balShapeCss = ".bal-shape{display:block;overflow:hidden;border-radius:var(--bal-radius-normal);width:66px;height:66px}@media screen and (min-width: 769px),print{.bal-shape{width:120px;height:120px}}@media screen and (min-width: 1024px){.bal-shape{width:198px;height:198px;border-radius:unset}}.bal-shape--is-rotation-0{-webkit-transform:rotate(0deg);transform:rotate(0deg)}.bal-shape--is-rotation-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.bal-shape--is-rotation-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.bal-shape--is-rotation-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}";
|
|
10
10
|
const BalShapeStyle0 = balShapeCss;
|
|
@@ -10,9 +10,9 @@ const log = require('./log-33398c2a.js');
|
|
|
10
10
|
const index_esm = require('./index.esm-54a3d84e.js');
|
|
11
11
|
const formInput = require('./form-input-b61eb894.js');
|
|
12
12
|
const balStep_util = require('./bal-step.util-3c009db9.js');
|
|
13
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
13
|
+
const breakpoints_subject = require('./breakpoints.subject-2aac9915.js');
|
|
14
14
|
const mutation_decorator = require('./mutation.decorator-af043b68.js');
|
|
15
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
15
|
+
const breakpoints_decorator = require('./breakpoints.decorator-15205966.js');
|
|
16
16
|
require('./browser-1d542d0f.js');
|
|
17
17
|
require('./icons.constant-7c82086a.js');
|
|
18
18
|
require('./config.utils-e4cd49d6.js');
|
|
@@ -20,7 +20,7 @@ require('./index-e6a233be.js');
|
|
|
20
20
|
require('./_commonjsHelpers-68cdf74f.js');
|
|
21
21
|
require('./device-9f97a845.js');
|
|
22
22
|
require('./listener-52d2e5fd.js');
|
|
23
|
-
require('./tokens.esm-
|
|
23
|
+
require('./tokens.esm-94853847.js');
|
|
24
24
|
|
|
25
25
|
const StepIcon = ({ item, isMobile }) => {
|
|
26
26
|
const bemEl = bem.BEM.block('steps').element('nav').element('item').element('icon');
|
|
@@ -13,9 +13,9 @@ const balTab_util = require('./bal-tab.util-d0785ef4.js');
|
|
|
13
13
|
const formInput = require('./form-input-b61eb894.js');
|
|
14
14
|
const browser = require('./browser-1d542d0f.js');
|
|
15
15
|
const style = require('./style-799e9253.js');
|
|
16
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
16
|
+
const breakpoints_subject = require('./breakpoints.subject-2aac9915.js');
|
|
17
17
|
const mutation_decorator = require('./mutation.decorator-af043b68.js');
|
|
18
|
-
const breakpoints_decorator = require('./breakpoints.decorator-
|
|
18
|
+
const breakpoints_decorator = require('./breakpoints.decorator-15205966.js');
|
|
19
19
|
const resize_decorator = require('./resize.decorator-ae91ead2.js');
|
|
20
20
|
const config_decorator = require('./config.decorator-b393a72f.js');
|
|
21
21
|
require('./index-e6a233be.js');
|
|
@@ -24,7 +24,7 @@ require('./icons.constant-7c82086a.js');
|
|
|
24
24
|
require('./config.utils-e4cd49d6.js');
|
|
25
25
|
require('./device-9f97a845.js');
|
|
26
26
|
require('./listener-52d2e5fd.js');
|
|
27
|
-
require('./tokens.esm-
|
|
27
|
+
require('./tokens.esm-94853847.js');
|
|
28
28
|
|
|
29
29
|
const TabItem = class {
|
|
30
30
|
constructor(hostRef) {
|
|
@@ -4,7 +4,7 @@ const helpers = require('./helpers-2a8c8333.js');
|
|
|
4
4
|
const browser = require('./browser-1d542d0f.js');
|
|
5
5
|
const device = require('./device-9f97a845.js');
|
|
6
6
|
const listener = require('./listener-52d2e5fd.js');
|
|
7
|
-
const tokens_esm = require('./tokens.esm-
|
|
7
|
+
const tokens_esm = require('./tokens.esm-94853847.js');
|
|
8
8
|
|
|
9
9
|
class BalWindowResizeHandler {
|
|
10
10
|
constructor(options = {}) {
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -20,7 +20,7 @@ const browser = require('./browser-1d542d0f.js');
|
|
|
20
20
|
const device = require('./device-9f97a845.js');
|
|
21
21
|
const maskUtil = require('./mask-util-19c28b4a.js');
|
|
22
22
|
const overlays = require('./overlays-3e4cf786.js');
|
|
23
|
-
const breakpoints_subject = require('./breakpoints.subject-
|
|
23
|
+
const breakpoints_subject = require('./breakpoints.subject-2aac9915.js');
|
|
24
24
|
const config_utils = require('./config.utils-e4cd49d6.js');
|
|
25
25
|
const config_default = require('./config.default-5bdd6e3d.js');
|
|
26
26
|
const listener = require('./listener-52d2e5fd.js');
|
|
@@ -30,7 +30,7 @@ require('./index-e6a233be.js');
|
|
|
30
30
|
require('./_commonjsHelpers-68cdf74f.js');
|
|
31
31
|
require('./index-219b2f52.js');
|
|
32
32
|
require('./icons.constant-7c82086a.js');
|
|
33
|
-
require('./tokens.esm-
|
|
33
|
+
require('./tokens.esm-94853847.js');
|
|
34
34
|
require('./log-33398c2a.js');
|
|
35
35
|
|
|
36
36
|
const i18nBalFieldLabel = {
|