PageSourceSearch

https://community.greentechinsights.com/_next/static/chunks/3120.c3d7a7ec1b62025d.js

js greentechinsights.com collected 2026-09-26 02:31:40 UTC 3,450 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="785948a7-f308-414a-bb73-a3d7f4291482",e._sentryDebugIdIdentifier="sentry-dbid-785948a7-f308-414a-bb73-a3d7f4291482")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3120],{21467:function(e,n,t){t.d(n,{Z:function(){return o}});var s=t(52322),r=t(3957),i=t(76773),a=t(46448),c=t(56312);function o(e){let{termsOfUse:n,privacyPolicy:t,onTermsOfUseChange:o,onPrivacyPolicyChange:d}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.Z,{"aria-label":"Terms of use",required:!0,checked:n,onChange:e=>{let{target:{checked:n}}=e;return o(n)},children:(0,s.jsx)("span",{children:(0,s.jsxs)(c.cC,{i18nKey:"accept_terms_of_use",children:["I accept the",(0,s.jsx)(a.ZP,{as:"a",target:"_blank",variant:"LINK_NO_UNDERLINE",href:"https://www.swapcard.com/terms-of-use",children:"Terms of use"})]})})}),(0,s.jsx)(r.Z,{of:12}),(0,s.jsx)(i.Z,{"aria-label":"Privacy Policy",checked:t,required:!0,onChange:e=>{let{target:{checked:n}}=e;return d(n)},children:(0,s.jsx)("span",{children:(0,s.jsxs)(c.cC,{i18nKey:"accept_privacy_policy",children:["I accept the",(0,s.jsx)(a.ZP,{as:"a",target:"_blank",variant:"LINK_NO_UNDERLINE",href:"https://www.swapcard.com/privacy-policy",children:"Privacy Policy"})]})})})]})}},73120:function(e,n,t){t.r(n),t.d(n,{UPDATE_USER_CONSENTS_MUTATION:function(){return y},default:function(){return j},useSetUserConsents:function(){return w}});var s=t(67862),r=t(52322),i=t(2784),a=t(12866),c=t(20079),o=t(91113),d=t(46448),l=t(3957),u=t(82778),f=t(81548),p=t(33379),h=t(56312),_=t(21467);function b(){let e=(0,s._)(["\n  mutation SetUserConsents($input: Core_SetUserTermsAgreementV2Input!) {\n    Core_setUserTermsAgreementV2(input: $input) {\n      user {\n        id\n        termsAgreedOn\n      }\n    }\n  }\n"]);return b=function(){return e},e}let y=(0,f.Ps)(b()),m=a.ZP.div.withConfig({displayName:"user-consents__ModalWrapper",componentId:"sc-bbe75b6f-0"})(["position:relative;padding:32px;@media screen and (min-width:","px){min-width:500px;}"],e=>{let{theme:n}=e;return n.breakPoints.sm}),g=a.ZP.img.withConfig({displayName:"user-consents__LogoImage",componentId:"sc-bbe75b6f-1"})(["display:block;height:60px;width:auto;"]),x=a.ZP.div.withConfig({displayName:"user-consents__CenteredRow",componentId:"sc-bbe75b6f-2"})(["width:100%;display:flex;align-items:center;justify-content:center;"]);function w(){let e=(0,u.h)();return(0,p.D)(y,{onError:e})}function j(e){let{application:n}=e,{t}=(0,h.$G)(),[s,{loading:a}]=w(),[u,f]=(0,i.useState)(!1),[p,b]=(0,i.useState)(!1),y=p&&u,j=async e=>{e.preventDefault(),e.stopPropagation(),await s({variables:{input:{hasAgreed:!0}}})};return(0,r.jsx)(c.ZP,{noMobileFullscreen:!0,children:(0,r.jsxs)(m,{children:[(null==n?void 0:n.webIcon)&&(0,r.jsx)(x,{children:(0,r.jsx)(g,{src:n.webIcon,alt:n.name})}),(0,r.jsx)(l.Z,{of:16}),(0,r.jsx)(o.Z,{children:t("terms_of_use_and_privacy_policy_title")}),(0,r.jsx)(l.Z,{of:16}),(0,r.jsxs)("form",{onSubmit:j,children:[(0,r.jsx)(_.Z,{termsOfUse:u,onTermsOfUseChange:e=>{f(e)},privacyPolicy:p,onPrivacyPolicyChange:e=>{b(e)}}),(0,r.jsx)(l.Z,{of:32}),(0,r.jsx)(x,{children:(0,r.jsx)(d.ZP,{size:"LARGE",disabled:!y,type:"submit",loading:a,children:t("access_the_app")})})]})]})})}}}]);

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.