PageSourceSearch

https://juvelia.pl/application/assets/storefront/chunk-sorting_control_initializer.BDoH8wX.js

js juvelia.pl collected 2026-10-10 01:48:48 UTC 1,984 bytes, 1 lines download raw bytes

1import{bH as i,bI as n,a8 as s,S as o,C as a}from"./storefrontApp.CsApItsi.min.js";import{S as p}from"./chunk-storefront_base_lit_element.lX23Jvc.js";import{S as e}from"./chunk-sheet_constants.BGkaDhX.js";import"./chunk-vendor-di.Bh23gdA.js";import"./chunk-storefront_settings_constants.DIF02Gz.js";import"./chunk-vendor-lit.NvY0u02.js";import"./chunk-vendor-lodash.CWHFt7Z.js";import"./chunk-vendor-rxjs.Dp7kflo.js";import"./chunk-vendor-phoenix.cdKS79L.js";class h extends p{constructor(){super(...arguments),this.$sheet=null,this._openLayer=()=>{this._cleanupBreakpointSubscription(),this._breakpointAtSheetOpen=this._resolutionDetectorApi.getCurrentBreakpoint(),this._selectCurrentBreakpointSubscription=this._resolutionDetectorApi.selectCurrentBreakpoint$().subscribe(this._handleBreakpointChange)},this._handleBreakpointChange=t=>{this._breakpointAtSheetOpen&&t.name!==this._breakpointAtSheetOpen.name&&this._closeLayer()},this._closeLayer=()=>{this.$sheet?.hasAttribute("opened")&&this.$sheet?.close(),this._cleanupBreakpointSubscription()},this._cleanupBreakpointSubscription=()=>{this._selectCurrentBreakpointSubscription?.unsubscribe(),this._selectCurrentBreakpointSubscription=void 0,this._breakpointAtSheetOpen=void 0}}static{this.moduleName=i.component}async connectedCallback(){super.connectedCallback(),this.$sheet=this.querySelector(n.sheet),this._setupListeners(),this._resolutionDetectorApi=await this.getApi(s.api)}disconnectedCallback(){super.disconnectedCallback(),this._removeListeners(),this._cleanupBreakpointSubscription()}_setupListeners(){this.$sheet?.addEventListener(e.open,this._openLayer),this.$sheet?.addEventListener(e.close,this._closeLayer)}_removeListeners(){this.$sheet?.removeEventListener(e.open,this._openLayer),this.$sheet?.removeEventListener(e.close,this._closeLayer)}}class C extends o{static{this.dependencies=[s.feature]}static{this.featureName=i.feature}init(){return{cores:[{type:a,instance:[h]}]}}}export{C as SortControlInitializer};

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.