PageSourceSearch

https://www.maklarringen.se/_next/static/chunks/pages/[locale]/utland/hitta-kontor-56622dcc7f6cd3e2.js

js maklarringen.se collected 2026-10-04 00:27:07 UTC 5,895 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[554],{72071:function(e,r,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[locale]/utland/hitta-kontor",function(){return a(21367)}])},54602:function(e,r,a){"use strict";a.d(r,{Z:function(){return b}});var t=a(52676),s=a(2733),n=a(73270),l=a(82527),i=a(74436),c=a(5842),o=a(81884),d=a(50864),f=a(65457),u=a(61739),m=a(75271),h=a(65341),x=a(14928),p=e=>{var r;let{regions:{TitleSearchPage:a,officesCount:s,Hero:n,slug:{current:i}}}=e,c=(0,l.useTranslations)("components.cards"),m=(null==n?void 0:null===(r=n.PresentationImage)||void 0===r?void 0:r.asset)?(0,u.S)(n.PresentationImage.asset).url():"";return(0,t.jsxs)(d.rU,{href:"".concat(f.yg,"/").concat(i),className:"flex flex-col col-span-12 mb-4 md:mb-0 md:col-span-6 lg:col-span-4 gap-y-4 group overflow-hidden",children:[(0,t.jsx)("div",{className:"overflow-hidden rounded-2xl",children:(0,t.jsx)(x.Z,{src:m,alt:"".concat(a),aspectRatio:1.5,aspectRatioClassName:"scale-100 hover:scale-105 transition-all duration-200",className:"object-cover object-center",sizes:"(max-width: 768px) 100vw, (max-width: 1024px) 40vw, 400px"})}),(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsxs)("div",{className:"flex justify-between items-center",children:[(0,t.jsx)(h.u,{strong:!0,children:a}),(0,t.jsx)(o.A,{})]}),s>0&&(0,t.jsxs)(h.u,{small:!0,className:"flex text-[#292827b3]",children:[s," ",c("office")]})]})]})},g=a(58945),v=a(87142),b=e=>{var r;let{pageData:{offices:a,regions:o},pageDataNoFilter:d,params:f,area:u,isAbroad:h=!1}=e,x=(0,l.useTranslations)("components.pages.brokerOfficeSearchPage"),b=(r=x(h?"allBrokerOffices":"allBrokerOfficesAbroad"),u?"".concat(r," - ").concat(u.Heading):r),j=(0,m.useMemo)(()=>{var e,r;let t=[];for(let n of[...(0,s.gz)(["title"],null!=a?a:[]),...(0,s.gz)(["title"],null!==(e=d.offices)&&void 0!==e?e:[]),...(0,s.gz)(["TitleSearchPage"],null!==(r=d.regions)&&void 0!==r?r:[])]){let e=n.label.trim(),r=n.value.trim();if(t.some(r=>r.label===e)||t.push({value:r,label:e}),Array.isArray(n.searchAliases)&&n.searchAliases.length>0)for(let a of n.searchAliases){let s="".concat(a," (").concat(e,")");t.some(e=>e.label===s)||t.push({value:r,label:s})}}return t.sort((e,r)=>e.label.localeCompare(r.label,"sv"))},[a,d]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v.Z,{heading:b,searchPlaceholder:x("findOffice"),comboSearchItems:j,searchMode:n.N.StartsWith,hideAlias:!0}),(0,t.jsxs)("div",{id:"list",className:"flex flex-col gap-8 mt-[1rem] md:mt-[4.5rem] scroll-mt-8 ",children:[o&&o.length>0&&(0,t.jsxs)(g.M,{className:"pt-6 gap-y-6",children:[(0,t.jsx)(g.o,{start:"1",span:"12",children:(0,t.jsx)(i.Z,{as:"h2",children:x("regions")})}),o.map(e=>(0,t.jsx)(p,{regions:e},e.slug.current))]}),a&&a.length>0&&(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(g.M,{className:"pt-6",children:[(0,t.jsx)(g.o,{start:"1",span:"12",children:(0,t.jsx)(i.Z,{as:"h2",children:x("ourOffices")})}),a.map(e=>(0,t.jsx)(c.Z,{offices:e},e.OfficeName))]})})]})]})}},48179:function(e,r,a){"use strict";a.d(r,{B:function(){return c},x:function(){return i}});var t=a(52676),s=a(68538),n=a(75271),l=a(2733);let i=n.forwardRef((e,r)=>{let{className:a,children:i,innerClassName:o,...d}=e,f=n.useRef(null);return n.useEffect(()=>{f.current&&f.current.focus()},[]),(0,t.jsxs)(s.fC,{ref:r,className:(0,l.cn)("relative overflow-hidden",a),...d,children:[(0,t.jsx)(s.l_,{ref:f,className:(0,l.cn)("h-full w-full rounded-[inherit]",o),id:"scrollArea",tabIndex:0,children:i}),(0,t.jsx)(c,{}),(0,t.jsx)(s.Ns,{})]})});i.displayName=s.fC.displayName;let c=n.forwardRef((e,r)=>{let{className:a,orientation:n="vertical",...i}=e;return(0,t.jsx)(s.gb,{ref:r,orientation:n,className:(0,l.cn)("flex touch-none select-none transition-colors","vertical"===n&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===n&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",a),...i,children:(0,t.jsx)(s.q4,{className:"relative flex-1 rounded-full bg-border"})})});c.displayName=s.gb.displayName},81461:function(e,r,a){"use strict";a.d(r,{t:function(){return d},G:function(){return f}});var t=a(52676),s=a(75271),n=a(16692),l=a(2733),i=a(20087);let c=(0,a(2808).j)("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"},size:{default:"h-10 px-3",sm:"h-9 px-2.5",lg:"h-11 px-5"}},defaultVariants:{variant:"default",size:"default"}});s.forwardRef((e,r)=>{let{className:a,variant:s,size:n,...o}=e;return(0,t.jsx)(i.f,{ref:r,className:(0,l.cn)(c({variant:s,size:n,className:a})),...o})}).displayName=i.f.displayName;let o=s.createContext({size:"default",variant:"default"}),d=s.forwardRef((e,r)=>{let{className:a,variant:s,size:i,children:c,...d}=e;return(0,t.jsx)(n.fC,{ref:r,className:(0,l.cn)("flex items-center justify-center gap-1",a),...d,children:(0,t.jsx)(o.Provider,{value:{variant:s,size:i},children:c})})});d.displayName=n.fC.displayName;let f=s.forwardRef((e,r)=>{let{className:a,children:i,variant:d,size:f,...u}=e,m=s.useContext(o);return(0,t.jsx)(n.ck,{ref:r,className:(0,l.cn)(c({variant:m.variant||d,size:m.size||f}),a),...u,children:i})});f.displayName=n.ck.displayName},21367:function(e,r,a){"use strict";a.r(r),a.d(r,{__N_SSP:function(){return n}});var t=a(52676),s=a(54602),n=!0;r.default=e=>{let{pageData:r,pageDataNoFilter:a}=e;return r?(0,t.jsx)(s.Z,{pageData:r,pageDataNoFilter:a}):(0,t.jsx)(t.Fragment,{})}}},function(e){e.O(0,[4126,2838,7142,2888,9774,179],function(){return e(e.s=72071)}),_N_E=e.O()}]);

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.