1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6160],{44132:(e,t,r)=>{r.d(t,{Q:()=>i});var s=r(55729),o=r(4455),n=r(81278);let i=({targetUrl:e="/"})=>{let t=(0,s.useContext)(o.VQ),[r,i]=(0,s.useState)(!0),l=(0,n.useRouter)(),a=async()=>{if(r){let r=await t.revalidateWithValue();i(!1),!t?.loginValidated||t?.loggedIn||r||(l?l.push(e):console.error(`RequireAuth :: Router not present, trying to redirect to ${e}`))}else t?.loginValidated&&!t?.loggedIn&&(l?l.push(e):console.error(`RequireAuth :: Router not present, trying to redirect to ${e}`))};return(0,s.useEffect)(()=>{a()},[t?.loginValidated,t?.loggedIn]),null}},77600:(e,t,r)=>{r.r(t),r.d(t,{CommunityProfileAbonnement:()=>h,default:()=>f});var s=r(6029),o=r(4455),n=r(64996),i=r(44132),l=r(99114),a=r(55729),u=r(70217),d=r(31332),c=r(58376),m=r(38252);let h=({element:e,page:t,irConfig:r,form:h,isStorybook:f=!1,...g})=>{let x=(0,a.useContext)(o.VQ),[p,w]=(0,a.useState)(h),[_,b]=(0,a.useState)(!1),k=(0,n.A)(),y=(0,c.z1)(),j=(0,a.useContext)(m.HP),v=async()=>{try{await x.revalidate(),b(!0)}catch(e){console.error(e)}};(0,a.useEffect)(()=>{x?.user&&V({},!1)},[x.user]);let V=async(s,o=!0)=>{try{let n=await k(e,r,t,{rkm_auth_token:x?.user?.__current_login_token},{isSubmitted:+!!o,...s});n?.form?.success&&v&&(y.track("form.submitt",{destination_host:j.apiHost,href:`${j.apiHost}/irelements/element`,form:`${e}-form`,counter:window.formFocusTimes,length:window.formTotalFields}),v()),w(n?.form)}catch(e){console.error(e)}};return x.loginValidated&&x.loggedIn||f?(0,s.jsxs)("div",{className:"px-4 lg:px-0 mb-9",children:[(0,s.jsx)(i.Q,{}),(0,s.jsxs)("section",{className:"max-w-px-600 mx-auto mb-9",children:[(0,s.jsx)("div",{className:"my-4",children:(0,s.jsx)(d.Headline,{size:"medium",type:"article",headline:"Abonnement",isDarkMode:!0})}),_&&(0,s.jsx)(u.Text,{isDarkMode:!0,size:"small",children:"\xc4nderungen erfolgreich gespeichert!"}),(0,s.jsx)(l.a,{...p,centerSubmit:!0,showErrorsOnFields:!1,showPflichtfeld:!1,onSubmit:e=>{V(e)},element:e})]})]}):(0,s.jsx)("div",{children:(0,s.jsx)(i.Q,{})})},f=h}}]);
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.