PageSourceSearch

https://assets.wearewild.com/_astro/refillCollections.astro_astro_…?dpl=6ab51da1c4083900085d820c

js wearewild.com collected 2026-09-24 18:51:13 UTC 2,251 bytes, 1 lines download raw bytes

1!function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"09b2aebe403d89770dd9bdf951be54b55f07a4f9"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="817af2af-95ea-4bb2-97a0-70e255750dc1",e._sentryDebugIdIdentifier="sentry-dbid-817af2af-95ea-4bb2-97a0-70e255750dc1")}catch{}}();import{t as e}from"./module.esm.DZqsrRn5.js?dpl=6ab51da1c4083900085d820c";import{t}from"./locale-configs.D6bRQA2E.js?dpl=6ab51da1c4083900085d820c";import{t as n}from"./emitters.B8ZeQxfX.js?dpl=6ab51da1c4083900085d820c";import{t as r}from"./format.T0wocV9_.js?dpl=6ab51da1c4083900085d820c";import{t as i}from"./refillCollectionsExperiment.DaUJc1Bi.js?dpl=6ab51da1c4083900085d820c";var a="${price}";e.data("refillCollections",e=>{let o=n(e.parentScope,e.parentId),{currencyCode:l,langCode:s}=t();return{variant:"og",selectedCollectionId:e.selectedCollectionId,collections:e.collections,shouldRender:e.shouldRender,init(){i(e=>{this.variant=e}),o.on("refill-collection:select",({collectionId:t,stepId:i})=>{i===e.stepId&&(this.selectedCollectionId=t)}),o.on("refill-collections:update",t=>{t.stepId===e.stepId&&(this.collections=t.filters,this.shouldRender=t.shouldRender)})},get isActive(){return"og"!==this.variant&&this.shouldRender&&this.collections.length>0},get showsHeading(){return"v1"===this.variant||"v2"===this.variant},get showsThumbnail(){return"v1"===this.variant},get showsDescription(){return"v2"===this.variant},get showsCount(){return"v3"===this.variant},priceLabel(t){if(t.fromPrice<=0)return"";let i="v2"===this.variant?e.copy.fromPriceEach:e.copy.fromPrice;return"v3"!==this.variant&&i?i.replace(a,r(t.fromPrice,l,s)):""},handleClick(t){if(window.Kameleoon&&window.Kameleoon.API.Goals.processConversion(429609),this.isSelected(t))return;this.selectedCollectionId=t;let i=this.collections.find(({id:e})=>e===t);o.emit("refill-collection:selected",{collectionId:t,stepId:e.stepId,identifier:i?.identifier??t,totalCount:i?.count??0,variant:this.variant})},isSelected(e){return this.selectedCollectionId===e},getCollectionLabel(e){return"v2"===this.variant?`${e.label} ${e.emoji}`.trim():`${e.emoji} ${e.label}`.trim()}}});

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.