{"version":3,"file":"chunks/f5a0cb126164d4.js","mappings":"oSAEqBA,EAAAA,WACnB,WAAYC,I,4FAAS,SACnBC,KAAKD,QAAUE,EAAEF,GACjBC,KAAKE,OAASD,EAAE,wCAAyCD,KAAKD,SAC9DC,KAAKG,O,yCAGP,WACEH,KAAKE,OAAOE,GAAG,SAAUJ,KAAKK,aAAaC,KAAKN,S,0BAGlD,SAAaO,GACXC,OAAOC,SAASC,QAAQH,EAAEI,OAAOC,Y,sEAZhBd","sources":["webpack:///./resources/js/components/showroom/category-selector.ts"],"sourcesContent":["import * as $ from \"jquery\";\n\nexport default class CategorySelector {\n constructor(domRoot) {\n this.domRoot = $(domRoot);\n this.select = $('.component--category-selector__select', this.domRoot);\n this.init();\n }\n\n init() {\n this.select.on('change', this.handleChange.bind(this));\n }\n\n handleChange(e) {\n window.location.replace(e.target.value);\n }\n}\n"],"names":["CategorySelector","domRoot","this","$","select","init","on","handleChange","bind","e","window","location","replace","target","value"],"sourceRoot":""}