PageSourceSearch

https://www.ogrzewnictwo.pl/js/4900.js

js ogrzewnictwo.pl collected 2026-09-26 05:01:20 UTC 2,021 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4900],{4900:(t,e,n)=>{n.r(e),n.d(e,{default:()=>i});const s={props:{productId:Number|String,categoryIds:String},data:function(){return{items:[],apiUrl:""}},mounted:function(){this.categoryIds&&(this.apiUrl="/api/products?per_page=".concat(10,"&filter[category]=").concat(this.categoryIds,"&page=1&sort=-created_at"),this.pagination(this.apiUrl))},methods:{pagination:function(t){var e=this;axios.get(t).then((function(t){e.items=t.data.data.filter((function(t){return+t.id!=+e.productId}))})).catch((function(t){console.error(t)}))}}};const i=(0,n(4486).A)(s,(function(){var t=this,e=t._self._c;return t.items.length?e("div",{staticClass:"tc-card tc-p--2 tc-mb--2"},[t._m(0),t._v(" "),e("div",{staticClass:"wrapper"},[e("div",{staticClass:"newest-block-wrapper"},[e("ul",{staticClass:"standard-list",staticStyle:{"padding-bottom":"8px"}},t._l(t.items,(function(n,s){return e("li",{key:s},[e("a",{attrs:{href:n.slug.attributes.name}},[t._v(t._s(n.attributes.title))])])})),0)])])]):t._e()}),[function(){var t=this._self._c;return t("div",{staticClass:"header d-flex pb-2"},[t("span",{staticClass:"tc-font-weight--500"},[this._v("Podobne produkty")])])}],!1,null,null,null).exports},4486:(t,e,n)=>{function s(t,e,n,s,i,r,a,o){var c,d="function"==typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=n,d._compiled=!0),s&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},d._ssrRegister=c):i&&(c=o?function(){i.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(d.functional){d._injectStyles=c;var l=d.render;d.render=function(t,e){return c.call(e),l(t,e)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:d}}n.d(e,{A:()=>s})}}]);

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.