PageSourceSearch

https://berg-store-locator-production.up.railway.app/assets/root-Cu7Pzdzz.js

js berg-store-locator-production.up.railway.app collected 2026-10-03 12:11:28 UTC 5,526 bytes, 99 lines download raw bytes

1import{r as a,j as e}from"./jsx-runtime-BMrMXMSG.js";import{v as y,w as b,x as j,y as w,_ as k,z as l,M as c,L as d,O as S,S as x,A as v,B as A}from"./components-DluuR3Ss.js";/**
2 * @remix-run/react v2.17.4
3 *
4 * Copyright (c) Remix Software Inc.
5 *
6 * This source code is licensed under the MIT license found in the
7 * LICENSE.md file in the root directory of this source tree.
8 *
9 * @license MIT
10 */let p="positions";function F({getKey:t,...r}){let{isSpaMode:g}=y(),s=b(),f=j();w({getKey:t,storageKey:p});let m=a.useMemo(()=>{if(!t)return null;let o=t(s,f);return o!==s.key?o:null},[]);if(g)return null;let h=((o,u)=>{if(!window.history.state||!window.history.state.key){let i=Math.random().toString(32).slice(2);window.history.replaceState({key:i},"")}try{let n=JSON.parse(sessionStorage.getItem(o)||"{}")[u||window.history.state.key];typeof n=="number"&&window.scrollTo(0,n)}catch(i){console.error(i),sessionStorage.removeItem(o)}}).toString();return a.createElement("script",k({},r,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${h})(${l(JSON.stringify(p))}, ${l(JSON.stringify(m))})`}}))}const R="/assets/styles-C7YjYK5e.css",B=()=>[{rel:"stylesheet",href:R},{rel:"preconnect",href:"https://fonts.googleapis.com"},{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"},{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap"}];function E(){return e.jsxs("html",{lang:"nb",children:[e.jsxs("head",{children:[e.jsx("meta",{charSet:"utf-8"}),e.jsx("meta",{name:"viewport",content:"width=device-width,initial-scale=1"}),e.jsx(c,{}),e.jsx(d,{}),e.jsx("style",{children:`
11          :root {
12            --color-primary: #5A9F96;
13            --color-primary-deep: #3c897e;
14            --color-text: #2A2B2A;
15            --color-accent: #FF580D;
16          }
17          body {
18            font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
19            color: var(--color-text);
20          }
21          .stat-cards-grid {
22            display: grid;
23            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
24            gap: 16px;
25          }
26          .facility-chip-grid {
27            display: grid;
28            grid-template-columns: repeat(3, 1fr);
29            gap: 8px;
30          }
31          .facility-chip {
32            padding: 8px 12px;
33            border-radius: 6px;
34            border: 1.5px solid #5A9F96;
35            background: transparent;
36            color: #5A9F96;
37            cursor: pointer;
38            font-family: inherit;
39            font-size: 13px;
40            text-align: center;
41            transition: background 0.15s, color 0.15s;
42          }
43          .facility-chip:hover {
44            background: rgba(90, 159, 150, 0.08);
45          }
46          .facility-chip.selected {
47            background: #5A9F96;
48            color: #fff;
49          }
50          .image-preview-row {
51            display: flex;
52            gap: 10px;
53            flex-wrap: wrap;
54            margin-top: 12px;
55          }
56          .image-preview-item {
57            position: relative;
58            border-radius: 8px;
59            overflow: hidden;
60            border: 2px solid transparent;
61            cursor: pointer;
62            transition: border-color 0.15s;
63          }
64          .image-preview-item.primary {
65            border-color: #5A9F96;
66          }
67          .image-preview-item img {
68            width: 90px;
69            height: 90px;
70            object-fit: cover;
71            display: block;
72          }
73          .image-remove-btn {
74            position: absolute;
75            top: 4px;
76            right: 4px;
77            background: rgba(0,0,0,0.6);
78            color: #fff;
79            border: none;
80            border-radius: 50%;
81            width: 20px;
82            height: 20px;
83            font-size: 12px;
84            line-height: 20px;
85            text-align: center;
86            cursor: pointer;
87            padding: 0;
88          }
89          .image-primary-badge {
90            position: absolute;
91            bottom: 4px;
92            left: 4px;
93            background: #5A9F96;
94            color: #fff;
95            font-size: 9px;
96            padding: 1px 4px;
97            border-radius: 3px;
98          }
99        `})]}),e.jsxs("body",{children:[e.jsx(S,{}),e.jsx(F,{}),e.jsx(x,{})]})]})}function I(){const t=v(),r=A(t)&&t.status===404;return e.jsxs("html",{lang:"nb",children:[e.jsxs("head",{children:[e.jsx("meta",{charSet:"utf-8"}),e.jsx("meta",{name:"viewport",content:"width=device-width,initial-scale=1"}),e.jsx("title",{children:r?"Side ikke funnet":"Noe gikk galt"}),e.jsx(c,{}),e.jsx(d,{})]}),e.jsxs("body",{style:{fontFamily:"'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",color:"#2A2B2A",display:"flex",alignItems:"center",justifyContent:"center",minHeight:"100vh",margin:0,background:"#f7f7f7"},children:[e.jsxs("div",{style:{textAlign:"center",padding:"48px 24px",maxWidth:480},children:[e.jsx("h1",{style:{fontSize:48,margin:"0 0 8px",color:"#5A9F96"},children:r?"404":"Feil"}),e.jsx("p",{style:{fontSize:18,margin:"0 0 24px",color:"#666"},children:r?"Siden du leter etter finnes ikke.":"Noe gikk galt. Vennligst prøv igjen senere."}),e.jsx("a",{href:"/",style:{display:"inline-block",padding:"10px 24px",background:"#5A9F96",color:"#fff",borderRadius:6,textDecoration:"none",fontSize:14,fontWeight:500},children:"Tilbake til forsiden"})]}),e.jsx(x,{})]})]})}export{I as ErrorBoundary,E as default,B as links};

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.