"use strict";(self.webpackChunk_brizy_builder_free=self.webpackChunk_brizy_builder_free||[]).push([["458"],{6689(t,n,e){e.r(n),e.d(n,{default:()=>l});var i=e(1669),c=e.n(i);function l(t){t.find(".brz-control__select").each(function(){var t=c()(this),n=t.find(".brz-control__select-current"),e=n.find(".brz-control__select-option"),i=t.find(".brz-control__select-options"),l=i.find(".brz-control__select-option");n.on("click",function(){i.toggle()}),l.on("click",function(){c()(this).parent().children().removeClass("active"),c()(this).addClass("active"),t.find("input[type=hidden]").val(c()(this).data("value")),e.html(c()(this).html()),i.hide()}),t.find("input[type=hidden]").on("change",function(){var t=l.html();e.html(t),c()(this).val("")}),c()(window).on("click",function(n){c()(n.target).closest(t).length||i.hide()})})}}}]);