PageSourceSearch

https://firstbook.org/_next/static/chunks/app/(site)/layout-5959ca5ecc26dcd2.js

js firstbook.org collected 2026-10-01 12:19:55 UTC 8,108 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6750],{10823:(e,n,t)=>{"use strict";t.d(n,{CookieConsentProvider:()=>u,u:()=>l});var a=t(48182),r=t(10795),o=t(18107),i="fb_cookie_consent";function c(e){if("undefined"!=typeof document){var n=new Date;n.setDate(n.getDate()+365),document.cookie="".concat(i,"=").concat(encodeURIComponent(e),";expires=").concat(n.toUTCString(),";path=/;SameSite=Lax")}}var s=(0,o.createContext)(null);function u(e){var n=e.children,t=(0,a._)((0,o.useState)(void 0),2),u=t[0],l=t[1];(0,o.useEffect)(function(){l(function(){if("undefined"==typeof document)return null;var e=document.cookie.split(";"),n=!0,t=!1,r=void 0;try{for(var o,c=e[Symbol.iterator]();!(n=(o=c.next()).done);n=!0){var s=o.value,u=(0,a._)(s.trim().split("="),2),l=u[0],d=u[1];if(l===i){var f=decodeURIComponent(d);if("accepted"===f||"declined"===f)return f}}}catch(e){t=!0,r=e}finally{try{n||null==c.return||c.return()}finally{if(t)throw r}}return null}())},[]);var d=(0,o.useCallback)(function(){c("accepted"),l("accepted")},[]),f=(0,o.useCallback)(function(){c("declined"),l("declined")},[]),g=(0,o.useCallback)(function(){"undefined"!=typeof document&&(document.cookie="".concat(i,"=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/;SameSite=Lax")),l(null)},[]),v=(0,o.useMemo)(function(){return{consent:u,acceptCookies:d,declineCookies:f,resetConsent:g}},[u,d,f,g]);return(0,r.jsx)(s.Provider,{value:v,children:n})}function l(){var e=(0,o.useContext)(s);return e||{consent:void 0,acceptCookies:function(){},declineCookies:function(){},resetConsent:function(){}}}},17017:(e,n,t)=>{Promise.resolve().then(t.t.bind(t,47365,23)),Promise.resolve().then(t.bind(t,81357)),Promise.resolve().then(t.bind(t,97478)),Promise.resolve().then(t.bind(t,34787)),Promise.resolve().then(t.bind(t,50534)),Promise.resolve().then(t.bind(t,39977)),Promise.resolve().then(t.bind(t,10823))},26252:(e,n,t)=>{"use strict";t.d(n,{v:()=>c,z:()=>s});var a=t(23215),r=t(48182);function o(e,n,t){return{level:e,message:n,timestamp:new Date().toISOString(),context:function(e){if(e){var n={},t=!0,o=!1,i=void 0;try{for(var c,s=Object.entries(e)[Symbol.iterator]();!(t=(c=s.next()).done);t=!0){var u,l=(0,r._)(c.value,2),d=l[0],f=l[1];"error"===d||(0,a._)(f,Error)?n[d]=(u=f,(0,a._)(u,Error)?{name:u.name,message:u.message,stack:void 0}:{value:String(u)}):n[d]=f}}catch(e){o=!0,i=e}finally{try{t||null==s.return||s.return()}finally{if(o)throw i}}return n}}(t)}}function i(e){var n=e.level,t=e.message,a=e.timestamp,r=e.context;if("debug"!==n&&"info"!==n){var o="[".concat(a,"] [").concat(n.toUpperCase(),"]"),i=r?" ".concat(JSON.stringify(r)):"";switch(n){case"debug":case"info":break;case"warn":console.warn("".concat(o," ").concat(t).concat(i));break;case"error":console.error("".concat(o," ").concat(t).concat(i))}}}var c={debug:function(e,n){i(o("debug",e,n))},info:function(e,n){i(o("info",e,n))},warn:function(e,n){i(o("warn",e,n))},error:function(e,n){i(o("error",e,n))},log:function(e,n,t){i(o(e,n,t))},isServer:function(){return!1},isDev:function(){return!1}};function s(e){return{debug:function(n,t){return c.debug("[".concat(e,"] ").concat(n),t)},info:function(n,t){return c.info("[".concat(e,"] ").concat(n),t)},warn:function(n,t){return c.warn("[".concat(e,"] ").concat(n),t)},error:function(n,t){return c.error("[".concat(e,"] ").concat(n),t)}}}},34787:(e,n,t)=>{"use strict";t.d(n,{default:()=>c});var a=t(18107),r="bam.nr-data.net";function o(){return window.newrelic}function i(){var e=o();return!!(null==e?void 0:e.initializedAgents)&&Object.keys(e.initializedAgents).length>0}function c(){return(0,a.useEffect)(function(){if(!i()){var e="7972455",n="7972455",a="NRJS-4f6a1140c08bb742191",c="1120539042",s="1120539042";if(e&&n&&a&&c&&s){var u="production",l="7693a9a";t.e(6901).then(t.bind(t,76901)).then(function(t){var d=t.BrowserAgent;if(!i()){new d({init:{distributed_tracing:{enabled:!0},privacy:{cookies_enabled:!0},ajax:{deny_list:[r,"bam-cell.nr-data.net"]},session_replay:{enabled:!1},session_trace:{enabled:!0},soft_navigations:{enabled:!0}},info:{beacon:r,errorBeacon:r,licenseKey:a,applicationID:c,sa:1},loader_config:{accountID:e,trustKey:n,agentID:s,licenseKey:a,applicationID:c}});var f=o();f&&"function"==typeof f.setCustomAttribute&&(f.setCustomAttribute("environment",u),l&&f.setApplicationVersion(l))}}).catch(function(e){console.warn("[NewRelicBrowser] failed to initialize agent:",e)})}}},[]),null}},39977:(e,n,t)=>{"use strict";t.d(n,{default:()=>i});var a=t(18107),r=t(91460),o=t(10823);
1function i(){var e=(0,o.u)().consent;return(0,r.useReportWebVitals)(function(n){window.gtag&&"accepted"===e&&window.gtag("event",n.name,{event_category:"Web Vitals",value:Math.round("CLS"===n.name?1e3*n.value:n.value),event_label:n.id,non_interaction:!0})}),(0,a.useEffect)(function(){if("accepted"===e&&window.gtag&&"PerformanceObserver"in window)try{var n=new PerformanceObserver(function(e){var n=!0,t=!1,a=void 0;try{for(var r,o=e.getEntries()[Symbol.iterator]();!(n=(r=o.next()).done);n=!0){var i=r.value;window.gtag("event","long_task",{event_category:"Performance",value:Math.round(i.duration),non_interaction:!0})}}catch(e){t=!0,a=e}finally{try{n||null==o.return||o.return()}finally{if(t)throw a}}});return n.observe({entryTypes:["longtask"]}),function(){n.disconnect()}}catch(e){}},[e]),null}},47365:()=>{},50534:(e,n,t)=>{"use strict";t.d(n,{default:()=>i});var a=t(10795),r=t(57617),o=t(10823);function i(){return"accepted"!==(0,o.u)().consent?null:(0,a.jsx)(r.default,{id:"optinmonster-api",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"(function(d,u,ac){var s=d.createElement('script');s.type='text/javascript';s.src='https://a.omappapi.com/app/js/api.min.js';s.async=true;s.dataset.user=u;s.dataset.account=ac;d.getElementsByTagName('head')[0].appendChild(s);})(document,".concat(16404,",").concat(5058,");")}})}},81357:(e,n,t)=>{"use strict";t.d(n,{default:()=>s});var a=t(10795),r=t(57617),o=t(18107),i=t(96092),c=t(10823);function s(e){var n=e.measurementId,t=(0,i.usePathname)(),s=(0,i.useSearchParams)(),u=(0,c.u)().consent;return((0,o.useEffect)(function(){if("accepted"===u&&n&&"G-XXXXXXXXXX"!==n){var e=t+((null==s?void 0:s.toString())?"?".concat(s.toString()):"");"function"==typeof window.gtag&&window.gtag("config",n,{page_path:e})}},[t,s,n,u]),"accepted"===u&&n&&"G-XXXXXXXXXX"!==n)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.default,{src:"https://www.googletagmanager.com/gtag/js?id=".concat(n),strategy:"afterInteractive"}),(0,a.jsx)(r.default,{id:"google-analytics",strategy:"afterInteractive",children:"\n          window.dataLayer = window.dataLayer || [];\n          function gtag(){dataLayer.push(arguments);}\n          gtag('js', new Date());\n\n          gtag('config', '".concat(n,"', {\n            page_path: window.location.pathname,\n            send_page_view: false\n          });\n        ")})]}):null}},97478:(e,n,t)=>{"use strict";t.d(n,{GoogleTagManagerNoScript:()=>s,default:()=>c});var a=t(10795),r=t(57617),o=t(10823),i=t(26252);function c(e){var n=e.gtmId;
1return"accepted"!==(0,o.u)().consent?null:n&&"GTM-XXXXXXX"!==n?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(r.default,{id:"google-tag-manager",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n            (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n            new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n            j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n            'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n            })(window,document,'script','dataLayer','".concat(n,"');\n          ")}})}):(i.v.warn("Google Tag Manager ID not configured"),null)}function s(e){var n=e.gtmId;return n&&"GTM-XXXXXXX"!==n?(0,a.jsx)("noscript",{children:(0,a.jsx)("iframe",{src:"https://www.googletagmanager.com/ns.html?id=".concat(n),height:"0",width:"0",style:{display:"none",visibility:"hidden"},title:"Google Tag Manager"})}):null}}},e=>{e.O(0,[9298,3379,6617,3026,9651,7358],()=>e(e.s=17017)),_N_E=e.O()}]);
2//# sourceMappingURL=layout-5959ca5ecc26dcd2.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.