PageSourceSearch

https://prefex.ch/_next/static/chunks/app/%5Blang%5D/layout-3e858b828ee70472.js

js prefex.ch collected 2026-10-09 23:05:40 UTC 8,091 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1084],{12889:function(e,t,n){Promise.resolve().then(n.bind(n,7221)),Promise.resolve().then(n.bind(n,81723)),Promise.resolve().then(n.bind(n,42251)),Promise.resolve().then(n.bind(n,48382)),Promise.resolve().then(n.t.bind(n,97425,23)),Promise.resolve().then(n.t.bind(n,49608,23))},63852:function(e,t,n){"use strict";n.d(t,{X:function(){return u},Z:function(){return d}});var s=n(57437),o={src:"/_next/static/media/close-white.76c2311e.svg"},i=n(47106),r=n(2265),a=n(75186),c=n(64912),l=n.n(c);let u=a.Am;u.info=(e,t)=>{let n=null==t?void 0:t.actionText,i=null==t?void 0:t.onClick;return a.Am.custom(t=>(0,s.jsxs)("div",{className:"".concat(t.visible?l().animateEnter:l().animateLeave," shadow-lg ").concat(l().toast," ").concat(l().info),children:[(0,s.jsxs)("div",{className:"flex justify-between items-center",children:[(0,s.jsx)("div",{className:"mt-1 self-start size-5",children:(0,s.jsx)("img",{src:"/_next/static/media/toast-info.97e6584e.svg"})}),(0,s.jsxs)("div",{className:l().messageContainer,children:[(0,s.jsx)("div",{className:"".concat(l().messageContent," my-1 mx-2.5"),children:e}),void 0===i||(null==n?void 0:n.length)===0?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)("button",{className:l().actionBtn,onClick:e=>{i(),a.Am.dismiss(t.id)},children:null!=n?n:"Action"})]})]}),(0,s.jsx)("button",{className:"flex-shrink-0 border-l border-[rgba(255,255,255,0.5)] pl-2",onClick:()=>a.Am.dismiss(t.id),children:(0,s.jsx)("img",{src:o.src,className:"size-4"})})]}),{...t,duration:(null==t?void 0:t.duration)||3e3})};var d=()=>{let[e,t]=(0,r.useState)({header:68,footer:131});return(0,i.Z)(e,t),(0,s.jsx)(a.x7,{containerStyle:{top:"".concat(e.header+16,"px")},position:"top-right",toastOptions:{duration:3e3,className:"",style:{padding:"16px",backgroundColor:"#0e4745",color:"#fff",top:"100px",alignItems:"stretch"},success:{icon:(0,s.jsx)("img",{src:"/_next/static/media/toast-check.380b6655.svg",className:"size-5"}),style:{backgroundColor:"#05a763"}},error:{icon:(0,s.jsx)("img",{src:"/_next/static/media/toast-error.5ba2d925.svg",className:"size-5"}),style:{backgroundColor:"#db0035"}}},children:e=>(0,s.jsx)(a.$x,{toast:e,style:{...e.style,animation:e.visible?"".concat(l().enterAnimation," 0.35s cubic-bezier(0.21, 1.02, 0.73, 1) forwards"):"".concat(l().leaveAnimation," 0.35s ease forwards")},children:t=>{let{icon:n,message:i}=t;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"size-5 mt-1",children:n}),(0,s.jsx)("div",{className:l().messageContainer,children:(0,s.jsx)("div",{className:l().messageContent,children:i})}),"loading"!==e.type&&(0,s.jsx)("button",{className:"border-l border-[rgba(255,255,255,0.5)] pl-2",onClick:()=>a.Am.dismiss(e.id),children:(0,s.jsx)("img",{src:o.src,className:"flex shrink-0 size-4"})})]})}})})}},7221:function(e,t,n){"use strict";n.d(t,{default:function(){return c}});var s=n(57437),o=n(2265),i=n(89509);let r=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:7,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(n&&s){let o=new Date;"days"===s?o.setTime(o.getTime()+864e5*n):o.setTime(o.getTime()+36e5*n);let i="expires="+o.toUTCString();document.cookie=e+"="+t+";"+i+";path=/;secure;SameSite=Strict"}else document.cookie=e+"="+t+";max-age=3600;path=/;secure;SameSite=Strict"},a=e=>{let t="",n=decodeURIComponent(document.cookie).split(";");for(let s=0;s<n.length;s++){let o=n[s].trim();if(0===o.indexOf(e)){t=o.substring(e.length+1,o.length);break}}return t};function c(e){let{params:t}=e,n=(0,i._u)(null==t?void 0:t.lang),c=(0,i.qh)(n),[l,u]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{u(!a("cookieConsent"))},[]),(0,s.jsx)("div",{className:"".concat(l?"flex":"hidden"," w-full justify-center py-[0.3rem] bottom-[62px] lg:bottom-0 fixed bg-transparent text-black z-10"),children:(0,s.jsxs)("div",{className:"bg-white w-[97%] h-auto flex sm:flex-col items-center justify-between sm:items-start gap-[2.75rem] sm:gap-4 px-[4rem] py-3 font-medium leading-[160%] shadow-2xl text-base md:text-sm sm:text-xs md:px-10 sm:p-2.5",children:[(0,s.jsx)("div",{className:"",children:(0,s.jsxs)("p",{children:[c.COOKIE_MESSAGE,"\xa0",(0,s.jsx)("a",{href:"/".concat(n,"/data-protection"),children:(0,s.jsx)("span",{className:"border-b-2 text-green-500",children:c.COOKIE_POLICY})})]})}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{className:"btn-primary",onClick:()=>{r("cookieConsent",!0,7,"days"),u(!1)},children:c.ACCEPT_BUTTON})})]})})}},48382:function(e,t,n){"use strict";n.d(t,{default:function(){return b}});
1var s=n(57437),o=n(47106),i=n(2265),r=n(63852),a=n(68575),c=n(88884);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(e){var t;function n(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,n);for(var e,t,s,o=arguments.length,i=Array(o),r=0;r<o;r++)i[r]=arguments[r];return s=(e=(t=u(n)).call.apply(t,[this].concat(i)))&&("object"===l(e)||"function"==typeof e)?e:d(this),f(d(s),"state",{bootstrapped:!1}),f(d(s),"_unsubscribe",void 0),f(d(s),"handlePersistorState",function(){s.props.persistor.getState().bootstrapped&&(s.props.onBeforeLift?Promise.resolve(s.props.onBeforeLift()).finally(function(){return s.setState({bootstrapped:!0})}):s.setState({bootstrapped:!0}),s._unsubscribe&&s._unsubscribe())}),s}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(n,e),t=[{key:"componentDidMount",value:function(){this._unsubscribe=this.props.persistor.subscribe(this.handlePersistorState),this.handlePersistorState()}},{key:"componentWillUnmount",value:function(){this._unsubscribe&&this._unsubscribe()}},{key:"render",value:function(){return"function"==typeof this.props.children?this.props.children(this.state.bootstrapped):this.state.bootstrapped?this.props.children:this.props.loading}}],function(e,t){for(var n=0;n<t.length;n++){var s=t[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}(n.prototype,t),n}(i.PureComponent);f(p,"defaultProps",{children:null,loading:null});var h=n(20090);function b(e){let{children:t}=e,[n,l]=(0,i.useState)({header:68,footer:131});return(0,i.useEffect)(()=>{window.addEventListener("scroll",()=>{window.scrollY})},[]),(0,o.Z)(n,l),(0,i.useEffect)(()=>{},[n,l]),(0,s.jsx)(a.zt,{store:c.Z,children:(0,s.jsx)(p,{loading:(0,s.jsx)(h.Z,{}),persistor:c.D,children:(0,s.jsxs)("main",{id:"mainContainer",className:"container flex justify-between",style:{marginTop:"".concat(n.header,"px"),minHeight:"calc(100vh - ".concat(n.header+n.footer,"px)")},children:[t,(0,s.jsx)(r.Z,{})]})})})}},49608:function(){},97425:function(){},64912:function(e){e.exports={toast:"Toast_toast__20v8M",general:"Toast_general__teudF",success:"Toast_success__oa3Wt",error:"Toast_error__eAIbR",info:"Toast_info__BF__F",animateEnter:"Toast_animateEnter__9OidQ",enterAnimation:"Toast_enterAnimation__K_BnI",animateLeave:"Toast_animateLeave__8ewLp",leaveAnimation:"Toast_leaveAnimation__PVm99",actionBtn:"Toast_actionBtn__UUhA_",messageContainer:"Toast_messageContainer__eYSW0",messageContent:"Toast_messageContent__MhLNx"}}},function(e){e.O(0,[3205,4429,3145,7648,3335,551,5186,1250,6345,360,5934,1977,7945,6349,799,7608,149,2971,2117,1744],function(){return e(e.s=12889)}),_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.