PageSourceSearch

https://fondoambiente.it/_next/static/chunks/a41d39c4491172179beecb6d25ea105bea6d8ff9.5e04ca5d4e941662206c.js

js fondoambiente.it collected 2026-09-24 08:52:36 UTC 15,942 bytes, 1 lines download raw bytes

1(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[36],{bD9E:function(e,n,t){"use strict";t.r(n);var i=t("QsI/"),o=t("zjfJ"),r=t("ERkP"),a=t.n(r),l=t("j/s1"),s=t("uDfI"),d=t("7xIC"),c=t.n(d),p=t("QtE3"),u=t("Hjgs"),f=t("YuNf"),m=t("qOn9"),g=a.a.createElement;function b(){var e,n,t="function"==typeof Symbol?Symbol:{},i=t.iterator||"@@iterator",o=t.toStringTag||"@@toStringTag";function r(t,i,o,r){var s=i&&i.prototype instanceof l?i:l,d=Object.create(s.prototype);return h(d,"_invoke",function(t,i,o){var r,l,s,d=0,c=o||[],p=!1,u={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(n,t){return r=n,l=0,s=e,u.n=t,a}};function f(t,i){for(l=t,s=i,n=0;!p&&d&&!o&&n<c.length;n++){var o,r=c[n],f=u.p,m=r[2];t>3?(o=m===i)&&(s=r[(l=r[4])?5:(l=3,3)],r[4]=r[5]=e):r[0]<=f&&((o=t<2&&f<r[1])?(l=0,u.v=i,u.n=r[1]):f<m&&(o=t<3||r[0]>i||i>m)&&(r[4]=t,r[5]=i,u.n=m,l=0))}if(o||t>1)return a;throw p=!0,i}return function(o,c,m){if(d>1)throw TypeError("Generator is already running");for(p&&1===c&&f(c,m),l=c,s=m;(n=l<2?e:s)||!p;){r||(l?l<3?(l>1&&(u.n=-1),f(l,s)):u.n=s:u.v=s);try{if(d=2,r){if(l||(o="next"),n=r[o]){if(!(n=n.call(r,s)))throw TypeError("iterator result is not an object");if(!n.done)return n;s=n.value,l<2&&(l=0)}else 1===l&&(n=r.return)&&n.call(r),l<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),l=1);r=e}else if((n=(p=u.n<0)?s:t.call(i,u))!==a)break}catch(n){r=e,l=1,s=n}finally{d=1}}return{value:n,done:p}}}(t,o,r),!0),d}var a={};function l(){}function s(){}function d(){}n=Object.getPrototypeOf;var c=[][i]?n(n([][i]())):(h(n={},i,(function(){return this})),n),p=d.prototype=l.prototype=Object.create(c);function u(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,h(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return s.prototype=d,h(p,"constructor",d),h(d,"constructor",s),s.displayName="GeneratorFunction",h(d,o,"GeneratorFunction"),h(p),h(p,o,"Generator"),h(p,i,(function(){return this})),h(p,"toString",(function(){return"[object Generator]"})),(b=function(){return{w:r,m:u}})()}function h(e,n,t,i){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}(h=function(e,n,t,i){function r(n,t){h(e,n,(function(e){return this._invoke(n,t,e)}))}n?o?o(e,n,{value:t,enumerable:!i,configurable:!i,writable:!i}):e[n]=t:(r("next",0),r("throw",1),r("return",2))})(e,n,t,i)}var y=p.myfai.Icon,w=p.myfai.myfaiTokens,x=p.myfai.QRCodeDisplay,v=function(e){if(!e)return"";var n=new Date(e);if(isNaN(n.getTime()))return"";var t=String(n.getDate()).padStart(2,"0"),i=String(n.getMonth()+1).padStart(2,"0"),o=n.getFullYear();return"".concat(t,"/").concat(i,"/").concat(o)},_="https://crm.fondoambiente.it/lamiatesserafai-v2/",C=function(e,n,t){var i=new URLSearchParams({email:e,tessera:n,wallet:t});return"".concat(_,"?").concat(i.toString())},I=l.d.div.withConfig({displayName:"tessera__Overlay",componentId:"sc-n9b78w-0"})(["position:fixed;inset:0;background:rgba(0,0,0,0.5);z-index:1000;display:flex;justify-content:flex-end;opacity:",";transition:opacity ","ms ",";pointer-events:",";@media (max-width:767px){background:none;justify-content:stretch;}@media (prefers-reduced-motion:reduce){transition:none;}"],(function(e){return e.$entered?1:0}),320,"cubic-bezier(0.32, 0.72, 0, 1)",(function(e){return e.$entered?"auto":"none"})),S=l.d.div.withConfig({displayName:"tessera__Panel",componentId:"sc-n9b78w-1"})(["width:378px;max-width:100%;height:100vh;background:",";box-shadow:0px 3px 3px -1.5px rgba(10,13,18,0.04),0px 8px 8px -4px rgba(10,13,18,0.03),0px 20px 24px -4px rgba(10,13,18,0.08);display:flex;flex-direction:column;overflow:hidden;transform:",";transition:transform ","ms ",";will-change:transform;@media (max-width:767px){width:100%;box-shadow:none;}@media (prefers-reduced-motion:reduce){transition:none;}"],w.colors.bgPrimary,(function(e){return e.$entered?"translateX(0)":"translateX(100%)"}),320,"cubic-bezier(0.32, 0.72, 0, 1)"),N=l.d.div.withConfig({displayName:"tessera__PanelHeader",componentId:"sc-n9b78w-2"})(["display:flex;align-items:center;justify-content:space-between;padding:24px;flex-shrink:0;"]),k=l.d.h2.withConfig({displayName:"tessera__PanelTitle",componentId:"sc-n9b78w-3"})(["font-family:",";font-weight:",";font-size:",";color:#1e1e1e;margin:0;"],w.fonts.body,w.fontWeights.bold,w.fontSizes.xl),O=l.d.button.withConfig({displayName:"tessera__CloseButton",componentId:"sc-n9b78w-4"})(["background:none;border:none;cursor:pointer;padding:0;display:flex;align-items:center;color:#1e1e1e;"]),j=l.d.div.withConfig({displayName:"tessera__ContentArea",componentId:"sc-n9b78w-
15"})(["padding:0 24px 32px;display:flex;flex-direction:column;align-items:center;gap:28px;overflow-y:auto;overflow-x:hidden;flex:1;scrollbar-width:none;&::-webkit-scrollbar{display:none;}-ms-overflow-style:none;"]),T=l.d.div.withConfig({displayName:"tessera__TabContainer",componentId:"sc-n9b78w-6"})(["display:flex;gap:24px;justify-content:center;height:36px;align-items:center;"]),A=l.d.button.withConfig({displayName:"tessera__TabItem",componentId:"sc-n9b78w-7"})(["background:none;border:none;cursor:pointer;font-family:",";font-weight:",";font-size:",";line-height:36px;text-transform:uppercase;white-space:nowrap;display:flex;flex-direction:column;align-items:center;gap:4px;padding:0;color:",";"],w.fonts.body,w.fontWeights.semibold,w.fontSizes.lg,(function(e){return e.$isActive?w.colors.brandPrimary:w.colors.textTertiary})),E=l.d.div.withConfig({displayName:"tessera__TabDot",componentId:"sc-n9b78w-8"})(["width:6px;height:6px;border-radius:50%;background:",";"],(function(e){return e.$isActive?w.colors.brandPrimary:"#e0e0e0"})),z=l.d.div.withConfig({displayName:"tessera__CardContainer",componentId:"sc-n9b78w-9"})(["background:",";padding:",";display:flex;flex-direction:column;align-items:center;gap:24px;width:calc(100% + 48px);margin:0 -24px;"],w.colors.backgroundLight,(function(e){return e.$hasTabs?"16px 24px 24px":"24px"})),P=l.d.div.withConfig({displayName:"tessera__MiniTesseraCard",componentId:"sc-n9b78w-10"})(["width:100%;max-width:330px;background:",";border-radius:",";box-shadow:",";padding:16px;display:flex;gap:10px;align-items:flex-end;position:relative;"],w.colors.bgPrimary,w.radii.card,w.shadows.tessera),D=l.d.div.withConfig({displayName:"tessera__MiniTesseraContent",componentId:"sc-n9b78w-11"})(["display:flex;flex-direction:column;align-items:flex-start;gap:10px;flex:1 0 0;min-width:0;min-height:0;height:100%;"]),F=l.d.img.withConfig({displayName:"tessera__MiniTesseraLogo",componentId:"sc-n9b78w-12"})(["height:32px;width:auto;"]),W=l.d.div.withConfig({displayName:"tessera__MiniTesseraQR",componentId:"sc-n9b78w-13"})(["flex-shrink:0;"]),L=l.d.div.withConfig({displayName:"tessera__MiniTesseraDetails",componentId:"sc-n9b78w-14"})(["font-family:",";font-size:",";font-weight:",";color:",";line-height:16px;display:flex;flex-direction:column;gap:0;flex:1;padding-left:11px;p{margin:0;}"],w.fonts.body,w.fontSizes.xs,w.fontWeights.regular,w.colors.textPrimary),R=l.d.div.withConfig({displayName:"tessera__MiniTesseraFooter",componentId:"sc-n9b78w-15"})(["font-family:",";font-size:10px;color:",";line-height:normal;padding-left:11px;p{margin:0;}.green{font-weight:",";color:",";}.orange{font-weight:",";color:",";}"],w.fonts.body,w.colors.textPrimary,w.fontWeights.semibold,w.colors.brandSecondary,w.fontWeights.semibold,w.colors.brandPrimary),$=l.d.div.withConfig({displayName:"tessera__DetailFieldsSection",componentId:"sc-n9b78w-16"})(["display:flex;flex-direction:column;gap:",";width:100%;"],w.spacing.lg),M=l.d.div.withConfig({displayName:"tessera__DetailFieldWrapper",componentId:"sc-n9b78w-17"})(["display:flex;flex-direction:column;gap:",";width:100%;"],w.spacing.xs),G=l.d.p.withConfig({displayName:"tessera__DetailFieldLabel",componentId:"sc-n9b78w-18"})(["font-family:",";font-weight:",";font-size:",";line-height:20px;color:",";text-transform:uppercase;margin:0;"],w.fonts.body,w.fontWeights.semibold,w.fontSizes.sm,w.colors.textPrimary),q=l.d.p.withConfig({displayName:"tessera__DetailFieldValue",componentId:"sc-n9b78w-19"})(["font-family:",";font-weight:",";font-size:",";line-height:20px;color:",";margin:0;"],w.fonts.body,w.fontWeights.regular,w.fontSizes.sm,w.colors.textTertiary),B=l.d.div.withConfig({displayName:"tessera__ActionButtonsSection",componentId:"sc-n9b78w-20"})(["display:flex;flex-direction:column;gap:16px;width:100%;"]),H=l.d.div.withConfig({displayName:"tessera__ActionButtonRow",componentId:"sc-n9b78w-21"})(["display:flex;gap:16px;"]),Q=l.d.button.withConfig({displayName:"tessera__ActionButtonPrimaryDark",componentId:"sc-n9b78w-22"})(["width:100%;height:48px;padding:12px;border-radius:",";font-family:",";font-weight:",";font-size:",";line-height:20px;text-transform:uppercase;text-decoration:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;background:",";border:none;color:",";&:hover:not(:disabled){background:#03372e;color:",";}"],w.radii.sm,w.fonts.body,w.fontWeights.bold,w.fontSizes.sm,w.colors.brandSecondary,w.colors.textInverse,w.colors.textInverse),J=l.d.button.withConfig({displayName:"tessera__ActionButtonSecondary
1Dark",componentId:"sc-n9b78w-23"})(["flex:1 0 0;height:48px;padding:12px;border-radius:",";font-family:",";font-weight:",";font-size:",";line-height:20px;text-transform:uppercase;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;background:transparent;border:2px solid ",";color:",";&:hover:not(:disabled){background:rgba(5,66,56,0.1);}"],w.radii.sm,w.fonts.body,w.fontWeights.bold,w.fontSizes.sm,w.colors.brandSecondary,w.colors.brandSecondary),U=l.d.div.withConfig({displayName:"tessera__Divider",componentId:"sc-n9b78w-24"})(["width:100%;height:1px;background:",";"],w.colors.borderSecondary),Z=l.d.div.withConfig({displayName:"tessera__ContactSection",componentId:"sc-n9b78w-25"})(["display:flex;gap:",";align-items:center;width:100%;"],w.spacing.lg),X=l.d.div.withConfig({displayName:"tessera__ContactIconCircle",componentId:"sc-n9b78w-26"})(["background:",";padding:10px;border-radius:",";flex-shrink:0;display:flex;"],w.colors.badgeBackground,w.radii.round),Y=l.d.p.withConfig({displayName:"tessera__ContactText",componentId:"sc-n9b78w-27"})(["font-family:",";font-weight:",";font-size:",";line-height:20px;color:",";margin:0;a{color:",";text-decoration:underline;}"],w.fonts.body,w.fontWeights.regular,w.fontSizes.sm,w.colors.textPrimary,w.colors.brandPrimary),V=function(e){var n,t=e.isOpen,i=e.onClose,l=e.initialCard,d=e.membershipData,c=e.membershipStatus,p=Object(s.d)(f.t),b=Object(s.d)(f.c),h=Object(s.d)(f.s),V=Object(s.d)(f.o),K=Object(r.useState)(l||"primary"),ee=K[0],ne=K[1],te=Object(r.useState)(!1),ie=te[0],oe=te[1],re=Object(r.useState)(!1),ae=re[0],le=re[1];Object(r.useEffect)((function(){l&&ne(l)}),[l]),Object(r.useEffect)((function(){if(t){oe(!0);var e=!1,n=null,i=requestAnimationFrame((function(){e||(n=requestAnimationFrame((function(){e||le(!0)})))}));return function(){e=!0,cancelAnimationFrame(i),null!==n&&cancelAnimationFrame(n)}}le(!1);var o=window.setTimeout((function(){oe(!1)}),370);return function(){return window.clearTimeout(o)}}),[t]),Object(r.useEffect)((function(){if(ie)return document.body.style.overflow="hidden",function(){document.body.style.overflow=""}}),[ie]),Object(r.useEffect)((function(){if(t&&i){var e=function(e){"Escape"===e.key&&i()};return window.addEventListener("keydown",e),function(){return window.removeEventListener("keydown",e)}}}),[t,i]);var se=b&&(b&&"expired"!==h),de=Object(r.useMemo)((function(){return"secondary"===ee&&p?{data:p,status:h,qrCode:p.qrCode}:{data:d,status:c,qrCode:null===d||void 0===d?void 0:d.qrCode}}),[ee,d,c,p,h]),ce="secondary"===ee&&p?{reduxQrCode:p.qrCode}:{},pe=Object(m.a)(null===(n=de.data)||void 0===n?void 0:n.number,ce).qrData,ue=Object(r.useCallback)((function(){i&&i()}),[i]),fe=Object(r.useCallback)((function(e){e.target===e.currentTarget&&ue()}),[ue]),me=Object(r.useCallback)((function(e){ne(e)}),[]),ge=de.data,be=(null===ge||void 0===ge?void 0:ge.email)||(null===V||void 0===V?void 0:V.email)||"",he=C(be,null===ge||void 0===ge?void 0:ge.number,"google"),ye=C(be,null===ge||void 0===ge?void 0:ge.number,"apple"),we=(null===ge||void 0===ge?void 0:ge.surname)||(null!==ge&&void 0!==ge&&ge.holderName?ge.holderName.trim().split(/\s+/).pop():"")||"",xe=function(e){return"".concat(_,"?").concat(new URLSearchParams(Object(o.a)({A:(null===ge||void 0===ge?void 0:ge.number)||"",C:we},e,"1")).toString())},ve=xe("pdf"),_e=xe("print"),Ce=(null===ge||void 0===ge?void 0:ge.type)||"Individuale";return ie?g(I,{onClick:fe,role:"dialog","aria-modal":"true","aria-label":"Dettaglio tessera",$entered:ae},g(S,{$entered:ae},g(N,null,g(k,null,"La tua tessera"),g(O,{onClick:ue,"aria-label":"Chiudi dettaglio tessera"},g(y,{name:"Cancel",size:24}))),g(j,null,g(z,{$hasTabs:se},se&&g(T,{role:"tablist","aria-label":"Seleziona tessera"},g(A,{role:"tab","aria-selected":"primary"===ee,$isActive:"primary"===ee,onClick:function(){return me("primary")}},"TESSERA 1",g(E,{$isActive:"primary"===ee})),g(A,{role:"tab","aria-selected":"secondary"===ee,$isActive:"secondary"===ee,onClick:function(){return me("secondary")}},"TESSERA 2",g(E,{$isActive:"secondary"===ee}))),g(P,null,g(D,null,g(F,{src:"/images/myfai/fai-logo-card.svg",alt:"FAI"}),g(L,null,(null===ge||void 0===ge?void 0:ge.holderName)&&g("p",null,ge.holderName),(null===ge||void 0===ge?void 0:ge.firstEnrollmentDate)&&g("p",null,"PRIMA ISCRIZIONE: ",v(ge.firstEnrollmentDate)),(null===ge||void 0===ge?void 0:ge.type)&&g("p",null,"TIPO ISCRIZIONE: ",Object(u.a)(ge.type).toUpperCase()),(null===ge||void 0===ge?void 0:ge.number)&&g("p",null,"TESSERA: ",ge.number),(null===ge||void 0===ge?void 0:ge.expiryDate)&&g("p",null,"SCADENZA: ",v(ge.expiryDate)),g("p",null,"GESTIONE ISCRITTI: 02.467615259")),g(R,null,g("p",null,"Dona il tuo ",g("span",{className:"green"},"5x1000"),": C.F. 80102030154"),g("p",null,"per scoprire le opportunit\xe0 ",g("span",{className:"orange"},"www.faiperme.it")),g("p",{className:"green"},"www.fondoambiente.it"))),g(W,null,g(x,{data:pe,size:"preview",blurred:"expired"===de.status})))),g($,null,g(M,null,g(G,null,"Tipo iscrizione"),g(q,null,Ce)),g(M,null,g(G,null,"Numero tessera"),g(q,null,(null===ge||void 0===ge?void 0:ge.number)||"-")),g(M,null,g(G,null,"Prima iscrizione"),g(q,null,v(null===ge||void 0===ge?void 0:ge.firstEnrollmentDate)||"-")),g(M,null,g(G,null,"Scadenza"),g(q,null,v(null===ge||void 0===ge?void 0:ge.expiryDate)||"-")),(null===ge||void 0===ge?void 0:ge.paymentMethod)&&g(M,null,g(G,null,"Pagamento"),g(q,null,ge.paymentMethod))),g(B,null,"expired"!==de.status&&g(a.a.Fragment,null,g(Q,{as:"a",href:he,target:"_blank",rel:"noopener noreferrer","aria-label":"Aggiungi tessera a Google Wallet"},g(y,{name:"GoogleCircled",size:24,color:"white"}),"GOOGLE WALLET"),g(Q,{as:"a",href:ye,target:"_blank",rel:"noopener noreferrer","aria-label":"Aggiungi tessera a Apple Wallet"},g(y,{name:"AppleWallet",size:24,color:"white"}),"APPLE WALLET")),g(H,null,g(J,{as:"a",href:_e,target:"_blank",rel:"noopener noreferrer","aria-label":"Stampa tessera"},g(y,{name:"PrintingPage",size:24}),"STAMPA"),g(J,{as:"a",href:ve,target:"_blank",rel:"noopener noreferrer","aria-label":"Scarica tessera"},g(y,{name:"Download",size:24}),"SCARICA"))),g(U,null),g(Z,null,g(X,null,g(y,{name:"HeadsetHelp",size:24,color:w.colors.brandPrimary})),g(Y,null,"Devi modificare o aggiornare i tuoi dati?",g("br",null),"Chiamaci allo ",g("a",{href:"tel:02467615259"},"02.467615259")," oppure",g("br",null),"scrivici a ",g("a",{href:"mailto:[email protected]"},"[email protected]"),"."))))):null};V.getInitialProps=function(){var e=Object(i.a)(b().m((function e(n){var t;return b().w((function(e){for(;;)switch(e.n){case 0:if(!(t=n.res)){e.n=1;break}return t.writeHead(302,{Location:"/myfai"}),t.end(),e.a(2,{});case 1:return c.a.push("/myfai"),e.a(2,{})}}),e)})));return function(n){return e.apply(this,arguments)}}(),n.default=V}}]);

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.