PageSourceSearch

https://abonnement.1881.no/_next/static/chunks/10uwr~od.ibj1.js

js 1881.no collected 2026-09-24 09:23:06 UTC 14,467 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="b7f0ad07-5ee1-d714-a8ec-481b6449e50d")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,116812,25853,e=>{"use strict";var t={NOK:{name:"NOK",identifier:"default",currency:"NOK"}};[...[...Object.values(t)].map(e=>e.currency)];var a={NO:{name:"NO",identifier:"default"}};[...Object.values(a)];var r={NO:{standard:25,reduced:16,zero:0}};Object.values(r);var n={identifier:"no",name:"Norway",displayName:"Norge",displayNames:{"nb-NO":"Norge"},defaultLocale:"nb-NO",region:"NO",territory:"NOR",locales:["nb-NO"],currency:"NOK",priceVariant:t.NOK,taxRate:r.NO,stockLocations:[a.NO],hidden:!1,units:"metric"},i={NO:n},o={NO:"no"},s=[...Object.values(i)];o.NO,i.NO,[...Object.values(o)];var l=[...new Set(s.flatMap(e=>e.locales))],c={Vipps:"vipps",Dintero:"dintero",Strex:"strex"};[...Object.values(c)],e.s(["PaymentProvider",0,c,"defaultMarket",0,n,"getMarketByRegion",0,function(e){return s.find(t=>t.region===e)},"locales",0,l],25853);let u=n.defaultLocale;e.s(["defaultLocale",0,u,"pathToLocaleMapping",0,{"nb-NO":"/nb"},"pathnames",0,{"/":"/","/sitemap.xml":"/sitemap.xml","/[...slugs]":"/[...slugs]","/app":{"nb-NO":"/app"},"/download":{"nb-NO":"/last-ned"},"/payment":{"nb-NO":"/betaling"},"/account":{"nb-NO":"/abonnement"},"/account/cancel":{"nb-NO":"/abonnement/avslutt"},"/checkout":{"nb-NO":"/utsjekk"},"/checkout/[sku]":{"nb-NO":"/utsjekk/[sku]"},"/receipts":{"nb-NO":"/kvittering"},"/receipts/[reference]":{"nb-NO":"/kvittering/[reference]"}}],116812)},764808,e=>{"use strict";var t=e.i(238381),a=e.i(914543),r=e.i(488861),n=a["use".trim()],i=e.i(518847),o=e.i(829114),s=e.i(458440),l=e.i(353606),c=e.i(858207),u=e.i(25853),d=e.i(116812);let{Link:p,redirect:h,usePathname:m,getPathname:f,useRouter:g}=function(e){let{Link:u,config:d,getPathname:p,...h}=function(e,r){var c,u,d;let p={...c=r||{},localePrefix:"object"==typeof(d=c.localePrefix)?d:{mode:d||"always"},localeCookie:!!((u=c.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof u&&u},localeDetection:c.localeDetection??!0,alternateLinks:c.alternateLinks??!0},h=p.pathnames,m=(0,a.forwardRef)(function({href:t,locale:a,...r},s){let c,u;"object"==typeof t?(c=t.pathname,u=t.params):c=t;let d=(0,i.isLocalizableHref)(t),m=e(),g=(0,i.isPromise)(m)?n(m):m,P=d?f({locale:a||g,href:null==h?c:{pathname:c,params:u},forcePrefix:null!=a||void 0}):c;return(0,l.jsx)(o.default,{ref:s,href:"object"==typeof t?{...t,pathname:P}:P,locale:a,localeCookie:p.localeCookie,...r})});function f(e){let t,{forcePrefix:a,href:r,locale:n}=e;return null==h?"object"==typeof r?(t=r.pathname,r.query&&(t+=(0,s.serializeSearchParams)(r.query))):t=r:t=(0,s.compileLocalizedPathname)({locale:n,...(0,s.normalizeNameOrNameWithParams)(r),pathnames:p.pathnames}),(0,s.applyPathnamePrefix)(t,n,p,a)}function g(e){return function(t,...a){return e(f(t),...a)}}return{config:p,Link:m,redirect:g(t.redirect),permanentRedirect:g(t.permanentRedirect),getPathname:f}}(r.useLocale,e);return{...h,Link:u,usePathname:function(){let e,n,o=(e=(0,t.usePathname)(),n=(0,r.useLocale)(),(0,a.useMemo)(()=>{if(!e)return e;let t=e,a=(0,i.getLocalePrefix)(n,d.localePrefix);if((0,i.hasPathnamePrefixed)(a,e))t=(0,i.unprefixPathname)(e,a);else if("as-needed"===d.localePrefix.mode&&d.localePrefix.prefixes){let a=(0,i.getLocaleAsPrefix)(n);(0,i.hasPathnamePrefixed)(a,e)&&(t=(0,i.unprefixPathname)(e,a))}return t},[d.localePrefix,n,e])),l=(0,r.useLocale)();return(0,a.useMemo)(()=>o&&d.pathnames?(0,s.getRoute)(l,o,d.pathnames):o,[l,o])},useRouter:function(){let e=(0,t.useRouter)(),n=(0,r.useLocale)(),i=(0,t.usePathname)();return(0,a.useMemo)(()=>{function t(e){return function(t,a){let{locale:r,...o}=a||{},s=[p({href:t,locale:r||n})];Object.keys(o).length>0&&s.push(o),(0,c.default)(d.localeCookie,i,n,r),e(...s)}}return{...e,push:t(e.push),replace:t(e.replace),prefetch:t(e.prefetch)}},[n,i,e])},getPathname:p}}({locales:u.locales,defaultLocale:d.defaultLocale,localePrefix:{mode:"as-needed",prefixes:d.pathToLocaleMapping},localeCookie:{maxAge:31536e3},pathnames:d.pathnames});e.s(["Link",0,p,"getPathname",0,f,"usePathname",0,m,"useRouter",0,g],764808)},11881,e=>{"use strict";var t=e.i(353606),a=e.i(914543),r=e.i(732091);e.i(553663);var n=e.i(856883),i=e.i(53717),o=e.i(703576),s=e.i(400684),l=e.i(752216),c=e.i(764808);e.s(["AppLinksClient",0,function({appleAppStoreId:e,googlePlayStoreId:u,initialPlatform:d,withExtraButton:p}){let h=(0,r.useTranslations)("DownloadApp"),[m,f]=(0,a.useState)(d||"unknown");if((0,a.useEffect)(()=>{d||f((0,l.getPlatformFromUserAgent)(navigator.userAgent))},[d]),"unknown"===m)return(0,t.jsx)("div",{className:(0,s.cn)("h-12")});let g=e?`https://itunes.apple.com/app/${e}?mt=8`:null,P=u?`https://play.google.com/store/apps/details?id=${u}`:null;return(0,t.jsxs)("div",{children:[p&&("ios"===m&&g||"android"==m&&P)?(0,t.jsx)(o.Button,{className:"mb-8",darkMode:!0,size:"md",as:c.Link,href:"ios"===m?g:P,children:h("download-or-open")}):null,(0,t.jsxs)("div",{className:(0,s.cn)("flex h-12 items-center justify-center gap-4"),children:[g&&"android"!==m&&(0,t.jsx)("a",{href:g,target:"_blank",rel:"noreferrer",className:(0,s.cn)(""),children:(0,t.jsx)(n.AppleAppStoreBadgeNO,{className:(0,s.cn)("block h-12 w-auto")})}),P&&"ios"!==m&&(0,t.jsx)("a",{href:P,target:"_blank",rel:"noreferrer",className:(0,s.cn)(""),children:(0,t.jsx)(i.GooglePlayStoreBadgeNO,{className:(0,s.cn)("block h-12 w-auto")})})]})]})}])},834288,e=>{"use strict";e.s(["AuthProvider",0,{SSO:"whydah",OTP:"tokenservice",Intent:"intent"},"CookieKey",0,{Cart:"1881-cart",PendingPhone:"pending-phone",PinExpiresAt:"pin-expires-at",Campaign:"campaign"},"EMAIL_REGEX",0,/^[^\s@]+@[^\s@]+\.[^\s@]+$/,"SubscriptionContractStatus",0,{Pending:"PENDING",Active:"ACTIVE",Canceled:"CANCELED",Stopped:"STOPPED",Failed:"FAILED",Expired:"EXPIRED"},"WHYDAH_PIN_TTL",0,6e5])},731972,763626,163128,447807,294569,588732,93180,e=>{"use strict";var t=e.i(162288),a=e.i(25174);let r=t.default.env.VERCEL_URL||"1881-n3ueaimgq.stage.try.no";function n(){let e,t=a.HOSTNAME.includes("https")||a.IS_PRODUCTION?"https":"http";return`${t}://${(e=(e=a.HOSTNAME||r||"localhost:3000").replace(/https?:\/\//,"")).endsWith("/")&&(e=e.slice(0,-1)),e}${a.APP.BASE_PATH}`}var i=e.i(116812);function o(e){return()=>{throw Error(`\`${e}\` is not supported in Client Components.`)}}function s(e,t={}){let r=a.APP.BASE_PATH&&e.startsWith(a.APP.BASE_PATH)?e.replace(a.APP.BASE_PATH,""):e,n=`${t.basePath?a.APP.BASE_PATH:""}`;if("/"===r||""===r)return n||"/";let o=r.startsWith("/")?r:`/${r}`,[l,c]=o.split("?");if(t.locale&&l in i.pathnames&&i.pathnames[l]){let e=i.pathnames[l];return`${n}${"string"==typeof e?e:e[t.locale??i.defaultLocale]}${c?`?${c}`:""}`}return`${n}${o}`}e.s([],763626),o("getClient"),o("getSubscriptionContract"),o("getSubscriptionContracts"),o("getSubscriptionContractsPage"),o("cancelSubscriptionContract"),o("createSubscriptionContract"),o("deleteSubscriptionContract"),o("renewSubscriptionContract"),o("setSubscriptionContractMetadata"),o("shouldAdvanceRenewalPeriod"),o("trackSubscriptionContractUsage"),o("updateSubscriptionContract"),o("getSubscriptionContractEvents"),e.s(["PaymentProvider",0,{Cash:"cash",Custom:"custom",
2Klarna:"klarna",Paypal:"paypal",Stripe:"stripe"},"SubscriptionPeriodUnit",0,{Day:"day",Month:"month",Week:"week",Year:"year"}],163128),e.s(["getPathname",0,s],447807);function l(e){return()=>{throw Error(`\`${e}\` is not supported in Client Components.`)}}l("getOrdersClient"),l("createOrder"),l("getOrder"),l("getOrders"),l("setOrderMetadata");let c=Object.values({Vipps:"Vipps",Dintero:"Dintero",Strex:"Strex"});function u(e){return()=>{throw Error(`\`${e}\` is not supported in Client Components.`)}}function d(e){try{return new Intl.Locale(e)}catch{}return null}function p(e){var t;let[a,r]=(t=d(e),[t?.region?.toLowerCase(),t?.language?.toLowerCase()]);return a&&r?`${r}`:""}e.s(["getProviderFromPayment",0,function(e){var t;return e?.provider!=="custom"?e?.provider:(t=e?.properties?.find(e=>"provider"===e.property)?.value||void 0)&&c.includes(t)?t:void 0}],294569),u("getAppSubscription"),u("getAppSubscriptions"),u("getArticle"),u("getCatalogueClient"),u("getCatalogueItem"),u("getCatalogueItemWithAncestors"),u("getCatalogueStructure"),u("getCatalogueStructureWithProducts"),u("getDataFromShape"),u("getPage"),u("getProductDetails"),u("getProductListItem"),u("getSettings"),e.s(["localeToPathPrefix",0,p,"safeParseLocale",0,d],588732),e.s(["getUrl",0,function(e,t={}){let a=t.locale&&t.locale!==i.defaultLocale?`${n()}/${p(t.locale)}`:n(),r=s(e,t);return"/"===r||""===r?a:r.startsWith("/")?`${a}${r}`:`${a}/${r}`}],93180),e.s([],731972)},404837,e=>{"use strict";e.i(731972);var t=e.i(447807);e.s(["redirectToSsoLogout",0,function(e){let a=new URL((0,t.getPathname)("/api/auth/sso-logout",{basePath:!0}),window.location.origin);a.searchParams.set("post_logout_redirect_uri",e),window.location.href=a.toString()}])},48950,e=>{"use strict";var t=e.i(914543),a=e.i(353606),r=(0,t.forwardRef)(({title:e,titleId:t,...r},n)=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 21",width:"1em",height:"1em",ref:n,"aria-labelledby":t,...r,children:[e?(0,a.jsx)("title",{id:t,children:e}):null,(0,a.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M7.082 6.285a2.917 2.917 0 1 0 5.833 0 2.917 2.917 0 0 0-5.833 0M4.582 16.702a5.417 5.417 0 1 1 10.833 0"})]}));e.s(["User",0,r],48950)},344341,e=>{"use strict";var t=e.i(914543),a=e.i(353606),r=(0,t.forwardRef)(({title:e,titleId:t,...r},n)=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 21",width:"1em",height:"1em",ref:n,"aria-labelledby":t,...r,children:[e?(0,a.jsx)("title",{id:t,children:e}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M6.175 7.193 10 11.01l3.825-3.817L15 8.368l-5 5-5-5z"})]}));e.s(["ForwardRef",0,r])},785655,e=>{"use strict";var t=e.i(344341);e.s([],230304),e.i(230304),e.s(["ChevronDown",()=>t.ForwardRef,"default",()=>t.ForwardRef],785655)},562422,e=>{"use strict";var t=e.i(353606),a=e.i(780236),r=e.i(488861),n=e.i(732091),i=e.i(834288),o=e.i(48950),s=e.i(703576),l=e.i(400684),c=e.i(764808);e.s(["LoginLink",0,function({className:e,darkMode:u}){let d=(0,n.useTranslations)(),p=(0,r.useLocale)();return(0,t.jsx)(s.Button,{size:"sm",className:e,iconLeft:(0,t.jsx)(o.User,{className:(0,l.cn)("mr-2 h-5 w-5 shrink-0"),"aria-hidden":!0}),variant:"secondary",onClick:()=>(0,a.signIn)(i.AuthProvider.SSO,{redirectTo:(0,c.getPathname)({href:"/account",locale:p})}),darkMode:u,children:d("login")})}])},617940,e=>{"use strict";var t=e.i(353606),a=e.i(914543),r=e.i(608178),n=e.i(712984),i=e.i(783980),o=e.i(849223),s=e.i(83478),s=s,l=e.i(950190),c=e.i(488861),u=e.i(732091),d=e.i(834288),p=e.i(48950),h=e.i(13272),m=e.i(400684),f=e.i(764808),g=e.i(404837);let P="/account";e.s(["UserMenu",0,function({children:e,session:x,darkMode:v}){let b=(0,u.useTranslations)("UserMenu"),N=(0,f.usePathname)(),y=(0,c.useLocale)(),C=(0,n.useQueryClient)(),[O,j]=(0,a.useState)(!1);if(x?.provider!==d.AuthProvider.SSO)return null;let w=[...N===P?[]:[{href:(0,f.getPathname)({href:P,locale:y}),text:b("manageSubscription"),delay:.2}],{href:"https://sso.1881.no/sso/update-user",text:b("editUserDetails"),delay:.24}];return(0,t.jsxs)(r.Root,{open:O,onOpenChange:j,children:[(0,t.jsx)(r.Trigger,{asChild:!0,children:e}),(0,t.jsx)(r.Portal,{forceMount:!0,children:(0,t.jsx)(i.AnimatePresence,{presenceAffectsLayout:!0,children:O&&(0,t.jsx)(r.Content,{side:"bottom",align:"end",sideOffset:24,asChild:!0,children:(0,t.jsxs)(o.div,{className:(0,m.cn)("relative z-20 min-w-60 rounded-xl bg-neutral-0",{"elevation-neutral-2xl":!1===v}),initial:{opacity:0,scale:.95,y:-8,transformOrigin:"top right"}
2,animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.96,y:-4},children:[(0,t.jsx)("span",{className:(0,m.cn)("absolute -top-[11px] right-16 h-[11px] w-[24px] text-neutral-0"),children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"11",viewBox:"0 0 24 11",fill:"none",children:(0,t.jsx)("path",{d:"M0 11C11.1856 -0.514851 8.57143 2.17625 8.57143 2.17625C10.465 0.226962 13.535 0.226962 15.4286 2.17625L24 11C23.9998 11 23.9997 11 23.9995 11L0 11Z",fill:"#e0eeff"})})}),(0,t.jsxs)("div",{className:(0,m.cn)("flex items-center gap-4 rounded-t-xl bg-primary-200 px-4 py-2"),children:[(0,t.jsx)("span",{className:(0,m.cn)("grid h-10 w-10 place-items-center rounded-full bg-primary-300"),children:(0,t.jsx)(p.User,{className:(0,m.cn)("h-6 w-6")})}),(0,t.jsx)(s.MotionP,{initial:{opacity:0,x:-8},animate:{opacity:1,x:0,transition:{delay:.16}},className:(0,m.cn)("font-medium"),children:b("hello",{name:x.user?.firstName})})]}),(0,t.jsx)("nav",{className:(0,m.cn)("p-4"),children:(0,t.jsxs)("ul",{className:(0,m.cn)("flex flex-col gap-4"),children:[w.map((e,a)=>(0,t.jsx)(l.li,{initial:{opacity:0,x:-8},animate:{opacity:1,x:0,transition:{delay:.16+.04*a}},children:e.href.startsWith("http")?(0,t.jsx)(h.Anchor,{hoverUnderline:!0,href:e.href,children:e.text}):(0,t.jsx)(h.Anchor,{as:f.Link,hoverUnderline:!0,href:(0,f.getPathname)({href:{pathname:"/[...slugs]",params:{slugs:e.href.split("/").filter(Boolean)}},locale:y}),children:e.text})},a)),(0,t.jsx)(l.li,{initial:{opacity:0,x:-8},animate:{opacity:1,x:0,transition:{delay:.16+.04*w.length}},children:(0,t.jsx)(h.Anchor,{as:"button",className:(0,m.cn)("font-medium text-brand"),hoverUnderline:!0,onClick:()=>{C.clear(),(0,g.redirectToSsoLogout)(`${window.location.origin}${(0,f.getPathname)({href:"/app",locale:y})}`)},children:b("logout")})})]})})]})})})})]})}],617940)},182545,e=>{"use strict";var t=e.i(353606);e.i(553663);var a=e.i(657096),r=e.i(764808);e.s(["StorefrontPathnameProvider",0,function({children:e}){let n=(0,r.usePathname)();return(0,t.jsx)(a.PathnameProvider,{pathname:n,children:e})}])},105338,e=>{"use strict";var t=e.i(353606);let a=(0,e.i(997958).default)(async()=>(await e.A(516012)).NotFoundPage,{loadableGenerated:{modules:[510737]}});e.s(["NotFoundPage",0,function(){return(0,t.jsx)(a,{})}])},516012,e=>{e.v(t=>Promise.all(["static/chunks/0m29xyr15_.9f.js"].map(t=>e.l(t))).then(()=>t(510737)))}]);
3
4//# debugId=b7f0ad07-5ee1-d714-a8ec-481b6449e50d

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.