PageSourceSearch

https://sklep.tatarak.com/application/assets/storefront/chunk-product_shipping_time_initializer.D0LGnxP.js

js tatarak.com collected 2026-10-02 12:08:42 UTC 1,464 bytes, 1 lines download raw bytes

1import{af as u,ag as a,S as d,C as h}from"./storefrontApp.CsApItsi.min.js";import{P as c}from"./chunk-product_constants.e09mIDD.js";import{P as f}from"./chunk-product_stock_changed_handler.C3zWS6V.js";import{S as T}from"./chunk-storefront_base_lit_element.lX23Jvc.js";import{U as o,e as l}from"./chunk-vendor-lit.NvY0u02.js";import"./chunk-vendor-di.Bh23gdA.js";import"./chunk-storefront_settings_constants.DIF02Gz.js";import"./chunk-vendor-rxjs.Dp7kflo.js";import"./chunk-vendor-lodash.CWHFt7Z.js";import"./chunk-vendor-phoenix.cdKS79L.js";import"./chunk-product_events_constants.BHFu5GP.js";var _=Object.defineProperty,I=(n,t,i,s)=>{for(var e=void 0,r=n.length-1,p;r>=0;r--)(p=n[r])&&(e=p(t,i,e)||e);return e&&_(t,i,e),e};class m extends T{constructor(){super(...arguments),this.productId=null,this._updateShippingTime=({body:t})=>{if(!t)return;const{delivery:i,availability:s,productId:e}=t;if(e!==this.productId)return;const r=this.querySelector(`[${u}]`);if(r){if(!i){o.hide(this);return}if(!s?.isAvailable){o.hide(this);return}o.show(this),this._changeShippingTimeTextContent(r,i)}}}static{this.moduleName=a.component}firstUpdated(t){super.firstUpdated(t),new f(this._updateShippingTime)}_changeShippingTimeTextContent(t,i){t.textContent=i.name}}I([l({type:Number,attribute:c,reflect:!0})],m.prototype,"productId");class b extends d{static{this.featureName=a.feature}init(){return{cores:[{type:h,instance:[m]}]}}}export{b as ProductShippingTimeInitializer};

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.