PageSourceSearch

https://app1.reachlink.com/static/js/99832.fb2722aa.chunk.js

js reachlink.com collected 2026-10-02 06:31:01 UTC 6,952 bytes, 2 lines download raw bytes

1"use strict";(globalThis.webpackChunkreachlink_frontend=globalThis.webpackChunkreachlink_frontend||[]).push([[99832],{78668(e,r,t){t.d(r,{A:()=>g});var n=t(64922),a=t(19104),o=t(47451),i=t(38197),s=t(46186),l=t(20111),d=t(70725),c=t(3854),u=t(65224);const p=(0,s.Ay)("div")(({theme:e})=>{const r="light"===e.palette.mode;return{"& p":{...e.typography.body2,marginBottom:e.spacing(3),"&:last-child":{marginBottom:0}},"& ul, & ol":{...e.typography.body2,paddingLeft:e.spacing(5),"& li":{lineHeight:1.75}},"& blockquote":{lineHeight:1.5,fontSize:"1.5em",margin:"40px auto",position:"relative",fontFamily:"Georgia, serif",padding:e.spacing(3,3,3,8),borderRadius:2*Number(e.shape.borderRadius),backgroundColor:e.palette.background.neutral,color:`${e.palette.text.secondary} !important`,[e.breakpoints.up("md")]:{width:"80%"},"& p, & span":{marginBottom:"0 !important",fontSize:"inherit !important",fontFamily:"Georgia, serif !important",color:`${e.palette.text.secondary} !important`},"&:before":{left:16,top:-8,display:"block",fontSize:"3em",content:'"\\201C"',position:"absolute",color:e.palette.text.disabled}},"& pre, & pre > code":{fontSize:16,overflowX:"auto",whiteSpace:"pre",padding:e.spacing(2),color:e.palette.common.white,borderRadius:e.shape.borderRadius,backgroundColor:r?e.palette.grey[900]:e.palette.grey[50016]},"& code":{fontSize:14,borderRadius:4,whiteSpace:"pre",padding:e.spacing(.2,.5),color:e.palette.warning[r?"darker":"lighter"],backgroundColor:e.palette.warning[r?"lighter":"darker"],"&.hljs":{padding:0,backgroundColor:"transparent"}}}});function g({children:e,...r}){const t="string"===typeof e?e.replace(/\r\n/g,"\n").replace(/\n{2,}/g,e=>"\n\n"+" \n\n".repeat(e.length-2)):e;return(0,n.jsx)(p,{children:(0,n.jsx)(a.oz,{remarkPlugins:[i.A],rehypePlugins:[o.A],components:h,...r,children:t})})}const h={h1:({...e})=>(0,n.jsx)(l.A,{variant:"h1",...e}),h2:({...e})=>(0,n.jsx)(l.A,{variant:"h2",...e}),h3:({...e})=>(0,n.jsx)(l.A,{variant:"h3",...e}),h4:({...e})=>(0,n.jsx)(l.A,{variant:"h4",...e}),h5:({...e})=>(0,n.jsx)(l.A,{variant:"h5",...e}),h6:({...e})=>(0,n.jsx)(l.A,{variant:"h6",...e}),hr:({...e})=>(0,n.jsx)(d.A,{sx:{my:3},...e}),img:({...e})=>(0,n.jsx)(u.A,{alt:e.alt,ratio:"16/9",sx:{borderRadius:2,my:5},...e}),a:({...e})=>e.href.includes("http")?(0,n.jsx)(c.A,{target:"_blank",rel:"noopener",...e}):(0,n.jsx)(c.A,{...e})}},98565(e,r,t){t.d(r,{Z:()=>d});var n=t(64922),a=t(95761),o=t(60509),i=t(78668),s=t(14737),l=t(40826);function d({assignmentSlug:e,title:r,currentPage:t,totalPages:d,onBack:c,contentKey:u,children:p}){const{translate:g,loaded:h}=(0,l.k)(e);if(!h)return null;const m=void 0!==r&&void 0!==t&&void 0!==d;return(0,n.jsxs)(a.A,{children:[m&&(0,n.jsx)(s.z,{title:r,currentPage:t,totalPages:d,onBack:c}),(0,n.jsxs)(o.A,{spacing:3,sx:m?{pt:3}:void 0,children:[p?.(g),u&&(0,n.jsx)(i.A,{children:g(u)})]})]})}},98429(e,r,t){t.d(r,{S:()=>d});var n=t(64922),a=t(44965),o=t(6831),i=t(20403),s=t(48285),l=t(15700);function d({name:e,disabled:r,onChange:t,required:d,...c}){const{control:u}=(0,a.xW)();return(0,n.jsx)(a.xI,{name:e,control:u,render:({field:e,fieldState:{error:a}})=>(0,n.jsxs)(o.A,{error:!!a,required:d,children:[(0,n.jsx)(i.A,{control:(0,n.jsx)(s.A,{...e,disabled:r,checked:e.value,required:d,inputProps:{...d?{"aria-required":!0}:{},...a?{"aria-invalid":!0}:{}},onChange:(r,n)=>{const a=n??!1;e.onChange(a),t&&t(a)}}),...c}),a&&(0,n.jsx)(l.A,{"aria-live":"polite","aria-atomic":!0,children:a.message})]})})}},81962(e,r,t){t.d(r,{A:()=>i});var n=t(64922),a=t(44965),o=t(23753);function i({name:e,children:r,onChange:t,inputProps:i,FormHelperTextProps:s,testId:l,...d}){const{control:c}=(0,a.xW)();return(0,n.jsx)(a.xI,{name:e,control:c,render:({field:e,fieldState:{error:a}})=>(0,n.jsx)(o.A,{...e,select:!0,fullWidth:!0,error:!!a,helperText:a?.message,onChange:r=>{e.onChange(r.target.value),t&&t(r.target.value)},...d,"data-testid":l,inputProps:{...d.required?{"aria-required":!0}:{},...a?{"aria-invalid":!0}:{},...i??{}},FormHelperTextProps:{...s??{},...a?{"aria-live":"polite","aria-atomic":!0}:{}},children:r})})}},43557(e,r,t){t.d(r,{A:()=>i});var n=t(64922),a=t(44965),o=t(88672);function i({name:e,...r}){const{control:t}=(0,a.xW)();return(0,n.jsx)(a.xI,{name:e,control:t,render:({field:e})=>(0,n.jsx)(o.Ay,{...e,valueLabelDisplay:"auto",...r})})}},32231(e,r,t){t.d(r,{A:()=>d});var n=t(64922),a=t(44965),o=t(23753),i=t(20111),s=t(10508),l=t(91918);
1function d({name:e,onChange:r,showErrorMessage:t=!0,sanitize:d,inputProps:c,FormHelperTextProps:u,...p}){const{control:g}=(0,a.xW)();return(0,n.jsx)(a.xI,{name:e,control:g,render:({field:e,fieldState:{error:a}})=>(0,n.jsx)(o.A,{...e,fullWidth:!0,value:"number"===typeof e.value&&0===e.value?"":e.value,error:!!a,helperText:t&&a?.message&&(0,n.jsxs)(l.A,{sx:{display:"flex",alignItems:"center"},children:[(0,n.jsx)(s.A,{icon:"eva:alert-triangle-fill",width:16,height:16,sx:{mr:.75}}),(0,n.jsx)(i.A,{variant:"caption",color:"error",children:a?.message})]}),...p,inputProps:{...p.required?{"aria-required":!0}:{},...a?{"aria-invalid":!0}:{},...c??{}},FormHelperTextProps:{...u??{},...t&&a?{"aria-live":"polite","aria-atomic":!0}:{}},onChange:t=>{const n=d?d(t.target.value):t.target.value,a="number"===p.type&&""!==n?Number(n):n;e.onChange(a),r&&r(n)}})})}},76283(e,r,t){t.r(r),t.d(r,{AssignmentPage:()=>o});var n=t(64922),a=t(76011);function o(){return(0,n.jsx)(a.T,{entryNumber:2})}},76011(e,r,t){t.d(r,{T:()=>m});var n=t(64922),a=t(77810),o=t(60509),i=t(44965),s=t(80506),l=t(83811),d=t(98565),c=t(37735),u=t(40826),p=t(20390),g=t(78668);const h=["emotion","trigger","behavior","consequences"];function m({entryNumber:e}){const{setCanProceed:r,registerBeforeNext:t,formValues:m}=(0,c.$s)(),{translate:x,loaded:f}=(0,u.k)("emotion-log"),v=(0,a.useMemo)(()=>l.Ik().shape({emotion:l.Yj().trim().required(x("page2.form.emotion.required")),trigger:l.Yj().trim().required(x("page2.form.trigger.required")),behavior:l.Yj().trim().required(x("page2.form.behavior.required")),consequences:l.Yj().trim().required(x("page2.form.consequences.required"))}),[x]),j=(0,i.mN)({resolver:(0,s.t)(v),defaultValues:{emotion:m[`entry${e}Emotion`]??"",trigger:m[`entry${e}Trigger`]??"",behavior:m[`entry${e}Behavior`]??"",consequences:m[`entry${e}Consequences`]??""},mode:"onChange"}),{formState:{isValid:b},handleSubmit:A,trigger:y}=j;(0,a.useEffect)(()=>{r(b)},[b,r]);const k=(0,a.useCallback)(()=>new Promise(r=>{y().then(t=>{t?A(t=>{const n={};Object.keys(t).forEach(r=>{var a;n[`entry${e}${a=r,a.charAt(0).toUpperCase()+a.slice(1)}`]=t[r]}),r(n)})():r(!1)})}),[y,A,e]);return(0,a.useEffect)(()=>{t(k)},[t,k]),f?(0,n.jsx)(d.Z,{assignmentSlug:"emotion-log",children:()=>(0,n.jsx)(p.Op,{methods:j,children:(0,n.jsx)(o.A,{spacing:3,children:h.map(e=>(0,n.jsxs)(o.A,{spacing:1.5,children:[(0,n.jsx)(g.A,{children:x(`page2.form.${e}.label`)}),(0,n.jsx)(p.o3,{name:e,multiline:!0,rows:3})]},e))})})}):null}}}]);
2//# sourceMappingURL=99832.fb2722aa.chunk.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.