1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[46],{2306:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){(window.__NEXT_P=window.__NEXT_P||[]).push(["/bonneoppdrag",function(){return __webpack_require__(1677)}])},9069:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Y:function(){return PortableText}});var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(5893),_portabletext_react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(4217);let components={listItem:{bullet(param){let{children}=param;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("li",{className:"py-1",children:["⢠",children]})}},marks:{link(param){let{value,children}=param,target=((null==value?void 0:value.href)||"").startsWith("http")?"_blank":void 0;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("a",{href:null==value?void 0:value.href,target:target,rel:"_blank"===target&&"noindex nofollow",className:"underline",children:children})}}};function PortableText(param){let{value}=param;for(let block of value)for(let child of block.children)""===child.text&&(child.text+="\xa0");return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_portabletext_react__WEBPACK_IMPORTED_MODULE_1__.YI,{value:value,components:components})}},4846:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{t:function(){return PreviewIndicator}});var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(5893);__webpack_require__(143);var react_icons_vsc__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(4578),next_link__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1664),next_link__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_2__),framer_motion__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(5820),framer_motion__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7342),react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(7294);function PreviewIndicator(preview){let[isOpen,setIsOpen]=(0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(!1);return!0===preview.preview&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(next_link__WEBPACK_IMPORTED_MODULE_2___default(),{href:"/api/preview?exit=true",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div",{className:"fixed z-50 lg:text-2xl bottom-1 right-1 lg:bottom-10 lg:right-20 bg-black/90 p-6 rounded-full flex items-center cursor-pointer",onMouseOver:()=>setIsOpen(!0),onMouseLeave:()=>setIsOpen(!1),children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_icons_vsc__WEBPACK_IMPORTED_MODULE_4__.RVB,{size:32}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(framer_motion__WEBPACK_IMPORTED_MODULE_5__.M,{children:isOpen&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(framer_motion__WEBPACK_IMPORTED_MODULE_6__.E.div,{initial:{width:0},animate:{width:"auto"},exit:{width:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden text-base",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("h1",{className:"text-clip whitespace-nowrap pl-3",children:"G\xe5 ut av forh\xe5ndsvisning"})},isOpen?"open":"closed")})]})})}},1677:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__N_SSG:function(){return __N_SSG},default:function(){return Bonneoppdrag}});var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(5893),_lib_sanity__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(6363),_utils_sortEvents__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(3218),_utils_useMediaQuery__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(4293),components_Footer__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(7127),components_FullWidthContainer__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(7394),components_Image__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(6954),components_Meta__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(3554),components_navbar_HomeNavbar__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(257),components_PortableText__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(9069),components_PreviewIncidator__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(4846),next_script__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(4298),next_script__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(next_script__WEBPACK_IMPORTED_MODULE_10__),react__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(7294);__webpack_require__(9425);var _app__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(9456),__N_SSG=!0;function Bonneoppdrag(props){let siteSettings=props.siteSettings;(0,_utils_sortEvents__WEBPACK_IMPORTED_MODULE_14__.q)(props.eventsData);let prayerMissionSettings=props.prayerMissionSettingsData,[success,setSuccess]=(0,react__WEBPACK_IMPORTED_MODULE_11__.useState)(!1),[error,setError]=(0,react__WEBPACK_IMPORTED_MODULE_11__.useState)(!1),[loading,setLoading]=(0,react__WEBPACK_IMPORTED_MODULE_11__.useState)(!1),isMobile=(0,_utils_useMediaQuery__WEBPACK_IMPORTED_MODULE_2__.a)("(max-width: 768px)");return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(next_script__WEBPACK_IMPORTED_MODULE_10___default(),{id:"mailerlite",strategy:"lazyOnload",children:"(function(w,d,e,u,f,l,n){w[f]=w[f]||function(){(w[f].q=w[f].q||[])\n .push(arguments);},l=d.createElement(e),l.async=1,l.src=u,\n n=d.getElementsByTagName(e)[0],n.parentNode.insertBefore(l,n);})\n (window,document,'script','https://assets.mailerlite.com/js/universal.js','ml');\n ml('account', '1279245');"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(components_Meta__WEBPACK_IMPORTED_MODULE_6__.h,{title:"".concat(props.siteSettings.title," - B\xf8nneoppdrag"),backgroundColor:prayerMissionSettings.secondary_background.hex}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(components_PreviewIncidator__WEBPACK_IMPORTED_MODULE_9__.t,{preview:props.preview}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(components_navbar_HomeNavbar__WEBPACK_IMPORTED_MODULE_7__.L,{settings:prayerMissionSettings,title:""}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div",{className:"max-w-screen overflow-x-hidden",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div",{className:"fixed inset-0 z-10 brightness-[0.3]",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div",{className:"h-full aspect-video w-full relative",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(components_Image__WEBPACK_IMPORTED_MODULE_5__.Z,{src:(0,_lib_sanity__WEBPACK_IMPORTED_MODULE_1__.t3)(prayerMissionSettings.image).quality(75).url(),fill:!0,alt:"b\xf8nneteam bilde",className:"object-cover",sizes:"100vw"})})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(components_FullWidthContainer__WEBPACK_IMPORTED_MODULE_4__.f,{outerClassName:"items-center",innerClassName:"max-w-[500px] space-y-8 text-md z-10",innerStyle:{paddingTop:200,maxWidth:"800px",color:prayerMissionSettings.secondary_contrast.hex},outerStyle:{backgroundColor:isMobile?prayerMissionSettings.secondary_background.hex:prayerMissionSettings.primary_background.hex},children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("h1",{className:"".concat(_app__WEBPACK_IMPORTED_MODULE_13__.secondaryFont.className," text-5xl lg:text-8xl"),children:"B\xf8nneoppdrag"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("h2",{className:"text-2xl font-bold",children:prayerMissionSettings.info_title}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(components_PortableText__WEBPACK_IMPORTED_MODULE_8__.Y,{value:prayerMissionSettings.info})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div",{className:"ml-embedded","data-form":"UvF4ld"})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(components_Footer__WEBPACK_IMPORTED_MODULE_3__.$,{backgroundColor:prayerMissionSettings.primary_background.hex,textColor:prayerMissionSettings.primary_contrast.hex,items:siteSettings.footer_items,logo:siteSettings.logo})]})]})}},3218:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function sortEvents(events){let sortedEvents=events.sort((a,b)=>{let aDate=new Date(a.date),bDate=new Date(b.date);return aDate-bDate});return sortedEvents}__webpack_require__.d(__webpack_exports__,{q:function(){return sortEvents}})},9425:function(){},4298:function(module,__unused_webpack_exports,__webpack_require__){module.exports=__webpack_require__(3573)}},function(__webpack_require__){__webpack_require__.O(0,[228,13,876,449,217,691,774,888,179],function(){return __webpack_require__(__webpack_require__.s=2306)}),_N_E=__webpack_require__.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.