PageSourceSearch

https://www.rabensjogren.se/static/js/Staff.6eea62ab.chunk.js

js rabensjogren.se collected 2026-09-24 09:37:43 UTC 4,346 bytes, 2 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[8284],{11024:function(n,t,e){var r=e(95764),i=e(89810),a=e(81034),o=e(30969),s=e(37574),c=["height"];t.Z=function(n){return(0,o.forwardRef)((function(t,e){var u=t.height,l=(0,a.Z)(t,c),d=e||(0,o.useRef)(),f=(0,o.useRef)(null),p=(0,o.useCallback)((function(n){requestAnimationFrame((function(){d.current&&(d.current.style.maxHeight=n,f.current=n)}))}),[d]);return(0,o.useLayoutEffect)((function(){if("auto"===u){var n=d.current.scrollHeight,t=(0,i.Z)(Array.from(d.current.children)).reduce((function(n,t){return n+t.offsetHeight}),0);parseInt(f.current,10)!==n?p("".concat(n,"px")):n!==t&&p("".concat(n>t?t:n,"px"))}else f.current!==u&&p(u)})),(0,s.jsx)(n,(0,r.Z)((0,r.Z)({},l),{},{ref:d,maxHeight:null===f.current&&("0"===u||"0px"===u)&&"0px"}))}))}},33355:function(n,t,e){var r,i,a,o=e(99710),s=e(99500),c=e(30969),u=e(85255),l=e(11024),d=e(31619),f=e(41435),p=e(10527),x=e(33747),h=e(39660),Z=e(37574),g=(0,u.Z)("div")(r||(r=(0,s.Z)(["\n    background-color: ",";\n    border-radius: 16px;\n\n    &.is-open {\n        background-color: ",";\n    }\n\n    &.staff-wrapper {\n        border-radius: 0;\n        border-bottom: 1px solid ",";\n        background-color: ",";\n    }\n"])),d.Z.warmGrey,d.Z.white,d.Z.warmGrey2,d.Z.offWhite),m=(0,u.Z)("button")(i||(i=(0,s.Z)(["\n    box-shadow: unset;\n    outline: unset;\n    border: 0;\n    width: 100%;\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    padding: 16px 0px;\n    &.faq-header {\n        text-align: left;\n    }\n"]))),b=(0,l.Z)((0,u.Z)("div")(a||(a=(0,s.Z)(["\n    overflow: hidden;\n    transition: 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);\n"])))),v=function(n){var t=n.children,e=n.title,r=n.as,i=n.textStyles,a=n.iconHeight,s=n.iconWidth,u=n.isStaff,l=n.index,d=(0,h.Z)("lg"),v=(0,c.useState)(!1),j=(0,o.Z)(v,2),y=j[0],w=j[1];return(0,c.useEffect)((function(){d&&0===l&&w(!0)}),[]),(0,Z.jsxs)(g,{className:"".concat(y?"is-open":""," ").concat(u?"staff-wrapper":null," faq-wrapper"),children:[(0,Z.jsxs)(m,{type:"button",className:"faq-header",onClick:function(){return w(!y)},children:[(0,Z.jsx)(x.Z,{userSelect:"none",as:r,textStyles:i,children:e}),y?(0,Z.jsx)(p.Z,{height:a,width:s}):(0,Z.jsx)(f.Z,{height:a,width:s})]}),(0,Z.jsx)(b,{height:y?"auto":"0",children:t})]})};v.defaultProps={as:"p",iconHeight:"17px",iconWidth:"17px",index:null,isStaff:!1,textStyles:"Stabil Grotesk/24-130"},t.Z=v},66648:function(n,t,e){e.r(t),e.d(t,{default:function(){return A}});e(30969);var r,i,a,o,s,c=e(99500),u=e(85255),l=e(39455),d=e(31619),f=e(33747),p=e(33355),x=e(16809),h=e(44465),Z=e(98608),g=e(37574),m=(0,u.Z)(f.Z)(r||(r=(0,c.Z)(["\n    ","\n"])),(0,Z.s)("Tiempos/16-145")),b=(0,u.Z)(f.Z)(i||(i=(0,c.Z)(["\n    color: ",";\n    margin-bottom: 16px;\n    ","\n"])),d.Z.black50,(0,Z.s)("Stabil Grotesk/14-100 CAPS")),v=(0,u.Z)("div")(a||(a=(0,c.Z)(["\n    border-top: 1px solid ",";\n\n    &.hide-top-border {\n        &:first-child {\n            border-top: none;\n        }\n    }\n"])),d.Z.warmGrey2),j=(0,u.Z)("div")(o||(o=(0,c.Z)(["\n    display: grid;\n    grid-gap: 40px 8px;\n    grid-template-columns: repeat(1, 1fr);\n\n    "," {\n        grid-template-columns: repeat(2, 1fr);\n    }\n"])),l.aE.lg),y=(0,u.Z)("div")(s||(s=(0,c.Z)([""]))),w=function(n){return n.persons.map((function(n){var t=n.name,e=n.paragraph;return(0,g.jsxs)(y,{children:[t&&(0,g.jsx)(b,{as:"p",color:d.Z.black50,children:t}),(0,g.jsx)(h.Z,{data:e,textComponent:function(n){var t=n.children;return(0,g.jsx)(m,{as:"p",children:t})}})]},t)}))};w.defaultProps={persons:[]};var S={button:{padding:"20px 12px 20px 0"}},_=function(n){var t=n.staff,e="staff"===(0,x.v9)((function(n){var t,e=n.page;return null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.page_content}))[0].layout?"hide-top-border":"";return(0,g.jsx)(v,{className:"".concat(e),children:t.map((function(n,t){var e=n.title,r=n.persons;return(0,g.jsx)(p.Z,{isStaff:!0,title:e,index:t,customStyling:S,children:(0,g.jsx)(j,{m:"20px 0 40px 0",children:(0,g.jsx)(w,{title:e,persons:r},e)})},"".concat(t,"-").concat(e||""))}))})};_.defaultProps={staff:[]};var k=_,A=function(n){var t=n.data,e=t.staff,r=t.title;return e?(0,g.jsx)(k,{staff:e,title:r}):null}}}]);
2//# sourceMappingURL=Staff.6eea62ab.chunk.js.map

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.