1"use strict";(self.webpackChunkshop=self.webpackChunkshop||[]).push([[5125,5723,7506,8104],{97506:(e,n,a)=>{a.r(n),a.d(n,{Trans:()=>r.x6,default:()=>t.Ay,i18n:()=>t.Ay,useTranslation:()=>r.Bd,withI18n:()=>p});var t=a(87705),r=a(48737),o=a(54322),l=a(30335),s=a.n(l),u=a(71504),i=a(76355),g=a(26050);let d=null;var c=a(65723);const f=({children:e,useViewerLang:n,resolveFile:a,options:l,Loader:s})=>{const f=n(),[p,y]=(0,o.useState)(!1),h=e=>{e&&(document.documentElement.lang=e)};return(0,o.useEffect)(()=>(async function(e,n,a){if(d)return void await d;if(t.Ay.isInitialized)return;const o={name:"customNavigator",lookup(){var e;if(null===(e=navigator)||void 0===e||!e.languages)return;const n=navigator.language;return n.startsWith("is")||navigator.languages.find(e=>e.startsWith("is"))?"is-IS":u.SUPPORTED_LOCALES[n]?n:navigator.languages.find(e=>u.SUPPORTED_LOCALES[e])}},l={name:"userSettingsLang",lookup:()=>n&&(0,u.getLocale)(n)||void 0},s=new i.A(null,{order:["querystring","userSettingsLang","cookie","customNavigator"],lookupQuerystring:"lang",lookupCookie:"lang"});s.addDetector(o),s.addDetector(l),d=t.Ay.use(s).use(r.r9).use((0,g.A)((n,a,t)=>{e(n,a).then(e=>{t(null,e)}).catch(e=>{t(e,null)})})).init({ns:["shared"],defaultNS:"shared",fallbackLng:u.FALLBACK_LANG,debug:!1,interpolation:{escapeValue:!1},returnNull:!1,load:"languageOnly",...a}),await d,d=null}(a,f,l).then(()=>{h(t.Ay.language),y(!0)}),t.Ay.on("languageChanged",h),()=>t.Ay.off("languageChanged",h)),[]),p?e:s?(0,c.jsx)(s,{}):null},p=(e,n,a,t)=>r=>{const o=()=>(0,c.jsx)(f,{useViewerLang:e,resolveFile:n,options:a,Loader:t,children:(0,c.jsx)(r,{})});return s()(o,r),o.displayName=`WithI18n(${(0,u.getComponentDisplayName)(r)})`,o}},62921:(e,n,a)=>{ 2/** 3 * @license React 4 * react-jsx-runtime.production.min.js 5 * 6 * Copyright (c) Facebook, Inc. and its affiliates. 7 * 8 * This source code is licensed under the MIT license found in the 9 * LICENSE file in the root directory of this source tree. 10 */ 11var t=a(54322),r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function i(e,n,a){var t,o={},i=null,g=null;for(t in void 0!==a&&(i=""+a),void 0!==n.key&&(i=""+n.key),void 0!==n.ref&&(g=n.ref),n)l.call(n,t)&&!u.hasOwnProperty(t)&&(o[t]=n[t]);if(e&&e.defaultProps)for(t in n=e.defaultProps)void 0===o[t]&&(o[t]=n[t]);return{$$typeof:r,type:e,key:i,ref:g,props:o,_owner:s.current}}n.Fragment=o,n.jsx=i,n.jsxs=i},65723:(e,n,a)=>{e.exports=a(62921)}}]);
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.