PageSourceSearch

https://merchforall.com/_next/static/chunks/5193-6c6186958b42b8cf.js

js merchforall.com collected 2026-09-24 13:39:50 UTC 10,624 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="95c60b2c-2f19-4bab-a118-a0cf6c243975",e._sentryDebugIdIdentifier="sentry-dbid-95c60b2c-2f19-4bab-a118-a0cf6c243975")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5193],{91563:function(e,t,a){a.d(t,{Z:function(){return i}});var r=a(57437),n=a(10407),s=a(21439);function i(e){let{items:t}=e;return 0===t.length?null:(0,r.jsx)("nav",{"aria-label":"Breadcrumb",children:(0,r.jsx)("ol",{className:"flex items-center flex-wrap gap-1 text-sm",children:t.map((e,a)=>{let i=a===t.length-1;return(0,r.jsxs)("li",{className:"flex items-center gap-1",children:[a>0&&(0,r.jsx)(n.Z,{className:"w-3.5 h-3.5 opacity-40 shrink-0"}),i||!e.href?(0,r.jsx)("span",{className:"font-medium truncate max-w-[200px]",children:e.label}):(0,r.jsx)(s.default,{href:e.href,className:"opacity-60 hover:opacity-100 transition-opacity",children:e.label})]},a)})})})}},65329:function(e,t,a){a.d(t,{Z:function(){return i}});var r=a(57437),n=a(2265),s=a(33145);function i(e){let{src:t,alt:a,fill:i,width:l,height:o,className:c,priority:u,sizes:d,fallback:m}=e,[p,h]=(0,n.useState)(!1),[f,x]=(0,n.useState)(t||null);(0,n.useEffect)(()=>{x(t||null),h(!1)},[t]);let y=f&&(f.startsWith("http://")||f.startsWith("https://")||f.startsWith("/")),v=(null==f?void 0:f.includes("printful-upload.s3-accelerate.amazonaws.com"))||(null==f?void 0:f.includes("s3-accelerate.amazonaws.com"));return p||!y?(0,r.jsx)("div",{className:i?"absolute inset-0":"",children:m||(0,r.jsx)("div",{className:"".concat(i?"w-full h-full":""," flex items-center justify-center bg-[var(--store-background)]"),children:(0,r.jsx)("svg",{className:"w-16 h-16 text-[var(--store-text)]/20",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"})})})}):v&&i?(0,r.jsx)("img",{src:f,alt:a,className:c,onError:()=>h(!0),style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover"}}):i?(0,r.jsx)(s.default,{src:f,alt:a,fill:!0,className:c,priority:u,sizes:d,unoptimized:null==f?void 0:f.startsWith("http")}):(0,r.jsx)(s.default,{src:f,alt:a,width:l,height:o,className:c,priority:u,sizes:d,unoptimized:null==f?void 0:f.startsWith("http")})}},32411:function(e,t,a){a.d(t,{Z:function(){return u}});var r=a(57437),n=a(2265),s=a(73559),i=a(22135),l=a(40875),o=a(18848);let c={ALLOWED_TAGS:["p","br","strong","em","b","i","ul","ol","li","span"],ALLOWED_ATTR:[],ALLOW_DATA_ATTR:!1};function u(e){let{sizeGuide:t}=e,[a,o]=(0,n.useState)(!1);if(!t||!t.size_tables||0===t.size_tables.length)return null;let c=t.size_tables.find(e=>"product_measure"===e.type)||t.size_tables.find(e=>"measure_yourself"===e.type)||t.size_tables[0];return c&&c.measurements&&0!==c.measurements.length?(0,r.jsxs)("div",{className:"border border-[var(--store-text)]/10 rounded-lg overflow-hidden",children:[(0,r.jsxs)("button",{onClick:()=>o(!a),className:"w-full px-4 py-3 flex items-center justify-between bg-[var(--store-secondary)] hover:bg-[var(--store-secondary)]/80 transition-colors",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(s.Z,{className:"w-4 h-4 text-[var(--store-primary)]"}),(0,r.jsx)("span",{className:"font-medium text-sm",children:"Size Guide"})]}),a?(0,r.jsx)(i.Z,{className:"w-4 h-4 text-[var(--store-text)]/60"}):(0,r.jsx)(l.Z,{className:"w-4 h-4 text-[var(--store-text)]/60"})]}),a&&(0,r.jsxs)("div",{className:"p-4 bg-[var(--store-background)] space-y-4",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between text-xs text-[var(--store-text)]/60",children:[(0,r.jsxs)("span",{children:["product_measure"===c.type&&"Product Measurements","measure_yourself"===c.type&&"Body Measurements","international"===c.type&&"International Sizing"]}),"none"!==c.unit&&(0,r.jsx)("span",{className:"bg-[var(--store-secondary)] px-2 py-1 rounded",children:"inches"===c.unit?"in":"cm"})]}),c.image_url&&(0,r.jsx)("div",{className:"relative w-full max-w-xs mx-auto",children:(0,r.jsx)("img",{src:c.image_url,alt:"Size guide measurement reference",className:"w-full h-auto rounded"})}),(0,r.jsx)("div",{className:"overflow-x-auto",children:(0,r.jsx)(m,{table:c,sizes:t.available_sizes})}),c.description&&(0,r.jsx)(d,{html:c.description}),t.size_tables.length>1&&(0,r.jsxs)("details",{className:"mt-4",children:[(0,r.jsx)("summary",{className:"text-xs text-[var(--store-text)]/60 cursor-pointer hover:text-[var(--store-text)]",children:"View additional size tables"}),(0,r.jsx)("div",{className:"mt-3 space-y-4",children:t.size_tables.filter(e=>e!==c).map((e,a)=>(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)("div",{className:"text-xs font-medium text-[var(--store-text)]/80",children:["product_measure"===e.type&&"Product Measurements","measure_yourself"===e.type&&"Body Measurements","international"===e.type&&"International Sizing","none"!==e.unit&&" (".concat("inches"===e.unit?"in":"cm",")")]}),(0,r.jsx)(m,{table:e,sizes:t.available_sizes})]},a))})]})]})]}):null}function d(e){let{html:t}=e,a=(0,n.useMemo)(()=>o.Z.sanitize(t,c),[t]);return(0,r.jsx)("div",{className:"text-xs text-[var(--store-text)]/60 prose prose-sm max-w-none",dangerouslySetInnerHTML:{__html:a}})}function m(e){let{table:t,sizes:a}=e;if(!t.measurements||0===t.measurements.length)return null;let n=a.filter(e=>t.measurements.some(t=>t.values.some(t=>t.size===e)));return 0===n.length?null:(0,r.jsxs)("table",{className:"w-full text-xs",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{className:"border-b border-[var(--store-text)]/10",children:[(0,r.jsx)("th",{className:"text-left py-2 pr-3 font-medium text-[var(--store-text)]/70",children:"Measurement"}),n.map(e=>(0,r.jsx)("th",{className:"text-center py-2 px-2 font-medium text-[var(--store-text)]/70",children:e},e))]})}),(0,r.jsx)("tbody",{children:t.measurements.map((e,t)=>(0,r.jsxs)("tr",{className:"border-b border-[var(--store-text)]/5 last:border-0",children:[(0,r.jsx)("td",{className:"py-2 pr-3 text-[var(--store-text)]/60",children:e.type_label}),n.map(t=>{let a=e.values.find(e=>e.size===t),n=a?a.value||(a.min_value&&a.max_value?"".concat(a.min_value,"-").concat(a.max_value):"-"):"-";return(0,r.jsx)("td",{className:"text-center py-2 px-2 text-[var(--store-text)]",children:n},t)})]},t))})]})}},21439:function(e,t,a){a.d(t,{default:function(){return i}});var r=a(57437),n=a(27648),s=a(99376);function i(e){let{href:t,children:a,onClick:i,...l}
1=e,o=(0,s.useSearchParams)(),c=o.get("store"),u="true"===o.get("editing");if(c&&"string"==typeof t){let e=new URL(t,"http://localhost");e.searchParams.set("store",c),t="".concat(e.pathname).concat(e.search)}return(0,r.jsx)(n.default,{href:t,prefetch:!u&&void 0,onClick:u?e=>{e.preventDefault()}:i,...l,children:a})}},13519:function(e,t,a){a.d(t,{PO:function(){return i},T4:function(){return o},Uc:function(){return l},ir:function(){return c},jD:function(){return s}});var r=a(3011),n=a(89134);let s=(0,r.U)()((0,n.tJ)((e,t)=>({storeId:null,items:[],appliedPromotion:null,isCartOpen:!1,setStoreId:a=>{let r=t().storeId;r&&r!==a?(console.log("[Cart] Switching stores, clearing cart"),e({storeId:a,items:[],appliedPromotion:null})):e({storeId:a})},addItem:a=>{let r=t().items,n=r.findIndex(e=>e.variantId===a.variantId);if(n>=0){let t=[...r],s=Math.min(10,t[n].quantity+1);t[n]={...t[n],quantity:s,price:a.price},e({items:t})}else e({items:[...r,{...a,quantity:1,addedAt:Date.now()}]})},updateQuantity:(a,r)=>{if(r<=0){t().removeItem(a);return}let n=Math.min(10,Math.max(1,r));e({items:t().items.map(e=>e.variantId===a?{...e,quantity:n}:e)})},removeItem:a=>{e({items:t().items.filter(e=>e.variantId!==a)})},clearCart:()=>{e({items:[],appliedPromotion:null})},applyPromotion:t=>{e({appliedPromotion:t})},clearPromotion:()=>{e({appliedPromotion:null})},openCart:()=>{e({isCartOpen:!0})},closeCart:()=>{e({isCartOpen:!1})},getItemCount:()=>t().items.reduce((e,t)=>e+t.quantity,0),getSubtotal:()=>t().items.reduce((e,t)=>e+t.price*t.quantity,0),getItem:e=>t().items.find(t=>t.variantId===e)}),{name:"mfa-cart",storage:(0,n.FL)(()=>localStorage),partialize:e=>({storeId:e.storeId,items:e.items,appliedPromotion:e.appliedPromotion}),version:1,migrate:(e,t)=>
1(e&&t<1&&Array.isArray(e.items)&&(e.items=e.items.map(e=>(e&&"object"==typeof e&&(delete e.minPrice,delete e.printfulVariantId),e))),e)}));function i(){return s(e=>e.items.reduce((e,t)=>e+t.quantity,0))}function l(){return s(e=>e.items.reduce((e,t)=>e+t.price*t.quantity,0))}function o(e){return new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(e/100)}async function c(e,t){try{let{apiPost:r}=await a.e(9116).then(a.bind(a,29116));return await r("/api/cart/validate",{storeId:e,items:t.map(e=>({productId:e.productId,variantId:e.variantId,price:e.price,quantity:e.quantity}))})}catch(e){return console.error("[Cart] Validation error:",e),{isValid:!0,invalidItems:[]}}}},30401:function(e,t,a){a.d(t,{Z:function(){return r}});let r=(0,a(43168).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},40875:function(e,t,a){a.d(t,{Z:function(){return r}});let r=(0,a(43168).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},10407:function(e,t,a){a.d(t,{Z:function(){return r}});let r=(0,a(43168).Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},22135:function(e,t,a){a.d(t,{Z:function(){return r}});let r=(0,a(43168).Z)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},51817:function(e,t,a){a.d(t,{Z:function(){return r}});let r=(0,a(43168).Z)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},73559:function(e,t,a){a.d(t,{Z:function(){return r}});let r=(0,a(43168).Z)("Ruler",[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]])},76865:function(e,t,a){a.d(t,{Z:function(){return r}});let r=(0,a(43168).Z)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])}}]);

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.