PageSourceSearch

https://www.kusch.com/js/3387.js?v=d1b9dcf25cb1db8be387

js kusch.com collected 2026-10-05 01:48:04 UTC 10,443 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunknowy_styl_webpage=self.webpackChunknowy_styl_webpage||[]).push([[3141,3387],{23387:function(e,t,n){n.r(t),n.d(t,{DealersFilter:function(){return a}});var i=n(96540),o=n(90298),r=n(66406),s=n(42134),c=n(82027),l=n(68896),u=n(74848);const a=({filterIsOpen:e,setFilterIsOpen:t,selectedDealerCategories:n,handleDealerCategoriesChange:a,filterTitle:d,distanceTitle:S,distance:_,applyFiltresBtnTitle:h,filterBtnTitle:p,selectedDistance:f,setSelectedDistance:m,applyFiltres:A,categories:C})=>{const w=(0,i.useRef)(null);(0,i.useEffect)(()=>{const n=n=>{if(e){const e=n.target,i=w.current;if(null!=i&&i.contains(e))return;t(!1)}};return e&&document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,t]);const g=(0,u.jsxs)("div",{className:"c-DealersFilter__filter",onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),children:[(0,u.jsx)("div",{className:"c-DealersFilter__filter-title",children:d}),(0,u.jsx)("ul",{className:"c-DealersFilter__dealer-categories",children:C.map(e=>(0,u.jsx)("li",{children:(0,u.jsx)(s.CheckboxField,{idFor:e.id,checked:n.includes(e.id),onChange:t=>a({checked:!(null==t||!t.target.checked),id:e.id}),title:e.name})},"cat"+e.id))}),(0,u.jsx)("div",{className:"c-DealersFilter__distance-title",children:S}),(0,u.jsx)(l.InputRange,{value:f,min:0,max:_,onChange:e=>m(parseInt((null==e?void 0:e.target.value)||"0")),className:"c-DealersFilter__range"}),(0,u.jsxs)("div",{className:"c-DealersFilter__selected-distance",children:[f," km"]}),(0,u.jsx)(c.Button,{tag:"button",modifiers:{variant:"primary"},text:h,handleClick:()=>{A(),t(!1)}})]});return(0,u.jsx)("div",{className:"c-DealersFilter",ref:w,children:(0,u.jsx)(o.Dropdown,{trigger:["click"],overlay:g,animation:"slide-up",overlayClassName:"",onVisibleChange:e=>t(e),visible:e,placement:"bottomLeft",mouseEnterDelay:0,mouseLeaveDelay:0,disableClickOutside:!0,children:(0,u.jsx)(r.ButtonDropdown,{className:"c-DealersFilter__dropdown",title:p,isActive:e,onClick:()=>{t(!e)}})})})}},42134:function(e,t,n){n.r(t),n.d(t,{CheckboxField:function(){return o}});n(96540);var i=n(74848);const o=({idFor:e,onChange:t,title:n,className:o,checked:r,disabled:s=!1,additionalText:c,color:l,handleDownloadClick:u})=>(0,i.jsxs)("div",{className:`c-CheckboxField ${o||""} ${s?"c-CheckboxField--is-disabled":""}`,children:[(0,i.jsx)("input",{type:"checkbox",id:e,checked:r,disabled:s,onChange:t}),(0,i.jsxs)("label",{htmlFor:e,children:[l&&(0,i.jsx)("span",{className:"c-CheckboxField__bg",style:{backgroundImage:`url(${l})`}}),(0,i.jsx)("span",{className:"c-CheckboxField__text "+(l?"sr-only":""),children:n}),c&&(0,i.jsx)("span",{className:"c-CheckboxField__additionalText",children:c}),u&&(0,i.jsx)("button",{className:"c-CheckboxField__download",onClick:u})]})]})},63141:function(e,t,n){n.r(t),n.d(t,{ANIMATION_TIMING:function(){return H},API_IMAGE_BASE:function(){return l},API_PATH:function(){return c},ASSETS_PATH:function(){return r},BREAKPOINTS:function(){return a},CLASS_FLOATING_SIDE_MENU_IS_OPEN:function(){return F},CLASS_IS_ACTIVE:function(){return _},CLASS_IS_ACTIVETAB:function(){return h},CLASS_IS_CENTERED:function(){return p},CLASS_IS_CHECKED:function(){return f},CLASS_IS_COLLAPSED:function(){return m},CLASS_IS_COMPRESSED:function(){return A},CLASS_IS_ENTERING:function(){return y},CLASS_IS_ERROR:function(){return C},CLASS_IS_FIXED:function(){return w},CLASS_IS_HIDDEN:function(){return g},CLASS_IS_HIDE:function(){return D},CLASS_IS_HOVER:function(){return I},CLASS_IS_LAYER_ACTIVE:function(){return v},CLASS_IS_LOADING:function(){return E},CLASS_IS_OPEN:function(){return L},CLASS_IS_OPENED:function(){return N},CLASS_IS_REQUIRED:function(){return x},CLASS_IS_SCROLL:function(){return b},CLASS_IS_SELECTED:function(){return T},CLASS_IS_STICKY:function(){return M},CLASS_IS_SUCCESS:function(){return k},CLASS_IS_TRANSITIONING:function(){return O},CLASS_IS_VISIBLE:function(){return j},CLASS_IS_ZOOM:function(){return R},CONTENT_PATH:function(){return s},CSS_VAR_LAYOUT_TOP_MENU_HEIGHT_KUSCH:function(){return B},EVENT_MENU_VISIBILITY_CHANGE:function(){return P},KEYS:function(){return d},LAYOUT_SETTINGS:function(){return u},STORAGE:function(){return S}});const i=document.currentScript&&document.currentScript.src||"";let o="";if(i){o=new URL(i).origin}const r=o+"/",s=o+"/content",c="",l="",u={WRAPPER_WIDTH:"1180"},a={XS:"375",S:"480",M:"1024",ML:"1280",L:"1360",LXL:"1536",XL:"1920"},d={tab:"Tab",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",left:"ArrowLeft",enter:"Enter",space:"Space",esc:"Escape"},S={DAMCollection:"DAM-collection",DAMNestCollection:"DAM-Nest-collection",DAMFiltersStates:"DAM-filters-states",DAMNestFiltersStates:"DAM-Nest-filters-states",DAMCollectionSelected:"DAM-collectionSelected",DAMNestCollectionSelected:"DAM-Nest-collectionSelected",DAMSelected:"DAM-selected",DAMNestSelected:"DAM-Nest-selected",DAMUrlParams:"DAM-urlParams",DAMNestUrlParams:"DAM-Nest-urlParams"},_="is--active",h="is--activeTab",p="is--centered",f="is--checked",m="is--collapsed",A="is--compressed",C="is--error",w="is--fixed",g="is--hidden",D="is--hide",I="is--hover",v="is--layer-active",E="is--loading",L="is--open",N="is--opened",x="is--required",b="is--scroll",T="is--selected",M="is--sticky",k="is--success",R="is--zoom",O="is--transitioning",y="is--entering",j="is--visible",F="floating-side-menu-is-open",P="kuschco:menu-visibility-change",B="--layout-top-menu-height-kusch",H={MENU_TRANSITION:300,MENU_TRANSITION_DELAY:150,MENU_ENTRY_DELAY:50,SCROLL_THRESHOLD:100,SCROLL_TOP_THRESHOLD:50,SCROLL_HIDE_THRESHOLD:200}},66406:function(e,t,n){n.r(t),n.d(t,{ButtonDropdown:function(){return r}});var i=n(63141),o=n(74848);const r=({title:e,isActive:t,onClick:n,className:r=""})=>(0,o.jsx)("button",{className:`c-ButtonDropdown ${r} ${t?i.CLASS_IS_ACTIVE:""}`,onClick:n,children:(0,o.jsx)("div",{className:"c-ButtonDropdown__title",children:e})})},68896:function(e,t,n){n.r(t),n.d(t,{InputRange:function(){return o}});n(96540);var i=n(74848);const o=({className:e="",value:t,min:n,max:o,onChange:r})=>(0,i.jsx)("input",{value:t,type:"range",className:`c-InputRange ${e}`,min:n,max:o,onChange:r})},82027:function(e,t,n){n.r(t),n.d(t,{Button:function(){return o}});n(96540);var i=n(74848);const o=e=>{const{tag:t,text:n,href:o,title:r,modifiers:s={},icon:c,ondark:l,handleClick:u}=e,a=`${t}`;let d="c-Button";l&&(d+=" c-Button--invert"),c&&(d=d+" c-Button--icon c-Button--icon-"
1+c);for(const e in s)d=d+" c-Button--"+s[e];return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(a,{"data-popup-close":!0,className:d,...o&&{href:o},...r&&{title:r},"data-jscomponent":"Button",...u&&{onClick:u},children:[(0,i.jsx)("span",{className:"c-Button__underline"}),(0,i.jsx)("span",{className:"c-Button__label",children:n}),(0,i.jsx)("span",{className:"c-Button__border"})]})})}},90298:function(e,t,n){n.r(t),n.d(t,{Dropdown:function(){return r}});var i=n(96540),o=n(74848);const r=({children:e,overlay:t,trigger:n=["click"],placement:r="bottomLeft",animation:s="slide-up",overlayClassName:c="",visible:l,onVisibleChange:u,mouseEnterDelay:a=0,mouseLeaveDelay:d=0,disableClickOutside:S=!1})=>{const[_,h]=(0,i.useState)(!1),[p,f]=(0,i.useState)({top:0,left:0,width:0,height:0}),m=(0,i.useRef)(null),A=(0,i.useRef)(null),C=(0,i.useRef)(void 0),w=void 0!==l,g=w?l:_,D=()=>{if(!m.current||!A.current)return;const e=m.current.getBoundingClientRect(),t=A.current.getBoundingClientRect(),n=window.innerWidth,i=window.innerHeight;let o=0,s=0;const l=e.width,u=e.height;switch(r){case"bottomLeft":if(c.includes("c-DropdownAppDAM__menu")){var a;if(null===(a=m.current)||void 0===a?void 0:a.closest(".m-Popup--DAM, .c-PopupAppDAM")){var d;const t=null===(d=m.current)||void 0===d?void 0:d.querySelector("button");if(t){const e=t.getBoundingClientRect();o=e.bottom,s=e.left}else o=e.bottom,s=e.left}else o=e.height,s=0}else c.includes("c-ProductsListingMiddleController__sort-overlay")?(o=e.height,s=0):(o=e.bottom+window.scrollY,s=e.left+window.scrollX);break;case"bottomRight":if(c.includes("c-DropdownAppDAM__menu")){var S;const t=null===(S=m.current)||void 0===S?void 0:S.querySelector("button");if(t){const e=t.getBoundingClientRect();o=e.bottom,s=e.right-l}else o=e.bottom,s=e.right-l}else o=e.bottom+window.scrollY,s=e.right+window.scrollX-l;break;case"topLeft":o=t.height>0?e.top+window.scrollY-t.height:e.top+window.scrollY-100,s=e.left+window.scrollX;break;case"topRight":o=t.height>0?e.top+window.scrollY-t.height:e.top+window.scrollY-100,s=e.right+window.scrollX-l}s<8?s=8:s+(t.width||l)>n-8&&(s=n-(t.width||l)-8),o<window.scrollY+8?o=window.scrollY+8:o+(t.height||100)>i+window.scrollY-8&&(o=i+window.scrollY-(t.height||100)-8),f({top:o,left:s,width:l,height:u})},I=()=>{C.current&&clearTimeout(C.current),C.current=setTimeout(()=>{w?null==u||u(!0):h(!0)},a)},v=()=>{C.current&&clearTimeout(C.current),C.current=setTimeout(()=>{w?null==u||u(!1):h(!1)},d)},E=e=>{S||m.current&&!m.current.contains(e.target)&&A.current&&!A.current.contains(e.target)&&(w?null==u||u(!1):h(!1))};(0,i.useEffect)(()=>(g&&(requestAnimationFrame(()=>{D()}),document.addEventListener("mousedown",E),window.addEventListener("resize",D),window.addEventListener("scroll",D)),()=>{document.removeEventListener("mousedown",E),window.removeEventListener("resize",D),window.removeEventListener("scroll",D),C.current&&clearTimeout(C.current)}),[g]);return(0,o.jsxs)("div",{ref:m,onClick:()=>{n.includes("click")&&(g?v():I())},onMouseEnter:()=>{n.includes("hover")&&I()},onMouseLeave:()=>{n.includes("hover")&&v()},style:{display:"inline-block",position:"relative"},className:(g?"rc-dropdown-open":"")+" rc-dropdown",children:[e,g&&(0,o.jsx)("div",{ref:A,className:`dropdown-overlay ${c} ${s}`,style:c.includes("c-DropdownAppDAM__menu")?(null===(L=m.current)||void 0===L?void 0:L.closest(".m-Popup--DAM, .c-PopupAppDAM"))?{top:`${p.top}px !important`,left:`${p.left}px !important`,minWidth:p.width,zIndex:1100}:{position:"absolute",top:`${p.height||0}px`,left:"0",width:p.width,zIndex:1050}:c.includes("c-Dropdown__menu")?{position:"absolute",top:`${p.height||0}px`,left:"0",width:p.width,zIndex:1050}:c.includes("c-ProductsListingMiddleController__sort-overlay")?{position:"absolute",top:`${p.height||0}px`,left:"0",zIndex:1050}:{position:"absolute",top:p.top,left:p.left,minWidth:p.width,zIndex:1050},onMouseEnter:()=>{n.includes("hover")&&I()},onMouseLeave:()=>{n.includes("hover")&&v()},children:t})]});var L};t.default=r}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.