1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7117],{21679:e=>{let t={login:{route:"login",sv:"logga-in"},"sign-up":{route:"sign-up",sv:"bli-medlem"},"forgot-password":{route:"forgot-password",sv:"glomt-losenord"},"reset-password":{route:"reset-password",sv:"aterstall-losenord"},"change-password":{route:"change-password",sv:"byt-losenord"},favourites:{route:"favourites",sv:"favoriter"},search:{route:"search",sv:"sok"},stores:{route:"stores",sv:"butiker"},creator:{route:"creator",sv:"kreatorer"},"creator/authors":{route:"creator/authors",sv:"kreatorer/forfattare"},"creator/editors":{route:"creator/editors",sv:"kreatorer/redaktorer"},"creator/illustrators":{route:"creator/illustrators",sv:"kreatorer/illustratorer"},"creator/game-creators":{route:"creator/game-creators",sv:"kreatorer/speldesigners"},universe:{route:"universe",sv:"universum"},"game-family":{route:"game-family",sv:"spelfamilj"},publisher:{route:"publisher",sv:"forlag"},series:{route:"series",sv:"serier"},"staff-tips":{route:"staff-tips",sv:"personalen-tipsar"},"staff-tips/staff-members":{route:"staff-tips/staff-members",sv:"personalen-tipsar/medarbetare"},"checkout-login":{route:"checkout-login",sv:"kassa"},"checkout-payment":{route:"checkout-payment",sv:"betala"},"checkout-success":{route:"checkout-success",sv:"bestallning-klar"},"delivery-information":{route:"delivery-information",sv:"leveransinformation"},customerservice:{route:"customerservice",sv:"kundtjanst"},mypage:{route:"mypage",sv:"mina-sidor"},"mypage/my-profile":{route:"mypage/my-profile",sv:"mina-sidor/min-profil"},"mypage/order-history":{route:"mypage/order-history",sv:"mina-sidor/orderhistorik"},"mypage/order-history/change-address":{route:"mypage/order-history/change-address",sv:"mina-sidor/orderhistorik/andra-adress"},"mypage/saved-carts":{route:"mypage/saved-carts",sv:"mina-sidor/sparade-varukorgar"},"mypage/returns":{route:"mypage/returns",sv:"mina-sidor/returer"},"mypage/returns/create":{route:"mypage/returns/create",sv:"mina-sidor/returer/skapa"},"mypage/quotations":{route:"mypage/quotations",sv:"mina-sidor/offerter"},"mypage/watchlists":{route:"mypage/watchlists",sv:"mina-sidor/bevakningar"},"shared-wishlist":{route:"shared-wishlist",sv:"delad-onskelista"},"watch-confirmed":{route:"watch-confirmed",sv:"bevakning-bekraftad"},"watch-unsubscribed":{route:"watch-unsubscribed",sv:"bevakning-avslutad"},"/":{route:"",sv:""}},r=["creator","series","publisher","game-family","universe"];e.exports={URL_CONFIG:t,getLocalizedPath:function(e,r){let o=t[e];if(!o)return"/".concat(r,"/").concat(e);let a="sv"===r&&o.sv?o.sv:o.route;return"/".concat(r,"/").concat(a)},localizeKnownPath:function(e,r){if(!e||"string"!=typeof e||!e.startsWith("/"))return e;let o=e.split("/").filter(Boolean);if(o.length<2||o[0]!==r)return e;for(let e=o.length-1;e>0;e--){let a=o.slice(1,1+e).join("/"),s=t[a];if(!s||s.route!==a)continue;let n="sv"===r&&s.sv?s.sv:s.route,i=o.slice(1+e).join("/");return i?"/".concat(r,"/").concat(n,"/").concat(i):"/".concat(r,"/").concat(n)}return e},generateSwedishRewrites:function(){let e=[],r=[];for(let[o,a]of Object.entries(t))a.sv&&a.sv!==a.route&&(e.push({source:"/sv/".concat(a.sv),destination:"/sv/".concat(a.route),locale:!1}),e.push({source:"/sv/b2b/".concat(a.sv),destination:"/sv/".concat(a.route),locale:!1}),(o.includes("order-history")||o.includes("change-address")||o.includes("saved-carts")||"mypage/returns"===o||"mypage/quotations"===o||"mypage/returns/create"===o||"shared-wishlist"===o||"stores"===o||"creator"===o||o.startsWith("creator/")||"universe"===o||"game-family"===o||"publisher"===o||"series"===o||"staff-tips"===o||"staff-tips/staff-members"===o)&&(r.push({source:"/sv/".concat(a.sv,"/:path*"),destination:"/sv/".concat(a.route,"/:path*"),locale:!1}),r.push({source:"/sv/b2b/".concat(a.sv,"/:path*"),destination:"/sv/".concat(a.route,"/:path*"),locale:!1})));return r.sort((e,t)=>t.source.length-e.source.length),[...e,...r]},generateEnglishSlugRedirects:function(){let e=[];for(let o of Object.keys(t).filter(e=>r.includes(e.split("/")[0])).sort((e,t)=>t.length-e.length)){let r=t[o];if(!r.sv||r.sv===r.route)continue;e.push({source:"/sv/".concat(r.route),destination:"/sv/".concat(r.sv),statusCode:308,locale:!1}),e.push({source:"/sv/".concat(r.route,"/:path*"),destination:"/sv/".concat(r.sv,"/:path*"),statusCode:308,locale:!1});let a=r.sv.split("/")[0],s=r.route.split("/").slice(1).join("/");if(!s)continue;let n="/sv/".concat(a,"/").concat(s);n!=="/sv/".concat(r.sv)&&(e.push({source:n,destination:"/sv/".concat(r.sv),statusCode:308,locale:!1}),e.push({source:"".concat(n,"/:path*"),destination:"/sv/".concat(r.sv,"/:path*"),statusCode:308,locale:!1}))}return e}}},36003:(e,t,r)=>{r.d(t,{JN:()=>a,mH:()=>i,ot:()=>n,xS:()=>s});var o=r(21679),a=function(e){return e.Cart="cart",e.Favourites="favourites",e.ForgotPassword="forgot-password",e.CheckoutLogin="checkout-login",e.CheckoutPayment="checkout-payment",e.CheckoutSuccess="checkout-success",e.DeliveryInformation="delivery-information",e.ChangePassword="change-password",e.Login="login",e.MyPages="mypage",e.MyProfile="mypage/my-profile",e.OrderHistory="mypage/order-history",e.ResetPassword="reset-password",e.SignUp="sign-up",e.Search="search",e.Stores="stores",e.Creator="creator",e.Universe="universe",e.GameFamily="game-family",e.Publisher="publisher",e.Series="series",e.StaffTips="staff-tips",e.StaffMembers="staff-tips/staff-members",e.CustomerService="customerservice",e.SavedCarts="mypage/saved-carts",e.Returns="mypage/returns",e.ChangeOrderAddress="mypage/order-history/change-address",e.CreateReturn="mypage/returns/create",e.Quotations="mypage/quotations",e.QuotationDetail="mypage/quotations",e.Watchlists="mypage/watchlists",e.SharedWishlist="shared-wishlist",e.HomePage="/",e}({});let s=function(e,t){let r=arguments.length>
12&&void 0!==arguments[2]&&arguments[2],a=(0,o.getLocalizedPath)(e,t);return r?a.replace("/".concat(t,"/"),"/".concat(t,"/b2b/")):a},n=(e,t)=>{if(e)return(0,o.localizeKnownPath)(e,t)},i=e=>{var t;if(!e||!e.startsWith("/"))return null!=e?e:void 0;let r=e.split("/")[1];return null!=(t=n(e,r))?t:e}},93607:(e,t,r)=>{function o(e){return e||(window.location.pathname.includes("/b2b")?"SHOP2":"SHOP1")}function a(e){if(e)return e;let t=window.location.pathname.split("/");return t.length>1&&["sv","en"].includes(t[1])?t[1]:"sv"}async function s(e,t){let r=await fetch("/api/backend/checkoutSetCountryOnCart",{method:"POST",headers:{"Content-Type":"application/json","x-domain":o(null==t?void 0:t.xDomain),"x-locale":a(null==t?void 0:t.locale)},body:JSON.stringify({request:e}),signal:null==t?void 0:t.signal});if(!r.ok)throw Error((await r.json().catch(()=>({error:"Request failed"}))).error||"HTTP ".concat(r.status));return r.json()}async function n(e,t){let r=await fetch("/api/backend/cartCalculate",{method:"POST",headers:{"Content-Type":"application/json","x-domain":o(null==t?void 0:t.xDomain),"x-locale":a(null==t?void 0:t.locale)},body:JSON.stringify({clientCart:e}),signal:null==t?void 0:t.signal});if(!r.ok)throw Error((await r.json().catch(()=>({error:"Request failed"}))).error||"HTTP ".concat(r.status));return r.json()}async function i(e,t){let r=await fetch("/api/backend/cartPreviewShipmentPlan",{method:"POST",headers:{"Content-Type":"application/json","x-domain":o(null==t?void 0:t.xDomain),"x-locale":a(null==t?void 0:t.locale)},body:JSON.stringify({request:e}),signal:null==t?void 0:t.signal});if(!r.ok)throw Error((await r.json().catch(()=>({error:"Request failed"}))).error||"HTTP ".concat(r.status));return r.json()}async function c(e,t){let r=await fetch("/api/backend/ordersGetOrder",{method:"POST",headers:{"Content-Type":"application/json","x-domain":o(null==t?void 0:t.xDomain),"x-locale":a(null==t?void 0:t.locale)},body:JSON.stringify({orderId:e}),signal:null==t?void 0:t.signal});if(!r.ok)throw Error((await r.json().catch(()=>({error:"Request failed"}))).error||"HTTP ".concat(r.status));return r.json()}async function l(e,t,r){let s=await fetch("/api/backend/productsByIdentifiers",{method:"POST",headers:{"Content-Type":"application/json","x-domain":o(null==r?void 0:r.xDomain),"x-locale":a(null==r?void 0:r.locale)},body:JSON.stringify({listMode:e,identifiers:t}),signal:null==r?void 0:r.signal});if(!s.ok)throw Error((await s.json().catch(()=>({error:"Request failed"}))).error||"HTTP ".concat(s.status));return s.json()}async function u(e,t){let r=await fetch("/api/backend/productsVisibleIdentifiers",{method:"POST",headers:{"Content-Type":"application/json","x-domain":o(null==t?void 0:t.xDomain),"x-locale":a(null==t?void 0:t.locale)},body:JSON.stringify({identifiers:e}),signal:null==t?void 0:t.signal});if(!r.ok)throw Error((await r.json().catch(()=>({error:"Request failed"}))).error||"HTTP ".concat(r.status));return r.json()}async function d(e,t){let r=await fetch("/api/backend/productsListRows",{method:"POST",headers:{"Content-Type":"application/json","x-domain":o(null==t?void 0:t.xDomain),"x-locale":a(null==t?void 0:t.locale)},body:JSON.stringify({identifiers:e}),signal:null==t?void 0:t.signal});if(!r.ok)throw Error((await r.json().catch(()=>({error:"Request failed"}))).error||"HTTP ".concat(r.status));return r.json()}async function h(e){let t=await fetch("/api/backend/routesCommonPageData",{method:"POST",headers:{"Content-Type":"application/json","x-domain":o(null==e?void 0:e.xDomain),"x-locale":a(null==e?void 0:e.locale)},signal:null==e?void 0:e.signal});if(!t.ok)throw Error((await t.json().catch(()=>({error:"Request failed"}))).error||"HTTP ".concat(t.status));return t.json()}async function p(e,t){let r=await fetch("/api/backend/searchInstant",{method:"POST",headers:{"Content-Type":"application/json","x-domain":o(null==t?void 0:t.xDomain),"x-locale":a(null==t?void 0:t.locale)},body:JSON.stringify({text:e}),signal:null==t?void 0:t.signal});if(!r.ok)throw Error((await r.json().catch(()=>({error:"Request failed"}))).error||"HTTP ".concat(r.status));return r.json()}r.d(t,{AZI:()=>l,C9f:()=>p,Et4:()=>i,FGJ:()=>n,KkD:()=>c,QN3:()=>d,XS8:()=>u,dkC:()=>h,q40:()=>s})}}]);
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.