PageSourceSearch

https://baggu.com/_next/static/chunks/0qltatafy3lur.js?dpl=dpl_6Hx7SLkK8ZvWfMu47zwJyY7x3NyN

js baggu.com collected 2026-10-02 05:09:38 UTC 66,003 bytes, 3,226 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="bc1ea79f-12c2-b48d-2137-5cafb005109c")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,91702,e=>{"use strict";var t=e.i(352864);t.default.env.SITE_CONTEXT;let l=`{
3  cents,
4  compareAtCents,
5  // inventory,
6  'slug': slug.current,
7  productId,
8  // sku,
9  options
10}`,i="retailPublishDate <= now() && count(products) > 0",o="shopifyImages[]",a="'slug': coalesce(productMap->slug.current, productMap->products[0]->slug.current)",s=`products[0]-> ${l}`,n=`{
11	_type,
12	_key,
13	'asset': asset->{
14		...,
15		metadata
16	},
17	alt,
18	'dimensions': asset->metadata.dimensions,
19	'url': asset->url,
20  'aspectRatio': asset->metadata.dimensions.aspectRatio,
21  'lqip': asset->metadata.lqip,
22  mobileImage{
23		// Explicit projection (no GROQ wildcard spreads)
24		'asset': asset->{
25			'url': url,
26			'lqip': metadata.lqip,
27			'dimensions': metadata.dimensions{width, height}
28		},
29		alt,
30		'dimensions': asset->metadata.dimensions,
31		'url': asset->url,
32		'aspectRatio': asset->metadata.dimensions.aspectRatio,
33		'lqip': asset->metadata.lqip
34	}
35}`,r=`{
36	_type,
37	_key,
38	'asset': asset->{
39		...,
40		metadata
41	},
42	alt,
43	'dimensions': asset->metadata.dimensions,
44	'url': asset->url,
45  'aspectRatio': asset->metadata.dimensions.aspectRatio,
46  'lqip': asset->metadata.lqip,
47  crop,
48  hotspot
49}`,c=`{
50	_type,
51  _key,
52  alt,
53  'asset': asset->{
54    'url': url,
55    'lqip': metadata.lqip,
56    'blurHash': metadata.blurHash,
57    'dimensions': metadata.dimensions{width, height},
58    'aspectRatio': metadata.dimensions.aspectRatio,
59    'lqip': metadata.lqip
60  }
61}`,p=`{
62	speed,
63	alt,
64	'frames': frames[] ${c},
65	'mobileFrames': mobileFrames[] ${c}
66}`,d=`{
67  _type,
68  _key,
69  asset,
70  alt,
71  'dimensions': asset->metadata.dimensions{width,height,},
72  'url': asset->url,
73  'aspectRatio': asset->metadata.dimensions.aspectRatio,
74}`,u=`{
75  _type,
76  _key,
77  title,
78  label,
79  url,
80  link->{
81    _type == 'product' => {
82      'slug': slug.current,
83      'productType': productType
84    },
85    _type == 'collection' => {
86      'slug': slug.current
87    },
88    _type == 'page' => {
89      'slug': slug.current
90    }
91  }
92}`;function m(e,...t){let l=e.length-1;return e.slice(0,l).reduce((e,l,i)=>e+l+t[i],"")+e[l]}let g=`
93'bundling': *[_type == 'bundle' && references(^._id)][0] {
94	'id': id.current,
95	'active': bundlingEnable,
96	'quantity': bundlingQuantity,
97	'pricePerUnit': bundlingPricePerUnit,
98	'cart': {
99		'cta': bundlingCartCta1, 
100		'cta2': bundlingCartCta2,  
101	},
102	'collection': {
103		'cta': bundlingClpCta, 
104	},
105	'product': {
106		'cta': bundlingPdpCta1,
107		'cta2': bundlingPdpCta2,
108		'cta3': bundlingPdpCta3, 
109	}
110},
111`,y=m`
112'image': select(
113  defined(${"shopifyImages2[0].src"}) => ${"shopifyImages2[0].src"},
114  defined(${"shopifyImages[0]"}) => ${"shopifyImages[0]"},
115  images[0]->asset->url
116)`,$=m`
117'images': select(
118  defined(${"shopifyImages2[0].src"}) => ${"shopifyImages2[].src"},
119  defined(${"shopifyImages[0]"}) => ${"shopifyImages[]"},
120  images[0...2].asset->url
121)`,h=m`
122${y},
123${$}`,_=m`
124'bagImage': select(
125  defined(${"shopifyImages2[0].src"}) => {'url': ${"shopifyImages2[0].src"}, 'dimensions': null},
126  defined(${"shopifyImages[0]"}) => {'url': ${"shopifyImages[0]"}, 'dimensions': null},
127  {'url': images[0]->asset->url, 'dimensions': images[0]->asset->metadata.dimensions}
128),
129'modelImage': select(
130  defined(${"shopifyImages2[1].src"}) => {'url': ${"shopifyImages2[1].src"}, 'dimensions': null},
131  defined(${"shopifyImages[1]"}) => {'url': ${"shopifyImages[1]"}, 'dimensions': null},
132  {'url': images[1]->asset->url, 'dimensions': images[1]->asset->metadata.dimensions}
133)`;m`
134'image': select(
135  defined(${"shopifyImages2[0].src"}) => ${"shopifyImages2[0].src"},
136  defined(${"shopifyImages[0]"}) => ${"shopifyImages[0]"},
137  images[0]->asset->url
138)`;let b=m`{
139  _key,
140  _type,
141  title,
142  'accent': accent.value,
143  plainLabelSizeMobile,
144  plainLabelSizeDesktop,
145  images[]{
146    ...${c},
147    museumLabel{
148      productTitle,
149      year,
150      artist,
151      artworkTitle,
152      artworkDate,
153      collaboration,
154      collaborationLogo ${c},
155    },
156    plainLabel{
157      title,
158      subtitle,
159    },
160    link ${u},
161  },
162  overlayMode,
163  shapeMask,
164  shapeMaskGapDesktop,
165  logoImage ${c},
166  logoLink ${u},
167  overlayVignette,
168  dynamicGradient,
169  speed,
170  pauseOnHover,
171  disableScroll,
172  direction,
173  useNativeDimensionsDesktop,
174  heightDesktop,
175  useNativeDimensionsMobile,
176  heightMobile,
177  bottomPadding,
178  logoVerticalPercent,
179  logoVerticalPercentMobile,
180  logoMaxWidth,
181  logoMaxWidthMobile,
182  logoHeightPercent,
183  logoHeightPercentMobile,
184  logoPaddingDesktop,
185  logoPaddingMobile,
186  ctaList ${u}
187}`;t.default.env.SITE_CONTEXT;let f=m`{
188	_key,
189	_type,
190	openInNewWindow,
191	title,
192	url,
193}`,k=m`{
194	...,
195	sources[] {
196		...,
197		url,
198		type,
199		fullSize
200	}
201}`,C=m`{
202	_key,
203	_type,
204	openInNewWindow,
205	title,
206	color,
207	accent,
208	'pageName': page->title,
209	'slug': page->slug.current,
210}`,T=m`{
211	...,
212	_key,
213	_type,
214	openInNewWindow, 
215	title,
216	'color': productLanding->items[0]->colorWay->.colorName,
217	'image': productLanding->items[0]->shopifyImages[0].src,
218	'cents': productLanding->productLink->${l},
219	'count': count(productLanding->items),
220	'productName': productLanding->title,
221	'filterLevel': productLanding->slug.current,
222	'salesChannel': salesChannels[@.channelTitle == 'Baggu.com Headless'] {
223		...,	
224		'channelType': channelType ->{icon},
225	},
226  'wsSalesChannel': wholesaleSalesChannels[@.channelTitle == 'Baggu Wholesale Headless'] {
227		...,	
228			'channelType': channelType ->{icon},
229		},
230	${"'productSlug': productLanding->productLink->slug.current"}, 
231	'slug': productLanding->slug.current
232}`,I=m`{
233	...,
234	_key,
235	_type,
236	openInNewWindow, 
237	title,
238	'color': productMap->colorWay->colorName,
239	'image': coalesce(productMap->${o}[0], productMap->images[0]->asset->url, productMap->images[0]->url),
240	'shopify': productMap->${s},
241	'count': count((productMap->parentProduct->items[]->)[${i}]),
242	'productName': productMap->parentProduct->title,
243	'salesChannel': productMap -> salesChannels[@.channelTitle == 'Baggu.com Headless'] {
244		...,	
245		'channelType': channelType ->{icon},
246	},
247  'wsSalesChannel': productMap -> wholesaleSalesChannels[@.channelTitle == 'Baggu Wholesale Headless'] {
248		...,	
249		'channelType': channelType ->{icon},
250	},
251	${a}
252}`,M=m`{
253	_key,
254	_type,
255	openInNewWindow,
256	title,
257	color,
258	accent,
259	'collectionName': collection->title,
260	'slug': collection->slug.current,
261	'sectionTitle': section->title,
262	'sectionLabel': section->label,
263	'sectionId': section->_id,
264	'':collection -> {
265      '':hexColor{hex},
266    },
267}`,S=m`
268	...,
269	'filterLevel': slug.current,
270	'parentFilter': ^.singleRoute->slug.current,
271	_type == 'link' => ${f},
272	_type == 'pageLink' => ${C},
273	_type == 'productLink' => ${T},
274	_type == 'collectionLink' => ${M}
275`,w=m`{
276	_key,
277	_type, 
278	title, 
279	'filterLevel': singleRoute->slug.current,
280	'parentFilter': ^.singleRoute->slug.current,
281	links[] {
282		${S},
283		_type == 'ctaNestedList' => {
284			_key,
285			_type, 
286			title, 
287			'filterLevel': singleRoute->slug.current,
288			'parentFilter': ^.singleRoute->slug.current,
289			links[] {
290				${S}
291			}
292		}
293	}
294}`,v=m`[]{
295	...,
296	_type == 'link' => ${f},
297	_type == 'pageLink' => ${C},
298	_type == 'productLink' => ${T},
299	_type == 'productMapLink' => ${I},
300	_type == 'collectionLink' => ${M},
301	_type == 'ctaNestedList' => ${w}
302}`,x=m`{
303	...,
304	_type == 'productMapLink' => ${I},
305	_type == 'productLink' => ${T},
306	_type == 'customFeatureBlock' => {
307		...,
308		image ${n}
309	}
310}`,L=m`[]{
311	...,
312	_type == 'imageAlt' => ${n},
313	_type == 'ctaText' => {
314		link ${v}
315	},
316	 _type == 'svgReference' => 
317     	@->{
318        'svg':'REFERENCE',
319        ...,}
320  ,
321	children[]{
322      ...,
323      _type == 'svgReference' => 
324     	@->{
325			...,
326			'':img{'':asset->{'imgUrl':url}}
327		},
328    svgReference->{...,},
329     _type == 'svgInline' => {
330        'svgInline':@->
331      }
332    }
333}`,A=m`[]{
334	...,
335	children[]{
336		...,
337		_type == 'svgReference' => 
338		   @->{
339			  ...,
340			  img ${n}
341		  }
342	  }
343}`,P=m`{
344	_key,
345	_type,
346	displaySetting,
347	defaultExpanded,
348	_type == 'productInfo' => {
349		title,
350		textAccent ${A},
351		text ${A}
352	},
353	_type == 'productInfoReference' => {
354		'title': info->title,
355		'image': info->image ${c},
356		'imageLink': info->imageLink ${v},
357		'text': info->text ${A},
358		'hasMedia': true
359	}
360}`,B=m`productInformation[] ${P}[displaySetting != '${"wholesale"}']`,D="badge",F=m`coalesce(slug.current, products[0]->slug.current)`,R=m`products[0]._ref`,H=m`{
361	defined(hideFromSitemap) => { hideFromSitemap },
362	defined(disallowRobots) => { disallowRobots },
363	defined(metaTitle) => { metaTitle },
364	defined(metaDescription) => { metaDescription },
365	defined(metaKeywords) => { metaKeywords },
366	defined(openGraphTitle) => { openGraphTitle },
367	defined(openGraphDescription) => { openGraphDescription },
368	defined(openGraphImage) => {
369		openGraphImage ${n},
370	},
371	defined(twitterTitle) => { twitterTitle },
372	'siteUrl': "${"https://www.baggu.com"}",
373	defined(twitterDescription) => { twitterDescription },
374	defined(twitterImage) => {
375		twitterImage ${n},
376	},
377}`,W=m`{
378	siteLegal,
379	siteCredits
380}`;m`{
381	_id,
382	flexAlignment,
383	blocks,
384	backgroundImage ${n}
385}`;let q=m`{ 
386	_key,
387	_type,
388	question,
389	answer ${L},
390	defaultOpen
391}`,U=`{
392  _id,
393  colorName,
394  'type': coalesce(colorType[0]._type, 'none'),
395  colorType[] {
396    _type,
397    _key,
398    _type == 'color' => {
399      hex
400    },
401    _type == 'imageAlt' => {
402      'image': {
403        ...${c},
404        'url': asset->url
405      }
406    }
407  }
408}`,E=m`[] {  
409	_key,
410	_type,
411	title,
412	items[] {
413		_type == 'faqSingle' => ${q},
414		_type == 'faqText' => {
415			_key,
416			_type,
417			title,
418			description ${L}
419		} 
420	} 
421}`,O=m`
422	_id,
423	_type,
424	title,
425	'slug': slug.current,
426	'parent': parentProduct->{
427		title,
428		${g}
429		'count': count((items[]->)[${i}])
430	},
431	colorWay->${U},
432	'images': ${o},
433	'salesChannel': salesChannels[@.channelTitle == 'Baggu.com Headless'] {
434		...,
435		'channelType': channelType->{
436			icon
437		},
438	},
439	'wsSalesChannel': wholesaleSalesChannels[@.channelTitle == 'Baggu Wholesale Headless'] {
440		...,
441		'channelType': channelType->{icon},
442	},
443	'shopifyData': ${s}
444`,G=m`{
445	_id,
446	_type,
447	internalTitle,
448	title,
449	subtitle,
450	label,
451	editorialLabel,
452	'accent': accent.value,
453	editorialGroups[] {
454		_key,
455		internalLabel,
456		copyright,
457		items[] {
458			_key,
459			caption,
460			secondaryCaption,
461			image ${c}
462		}
463	},
464	productGroups[] {
465		_key,
466		internalLabel,
467		maxMapsFromStyle,
468		// Curated picks — no merchandise filter (test/maps without retailPublishDate
469		// were wiped to null and blanked the grid). Parent count still uses it.
470		// productMap → one card; productLanding (style) → expand items in style order.
471		// Style expand hard ceiling 12 in GROQ (literal slice only); optional
472		// maxMapsFromStyle (1–12) applied in the storefront adapter.
473		'products': products[] {
474			...@-> {
475				_type,
476				_type == 'productMap' => {
477					${O}
478				},
479				_type == 'productLanding' => {
480					// GROQ slice endpoints must be integer literals — hard-cap 12 here;
481					// optional maxMapsFromStyle is applied in the storefront adapter.
482					'products': items[_type == 'productMap'][0...12]-> {
483						${O}
484					}
485				}
486			}
487		}
488	}
489}`,N=m`{
490	_key,
491	_type,
492	title,
493	body,
494	'accent': accent.value,
495}`,V=m`{
496	_key,
497	_type,
498	internalTitle,
499	quote,
500	attribution,
501	quotePosition,
502	imagePosition,
503	'accent': accent.value,
504	'image': image[0] {
505		_type,
506		_type == 'imageAlt' => ${c},
507		_type == 'imageSequence' => {
508			speed,
509			alt,
510			'frames': frames[] ${c},
511			'mobileFrames': mobileFrames[] ${c}
512		}
513	},
514	mobileImage ${c},
515	products[]-> {
516		${O}
517	}
518}`,z=m`[0...10]{
519	_type,
520	_key,
521	_type == 'standardText' => {
522		...,
523	},
524	'parentId': ^._id,
525	_type == 'fullBleedBanner' => {
526		_id,
527		_type,
528		'parentId': ^._id,
529		image ${c},
530		mobileImage ${c},
531		video,
532		desktopVideo ${k},
533		mobileVid ${k},
534		mobileVideo,
535		layout,
536		desktopRightImage ${c},
537		desktopRightVideo ${k},
538		imageOverlay ${c},
539		mobileImageOverlay ${c},
540		description ${L},
541		ctaList ${v},
542		desktopLeftCtaList ${v},
543		desktopRightCtaList ${v},
544		textColor,
545		textAlignment,
546		verticalAlignment,
547		bottomPadding
548	},
549	_type == 'homepageTextStrip' => {
550		_key,
551		_type,
552		title,
553		leftText,
554		mobileText,
555		leftCtaList ${v},
556		rightText,
557		rightCtaList ${v},
558		'backgroundColor': backgroundColor.value,
559		'textColor': textColor.value,
560		'rightBackgroundColor': rightBackgroundColor.value,
561		'rightTextColor': rightTextColor.value,
562		bottomPadding
563	},
564	_type == 'stickyNavigationBar' => {
565		_key,
566		_type,
567		label,
568		sticky,
569		sections[]-> ${G}
570	},
571	_type == 'editorialProductSplit' => @-> ${G},
572	_type == 'productGridEditorialSplit' => ${V},
573	_type == 'titleBlock' => ${N},
574	_type == 'igMarquee' => @->{
575		...,
576		instagramBlock[] {
577			_type,
578			_key,
579			_type == 'imageAlt' => ${c},
580			_type == 'textBlock' => {
581				text
582			}
583		}
584	},
585	_type == "formEmail" => {
586		...,
587		imageDesktop ${n},
588		imageMobile ${n},
589	},
590	_type == 'flying' => {  
591		...,
592		'parentId': ^._id,
593		position,
594		mobileMaxWidth,
595		desktopMaxWidth,
596		speed,
597		frequency,
598		singleRunner,
599		rotationSpeed,
600		pathRotation,
601		image ${c},
602	},
603	_type == 'saleMarquee' => {  
604		...,
605		bgColor{hex},
606		'text':text ${L},
607		'text2':text[]{
608			...,
609			children[]{
610				_type == 'svgReference' => {
611					'svg':@->,
612				}
613			}  
614		},
615	},
616	_type == 'saleMarqueeModule' => {  
617		...,
618		items[] {
619			...,
620			text[]{
621				...,
622				children[]{
623					_type == 'svgReference' => {
624						'svg':@->,
625					}
626				}
627			}
628		}
629	},
630	_type == 'collabTease' => {
631		...,
632		flying[] {
633			...,
634			image ${d},
635		},
636		description{
637			description ${L},
638		},
639		imgOverlay ${d},
640		items[] {
641			...,
642			bgImg ${d},
643			overlayImg ${d},
644		},
645	},
646	_type == 'banner' => {
647		'two':'two',
648		content[]{
649			_type == 'img' => ${n},
650			...,
651			_type,
652			title,
653			animation[]{
654			"color": color.value,
655			duration,
656			},
657		},
658		ctaList ${v},
659		backgroundColor{value},
660		heightDesktop,
661		heightMobile,
662	},
663  _type == 'imageMarquee' => ${b},
664	_type == 'featureCarousel' => {
665		_id,
666		'parentId': ^._id,
667		_key,
668		title,
669		style,
670		layoutStyle,
671		items[] {
672			title,
673			image ${n},
674			videoAlt,
675			text ${L},
676			ctaList ${v}
677		}
678	},
679	_type == 'featuredReferenceCarousel' => {
680		_id,
681		'parentId': ^._id,
682		_key,
683		featureCarousel-> {
684			title,
685			layoutStyle,
686			items[] {
687				title,
688				image ${n},
689				videoAlt,
690				text ${L},
691				ctaList ${v}
692			}
693		}
694	},
695
696	_type =='reference' =>  @->{
697		...,
698		instagramBlock[] {
699			_type,
700			_key,
701			_type == 'imageAlt' => ${c},
702			_type == 'textBlock' => {
703				text
704			}
705		}
706	},
707	_type == 'productCarousel' => {
708		_id,
709		'parentId': ^._id,
710		_key,
711		title,
712		layoutStyle,
713		style,
714		cta ${v},
715		items[] {
716			title,
717			_key,
718			_type,
719			'items': (items[]->)[${i}] {
720				'shopifyData': ${s},
721				'image': ${o}[0],
722				'hoverImage': ${o}[1],
723				'blurUrls': images[0...1].asset->metadata.lqip,
724				'color': colorWay-> {
725					colorName,
726				},
727				'slug': slug.current,
728				${D},
729				'product': ${s},
730				'collections': *[_type == 'collection' && references(^._id)] { // REMOVED DRAFTS:  && !(_id in path("drafts.**"))
731					'nestedCollection': slug.current,
732					'parentCollection': parentCollection->slug.current,
733					title,
734				},
735				'parentProduct': parentProduct-> {
736					title,
737					${g}
738					'count': count((items[]->)[${i}])
739				},
740				'salesChannel': salesChannels[@.channelTitle == 'Baggu.com Headless'] {
741				  ..., 
742					'channelType': channelType ->{icon},
743				},
744				'wsSalesChannel': wholesaleSalesChannels[@.channelTitle == 'Baggu Wholesale Headless'] {
745				  ..., 
746					'channelType': channelType ->{icon},
747				},
748			}
749		}
750	}, 
751	_type == 'productGrid' => {
752		mobileGrid,
753		desktopGrid,
754		_key,
755		title,
756		'titleColor':titleColor.value,
757		_type,
758		items[]{
759			title,
760			_key,
761			_type,
762			items[]->{
763				'shopifyData': ${s},
764				'image': ${o}[0],
765				'hoverImage': ${o}[1],
766				'blurUrls': images[]{'':asset-> {'lqip': metadata.lqip}},
767				'color': colorWay-> {
768					colorName,
769				},
770				'slug': slug.current,
771				${D},
772				'product': ${s},
773				'collections': *[_type == 'collection' && references(^._id)] { // REMOVED DRAFTS:  && !(_id in path("drafts.**"))
774					'nestedCollection': slug.current,
775					'parentCollection': parentCollection->slug.current,
776					title,
777				},
778				parentProduct -> {
779					title,
780					${g}
781					'count': count((items[]->)[${i}])
782				},
783			}
784		}, 
785	},
786	_type == 'iFrame' => {
787		html,
788		scriptSrc,
789		rawJS
790	},
791	_type == 'embedModule' => {
792		embedType,
793		formsiteEmbed,
794		klaviyoEmbed{
795			site,
796			emailDesktop,
797			emailMobile
798		},
799		termlyEmbed,
800		"data": select(
801			embedType == "Klaviyo" => {
802				site,
803				"emailDesktop": klaviyoEmbed.emailDesktop,
804				"emailMobile": klaviyoEmbed.emailMobile
805			},
806			embedType == "iFrame" => {
807				"rawJS": iFrameEmbed.rawJS,
808				"html": iFrameEmbed.html,
809				"scriptSrc": iFrameEmbed.scriptSrc
810			},
811			embedType == "Formsite" => {
812				"embed": formsiteEmbed
813			},
814			embedType == "Termly" => {
815				"embed": termlyEmbed
816			},
817			{"type": "unknown", "message": "Unrecognized embed type"}
818		)
819	},
820	_type == 'faqModule' => {  
821		items ${E}
822	}, 
823
824	_type == 'codeOfConduct' => {  
825		...,
826	}, 
827
828	_type == 'instagramModule' => {  
829		...,
830		items[] {
831			...,
832			postInformation,
833			imageAlt { 
834				_type == 'imageAlt' => ${n} 
835			},
836			productMapLink {
837				${a}
838			} 
839		}
840	},
841	_type == 'editorialGrid' => {  
842		_id,
843		_key,
844		title,
845		mobileLayout,
846		bottomPadding,
847		items[] {
848			_key,
849			showMobile,
850			showDesktop,
851			image ${c},
852			imageMobile ${c},
853			 imageAspectRatio,
854			 aspectRatioMobile,
855      imagePosition,
856			text ${L},
857			ctaList ${v},
858			video {
859				...,
860				sources[] {
861					...,
862					url,
863					type,
864					fullSize
865				}
866			},
867			videoMobile {
868				...,
869				sources[] {
870					...,
871					url,
872					type,
873					fullSize
874				}
875			},
876		}
877	}, 
878	_type == 'editorialGridTwoUp' => {  
879		...,
880		items[] {
881			_key,
882			...,
883			image ${c},
884			text ${L},
885			ctaList ${v}
886		}
887	}, 
888	
889	_type == 'editorialGrid2023' => {  
890		...,
891		items[] {
892			_key,
893			...,
894			image ${c},
895			text ${L},
896			ctaList ${v}
897		}
898	}, 
899	_type == 'wallpaperModule' => {  
900		...,
901		items[] {
902			...,
903			imageAlt ${n},
904			collectionLink ${M},
905		},
906	},
907		_type == 'wallpaperGroup' => {  
908		...,
909		items[]-> {
910			...,
911			imageAlt ${n},
912			collectionLink ${M},
913		},
914	},
915	_type == 'editorialThirds2023' => {  
916		_id,
917		'parentId': ^._id,
918		_key,
919    style,
920		layout,
921		desktopLayout,
922		items[] {
923				...,
924				image ${n},
925				imageHover ${n},
926				mobileImage ${n},
927				text ${L},
928        textSecondary ${L},
929        textMobileSecondary ${L},
930				textMobile ${L},
931				ctaList ${v},
932				'textColorMobile': textColorMobile.value,
933				mobileSlideTheme,
934				pullOut,
935		}
936	},
937	_type == 'editorialThirds2024' => {  
938		title,
939		layout,
940		desktopLayout,
941		'parentId': ^._id,
942		_type,
943		_key,
944		items[] {
945			_type == 'editorialThirdsCard' => {
946				_key,
947				_type,
948				image ${c},
949				desktopVideo ${k},
950				mobileImage ${c},
951				mobileVideo ${k},
952				pullOut,
953				hideOnMobile,
954				text ${L},
955				textMobile ${L},
956				textMobileSecondary ${L},
957				ctaList ${v},
958				'textColorMobile': textColorMobile.value,
959				mobileSlideTheme
960			},
961			_type == 'editorialTextCard' => {
962				...,
963				subtitle ${L},
964				stylingClassic,
965				'titleColor': titleColor.value,
966			}
967		}
968	},
969		_type == 'editorialFourths2023' => {  
970		...,
971		items[] {
972			_key,
973			...,
974			image ${n},
975			text ${L},
976			description ${L},
977			ctaList ${v},
978			
979		}
980		
981	}, 
982	_type == 'productFeature2023' => {  
983		_key,
984		style,
985		text ${L},
986		ctaList ${v},
987		hideCta,
988		items[] {
989			_key,
990			cardLayout,
991			image ${n},
992			imageMobile ${n},
993			textDesktop ${L},
994			textMobile ${L},
995			'textColorMobile': textColorMobile.value,
996			ctaDesktop ${v},
997			ctaMobile ${v},
998			hideMobileCta,
999			// Deprecated fields for backward compatibility
1000			text ${L},
1001			ctaList ${v},
1002			'textColorMobile': textColorMobile.value,
1003		}
1004	},
1005	_type == 'imageModule' => {
1006		image ${n},
1007		caption ${L},
1008		mediaLayout
1009	},
1010	_type == 'collabBlock' => {
1011		title,
1012		cta ${v},
1013		description ${L},
1014		logoImage ${n},
1015		logoImage2 ${n},
1016		image ${n},
1017		showFullImage,
1018		mobileImage ${n},
1019	},
1020	_type == 'introBlock' => {
1021		title,
1022		logoImage ${n},
1023		description ${L},
1024		image ${n},
1025		mobileImage ${n},
1026	},
1027	_type == 'materialBlock' => {
1028		title,
1029		titleRich,
1030		'titleColor': titleColor.value,
1031		cta ${v},
1032		description ${L},
1033		logoImage ${n},
1034		image ${n},
1035		mobileImage ${n},
1036		video,
1037		videoMobile,
1038		reverse,
1039	},
1040	_type == 'pdpTwoUpImageCopy' => {
1041		title,
1042		lead ${L},
1043		image ${n},
1044		mobileImage ${n},
1045		side,
1046		mode,
1047		sections[]{
1048			_key,
1049			label,
1050			body ${L},
1051		},
1052	},
1053	_type == 'collabTwoUpImageCopy' => {
1054		title,
1055		logoImage ${n},
1056		mobileLogoImage ${n},
1057		body ${L},
1058		cta ${v},
1059		imageOne ${n},
1060		imageTwo ${n},
1061		mobileImage ${n},
1062		copyPosition,
1063		mobileLogoPosition,
1064	},
1065	_type == 'customBlock' => {
1066		title,
1067		logoImage ${n},
1068		description ${L},
1069		cta ${v},
1070		images[]{ _type == 'imageAlt' => ${n} },	
1071		video,
1072	},
1073	_type == 'storeSection' => {
1074		name,
1075		storeType,
1076		hours,
1077		address,
1078		phone,
1079		description{
1080			description ${L},
1081		},
1082		googleMapsUrl,
1083		newStoreNote,
1084		image1 ${n},
1085		image2 ${n},
1086	},
1087
1088	_type == 'headerBlock2023' => {
1089		title,
1090		title2 ${L},
1091		description ${L},
1092		secondaryImage ${n},
1093		titleImage ${n},
1094		email{html,scriptSrc,rawJS},
1095		emailMobile{html,scriptSrc,rawJS},
1096		embedCode,
1097		layout,
1098		color,
1099		embeds[]{
1100			embedType,
1101			formsiteEmbed,
1102			klaviyoEmbed{
1103				emailDesktop,
1104				emailMobile
1105			},
1106			termlyEmbed
1107		}
1108	},
1109
1110	_type == 'productLanding' => {
1111		'product': *[_type == 'productLanding' && _id == ^._ref][0]{
1112			shortDescription ${L},
1113			title,
1114			'productType': slug.current,
1115			'count': count((items[]->)[${i}]),
1116			'variants': (items[]->)[${i}] {
1117				colorWay->${U},
1118				'images': shopifyImages[],
1119				'shopifyData': ${s}
1120			},
1121			'collections': *[_type == 'collection' && references(^._id)
1122				] { 
1123				'nestedCollection': slug.current,
1124				'parentCollection': parentCollection->slug.current,
1125				title,
1126			}
1127		}
1128	},
1129
1130
1131
1132
1133	
1134}`,J=m`_type == 'pdpTwoUpImageCopy' => {
1135		title,
1136		lead ${L},
1137		image ${n},
1138		mobileImage ${n},
1139		side,
1140		mode,
1141		sections[]{
1142			_key,
1143			label,
1144			body ${L},
1145		},
1146	},
1147	_type == 'collabTwoUpImageCopy' => {
1148		title,
1149		logoImage ${n},
1150		mobileLogoImage ${n},
1151		body ${L},
1152		cta ${v},
1153		imageOne ${n},
1154		imageTwo ${n},
1155		mobileImage ${n},
1156		copyPosition,
1157		mobileLogoPosition,
1158	},`,Q=(e="")=>m`[]{
1159	_type,
1160	_key,
1161		_type == 'collabBlock' => {
1162		title,
1163		cta ${v},
1164		description ${L},
1165		logoImage ${n},
1166		logoImage2 ${n},
1167		image ${n},
1168		showFullImage,
1169		mobileImage ${n},
1170	},
1171	_type == 'introBlock' => {
1172		title,
1173		logoImage ${n},
1174		description ${L},
1175		image ${n},
1176		mobileImage ${n},
1177	},
1178	_type == 'instagramModule' => {  
1179		...,
1180		items[] {
1181			...,
1182			postInformation,
1183			imageAlt { 
1184				_type == 'imageAlt' => ${n} 
1185			},
1186			productMapLink {
1187				${a}
1188			} 
1189		}
1190	},
1191	
1192	_type == 'comparisonModule' => {  
1193		...,
1194		items[] {
1195			...,
1196			imageAlt { 
1197				_type == 'imageAlt' => ${n} 
1198			},
1199			productMapLink {
1200				${a}
1201			} 
1202		}
1203	},
1204
1205	_type == 'comparisonModule2024' => {
1206		...,
1207		items[] -> {
1208			
1209			'slug': slug.current,
1210			'parent': parentProduct->{ 
1211				title,
1212				inUseModelHeight,
1213				inUseImage { 
1214					_type == 'imageAlt' => ${n} 
1215				},
1216				detailsImage { 
1217					_type == 'imageAlt' => ${n} 
1218				},
1219				whatItFitsList[] {
1220					...,
1221					items[] -> {
1222						...,
1223						linkedItem->{
1224							...,
1225							'slug': slug.current,
1226						},
1227						image { 
1228							_type == 'imageAlt' => ${n} 
1229						}
1230					}
1231				},
1232				whatItFitsImage { 
1233					_type == 'imageAlt' => ${n} 
1234				},
1235				specificationsList[] {
1236					...,
1237					items[] {
1238						...,
1239						linkedItem->{
1240							...,
1241							'slug': slug.current,
1242						},
1243						image { 
1244							_type == 'imageAlt' => ${n} 
1245						}
1246					}
1247				},
1248				specificationsImage { 
1249					_type == 'imageAlt' => ${n} 
1250				}
1251			},
1252			inUseImage { 
1253				_type == 'imageAlt' => ${n} 
1254			},
1255			detailsImage { 
1256				_type == 'imageAlt' => ${n} 
1257			},
1258			whatItFitsList[] {
1259				...,
1260				items[] -> {
1261					...,
1262					linkedItem->{
1263						...,
1264						'slug': slug.current,
1265					},
1266					image { 
1267						_type == 'imageAlt' => ${n} 
1268					}
1269				}
1270			},
1271			whatItFitsImage { 
1272				_type == 'imageAlt' => ${n} 
1273			},
1274			specificationsList[] {
1275				...,
1276				items[] {
1277					...,
1278					linkedItem->{
1279						...,
1280						'slug': slug.current,
1281					},
1282					image { 
1283						_type == 'imageAlt' => ${n} 
1284					}
1285				}
1286			},
1287			specificationsImage { 
1288				_type == 'imageAlt' => ${n} 
1289			}
1290		}
1291	},
1292	_type == 'featuredReferenceCarousel' => {
1293		featureCarousel-> {
1294			title,
1295			layoutStyle,
1296			items[] {
1297				title,
1298				image ${c},
1299				videoAlt,
1300				text ${L},
1301				ctaList ${v}
1302			}
1303		}
1304	},
1305
1306	_type == 'headerBlock' => {
1307		caption ${L},
1308		description ${L},
1309		title,
1310		video,
1311		backgroundColor,
1312		textColor,
1313		disableLazyLoad,
1314		imageScale,
1315		verticalAlignment,
1316		alignment,
1317		image ${n},
1318		secondaryImage ${n}
1319	},
1320	_type == 'materialBlock' => {
1321		title,
1322		cta ${v},
1323		description ${L},
1324		logoImage ${n},
1325		image ${n},
1326		mobileImage ${n},
1327	},
1328	${e}
1329	_type == 'headerBlock2023' => {
1330		title,
1331		description ${L},
1332	},
1333
1334}`,K=Q(),j=Q(J),X=m`{
1335	_key,
1336	_id,
1337	productTitle,
1338	variantTitle,
1339	variantId,
1340	productId,
1341	sku,
1342	cents,
1343	inventoryQuantity,
1344	option1,
1345	option2,
1346	option3,
1347}`,Y=m`{
1348	_key,
1349	_id,
1350	title,
1351	'slug': slug.current,
1352	deleted,
1353	productId,
1354	tags[],
1355	cents,
1356	variants[]-> ${X},
1357}`,Z=m`
1358	_id,
1359	title,
1360	'slug': slug.current,
1361  imgBg ${n},
1362  isStars,
1363	components[]{
1364		_key,
1365		_type,
1366	},
1367	seo ${H},
1368`,ee=m`
1369	_id,
1370	title,
1371	'slug': slug.current,
1372  imgBg ${n},
1373  isStars,
1374	components ${z},
1375	seo ${H},
1376`,et=m`
1377*[_type == 'wholesaleApplication'][0]{
1378  title,
1379  description,
1380  firstName,
1381  lastName,
1382	companyName,
1383	phone,
1384  email,
1385  websiteLink,
1386  instagramLink,
1387  shippingAddress,
1388  businessDescription,
1389  else,
1390	termsAndConditions,
1391}`;m`{
1392	homepage->{${ee}}
1393}`;let el="&& deploymentDate <= now()",ei=m`{
1394	homepage->{
1395		_id,
1396		title,
1397		'slug': slug.current,
1398		imgBg ${n},
1399		isStars,
1400		seo ${H},
1401		components[]{
1402			_key,
1403			_type,
1404		}
1405	}
1406}`,eo=`*[_type == 'scheduledTheme' ${el}] | order(deploymentDate desc)[0] {'theme': theme-> ${ei} }`,ea=m`*[
1407	_id == "globalConfig" &&
1408	!(_id in path("drafts.**"))
1409][0] {
1410  'theme': ${eo}
1411}`,es={standardText:`{
1412		...,
1413	}`,formEmail:`{
1414		...,
1415		imageDesktop ${n},
1416		imageMobile ${n},
1417	}`,fullBleedBanner:`{
1418		_id,
1419		_type,
1420		'parentId': ^._id,
1421		image ${c},
1422		mobileImage ${c},
1423		video,
1424		desktopVideo ${k},
1425		mobileVid ${k},
1426		mobileVideo,
1427		layout,
1428		desktopRightImage ${c},
1429		desktopRightVideo ${k},
1430		imageOverlay ${c},
1431		mobileImageOverlay ${c},
1432		description ${L},
1433		ctaList ${v},
1434		desktopLeftCtaList ${v},
1435		desktopRightCtaList ${v},
1436		textColor,
1437		textAlignment,
1438		verticalAlignment,
1439		bottomPadding
1440	}`,homepageTextStrip:`{
1441		_key,
1442		_type,
1443		title,
1444		leftText,
1445		mobileText,
1446		leftCtaList ${v},
1447		rightText,
1448		rightCtaList ${v},
1449		'backgroundColor': backgroundColor.value,
1450		'textColor': textColor.value,
1451		'rightBackgroundColor': rightBackgroundColor.value,
1452		'rightTextColor': rightTextColor.value,
1453		bottomPadding
1454	}`,stickyNavigationBar:`{
1455		_key,
1456		_type,
1457		label,
1458		sticky,
1459		sections[]-> ${G}
1460	}`,editorialProductSplit:`@-> ${G}`,igMarquee:`@->{
1461		...,
1462		instagramBlock[] {
1463			_type,
1464			_key,
1465			_type == 'imageAlt' => ${c},
1466			_type == 'textBlock' => {
1467				text
1468			}
1469		}
1470	}`,faqModule:`{
1471    _key,
1472    _type,
1473    title,
1474    items ${E}
1475  }`,imageModule:`{
1476    _key,
1477    _type,
1478    image ${n},
1479    caption ${L},
1480    mediaLayout
1481  }`,columnModule:`{
1482    _key,
1483    _type,
1484    title,
1485    columns
1486  }`,featureCarousel:`{
1487		_id,
1488		'parentId': ^._id,
1489		_key,
1490		title,
1491		style,
1492		layoutStyle,
1493		items[] {
1494			title,
1495			image ${n},
1496			videoAlt,
1497			text ${L},
1498			ctaList ${v}
1499		}
1500	}`,featuredReferenceCarousel:`{
1501		_id,
1502		'parentId': ^._id,
1503		_key,
1504		featureCarousel-> {
1505			title,
1506			layoutStyle,
1507			items[] {
1508				title,
1509				image ${n},
1510				videoAlt,
1511				text ${L},
1512				ctaList ${v}
1513			}
1514		}
1515	}`,stickyImageText:`{
1516    _key,
1517    _type,
1518    caption ${L},
1519    description ${L},
1520    verticalAlignment,
1521    alignment,
1522    image ${n}
1523  }`,productCarousel:m`{
1524		_id,
1525		'parentId': ^._id,
1526		_key,
1527		title,
1528		layoutStyle,
1529		style,
1530		cta ${v},
1531		items[] {
1532			title,
1533			_key,
1534			_type,
1535			'items': (items[]->)[${i}] {
1536				'shopifyData': ${s},
1537				'image': ${o}[0],
1538				'hoverImage': ${o}[1],
1539				'blurUrls': images[0...1].asset->metadata.lqip,
1540				'color': colorWay-> {
1541					colorName,
1542				},
1543				'slug': slug.current,
1544				${D},
1545				'product': ${s},
1546				'collections': *[_type == 'collection' && references(^._id)] {
1547					'nestedCollection': slug.current,
1548					'parentCollection': parentCollection->slug.current,
1549					title,
1550				},
1551				'parentProduct': parentProduct-> {
1552					title,
1553					${g}
1554					'count': count((items[]->)[${i}])
1555				},
1556				'salesChannel': salesChannels[@.channelTitle == 'Baggu.com Headless'] {
1557  				...,	
1558					'channelType': channelType ->{icon},
1559				},
1560				'wsSalesChannel': wholesaleSalesChannels[@.channelTitle == 'Baggu Wholesale Headless'] {
1561  				...,	
1562					'channelType': channelType ->{icon},
1563				},
1564			}
1565		}
1566	}`,productGrid:`{
1567		mobileGrid,
1568		desktopGrid,
1569		_key,
1570		title,
1571		'titleColor':titleColor.value,
1572		_type,
1573    items[]{
1574      title,
1575      _key,
1576      _type,
1577      items[]->{
1578        'shopifyData': ${s},
1579        'image': ${o}[0],
1580        'hoverImage': ${o}[1],
1581        'blurUrls': images[]{'':asset-> {'lqip': metadata.lqip}},
1582        'color': colorWay-> {
1583          colorName,
1584        },
1585        'slug': slug.current,
1586        ${D},
1587        'product': ${s},
1588        'collections': *[_type == 'collection' && references(^._id)] {
1589          'nestedCollection': slug.current,
1590          'parentCollection': parentCollection->slug.current,
1591          title,
1592        },
1593        parentProduct -> {
1594          title,
1595          ${g}
1596          'count': count((items[]->)[${i}])
1597        },
1598      }
1599    }
1600  }`,headerBlock2023:`{
1601    _key,
1602    _type,
1603    title,
1604    title2 ${L},
1605    description ${L},
1606    secondaryImage ${n},
1607    titleImage ${n},
1608    email,
1609    emailMobile,
1610    embedCode,
1611    layout,
1612    color,
1613    embeds
1614  }`,productLanding:`{
1615    _key,
1616    _type,
1617    title,
1618    product
1619  }`,editorialGrid:`{
1620    _key,
1621    _type,
1622    title,
1623    mobileLayout,
1624    bottomPadding,
1625    items[] {
1626      _key,
1627      showMobile,
1628      showDesktop,
1629      image ${c},
1630      imageMobile ${c},
1631      imageAspectRatio,
1632      aspectRatioMobile,
1633      imagePosition,
1634      text ${L},
1635      ctaList ${v},
1636      video {
1637        ...,
1638        sources[] {
1639          ...,
1640          url,
1641          type,
1642          fullSize
1643        }
1644      },
1645      videoMobile {
1646        ...,
1647        sources[] {
1648          ...,
1649          url,
1650          type,
1651          fullSize
1652        }
1653      },
1654    }
1655  }`,editorialGrid2023:`{
1656    _key,
1657    _type,
1658    title,
1659    items[] {
1660      _key,
1661      image ${c},
1662      desktopVideo ${k},
1663      mobileVideo ${k},
1664      text ${L},
1665      ctaList ${v}
1666    }
1667  }`,editorialThirds2023:`{  
1668		_id,
1669		'parentId': ^._id,
1670    style,
1671		layout,
1672		desktopLayout,
1673		_key,
1674		items[] {
1675				...,
1676				image ${n},
1677				imageHover ${n},
1678				mobileImage ${n},
1679				text ${L},
1680        textSecondary ${L},
1681        textMobileSecondary ${L},
1682				textMobile ${L},
1683				ctaList ${v},
1684				'textColorMobile': textColorMobile.value,
1685				mobileSlideTheme,
1686				pullOut,
1687		}
1688	}`,editorialThirds2024:`{  
1689		title,
1690		layout,
1691		desktopLayout,
1692		'parentId': ^._id,
1693		_type,
1694		_key,
1695		items[] {
1696			_type == 'editorialThirdsCard' => {
1697				_key,
1698				_type,
1699				image ${c},
1700				desktopVideo ${k},
1701				mobileImage ${c},
1702				mobileVideo ${k},
1703				pullOut,
1704				hideOnMobile,
1705				text ${L},
1706				textMobile ${L},
1707				textMobileSecondary ${L},
1708				ctaList ${v},
1709				'textColorMobile': textColorMobile.value,
1710				mobileSlideTheme
1711			},
1712			_type == 'editorialTextCard' => {
1713				...,
1714				subtitle ${L},
1715				stylingClassic,
1716				'titleColor': titleColor.value,
1717			}
1718		}
1719	}`,editorialFourths2023:`{  
1720		...,
1721		items[] {
1722			_key,
1723			...,
1724			image ${n},
1725			text ${L},
1726			description ${L},
1727			ctaList ${v},
1728		}
1729	}`,productFeature2023:`{  
1730		_key,
1731		style,
1732		text ${L},
1733		ctaList ${v},
1734		hideCta,
1735		items[] {
1736			_key,
1737			cardLayout,
1738			image ${n},
1739			imageMobile ${n},
1740			textDesktop ${L},
1741			textMobile ${L},
1742			'textColorMobile': textColorMobile.value,
1743			ctaDesktop ${v},
1744			ctaMobile ${v},
1745			hideMobileCta,
1746			text ${L},
1747			ctaList ${v},
1748		}
1749	}`,imageModule:`{
1750		image ${n},
1751		caption ${L},
1752		mediaLayout
1753	}`,collabBlock:`{
1754		title,
1755		cta ${v},
1756		description ${L},
1757		logoImage ${n},
1758		logoImage2 ${n},
1759		image ${n},
1760		showFullImage,
1761		mobileImage ${n},
1762	}`,introBlock:`{
1763		title,
1764		logoImage ${n},
1765		description ${L},
1766		image ${n},
1767		mobileImage ${n},
1768	}`,materialBlock:`{
1769		title,
1770		titleRich,
1771		'titleColor': titleColor.value,
1772		cta ${v},
1773		description ${L},
1774		logoImage ${n},
1775		image ${n},
1776		mobileImage ${n},
1777		video,
1778		videoMobile,
1779		reverse,
1780	}`,customBlock:`{
1781		title,
1782		logoImage ${n},
1783		description ${L},
1784		cta ${v},
1785		images[]{ _type == 'imageAlt' => ${n} },	
1786		video,
1787	}`,storeSection:`{
1788		name,
1789		storeType,
1790		hours,
1791		address,
1792		phone,
1793		description{
1794			description ${L},
1795		},
1796		googleMapsUrl,
1797		newStoreNote,
1798		image1 ${n},
1799		image2 ${n},
1800	}`,storeDirectory:`{
1801    _key,
1802    _type,
1803    heading,
1804    enableProximitySorting,
1805    'stores': stores[]->{
1806      _id,
1807      name,
1808      slug,
1809      status,
1810      cardImage ${n},
1811      shoppingBag ${n},
1812      cardCallouts,
1813      address,
1814      directionsUrl,
1815      regularHours,
1816      stockInquiries,
1817      stockInquiriesLabel,
1818      stockInquiriesTextUs,
1819      stockInquiriesPhone,
1820      paymentMethods,
1821      entranceNote,
1822      event {
1823        title,
1824        label,
1825        description,
1826        dateAndTime
1827      },
1828      holidayHours[]{
1829        _key,
1830        dateLabel,
1831        hours
1832      },
1833      holidayHoursLabel,
1834      inStoreExclusive {
1835        media[] ${n},
1836        featuredStoreImage ${n},
1837        photographer,
1838        productImage ${n},
1839        storeImage ${n}
1840      },
1841      latitude,
1842      longitude
1843    }
1844  }`,storeAnnouncementBanner:`{
1845    _key,
1846    _type,
1847    eyebrow,
1848    title,
1849    location,
1850    directionsUrl,
1851    eventHours,
1852    giftWithPurchase,
1853    giftsInclude,
1854    description,
1855    information[]{
1856      _key,
1857      label,
1858      content,
1859      linkLabel,
1860      linkUrl
1861    },
1862    media[] ${n},
1863    marqueeItems,
1864    'accentColor': accentColor.value
1865  }`,headerBlock2023:`{
1866		title,
1867		title2 ${L},
1868		description ${L},
1869		secondaryImage ${n},
1870		titleImage ${n},
1871		email{html,scriptSrc,rawJS},
1872		emailMobile{html,scriptSrc,rawJS},
1873		embedCode,
1874		layout,
1875		color,
1876		embeds[]{
1877			embedType,
1878			formsiteEmbed,
1879			klaviyoEmbed{
1880				emailDesktop,
1881				emailMobile
1882			},
1883			termlyEmbed
1884		}
1885	}`,productLanding:`{
1886		'product': *[_type == 'productLanding' && _id == ^._ref][0]{
1887			shortDescription ${L},
1888			title,
1889			'productType': slug.current,
1890			'count': count((items[]->)[${i}]),
1891			'variants': (items[]->)[${i}] {
1892				colorWay->${U},
1893				'images': shopifyImages[],
1894				'shopifyData': ${s}
1895			},
1896			'collections': *[_type == 'collection' && references(^._id)] { 
1897				'nestedCollection': slug.current,
1898				'parentCollection': parentCollection->slug.current,
1899				title,
1900			}
1901		}
1902	}`,iFrame:`{
1903		html,
1904		scriptSrc,
1905		rawJS
1906	}`,embedModule:`{
1907		embedType,
1908		formsiteEmbed,
1909		klaviyoEmbed{
1910			site,
1911			emailDesktop,
1912			emailMobile
1913		},
1914		termlyEmbed,
1915		"data": select(
1916			embedType == "Klaviyo" => {
1917				site,
1918				"emailDesktop": klaviyoEmbed.emailDesktop,
1919				"emailMobile": klaviyoEmbed.emailMobile
1920			},
1921			embedType == "iFrame" => {
1922				"rawJS": iFrameEmbed.rawJS,
1923				"html": iFrameEmbed.html,
1924				"scriptSrc": iFrameEmbed.scriptSrc
1925			},
1926			embedType == "Formsite" => {
1927				"embed": formsiteEmbed
1928			},
1929			embedType == "Termly" => {
1930				"embed": termlyEmbed
1931			},
1932			{"type": "unknown", "message": "Unrecognized embed type"}
1933		)
1934	}`,faqModule:`{  
1935		items ${E}
1936	}`,codeOfConduct:`{  
1937		...,
1938	}`,instagramModule:`{  
1939		...,
1940		items[] {
1941			...,
1942			imageAlt { 
1943				_type == 'imageAlt' => ${n} 
1944			},
1945			productMapLink {
1946				${a}
1947			} 
1948		}
1949	}`,editorialGridTwoUp:`{  
1950		...,
1951		items[] {
1952			_key,
1953			...,
1954			image ${c},
1955			text ${L},
1956			ctaList ${v}
1957		}
1958	}`,wallpaperModule:`{  
1959		...,
1960		items[] {
1961			...,
1962			imageAlt ${n},
1963			collectionLink ${M},
1964		},
1965	}`,wallpaperGroup:`{  
1966		...,
1967		items[]-> {
1968			...,
1969			imageAlt ${n},
1970			collectionLink ${M},
1971		},
1972	}`,imageTextThirds:`{
1973		caption ${L},
1974		description ${L},
1975		verticalAlignment,
1976		alignment,
1977		title,
1978		image ${n}
1979	}`,codeOfConduct:`{
1980		...,
1981	}`,editorialGridSplit:`{
1982		...,
1983		items[] {
1984			_key,
1985			...,
1986			image ${c},
1987			text ${L},
1988			ctaList ${v}
1989		}
1990	}`,collabBlock:`{
1991		...,
1992		cta ${v},
1993		description ${L},
1994		logoImage ${n},
1995		image ${n},
1996		showFullImage,
1997		mobileImage ${n}
1998	}`,introBlock:`{
1999		...,
2000		logoImage ${n},
2001		description ${L},
2002		image ${n},
2003		mobileImage ${n}
2004	}`,materialBlock:`{
2005		...,
2006		titleRich,
2007		'titleColor': titleColor.value,
2008		cta ${v},
2009		description ${L},
2010		logoImage ${n},
2011		image ${n},
2012		mobileImage ${n},
2013		video,
2014		videoMobile,
2015		reverse
2016	}`,collabTease:`{
2017		...,
2018		flying[] {
2019			...,
2020			image ${d},
2021		},
2022		description{
2023			description ${L},
2024		},
2025		imgOverlay ${d},
2026		items[] {
2027			...,
2028			bgImg ${d},
2029			overlayImg ${d},
2030		},
2031	}`,banner:`{
2032		'two':'two',
2033		content[]{
2034			_type == 'img' => ${n},
2035			...,
2036			_type,
2037			title,
2038			animation[]{
2039			"color": color.value,
2040			duration,
2041			},
2042		},
2043		ctaList ${v},
2044		backgroundColor{value},
2045		heightDesktop,
2046		heightMobile,
2047	}`,customBlock:`{
2048		...,
2049		logoImage ${n},
2050		description ${L},
2051		cta ${v},
2052		images[]{ _type == 'imageAlt' => ${n} },	
2053		video,
2054	}`,flying:`{  
2055		...,
2056		'parentId': ^._id,
2057		position,
2058		mobileMaxWidth,
2059		desktopMaxWidth,
2060		speed,
2061		frequency,
2062		singleRunner,
2063		rotationSpeed,
2064		pathRotation,
2065		image ${c},
2066	}`,saleMarquee:`{  
2067		...,
2068		bgColor{hex},
2069		'text':text ${L},
2070		'text2':text[]{
2071			...,
2072			children[]{
2073				_type == 'svgReference' => {
2074					'svg':@->,
2075				}
2076			}  
2077		},
2078	}`,saleMarqueeModule:`{  
2079		...,
2080		items[] {
2081			...,
2082			text[]{
2083				...,
2084				children[]{
2085					_type == 'svgReference' => {
2086						'svg':@->,
2087					}
2088				}
2089			}
2090		}
2091	}`,videoModule:`{
2092		title,
2093		video,
2094		caption
2095	}`,imageMarquee:`${b}`,productGridEditorialSplit:`${V}`,titleBlock:`${N}`,reference:`@->{
2096		...,
2097		instagramBlock[] {
2098			_type,
2099			_key,
2100			_type == 'imageAlt' => ${c},
2101			_type == 'textBlock' => {
2102				text
2103			}
2104		}
2105	}`},en=m`*[
2106  _type == "page" && coalesce(disablePrerendering, false) == false 
2107].slug.current`,er="retailPublishDate <= now() && count(products) > 0",ec=m`*[
2108	_type == "productMap" &&
2109	${er}
2110] { 
2111	'slug': ${F},
2112	'shopifyId': ${R}
2113
2114}`,ep=m`coalesce((productUpsells[]->)[${i}] {
2115        'parent': parentProduct->{title},
2116        colorWay->${U},
2117        'images': shopifyImages[],
2118        'slug': slug.current,
2119        'salesChannel': salesChannels[@.channelTitle == 'Baggu.com Headless'] {
2120          ...,
2121          'channelType': channelType->{
2122            icon
2123          },
2124        },
2125        'wsSalesChannel': wholesaleSalesChannels[@.channelTitle == 'Baggu Wholesale Headless'] {
2126		...,	
2127			'channelType': channelType ->{icon},
2128		},
2129        'shopifyData': ${s}
2130      }, [])`,ed=`{
2131	'isWholesale': false,
2132	'defaultTitle': productUpsellRetailHelperText,
2133	'wholesaleTitle': productUpsellWholesaleHelperText,
2134	'items': ${ep}
2135}`,eu=`{
2136	collaborationModules ${z}
2137}`,em=m`
2138	...,
2139	'parent': parentProduct->{
2140		_id,
2141		${g}
2142		title,
2143		'slug': slug.current
2144	},
2145	'slug': slug.current,
2146	colorWay->${U},
2147	'images': ${o},
2148	'shopifyData': ${s},
2149	'salesChannel': salesChannels[@.channelTitle == 'Baggu.com Headless'] {
2150		...,
2151		'channelType': channelType ->{icon},
2152	},
2153	'wsSalesChannel': wholesaleSalesChannels[@.channelTitle == 'Baggu Wholesale Headless'] {
2154		...,
2155		'channelType': channelType ->{icon},
2156	},
2157`,eg=m`*[_type == 'productMap' && references(^._id) && ${i} && colorFamily->._id == ^.^.^.colorFamily._ref][0...4] {
2158	'colorMatch': true,
2159	${em}
2160} + *[_type == 'productMap' && references(^._id) && ${i} && coalesce(colorFamily->._id, '') != coalesce(^.^.^.colorFamily._ref, '~none')][0...8] {
2161	'colorMatch': false,
2162	${em}
2163}`,ey=m`
2164	'slug': slug.current,
2165	'parent': parentProduct->{
2166		_id,
2167		${g}
2168		title,
2169		'slug': slug.current
2170	},
2171	'colorWay': colorWay->{ _id, colorName },
2172	'images': ${o}[0...1],
2173	'shopifyData': ${"products[0]->"} {
2174		cents,
2175		compareAtCents,
2176		'slug': slug.current,
2177		productId
2178	},
2179	'salesChannel': salesChannels[@.channelTitle == 'Baggu.com Headless'] {
2180		...,
2181		'channelType': channelType ->{icon},
2182	},
2183	'wsSalesChannel': wholesaleSalesChannels[@.channelTitle == 'Baggu Wholesale Headless'] {
2184		...,
2185		'channelType': channelType ->{icon},
2186	},
2187`,e$=m`*[_type == 'productMap' && references(^._id) && ${i} && colorFamily->._id == ^.^.^.colorFamily._ref][0...3] {
2188	'colorMatch': true,
2189	${ey}
2190} + *[_type == 'productMap' && references(^._id) && ${i} && coalesce(colorFamily->._id, '') != coalesce(^.^.^.colorFamily._ref, '~none')][0...6] {
2191	'colorMatch': false,
2192	${ey}
2193}`,eh=(e="")=>m`coalesce(productUpsells[]-> {
2194	'product': *[_type == 'productMap' && references(^._id) && ${i} && colorFamily->._id == ^.^.^.colorFamily._ref][0] {
2195		...,
2196		'parent': parentProduct->{ 
2197			${g}
2198			title,
2199			'slug': slug.current
2200		},
2201		'slug': slug.current,
2202		colorWay->${U},
2203		'images': ${o},
2204		'shopifyData': ${s},
2205		'salesChannel': salesChannels[@.channelTitle == 'Baggu.com Headless'] {
2206		...,	
2207			'channelType': channelType ->{icon},
2208		},
2209    'wsSalesChannel': wholesaleSalesChannels[@.channelTitle == 'Baggu Wholesale Headless'] {
2210		...,	
2211			'channelType': channelType ->{icon},
2212		},
2213	},
2214	'backupProduct': *[_type == 'productMap' && references(^._id) && ${i}][0] {
2215		...,
2216		'parent': parentProduct->{
2217			_id,
2218			${g}
2219			title,
2220			'slug': slug.current
2221		},
2222		'slug': slug.current,
2223		colorWay->${U},
2224		'images': ${o},
2225		'shopifyData': ${s},
2226		'salesChannel': salesChannels[@.channelTitle == 'Baggu.com Headless'] {
2227		...,	
2228			'channelType': channelType ->{icon},
2229		},
2230    'wsSalesChannel': wholesaleSalesChannels[@.channelTitle == 'Baggu Wholesale Headless'] {
2231		...,	
2232			'channelType': channelType ->{icon},
2233		},
2234	},
2235	${e}
2236}, [])[defined(product) || defined(backupProduct)]`,e_=eh(),eb=eh(m`'candidates': ${eg},`),ef=eh(m`'candidates': ${e$},`),ek=m`
2237	_id,
2238	title,
2239	'slug': slug.current,
2240	product-> ${Y},
2241	seo ${H}, 
2242	'productMap': *[_type == 'productMap' && references(^._id)][0] {
2243		_id,
2244		${"retailPublishDate"},
2245		'isWholesale': ${!1},
2246		'images': ${o},
2247    'blurUrls': images[]{'':asset-> {'lqip': metadata.lqip}},
2248		badge,
2249    video,
2250    videoPlacement,
2251		msrp,
2252		${D},
2253		showVariants,
2254		wholesaleMinQuantity,
2255		colorWay->${U},
2256		material,
2257		disableOutOfStock,
2258		'shopifyData': ${s},
2259		'slug': slug.current,
2260		'salesChannel': salesChannels[@.channelTitle == 'Baggu.com Headless'] {
2261			isPublished,
2262			publishDate,
2263		},
2264    'wsSalesChannel': wholesaleSalesChannels[@.channelTitle == 'Baggu Wholesale Headless'] {
2265			isPublished,
2266			publishDate,
2267		},
2268		${B},
2269    parentProduct->{
2270			_id,
2271			'images': ${"[]"},
2272			title,
2273			'slug': slug.current,
2274			video,
2275			videoPlacement,
2276		},
2277	}
2278`,eC=m`
2279	'items':  (products[]->)[${i} && _id !=  ^.^.^._id][0...12] {
2280		_key,
2281		_key, 
2282		'shopifyData': ${s},
2283		'product': ${s},
2284		'image': ${o}[0],
2285		'color': colorWay-> {
2286			colorName,
2287		},
2288		'parentProduct': parentProduct-> {
2289			title,
2290			${g}
2291			'count': count((items[]->)[${i}]),
2292		}
2293	}
2294`;m`
2295	'items':  (products[]->)[${i} && _id !=  ^.^.^._id][0...12] {
2296		_key,
2297		_key, 
2298		'shopifyData': ${s},
2299		'product': ${s},
2300		'image': ${o}[0],
2301		'color': colorWay-> {
2302			colorName,
2303		},
2304		'parentProduct': parentProduct-> {
2305			title,
2306			${g}
2307			'count': count((items[]->)[${i}]),
2308		}
2309	}
2310`;let eT=m`
2311	items[] {
2312		title,
2313		_key,
2314		_type,
2315		'items': (items[]->)[${i} && _id !=  ^.^.^.^._id] {
2316			'shopifyData': ${s},
2317			'image': ${o}[0],
2318			'hoverImage': ${o}[1],
2319			'color': colorWay-> {
2320				colorName,
2321			},
2322			'product': ${s},
2323			'parentProduct': parentProduct-> {
2324				title,
2325				${g}
2326				'count': count((items[]->)[${i}])
2327			}
2328		}
2329	}
2330`,eI=`productRelated->{
2331		_type,
2332		_key,
2333		title,
2334		_type == 'upsells' => {
2335			${eC}
2336		},
2337		_type == 'upsellCarousel' => {
2338			${eT}
2339		}
2340	}`;m`
2341	_id,
2342	components ${K},
2343	'productMap': *[_type == 'productMap' && references(^._id)][0] {
2344		_id,
2345		'isWholesale': ${!1},
2346		'images': ${o},
2347    videoPlacement,
2348    video,
2349		msrp,
2350		showVariants,
2351		wholesaleMinQuantity,
2352		colorWay->${U},
2353		material,
2354		'collections': coalesce(*[_type == 'collection' && references(^._id))] { // REMOVE DRAFTS && !(_i
2354d in path("drafts.**")
2355			'nestedCollection': slug.current,
2356			'parentCollection': parentCollection->slug.current,
2357			title,
2358		},
2359		'shopifyData': ${s},
2360		'collaboration': collab->${eu},
2361		${B},
2362
2363		'nestedUpsells': ${ed},
2364		'collaboration': collab-> {
2365			collaborationModules ${K}
2366		},
2367    parentProduct->{
2368			title,
2369			'slug': slug.current,
2370			components ${K},
2371			'related': ${eI},
2372			'upsells': {
2373				'isWholesale': ${!1},
2374				'defaultTitle': productUpsellRetailHelperText,
2375				'wholesaleTitle': productUpsellWholesaleHelperText,
2376				'items': ${e_}
2377			}
2378		},
2379	}
2380`;let eM=m`{
2381	username,
2382	usernameLink,
2383	productName,
2384	colorName,
2385	image ${n}
2386}`,eS=m`
2387	_id,
2388	_type,
2389	'productMap': *[_type == 'productMap' && references(^._id)][0] {
2390		components ${K},
2391		'nestedUpsells': ${ed},
2392		'collaboration': collab-> {
2393			collaborationModules ${K}
2394		},
2395    parentProduct->{
2396			components ${K},
2397			'related': ${eI},
2398			'upsells': {
2399				'isWholesale': ${!1},
2400				'defaultTitle': productUpsellRetailHelperText,
2401				'wholesaleTitle': productUpsellWholesaleHelperText,
2402				'items': ${ef}
2403			}
2404		},
2405	}
2406`,ew=m`items[_type == 'productMap' && defined(@->slug.current) && ${"@->retailPublishDate <= now() && count(@->products) > 0"}][0]->slug.current`;m`
2407	_id,
2408	_type,
2409	'productMap': *[_type == 'productMap' && references(^._id)][0] {
2410		components ${j},
2411		// Resolved in resolveBagguInUseGallery (new field > legacy instagramModule > style).
2412		'bagguInUseGalleryOverride': bagguInUseGallery[] ${eM},
2413		'collections': coalesce(*[_type == 'collection' && references(^._id)]) {
2414			'nestedCollection': slug.current,
2415			'parentCollection': parentCollection->slug.current,
2416			title,
2417		},
2418		'nestedUpsells': ${ed},
2419		'collaboration': collab-> {
2420			collaborationModules ${j}
2421		},
2422    parentProduct->{
2423			components ${j},
2424			'related': ${eI},
2425			'upsells': {
2426				'isWholesale': ${!1},
2427				'defaultTitle': productUpsellRetailHelperText,
2428				'wholesaleTitle': productUpsellWholesaleHelperText,
2429				'items': ${eb}
2430			},
2431			bagguInUseGallery[] ${eM},
2432			bagComparison {
2433				enabled,
2434				title,
2435				modelLabel,
2436				bagLabel,
2437				rows[] {
2438					// Row value wins; empty row fields fall back to the referenced
2439					// style's canonical Compare Specs. Guards strip blank strings first,
2440					// so a row left as [""] / "" in Studio still falls back instead of
2441					// rendering an empty spec (GUGU-262 / GUGU-266). Applied to every
2442					// spec field — #1116 only covered dimensions/strapLength, leaving
2443					// whatItFits/whatItFitsItems able to blank the same way.
2444					'dimensions': select(count(dimensions[@ != '']) > 0 => dimensions[@ != ''], productStyle->comparisonDimensions),
2445					'strapLength': select(count(strapLength[@ != '']) > 0 => strapLength[@ != ''], productStyle->comparisonStrapLength),
2446					'strapLengthLabel': productStyle->comparisonStrapLengthLabel,
2447					'whatItFits': select(coalesce(whatItFits, '') != '' => whatItFits, productStyle->comparisonWhatItFits),
2448					'whatItFitsItems': select(
2449						count(whatItFitsItems[coalesce(text, '') != '']) > 0 => whatItFitsItems,
2450						productStyle->comparisonWhatItFitsItems
2451					)[coalesce(text, '') != ''] {
2452						text,
2453						'linkedItem': linkedItem-> {
2454							'slug': slug.current
2455						}
2456					},
2457					// modelHeight is the odd one out: the canonical style value always
2458					// wins over the row's own text (when set), instead of the row
2459					// winning. A given model's height is a fact about the model, not
2460					// the row — letting rows override it let hand-typed values drift
2461					// out of sync across every row referencing the same style (GUGU-269
2462					// follow-up).
2463					'modelHeight': select(coalesce(productStyle->comparisonModelHeight, '') != '' => productStyle->comparisonModelHeight, modelHeight),
2464					'productStyle': productStyle-> {
2465						title,
2466						// The style's own Details (bag) / In Use (model) images win over
2467						// the productMap's auto-resolved Shopify images.
2468						'overrideBagImage': detailsImage.asset-> {'url': url, 'dimensions': metadata.dimensions},
2469						'overrideModelImage': inUseImage.asset-> {'url': url, 'dimensions': metadata.dimensions},
2470						// Caption paired with inUseImage above (e.g. "MODEL IS 5' 4\"").
2471						// More trustworthy than comparisonModelHeight for THIS photo — it's
2472						// entered alongside the exact image the Compare module reuses,
2473						// vs. comparisonModelHeight being typed independently on the Compare
2474						// Specs tab, which is how the two drifted out of sync (GUGU-269).
2475						inUseModelHeight,
2476						'productMap': productLink-> {
2477							'slug': slug.current,
2478							${_}
2479						},
2480						'slugFallback': ${ew}
2481					}
2482				}
2483			}
2484		},
2485	}
2486`;let ev=m`*[_type == 'productLanding'] {
2487  title,
2488  'slug': slug.current,
2489  sizingGuide,
2490  ${B},
2491  'video': {
2492    video,
2493    videoPlacement,
2494  },
2495}`,ex="count((items[]->)[defined(products)])",eL="*[_type == 'product' && _id == ^.products[0]._ref && defined(^.products)][0] ",eA="styleView",eP="outline",eB="nestedFilters",eD="layoutStyle",eF="useSandyLiangAtc",eR=m`
2496	_id,
2497	_key,
2498	_type,
2499	title,
2500  richTitle,
2501  formCTA, 
2502  formDescription, 
2503  formPlaceholder, 
2504  formListId,
2505  enableAnnouncementHeader,
2506  signupAnnouncement,
2507  signupAnnouncementLayout,
2508  signupAnnouncementUseAccent,
2509  signupAnnouncementImage { _type == 'imageAlt' => ${r} },
2510  signupAnnouncementImagePlacement,
2511  signupAnnouncementImageShowOnMobile,
2512	displayFull,
2513	displayTitle { 
2514		_type == 'imageAlt' => ${n} 
2515	},
2516  displayTitleMobile { 
2517		_type == 'imageAlt' => ${n} 
2518	},
2519	headerVideo {
2520		...,
2521		sources[] {
2522			...,
2523			url,
2524			type,
2525			fullSize
2526		}
2527	},
2528	headerVideoMobile {
2529		...,
2530		sources[] {
2531			...,
2532			url,
2533			type,
2534			fullSize
2535		}
2536	},
2537	hexColor,
2538	seo ${H},
2539  banner {
2540		'three':'three',
2541    ...,
2542		content[]{
2543			...,
2544			_type == 'img' => ${n}	
2545		},
2546    ctaList ${v},
2547		heightDesktop,
2548		heightMobile,
2549  },
2550  isStars,
2551	hideTitleText,
2552	description ${L},
2553	linkArray[] ${v},
2554	'styleView': ${eA},
2555	'nestedFilters': ${eB},
2556  'outline': ${eP},
2557	'layoutStyle': ${eD},
2558	'useSandyLiangAtc': ${eF},
2559	components ${z},
2560	'parent': parentCollection-> {
2561		title,
2562		'slug': slug.current
2563	},
2564	backgroundColor {
2565		hex,
2566	},
2567	textColor {
2568		hex
2569	},
2570	'filterOverride': filterOverride-> {
2571		enableMaterials,
2572		collectionLinks[] ${v},
2573		'colors': *[_type == 'colorType'] ${U}
2574	},
2575	'slug': slug.current,
2576	'modules': modules[] {
2577		_type,
2578		_key,
2579		_type == 'productMap' => {
2580			'product': *[_type == 'productMap' && _id == ^._ref && ${er}][0] {
2581				_id,
2582				'image': ${"shopifyImages[0].src"},
2583				'images': ${o},
2584        'blurUrls': images[0...1].asset->metadata.lqip,
2585  			'slug': slug.current,
2586				colorWay->${U},
2587				'colorFilterMultiSelect':colorFilterMultiSelect[]->,
2588				disableOutOfStock,
2589				badge,
2590				'productType': parentProduct->slug.current,
2591				'shopifyData': ${s},
2592				'slug': slug.current,
2593				'salesChannel': salesChannels[@.channelTitle == 'Baggu.com Headless'] {
2594  				...,
2595					'channelType': channelType ->{icon},
2596				},
2597        'wsSalesChannel': wholesaleSalesChannels[@.channelTitle == 'Baggu Wholesale Headless'] {
2598  		    ...,	
2599			    'channelType': channelType ->{icon},
2600		    },
2601				'parentStyle':parentProduct->{
2602					...,
2603					'count': count((items[]->)[${i}]),
2604				},
2605				'parent': *[_type == 'productLanding' && references(^.^._ref)][0]{
2606					_id,
2607					title,
2608					${g}
2609					'count': count((items[]->)[${i}]),
2610					'collections': coalesce(*[_type == 'collection' && references(^._id) &&
2611						!(_id in path("drafts.**"))] {
2612						'nestedCollection': slug.current,
2613						'parentCollection': parentCollection->slug.current,
2614						title,
2615					}, [])
2616				},
2617				'collections': *[_type == 'collection' && references(^._id) &&
2618					!(_id in path("drafts.**"))] {
2619					title,
2620				},
2621			},
2622		},
2623		_type == 'productLanding' => {
2624			'product': *[_type == 'productLanding' && _id == ^._ref][0]{
2625				shortDescription ${L},
2626				${g}
2627				title,
2628				'productType': slug.current,
2629				'count': count((items[]->)[${i}]),
2630				'variants': (items[]->)[${i}] {
2631					_id,
2632					${D},
2633					'slug': slug.current,
2634					colorWay->${U},
2635					'colorFilterMultiSelect':colorFilterMultiSelect[]->,
2636					'images': coalesce(${o}, []),
2637					'blurUrls': images[]{'':asset-> {'lqip': metadata.lqip}},
2638					'shopifyData': ${s},
2639					disableOutOfStock,
2640					'salesChannel': salesChannels[@.channelTitle == 'Baggu.com Headless'] {
2641  					...,	
2642						'channelType': channelType ->{icon},
2643					},
2644          'wsSalesChannel': wholesaleSalesChannels[@.channelTitle == 'Baggu Wholesale Headless'] {
2645		...,	
2646			'channelType': channelType ->{icon},
2647		},
2648				},
2649				'collections': *[_type == 'collection' && references(^._id)] { // REMOVE DRAFTS:  && !(_id in path("drafts.**"))
2650					'nestedCollection': slug.current,
2651					'parentCollection': parentCollection->slug.current,
2652					title,
2653				},
2654				
2655			}
2656		},
2657		_type == 'collectionCta' => {
2658			title,
2659			anchorLink,
2660			description,
2661			horizontalSpan,
2662			verticalSpan,
2663			mobileHorizontalSpan,
2664			mobileVerticalSpan,
2665			imageSize,
2666			mobileImageSize,
2667			videoAlt,
2668			image ${n},
2669			mobileImage ${n},
2670			gif ${p},
2671			cta ${v},
2672			quote,
2673			attribution,
2674			quotePosition,
2675			'accent': accent.value,
2676		},
2677		_type == 'collectionGridSpacer' => {
2678			label,
2679			horizontalSpan,
2680			verticalSpan,
2681			mobileHorizontalSpan,
2682			mobileVerticalSpan
2683		},
2684		_type == 'flying' => {
2685			position,
2686			mobileMaxWidth,
2687			desktopMaxWidth,
2688			speed,
2689			frequency,
2690			singleRunner,
2691			rotationSpeed,
2692			pathRotation,
2693			image ${n}
2694		}
2695	}
2696`;m`
2697	_id,
2698	_key,
2699	_type,
2700	title,
2701  richTitle,
2702  formCTA, 
2703  formDescription, 
2704  formPlaceholder, 
2705  formListId,
2706  enableAnnouncementHeader,
2707  signupAnnouncement,
2708  signupAnnouncementLayout,
2709  signupAnnouncementUseAccent,
2710  signupAnnouncementImage { _type == 'imageAlt' => ${r} },
2711  signupAnnouncementImagePlacement,
2712  signupAnnouncementImageShowOnMobile,
2713	displayFull,
2714	displayTitle { 
2715		_type == 'imageAlt' => ${n} 
2716	},
2717  displayTitleMobile { 
2718		_type == 'imageAlt' => ${n} 
2719	},
2720	headerVideo {
2721		...,
2722		sources[] {
2723			...,
2724			url,
2725			type,
2726			fullSize
2727		}
2728	},
2729	headerVideoMobile {
2730		...,
2731		sources[] {
2732			...,
2733			url,
2734			type,
2735			fullSize
2736		}
2737	},
2738	hexColor,
2739	seo ${H},
2740  banner {
2741		'four':'four',
2742    ...,
2743    ctaList ${v},
2744		heightDesktop,
2745		heightMobile,
2746  },
2747  isStars,
2748	hideTitleText,
2749	description ${L},
2750	'styleView': ${eA},
2751	'nestedFilters': ${eB},
2752  'outline': ${eP},
2753	'layoutStyle': ${eD},
2754	'useSandyLiangAtc': ${eF},
2755	'parent': parentCollection-> {
2756		title,
2757		'slug': slug.current
2758	},
2759	backgroundColor {
2760		hex,
2761	},
2762	textColor {
2763		hex
2764	},
2765	
2766	'slug': slug.current,
2767	'modules': modules[] {
2768		_type,
2769		_key,
2770		_type == 'productMap' => {
2771			'product': *[_type == 'productMap' && _id == ^._ref && ${er}][0] {
2772				_id,
2773				'images': ${o}[0...2],
2774        'blurUrls': images[0...1].asset->metadata.lqip,
2775  			'slug': slug.current,
2776				colorWay->${U},
2777				disableOutOfStock,
2778				'productType': parentProduct->slug.current,
2779				'shopifyData': ${s},
2780				'slug': slug.current,
2781				
2782			},
2783		},
2784		_type == 'productLanding' => {
2785			'product': *[_type == 'productLanding' && _id == ^._ref][0]{
2786				shortDescription ${L},
2787				${g}
2788				title,
2789				'productType': slug.current,
2790				'count': count((items[]->)[${i}]),
2791				'variants': (items[]->)[${i}] {
2792					_id,
2793					'slug': slug.current,
2794					colorWay->${U},
2795					'colorFilterMultiSelect':colorFilterMultiSelect[]->,
2796					'images': coalesce(${o}, []),
2797					'blurUrls': images[]{'':asset-> {'lqip': metadata.lqip}},
2798					'shopifyData': ${s},
2799					disableOutOfStock,
2800					'salesChannel': salesChannels[@.channelTitle == 'Baggu.com Headless'] {
2801  				
2802						'channelType': channelType ->{icon},
2803					},
2804          'wsSalesChannel': wholesaleSalesChannels[@.channelTitle == 'Baggu Wholesale Headless'] {
2805  	
2806			'channelType': channelType ->{icon},
2807		},
2808				},
2809				
2810				
2811			}
2812		},
2813		_type == 'collectionCta' => {
2814			title,
2815			anchorLink,
2816			description,
2817			horizontalSpan,
2818			verticalSpan,
2819			mobileHorizontalSpan,
2820			mobileVerticalSpan,
2821			imageSize,
2822			mobileImageSize,
2823			videoAlt,
2824			image ${n},
2825			mobileImage ${n},
2826			gif ${p},
2827			cta ${v},
2828			quote,
2829			attribution,
2830			quotePosition,
2831			'accent': accent.value,
2832		},
2833		_type == 'collectionGridSpacer' => {
2834			label,
2835			horizontalSpan,
2836			verticalSpan,
2837			mobileHorizontalSpan,
2838			mobileVerticalSpan
2839		},
2840		_type == 'flying' => {
2841			position,
2842			mobileMaxWidth,
2843			desktopMaxWidth,
2844			speed,
2845			frequency,
2846			singleRunner,
2847			rotationSpeed,
2848			pathRotation,
2849			image ${n}
2850		}
2851	}
2852`;let eH=m`*[
2853  (_type == "collection" ||
2854  _type == "collaboration") && 
2855  !defined(disablePrerendering) &&
2856  defined(slug.current) &&
2857  slug.current != null
2858].slug.current`;m`*[
2859	_type == "globalConfig" &&
2860	!(_id in path("drafts.**"))
2861][0] {
2862	SEO ${H},
2863	'legal': ${W}
2864}`;let eW=m`*[
2865	_type == "globalSeo" &&
2866	!(_id in path("drafts.**"))
2867][0] {
2868	SEO ${H}
2869}`,eq=m`*[
2870	_type == "globalCopy" 
2871][0] {
2872	...,
2873}`,eU=m`*[
2874	_type == "passwordProtection" &&
2875	!(_id in path("drafts.**"))
2876][0] {
2877  'enablePassword': ${"enablePassword"},
2878  password,
2879}`,eE=m`{
2880	cartMessage ${L},
2881	emptyText ${L},
2882	enableFreeShipping,
2883	minRequiredAmount,
2884	minRequiredMessage,
2885	freeShipping,
2886	giftEnabled,
2887	upsellTitle,
2888	'upsells': (upsells[]->)[${i}] { 
2889		title,
2890		'parent': parentProduct->{ 
2891			${g}
2892			title
2893		},
2894		'slug': slug.current,
2895		colorWay->${U},
2896		'images': ${o},
2897		'shopifyData': ${s},
2898		'salesChannel': salesChannels[@.channelTitle == 'Baggu.com Headless'] {
2899			...,	
2900			'channelType': channelType ->{icon},
2901		},
2902    'wsSalesChannel': wholesaleSalesChannels[@.channelTitle == 'Baggu Wholesale Headless'] {
2903		...,	
2904			'channelType': channelType ->{icon},
2905		},
2906	},
2907	discountEnabled,
2908	discountMessage,
2909	discountAmount
2910}`,eO=m`{
2911  collectionLinks[] ${v},
2912  announcementTextBlocks[] ${L},
2913  announcementLayout,
2914  infoText,
2915	searchTerms,
2916  quickFaqs,
2917  quickText,
2918  quickLinks[] ${v},
2919  siteLinks[] ${v},
2920	featuredItems[] {
2921		...,
2922		items[] ${x}
2923	},
2924	infoItems[] {
2925		...,
2926		items[] ${x}
2927	}
2928}`,eG=m`{
2929  _id,
2930  companyLinks[] {
2931		links[] ${v}
2932	},
2933  footerText,
2934  listId,
2935	footerImage ${n},
2936	footerImageMobile ${n},
2937	footerImageLayers {
2938		background {
2939			desktop ${n},
2940			mobile ${n}
2941		},
2942		foreground {
2943			desktop ${n},
2944			mobile ${n}
2945		},
2946		middleground {
2947			desktop ${n},
2948			mobile ${n}
2949		}
2950	},
2951	footerPeopleImage ${n},
2952	footerPeopleImageMobile ${n},
2953	footerPeopleBlendMode,
2954  newsletterText,
2955	newsletterPlaceholder,
2956	instagramBlock[] {
2957		_type,
2958		_key,
2959		_type == 'imageAlt' => ${n},
2960		_type == 'textBlock' => {
2961			text
2962		}
2963	}
2964}`,eN=m`{
2965	enableGlobalHeader,
2966	showOnAllPages,
2967	link,
2968	desktopHeight,
2969	mobileHeight,
2970	desktopImage { 
2971		_type == 'imageAlt' => ${n} 
2972	},
2973	mobileImage { 
2974		_type == 'imageAlt' => ${n} 
2975	},
2976	desktopVideoAlt,
2977	mobileVideoAlt,
2978	desktopOverlayImage { 
2979		_type == 'imageAlt' => ${n} 
2980	},
2981	mobileOverlayImage { 
2982		_type == 'imageAlt' => ${n} 
2983	}
2984}`,eV=m`{
2985  saleFields{
2986    ...,
2987		banner{
2988			'one':'one',
2989			content[]{
2990				...,
2991				_type == 'img' => ${n}	
2992			},
2993			ctaList ${v},
2994			backgroundColor{value},
2995			heightDesktop,
2996			heightMobile,
2997  },
2998    'marquee':marquee.text{
2999      _type == 'saleMarquee' => {  
3000		...,
3001    bgColor{hex},
3002    'text':text ${L},
3003    'text2':text[]{
3004      ...,
3005      children[]{
3006        _type == 'svgReference' => {
3007          'svg':@->,
3008        }
3009      }  
3010		}
3011	},
3012      
3013    },
3014    callout {
3015      text,
3016      image ${n}
3017    }
3018  }
3019}`,ez=m`{
3020	'header': {
3021		'menu': headerMenu-> ${eO},
3022	},
3023	'footer': footerMenu-> ${eG},
3024	'cart': cart-> ${eE},
3025	'filters': filters-> {
3026		enableMaterials,
3027		collectionLinks[] ${v},
3028		'colors': *[_type == 'colorType'] ${U}
3029	},
3030	'shopAllFilters': coalesce(shopAllFilters, true),
3031	'saleFilters': coalesce(saleFilters, true),
3032	'colors': {
3033		'bg': colors.bg.hex,
3034		'text': colors.text.hex,
3035		'accent': colors.accent.hex,
3036	},
3037	alternateLogo ${n},
3038	'globalCollectionHeader': globalCollectionHeaders-> ${eN},
3039  'sale': ${eV},
3040}`,eJ=`*[_type == 'scheduledTheme' && deploymentDate <= now()] | order(deploymentDate desc)[0] {'theme': theme-> ${ez} }, 'type': 'frontend'`,eQ=m`*[
3041	_type == "globalConfig" &&
3042	!(_id in path("drafts.**"))
3043][0] {
3044  'theme': ${eJ}{theme},
3045	'colorOrder': colorOrder[]-> ${U},
3046	'printOrder': printOrder[]-> ${U},
3047	'activeSite': ${"retail"}
3048}`;e.s(["allParentProducts",0,ev,"collectionById",0,e=>m`*[
3049	(_type == "collection" ||
3050	_type == "collaboration") &&
3051	_id == "${e}"
3052] | order(_type desc)[0] { // Prioritize "collection" over "collaboration"
3053	${eR}
3054}`,"collectionBySlug",0,e=>m`*[
3055	(_type == "collection" 
3056	// ||_type == "collaboration"
3057	) &&
3058	slug.current == "${e}" 
3059][0] { // REMOVE DRAFTS: && !(_id in path("drafts.**"))
3060	${eR}
3061}`,"collectionSlugs",0,eH,"firstProductMapByProductStyleSlug",0,e=>m`*[_type == 'productLanding' && slug.current == "${e}" && !(_id in path("drafts.**"))][0].${ew}`,"generateHomepageComponentsQuery",0,function(e){let t=new Set;(e?.theme?.theme?.homepage?.components||[]).forEach(e=>{e._type&&es[e._type]&&t.add(e._type)});let l=Array.from(t).map(e=>`_type == '${e}' => ${es[e]}`).join(",\n            "),i=`theme-> {
3062        homepage->{
3063          components[]{
3064            _key,
3065            _type,
3066            ${l}
3067          }
3068        }
3069      }`;return 0===t.size?m`*[
3070      _id == "globalConfig" &&
3071      !(_id in path("drafts.**"))
3072    ][0] {
3073      'theme': *[_type == 'scheduledTheme' ${el}] | order(deploymentDate desc)[0] {
3074        'theme': ${i}
3075      }
3076    }`:m`*[
3077    _id == "globalConfig" &&
3078    !(_id in path("drafts.**"))
3079  ][0] {
3080    'theme': *[_type == 'scheduledTheme' ${el}] | order(deploymentDate desc)[0] {
3081      'theme': ${i}
3082    }
3083  }`},"generatePageComponentsQuery",0,function(e){let t=new Set;if((e?.components||[]).forEach(e=>{e._type&&es[e._type]&&t.add(e._type)}),0===t.size)return m`*[
3084      _type == "page" &&
3085      slug.current == "${e?.slug||""}" 
3086    ][0] {
3087      components[]{
3088        _key,
3089        _type
3090      }
3091    }`;let l=Array.from(t).map(e=>`_type == '${e}' => ${es[e]}`).join(",\n            ");return m`*[
3092    _type == "page" &&
3093    slug.current == "${e?.slug||""}" 
3094  ][0] {
3095    components[]{
3096      _key,
3097      _type,
3098      ${l}
3099    }
3100  }`},"globalCopy",0,eq,"globalSeo",0,eW,"homepageBasic",0,ea,"layout",0,eQ,"pageById",0,e=>m`*[
3101	_type == "page" &&
3102	_id == "${e}"
3103][0] {
3104	${ee}
3105}`,"pageBySlug",0,e=>m`*[
3106	_type == "page" &&
3107	slug.current == "${e}" 
3108][0] { 
3109	${Z}
3110}`,"pageSlugs",0,en,"passwordProtection",0,eU,"productMapById",0,e=>m`*[
3111	_type == "product" &&
3112	_id == "${e}" &&
3113	site == "${"core"}" &&
3114	!(_id in path("drafts.**"))
3115][0] {
3116	${ek}
3117}`,"productMapByProductSlug",0,e=>m`*[
3118	_type == "product" &&
3119	slug.current == "${e}" &&
3120	site == "${"core"}" &&
3121	!(_id in path("drafts.**"))
3122][0] {
3123	${ek}
3124}`,"productMapBySlug",0,e=>m`*[
3125	_type == "productMap" &&
3126	slug.current == "${e}" &&
3127	!(_id in path("drafts.**"))
3128][0].${"products[0]"}-> {
3129	${ek},
3130  "parentProductStyle": parentProduct._id,
3131}`,"productMapExtendedBySlugSmall",0,e=>m`*[
3132	_type == "product" &&
3133	slug.current == "${e}" &&
3134	site == "${"core"}" &&
3135	!(_id in path("drafts.**"))
3136][0] {
3137	${eS}
3138}`,"productMapSlugs",0,ec,"productSaleAll",0,()=>m`*[
3139	_type == 'productMap' &&
3140	${er}  && 
3141	products[0]->compareAtCents > products[0]->cents &&
3142	!(_id in path("drafts.**"))
3143] | order(products[0]->cents asc) {
3144	_id,
3145	_key,
3146	disableOutOfStock,
3147  'slug': slug.current,
3148	parentProduct-> {
3149		title,
3150		'count': ${ex},
3151		'collections': *[_type == 'collection' && references(^._id) &&
3152			!(_id in path("drafts.**"))] {
3153			'nestedCollection': slug.current,
3154			'parentCollection': parentCollection->slug.current,
3155			title,
3156		}
3157	},
3158	material,
3159	${D},
3160	'productType': parentProduct->slug.current,
3161	'color': colorWay->${U},
3162	'colorFilterMultiSelect': colorFilterMultiSelect[]->{_id},
3163  'collections': *[_type == 'collection' && references(^._id) &&
3164    !(_id in path("drafts.**"))] {
3165		'nestedCollection': slug.current,
3166		'parentCollection': parentCollection->slug.current,
3167    title,
3168  },
3169	${h},
3170	'imageFallback': shopifyImages[0].src,
3171	'product': ${eL} ${l},
3172	'cents': ${eL}{cents},
3173	'salesChannel': salesChannels[@.channelTitle == 'Baggu.com Headless'] {
3174  	...,	
3175		'channelType': channelType ->{icon},
3176	},
3177  'wsSalesChannel': wholesaleSalesChannels[@.channelTitle == 'Baggu Wholesale Headless'] {
3178		...,	
3179			'channelType': channelType ->{icon},
3180		},
3181}`,"productShopAll",0,()=>m`*[
3182	_type == 'productMap' &&
3183	${er}  && 
3184	!(_id in path("drafts.**"))
3185] {
3186	_id,
3187	_key,
3188	disableOutOfStock,
3189  'slug': slug.current,
3190	parentProduct-> {
3191		title,
3192		'count': ${ex},
3193		'collections': *[_type == 'collection' && references(^._id) &&
3194			!(_id in path("drafts.**"))] {
3195			'nestedCollection': slug.current,
3196			'parentCollection': parentCollection->slug.current,
3197			title,
3198		}
3199	},
3200	material,
3201	${D},
3202	'productType': parentProduct->slug.current,
3203	'color': colorWay->${U},
3204	'colorFilterMultiSelect': colorFilterMultiSelect[]->{_id},
3205  'collections': *[_type == 'collection' && references(^._id) &&
3206    !(_id in path("drafts.**"))] {
3207		'nestedCollection': slug.current,
3208		'parentCollection': parentCollection->slug.current,
3209    title,
3210  },
3211	${h},
3212	'imageFallback': shopifyImages[0].src,
3213	'product': ${eL} ${l},
3214	'cents': ${eL}{cents},
3215	'salesChannel': salesChannels[@.channelTitle == 'Baggu.com Headless'] {
3216  	...,	
3217		'channelType': channelType ->{icon},
3218	},
3219  'wsSalesChannel': wholesaleSalesChannels[@.channelTitle == 'Baggu Wholesale Headless'] {
3220		...,	
3221			'channelType': channelType ->{icon},
3222		},
3223}`,"wholesaleApplication",0,et],91702)}]);
3224
3225//# debugId=bc1ea79f-12c2-b48d-2137-5cafb005109c
3226//# sourceMappingURL=27y78v2tn8jbg.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.