PageSourceSearch

https://spinsudz.com/_nuxt/W4RqIPyc.js

js spinsudz.com collected 2026-09-24 14:01:30 UTC 3,633 bytes, 1 lines download raw bytes

1import{_ as A}from"./BgPzu36z.js";import{d as N,j as y,ah as O,o as t,c as o,a as g,B as v,u as a,e as c,H as b,I as P,s as $,t as F,_ as D,D as j,r as z,k as I,w as M,v as C,a3 as U,G as E,F as G,M as H,O as R,N as W,A as L}from"./CRcD7-OL.js";import{u as Y}from"./FgxL4Tqm.js";import"./AXXv7PeY.js";const q={class:"pricingItem__text"},J={key:0},K={key:0,class:"pricingItem__sub"},Q=N({__name:"PricingItem",props:{item:{},depth:{},weightSymbol:{}},setup(l){const n=l,{formatPrice:d}=Y(),_=y(()=>n.weightSymbol&&[88,89].includes(n.item.pieces)?`${d(n.item.price)}/${n.weightSymbol}`:d(n.item.price));return(s,f)=>{const u=O("PricingItem",!0);return t(),o("div",{class:F(["pricingItem",{"pricingItem--sub":s.depth>0,"pb-0":s.item.children.length>0}])},[g("div",q,[g("div",null,v(s.item.name),1),s.item.isParent?c("",!0):(t(),o("div",J,v(a(_)),1))]),s.depth<5?(t(),o("div",K,[(t(!0),o(b,null,P(s.item.children,w=>(t(),$(u,{item:w,depth:s.depth+1},null,8,["item","depth"]))),256))])):c("",!0)],2)}}}),X=D(Q,[["__scopeId","data-v-132294fe"]]),Z=j("pricing",()=>{const l=z({pricing:{default:null}}),n=y(()=>l.pricing);function d(s,f){f&&(l.pricing[s||"default"]=f)}function _(s){return l.pricing[s||"default"]}return{pricing:n,set:d,get:_}}),x=["id","data-id"],ee={key:0,class:"d-flex flex-wrap align-items-center justify-content-between mb-3"},te={key:0},ie={key:1,class:"ms-auto"},se={key:0,class:"mb-4"},oe={class:"h4"},ne={key:0},re={key:1},ae={key:0},ce={key:1},le=N({__name:"PricingBlock",props:{block:{},parentBlock:{}},async setup(l){let n,d;const _=l,s=Z(),f=I(),u=y(()=>_.block.data.priceListId),w=s.get(u.value);let p=I(w);if(!p.value){const{data:e}=([n,d]=M(()=>C(`/api/pricing${u.value?`?priceListId=${u.value}`:""}`,"$58pOrrN8fn")),n=await n,d(),n);p.value=e.value,s.set(u.value,e.value||void 0)}const m=I("");function S(e){const i=[];for(const r of e.children)i.push(...S(r));return[{...e,children:[]},...i]}function T(e,i){return i.filter(r=>!r.isParent&&r.name.toLocaleLowerCase().indexOf(e.toLocaleLowerCase())!==-1)}const B=y(()=>p.value?m.value===""?p.value.categories:p.value.categories.map(e=>{const i=[];for(const k of e.products)i.push(...S(k));const r=T(m.value,i);return r.length>0?{...e,products:r}:!1}).filter(Boolean):[]);return U(u,async e=>{const{data:i}=await C(`/api/pricing${e?`?priceListId=${e}`:""}`,"$c7WSo9AYDe");p.value=i.value,s.set(e,i.value||void 0)}),(e,i)=>{const r=A;return t(),$(r,{element:a(f),block:e.block},{default:E(k=>[g("div",{ref_key:"element",ref:f,class:F(["wb-block-Pricing",[...k.classes]]),"data-type":"block",style:G(k.styles),id:String(e.block.slug||e.block.id),"data-id":String(e.block.id)},[e.block.data.hideFilter&&e.block.data.hideTitle?c("",!0):(t(),o("div",ee,[e.block.data.hideTitle?c("",!0):(t(),o("h1",te,v(e.block.data.title||"Pricing"),1)),e.block.data.hideFilter?c("",!0):(t(),o("div",ie,[H(g("input",{type:"text",class:"form-control","onUpdate:modelValue":i[0]||(i[0]=h=>R(m)?m.value=h:null),placeholder:"Filter..."},null,512),[[W,a(m)]])]))])),(t(!0),o(b,null,P(a(B),h=>(t(),o(b,null,[h?(t(),o("div",se,[g("h2",oe,v(h.name),1),(t(!0),o(b,null,P(h.products,V=>(t(),$(X,{item:V,"weight-symbol":a(p)?.weightSymbol,depth:0},null,8,["item","weight-symbol"]))),256)),h.products.length===0?(t(),o("div",ne," No products found. ")):c("",!0)])):c("",!0)],64))),256)),a(B).length===0?(t(),o("div",re,[a(m)?(t(),o("div",ae,[i[1]||(i[1]=L(" No products found for a keyword ")),g("b",null,v(a(m)),1),i[2]||(i[2]=L(". "))])):(t(),o("div",ce,"No products."))])):c("",!0)],14,x)]),_:1},8,["element","block"])}}}),fe=D(le,[["__scopeId","data-v-aa77fdf4"]]);export{fe as default};

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.