1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[35757],{48343:(e,t,n)=>{n.r(t),n.d(t,{Plus:()=>S,default:()=>A});var s=n(6029),o=n(6772),a=n(55729),i=n(8345),r=n(41474),c=n(64996),g=n(4455),_=n(81278),l=n(58376),w=n(7335),p=n(94715),d=n(9497),u=n(38252);let f=null,m="_wbdhrt",P=["1mogu","7ator","30wero"],S=({consentLayerDisabled:e,privacySrcDomain:t,privacySrc:n,propertyHref:o,irConfig:S,page:A,element:h,sourcepointDelay:E,accountId:x})=>{let{ready:y,setReady:M,setHasAbo:k,hasNewAbo:v,hasAbo:I,setHasNewAbo:C,lifeTimeStart:F,setLifeTimeStart:N,setHasOneDayAbo:H}=(0,a.useContext)(r.IB),b=(0,w.R)(e=>e.setUserStatus),W=(0,w.R)(e=>e.setUserStatusMarfeel),L=(0,p.v)(e=>e.consentReady),O=(0,a.useContext)(g.VQ),T=(0,l.z1)(),U=(0,c.A)(),[G,R]=(0,a.useState)(!1),V=(0,_.useRouter)(),B=(0,a.useRef)(),{project:D}=(0,a.useContext)(u.HP),K=["ams"].includes(D),{isPreview:q}=(0,a.useContext)(u.HP),[j]=(0,i.A)([m,"ape_token"]),Y=(0,w.R)(e=>e.setWallbreakerMode);(0,a.useEffect)(()=>{!V?.query?.noEarlyExit&&(j?.ape_token||y||(console.log("[MPSW-415] Early-exit: ready set at",performance.now().toFixed(1),"ms"),M(!0)))},[j?.ape_token,y,V?.query?.noEarlyExit]),(0,a.useEffect)(()=>{I?(()=>{if(void 0===window.__tcfapi)return;console.log("FAKE TCF API :: FAKE NOW ACTIVE"),f=window.__tcfapi;let e=[];try{e=window?.__tcfapi()}catch(e){return}window.__tcfapi=function(e,t,n,s){let o={gdprApplies:!0,tcString:"",tcfPolicyVersion:4,cmpId:1,cmpVersion:1,cmpStatus:"loaded",eventStatus:"tcloaded",purpose:{consents:{},legitimateInterests:{}},vendor:{consents:{},legitimateInterests:{}},specialFeatureOptins:{},publisher:{consents:{},legitimateInterests:{},customPurpose:{consents:{},legitimateInterests:{}},restrictions:{}}};if("getTCData"===e)n&&n(o,!0);else if("ping"===e)n&&n({gdprApplies:!0,cmpLoaded:!0,cmpStatus:"loaded",displayStatus:"disabled",apiVersion:"2.2"},!0);else if("addEventListener"===e){let e={...o,eventStatus:"useractioncomplete",listenerId:Math.random()};n&&n(e,!0)}},e&&Array.isArray(e)&&e.forEach(function(e){if(e&&e.length>=3){var t=e[0],n=e[1],s=e[2],o=e[3];window.__tcfapi(t,n,s,o)}})})():f&&(console.log("FAKE TCF API :: FAKE NOW INACTIVE"),window.__tcfapi=f)},[I]);let z=async()=>{try{if(!O?.authSettled)return;if(((e,t)=>{let n=e?.[m];if(n&&P.includes(n))return!0;let s=t?._wB?.split("-")?.shift();return!!(s&&P.includes(s))})(j,V?.query)){console.info("Wall Breaker active! Skipping subscription check."),M(!0),Y(),b(2),W(4);return}let e=!1,t=!1,n=!1,s=null,o=null;if(B.current===O?.user?.__current_login_token&&void 0!==B.current)return;if(B.current=O?.user?.__current_login_token||null,B.current){let a=await U(h,S,A,{rkm_auth_token:B.current});e=a?.hasPlusAbo,t=a?.hasNewPlusAbo,n=a?.hasOneDayAbo,s=a?.lifeTimeStart,o=a?.user}s&&N(s);try{let s=0,a=0;e&&K||t&&K?(s=2,a=4):!e||K||t?(t||n)&&!K&&!e||!K&&n&&e||e&&t&&!K?(s=2,a=4):o?(s=1,a=2):o||(a=0):(s=1,a=3),b(s),W(a),T.trackMarfeelUserState(a)}catch(e){console.error("Error in Plus Check!"),console.error(e)}e?(window?._sp_?.config?.targetingParams&&window?._sp_?.config?.targetingParams.acps&&(window._sp_.config.targetingParams.acps=!0),window.GA_HAS_PLUS=!0,k(!0),M(!0),K&&C(!0)):(window?._sp_?.config?.targetingParams&&window?._sp_?.config?.targetingParams.acps&&(window._sp_.config.targetingParams.acps=!1),window.GA_HAS_PLUS=!1,k(!1),M(!0),K&&C(!1)),t?(window?._sp_?.config?.targetingParams&&window?._sp_?.config?.targetingParams.acps&&(window._sp_.config.targetingParams.acps=!0),window.GA_HAS_NEW_PLUS=!0,M(!0),C(!0)):(window?._sp_?.config?.targetingParams&&window?._sp_?.config?.targetingParams.acps&&(window._sp_.config.targetingParams.acps=!1),window.GA_HAS_NEW_PLUS=!1,M(!0),C(!1)),n?(window?._sp_?.config?.targetingParams&&window?._sp_?.config?.targetingParams.acps&&(window._sp_.config.targetingParams.acps=!0),window.GA_HAS_ONEDAY_ABO=!0,M(!0),H(!0)):(window?._sp_?.config?.targetingParams&&window?._sp_?.config?.targetingParams.acps&&(window._sp_.config.targetingParams.acps=!1),window.GA_HAS_ONEDAY_ABO=!1,M(!0),H(!1))}catch(e){M(!0),console.error(e)}};return(0,a.useEffect)(()=>{if(!window._sp_)return;window._sp_.config.propertyHref&&o&&(window._sp_.config.propertyHref=o+V?.asPath),window._sp_?.config?.targetingParams&&(window._sp_.config.targetingParams.cld=!!e);let t=!1;for(let e=0;e<localStorage.length;e++){let n=localStorage.key(e);n.includes("_sp_user_consent")&&localStorage.getItem(n)&&JSON.parse(localStorage.getItem(n))?.gdpr?.consentStatus?.hasConsentData&&(t=!0)}if(console.log("consentReady::",y,G,t,I,window.GA_HAS_PLUS),!I){if(!t&&window?._sp_&&window._sp_.executeMessaging&&!I&&y){console.log("[MPSW-415] executeMessaging (no consent data) at",performance.now().toFixed(1),"ms"),window._sp_.executeMessaging();return}if(y)try{if(E)setTimeout(()=>{console.log("[MPSW-415] executeMessaging (delayed) at",performance.now().toFixed(1),"ms"),window._sp_.executeMessaging()},E);else if(window._sp_?.executeMessaging)console.log("[MPSW-415] executeMessaging at",performance.now().toFixed(1),"ms"),window._sp_.executeMessaging();else{let e=null;e=setInterval(()=>{window._sp_?.executeMessaging&&(console.log("executeMessaging!!"),window._sp_.executeMessaging(),clearInterval(e))},1e3)}}catch(e){console.error(e)}}},[y,V.asPath]),(0,a.useEffect)(()=>
1{if(!L)return},[L,V?.asPath]),(0,a.useEffect)(()=>{let e=function(e){let t=e.persisted||void 0!==window.performance&&2===window.performance.navigation.type;t&&setTimeout(()=>{try{console.log("executeMessaging!!pageShow",t,e.persisted),window._sp_.executeMessaging()}catch(e){console.error(e)}},350)};return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[]),(0,a.useEffect)(()=>{z()},[O?.authSettled,O?.user,O?.loggedIn]),(0,s.jsxs)(s.Fragment,{children:[!1,(0,s.jsx)(d.N,{})]})},A=S}}]);
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.