1"use strict";(self.webpackChunkpixfort_core=self.webpackChunkpixfort_core||[]).push([[2167],{31(t,e,o){o.d(e,{default:()=>s});var i=o(7663);function s(){function t(t,e="",o="",s=!1){if(!t.hasClass("pix-is-loaded")){t.addClass("pix-is-loaded");const n=$(`<div class="pix-select-dropdown ${o}"></div>`),c=$(`<button type="button" class="${e}">${t.find("option:selected").text()} <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 22 22"><polyline fill="none" stroke="var(--pf-icon-color)" stroke-linecap="round" stroke-linejoin="round" stroke-width="var(--pf-icon-stroke-width)" points="7 9.5 12 14.5 17 9.5"/></svg></button>`),d=$('<div class="pix-select-menu"></div>');function l(t,e){(0,i.rD)(t,e,{placement:"bottom-start",middleware:[(0,i.cY)(10),(0,i.UU)(),(0,i.BN)()]}).then(({x:t,y:o})=>{Object.assign(e.style,{left:`${t}px`,top:`${o}px`})})}t.find("option").each(function(){const e=$(this),o=$(`<div class="pix-select-item">${e.text()}</div>`);e.is(":selected")&&o.addClass("selected"),o.on("click",function(){t.val(e.val()).change(),c.text(e.text()),d.find(".pix-select-item").removeClass("selected"),o.addClass("selected"),d.hide(),c.removeClass("open"),s&&s(e)}),d.append(o)}),n.append(c).append(d),t.hide().after(n),c.on("click",function(t){t.stopPropagation(),d.is(":visible")?(d.hide(),c.removeClass("open")):(d.show(),l(c[0],d[0]),c.addClass("open"))}),$(document).on("click",function(){d.hide(),c.removeClass("open")}),d.on("click",function(t){t.stopPropagation()}),(0,i.ll)(c[0],d[0],()=>l(c[0],d[0]))}}$(".pixfort-select").each(function(){const e=$(this).attr("class")+" btn dropdown-toggle";t($(this),e)}),$(".widget:not(.widget_categories):not(.widget_product_categories) select, .wp-block-archives.wp-block-archives-dropdown select, .wp-block-categories.wp-block-categories-dropdown select").each(function(){t($(this),"pix-widget-select pix-mb-15 btn dropdown-toggle btn-light bg-white font-weight-bold text-body-default text-sm")}),$(".widget.widget_categories select").each(function(){t($(this),"pix-widget-select pix-mb-15 btn dropdown-toggle btn-light bg-white font-weight-bold text-body-default text-sm",t=>{$(this).closest("form").submit()})}),$(".pixfort-shop-select").each(function(){t($(this),"btn w-100 mr-0 dropdown-toggle btn-light bg-dynamic-background shadow-sm font-weight-bold text-body-default text-sm","pix-shop-dropdown")})}}}]);
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.