PageSourceSearch

https://baza.store/js/7265.c6f2443b.js

js baza.store collected 2026-10-02 02:10:30 UTC 9,270 bytes, 22 lines download raw bytes

1"use strict";(self["webpackChunkbaza_frontend"]=self["webpackChunkbaza_frontend"]||[]).push([[7265,7959],{60528:function(t,e,r){r.d(e,{Z:function(){return d}});var a=function(){var t=this,e=t._self._c;return t.items.length?e("nav",{staticClass:"breadcrumbs",attrs:{"aria-label":"Breadcrumb"}},[e("ol",{staticClass:"breadcrumbs__list"},t._l(t.items,(function(r,a){return e("li",{key:a,class:{breadcrumbs__item:!0,"breadcrumbs__item--active":a===t.items.length-1}},[e(a<t.items.length-1?"router-link":"div",{tag:"component",attrs:{to:r.route}},[e("span",[t._v(t._s(r.name))])]),a<t.items.length-1?e("span",{staticClass:"breadcrumbs__separator"},[e("ChevronRight",{attrs:{size:16}})],1):t._e()],1)})),0)]):t._e()},o=[],s=r(9848),n={name:"Breadcrumbs",components:{ChevronRight:s.Z},metaInfo(){return{...this.metaInfo}},props:{items:{type:Array,default:()=>[],required:!0}},computed:{metaInfo(){return this.items.length?{script:[{type:"application/ld+json",json:{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:this.items.map(((t,e)=>({"@type":"ListItem",position:e+1,item:{"@id":this.$router.resolve(t.route)?.href,name:t.name,url:this.$router.resolve(t.route)?.href}})))}}]}:{}}}},i=n,u=r(43736),c=(0,u.Z)(i,a,o,!1,null,"604b5713",null),d=c.exports},32294:function(t,e,r){r.d(e,{Z:function(){return d}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"dashboard-title"},[e("div",{staticClass:"dashboard-title__heading"},[t.backLink?e("router-link",{staticClass:"dashboard-title__backlink",attrs:{to:{name:t.backLink}}},[e("ChevronLeft",{attrs:{size:20}})],1):t.showDefaultBackButton?e("button",{staticClass:"button-reset dashboard-title__backlink",attrs:{type:"button"},on:{click:function(e){return t.$router.back()}}},[e("ChevronLeft",{attrs:{size:20}})],1):t._e(),t._t("backLink"),e("h1",{staticClass:"dashboard-title__name"},[t._v(" "+t._s(t.title)+" ")]),t._t("default")],2)])},o=[],s=r(94461),n={components:{ChevronLeft:s.Z},props:{title:{type:String,required:!0},backLink:{type:String,required:!1},showDefaultBackButton:{type:Boolean,required:!1,default:!1}}},i=n,u=r(43736),c=(0,u.Z)(i,a,o,!1,null,"3a4dcadc",null),d=c.exports},18623:function(t,e,r){r.d(e,{Z:function(){return d}});var a=function(){var t=this,e=t._self._c;return t.filteredGroups.length?e("nav",{staticClass:"groups-nav"},[e("ul",{staticClass:"groups-nav__list"},t._l(t.filteredGroups,(function(r){return e("li",{key:r.id,staticClass:"groups-nav__item"},[r.routeName===t.activeGroup?.routeName?e("span",{staticClass:"groups-nav__link groups-nav__link--active"},[t._v(" "+t._s(r.name)+" ")]):e("router-link",{staticClass:"groups-nav__link",attrs:{to:{name:"productsByCategory",params:{productCategory:r.routeName}}}},[t._v(" "+t._s(r.name)+" ")])],1)})),0)]):t._e()},o=[],s=r(90408),n={name:"GroupsBar",props:{activeGroup:{type:Object,required:!1,default:null}},computed:{...(0,s.rn)("product",["groups"]),...(0,s.rn)("profileProduct",["availableFilters"]),filteredGroups(){const t=new Set((this.availableFilters?.groups||[]).map((t=>t.id)));return this.groups.filter((e=>t.has(e.id)))}}},i=n,u=r(43736),c=(0,u.Z)(i,a,o,!1,null,"88c4cb3c",null),d=c.exports},31082:function(t,e,r){r.d(e,{Z:function(){return l}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"page-not-found"},[e("div",{staticClass:"page-not-found__content"},[e("div",{staticClass:"page-not-found__icon"},[e("SearchX",{attrs:{size:100}})],1),e("h1",{staticClass:"page-not-found__title"},[t._v(" "+t._s(t.$t("Page not found"))+" ")]),e("p",{staticClass:"page-not-found__description"},[t._v(" "+t._s(t.$t("You followed the incorrect reference or the page was removed."))+" ")])])])},o=[],s=r(23753);
2/**
3 * @license lucide-vue v0.477.0 - ISC
4 *
5 * This source code is licensed under the ISC license.
6 * See the LICENSE file in the root directory of this source tree.
7 */
8const n=(0,s.Z)("SearchXIcon",[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["path",{d:"m8.5 8.5 5 5",key:"a8mexj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);var i={name:"PageNotFound",components:{SearchX:n}}
8,u=i,c=r(43736),d=(0,c.Z)(u,a,o,!1,null,"7e75dcbd",null),l=d.exports},19665:function(t,e,r){r.d(e,{Z:function(){return l}});var a=function(){var t=this,e=t._self._c;return e("form",{staticClass:"search",on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("input",{ref:"searchField",staticClass:"search__field",attrs:{type:"text",name:"search",placeholder:t.placeholder||t.$t("Search")},domProps:{value:t.value},on:{input:t.handleInput}}),e("button",{staticClass:"button-reset search__button",attrs:{type:"submit"}},[e("span",[t._v(t._s(t.$t("Find")))]),e("SearchIcon",{attrs:{size:16}})],1)])},o=[],s=r(23753);
9/**
10 * @license lucide-vue v0.477.0 - ISC
11 *
12 * This source code is licensed under the ISC license.
13 * See the LICENSE file in the root directory of this source tree.
14 */
15const n=(0,s.Z)("SearchIcon",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);var i={name:"Search",components:{SearchIcon:n},props:{placeholder:{type:String,required:!1,default:""},value:{type:String,required:!1,default:""}},methods:{handleInput(t){this.$emit("input",t.target.value)},submit(){this.$emit("submit",this.value)},focus(){this.$refs.searchField.focus()}}},u=i,c=r(43736),d=(0,c.Z)(u,a,o,!1,null,"209668d2",null),l=d.exports},88469:function(t,e,r){r.r(e),r.d(e,{default:function(){return g}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"product-detail-wrapper"},[e("LayoutDashboard",[e("div",{staticClass:"product-detail"},[e("GroupsBar",{attrs:{groups:t.groups}}),e("Breadcrumbs",{attrs:{items:t.breadcrumbs}}),e("DashboardTitle",{staticClass:"product-page__title",attrs:{title:t.productName}}),e("Search",{on:{submit:function(e){t.searchTerm.length&&t.$router.push({name:"marketSearch",query:{q:t.searchTerm}})}},model:{value:t.searchTerm,callback:function(e){t.searchTerm=e},expression:"searchTerm"}}),e("div",{staticClass:"product-detail__content"},[t.notFound?t._e():e("ProductMoreInfo",{staticClass:"product-detail__product",attrs:{data:{productSlug:t.$route.params.productSlug}},on:{"product-loaded":t.onProductLoaded,error:t.handleError}}),t.notFound?e("PageNotFound"):t._e()],1)],1)])],1)},o=[],s=r(74219),n=r(19665),i=r(90408),u=r(18623),c=r(60528),d=r(32294),l=r(31082),p=r(28465),m={name:"ProductDetail",components:{ProductMoreInfo:s["default"],GroupsBar:u.Z,Search:n.Z,Breadcrumbs:c.Z,DashboardTitle:d.Z,PageNotFound:l.Z},metaInfo(){return{...this.metaInfo}},data:()=>({searchTerm:"",loadedProduct:null,notFound:!1}),computed:{...(0,i.rn)("product",["groups","products"]),metaInfo(){if(!this.loadedProduct)return{title:this.$t("market.title")};const t=this.loadedProduct,e=`${t.product.name} ${t.sort.name}`,r=`Купите ${e} из ${t.country.name}, по низкой цене! [мелкий ОПТ] | ${t.caliber?`[Калибр ${t.caliber}] | `:""}[${t.category.name}] | [Упаковка: ${t.packing.name.toLowerCase()} ${t.weight} ${this.$t(`units.weight.${t.wt_unit.name}`)}] | [Доставка до двери!]`;return{title:`${e} – ${t.country.name}, ${t.category.name.toLowerCase()}, ${t.packing.name.toLowerCase()} ${this.$t("from {0}",[`${t.weight} ${this.$t(`units.weight.${t.wt_unit.name}`)}`])}`,meta:[{vmid:"description",name:"description",content:r},{vmid:"og:title",property:"og:title",content:`${e} – ${t.country.name}`},{vmid:"og:description",property:"og:description",content:r},{vmid:"og:image",property:"og:image",content:t.images[0]?.image_medium||""},{vmid:"og:type",property:"og:type",content:"product"},{vmid:"og:url",property:"og:url",content:`${p.FH}${this.$route.path}`}],link:[{rel:"canonical",href:`${p.FH}${this.$route.path}`}]}},productName(){return this.loadedProduct?`${this.loadedProduct.product.name} ${this.loadedProduct.sort.name}`:this.$t("Product")},breadcrumbs(){let t=[{name:this.$t("market.title"),route:{name:"market"}}];return this.loadedProduct&&(t=[...t,{name:this.loadedProduct.group.name,route:{name:"productsByCategory",params:{productCategory:this.groups.find((t=>t.id===this.loadedProduct.group.id))?.routeName}}},{name:this.loadedProduct.product.name,route:{name:"productsByProduct",params:{productCategory:this.groups.find((t=>t.id===this.loadedProduct.group.id))?.routeName,productName:this.products.find((t=>t.id===this.loadedProduct.product.id))?.routeName}}},{name:this.productName,route:{name:"productDetail"}}]),t}},async created(){await this.$store.dispatch("profileProduct/getFilterDataForAllProducts"),await this.$store.dispatch("product/listProductGroups"),await this.$store.dispatch("product/listProducts",{params:{page_size:1e3}})},methods:{onProductLoaded(t){this.loadedProduct=t},handleError(){this.notFound=!0}}},h=m,f=r(43736),_=(0,f.Z)(h,a,o,!1,null,"8889aec6",null),g=_.exports},9848:function(t,e,r){r.d(e,{Z:function(){return o}});var a=r(23753);
16/**
17 * @license lucide-vue v0.477.0 - ISC
18 *
19 * This source code is licensed under the ISC license.
20 * See the LICENSE file in the root directory of this source tree.
21 */const o=(0,a.Z)("ChevronRightIcon",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])}}]);
22//# sourceMappingURL=7265.c6f2443b.js.map

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.