PageSourceSearch

https://static.hbx.com/build/shop/664.58fd07ae.js

js hbx.com collected 2026-09-24 09:46:10 UTC 2,157 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[664],{27404:(e,t,a)=>{a.d(t,{v5:()=>i,zD:()=>s});var n=a(27484),o=a.n(n),r=(0,a(86917).v)("hbx_location_mismatch",(function(e){return"".concat(e.locale,"|").concat(e.country)}),void 0,{expiredDays:30,getTimestamp:function(e){return e.createdAt}}),l=r.loadAll,c=r.save,s=(r.clear,r.isValidByString,function(e,t){var a;return null!==(a=l().find((function(a){return a.locale===e&&a.country===t})))&&void 0!==a?a:null}),i=function(e,t){var a={locale:e,country:t,createdAt:o()().unix().toString()};c(a)}},40664:(e,t,a)=>{a.r(t),a.d(t,{default:()=>s});var n=a(65961);var o=a(70398),r=a(9787),l=a(27404);const c=(0,n.defineComponent)({components:{LocaleSettingsBase:o.LocaleSettings},props:{redirect:{type:String},redirectParams:{type:String,default:"{}"},settings:{type:Object,required:!0},shouldShowTick:{type:Boolean,default:!1}},setup:function(){var e,t,a=null===(e=(0,n.inject)("assets"))||void 0===e?void 0:e.get("svgIcon");return{visibleLocaleDisplayNames:(0,n.computed)((function(){return r.g3})),svgIconBaseUrl:null!==(t=null==a?void 0:a.hbx)&&void 0!==t?t:"",onLocaleChange:function(e){l.v5(e.locale,e.country)},closeDropdown:function(){var e=document.querySelector('[data-dropdown="locale"][aria-haspopup="listbox"]'),t=document.querySelector('[data-nav-target="dropdown"][data-dropdown="locale"]');t&&!t.classList.contains("invisible")&&(t.classList.add("invisible"),t.setAttribute("aria-hidden","true")),e&&(e.setAttribute("aria-expanded","false"),e.focus())}}}});const s=(0,a(83744).Z)(c,[["render",function(e,t,a,o,r,l){var c=(0,n.resolveComponent)("LocaleSettingsBase");return(0,n.openBlock)(),(0,n.createBlock)(c,{settings:e.settings,"locale-display-names":e.visibleLocaleDisplayNames,"should-show-tick":e.shouldShowTick,redirect:e.redirect,"redirect-params":e.redirectParams,"svg-icon-base-url":e.svgIconBaseUrl,"aria-label":e.$t("hbx.a11y.locale.select_language"),onLocaleChange:e.onLocaleChange,onEscape:e.closeDropdown},null,8,["settings","locale-display-names","should-show-tick","redirect","redirect-params","svg-icon-base-url","aria-label","onLocaleChange","onEscape"])}]])}}]);

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.