Justin Lee
Fisherman
Hawai‘i
Justin Lee is a world-class spearfisher, diver, hunter, archer, and surfer. From his home in Honokaʻa, Hawaiʻi, he pursues each of these skill sets with a sense of passion and focus. A constant that you’ll find strung through each of his pursuits is an unwavering sense of aloha and a desire to create a better future for the next generation. Justin is driven by his family, his community, and a clear sense of purpose. A national spearfishing champion, he’s competed everywhere from the Mediterranean to the South Pacific. But ask him where he’d rather be, he’ll tell you one word: home. 9:47
Favorite OluKai Styles
{"id":8047520350343,
"handle":"ahi-mens-boat-shoes-ash-sterling",
"title":"‘Ahi - Ash \/ Sterling",
"available":true,
"tags":["ahi","arch:standard","Beach\/Boat","best:beach_boat","boat","boat ahoe","boat shoe","boaters","boatshoes","cat:shoes","drop-in heel®","fisherman","fisherman shoe","fishing","fishing shoe","fit:standard","free shipping","gender:men","landtextile","material:textilemens","men's","RGroup_10554","shoes","size:true","sneakers","split_color","style:10554","swim shoes","water friendly shoe","water resisitant","water resistant","water-friendly","waterboat","watershoe","watershoes"],
"type":"Men’s Performance Marine Shoe",
"options_with_values": [{"name":"Color","position":1,"values":["Ash \/ Sterling"]},{"name":"Size","position":2,"values":["7","8","8.5","9","9.5","10","10.5","11","11.5","12","13","14","15"]}],
"price":18000,
"price_min":18000,
"price_max":18000,
"compare_at_price":null,"featured_image": "\/\/olukai.ca\/cdn\/shop\/files\/10554_AU6L_001_M_AHI_AshSterling.png?v=1741308464",
"featured_image_aspect_ratio": 1.0,
"featured_image_width": 2000,
"featured_image_height": 2000,
"featured_image_id": 33819070169223,
"featured_image_alt": "Ash \/ Sterling",
"hover_image": "\/\/olukai.ca\/cdn\/shop\/files\/10554_AU6L_103_678d4a23-4d9a-4869-a8b3-07fb9edcc30e.jpg?v=1744996484",
"hover_image_alt": "Ash \/ Sterling",
"images": [{
"id": 33819070169223,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10554_AU6L_001_M_AHI_AshSterling.png?v=1741308464",
"alt": "Ash \/ Sterling",
"width": 2000,
"height": 2000
},{
"id": 34414987411591,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10554_AU6L_103_678d4a23-4d9a-4869-a8b3-07fb9edcc30e.jpg?v=1744996484",
"alt": "Ash \/ Sterling",
"width": 1080,
"height": 1080
},{
"id": 34414987444359,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/Ahi_-_10554-AU6L_Ash_-_Sterling_1.jpg?v=1744996484",
"alt": "Ash \/ Sterling",
"width": 2000,
"height": 2000
},{
"id": 34414987477127,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10554_AU6L_002_M_AHI_AshSterling_827409b1-c954-4365-a9f1-27adb436229e.png?v=1744996484",
"alt": "Ash \/ Sterling",
"width": 2000,
"height": 2000
},{
"id": 34414987509895,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10554_AU6L_101_a19cc6b2-725f-4e24-ac06-069a5d4de2f4.jpg?v=1744996484",
"alt": "Ash \/ Sterling",
"width": 2000,
"height": 2000
},{
"id": 34414987542663,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10554_AU6L_103_f8694666-9f7d-4d80-91ba-50acb488ba0e.jpg?v=1744996484",
"alt": "Ash \/ Sterling",
"width": 2000,
"height": 2000
},{
"id": 34414987575431,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/Ahi_-_10554-AU6L_Ash_-_Sterling_2.jpg?v=1744996484",
"alt": "Ash \/ Sterling",
"width": 2000,
"height": 2000
},{
"id": 34414987608199,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10554_AU6L_003_M_AHI_AshSterling_2474c930-944d-4dd7-8e45-e3bc98b5f9d0.png?v=1744996484",
"alt": "Ash \/ Sterling",
"width": 2000,
"height": 2000
},{
"id": 34414987640967,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10554_AU6L_102_a226a075-ae5a-46e6-9636-a1b6ccff0615.jpg?v=1744996484",
"alt": "Ash \/ Sterling",
"width": 2000,
"height": 2000
},{
"id": 34414987673735,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10554_AU6L_104_d085b704-1682-4176-accc-cd7432d24a23.jpg?v=1744996484",
"alt": "Ash \/ Sterling",
"width": 1080,
"height": 1080
},{
"id": 34414987706503,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10554_AU6L_004_M_AHI_AshSterling_ab4e6c88-df8f-4e5d-93a5-5dc866ed6aef.png?v=1744996484",
"alt": "Ash \/ Sterling",
"width": 2000,
"height": 2000
},{
"id": 34414987739271,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/Ash-Wet_Grip.jpg?v=1744996484",
"alt": "Ash \/ Sterling",
"width": 750,
"height": 750
},{
"id": 34414987772039,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10554_AU6L_005_M_AHI_AshSterling_0ccd2385-0c00-44b6-8840-dc258c816634.png?v=1744996484",
"alt": "Ash \/ Sterling",
"width": 2000,
"height": 2000
}],
"plp_image_order_positions": "",
"sku": "10554-AU6L-8"
}
{"id":6536037138567,
"handle":"moku-pae-mens-shoes-trench-blue-off-white",
"title":"Moku Pae - Trench Blue \/ Off White",
"available":true,
"tags":["2024-gift-guide","arch:high","arch:standard","Beach\/Boat","best sellers","best selling","best:beach_boat","best:everday_wear","best:travel","boat shoe","boating sneakers","boatshoes","bundle|1|3|0|1","cat:shoes","color:blue","drop-in heel®","enhance gip","enhanced traction outsole","Everyday Wear","fit:wide","gender:men","interest:driving","labor day","landtextile","likes:beach","likes:exercising","likes:friends","likes:hiking","likes:relaxing","likes:urban-exploring","material:textile","mens","mesh","mock pae","Moke pea","mokea pae","mokepai","moki pae","moko noe","mokpae","moku","moku ae","moku pae","moku peha","moku pei","mokupae","moly pae","navy moku pai","no shoestring","prime","RGroup_10472","shoes","size:large","size:true","split_color","style:10472","swim","swim shoes","Travel","vegan","water-friendly","watershoes","wide toed","wide width","ygroup_10472"],
"type":"Men’s Breathable Boat Shoes",
"options_with_values": [{"name":"Color","position":1,"values":["Trench Blue \/ Off White"]},{"name":"Size","position":2,"values":["7","8","8.5","9","9.5","10","10.5","11","11.5","12","13","14","15"]}],
"price":15000,
"price_min":15000,
"price_max":15000,
"compare_at_price":null,"featured_image": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_001_M_MokuPae_TrbOfw_71ffbee4-40cf-48e5-b4f4-df0de1ecec11.png?v=1762443006",
"featured_image_aspect_ratio": 1.0,
"featured_image_width": 2000,
"featured_image_height": 2000,
"featured_image_id": 34216746385543,
"featured_image_alt": "Trench Blue \/ Off White",
"hover_image": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_101_M_MokuPae_TrbOfw_Web_Opt_1024x1024_572f6511-68d9-43f8-9201-96d98bf72f07.jpg?v=1743633483",
"hover_image_alt": "Trench Blue \/ Off White",
"images": [{
"id": 34216746385543,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_001_M_MokuPae_TrbOfw_71ffbee4-40cf-48e5-b4f4-df0de1ecec11.png?v=1762443006",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
},{
"id": 34216746483847,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_101_M_MokuPae_TrbOfw_Web_Opt_1024x1024_572f6511-68d9-43f8-9201-96d98bf72f07.jpg?v=1743633483",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
},{
"id": 34216746582151,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_201_2226f8da-f71e-45a1-b94a-f580f6805d1b.jpg?v=1743633484",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
},{
"id": 34216746647687,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_103_M_MokuPae_TrbOfw_Web_Opt_1024x1024_jpeg.jpg?v=1743633484",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
},{
"id": 34216746745991,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_203_a5879a13-f389-48ca-9afa-355b067e7c1d.jpg?v=1743633484",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
},{
"id": 34216746811527,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_102_M_MokuPae_TrbOfw_57e319a9-bc88-429a-b8ff-4678b5419e3c.jpg?v=1743633484",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
},{
"id": 34216746877063,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_103_M_MokuPae_TrbOfw_7fe3f7d1-80e7-483c-bde3-0fefae7f0e9b.jpg?v=1743633484",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
},{
"id": 34216746942599,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_202_8dab76cf-91d5-45ef-9e6e-7020d1f064cc.jpg?v=1743633484",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
},{
"id": 34216746975367,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_203_a4672294-6cdc-42b5-9724-b8ee8a3f2e16.jpg?v=1743633484",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
},{
"id": 34216747040903,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_005_M_MokuPae_TrbOfw.png?v=1743633484",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
}],
"plp_image_order_positions": "",
"sku": "10472-DE18-8"
}
{"id":5156390994055,
"handle":"nohea-moku-mens-sneakers-dark-shadow",
"title":"Nohea Moku - Dark Shadow",
"available":true,
"tags":["arch:high","arch:standard","Beach\/Boat","beachbum","best selling","best:beach_boat","best:everday_wear","best:travel","blue-depth","boat","boat shoe","breathable","cat:shoes","collection:day-tripper","collection:HGG-Slider-M","collection:tide-tracker","color:Dark Shadow","color:grey","drop-in heel®","enhance gip","enhanced traction outsole","Everyday Wear","EXP_REC_MEN","extra-colors","fit:wide","foldable heal","gender:men","interest:driving","lightweight","likes:beach","likes:friends","likes:urban-exploring","material:textile","men","mens","men’s","no shoestring","nohea","nohea moku","nohea moly","noheamoku","removable footbed","RGroup_10283","size:true","SP-19-COLOR","SP19-Style","split_color","style:10283","swim shoes","textile","Travel","trendsetter","vacation:city-downtown","vacation:tropical","vegan friendly","water-friendly","wide","wide shoe","wide toed","YGroup_10283"],
"type":"Men’s No Tie Boat Shoes",
"options_with_values": [{"name":"Color","position":1,"values":["Dark Shadow"]},{"name":"Size","position":2,"values":["7","8","8.5","9","9.5","10","10.5","11","11.5","12","13","14","15","16"]}],
"price":15000,
"price_min":15000,
"price_max":15000,
"compare_at_price":null,"featured_image": "\/\/olukai.ca\/cdn\/shop\/products\/10283_6C6C_001_M_NoheaMoku_DksDks.png?v=1762441298",
"featured_image_aspect_ratio": 1.0,
"featured_image_width": 2000,
"featured_image_height": 2000,
"featured_image_id": 17336103665799,
"featured_image_alt": "Dark Shadow",
"hover_image": "\/\/olukai.ca\/cdn\/shop\/files\/10283_6C6C_105_M_NoheaMoku_DksDks.jpg?v=1743440373",
"hover_image_alt": "Dark Shadow",
"images": [{
"id": 17336103665799,
"src": "\/\/olukai.ca\/cdn\/shop\/products\/10283_6C6C_001_M_NoheaMoku_DksDks.png?v=1762441298",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
},{
"id": 32380867543175,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10283_6C6C_105_M_NoheaMoku_DksDks.jpg?v=1743440373",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
},{
"id": 32280685281415,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10283_6C6C_201.jpg?v=1743440373",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
},{
"id": 30474329096327,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/NoheaMoku-DarkShadow-galleryimage-02.jpg?v=1743440373",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
},{
"id": 17336103764103,
"src": "\/\/olukai.ca\/cdn\/shop\/products\/10283_6C6C_004_M_NoheaMoku_DksDks.png?v=1743440373",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
},{
"id": 30474329129095,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/NoheaMoku-DarkShadow-galleryimage-05.jpg?v=1743440373",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
},{
"id": 32380867608711,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10283_6C6C_104_M_NoheaMoku_DksDks.jpg?v=1743440373",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
},{
"id": 32280685248647,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10283_6C6C_202.jpg?v=1743440373",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
},{
"id": 32280685215879,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10283_6C6C_203.jpg?v=1743440373",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
},{
"id": 17336103796871,
"src": "\/\/olukai.ca\/cdn\/shop\/products\/10283_6C6C_005_M_NoheaMoku_DksDks.png?v=1743440373",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
}],
"plp_image_order_positions": "",
"sku": "10283-6C6C-8"
}
{"id":6686398447751,
"handle":"ulele-mens-beach-sandals-blue-depth-charcoal",
"title":"Ulele - Blue Depth \/ Charcoal",
"available":true,
"tags":["2024-gift-guide","arch:high","as seen on tv","beach sandals","Beach\/Boat","best sellers","best selling","best:beach_boat","best:everday_wear","best:travel","cat:sandals","color:blue","commercial","enhance gip","enhanced traction footbed","enhanced traction outsole","Everyday Wear","fit:wide","flip flops","gender:men","material:synthetic","men s flipslops","mens","Mens sansandals","olele","oolele","RGroup_10435","sandals","seen on tv","size:true","split_color","style:10435","synthetic","Travel","tv","tv ad","uelele","uiele","ule","ulee flip","Ulele-","uleleulele","uleue","ulule","vegan","water-friendly","wide width"],
"type":"Men’s Water-Ready Beach Sandals",
"options_with_values": [{"name":"Color","position":1,"values":["Blue Depth \/ Charcoal"]},{"name":"Size","position":2,"values":["7","8","9","10","11","12","13","14","15"]}],
"price":11000,
"price_min":11000,
"price_max":11000,
"compare_at_price":null,"featured_image": "\/\/olukai.ca\/cdn\/shop\/files\/10435_TF26_001_M_Ulele_BlueDepthChr.png?v=1759447722",
"featured_image_aspect_ratio": 1.0,
"featured_image_width": 2000,
"featured_image_height": 2000,
"featured_image_id": 34250983538823,
"featured_image_alt": "Blue Depth \/ Charcoal",
"hover_image": "\/\/olukai.ca\/cdn\/shop\/files\/10435_TF26_102_M_ULELE_BlueDepthCharcoal_3a4753f8-7d9b-4661-ab19-4fa9eb43df8c.jpg?v=1746706349",
"hover_image_alt": "Blue Depth \/ Charcoal",
"images": [{
"id": 34250983538823,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10435_TF26_001_M_Ulele_BlueDepthChr.png?v=1759447722",
"alt": "Blue Depth \/ Charcoal",
"width": 2000,
"height": 2000
},{
"id": 34587117781127,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10435_TF26_102_M_ULELE_BlueDepthCharcoal_3a4753f8-7d9b-4661-ab19-4fa9eb43df8c.jpg?v=1746706349",
"alt": "Blue Depth \/ Charcoal",
"width": 2000,
"height": 2000
},{
"id": 34587117813895,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10435_TF26_201.jpg?v=1746706349",
"alt": "Blue Depth \/ Charcoal",
"width": 2000,
"height": 2000
},{
"id": 34587117846663,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10435_TF26_101_M_ULELE_BlueDepthCharcoal_29facb9e-4bd9-4167-a614-54000ca5980b.jpg?v=1746706349",
"alt": "Blue Depth \/ Charcoal",
"width": 2000,
"height": 2000
},{
"id": 34587117879431,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10435_TF26_003_M_Ulele_BlueDepthChr_c57d011f-df5e-4d2e-9f24-47b6fdae98d3.png?v=1746706349",
"alt": "Blue Depth \/ Charcoal",
"width": 2000,
"height": 2000
},{
"id": 34250983702663,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10435_TF26_202_3e4ed1da-48d9-43c5-8d4f-c278b69f5015.jpg?v=1746706349",
"alt": "Blue Depth \/ Charcoal",
"width": 2000,
"height": 2000
},{
"id": 34250983735431,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10435_TF26_004_M_Ulele_BlueDepthChr.png?v=1746706349",
"alt": "Blue Depth \/ Charcoal",
"width": 2000,
"height": 2000
},{
"id": 34250983768199,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10435_TF26_103_M_ULELE_BlueDepthCharcoal_e2f72db6-e44b-4fae-94ba-280b7d108bc5.jpg?v=1746706349",
"alt": "Blue Depth \/ Charcoal",
"width": 2000,
"height": 2000
},{
"id": 34250983800967,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10435_TF26_203_bcb9738d-77d7-4088-89ea-e899fd550a96.jpg?v=1746706349",
"alt": "Blue Depth \/ Charcoal",
"width": 2000,
"height": 2000
},{
"id": 34250983833735,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10435_TF26_005_M_Ulele_BlueDepthChr.png?v=1746706349",
"alt": "Blue Depth \/ Charcoal",
"width": 2000,
"height": 2000
}],
"plp_image_order_positions": "",
"sku": "10435-TF26-7"
}
Gallery
{ $dispatch('product-item:images-changed', { product: product, source: 'swatch-container' }) })"
@pointercancel="intendedSwatchIndex = null; intendedSwatchEl = null"
x-data="{
wrapper: $el,
selectedSibling:product.siblings[0],
intendedSwatchIndex: null,
intendedSwatchEl: null,
swatchGap: 8,
scrollable: product.siblings.filter(s => !!s.available).length > 9.5,
canPrev: false,
canNext: true,
_edgeReady: false,
imageLimit: 0,
limitImages(nextProduct) {
const images = Array.isArray(nextProduct && nextProduct.images) ? nextProduct.images : [];
const limitedImages = this.imageLimit > 0 ? images.slice(0, this.imageLimit) : images;
const hoverImage = limitedImages[1] || null;
return Object.assign({}, nextProduct, {
images: limitedImages,
hover_image: hoverImage ? hoverImage.src : null,
hover_image_alt: hoverImage ? hoverImage.alt : null
});
},
selectProduct(nextProduct) {
const productRoot = $el.closest('.product-item');
const productData = productRoot && productRoot._x_dataStack && productRoot._x_dataStack[0];
if (productData && typeof productData.setProduct === 'function') {
productData.setProduct(nextProduct);
} else {
$data.product = this.limitImages(nextProduct);
}
},
getSwatchImageSrc(sibling) {
return sibling.images[0].src;
},
buildSwatchSrcset(src) {
if (!src) return '';
const widths = ['48', '96', '192'];
const separator = src.includes('?') ? '&' : '?';
return widths.map(w => `${src}${separator}width=${w} ${w}w`).join(', ');
},
isSwatchPriority(index) {
return window.innerWidth >= 1024 ? index < 3 : index < 2;
},
swatchBg(sibling) {
// swatch_bg precomputed at hydration. Nullish (not ||): null = no colors set
// (fall back to theme default), empty string = invalid combo, no fallback.
return sibling.swatch_bg ?? '#000000';
},
centerSwatch(el) {
if ($data.wrapper.scrollWidth <= $data.wrapper.clientWidth) return false
const wrapperRect = $data.wrapper.getBoundingClientRect()
const elRect = el.getBoundingClientRect()
const centerPoint = wrapperRect.x + (wrapperRect.width / 2)
const behavior = window.innerWidth < 1024 ? 'auto' : 'smooth'
$data.wrapper.scrollTo({
left: $data.wrapper.scrollLeft + (elRect.x - centerPoint + (elRect.width / 2)),
behavior
})
},
selectSwatchFromTap(siblingIndex, el) {
const idx = (this.intendedSwatchIndex !== null && this.intendedSwatchIndex !== undefined)
? this.intendedSwatchIndex
: siblingIndex
const targetEl = this.intendedSwatchEl || el
this.intendedSwatchIndex = null
this.intendedSwatchEl = null
const next = product.siblings[idx]
if (next) product = next
this.centerSwatch(targetEl)
},
scroll(direction = 'forward') {
const swatch = $data.wrapper.querySelector('.product-item__swatch')
const unit = swatch ? swatch.offsetWidth + $data.swatchGap : $data.wrapper.clientWidth * 0.3
let amount = 2 * unit
$data.wrapper.scrollTo({
left: direction == 'forward' ? $data.wrapper.scrollLeft + amount : $data.wrapper.scrollLeft - amount,
behavior:'smooth'
})
},
// Lazily wire the prev/next edge detection on first desktop hover/focus —
// the arrows are a desktop affordance, so no observer is built at load and
// none is ever built on mobile. canPrev/canNext default to the at-start state.
initSwatchEdges() {
if (this._edgeReady || window.innerWidth <= 1023) return
this._edgeReady = true
const root = this.wrapper
const swatches = root.querySelectorAll('.product-item__swatch')
if (swatches.length < 2) return
const first = swatches[0], last = swatches[swatches.length - 1]
const io = new IntersectionObserver((entries) => {
const d = window.Alpine && window.Alpine.$data ? window.Alpine.$data(root) : null
if (!d) return
entries.forEach((e) => {
if (e.target === first) d.canPrev = !e.isIntersecting
if (e.target === last) d.canNext = !e.isIntersecting
})
}, { root, threshold: 0.99 })
io.observe(first)
io.observe(last)
root._swatchEdgeIO = io
}
}"
@pointerenter="initSwatchEdges()"
@focusin="initSwatchEdges()"
>