1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2122],{88460:function(e,r,n){"use strict";n.d(r,{Z:function(){return t.J4i}});var t=n(65481)},42122:function(e,r,n){"use strict";n.d(r,{Z:function(){return M}});var t=n(52322),o=n(79130),l=n.n(o),i=n(91388),a=n(2784),s=n(98084),d=n(85848),c=n(80233),u=n(31689),m=n(56022),p=n.n(m),f=n(88460),g=n(32160),h=n(72546),v=n(75194),x=n(59445),w=n(23643),y=n(59652),k=n.n(y);let _=e=>"string"==typeof e?e:e instanceof Array?e.map(_).join(""):"object"==typeof e&&e?_(e.props.children):void 0,b=e=>{if(void 0===e)return[];let r=["a","i","small","strong","b","br","em"],n=[],o=[],l=()=>{o.length>0&&(n.push((0,t.jsx)(v.ZP,{marginBottom:!1,children:o},"text-group-".concat(n.length))),o=[])};return e.forEach((e,t)=>{var i,s;"string"==typeof e||r.includes(null==e?void 0:null===(s=e.props)||void 0===s?void 0:null===(i=s.node)||void 0===i?void 0:i.tagName)||r.includes(null==e?void 0:e.type)?a.isValidElement(e)?o.push(a.cloneElement(e,{key:"inline-".concat(t),...e.props})):o.push(e):(l(),a.isValidElement(e)?n.push(a.cloneElement(e,{key:"block-".concat(t),...e.props})):n.push(e))}),l(),n};var j=n(56649);let D=l().bind(k());var M=function(e){let{children:r,forceDarkMode:n,urlTransform:o}=e,[l,m]=(0,a.useState)(!1),y=new i.Z,M=D({DocumentMarkdown:!0,forceDarkMode:n});return null!=r?(0,t.jsxs)("div",{className:M,children:[(0,t.jsx)(s.UG,{urlTransform:null!=o?o:(e,r,n)=>e,children:r,components:{h1:e=>{let{children:r}=e;return(0,t.jsx)(x.Z,{semanticHeading:"h1",size:"xxlarge",forceDarkMode:n,marginBottom:!0,slugger:y,children:r})},h2:e=>{let{children:r}=e;return(0,t.jsx)(x.Z,{semanticHeading:"h2",size:"xlarge",forceDarkMode:n,marginBottom:!0,slugger:y,children:r})},h3:e=>{let{children:r}=e;return(0,t.jsx)(x.Z,{semanticHeading:"h3",size:"large",forceDarkMode:n,marginBottom:!0,slugger:y,children:r})},h4:e=>{let{children:r}=e;return(0,t.jsx)(x.Z,{semanticHeading:"h4",size:"medium",forceDarkMode:n,marginBottom:!0,slugger:y,children:r})},h5:e=>{let{children:r}=e;return(0,t.jsx)(x.Z,{semanticHeading:"h5",size:"small",forceDarkMode:n,marginBottom:!0,slugger:y,children:r})},p:e=>{let{children:r}=e;return(0,t.jsx)(t.Fragment,{children:b(Array.isArray(r)?r:[r])})},li:e=>{let{children:r}=e;return(0,t.jsx)("li",{children:b(Array.isArray(r)?r:[r])})},pre:e=>{let{children:r}=e;return(0,t.jsx)("div",{className:k().preOuter,children:(0,t.jsx)("pre",{children:r})})},h6:e=>{let{children:r}=e;return(0,t.jsx)(x.Z,{semanticHeading:"h6",size:"xsmall",forceDarkMode:n,marginBottom:!0,slugger:y,children:r})},a:e=>{let{children:r,href:n}=e;return n?(0,t.jsx)("a",{href:n,children:r}):null},table:e=>{var r,n;let o=(null===(n=e.node)||void 0===n?void 0:null===(r=n.properties)||void 0===r?void 0:r.wide)!==void 0;return(0,t.jsx)(h.Z,{layout:"auto",className:"".concat(k().table," ").concat(o?k().fullWidth:""),children:e.children})},th:e=>{let{children:r}=e;return(0,t.jsx)(v.OX,{marginBottom:!1,forceDarkMode:n,lead:!0,children:r})},td:e=>{let{children:r}=e;return(0,t.jsx)(v.Gt,{marginBottom:!1,forceDarkMode:n,children:r})},"cookie-modal-button":()=>(0,t.jsx)(w.z,{styleType:"primary",onClick:()=>m(!0),children:"Manage your preferences"}),"risk-rating":e=>{var r,n,o,l,i,a,s;let d=null!==(n=null===(r=e.node)||void 0===r?void 0:r.properties)&&void 0!==n?n:{};return(0,t.jsx)(j.Q4M,{className:"monzo-com-design-system",rating:Number(null!==(o=d.rating)&&void 0!==o?o:1),maxRating:Number(null!==(l=d.maxrating)&&void 0!==l?l:6),title:String(null!==(i=d.title)&&void 0!==i?i:""),description:String(null!==(a=d.description)&&void 0!==a?a:""),disclaimer:String(null!==(s=d.disclaimer)&&void 0!==s?s:"")})},div:e=>{var r;let{children:n,...o}=e;return(0,t.jsx)("div",{...o,className:"".concat(null!==(r=o.className)&&void 0!==r?r:""," ").concat(k().mdDiv),children:n})},details:e=>{let{children:r}=e;if(null==r)return null;let n=r.find(e=>"summary"===e.type),o=r.filter(e=>"summary"!==e.type),l=_(n)||"";return(0,t.jsx)(f.Z,{accordionItems:[{id:y.slug(l)||"title",title:l,children:(0,t.jsx)("div",{className:p().prose,children:o}),titleSemanticHeading:"h4",type:"react"}]})}},rehypePlugins:[c.Z,d.Z],remarkPlugins:[u.Z]}),(0,t.jsx)(g.M,{showCookieModal:l,setShowCookieModal:m})]}):null}},72546:function(e,r,n){"use strict";var t=n(52322);n(2784);var o=n(2693),l=n.n(o);r.Z=function(e){let{className:r,children:n,layout:o="fixed"}=e;return(0,t.jsx)("div",{className:"".concat(l().DocumentTable," ").concat(r),children:(0,t.jsx)("div",{className:l().tableWrapper,children:(0,t.jsx)("table",{className:"auto"===o?l().autoLayout:void 0,children:n})})})}},59652:function(e){e.exports={DocumentMarkdown:"DocumentMarkdown_DocumentMarkdown__SWZXu",forceDarkMode:"DocumentMarkdown_forceDarkMode__9Bt89",table:"DocumentMarkdown_table__Abtc_",fullWidth:"DocumentMarkdown_fullWidth__9BGp2",preOuter:"DocumentMarkdown_preOuter__oUb6u",mdDiv:"DocumentMarkdown_mdDiv__MrJ8z"}},2693:function(e){e.exports={DocumentTable:"DocumentTable_DocumentTable__H07EP",tableWrapper:"DocumentTable_tableWrapper__YAFIc",autoLayout:"DocumentTable_autoLayout__N1ubW"}},56022:function(e){e.exports={prose:"_prose_prose__aeteD",caption:"_prose_caption__fn7_q"}},98084:function(e,r,n){"use strict";n.d(r,{UG:function(){return h}});var t=n(45256),o=n(21072),l=n(75973),i=n(52322);n(2784);var a=n(37307),s=n(52536),d=n(50271),c=n(6355),u=n(51077);let m=[],p={allowDangerousHtml:!0},f=/^(https?|ircs?|mailto|xmpp)$/i,g=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function h(e){let r=function(e){let r=e.rehypePlugins||m,n=e.remarkPlugins||m,t=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...p}:p;return(0,d.l)().use(a.Z).use(n).use(s.Z,t).use(r)}(e),n=function(e){let r=e.children||"",n=new u.k;return"string"==typeof r?n.value=r:(0,t.t1)("Unexpected value `"+r+"` for `children` prop, expected `string`"),n}(e);return function(e,r){let n=r.allowedElements,a=r.allowElement,s=r.components,d=r.disallowedElements,u=r.skipHtml,m=r.unwrapDisallowed,p=r.urlTransform||v;
1for(let e of g)Object.hasOwn(r,e.from)&&(0,t.t1)("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":"remove it")+" (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#"+e.id+"> for more info)");return n&&d&&(0,t.t1)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),(0,c.Vn)(e,function(e,r,t){if("raw"===e.type&&t&&"number"==typeof r)return u?t.children.splice(r,1):t.children[r]={type:"text",value:e.value},r;if("element"===e.type){let r;for(r in l.w)if(Object.hasOwn(l.w,r)&&Object.hasOwn(e.properties,r)){let n=e.properties[r],t=l.w[r];(null===t||t.includes(e.tagName))&&(e.properties[r]=p(String(n||""),r,e))}}if("element"===e.type){let o=n?!n.includes(e.tagName):!!d&&d.includes(e.tagName);if(!o&&a&&"number"==typeof r&&(o=!a(e,r,t)),o&&t&&"number"==typeof r)return m&&e.children?t.children.splice(r,1,...e.children):t.children.splice(r,1),r}}),(0,o.v)(e,{Fragment:i.Fragment,components:s,ignoreInvalidStyle:!0,jsx:i.jsx,jsxs:i.jsxs,passKeys:!0,passNode:!0})}(r.runSync(r.parse(n),n),e)}function v(e){let r=e.indexOf(":"),n=e.indexOf("?"),t=e.indexOf("#"),o=e.indexOf("/");return -1===r||-1!==o&&r>o||-1!==n&&r>n||-1!==t&&r>t||f.test(e.slice(0,r))?e:""}}}]);
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.