vviinn-widgets 2.76.2 → 2.77.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/dist/cjs/{package-6ed71104.js → package-8e5eb559.js} +1 -1
- package/dist/cjs/search-filters_18.cjs.entry.js +2 -2
- package/dist/cjs/vviinn-carousel_8.cjs.entry.js +1 -1
- package/dist/cjs/vviinn-vpr-button.cjs.entry.js +1 -1
- package/dist/cjs/vviinn-vps-button.cjs.entry.js +1 -1
- package/dist/cjs/vviinn-vps-widget.cjs.entry.js +1 -1
- package/dist/collection/components/vviinn-results/vviinn-results.js +2 -2
- package/dist/collection/components/vviinn-text-search/stories/vviinn-text-search.stories.js +12 -2
- package/dist/esm/{package-eda9cc4a.js → package-05a9016e.js} +1 -1
- package/dist/esm/search-filters_18.entry.js +2 -2
- package/dist/esm/vviinn-carousel_8.entry.js +1 -1
- package/dist/esm/vviinn-vpr-button.entry.js +1 -1
- package/dist/esm/vviinn-vps-button.entry.js +1 -1
- package/dist/esm/vviinn-vps-widget.entry.js +1 -1
- package/dist/vviinn-widgets/{p-8cb71261.entry.js → p-4c3429c9.entry.js} +1 -1
- package/{www/build/p-188e1517.entry.js → dist/vviinn-widgets/p-996a9921.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-7361c2b2.entry.js → p-9af72045.entry.js} +1 -1
- package/dist/vviinn-widgets/{p-bfd6c12b.entry.js → p-aa05f7a0.entry.js} +2 -2
- package/dist/vviinn-widgets/{p-a24ae98f.entry.js → p-ae346f6c.entry.js} +1 -1
- package/dist/vviinn-widgets/p-fac8ec71.js +1 -0
- package/dist/vviinn-widgets/vviinn-widgets.esm.js +1 -1
- package/package.json +1 -1
- package/www/build/{p-8cb71261.entry.js → p-4c3429c9.entry.js} +1 -1
- package/{dist/vviinn-widgets/p-188e1517.entry.js → www/build/p-996a9921.entry.js} +1 -1
- package/www/build/{p-7361c2b2.entry.js → p-9af72045.entry.js} +1 -1
- package/www/build/{p-bfd6c12b.entry.js → p-aa05f7a0.entry.js} +2 -2
- package/www/build/{p-a24ae98f.entry.js → p-ae346f6c.entry.js} +1 -1
- package/www/build/p-fac8ec71.js +1 -0
- package/www/build/vviinn-widgets.esm.js +1 -1
- package/dist/vviinn-widgets/p-626495b2.js +0 -1
- package/www/build/p-626495b2.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,r as e,c as i,H as r,g as o,F as s}from"./p-1c863deb.js";import{h as n,t as l,s as a,_ as d,a as c,O as h,S as p,E as u,p as f,c as g,m as b,f as v,g as C,b as x,A as m,d as H,T as w}from"./p-03e84ad1.js";import{c as L,s as V,S as y,f as M,a as k}from"./p-55c453ab.js";import{i as Z,r as _,v as z,c as I,a as S,b as j,d as T,e as P,f as E,g as B,h as A,j as O}from"./p-9447314b.js";import{P as F}from"./p-2da7f425.js";import{v as R}from"./p-626495b2.js";const D=()=>t("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M7.5 22C6.95 22 6.47917 21.8042 6.0875 21.4125C5.69583 21.0208 5.5 20.55 5.5 20C5.5 19.45 5.69583 18.9792 6.0875 18.5875C6.47917 18.1958 6.95 18 7.5 18C8.05 18 8.52083 18.1958 8.9125 18.5875C9.30417 18.9792 9.5 19.45 9.5 20C9.5 20.55 9.30417 21.0208 8.9125 21.4125C8.52083 21.8042 8.05 22 7.5 22ZM17.5 22C16.95 22 16.4792 21.8042 16.0875 21.4125C15.6958 21.0208 15.5 20.55 15.5 20C15.5 19.45 15.6958 18.9792 16.0875 18.5875C16.4792 18.1958 16.95 18 17.5 18C18.05 18 18.5208 18.1958 18.9125 18.5875C19.3042 18.9792 19.5 19.45 19.5 20C19.5 20.55 19.3042 21.0208 18.9125 21.4125C18.5208 21.8042 18.05 22 17.5 22ZM6.65 6L9.05 11H16.05L18.8 6H6.65ZM5.7 4H20.45C20.8333 4 21.125 4.17083 21.325 4.5125C21.525 4.85417 21.5333 5.2 21.35 5.55L17.8 11.95C17.6167 12.2833 17.3708 12.5417 17.0625 12.725C16.7542 12.9083 16.4167 13 16.05 13H8.6L7.5 15H18.5C18.7833 15 19.0208 15.0958 19.2125 15.2875C19.4042 15.4792 19.5 15.7167 19.5 16C19.5 16.2833 19.4042 16.5208 19.2125 16.7125C19.0208 16.9042 18.7833 17 18.5 17H7.5C6.75 17 6.18333 16.6708 5.8 16.0125C5.41667 15.3542 5.4 14.7 5.75 14.05L7.1 11.6L3.5 4H2.5C2.21667 4 1.97917 3.90417 1.7875 3.7125C1.59583 3.52083 1.5 3.28333 1.5 3C1.5 2.71667 1.59583 2.47917 1.7875 2.2875C1.97917 2.09583 2.21667 2 2.5 2H4.125C4.30833 2 4.48333 2.05 4.65 2.15C4.81667 2.25 4.94167 2.39167 5.025 2.575L5.7 4Z",fill:"#525252"})),W=()=>t("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M11.1 13.8L8.95 11.65C8.76667 11.4667 8.53333 11.375 8.25 11.375C7.96667 11.375 7.73333 11.4667 7.55 11.65C7.36667 11.8333 7.275 12.0667 7.275 12.35C7.275 12.6333 7.36667 12.8667 7.55 13.05L10.4 15.9C10.6 16.1 10.8333 16.2 11.1 16.2C11.3667 16.2 11.6 16.1 11.8 15.9L17.45 10.25C17.6333 10.0667 17.725 9.83333 17.725 9.55C17.725 9.26667 17.6333 9.03333 17.45 8.85C17.2667 8.66667 17.0333 8.575 16.75 8.575C16.4667 8.575 16.2333 8.66667 16.05 8.85L11.1 13.8ZM12.5 22C11.1167 22 9.81667 21.7375 8.6 21.2125C7.38333 20.6875 6.325 19.975 5.425 19.075C4.525 18.175 3.8125 17.1167 3.2875 15.9C2.7625 14.6833 2.5 13.3833 2.5 12C2.5 10.6167 2.7625 9.31667 3.2875 8.1C3.8125 6.88333 4.525 5.825 5.425 4.925C6.325 4.025 7.38333 3.3125 8.6 2.7875C9.81667 2.2625 11.1167 2 12.5 2C13.8833 2 15.1833 2.2625 16.4 2.7875C17.6167 3.3125 18.675 4.025 19.575 4.925C20.475 5.825 21.1875 6.88333 21.7125 8.1C22.2375 9.31667 22.5 10.6167 22.5 12C22.5 13.3833 22.2375 14.6833 21.7125 15.9C21.1875 17.1167 20.475 18.175 19.575 19.075C18.675 19.975 17.6167 20.6875 16.4 21.2125C15.1833 21.7375 13.8833 22 12.5 22ZM12.5 20C14.7333 20 16.625 19.225 18.175 17.675C19.725 16.125 20.5 14.2333 20.5 12C20.5 9.76667 19.725 7.875 18.175 6.325C16.625 4.775 14.7333 4 12.5 4C10.2667 4 8.375 4.775 6.825 6.325C5.275 7.875 4.5 9.76667 4.5 12C4.5 14.2333 5.275 16.125 6.825 17.675C8.375 19.225 10.2667 20 12.5 20Z",fill:"#0FC373"})),N=()=>t("svg",{width:"9",height:"16",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"m9 8-7.895 8L0 14.88 6.79 8 0 1.12 1.105 0 9 8Z"})),$=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M23.5998 4.57C20.3898 4.19 19.8798 3.68 19.4198 0.37C19.3798 0.15 19.2198 0 19.0098 0C18.7998 0 18.6298 0.15 18.5898 0.37C18.1198 3.66 17.6298 4.13 14.4098 4.57C14.1698 4.61 14.0098 4.77 14.0098 5C14.0098 5.23 14.1698 5.39 14.4098 5.42C17.6298 5.81 18.1398 6.31 18.5898 9.62C18.6298 9.84 18.7998 10 19.0098 10C19.2198 10 19.3898 9.84 19.4198 9.62C19.8898 6.31 20.3898 5.81 23.5998 5.42C23.8398 5.38 23.9998 5.22 23.9998 5C23.9998 4.78 23.8298 4.6 23.5998 4.57Z",fill:"currentColor"}),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.93 13C19.43 13 19.01 13.37 18.95 13.86C18.52 17.36 15.51 20.06 11.89 20C8.24 19.94 5.15 16.92 5.01 13.27C4.92 10.79 6.13 8.58 8.01 7.27V11C8.01 11.55 8.46 12 9.01 12C9.56 12 10.01 11.55 10.01 11V5C10.01 4.45 9.56 4 9.01 4H3C2.45 4 2 4.45 2 5C2 5.55 2.45 6 3 6H6.35C4.24 7.71 2.91 10.35 3 13.3C3.15 17.98 7.06 21.87 11.74 22C16.45 22.13 20.37 18.65 20.93 14.13C21 13.53 20.53 13.01 19.93 13.01V13Z",fill:"currentColor"})),J=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t("path",{d:"M12 21C11.7167 21 11.4792 20.9042 11.2875 20.7125C11.0958 20.5208 11 20.2833 11 20V16C11 15.7167 11.0958 15.4792 11.2875 15.2875C11.4792 15.0958 11.7167 15 12 15C12.2833 15 12.5208 15.0958 12.7125 15.2875C12.9042 15.4792 13 15.7167 13 16V17H20C20.2833 17 20.5208 17.0958 20.7125 17.2875C20.9042 17.4792 21 17.7167 21 18C21 18.2833 20.9042 18.5208 20.7125 18.7125C20.5208 18.9042 20.2833 19 20 19H13V20C13 20.2833 12.9042 20.5208 12.7125 20.7125C12.5208 20.9042 12.2833 21 12 21ZM4 19C3.71667 19 3.47917 18.9042 3.2875 18.7125C3.09583 18.5208 3 18.2833 3 18C3 17.7167 3.09583 17.4792 3.2875 17.2875C3.47917 17.0958 3.71667 17 4 17H8C8.28333 17 8.52083 17.0958 8.7125 17.2875C8.90417 17.4792 9 17.7167 9 18C9 18.2833 8.90417 18.5208 8.7125 18.7125C8.52083 18.9042 8.28333 19 8 19H4ZM8 15C7.71667 15 7.47917 14.9042 7.2875 14.7125C7.09583 14.5208 7 14.2833 7 14V13H4C3.71667 13 3.47917 12.9042 3.2875 12.7125C3.09583 12.5208 3 12.2833 3 12C3 11.7167 3.09583 11.4792 3.2875 11.2875C3.47917 11.0958 3.71667 11 4 11H7V10C7 9.71667 7.09583 9.47917 7.2875 9.2875C7.47917 9.09583 7.71667 9 8 9C8.28333 9 8.52083 9.09583 8.7125 9.2875C8.90417 9.47917 9 9.71667 9 10V14C9 14.2833 8.90417 14.5208 8.7125 14.7125C8.52083 14.9042 8.28333 15 8 15ZM12 13C11.7167 13 11.4792 12.9042 11.2875 12.7125C11.0958 12.5208 11 12.2833 11 12C11 11.7167 11.0958 11.4792 11.2875 11.2875C11.4792 11.0958 11.7167 11 12 11H20C20.2833 11 20.5208 11.0958 20.7125 11.2875C20.9042 11.4792 21 11.7167 21 12C21 12.2833 20.9042 12.5208 20.7125 12.7125C20.5208 12.9042 20.2833 13 20 13H12ZM16 9C15.7167 9 15.4792 8.90417 15.2875 8.7125C15.0958 8.52083 15 8.28333 15 8V4C15 3.71667 15.0958 3.47917 15.2875 3.2875C15.4792 3.09583 15.7167 3 16 3C16.2833 3 16.5208 3.09583 16.7125 3.2875C16.9042 3.47917 17 3.71667 17 4V5H20C20.2833 5 20.5208 5.09583 20.7125 5.2875C20.9042 5.47917 21 5.71667 21 6C21 6.28333 20.9042 6.52083 20.7125 6.7125C20.5208 6.90417 20.2833 7 20 7H17V8C17 8.28333 16.9042 8.52083 16.7125 8.7125C16.5208 8.90417 16.2833 9 16 9ZM4 7C3.71667 7 3.47917 6.90417 3.2875 6.7125C3.09583 6.52083 3 6.28333 3 6C3 5.71667 3.09583 5.47917 3.2875 5.2875C3.47917 5.09583 3.71667 5 4 5H12C12.2833 5 12.5208 5.09583 12.7125 5.2875C12.9042 5.47917 13 5.71667 13 6C13 6.28333 12.9042 6.52083 12.7125 6.7125C12.5208 6.90417 12.2833 7 12 7H4Z",fill:"#161616"})),G=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},t("g",{"clip-path":"url(#clip0_1696_811)"},t("path",{d:"M24 9.4L22.6 8L16 14.6L9.4 8L8 9.4L14.6 16L8 22.6L9.4 24L16 17.4L22.6 24L24 22.6L17.4 16L24 9.4Z",fill:"#C6C6C6"})),t("defs",null,t("clipPath",{id:"clip0_1696_811"},t("rect",{width:"32",height:"32",fill:"white"})))),U=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.42 1.37C18.88 4.68 19.39 5.19 22.6 5.57C22.83 5.6 23 5.78 23 6C23 6.22 22.84 6.38 22.6 6.42C19.39 6.81 18.89 7.31 18.42 10.62C18.39 10.84 18.22 11 18.01 11C17.8 11 17.63 10.84 17.59 10.62C17.14 7.31 16.63 6.81 13.41 6.42C13.17 6.39 13.01 6.23 13.01 6C13.01 5.77 13.17 5.61 13.41 5.57C16.63 5.13 17.12 4.66 17.59 1.37C17.63 1.15 17.8 1 18.01 1C18.22 1 18.38 1.15 18.42 1.37ZM10.57 22.47C10.51 22.78 10.3 23 10 23C9.7 23 9.49 22.78 9.44 22.47C8.58 16.21 7.73 15.37 1.55 14.56C1.22 14.53 1 14.29 1 13.99C1 13.69 1.22 13.46 1.55 13.43C7.74 12.74 8.63 11.78 9.44 5.51C9.49 5.21 9.7 5 10 5C10.3 5 10.51 5.2 10.57 5.51C11.38 11.78 12.26 12.74 18.46 13.43C18.78 13.46 19 13.68 19 13.99C19 14.3 18.78 14.53 18.46 14.56C12.26 15.25 11.38 16.21 10.57 22.47Z",fill:"#8D8D8D"})),q=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t("rect",{x:"2",y:"2",width:"20",height:"20",rx:"4",fill:"white"}),t("path",{d:"M10.8765 13.5061L16.1943 8.30769C16.4041 8.10256 16.6526 8 16.9398 8C17.2269 8 17.4754 8.10256 17.6852 8.30769C17.8951 8.51282 18 8.75574 18 9.03644C18 9.31714 17.8951 9.56005 17.6852 9.76518L11.622 15.6923C11.4121 15.8974 11.1637 16 10.8765 16C10.5894 16 10.3409 15.8974 10.131 15.6923L7.31476 12.9393C7.10492 12.7341 7 12.4912 7 12.2105C7 11.9298 7.10492 11.6869 7.31476 11.4818C7.5246 11.2767 7.77309 11.1741 8.06024 11.1741C8.34739 11.1741 8.59588 11.2767 8.80572 11.4818L10.8765 13.5061Z",fill:"#161616"})),K=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t("path",{d:"M12 13.4L7.09999 18.3C6.91665 18.4834 6.68332 18.575 6.39999 18.575C6.11665 18.575 5.88332 18.4834 5.69999 18.3C5.51665 18.1167 5.42499 17.8834 5.42499 17.6C5.42499 17.3167 5.51665 17.0834 5.69999 16.9L10.6 12L5.69999 7.10005C5.51665 6.91672 5.42499 6.68338 5.42499 6.40005C5.42499 6.11672 5.51665 5.88338 5.69999 5.70005C5.88332 5.51672 6.11665 5.42505 6.39999 5.42505C6.68332 5.42505 6.91665 5.51672 7.09999 5.70005L12 10.6L16.9 5.70005C17.0833 5.51672 17.3167 5.42505 17.6 5.42505C17.8833 5.42505 18.1167 5.51672 18.3 5.70005C18.4833 5.88338 18.575 6.11672 18.575 6.40005C18.575 6.68338 18.4833 6.91672 18.3 7.10005L13.4 12L18.3 16.9C18.4833 17.0834 18.575 17.3167 18.575 17.6C18.575 17.8834 18.4833 18.1167 18.3 18.3C18.1167 18.4834 17.8833 18.575 17.6 18.575C17.3167 18.575 17.0833 18.4834 16.9 18.3L12 13.4Z",fill:"#8D8D8D"})),Q=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t("rect",{x:"3",y:"3",width:"18",height:"18",rx:"3",fill:"white",stroke:"#E0E0E0","stroke-width":"2"})),X="--vviinn-carousel-image-width",Y="items-group";function tt(t,e,i){return function(r){for(var o=Array(i.length+1),s=0;s<i.length;s++)o[s]=i[s];return o[i.length]=r,0===e?t.apply(null,o):tt(t,e-1,o)}}Object.assign(Object.assign({},{concat:(t,e)=>t/e}),{empty:1});var et={1:function(t){return[t]},2:function(t){return function(e){return[t,e]}},3:function(t){return function(e){return function(i){return[t,e,i]}}},4:function(t){return function(e){return function(i){return function(r){return[t,e,i,r]}}}},5:function(t){return function(e){return function(i){return function(r){return function(o){return[t,e,i,r,o]}}}}}};function it(t){return n.call(et,t)||(et[t]=tt(l,t-1,[])),et[t]}const rt=class{constructor(t){e(this,t),this.vviinnProductLoad=i(this,"vviinnProductLoad",7),this.vviinnProductView=i(this,"vviinnProductView",7),this.columns=0,this.resizeObserver=new ResizeObserver((()=>this.handleResize())),this.defaultAnimationInterval=2e3,this.setModeMaxDiscount=null,this.mutationObserver=new MutationObserver((()=>this.cloneSlottedContent())),this.handleWindowResize=()=>this.setImageWidthSetMode("100%"),this.isLastGroup=()=>this.isGridMode&&this.activeContentGroup===this.getContentGroups().length-1,this.isFirstGroup=()=>this.isGridMode&&0===this.activeContentGroup,this.updateCard=(t,e,i)=>{let r=this.crossSellingRecommendations.find((e=>e.productId===t));const o=this.crossSellingRecommendations.indexOf(r),s=this.recommendations.indexOf(r),n=this.crossSellingRecommendations;if(s+e<this.recommendations.length){const r=this.recommendations[s+e];n[o]=r;const l=this.getProductData(r,s+e);this.vviinnProductLoad.emit(l),this.crossSellingRecommendations=[...n];let a=this.el.querySelector(`[data-id="${t}"]`);const d=a.shadowRoot.querySelector(".update-button");null==d||d.classList.add("hidden");const c=a.getBoundingClientRect().width;this.setImageWidthSetMode(`${c}px`);const h=setTimeout((()=>{s+2*e<=this.recommendations.length-1&&(null==d||d.classList.remove("hidden")),this.vviinnProductView.emit(l),clearTimeout(h)}),i)}},this.moveDirection="right",this.contentGroups=[],this.activeContentGroup=0,this.isRTL=!1,this.crossSellingRecommendations=[],this.setModeDiscount=null,this.currentDiscountIndex=0,this.setModeAppliedDiscounts={},this.mode="continuity",this.imageWidth=140,this.showScroll=!0,this.campaignTypeId=void 0,this.widgetElementId=void 0,this.gridArrowsDynamic=void 0,this.recommendations=[],this.widgetVersion=void 0,this.addToBasketShow=void 0,this.updatingAllCards=void 0,this.updateButtonLocation=void 0,this.replaceSlotsContent=void 0,this.setModeDiscountsArray=void 0,this.imageRatio=void 0,this.currencySign=void 0,this.pricePrefix="",this.locale=void 0}getProductData(t,e){return{productId:t.productId,productRank:e,productName:t.productTitle,productType:t.productType,widgetType:"VPR",campaignTypeId:this.campaignTypeId,campaignTypeName:L[this.campaignTypeId],widgetId:this.widgetElementId,widgetVersion:this.widgetVersion}}componentWillLoad(){this.isRTL="rtl"===document.dir}connectedCallback(){this.setItemWidth(),this.isSetMode="set"===this.mode,this.isGridMode="grid"===this.mode,this.isContinuityMode="continuity"===this.mode;const t=this.getColumnsNumber();this.isSetMode&&(window.addEventListener("resize",this.handleWindowResize),this.sourceProduct=a.sourceProduct,this.setModeDiscount=this.setModeDiscountsArray[0],this.setModeMaxDiscount=this.setModeDiscountsArray[this.setModeDiscountsArray.length-1]),this.isSetMode&&this.recommendations.length>=t&&(this.crossSellingRecommendations=this.recommendations.slice(0,t))}disconnectedCallback(){this.resizeObserver.disconnect(),window.removeEventListener("resize",this.handleWindowResize)}componentDidUpdate(){this.replaceSlotsContent()}componentDidLoad(){this.setWidth(),this.columns=this.getColumnsNumber();const t=this.el.querySelector(".content");this.mutationObserver.observe(t,{subtree:!0,childList:!0}),this.resizeObserver.observe(this.getHostParent()),this.isGridMode&&this.getContentNode().addEventListener("scrollend",(()=>{this.activeContentGroup=this.getActiveGroupIndex()}))}updatingAllCardsWatcher(){if(!this.updatingAllCards)return;const t=this.getColumnsNumber();this.crossSellingRecommendations.forEach((e=>{this.updateCard(e.productId,t,this.defaultAnimationInterval)}))}crossSellingClickListener({detail:t}){const e=this.getColumnsNumber(),{animationInterval:i,productData:r}=t;this.updateCard(r.productId,e,i)}getItemWidthFromDocument(){return parseInt(getComputedStyle(document.body).getPropertyValue(X))}async trackAddToBasket({detail:t}){if(!this.isSetMode)return;const{productId:e}=t;this.setModeAppliedDiscounts.hasOwnProperty(e)||(this.setModeAppliedDiscounts=Object.assign(Object.assign({},this.setModeAppliedDiscounts),{[e]:this.setModeDiscount}),this.setModeDiscount===this.setModeMaxDiscount||(this.currentDiscountIndex+=1,this.setModeDiscount=this.setModeDiscountsArray[this.currentDiscountIndex]))}setItemWidth(){const t=this.getItemWidthFromDocument(),e=isNaN(t)?this.imageWidth:t;this.el.style.setProperty(X,`${e}px`)}setImageWidthSetMode(t){this.el.style.setProperty("--vviinn-set-mode-image-width",t)}getContentClassMap(){return{content:!0,[this.moveDirection]:!0,[this.mode]:!0,"show-scrollbar":!this.isSetMode&&this.showScroll}}handleResize(){this.setWidth(),this.setItemWidth();const t=this.getColumnsNumber();t!==this.columns&&(this.columns=t)}calculateMoveStep(){const t=this.getContent().map((t=>t.getBoundingClientRect().width)),e=t.reduce(((t,e)=>t+e),0),i=d.pipe(window.getComputedStyle(this.getContentNode()),(t=>t.getPropertyValue("gap")),(t=>parseInt(t.split("px")[0])),(t=>isNaN(t)?0:t));return e/t.length+i}getHostParent(){return this.el.parentNode.host.parentElement}setWidth(){const t=this.getHostParent();if(!t)return;const e=getComputedStyle(t),i=t.getBoundingClientRect().width-(parseInt(e["padding-right"])+parseInt(e["padding-left"]));this.el.style.setProperty("--vviinn-carousel-content-width",`${i}px`)}getParent(){return this.el.parentNode.host.parentElement}cloneSlottedContent(){this.setWidth()}getActiveGroupIndex(){const t=this.getContentGroups().map((t=>t.getBoundingClientRect().left)).map(((t,e)=>[t,e])).filter((t=>t[0]>=0));return t.length>0?this.isRTL?t[t.length-1][1]:t[0][1]:0}getContentNode(){return this.el.querySelector(".content")}getContent(){const t=this.getContentNode().children;return Array.from(t).map((t=>t))}getColumnsNumber(){const t=getComputedStyle(this.el).getPropertyValue("--vviinn-carousel-columns-internal"),e=parseInt(t);return e&&!isNaN(e)?e:4}getContentGroups(){return Array.from(this.el.querySelectorAll(`.${Y}`))}handleCarouselButtonClick(t){this.moveDirection=t;const e=this.getContentNode(),{scrollLeft:i}=e,r=this.calculateMoveStep();requestAnimationFrame((()=>{e.scrollTo({top:0,left:"right"===t?i+r:i-r,behavior:"smooth"})}))}scroll(t){const e=this.getContentNode();requestAnimationFrame((()=>{e.scrollTo({top:0,left:this.calculateMoveStep()*t,behavior:"smooth"})}))}showBullets(){return this.isGridMode&&this.showScroll}showScrollbar(){return this.isContinuityMode&&this.showScroll}getClassMap(){return{[this.mode]:!0,"show-scrollbar":this.showScrollbar()}}renderRecommendation(e,i){var r;const o=this.setModeAppliedDiscounts[e.productId],s=(n=null===(r=e.price)||void 0===r?void 0:r.actual,Math.round(n*(1-(null!=o?o:this.setModeDiscount)/100)*100)/100);var n;return t("vviinn-product-card",{part:"product-part",productId:e.productId,productTitle:e.title,productType:e.productType,deeplink:e.deeplink,image:e.image.thumbnail,brand:e.brand,imageWidth:this.imageWidth,imageRatio:this.imageRatio,price:e.price.actual,salePrice:this.isSetMode?s:e.price.sale,responsive:this.isGridMode,dimmedBackground:this.isContinuityMode||this.isSetMode,campaignTypeId:this.campaignTypeId,index:i,widgetElementId:this.widgetElementId,widgetVersion:this.widgetVersion,basketButtonShow:this.addToBasketShow,mode:this.mode,"data-id":e.productId,energyEfficiencyClass:e.energyEfficiencyClass,minEnergyEfficiencyClass:e.minEnergyEfficiencyClass,maxEnergyEfficiencyClass:e.maxEnergyEfficiencyClass,updatingAllCards:this.updatingAllCards,defaultAnimationInterval:this.defaultAnimationInterval,updateButtonLocation:this.updateButtonLocation,appliedDiscountPercentage:o,currentDiscountPercentage:this.setModeDiscount,currency:this.currencySign,pricePrefix:this.pricePrefix,locale:this.locale})}renderRecommendationGroup(e){return t("div",{class:Y,part:"items-group"},...e)}renderRecommendationGroups(t){return t.map((t=>this.renderRecommendationGroup(t)))}renderRecommendations(){return this.isGridMode?this.renderGrid():this.renderRecommendationsElements()}renderRecommendationsElements(){return(this.isSetMode?this.crossSellingRecommendations:this.recommendations).map(((t,e)=>this.renderRecommendation(t,e)))}renderGrid(){const t=this.renderRecommendationsElements(),e=c.chunksOf(this.getColumnsNumber())(t);return this.renderRecommendationGroups(e)}renderBullets(){const e=Math.ceil(this.recommendations.length/this.getColumnsNumber());return Array.from(Array(e).keys()).map((e=>t("div",{class:{bullet:!0,active:this.activeContentGroup===e},onClick:()=>this.scroll(e)})))}render(){return t(r,{class:this.getClassMap()},t("div",{class:Object.assign({body:!0},this.getClassMap())},!this.isSetMode&&t("button",{class:"prev",onClick:()=>this.handleCarouselButtonClick("left"),part:"carousel-button",disabled:this.gridArrowsDynamic&&this.isFirstGroup()},t(N,null)),this.isSetMode&&t("vviinn-product-card",{part:"product-part",class:"set-mode product-card--source",productTitle:this.sourceProduct.title,image:this.sourceProduct.image.thumbnail,price:this.sourceProduct.price.actual,imageRatio:1,imageWidth:300,dimmedBackground:!0,isSourceProduct:!0,currency:this.currencySign,pricePrefix:this.pricePrefix,locale:this.locale}),t("div",{class:this.getContentClassMap()},this.renderRecommendations()),!this.isSetMode&&t("button",{class:"next",onClick:()=>this.handleCarouselButtonClick("right"),part:"carousel-button",disabled:this.gridArrowsDynamic&&this.isLastGroup()},t(N,null))),this.showBullets()&&t("div",{class:"bullets"},this.renderBullets()))}get el(){return o(this)}static get watchers(){return{updatingAllCards:["updatingAllCardsWatcher"]}}};rt.style=":host{--vviinn-carousel-columns-internal:var(--vviinn-carousel-columns, 4)}.body{display:flex;position:relative;width:var(--vviinn-carousel-content-width);flex-direction:column}.bullets{display:flex;flex-direction:row;grid-gap:24px;justify-content:center}.bullet{width:10px;height:10px;background:#e0e0e0;border-radius:50%;cursor:pointer}.bullet.active{background:#161616}.content:not(.show-scrollbar),.content.grid{scrollbar-color:#fff0 #fff0}.content:not(.show-scrollbar)::-webkit-scrollbar,.content.grid::-webkit-scrollbar{opacity:0}.content{display:flex;flex-direction:row;gap:8px;overflow-y:hidden;overflow-x:auto;flex-grow:1;padding-bottom:16px}.content.left>*{scroll-snap-align:start}.content.right>*{scroll-snap-align:end}:host(.continuity) .prev,:host(.continuity) .next{border-radius:2px}:host(.grid) .prev,:host(.grid) .next{border-radius:50%}.prev,.next{align-items:center;background-color:white;border:none;box-shadow:0px 2px 6px rgba(0, 0, 0, 0.15);fill:#525252;cursor:pointer;display:grid;height:40px;justify-items:center;position:absolute;top:calc(50% - 20px);width:40px;z-index:1;padding:0;margin:0}.next:disabled,.prev:disabled{display:none}.prev svg{transform:rotate(180deg);margin-left:-5px}.prev{left:0}.next{right:0}.items-group{display:grid;grid-gap:16px;grid-template-columns:repeat(var(--vviinn-carousel-columns-internal), 1fr);min-width:100%}vviinn-product-card::part(price-container){text-align:center}@media (max-width: 480px){.items-group{grid-template-columns:repeat(2, 1fr)}}.body.set{max-width:100%;justify-content:space-between;margin-left:auto;display:flex;flex-direction:row;gap:112px}.body.set::-webkit-scrollbar{display:none}@media (max-width: 768px){.body.set{gap:40px}}.content.set{grid-gap:20px;height:-moz-fit-content;height:fit-content;max-width:-moz-fit-content;max-width:fit-content;overflow:unset}";const ot=()=>t("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1635_2685",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z",fill:"#00A651"}),t("path",{d:"M0 0V-1H-1V0H0ZM49 0L49.8 -0.6L49.5 -1H49V0ZM0 40H-1V41H0V40ZM49 40V41H49.5L49.8 40.6L49 40ZM64 20L64.8 20.6L65.25 20L64.8 19.4L64 20ZM0 1H49V-1H0V1ZM1 40V0H-1V40H1ZM49 39H0V41H49V39ZM63.2 19.4L48.2 39.4L49.8 40.6L64.8 20.6L63.2 19.4ZM48.2 0.6L63.2 20.6L64.8 19.4L49.8 -0.6L48.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1635_2685)"}),t("g",{"clip-path":"url(#clip0_1635_2685)"},t("path",{d:"M38.91 28.5003L37.44 24.2827H31.86L30.43 28.5003H26.71L32.76 11.4998H36.47L42.63 28.5003H38.91ZM36.37 21.2343L35.68 19.2554C35.46 18.6058 35.23 17.8662 34.97 17.0167C34.85 16.6269 34.73 16.2171 34.6 15.7674C34.47 16.2271 34.35 16.6569 34.23 17.0467C33.98 17.8962 33.76 18.6358 33.55 19.2455L32.88 21.2343H36.36H36.37Z",fill:"white"}),t("path",{d:"M36.12 11.9994L41.92 28.0006H39.27L37.8 23.7829H31.51L30.08 28.0006H27.42L33.11 11.9994H36.12ZM32.2 21.734H37.08L36.16 19.0955C35.95 18.4559 35.71 17.7163 35.46 16.8767C35.21 16.0372 34.93 15.0478 34.61 13.9184C34.29 15.0677 34.01 16.0572 33.77 16.9067C33.52 17.7562 33.3 18.4858 33.1 19.0955L32.21 21.734M36.82 11H32.41L32.17 11.6596L26.47 27.6607L26 29H30.79L31.02 28.3204L32.22 24.7823H37.09L38.33 28.3304L38.56 29H43.35L42.86 27.6607L37.06 11.6596L36.82 11ZM33.59 20.7346L34.04 19.4153C34.22 18.8756 34.41 18.256 34.62 17.5564C34.83 18.246 35.03 18.8656 35.21 19.4153L35.67 20.7346H33.59Z",fill:"black"})),t("rect",{width:"12",height:"38",transform:"translate(1 1)",fill:"white"}),t("path",{d:"M7.01141 36C6.08745 36 5.35742 35.7444 4.80989 35.2444C4.26236 34.7444 4 34.0556 4 33.1667V28.8111C4 27.9444 4.27377 27.2556 4.80989 26.7556C5.35742 26.2556 6.08745 26 7.01141 26C7.93536 26 8.65399 26.2556 9.19011 26.7556C9.73764 27.2667 10 27.9444 10 28.8111H8.64259C8.64259 28.2889 8.4943 27.8778 8.20913 27.6C7.91255 27.3111 7.51331 27.1778 7 27.1778C6.48669 27.1778 6.07605 27.3222 5.77947 27.6C5.48289 27.8889 5.34601 28.2889 5.34601 28.8111V33.1667C5.34601 33.7 5.4943 34.1111 5.77947 34.3889C6.06464 34.6667 6.47529 34.8111 7 34.8111C7.52472 34.8111 7.91255 34.6667 8.20913 34.3889C8.5057 34.1 8.64259 33.7 8.64259 33.1667V31.9H6.70342V30.7222H10V33.1667C10 34.0333 9.72624 34.7222 9.19011 35.2333C8.65399 35.7444 7.92396 35.9889 7.01141 35.9889V36Z",fill:"#161616"}),t("path",{d:"M7 18L4 22H10L7 18Z",fill:"#161616"}),t("path",{d:"M3.5 14L6.10492 4H7.90656L10.5 14H9.11148L8.48033 11.3973H5.51967L4.88852 14H3.5ZM5.79508 10.2785H8.19344L7.48197 7.28767C7.34426 6.73973 7.22951 6.27169 7.14918 5.89498C7.06885 5.50685 7.01148 5.25571 7 5.11872C6.97705 5.25571 6.93115 5.51826 6.85082 5.89498C6.77049 6.2831 6.66721 6.73973 6.52951 7.27626L5.79508 10.2785Z",fill:"#161616"}),t("defs",null,t("clipPath",{id:"clip0_1635_2685"},t("rect",{width:"18",height:"18",fill:"white",transform:"translate(26 11)"})))),st=()=>t("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1635_3714",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z",fill:"#4DB848"}),t("path",{d:"M0 0V-1H-1V0H0ZM49 0L49.8 -0.6L49.5 -1H49V0ZM0 40H-1V41H0V40ZM49 40V41H49.5L49.8 40.6L49 40ZM64 20L64.8 20.6L65.25 20L64.8 19.4L64 20ZM0 1H49V-1H0V1ZM1 40V0H-1V40H1ZM49 39H0V41H49V39ZM63.2 19.4L48.2 39.4L49.8 40.6L64.8 20.6L63.2 19.4ZM48.2 0.6L63.2 20.6L64.8 19.4L49.8 -0.6L48.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1635_3714)"}),t("path",{d:"M27.5 28.5003V11.4998H33.9C35.1 11.4998 36.13 11.7096 36.94 12.1094C37.77 12.5292 38.4 13.0989 38.82 13.8185C39.23 14.5281 39.44 15.3276 39.44 16.1971C39.44 17.3265 39.12 18.226 38.5 18.8557C38.22 19.1355 37.91 19.3754 37.58 19.5753C37.74 19.6452 37.9 19.7352 38.06 19.8351C38.64 20.1849 39.12 20.6946 39.49 21.3443C39.87 21.9939 40.06 22.7835 40.06 23.683C40.06 24.5825 39.84 25.422 39.42 26.1516C38.99 26.8912 38.32 27.4709 37.43 27.8906C36.57 28.3004 35.47 28.5003 34.16 28.5003H27.5ZM33.91 25.392C34.93 25.392 35.65 25.2121 36.05 24.8523C36.44 24.5025 36.63 24.0828 36.63 23.5631C36.63 22.9434 36.4 22.4337 35.94 21.9839C35.47 21.5342 34.84 21.3143 34 21.3143H30.94V25.392H33.9H33.91ZM33.66 18.4259C34.36 18.4259 34.92 18.236 35.38 17.8562C35.82 17.4964 36.03 17.0167 36.03 16.407C36.03 15.8873 35.85 15.4676 35.49 15.1177C35.13 14.7679 34.53 14.598 33.72 14.598H30.94V18.4259H33.65H33.66Z",fill:"white"}),t("path",{d:"M33.9 11.9994C35.03 11.9994 35.97 12.1893 36.71 12.5591C37.45 12.9289 38.01 13.4386 38.38 14.0683C38.75 14.6979 38.93 15.4076 38.93 16.1971C38.93 17.1966 38.66 17.9661 38.14 18.4958C37.61 19.0255 36.97 19.3853 36.23 19.5752V19.7351C36.77 19.7651 37.29 19.935 37.8 20.2449C38.31 20.5547 38.73 21.0044 39.06 21.5841C39.39 22.1638 39.56 22.8634 39.56 23.673C39.56 24.4825 39.37 25.2321 38.99 25.8817C38.61 26.5314 38.02 27.0511 37.22 27.4209C36.42 27.8007 35.4 27.9806 34.16 27.9806H28V11.9994H33.9ZM30.45 18.9256H33.66C34.47 18.9256 35.15 18.6957 35.7 18.236C36.25 17.7762 36.53 17.1666 36.53 16.397C36.53 15.7374 36.3 15.1877 35.84 14.7479C35.38 14.3082 34.67 14.0883 33.73 14.0883H30.45V18.9156M30.45 25.8917H33.91C35.06 25.8917 35.89 25.6718 36.39 25.2221C36.89 24.7823 37.14 24.2227 37.14 23.553C37.14 22.8034 36.86 22.1538 36.3 21.6141C35.74 21.0744 34.98 20.8046 34.02 20.8046H30.46V25.8817M33.9 11H27V29H34.16C35.54 29 36.71 28.7801 37.64 28.3404C38.62 27.8806 39.36 27.231 39.85 26.4014C40.32 25.6019 40.56 24.6824 40.56 23.683C40.56 22.6835 40.35 21.824 39.93 21.0944C39.55 20.4448 39.08 19.915 38.51 19.5253C38.63 19.4253 38.74 19.3254 38.85 19.2054C39.57 18.4858 39.94 17.4664 39.94 16.1971C39.94 15.2376 39.71 14.3481 39.25 13.5586C38.78 12.759 38.08 12.1194 37.16 11.6596C36.28 11.2199 35.18 11 33.9 11ZM31.45 15.0877H33.73C34.19 15.0877 34.82 15.1577 35.15 15.4675C35.41 15.7174 35.53 16.0072 35.53 16.397C35.53 16.8667 35.39 17.1966 35.06 17.4664C34.69 17.7762 34.23 17.9262 33.66 17.9262H31.45V15.0977V15.0877ZM31.45 21.814H34.01C34.71 21.814 35.23 21.9839 35.6 22.3437C35.97 22.6935 36.14 23.0833 36.14 23.563C36.14 23.9428 36.01 24.2227 35.73 24.4825C35.56 24.6324 35.09 24.8923 33.92 24.8923H31.46V21.814H31.45Z",fill:"#161616"}),t("rect",{width:"12",height:"38",transform:"translate(1 1)",fill:"white"}),t("path",{d:"M7.01141 36C6.08745 36 5.35742 35.7444 4.80989 35.2444C4.26236 34.7444 4 34.0556 4 33.1667V28.8111C4 27.9444 4.27377 27.2556 4.80989 26.7556C5.35742 26.2556 6.08745 26 7.01141 26C7.93536 26 8.65399 26.2556 9.19011 26.7556C9.73764 27.2667 10 27.9444 10 28.8111H8.64259C8.64259 28.2889 8.4943 27.8778 8.20913 27.6C7.91255 27.3111 7.51331 27.1778 7 27.1778C6.48669 27.1778 6.07605 27.3222 5.77947 27.6C5.48289 27.8889 5.34601 28.2889 5.34601 28.8111V33.1667C5.34601 33.7 5.4943 34.1111 5.77947 34.3889C6.06464 34.6667 6.47529 34.8111 7 34.8111C7.52472 34.8111 7.91255 34.6667 8.20913 34.3889C8.5057 34.1 8.64259 33.7 8.64259 33.1667V31.9H6.70342V30.7222H10V33.1667C10 34.0333 9.72624 34.7222 9.19011 35.2333C8.65399 35.7444 7.92396 35.9889 7.01141 35.9889V36Z",fill:"#161616"}),t("path",{d:"M7 18L4 22H10L7 18Z",fill:"#161616"}),t("path",{d:"M3.5 14L6.10492 4H7.90656L10.5 14H9.11148L8.48033 11.3973H5.51967L4.88852 14H3.5ZM5.79508 10.2785H8.19344L7.48197 7.28767C7.34426 6.73973 7.22951 6.27169 7.14918 5.89498C7.06885 5.50685 7.01148 5.25571 7 5.11872C6.97705 5.25571 6.93115 5.51826 6.85082 5.89498C6.77049 6.2831 6.66721 6.73973 6.52951 7.27626L5.79508 10.2785Z",fill:"#161616"})),nt=()=>t("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1635_3739",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z",fill:"#BED62F"}),t("path",{d:"M0 0V-1H-1V0H0ZM49 0L49.8 -0.6L49.5 -1H49V0ZM0 40H-1V41H0V40ZM49 40V41H49.5L49.8 40.6L49 40ZM64 20L64.8 20.6L65.25 20L64.8 19.4L64 20ZM0 1H49V-1H0V1ZM1 40V0H-1V40H1ZM49 39H0V41H49V39ZM63.2 19.4L48.2 39.4L49.8 40.6L64.8 20.6L63.2 19.4ZM48.2 0.6L63.2 20.6L64.8 19.4L49.8 -0.6L48.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1635_3739)"}),t("path",{d:"M34.21 28.94C32.73 28.94 31.4 28.58 30.24 27.88C29.08 27.18 28.16 26.16 27.49 24.85C26.83 23.56 26.5 22.01 26.5 20.23C26.5 18.45 26.83 16.89 27.49 15.59C28.16 14.28 29.08 13.26 30.24 12.56C31.4 11.86 32.73 11.5 34.2 11.5C35.39 11.5 36.5 11.73 37.49 12.18C38.49 12.64 39.34 13.31 40 14.18C40.66 15.05 41.1 16.1 41.29 17.31L41.38 17.89H37.92L37.84 17.49C37.66 16.6 37.25 15.93 36.59 15.46C35.9 14.97 35.12 14.74 34.22 14.74C33.39 14.74 32.68 14.94 32.03 15.35C31.39 15.76 30.88 16.37 30.5 17.17C30.11 17.99 29.92 19.02 29.92 20.23C29.92 21.44 30.12 22.48 30.5 23.29C30.88 24.09 31.39 24.69 32.03 25.09C32.68 25.5 33.39 25.7 34.22 25.7C35.12 25.7 35.9 25.46 36.59 24.97C37.26 24.49 37.67 23.83 37.84 22.93L37.92 22.53H41.39L41.3 23.11C41.12 24.25 40.71 25.26 40.06 26.13C39.42 27 38.58 27.69 37.58 28.19C36.58 28.68 35.44 28.93 34.19 28.93L34.21 28.94Z",fill:"white"}),t("path",{d:"M34.21 12C35.33 12 36.36 12.21 37.29 12.64C38.22 13.07 38.99 13.68 39.61 14.49C40.23 15.3 40.62 16.26 40.8 17.4H38.34C38.14 16.38 37.65 15.6 36.88 15.06C36.11 14.52 35.22 14.24 34.22 14.24C33.3 14.24 32.48 14.47 31.76 14.93C31.04 15.39 30.47 16.07 30.05 16.96C29.63 17.85 29.42 18.94 29.42 20.23C29.42 21.52 29.63 22.62 30.05 23.51C30.47 24.4 31.04 25.07 31.76 25.52C32.48 25.98 33.3 26.2 34.22 26.2C35.22 26.2 36.11 25.93 36.88 25.38C37.65 24.83 38.13 24.05 38.34 23.03H40.81C40.64 24.09 40.26 25.02 39.67 25.83C39.07 26.64 38.31 27.27 37.37 27.74C36.43 28.21 35.38 28.43 34.21 28.43C32.82 28.43 31.58 28.1 30.5 27.44C29.42 26.78 28.56 25.84 27.94 24.61C27.32 23.38 27.01 21.92 27.01 20.22C27.01 18.52 27.32 17.04 27.95 15.81C28.58 14.58 29.43 13.64 30.52 12.98C31.6 12.32 32.84 11.99 34.22 11.99M34.21 11C32.65 11 31.23 11.38 29.99 12.13C28.75 12.88 27.76 13.97 27.05 15.36C26.35 16.72 26 18.36 26 20.22C26 22.08 26.35 23.71 27.04 25.07C27.75 26.46 28.73 27.54 29.97 28.3C31.21 29.05 32.63 29.43 34.2 29.43C35.52 29.43 36.74 29.16 37.81 28.63C38.88 28.1 39.78 27.36 40.47 26.42C41.16 25.48 41.61 24.39 41.8 23.18L41.98 22.03H37.52L37.36 22.84C37.21 23.6 36.86 24.17 36.31 24.57C35.71 25 35.03 25.21 34.23 25.21C33.5 25.21 32.87 25.04 32.3 24.68C31.74 24.33 31.3 23.8 30.96 23.09C30.61 22.34 30.43 21.38 30.43 20.24C30.43 19.1 30.61 18.15 30.96 17.39C31.3 16.67 31.74 16.14 32.31 15.78C32.87 15.42 33.5 15.24 34.23 15.24C35.03 15.24 35.71 15.45 36.31 15.87C36.87 16.26 37.21 16.83 37.36 17.59L37.52 18.4H41.97L41.79 17.24C41.59 15.95 41.12 14.82 40.4 13.88C39.69 12.95 38.78 12.22 37.7 11.73C36.64 11.25 35.46 11 34.2 11L34.21 11Z",fill:"#161616"}),t("rect",{width:"12",height:"38",transform:"translate(1 1)",fill:"white"}),t("path",{d:"M7.01141 36C6.08745 36 5.35742 35.7444 4.80989 35.2444C4.26236 34.7444 4 34.0556 4 33.1667V28.8111C4 27.9444 4.27377 27.2556 4.80989 26.7556C5.35742 26.2556 6.08745 26 7.01141 26C7.93536 26 8.65399 26.2556 9.19011 26.7556C9.73764 27.2667 10 27.9444 10 28.8111H8.64259C8.64259 28.2889 8.4943 27.8778 8.20913 27.6C7.91255 27.3111 7.51331 27.1778 7 27.1778C6.48669 27.1778 6.07605 27.3222 5.77947 27.6C5.48289 27.8889 5.34601 28.2889 5.34601 28.8111V33.1667C5.34601 33.7 5.4943 34.1111 5.77947 34.3889C6.06464 34.6667 6.47529 34.8111 7 34.8111C7.52472 34.8111 7.91255 34.6667 8.20913 34.3889C8.5057 34.1 8.64259 33.7 8.64259 33.1667V31.9H6.70342V30.7222H10V33.1667C10 34.0333 9.72624 34.7222 9.19011 35.2333C8.65399 35.7444 7.92396 35.9889 7.01141 35.9889V36Z",fill:"#161616"}),t("path",{d:"M7 18L4 22H10L7 18Z",fill:"#161616"}),t("path",{d:"M3.5 14L6.10492 4H7.90656L10.5 14H9.11148L8.48033 11.3973H5.51967L4.88852 14H3.5ZM5.79508 10.2785H8.19344L7.48197 7.28767C7.34426 6.73973 7.22951 6.27169 7.14918 5.89498C7.06885 5.50685 7.01148 5.25571 7 5.11872C6.97705 5.25571 6.93115 5.51826 6.85082 5.89498C6.77049 6.2831 6.66721 6.73973 6.52951 7.27626L5.79508 10.2785Z",fill:"#161616"})),lt=()=>t("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1635_3752",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z",fill:"#FFF200"}),t("path",{d:"M0 0V-1H-1V0H0ZM49 0L49.8 -0.6L49.5 -1H49V0ZM0 40H-1V41H0V40ZM49 40V41H49.5L49.8 40.6L49 40ZM64 20L64.8 20.6L65.25 20L64.8 19.4L64 20ZM0 1H49V-1H0V1ZM1 40V0H-1V40H1ZM49 39H0V41H49V39ZM63.2 19.4L48.2 39.4L49.8 40.6L64.8 20.6L63.2 19.4ZM48.2 0.6L63.2 20.6L64.8 19.4L49.8 -0.6L48.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1635_3752)"}),t("path",{d:"M26.5 28.51V11.5H32.36C34.02 11.5 35.46 11.85 36.66 12.53C37.87 13.22 38.8 14.21 39.45 15.48C40.08 16.73 40.41 18.25 40.41 19.98C40.41 21.71 40.09 23.24 39.45 24.5C38.8 25.78 37.85 26.78 36.62 27.47C35.4 28.15 33.92 28.5 32.22 28.5H26.51L26.5 28.51ZM32.07 25.36C33.72 25.36 34.97 24.9 35.77 24.01C36.58 23.1 37 21.74 37 19.99C37 18.24 36.59 16.9 35.79 15.99C34.99 15.09 33.82 14.65 32.21 14.65H29.96V25.36H32.08H32.07Z",fill:"white"}),t("path",{d:"M32.36 12C33.94 12 35.29 12.32 36.41 12.96C37.53 13.6 38.4 14.52 39 15.7C39.6 16.89 39.9 18.31 39.9 19.98C39.9 21.65 39.6 23.08 38.99 24.28C38.38 25.48 37.51 26.4 36.36 27.04C35.21 27.68 33.83 28.01 32.21 28.01H27V12H32.36ZM29.45 25.86H32.07C33.88 25.86 35.24 25.35 36.14 24.34C37.04 23.33 37.49 21.87 37.49 19.98C37.49 18.09 37.04 16.65 36.15 15.65C35.26 14.65 33.94 14.15 32.19 14.15H29.44V25.86M32.36 11H26V29.01H32.21C33.99 29.01 35.56 28.64 36.85 27.92C38.17 27.18 39.19 26.11 39.88 24.74C40.55 23.41 40.9 21.81 40.9 19.99C40.9 18.17 40.56 16.59 39.89 15.26C39.2 13.9 38.2 12.84 36.9 12.1C35.63 11.37 34.1 11.01 32.35 11.01L32.36 11ZM30.45 15.15H32.2C33.66 15.15 34.71 15.53 35.41 16.32C36.13 17.13 36.49 18.36 36.49 19.98C36.49 21.6 36.12 22.85 35.39 23.67C34.68 24.47 33.59 24.86 32.07 24.86H30.45V15.15Z",fill:"#161616"}),t("rect",{width:"12",height:"38",transform:"translate(1 1)",fill:"white"}),t("path",{d:"M7.01141 36C6.08745 36 5.35742 35.7444 4.80989 35.2444C4.26236 34.7444 4 34.0556 4 33.1667V28.8111C4 27.9444 4.27377 27.2556 4.80989 26.7556C5.35742 26.2556 6.08745 26 7.01141 26C7.93536 26 8.65399 26.2556 9.19011 26.7556C9.73764 27.2667 10 27.9444 10 28.8111H8.64259C8.64259 28.2889 8.4943 27.8778 8.20913 27.6C7.91255 27.3111 7.51331 27.1778 7 27.1778C6.48669 27.1778 6.07605 27.3222 5.77947 27.6C5.48289 27.8889 5.34601 28.2889 5.34601 28.8111V33.1667C5.34601 33.7 5.4943 34.1111 5.77947 34.3889C6.06464 34.6667 6.47529 34.8111 7 34.8111C7.52472 34.8111 7.91255 34.6667 8.20913 34.3889C8.5057 34.1 8.64259 33.7 8.64259 33.1667V31.9H6.70342V30.7222H10V33.1667C10 34.0333 9.72624 34.7222 9.19011 35.2333C8.65399 35.7444 7.92396 35.9889 7.01141 35.9889V36Z",fill:"#161616"}),t("path",{d:"M7 18L4 22H10L7 18Z",fill:"#161616"}),t("path",{d:"M3.5 14L6.10492 4H7.90656L10.5 14H9.11148L8.48033 11.3973H5.51967L4.88852 14H3.5ZM5.79508 10.2785H8.19344L7.48197 7.28767C7.34426 6.73973 7.22951 6.27169 7.14918 5.89498C7.06885 5.50685 7.01148 5.25571 7 5.11872C6.97705 5.25571 6.93115 5.51826 6.85082 5.89498C6.77049 6.2831 6.66721 6.73973 6.52951 7.27626L5.79508 10.2785Z",fill:"#161616"})),at=()=>t("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1635_3765",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z",fill:"#FDB813"}),t("path",{d:"M0 0V-1H-1V0H0ZM49 0L49.8 -0.6L49.5 -1H49V0ZM0 40H-1V41H0V40ZM49 40V41H49.5L49.8 40.6L49 40ZM64 20L64.8 20.6L65.25 20L64.8 19.4L64 20ZM0 1H49V-1H0V1ZM1 40V0H-1V40H1ZM49 39H0V41H49V39ZM63.2 19.4L48.2 39.4L49.8 40.6L64.8 20.6L63.2 19.4ZM48.2 0.6L63.2 20.6L64.8 19.4L49.8 -0.6L48.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1635_3765)"}),t("path",{d:"M27.5103 28.51V11.5H38.5802V14.61H30.9603V18.38H38.0503V21.47H30.9603V25.41H38.6502V28.51H27.5103Z",fill:"white"}),t("path",{d:"M38.08 12V14.11H30.45V18.88H37.54V20.97H30.45V25.9H38.14V28.01H28V12H38.08ZM39.08 11H27V29.01H39.14V24.9H31.45V21.97H38.54V17.88H31.45V15.11H39.08V11Z",fill:"#161616"}),t("rect",{width:"12",height:"38",transform:"translate(1 1)",fill:"white"}),t("path",{d:"M7.01141 36C6.08745 36 5.35742 35.7444 4.80989 35.2444C4.26236 34.7444 4 34.0556 4 33.1667V28.8111C4 27.9444 4.27377 27.2556 4.80989 26.7556C5.35742 26.2556 6.08745 26 7.01141 26C7.93536 26 8.65399 26.2556 9.19011 26.7556C9.73764 27.2667 10 27.9444 10 28.8111H8.64259C8.64259 28.2889 8.4943 27.8778 8.20913 27.6C7.91255 27.3111 7.51331 27.1778 7 27.1778C6.48669 27.1778 6.07605 27.3222 5.77947 27.6C5.48289 27.8889 5.34601 28.2889 5.34601 28.8111V33.1667C5.34601 33.7 5.4943 34.1111 5.77947 34.3889C6.06464 34.6667 6.47529 34.8111 7 34.8111C7.52472 34.8111 7.91255 34.6667 8.20913 34.3889C8.5057 34.1 8.64259 33.7 8.64259 33.1667V31.9H6.70342V30.7222H10V33.1667C10 34.0333 9.72624 34.7222 9.19011 35.2333C8.65399 35.7444 7.92396 35.9889 7.01141 35.9889V36Z",fill:"#161616"}),t("path",{d:"M7 18L4 22H10L7 18Z",fill:"#161616"}),t("path",{d:"M3.5 14L6.10492 4H7.90656L10.5 14H9.11148L8.48033 11.3973H5.51967L4.88852 14H3.5ZM5.79508 10.2785H8.19344L7.48197 7.28767C7.34426 6.73973 7.22951 6.27169 7.14918 5.89498C7.06885 5.50685 7.01148 5.25571 7 5.11872C6.97705 5.25571 6.93115 5.51826 6.85082 5.89498C6.77049 6.2831 6.66721 6.73973 6.52951 7.27626L5.79508 10.2785Z",fill:"#161616"})),dt=()=>t("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1635_3778",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z",fill:"#F36F21"}),t("path",{d:"M0 0V-1H-1V0H0ZM49 0L49.8 -0.6L49.5 -1H49V0ZM0 40H-1V41H0V40ZM49 40V41H49.5L49.8 40.6L49 40ZM64 20L64.8 20.6L65.25 20L64.8 19.4L64 20ZM0 1H49V-1H0V1ZM1 40V0H-1V40H1ZM49 39H0V41H49V39ZM63.2 19.4L48.2 39.4L49.8 40.6L64.8 20.6L63.2 19.4ZM48.2 0.6L63.2 20.6L64.8 19.4L49.8 -0.6L48.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1635_3778)"}),t("path",{d:"M27.0601 28.72V11.71H38.0201V14.82H30.5101V18.97H37.3001V22.06H30.5101V28.72H27.0601Z",fill:"white"}),t("path",{d:"M37.5201 12.21V14.32H30.0101V19.47H36.8001V21.56H30.0101V28.22H27.5601V12.21H37.5201ZM38.5201 11.21H26.5601V29.22H31.0101V22.56H37.8001V18.47H31.0101V15.32H38.5201V11.21Z",fill:"#161616"}),t("rect",{width:"12",height:"38",transform:"translate(1 1)",fill:"white"}),t("path",{d:"M7.01141 36C6.08745 36 5.35742 35.7444 4.80989 35.2444C4.26236 34.7444 4 34.0556 4 33.1667V28.8111C4 27.9444 4.27377 27.2556 4.80989 26.7556C5.35742 26.2556 6.08745 26 7.01141 26C7.93536 26 8.65399 26.2556 9.19011 26.7556C9.73764 27.2667 10 27.9444 10 28.8111H8.64259C8.64259 28.2889 8.4943 27.8778 8.20913 27.6C7.91255 27.3111 7.51331 27.1778 7 27.1778C6.48669 27.1778 6.07605 27.3222 5.77947 27.6C5.48289 27.8889 5.34601 28.2889 5.34601 28.8111V33.1667C5.34601 33.7 5.4943 34.1111 5.77947 34.3889C6.06464 34.6667 6.47529 34.8111 7 34.8111C7.52472 34.8111 7.91255 34.6667 8.20913 34.3889C8.5057 34.1 8.64259 33.7 8.64259 33.1667V31.9H6.70342V30.7222H10V33.1667C10 34.0333 9.72624 34.7222 9.19011 35.2333C8.65399 35.7444 7.92396 35.9889 7.01141 35.9889V36Z",fill:"#161616"}),t("path",{d:"M7 18L4 22H10L7 18Z",fill:"#161616"}),t("path",{d:"M3.5 14L6.10492 4H7.90656L10.5 14H9.11148L8.48033 11.3973H5.51967L4.88852 14H3.5ZM5.79508 10.2785H8.19344L7.48197 7.28767C7.34426 6.73973 7.22951 6.27169 7.14918 5.89498C7.06885 5.50685 7.01148 5.25571 7 5.11872C6.97705 5.25571 6.93115 5.51826 6.85082 5.89498C6.77049 6.2831 6.66721 6.73973 6.52951 7.27626L5.79508 10.2785Z",fill:"#161616"})),ct=()=>t("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1635_3791",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z",fill:"#ED1C24"}),t("path",{d:"M0 0V-1H-1V0H0ZM49 0L49.8 -0.6L49.5 -1H49V0ZM0 40H-1V41H0V40ZM49 40V41H49.5L49.8 40.6L49 40ZM64 20L64.8 20.6L65.25 20L64.8 19.4L64 20ZM0 1H49V-1H0V1ZM1 40V0H-1V40H1ZM49 39H0V41H49V39ZM63.2 19.4L48.2 39.4L49.8 40.6L64.8 20.6L63.2 19.4ZM48.2 0.6L63.2 20.6L64.8 19.4L49.8 -0.6L48.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1635_3791)"}),t("path",{d:"M34.28 28.94C32.75 28.94 31.38 28.58 30.21 27.87C29.04 27.16 28.11 26.13 27.47 24.83C26.83 23.54 26.5 22 26.5 20.24C26.5 18.48 26.83 16.91 27.48 15.62C28.14 14.31 29.06 13.29 30.22 12.58C31.38 11.87 32.71 11.51 34.18 11.51C35.4 11.51 36.53 11.75 37.53 12.23C38.53 12.71 39.38 13.38 40.04 14.23C40.7 15.08 41.13 16.08 41.32 17.2L41.42 17.78H37.95L37.84 17.43C37.57 16.58 37.14 15.94 36.52 15.45C35.91 14.97 35.15 14.74 34.2 14.74C33.39 14.74 32.68 14.94 32.04 15.35C31.4 15.75 30.89 16.37 30.52 17.17C30.13 17.99 29.94 19.02 29.94 20.23C29.94 21.44 30.14 22.47 30.52 23.28C30.9 24.08 31.41 24.69 32.06 25.1C32.71 25.51 33.46 25.72 34.31 25.72C35.45 25.72 36.34 25.4 37.03 24.74C37.61 24.18 37.95 23.46 38.05 22.55H34.16V19.53H41.48V21.87C41.48 23.3 41.17 24.56 40.55 25.62C39.93 26.68 39.07 27.51 37.99 28.09C36.92 28.66 35.68 28.95 34.31 28.95L34.28 28.94Z",fill:"white"}),t("path",{d:"M34.18 12C35.33 12 36.38 12.22 37.32 12.67C38.26 13.12 39.03 13.74 39.65 14.53C40.26 15.32 40.66 16.24 40.84 17.27H38.33C38.04 16.33 37.54 15.59 36.84 15.05C36.14 14.51 35.27 14.23 34.21 14.23C33.31 14.23 32.5 14.46 31.78 14.92C31.06 15.38 30.49 16.05 30.07 16.94C29.65 17.83 29.44 18.92 29.44 20.21C29.44 21.5 29.65 22.59 30.07 23.48C30.49 24.37 31.06 25.04 31.79 25.5C32.52 25.96 33.36 26.19 34.3 26.19C35.57 26.19 36.59 25.82 37.37 25.07C38.15 24.32 38.55 23.31 38.58 22.02H34.66V20H40.98V21.84C40.98 23.19 40.69 24.35 40.12 25.34C39.54 26.32 38.75 27.09 37.75 27.62C36.75 28.16 35.6 28.43 34.3 28.43C32.85 28.43 31.58 28.1 30.49 27.43C29.4 26.76 28.54 25.82 27.93 24.59C27.32 23.37 27.02 21.91 27.02 20.22C27.02 18.53 27.33 17.05 27.95 15.82C28.57 14.59 29.42 13.65 30.5 12.98C31.58 12.32 32.81 11.99 34.2 11.99M34.18 11C32.62 11 31.2 11.38 29.96 12.14C28.72 12.9 27.74 13.99 27.04 15.38C26.35 16.74 26 18.37 26 20.23C26 22.09 26.34 23.69 27.02 25.05C27.71 26.44 28.7 27.53 29.95 28.3C31.2 29.06 32.66 29.44 34.28 29.44C35.74 29.44 37.06 29.13 38.2 28.52C39.36 27.9 40.29 27 40.96 25.86C41.62 24.72 41.96 23.38 41.96 21.86V19.02H33.64V23.04H37.42C37.28 23.57 37.02 24.01 36.65 24.37C36.06 24.94 35.28 25.21 34.28 25.21C33.52 25.21 32.87 25.03 32.3 24.67C31.73 24.31 31.29 23.78 30.95 23.06C30.6 22.31 30.42 21.36 30.42 20.22C30.42 19.08 30.6 18.13 30.95 17.37C31.29 16.65 31.73 16.12 32.29 15.76C32.85 15.4 33.47 15.23 34.19 15.23C35.02 15.23 35.68 15.43 36.2 15.84C36.74 16.26 37.11 16.83 37.35 17.57L37.57 18.27H42.01L41.81 17.1C41.6 15.9 41.14 14.83 40.43 13.91C39.72 13 38.82 12.27 37.74 11.76C36.67 11.25 35.47 10.99 34.17 10.99L34.18 11Z",fill:"#161616"}),t("rect",{width:"12",height:"38",transform:"translate(1 1)",fill:"white"}),t("path",{d:"M7.01141 36C6.08745 36 5.35742 35.7444 4.80989 35.2444C4.26236 34.7444 4 34.0556 4 33.1667V28.8111C4 27.9444 4.27377 27.2556 4.80989 26.7556C5.35742 26.2556 6.08745 26 7.01141 26C7.93536 26 8.65399 26.2556 9.19011 26.7556C9.73764 27.2667 10 27.9444 10 28.8111H8.64259C8.64259 28.2889 8.4943 27.8778 8.20913 27.6C7.91255 27.3111 7.51331 27.1778 7 27.1778C6.48669 27.1778 6.07605 27.3222 5.77947 27.6C5.48289 27.8889 5.34601 28.2889 5.34601 28.8111V33.1667C5.34601 33.7 5.4943 34.1111 5.77947 34.3889C6.06464 34.6667 6.47529 34.8111 7 34.8111C7.52472 34.8111 7.91255 34.6667 8.20913 34.3889C8.5057 34.1 8.64259 33.7 8.64259 33.1667V31.9H6.70342V30.7222H10V33.1667C10 34.0333 9.72624 34.7222 9.19011 35.2333C8.65399 35.7444 7.92396 35.9889 7.01141 35.9889V36Z",fill:"#161616"}),t("path",{d:"M7 18L4 22H10L7 18Z",fill:"#161616"}),t("path",{d:"M3.5 14L6.10492 4H7.90656L10.5 14H9.11148L8.48033 11.3973H5.51967L4.88852 14H3.5ZM5.79508 10.2785H8.19344L7.48197 7.28767C7.34426 6.73973 7.22951 6.27169 7.14918 5.89498C7.06885 5.50685 7.01148 5.25571 7 5.11872C6.97705 5.25571 6.93115 5.51826 6.85082 5.89498C6.77049 6.2831 6.66721 6.73973 6.52951 7.27626L5.79508 10.2785Z",fill:"#161616"})),ht=()=>t("svg",{width:"83",height:"40",viewBox:"0 0 83 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1660_2847",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M68 0H0V40H68L83 20L68 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M68 0H0V40H68L83 20L68 0Z",fill:"#00A651"}),t("path",{d:"M0 0V-1H-1V0H0ZM68 0L68.8 -0.6L68.5 -1H68V0ZM0 40H-1V41H0V40ZM68 40V41H68.5L68.8 40.6L68 40ZM83 20L83.8 20.6L84.25 20L83.8 19.4L83 20ZM0 1H68V-1H0V1ZM1 40V0H-1V40H1ZM68 39H0V41H68V39ZM82.2 19.4L67.2 39.4L68.8 40.6L83.8 20.6L82.2 19.4ZM67.2 0.6L82.2 20.6L83.8 19.4L68.8 -0.6L67.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1660_2847)"}),t("g",{"clip-path":"url(#clip0_1660_2847)"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.44 24.2827L20.91 28.5003H24.63L18.47 11.4998H14.76L8.70996 28.5003H12.43L13.86 24.2827H19.44ZM17.68 19.2554L18.37 21.2343H18.36H14.88L15.55 19.2455C15.76 18.6358 15.98 17.8962 16.23 17.0467C16.3356 16.7035 16.4412 16.3294 16.5537 15.9311L16.5537 15.9311L16.5537 15.931L16.6 15.7674C16.73 16.2171 16.85 16.6269 16.97 17.0167C17.23 17.8662 17.46 18.6058 17.68 19.2554ZM29.5103 21.5741V25.8618H32.6303V21.5741H36.8603V18.5758H32.6303V14.2782H29.5103V18.5758H25.2803V21.5741H29.5103ZM44.19 25.8618V21.5742H39.96V18.5759H44.19V14.2782H47.31V18.5759H51.54V21.5742H47.31V25.8618H44.19ZM58.8799 21.5742V25.8618H61.9999V21.5742H66.2299V18.5759H61.9999V14.2782H58.8799V18.5759H54.6499V21.5742H58.8799Z",fill:"white"}),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M23.92 28.0006L18.12 11.9994H15.11L9.42 28.0006H12.08L13.51 23.7829H19.8L21.27 28.0006H23.92ZM19.08 21.734H14.21L15.1 19.0955C15.3 18.4858 15.52 17.7562 15.77 16.9067L15.8299 16.6946L15.83 16.6943L15.8304 16.693C16.0566 15.8924 16.3165 14.9727 16.61 13.9184L16.6364 14.0117C16.9454 15.1023 17.2169 16.0604 17.46 16.8767C17.71 17.7163 17.95 18.4559 18.16 19.0955L19.08 21.734ZM14.41 11H18.82L19.06 11.6596L24.86 27.6607L25.35 29H20.56L20.33 28.3304L19.09 24.7823H14.22L13.02 28.3204L12.79 29H8L8.47 27.6607L14.17 11.6596L14.41 11ZM16.04 19.4153L15.59 20.7346H17.67L17.21 19.4153C17.03 18.8656 16.83 18.246 16.62 17.5564C16.41 18.256 16.22 18.8756 16.04 19.4153ZM32.1303 19.0755V14.7779H30.0103V19.0755H25.7803V21.0744H30.0103V25.372H32.1303V21.0744H36.3603V19.0755H32.1303ZM29.0103 13.7784H33.1303V18.0761H37.3603V22.0738H33.1303V26.3714H29.0103V22.0738H24.7803V18.0761H29.0103V13.7784ZM46.81 14.7779V19.0755H51.04V21.0744H46.81V25.372H44.69V21.0744H40.46V19.0755H44.69V14.7779H46.81ZM47.81 13.7785H43.69V18.0761H39.46V22.0739H43.69V26.3715H47.81V22.0739H52.04V18.0761H47.81V13.7785ZM61.4999 19.0755V14.7779H59.3799V19.0755H55.1499V21.0744H59.3799V25.372H61.4999V21.0744H65.7299V19.0755H61.4999ZM58.3799 13.7785H62.4999V18.0761H66.7299V22.0739H62.4999V26.3715H58.3799V22.0739H54.1499V18.0761H58.3799V13.7785Z",fill:"black"})),t("defs",null,t("clipPath",{id:"clip0_1660_2847"},t("rect",{width:"59",height:"18",fill:"white",transform:"translate(8 11)"})))),pt=()=>t("svg",{width:"69",height:"40",viewBox:"0 0 69 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1660_2860",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M53 0H0V40H53L68 20L53 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M53 0H0V40H53L68 20L53 0Z",fill:"#4DB848"}),t("path",{d:"M0 0V-1H-1V0H0ZM53 0L53.8 -0.6L53.5 -1H53V0ZM0 40H-1V41H0V40ZM53 40V41H53.5L53.8 40.6L53 40ZM68 20L68.8 20.6L69.25 20L68.8 19.4L68 20ZM0 1H53V-1H0V1ZM1 40V0H-1V40H1ZM53 39H0V41H53V39ZM67.2 19.4L52.2 39.4L53.8 40.6L68.8 20.6L67.2 19.4ZM52.2 0.6L67.2 20.6L68.8 19.4L53.8 -0.6L52.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1660_2860)"}),t("g",{"clip-path":"url(#clip0_1660_2860)"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20.91 28.5003L19.44 24.2827H13.86L12.43 28.5003H8.70996L14.76 11.4998H18.47L24.63 28.5003H20.91ZM18.37 21.2343L17.68 19.2554C17.46 18.6058 17.23 17.8662 16.97 17.0167C16.85 16.6269 16.73 16.2171 16.6 15.7674L16.5537 15.931L16.5537 15.9311C16.4412 16.3294 16.3356 16.7035 16.23 17.0467C15.98 17.8962 15.76 18.6358 15.55 19.2455L14.88 21.2343H18.36H18.37ZM29.5103 25.8618V21.5741H25.2803V18.5758H29.5103V14.2782H32.6303V18.5758H36.8603V21.5741H32.6303V25.8618H29.5103ZM44.19 21.5742V25.8618H47.31V21.5742H51.54V18.5759H47.31V14.2782H44.19V18.5759H39.96V21.5742H44.19Z",fill:"white"}),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.12 11.9994L23.92 28.0006H21.27L19.8 23.7829H13.51L12.08 28.0006H9.42L15.11 11.9994H18.12ZM14.21 21.734H19.08L18.16 19.0955C17.95 18.4559 17.71 17.7163 17.46 16.8767C17.2169 16.0604 16.9454 15.1023 16.6364 14.0116L16.61 13.9184C16.3164 14.9731 16.0564 15.8931 15.8301 16.694L15.83 16.6945L15.77 16.9067C15.52 17.7562 15.3 18.4858 15.1 19.0955L14.21 21.734ZM18.82 11H14.41L14.17 11.6596L8.47 27.6607L8 29H12.79L13.02 28.3204L14.22 24.7823H19.09L20.33 28.3304L20.56 29H25.35L24.86 27.6607L19.06 11.6596L18.82 11ZM15.59 20.7346L16.04 19.4153C16.22 18.8756 16.41 18.256 16.62 17.5564C16.83 18.246 17.03 18.8656 17.21 19.4153L17.67 20.7346H15.59ZM32.1303 14.7779V19.0755H36.3603V21.0744H32.1303V25.372H30.0103V21.0744H25.7803V19.0755H30.0103V14.7779H32.1303ZM33.1303 13.7784H29.0103V18.0761H24.7803V22.0738H29.0103V26.3714H33.1303V22.0738H37.3603V18.0761H33.1303V13.7784ZM46.81 19.0755V14.7779H44.69V19.0755H40.46V21.0744H44.69V25.372H46.81V21.0744H51.04V19.0755H46.81ZM43.69 13.7785H47.81V18.0761H52.04V22.0739H47.81V26.3715H43.69V22.0739H39.46V18.0761H43.69V13.7785Z",fill:"black"})),t("defs",null,t("clipPath",{id:"clip0_1660_2860"},t("rect",{width:"44",height:"18",fill:"white",transform:"translate(8 11)"})))),ut=()=>t("svg",{width:"54",height:"40",viewBox:"0 0 54 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1660_2873",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M39 0H0V40H39L54 20L39 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M39 0H0V40H39L54 20L39 0Z",fill:"#BED62F"}),t("path",{d:"M0 0V-1H-1V0H0ZM39 0L39.8 -0.6L39.5 -1H39V0ZM0 40H-1V41H0V40ZM39 40V41H39.5L39.8 40.6L39 40ZM54 20L54.8 20.6L55.25 20L54.8 19.4L54 20ZM0 1H39V-1H0V1ZM1 40V0H-1V40H1ZM39 39H0V41H39V39ZM53.2 19.4L38.2 39.4L39.8 40.6L54.8 20.6L53.2 19.4ZM38.2 0.6L53.2 20.6L54.8 19.4L39.8 -0.6L38.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1660_2873)"}),t("g",{"clip-path":"url(#clip0_1660_2873)"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.44 24.2827L20.91 28.5003H24.63L18.47 11.4998H14.76L8.70996 28.5003H12.43L13.86 24.2827H19.44ZM17.68 19.2554L18.37 21.2343H18.36H14.88L15.55 19.2455C15.76 18.6358 15.98 17.8962 16.23 17.0467C16.3356 16.7035 16.4413 16.3293 16.5537 15.931C16.569 15.8769 16.5844 15.8224 16.6 15.7674C16.73 16.2171 16.85 16.6269 16.97 17.0167C17.23 17.8662 17.46 18.6058 17.68 19.2554ZM29.5103 21.5741V25.8618H32.6303V21.5741H36.8603V18.5758H32.6303V14.2782H29.5103V18.5758H25.2803V21.5741H29.5103Z",fill:"white"}),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M23.92 28.0006L18.12 11.9994H15.11L9.42 28.0006H12.08L13.51 23.7829H19.8L21.27 28.0006H23.92ZM19.08 21.734H14.21L15.1 19.0955C15.3 18.4858 15.52 17.7562 15.77 16.9067C15.7897 16.8369 15.8097 16.7662 15.83 16.6945C16.0563 15.8936 16.3163 14.9733 16.61 13.9184L16.6364 14.0116C16.9454 15.1023 17.2169 16.0604 17.46 16.8767C17.71 17.7163 17.95 18.4559 18.16 19.0955L19.08 21.734ZM14.41 11H18.82L19.06 11.6596L24.86 27.6607L25.35 29H20.56L20.33 28.3304L19.09 24.7823H14.22L13.02 28.3204L12.79 29H8L8.47 27.6607L14.17 11.6596L14.41 11ZM16.04 19.4153L15.59 20.7346H17.67L17.21 19.4153C17.03 18.8656 16.83 18.246 16.62 17.5564C16.41 18.256 16.22 18.8756 16.04 19.4153ZM32.1303 19.0755V14.7779H30.0103V19.0755H25.7803V21.0744H30.0103V25.372H32.1303V21.0744H36.3603V19.0755H32.1303ZM29.0103 13.7784H33.1303V18.0761H37.3603V22.0738H33.1303V26.3714H29.0103V22.0738H24.7803V18.0761H29.0103V13.7784Z",fill:"black"})),t("defs",null,t("clipPath",{id:"clip0_1660_2873"},t("rect",{width:"30",height:"18",fill:"white",transform:"translate(8 11)"})))),ft=()=>t("svg",{width:"48",height:"40",viewBox:"0 0 48 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1660_2886",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 0H0V40H33L48 20L33 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 0H0V40H33L48 20L33 0Z",fill:"#FFF200"}),t("path",{d:"M0 0V-1H-1V0H0ZM33 0L33.8 -0.6L33.5 -1H33V0ZM0 40H-1V41H0V40ZM33 40V41H33.5L33.8 40.6L33 40ZM48 20L48.8 20.6L49.25 20L48.8 19.4L48 20ZM0 1H33V-1H0V1ZM1 40V0H-1V40H1ZM33 39H0V41H33V39ZM47.2 19.4L32.2 39.4L33.8 40.6L48.8 20.6L47.2 19.4ZM32.2 0.6L47.2 20.6L48.8 19.4L33.8 -0.6L32.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1660_2886)"}),t("g",{"clip-path":"url(#clip0_1660_2886)"},t("path",{d:"M24.91 28.5003L23.44 24.2827H17.86L16.43 28.5003H12.71L18.76 11.4998H22.47L28.63 28.5003H24.91ZM22.37 21.2343L21.68 19.2554C21.46 18.6058 21.23 17.8662 20.97 17.0167C20.85 16.6269 20.73 16.2171 20.6 15.7674C20.47 16.2271 20.35 16.6569 20.23 17.0467C19.98 17.8962 19.76 18.6358 19.55 19.2455L18.88 21.2343H22.36H22.37Z",fill:"white"}),t("path",{d:"M22.12 11.9994L27.92 28.0006H25.27L23.8 23.7829H17.51L16.08 28.0006H13.42L19.11 11.9994H22.12ZM18.2 21.734H23.08L22.16 19.0955C21.95 18.4559 21.71 17.7163 21.46 16.8767C21.21 16.0372 20.93 15.0478 20.61 13.9184C20.29 15.0677 20.01 16.0572 19.77 16.9067C19.52 17.7562 19.3 18.4858 19.1 19.0955L18.21 21.734M22.82 11H18.41L18.17 11.6596L12.47 27.6607L12 29H16.79L17.02 28.3204L18.22 24.7823H23.09L24.33 28.3304L24.56 29H29.35L28.86 27.6607L23.06 11.6596L22.82 11ZM19.59 20.7346L20.04 19.4153C20.22 18.8756 20.41 18.256 20.62 17.5564C20.83 18.246 21.03 18.8656 21.21 19.4153L21.67 20.7346H19.59Z",fill:"black"})),t("defs",null,t("clipPath",{id:"clip0_1660_2886"},t("rect",{width:"18",height:"18",fill:"white",transform:"translate(12 11)"})))),gt=()=>t("svg",{width:"48",height:"40",viewBox:"0 0 48 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1660_2899",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 0H0V40H33L48 20L33 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 0H0V40H33L48 20L33 0Z",fill:"#FDB813"}),t("path",{d:"M0 0V-1H-1V0H0ZM33 0L33.8 -0.6L33.5 -1H33V0ZM0 40H-1V41H0V40ZM33 40V41H33.5L33.8 40.6L33 40ZM48 20L48.8 20.6L49.25 20L48.8 19.4L48 20ZM0 1H33V-1H0V1ZM1 40V0H-1V40H1ZM33 39H0V41H33V39ZM47.2 19.4L32.2 39.4L33.8 40.6L48.8 20.6L47.2 19.4ZM32.2 0.6L47.2 20.6L48.8 19.4L33.8 -0.6L32.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1660_2899)"}),t("path",{d:"M14.5 28.5003V11.4998H20.9C22.1 11.4998 23.13 11.7096 23.94 12.1094C24.77 12.5292 25.4 13.0989 25.82 13.8185C26.23 14.5281 26.44 15.3276 26.44 16.1971C26.44 17.3265 26.12 18.226 25.5 18.8557C25.22 19.1355 24.91 19.3754 24.58 19.5753C24.74 19.6452 24.9 19.7352 25.06 19.8351C25.64 20.1849 26.12 20.6946 26.49 21.3443C26.87 21.9939 27.06 22.7835 27.06 23.683C27.06 24.5825 26.84 25.422 26.42 26.1516C25.99 26.8912 25.32 27.4709 24.43 27.8906C23.57 28.3004 22.47 28.5003 21.16 28.5003H14.5ZM20.91 25.392C21.93 25.392 22.65 25.2121 23.05 24.8523C23.44 24.5025 23.63 24.0828 23.63 23.5631C23.63 22.9434 23.4 22.4337 22.94 21.9839C22.47 21.5342 21.84 21.3143 21 21.3143H17.94V25.392H20.9H20.91ZM20.66 18.4259C21.36 18.4259 21.92 18.236 22.38 17.8562C22.82 17.4964 23.03 17.0167 23.03 16.407C23.03 15.8873 22.85 15.4676 22.49 15.1177C22.13 14.7679 21.53 14.598 20.72 14.598H17.94V18.4259H20.65H20.66Z",fill:"white"}),t("path",{d:"M20.9 11.9994C22.03 11.9994 22.97 12.1893 23.71 12.5591C24.45 12.9289 25.01 13.4386 25.38 14.0683C25.75 14.6979 25.93 15.4076 25.93 16.1971C25.93 17.1966 25.66 17.9661 25.14 18.4958C24.61 19.0255 23.97 19.3853 23.23 19.5752V19.7351C23.77 19.7651 24.29 19.935 24.8 20.2449C25.31 20.5547 25.73 21.0044 26.06 21.5841C26.39 22.1638 26.56 22.8634 26.56 23.673C26.56 24.4825 26.37 25.2321 25.99 25.8817C25.61 26.5314 25.02 27.0511 24.22 27.4209C23.42 27.8007 22.4 27.9806 21.16 27.9806H15V11.9994H20.9ZM17.45 18.9256H20.66C21.47 18.9256 22.15 18.6957 22.7 18.236C23.25 17.7762 23.53 17.1666 23.53 16.397C23.53 15.7374 23.3 15.1877 22.84 14.7479C22.38 14.3082 21.67 14.0883 20.73 14.0883H17.45V18.9156M17.45 25.8917H20.91C22.06 25.8917 22.89 25.6718 23.39 25.2221C23.89 24.7823 24.14 24.2227 24.14 23.553C24.14 22.8034 23.86 22.1538 23.3 21.6141C22.74 21.0744 21.98 20.8046 21.02 20.8046H17.46V25.8817M20.9 11H14V29H21.16C22.54 29 23.71 28.7801 24.64 28.3404C25.62 27.8806 26.36 27.231 26.85 26.4014C27.32 25.6019 27.56 24.6824 27.56 23.683C27.56 22.6835 27.35 21.824 26.93 21.0944C26.55 20.4448 26.08 19.915 25.51 19.5253C25.63 19.4253 25.74 19.3254 25.85 19.2054C26.57 18.4858 26.94 17.4664 26.94 16.1971C26.94 15.2376 26.71 14.3481 26.25 13.5586C25.78 12.759 25.08 12.1194 24.16 11.6596C23.28 11.2199 22.18 11 20.9 11ZM18.45 15.0877H20.73C21.19 15.0877 21.82 15.1577 22.15 15.4675C22.41 15.7174 22.53 16.0072 22.53 16.397C22.53 16.8667 22.39 17.1966 22.06 17.4664C21.69 17.7762 21.23 17.9262 20.66 17.9262H18.45V15.0977V15.0877ZM18.45 21.814H21.01C21.71 21.814 22.23 21.9839 22.6 22.3437C22.97 22.6935 23.14 23.0833 23.14 23.563C23.14 23.9428 23.01 24.2227 22.73 24.4825C22.56 24.6324 22.09 24.8923 20.92 24.8923H18.46V21.814H18.45Z",fill:"#161616"})),bt=()=>t("svg",{width:"48",height:"40",viewBox:"0 0 48 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1660_2912",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 0H0V40H33L48 20L33 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 0H0V40H33L48 20L33 0Z",fill:"#F36F21"}),t("path",{d:"M0 0V-1H-1V0H0ZM33 0L33.8 -0.6L33.5 -1H33V0ZM0 40H-1V41H0V40ZM33 40V41H33.5L33.8 40.6L33 40ZM48 20L48.8 20.6L49.25 20L48.8 19.4L48 20ZM0 1H33V-1H0V1ZM1 40V0H-1V40H1ZM33 39H0V41H33V39ZM47.2 19.4L32.2 39.4L33.8 40.6L48.8 20.6L47.2 19.4ZM32.2 0.6L47.2 20.6L48.8 19.4L33.8 -0.6L32.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1660_2912)"}),t("path",{d:"M21.21 28.94C19.73 28.94 18.4 28.58 17.24 27.88C16.08 27.18 15.16 26.16 14.49 24.85C13.83 23.56 13.5 22.01 13.5 20.23C13.5 18.45 13.83 16.89 14.49 15.59C15.16 14.28 16.08 13.26 17.24 12.56C18.4 11.86 19.73 11.5 21.2 11.5C22.39 11.5 23.5 11.73 24.49 12.18C25.49 12.64 26.34 13.31 27 14.18C27.66 15.05 28.1 16.1 28.29 17.31L28.38 17.89H24.92L24.84 17.49C24.66 16.6 24.25 15.93 23.59 15.46C22.9 14.97 22.12 14.74 21.22 14.74C20.39 14.74 19.68 14.94 19.03 15.35C18.39 15.76 17.88 16.37 17.5 17.17C17.11 17.99 16.92 19.02 16.92 20.23C16.92 21.44 17.12 22.48 17.5 23.29C17.88 24.09 18.39 24.69 19.03 25.09C19.68 25.5 20.39 25.7 21.22 25.7C22.12 25.7 22.9 25.46 23.59 24.97C24.26 24.49 24.67 23.83 24.84 22.93L24.92 22.53H28.39L28.3 23.11C28.12 24.25 27.71 25.26 27.06 26.13C26.42 27 25.58 27.69 24.58 28.19C23.58 28.68 22.44 28.93 21.19 28.93L21.21 28.94Z",fill:"white"}),t("path",{d:"M21.21 12C22.33 12 23.36 12.21 24.29 12.64C25.22 13.07 25.99 13.68 26.61 14.49C27.23 15.3 27.62 16.26 27.8 17.4H25.34C25.14 16.38 24.65 15.6 23.88 15.06C23.11 14.52 22.22 14.24 21.22 14.24C20.3 14.24 19.48 14.47 18.76 14.93C18.04 15.39 17.47 16.07 17.05 16.96C16.63 17.85 16.42 18.94 16.42 20.23C16.42 21.52 16.63 22.62 17.05 23.51C17.47 24.4 18.04 25.07 18.76 25.52C19.48 25.98 20.3 26.2 21.22 26.2C22.22 26.2 23.11 25.93 23.88 25.38C24.65 24.83 25.13 24.05 25.34 23.03H27.81C27.64 24.09 27.26 25.02 26.67 25.83C26.07 26.64 25.31 27.27 24.37 27.74C23.43 28.21 22.38 28.43 21.21 28.43C19.82 28.43 18.58 28.1 17.5 27.44C16.42 26.78 15.56 25.84 14.94 24.61C14.32 23.38 14.01 21.92 14.01 20.22C14.01 18.52 14.32 17.04 14.95 15.81C15.58 14.58 16.43 13.64 17.52 12.98C18.6 12.32 19.84 11.99 21.22 11.99M21.21 11C19.65 11 18.23 11.38 16.99 12.13C15.75 12.88 14.76 13.97 14.05 15.36C13.35 16.72 13 18.36 13 20.22C13 22.08 13.35 23.71 14.04 25.07C14.75 26.46 15.73 27.54 16.97 28.3C18.21 29.05 19.63 29.43 21.2 29.43C22.52 29.43 23.74 29.16 24.81 28.63C25.88 28.1 26.78 27.36 27.47 26.42C28.16 25.48 28.61 24.39 28.8 23.18L28.98 22.03H24.52L24.36 22.84C24.21 23.6 23.86 24.17 23.31 24.57C22.71 25 22.03 25.21 21.23 25.21C20.5 25.21 19.87 25.04 19.3 24.68C18.74 24.33 18.3 23.8 17.96 23.09C17.61 22.34 17.43 21.38 17.43 20.24C17.43 19.1 17.61 18.15 17.96 17.39C18.3 16.67 18.74 16.14 19.31 15.78C19.87 15.42 20.5 15.24 21.23 15.24C22.03 15.24 22.71 15.45 23.31 15.87C23.87 16.26 24.21 16.83 24.36 17.59L24.52 18.4H28.97L28.79 17.24C28.59 15.95 28.12 14.82 27.4 13.88C26.69 12.95 25.78 12.22 24.7 11.73C23.64 11.25 22.46 11 21.2 11L21.21 11Z",fill:"#161616"})),vt=()=>t("svg",{width:"48",height:"40",viewBox:"0 0 48 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1660_2925",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 0H0V40H33L48 20L33 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 0H0V40H33L48 20L33 0Z",fill:"#ED1C24"}),t("path",{d:"M0 0V-1H-1V0H0ZM33 0L33.8 -0.6L33.5 -1H33V0ZM0 40H-1V41H0V40ZM33 40V41H33.5L33.8 40.6L33 40ZM48 20L48.8 20.6L49.25 20L48.8 19.4L48 20ZM0 1H33V-1H0V1ZM1 40V0H-1V40H1ZM33 39H0V41H33V39ZM47.2 19.4L32.2 39.4L33.8 40.6L48.8 20.6L47.2 19.4ZM32.2 0.6L47.2 20.6L48.8 19.4L33.8 -0.6L32.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1660_2925)"}),t("path",{d:"M13.5 28.51V11.5H19.36C21.02 11.5 22.46 11.85 23.66 12.53C24.87 13.22 25.8 14.21 26.45 15.48C27.08 16.73 27.41 18.25 27.41 19.98C27.41 21.71 27.09 23.24 26.45 24.5C25.8 25.78 24.85 26.78 23.62 27.47C22.4 28.15 20.92 28.5 19.22 28.5H13.51L13.5 28.51ZM19.07 25.36C20.72 25.36 21.97 24.9 22.77 24.01C23.58 23.1 24 21.74 24 19.99C24 18.24 23.59 16.9 22.79 15.99C21.99 15.09 20.82 14.65 19.21 14.65H16.96V25.36H19.08H19.07Z",fill:"white"}),t("path",{d:"M19.36 12C20.94 12 22.29 12.32 23.41 12.96C24.53 13.6 25.4 14.52 26 15.7C26.6 16.89 26.9 18.31 26.9 19.98C26.9 21.65 26.6 23.08 25.99 24.28C25.38 25.48 24.51 26.4 23.36 27.04C22.21 27.68 20.83 28.01 19.21 28.01H14V12H19.36ZM16.45 25.86H19.07C20.88 25.86 22.24 25.35 23.14 24.34C24.04 23.33 24.49 21.87 24.49 19.98C24.49 18.09 24.04 16.65 23.15 15.65C22.26 14.65 20.94 14.15 19.19 14.15H16.44V25.86M19.36 11H13V29.01H19.21C20.99 29.01 22.56 28.64 23.85 27.92C25.17 27.18 26.19 26.11 26.88 24.74C27.55 23.41 27.9 21.81 27.9 19.99C27.9 18.17 27.56 16.59 26.89 15.26C26.2 13.9 25.2 12.84 23.9 12.1C22.63 11.37 21.1 11.01 19.35 11.01L19.36 11ZM17.45 15.15H19.2C20.66 15.15 21.71 15.53 22.41 16.32C23.13 17.13 23.49 18.36 23.49 19.98C23.49 21.6 23.12 22.85 22.39 23.67C21.68 24.47 20.59 24.86 19.07 24.86H17.45V15.15Z",fill:"#161616"})),Ct=class{constructor(t){e(this,t),this.energyLabelIcon=null,this.energyEfficiencyClass=void 0,this.minEnergyEfficiencyClass=void 0,this.maxEnergyEfficiencyClass=void 0,this.productType=void 0}connectedCallback(){this.energyLabelIcon=(e=>{const i=((t,e)=>"A"===t&&"G"===e?"new":"A+++"===t&&"D"===e?"old":"unknown")(this.minEnergyEfficiencyClass,this.maxEnergyEfficiencyClass);switch(i){case"new":switch(e){case"A":return t(ot,null);case"B":return t(st,null);case"C":return t(nt,null);case"D":return t(lt,null);case"E":return t(at,null);case"F":return t(dt,null);case"G":return t(ct,null);default:return null}case"old":switch(e){case"A+++":return t(ht,null);case"A++":return t(pt,null);case"A+":return t(ut,null);case"A":return t(ft,null);case"B":return t(gt,null);case"C":return t(bt,null);case"D":return t(vt,null);default:return null}case"unknown":return null}})(this.energyEfficiencyClass)}render(){return t(r,{part:"energy-label",class:{hidden:!this.energyLabelIcon}},t("div",{class:"container"},this.energyLabelIcon,t("span",{class:"product-type"},this.productType)))}};Ct.style=':host{--color-primary-system:#0f62fe;--color-primary-hover-system:#014cda;--color-icons-system:#2f8edf;--product-card-width-system:130px;--spacer:8px;--font-weight-regular:400;--letter-spacing-default:0px;--radius-radius-md:8px;--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:"JetBrains Mono", monospace;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#525252;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;}:host{display:block;line-height:0px}:host(.hidden){display:none}.container{display:flex;align-items:center;max-width:100%;gap:8px}svg{flex-shrink:0}.product-type{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow-wrap:anywhere;overflow:hidden;text-overflow:ellipsis;line-height:1.5;color:#8d8d8d;font-size:var(--font-size-body);font-style:normal;font-weight:var(--font-weight-regular);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-default)}';const xt=t=>t&&"values"in t?t.values:t&&"histogram"in t?t.histogram:[],mt=(t,{column:e},i)=>{var r,o,s;const n=null!==(o=null!==(r=i.interval)&&void 0!==r?r:i.value)&&void 0!==o?o:i,l=t.findIndex((({column:t})=>t===e)),a=null===(s=t[l])||void 0===s?void 0:s.values.findIndex((t=>t===n)),d=-1===l||"price"===e?{column:e,values:[]}:t[l];return a>-1?d.values.splice(a,1):d.values.push(n),-1===l?(t=[...t,d],document.getElementById("filters-footer")&&(document.getElementById("filters-footer").scrollLeft=0)):(t[l]=d,t=0===t[l].values.length?[...t.filter((e=>t[l]!==e))]:[...t]),t},Ht=class{constructor(t){e(this,t),this.vviinnFiltersChanged=i(this,"vviinnFiltersChanged",7),this.vviinnFilters=i(this,"vviinnFilters",7),this.globalSlotsChanged=i(this,"globalSlotsChanged",7),this.handleSetFilters=({detail:t})=>{this.filters=t},this.handleFiltersChanged=({detail:t})=>{const{filters:e,el:i}=t;i!==this.el&&(this.requestFilters=e)},this.timer=null,this.priceChangeHandler=t=>{this.timer&&clearTimeout(this.timer);const e=this.filters.find((t=>"price"===t.column));e&&(this.timer=setTimeout((()=>{this.handleSubFilterSelection(t,e)}),200))},this.filters=[],this.filtersString="",this.locale="de-DE",this.requestFilters=[],this.showMore=!1,this.selectedMoreOptions=[]}replaceSlotsContent(){const t=this.el.querySelectorAll("[slot]");this.globalSlotsChanged.emit({slots:Array.from(t),element:this.el})}componentDidRender(){this.replaceSlotsContent()}async componentWillLoad(){await Z.init({lng:this.locale,fallbackLng:"en",resources:_}),V(this,this.el)}emitRequestFiltersMore(t){this.vviinnFiltersChanged.emit({filters:t,el:this.el})}handleSubFilterSelection(t,e){this.requestFilters=mt(this.requestFilters,e,t),this.emitRequestFiltersMore([...this.requestFilters])}showActiveOnModalSubButton(t,e){let i=!1;return t.forEach((t=>{t.values.some((t=>t===e||t===e.interval||t===e.value))&&(i=!0)})),i}handleMoreOptionsMainClick(t){this.selectedMoreOptions=this.selectedMoreOptions.includes(t)?this.selectedMoreOptions.filter((e=>e!==t)):[...this.selectedMoreOptions,t]}filtersStringWatcher(){if(""!==this.filtersString)try{this.filters=JSON.parse(this.filtersString)}catch(t){console.error("Invalid filters string",t)}}connectedCallback(){document.addEventListener("vviinnFilters",this.handleSetFilters),document.addEventListener("vviinnFiltersChanged",this.handleFiltersChanged),this.filtersStringWatcher()}disconnectedCallback(){document.removeEventListener("vviinnFilters",this.handleSetFilters),document.addEventListener("vviinnFiltersChanged",this.handleFiltersChanged)}resetModal(){this.emitRequestFiltersMore([]),this.requestFilters=[],this.showMore=!1}render(){return t(r,{part:"filters"},y("filters"),this.filters.length>0&&t("button",{class:"filters-more-button",onClick:()=>this.showMore=!0},t(J,null)),t("div",{class:"filters-modal "+(this.showMore?"open":"")},t("div",{class:"filters-modal-wrapper"},t("div",{class:"filters-modal-header"},t("slot",{name:"vviinn-extended-filters-title"},t("span",null,Z.t("filters.modal.title"))),t("button",{class:"filters-modal-close",onClick:()=>{this.showMore=!1,this.requestFilters=[]}},t(G,null))),t("ul",{class:"filters-modal-list"},this.filters.map((e=>{var i,r,o;const s=e.column,n=xt(e),l=this.requestFilters.find((({column:t})=>t==t)),a=[];return null===(i=null==l?void 0:l.values)||void 0===i||i.forEach((e=>{const i=n.findIndex((t=>t.value.value===e||t.value===e));i>-1&&a.push(t("span",null,n[i].label))})),t("li",null,t("div",{class:"filters-modal-main-button-wrapper"},t("button",{onClick:()=>this.handleMoreOptionsMainClick(e.column),class:"filters-modal-main-button"},e.label),a.length>0&&t("div",{class:"filters-modal-main-button-added-options"},a)),"price"===s&&this.selectedMoreOptions.includes(e.column)?t("vviinn-price-range",{histogram:n,priceChangeHandler:this.priceChangeHandler,selectedInterval:null!==(o=null===(r=this.requestFilters.find((({column:t})=>"price"===t)))||void 0===r?void 0:r.values[0])&&void 0!==o?o:{}}):t("ul",{class:`filters-modal-sub-list ${"color_confirmed"===s?"filters-modal-sub-list-inline":""} ${this.selectedMoreOptions.includes(e.column)?"open":""}`},n&&n.map((({value:i,label:r,active:o})=>{const s=i.hexCode,n=this.showActiveOnModalSubButton(this.requestFilters,i);return t("li",null,t("button",{onClick:()=>this.handleSubFilterSelection(i,e),class:`filters-more-modal-button ${s?"filters-sub-button-color":""} ${n?"active":""}`,style:{backgroundColor:s},disabled:!o},t("span",null,t("span",null,r),t(n?q:Q,null))))}))))}))),t("div",{class:"filters-modal-actions"},t("button",{class:"filters-modal-apply",onClick:()=>this.showMore=!1,disabled:0===this.requestFilters.length},t("slot",{name:"vviinn-extended-filters-apply"},Z.t("filters.modal.apply"))),t("button",{class:"filters-modal-reset",onClick:()=>this.resetModal()},t("slot",{name:"vviinn-extended-filters-reset"},Z.t("filters.modal.resetFilters")))))))}get el(){return o(this)}static get watchers(){return{filtersString:["filtersStringWatcher"]}}};Ht.style=':host{--color-primary-system:#0f62fe;--color-primary-hover-system:#014cda;--color-icons-system:#2f8edf;--product-card-width-system:130px;--spacer:8px;--font-weight-regular:400;--letter-spacing-default:0px;--radius-radius-md:8px;--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:"JetBrains Mono", monospace;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#525252;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;}:host{display:block;font-family:var(--font-family-base);font-style:normal}.filters-footer{overflow-x:auto}.filters-modal-list,.sub-filters-wrapper,.main-filters-list,.filters-modal-sub-list,.selected-filters-wrapper{list-style:none;margin:0;padding:0}.main-filters-wrapper{overflow-x:auto}.main-filters-list{padding:var(--spacing-25);gap:var(--spacing-25);border-radius:8px;background:var(--surface-bg-color-01);display:inline-flex}.filters-modal-main-button,.filters-sub-button,.filters-main-button,.filters-modal-close,.filters-sub-button-selected{cursor:pointer;border:none}.filters-sub-button,.filters-main-button{font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);display:flex;justify-content:center;align-items:center;border-radius:6px}.filters-main-button{padding:var(--spacing-100) 18px;color:var(--color-text-helper);background:none}.filters-main-button.active,.filters-main-button:hover{background:var(--surface-bg-color-02);color:var(--color-text-primary)}.filters-footer{padding:16px 0}.sub-filters-wrapper{gap:var(--spacing-100);display:flex}.selected-filters-wrapper{margin-top:16px;padding-top:16px;border-top:1px solid var(--surface-bg-color-01);gap:var(--spacing-100);display:flex}.filters-sub-button{color:var(--color-text-primary);background:var(--surface-bg-color-01);padding:var(--spacing-100);gap:var(--spacing-25)}.filters-sub-button>span,.filters-sub-button-selected>span{display:inline-flex;justify-content:center;align-items:center;gap:var(--spacing-25);white-space:nowrap}.filters-sub-button-selected>span>span{padding:2px}.filters-sub-button:hover{background:var(--surface-bg-color-01);box-shadow:0px 4px 4px 0px rgba(0, 0, 0, 0.25)}.filters-sub-button:disabled{cursor:not-allowed;background:var(--surface-bg-color-disabled);color:var(--color-text-disabled)}.filters-more-button{display:flex;padding:var(--spacing-100);gap:var(--spacing-50);border-radius:var(--border-radius-100);align-items:flex-start;background:var(--button-bg-color-secondary);border:none;cursor:pointer}.filters-modal{display:none;position:fixed;top:0;bottom:0;right:0;left:0;background-color:rgba(0, 0, 0, 0.5);z-index:98}.filters-modal.open{display:block}.filters-modal-wrapper{position:fixed;top:0;bottom:0;right:0;width:420px;background-color:#ffffff;z-index:99;border-radius:32px 0px 0px 32px;display:flex;flex-direction:column}@media (max-width: 768px){.filters-modal-wrapper{width:100%;top:20%;border-radius:32px 32px 0px 0px}}.filters-modal-header{position:relative;padding:20px 0;color:var(--color-text-primary);text-align:center;font-size:var(--font-size-headline);font-weight:var(--font-weight-500);line-height:var(--line-height-headline);letter-spacing:var(--letter-spacing-headline);border-bottom:1px solid var(--color-border-01);display:flex;justify-content:center;gap:5px}.filters-modal-list{margin:4px 0 0 24px;flex:1;overflow-y:auto;padding-bottom:20px}.filters-modal-list>li{padding-right:24px}.filters-modal-main-button-wrapper{border-bottom:1px solid var(--color-border-01);padding:20px 0}.filters-modal-main-button{width:100%;background:none;text-align:left;padding:0;color:var(--color-text-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-sub-list{display:none;margin:0 -4px}.filters-modal-sub-list>li{display:inline-block;margin:0 4px}.filters-modal-sub-list-inline{margin:0 -6px}.filters-modal-sub-list-inline>li{margin:0 6px}.filters-modal-sub-list.open{display:block}.filters-modal-sub-list>li{margin-top:10px}.filters-modal-close{position:absolute;right:0;top:15px;cursor:pointer;background:none}.filters-more-modal-button{background:none;border:none;cursor:pointer;display:flex;padding:var(--spacing-100);align-items:center;gap:var(--spacing-25);border-radius:var(--border-radius-100);background:var(--surface-bg-color-01);color:var(--color-text-primary)}.filters-more-modal-button.active{background:var(--surface-bg-color-inverse);color:var(--color-text-inverse)}.filters-more-modal-button>span{display:flex;align-items:center;justify-content:center;gap:var(--spacing-25)}.filters-more-modal-button>span>span{padding:2px}.filters-more-modal-button:disabled{cursor:not-allowed;opacity:0.5}.filters-modal-actions{border-top:1px solid var(--color-border-01);padding:var(--spacing-250);z-index:10;background:#ffffff;border-radius:0px 0px 0px 32px}.filters-modal-apply{cursor:pointer;width:100%;border:none;display:flex;padding:var(--spacing-150);justify-content:center;align-items:center;gap:var(--spacing-50);align-self:stretch;color:var(--color-text-inverse);text-align:center;border-radius:var(--border-radius-150);background:var(--button-bg-color-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-apply:disabled{background:var(--button-bg-color-disabled);color:var(--color-text-disabled)}.filters-modal-reset{background:none;border:none;cursor:pointer;display:block;text-align:center;width:100%;margin-top:20px;color:var(--color-text-secondary);text-align:center;font-size:var(--font-size-label);font-weight:var(--font-weight-500);line-height:var(--line-height-label);letter-spacing:var(--letter-spacing-label)}.selected-filters-wrapper>li{border-radius:var(--border-radius-100);background:var(--surface-bg-color-inverse);display:flex;align-items:center;justify-content:center;padding:var(--spacing-100);cursor:pointer}.filters-sub-button-selected{display:flex;align-items:center;gap:var(--spacing-25);background:var(--surface-bg-color-inverse);border-radius:var(--border-radius-100);color:var(--color-text-inverse);text-overflow:ellipsis;font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body)}.filters-sub-button-color{width:40px;height:40px;border:2px solid var(--color-border-01);border-radius:20px}.filters-sub-button-color:disabled{opacity:0.25}.filters-sub-button-selected.filters-sub-button-color{width:24px;height:24px;border:none}.filters-sub-button-color>span{display:none}.filters-sub-button-color.active{border:2px solid #fff;outline:2px solid #000;margin:2px 0}.filters-sub-button-color:first-child.active{margin-left:2px}.filters-modal-main-button-added-options{color:var(--color-text-secondary);text-overflow:ellipsis;font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body)}.filters-modal-main-button-added-options>span::after{content:", "}.filters-modal-main-button-added-options>span:last-child::after{content:""}';const wt=class{constructor(t){e(this,t),this.vviinnFiltersChanged=i(this,"vviinnFiltersChanged",7),this.vviinnFilters=i(this,"vviinnFilters",7),this.globalSlotsChanged=i(this,"globalSlotsChanged",7),this.timer=null,this.priceChangeHandler=t=>{this.timer&&clearTimeout(this.timer),this.timer=setTimeout((()=>{this.handleSubFilterSelection(t,this.selectedFilter)}),200)},this.handleSetFilters=({detail:t})=>{this.filters=t,this.selectedFilter&&(this.selectedFilter=this.filters.find((t=>t.column===this.selectedFilter.column))),t.some((({column:t})=>{var e;return t===(null===(e=this.selectedFilter)||void 0===e?void 0:e.column)}))||(this.selectedFilter=void 0)},this.handleFiltersChanged=({detail:t})=>{const{filters:e,el:i}=t;i!==this.el&&(this.requestFilters=e,this.selectedFilter||(this.selectedFilter=this.filters.find((t=>t.column===e[0].column))))},this.filters=[],this.filtersString="",this.selectedFilter=void 0,this.requestFilters=[]}handleMainFilterSelection(t){this.selectedFilter=t}emitRequestFiltersMore(t){this.vviinnFiltersChanged.emit({filters:t,el:this.el})}handleSubFilterSelection(t,e){this.filtersFooter.scrollLeft=0,this.requestFilters=mt(this.requestFilters,e,t),this.emitRequestFiltersMore([...this.requestFilters])}showActiveOnMainButton({column:t}){return this.selectedFilter&&this.selectedFilter.column===t?"active":""}showActiveOnSubButton(t,e,i){if(!i||!t)return!1;const r=t.find((({column:t})=>t===i.column));return r?!!r.values.some((t=>t===e||t===e.interval||t===e.value)):""}filtersStringWatcher(){if(""!==this.filtersString)try{this.filters=JSON.parse(this.filtersString)}catch(t){console.error("Invalid filters string",t)}}connectedCallback(){document.addEventListener("vviinnFilters",this.handleSetFilters),document.addEventListener("vviinnFiltersChanged",this.handleFiltersChanged),this.filtersStringWatcher()}disconnectedCallback(){document.removeEventListener("vviinnFilters",this.handleSetFilters),document.removeEventListener("vviinnFiltersChanged",this.handleFiltersChanged)}render(){var e,i,o;const{column:s}=null!==(e=this.selectedFilter)&&void 0!==e?e:{},n=xt(this.selectedFilter),l=this.filters.filter((t=>t.isPrimary));if(0===l.length)return t(r,null);const a=(e,i,r,o,s=!1)=>{const n=e.hexCode;return t("li",{onClick:()=>r?this.handleSubFilterSelection(e,o):null},t("button",{class:`filters-sub-button${s?"-selected":""} ${n?"filters-sub-button-color":""}`,style:{backgroundColor:n},disabled:!r},t("span",null,s?t("span",null,i):i," ",t(s?q:U,null))),s&&n&&t(K,null))};let d=[];return this.filters.forEach((t=>{"values"in t&&t.values.forEach((({value:e,label:i,active:r})=>{this.showActiveOnSubButton(this.requestFilters,e,t)&&r&&d.push(a(e,i,r,t,!0))}))})),t(r,{part:"filters"},t("div",{class:"main-filters-wrapper"},t("ul",{class:"main-filters-list"},l.map((e=>t("li",null,t("button",{class:`filters-main-button ${this.showActiveOnMainButton(e)}`,onClick:()=>this.handleMainFilterSelection(e)},e.label)))))),void 0!==this.selectedFilter&&t("div",{class:"filters-footer",ref:t=>this.filtersFooter=t},"price"===s?t("vviinn-price-range",{histogram:n,priceChangeHandler:this.priceChangeHandler,selectedInterval:null!==(o=null===(i=this.requestFilters.find((({column:t})=>"price"===t)))||void 0===i?void 0:i.values[0])&&void 0!==o?o:{}}):t("ul",{class:"sub-filters-wrapper"},n&&n.map((({value:t,label:e,active:i})=>this.showActiveOnSubButton(this.requestFilters,t,this.selectedFilter)?null:a(t,e,i,this.selectedFilter)))),d.length>0&&t("ul",{class:"selected-filters-wrapper"},d)))}get el(){return o(this)}static get watchers(){return{filtersString:["filtersStringWatcher"]}}};wt.style=':host{--color-primary-system:#0f62fe;--color-primary-hover-system:#014cda;--color-icons-system:#2f8edf;--product-card-width-system:130px;--spacer:8px;--font-weight-regular:400;--letter-spacing-default:0px;--radius-radius-md:8px;--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:"JetBrains Mono", monospace;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#525252;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;}:host{display:block;font-family:var(--font-family-base);font-style:normal}.filters-footer{overflow-x:auto}.filters-modal-list,.sub-filters-wrapper,.main-filters-list,.filters-modal-sub-list,.selected-filters-wrapper{list-style:none;margin:0;padding:0}.main-filters-wrapper{overflow-x:auto}.main-filters-list{padding:var(--spacing-25);gap:var(--spacing-25);border-radius:8px;background:var(--surface-bg-color-01);display:inline-flex}.filters-modal-main-button,.filters-sub-button,.filters-main-button,.filters-modal-close,.filters-sub-button-selected{cursor:pointer;border:none}.filters-sub-button,.filters-main-button{font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);display:flex;justify-content:center;align-items:center;border-radius:6px}.filters-main-button{padding:var(--spacing-100) 18px;color:var(--color-text-helper);background:none}.filters-main-button.active,.filters-main-button:hover{background:var(--surface-bg-color-02);color:var(--color-text-primary)}.filters-footer{padding:16px 0}.sub-filters-wrapper{gap:var(--spacing-100);display:flex}.selected-filters-wrapper{margin-top:16px;padding-top:16px;border-top:1px solid var(--surface-bg-color-01);gap:var(--spacing-100);display:flex}.filters-sub-button{color:var(--color-text-primary);background:var(--surface-bg-color-01);padding:var(--spacing-100);gap:var(--spacing-25)}.filters-sub-button>span,.filters-sub-button-selected>span{display:inline-flex;justify-content:center;align-items:center;gap:var(--spacing-25);white-space:nowrap}.filters-sub-button-selected>span>span{padding:2px}.filters-sub-button:hover{background:var(--surface-bg-color-01);box-shadow:0px 4px 4px 0px rgba(0, 0, 0, 0.25)}.filters-sub-button:disabled{cursor:not-allowed;background:var(--surface-bg-color-disabled);color:var(--color-text-disabled)}.filters-more-button{display:flex;padding:var(--spacing-100);gap:var(--spacing-50);border-radius:var(--border-radius-100);align-items:flex-start;background:var(--button-bg-color-secondary);border:none;cursor:pointer}.filters-modal{display:none;position:fixed;top:0;bottom:0;right:0;left:0;background-color:rgba(0, 0, 0, 0.5);z-index:98}.filters-modal.open{display:block}.filters-modal-wrapper{position:fixed;top:0;bottom:0;right:0;width:420px;background-color:#ffffff;z-index:99;border-radius:32px 0px 0px 32px;display:flex;flex-direction:column}@media (max-width: 768px){.filters-modal-wrapper{width:100%;top:20%;border-radius:32px 32px 0px 0px}}.filters-modal-header{position:relative;padding:20px 0;color:var(--color-text-primary);text-align:center;font-size:var(--font-size-headline);font-weight:var(--font-weight-500);line-height:var(--line-height-headline);letter-spacing:var(--letter-spacing-headline);border-bottom:1px solid var(--color-border-01);display:flex;justify-content:center;gap:5px}.filters-modal-list{margin:4px 0 0 24px;flex:1;overflow-y:auto;padding-bottom:20px}.filters-modal-list>li{padding-right:24px}.filters-modal-main-button-wrapper{border-bottom:1px solid var(--color-border-01);padding:20px 0}.filters-modal-main-button{width:100%;background:none;text-align:left;padding:0;color:var(--color-text-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-sub-list{display:none;margin:0 -4px}.filters-modal-sub-list>li{display:inline-block;margin:0 4px}.filters-modal-sub-list-inline{margin:0 -6px}.filters-modal-sub-list-inline>li{margin:0 6px}.filters-modal-sub-list.open{display:block}.filters-modal-sub-list>li{margin-top:10px}.filters-modal-close{position:absolute;right:0;top:15px;cursor:pointer;background:none}.filters-more-modal-button{background:none;border:none;cursor:pointer;display:flex;padding:var(--spacing-100);align-items:center;gap:var(--spacing-25);border-radius:var(--border-radius-100);background:var(--surface-bg-color-01);color:var(--color-text-primary)}.filters-more-modal-button.active{background:var(--surface-bg-color-inverse);color:var(--color-text-inverse)}.filters-more-modal-button>span{display:flex;align-items:center;justify-content:center;gap:var(--spacing-25)}.filters-more-modal-button>span>span{padding:2px}.filters-more-modal-button:disabled{cursor:not-allowed;opacity:0.5}.filters-modal-actions{border-top:1px solid var(--color-border-01);padding:var(--spacing-250);z-index:10;background:#ffffff;border-radius:0px 0px 0px 32px}.filters-modal-apply{cursor:pointer;width:100%;border:none;display:flex;padding:var(--spacing-150);justify-content:center;align-items:center;gap:var(--spacing-50);align-self:stretch;color:var(--color-text-inverse);text-align:center;border-radius:var(--border-radius-150);background:var(--button-bg-color-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-apply:disabled{background:var(--button-bg-color-disabled);color:var(--color-text-disabled)}.filters-modal-reset{background:none;border:none;cursor:pointer;display:block;text-align:center;width:100%;margin-top:20px;color:var(--color-text-secondary);text-align:center;font-size:var(--font-size-label);font-weight:var(--font-weight-500);line-height:var(--line-height-label);letter-spacing:var(--letter-spacing-label)}.selected-filters-wrapper>li{border-radius:var(--border-radius-100);background:var(--surface-bg-color-inverse);display:flex;align-items:center;justify-content:center;padding:var(--spacing-100);cursor:pointer}.filters-sub-button-selected{display:flex;align-items:center;gap:var(--spacing-25);background:var(--surface-bg-color-inverse);border-radius:var(--border-radius-100);color:var(--color-text-inverse);text-overflow:ellipsis;font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body)}.filters-sub-button-color{width:40px;height:40px;border:2px solid var(--color-border-01);border-radius:20px}.filters-sub-button-color:disabled{opacity:0.25}.filters-sub-button-selected.filters-sub-button-color{width:24px;height:24px;border:none}.filters-sub-button-color>span{display:none}.filters-sub-button-color.active{border:2px solid #fff;outline:2px solid #000;margin:2px 0}.filters-sub-button-color:first-child.active{margin-left:2px}.filters-modal-main-button-added-options{color:var(--color-text-secondary);text-overflow:ellipsis;font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body)}.filters-modal-main-button-added-options>span::after{content:", "}.filters-modal-main-button-added-options>span:last-child::after{content:""}';const Lt=class{constructor(t){e(this,t),this.histogram=[],this.addStyle=!0,this.priceChangeHandler=void 0,this.selectedInterval=void 0,this.minIndex=0,this.maxIndex=void 0,this.scalingFactor=void 0}getParsed(t,e){return[parseInt(t.value,10),parseInt(e.value,10)]}componentDidLoad(){this.setToggleAccessible(this.toSlider)}componentWillLoad(){this.maxIndex=this.histogram.length-1;const t=Math.max(...this.histogram.map((({value:t})=>t.frequency)));this.scalingFactor=1/t,this.updatingSelectedInterval()}updatingSelectedInterval(){this.minIndex=void 0!==this.selectedInterval.start?this.histogram.findIndex((({value:t})=>t.interval.start===this.selectedInterval.start)):0,this.maxIndex=this.selectedInterval.end?this.histogram.findIndex((t=>t.value.interval.end===this.selectedInterval.end)):this.histogram.length-1}controlFromSlider(t,e){const[i,r]=this.getParsed(t,e);i>r&&(t.value=r),this.sendBackValue()}controlToSlider(t,e){const[i,r]=this.getParsed(t,e);this.setToggleAccessible(e),e.value=i<=r?r:i,this.sendBackValue()}sendBackValue(){this.priceChangeHandler({interval:{start:this.histogram[this.minIndex].value.interval.start,end:this.histogram[this.maxIndex].value.interval.end}})}setToggleAccessible(t){this.toSlider.style.zIndex=Number(t.value)<=0?"2":"0"}calculateBarHeight(t){return t*this.scalingFactor*100}render(){const e=this.histogram.length-1;return t(r,null,t("div",null,t("div",{class:"histogram"},this.histogram.map(((e,i)=>t("div",{class:"histogram-bar "+(i<this.minIndex||i>this.maxIndex?"histogram-bar-inactive":""),style:{height:`${this.calculateBarHeight(e.value.frequency)}%`}})))),t("div",{class:"range_container"},t("div",{class:"sliders_control"},t("input",{ref:t=>this.fromSlider=t,id:"fromSlider",type:"range",min:"0",max:e,value:this.minIndex,onInput:t=>{this.minIndex=parseInt(t.target.value),this.controlFromSlider(this.fromSlider,this.toSlider)}}),t("input",{ref:t=>this.toSlider=t,id:"toSlider",type:"range",min:"0",max:e,value:this.maxIndex,onInput:t=>{this.maxIndex=parseInt(t.target.value),this.controlToSlider(this.fromSlider,this.toSlider)}}))),t("div",{class:"label-wrapper"},t("div",{class:"label"},this.histogram[this.minIndex].label),t("div",{class:"label"},this.histogram[this.maxIndex].label))))}get el(){return o(this)}static get watchers(){return{selectedInterval:["updatingSelectedInterval"]}}};Lt.style=':host{--color-primary-system:#0f62fe;--color-primary-hover-system:#014cda;--color-icons-system:#2f8edf;--product-card-width-system:130px;--spacer:8px;--font-weight-regular:400;--letter-spacing-default:0px;--radius-radius-md:8px;--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:"JetBrains Mono", monospace;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#525252;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;}:host{display:block;max-width:400px;font-family:var(--font-family-base)}.histogram{height:64px;display:flex;align-items:flex-end;gap:1px;margin:0 0.6%}.histogram-bar{background:var(--surface-inverse-bg-color, #262626);flex:1;border-radius:2px 2px 0px 0px}.histogram-bar.histogram-bar-inactive{background:var(--surface-bg-color-disabled)}.range_container{display:flex;flex-direction:column;width:99.4%;margin-top:-2px}.range_container .sliders_control{position:relative;min-height:25px}.range_container .form_control{position:relative;display:flex;justify-content:space-between;font-size:24px;color:#635a5a}.range_container input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:all;width:32px;height:32px;background-color:var(--color-bg-base);border-radius:50%;box-shadow:0 0 0 1px var(--color-border-02);cursor:pointer}.range_container input[type="range"]::-moz-range-thumb{-webkit-appearance:none;pointer-events:all;width:32px;height:32px;background-color:var(--color-bg-base);border-radius:50%;box-shadow:0 0 0 1px var(--color-border-02);cursor:pointer}.range_container input[type="range"]::-webkit-slider-thumb:hover{background:#f7f7f7}.range_container input[type="range"]::-webkit-slider-thumb:active{box-shadow:inset 0 0 3px #387bbe, 0 0 9px #387bbe;-webkit-box-shadow:inset 0 0 3px #387bbe, 0 0 9px #387bbe}.range_container input[type="range"]{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:2px;width:99.4%;position:absolute;background:var(--color-border-01);pointer-events:none}.range_container #fromSlider{height:0;z-index:1}.label-wrapper{display:flex;justify-content:space-between;margin-top:6px}.label-wrapper .label{display:flex;padding:var(--spacing-25) var(--spacing-100);justify-content:center;align-items:center;border-radius:var(--border-radius-100);background:var(--chip-bg-color-primary);color:var(--color-text-inverse);text-align:center;font-size:var(--font-size-label);font-style:normal;font-weight:var(--font-weight-500);line-height:var(--line-height-label);letter-spacing:var(--letter-spacing-label)}';class Vt{sendImpression(t){var e,i,r;t&>ag("event","view_item_list",{items:[{id:t.productId,name:t.title,brand:null!==(e=t.brand)&&void 0!==e?e:"",category:null!==(i=t.productType)&&void 0!==i?i:"",list_name:"VI VPR View",price:Math.min(t.price.actual,null!==(r=t.price.sale)&&void 0!==r?r:1/0)}]})}sendClick(t){var e,i,r;gtag("event","select_content",{content_type:"product",items:[{id:t.productId,name:t.title,brand:null!==(e=t.brand)&&void 0!==e?e:"",category:null!==(i=t.productType)&&void 0!==i?i:"",list_name:"VI VPR View",price:Math.min(t.price.actual,null!==(r=t.price.sale)&&void 0!==r?r:1/0)}]})}}class yt{constructor(){ga("require","ec")}convertProduct(t){var e,i,r;return{id:t.productId,name:t.title,brand:null!==(e=t.brand)&&void 0!==e?e:"",category:null!==(i=t.productType)&&void 0!==i?i:"",list:"VI VPR View",price:Math.min(t.price.actual,null!==(r=t.price.sale)&&void 0!==r?r:1/0)}}sendImpression(t){ga("ec:addImpression",this.convertProduct(t))}sendClick(t){var e,i,r;ga("ec:addProduct",{id:t.productId,name:t.title,brand:null!==(e=t.brand)&&void 0!==e?e:"",category:null!==(i=t.productType)&&void 0!==i?i:"",price:Math.min(t.price.actual,null!==(r=t.price.sale)&&void 0!==r?r:1/0)}),ga("ec:setAction","click",{list:"VI VPR View"})}}const Mt=h.getMonoid(p.first()).concat(d.pipe(h.fromNullable(window.gtag),h.map((()=>new Vt))),d.pipe(h.fromNullable(window.ga),h.map((()=>new yt)))),kt=/fit\/\d+\//,Zt=(t,e)=>d.pipe((t=>d.pipe(t.match(kt),u.fromNullable(t),u.map((()=>t))))(t),u.map((t=>t.replace(kt,`fit/${e}/`))),u.getOrElse((()=>t))),_t=(e,i)=>e.deeplink?t("a",{class:e.part,part:e.part,href:e.deeplink},i):i,zt=e=>{const i=e.priceType,r=new Intl.NumberFormat(e.locale,{minimumFractionDigits:2}).format(e.price),o=e.prefix?t("span",{part:"price-prefix"},e.prefix+" "):null,s=e.currency?t("span",{part:"currency"}," ",e.currency):null;return t("span",{class:"price-amount",part:"price-amount"+(i?"-"+i:"")},o,r,s)},It=e=>t("span",{class:"price-container",part:"price-container"},e.salePrice?[t("span",{class:"price-sale",part:"price-sale"},t(zt,{prefix:e.prefix,currency:e.currency,price:e.salePrice,locale:e.locale,priceType:"sale"})),t("span",{class:"price-outdated",part:"price-outdated"},t(zt,{prefix:e.prefix,currency:e.currency,price:e.price,locale:e.locale,priceType:"outdated"}))]:t("span",{class:"price-regular",part:"price-regular"},t(zt,{prefix:e.prefix,currency:e.currency,price:e.price,locale:e.locale,priceType:"regular"}))),St=class{constructor(t){e(this,t),this.vviinnProductLoad=i(this,"vviinnProductLoad",7),this.vviinnProductView=i(this,"vviinnProductView",7),this.vviinnProductClick=i(this,"vviinnProductClick",7),this.vviinnAddToBasket=i(this,"vviinnAddToBasket",7),this.vviinnAuxClick=i(this,"vviinnAuxClick",7),this.vviinnCrossSellingClick=i(this,"vviinnCrossSellingClick",7),this.vviinnUpdatingAllCardsStarted=i(this,"vviinnUpdatingAllCardsStarted",7),this.vviinnUpdatingAllCardsFinished=i(this,"vviinnUpdatingAllCardsFinished",7),this.productData=null,this.intersectionCallback=t=>{t.some((t=>t.isIntersecting))&&(d.pipe(Mt,h.map((t=>t.sendImpression(this.getProduct())))),this.vviinnProductView.emit(this.productData),this.intersectionObserver.disconnect())},this.brand=void 0,this.currency=void 0,this.image=void 0,this.imageRatio=1,this.imageWidth=200,this.locale=void 0,this.price=void 0,this.pricePrefix=void 0,this.productTitle=void 0,this.productType=void 0,this.salePrice=void 0,this.responsive=!1,this.dimmedBackground=!1,this.mode=void 0,this.basketButtonShow=void 0,this.updateButtonLocation=void 0,this.energyEfficiencyClass=void 0,this.productId=void 0,this.campaignTypeId=void 0,this.widgetElementId=void 0,this.buttonElementId=void 0,this.widgetVersion=void 0,this.deeplink=void 0,this.index=0,this.updatingAllCards=void 0,this.defaultAnimationInterval=void 0,this.minEnergyEfficiencyClass=void 0,this.maxEnergyEfficiencyClass=void 0,this.appliedDiscountPercentage=void 0,this.currentDiscountPercentage=void 0,this.isSourceProduct=!1,this.isTransitioning=!1,this.basketButonPressed=!1}connectedCallback(){this.productData=this.getProductData(),this.isSetMode="set"===this.mode,this.isGridMode="grid"===this.mode,this.isContinuityMode="continuity"===this.mode}componentWillLoad(){V(this,this.el)}componentDidLoad(){this.vviinnProductLoad.emit(this.productData),this.intersectionObserver=new IntersectionObserver(this.intersectionCallback.bind(this.imageElement),{threshold:1}),this.intersectionObserver.observe(this.imageElement),this.addLinksEventListeners()}crossSellingClickListener({detail:t}){const{animationInterval:e}=t;this.isTransitioning=!0,this.basketButonPressed=!1;const i=setTimeout((()=>{this.isTransitioning=!1,clearTimeout(i)}),e)}updatingAllCardsWatcher(){if(!this.updatingAllCards)return;this.vviinnUpdatingAllCardsStarted.emit(),this.isTransitioning=!0,this.basketButonPressed=!1;const t=setTimeout((()=>{this.vviinnUpdatingAllCardsFinished.emit(),this.isTransitioning=!1,clearTimeout(t)}),this.defaultAnimationInterval)}productIdWatcher(){this.productData=this.getProductData()}getWidgetType(){return"VPR"===this.campaignTypeId||"VCS"===this.campaignTypeId?"VPR":"VPS"}getProductData(){var t;return{productId:this.productId,productRank:this.index,productName:this.productTitle,productType:this.productType,widgetType:this.getWidgetType(),campaignTypeId:this.campaignTypeId,campaignTypeName:L[this.campaignTypeId],widgetId:null!==(t=this.buttonElementId)&&void 0!==t?t:this.widgetElementId,widgetVersion:this.widgetVersion}}addLinksEventListeners(){this.el.shadowRoot.querySelectorAll("a").forEach((t=>{t.addEventListener("click",(t=>{t.preventDefault(),t.stopImmediatePropagation(),this.vviinnProductClick.emit(Object.assign(Object.assign({},this.productData),{clickEvent:t})),d.pipe(Mt,h.match((()=>null),(t=>t.sendClick(this.getProduct()))))})),t.addEventListener("auxclick",(()=>{this.vviinnAuxClick.emit(Object.assign({},this.productData))}))}))}getProduct(){return a.results.find((t=>t.productId===this.productId))}renderImage(){const e={width:this.imageWidth,height:this.imageWidth*this.imageRatio,src:this.image,title:this.productTitle,lazy:!1,ref:t=>{this.imageElement=t},isSource:this.isSourceProduct};return this.responsive?((e,i=(()=>{}))=>t("picture",null,t("img",{loading:e.lazy?"lazy":"eager",part:"image",class:"image responsive",src:Zt(e.src,e.width),alt:e.title,ref:e.ref,onLoad:i})))(e):((e,i=(()=>{}))=>t("picture",null,t("img",{loading:e.lazy?"lazy":"eager",part:"image",class:"image",width:e.width,height:e.height,src:Zt(e.src,e.width),alt:e.title,ref:e.ref,onLoad:i}),e.isSource&&t(F,null)))(e)}render(){return t(r,{part:"product-card",class:{dimmed:this.dimmedBackground,animated:this.isTransitioning,"set-mode":this.isSetMode},exportparts:"brand, currency, deeplink, image, image-link, price-amount-sale, price-amount-outdated, price-amount-regular, price-container, price-outdated, price-regular, price-sale, price-prefix, discount-label, discount-percentage, title, basket-button, update-button-item, energy-label"},t(_t,{deeplink:this.deeplink,part:"image-link"},this.renderImage()),this.isTransitioning?t(s,null,t("vviinn-skeleton",{height:20}),t("vviinn-skeleton",{height:20,halfWidth:!0})):t(s,null,t(_t,{deeplink:this.deeplink,part:"deeplink"},t("span",{class:"title",part:"title"},this.productTitle)),t("span",{class:"brand",part:"brand"},this.brand),t("vviinn-energy-label",{energyEfficiencyClass:this.energyEfficiencyClass,minEnergyEfficiencyClass:this.minEnergyEfficiencyClass,maxEnergyEfficiencyClass:this.maxEnergyEfficiencyClass,productType:this.productType}),t(It,{prefix:this.pricePrefix,currency:this.currency,price:this.price,salePrice:this.salePrice,locale:this.locale}),this.isSetMode&&!this.appliedDiscountPercentage&&this.currentDiscountPercentage&&t("div",{class:"discount-label",part:"discount-label"},`-${this.currentDiscountPercentage}%`)),(this.basketButtonShow||this.isSetMode)&&t(s,null,this.isTransitioning&&t("vviinn-skeleton",{height:44}),t("button",{class:{"basket-button":!0,"basket-button--hidden":this.isTransitioning,"basket-button-grid":this.isGridMode||this.isSetMode,"basket-button-continuity ":this.isContinuityMode,pressed:this.basketButonPressed},part:"basket-button",onClick:()=>{this.vviinnAddToBasket.emit(Object.assign(Object.assign({},this.productData),{discount:this.currentDiscountPercentage})),this.basketButonPressed=!0}},this.isSetMode?t(s,null,!this.basketButonPressed&&t("div",{key:"set-not-pressed",class:"basket-button-container"},t("span",{class:"basket-button-icon-container"},t("slot",{name:"vviinn-basket-button-icon"},t(D,null))),t("span",null,t("slot",{name:"vviinn-basket-button-text"},Z.t("setMode.basketButtonText")))),this.basketButonPressed&&t("div",{key:"set-pressed",class:"basket-button-container"},t("span",{class:"basket-button-icon-container"},t("slot",{name:"vviinn-basket-button-icon-pressed"},t(W,null))),t("span",null,this.appliedDiscountPercentage&&t("span",{class:"discount-percentage",part:"discount-percentage"},this.appliedDiscountPercentage,"%"),t("slot",{name:"vviinn-basket-button-text-pressed"},Z.t("setMode.appliedDiscountText"))))):t("slot",{name:"vviinn-basket-button-text"},Z.t("basketButtonText")))),this.isSetMode&&!this.basketButonPressed&&t("button",{class:{"update-button":!0,hidden:"onTop"===this.updateButtonLocation},part:"update-button-item",onClick:()=>{this.vviinnCrossSellingClick.emit({animationInterval:(800,1400,Math.floor(601*Math.random())+800),productData:this.productData})}},t("slot",{name:"vviinn-update-button-icon"},t($,null))))}get el(){return o(this)}static get watchers(){return{updatingAllCards:["updatingAllCardsWatcher"],productId:["productIdWatcher"]}}};St.style=":host{align-items:center;display:flex;flex-direction:column;position:relative;gap:8px;height:100%;--min-image-size-set-mode:155px}.price-container{display:flex;flex-direction:column}.price-sale,.price-regular{font-style:normal;font-weight:normal;font-size:16px;line-height:24px;color:#161616}.price-outdated{font-style:normal;font-weight:normal;font-size:16px;line-height:24px;color:#757575;text-decoration:line-through}.product-type{word-wrap:anywhere}.image{display:grid;align-content:center;-o-object-position:50% 50%;object-position:50% 50%;-o-object-fit:contain;object-fit:contain;text-align:center;box-sizing:border-box}.image.responsive{width:100%;height:auto;aspect-ratio:1}.brand{display:none}.title{-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;text-overflow:ellipsis;color:#161616;display:-webkit-box;font-size:16px;font-style:normal;font-weight:500;line-height:24px;overflow:hidden}.deeplink{text-decoration:none;max-width:100%}.image-link{display:contents}picture{position:relative;width:100%}picture::before{content:\"\";opacity:0;width:100%;height:100%;box-sizing:border-box;display:block;top:0;left:0;position:absolute}.update-button{position:absolute;top:8px;right:8px;padding:6px;width:32px;height:32px;z-index:1;background-color:rgba(127, 127, 127, 0.4);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border:none;color:white;cursor:pointer}.update-button svg{width:20px;height:20px}.update-button::after{content:\"\";position:absolute;top:-4px;right:-4px;width:calc(100% + 8px);height:calc(100% + 8px)}.update-button:hover{background-color:rgba(127, 127, 127, 0.5)}.update-button.hidden{display:none}.basket-button{font-size:16px;padding:10px 12px;box-sizing:border-box;border:none;cursor:pointer}.basket-button-icon-container{display:inline-flex;align-items:center;justify-content:center}.basket-button.basket-button-grid{width:100%;background-color:unset;border:1px solid #dddddd}.basket-button.basket-button-continuity{align-self:start;background-color:#f7f7f7}.basket-button-continuity:hover{background-color:#eaeaea}.basket-button-grid:hover{background-color:#f7f7f7}:host(.dimmed) picture::after{content:\"\";width:100%;height:100%;box-sizing:border-box;background-color:#f7f7f7;display:block;top:0;left:0;position:absolute;mix-blend-mode:multiply}:host(.animated) picture::after{mix-blend-mode:normal}:host(.animated) picture::before{opacity:1;animation:pulse 1.8s infinite}:host(.animated) picture::after{content:url(\"data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_810_154)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M64.7332 1.23333C66.2665 12.2667 67.9665 13.9667 78.6665 15.2333C79.4332 15.3333 79.9999 15.9333 79.9999 16.6667C79.9999 17.4 79.4665 17.9333 78.6665 18.0667C67.9665 19.3667 66.2999 21.0333 64.7332 32.0667C64.6332 32.8 64.0665 33.3333 63.3665 33.3333C62.6665 33.3333 62.0999 32.8 61.9665 32.0667C60.4665 21.0333 58.7665 19.3667 48.0332 18.0667C47.2332 17.9667 46.6999 17.4333 46.6999 16.6667C46.6999 15.9 47.2332 15.3667 48.0332 15.2333C58.7665 13.7667 60.3999 12.2 61.9665 1.23333C62.0999 0.5 62.6665 0 63.3665 0C64.0665 0 64.5999 0.5 64.7332 1.23333ZM38.5665 71.5667C38.3665 72.6 37.6665 73.3333 36.6665 73.3333C35.6665 73.3333 34.9665 72.6 34.7998 71.5667C31.9332 50.7 29.0998 47.9 8.49984 45.2C7.39984 45.1 6.6665 44.3 6.6665 43.3C6.6665 42.3 7.39984 41.5333 8.49984 41.4333C29.1332 39.1333 32.0998 35.9333 34.7998 15.0333C34.9665 14.0333 35.6665 13.3333 36.6665 13.3333C37.6665 13.3333 38.3665 14 38.5665 15.0333C41.2665 35.9333 44.1998 39.1333 64.8665 41.4333C65.9332 41.5333 66.6665 42.2667 66.6665 43.3C66.6665 44.3333 65.9332 45.1 64.8665 45.2C44.1998 47.5 41.2665 50.7 38.5665 71.5667Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_810_154'%3E%3Crect width='80' height='80' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E\");background-color:transparent;position:absolute;width:80px;height:80px;left:calc(50% - 40px);top:calc(50% - 40px)}:host(.animated) .update-button{display:none}:host(.set-mode){line-height:20px;align-items:flex-start;height:auto}:host(.set-mode) .basket-button{border:none;background-color:#f4f4f4;font-weight:500;color:#525252}:host(.set-mode) .basket-button-container{display:flex;gap:8px;align-items:center;box-sizing:border-box;justify-content:center}:host(.set-mode:not(.animated)) .basket-button{margin-top:auto}:host(.set-mode) .basket-button:hover{background-color:rgb(234, 234, 234)}:host(.set-mode) .title{font-weight:400}:host(.set-mode) .image{width:var(--vviinn-set-mode-image-width, 100%);height:auto;border:none;aspect-ratio:1;min-width:var(--min-image-size-set-mode);min-height:var(--min-image-size-set-mode)}:host(.set-mode.product-card--source){height:-moz-fit-content;height:fit-content;flex-grow:1}:host(.set-mode.product-card--source) .image{aspect-ratio:1;width:100%;height:100%}:host(.set-mode) picture .plus-icon{background-color:white;position:absolute;z-index:1;padding:16px;top:calc(50% - 32px);color:#a8a8a8;right:-88px;outline:1px solid #f4f4f4;border-radius:50%;width:32px;height:32px}@media (max-width: 768px){:host(.set-mode) picture .plus-icon{padding:8px;top:calc(50% - 24px);right:-24px}}:host(.set-mode) .basket-button.pressed{background:transparent;border:1px solid #e0e0e0}:host(.set-mode) .basket-button.pressed .discount-percentage{padding-right:5px}:host(.set-mode) .basket-button--hidden{display:none}:host(.set-mode) .price-container{flex-direction:row;flex-wrap:wrap}:host(.set-mode) .price-amount{margin-right:12px}@media (max-width: 1080px){:host(.set-mode) .price-amount{margin-right:8px}}@keyframes pulse{0%{background-color:rgb(244, 244, 244)}50%{background-color:rgb(232, 232, 232)}100%{background-color:rgba(244, 244, 244)}}.discount-label{position:absolute;left:0;top:13px;line-height:20px;padding:2px 4px;border-radius:0px 4px 4px 0px;color:white;background-color:#ff3944;letter-spacing:0.5px}";const jt=class{constructor(t){e(this,t),this.height=void 0,this.halfWidth=!1}render(){return t(r,null,t("div",{class:{"vviinn-skeleton":!0},style:{height:`${this.height.toString()}px`,width:this.halfWidth?"50%":"100%"}}))}get el(){return o(this)}};function Tt(t){return"function"==typeof t}function Pt(t){const e=t((t=>{Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}jt.style=":host{display:block;width:100%;height:100%;line-height:0}.vviinn-skeleton{display:inline-block;animation:pulse 1.2s infinite}@keyframes pulse{0%{background-color:rgb(244, 244, 244)}50%{background-color:rgb(232, 232, 232)}100%{background-color:rgba(244, 244, 244)}}";const Et=Pt((t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map(((t,e)=>`${e+1}) ${t.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e}));function Bt(t,e){if(t){const i=t.indexOf(e);0<=i&&t.splice(i,1)}}class At{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const t of e)t.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(Tt(i))try{i()}catch(e){t=e instanceof Et?e.errors:[e]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const e of r)try{Rt(e)}catch(e){t=null!=t?t:[],e instanceof Et?t=[...t,...e.errors]:t.push(e)}}if(t)throw new Et(t)}}add(t){var e;if(t&&t!==this)if(this.closed)Rt(t);else{if(t instanceof At){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&Bt(e,t)}remove(t){const{_finalizers:e}=this;e&&Bt(e,t),t instanceof At&&t._removeParent(this)}}At.EMPTY=(()=>{const t=new At;return t.closed=!0,t})();const Ot=At.EMPTY;function Ft(t){return t instanceof At||t&&"closed"in t&&Tt(t.remove)&&Tt(t.add)&&Tt(t.unsubscribe)}function Rt(t){Tt(t)?t():t.unsubscribe()}const Dt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Wt={setTimeout(t,e,...i){const{delegate:r}=Wt;return(null==r?void 0:r.setTimeout)?r.setTimeout(t,e,...i):setTimeout(t,e,...i)},clearTimeout(t){const{delegate:e}=Wt;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Nt(){}const $t=Jt("C",void 0,void 0);function Jt(t,e,i){return{kind:t,value:e,error:i}}function Gt(t){t()}class Ut extends At{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ft(t)&&t.add(this)):this.destination=ee}static create(t,e,i){return new Xt(t,e,i)}next(t){this.isStopped?te(function(t){return Jt("N",t,void 0)}(t),this):this._next(t)}error(t){this.isStopped?te(Jt("E",void 0,t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?te($t,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const qt=Function.prototype.bind;function Kt(t,e){return qt.call(t,e)}class Qt{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(t){Yt(t)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(t){Yt(t)}else Yt(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(t){Yt(t)}}}class Xt extends Ut{constructor(t,e,i){let r;if(super(),Tt(t)||!t)r={next:null!=t?t:void 0,error:null!=e?e:void 0,complete:null!=i?i:void 0};else{let e;this&&Dt.useDeprecatedNextContext?(e=Object.create(t),e.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Kt(t.next,e),error:t.error&&Kt(t.error,e),complete:t.complete&&Kt(t.complete,e)}):r=t}this.destination=new Qt(r)}}function Yt(t){var e;e=t,Wt.setTimeout((()=>{const{onUnhandledError:t}=Dt;if(!t)throw e;t(e)}))}function te(t,e){const{onStoppedNotification:i}=Dt;i&&Wt.setTimeout((()=>i(t,e)))}const ee={closed:!0,next:Nt,error:function(t){throw t},complete:Nt},ie="function"==typeof Symbol&&Symbol.observable||"@@observable";function re(t){return t}class oe{constructor(t){t&&(this._subscribe=t)}lift(t){const e=new oe;return e.source=this,e.operator=t,e}subscribe(t,e,i){const r=(o=t)&&o instanceof Ut||function(t){return t&&Tt(t.next)&&Tt(t.error)&&Tt(t.complete)}(o)&&Ft(o)?t:new Xt(t,e,i);var o;return Gt((()=>{const{operator:t,source:e}=this;r.add(t?t.call(r,e):e?this._subscribe(r):this._trySubscribe(r))})),r}_trySubscribe(t){try{return this._subscribe(t)}catch(e){t.error(e)}}forEach(t,e){return new(e=se(e))(((e,i)=>{const r=new Xt({next:e=>{try{t(e)}catch(t){i(t),r.unsubscribe()}},error:i,complete:e});this.subscribe(r)}))}_subscribe(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)}[ie](){return this}pipe(...t){return(0===(e=t).length?re:1===e.length?e[0]:function(t){return e.reduce(((t,e)=>e(t)),t)})(this);var e}toPromise(t){return new(t=se(t))(((t,e)=>{let i;this.subscribe((t=>i=t),(t=>e(t)),(()=>t(i)))}))}}function se(t){var e;return null!==(e=null!=t?t:Dt.Promise)&&void 0!==e?e:Promise}oe.create=t=>new oe(t);const ne=Pt((t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}));class le extends oe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const e=new ae(this,this);return e.operator=t,e}_throwIfClosed(){if(this.closed)throw new ne}next(t){Gt((()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const e of this.currentObservers)e.next(t)}}))}error(t){Gt((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:e}=this;for(;e.length;)e.shift().error(t)}}))}complete(){Gt((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:e,isStopped:i,observers:r}=this;return e||i?Ot:(this.currentObservers=null,r.push(t),new At((()=>{this.currentObservers=null,Bt(r,t)})))}_checkFinalizedStatuses(t){const{hasError:e,thrownError:i,isStopped:r}=this;e?t.error(i):r&&t.complete()}asObservable(){const t=new oe;return t.source=this,t}}le.create=(t,e)=>new ae(t,e);class ae extends le{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,t)}error(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==i?i:Ot}}const de=d.flow((t=>`Bearer ${t}`),(t=>new Headers({Authorization:t,"Content-Type":"application/json"})),(t=>({headers:t}))),ce=(he=m,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var i=t.length,r=it(i),o=he.map(t[0],r),s=1;s<i;s++)o=he.ap(o,t[s]);return o});var he;const pe=(t,e={})=>f(ce(C(),x),v,g(b(t,e))),ue=t=>e=>pe("similar-products",Object.assign(Object.assign({},e),{body:JSON.stringify(t)})),fe=t=>e=>pe("cross-selling",Object.assign(Object.assign({},e),{body:JSON.stringify(t)})),ge=t=>t.split(";").map((t=>{const[e,i]=t.split(":");return{column:e,values:[i]}})),be=t=>t.split(",").map((t=>{const e=t.trim();return isNaN(parseInt(e))?e:parseInt(e)}));var ve=function(t,e){var i={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(i[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(i[r[o]]=t[r[o]])}return i};const Ce=class{constructor(t){e(this,t),this.vviinnWidgetLoad=i(this,"vviinnWidgetLoad",7),this.vviinnProductLoad=i(this,"vviinnProductLoad",7),this.vviinnProductView=i(this,"vviinnProductView",7),this.vviinnProductClick=i(this,"vviinnProductClick",7),this.vviinnResultLoad=i(this,"vviinnResultLoad",7),this.vviinnResultView=i(this,"vviinnResultView",7),this.vviinnNoResult=i(this,"vviinnNoResult",7),this.vviinnAddToBasket=i(this,"vviinnAddToBasket",7),this.vviinnFiltersChanged=i(this,"vviinnFiltersChanged",7),this.globalSlotsChanged=i(this,"globalSlotsChanged",7),this.vviinnRecommendationsLoaded=i(this,"vviinnRecommendationsLoaded",7),this.vviinnWidgetOpen=i(this,"vviinnWidgetOpen",7),this.vviinnWidgetClose=i(this,"vviinnWidgetClose",7),this.productImageLoadedSubject=new le,this.resultViewed=!1,this.requestDynamicFilters=[],this.setTrackingDeactivated=t=>{"rejected"===t.status&&(this.trackingDeactivated=!0)},this.token=void 0,this.productId=void 0,this.mode="continuity",this.campaigns="",this.excluded="",this.campaignType="set"===this.mode?"VCS":"VPR",this.locale="de-DE",this.color="",this.imageWidth=300,this.imageRatio=1,this.cssUrl=null,this.currencySign="€",this.pricePrefix="",this.noResultText="",this.noResultShow=!0,this.gridArrowsDynamic=!1,this.productDetailsNewTab=!1,this.productDetailsRedirect=!0,this.addToBasketShow=!1,this.showFilters=!1,this.showExtendedFilters=!1,this.setModeDiscounts="set"===this.mode?"5, 10, 15":"",this.updateButtonLocation="topAndItem",this.blockTitle="Recommended products",this.showScroll=!0,this.apiPath="https://api.vviinn.com",this.useCarousel=!0,this.showingInButton=!1,this.buttonElementId=void 0,this.closed=void 0,this.opened=void 0,this.recommendations=[],this.dynamicFilters=[],this.sourceProduct=null,this.trackingDeactivated=!1,this.hasErrorOnLoad=!1,this.updatingAllCards=!1,this.updatedCardsAmount=0,this.setModeDiscountsArray=[]}getBasicEventData(){return{widgetType:"VPR",campaignTypeId:this.campaignType,campaignTypeName:L[this.campaignType],widgetId:this.id,widgetVersion:R}}handleOpenLink(t,e){if(this.productDetailsRedirect)if(this.productDetailsNewTab||e.ctrlKey||e.metaKey){let e=window.open();e?e.location.href=t:window.location.href=t}else window.location.href=t}findProductById(t){return this.recommendations.find((e=>e.productId===t))}replaceSlotsContent(){const t=this.el.querySelectorAll("[slot]");this.globalSlotsChanged.emit({slots:Array.from(t),element:this.el})}handleProductIdChange(){this.getRecommendations()}handleCampaignTypeChange(){this.getRecommendations()}handleCampaignsChange(){this.getRecommendations()}handleApiPathChange(t){H.apiPath=t,this.getRecommendations()}trackWidgetOpen(){this.opened&&(this.vviinnWidgetOpen.emit(this.getBasicEventData()),this.trackWidgetEvent("open"))}trackWidgetClose(){this.closed&&(this.vviinnWidgetClose.emit(this.getBasicEventData()),this.trackWidgetEvent("close"))}componentDidRender(){this.showingInButton&&this.closed||this.replaceSlotsContent()}connectedCallback(){var t;H.apiPath=this.apiPath,H.pricePrefix=this.pricePrefix,H.currencySign=this.currencySign,H.locale=this.locale,this.id=null!==(t=this.buttonElementId)&&void 0!==t?t:this.el.id,this.uiSessionId=z(),this.trackingApi=I(this.apiPath,this.token),this.getRecommendations(),this.vviinnWidgetLoad.emit(this.getBasicEventData()),this.trackWidgetEvent("load"),this.isSetMode="set"===this.mode,this.isGridMode="grid"===this.mode,this.isContinuityMode="continuity"===this.mode,this.isSetMode&&this.setModeDiscounts.length&&(this.setModeDiscountsArray=this.setModeDiscounts.split(",").map((t=>parseInt(t.trim()))).filter((t=>!isNaN(t))))}async componentWillLoad(){await Z.init({lng:this.locale,fallbackLng:"en",resources:_}),V(this,this.el)}trackProductLoad({detail:t}){this.productImageLoadedSubject.next(t.productId);const e=this.getProductTrackEvent(t,"load");e&&this.trackingApi.trackEvent(e).then(this.setTrackingDeactivated)}trackProductView({detail:t}){this.resultViewed||(this.resultViewed=!0,this.vviinnResultView.emit(this.getBasicEventData()),this.trackResultEvent("view"));const e=this.getProductTrackEvent(t,"view");e&&this.trackingApi.trackEvent(e).then(this.setTrackingDeactivated)}async trackProductClick({detail:t}){const{productId:e,clickEvent:i}=t,r=this.findProductById(e);if(!r||!r.deeplink)return;const o=this.getProductTrackEvent(t,"click");this.trackingDeactivated?this.handleOpenLink(r.deeplink,i):await this.trackingApi.trackEvent(o).then(this.setTrackingDeactivated).finally((()=>{this.handleOpenLink(r.deeplink,i)}))}async trackAuxClick({detail:t}){const{productId:e}=t,i=this.findProductById(e);if(!i||!i.deeplink)return;const r=this.getProductTrackEvent(t,"click");this.trackingDeactivated||await this.trackingApi.trackEvent(r).then(this.setTrackingDeactivated)}async trackAddToBasket({detail:t}){const{productRank:e,productId:i}=t,r=ve(t,["productRank","productId","campaignTypeId","widgetType"]);let o;const s=Object.assign({session_id:this.uiSessionId,rank:e,product:i},r);"VCS"===this.campaignType?o=S(s):"VPR"===this.campaignType&&(o=j(s)),this.trackingApi.trackEvent(o).then(this.setTrackingDeactivated)}updatingAllCardsFinishedListener(){this.updatingAllCards&&(this.updatingAllCards=!1)}async filtersChanged({detail:t}){this.requestDynamicFilters=t.filters,this.getRecommendations()}trackWidgetEvent(t){if(this.trackingDeactivated)return;const e=this.getBasicEventData(),i=ve(e,["campaignTypeId","widgetType"]);let r;const o=Object.assign({action:t,session_id:this.uiSessionId},i);"VCS"===this.campaignType?r=T(o):"VPR"===this.campaignType&&(r=P(o)),this.trackingApi.trackEvent(r).then(this.setTrackingDeactivated)}trackResultEvent(t){if(this.trackingDeactivated)return;const e=this.getBasicEventData(),i=ve(e,["campaignTypeId","widgetType"]);let r;const o=Object.assign({session_id:this.uiSessionId},i);"VCS"===this.campaignType?r=E(t)(o):"VPR"===this.campaignType&&(r=B(t)(o)),this.trackingApi.trackEvent(r).then(this.setTrackingDeactivated)}getProductTrackEvent(t,e){if(this.trackingDeactivated)return null;const{productRank:i,productId:r,campaignTypeId:o}=t,s=ve(t,["productRank","productId","campaignTypeId","widgetType","clickEvent"]);let n;const l=Object.assign({session_id:this.uiSessionId,rank:i,product:r},s);return"VCS"===o?n=A(e)(l):"VPR"===o&&(n=O(e)(l)),n}async getRecommendations(){if(void 0===this.productId||void 0===this.token)return;a.loading=!0;const t=this.campaignType.length>0?this.campaignType:"VPR",e=de(this.token),i=(({productId:t,campaigns:e,color:i,excluded:r,dynamicFilters:o=[]})=>{const s=Object.assign(Object.assign({},i.length?{color:i}:{}),r.length?{excluded:ge(r)}:{});return Object.assign(Object.assign(Object.assign({productId:t},o.length?{dynamicFilters:o}:{}),e.length?{campaigns:be(e)}:{}),Object.keys(s).length?{staticFilters:s}:{})})({productId:this.productId,color:this.color,excluded:this.excluded,campaigns:this.campaigns,dynamicFilters:this.requestDynamicFilters}),r=d.pipe(w.of((t=>d.pipe(M(t),k((()=>ue),(()=>fe))))(t)),w.ap(w.of(i)),w.ap(w.of(e)),w.flatten),o=await r();d.pipe(o,u.fold((t=>{this.handleError(t),this.vviinnNoResult.emit(this.getBasicEventData()),this.vviinnRecommendationsLoaded.emit(),a.loading=!1}),(t=>{this.handleRecommendationsSuccess(t),a.loading=!1})))}handleError(t){this.hasErrorOnLoad=!0}handleRecommendationsSuccess({data:t,interactions:e}){this.vviinnResultLoad.emit(this.getBasicEventData()),this.trackResultEvent("load"),this.dynamicFilters=e.dynamicFilters;const{products:i,sourceProduct:r}=t;this.recommendations=i,this.sourceProduct=r,a.results=this.recommendations,a.sourceProduct=this.sourceProduct,this.productIds=this.recommendations.map((t=>t.productId)),this.productImageLoadedSubject.subscribe((t=>{this.productIds=this.productIds.filter((e=>e!==t)),this.isSetMode||0!==this.productIds.length||this.vviinnRecommendationsLoaded.emit(),this.isSetMode&&this.productIds.length===this.recommendations.length-4&&this.vviinnRecommendationsLoaded.emit()}))}isExternalCSS(){return this.cssUrl&&this.cssUrl.length>0}renderExternalCSS(){return this.isExternalCSS()?t("link",{href:this.cssUrl,rel:"stylesheet"}):""}render(){return 0===this.recommendations.length&&!1===this.noResultShow?null:t(r,{class:{loaded:!0,empty:0==this.recommendations.length,[this.mode]:!0},"aria-hidden":"false"},t(s,null,this.renderExternalCSS(),y("vpr"),t("style",null,H.fallbackStyles),t("div",{class:"widget-header"},t("div",null,t("h2",{part:"recommendations-title"},t("slot",{name:"vviinn-recommendations-title"},this.isSetMode?Z.t("setMode.widgetTitle"):this.blockTitle)),this.isSetMode&&t("h3",{part:"recommendations-subtitle"},t("slot",{name:"vviinn-recommendations-subtitle"},Z.t("setMode.widgetSubtitle")))),this.isSetMode&&"onItem"!==this.updateButtonLocation?t("button",{class:"update-button",part:"update-button-top",onClick:()=>this.updatingAllCards=!0},t("slot",{name:"vviinn-update-button-icon"},t($,null)),t("slot",{name:"vviinn-update-button-text"},t("span",null,Z.t("setMode.updateButtonText")))):null),(this.showFilters||this.showExtendedFilters)&&t("div",{class:"filters-header "},this.showFilters&&t("vviinn-filters",{filters:this.dynamicFilters}),this.showExtendedFilters&&t("vviinn-extended-filters",{filters:this.dynamicFilters,locale:this.locale})),this.recommendations.length>0&&(this.useCarousel?this.renderCarousel():this.renderResults()),(0===this.recommendations.length||this.hasErrorOnLoad)&&!a.loading&&t("p",{class:"no-result-text"},this.noResultText.length?this.noResultText:Z.t("noResultText"))))}renderRecommendation(e,i){return t("vviinn-product-card",{part:"product-part",productId:e.productId,productTitle:e.title,productType:e.productType,deeplink:e.deeplink,image:e.image.thumbnail,brand:e.brand,imageWidth:this.imageWidth,imageRatio:this.imageRatio,price:e.price.actual,salePrice:e.price.sale,energyEfficiencyClass:e.energyEfficiencyClass,minEnergyEfficiencyClass:e.minEnergyEfficiencyClass,maxEnergyEfficiencyClass:e.maxEnergyEfficiencyClass,responsive:this.isGridMode,basketButtonShow:this.addToBasketShow,mode:this.mode,dimmedBackground:this.useDimmedBackgroundInCard(),campaignTypeId:this.campaignType,index:i,widgetElementId:this.id,widgetVersion:R,currency:this.currencySign,pricePrefix:this.pricePrefix,locale:this.locale})}useDimmedBackgroundInCard(){return this.isContinuityMode||this.isSetMode||!this.useCarousel}renderResults(){return t("div",{class:"recommendations-grid",part:"recommendations-grid"},this.recommendations.map(((t,e)=>this.renderRecommendation(t,e))))}renderCarousel(){return t("vviinn-carousel",{mode:this.mode,campaignTypeId:this.campaignType,imageWidth:this.imageWidth,showScroll:this.showScroll,recommendations:this.recommendations,widgetElementId:this.id,widgetVersion:R,gridArrowsDynamic:this.gridArrowsDynamic,addToBasketShow:this.addToBasketShow,updatingAllCards:this.updatingAllCards,updateButtonLocation:this.updateButtonLocation,replaceSlotsContent:this.replaceSlotsContent.bind(this),setModeDiscountsArray:this.setModeDiscountsArray,currencySign:this.currencySign,pricePrefix:this.pricePrefix,locale:this.locale,imageRatio:this.imageRatio})}get el(){return o(this)}static get watchers(){return{productId:["handleProductIdChange"],campaignType:["handleCampaignTypeChange"],campaigns:["handleCampaignsChange"],apiPath:["handleApiPathChange"],opened:["trackWidgetOpen"],closed:["trackWidgetClose"]}}};Ce.style=":host{display:grid;grid-gap:1rem;width:100%}:host(:not(.loaded)){position:absolute;visibility:hidden}:host(.grid) vviinn-product-card::part(image){border:1px solid #dddddd;width:100%}:host(.set) vviinn-carousel{overflow-x:auto}:host(.set) vviinn-carousel{scrollbar-width:thin}.filters-header{display:flex;justify-content:space-between;gap:14px}.filters-header>vviinn-extended-filters{width:44px;height:44px}@media (max-width: 768px){.filters-header>vviinn-filters{flex:1;width:100px}}.widget-header{display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;align-items:center}.widget-header h3{margin-top:8px;margin-bottom:0;font-size:14px;font-weight:400;line-height:20px}.update-button{display:flex;align-items:center;justify-content:center;color:#525252;gap:8px;padding:8px 10px;background:rgb(244, 244, 244);border:none;cursor:pointer}.update-button:hover{background:rgb(234, 234, 234)}.update-button svg{color:#6f6f6f;width:24px;height:24px}h2{margin:0}vviinn-product-card::part(price-container){align-self:flex-start;text-align:left;display:flex}.results{display:grid;grid-gap:1rem}.no-result-text{font-size:20px}.visually-hidden{position:absolute;top:0;left:0;z-index:-1;height:0;width:0}h2{margin:0}:host(.grid) h2{justify-content:center}:host(.grid) vviinn-product-card::part(image){min-width:100%}:host(.grid) vviinn-product-card::part(image-link){width:100%}:host(.grid) vviinn-product-card::part(title),:host(.grid) vviinn-product-card::part(brand){text-align:center}:host(.grid) vviinn-product-card::part(price-container){align-self:center}:host(.continuity) vviinn-product-card::part(title),:host(.continuity) vviinn-product-card::part(brand),:host(.continuity) vviinn-product-card::part(deeplink),:host(.continuity) vviinn-product-card::part(energy-label){text-align:left;max-width:unset;align-self:start}";export{rt as vviinn_carousel,Ct as vviinn_energy_label,Ht as vviinn_extended_filters,wt as vviinn_filters,Lt as vviinn_price_range,St as vviinn_product_card,jt as vviinn_skeleton,Ce as vviinn_vpr_widget}
|
|
1
|
+
import{h as t,r as e,c as i,H as r,g as o,F as s}from"./p-1c863deb.js";import{h as n,t as l,s as a,_ as d,a as c,O as h,S as p,E as u,p as f,c as g,m as b,f as v,g as C,b as x,A as m,d as H,T as w}from"./p-03e84ad1.js";import{c as L,s as V,S as y,f as M,a as k}from"./p-55c453ab.js";import{i as Z,r as _,v as z,c as I,a as S,b as j,d as T,e as P,f as E,g as B,h as A,j as O}from"./p-9447314b.js";import{P as F}from"./p-2da7f425.js";import{v as R}from"./p-fac8ec71.js";const D=()=>t("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M7.5 22C6.95 22 6.47917 21.8042 6.0875 21.4125C5.69583 21.0208 5.5 20.55 5.5 20C5.5 19.45 5.69583 18.9792 6.0875 18.5875C6.47917 18.1958 6.95 18 7.5 18C8.05 18 8.52083 18.1958 8.9125 18.5875C9.30417 18.9792 9.5 19.45 9.5 20C9.5 20.55 9.30417 21.0208 8.9125 21.4125C8.52083 21.8042 8.05 22 7.5 22ZM17.5 22C16.95 22 16.4792 21.8042 16.0875 21.4125C15.6958 21.0208 15.5 20.55 15.5 20C15.5 19.45 15.6958 18.9792 16.0875 18.5875C16.4792 18.1958 16.95 18 17.5 18C18.05 18 18.5208 18.1958 18.9125 18.5875C19.3042 18.9792 19.5 19.45 19.5 20C19.5 20.55 19.3042 21.0208 18.9125 21.4125C18.5208 21.8042 18.05 22 17.5 22ZM6.65 6L9.05 11H16.05L18.8 6H6.65ZM5.7 4H20.45C20.8333 4 21.125 4.17083 21.325 4.5125C21.525 4.85417 21.5333 5.2 21.35 5.55L17.8 11.95C17.6167 12.2833 17.3708 12.5417 17.0625 12.725C16.7542 12.9083 16.4167 13 16.05 13H8.6L7.5 15H18.5C18.7833 15 19.0208 15.0958 19.2125 15.2875C19.4042 15.4792 19.5 15.7167 19.5 16C19.5 16.2833 19.4042 16.5208 19.2125 16.7125C19.0208 16.9042 18.7833 17 18.5 17H7.5C6.75 17 6.18333 16.6708 5.8 16.0125C5.41667 15.3542 5.4 14.7 5.75 14.05L7.1 11.6L3.5 4H2.5C2.21667 4 1.97917 3.90417 1.7875 3.7125C1.59583 3.52083 1.5 3.28333 1.5 3C1.5 2.71667 1.59583 2.47917 1.7875 2.2875C1.97917 2.09583 2.21667 2 2.5 2H4.125C4.30833 2 4.48333 2.05 4.65 2.15C4.81667 2.25 4.94167 2.39167 5.025 2.575L5.7 4Z",fill:"#525252"})),W=()=>t("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M11.1 13.8L8.95 11.65C8.76667 11.4667 8.53333 11.375 8.25 11.375C7.96667 11.375 7.73333 11.4667 7.55 11.65C7.36667 11.8333 7.275 12.0667 7.275 12.35C7.275 12.6333 7.36667 12.8667 7.55 13.05L10.4 15.9C10.6 16.1 10.8333 16.2 11.1 16.2C11.3667 16.2 11.6 16.1 11.8 15.9L17.45 10.25C17.6333 10.0667 17.725 9.83333 17.725 9.55C17.725 9.26667 17.6333 9.03333 17.45 8.85C17.2667 8.66667 17.0333 8.575 16.75 8.575C16.4667 8.575 16.2333 8.66667 16.05 8.85L11.1 13.8ZM12.5 22C11.1167 22 9.81667 21.7375 8.6 21.2125C7.38333 20.6875 6.325 19.975 5.425 19.075C4.525 18.175 3.8125 17.1167 3.2875 15.9C2.7625 14.6833 2.5 13.3833 2.5 12C2.5 10.6167 2.7625 9.31667 3.2875 8.1C3.8125 6.88333 4.525 5.825 5.425 4.925C6.325 4.025 7.38333 3.3125 8.6 2.7875C9.81667 2.2625 11.1167 2 12.5 2C13.8833 2 15.1833 2.2625 16.4 2.7875C17.6167 3.3125 18.675 4.025 19.575 4.925C20.475 5.825 21.1875 6.88333 21.7125 8.1C22.2375 9.31667 22.5 10.6167 22.5 12C22.5 13.3833 22.2375 14.6833 21.7125 15.9C21.1875 17.1167 20.475 18.175 19.575 19.075C18.675 19.975 17.6167 20.6875 16.4 21.2125C15.1833 21.7375 13.8833 22 12.5 22ZM12.5 20C14.7333 20 16.625 19.225 18.175 17.675C19.725 16.125 20.5 14.2333 20.5 12C20.5 9.76667 19.725 7.875 18.175 6.325C16.625 4.775 14.7333 4 12.5 4C10.2667 4 8.375 4.775 6.825 6.325C5.275 7.875 4.5 9.76667 4.5 12C4.5 14.2333 5.275 16.125 6.825 17.675C8.375 19.225 10.2667 20 12.5 20Z",fill:"#0FC373"})),N=()=>t("svg",{width:"9",height:"16",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"m9 8-7.895 8L0 14.88 6.79 8 0 1.12 1.105 0 9 8Z"})),$=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M23.5998 4.57C20.3898 4.19 19.8798 3.68 19.4198 0.37C19.3798 0.15 19.2198 0 19.0098 0C18.7998 0 18.6298 0.15 18.5898 0.37C18.1198 3.66 17.6298 4.13 14.4098 4.57C14.1698 4.61 14.0098 4.77 14.0098 5C14.0098 5.23 14.1698 5.39 14.4098 5.42C17.6298 5.81 18.1398 6.31 18.5898 9.62C18.6298 9.84 18.7998 10 19.0098 10C19.2198 10 19.3898 9.84 19.4198 9.62C19.8898 6.31 20.3898 5.81 23.5998 5.42C23.8398 5.38 23.9998 5.22 23.9998 5C23.9998 4.78 23.8298 4.6 23.5998 4.57Z",fill:"currentColor"}),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.93 13C19.43 13 19.01 13.37 18.95 13.86C18.52 17.36 15.51 20.06 11.89 20C8.24 19.94 5.15 16.92 5.01 13.27C4.92 10.79 6.13 8.58 8.01 7.27V11C8.01 11.55 8.46 12 9.01 12C9.56 12 10.01 11.55 10.01 11V5C10.01 4.45 9.56 4 9.01 4H3C2.45 4 2 4.45 2 5C2 5.55 2.45 6 3 6H6.35C4.24 7.71 2.91 10.35 3 13.3C3.15 17.98 7.06 21.87 11.74 22C16.45 22.13 20.37 18.65 20.93 14.13C21 13.53 20.53 13.01 19.93 13.01V13Z",fill:"currentColor"})),J=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t("path",{d:"M12 21C11.7167 21 11.4792 20.9042 11.2875 20.7125C11.0958 20.5208 11 20.2833 11 20V16C11 15.7167 11.0958 15.4792 11.2875 15.2875C11.4792 15.0958 11.7167 15 12 15C12.2833 15 12.5208 15.0958 12.7125 15.2875C12.9042 15.4792 13 15.7167 13 16V17H20C20.2833 17 20.5208 17.0958 20.7125 17.2875C20.9042 17.4792 21 17.7167 21 18C21 18.2833 20.9042 18.5208 20.7125 18.7125C20.5208 18.9042 20.2833 19 20 19H13V20C13 20.2833 12.9042 20.5208 12.7125 20.7125C12.5208 20.9042 12.2833 21 12 21ZM4 19C3.71667 19 3.47917 18.9042 3.2875 18.7125C3.09583 18.5208 3 18.2833 3 18C3 17.7167 3.09583 17.4792 3.2875 17.2875C3.47917 17.0958 3.71667 17 4 17H8C8.28333 17 8.52083 17.0958 8.7125 17.2875C8.90417 17.4792 9 17.7167 9 18C9 18.2833 8.90417 18.5208 8.7125 18.7125C8.52083 18.9042 8.28333 19 8 19H4ZM8 15C7.71667 15 7.47917 14.9042 7.2875 14.7125C7.09583 14.5208 7 14.2833 7 14V13H4C3.71667 13 3.47917 12.9042 3.2875 12.7125C3.09583 12.5208 3 12.2833 3 12C3 11.7167 3.09583 11.4792 3.2875 11.2875C3.47917 11.0958 3.71667 11 4 11H7V10C7 9.71667 7.09583 9.47917 7.2875 9.2875C7.47917 9.09583 7.71667 9 8 9C8.28333 9 8.52083 9.09583 8.7125 9.2875C8.90417 9.47917 9 9.71667 9 10V14C9 14.2833 8.90417 14.5208 8.7125 14.7125C8.52083 14.9042 8.28333 15 8 15ZM12 13C11.7167 13 11.4792 12.9042 11.2875 12.7125C11.0958 12.5208 11 12.2833 11 12C11 11.7167 11.0958 11.4792 11.2875 11.2875C11.4792 11.0958 11.7167 11 12 11H20C20.2833 11 20.5208 11.0958 20.7125 11.2875C20.9042 11.4792 21 11.7167 21 12C21 12.2833 20.9042 12.5208 20.7125 12.7125C20.5208 12.9042 20.2833 13 20 13H12ZM16 9C15.7167 9 15.4792 8.90417 15.2875 8.7125C15.0958 8.52083 15 8.28333 15 8V4C15 3.71667 15.0958 3.47917 15.2875 3.2875C15.4792 3.09583 15.7167 3 16 3C16.2833 3 16.5208 3.09583 16.7125 3.2875C16.9042 3.47917 17 3.71667 17 4V5H20C20.2833 5 20.5208 5.09583 20.7125 5.2875C20.9042 5.47917 21 5.71667 21 6C21 6.28333 20.9042 6.52083 20.7125 6.7125C20.5208 6.90417 20.2833 7 20 7H17V8C17 8.28333 16.9042 8.52083 16.7125 8.7125C16.5208 8.90417 16.2833 9 16 9ZM4 7C3.71667 7 3.47917 6.90417 3.2875 6.7125C3.09583 6.52083 3 6.28333 3 6C3 5.71667 3.09583 5.47917 3.2875 5.2875C3.47917 5.09583 3.71667 5 4 5H12C12.2833 5 12.5208 5.09583 12.7125 5.2875C12.9042 5.47917 13 5.71667 13 6C13 6.28333 12.9042 6.52083 12.7125 6.7125C12.5208 6.90417 12.2833 7 12 7H4Z",fill:"#161616"})),G=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},t("g",{"clip-path":"url(#clip0_1696_811)"},t("path",{d:"M24 9.4L22.6 8L16 14.6L9.4 8L8 9.4L14.6 16L8 22.6L9.4 24L16 17.4L22.6 24L24 22.6L17.4 16L24 9.4Z",fill:"#C6C6C6"})),t("defs",null,t("clipPath",{id:"clip0_1696_811"},t("rect",{width:"32",height:"32",fill:"white"})))),U=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.42 1.37C18.88 4.68 19.39 5.19 22.6 5.57C22.83 5.6 23 5.78 23 6C23 6.22 22.84 6.38 22.6 6.42C19.39 6.81 18.89 7.31 18.42 10.62C18.39 10.84 18.22 11 18.01 11C17.8 11 17.63 10.84 17.59 10.62C17.14 7.31 16.63 6.81 13.41 6.42C13.17 6.39 13.01 6.23 13.01 6C13.01 5.77 13.17 5.61 13.41 5.57C16.63 5.13 17.12 4.66 17.59 1.37C17.63 1.15 17.8 1 18.01 1C18.22 1 18.38 1.15 18.42 1.37ZM10.57 22.47C10.51 22.78 10.3 23 10 23C9.7 23 9.49 22.78 9.44 22.47C8.58 16.21 7.73 15.37 1.55 14.56C1.22 14.53 1 14.29 1 13.99C1 13.69 1.22 13.46 1.55 13.43C7.74 12.74 8.63 11.78 9.44 5.51C9.49 5.21 9.7 5 10 5C10.3 5 10.51 5.2 10.57 5.51C11.38 11.78 12.26 12.74 18.46 13.43C18.78 13.46 19 13.68 19 13.99C19 14.3 18.78 14.53 18.46 14.56C12.26 15.25 11.38 16.21 10.57 22.47Z",fill:"#8D8D8D"})),q=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t("rect",{x:"2",y:"2",width:"20",height:"20",rx:"4",fill:"white"}),t("path",{d:"M10.8765 13.5061L16.1943 8.30769C16.4041 8.10256 16.6526 8 16.9398 8C17.2269 8 17.4754 8.10256 17.6852 8.30769C17.8951 8.51282 18 8.75574 18 9.03644C18 9.31714 17.8951 9.56005 17.6852 9.76518L11.622 15.6923C11.4121 15.8974 11.1637 16 10.8765 16C10.5894 16 10.3409 15.8974 10.131 15.6923L7.31476 12.9393C7.10492 12.7341 7 12.4912 7 12.2105C7 11.9298 7.10492 11.6869 7.31476 11.4818C7.5246 11.2767 7.77309 11.1741 8.06024 11.1741C8.34739 11.1741 8.59588 11.2767 8.80572 11.4818L10.8765 13.5061Z",fill:"#161616"})),K=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t("path",{d:"M12 13.4L7.09999 18.3C6.91665 18.4834 6.68332 18.575 6.39999 18.575C6.11665 18.575 5.88332 18.4834 5.69999 18.3C5.51665 18.1167 5.42499 17.8834 5.42499 17.6C5.42499 17.3167 5.51665 17.0834 5.69999 16.9L10.6 12L5.69999 7.10005C5.51665 6.91672 5.42499 6.68338 5.42499 6.40005C5.42499 6.11672 5.51665 5.88338 5.69999 5.70005C5.88332 5.51672 6.11665 5.42505 6.39999 5.42505C6.68332 5.42505 6.91665 5.51672 7.09999 5.70005L12 10.6L16.9 5.70005C17.0833 5.51672 17.3167 5.42505 17.6 5.42505C17.8833 5.42505 18.1167 5.51672 18.3 5.70005C18.4833 5.88338 18.575 6.11672 18.575 6.40005C18.575 6.68338 18.4833 6.91672 18.3 7.10005L13.4 12L18.3 16.9C18.4833 17.0834 18.575 17.3167 18.575 17.6C18.575 17.8834 18.4833 18.1167 18.3 18.3C18.1167 18.4834 17.8833 18.575 17.6 18.575C17.3167 18.575 17.0833 18.4834 16.9 18.3L12 13.4Z",fill:"#8D8D8D"})),Q=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t("rect",{x:"3",y:"3",width:"18",height:"18",rx:"3",fill:"white",stroke:"#E0E0E0","stroke-width":"2"})),X="--vviinn-carousel-image-width",Y="items-group";function tt(t,e,i){return function(r){for(var o=Array(i.length+1),s=0;s<i.length;s++)o[s]=i[s];return o[i.length]=r,0===e?t.apply(null,o):tt(t,e-1,o)}}Object.assign(Object.assign({},{concat:(t,e)=>t/e}),{empty:1});var et={1:function(t){return[t]},2:function(t){return function(e){return[t,e]}},3:function(t){return function(e){return function(i){return[t,e,i]}}},4:function(t){return function(e){return function(i){return function(r){return[t,e,i,r]}}}},5:function(t){return function(e){return function(i){return function(r){return function(o){return[t,e,i,r,o]}}}}}};function it(t){return n.call(et,t)||(et[t]=tt(l,t-1,[])),et[t]}const rt=class{constructor(t){e(this,t),this.vviinnProductLoad=i(this,"vviinnProductLoad",7),this.vviinnProductView=i(this,"vviinnProductView",7),this.columns=0,this.resizeObserver=new ResizeObserver((()=>this.handleResize())),this.defaultAnimationInterval=2e3,this.setModeMaxDiscount=null,this.mutationObserver=new MutationObserver((()=>this.cloneSlottedContent())),this.handleWindowResize=()=>this.setImageWidthSetMode("100%"),this.isLastGroup=()=>this.isGridMode&&this.activeContentGroup===this.getContentGroups().length-1,this.isFirstGroup=()=>this.isGridMode&&0===this.activeContentGroup,this.updateCard=(t,e,i)=>{let r=this.crossSellingRecommendations.find((e=>e.productId===t));const o=this.crossSellingRecommendations.indexOf(r),s=this.recommendations.indexOf(r),n=this.crossSellingRecommendations;if(s+e<this.recommendations.length){const r=this.recommendations[s+e];n[o]=r;const l=this.getProductData(r,s+e);this.vviinnProductLoad.emit(l),this.crossSellingRecommendations=[...n];let a=this.el.querySelector(`[data-id="${t}"]`);const d=a.shadowRoot.querySelector(".update-button");null==d||d.classList.add("hidden");const c=a.getBoundingClientRect().width;this.setImageWidthSetMode(`${c}px`);const h=setTimeout((()=>{s+2*e<=this.recommendations.length-1&&(null==d||d.classList.remove("hidden")),this.vviinnProductView.emit(l),clearTimeout(h)}),i)}},this.moveDirection="right",this.contentGroups=[],this.activeContentGroup=0,this.isRTL=!1,this.crossSellingRecommendations=[],this.setModeDiscount=null,this.currentDiscountIndex=0,this.setModeAppliedDiscounts={},this.mode="continuity",this.imageWidth=140,this.showScroll=!0,this.campaignTypeId=void 0,this.widgetElementId=void 0,this.gridArrowsDynamic=void 0,this.recommendations=[],this.widgetVersion=void 0,this.addToBasketShow=void 0,this.updatingAllCards=void 0,this.updateButtonLocation=void 0,this.replaceSlotsContent=void 0,this.setModeDiscountsArray=void 0,this.imageRatio=void 0,this.currencySign=void 0,this.pricePrefix="",this.locale=void 0}getProductData(t,e){return{productId:t.productId,productRank:e,productName:t.productTitle,productType:t.productType,widgetType:"VPR",campaignTypeId:this.campaignTypeId,campaignTypeName:L[this.campaignTypeId],widgetId:this.widgetElementId,widgetVersion:this.widgetVersion}}componentWillLoad(){this.isRTL="rtl"===document.dir}connectedCallback(){this.setItemWidth(),this.isSetMode="set"===this.mode,this.isGridMode="grid"===this.mode,this.isContinuityMode="continuity"===this.mode;const t=this.getColumnsNumber();this.isSetMode&&(window.addEventListener("resize",this.handleWindowResize),this.sourceProduct=a.sourceProduct,this.setModeDiscount=this.setModeDiscountsArray[0],this.setModeMaxDiscount=this.setModeDiscountsArray[this.setModeDiscountsArray.length-1]),this.isSetMode&&this.recommendations.length>=t&&(this.crossSellingRecommendations=this.recommendations.slice(0,t))}disconnectedCallback(){this.resizeObserver.disconnect(),window.removeEventListener("resize",this.handleWindowResize)}componentDidUpdate(){this.replaceSlotsContent()}componentDidLoad(){this.setWidth(),this.columns=this.getColumnsNumber();const t=this.el.querySelector(".content");this.mutationObserver.observe(t,{subtree:!0,childList:!0}),this.resizeObserver.observe(this.getHostParent()),this.isGridMode&&this.getContentNode().addEventListener("scrollend",(()=>{this.activeContentGroup=this.getActiveGroupIndex()}))}updatingAllCardsWatcher(){if(!this.updatingAllCards)return;const t=this.getColumnsNumber();this.crossSellingRecommendations.forEach((e=>{this.updateCard(e.productId,t,this.defaultAnimationInterval)}))}crossSellingClickListener({detail:t}){const e=this.getColumnsNumber(),{animationInterval:i,productData:r}=t;this.updateCard(r.productId,e,i)}getItemWidthFromDocument(){return parseInt(getComputedStyle(document.body).getPropertyValue(X))}async trackAddToBasket({detail:t}){if(!this.isSetMode)return;const{productId:e}=t;this.setModeAppliedDiscounts.hasOwnProperty(e)||(this.setModeAppliedDiscounts=Object.assign(Object.assign({},this.setModeAppliedDiscounts),{[e]:this.setModeDiscount}),this.setModeDiscount===this.setModeMaxDiscount||(this.currentDiscountIndex+=1,this.setModeDiscount=this.setModeDiscountsArray[this.currentDiscountIndex]))}setItemWidth(){const t=this.getItemWidthFromDocument(),e=isNaN(t)?this.imageWidth:t;this.el.style.setProperty(X,`${e}px`)}setImageWidthSetMode(t){this.el.style.setProperty("--vviinn-set-mode-image-width",t)}getContentClassMap(){return{content:!0,[this.moveDirection]:!0,[this.mode]:!0,"show-scrollbar":!this.isSetMode&&this.showScroll}}handleResize(){this.setWidth(),this.setItemWidth();const t=this.getColumnsNumber();t!==this.columns&&(this.columns=t)}calculateMoveStep(){const t=this.getContent().map((t=>t.getBoundingClientRect().width)),e=t.reduce(((t,e)=>t+e),0),i=d.pipe(window.getComputedStyle(this.getContentNode()),(t=>t.getPropertyValue("gap")),(t=>parseInt(t.split("px")[0])),(t=>isNaN(t)?0:t));return e/t.length+i}getHostParent(){return this.el.parentNode.host.parentElement}setWidth(){const t=this.getHostParent();if(!t)return;const e=getComputedStyle(t),i=t.getBoundingClientRect().width-(parseInt(e["padding-right"])+parseInt(e["padding-left"]));this.el.style.setProperty("--vviinn-carousel-content-width",`${i}px`)}getParent(){return this.el.parentNode.host.parentElement}cloneSlottedContent(){this.setWidth()}getActiveGroupIndex(){const t=this.getContentGroups().map((t=>t.getBoundingClientRect().left)).map(((t,e)=>[t,e])).filter((t=>t[0]>=0));return t.length>0?this.isRTL?t[t.length-1][1]:t[0][1]:0}getContentNode(){return this.el.querySelector(".content")}getContent(){const t=this.getContentNode().children;return Array.from(t).map((t=>t))}getColumnsNumber(){const t=getComputedStyle(this.el).getPropertyValue("--vviinn-carousel-columns-internal"),e=parseInt(t);return e&&!isNaN(e)?e:4}getContentGroups(){return Array.from(this.el.querySelectorAll(`.${Y}`))}handleCarouselButtonClick(t){this.moveDirection=t;const e=this.getContentNode(),{scrollLeft:i}=e,r=this.calculateMoveStep();requestAnimationFrame((()=>{e.scrollTo({top:0,left:"right"===t?i+r:i-r,behavior:"smooth"})}))}scroll(t){const e=this.getContentNode();requestAnimationFrame((()=>{e.scrollTo({top:0,left:this.calculateMoveStep()*t,behavior:"smooth"})}))}showBullets(){return this.isGridMode&&this.showScroll}showScrollbar(){return this.isContinuityMode&&this.showScroll}getClassMap(){return{[this.mode]:!0,"show-scrollbar":this.showScrollbar()}}renderRecommendation(e,i){var r;const o=this.setModeAppliedDiscounts[e.productId],s=(n=null===(r=e.price)||void 0===r?void 0:r.actual,Math.round(n*(1-(null!=o?o:this.setModeDiscount)/100)*100)/100);var n;return t("vviinn-product-card",{part:"product-part",productId:e.productId,productTitle:e.title,productType:e.productType,deeplink:e.deeplink,image:e.image.thumbnail,brand:e.brand,imageWidth:this.imageWidth,imageRatio:this.imageRatio,price:e.price.actual,salePrice:this.isSetMode?s:e.price.sale,responsive:this.isGridMode,dimmedBackground:this.isContinuityMode||this.isSetMode,campaignTypeId:this.campaignTypeId,index:i,widgetElementId:this.widgetElementId,widgetVersion:this.widgetVersion,basketButtonShow:this.addToBasketShow,mode:this.mode,"data-id":e.productId,energyEfficiencyClass:e.energyEfficiencyClass,minEnergyEfficiencyClass:e.minEnergyEfficiencyClass,maxEnergyEfficiencyClass:e.maxEnergyEfficiencyClass,updatingAllCards:this.updatingAllCards,defaultAnimationInterval:this.defaultAnimationInterval,updateButtonLocation:this.updateButtonLocation,appliedDiscountPercentage:o,currentDiscountPercentage:this.setModeDiscount,currency:this.currencySign,pricePrefix:this.pricePrefix,locale:this.locale})}renderRecommendationGroup(e){return t("div",{class:Y,part:"items-group"},...e)}renderRecommendationGroups(t){return t.map((t=>this.renderRecommendationGroup(t)))}renderRecommendations(){return this.isGridMode?this.renderGrid():this.renderRecommendationsElements()}renderRecommendationsElements(){return(this.isSetMode?this.crossSellingRecommendations:this.recommendations).map(((t,e)=>this.renderRecommendation(t,e)))}renderGrid(){const t=this.renderRecommendationsElements(),e=c.chunksOf(this.getColumnsNumber())(t);return this.renderRecommendationGroups(e)}renderBullets(){const e=Math.ceil(this.recommendations.length/this.getColumnsNumber());return Array.from(Array(e).keys()).map((e=>t("div",{class:{bullet:!0,active:this.activeContentGroup===e},onClick:()=>this.scroll(e)})))}render(){return t(r,{class:this.getClassMap()},t("div",{class:Object.assign({body:!0},this.getClassMap())},!this.isSetMode&&t("button",{class:"prev",onClick:()=>this.handleCarouselButtonClick("left"),part:"carousel-button",disabled:this.gridArrowsDynamic&&this.isFirstGroup()},t(N,null)),this.isSetMode&&t("vviinn-product-card",{part:"product-part",class:"set-mode product-card--source",productTitle:this.sourceProduct.title,image:this.sourceProduct.image.thumbnail,price:this.sourceProduct.price.actual,imageRatio:1,imageWidth:300,dimmedBackground:!0,isSourceProduct:!0,currency:this.currencySign,pricePrefix:this.pricePrefix,locale:this.locale}),t("div",{class:this.getContentClassMap()},this.renderRecommendations()),!this.isSetMode&&t("button",{class:"next",onClick:()=>this.handleCarouselButtonClick("right"),part:"carousel-button",disabled:this.gridArrowsDynamic&&this.isLastGroup()},t(N,null))),this.showBullets()&&t("div",{class:"bullets"},this.renderBullets()))}get el(){return o(this)}static get watchers(){return{updatingAllCards:["updatingAllCardsWatcher"]}}};rt.style=":host{--vviinn-carousel-columns-internal:var(--vviinn-carousel-columns, 4)}.body{display:flex;position:relative;width:var(--vviinn-carousel-content-width);flex-direction:column}.bullets{display:flex;flex-direction:row;grid-gap:24px;justify-content:center}.bullet{width:10px;height:10px;background:#e0e0e0;border-radius:50%;cursor:pointer}.bullet.active{background:#161616}.content:not(.show-scrollbar),.content.grid{scrollbar-color:#fff0 #fff0}.content:not(.show-scrollbar)::-webkit-scrollbar,.content.grid::-webkit-scrollbar{opacity:0}.content{display:flex;flex-direction:row;gap:8px;overflow-y:hidden;overflow-x:auto;flex-grow:1;padding-bottom:16px}.content.left>*{scroll-snap-align:start}.content.right>*{scroll-snap-align:end}:host(.continuity) .prev,:host(.continuity) .next{border-radius:2px}:host(.grid) .prev,:host(.grid) .next{border-radius:50%}.prev,.next{align-items:center;background-color:white;border:none;box-shadow:0px 2px 6px rgba(0, 0, 0, 0.15);fill:#525252;cursor:pointer;display:grid;height:40px;justify-items:center;position:absolute;top:calc(50% - 20px);width:40px;z-index:1;padding:0;margin:0}.next:disabled,.prev:disabled{display:none}.prev svg{transform:rotate(180deg);margin-left:-5px}.prev{left:0}.next{right:0}.items-group{display:grid;grid-gap:16px;grid-template-columns:repeat(var(--vviinn-carousel-columns-internal), 1fr);min-width:100%}vviinn-product-card::part(price-container){text-align:center}@media (max-width: 480px){.items-group{grid-template-columns:repeat(2, 1fr)}}.body.set{max-width:100%;justify-content:space-between;margin-left:auto;display:flex;flex-direction:row;gap:112px}.body.set::-webkit-scrollbar{display:none}@media (max-width: 768px){.body.set{gap:40px}}.content.set{grid-gap:20px;height:-moz-fit-content;height:fit-content;max-width:-moz-fit-content;max-width:fit-content;overflow:unset}";const ot=()=>t("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1635_2685",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z",fill:"#00A651"}),t("path",{d:"M0 0V-1H-1V0H0ZM49 0L49.8 -0.6L49.5 -1H49V0ZM0 40H-1V41H0V40ZM49 40V41H49.5L49.8 40.6L49 40ZM64 20L64.8 20.6L65.25 20L64.8 19.4L64 20ZM0 1H49V-1H0V1ZM1 40V0H-1V40H1ZM49 39H0V41H49V39ZM63.2 19.4L48.2 39.4L49.8 40.6L64.8 20.6L63.2 19.4ZM48.2 0.6L63.2 20.6L64.8 19.4L49.8 -0.6L48.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1635_2685)"}),t("g",{"clip-path":"url(#clip0_1635_2685)"},t("path",{d:"M38.91 28.5003L37.44 24.2827H31.86L30.43 28.5003H26.71L32.76 11.4998H36.47L42.63 28.5003H38.91ZM36.37 21.2343L35.68 19.2554C35.46 18.6058 35.23 17.8662 34.97 17.0167C34.85 16.6269 34.73 16.2171 34.6 15.7674C34.47 16.2271 34.35 16.6569 34.23 17.0467C33.98 17.8962 33.76 18.6358 33.55 19.2455L32.88 21.2343H36.36H36.37Z",fill:"white"}),t("path",{d:"M36.12 11.9994L41.92 28.0006H39.27L37.8 23.7829H31.51L30.08 28.0006H27.42L33.11 11.9994H36.12ZM32.2 21.734H37.08L36.16 19.0955C35.95 18.4559 35.71 17.7163 35.46 16.8767C35.21 16.0372 34.93 15.0478 34.61 13.9184C34.29 15.0677 34.01 16.0572 33.77 16.9067C33.52 17.7562 33.3 18.4858 33.1 19.0955L32.21 21.734M36.82 11H32.41L32.17 11.6596L26.47 27.6607L26 29H30.79L31.02 28.3204L32.22 24.7823H37.09L38.33 28.3304L38.56 29H43.35L42.86 27.6607L37.06 11.6596L36.82 11ZM33.59 20.7346L34.04 19.4153C34.22 18.8756 34.41 18.256 34.62 17.5564C34.83 18.246 35.03 18.8656 35.21 19.4153L35.67 20.7346H33.59Z",fill:"black"})),t("rect",{width:"12",height:"38",transform:"translate(1 1)",fill:"white"}),t("path",{d:"M7.01141 36C6.08745 36 5.35742 35.7444 4.80989 35.2444C4.26236 34.7444 4 34.0556 4 33.1667V28.8111C4 27.9444 4.27377 27.2556 4.80989 26.7556C5.35742 26.2556 6.08745 26 7.01141 26C7.93536 26 8.65399 26.2556 9.19011 26.7556C9.73764 27.2667 10 27.9444 10 28.8111H8.64259C8.64259 28.2889 8.4943 27.8778 8.20913 27.6C7.91255 27.3111 7.51331 27.1778 7 27.1778C6.48669 27.1778 6.07605 27.3222 5.77947 27.6C5.48289 27.8889 5.34601 28.2889 5.34601 28.8111V33.1667C5.34601 33.7 5.4943 34.1111 5.77947 34.3889C6.06464 34.6667 6.47529 34.8111 7 34.8111C7.52472 34.8111 7.91255 34.6667 8.20913 34.3889C8.5057 34.1 8.64259 33.7 8.64259 33.1667V31.9H6.70342V30.7222H10V33.1667C10 34.0333 9.72624 34.7222 9.19011 35.2333C8.65399 35.7444 7.92396 35.9889 7.01141 35.9889V36Z",fill:"#161616"}),t("path",{d:"M7 18L4 22H10L7 18Z",fill:"#161616"}),t("path",{d:"M3.5 14L6.10492 4H7.90656L10.5 14H9.11148L8.48033 11.3973H5.51967L4.88852 14H3.5ZM5.79508 10.2785H8.19344L7.48197 7.28767C7.34426 6.73973 7.22951 6.27169 7.14918 5.89498C7.06885 5.50685 7.01148 5.25571 7 5.11872C6.97705 5.25571 6.93115 5.51826 6.85082 5.89498C6.77049 6.2831 6.66721 6.73973 6.52951 7.27626L5.79508 10.2785Z",fill:"#161616"}),t("defs",null,t("clipPath",{id:"clip0_1635_2685"},t("rect",{width:"18",height:"18",fill:"white",transform:"translate(26 11)"})))),st=()=>t("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1635_3714",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z",fill:"#4DB848"}),t("path",{d:"M0 0V-1H-1V0H0ZM49 0L49.8 -0.6L49.5 -1H49V0ZM0 40H-1V41H0V40ZM49 40V41H49.5L49.8 40.6L49 40ZM64 20L64.8 20.6L65.25 20L64.8 19.4L64 20ZM0 1H49V-1H0V1ZM1 40V0H-1V40H1ZM49 39H0V41H49V39ZM63.2 19.4L48.2 39.4L49.8 40.6L64.8 20.6L63.2 19.4ZM48.2 0.6L63.2 20.6L64.8 19.4L49.8 -0.6L48.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1635_3714)"}),t("path",{d:"M27.5 28.5003V11.4998H33.9C35.1 11.4998 36.13 11.7096 36.94 12.1094C37.77 12.5292 38.4 13.0989 38.82 13.8185C39.23 14.5281 39.44 15.3276 39.44 16.1971C39.44 17.3265 39.12 18.226 38.5 18.8557C38.22 19.1355 37.91 19.3754 37.58 19.5753C37.74 19.6452 37.9 19.7352 38.06 19.8351C38.64 20.1849 39.12 20.6946 39.49 21.3443C39.87 21.9939 40.06 22.7835 40.06 23.683C40.06 24.5825 39.84 25.422 39.42 26.1516C38.99 26.8912 38.32 27.4709 37.43 27.8906C36.57 28.3004 35.47 28.5003 34.16 28.5003H27.5ZM33.91 25.392C34.93 25.392 35.65 25.2121 36.05 24.8523C36.44 24.5025 36.63 24.0828 36.63 23.5631C36.63 22.9434 36.4 22.4337 35.94 21.9839C35.47 21.5342 34.84 21.3143 34 21.3143H30.94V25.392H33.9H33.91ZM33.66 18.4259C34.36 18.4259 34.92 18.236 35.38 17.8562C35.82 17.4964 36.03 17.0167 36.03 16.407C36.03 15.8873 35.85 15.4676 35.49 15.1177C35.13 14.7679 34.53 14.598 33.72 14.598H30.94V18.4259H33.65H33.66Z",fill:"white"}),t("path",{d:"M33.9 11.9994C35.03 11.9994 35.97 12.1893 36.71 12.5591C37.45 12.9289 38.01 13.4386 38.38 14.0683C38.75 14.6979 38.93 15.4076 38.93 16.1971C38.93 17.1966 38.66 17.9661 38.14 18.4958C37.61 19.0255 36.97 19.3853 36.23 19.5752V19.7351C36.77 19.7651 37.29 19.935 37.8 20.2449C38.31 20.5547 38.73 21.0044 39.06 21.5841C39.39 22.1638 39.56 22.8634 39.56 23.673C39.56 24.4825 39.37 25.2321 38.99 25.8817C38.61 26.5314 38.02 27.0511 37.22 27.4209C36.42 27.8007 35.4 27.9806 34.16 27.9806H28V11.9994H33.9ZM30.45 18.9256H33.66C34.47 18.9256 35.15 18.6957 35.7 18.236C36.25 17.7762 36.53 17.1666 36.53 16.397C36.53 15.7374 36.3 15.1877 35.84 14.7479C35.38 14.3082 34.67 14.0883 33.73 14.0883H30.45V18.9156M30.45 25.8917H33.91C35.06 25.8917 35.89 25.6718 36.39 25.2221C36.89 24.7823 37.14 24.2227 37.14 23.553C37.14 22.8034 36.86 22.1538 36.3 21.6141C35.74 21.0744 34.98 20.8046 34.02 20.8046H30.46V25.8817M33.9 11H27V29H34.16C35.54 29 36.71 28.7801 37.64 28.3404C38.62 27.8806 39.36 27.231 39.85 26.4014C40.32 25.6019 40.56 24.6824 40.56 23.683C40.56 22.6835 40.35 21.824 39.93 21.0944C39.55 20.4448 39.08 19.915 38.51 19.5253C38.63 19.4253 38.74 19.3254 38.85 19.2054C39.57 18.4858 39.94 17.4664 39.94 16.1971C39.94 15.2376 39.71 14.3481 39.25 13.5586C38.78 12.759 38.08 12.1194 37.16 11.6596C36.28 11.2199 35.18 11 33.9 11ZM31.45 15.0877H33.73C34.19 15.0877 34.82 15.1577 35.15 15.4675C35.41 15.7174 35.53 16.0072 35.53 16.397C35.53 16.8667 35.39 17.1966 35.06 17.4664C34.69 17.7762 34.23 17.9262 33.66 17.9262H31.45V15.0977V15.0877ZM31.45 21.814H34.01C34.71 21.814 35.23 21.9839 35.6 22.3437C35.97 22.6935 36.14 23.0833 36.14 23.563C36.14 23.9428 36.01 24.2227 35.73 24.4825C35.56 24.6324 35.09 24.8923 33.92 24.8923H31.46V21.814H31.45Z",fill:"#161616"}),t("rect",{width:"12",height:"38",transform:"translate(1 1)",fill:"white"}),t("path",{d:"M7.01141 36C6.08745 36 5.35742 35.7444 4.80989 35.2444C4.26236 34.7444 4 34.0556 4 33.1667V28.8111C4 27.9444 4.27377 27.2556 4.80989 26.7556C5.35742 26.2556 6.08745 26 7.01141 26C7.93536 26 8.65399 26.2556 9.19011 26.7556C9.73764 27.2667 10 27.9444 10 28.8111H8.64259C8.64259 28.2889 8.4943 27.8778 8.20913 27.6C7.91255 27.3111 7.51331 27.1778 7 27.1778C6.48669 27.1778 6.07605 27.3222 5.77947 27.6C5.48289 27.8889 5.34601 28.2889 5.34601 28.8111V33.1667C5.34601 33.7 5.4943 34.1111 5.77947 34.3889C6.06464 34.6667 6.47529 34.8111 7 34.8111C7.52472 34.8111 7.91255 34.6667 8.20913 34.3889C8.5057 34.1 8.64259 33.7 8.64259 33.1667V31.9H6.70342V30.7222H10V33.1667C10 34.0333 9.72624 34.7222 9.19011 35.2333C8.65399 35.7444 7.92396 35.9889 7.01141 35.9889V36Z",fill:"#161616"}),t("path",{d:"M7 18L4 22H10L7 18Z",fill:"#161616"}),t("path",{d:"M3.5 14L6.10492 4H7.90656L10.5 14H9.11148L8.48033 11.3973H5.51967L4.88852 14H3.5ZM5.79508 10.2785H8.19344L7.48197 7.28767C7.34426 6.73973 7.22951 6.27169 7.14918 5.89498C7.06885 5.50685 7.01148 5.25571 7 5.11872C6.97705 5.25571 6.93115 5.51826 6.85082 5.89498C6.77049 6.2831 6.66721 6.73973 6.52951 7.27626L5.79508 10.2785Z",fill:"#161616"})),nt=()=>t("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1635_3739",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z",fill:"#BED62F"}),t("path",{d:"M0 0V-1H-1V0H0ZM49 0L49.8 -0.6L49.5 -1H49V0ZM0 40H-1V41H0V40ZM49 40V41H49.5L49.8 40.6L49 40ZM64 20L64.8 20.6L65.25 20L64.8 19.4L64 20ZM0 1H49V-1H0V1ZM1 40V0H-1V40H1ZM49 39H0V41H49V39ZM63.2 19.4L48.2 39.4L49.8 40.6L64.8 20.6L63.2 19.4ZM48.2 0.6L63.2 20.6L64.8 19.4L49.8 -0.6L48.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1635_3739)"}),t("path",{d:"M34.21 28.94C32.73 28.94 31.4 28.58 30.24 27.88C29.08 27.18 28.16 26.16 27.49 24.85C26.83 23.56 26.5 22.01 26.5 20.23C26.5 18.45 26.83 16.89 27.49 15.59C28.16 14.28 29.08 13.26 30.24 12.56C31.4 11.86 32.73 11.5 34.2 11.5C35.39 11.5 36.5 11.73 37.49 12.18C38.49 12.64 39.34 13.31 40 14.18C40.66 15.05 41.1 16.1 41.29 17.31L41.38 17.89H37.92L37.84 17.49C37.66 16.6 37.25 15.93 36.59 15.46C35.9 14.97 35.12 14.74 34.22 14.74C33.39 14.74 32.68 14.94 32.03 15.35C31.39 15.76 30.88 16.37 30.5 17.17C30.11 17.99 29.92 19.02 29.92 20.23C29.92 21.44 30.12 22.48 30.5 23.29C30.88 24.09 31.39 24.69 32.03 25.09C32.68 25.5 33.39 25.7 34.22 25.7C35.12 25.7 35.9 25.46 36.59 24.97C37.26 24.49 37.67 23.83 37.84 22.93L37.92 22.53H41.39L41.3 23.11C41.12 24.25 40.71 25.26 40.06 26.13C39.42 27 38.58 27.69 37.58 28.19C36.58 28.68 35.44 28.93 34.19 28.93L34.21 28.94Z",fill:"white"}),t("path",{d:"M34.21 12C35.33 12 36.36 12.21 37.29 12.64C38.22 13.07 38.99 13.68 39.61 14.49C40.23 15.3 40.62 16.26 40.8 17.4H38.34C38.14 16.38 37.65 15.6 36.88 15.06C36.11 14.52 35.22 14.24 34.22 14.24C33.3 14.24 32.48 14.47 31.76 14.93C31.04 15.39 30.47 16.07 30.05 16.96C29.63 17.85 29.42 18.94 29.42 20.23C29.42 21.52 29.63 22.62 30.05 23.51C30.47 24.4 31.04 25.07 31.76 25.52C32.48 25.98 33.3 26.2 34.22 26.2C35.22 26.2 36.11 25.93 36.88 25.38C37.65 24.83 38.13 24.05 38.34 23.03H40.81C40.64 24.09 40.26 25.02 39.67 25.83C39.07 26.64 38.31 27.27 37.37 27.74C36.43 28.21 35.38 28.43 34.21 28.43C32.82 28.43 31.58 28.1 30.5 27.44C29.42 26.78 28.56 25.84 27.94 24.61C27.32 23.38 27.01 21.92 27.01 20.22C27.01 18.52 27.32 17.04 27.95 15.81C28.58 14.58 29.43 13.64 30.52 12.98C31.6 12.32 32.84 11.99 34.22 11.99M34.21 11C32.65 11 31.23 11.38 29.99 12.13C28.75 12.88 27.76 13.97 27.05 15.36C26.35 16.72 26 18.36 26 20.22C26 22.08 26.35 23.71 27.04 25.07C27.75 26.46 28.73 27.54 29.97 28.3C31.21 29.05 32.63 29.43 34.2 29.43C35.52 29.43 36.74 29.16 37.81 28.63C38.88 28.1 39.78 27.36 40.47 26.42C41.16 25.48 41.61 24.39 41.8 23.18L41.98 22.03H37.52L37.36 22.84C37.21 23.6 36.86 24.17 36.31 24.57C35.71 25 35.03 25.21 34.23 25.21C33.5 25.21 32.87 25.04 32.3 24.68C31.74 24.33 31.3 23.8 30.96 23.09C30.61 22.34 30.43 21.38 30.43 20.24C30.43 19.1 30.61 18.15 30.96 17.39C31.3 16.67 31.74 16.14 32.31 15.78C32.87 15.42 33.5 15.24 34.23 15.24C35.03 15.24 35.71 15.45 36.31 15.87C36.87 16.26 37.21 16.83 37.36 17.59L37.52 18.4H41.97L41.79 17.24C41.59 15.95 41.12 14.82 40.4 13.88C39.69 12.95 38.78 12.22 37.7 11.73C36.64 11.25 35.46 11 34.2 11L34.21 11Z",fill:"#161616"}),t("rect",{width:"12",height:"38",transform:"translate(1 1)",fill:"white"}),t("path",{d:"M7.01141 36C6.08745 36 5.35742 35.7444 4.80989 35.2444C4.26236 34.7444 4 34.0556 4 33.1667V28.8111C4 27.9444 4.27377 27.2556 4.80989 26.7556C5.35742 26.2556 6.08745 26 7.01141 26C7.93536 26 8.65399 26.2556 9.19011 26.7556C9.73764 27.2667 10 27.9444 10 28.8111H8.64259C8.64259 28.2889 8.4943 27.8778 8.20913 27.6C7.91255 27.3111 7.51331 27.1778 7 27.1778C6.48669 27.1778 6.07605 27.3222 5.77947 27.6C5.48289 27.8889 5.34601 28.2889 5.34601 28.8111V33.1667C5.34601 33.7 5.4943 34.1111 5.77947 34.3889C6.06464 34.6667 6.47529 34.8111 7 34.8111C7.52472 34.8111 7.91255 34.6667 8.20913 34.3889C8.5057 34.1 8.64259 33.7 8.64259 33.1667V31.9H6.70342V30.7222H10V33.1667C10 34.0333 9.72624 34.7222 9.19011 35.2333C8.65399 35.7444 7.92396 35.9889 7.01141 35.9889V36Z",fill:"#161616"}),t("path",{d:"M7 18L4 22H10L7 18Z",fill:"#161616"}),t("path",{d:"M3.5 14L6.10492 4H7.90656L10.5 14H9.11148L8.48033 11.3973H5.51967L4.88852 14H3.5ZM5.79508 10.2785H8.19344L7.48197 7.28767C7.34426 6.73973 7.22951 6.27169 7.14918 5.89498C7.06885 5.50685 7.01148 5.25571 7 5.11872C6.97705 5.25571 6.93115 5.51826 6.85082 5.89498C6.77049 6.2831 6.66721 6.73973 6.52951 7.27626L5.79508 10.2785Z",fill:"#161616"})),lt=()=>t("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1635_3752",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z",fill:"#FFF200"}),t("path",{d:"M0 0V-1H-1V0H0ZM49 0L49.8 -0.6L49.5 -1H49V0ZM0 40H-1V41H0V40ZM49 40V41H49.5L49.8 40.6L49 40ZM64 20L64.8 20.6L65.25 20L64.8 19.4L64 20ZM0 1H49V-1H0V1ZM1 40V0H-1V40H1ZM49 39H0V41H49V39ZM63.2 19.4L48.2 39.4L49.8 40.6L64.8 20.6L63.2 19.4ZM48.2 0.6L63.2 20.6L64.8 19.4L49.8 -0.6L48.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1635_3752)"}),t("path",{d:"M26.5 28.51V11.5H32.36C34.02 11.5 35.46 11.85 36.66 12.53C37.87 13.22 38.8 14.21 39.45 15.48C40.08 16.73 40.41 18.25 40.41 19.98C40.41 21.71 40.09 23.24 39.45 24.5C38.8 25.78 37.85 26.78 36.62 27.47C35.4 28.15 33.92 28.5 32.22 28.5H26.51L26.5 28.51ZM32.07 25.36C33.72 25.36 34.97 24.9 35.77 24.01C36.58 23.1 37 21.74 37 19.99C37 18.24 36.59 16.9 35.79 15.99C34.99 15.09 33.82 14.65 32.21 14.65H29.96V25.36H32.08H32.07Z",fill:"white"}),t("path",{d:"M32.36 12C33.94 12 35.29 12.32 36.41 12.96C37.53 13.6 38.4 14.52 39 15.7C39.6 16.89 39.9 18.31 39.9 19.98C39.9 21.65 39.6 23.08 38.99 24.28C38.38 25.48 37.51 26.4 36.36 27.04C35.21 27.68 33.83 28.01 32.21 28.01H27V12H32.36ZM29.45 25.86H32.07C33.88 25.86 35.24 25.35 36.14 24.34C37.04 23.33 37.49 21.87 37.49 19.98C37.49 18.09 37.04 16.65 36.15 15.65C35.26 14.65 33.94 14.15 32.19 14.15H29.44V25.86M32.36 11H26V29.01H32.21C33.99 29.01 35.56 28.64 36.85 27.92C38.17 27.18 39.19 26.11 39.88 24.74C40.55 23.41 40.9 21.81 40.9 19.99C40.9 18.17 40.56 16.59 39.89 15.26C39.2 13.9 38.2 12.84 36.9 12.1C35.63 11.37 34.1 11.01 32.35 11.01L32.36 11ZM30.45 15.15H32.2C33.66 15.15 34.71 15.53 35.41 16.32C36.13 17.13 36.49 18.36 36.49 19.98C36.49 21.6 36.12 22.85 35.39 23.67C34.68 24.47 33.59 24.86 32.07 24.86H30.45V15.15Z",fill:"#161616"}),t("rect",{width:"12",height:"38",transform:"translate(1 1)",fill:"white"}),t("path",{d:"M7.01141 36C6.08745 36 5.35742 35.7444 4.80989 35.2444C4.26236 34.7444 4 34.0556 4 33.1667V28.8111C4 27.9444 4.27377 27.2556 4.80989 26.7556C5.35742 26.2556 6.08745 26 7.01141 26C7.93536 26 8.65399 26.2556 9.19011 26.7556C9.73764 27.2667 10 27.9444 10 28.8111H8.64259C8.64259 28.2889 8.4943 27.8778 8.20913 27.6C7.91255 27.3111 7.51331 27.1778 7 27.1778C6.48669 27.1778 6.07605 27.3222 5.77947 27.6C5.48289 27.8889 5.34601 28.2889 5.34601 28.8111V33.1667C5.34601 33.7 5.4943 34.1111 5.77947 34.3889C6.06464 34.6667 6.47529 34.8111 7 34.8111C7.52472 34.8111 7.91255 34.6667 8.20913 34.3889C8.5057 34.1 8.64259 33.7 8.64259 33.1667V31.9H6.70342V30.7222H10V33.1667C10 34.0333 9.72624 34.7222 9.19011 35.2333C8.65399 35.7444 7.92396 35.9889 7.01141 35.9889V36Z",fill:"#161616"}),t("path",{d:"M7 18L4 22H10L7 18Z",fill:"#161616"}),t("path",{d:"M3.5 14L6.10492 4H7.90656L10.5 14H9.11148L8.48033 11.3973H5.51967L4.88852 14H3.5ZM5.79508 10.2785H8.19344L7.48197 7.28767C7.34426 6.73973 7.22951 6.27169 7.14918 5.89498C7.06885 5.50685 7.01148 5.25571 7 5.11872C6.97705 5.25571 6.93115 5.51826 6.85082 5.89498C6.77049 6.2831 6.66721 6.73973 6.52951 7.27626L5.79508 10.2785Z",fill:"#161616"})),at=()=>t("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1635_3765",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z",fill:"#FDB813"}),t("path",{d:"M0 0V-1H-1V0H0ZM49 0L49.8 -0.6L49.5 -1H49V0ZM0 40H-1V41H0V40ZM49 40V41H49.5L49.8 40.6L49 40ZM64 20L64.8 20.6L65.25 20L64.8 19.4L64 20ZM0 1H49V-1H0V1ZM1 40V0H-1V40H1ZM49 39H0V41H49V39ZM63.2 19.4L48.2 39.4L49.8 40.6L64.8 20.6L63.2 19.4ZM48.2 0.6L63.2 20.6L64.8 19.4L49.8 -0.6L48.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1635_3765)"}),t("path",{d:"M27.5103 28.51V11.5H38.5802V14.61H30.9603V18.38H38.0503V21.47H30.9603V25.41H38.6502V28.51H27.5103Z",fill:"white"}),t("path",{d:"M38.08 12V14.11H30.45V18.88H37.54V20.97H30.45V25.9H38.14V28.01H28V12H38.08ZM39.08 11H27V29.01H39.14V24.9H31.45V21.97H38.54V17.88H31.45V15.11H39.08V11Z",fill:"#161616"}),t("rect",{width:"12",height:"38",transform:"translate(1 1)",fill:"white"}),t("path",{d:"M7.01141 36C6.08745 36 5.35742 35.7444 4.80989 35.2444C4.26236 34.7444 4 34.0556 4 33.1667V28.8111C4 27.9444 4.27377 27.2556 4.80989 26.7556C5.35742 26.2556 6.08745 26 7.01141 26C7.93536 26 8.65399 26.2556 9.19011 26.7556C9.73764 27.2667 10 27.9444 10 28.8111H8.64259C8.64259 28.2889 8.4943 27.8778 8.20913 27.6C7.91255 27.3111 7.51331 27.1778 7 27.1778C6.48669 27.1778 6.07605 27.3222 5.77947 27.6C5.48289 27.8889 5.34601 28.2889 5.34601 28.8111V33.1667C5.34601 33.7 5.4943 34.1111 5.77947 34.3889C6.06464 34.6667 6.47529 34.8111 7 34.8111C7.52472 34.8111 7.91255 34.6667 8.20913 34.3889C8.5057 34.1 8.64259 33.7 8.64259 33.1667V31.9H6.70342V30.7222H10V33.1667C10 34.0333 9.72624 34.7222 9.19011 35.2333C8.65399 35.7444 7.92396 35.9889 7.01141 35.9889V36Z",fill:"#161616"}),t("path",{d:"M7 18L4 22H10L7 18Z",fill:"#161616"}),t("path",{d:"M3.5 14L6.10492 4H7.90656L10.5 14H9.11148L8.48033 11.3973H5.51967L4.88852 14H3.5ZM5.79508 10.2785H8.19344L7.48197 7.28767C7.34426 6.73973 7.22951 6.27169 7.14918 5.89498C7.06885 5.50685 7.01148 5.25571 7 5.11872C6.97705 5.25571 6.93115 5.51826 6.85082 5.89498C6.77049 6.2831 6.66721 6.73973 6.52951 7.27626L5.79508 10.2785Z",fill:"#161616"})),dt=()=>t("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1635_3778",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z",fill:"#F36F21"}),t("path",{d:"M0 0V-1H-1V0H0ZM49 0L49.8 -0.6L49.5 -1H49V0ZM0 40H-1V41H0V40ZM49 40V41H49.5L49.8 40.6L49 40ZM64 20L64.8 20.6L65.25 20L64.8 19.4L64 20ZM0 1H49V-1H0V1ZM1 40V0H-1V40H1ZM49 39H0V41H49V39ZM63.2 19.4L48.2 39.4L49.8 40.6L64.8 20.6L63.2 19.4ZM48.2 0.6L63.2 20.6L64.8 19.4L49.8 -0.6L48.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1635_3778)"}),t("path",{d:"M27.0601 28.72V11.71H38.0201V14.82H30.5101V18.97H37.3001V22.06H30.5101V28.72H27.0601Z",fill:"white"}),t("path",{d:"M37.5201 12.21V14.32H30.0101V19.47H36.8001V21.56H30.0101V28.22H27.5601V12.21H37.5201ZM38.5201 11.21H26.5601V29.22H31.0101V22.56H37.8001V18.47H31.0101V15.32H38.5201V11.21Z",fill:"#161616"}),t("rect",{width:"12",height:"38",transform:"translate(1 1)",fill:"white"}),t("path",{d:"M7.01141 36C6.08745 36 5.35742 35.7444 4.80989 35.2444C4.26236 34.7444 4 34.0556 4 33.1667V28.8111C4 27.9444 4.27377 27.2556 4.80989 26.7556C5.35742 26.2556 6.08745 26 7.01141 26C7.93536 26 8.65399 26.2556 9.19011 26.7556C9.73764 27.2667 10 27.9444 10 28.8111H8.64259C8.64259 28.2889 8.4943 27.8778 8.20913 27.6C7.91255 27.3111 7.51331 27.1778 7 27.1778C6.48669 27.1778 6.07605 27.3222 5.77947 27.6C5.48289 27.8889 5.34601 28.2889 5.34601 28.8111V33.1667C5.34601 33.7 5.4943 34.1111 5.77947 34.3889C6.06464 34.6667 6.47529 34.8111 7 34.8111C7.52472 34.8111 7.91255 34.6667 8.20913 34.3889C8.5057 34.1 8.64259 33.7 8.64259 33.1667V31.9H6.70342V30.7222H10V33.1667C10 34.0333 9.72624 34.7222 9.19011 35.2333C8.65399 35.7444 7.92396 35.9889 7.01141 35.9889V36Z",fill:"#161616"}),t("path",{d:"M7 18L4 22H10L7 18Z",fill:"#161616"}),t("path",{d:"M3.5 14L6.10492 4H7.90656L10.5 14H9.11148L8.48033 11.3973H5.51967L4.88852 14H3.5ZM5.79508 10.2785H8.19344L7.48197 7.28767C7.34426 6.73973 7.22951 6.27169 7.14918 5.89498C7.06885 5.50685 7.01148 5.25571 7 5.11872C6.97705 5.25571 6.93115 5.51826 6.85082 5.89498C6.77049 6.2831 6.66721 6.73973 6.52951 7.27626L5.79508 10.2785Z",fill:"#161616"})),ct=()=>t("svg",{width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1635_3791",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M49 0H0V40H49L64 20L49 0Z",fill:"#ED1C24"}),t("path",{d:"M0 0V-1H-1V0H0ZM49 0L49.8 -0.6L49.5 -1H49V0ZM0 40H-1V41H0V40ZM49 40V41H49.5L49.8 40.6L49 40ZM64 20L64.8 20.6L65.25 20L64.8 19.4L64 20ZM0 1H49V-1H0V1ZM1 40V0H-1V40H1ZM49 39H0V41H49V39ZM63.2 19.4L48.2 39.4L49.8 40.6L64.8 20.6L63.2 19.4ZM48.2 0.6L63.2 20.6L64.8 19.4L49.8 -0.6L48.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1635_3791)"}),t("path",{d:"M34.28 28.94C32.75 28.94 31.38 28.58 30.21 27.87C29.04 27.16 28.11 26.13 27.47 24.83C26.83 23.54 26.5 22 26.5 20.24C26.5 18.48 26.83 16.91 27.48 15.62C28.14 14.31 29.06 13.29 30.22 12.58C31.38 11.87 32.71 11.51 34.18 11.51C35.4 11.51 36.53 11.75 37.53 12.23C38.53 12.71 39.38 13.38 40.04 14.23C40.7 15.08 41.13 16.08 41.32 17.2L41.42 17.78H37.95L37.84 17.43C37.57 16.58 37.14 15.94 36.52 15.45C35.91 14.97 35.15 14.74 34.2 14.74C33.39 14.74 32.68 14.94 32.04 15.35C31.4 15.75 30.89 16.37 30.52 17.17C30.13 17.99 29.94 19.02 29.94 20.23C29.94 21.44 30.14 22.47 30.52 23.28C30.9 24.08 31.41 24.69 32.06 25.1C32.71 25.51 33.46 25.72 34.31 25.72C35.45 25.72 36.34 25.4 37.03 24.74C37.61 24.18 37.95 23.46 38.05 22.55H34.16V19.53H41.48V21.87C41.48 23.3 41.17 24.56 40.55 25.62C39.93 26.68 39.07 27.51 37.99 28.09C36.92 28.66 35.68 28.95 34.31 28.95L34.28 28.94Z",fill:"white"}),t("path",{d:"M34.18 12C35.33 12 36.38 12.22 37.32 12.67C38.26 13.12 39.03 13.74 39.65 14.53C40.26 15.32 40.66 16.24 40.84 17.27H38.33C38.04 16.33 37.54 15.59 36.84 15.05C36.14 14.51 35.27 14.23 34.21 14.23C33.31 14.23 32.5 14.46 31.78 14.92C31.06 15.38 30.49 16.05 30.07 16.94C29.65 17.83 29.44 18.92 29.44 20.21C29.44 21.5 29.65 22.59 30.07 23.48C30.49 24.37 31.06 25.04 31.79 25.5C32.52 25.96 33.36 26.19 34.3 26.19C35.57 26.19 36.59 25.82 37.37 25.07C38.15 24.32 38.55 23.31 38.58 22.02H34.66V20H40.98V21.84C40.98 23.19 40.69 24.35 40.12 25.34C39.54 26.32 38.75 27.09 37.75 27.62C36.75 28.16 35.6 28.43 34.3 28.43C32.85 28.43 31.58 28.1 30.49 27.43C29.4 26.76 28.54 25.82 27.93 24.59C27.32 23.37 27.02 21.91 27.02 20.22C27.02 18.53 27.33 17.05 27.95 15.82C28.57 14.59 29.42 13.65 30.5 12.98C31.58 12.32 32.81 11.99 34.2 11.99M34.18 11C32.62 11 31.2 11.38 29.96 12.14C28.72 12.9 27.74 13.99 27.04 15.38C26.35 16.74 26 18.37 26 20.23C26 22.09 26.34 23.69 27.02 25.05C27.71 26.44 28.7 27.53 29.95 28.3C31.2 29.06 32.66 29.44 34.28 29.44C35.74 29.44 37.06 29.13 38.2 28.52C39.36 27.9 40.29 27 40.96 25.86C41.62 24.72 41.96 23.38 41.96 21.86V19.02H33.64V23.04H37.42C37.28 23.57 37.02 24.01 36.65 24.37C36.06 24.94 35.28 25.21 34.28 25.21C33.52 25.21 32.87 25.03 32.3 24.67C31.73 24.31 31.29 23.78 30.95 23.06C30.6 22.31 30.42 21.36 30.42 20.22C30.42 19.08 30.6 18.13 30.95 17.37C31.29 16.65 31.73 16.12 32.29 15.76C32.85 15.4 33.47 15.23 34.19 15.23C35.02 15.23 35.68 15.43 36.2 15.84C36.74 16.26 37.11 16.83 37.35 17.57L37.57 18.27H42.01L41.81 17.1C41.6 15.9 41.14 14.83 40.43 13.91C39.72 13 38.82 12.27 37.74 11.76C36.67 11.25 35.47 10.99 34.17 10.99L34.18 11Z",fill:"#161616"}),t("rect",{width:"12",height:"38",transform:"translate(1 1)",fill:"white"}),t("path",{d:"M7.01141 36C6.08745 36 5.35742 35.7444 4.80989 35.2444C4.26236 34.7444 4 34.0556 4 33.1667V28.8111C4 27.9444 4.27377 27.2556 4.80989 26.7556C5.35742 26.2556 6.08745 26 7.01141 26C7.93536 26 8.65399 26.2556 9.19011 26.7556C9.73764 27.2667 10 27.9444 10 28.8111H8.64259C8.64259 28.2889 8.4943 27.8778 8.20913 27.6C7.91255 27.3111 7.51331 27.1778 7 27.1778C6.48669 27.1778 6.07605 27.3222 5.77947 27.6C5.48289 27.8889 5.34601 28.2889 5.34601 28.8111V33.1667C5.34601 33.7 5.4943 34.1111 5.77947 34.3889C6.06464 34.6667 6.47529 34.8111 7 34.8111C7.52472 34.8111 7.91255 34.6667 8.20913 34.3889C8.5057 34.1 8.64259 33.7 8.64259 33.1667V31.9H6.70342V30.7222H10V33.1667C10 34.0333 9.72624 34.7222 9.19011 35.2333C8.65399 35.7444 7.92396 35.9889 7.01141 35.9889V36Z",fill:"#161616"}),t("path",{d:"M7 18L4 22H10L7 18Z",fill:"#161616"}),t("path",{d:"M3.5 14L6.10492 4H7.90656L10.5 14H9.11148L8.48033 11.3973H5.51967L4.88852 14H3.5ZM5.79508 10.2785H8.19344L7.48197 7.28767C7.34426 6.73973 7.22951 6.27169 7.14918 5.89498C7.06885 5.50685 7.01148 5.25571 7 5.11872C6.97705 5.25571 6.93115 5.51826 6.85082 5.89498C6.77049 6.2831 6.66721 6.73973 6.52951 7.27626L5.79508 10.2785Z",fill:"#161616"})),ht=()=>t("svg",{width:"83",height:"40",viewBox:"0 0 83 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1660_2847",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M68 0H0V40H68L83 20L68 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M68 0H0V40H68L83 20L68 0Z",fill:"#00A651"}),t("path",{d:"M0 0V-1H-1V0H0ZM68 0L68.8 -0.6L68.5 -1H68V0ZM0 40H-1V41H0V40ZM68 40V41H68.5L68.8 40.6L68 40ZM83 20L83.8 20.6L84.25 20L83.8 19.4L83 20ZM0 1H68V-1H0V1ZM1 40V0H-1V40H1ZM68 39H0V41H68V39ZM82.2 19.4L67.2 39.4L68.8 40.6L83.8 20.6L82.2 19.4ZM67.2 0.6L82.2 20.6L83.8 19.4L68.8 -0.6L67.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1660_2847)"}),t("g",{"clip-path":"url(#clip0_1660_2847)"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.44 24.2827L20.91 28.5003H24.63L18.47 11.4998H14.76L8.70996 28.5003H12.43L13.86 24.2827H19.44ZM17.68 19.2554L18.37 21.2343H18.36H14.88L15.55 19.2455C15.76 18.6358 15.98 17.8962 16.23 17.0467C16.3356 16.7035 16.4412 16.3294 16.5537 15.9311L16.5537 15.9311L16.5537 15.931L16.6 15.7674C16.73 16.2171 16.85 16.6269 16.97 17.0167C17.23 17.8662 17.46 18.6058 17.68 19.2554ZM29.5103 21.5741V25.8618H32.6303V21.5741H36.8603V18.5758H32.6303V14.2782H29.5103V18.5758H25.2803V21.5741H29.5103ZM44.19 25.8618V21.5742H39.96V18.5759H44.19V14.2782H47.31V18.5759H51.54V21.5742H47.31V25.8618H44.19ZM58.8799 21.5742V25.8618H61.9999V21.5742H66.2299V18.5759H61.9999V14.2782H58.8799V18.5759H54.6499V21.5742H58.8799Z",fill:"white"}),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M23.92 28.0006L18.12 11.9994H15.11L9.42 28.0006H12.08L13.51 23.7829H19.8L21.27 28.0006H23.92ZM19.08 21.734H14.21L15.1 19.0955C15.3 18.4858 15.52 17.7562 15.77 16.9067L15.8299 16.6946L15.83 16.6943L15.8304 16.693C16.0566 15.8924 16.3165 14.9727 16.61 13.9184L16.6364 14.0117C16.9454 15.1023 17.2169 16.0604 17.46 16.8767C17.71 17.7163 17.95 18.4559 18.16 19.0955L19.08 21.734ZM14.41 11H18.82L19.06 11.6596L24.86 27.6607L25.35 29H20.56L20.33 28.3304L19.09 24.7823H14.22L13.02 28.3204L12.79 29H8L8.47 27.6607L14.17 11.6596L14.41 11ZM16.04 19.4153L15.59 20.7346H17.67L17.21 19.4153C17.03 18.8656 16.83 18.246 16.62 17.5564C16.41 18.256 16.22 18.8756 16.04 19.4153ZM32.1303 19.0755V14.7779H30.0103V19.0755H25.7803V21.0744H30.0103V25.372H32.1303V21.0744H36.3603V19.0755H32.1303ZM29.0103 13.7784H33.1303V18.0761H37.3603V22.0738H33.1303V26.3714H29.0103V22.0738H24.7803V18.0761H29.0103V13.7784ZM46.81 14.7779V19.0755H51.04V21.0744H46.81V25.372H44.69V21.0744H40.46V19.0755H44.69V14.7779H46.81ZM47.81 13.7785H43.69V18.0761H39.46V22.0739H43.69V26.3715H47.81V22.0739H52.04V18.0761H47.81V13.7785ZM61.4999 19.0755V14.7779H59.3799V19.0755H55.1499V21.0744H59.3799V25.372H61.4999V21.0744H65.7299V19.0755H61.4999ZM58.3799 13.7785H62.4999V18.0761H66.7299V22.0739H62.4999V26.3715H58.3799V22.0739H54.1499V18.0761H58.3799V13.7785Z",fill:"black"})),t("defs",null,t("clipPath",{id:"clip0_1660_2847"},t("rect",{width:"59",height:"18",fill:"white",transform:"translate(8 11)"})))),pt=()=>t("svg",{width:"69",height:"40",viewBox:"0 0 69 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1660_2860",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M53 0H0V40H53L68 20L53 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M53 0H0V40H53L68 20L53 0Z",fill:"#4DB848"}),t("path",{d:"M0 0V-1H-1V0H0ZM53 0L53.8 -0.6L53.5 -1H53V0ZM0 40H-1V41H0V40ZM53 40V41H53.5L53.8 40.6L53 40ZM68 20L68.8 20.6L69.25 20L68.8 19.4L68 20ZM0 1H53V-1H0V1ZM1 40V0H-1V40H1ZM53 39H0V41H53V39ZM67.2 19.4L52.2 39.4L53.8 40.6L68.8 20.6L67.2 19.4ZM52.2 0.6L67.2 20.6L68.8 19.4L53.8 -0.6L52.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1660_2860)"}),t("g",{"clip-path":"url(#clip0_1660_2860)"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20.91 28.5003L19.44 24.2827H13.86L12.43 28.5003H8.70996L14.76 11.4998H18.47L24.63 28.5003H20.91ZM18.37 21.2343L17.68 19.2554C17.46 18.6058 17.23 17.8662 16.97 17.0167C16.85 16.6269 16.73 16.2171 16.6 15.7674L16.5537 15.931L16.5537 15.9311C16.4412 16.3294 16.3356 16.7035 16.23 17.0467C15.98 17.8962 15.76 18.6358 15.55 19.2455L14.88 21.2343H18.36H18.37ZM29.5103 25.8618V21.5741H25.2803V18.5758H29.5103V14.2782H32.6303V18.5758H36.8603V21.5741H32.6303V25.8618H29.5103ZM44.19 21.5742V25.8618H47.31V21.5742H51.54V18.5759H47.31V14.2782H44.19V18.5759H39.96V21.5742H44.19Z",fill:"white"}),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.12 11.9994L23.92 28.0006H21.27L19.8 23.7829H13.51L12.08 28.0006H9.42L15.11 11.9994H18.12ZM14.21 21.734H19.08L18.16 19.0955C17.95 18.4559 17.71 17.7163 17.46 16.8767C17.2169 16.0604 16.9454 15.1023 16.6364 14.0116L16.61 13.9184C16.3164 14.9731 16.0564 15.8931 15.8301 16.694L15.83 16.6945L15.77 16.9067C15.52 17.7562 15.3 18.4858 15.1 19.0955L14.21 21.734ZM18.82 11H14.41L14.17 11.6596L8.47 27.6607L8 29H12.79L13.02 28.3204L14.22 24.7823H19.09L20.33 28.3304L20.56 29H25.35L24.86 27.6607L19.06 11.6596L18.82 11ZM15.59 20.7346L16.04 19.4153C16.22 18.8756 16.41 18.256 16.62 17.5564C16.83 18.246 17.03 18.8656 17.21 19.4153L17.67 20.7346H15.59ZM32.1303 14.7779V19.0755H36.3603V21.0744H32.1303V25.372H30.0103V21.0744H25.7803V19.0755H30.0103V14.7779H32.1303ZM33.1303 13.7784H29.0103V18.0761H24.7803V22.0738H29.0103V26.3714H33.1303V22.0738H37.3603V18.0761H33.1303V13.7784ZM46.81 19.0755V14.7779H44.69V19.0755H40.46V21.0744H44.69V25.372H46.81V21.0744H51.04V19.0755H46.81ZM43.69 13.7785H47.81V18.0761H52.04V22.0739H47.81V26.3715H43.69V22.0739H39.46V18.0761H43.69V13.7785Z",fill:"black"})),t("defs",null,t("clipPath",{id:"clip0_1660_2860"},t("rect",{width:"44",height:"18",fill:"white",transform:"translate(8 11)"})))),ut=()=>t("svg",{width:"54",height:"40",viewBox:"0 0 54 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1660_2873",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M39 0H0V40H39L54 20L39 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M39 0H0V40H39L54 20L39 0Z",fill:"#BED62F"}),t("path",{d:"M0 0V-1H-1V0H0ZM39 0L39.8 -0.6L39.5 -1H39V0ZM0 40H-1V41H0V40ZM39 40V41H39.5L39.8 40.6L39 40ZM54 20L54.8 20.6L55.25 20L54.8 19.4L54 20ZM0 1H39V-1H0V1ZM1 40V0H-1V40H1ZM39 39H0V41H39V39ZM53.2 19.4L38.2 39.4L39.8 40.6L54.8 20.6L53.2 19.4ZM38.2 0.6L53.2 20.6L54.8 19.4L39.8 -0.6L38.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1660_2873)"}),t("g",{"clip-path":"url(#clip0_1660_2873)"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.44 24.2827L20.91 28.5003H24.63L18.47 11.4998H14.76L8.70996 28.5003H12.43L13.86 24.2827H19.44ZM17.68 19.2554L18.37 21.2343H18.36H14.88L15.55 19.2455C15.76 18.6358 15.98 17.8962 16.23 17.0467C16.3356 16.7035 16.4413 16.3293 16.5537 15.931C16.569 15.8769 16.5844 15.8224 16.6 15.7674C16.73 16.2171 16.85 16.6269 16.97 17.0167C17.23 17.8662 17.46 18.6058 17.68 19.2554ZM29.5103 21.5741V25.8618H32.6303V21.5741H36.8603V18.5758H32.6303V14.2782H29.5103V18.5758H25.2803V21.5741H29.5103Z",fill:"white"}),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M23.92 28.0006L18.12 11.9994H15.11L9.42 28.0006H12.08L13.51 23.7829H19.8L21.27 28.0006H23.92ZM19.08 21.734H14.21L15.1 19.0955C15.3 18.4858 15.52 17.7562 15.77 16.9067C15.7897 16.8369 15.8097 16.7662 15.83 16.6945C16.0563 15.8936 16.3163 14.9733 16.61 13.9184L16.6364 14.0116C16.9454 15.1023 17.2169 16.0604 17.46 16.8767C17.71 17.7163 17.95 18.4559 18.16 19.0955L19.08 21.734ZM14.41 11H18.82L19.06 11.6596L24.86 27.6607L25.35 29H20.56L20.33 28.3304L19.09 24.7823H14.22L13.02 28.3204L12.79 29H8L8.47 27.6607L14.17 11.6596L14.41 11ZM16.04 19.4153L15.59 20.7346H17.67L17.21 19.4153C17.03 18.8656 16.83 18.246 16.62 17.5564C16.41 18.256 16.22 18.8756 16.04 19.4153ZM32.1303 19.0755V14.7779H30.0103V19.0755H25.7803V21.0744H30.0103V25.372H32.1303V21.0744H36.3603V19.0755H32.1303ZM29.0103 13.7784H33.1303V18.0761H37.3603V22.0738H33.1303V26.3714H29.0103V22.0738H24.7803V18.0761H29.0103V13.7784Z",fill:"black"})),t("defs",null,t("clipPath",{id:"clip0_1660_2873"},t("rect",{width:"30",height:"18",fill:"white",transform:"translate(8 11)"})))),ft=()=>t("svg",{width:"48",height:"40",viewBox:"0 0 48 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1660_2886",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 0H0V40H33L48 20L33 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 0H0V40H33L48 20L33 0Z",fill:"#FFF200"}),t("path",{d:"M0 0V-1H-1V0H0ZM33 0L33.8 -0.6L33.5 -1H33V0ZM0 40H-1V41H0V40ZM33 40V41H33.5L33.8 40.6L33 40ZM48 20L48.8 20.6L49.25 20L48.8 19.4L48 20ZM0 1H33V-1H0V1ZM1 40V0H-1V40H1ZM33 39H0V41H33V39ZM47.2 19.4L32.2 39.4L33.8 40.6L48.8 20.6L47.2 19.4ZM32.2 0.6L47.2 20.6L48.8 19.4L33.8 -0.6L32.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1660_2886)"}),t("g",{"clip-path":"url(#clip0_1660_2886)"},t("path",{d:"M24.91 28.5003L23.44 24.2827H17.86L16.43 28.5003H12.71L18.76 11.4998H22.47L28.63 28.5003H24.91ZM22.37 21.2343L21.68 19.2554C21.46 18.6058 21.23 17.8662 20.97 17.0167C20.85 16.6269 20.73 16.2171 20.6 15.7674C20.47 16.2271 20.35 16.6569 20.23 17.0467C19.98 17.8962 19.76 18.6358 19.55 19.2455L18.88 21.2343H22.36H22.37Z",fill:"white"}),t("path",{d:"M22.12 11.9994L27.92 28.0006H25.27L23.8 23.7829H17.51L16.08 28.0006H13.42L19.11 11.9994H22.12ZM18.2 21.734H23.08L22.16 19.0955C21.95 18.4559 21.71 17.7163 21.46 16.8767C21.21 16.0372 20.93 15.0478 20.61 13.9184C20.29 15.0677 20.01 16.0572 19.77 16.9067C19.52 17.7562 19.3 18.4858 19.1 19.0955L18.21 21.734M22.82 11H18.41L18.17 11.6596L12.47 27.6607L12 29H16.79L17.02 28.3204L18.22 24.7823H23.09L24.33 28.3304L24.56 29H29.35L28.86 27.6607L23.06 11.6596L22.82 11ZM19.59 20.7346L20.04 19.4153C20.22 18.8756 20.41 18.256 20.62 17.5564C20.83 18.246 21.03 18.8656 21.21 19.4153L21.67 20.7346H19.59Z",fill:"black"})),t("defs",null,t("clipPath",{id:"clip0_1660_2886"},t("rect",{width:"18",height:"18",fill:"white",transform:"translate(12 11)"})))),gt=()=>t("svg",{width:"48",height:"40",viewBox:"0 0 48 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1660_2899",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 0H0V40H33L48 20L33 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 0H0V40H33L48 20L33 0Z",fill:"#FDB813"}),t("path",{d:"M0 0V-1H-1V0H0ZM33 0L33.8 -0.6L33.5 -1H33V0ZM0 40H-1V41H0V40ZM33 40V41H33.5L33.8 40.6L33 40ZM48 20L48.8 20.6L49.25 20L48.8 19.4L48 20ZM0 1H33V-1H0V1ZM1 40V0H-1V40H1ZM33 39H0V41H33V39ZM47.2 19.4L32.2 39.4L33.8 40.6L48.8 20.6L47.2 19.4ZM32.2 0.6L47.2 20.6L48.8 19.4L33.8 -0.6L32.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1660_2899)"}),t("path",{d:"M14.5 28.5003V11.4998H20.9C22.1 11.4998 23.13 11.7096 23.94 12.1094C24.77 12.5292 25.4 13.0989 25.82 13.8185C26.23 14.5281 26.44 15.3276 26.44 16.1971C26.44 17.3265 26.12 18.226 25.5 18.8557C25.22 19.1355 24.91 19.3754 24.58 19.5753C24.74 19.6452 24.9 19.7352 25.06 19.8351C25.64 20.1849 26.12 20.6946 26.49 21.3443C26.87 21.9939 27.06 22.7835 27.06 23.683C27.06 24.5825 26.84 25.422 26.42 26.1516C25.99 26.8912 25.32 27.4709 24.43 27.8906C23.57 28.3004 22.47 28.5003 21.16 28.5003H14.5ZM20.91 25.392C21.93 25.392 22.65 25.2121 23.05 24.8523C23.44 24.5025 23.63 24.0828 23.63 23.5631C23.63 22.9434 23.4 22.4337 22.94 21.9839C22.47 21.5342 21.84 21.3143 21 21.3143H17.94V25.392H20.9H20.91ZM20.66 18.4259C21.36 18.4259 21.92 18.236 22.38 17.8562C22.82 17.4964 23.03 17.0167 23.03 16.407C23.03 15.8873 22.85 15.4676 22.49 15.1177C22.13 14.7679 21.53 14.598 20.72 14.598H17.94V18.4259H20.65H20.66Z",fill:"white"}),t("path",{d:"M20.9 11.9994C22.03 11.9994 22.97 12.1893 23.71 12.5591C24.45 12.9289 25.01 13.4386 25.38 14.0683C25.75 14.6979 25.93 15.4076 25.93 16.1971C25.93 17.1966 25.66 17.9661 25.14 18.4958C24.61 19.0255 23.97 19.3853 23.23 19.5752V19.7351C23.77 19.7651 24.29 19.935 24.8 20.2449C25.31 20.5547 25.73 21.0044 26.06 21.5841C26.39 22.1638 26.56 22.8634 26.56 23.673C26.56 24.4825 26.37 25.2321 25.99 25.8817C25.61 26.5314 25.02 27.0511 24.22 27.4209C23.42 27.8007 22.4 27.9806 21.16 27.9806H15V11.9994H20.9ZM17.45 18.9256H20.66C21.47 18.9256 22.15 18.6957 22.7 18.236C23.25 17.7762 23.53 17.1666 23.53 16.397C23.53 15.7374 23.3 15.1877 22.84 14.7479C22.38 14.3082 21.67 14.0883 20.73 14.0883H17.45V18.9156M17.45 25.8917H20.91C22.06 25.8917 22.89 25.6718 23.39 25.2221C23.89 24.7823 24.14 24.2227 24.14 23.553C24.14 22.8034 23.86 22.1538 23.3 21.6141C22.74 21.0744 21.98 20.8046 21.02 20.8046H17.46V25.8817M20.9 11H14V29H21.16C22.54 29 23.71 28.7801 24.64 28.3404C25.62 27.8806 26.36 27.231 26.85 26.4014C27.32 25.6019 27.56 24.6824 27.56 23.683C27.56 22.6835 27.35 21.824 26.93 21.0944C26.55 20.4448 26.08 19.915 25.51 19.5253C25.63 19.4253 25.74 19.3254 25.85 19.2054C26.57 18.4858 26.94 17.4664 26.94 16.1971C26.94 15.2376 26.71 14.3481 26.25 13.5586C25.78 12.759 25.08 12.1194 24.16 11.6596C23.28 11.2199 22.18 11 20.9 11ZM18.45 15.0877H20.73C21.19 15.0877 21.82 15.1577 22.15 15.4675C22.41 15.7174 22.53 16.0072 22.53 16.397C22.53 16.8667 22.39 17.1966 22.06 17.4664C21.69 17.7762 21.23 17.9262 20.66 17.9262H18.45V15.0977V15.0877ZM18.45 21.814H21.01C21.71 21.814 22.23 21.9839 22.6 22.3437C22.97 22.6935 23.14 23.0833 23.14 23.563C23.14 23.9428 23.01 24.2227 22.73 24.4825C22.56 24.6324 22.09 24.8923 20.92 24.8923H18.46V21.814H18.45Z",fill:"#161616"})),bt=()=>t("svg",{width:"48",height:"40",viewBox:"0 0 48 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1660_2912",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 0H0V40H33L48 20L33 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 0H0V40H33L48 20L33 0Z",fill:"#F36F21"}),t("path",{d:"M0 0V-1H-1V0H0ZM33 0L33.8 -0.6L33.5 -1H33V0ZM0 40H-1V41H0V40ZM33 40V41H33.5L33.8 40.6L33 40ZM48 20L48.8 20.6L49.25 20L48.8 19.4L48 20ZM0 1H33V-1H0V1ZM1 40V0H-1V40H1ZM33 39H0V41H33V39ZM47.2 19.4L32.2 39.4L33.8 40.6L48.8 20.6L47.2 19.4ZM32.2 0.6L47.2 20.6L48.8 19.4L33.8 -0.6L32.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1660_2912)"}),t("path",{d:"M21.21 28.94C19.73 28.94 18.4 28.58 17.24 27.88C16.08 27.18 15.16 26.16 14.49 24.85C13.83 23.56 13.5 22.01 13.5 20.23C13.5 18.45 13.83 16.89 14.49 15.59C15.16 14.28 16.08 13.26 17.24 12.56C18.4 11.86 19.73 11.5 21.2 11.5C22.39 11.5 23.5 11.73 24.49 12.18C25.49 12.64 26.34 13.31 27 14.18C27.66 15.05 28.1 16.1 28.29 17.31L28.38 17.89H24.92L24.84 17.49C24.66 16.6 24.25 15.93 23.59 15.46C22.9 14.97 22.12 14.74 21.22 14.74C20.39 14.74 19.68 14.94 19.03 15.35C18.39 15.76 17.88 16.37 17.5 17.17C17.11 17.99 16.92 19.02 16.92 20.23C16.92 21.44 17.12 22.48 17.5 23.29C17.88 24.09 18.39 24.69 19.03 25.09C19.68 25.5 20.39 25.7 21.22 25.7C22.12 25.7 22.9 25.46 23.59 24.97C24.26 24.49 24.67 23.83 24.84 22.93L24.92 22.53H28.39L28.3 23.11C28.12 24.25 27.71 25.26 27.06 26.13C26.42 27 25.58 27.69 24.58 28.19C23.58 28.68 22.44 28.93 21.19 28.93L21.21 28.94Z",fill:"white"}),t("path",{d:"M21.21 12C22.33 12 23.36 12.21 24.29 12.64C25.22 13.07 25.99 13.68 26.61 14.49C27.23 15.3 27.62 16.26 27.8 17.4H25.34C25.14 16.38 24.65 15.6 23.88 15.06C23.11 14.52 22.22 14.24 21.22 14.24C20.3 14.24 19.48 14.47 18.76 14.93C18.04 15.39 17.47 16.07 17.05 16.96C16.63 17.85 16.42 18.94 16.42 20.23C16.42 21.52 16.63 22.62 17.05 23.51C17.47 24.4 18.04 25.07 18.76 25.52C19.48 25.98 20.3 26.2 21.22 26.2C22.22 26.2 23.11 25.93 23.88 25.38C24.65 24.83 25.13 24.05 25.34 23.03H27.81C27.64 24.09 27.26 25.02 26.67 25.83C26.07 26.64 25.31 27.27 24.37 27.74C23.43 28.21 22.38 28.43 21.21 28.43C19.82 28.43 18.58 28.1 17.5 27.44C16.42 26.78 15.56 25.84 14.94 24.61C14.32 23.38 14.01 21.92 14.01 20.22C14.01 18.52 14.32 17.04 14.95 15.81C15.58 14.58 16.43 13.64 17.52 12.98C18.6 12.32 19.84 11.99 21.22 11.99M21.21 11C19.65 11 18.23 11.38 16.99 12.13C15.75 12.88 14.76 13.97 14.05 15.36C13.35 16.72 13 18.36 13 20.22C13 22.08 13.35 23.71 14.04 25.07C14.75 26.46 15.73 27.54 16.97 28.3C18.21 29.05 19.63 29.43 21.2 29.43C22.52 29.43 23.74 29.16 24.81 28.63C25.88 28.1 26.78 27.36 27.47 26.42C28.16 25.48 28.61 24.39 28.8 23.18L28.98 22.03H24.52L24.36 22.84C24.21 23.6 23.86 24.17 23.31 24.57C22.71 25 22.03 25.21 21.23 25.21C20.5 25.21 19.87 25.04 19.3 24.68C18.74 24.33 18.3 23.8 17.96 23.09C17.61 22.34 17.43 21.38 17.43 20.24C17.43 19.1 17.61 18.15 17.96 17.39C18.3 16.67 18.74 16.14 19.31 15.78C19.87 15.42 20.5 15.24 21.23 15.24C22.03 15.24 22.71 15.45 23.31 15.87C23.87 16.26 24.21 16.83 24.36 17.59L24.52 18.4H28.97L28.79 17.24C28.59 15.95 28.12 14.82 27.4 13.88C26.69 12.95 25.78 12.22 24.7 11.73C23.64 11.25 22.46 11 21.2 11L21.21 11Z",fill:"#161616"})),vt=()=>t("svg",{width:"48",height:"40",viewBox:"0 0 48 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("mask",{id:"path-1-inside-1_1660_2925",fill:"white"},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 0H0V40H33L48 20L33 0Z"})),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 0H0V40H33L48 20L33 0Z",fill:"#ED1C24"}),t("path",{d:"M0 0V-1H-1V0H0ZM33 0L33.8 -0.6L33.5 -1H33V0ZM0 40H-1V41H0V40ZM33 40V41H33.5L33.8 40.6L33 40ZM48 20L48.8 20.6L49.25 20L48.8 19.4L48 20ZM0 1H33V-1H0V1ZM1 40V0H-1V40H1ZM33 39H0V41H33V39ZM47.2 19.4L32.2 39.4L33.8 40.6L48.8 20.6L47.2 19.4ZM32.2 0.6L47.2 20.6L48.8 19.4L33.8 -0.6L32.2 0.6Z",fill:"#161616",mask:"url(#path-1-inside-1_1660_2925)"}),t("path",{d:"M13.5 28.51V11.5H19.36C21.02 11.5 22.46 11.85 23.66 12.53C24.87 13.22 25.8 14.21 26.45 15.48C27.08 16.73 27.41 18.25 27.41 19.98C27.41 21.71 27.09 23.24 26.45 24.5C25.8 25.78 24.85 26.78 23.62 27.47C22.4 28.15 20.92 28.5 19.22 28.5H13.51L13.5 28.51ZM19.07 25.36C20.72 25.36 21.97 24.9 22.77 24.01C23.58 23.1 24 21.74 24 19.99C24 18.24 23.59 16.9 22.79 15.99C21.99 15.09 20.82 14.65 19.21 14.65H16.96V25.36H19.08H19.07Z",fill:"white"}),t("path",{d:"M19.36 12C20.94 12 22.29 12.32 23.41 12.96C24.53 13.6 25.4 14.52 26 15.7C26.6 16.89 26.9 18.31 26.9 19.98C26.9 21.65 26.6 23.08 25.99 24.28C25.38 25.48 24.51 26.4 23.36 27.04C22.21 27.68 20.83 28.01 19.21 28.01H14V12H19.36ZM16.45 25.86H19.07C20.88 25.86 22.24 25.35 23.14 24.34C24.04 23.33 24.49 21.87 24.49 19.98C24.49 18.09 24.04 16.65 23.15 15.65C22.26 14.65 20.94 14.15 19.19 14.15H16.44V25.86M19.36 11H13V29.01H19.21C20.99 29.01 22.56 28.64 23.85 27.92C25.17 27.18 26.19 26.11 26.88 24.74C27.55 23.41 27.9 21.81 27.9 19.99C27.9 18.17 27.56 16.59 26.89 15.26C26.2 13.9 25.2 12.84 23.9 12.1C22.63 11.37 21.1 11.01 19.35 11.01L19.36 11ZM17.45 15.15H19.2C20.66 15.15 21.71 15.53 22.41 16.32C23.13 17.13 23.49 18.36 23.49 19.98C23.49 21.6 23.12 22.85 22.39 23.67C21.68 24.47 20.59 24.86 19.07 24.86H17.45V15.15Z",fill:"#161616"})),Ct=class{constructor(t){e(this,t),this.energyLabelIcon=null,this.energyEfficiencyClass=void 0,this.minEnergyEfficiencyClass=void 0,this.maxEnergyEfficiencyClass=void 0,this.productType=void 0}connectedCallback(){this.energyLabelIcon=(e=>{const i=((t,e)=>"A"===t&&"G"===e?"new":"A+++"===t&&"D"===e?"old":"unknown")(this.minEnergyEfficiencyClass,this.maxEnergyEfficiencyClass);switch(i){case"new":switch(e){case"A":return t(ot,null);case"B":return t(st,null);case"C":return t(nt,null);case"D":return t(lt,null);case"E":return t(at,null);case"F":return t(dt,null);case"G":return t(ct,null);default:return null}case"old":switch(e){case"A+++":return t(ht,null);case"A++":return t(pt,null);case"A+":return t(ut,null);case"A":return t(ft,null);case"B":return t(gt,null);case"C":return t(bt,null);case"D":return t(vt,null);default:return null}case"unknown":return null}})(this.energyEfficiencyClass)}render(){return t(r,{part:"energy-label",class:{hidden:!this.energyLabelIcon}},t("div",{class:"container"},this.energyLabelIcon,t("span",{class:"product-type"},this.productType)))}};Ct.style=':host{--color-primary-system:#0f62fe;--color-primary-hover-system:#014cda;--color-icons-system:#2f8edf;--product-card-width-system:130px;--spacer:8px;--font-weight-regular:400;--letter-spacing-default:0px;--radius-radius-md:8px;--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:"JetBrains Mono", monospace;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#525252;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;}:host{display:block;line-height:0px}:host(.hidden){display:none}.container{display:flex;align-items:center;max-width:100%;gap:8px}svg{flex-shrink:0}.product-type{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow-wrap:anywhere;overflow:hidden;text-overflow:ellipsis;line-height:1.5;color:#8d8d8d;font-size:var(--font-size-body);font-style:normal;font-weight:var(--font-weight-regular);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-default)}';const xt=t=>t&&"values"in t?t.values:t&&"histogram"in t?t.histogram:[],mt=(t,{column:e},i)=>{var r,o,s;const n=null!==(o=null!==(r=i.interval)&&void 0!==r?r:i.value)&&void 0!==o?o:i,l=t.findIndex((({column:t})=>t===e)),a=null===(s=t[l])||void 0===s?void 0:s.values.findIndex((t=>t===n)),d=-1===l||"price"===e?{column:e,values:[]}:t[l];return a>-1?d.values.splice(a,1):d.values.push(n),-1===l?(t=[...t,d],document.getElementById("filters-footer")&&(document.getElementById("filters-footer").scrollLeft=0)):(t[l]=d,t=0===t[l].values.length?[...t.filter((e=>t[l]!==e))]:[...t]),t},Ht=class{constructor(t){e(this,t),this.vviinnFiltersChanged=i(this,"vviinnFiltersChanged",7),this.vviinnFilters=i(this,"vviinnFilters",7),this.globalSlotsChanged=i(this,"globalSlotsChanged",7),this.handleSetFilters=({detail:t})=>{this.filters=t},this.handleFiltersChanged=({detail:t})=>{const{filters:e,el:i}=t;i!==this.el&&(this.requestFilters=e)},this.timer=null,this.priceChangeHandler=t=>{this.timer&&clearTimeout(this.timer);const e=this.filters.find((t=>"price"===t.column));e&&(this.timer=setTimeout((()=>{this.handleSubFilterSelection(t,e)}),200))},this.filters=[],this.filtersString="",this.locale="de-DE",this.requestFilters=[],this.showMore=!1,this.selectedMoreOptions=[]}replaceSlotsContent(){const t=this.el.querySelectorAll("[slot]");this.globalSlotsChanged.emit({slots:Array.from(t),element:this.el})}componentDidRender(){this.replaceSlotsContent()}async componentWillLoad(){await Z.init({lng:this.locale,fallbackLng:"en",resources:_}),V(this,this.el)}emitRequestFiltersMore(t){this.vviinnFiltersChanged.emit({filters:t,el:this.el})}handleSubFilterSelection(t,e){this.requestFilters=mt(this.requestFilters,e,t),this.emitRequestFiltersMore([...this.requestFilters])}showActiveOnModalSubButton(t,e){let i=!1;return t.forEach((t=>{t.values.some((t=>t===e||t===e.interval||t===e.value))&&(i=!0)})),i}handleMoreOptionsMainClick(t){this.selectedMoreOptions=this.selectedMoreOptions.includes(t)?this.selectedMoreOptions.filter((e=>e!==t)):[...this.selectedMoreOptions,t]}filtersStringWatcher(){if(""!==this.filtersString)try{this.filters=JSON.parse(this.filtersString)}catch(t){console.error("Invalid filters string",t)}}connectedCallback(){document.addEventListener("vviinnFilters",this.handleSetFilters),document.addEventListener("vviinnFiltersChanged",this.handleFiltersChanged),this.filtersStringWatcher()}disconnectedCallback(){document.removeEventListener("vviinnFilters",this.handleSetFilters),document.addEventListener("vviinnFiltersChanged",this.handleFiltersChanged)}resetModal(){this.emitRequestFiltersMore([]),this.requestFilters=[],this.showMore=!1}render(){return t(r,{part:"filters"},y("filters"),this.filters.length>0&&t("button",{class:"filters-more-button",onClick:()=>this.showMore=!0},t(J,null)),t("div",{class:"filters-modal "+(this.showMore?"open":"")},t("div",{class:"filters-modal-wrapper"},t("div",{class:"filters-modal-header"},t("slot",{name:"vviinn-extended-filters-title"},t("span",null,Z.t("filters.modal.title"))),t("button",{class:"filters-modal-close",onClick:()=>{this.showMore=!1,this.requestFilters=[]}},t(G,null))),t("ul",{class:"filters-modal-list"},this.filters.map((e=>{var i,r,o;const s=e.column,n=xt(e),l=this.requestFilters.find((({column:t})=>t==t)),a=[];return null===(i=null==l?void 0:l.values)||void 0===i||i.forEach((e=>{const i=n.findIndex((t=>t.value.value===e||t.value===e));i>-1&&a.push(t("span",null,n[i].label))})),t("li",null,t("div",{class:"filters-modal-main-button-wrapper"},t("button",{onClick:()=>this.handleMoreOptionsMainClick(e.column),class:"filters-modal-main-button"},e.label),a.length>0&&t("div",{class:"filters-modal-main-button-added-options"},a)),"price"===s&&this.selectedMoreOptions.includes(e.column)?t("vviinn-price-range",{histogram:n,priceChangeHandler:this.priceChangeHandler,selectedInterval:null!==(o=null===(r=this.requestFilters.find((({column:t})=>"price"===t)))||void 0===r?void 0:r.values[0])&&void 0!==o?o:{}}):t("ul",{class:`filters-modal-sub-list ${"color_confirmed"===s?"filters-modal-sub-list-inline":""} ${this.selectedMoreOptions.includes(e.column)?"open":""}`},n&&n.map((({value:i,label:r,active:o})=>{const s=i.hexCode,n=this.showActiveOnModalSubButton(this.requestFilters,i);return t("li",null,t("button",{onClick:()=>this.handleSubFilterSelection(i,e),class:`filters-more-modal-button ${s?"filters-sub-button-color":""} ${n?"active":""}`,style:{backgroundColor:s},disabled:!o},t("span",null,t("span",null,r),t(n?q:Q,null))))}))))}))),t("div",{class:"filters-modal-actions"},t("button",{class:"filters-modal-apply",onClick:()=>this.showMore=!1,disabled:0===this.requestFilters.length},t("slot",{name:"vviinn-extended-filters-apply"},Z.t("filters.modal.apply"))),t("button",{class:"filters-modal-reset",onClick:()=>this.resetModal()},t("slot",{name:"vviinn-extended-filters-reset"},Z.t("filters.modal.resetFilters")))))))}get el(){return o(this)}static get watchers(){return{filtersString:["filtersStringWatcher"]}}};Ht.style=':host{--color-primary-system:#0f62fe;--color-primary-hover-system:#014cda;--color-icons-system:#2f8edf;--product-card-width-system:130px;--spacer:8px;--font-weight-regular:400;--letter-spacing-default:0px;--radius-radius-md:8px;--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:"JetBrains Mono", monospace;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#525252;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;}:host{display:block;font-family:var(--font-family-base);font-style:normal}.filters-footer{overflow-x:auto}.filters-modal-list,.sub-filters-wrapper,.main-filters-list,.filters-modal-sub-list,.selected-filters-wrapper{list-style:none;margin:0;padding:0}.main-filters-wrapper{overflow-x:auto}.main-filters-list{padding:var(--spacing-25);gap:var(--spacing-25);border-radius:8px;background:var(--surface-bg-color-01);display:inline-flex}.filters-modal-main-button,.filters-sub-button,.filters-main-button,.filters-modal-close,.filters-sub-button-selected{cursor:pointer;border:none}.filters-sub-button,.filters-main-button{font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);display:flex;justify-content:center;align-items:center;border-radius:6px}.filters-main-button{padding:var(--spacing-100) 18px;color:var(--color-text-helper);background:none}.filters-main-button.active,.filters-main-button:hover{background:var(--surface-bg-color-02);color:var(--color-text-primary)}.filters-footer{padding:16px 0}.sub-filters-wrapper{gap:var(--spacing-100);display:flex}.selected-filters-wrapper{margin-top:16px;padding-top:16px;border-top:1px solid var(--surface-bg-color-01);gap:var(--spacing-100);display:flex}.filters-sub-button{color:var(--color-text-primary);background:var(--surface-bg-color-01);padding:var(--spacing-100);gap:var(--spacing-25)}.filters-sub-button>span,.filters-sub-button-selected>span{display:inline-flex;justify-content:center;align-items:center;gap:var(--spacing-25);white-space:nowrap}.filters-sub-button-selected>span>span{padding:2px}.filters-sub-button:hover{background:var(--surface-bg-color-01);box-shadow:0px 4px 4px 0px rgba(0, 0, 0, 0.25)}.filters-sub-button:disabled{cursor:not-allowed;background:var(--surface-bg-color-disabled);color:var(--color-text-disabled)}.filters-more-button{display:flex;padding:var(--spacing-100);gap:var(--spacing-50);border-radius:var(--border-radius-100);align-items:flex-start;background:var(--button-bg-color-secondary);border:none;cursor:pointer}.filters-modal{display:none;position:fixed;top:0;bottom:0;right:0;left:0;background-color:rgba(0, 0, 0, 0.5);z-index:98}.filters-modal.open{display:block}.filters-modal-wrapper{position:fixed;top:0;bottom:0;right:0;width:420px;background-color:#ffffff;z-index:99;border-radius:32px 0px 0px 32px;display:flex;flex-direction:column}@media (max-width: 768px){.filters-modal-wrapper{width:100%;top:20%;border-radius:32px 32px 0px 0px}}.filters-modal-header{position:relative;padding:20px 0;color:var(--color-text-primary);text-align:center;font-size:var(--font-size-headline);font-weight:var(--font-weight-500);line-height:var(--line-height-headline);letter-spacing:var(--letter-spacing-headline);border-bottom:1px solid var(--color-border-01);display:flex;justify-content:center;gap:5px}.filters-modal-list{margin:4px 0 0 24px;flex:1;overflow-y:auto;padding-bottom:20px}.filters-modal-list>li{padding-right:24px}.filters-modal-main-button-wrapper{border-bottom:1px solid var(--color-border-01);padding:20px 0}.filters-modal-main-button{width:100%;background:none;text-align:left;padding:0;color:var(--color-text-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-sub-list{display:none;margin:0 -4px}.filters-modal-sub-list>li{display:inline-block;margin:0 4px}.filters-modal-sub-list-inline{margin:0 -6px}.filters-modal-sub-list-inline>li{margin:0 6px}.filters-modal-sub-list.open{display:block}.filters-modal-sub-list>li{margin-top:10px}.filters-modal-close{position:absolute;right:0;top:15px;cursor:pointer;background:none}.filters-more-modal-button{background:none;border:none;cursor:pointer;display:flex;padding:var(--spacing-100);align-items:center;gap:var(--spacing-25);border-radius:var(--border-radius-100);background:var(--surface-bg-color-01);color:var(--color-text-primary)}.filters-more-modal-button.active{background:var(--surface-bg-color-inverse);color:var(--color-text-inverse)}.filters-more-modal-button>span{display:flex;align-items:center;justify-content:center;gap:var(--spacing-25)}.filters-more-modal-button>span>span{padding:2px}.filters-more-modal-button:disabled{cursor:not-allowed;opacity:0.5}.filters-modal-actions{border-top:1px solid var(--color-border-01);padding:var(--spacing-250);z-index:10;background:#ffffff;border-radius:0px 0px 0px 32px}.filters-modal-apply{cursor:pointer;width:100%;border:none;display:flex;padding:var(--spacing-150);justify-content:center;align-items:center;gap:var(--spacing-50);align-self:stretch;color:var(--color-text-inverse);text-align:center;border-radius:var(--border-radius-150);background:var(--button-bg-color-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-apply:disabled{background:var(--button-bg-color-disabled);color:var(--color-text-disabled)}.filters-modal-reset{background:none;border:none;cursor:pointer;display:block;text-align:center;width:100%;margin-top:20px;color:var(--color-text-secondary);text-align:center;font-size:var(--font-size-label);font-weight:var(--font-weight-500);line-height:var(--line-height-label);letter-spacing:var(--letter-spacing-label)}.selected-filters-wrapper>li{border-radius:var(--border-radius-100);background:var(--surface-bg-color-inverse);display:flex;align-items:center;justify-content:center;padding:var(--spacing-100);cursor:pointer}.filters-sub-button-selected{display:flex;align-items:center;gap:var(--spacing-25);background:var(--surface-bg-color-inverse);border-radius:var(--border-radius-100);color:var(--color-text-inverse);text-overflow:ellipsis;font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body)}.filters-sub-button-color{width:40px;height:40px;border:2px solid var(--color-border-01);border-radius:20px}.filters-sub-button-color:disabled{opacity:0.25}.filters-sub-button-selected.filters-sub-button-color{width:24px;height:24px;border:none}.filters-sub-button-color>span{display:none}.filters-sub-button-color.active{border:2px solid #fff;outline:2px solid #000;margin:2px 0}.filters-sub-button-color:first-child.active{margin-left:2px}.filters-modal-main-button-added-options{color:var(--color-text-secondary);text-overflow:ellipsis;font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body)}.filters-modal-main-button-added-options>span::after{content:", "}.filters-modal-main-button-added-options>span:last-child::after{content:""}';const wt=class{constructor(t){e(this,t),this.vviinnFiltersChanged=i(this,"vviinnFiltersChanged",7),this.vviinnFilters=i(this,"vviinnFilters",7),this.globalSlotsChanged=i(this,"globalSlotsChanged",7),this.timer=null,this.priceChangeHandler=t=>{this.timer&&clearTimeout(this.timer),this.timer=setTimeout((()=>{this.handleSubFilterSelection(t,this.selectedFilter)}),200)},this.handleSetFilters=({detail:t})=>{this.filters=t,this.selectedFilter&&(this.selectedFilter=this.filters.find((t=>t.column===this.selectedFilter.column))),t.some((({column:t})=>{var e;return t===(null===(e=this.selectedFilter)||void 0===e?void 0:e.column)}))||(this.selectedFilter=void 0)},this.handleFiltersChanged=({detail:t})=>{const{filters:e,el:i}=t;i!==this.el&&(this.requestFilters=e,this.selectedFilter||(this.selectedFilter=this.filters.find((t=>t.column===e[0].column))))},this.filters=[],this.filtersString="",this.selectedFilter=void 0,this.requestFilters=[]}handleMainFilterSelection(t){this.selectedFilter=t}emitRequestFiltersMore(t){this.vviinnFiltersChanged.emit({filters:t,el:this.el})}handleSubFilterSelection(t,e){this.filtersFooter.scrollLeft=0,this.requestFilters=mt(this.requestFilters,e,t),this.emitRequestFiltersMore([...this.requestFilters])}showActiveOnMainButton({column:t}){return this.selectedFilter&&this.selectedFilter.column===t?"active":""}showActiveOnSubButton(t,e,i){if(!i||!t)return!1;const r=t.find((({column:t})=>t===i.column));return r?!!r.values.some((t=>t===e||t===e.interval||t===e.value)):""}filtersStringWatcher(){if(""!==this.filtersString)try{this.filters=JSON.parse(this.filtersString)}catch(t){console.error("Invalid filters string",t)}}connectedCallback(){document.addEventListener("vviinnFilters",this.handleSetFilters),document.addEventListener("vviinnFiltersChanged",this.handleFiltersChanged),this.filtersStringWatcher()}disconnectedCallback(){document.removeEventListener("vviinnFilters",this.handleSetFilters),document.removeEventListener("vviinnFiltersChanged",this.handleFiltersChanged)}render(){var e,i,o;const{column:s}=null!==(e=this.selectedFilter)&&void 0!==e?e:{},n=xt(this.selectedFilter),l=this.filters.filter((t=>t.isPrimary));if(0===l.length)return t(r,null);const a=(e,i,r,o,s=!1)=>{const n=e.hexCode;return t("li",{onClick:()=>r?this.handleSubFilterSelection(e,o):null},t("button",{class:`filters-sub-button${s?"-selected":""} ${n?"filters-sub-button-color":""}`,style:{backgroundColor:n},disabled:!r},t("span",null,s?t("span",null,i):i," ",t(s?q:U,null))),s&&n&&t(K,null))};let d=[];return this.filters.forEach((t=>{"values"in t&&t.values.forEach((({value:e,label:i,active:r})=>{this.showActiveOnSubButton(this.requestFilters,e,t)&&r&&d.push(a(e,i,r,t,!0))}))})),t(r,{part:"filters"},t("div",{class:"main-filters-wrapper"},t("ul",{class:"main-filters-list"},l.map((e=>t("li",null,t("button",{class:`filters-main-button ${this.showActiveOnMainButton(e)}`,onClick:()=>this.handleMainFilterSelection(e)},e.label)))))),void 0!==this.selectedFilter&&t("div",{class:"filters-footer",ref:t=>this.filtersFooter=t},"price"===s?t("vviinn-price-range",{histogram:n,priceChangeHandler:this.priceChangeHandler,selectedInterval:null!==(o=null===(i=this.requestFilters.find((({column:t})=>"price"===t)))||void 0===i?void 0:i.values[0])&&void 0!==o?o:{}}):t("ul",{class:"sub-filters-wrapper"},n&&n.map((({value:t,label:e,active:i})=>this.showActiveOnSubButton(this.requestFilters,t,this.selectedFilter)?null:a(t,e,i,this.selectedFilter)))),d.length>0&&t("ul",{class:"selected-filters-wrapper"},d)))}get el(){return o(this)}static get watchers(){return{filtersString:["filtersStringWatcher"]}}};wt.style=':host{--color-primary-system:#0f62fe;--color-primary-hover-system:#014cda;--color-icons-system:#2f8edf;--product-card-width-system:130px;--spacer:8px;--font-weight-regular:400;--letter-spacing-default:0px;--radius-radius-md:8px;--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:"JetBrains Mono", monospace;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#525252;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;}:host{display:block;font-family:var(--font-family-base);font-style:normal}.filters-footer{overflow-x:auto}.filters-modal-list,.sub-filters-wrapper,.main-filters-list,.filters-modal-sub-list,.selected-filters-wrapper{list-style:none;margin:0;padding:0}.main-filters-wrapper{overflow-x:auto}.main-filters-list{padding:var(--spacing-25);gap:var(--spacing-25);border-radius:8px;background:var(--surface-bg-color-01);display:inline-flex}.filters-modal-main-button,.filters-sub-button,.filters-main-button,.filters-modal-close,.filters-sub-button-selected{cursor:pointer;border:none}.filters-sub-button,.filters-main-button{font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body);display:flex;justify-content:center;align-items:center;border-radius:6px}.filters-main-button{padding:var(--spacing-100) 18px;color:var(--color-text-helper);background:none}.filters-main-button.active,.filters-main-button:hover{background:var(--surface-bg-color-02);color:var(--color-text-primary)}.filters-footer{padding:16px 0}.sub-filters-wrapper{gap:var(--spacing-100);display:flex}.selected-filters-wrapper{margin-top:16px;padding-top:16px;border-top:1px solid var(--surface-bg-color-01);gap:var(--spacing-100);display:flex}.filters-sub-button{color:var(--color-text-primary);background:var(--surface-bg-color-01);padding:var(--spacing-100);gap:var(--spacing-25)}.filters-sub-button>span,.filters-sub-button-selected>span{display:inline-flex;justify-content:center;align-items:center;gap:var(--spacing-25);white-space:nowrap}.filters-sub-button-selected>span>span{padding:2px}.filters-sub-button:hover{background:var(--surface-bg-color-01);box-shadow:0px 4px 4px 0px rgba(0, 0, 0, 0.25)}.filters-sub-button:disabled{cursor:not-allowed;background:var(--surface-bg-color-disabled);color:var(--color-text-disabled)}.filters-more-button{display:flex;padding:var(--spacing-100);gap:var(--spacing-50);border-radius:var(--border-radius-100);align-items:flex-start;background:var(--button-bg-color-secondary);border:none;cursor:pointer}.filters-modal{display:none;position:fixed;top:0;bottom:0;right:0;left:0;background-color:rgba(0, 0, 0, 0.5);z-index:98}.filters-modal.open{display:block}.filters-modal-wrapper{position:fixed;top:0;bottom:0;right:0;width:420px;background-color:#ffffff;z-index:99;border-radius:32px 0px 0px 32px;display:flex;flex-direction:column}@media (max-width: 768px){.filters-modal-wrapper{width:100%;top:20%;border-radius:32px 32px 0px 0px}}.filters-modal-header{position:relative;padding:20px 0;color:var(--color-text-primary);text-align:center;font-size:var(--font-size-headline);font-weight:var(--font-weight-500);line-height:var(--line-height-headline);letter-spacing:var(--letter-spacing-headline);border-bottom:1px solid var(--color-border-01);display:flex;justify-content:center;gap:5px}.filters-modal-list{margin:4px 0 0 24px;flex:1;overflow-y:auto;padding-bottom:20px}.filters-modal-list>li{padding-right:24px}.filters-modal-main-button-wrapper{border-bottom:1px solid var(--color-border-01);padding:20px 0}.filters-modal-main-button{width:100%;background:none;text-align:left;padding:0;color:var(--color-text-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-sub-list{display:none;margin:0 -4px}.filters-modal-sub-list>li{display:inline-block;margin:0 4px}.filters-modal-sub-list-inline{margin:0 -6px}.filters-modal-sub-list-inline>li{margin:0 6px}.filters-modal-sub-list.open{display:block}.filters-modal-sub-list>li{margin-top:10px}.filters-modal-close{position:absolute;right:0;top:15px;cursor:pointer;background:none}.filters-more-modal-button{background:none;border:none;cursor:pointer;display:flex;padding:var(--spacing-100);align-items:center;gap:var(--spacing-25);border-radius:var(--border-radius-100);background:var(--surface-bg-color-01);color:var(--color-text-primary)}.filters-more-modal-button.active{background:var(--surface-bg-color-inverse);color:var(--color-text-inverse)}.filters-more-modal-button>span{display:flex;align-items:center;justify-content:center;gap:var(--spacing-25)}.filters-more-modal-button>span>span{padding:2px}.filters-more-modal-button:disabled{cursor:not-allowed;opacity:0.5}.filters-modal-actions{border-top:1px solid var(--color-border-01);padding:var(--spacing-250);z-index:10;background:#ffffff;border-radius:0px 0px 0px 32px}.filters-modal-apply{cursor:pointer;width:100%;border:none;display:flex;padding:var(--spacing-150);justify-content:center;align-items:center;gap:var(--spacing-50);align-self:stretch;color:var(--color-text-inverse);text-align:center;border-radius:var(--border-radius-150);background:var(--button-bg-color-primary);font-size:var(--font-size-label-large);font-weight:var(--font-weight-500);line-height:var(--line-height-label-large);letter-spacing:var(--letter-spacing-label-large)}.filters-modal-apply:disabled{background:var(--button-bg-color-disabled);color:var(--color-text-disabled)}.filters-modal-reset{background:none;border:none;cursor:pointer;display:block;text-align:center;width:100%;margin-top:20px;color:var(--color-text-secondary);text-align:center;font-size:var(--font-size-label);font-weight:var(--font-weight-500);line-height:var(--line-height-label);letter-spacing:var(--letter-spacing-label)}.selected-filters-wrapper>li{border-radius:var(--border-radius-100);background:var(--surface-bg-color-inverse);display:flex;align-items:center;justify-content:center;padding:var(--spacing-100);cursor:pointer}.filters-sub-button-selected{display:flex;align-items:center;gap:var(--spacing-25);background:var(--surface-bg-color-inverse);border-radius:var(--border-radius-100);color:var(--color-text-inverse);text-overflow:ellipsis;font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body)}.filters-sub-button-color{width:40px;height:40px;border:2px solid var(--color-border-01);border-radius:20px}.filters-sub-button-color:disabled{opacity:0.25}.filters-sub-button-selected.filters-sub-button-color{width:24px;height:24px;border:none}.filters-sub-button-color>span{display:none}.filters-sub-button-color.active{border:2px solid #fff;outline:2px solid #000;margin:2px 0}.filters-sub-button-color:first-child.active{margin-left:2px}.filters-modal-main-button-added-options{color:var(--color-text-secondary);text-overflow:ellipsis;font-size:var(--font-size-body);font-weight:var(--font-weight-400);line-height:var(--line-height-body);letter-spacing:var(--letter-spacing-body)}.filters-modal-main-button-added-options>span::after{content:", "}.filters-modal-main-button-added-options>span:last-child::after{content:""}';const Lt=class{constructor(t){e(this,t),this.histogram=[],this.addStyle=!0,this.priceChangeHandler=void 0,this.selectedInterval=void 0,this.minIndex=0,this.maxIndex=void 0,this.scalingFactor=void 0}getParsed(t,e){return[parseInt(t.value,10),parseInt(e.value,10)]}componentDidLoad(){this.setToggleAccessible(this.toSlider)}componentWillLoad(){this.maxIndex=this.histogram.length-1;const t=Math.max(...this.histogram.map((({value:t})=>t.frequency)));this.scalingFactor=1/t,this.updatingSelectedInterval()}updatingSelectedInterval(){this.minIndex=void 0!==this.selectedInterval.start?this.histogram.findIndex((({value:t})=>t.interval.start===this.selectedInterval.start)):0,this.maxIndex=this.selectedInterval.end?this.histogram.findIndex((t=>t.value.interval.end===this.selectedInterval.end)):this.histogram.length-1}controlFromSlider(t,e){const[i,r]=this.getParsed(t,e);i>r&&(t.value=r),this.sendBackValue()}controlToSlider(t,e){const[i,r]=this.getParsed(t,e);this.setToggleAccessible(e),e.value=i<=r?r:i,this.sendBackValue()}sendBackValue(){this.priceChangeHandler({interval:{start:this.histogram[this.minIndex].value.interval.start,end:this.histogram[this.maxIndex].value.interval.end}})}setToggleAccessible(t){this.toSlider.style.zIndex=Number(t.value)<=0?"2":"0"}calculateBarHeight(t){return t*this.scalingFactor*100}render(){const e=this.histogram.length-1;return t(r,null,t("div",null,t("div",{class:"histogram"},this.histogram.map(((e,i)=>t("div",{class:"histogram-bar "+(i<this.minIndex||i>this.maxIndex?"histogram-bar-inactive":""),style:{height:`${this.calculateBarHeight(e.value.frequency)}%`}})))),t("div",{class:"range_container"},t("div",{class:"sliders_control"},t("input",{ref:t=>this.fromSlider=t,id:"fromSlider",type:"range",min:"0",max:e,value:this.minIndex,onInput:t=>{this.minIndex=parseInt(t.target.value),this.controlFromSlider(this.fromSlider,this.toSlider)}}),t("input",{ref:t=>this.toSlider=t,id:"toSlider",type:"range",min:"0",max:e,value:this.maxIndex,onInput:t=>{this.maxIndex=parseInt(t.target.value),this.controlToSlider(this.fromSlider,this.toSlider)}}))),t("div",{class:"label-wrapper"},t("div",{class:"label"},this.histogram[this.minIndex].label),t("div",{class:"label"},this.histogram[this.maxIndex].label))))}get el(){return o(this)}static get watchers(){return{selectedInterval:["updatingSelectedInterval"]}}};Lt.style=':host{--color-primary-system:#0f62fe;--color-primary-hover-system:#014cda;--color-icons-system:#2f8edf;--product-card-width-system:130px;--spacer:8px;--font-weight-regular:400;--letter-spacing-default:0px;--radius-radius-md:8px;--font-family-base:Inter, system-ui, sans-serif;--font-family-mono:"JetBrains Mono", monospace;--font-size-title:24px;--font-size-headline:18px;--font-size-label-large:16px;--font-size-label:14px;--font-size-body-large:16px;--font-size-body:14px;--font-size-caption:12px;--line-height-title:32px;--line-height-headline:24px;--line-height-label-large:24px;--line-height-label:20px;--line-height-body-large:24px;--line-height-body:20px;--line-height-caption:16px;--letter-spacing-title:0px;--letter-spacing-headline:0px;--letter-spacing-label-large:0px;--letter-spacing-label:0px;--letter-spacing-body-large:0px;--letter-spacing-body:0px;--letter-spacing-caption:0px;--font-weight-400:400;--font-weight-500:500;--font-weight-600:600;--font-weight-700:700;--spacing-none:0px;--spacing-25:2px;--spacing-50:4px;--spacing-75:6px;--spacing-100:8px;--spacing-125:10px;--spacing-150:12px;--spacing-200:16px;--spacing-250:20px;--spacing-300:24px;--spacing-400:32px;--spacing-500:40px;--spacing-600:48px;--border-radius-none:0px;--border-radius-25:2px;--border-radius-50:4px;--border-radius-100:8px;--border-radius-150:12px;--border-radius-200:16px;--border-radius-300:24px;--border-radius-400:32px;--border-radius-full:9999px;--stroke-width-none:0px;--stroke-width-25:1px;--stroke-width-50:2px;--stroke-width-75:3px;--stroke-width-100:4px;--stroke-width-150:6px;--stroke-width-200:8px;--stroke-width-300:12px;--filter-blur-none:0px;--filter-blur-100:8px;--filter-blur-150:12px;--filter-blur-200:16px;--color-bg-base:#ffffff;--color-bg-inverse:#161616;--color-border-00:#ffffff;--color-border-01:#f4f4f4;--color-border-02:#e0e0e0;--color-border-03:#c6c6c6;--color-border-inverse-00:#161616;--color-border-inverse-01:#393939;--color-field-01:#ffffff;--color-field-02:#f4f4f4;--color-icon-primary:#161616;--color-icon-secondary:#525252;--color-icon-helper:#8d8d8d;--color-icon-on-color:#ffffff;--color-icon-inverse:#ffffff;--color-icon-disabled:#16161640;--color-text-primary:#161616;--color-text-secondary:#525252;--color-text-helper:#8d8d8d;--color-text-placeholder:#a8a8a8;--color-text-on-color:#ffffff;--color-text-inverse:#ffffff;--color-text-disabled:#16161640;--button-bg-color-primary:#000000;--button-bg-color-primary-hover:#161616;--button-bg-color-primary-active:#1e1e1e;--button-bg-color-secondary:#f4f4f4;--button-bg-color-secondary-hover:#e0e0e0;--button-bg-color-secondary-active:#c6c6c6;--button-bg-color-ghost-hover:#f4f4f4;--button-bg-color-ghost-active:#eaeaea;--button-bg-color-frosted:#6f6f6f66;--button-bg-color-frosted-hover:#6f6f6f80;--button-bg-color-frosted-active:#6f6f6f99;--button-bg-color-disabled:#e0e0e0;--surface-bg-color-01:#f4f4f4;--surface-bg-color-01-hover:#eaeaea;--surface-bg-color-01-active:#e0e0e0;--surface-bg-color-02:#ffffff;--surface-bg-color-inverse:#262626;--surface-bg-color-inverse-hover:#303030;--surface-bg-color-inverse-active:#393939;--surface-bg-color-disabled:#e0e0e0;--chip-bg-color-primary:#161616;--chip-bg-color-primary-hover:#1e1e1e;--chip-bg-color-primary-active:#262626;--chip-bg-color-subtle:#f4f4f4;--chip-bg-color-subtle-hover:#eaeaea;--chip-bg-color-subtle-active:#e0e0e0;--chip-bg-color-outline-hover:#f4f4f4;--chip-bg-color-outline-active:#eaeaea;}:host{display:block;max-width:400px;font-family:var(--font-family-base)}.histogram{height:64px;display:flex;align-items:flex-end;gap:1px;margin:0 0.6%}.histogram-bar{background:var(--surface-inverse-bg-color, #262626);flex:1;border-radius:2px 2px 0px 0px}.histogram-bar.histogram-bar-inactive{background:var(--surface-bg-color-disabled)}.range_container{display:flex;flex-direction:column;width:99.4%;margin-top:-2px}.range_container .sliders_control{position:relative;min-height:25px}.range_container .form_control{position:relative;display:flex;justify-content:space-between;font-size:24px;color:#635a5a}.range_container input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:all;width:32px;height:32px;background-color:var(--color-bg-base);border-radius:50%;box-shadow:0 0 0 1px var(--color-border-02);cursor:pointer}.range_container input[type="range"]::-moz-range-thumb{-webkit-appearance:none;pointer-events:all;width:32px;height:32px;background-color:var(--color-bg-base);border-radius:50%;box-shadow:0 0 0 1px var(--color-border-02);cursor:pointer}.range_container input[type="range"]::-webkit-slider-thumb:hover{background:#f7f7f7}.range_container input[type="range"]::-webkit-slider-thumb:active{box-shadow:inset 0 0 3px #387bbe, 0 0 9px #387bbe;-webkit-box-shadow:inset 0 0 3px #387bbe, 0 0 9px #387bbe}.range_container input[type="range"]{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:2px;width:99.4%;position:absolute;background:var(--color-border-01);pointer-events:none}.range_container #fromSlider{height:0;z-index:1}.label-wrapper{display:flex;justify-content:space-between;margin-top:6px}.label-wrapper .label{display:flex;padding:var(--spacing-25) var(--spacing-100);justify-content:center;align-items:center;border-radius:var(--border-radius-100);background:var(--chip-bg-color-primary);color:var(--color-text-inverse);text-align:center;font-size:var(--font-size-label);font-style:normal;font-weight:var(--font-weight-500);line-height:var(--line-height-label);letter-spacing:var(--letter-spacing-label)}';class Vt{sendImpression(t){var e,i,r;t&>ag("event","view_item_list",{items:[{id:t.productId,name:t.title,brand:null!==(e=t.brand)&&void 0!==e?e:"",category:null!==(i=t.productType)&&void 0!==i?i:"",list_name:"VI VPR View",price:Math.min(t.price.actual,null!==(r=t.price.sale)&&void 0!==r?r:1/0)}]})}sendClick(t){var e,i,r;gtag("event","select_content",{content_type:"product",items:[{id:t.productId,name:t.title,brand:null!==(e=t.brand)&&void 0!==e?e:"",category:null!==(i=t.productType)&&void 0!==i?i:"",list_name:"VI VPR View",price:Math.min(t.price.actual,null!==(r=t.price.sale)&&void 0!==r?r:1/0)}]})}}class yt{constructor(){ga("require","ec")}convertProduct(t){var e,i,r;return{id:t.productId,name:t.title,brand:null!==(e=t.brand)&&void 0!==e?e:"",category:null!==(i=t.productType)&&void 0!==i?i:"",list:"VI VPR View",price:Math.min(t.price.actual,null!==(r=t.price.sale)&&void 0!==r?r:1/0)}}sendImpression(t){ga("ec:addImpression",this.convertProduct(t))}sendClick(t){var e,i,r;ga("ec:addProduct",{id:t.productId,name:t.title,brand:null!==(e=t.brand)&&void 0!==e?e:"",category:null!==(i=t.productType)&&void 0!==i?i:"",price:Math.min(t.price.actual,null!==(r=t.price.sale)&&void 0!==r?r:1/0)}),ga("ec:setAction","click",{list:"VI VPR View"})}}const Mt=h.getMonoid(p.first()).concat(d.pipe(h.fromNullable(window.gtag),h.map((()=>new Vt))),d.pipe(h.fromNullable(window.ga),h.map((()=>new yt)))),kt=/fit\/\d+\//,Zt=(t,e)=>d.pipe((t=>d.pipe(t.match(kt),u.fromNullable(t),u.map((()=>t))))(t),u.map((t=>t.replace(kt,`fit/${e}/`))),u.getOrElse((()=>t))),_t=(e,i)=>e.deeplink?t("a",{class:e.part,part:e.part,href:e.deeplink},i):i,zt=e=>{const i=e.priceType,r=new Intl.NumberFormat(e.locale,{minimumFractionDigits:2}).format(e.price),o=e.prefix?t("span",{part:"price-prefix"},e.prefix+" "):null,s=e.currency?t("span",{part:"currency"}," ",e.currency):null;return t("span",{class:"price-amount",part:"price-amount"+(i?"-"+i:"")},o,r,s)},It=e=>t("span",{class:"price-container",part:"price-container"},e.salePrice?[t("span",{class:"price-sale",part:"price-sale"},t(zt,{prefix:e.prefix,currency:e.currency,price:e.salePrice,locale:e.locale,priceType:"sale"})),t("span",{class:"price-outdated",part:"price-outdated"},t(zt,{prefix:e.prefix,currency:e.currency,price:e.price,locale:e.locale,priceType:"outdated"}))]:t("span",{class:"price-regular",part:"price-regular"},t(zt,{prefix:e.prefix,currency:e.currency,price:e.price,locale:e.locale,priceType:"regular"}))),St=class{constructor(t){e(this,t),this.vviinnProductLoad=i(this,"vviinnProductLoad",7),this.vviinnProductView=i(this,"vviinnProductView",7),this.vviinnProductClick=i(this,"vviinnProductClick",7),this.vviinnAddToBasket=i(this,"vviinnAddToBasket",7),this.vviinnAuxClick=i(this,"vviinnAuxClick",7),this.vviinnCrossSellingClick=i(this,"vviinnCrossSellingClick",7),this.vviinnUpdatingAllCardsStarted=i(this,"vviinnUpdatingAllCardsStarted",7),this.vviinnUpdatingAllCardsFinished=i(this,"vviinnUpdatingAllCardsFinished",7),this.productData=null,this.intersectionCallback=t=>{t.some((t=>t.isIntersecting))&&(d.pipe(Mt,h.map((t=>t.sendImpression(this.getProduct())))),this.vviinnProductView.emit(this.productData),this.intersectionObserver.disconnect())},this.brand=void 0,this.currency=void 0,this.image=void 0,this.imageRatio=1,this.imageWidth=200,this.locale=void 0,this.price=void 0,this.pricePrefix=void 0,this.productTitle=void 0,this.productType=void 0,this.salePrice=void 0,this.responsive=!1,this.dimmedBackground=!1,this.mode=void 0,this.basketButtonShow=void 0,this.updateButtonLocation=void 0,this.energyEfficiencyClass=void 0,this.productId=void 0,this.campaignTypeId=void 0,this.widgetElementId=void 0,this.buttonElementId=void 0,this.widgetVersion=void 0,this.deeplink=void 0,this.index=0,this.updatingAllCards=void 0,this.defaultAnimationInterval=void 0,this.minEnergyEfficiencyClass=void 0,this.maxEnergyEfficiencyClass=void 0,this.appliedDiscountPercentage=void 0,this.currentDiscountPercentage=void 0,this.isSourceProduct=!1,this.isTransitioning=!1,this.basketButonPressed=!1}connectedCallback(){this.productData=this.getProductData(),this.isSetMode="set"===this.mode,this.isGridMode="grid"===this.mode,this.isContinuityMode="continuity"===this.mode}componentWillLoad(){V(this,this.el)}componentDidLoad(){this.vviinnProductLoad.emit(this.productData),this.intersectionObserver=new IntersectionObserver(this.intersectionCallback.bind(this.imageElement),{threshold:1}),this.intersectionObserver.observe(this.imageElement),this.addLinksEventListeners()}crossSellingClickListener({detail:t}){const{animationInterval:e}=t;this.isTransitioning=!0,this.basketButonPressed=!1;const i=setTimeout((()=>{this.isTransitioning=!1,clearTimeout(i)}),e)}updatingAllCardsWatcher(){if(!this.updatingAllCards)return;this.vviinnUpdatingAllCardsStarted.emit(),this.isTransitioning=!0,this.basketButonPressed=!1;const t=setTimeout((()=>{this.vviinnUpdatingAllCardsFinished.emit(),this.isTransitioning=!1,clearTimeout(t)}),this.defaultAnimationInterval)}productIdWatcher(){this.productData=this.getProductData()}getWidgetType(){return"VPR"===this.campaignTypeId||"VCS"===this.campaignTypeId?"VPR":"VPS"}getProductData(){var t;return{productId:this.productId,productRank:this.index,productName:this.productTitle,productType:this.productType,widgetType:this.getWidgetType(),campaignTypeId:this.campaignTypeId,campaignTypeName:L[this.campaignTypeId],widgetId:null!==(t=this.buttonElementId)&&void 0!==t?t:this.widgetElementId,widgetVersion:this.widgetVersion}}addLinksEventListeners(){this.el.shadowRoot.querySelectorAll("a").forEach((t=>{t.addEventListener("click",(t=>{t.preventDefault(),t.stopImmediatePropagation(),this.vviinnProductClick.emit(Object.assign(Object.assign({},this.productData),{clickEvent:t})),d.pipe(Mt,h.match((()=>null),(t=>t.sendClick(this.getProduct()))))})),t.addEventListener("auxclick",(()=>{this.vviinnAuxClick.emit(Object.assign({},this.productData))}))}))}getProduct(){return a.results.find((t=>t.productId===this.productId))}renderImage(){const e={width:this.imageWidth,height:this.imageWidth*this.imageRatio,src:this.image,title:this.productTitle,lazy:!1,ref:t=>{this.imageElement=t},isSource:this.isSourceProduct};return this.responsive?((e,i=(()=>{}))=>t("picture",null,t("img",{loading:e.lazy?"lazy":"eager",part:"image",class:"image responsive",src:Zt(e.src,e.width),alt:e.title,ref:e.ref,onLoad:i})))(e):((e,i=(()=>{}))=>t("picture",null,t("img",{loading:e.lazy?"lazy":"eager",part:"image",class:"image",width:e.width,height:e.height,src:Zt(e.src,e.width),alt:e.title,ref:e.ref,onLoad:i}),e.isSource&&t(F,null)))(e)}render(){return t(r,{part:"product-card",class:{dimmed:this.dimmedBackground,animated:this.isTransitioning,"set-mode":this.isSetMode},exportparts:"brand, currency, deeplink, image, image-link, price-amount-sale, price-amount-outdated, price-amount-regular, price-container, price-outdated, price-regular, price-sale, price-prefix, discount-label, discount-percentage, title, basket-button, update-button-item, energy-label"},t(_t,{deeplink:this.deeplink,part:"image-link"},this.renderImage()),this.isTransitioning?t(s,null,t("vviinn-skeleton",{height:20}),t("vviinn-skeleton",{height:20,halfWidth:!0})):t(s,null,t(_t,{deeplink:this.deeplink,part:"deeplink"},t("span",{class:"title",part:"title"},this.productTitle)),t("span",{class:"brand",part:"brand"},this.brand),t("vviinn-energy-label",{energyEfficiencyClass:this.energyEfficiencyClass,minEnergyEfficiencyClass:this.minEnergyEfficiencyClass,maxEnergyEfficiencyClass:this.maxEnergyEfficiencyClass,productType:this.productType}),t(It,{prefix:this.pricePrefix,currency:this.currency,price:this.price,salePrice:this.salePrice,locale:this.locale}),this.isSetMode&&!this.appliedDiscountPercentage&&this.currentDiscountPercentage&&t("div",{class:"discount-label",part:"discount-label"},`-${this.currentDiscountPercentage}%`)),(this.basketButtonShow||this.isSetMode)&&t(s,null,this.isTransitioning&&t("vviinn-skeleton",{height:44}),t("button",{class:{"basket-button":!0,"basket-button--hidden":this.isTransitioning,"basket-button-grid":this.isGridMode||this.isSetMode,"basket-button-continuity ":this.isContinuityMode,pressed:this.basketButonPressed},part:"basket-button",onClick:()=>{this.vviinnAddToBasket.emit(Object.assign(Object.assign({},this.productData),{discount:this.currentDiscountPercentage})),this.basketButonPressed=!0}},this.isSetMode?t(s,null,!this.basketButonPressed&&t("div",{key:"set-not-pressed",class:"basket-button-container"},t("span",{class:"basket-button-icon-container"},t("slot",{name:"vviinn-basket-button-icon"},t(D,null))),t("span",null,t("slot",{name:"vviinn-basket-button-text"},Z.t("setMode.basketButtonText")))),this.basketButonPressed&&t("div",{key:"set-pressed",class:"basket-button-container"},t("span",{class:"basket-button-icon-container"},t("slot",{name:"vviinn-basket-button-icon-pressed"},t(W,null))),t("span",null,this.appliedDiscountPercentage&&t("span",{class:"discount-percentage",part:"discount-percentage"},this.appliedDiscountPercentage,"%"),t("slot",{name:"vviinn-basket-button-text-pressed"},Z.t("setMode.appliedDiscountText"))))):t("slot",{name:"vviinn-basket-button-text"},Z.t("basketButtonText")))),this.isSetMode&&!this.basketButonPressed&&t("button",{class:{"update-button":!0,hidden:"onTop"===this.updateButtonLocation},part:"update-button-item",onClick:()=>{this.vviinnCrossSellingClick.emit({animationInterval:(800,1400,Math.floor(601*Math.random())+800),productData:this.productData})}},t("slot",{name:"vviinn-update-button-icon"},t($,null))))}get el(){return o(this)}static get watchers(){return{updatingAllCards:["updatingAllCardsWatcher"],productId:["productIdWatcher"]}}};St.style=":host{align-items:center;display:flex;flex-direction:column;position:relative;gap:8px;height:100%;--min-image-size-set-mode:155px}.price-container{display:flex;flex-direction:column}.price-sale,.price-regular{font-style:normal;font-weight:normal;font-size:16px;line-height:24px;color:#161616}.price-outdated{font-style:normal;font-weight:normal;font-size:16px;line-height:24px;color:#757575;text-decoration:line-through}.product-type{word-wrap:anywhere}.image{display:grid;align-content:center;-o-object-position:50% 50%;object-position:50% 50%;-o-object-fit:contain;object-fit:contain;text-align:center;box-sizing:border-box}.image.responsive{width:100%;height:auto;aspect-ratio:1}.brand{display:none}.title{-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;text-overflow:ellipsis;color:#161616;display:-webkit-box;font-size:16px;font-style:normal;font-weight:500;line-height:24px;overflow:hidden}.deeplink{text-decoration:none;max-width:100%}.image-link{display:contents}picture{position:relative;width:100%}picture::before{content:\"\";opacity:0;width:100%;height:100%;box-sizing:border-box;display:block;top:0;left:0;position:absolute}.update-button{position:absolute;top:8px;right:8px;padding:6px;width:32px;height:32px;z-index:1;background-color:rgba(127, 127, 127, 0.4);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border:none;color:white;cursor:pointer}.update-button svg{width:20px;height:20px}.update-button::after{content:\"\";position:absolute;top:-4px;right:-4px;width:calc(100% + 8px);height:calc(100% + 8px)}.update-button:hover{background-color:rgba(127, 127, 127, 0.5)}.update-button.hidden{display:none}.basket-button{font-size:16px;padding:10px 12px;box-sizing:border-box;border:none;cursor:pointer}.basket-button-icon-container{display:inline-flex;align-items:center;justify-content:center}.basket-button.basket-button-grid{width:100%;background-color:unset;border:1px solid #dddddd}.basket-button.basket-button-continuity{align-self:start;background-color:#f7f7f7}.basket-button-continuity:hover{background-color:#eaeaea}.basket-button-grid:hover{background-color:#f7f7f7}:host(.dimmed) picture::after{content:\"\";width:100%;height:100%;box-sizing:border-box;background-color:#f7f7f7;display:block;top:0;left:0;position:absolute;mix-blend-mode:multiply}:host(.animated) picture::after{mix-blend-mode:normal}:host(.animated) picture::before{opacity:1;animation:pulse 1.8s infinite}:host(.animated) picture::after{content:url(\"data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_810_154)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M64.7332 1.23333C66.2665 12.2667 67.9665 13.9667 78.6665 15.2333C79.4332 15.3333 79.9999 15.9333 79.9999 16.6667C79.9999 17.4 79.4665 17.9333 78.6665 18.0667C67.9665 19.3667 66.2999 21.0333 64.7332 32.0667C64.6332 32.8 64.0665 33.3333 63.3665 33.3333C62.6665 33.3333 62.0999 32.8 61.9665 32.0667C60.4665 21.0333 58.7665 19.3667 48.0332 18.0667C47.2332 17.9667 46.6999 17.4333 46.6999 16.6667C46.6999 15.9 47.2332 15.3667 48.0332 15.2333C58.7665 13.7667 60.3999 12.2 61.9665 1.23333C62.0999 0.5 62.6665 0 63.3665 0C64.0665 0 64.5999 0.5 64.7332 1.23333ZM38.5665 71.5667C38.3665 72.6 37.6665 73.3333 36.6665 73.3333C35.6665 73.3333 34.9665 72.6 34.7998 71.5667C31.9332 50.7 29.0998 47.9 8.49984 45.2C7.39984 45.1 6.6665 44.3 6.6665 43.3C6.6665 42.3 7.39984 41.5333 8.49984 41.4333C29.1332 39.1333 32.0998 35.9333 34.7998 15.0333C34.9665 14.0333 35.6665 13.3333 36.6665 13.3333C37.6665 13.3333 38.3665 14 38.5665 15.0333C41.2665 35.9333 44.1998 39.1333 64.8665 41.4333C65.9332 41.5333 66.6665 42.2667 66.6665 43.3C66.6665 44.3333 65.9332 45.1 64.8665 45.2C44.1998 47.5 41.2665 50.7 38.5665 71.5667Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_810_154'%3E%3Crect width='80' height='80' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E\");background-color:transparent;position:absolute;width:80px;height:80px;left:calc(50% - 40px);top:calc(50% - 40px)}:host(.animated) .update-button{display:none}:host(.set-mode){line-height:20px;align-items:flex-start;height:auto}:host(.set-mode) .basket-button{border:none;background-color:#f4f4f4;font-weight:500;color:#525252}:host(.set-mode) .basket-button-container{display:flex;gap:8px;align-items:center;box-sizing:border-box;justify-content:center}:host(.set-mode:not(.animated)) .basket-button{margin-top:auto}:host(.set-mode) .basket-button:hover{background-color:rgb(234, 234, 234)}:host(.set-mode) .title{font-weight:400}:host(.set-mode) .image{width:var(--vviinn-set-mode-image-width, 100%);height:auto;border:none;aspect-ratio:1;min-width:var(--min-image-size-set-mode);min-height:var(--min-image-size-set-mode)}:host(.set-mode.product-card--source){height:-moz-fit-content;height:fit-content;flex-grow:1}:host(.set-mode.product-card--source) .image{aspect-ratio:1;width:100%;height:100%}:host(.set-mode) picture .plus-icon{background-color:white;position:absolute;z-index:1;padding:16px;top:calc(50% - 32px);color:#a8a8a8;right:-88px;outline:1px solid #f4f4f4;border-radius:50%;width:32px;height:32px}@media (max-width: 768px){:host(.set-mode) picture .plus-icon{padding:8px;top:calc(50% - 24px);right:-24px}}:host(.set-mode) .basket-button.pressed{background:transparent;border:1px solid #e0e0e0}:host(.set-mode) .basket-button.pressed .discount-percentage{padding-right:5px}:host(.set-mode) .basket-button--hidden{display:none}:host(.set-mode) .price-container{flex-direction:row;flex-wrap:wrap}:host(.set-mode) .price-amount{margin-right:12px}@media (max-width: 1080px){:host(.set-mode) .price-amount{margin-right:8px}}@keyframes pulse{0%{background-color:rgb(244, 244, 244)}50%{background-color:rgb(232, 232, 232)}100%{background-color:rgba(244, 244, 244)}}.discount-label{position:absolute;left:0;top:13px;line-height:20px;padding:2px 4px;border-radius:0px 4px 4px 0px;color:white;background-color:#ff3944;letter-spacing:0.5px}";const jt=class{constructor(t){e(this,t),this.height=void 0,this.halfWidth=!1}render(){return t(r,null,t("div",{class:{"vviinn-skeleton":!0},style:{height:`${this.height.toString()}px`,width:this.halfWidth?"50%":"100%"}}))}get el(){return o(this)}};function Tt(t){return"function"==typeof t}function Pt(t){const e=t((t=>{Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}jt.style=":host{display:block;width:100%;height:100%;line-height:0}.vviinn-skeleton{display:inline-block;animation:pulse 1.2s infinite}@keyframes pulse{0%{background-color:rgb(244, 244, 244)}50%{background-color:rgb(232, 232, 232)}100%{background-color:rgba(244, 244, 244)}}";const Et=Pt((t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map(((t,e)=>`${e+1}) ${t.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e}));function Bt(t,e){if(t){const i=t.indexOf(e);0<=i&&t.splice(i,1)}}class At{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const t of e)t.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(Tt(i))try{i()}catch(e){t=e instanceof Et?e.errors:[e]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const e of r)try{Rt(e)}catch(e){t=null!=t?t:[],e instanceof Et?t=[...t,...e.errors]:t.push(e)}}if(t)throw new Et(t)}}add(t){var e;if(t&&t!==this)if(this.closed)Rt(t);else{if(t instanceof At){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&Bt(e,t)}remove(t){const{_finalizers:e}=this;e&&Bt(e,t),t instanceof At&&t._removeParent(this)}}At.EMPTY=(()=>{const t=new At;return t.closed=!0,t})();const Ot=At.EMPTY;function Ft(t){return t instanceof At||t&&"closed"in t&&Tt(t.remove)&&Tt(t.add)&&Tt(t.unsubscribe)}function Rt(t){Tt(t)?t():t.unsubscribe()}const Dt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Wt={setTimeout(t,e,...i){const{delegate:r}=Wt;return(null==r?void 0:r.setTimeout)?r.setTimeout(t,e,...i):setTimeout(t,e,...i)},clearTimeout(t){const{delegate:e}=Wt;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Nt(){}const $t=Jt("C",void 0,void 0);function Jt(t,e,i){return{kind:t,value:e,error:i}}function Gt(t){t()}class Ut extends At{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ft(t)&&t.add(this)):this.destination=ee}static create(t,e,i){return new Xt(t,e,i)}next(t){this.isStopped?te(function(t){return Jt("N",t,void 0)}(t),this):this._next(t)}error(t){this.isStopped?te(Jt("E",void 0,t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?te($t,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const qt=Function.prototype.bind;function Kt(t,e){return qt.call(t,e)}class Qt{constructor(t){this.partialObserver=t}next(t){const{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(t){Yt(t)}}error(t){const{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(t){Yt(t)}else Yt(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(t){Yt(t)}}}class Xt extends Ut{constructor(t,e,i){let r;if(super(),Tt(t)||!t)r={next:null!=t?t:void 0,error:null!=e?e:void 0,complete:null!=i?i:void 0};else{let e;this&&Dt.useDeprecatedNextContext?(e=Object.create(t),e.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&Kt(t.next,e),error:t.error&&Kt(t.error,e),complete:t.complete&&Kt(t.complete,e)}):r=t}this.destination=new Qt(r)}}function Yt(t){var e;e=t,Wt.setTimeout((()=>{const{onUnhandledError:t}=Dt;if(!t)throw e;t(e)}))}function te(t,e){const{onStoppedNotification:i}=Dt;i&&Wt.setTimeout((()=>i(t,e)))}const ee={closed:!0,next:Nt,error:function(t){throw t},complete:Nt},ie="function"==typeof Symbol&&Symbol.observable||"@@observable";function re(t){return t}class oe{constructor(t){t&&(this._subscribe=t)}lift(t){const e=new oe;return e.source=this,e.operator=t,e}subscribe(t,e,i){const r=(o=t)&&o instanceof Ut||function(t){return t&&Tt(t.next)&&Tt(t.error)&&Tt(t.complete)}(o)&&Ft(o)?t:new Xt(t,e,i);var o;return Gt((()=>{const{operator:t,source:e}=this;r.add(t?t.call(r,e):e?this._subscribe(r):this._trySubscribe(r))})),r}_trySubscribe(t){try{return this._subscribe(t)}catch(e){t.error(e)}}forEach(t,e){return new(e=se(e))(((e,i)=>{const r=new Xt({next:e=>{try{t(e)}catch(t){i(t),r.unsubscribe()}},error:i,complete:e});this.subscribe(r)}))}_subscribe(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)}[ie](){return this}pipe(...t){return(0===(e=t).length?re:1===e.length?e[0]:function(t){return e.reduce(((t,e)=>e(t)),t)})(this);var e}toPromise(t){return new(t=se(t))(((t,e)=>{let i;this.subscribe((t=>i=t),(t=>e(t)),(()=>t(i)))}))}}function se(t){var e;return null!==(e=null!=t?t:Dt.Promise)&&void 0!==e?e:Promise}oe.create=t=>new oe(t);const ne=Pt((t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}));class le extends oe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const e=new ae(this,this);return e.operator=t,e}_throwIfClosed(){if(this.closed)throw new ne}next(t){Gt((()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const e of this.currentObservers)e.next(t)}}))}error(t){Gt((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:e}=this;for(;e.length;)e.shift().error(t)}}))}complete(){Gt((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:e,isStopped:i,observers:r}=this;return e||i?Ot:(this.currentObservers=null,r.push(t),new At((()=>{this.currentObservers=null,Bt(r,t)})))}_checkFinalizedStatuses(t){const{hasError:e,thrownError:i,isStopped:r}=this;e?t.error(i):r&&t.complete()}asObservable(){const t=new oe;return t.source=this,t}}le.create=(t,e)=>new ae(t,e);class ae extends le{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,t)}error(t){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==i?i:Ot}}const de=d.flow((t=>`Bearer ${t}`),(t=>new Headers({Authorization:t,"Content-Type":"application/json"})),(t=>({headers:t}))),ce=(he=m,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var i=t.length,r=it(i),o=he.map(t[0],r),s=1;s<i;s++)o=he.ap(o,t[s]);return o});var he;const pe=(t,e={})=>f(ce(C(),x),v,g(b(t,e))),ue=t=>e=>pe("similar-products",Object.assign(Object.assign({},e),{body:JSON.stringify(t)})),fe=t=>e=>pe("cross-selling",Object.assign(Object.assign({},e),{body:JSON.stringify(t)})),ge=t=>t.split(";").map((t=>{const[e,i]=t.split(":");return{column:e,values:[i]}})),be=t=>t.split(",").map((t=>{const e=t.trim();return isNaN(parseInt(e))?e:parseInt(e)}));var ve=function(t,e){var i={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(i[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(i[r[o]]=t[r[o]])}return i};const Ce=class{constructor(t){e(this,t),this.vviinnWidgetLoad=i(this,"vviinnWidgetLoad",7),this.vviinnProductLoad=i(this,"vviinnProductLoad",7),this.vviinnProductView=i(this,"vviinnProductView",7),this.vviinnProductClick=i(this,"vviinnProductClick",7),this.vviinnResultLoad=i(this,"vviinnResultLoad",7),this.vviinnResultView=i(this,"vviinnResultView",7),this.vviinnNoResult=i(this,"vviinnNoResult",7),this.vviinnAddToBasket=i(this,"vviinnAddToBasket",7),this.vviinnFiltersChanged=i(this,"vviinnFiltersChanged",7),this.globalSlotsChanged=i(this,"globalSlotsChanged",7),this.vviinnRecommendationsLoaded=i(this,"vviinnRecommendationsLoaded",7),this.vviinnWidgetOpen=i(this,"vviinnWidgetOpen",7),this.vviinnWidgetClose=i(this,"vviinnWidgetClose",7),this.productImageLoadedSubject=new le,this.resultViewed=!1,this.requestDynamicFilters=[],this.setTrackingDeactivated=t=>{"rejected"===t.status&&(this.trackingDeactivated=!0)},this.token=void 0,this.productId=void 0,this.mode="continuity",this.campaigns="",this.excluded="",this.campaignType="set"===this.mode?"VCS":"VPR",this.locale="de-DE",this.color="",this.imageWidth=300,this.imageRatio=1,this.cssUrl=null,this.currencySign="€",this.pricePrefix="",this.noResultText="",this.noResultShow=!0,this.gridArrowsDynamic=!1,this.productDetailsNewTab=!1,this.productDetailsRedirect=!0,this.addToBasketShow=!1,this.showFilters=!1,this.showExtendedFilters=!1,this.setModeDiscounts="set"===this.mode?"5, 10, 15":"",this.updateButtonLocation="topAndItem",this.blockTitle="Recommended products",this.showScroll=!0,this.apiPath="https://api.vviinn.com",this.useCarousel=!0,this.showingInButton=!1,this.buttonElementId=void 0,this.closed=void 0,this.opened=void 0,this.recommendations=[],this.dynamicFilters=[],this.sourceProduct=null,this.trackingDeactivated=!1,this.hasErrorOnLoad=!1,this.updatingAllCards=!1,this.updatedCardsAmount=0,this.setModeDiscountsArray=[]}getBasicEventData(){return{widgetType:"VPR",campaignTypeId:this.campaignType,campaignTypeName:L[this.campaignType],widgetId:this.id,widgetVersion:R}}handleOpenLink(t,e){if(this.productDetailsRedirect)if(this.productDetailsNewTab||e.ctrlKey||e.metaKey){let e=window.open();e?e.location.href=t:window.location.href=t}else window.location.href=t}findProductById(t){return this.recommendations.find((e=>e.productId===t))}replaceSlotsContent(){const t=this.el.querySelectorAll("[slot]");this.globalSlotsChanged.emit({slots:Array.from(t),element:this.el})}handleProductIdChange(){this.getRecommendations()}handleCampaignTypeChange(){this.getRecommendations()}handleCampaignsChange(){this.getRecommendations()}handleApiPathChange(t){H.apiPath=t,this.getRecommendations()}trackWidgetOpen(){this.opened&&(this.vviinnWidgetOpen.emit(this.getBasicEventData()),this.trackWidgetEvent("open"))}trackWidgetClose(){this.closed&&(this.vviinnWidgetClose.emit(this.getBasicEventData()),this.trackWidgetEvent("close"))}componentDidRender(){this.showingInButton&&this.closed||this.replaceSlotsContent()}connectedCallback(){var t;H.apiPath=this.apiPath,H.pricePrefix=this.pricePrefix,H.currencySign=this.currencySign,H.locale=this.locale,this.id=null!==(t=this.buttonElementId)&&void 0!==t?t:this.el.id,this.uiSessionId=z(),this.trackingApi=I(this.apiPath,this.token),this.getRecommendations(),this.vviinnWidgetLoad.emit(this.getBasicEventData()),this.trackWidgetEvent("load"),this.isSetMode="set"===this.mode,this.isGridMode="grid"===this.mode,this.isContinuityMode="continuity"===this.mode,this.isSetMode&&this.setModeDiscounts.length&&(this.setModeDiscountsArray=this.setModeDiscounts.split(",").map((t=>parseInt(t.trim()))).filter((t=>!isNaN(t))))}async componentWillLoad(){await Z.init({lng:this.locale,fallbackLng:"en",resources:_}),V(this,this.el)}trackProductLoad({detail:t}){this.productImageLoadedSubject.next(t.productId);const e=this.getProductTrackEvent(t,"load");e&&this.trackingApi.trackEvent(e).then(this.setTrackingDeactivated)}trackProductView({detail:t}){this.resultViewed||(this.resultViewed=!0,this.vviinnResultView.emit(this.getBasicEventData()),this.trackResultEvent("view"));const e=this.getProductTrackEvent(t,"view");e&&this.trackingApi.trackEvent(e).then(this.setTrackingDeactivated)}async trackProductClick({detail:t}){const{productId:e,clickEvent:i}=t,r=this.findProductById(e);if(!r||!r.deeplink)return;const o=this.getProductTrackEvent(t,"click");this.trackingDeactivated?this.handleOpenLink(r.deeplink,i):await this.trackingApi.trackEvent(o).then(this.setTrackingDeactivated).finally((()=>{this.handleOpenLink(r.deeplink,i)}))}async trackAuxClick({detail:t}){const{productId:e}=t,i=this.findProductById(e);if(!i||!i.deeplink)return;const r=this.getProductTrackEvent(t,"click");this.trackingDeactivated||await this.trackingApi.trackEvent(r).then(this.setTrackingDeactivated)}async trackAddToBasket({detail:t}){const{productRank:e,productId:i}=t,r=ve(t,["productRank","productId","campaignTypeId","widgetType"]);let o;const s=Object.assign({session_id:this.uiSessionId,rank:e,product:i},r);"VCS"===this.campaignType?o=S(s):"VPR"===this.campaignType&&(o=j(s)),this.trackingApi.trackEvent(o).then(this.setTrackingDeactivated)}updatingAllCardsFinishedListener(){this.updatingAllCards&&(this.updatingAllCards=!1)}async filtersChanged({detail:t}){this.requestDynamicFilters=t.filters,this.getRecommendations()}trackWidgetEvent(t){if(this.trackingDeactivated)return;const e=this.getBasicEventData(),i=ve(e,["campaignTypeId","widgetType"]);let r;const o=Object.assign({action:t,session_id:this.uiSessionId},i);"VCS"===this.campaignType?r=T(o):"VPR"===this.campaignType&&(r=P(o)),this.trackingApi.trackEvent(r).then(this.setTrackingDeactivated)}trackResultEvent(t){if(this.trackingDeactivated)return;const e=this.getBasicEventData(),i=ve(e,["campaignTypeId","widgetType"]);let r;const o=Object.assign({session_id:this.uiSessionId},i);"VCS"===this.campaignType?r=E(t)(o):"VPR"===this.campaignType&&(r=B(t)(o)),this.trackingApi.trackEvent(r).then(this.setTrackingDeactivated)}getProductTrackEvent(t,e){if(this.trackingDeactivated)return null;const{productRank:i,productId:r,campaignTypeId:o}=t,s=ve(t,["productRank","productId","campaignTypeId","widgetType","clickEvent"]);let n;const l=Object.assign({session_id:this.uiSessionId,rank:i,product:r},s);return"VCS"===o?n=A(e)(l):"VPR"===o&&(n=O(e)(l)),n}async getRecommendations(){if(void 0===this.productId||void 0===this.token)return;a.loading=!0;const t=this.campaignType.length>0?this.campaignType:"VPR",e=de(this.token),i=(({productId:t,campaigns:e,color:i,excluded:r,dynamicFilters:o=[]})=>{const s=Object.assign(Object.assign({},i.length?{color:i}:{}),r.length?{excluded:ge(r)}:{});return Object.assign(Object.assign(Object.assign({productId:t},o.length?{dynamicFilters:o}:{}),e.length?{campaigns:be(e)}:{}),Object.keys(s).length?{staticFilters:s}:{})})({productId:this.productId,color:this.color,excluded:this.excluded,campaigns:this.campaigns,dynamicFilters:this.requestDynamicFilters}),r=d.pipe(w.of((t=>d.pipe(M(t),k((()=>ue),(()=>fe))))(t)),w.ap(w.of(i)),w.ap(w.of(e)),w.flatten),o=await r();d.pipe(o,u.fold((t=>{this.handleError(t),this.vviinnNoResult.emit(this.getBasicEventData()),this.vviinnRecommendationsLoaded.emit(),a.loading=!1}),(t=>{this.handleRecommendationsSuccess(t),a.loading=!1})))}handleError(t){this.hasErrorOnLoad=!0}handleRecommendationsSuccess({data:t,interactions:e}){this.vviinnResultLoad.emit(this.getBasicEventData()),this.trackResultEvent("load"),this.dynamicFilters=e.dynamicFilters;const{products:i,sourceProduct:r}=t;this.recommendations=i,this.sourceProduct=r,a.results=this.recommendations,a.sourceProduct=this.sourceProduct,this.productIds=this.recommendations.map((t=>t.productId)),this.productImageLoadedSubject.subscribe((t=>{this.productIds=this.productIds.filter((e=>e!==t)),this.isSetMode||0!==this.productIds.length||this.vviinnRecommendationsLoaded.emit(),this.isSetMode&&this.productIds.length===this.recommendations.length-4&&this.vviinnRecommendationsLoaded.emit()}))}isExternalCSS(){return this.cssUrl&&this.cssUrl.length>0}renderExternalCSS(){return this.isExternalCSS()?t("link",{href:this.cssUrl,rel:"stylesheet"}):""}render(){return 0===this.recommendations.length&&!1===this.noResultShow?null:t(r,{class:{loaded:!0,empty:0==this.recommendations.length,[this.mode]:!0},"aria-hidden":"false"},t(s,null,this.renderExternalCSS(),y("vpr"),t("style",null,H.fallbackStyles),t("div",{class:"widget-header"},t("div",null,t("h2",{part:"recommendations-title"},t("slot",{name:"vviinn-recommendations-title"},this.isSetMode?Z.t("setMode.widgetTitle"):this.blockTitle)),this.isSetMode&&t("h3",{part:"recommendations-subtitle"},t("slot",{name:"vviinn-recommendations-subtitle"},Z.t("setMode.widgetSubtitle")))),this.isSetMode&&"onItem"!==this.updateButtonLocation?t("button",{class:"update-button",part:"update-button-top",onClick:()=>this.updatingAllCards=!0},t("slot",{name:"vviinn-update-button-icon"},t($,null)),t("slot",{name:"vviinn-update-button-text"},t("span",null,Z.t("setMode.updateButtonText")))):null),(this.showFilters||this.showExtendedFilters)&&t("div",{class:"filters-header "},this.showFilters&&t("vviinn-filters",{filters:this.dynamicFilters}),this.showExtendedFilters&&t("vviinn-extended-filters",{filters:this.dynamicFilters,locale:this.locale})),this.recommendations.length>0&&(this.useCarousel?this.renderCarousel():this.renderResults()),(0===this.recommendations.length||this.hasErrorOnLoad)&&!a.loading&&t("p",{class:"no-result-text"},this.noResultText.length?this.noResultText:Z.t("noResultText"))))}renderRecommendation(e,i){return t("vviinn-product-card",{part:"product-part",productId:e.productId,productTitle:e.title,productType:e.productType,deeplink:e.deeplink,image:e.image.thumbnail,brand:e.brand,imageWidth:this.imageWidth,imageRatio:this.imageRatio,price:e.price.actual,salePrice:e.price.sale,energyEfficiencyClass:e.energyEfficiencyClass,minEnergyEfficiencyClass:e.minEnergyEfficiencyClass,maxEnergyEfficiencyClass:e.maxEnergyEfficiencyClass,responsive:this.isGridMode,basketButtonShow:this.addToBasketShow,mode:this.mode,dimmedBackground:this.useDimmedBackgroundInCard(),campaignTypeId:this.campaignType,index:i,widgetElementId:this.id,widgetVersion:R,currency:this.currencySign,pricePrefix:this.pricePrefix,locale:this.locale})}useDimmedBackgroundInCard(){return this.isContinuityMode||this.isSetMode||!this.useCarousel}renderResults(){return t("div",{class:"recommendations-grid",part:"recommendations-grid"},this.recommendations.map(((t,e)=>this.renderRecommendation(t,e))))}renderCarousel(){return t("vviinn-carousel",{mode:this.mode,campaignTypeId:this.campaignType,imageWidth:this.imageWidth,showScroll:this.showScroll,recommendations:this.recommendations,widgetElementId:this.id,widgetVersion:R,gridArrowsDynamic:this.gridArrowsDynamic,addToBasketShow:this.addToBasketShow,updatingAllCards:this.updatingAllCards,updateButtonLocation:this.updateButtonLocation,replaceSlotsContent:this.replaceSlotsContent.bind(this),setModeDiscountsArray:this.setModeDiscountsArray,currencySign:this.currencySign,pricePrefix:this.pricePrefix,locale:this.locale,imageRatio:this.imageRatio})}get el(){return o(this)}static get watchers(){return{productId:["handleProductIdChange"],campaignType:["handleCampaignTypeChange"],campaigns:["handleCampaignsChange"],apiPath:["handleApiPathChange"],opened:["trackWidgetOpen"],closed:["trackWidgetClose"]}}};Ce.style=":host{display:grid;grid-gap:1rem;width:100%}:host(:not(.loaded)){position:absolute;visibility:hidden}:host(.grid) vviinn-product-card::part(image){border:1px solid #dddddd;width:100%}:host(.set) vviinn-carousel{overflow-x:auto}:host(.set) vviinn-carousel{scrollbar-width:thin}.filters-header{display:flex;justify-content:space-between;gap:14px}.filters-header>vviinn-extended-filters{width:44px;height:44px}@media (max-width: 768px){.filters-header>vviinn-filters{flex:1;width:100px}}.widget-header{display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;align-items:center}.widget-header h3{margin-top:8px;margin-bottom:0;font-size:14px;font-weight:400;line-height:20px}.update-button{display:flex;align-items:center;justify-content:center;color:#525252;gap:8px;padding:8px 10px;background:rgb(244, 244, 244);border:none;cursor:pointer}.update-button:hover{background:rgb(234, 234, 234)}.update-button svg{color:#6f6f6f;width:24px;height:24px}h2{margin:0}vviinn-product-card::part(price-container){align-self:flex-start;text-align:left;display:flex}.results{display:grid;grid-gap:1rem}.no-result-text{font-size:20px}.visually-hidden{position:absolute;top:0;left:0;z-index:-1;height:0;width:0}h2{margin:0}:host(.grid) h2{justify-content:center}:host(.grid) vviinn-product-card::part(image){min-width:100%}:host(.grid) vviinn-product-card::part(image-link){width:100%}:host(.grid) vviinn-product-card::part(title),:host(.grid) vviinn-product-card::part(brand){text-align:center}:host(.grid) vviinn-product-card::part(price-container){align-self:center}:host(.continuity) vviinn-product-card::part(title),:host(.continuity) vviinn-product-card::part(brand),:host(.continuity) vviinn-product-card::part(deeplink),:host(.continuity) vviinn-product-card::part(energy-label){text-align:left;max-width:unset;align-self:start}";export{rt as vviinn_carousel,Ct as vviinn_energy_label,Ht as vviinn_extended_filters,wt as vviinn_filters,Lt as vviinn_price_range,St as vviinn_product_card,jt as vviinn_skeleton,Ce as vviinn_vpr_widget}
|