1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var a in n)n.hasOwnProperty(a)&&(e[a]=n[a])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:mentortools-frontend":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6282dd3f-95a9-43b8-8cd6-629fd4277b41",e._sentryDebugIdIdentifier="sentry-dbid-6282dd3f-95a9-43b8-8cd6-629fd4277b41")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5640],{3221:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(44501),o=n(40670),r=n(14232),i=n(98260),l=n(79219),s=n(37876);let c=["children"],d=r.forwardRef(function(e,t){let{children:n}=e,d=(0,o.A)(e,c),m=(0,l.QM)();if(null===m)throw TypeError("No TabContext provided");let u=r.Children.map(n,e=>r.isValidElement(e)?r.cloneElement(e,{"aria-controls":(0,l.eR)(m,e.props.value),id:(0,l.vU)(m,e.props.value)}):null);return(0,s.jsx)(i.A,(0,a.A)({},d,{ref:t,value:m.value,children:u}))})},19034:(e,t,n)=>{"use strict";n.d(t,{Q:()=>l});var a=n(74359),o=n(48790),r=n(11313);let i=["id","title"],l=({columns:e=i,limit:t=9999,queryKey:n,enabled:l=!0,filterBy:s})=>(0,a.I)({queryKey:n||[...r.Ay.courses.all.queryKey,"active-list",...s?[s]:[]],queryFn:()=>o.A.getAll({limit:t,filter_by:[{attribute:"is_archived",operator:"==",value:!1},...s||[]],columns:e}),select:e=>e.data.result||[],enabled:l})},31165:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var a=n(44501),o=n(40670),r=n(14232),i=n(49995),l=n(4697),s=n(64713),c=n(26200),d=n(47951),m=n(45879);function u(e){return(0,m.Ay)("MuiCardContent",e)}(0,d.A)("MuiCardContent",["root"]);var x=n(37876);let _=["className","component"],p=(0,s.Ay)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),y=r.forwardRef(function(e,t){let n=(0,c.A)({props:e,name:"MuiCardContent"}),{className:r,component:s="div"}=n,d=(0,o.A)(n,_),m=(0,a.A)({},n,{component:s}),y=(e=>{let{classes:t}=e;return(0,l.A)({root:["root"]},u,t)})(m);return(0,x.jsx)(p,(0,a.A)({as:s,className:(0,i.A)(y.root,r),ownerState:m,ref:t},d))})},53785:(e,t,n)=>{"use strict";n.d(t,{f:()=>l});var a=n(74359),o=n(11313),r=n(25750);let i={columns:["show_terms_page","terms_text","imprint_text","privacy_policy_text"],limit:1,offset:0},l=(e=!0)=>{let{data:t,isLoading:n,isError:l}=(0,a.I)({...o.Ay.settings.legalDocuments,queryFn:()=>r.A.getSettingsGDPRInfo(i),select:e=>e.data.result,enabled:e});return{isLoading:n,isError:l,data:t}}},62727:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var a=n(44501),o=n(40670),r=n(14232),i=n(49995),l=n(64713),s=n(26200),c=n(4697),d=n(45879);function m(e){return(0,d.Ay)("MuiTabPanel",e)}(0,n(47951).A)("MuiTabPanel",["root"]);var u=n(79219),x=n(37876);let _=["children","className","value"],p=(0,l.Ay)("div",{name:"MuiTabPanel",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({padding:e.spacing(3)})),y=r.forwardRef(function(e,t){let n=(0,s.A)({props:e,name:"MuiTabPanel"}),{children:r,className:l,value:d}=n,y=(0,o.A)(n,_),h=(0,a.A)({},n),b=(e=>{let{classes:t}=e;return(0,c.A)({root:["root"]},m,t)})(h),f=(0,u.QM)();if(null===f)throw TypeError("No TabContext provided");let g=(0,u.eR)(f,d),A=(0,u.vU)(f,d);return(0,x.jsx)(p,(0,a.A)({"aria-labelledby":A,className:(0,i.A)(b.root,l),hidden:d!==f.value,id:g,ref:t,role:"tabpanel",ownerState:h},y,{children:d===f.value&&r}))})},68954:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var a=n(37876),o=n(14232),r=n(64713),i=n(74234),l=n(8600),s=n(54227),c=n(3801),d=n(88414),m=n(4262),u=n(30942),x=n(99399),_=n(90623),p=n(94356);let y=(0,r.Ay)(s.A,{shouldForwardProp:e=>!["renderType","isMobile","navigationSize"].includes(e)})(({theme:e,renderType:t,isMobile:n,navigationSize:a})=>({display:"flex",alignItems:"center",justifyContent:"space-between",flexDirection:n?"column":"row",background:e.palette.background.paper,transition:"all 0.25s ease-in-out",border:"1px",..."modal"===t?{width:"100%",boxSizing:"border-box",flex:"0 0 auto",zIndex:"auto",position:"static",padding:e.spacing(4,6),borderTop:`1px solid ${e.palette.divider}`,borderBottomRightRadius:e.spacing(2)}:{flex:1,zIndex:10,position:"fixed",bottom:0,left:n?"0":a,width:`calc(100% - ${n?"0":a}px)`,padding:`${e.spacing(4)} ${e.spacing(16)}`}})),h=(0,o.memo)(({renderType:e="regular",saveAndCloseButton:{onSubmit:t,tooltip:n,text:r,isSubmitting:h,disabled:b,startIcon:f,endIcon:g,actionCode:A,anyActionCode:C,courseId:j,...v}={},deleteButton:{onSubmit:T,tooltip:E,text:I,isSubmitting:S,disabled:k,startIcon:N,endIcon:M,actionCode:w,anyActionCode:D,courseId:F,...L}={},saveButton:{onSubmit:O,tooltip:P,variant:R,text:G,isSubmitting:B,disabled:q,startIcon:U,endIcon:$,actionCode:z,anyActionCode:W,courseId:Y,...Q}
1={},cancelButton:{onSubmit:V,text:H,tooltip:K,isSubmitting:X,disabled:J,startIcon:Z,endIcon:ee,actionCode:et,anyActionCode:en,courseId:ea,...eo}={},applyButton:{onSubmit:er,tooltip:ei,text:el,startIcon:es,endIcon:ec,isSubmitting:ed,disabled:em,actionCode:eu,anyActionCode:ex,courseId:e_}={}})=>{let ep=(0,i.A)(),{t:ey}=(0,u.o)(),{settings:eh}=(0,m.t)(),{hasAccess:eb,hasCourseAccess:ef}=(0,x.D)(),[eg,eA]=(0,o.useState)(null),eC=(e,t,n,a,o)=>async()=>{if(o&&!eg){if(t&&n&&a){if(!ef(t,n,a))return}else if(t&&!eb(t))return;eA(e),await o?.(),eA(()=>null)}},ej=!!eg,ev=(0,d.A)(e=>e.breakpoints.down("md")),eT=eh.navCollapsed?p.A.collapsedNavigationSize:p.A.navigationSize;return(0,a.jsxs)(y,{renderType:e,isMobile:ev,navigationSize:eT,"data-sentry-element":"Footer","data-sentry-component":"FormFooter","data-sentry-source-file":"index.tsx",children:[(0,a.jsx)(s.A,{sx:{paddingBottom:+!!ev},"data-sentry-element":"Box","data-sentry-source-file":"index.tsx",children:T&&(0,a.jsx)(l.A,{arrow:!0,title:E,children:(0,a.jsx)("span",{children:(0,a.jsx)(_.f,{action:w,anyAction:D,courseId:F,children:(0,a.jsx)(c.A,{disabled:ej||k,loading:"delete"===eg||S,variant:"tonal",color:"error",onClick:eC("delete",w,D,F,T),startIcon:N,endIcon:M,...L,children:I||ey("ACTION.delete")})})})})}),(0,a.jsxs)(s.A,{justifyContent:"center",display:"flex",gap:ep.spacing(ev?3:4),flexWrap:"wrap","data-sentry-element":"Box","data-sentry-source-file":"index.tsx",children:[V&&(0,a.jsx)(l.A,{arrow:!0,title:K,children:(0,a.jsx)("span",{children:(0,a.jsx)(_.f,{action:et,anyAction:en,courseId:ea,children:(0,a.jsx)(c.A,{disabled:ej||J,loading:"cancel"===eg||X,variant:"tonal",onClick:eC("cancel",et,en,ea,V),startIcon:Z,endIcon:ee,...eo,children:H||ey("ACTION.cancel")})})})}),er&&(0,a.jsx)(l.A,{arrow:!0,title:ei,children:(0,a.jsx)("span",{children:(0,a.jsx)(_.f,{action:eu,anyAction:ex,courseId:e_,children:(0,a.jsx)(c.A,{variant:"outlined",disabled:ej||em,loading:"apply"===eg||ed,onClick:eC("apply",eu,ex,e_,er),startIcon:es,endIcon:ec,children:el||ey("ACTION.apply")})})})}),O&&(0,a.jsx)(l.A,{arrow:!0,title:P,children:(0,a.jsx)("span",{children:(0,a.jsx)(_.f,{action:z,anyAction:W,courseId:Y,children:(0,a.jsx)(c.A,{disabled:ej||q,loading:"save"===eg||B,variant:R||"outlined",onClick:eC("save",z,W,Y,O),startIcon:U,endIcon:$,...Q,children:G||ey("ACTION.save")})})})}),t&&(0,a.jsx)(l.A,{arrow:!0,title:n,children:(0,a.jsx)("span",{children:(0,a.jsx)(_.f,{action:A,anyAction:C,courseId:j,children:(0,a.jsx)(c.A,{variant:"contained",disabled:ej||b,loading:"saveAndClose"===eg||h,onClick:eC("saveAndClose",A,C,j,t),startIcon:f,endIcon:g,...v,children:r||ey("ACTION.save_n_close")})})})})]})]})})},74196:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/settings/legal-documents",function(){return n(98974)}])},79219:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>i,QM:()=>l,eR:()=>s,vU:()=>c});var a=n(14232),o=n(37876);let r=a.createContext(null);function i(e){let{children:t,value:n}=e,i=function(){let[e,t]=a.useState(null);return a.useEffect(()=>{t(`mui-p-${Math.round(1e5*Math.random())}`)},[]),e}(),l=a.useMemo(()=>({idPrefix:i,value:n}),[i,n]);return(0,o.jsx)(r.Provider,{value:l,children:t})}function l(){return a.useContext(r)}function s(e,t){let{idPrefix:n}=e;return null===n?null:`${e.idPrefix}-P-${t}`}function c(e,t){let{idPrefix:n}=e;return null===n?null:`${e.idPrefix}-T-${t}`}},98974:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>eA});var a=n(37876),o=n(66950),r=n(31941),i=n(64713),l=n(5157),s=n(30942),c=n(69884),d=n(68010),m=n(12772),u=n(99399),x=n(53785),_=n(69348),p=n(88992),y=n(14232),h=n(67768),b=n(40097),f=n(13810),g=n(39086),A=n(52793),C=n(16361),j=n(14958),v=n(25750),T=n(11313),E=n(51802),I=n(81645);let S=E.Ik({showTermsPage:E.zM(),imprintText:E.Yj(),termsText:E.Yj(),privacyPolicyText:E.Yj()}),k=E.Ik({is_active:E.zM(),is_form_mode:E.zM(),email:E.Yj().email("FORM.invalid_email").nullable().optional().or(E.eu("")),external_url:E.vk(e=>"string"!=typeof e?e:e.trim().replace(/^https?:\/\//i,""),E.Yj().nullable().optional().or(E.eu("")))}).superRefine((e,t)=>{if(e.is_active)if(e.is_form_mode)e.email&&e.email.trim()||t.addIssue({code:I.eq.custom,message:"FORM.required",path:["email"]});else if(e.external_url&&e.external_url.trim())try{let t=e.external_url,n=new URL(t.startsWith("http://")||t.startsWith("https://")?t:`https://${t}`).hostname;if("localhost"!==n&&!/\.[a-z]{2,}$/i.test(n))throw Error()}catch(e){t.addIssue({code:I.eq.custom,message:"FORM.invalid_url",path:["external_url"]})}else t.addIssue({code:I.eq.custom,message:"FORM.required",path:["external_url"]})}),N=E.Ik({is_mandatory:E.zM(),is_enabled:E.zM(),headline:E.Yj().nullable().optional().or(E.eu("")),text_content:E.Yj().nullable().optional().or(E.eu("")),confirmation_button_text:E.Yj().nullable().optional().or(E.eu("")),checkbox_text:E.Yj().nullable().optional().or(E.eu("")),course_ids:E.YO(E.ai())}).superRefine((e,t)=>
1{e.is_enabled&&(e.headline&&e.headline.trim()||t.addIssue({code:I.eq.custom,message:"FORM.required",path:["headline"]}),e.confirmation_button_text&&e.confirmation_button_text.trim()||t.addIssue({code:I.eq.custom,message:"FORM.required",path:["confirmation_button_text"]}),!e.is_mandatory||e.checkbox_text&&e.checkbox_text.trim()||t.addIssue({code:I.eq.custom,message:"FORM.required",path:["checkbox_text"]}))}),M=E.Ik({is_mandatory:E.zM(),is_enabled:E.zM(),headline:E.Yj().nullable().optional().or(E.eu("")),text_content:E.Yj().nullable().optional().or(E.eu("")),confirmation_button_text:E.Yj().nullable().optional().or(E.eu("")),checkbox_text:E.Yj().nullable().optional().or(E.eu("")),community_ids:E.YO(E.ai())}).superRefine((e,t)=>{e.is_enabled&&(e.headline&&e.headline.trim()||t.addIssue({code:I.eq.custom,message:"FORM.required",path:["headline"]}),e.confirmation_button_text&&e.confirmation_button_text.trim()||t.addIssue({code:I.eq.custom,message:"FORM.required",path:["confirmation_button_text"]}),!e.is_mandatory||e.checkbox_text&&e.checkbox_text.trim()||t.addIssue({code:I.eq.custom,message:"FORM.required",path:["checkbox_text"]}))});var w=n(93245),D=n(12227),F=n(90623),L=n(27345),O=n(61210),P=n(68954),R=n(25875),G=n(76587),B=n(32894);let q=(0,i.Ay)(o.A,{shouldForwardProp:e=>"disabled"!==e})(({theme:e,disabled:t})=>({position:"relative","& .ck-editor__editable_inline":{maxHeight:e.spacing(103),overflow:"auto"},".ck.ck-toolbar__items .ck-button.ck-disabled":{pointerEvents:"none",outline:"none",userSelect:"none"},...t&&{".ck-toolbar":{pointerEvents:"none",userSelect:"none"}}})),U=(0,i.Ay)(o.A,{shouldForwardProp:e=>"disabled"!==e})(({theme:e,disabled:t})=>({marginTop:e.spacing(8),opacity:t?.5:1})),$=(0,i.Ay)(r.A)(({theme:e})=>({marginBottom:e.spacing(2)})),z=(0,i.Ay)(r.A)(({theme:e})=>({paddingBottom:e.spacing(2)})),W=({title:e,subtitle:t,onChange:n,value:o,disabled:r})=>(0,a.jsxs)(U,{disabled:r,"data-sentry-element":"Container","data-sentry-component":"LegalDocumentEditor","data-sentry-source-file":"LegalDocumentEditor.tsx",children:[(0,a.jsx)($,{variant:"h6","data-sentry-element":"Title","data-sentry-source-file":"LegalDocumentEditor.tsx",children:e}),(0,a.jsx)(z,{variant:"body2","data-sentry-element":"InfoSection","data-sentry-source-file":"LegalDocumentEditor.tsx",children:t}),(0,a.jsx)(q,{disabled:r,"data-sentry-element":"StyledCKEditorBox","data-sentry-source-file":"LegalDocumentEditor.tsx",children:(0,a.jsx)(B.A,{value:o,onChange:n,disabled:r,"data-sentry-element":"Tiptap","data-sentry-source-file":"LegalDocumentEditor.tsx"})})]});var Y=n(82867);let Q=(0,i.Ay)(G.A)(({theme:e})=>({marginBottom:e.spacing(-2.5),marginTop:e.spacing(5.5)})),V=({control:e,showTermsPageValue:t})=>{let{t:n}=(0,s.o)("translation",{keyPrefix:"PAGE.LEGAL_DOCUMENTS_SETTINGS.FORM"});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p.xI,{name:"showTermsPage",control:e,render:({field:{value:e,onChange:t}})=>(0,a.jsx)(F.f,{action:Y.Qi.EDIT_LEGAL_DOCUMENTS_SETTINGS,children:(0,a.jsx)(Q,{label:n("terms_radio_label"),control:(0,a.jsx)(R.A,{checked:e,onChange:t})})}),"data-sentry-element":"Controller","data-sentry-source-file":"TermsAndConditionsEditor.tsx"}),(0,a.jsx)(p.xI,{render:({field:{value:e,onChange:o}})=>(0,a.jsx)(F.f,{action:Y.Qi.EDIT_LEGAL_DOCUMENTS_SETTINGS,children:(0,a.jsx)(W,{title:n("terms_title"),subtitle:n("terms_subtitle"),value:e,onChange:o,disabled:!t})}),name:"termsText",control:e,"data-sentry-element":"Controller","data-sentry-source-file":"TermsAndConditionsEditor.tsx"})]})};var H=n(22208),K=n(75542),X=n(19034),J=n(85174),Z=n(11274);let ee=(0,i.Ay)(o.A,{shouldForwardProp:e=>"disabled"!==e})(({theme:e,disabled:t})=>({marginTop:e.spacing(6),display:"flex",flexDirection:"column",gap:e.spacing(6),opacity:t?.6:1,pointerEvents:t?"none":"auto"})),et=(0,i.Ay)(G.A)(({theme:e})=>({marginBottom:e.spacing(-2.5)})),en=(0,i.Ay)(r.A)(({theme:e})=>({fontWeight:500,marginBottom:e.spacing(1.5)})),ea=(0,i.Ay)(o.A)(({theme:e})=>({display:"inline-flex",backgroundColor:e.palette.action.hover,borderRadius:e.spacing(2),padding:e.spacing(1),border:`1px solid ${e.palette.divider}`})),eo=(0,i.Ay)(H.A,{shouldForwardProp:e=>"active"!==e})(({theme:e,active:t})=>({borderRadius:e.spacing(1.5),textTransform:"none",padding:e.spacing(1.5,5),fontSize:"0.875rem",fontWeight:500,backgroundColor:t?e.palette.background.paper:"transparent",color:t?e.palette.text.primary:e.palette.text.secondary,boxShadow:t?e.shadows[2]:"none",border:"none",minWidth:"120px","&:hover":{backgroundColor:t?e.palette.background.paper:e.palette.action.selected,border:"none"}})),er=(0,i.Ay)(H.A,{shouldForwardProp:e=>"active"!==e})(({theme:e,active:t})=>({borderRadius:e.spacing(1.5),textTransform:"none",fontWeight:600,padding:e.spacing(2,4),backgroundColor:t?e.palette.primary.main:e.palette.action.hover,color:t?e.palette.primary.contrastText:e.palette.text.primary,"&:hover":{backgroundColor:t?e.palette.primary.dark:e.palette.action.selected}})),ei=({control:e,trigger:t,communityControl:n,triggerCommunity:i})=>{let[c,d]=(0,y.useState)("courses"),{t:m}=(0,s.o)("translation",{keyPrefix:"PAGE.LEGAL_DOCUMENTS_SETTINGS.FORM"}),{t:u}=(0,s.o)("translation"),x=(0,p.FH)({control:e,name:"is_enabled"}),_=(0,p.FH)({control:e,name:"is_mandatory"}),h=(0,p.FH)({control:n,name:"is_enabled"}),b=(0,p.FH)({control:n,name:"is_mandatory"}),{data:f=[]}=(0,X.Q)({filterBy:[{attribute:"is_active",operator:"==",value:!0}]}),g=f.map(e=>({label:e.title||"",value:e.id}))||[],{data:A=[]}=(0,J.B)(),C=e=>()=>{d(e)},j=A.map(e=>({label:e.title||"",value:e.id}))||[];return(0,a.jsxs)(o.A,{sx:{mt:4},"data-sentry-element":"Box","data-sentry-component":"ComplianceNoticeEditor","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:[(0,a.jsxs)(o.A,{sx:{display:"flex",gap:2,mb:6},"data-sentry-element":"Box","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:[(0,a.jsx)(er,{active:"courses"===c,onClick:C("courses"),startIcon:(0,a.jsx)(l.A,{icon:"tabler:book"}),"data-sentry-element":"SubTabButton","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:m("compliance_notices_tab_courses")}),(0,a.jsx)(er,{active:"communities"===c,onClick:C("communities"),startIcon:(0,a.jsx)(l.A,{icon:"tabler:users"}),"data-sentry-element":"SubTabButton","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:m("compliance_notices_tab_communities")})]}),(0,a.jsxs)(o.A,{sx:{display:"courses"===c?"block":"none"},"data-sentry-element":"Box","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:[(0,a.jsx)(p.xI,{name:"is_enabled",control:e,render:({field:{value:e,onCh
1ange:t}})=>(0,a.jsx)(F.f,{action:Y.Qi.EDIT_LEGAL_DOCUMENTS_SETTINGS,children:(0,a.jsx)(et,{label:m("compliance_notices_enable"),control:(0,a.jsx)(R.A,{checked:!!e,onChange:e=>t(e.target.checked)})})}),"data-sentry-element":"Controller","data-sentry-source-file":"ComplianceNoticeEditor.tsx"}),(0,a.jsxs)(ee,{disabled:!x,"data-sentry-element":"Container","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:[(0,a.jsxs)(o.A,{"data-sentry-element":"Box","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:[(0,a.jsx)(en,{variant:"body2",color:"text.primary","data-sentry-element":"SectionTitle","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:m("compliance_notices_notice_type")}),(0,a.jsx)(p.xI,{name:"is_mandatory",control:e,render:({field:{value:e,onChange:n}})=>(0,a.jsxs)(ea,{children:[(0,a.jsx)(eo,{active:e,onClick:()=>{n(!0),t?.("checkbox_text")},variant:e?"contained":"text",children:m("compliance_notices_mandatory")}),(0,a.jsx)(eo,{active:!e,onClick:()=>{n(!1),t?.("checkbox_text")},variant:e?"text":"contained",children:m("compliance_notices_informational")})]}),"data-sentry-element":"Controller","data-sentry-source-file":"ComplianceNoticeEditor.tsx"}),(0,a.jsx)(r.A,{variant:"caption",color:"text.secondary",sx:{display:"block",mt:2},"data-sentry-element":"Typography","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:_?m("compliance_notices_mandatory_desc"):m("compliance_notices_informational_desc")})]}),(0,a.jsx)(p.xI,{name:"headline",control:e,render:({field:{value:e,onChange:t},fieldState:{error:n}})=>(0,a.jsx)(K.Ay,{fullWidth:!0,label:m("compliance_notices_headline_label"),placeholder:m("compliance_notices_headline_placeholder"),value:e||"",onChange:t,error:!!n,helperText:n?u(`${n.message}`):"",required:!0}),"data-sentry-element":"Controller","data-sentry-source-file":"ComplianceNoticeEditor.tsx"}),(0,a.jsxs)(o.A,{"data-sentry-element":"Box","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:[(0,a.jsx)(en,{variant:"body2",color:"text.primary","data-sentry-element":"SectionTitle","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:m("compliance_notices_text_content")}),(0,a.jsx)(p.xI,{name:"text_content",control:e,render:({field:{value:e,onChange:t}})=>(0,a.jsx)(q,{disabled:!x,children:(0,a.jsx)(B.A,{value:e||"",onChange:t,disabled:!x})}),"data-sentry-element":"Controller","data-sentry-source-file":"ComplianceNoticeEditor.tsx"})]}),(0,a.jsx)(p.xI,{name:"confirmation_button_text",control:e,render:({field:{value:e,onChange:t},fieldState:{error:n}})=>(0,a.jsx)(K.Ay,{fullWidth:!0,label:m("compliance_notices_confirmation_button_label"),placeholder:m("compliance_notices_confirmation_button_placeholder"),value:e||"",onChange:t,error:!!n,helperText:n?u(`${n.message}`):"",required:!0}),"data-sentry-element":"Controller","data-sentry-source-file":"ComplianceNoticeEditor.tsx"}),(0,a.jsx)(p.xI,{name:"checkbox_text",control:e,render:({field:{value:e,onChange:t},fieldState:{error:n}})=>(0,a.jsx)(K.Ay,{fullWidth:!0,label:m("compliance_notices_checkbox_label"),placeholder:m("compliance_notices_checkbox_placeholder"),value:e||"",onChange:t,error:!!n,helperText:n?u(`${n.message}`):"",required:_}),"data-sentry-element":"Controller","data-sentry-source-file":"ComplianceNoticeEditor.tsx"}),(0,a.jsxs)(o.A,{"data-sentry-element":"Box","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:[(0,a.jsx)(en,{variant:"body2",color:"text.primary","data-sentry-element":"SectionTitle","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:m("compliance_notices_courses_label")}),(0,a.jsx)(p.xI,{name:"course_ids",control:e,render:({field:{value:e=[],onChange:t}})=>(0,a.jsx)(Z.A,{options:g,value:e,onChange:t,hasTruncatedLabel:!0,maxVisibleItems:3,withChips:!0,withSearch:!0,placeholder:m("compliance_notices_courses_placeholder"),fullWidth:!0}),"data-sentry-element":"Controller","data-sentry-source-file":"ComplianceNoticeEditor.tsx"})]})]})]}),(0,a.jsxs)(o.A,{sx:{display:"communities"===c?"block":"none"},"data-sentry-element":"Box","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:[(0,a.jsx)(p.xI,{name:"is_enabled",control:n,render:({field:{value:e,onCh
1ange:t}})=>(0,a.jsx)(F.f,{action:Y.Qi.EDIT_LEGAL_DOCUMENTS_SETTINGS,children:(0,a.jsx)(et,{label:m("compliance_notices_enable"),control:(0,a.jsx)(R.A,{checked:!!e,onChange:e=>t(e.target.checked)})})}),"data-sentry-element":"Controller","data-sentry-source-file":"ComplianceNoticeEditor.tsx"}),(0,a.jsxs)(ee,{disabled:!h,"data-sentry-element":"Container","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:[(0,a.jsxs)(o.A,{"data-sentry-element":"Box","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:[(0,a.jsx)(en,{variant:"body2",color:"text.primary","data-sentry-element":"SectionTitle","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:m("compliance_notices_notice_type")}),(0,a.jsx)(p.xI,{name:"is_mandatory",control:n,render:({field:{value:e,onChange:t}})=>(0,a.jsxs)(ea,{children:[(0,a.jsx)(eo,{active:e,onClick:()=>{t(!0),i?.("checkbox_text")},variant:e?"contained":"text",children:m("compliance_notices_mandatory")}),(0,a.jsx)(eo,{active:!e,onClick:()=>{t(!1),i?.("checkbox_text")},variant:e?"text":"contained",children:m("compliance_notices_informational")})]}),"data-sentry-element":"Controller","data-sentry-source-file":"ComplianceNoticeEditor.tsx"}),(0,a.jsx)(r.A,{variant:"caption",color:"text.secondary",sx:{display:"block",mt:2},"data-sentry-element":"Typography","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:b?m("compliance_notices_mandatory_desc"):m("compliance_notices_informational_desc")})]}),(0,a.jsx)(p.xI,{name:"headline",control:n,render:({field:{value:e,onChange:t},fieldState:{error:n}})=>(0,a.jsx)(K.Ay,{fullWidth:!0,label:m("compliance_notices_headline_label"),placeholder:m("compliance_notices_headline_placeholder"),value:e||"",onChange:t,error:!!n,helperText:n?u(`${n.message}`):"",required:!0}),"data-sentry-element":"Controller","data-sentry-source-file":"ComplianceNoticeEditor.tsx"}),(0,a.jsxs)(o.A,{"data-sentry-element":"Box","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:[(0,a.jsx)(en,{variant:"body2",color:"text.primary","data-sentry-element":"SectionTitle","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:m("compliance_notices_text_content")}),(0,a.jsx)(p.xI,{name:"text_content",control:n,render:({field:{value:e,onChange:t}})=>(0,a.jsx)(q,{disabled:!h,children:(0,a.jsx)(B.A,{value:e||"",onChange:t,disabled:!h})}),"data-sentry-element":"Controller","data-sentry-source-file":"ComplianceNoticeEditor.tsx"})]}),(0,a.jsx)(p.xI,{name:"confirmation_button_text",control:n,render:({field:{value:e,onChange:t},fieldState:{error:n}})=>(0,a.jsx)(K.Ay,{fullWidth:!0,label:m("compliance_notices_confirmation_button_label"),placeholder:m("compliance_notices_confirmation_button_placeholder"),value:e||"",onChange:t,error:!!n,helperText:n?u(`${n.message}`):"",required:!0}),"data-sentry-element":"Controller","data-sentry-source-file":"ComplianceNoticeEditor.tsx"}),(0,a.jsx)(p.xI,{name:"checkbox_text",control:n,render:({field:{value:e,onChange:t},fieldState:{error:n}})=>(0,a.jsx)(K.Ay,{fullWidth:!0,label:m("compliance_notices_checkbox_label"),placeholder:m("compliance_notices_checkbox_placeholder"),value:e||"",onChange:t,error:!!n,helperText:n?u(`${n.message}`):"",required:b}),"data-sentry-element":"Controller","data-sentry-source-file":"ComplianceNoticeEditor.tsx"}),(0,a.jsxs)(o.A,{"data-sentry-element":"Box","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:[(0,a.jsx)(en,{variant:"body2",color:"text.primary","data-sentry-element":"SectionTitle","data-sentry-source-file":"ComplianceNoticeEditor.tsx",children:m("compliance_notices_communities_label")}),(0,a.jsx)(p.xI,{name:"community_ids",control:n,render:({field:{value:e=[],onChange:t}})=>(0,a.jsx)(Z.A,{options:j,value:e,onChange:t,hasTruncatedLabel:!0,maxVisibleItems:3,withChips:!0,withSearch:!0,placeholder:m("compliance_notices_communities_placeholder"),fullWidth:!0}),"data-sentry-element":"Controller","data-sentry-source-file":"ComplianceNoticeEditor.tsx"})]})]})]})]})};var el=n(47692),es=n(86761),ec=n(79378),ed=n(60432);let em=(0,i.Ay)(o.A)(({theme:e})=>({display:"flex",flexDirection:"column",gap:e.spacing(6),marginTop:e.spacing(2)})),eu=(0,i.Ay)(o.A)(({theme:e})=>({display:"flex",flexDirection:"column",marginLeft:e.spacing(4),gap:e.spacing(4)})),ex=(0,i.Ay)(o.A,{shouldForwardProp:e=>"selected"!==e})(({theme:e,selected:t})=>({borderRadius:e.spacing(1.5),border:`1px solid ${t?e.palette.primary.main:e.palette.grey[200]}`,padding:e.spacing(4),cursor:"pointer",display:"flex",flexDirection:"column",gap:e.spacing(2),backgroundColor:t?"dark"===e.palette.mode?"rgba(115, 103, 240, 0.08)":"rgba(115, 103, 240, 0.04)":"transparent",transition:"all 150ms ease-in-out","&:hover":{borderColor:e.palette.primary.main}})),e_=(0,i.Ay)(o.A)(({theme:e})=>({display:"flex",alignItems:"center",gap:e.spacing(2)})),ep=(0,i.Ay)(r.A)(({theme:e})=>({marginBottom:e.spacing(4)})),ey=({control:e})=>{let{t}=(0,s.o)("translation",{keyPrefix:"PAGE.LEGAL_DOCUMENTS_SETTINGS.FORM"}),{t:n}=(0,s.o)("translation"),[i,l]=(0,p.FH)({control:e,name:["is_active","is_form_mode"]});return(0,a.jsxs)(o.A,{sx:{width:"100%"},"data-sentry-element":"Box","data-sentry-component":"OrderCancelingEditor","data-sentry-source-file":"OrderCancelingEditor.tsx",children:[(0,a.jsx)(ep,{variant:"body1","data-sentry-element":"Subtitle","data-sentry-source-file":"OrderCancelingEditor.tsx",children:t("order_canceling_editor_subtitle")}),(0,a.jsx)(p.xI,{name:"is_active",control:e,render:({field:{value:e,onCh
1ange:n}})=>(0,a.jsx)(F.f,{action:Y.Qi.EDIT_LEGAL_DOCUMENTS_SETTINGS,children:(0,a.jsx)(G.A,{label:t("order_canceling_label"),control:(0,a.jsx)(R.A,{checked:e,onChange:n})})}),"data-sentry-element":"Controller","data-sentry-source-file":"OrderCancelingEditor.tsx"}),i&&(0,a.jsxs)(em,{children:[(0,a.jsx)(ec.A,{severity:"warning",icon:!1,children:t("order_canceling_info")}),(0,a.jsxs)(es.Ay,{container:!0,spacing:4,children:[(0,a.jsx)(es.Ay,{item:!0,xs:12,md:12,children:(0,a.jsx)(p.xI,{name:"is_form_mode",control:e,render:({field:{onChange:o}})=>(0,a.jsxs)(ex,{selected:!0===l,onClick:()=>o(!0),children:[(0,a.jsxs)(e_,{children:[(0,a.jsx)(el.A,{checked:!0===l,onChange:()=>o(!0),value:"true",name:"is_form_mode_radio"}),(0,a.jsx)(r.A,{variant:"h6",children:t("order_canceling_form_title")})]}),(0,a.jsxs)(eu,{children:[(0,a.jsx)(r.A,{variant:"body1",children:t("order_canceling_form_desc")}),(0,a.jsx)(p.xI,{name:"email",control:e,render:({field:{value:e,onChange:o},fieldState:{error:r}})=>(0,a.jsx)(K.Ay,{fullWidth:!0,label:t("order_canceling_email_label"),placeholder:t("order_canceling_email_placeholder"),value:e||"",onChange:o,error:!!r,helperText:r?n(`${r.message}`):""})},"email_input")]})]})})}),(0,a.jsx)(es.Ay,{item:!0,xs:12,md:12,children:(0,a.jsx)(p.xI,{name:"is_form_mode",control:e,render:({field:{onChange:o}})=>(0,a.jsxs)(ex,{selected:!1===l,onClick:()=>o(!1),children:[(0,a.jsxs)(e_,{children:[(0,a.jsx)(el.A,{checked:!1===l,onChange:()=>o(!1),value:"false",name:"is_form_mode_radio"}),(0,a.jsx)(r.A,{variant:"h6",children:t("order_canceling_link_title")})]}),(0,a.jsxs)(eu,{children:[(0,a.jsx)(r.A,{variant:"body1",children:t("order_canceling_link_desc")}),(0,a.jsx)(p.xI,{name:"external_url",control:e,render:({field:{value:e,onChange:o},fieldState:{error:r}})=>(0,a.jsx)(ed.A,{label:t("order_canceling_url_label"),error:!!r,onChange:o,value:e||"",placeholder:t("order_canceling_url_placeholder"),helperText:r?n(`${r.message}`):"",startButtonProps:{children:"https://",variant:"outlined",readOnly:!0}})},"external_url_input")]})]})})})]})]})]})},eh=({data:e})=>{let{t}=(0,s.o)("translation",{keyPrefix:"PAGE.LEGAL_DOCUMENTS_SETTINGS"}),{t:n}=(0,s.o)("translation",{keyPrefix:"ACTION"}),{onSubmit:o,control:r,watch:i,cancellationControl:l,complianceControl:c,triggerCompliance:d,complianceCommunityControl:m,triggerComplianceCommunity:u}=(e=>{let{notify:t}=(0,C.A)(),{t:n}=(0,s.o)("translation",{keyPrefix:"PAGE.LEGAL_DOCUMENTS_SETTINGS"}),a=(0,h.jE)(),o=(0,j.A)(),{portalSettings:r,updateSettings:i}=(0,A.D)(),l=(e=>{let{imprint_text:t,privacy_policy_text:n,terms_text:a,show_terms_page:o}=e[0];return{imprintText:t||"",privacyPolicyText:n||"",termsText:a||"",showTermsPage:o||!1}})(e),{control:c,handleSubmit:d,watch:m,formState:{errors:u,isSubmitting:x,isDirty:_}}=(0,p.mN)({resolver:(0,f.u)(S),mode:"all",defaultValues:l}),E=r?.order_cancellation_settings?.[0],I={is_active:E?.is_active||!1,is_form_mode:E?.is_form_mode!==!1,email:E?.email||"",external_url:(E?.external_url||"").replace(/^https?:\/\//i,"")},{control:F,handleSubmit:L,formState:{isSubmitting:O,isDirty:P}}=(0,p.mN)({resolver:(0,f.u)(k),mode:"all",defaultValues:I}),R=r?.compliance_notice,G={is_mandatory:R?.is_mandatory||!1,is_enabled:R?.is_enabled||!1,headline:R?.headline||"",text_content:R?.text_content||"",confirmation_button_text:R?.confirmation_button_text||"",checkbox_text:R?.checkbox_text||"",course_ids:R?.course_ids||[]},{control:B,handleSubmit:q,reset:U,trigger:$,formState:{isSubmitting:z,isDirty:W}}=(0,p.mN)({resolver:(0,f.u)(N),mode:"all",defaultValues:G});(0,y.useEffect)(()=>{R&&U({is_mandatory:R.is_mandatory||!1,is_enabled:R.is_enabled||!1,headline:R.headline||"",text_content:R.text_content||"",confirmation_button_text:R.confirmation_button_text||"",checkbox_text:R.checkbox_text||"",course_ids:R.course_ids||[]})},[R]);let Y=r?.compliance_notice_community,Q={is_mandatory:Y?.is_mandatory||!1,is_enabled:Y?.is_enabled||!1,headline:Y?.headline||"",text_content:Y?.text_content||"",confirmation_button_text:Y?.confirmation_button_text||"",checkbox_text:Y?.checkbox_text||"",community_ids:Y?.community_ids||[]},{control:V,handleSubmit:H,reset:K,trigger:X,formState:{isSubmitting:J,isDirty:Z}}=(0,p.mN)({resolver:(0,f.u)(M),mode:"all",defaultValues:Q});(0,y.useEffect)(()=>{Y&&K({is_mandatory:Y.is_mandatory||!1,is_enabled:Y.is_enabled||!1,headline:Y.headline||"",text_content:Y.text_content||"",confirmation_button_text:Y.confirmation_button_text||"",checkbox_text:Y.checkbox_text||"",community_ids:Y.community_ids||[]})},[Y]);let ee=(0,b.n)({mutationFn:v.A.updateSettingsGDPRInfo,onSettled:()=>a.invalidateQueries({...T.Ay.settings.legalDocuments}),onError:()=>t(n("error"),{type:"error"}),onSuccess:()=>t(n("success"),{type:"success"})}),et=(0,b.n)({mutationFn:v.A.updateSettingsOrderCancellation,onError:()=>t(n("error"),{type:"error"}),onSuccess:(e,o)=>{t(n("success"),{type:"success"}),i({...r,order_cancellation_settings:[{...E,...o.values?.[0]||{}}]}),a.invalidateQueries({...T.Ay.settings.legalDocuments})}}),en=(0,b.n)({mutationFn:v.A.updateComplianceNotice,onError:()=>t(n("error"),{type:"error"}),onSuccess:(e,o)=>{t(n("success"),{type:"success"});let l=o.type_id===w.k_.COMMUNITY;i({...r,...l?{compliance_notice_community:{...Y,...o}}:{compliance_notice:{...R,...o}}}),localStorage.setItem(g.T6,Date.now().toString()),a.invalidateQueries({...T.Ay.settings.legalDocuments})}}),ea=d(async e=>{let t=[{imprint_text:e.imprintText?D.A.sanitize(e.imprintText):"",privacy_policy_text:e.privacyPolicyText?D.A.sanitize(e.privacyPolicyText):"",terms_text:e.termsText?D.A.sanitize(e.termsText):"",show_terms_page:e.showTermsPage,portal_id:o.user?.portal?.id}];await ee.mutateAsync({values:t})}),eo=L(async e=>{let t={id:E?.id,portal_id:E?.portal_id,is_active:e.is_active,is_form_mode:e.is_form_mode,email:e.email||null,external_url:e.external_url?`https://${e.external_url.trim().replace(/^https?:\/\//i,"")}`:null};await et.mutateAsync({values:[t]})}),er=q(async e=>{try{await en.mutateAsync({type_id:w.k_.COURSE,is_enabled:e.is_enabled,is_mandatory:e.is_mandatory,headline:e.headline||"",text_content:e.text_content?D.A.sanitize(e.text_content):"",confirmation_button_text:e.confirmation_button_text||"",checkbox_text:e.checkbox_text||"",course_ids:e.course_ids})}catch(e){console.error(e)}}),ei=H(async e=>{try{await en.mutateAsync({type_id:w.k_.COMMUNITY,is_enabled:e.is_enabled,is_mandatory:e.is_mandatory,headline:e.headline||"",text_content:e.text_content?D.A.sanitize(e.text_content):"",confirmation_button_text:e.confirmation_button_text||"",checkbox_text:e.checkbox_text||"",community_ids:e.community_ids})}catch(e){console.error(e)}});return{control:c,errors:u,onSubmit:async()=>{try{_&&await ea(),P&&await eo(),W&&await er(),Z&&await ei()}catch(e){t(n("error"),{type:"error"})}},isSubmitting:x||O||z||J,watch:m,cancellationControl:F,complianceControl:B,triggerCompliance:$,complianceCommunityControl:V,triggerComplianceCommunity:X}})(e),x=i("showTermsPage");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(L.A,{"data-sentry-element":"FormLayout","data-sentry-source-file":"LegalDocumentsForm.tsx",children:[(0,a.jsx)(O.A,{menuIcon:"tabler:file-text",menuTitle:t
1("imprint_tab_title"),menuSubTitle:t("imprint_tab_subtitle"),tabTitle:t("imprint_tab_title"),"data-sentry-element":"FormTab","data-sentry-source-file":"LegalDocumentsForm.tsx",children:(0,a.jsx)(p.xI,{name:"imprintText",control:r,render:({field:{value:e,onChange:n}})=>(0,a.jsx)(F.f,{action:Y.Qi.EDIT_LEGAL_DOCUMENTS_SETTINGS,children:(0,a.jsx)(W,{title:t("FORM.imprint_title"),subtitle:t("FORM.imprint_subtitle"),value:e,onChange:n})}),"data-sentry-element":"Controller","data-sentry-source-file":"LegalDocumentsForm.tsx"})}),(0,a.jsx)(O.A,{menuIcon:"tabler:file-text",menuTitle:t("privacy_policy_tab_title"),menuSubTitle:t("privacy_policy_tab_subtitle"),tabTitle:t("privacy_policy_tab_title"),"data-sentry-element":"FormTab","data-sentry-source-file":"LegalDocumentsForm.tsx",children:(0,a.jsx)(p.xI,{name:"privacyPolicyText",control:r,render:({field:{value:e,onChange:n}})=>(0,a.jsx)(F.f,{action:Y.Qi.EDIT_LEGAL_DOCUMENTS_SETTINGS,children:(0,a.jsx)(W,{title:t("FORM.privacy_title"),subtitle:t("FORM.privacy_subtitle"),value:e,onChange:n})}),"data-sentry-element":"Controller","data-sentry-source-file":"LegalDocumentsForm.tsx"})}),(0,a.jsx)(O.A,{menuIcon:"tabler:file-text",menuTitle:t("terms_tab_title"),menuSubTitle:t("terms_tab_subtitle"),tabTitle:t("terms_tab_title"),"data-sentry-element":"FormTab","data-sentry-source-file":"LegalDocumentsForm.tsx",children:(0,a.jsx)(V,{control:r,showTermsPageValue:x,"data-sentry-element":"TermsAndConditionsEditor","data-sentry-source-file":"LegalDocumentsForm.tsx"})}),(0,a.jsx)(O.A,{menuIcon:"tabler:file-text",menuTitle:t("order_canceling_tab_title"),menuSubTitle:t("order_canceling_tab_subtitle"),tabTitle:t("FORM.order_canceling_editor_title"),"data-sentry-element":"FormTab","data-sentry-source-file":"LegalDocumentsForm.tsx",children:(0,a.jsx)(ey,{control:l,"data-sentry-element":"OrderCancelingEditor","data-sentry-source-file":"LegalDocumentsForm.tsx"})}),(0,a.jsx)(O.A,{menuIcon:"tabler:file-text",menuTitle:t("compliance_notices_tab_title"),menuSubTitle:t("compliance_notices_tab_subtitle"),tabTitle:t("FORM.compliance_notices_editor_title"),tabSubtitle:t("FORM.compliance_notices_editor_subtitle"),"data-sentry-element":"FormTab","data-sentry-source-file":"LegalDocumentsForm.tsx",children:(0,a.jsx)(ei,{control:c,trigger:d,communityControl:m,triggerCommunity:u,"data-sentry-element":"ComplianceNoticeEditor","data-sentry-source-file":"LegalDocumentsForm.tsx"})})]}),(0,a.jsx)(P.A,{saveButton:{onSubmit:o,text:n("save_changes"),variant:"contained"},"data-sentry-element":"FormFooter","data-sentry-source-file":"LegalDocumentsForm.tsx"})]})},eb=(0,i.Ay)(o.A)(({theme:e})=>({padding:e.spacing(12),borderRadius:e.spacing(1.5),backgroundColor:e.palette.customColors.cardBg,boxShadow:e.shadow.grey.card,marginBottom:e.spacing(17)})),ef=()=>{let{hasAccess:e}=(0,u.D)(),t=e(Y.Qi.VIEW_LEGAL_DOCUMENTS_SETTINGS),{isLoading:n,isError:o,data:i}=(0,x.f)(t),{t:l}=(0,s.o)("translation",{keyPrefix:"PAGE.LEGAL_DOCUMENTS_SETTINGS"});return t?n?(0,a.jsx)(eb,{children:(0,a.jsx)(m.A,{})}):o||!i?(0,a.jsx)(eb,{children:(0,a.jsx)(r.A,{children:l("error")})}):(0,a.jsx)(eh,{data:i,"data-sentry-element":"LegalDocumentsForm","data-sentry-component":"LegalDocuments","data-sentry-source-file":"LegalDocuments.tsx"}):(0,a.jsx)(_.default,{isTeamMember:!0})},eg=(0,i.Ay)(o.A)(({theme:e})=>({display:"flex",flexDirection:"column",gap:e.spacing(6.5)})),eA=()=>{let{t:e}=(0,s.o)("translation",{keyPrefix:"PAGE.LEGAL_DOCUMENTS_SETTINGS"});return(0,a.jsxs)(eg,{"data-sentry-element":"Container","data-sentry-component":"Page","data-sentry-source-file":"index.tsx",children:[(0,a.jsx)(d.A,{separator:(0,a.jsx)(l.A,{icon:"tabler:chevron-right"}),data:[{href:c.C.settings,text:e("breadcrumb_first")},{isActive:!0,text:e("breadcrumb_final")}],"data-sentry-element":"BreadCrumbs","data-sentry-source-file":"index.tsx"}),(0,a.jsx)(r.A,{variant:"h2","data-sentry-element":"Typography","data-sentry-source-file":"index.tsx",children:e("title")}),(0,a.jsx)(ef,{"data-sentry-element":"LegalDocuments","data-sentry-source-file":"index.tsx"})]})}}},e=>{e.O(0,[3220,636,6593,8792],()=>e(e.s=74196)),_N_E=e.O()}]); 2//# sourceMappingURL=legal-documents-ba570113b7952a4f.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.