PageSourceSearch

https://loans.myguardiancu.com/_next/static/chunks/9194-aab2a6ba74e62767.js

js myguardiancu.com collected 2026-09-25 12:36:09 UTC 15,448 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9194],{39194:(t,e,n)=>{n.d(e,{a:()=>G});var i=n(84297),o=n(95952),r=n(22737),a=n(40308),l=n(17378),s=n(49454),c=n(53239),d=n(8368),u=n(81416),f=(0,d.i7)(["from{opacity:0;}to{opacity:1;}"]),m=(0,d.i7)(["from{transform:translateY(100%);}to{transform:translateY(0);}"]),h=(0,d.i7)(["from{opacity:0;transform:translate(-50%,-48%) scale(0.96);}to{opacity:1;transform:translate(-50%,-50%) scale(1);}"]),y=(0,d.i7)(["from{opacity:0;}to{opacity:1;}"]),p=(0,d.Ay)(s.hJ).withConfig({displayName:"Modalstyled__ModalOverlay",componentId:"sc-1p12ugk-0"})(["position:fixed;inset:0;background-color:",";animation:"," 150ms cubic-bezier(0.16,1,0.3,1);z-index:",";"],function(t){return t.theme.token.color.surface.overlay},f,function(t){return t.theme.token.zIndex[200]}),g=(0,d.Ay)(s.UC).withConfig({displayName:"Modalstyled__ModalContent",componentId:"sc-1p12ugk-1"})([""," position:fixed;left:0;bottom:0;top:auto;width:100%;max-height:85vh;z-index:",";text-align:center;animation:"," 225ms cubic-bezier(0,0,0.2,1) 0ms;background-color:",";border-radius:"," "," 0 0;display:flex;flex-direction:column;@media (min-width:48rem){min-width:",";max-width:",";width:",";max-height:90vh;top:50%;left:50%;bottom:auto;transform:translate(-50%,-50%);animation:"," 150ms cubic-bezier(0.16,1,0.3,1);border-radius:",";}"],function(t){var e=t.$shouldUseDesignSystemFont,n=t.theme;return e?"font-family: ".concat(n.token.typography.fontFamily.base,";"):""},function(t){return t.theme.token.zIndex[500]},m,function(t){return t.theme.token.color.surface.neutral},function(t){return t.theme.token.radius["03"]},function(t){return t.theme.token.radius["03"]},function(t){return"small"===t.$size?"480px":"720px"},function(t){return"small"===t.$size?"480px":"720px"},function(t){return"small"===t.$size?"480px":"720px"},h,function(t){return t.theme.token.radius["03"]}),b=d.Ay.div.withConfig({displayName:"Modalstyled__ModalHeader",componentId:"sc-1p12ugk-2"})(["display:flex;flex-flow:column wrap;justify-content:",";align-items:center;width:100%;flex-shrink:0;position:relative;gap:",";padding:1.5rem;",""],function(t){return t.$withTitle?"space-between":"flex-end"},function(t){return t.$withIllustration?"1.5rem":"1rem"},function(t){var e=t.$withIllustration;return t.$withCloseButton&&e&&(0,d.AH)(["& > :nth-child(2){margin-top:-2.75rem;}"])}),v=(0,d.Ay)(u.$).withConfig({displayName:"Modalstyled__CloseButton",componentId:"sc-1p12ugk-3"})(["align-self:flex-end;padding:0;height:unset;"]),x=d.Ay.div.withConfig({displayName:"Modalstyled__ModalTitleWrapper",componentId:"sc-1p12ugk-4"})(["h1,h2,h3,h4,h5,h6{margin:0;}"]),j=d.Ay.div.withConfig({displayName:"Modalstyled__ModalDescription",componentId:"sc-1p12ugk-5"})(["margin:0;text-align:center;color:",";p{margin:0;}"],function(t){return t.theme.token.color.text.primary}),w=d.Ay.div.withConfig({displayName:"Modalstyled__ModalBody",componentId:"sc-1p12ugk-6"})(["padding:2rem 1.5rem 1.5rem;text-align:",";display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto;",""],function(t){return t.$alignItems},function(t){var e=t.$contentMaxHeight;return e?"max-height: ".concat(e,";"):""}),S=d.Ay.div.withConfig({displayName:"Modalstyled__FadeRegion",componentId:"sc-1p12ugk-7"})(["display:flex;flex-direction:column;flex:1;min-height:0;animation:"," 150ms ease-in-out;@media (prefers-reduced-motion:reduce){animation:none;}"],y),A=d.Ay.div.withConfig({displayName:"Modalstyled__ModalContentWrapper",componentId:"sc-1p12ugk-8"})(["display:flex;flex-direction:column;height:100%;min-height:0;overflow-y:auto;"]),O=d.Ay.div.withConfig({displayName:"Modalstyled__VisuallyHidden",componentId:"sc-1p12ugk-9"})(["clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;"]),C=d.Ay.div.withConfig({displayName:"ModalBottomNavstyled__ModalBottomNavWrapper",componentId:"sc-1411km4-0"})(["flex-shrink:0;position:relative;",""],function(t){var e=t.$type,n=t.$hasTopSeparator,i=t.$hasScrollableContent,o=t.theme;return"form"===e&&n?i?(0,d.AH)(["box-shadow:0 -2px 10px 0 rgba(from "," r g b / 0.5);"],o.token.color.gray[400]):(0,d.AH)(["&::before{content:'';position:absolute;top:0;left:0;height:1px;width:100%;background-color:",";}"],o.token.color.gray["400"]):""}),k=d.Ay.div.withConfig({displayName:"ModalBottomNavstyled__ModalBottomNav",componentId:"sc-1411km4-1"})(["display:flex;align-items:stretch;padding:1.5rem;gap:1rem;& button{padding:1rem ",";height:auto;min-height:3.4375rem;}",""],function(t){return t.$useFullWidth?"1rem":"2rem"},function(t){return t.$hasLeftButton?"\n        justify-content: space-between;\n      ":"\n        justify-content: flex-end;\n      "}),I=d.Ay.div.withConfig({displayName:"ModalBottomNavstyled__LeftButtonGroup",componentId:"sc-1411km4-2"})(["display:flex;align-items:center;"]),E=d.Ay.div.withConfig({displayName:"ModalBottomNavstyled__RightButtonGroup",componentId:"sc-1411km4-3"})(["display:flex;gap:1rem;align-items:center;",""],function(t){return t.$useFullWidth?"\n        flex: 1;\n\n        > * {\n          flex: 1;\n        }\n      ":""}),M=n(80263);function $(t){return($="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function P(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?_(Object(n),!0).forEach(function(e){var i,o,r;i=t,o=e,r=n[e],(o=function(t){var e=function(t,e){if("object"!=$(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=$(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==$(e)?e:e+""}(o))in i?Object.defineProperty(i,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[o]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function B(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}var N=function(){var t,e=function(t){if(Array.isArray(t))return t}(t=(0,c.useState)(!1))||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,o,r,a,l=[],s=!0,c=!1;try{r=(n=n.call(t)).next,!1;for(;!(s=(i=r.call(n)).done)&&(l.push(i.value),l.length!==e);s=!0);}catch(t){c=!0,o=t}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(t,2)||function(t,e){if(t){if("string"==typeof t)return B(t,2);var n=({}).toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(t,e):void 0}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=e[0],i=e[1];return(0,c.useEffect)(function(){var t=function(){i(window.innerWidth<768)};return t(),window.addEventListener("resize",t),function(){return window.removeEventListener("resize",t)}},[]),n},z=function(t){var e=t.primaryAction,n=t.secondaryAction,i=t.leftButton,o=t.loading,r=t.isSubmit,a=t.size,l=t.type,s=t.hasScrollableContent,c=t.shouldAlignSingleActionToEnd,d=t.shouldAlignActionsToEnd,u=N(),f=[e,n,i].filter(Boolean).length,m=!!i,h=!(void 0!==d&&d)&&(1===f?!(void 0!==c&&c):"small"===a),y=u||h;return(0,M.jsx)(C,{"data-testid":"modal-bottom-nav",$type:l,$hasTopSeparator:"form"===l,$hasScrollableContent:void 0!==s&&s,children:(0,M.jsx)(k,{$hasLeftButton:m,$useFullWidth:y,children:m?(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(I,{children:i&&(0,M.jsx)(F,{button:P(P({},i),{},{variant:"text"}),loading:o,isSubmit:r,useFullWidth:y},i.text)}),(0,M.jsxs)(E,{$useFullWidth:y,children:[n&&(0,M.jsx)(F,{button:P(P({},n),{},{variant:"secondary"}),loading:o,isSubmit:r,useFullWidth:y},n.text),e&&(0,M.jsx)(F,{button:P(P({},e),{},{variant:"primary"}),loading:o,isPrimary:!0,isSubmit:r,useFullWidth:y},e.text)]})]}):(0,M.jsxs)(M.Fragment,{children:[n&&(0,M.jsx)(F,{button:P(P({},n),{},{variant:"secondary"}),loading:o,isSubmit:r,useFullWidth:y},n.text),e&&(0,M.jsx)(F,{button:P(P({},e),{},{variant:"primary"}),loading:o,isPrimary:!0,isSubmit:r,useFullWidth:y},e.text)]})})})},F=function(t){var e=t.button,n=t.loading,i=void 0!==n&&n,o=t.isPrimary,r=t.isSubmit,a=t.useFullWidth,l="formId"in e,s=o&&i;if(!l&&"onClick"in e){var c=!!(e.disabled||i);return(0,M.jsx)(u.$,{"data-testid":"modalButton-".concat(e.variant),fullWidth:a,disabled:c,loading:s,onClick:e.onClick,"aria-label":e.text,variant:e.variant,children:e.text})}return l&&r?(0,M.jsx)(u.$,{"data-testid":"modalButton-".concat(e.variant),fullWidth:a,disabled:i,loading:s,type:"submit",form:e.formId,"aria-label":e.text,variant:e.variant,children:e.text}):null},T=n(72521),D=n(68822);function W(t){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var H=["withCloseButton","shouldCloseOnOutsideClick","children","onClose","title","description","descriptionSize","loading","primaryAction","secondaryAction","leftButton","size","type","contentMaxHeight","alignItems","headerIllustration","shouldUseDesignSystemFont","shouldAlignSingleActionToEnd","shouldAlignActionsToEnd","shouldCollapseEmptyBody","transitionKey"];function L(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function U(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?L(Object(n),!0).forEach(function(e){var i,o,r;i=t,o=e,r=n[e],(o=function(t){var e=function(t,e){if("object"!=W(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=W(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==W(e)?e:e+""}(o))in i?Object.defineProperty(i,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[o]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function R(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}var K=function(t){var e=t.transitionKey,n=t.children;return void 0===e?(0,M.jsx)(M.Fragment,{children:n}):(0,M.jsx)(S,{"data-testid":"modal-transition-region",children:n},e)},G=c.forwardRef(function(t,e){var n,d=t.withCloseButton,u=void 0===d||d,f=t.shouldCloseOnOutsideClick,m=t.children,h=t.onClose,y=t.title,S=t.description,C=t.descriptionSize,k=void 0===C?T.jJ.SM:C,I=t.loading,E=t.primaryAction,$=t.secondaryAction,_=t.leftButton,P=t.size,B=t.type,N=t.contentMaxHeight,F=t.alignItems,W=t.headerIllustration,L=t.shouldUseDesignSystemFont,G=t.shouldAlignSingleActionToEnd,Y=t.shouldAlignActionsToEnd,J=t.shouldCollapseEmptyBody,V=t.transitionKey,q=function(t,e){if(null==t)return{};var n,i,o=function(t,e){if(null==t)return{};var n={};for(var i in t)if(({}).hasOwnProperty.call(t,i)){if(-1!==e.indexOf(i))continue;n[i]=t[i]}return n}(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(i=0;i<r.length;i++)n=r[i],-1===e.indexOf(n)&&({}).propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,H),X=!(void 0!==J&&J)||!!m,Z=(0,c.useRef)(null),Q=function(t){if(Array.isArray(t))return t}(n=(0,c.useState)(!1))||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,o,r,a,l=[],s=!0,c=!1;try{r=(n=n.call(t)).next,!1;for(;!(s=(i=r.call(n)).done)&&(l.push(i.value),l.length!==e);s=!0);}catch(t){c=!0,o=t}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(n,2)||function(t,e){if(t){if("string"==typeof t)return R(t,2);var n=({}).toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(t,e):void 0}}(n,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),tt=Q[0],te=Q[1];return(0,a.x)(),(0,c.useEffect)(function(){var t=function(){if(!Z.current)return void te(!1);var t=Z.current;te(t.scrollHeight>t.clientHeight)};t();var e=null;return window.ResizeObserver&&(e=new ResizeObserver(function(){t()}),Z.current&&e.observe(Z.current)),function(){e&&e.disconnect()}},[m,N,V]),(0,M.jsx)(s.bL,U(U({},q),{},{modal:!0,children:(0,M.jsxs)(s.ZL,{children:[(0,M.jsx)(p,{"data-testid":"modal-overlay"}),(0,M.jsxs)(g,U(U({ref:e,$size:P,$shouldUseDesignSystemFont:void 0!==L&&L},!S&&{"aria-describedby":void 0}),{},{onPointerDownOutside:void 0===f||f?h:void 0,onEscapeKeyDown:h,children:[(0,M.jsx)(r.j,{condition:!y,children:(0,M.jsx)(s.hE,{asChild:!0,children:(0,M.jsx)(O,{children:"Dialog"})})}),(0,M.jsxs)(K,{transitionKey:V,children:[(0,M.jsxs)(A,{children:[(0,M.jsx)(r.j,{condition:!!y||!!S||u||!!W,children:(0,M.jsxs)(b,{$withTitle:!!y,$withIllustration:!!W,$withCloseButton:u,children:[(0,M.jsx)(r.j,{condition:u,children:(0,M.jsx)(s.bm,{asChild:!0,children:(0,M.jsxs)(v,{variant:"text",onClick:h,children:[(0,M.jsx)(i.I,{size:o.y.MEDIUM,testId:"close-icon",children:(0,M.jsx)(l.X,{})}),(0,M.jsx)(O,{children:"Close dialog"})]})})}),(0,M.jsx)(r.j,{condition:!!W,children:W}),(0,M.jsx)(r.j,{condition:!!y,children:(0,M.jsx)(s.hE,{asChild:!0,children:(0,M.jsx)(x,{children:(0,M.jsx)(D.o.Heading,{as:"h2",size:T.RH.LG,children:y})})})}),(0,M.jsx)(r.j,{condition:!!S,children:(0,M.jsx)(s.VY,{asChild:!0,children:(0,M.jsx)(j,{children:(0,M.jsx)(D.o.Body,{size:k,children:S})})})})]})}),(0,M.jsx)(r.j,{condition:X,children:(0,M.jsx)(w,{ref:Z,"data-testid":"modal-body",$alignItems:void 0===F?"left":F,$contentMaxHeight:N,children:m})})]}),(0,M.jsx)(z,{primaryAction:E,secondaryAction:$,leftButton:_,loading:I,isSubmit:"form"===B,size:P,type:B,hasScrollableContent:tt,shouldAlignSingleActionToEnd:void 0!==G&&G,shouldAlignActionsToEnd:void 0!==Y&&Y})]})]}))]})}))});G.displayName="Modal"},40308:(t,e,n)=>{n.d(e,{x:()=>o});var i=n(53239),o=function(){(0,i.useEffect)(function(){var t=new Set,e=function(e){var n=e.target,i=e.relatedTarget;if(i instanceof HTMLElement&&n instanceof Node){var o=i.closest('[role="dialog"]');if(o&&o.contains(n)){var r=requestAnimationFrame(function(){t.delete(r),o.isConnected&&i.isConnected&&document.activeElement===o&&i.focus()});t.add(r)}}};return document.addEventListener("focusout",e,!0),function(){document.removeEventListener("focusout",e,!0),t.forEach(cancelAnimationFrame)}},[])}}}]);
2//# sourceMappingURL=9194-aab2a6ba74e62767.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.