PageSourceSearch

https://highwizard.netlify.app/_nuxt/B7Aa3zNj.js

js highwizard.netlify.app collected 2026-10-03 10:52:35 UTC 4,595 bytes, 32 lines download raw bytes

1import{H as C,T as H,M as I}from"./DkEhcZiB.js";import{_ as N}from"./DtitkG8T.js";import{_ as B}from"./Bxu3WA_L.js";import{r as n,h as A,o as P,a as l,e as d,w as h,i as z,f as y,F,b as M,d as f,g as a,j as V,t as q,k as D,_ as E,n as j}from"./BX97eYXR.js";import{a as $}from"./Cm0UX6qg.js";import"./BScTbiXz.js";import"./8817wFzl.js";const K={class:"container px-4 my-10 md:mx-auto"},L={key:0,class:"z-10 grid grid-cols-1 gap-6 md:grid-cols-3"},R=D('<div class="animate-pulse"><div class="h-[300px] md:h-[526px] bg-gray-200 rounded-md"></div></div><div class="animate-pulse"><div class="h-[300px] md:h-[526px] bg-gray-200 rounded-md"></div></div><div class="animate-pulse"><div class="h-[300px] md:h-[526px] bg-gray-200 rounded-md"></div></div><div class="animate-pulse"><div class="h-[300px] md:h-[526px] bg-gray-200 rounded-md"></div></div><div class="animate-pulse"><div class="h-[300px] md:h-[526px] bg-gray-200 rounded-md"></div></div><div class="animate-pulse"><div class="h-[300px] md:h-[526px] bg-gray-200 rounded-md"></div></div><div class="animate-pulse"><div class="h-[300px] md:h-[526px] bg-gray-200 rounded-md"></div></div><div class="animate-pulse"><div class="h-[300px] md:h-[526px] bg-gray-200 rounded-md"></div></div><div class="animate-pulse"><div class="h-[300px] md:h-[526px] bg-gray-200 rounded-md"></div></div>',9),U=[R],G={key:2},O={class:"grid grid-cols-1 gap-6 md:grid-cols-3"},W={key:0,class:"absolute inset-0 z-0 flex items-center justify-center transition-opacity duration-300 bg-white bg-opacity-50 opacity-0 hover:opacity-100"},X=y("span",{class:"px-4 py-2 text-black rounded bg-lime-400"},"Sold Out",-1),J=[X],le={__name:"[id]",setup(Q){const r=n(null),u=n([]),m=n(!1),v=A(),c=n(!1);async function x(){var s,t;try{const o=v.params.id;m.value=!0;const i=await $.post("https://highwizardry.myshopify.com/api/2023-04/graphql",{query:`
2          query GetProductsById($collectionHandle: String!) {
3            collection(handle: $collectionHandle) {
4              id
5              title
6
7              products(first: 30,  reverse: true) {
8                edges {
9                  node {
10                    id
11                    title
12                    handle
13                    availableForSale
14                    totalInventory
15                    images(first: 2) {
16                      edges {
17                        cursor
18                        node {
19                          altText
20                          height
21                          id
22                          url
23                          width
24                        }
25                      }
26                    }
27                  }
28                }
29              }
30            }
31          }
32        `,variables:{collectionHandle:String(o)}},{headers:{"Content-Type":"application/json","X-Shopify-Storefront-Access-Token":"acb69c731fd1191b8208f2b8df4e9384"}});(t=(s=i.data)==null?void 0:s.data)!=null&&t.collection?(r.value=i.data.data.collection,u.value=i.data.data.collection.products.edges.map(p=>p.node)):console.warn("Collection not found or empty.")}catch(o){console.error("Error fetching collection:",o)}finally{m.value=!1}}function b(s,t){if(["DANCD066","20BEKA","FF2008","DSM5TR"].includes(s))t(!0),localStorage.setItem("authenticated",!0);else return alert("Incorrect password"),j("/");c.value=!0}const g=n(!1);function k(){if(["/collections/mailers","/collections/20BEKA","/collections/bumper-stickers","/collections/mailer-0-t-shirts","/collections/mailer-1-t-shirts","/collections/hats"].includes(v.fullPath))c.value=!0,localStorage.setItem("authenticated","true");else{const t=localStorage.getItem("authenticated");c.value=t==="true"}g.value=!0}return P(()=>{k(),x()}),(s,t)=>{const o=H,i=I,p=C,w=N,S=B,T=E;return a(),l("div",K,[d(p,null,{default:h(()=>{var e;return[d(o,null,{default:h(()=>{var _;return[V(" High Wizardry! | "+q((_=r.value)==null?void 0:_.title),1)]}),_:1}),d(i,{name:"description",content:(e=r.value)==null?void 0:e.title},null,8,["content"])]}),_:1}),m.value?(a(),l("div",L,U)):!c.value&&g.value?(a(),z(w,{key:1,"on-submit":b})):u.value.length?(a(),l("div",G,[y("ul",O,[(a(!0),l(F,null,M(u.value,e=>(a(),l("li",{key:e.id,class:"relative transition-transform duration-300 ease-in-out transform hover:scale-105"},[d(T,{to:`/products/${e.handle}`,class:"z-40 block"},{default:h(()=>[d(S,{src:e.images.edges[0].node.url,alt:e.images.edges[0].node.altText,quality:"80",width:"403",height:"526",placeholder:""},null,8,["src","alt"]),e.totalInventory<=0?(a(),l("div",W,J)):f("",!0)]),_:2},1032,["to"])]))),128))])])):f("",!0)])}}};export{le 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.