(function(e){return e===n}))||null;if(!r||!function(e,t){var n=ot.b[e];return!n||Object(ot.d)(t,n)}(r,t)){var a=\"string\"==typeof e?e:typeof e;throw new O.a(\"A valid Element name must be provided. Valid Elements are:\\n  \".concat(Object.keys(ft.b).filter((function(e){return!ft.b[e].beta})).join(\", \"),\"; you passed: \").concat(a,\".\"))}},_t=n(8),ht=\"1.2em\",bt=\"14px\",yt=function(e){var t=e.split(\" \").map((function(e){return parseInt(e.trim(),10)}));return 1===t.length||2===t.length?2*t[0]:3===t.length||4===t.length?t[0]+t[2]:0},vt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ht,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:bt,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"0\",r=yt(n);if(\"string\"==typeof e&&/^[0-9.]+px$/.test(e)){var a=parseFloat(e.toString().replace(/[^0-9.]/g,\"\"));return\"\".concat(a+r,\"px\")}var o,i=parseFloat(e.toString().replace(/[^0-9.]/g,\"\")),c=parseFloat(bt.replace(/[^0-9.]/g,\"\")),s=parseFloat(t.toString().replace(/[^0-9.]/g,\"\"));if(\"string\"==typeof t&&/^(\\d+|\\d*\\.\\d+)px$/.test(t))o=s;else if(\"string\"==typeof t&&/^(\\d+|\\d*\\.\\d+)em$/.test(t))o=s*c;else if(\"string\"==typeof t&&/^(\\d+|\\d*\\.\\d+)%$/.test(t))o=s/100*c;else{if(\"string\"!=typeof t||!/^[\\d.]+$/.test(t)&&!/^\\d*\\.(px|em|%)$/.test(t))return\"100%\";o=c}var u=i*o+r,l=\"\".concat(u,\"px\");return/^[0-9.]+px$/.test(l)?l:\"100%\"},gt=n(43),Ot=function(e,t){return e.reduce((function(e,n){return e.then((function(e){return\"SATISFIED\"===e.type?e:n().then((function(e){return t(e)?{type:\"SATISFIED\",value:e}:{type:\"UNSATISFIED\"}}))}))}),u.a.resolve({type:\"UNSATISFIED\"}))},jt=\"40px\",Et={success:\"success\",fail:\"fail\",invalid_shipping_address:\"invalid_shipping_address\"},wt={shipping:\"shipping\",delivery:\"delivery\",pickup:\"pickup\"},kt=Object(r.a)({success:\"success\"},{fail:\"fail\",invalid_payer_name:\"invalid_payer_name\",invalid_payer_email:\"invalid_payer_email\",invalid_payer_phone:\"invalid_payer_phone\",invalid_shipping_address:\"invalid_shipping_address\"}),St={merchantCapabilities:[\"supports3DS\"],displayItems:[]},Pt=Object(l.u)({amount:l.k,label:l.x,pending:Object(l.s)(l.b)}),At=Object(l.u)({amount:l.c,label:l.x,pending:Object(l.s)(l.b)}),Tt=Object(l.u)({amount:l.c,label:l.x,pending:Object(l.s)(l.b),id:Object(l.G)(l.x,(function(){return _(\"shippingOption\")})),detail:Object(l.G)(l.x,(function(){return\"\"}))}),It=l.q.apply(void 0,Object(a.a)(Object.keys(wt))),Ct=Object(l.u)({origin:l.x,name:l.x}),Nt=Object(l.u)({displayItems:Object(l.s)(Object(l.a)(At)),shippingOptions:Object(l.s)(Object(l.C)(\"id\")(Object(l.a)(Tt))),wallets:Object(l.s)(Object(l.a)(l.A)),disableWallets:Object(l.s)(Object(l.a)(l.A)),total:Pt,requestShipping:Object(l.s)(l.b),requestPayerName:Object(l.s)(l.b),requestPayerEmail:Object(l.s)(l.b),requestPayerPhone:Object(l.s)(l.b),shippingType:Object(l.s)(It),currency:l.z,country:l.y,jcbEnabled:Object(l.s)(l.b),__billingDetailsEmailOverride:Object(l.s)(l.x),__minApplePayVersion:Object(l.s)(l.n),__merchantDetails:Object(l.s)(Ct),__isCheckout:Object(l.s)(l.b),__betas:Object(l.s)(Object(l.a)(l.r.apply(void 0,Object(a.a)(ot.c))))}),Rt=Object(l.d)({currency:Object(l.s)(l.z),displayItems:Object(l.s)(Object(l.a)(At)),shippingOptions:Object(l.s)(Object(l.C)(\"id\")(Object(l.a)(Tt))),total:Object(l.s)(Pt)}),xt=Object(l.u)({displayItems:Object(l.s)(Object(l.a)(At)),shippingOptions:Object(l.s)(Object(l.C)(\"id\")(Object(l.a)(Tt))),total:Object(l.s)(Pt),status:function(e,t){return l.q.apply(void 0,Object(a.a)(Object.keys(Et)))(-1!==[\"invalid_payer_name\",\"invalid_payer_email\",\"invalid_payer_phone\"].indexOf(e)?\"fail\":e,t)}}),Mt=l.q.apply(void 0,Object(a.a)(Object.keys(kt))),Lt=n(35),Dt=function(){return window.ApplePaySession?[\"APPLE_PAY\"]:[\"GOOGLE_PAY\",\"BROWSER\"]},qt=function(e){var t=[];return window.ApplePaySession?Object(Lt.b)(e,Lt.a.applePay)&&t.push(\"APPLE_PAY\"):(Object(Lt.b)(e,Lt.a.googlePay)&&(t.push(\"GOOGLE_PAY\"),J&&t.push(\"BROWSER\")),Object(Lt.b)(e,Lt.a.browserCard)&&-1===t.indexOf(\"BROWSER\")&&t.push(\"BROWSER\")),t},Bt=n(33),Ft=function(){try{return window.location.origin===window.top.location.origin}catch(e){return!1}},Ut=Object(Bt.b)((function(e){return window.ApplePaySession.canMakePaymentsWithActiveCard(e)})),Gt=function(){return u.a.resolve(window.ApplePaySession.canMakePayments())},zt=function(e){if(!window.ApplePaySession)return!1;try{return window.ApplePaySession.supportsVersion(e)}catch(e){return!1}},Ht=[\"mastercard\",\"visa\"],Yt=[\"AT\",\"AU\",\"BE\",\"CA\",\"CH\",\"DE\",\"DK\",\"EE\",\"ES\",\"FI\",\"FR\",\"GB\",\"GR\",\"HK\",\"IE\",\"IT\",\"JP\",\"LT\",\"LU\",\"LV\",\"MX\",\"NL\",\"NO\",\"NZ\",\"PL\",\"PT\",\"SE\",\"SG\",\"US\"],Wt=function(e,t){var n=\"US\"===e||t?[\"discover\",\"diners\",\"jcb\"].concat(Ht):Ht;return-1!==Yt.indexOf(e)?[\"amex\"].concat(Object(a.a)(n)):n},Kt={bif:1,clp:1,djf:1,gnf:1,jpy:1,kmf:1,krw:1,mga:1,pyg:1,rwf:1,vnd:1,vuv:1,xaf:1,xof:1,xpf:1,bhd:1e3,jod:1e3,kwd:1e3,omr:1e3,tnd:1e3},Vt=function(e,t){var n=function(e){var t=Kt[e.toLowerCase()]||100;return{unitSize:1/t,fractionDigits:Math.ceil(Math.log(t)/Math.log(10))}}(t),r=n.unitSize,a=n.fractionDigits;return(e*r).toFixed(a)},Jt=function(e,t){return{amount:Vt(e.amount,t.currency),label:e.label,type:e.pending?\"pending\":\"final\"}},Zt=function(e,t){return new window.ApplePayError(e,t)},$t=function(e){return function(t){return t[e]&&\"string\"==typeof t[e]?t[e].toUpperCase():null}},Xt=(Pe={},Object(c.a)(Pe,kt.success,0),Object(c.a)(Pe,kt.fail,1),Object(c.a)(Pe,kt.invalid_payer_name,2),Object(c.a)(Pe,kt.invalid_shipping_address,3),Object(c.a)(Pe,kt.invalid_payer_phone,4),Object(c.a)(Pe,kt.invalid_payer_email,4),Pe),Qt=(Ae={},Object(c.a)(Ae,kt.success,(function(){return null})),Object(c.a)(Ae,kt.fail,(function(){return null})),Object(c.a)(Ae,kt.invalid_payer_name,(function(){return Zt(\"billingContactInvalid\",\"name\")})),Object(c.a)(Ae,kt.invalid_shipping_address,(function(){return Zt(\"shippingContactInvalid\",\"postalAddress\")})),Object(c.a)(Ae,kt.invalid_payer_phone,(function(){return Zt(\"shippingContactInvalid\",\"phoneNumber\")})),Object(c.a)(Ae,kt.invalid_payer_email,(function(){return Zt(\"shippingContactInvalid\",\"emailAddress\")})),Ae),en=(Te={},Object(c.a)(Te,wt.pickup,\"storePickup\"),Object(c.a)(Te,wt.shipping,\"shipping\"),Object(c.a)(Te,wt.delivery,\"delivery\"),Te),tn={total:function(e){return Jt(e.total,e)},lineItems:function(e){return e.displayItems?e.displayItems.map((function(t){return Jt(t,e)})):[]},shippingMethods:function(e){return e.shippingOptions?e.shippingOptions.map((function(t){return function(e,t){return{amount:Vt(e.amount,t.currency),label:e.label,detail:e.detail,identifier:e.id}}(t,e)})):[]},applicationData:function(e){return e.applicationData||null}},nn={shippingType:function(e){var t=e.shippingType;if(!t)return null;var n=en[t];if(void 0!==n)return n;throw new O.a(\"Invalid value for shippingType: \".concat(t))},requiredBillingContactFields:function(e){return e.requestPayerName?[\"postalAddress\"]:null},requiredShippingContactFields:function(e){var t=[];return e.requestShipping&&t.push(\"postalAddress\"),e.requestPayerEmail&&t.push(\"email\"),e.requestPayerPhone&&t.push(\"phone\"),t.length?t:null},countryCode:$t(\"country\"),currencyCode:$t(\"currency\"),merchantCapabilities:function(e){var t=e.merchantCapabilities||St.merchantCapabilities;return e.__betas&&Object(ot.d)(e.__betas,\"cup_apple_pay_beta_1\")&&t.push(\"supportsEMV\"),t},supportedNetworks:function(e){var t,n,r=(t=e.country,n=e.jcbEnabled||!1,Wt(t,n).reduce((function(e,t){return\"mastercard\"===t?[].concat(Object(a.a)(e),[\"masterCard\"]):\"diners\"===t?e:[].concat(Object(a.a)(e),[t])}),[]));return zt(4)&&r.push(\"maestro\"),e.__betas&&Object(ot.d)(e.__betas,\"cup_apple_pay_beta_1\")&&r.push(\"chinaUnionPay\"),r}},rn={status:function(e){var t=Xt[e.status];return zt(3)&&t>1?1:t},error:function(e){return zt(3)?Qt[e.status]():null}},an=Object(r.a)(Object(r.a)({},tn),nn),on=Object(r.a)(Object(r.a)({},tn),rn),cn=function(e){return Object.keys(on).reduce((function(t,n){var a=(0,on[n])(e);return null!==a?Object(r.a)(Object(r.a)({},t),{},Object(c.a)({},n,a)):t}),{})},sn=function(e){return\"string\"==typeof e?e:null},un=function(e){return e?sn(e.phoneNumber):null},ln=function(e){return e?sn(e.emailAddress):null},pn=function(e){return e?[e.givenName,e.familyName].filter((function(e){return e&&\"string\"==typeof e})).join(\" \"):null},dn=function(e){var t=e.addressLines,n=e.countryCode,r=e.postalCode,o=e.administrativeArea,i=e.locality,c=e.phoneNumber,s=sn(n);return{addressLine:Array.isArray(t)?t.reduce((function(e,t){return\"string\"==typeof t?[].concat(Object(a.a)(e),[t]):e}),[]):[],country:s?s.toUpperCase():\"\",postalCode:sn(r)||\"\",recipient:pn(e)||\"\",region:sn(o)||\"\",city:sn(i)||\"\",phone:sn(c)||\"\",sortingCode:\"\",dependentLocality:\"\",organization:\"\"}},fn=function(e,t){var n=e.identifier,r=e.label;return t.filter((function(e){return e.id===n&&e.label===r}))[0]},mn=function(e,t){var n=e.shippingContact,r=e.shippingMethod,a=e.billingContact;return{shippingOption:r&&t.shippingOptions&&t.shippingOptions.length?fn(r,t.shippingOptions):null,shippingAddress:n?dn(n):null,payerEmail:ln(n),payerPhone:un(n),payerName:pn(a),walletName:\"applePay\",methodName:\"apple-pay\"}},_n={austria:\"AT\",sterreich:\"AT\",csterreich:\"AT\",au:\"AU\",australia:\"AU\",belgium:\"BE\",br:\"BR\",brasil:\"BR\",brazil:\"BR\",ca:\"CA\",canada:\"CA\",ch:\"CH\",schweiz:\"CH\",switzerland:\"CH\",china:\"CN\",czechrepublic:\"CZ\",de:\"DE\",deutschland:\"DE\",germany:\"DE\",danmark:\"DK\",denmark:\"DK\",es:\"ES\",espaa:\"ES\",spain:\"ES\",finland:\"FI\",suomi:\"FI\",fr:\"FR\",hk:\"HK\",hongkong:\"HK\",england:\"GB\",gb:\"GB\",uk:\"GB\",unitedkingdom:\"GB\",scotland:\"GB\",wales:\"GB\",it:\"IT\",italy:\"IT\",italia:\"IT\",japan:\"JP\",lietuva:\"LT\",luxembourg:\"LU\",netherlands:\"NL\",nederland:\"NL\",norway:\"NO\",poland:\"PL\",polska:\"PL\",russia:\"RU\",saudiarabia:\"SA\",se:\"SE\",sweden:\"SE\",sverige:\"SE\",singapore:\"SG\",us:\"US\",usa:\"US\",unitedstatesofamerica:\"US\",unitedstates:\"US\",estadosunidos:\"US\"},hn=function(e,t){return e&&\"object\"==typeof e?t(e):null},bn=function(){function e(t){var n=this;Object(o.a)(this,e),this._onEvent=function(){},this.setEventHandler=function(e){n._onEvent=e},this.canMakePayment=function(e){var t=e.skipEnrollmentChecks;return function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:2,o=arguments.length>5?arguments[5]:void 0,i=Math.max(2,a);if(window.ApplePaySession){if(Ft()){if(window.ApplePaySession.supportsVersion(i)){var c=\"merchant.\".concat((t?[e,t]:[e]).join(\".\"),\".stripe\");return o?Gt():Ut(c).then((function(a){if(r(\"pr.apple_pay.can_make_payment_native_response\",{available:a}),n&&!a&&window.console){var o=t?\"or stripeAccount parameter (\".concat(t,\") \"):\"\";window.console.warn(\"Either you do not have a card saved to your Wallet or the current domain (\".concat(e,\") \").concat(o,\"is not registered for Apple Pay. Visit https://dashboard.stripe.com/account/apple_pay to register this domain.\"))}return a}))}return n&&window.console&&window.console.warn(\"This version of Safari does not support ApplePay JS version \".concat(i,\".\")),u.a.resolve(!1)}return u.a.resolve(!1)}return u.a.resolve(!1)}(window.location.hostname,n._authentication.accountId,Object(d.c)(n._authentication.apiKey)===d.a.test,n._report,n._minimumVersion,t)},this.update=function(e){n._initialPaymentRequest=Object(we.d)(n._paymentRequestOptions,e),n._initializeSessionState()},this.show=function(){var e,t,a;n._initializeSessionState();try{e=new window.ApplePaySession(n._minimumVersion,(t=n._paymentRequestOptions,a=Object(r.a)(Object(r.a)({},St),t),Object.keys(an).reduce((function(e,t){var n=(0,an[t])(a);return null!==n?Object(r.a)(Object(r.a)({},e),{},Object(c.a)({},t,n)):e}),{})))}catch(e){throw\"Must create a new ApplePaySession from a user gesture handler.\"===e.message?new O.a(\"show() must be called from a user gesture handler (such as a click handler, after the user clicks a button).\"):e}n._privateSession=e,n._setupSession(e,n._usesButtonElement()),e.begin(),n._isShowing=!0},this.abort=function(){n._privateSession&&n._privateSession.abort()},this._warn=function(e){},this._report=function(e,t){n._controller.report(e,Object(r.a)(Object(r.a)({},t),{},{backingLibrary:\"APPLE_PAY\",usesButtonElement:n._usesButtonElement()}))},this._validateMerchant=function(e,t){return function(r){n._controller.action.createApplePaySession({data:{validation_url:r.validationURL,domain_name:window.location.hostname,display_name:n._paymentRequestOptions.total.label},usesButtonElement:t}).then((function(t){if(n._isShowing)switch(t.type){case\"object\":e.completeMerchantValidation(JSON.parse(t.object.session));break;case\"error\":n._handleValidationError(e)(t.error);break;default:Object(_t.a)(t)}}),n._handleValidationError(e))}},this._handleValidationError=function(e){return function(t){n._report(\"error.pr.apple_pay.session_creation_failed\",{error:t}),e.abort();var r=t.message;\"string\"==typeof r&&n._controller.warn(r)}},this._paymentAuthorized=function(e){return function(t){var a=t.payment,o=n._usesButtonElement()?p.b.paymentRequestButton:null;n._controller.action.tokenizeWithData({type:\"apple_pay\",elementName:o,tokenData:Object(r.a)(Object(r.a)({},a),{},{billingContact:hn(a.billingContact,n._normalizeContact)}),mids:n._mids}).then((function(t){if(\"error\"===t.type)e.completePayment(window.ApplePaySession.STATUS_FAILURE),n._report(\"error.pr.create_token_failed\",{error:t.error});else{var o=hn(a.shippingContact,n._normalizeContact),i=hn(a.billingContact,n._normalizeContact);o&&n._paymentRequestOptions.requestShipping&&!o.countryCode&&e.completePayment(window.ApplePaySession.STATUS_INVALID_SHIPPING_POSTAL_ADDRESS);var c=mn({shippingContact:o,billingContact:i},n._paymentRequestOptions);n._onToken(e)(Object(r.a)(Object(r.a)({},c),{},{shippingOption:n._privateShippingOption,token:t.object}))}}))}},this._normalizeContact=function(e){if(e.country&&\"string\"==typeof e.country){var t,a=e.country.toLowerCase().replace(/[^a-z]+/g,\"\");return e.countryCode?\"string\"==typeof e.countryCode&&(t=e.countryCode.toUpperCase()):(t=_n[a])||n._report(\"warn.pr.apple_pay.missing_country_code\",{country:e.country}),Object(r.a)(Object(r.a)({},e),{},{countryCode:t})}return e},this._onToken=function(e){return function(t){n._onEvent({type:\"paymentresponse\",payload:Object(r.a)(Object(r.a)({},t),{},{complete:w(n._completePayment(e))})})}},this._completePayment=function(e){return function(t){n._paymentRequestOptions=Object(we.d)(n._paymentRequestOptions,{status:t});var r=cn(n._paymentRequestOptions),a=r.status,o=r.error;n._isShowing&&(o?e.completePayment({status:a,errors:[o]}):e.completePayment(a)),(0===a||1===a&&null==o)&&(n._isShowing=!1,n._onEvent&&n._onEvent({type:\"close\"}))}},this._shippingContactSelected=function(e){return function(t){n._onEvent({type:\"shippingaddresschange\",payload:{shippingAddress:dn(n._normalizeContact(t.shippingContact)),updateWith:w(n._completeShippingContactSelection(e))}})}},this._completeShippingContactSelection=function(e){return function(t){var r;n._paymentRequestOptions=Object(we.d)(n._paymentRequestOptions,t),(null===(r=n._paymentRequestOptions.shippingOptions)||void 0===r?void 0:r.length)&&(n._privateShippingOption=n._paymentRequestOptions.shippingOptions[0]);var a=cn(n._paymentRequestOptions),o=a.status,i=a.shippingMethods,c=a.total,s=a.lineItems;e.completeShippingContactSelection(o,i,c,s)}},this._shippingMethodSelected=function(e){return function(t){if(n._paymentRequestOptions.shippingOptions){var r=fn(t.shippingMethod,n._paymentRequestOptions.shippingOptions);n._privateShippingOption=r,n._onEvent({type:\"shippingoptionchange\",payload:{shippingOption:r,updateWith:w(n._completeShippingMethodSelection(e))}})}}},this._completeShippingMethodSelection=function(e){return function(t){n._paymentRequestOptions=Object(we.d)(n._paymentRequestOptions,t);var r=cn(n._paymentRequestOptions),a=r.status,o=r.total,i=r.lineItems;e.completeShippingMethodSelection(a,o,i)}};var a=t.controller,i=t.authentication,s=t.mids,l=t.options,f=t.usesButtonElement,m=t.listenerRegistry;this._controller=a,this._authentication=i,this._mids=s,this._minimumVersion=l.__minApplePayVersion||2,this._usesButtonElement=f,this._listenerRegistry=m,this._initialPaymentRequest=l,this._isShowing=!1,this._initializeSessionState()}return Object(i.a)(e,[{key:\"_initializeSessionState\",value:function(){var e=btoa(this._authentication.accountId?\"\".concat(this._authentication.apiKey,\":\").concat(this._authentication.accountId):this._authentication.apiKey);this._paymentRequestOptions=Object(r.a)(Object(r.a)(Object(r.a)({},St),this._initialPaymentRequest),{},{status:kt.success,applicationData:e}),this._privateSession=null,this._privateShippingOption=null;var t=this._paymentRequestOptions.shippingOptions;(null==t?void 0:t.length)&&(this._privateShippingOption=t[0])}},{key:\"_setupSession\",value:function(e,t){var n=this;this._listenerRegistry.addEventListener(e,\"validatemerchant\",w(this._validateMerchant(e,t))),this._listenerRegistry.addEventListener(e,\"paymentauthorized\",w(this._paymentAuthorized(e))),this._listenerRegistry.addEventListener(e,\"cancel\",w((function(){n._isShowing=!1,n._onEvent({type:\"cancel\"}),n._onEvent({type:\"close\"})}))),this._listenerRegistry.addEventListener(e,\"shippingcontactselected\",w(this._shippingContactSelected(e))),this._listenerRegistry.addEventListener(e,\"shippingmethodselected\",w(this._shippingMethodSelected(e)))}}]),e}(),yn=null;var vn,gn=function(e){return null!==yn?u.a.resolve(yn):e().then((function(e){return yn=e}))},On=function(e){return!(!ee&&!te)&&(!W&&(!(!e.isCheckout&&!window.PaymentRequest)&&!(!e.isCheckout&&J)))},jn=function e(t){var n=this;Object(o.a)(this,e),this._mids=null,this._frame=null,this._initFrame=function(e){var t=n._controller.createHiddenFrame(p.c.PAYMENT_REQUEST_GOOGLE_PAY,{authentication:n._authentication,mids:n._mids,origin:n._origin});t.send({action:\"stripe-pr-initialize\",payload:{data:e}}),n._initFrameEventHandlers(t),n._frame=t},this._initFrameEventHandlers=function(e){e._on(\"pr-cancel\",(function(){n._onEvent({type:\"cancel\"})})),e._on(\"pr-close\",(function(){n._backdrop.fadeOut().then((function(){n._backdrop.unmount()})),n._onEvent({type:\"close\"})})),e._on(\"pr-error\",(function(e){n._onEvent({type:\"error\",payload:{errorMessage:e.errorMessage,errorCode:e.errorCode}})})),e._on(\"pr-callback\",(function(t){var r=t.event,a=t.options,o=t.nonce;switch(r){case\"paymentresponse\":n._handlePaymentResponse(e,a,o);break;case\"shippingaddresschange\":n._handleShippingAddressChange(e,a,o);break;case\"shippingoptionchange\":n._handleShippingOptionChange(e,a,o);break;default:throw new Error(\"Unexpected event name: \".concat(r))}}))},this._handlePaymentResponse=function(e,t,a){n._onEvent({type:\"paymentresponse\",payload:Object(r.a)(Object(r.a)({},t),{},{complete:function(t){e.send({action:\"stripe-pr-callback-complete\",payload:{nonce:a,data:{status:t}}})}})})},this._handleShippingAddressChange=function(e,t,a){n._onEvent({type:\"shippingaddresschange\",payload:Object(r.a)(Object(r.a)({},t),{},{updateWith:function(t){e.send({action:\"stripe-pr-callback-complete\",payload:{nonce:a,data:t}})}})})},this._handleShippingOptionChange=function(e,t,a){n._onEvent({type:\"shippingoptionchange\",payload:Object(r.a)(Object(r.a)({},t),{},{updateWith:function(t){e.send({action:\"stripe-pr-callback-complete\",payload:{nonce:a,data:t}})}})})},this.setEventHandler=function(e){n._onEvent=e},this.canMakePayment=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{skipEnrollmentChecks:!1},t=e.skipEnrollmentChecks;if(!On({isCheckout:n._isCheckout}))return u.a.resolve(!1);if(!n._frame)throw new Error(\"Frame not initialized.\");var r=n._frame;return gn((function(){return r.action.checkCanMakePayment({skipEnrollmentChecks:t}).then((function(e){return!0===e.available}))}))},this.show=function(){n._frame&&(n._frame.send({action:\"stripe-pr-show\",payload:{data:{usesButtonElement:n._usesButtonElement()}}}),n._backdrop.mount(),n._backdrop.show(),n._backdrop.fadeIn())},this.update=function(e){n._frame&&n._frame.send({action:\"stripe-pr-update\",payload:{data:e}})},this.abort=function(){n._frame&&n._frame.send({action:\"stripe-pr-abort\",payload:{}})},this._controller=t.controller,this._authentication=t.authentication,this._mids=t.mids,this._origin=t.origin,this._usesButtonElement=t.usesButtonElement,this._backdrop=new ue({lockScrolling:!1,lockFocus:!0,lockFocusOn:null,listenerRegistry:t.listenerRegistry}),this._isCheckout=!!t.options.__isCheckout,On({isCheckout:this._isCheckout})&&this._controller&&(this._controller.action.fetchLocale({locale:\"auto\"}),this._initFrame(t.options))},En=function(){if(!window.PaymentRequest)return null;if(/CriOS\\/59/.test(navigator.userAgent))return null;if(/.*\\(.*; wv\\).*Chrome\\/(?:53|54)\\.\\d.*/g.test(navigator.userAgent))return null;if(X)return null;var e=window.PaymentRequest;return e.prototype.canMakePayment||(e.prototype.canMakePayment=function(){return u.a.resolve(!1)}),e}(),wn=null,kn=function e(t){var n=this;Object(o.a)(this,e),this._onEvent=function(){},this.setEventHandler=function(e){n._onEvent=e},this.canMakePayment=function(e){var t=e.skipEnrollmentChecks;return function(e,t,n){return null!==wn?u.a.resolve(wn):En&&e?e.action.checkCanMakePayment({skipEnrollmentChecks:n}).then((function(e){var t=e.available;return wn=!0===t})):u.a.resolve(!1)}(n._prFrame,(Object(d.c)(n._authentication.apiKey),d.a.test),t)},this.update=function(e){var t=n._prFrame;t&&t.send({action:\"stripe-pr-update\",payload:{data:e}})},this.show=function(){if(!n._prFrame)throw new O.a(\"Payment Request is not available in this browser.\");n._prFrame.send({action:\"stripe-pr-show\",payload:{data:{usesButtonElement:n._usesButtonElement()}}})},this.abort=function(){n._prFrame&&n._prFrame.send({action:\"stripe-pr-abort\",payload:{}})},this._setupPrFrame=function(e,t){e.send({action:\"stripe-pr-initialize\",payload:{data:t}}),e._on(\"pr-cancel\",(function(){n._onEvent({type:\"cancel\"})})),e._on(\"pr-close\",(function(){n._onEvent({type:\"close\"})})),e._on(\"pr-error\",(function(e){n._onEvent({type:\"error\",payload:{errorMessage:e.message||\"\",errorCode:e.code||\"\"}})})),e._on(\"pr-callback\",(function(t){var a=t.event,o=t.nonce,i=t.options;switch(a){case\"token\":n._onEvent({type:\"paymentresponse\",payload:Object(r.a)(Object(r.a)({},i),{},{complete:function(t){e.send({action:\"stripe-pr-callback-complete\",payload:{data:{status:t},nonce:o}})}})});break;case\"shippingaddresschange\":n._onEvent({type:\"shippingaddresschange\",payload:{shippingAddress:i.shippingAddress,updateWith:function(t){e.send({action:\"stripe-pr-callback-complete\",payload:{nonce:o,data:t}})}}});break;case\"shippingoptionchange\":n._onEvent({type:\"shippingoptionchange\",payload:{shippingOption:i.shippingOption,updateWith:function(t){e.send({action:\"stripe-pr-callback-complete\",payload:{nonce:o,data:t}})}}});break;default:throw new Error(\"Unexpected event from PaymentRequest inner: \".concat(a))}}))};var a=t.authentication,i=t.controller,c=t.mids,s=t.origin,l=t.usesButtonElement,f=t.options;if(this._authentication=a,this._controller=i,this._usesButtonElement=l,En&&\"https:\"===window.location.protocol){this._controller.action.fetchLocale({locale:\"auto\"});var m=this._controller.createHiddenFrame(p.c.PAYMENT_REQUEST_BROWSER,{authentication:a,mids:c,origin:s});this._setupPrFrame(m,f),this._prFrame=m}else this._prFrame=null},Sn=!1,Pn=function(e){Object(b.a)(n,e);var t=Object(y.a)(n);function n(e){var a;Object(o.a)(this,n),(a=t.call(this))._usedByButtonElement=null,a._showCalledByButtonElement=!1,a._isShowing=!1,a._backingLibraries={APPLE_PAY:null,GOOGLE_PAY:null,BROWSER:null},a._activeBackingLibraryName=null,a._buttonTypeName=null,a._activeBackingLibrary=null,a._canMakePaymentAvailability={APPLE_PAY:null,GOOGLE_PAY:null,BROWSER:null},a._canMakePaymentResolved=!1,a._validateUserOn=function(e,t){\"string\"==typeof e&&(\"source\"===e&&a._hasRegisteredListener(\"paymentmethod\")||\"paymentmethod\"===e&&a._hasRegisteredListener(\"source\"))&&(a._report(\"pr.double_callback_registration\"),a._controller.warn(\"Do not register event listeners for both `source` or `paymentmethod`. Only one of them will succeed.\"))},a._report=function(e,t){a._controller.report(e,Object(r.a)(Object(r.a)({},t),{},{activeBackingLibrary:a._activeBackingLibraryName,usesButtonElement:a._usedByButtonElement||!1}))},a._warn=function(e){a._controller.warn(e)},a._registerElement=function(){a._usedByButtonElement=!0},a._elementShow=function(){a._showCalledByButtonElement=!0,a.show()},a._initBackingLibraries=function(e){a._queryStrategy.forEach((function(t){var n={controller:a._controller,authentication:a._authentication,mids:a._mids,origin:window.location.origin,options:e,usesButtonElement:function(){return!0===a._usedByButtonElement},listenerRegistry:a._listenerRegistry};switch(t){case\"APPLE_PAY\":a._backingLibraries.APPLE_PAY=new bn(n),a._backingLibraries.APPLE_PAY.setEventHandler(a._handleInternalEvent);break;case\"GOOGLE_PAY\":a._backingLibraries.GOOGLE_PAY=new jn(n),a._backingLibraries.GOOGLE_PAY.setEventHandler(a._handleInternalEvent);break;case\"BROWSER\":a._backingLibraries.BROWSER=new kn(n),a._backingLibraries.BROWSER.setEventHandler(a._handleInternalEvent);break;default:Object(_t.a)(t)}}))},a._handleInternalEvent=function(e){switch(e.type){case\"paymentresponse\":a._emitPaymentResponse(e.payload);break;case\"error\":a._report(\"error.pr.internal_error\",{error:e.payload});break;case\"close\":a._isShowing=!1;break;default:a._emitExternalEvent(e)}},a._emitExternalEvent=function(e){switch(e.type){case\"cancel\":a._emit(\"cancel\");break;case\"shippingoptionchange\":case\"shippingaddresschange\":var t=e.type,n=e.payload,o=null,i=!1,c=!1,u=function(r){if(c&&i)return a._report(\"pr.update_with_called_after_timeout\",{event:t}),void a._controller.warn(\"Call to updateWith() was ignored because it has already timed out. Please ensure that updateWith is called within 30 seconds.\");if(i)return a._report(\"pr.update_with_double_call\",{event:t}),void a._controller.warn(\"Call to updateWith() was ignored because it has already been called. Do not call updateWith more than once.\");o&&clearTimeout(o),i=!0,a._report(\"pr.update_with\",{event:t});var u=Object(l.E)(xt,r||{},\"\".concat(t,\" callback\")),p=u.value;u.warnings.forEach((function(e){return a._controller.warn(e)}));var d=p,f=!1;if(a._initialOptions.__isCheckout&&\"APPLE_PAY\"===a._activeBackingLibraryName&&p.shippingOptions&&1===p.shippingOptions.length&&0===p.shippingOptions[0].amount){p.shippingOptions;d=Object(s.a)(p,[\"shippingOptions\"]),f=!0}var m=p.shippingOptions||a._initialOptions.shippingOptions;if(!(f||\"shippingaddresschange\"!==e.type||p.status!==kt.success||m&&m.length))throw new O.a(\"When requesting shipping information, you must specify shippingOptions once a shipping address is selected.\\nEither provide shippingOptions in stripe.paymentRequest(...) or listen for the shippingaddresschange event and provide shippingOptions to the updateWith callback there.\");n.updateWith(d)};a._hasRegisteredListener(e.type)?(o=setTimeout((function(){c=!0,a._report(\"pr.update_with_timed_out\",{event:t}),a._controller.warn(\'Timed out waiting for a call to updateWith(). If you listen to \"\'.concat(e.type,\'\" events, then you must call event.updateWith in the \"\').concat(e.type,\'\" handler within 30 seconds.\')),u({status:\"fail\"})}),29900),a._emit(t,Object(r.a)(Object(r.a)({},n),{},{updateWith:u}))):u({status:\"success\"});break;case\"token\":case\"source\":case\"paymentmethod\":var p=e.type,d=e.payload,f=null,m=!1,_=!1,h=function(e){if(m&&_)return a._report(\"pr.complete_called_after_timeout\"),void a._controller.warn(\"Call to complete() was ignored because it has already timed out. Please ensure that complete is called within 30 seconds.\");if(_)return a._report(\"pr.complete_double_call\"),void a._controller.warn(\"Call to complete() was ignored because it has already been called. Do not call complete more than once.\");f&&clearTimeout(f),_=!0;var t=Object(l.E)(Mt,e,\"status for PaymentRequest completion\"),n=t.value;t.warnings.forEach((function(e){return a._controller.warn(e)})),d.complete(n)};f=setTimeout((function(){m=!0,a._report(\"pr.complete_timed_out\"),a._controller.warn(\'Timed out waiting for a call to complete(). Once you have processed the payment in the \"\'.concat(e.type,\'\" handler, you must call event.complete within 30 seconds.\')),h(\"fail\")}),29900),a._emit(p,Object(r.a)(Object(r.a)({},d),{},{complete:h}));break;default:Object(_t.a)(e)}},a._maybeEmitPaymentResponse=function(e){a._isShowing&&a._emitExternalEvent(e)},a._emitPaymentResponse=function(e){a._report(\"pr.payment_authorized\");var t=e.token,n=Object(s.a)(e,[\"token\"]),o=n.payerEmail,i=n.payerPhone,c=n.complete,u=a._showCalledByButtonElement?p.b.paymentRequestButton:null;a._hasRegisteredListener(\"token\")&&a._maybeEmitPaymentResponse({type:\"token\",payload:e}),a._hasRegisteredListener(\"source\")&&a._controller.action.createSourceWithData({elementName:u,type:\"card\",sourceData:{token:t.id,owner:{email:a._initialOptions.__billingDetailsEmailOverride||o,phone:i}},mids:null}).then((function(e){\"error\"===e.type?e.error.code&&\"email_invalid\"===e.error.code?c(\"invalid_payer_email\"):(a._report(\"fatal.pr.token_to_source_failed\",{error:e.error,token:t.id}),c(\"fail\")):a._maybeEmitPaymentResponse({type:\"source\",payload:Object(r.a)(Object(r.a)({},n),{},{source:e.object})})})),a._hasRegisteredListener(\"paymentmethod\")&&a._controller.action.createPaymentMethodWithData({elementName:u,type:\"card\",paymentMethodData:{card:{token:t.id},billing_details:{email:a._initialOptions.__billingDetailsEmailOverride||o,phone:i}},mids:null}).then((function(e){\"error\"===e.type?e.error.code&&\"email_invalid\"===e.error.code?c(\"invalid_payer_email\"):(a._report(\"fatal.pr.token_to_payment_method_failed\",{error:e.error,token:t.id}),c(\"fail\")):a._maybeEmitPaymentResponse({type:\"paymentmethod\",payload:Object(r.a)(Object(r.a)({},n),{},{paymentMethod:e.object})})}))},a._canMakePaymentForBackingLibrary=function(e,t){var n=a._backingLibraries[e];if(!n)throw new Error(\"Unexpectedly calling canMakePayment on uninitialized backing library.\");return u.a.race([new u.a((function(e){return setTimeout(e,1e4)})).then((function(){return!1})),n.canMakePayment({skipEnrollmentChecks:t}).then((function(e){return!!e}))]).then((function(t){return a._canMakePaymentAvailability=Object(r.a)(Object(r.a)({},a._canMakePaymentAvailability),{},Object(c.a)({},e,t)),{backingLibraryName:e,available:t}}))},a._isGooglePayOnAndroid=function(){var e=a._initialOptions.wallets,t=e&&-1===e.indexOf(\"googlePay\");return J&&!t},a._constructCanMakePaymentResponse=function(){var e=a._isGooglePayOnAndroid()&&!!a._canMakePaymentAvailability.BROWSER;return{applePay:!!a._canMakePaymentAvailability.APPLE_PAY,googlePay:!!a._canMakePaymentAvailability.GOOGLE_PAY||e}},a.canMakePayment=w((function(e){var t=Boolean(null==e?void 0:e.skipEnrollmentChecks);if(a._report(\"pr.can_make_payment\"),a._canMakePaymentResolved){var n=null!==a._activeBackingLibrary?a._constructCanMakePaymentResponse():null;return a._report(\"pr.can_make_payment_response\",{response:n,cached:!0}),u.a.resolve(n)}if(\"https:\"!==window.location.protocol)return Sn||(a._controller.warn(\"If you are testing Apple Pay or Google Pay, you must serve this page over HTTPS as it will not work over HTTP. Please read https://stripe.com/docs/stripe-js/elements/payment-request-button#html-js-prerequisites for more details.\"),Sn=!0),a._canMakePaymentResolved=!0,u.a.resolve(null);var r=a._queryStrategy.map((function(e){return function(){return a._canMakePaymentForBackingLibrary(e,!!a._initialOptions.__isCheckout&&t)}})),o=new Ke.a;return Ot(r,(function(e){var t=e.backingLibraryName,n=e.available;return n&&(a._activeBackingLibraryName=t,a._activeBackingLibrary=a._backingLibraries[t],a._buttonTypeName=a._activeBackingLibraryName,a._isGooglePayOnAndroid()&&(a._buttonTypeName=\"GOOGLE_PAY\")),n})).then((function(e){var t=new Ke.a;a._canMakePaymentResolved=!0;var n=null;return\"SATISFIED\"===e.type&&(n=a._constructCanMakePaymentResponse()),a._report(\"pr.can_make_payment_response\",{response:n,cached:!1,duration:o.getElapsedTime(t)}),n}))})),a.update=w((function(e){if(a._isShowing)throw a._report(\"pr.update_called_while_showing\"),new O.a(\"You cannot update Payment Request options while the payment sheet is showing.\");var t=Object(l.E)(Rt,e,\"PaymentRequest update()\"),n=t.value,r=t.warnings;a._report(\"pr.update\"),r.forEach((function(e){return a._warn(e)})),Object(we.g)(a._backingLibraries).forEach((function(e){e&&e.update(n)}))})),a.show=w((function(){if(a._usedByButtonElement&&!a._showCalledByButtonElement&&(a._report(\"pr.show_called_with_button\"),a._warn(\"Do not call show() yourself if you are using the paymentRequestButton Element. The Element handles showing the payment sheet.\")),!a._canMakePaymentResolved)throw a._report(\"pr.show_called_before_can_make_payment\"),new O.a(\"You must first check the Payment Request API\'s availability using paymentRequest.canMakePayment() before calling show().\");if(!a._activeBackingLibrary)throw a._report(\"pr.show_called_with_can_make_payment_false\"),new O.a(\"Payment Request is not available in this browser.\");var e=a._activeBackingLibrary;a._report(\"pr.show\",{listeners:Object.keys(a._callbacks).sort()}),a._isShowing=!0,e.show()})),a.abort=w((function(){if(a._activeBackingLibrary){var e=a._activeBackingLibrary;a._report(\"pr.abort\"),e.abort()}})),a.isShowing=function(){return a._isShowing},a._controller=e.controller,a._authentication=e.authentication,a._mids=e.mids,a._listenerRegistry=e.listenerRegistry;var i=Object(l.E)(Nt,e.rawOptions||{},\"paymentRequest()\"),d=i.value,f=i.warnings;if(a._report(\"pr.options\",{options:Object(we.e)(d,[\"country\",\"currency\",\"jcbEnabled\",\"requestPayerEmail\",\"requestPayerName\",\"requestPayerPhone\",\"requestShipping\",\"disableWallets\",\"wallets\"])}),f.forEach((function(e){return a._warn(e)})),d.__billingDetailsEmailOverride&&d.requestPayerEmail)throw new O.a(\"When providing `__billingDetailsEmailOverride`, `requestPayerEmail` has to be `false` so that the customer is not prompted for their email in the payment sheet.\");var m=d.disableWallets,_=m?Lt.c.filter((function(e){return-1===m.indexOf(e)})):d.wallets;return a._queryStrategy=_?qt(_):e.queryStrategyOverride||Dt(),a._report(\"pr.query_strategy\",{queryStrategy:a._queryStrategy}),a._initialOptions=Object(r.a)(Object(r.a)({},d),{},{__betas:e.betas,wallets:_}),a._initBackingLibraries(a._initialOptions),a}return n}(T),An={base:Object(l.s)(l.p),complete:Object(l.s)(l.p),empty:Object(l.s)(l.p),invalid:Object(l.s)(l.p),paymentRequestButton:Object(l.s)(l.p)},Tn={classes:Object(l.s)(Object(l.u)({base:Object(l.s)(l.x),complete:Object(l.s)(l.x),empty:Object(l.s)(l.x),focus:Object(l.s)(l.x),invalid:Object(l.s)(l.x),webkitAutofill:Object(l.s)(l.x)})),hidePostalCode:Object(l.s)(l.b),hideIcon:Object(l.s)(l.b),showIcon:Object(l.s)(l.b),style:Object(l.s)(Object(l.u)(An)),iconStyle:Object(l.s)(Object(l.q)(\"solid\",\"default\")),value:Object(l.s)(Object(l.t)(l.x,l.p)),__privateCvcOptional:Object(l.s)(l.b),__privateValue:Object(l.s)(Object(l.t)(l.x,l.p)),__privateEmitIbanValue:Object(l.s)(l.b),error:Object(l.s)(Object(l.u)({type:l.x,code:Object(l.s)(l.x),decline_code:Object(l.s)(l.x),param:Object(l.s)(l.x)})),locale:Object(l.j)(\"elements()\"),fonts:Object(l.j)(\"elements()\"),placeholder:Object(l.s)(l.x),disabled:Object(l.s)(l.b),placeholderCountry:Object(l.s)(l.x),paymentRequest:Object(l.s)(Object(l.h)(Pn,\"stripe.paymentRequest(...)\")),supportedCountries:Object(l.s)(Object(l.a)(l.x)),accountHolderType:Object(l.s)(Object(l.q)(\"individual\",\"company\")),issuingCard:Object(l.s)(l.x),toCopy:Object(l.s)(Object(l.q)(\"number\",\"cvc\",\"expiry\"))},In=Object(l.u)(Tn),Cn=n(14),Nn=n(20),Rn=(vn={},Object(c.a)(vn,Cn.a.card,Nn.a.CARD_ELEMENT),Object(c.a)(vn,Cn.a.cardNumber,Nn.a.CARD_ELEMENT),Object(c.a)(vn,Cn.a.cardExpiry,Nn.a.CARD_ELEMENT),Object(c.a)(vn,Cn.a.cardCvc,Nn.a.CARD_ELEMENT),Object(c.a)(vn,Cn.a.postalCode,Nn.a.CARD_ELEMENT),Object(c.a)(vn,Cn.a.paymentRequestButton,Nn.a.PAYMENT_REQUEST_ELEMENT),Object(c.a)(vn,Cn.a.iban,Nn.a.IBAN_ELEMENT),Object(c.a)(vn,Cn.a.idealBank,Nn.a.IDEAL_BANK_ELEMENT),Object(c.a)(vn,Cn.a.p24Bank,Nn.a.P24_BANK_ELEMENT),Object(c.a)(vn,Cn.a.auBankAccount,Nn.a.AU_BANK_ACCOUNT_ELEMENT),Object(c.a)(vn,Cn.a.fpxBank,Nn.a.FPX_BANK_ELEMENT),Object(c.a)(vn,Cn.a.issuingCardNumberDisplay,Nn.a.ISSUING_CARD_NUMBER_DISPLAY_ELEMENT),Object(c.a)(vn,Cn.a.issuingCardCopyButton,Nn.a.ISSUING_CARD_COPY_BUTTON_ELEMENT),Object(c.a)(vn,Cn.a.issuingCardCvcDisplay,Nn.a.ISSUING_CARD_CVC_DISPLAY_ELEMENT),Object(c.a)(vn,Cn.a.issuingCardExpiryDisplay,Nn.a.ISSUING_CARD_EXPIRY_DISPLAY_ELEMENT),Object(c.a)(vn,Cn.a.epsBank,Nn.a.EPS_BANK_ELEMENT),Object(c.a)(vn,Cn.a.netbankingBank,Nn.a.NETBANKING_BANK_ELEMENT),Object(c.a)(vn,Cn.a.afterpayClearpayMessageModal,Nn.a.AFTERPAY_MESSAGE_MODAL_ELEMENT),Object(c.a)(vn,Cn.a.autocompleteSuggestions,Nn.a.AUTOCOMPLETE_SUGGESTIONS_ELEMENT),vn),xn=function(e){var t=Object(gt.a)(e,null);return!!t&&\"rtl\"===t.getPropertyValue(\"direction\")},Mn=n(40),Ln=function(e){var t=document.createElement(\"input\");return t.className=e,t.setAttribute(\"aria-hidden\",\"true\"),t.setAttribute(\"aria-label\",\" \"),t.setAttribute(\"autocomplete\",\"false\"),t.maxLength=1,t.disabled=!0,Object(x.d)(t,Mn.b),t},Dn=[\"test_id\"],qn=function(e){switch(e.type){case\"object\":return Dn.push(e.object.id),{issuingCard:e.object};case\"error\":return{error:e.error};default:return Object(_t.a)(e)}},Bn=function(e){switch(e.type){case\"object\":return{nonce:e.object.public_nonce};case\"error\":return{error:e.error};default:return Object(_t.a)(e)}},Fn={base:\"StripeElement\",focus:\"StripeElement--focus\",invalid:\"StripeElement--invalid\",complete:\"StripeElement--complete\",empty:\"StripeElement--empty\",webkitAutofill:\"StripeElement--webkit-autofill\"},Un=\"#faffbd\",Gn=function(e){return parseFloat(e.toFixed(1))},zn=function(e){return/^\\d+(\\.\\d*)?px$/.test(e)},Hn=function(){function e(t){var n=this;Object(o.a)(this,e),this.focus=function(){if(n._isIssuingDisplayElement())throw new O.a(\"Cannot call focus() on an \".concat(n._componentName,\" Element.\"));document.activeElement&&document.activeElement.blur&&document.activeElement.blur(),n._fakeInput.focus()},this._formSubmit=function(){for(var e=n._component.parentElement;e&&\"FORM\"!==e.nodeName;)e=e.parentElement;if(e){var t=document.createEvent(\"Event\");t.initEvent(\"submit\",!0,!0),e.dispatchEvent(t)}};var r=t.options,a=t.component,i=t.listenerRegistry,c=t.elementTimings,s=t.emitEvent,u=t.getParent,p=r.controller,d=r.componentName,f=r.publicOptions;this._componentName=d,this._component=a,this._controller=p,this._listenerRegistry=i,this._emitEvent=s,this._getParent=u;var m=Object(l.E)(In,f||{},\"create()\"),_=m.value;m.warnings.forEach((function(e){return n._controller.warn(e)}));var h,b=_.paymentRequest,y=_.classes,v=_.issuingCard,g=\"paymentRequestButton\"===this._componentName;if(g){if(!b)throw new O.a(\"You must pass in a stripe.paymentRequest object in order to use this Element.\");this._paymentRequest=b,this._paymentRequest._registerElement()}if(this._isIssuingDisplayElement()){if(!v)throw new Error(\"You must pass in an ID to the issuingCard option in order to use this Element.\");if(h=v,-1===Dn.indexOf(h))throw new Error(\"Issuing card \".concat(v,\" has not been retrieved.\"))}this._createElement(r,_,c),this._classes=Fn,this._computeCustomClasses(y||{}),this._lastBackgroundColor=\"\",this._focused=!1,this._empty=!g,this._invalid=!1,this._complete=!1,this._autofilled=!1,this._lastSubmittedAt=null}return Object(i.a)(e,[{key:\"update\",value:function(e){var t=this,n=Object(l.E)(In,e||{},\"element.update()\"),r=n.value;if(n.warnings.forEach((function(e){return t._controller.warn(e)})),r){var a=r.classes,o=Object(s.a)(r,[\"classes\"]);a&&(this._removeClasses(),this._computeCustomClasses(a),this._updateClasses()),this._updateFrameHeight(r),Object.keys(o).length&&(this._frame.update(o),this._secondaryFrame&&this._secondaryFrame.update(o))}}},{key:\"blur\",value:function(){if(this._isIssuingDisplayElement())throw new O.a(\"Cannot call blur() on an \".concat(this._componentName,\" Element.\"));this._frame.blur(),this._fakeInput.blur()}},{key:\"clear\",value:function(){this._frame.clear()}},{key:\"unmount\",value:function(){var e=this._getParent(),t=this._label;e&&(this._listenerRegistry.removeEventListener(e,\"click\",this.focus),this._removeClasses()),t&&(this._listenerRegistry.removeEventListener(t,\"click\",this.focus),this._label=null),this._secondaryFrame&&(this._secondaryFrame.unmount(),this._listenerRegistry.removeEventListener(window,\"click\",this._handleOutsideClick)),this._fakeInput.disabled=!0,this._frame.unmount()}},{key:\"mount\",value:function(){if(Object(x.b)(document,this._component)){this._controller.report(\"user_error.shadow_dom_mount\",{element:this._componentName});var e=function(){throw new O.a(\"Elements cannot be mounted in a ShadowRoot. Please mount in the Light DOM.\")};\"test\"===this._controller.keyMode()?e():setTimeout(e,0)}if(this._paymentRequest){if(!this._paymentRequest._canMakePaymentResolved)throw new O.a(\"For the paymentRequestButton Element, you must first check availability using paymentRequest.canMakePayment() before mounting the Element.\");if(!this._paymentRequest._activeBackingLibraryName)throw new O.a(\"The paymentRequestButton Element is not available in the current environment.\")}this._mountTimestamp=new Ke.a,this._findPossibleLabel(),this._updateClasses()}},{key:\"_isIssuingDisplayElement\",value:function(){return\"issuingCardNumberDisplay\"===this._componentName||\"issuingCardCvcDisplay\"===this._componentName||\"issuingCardExpiryDisplay\"===this._componentName}},{key:\"_updateClasses\",value:function(){var e=this._getParent();e&&Object(x.f)(e,[[this._classes.base,!0],[this._classes.empty,this._empty],[this._classes.focus,this._focused],[this._classes.invalid,this._invalid],[this._classes.complete,this._complete],[this._classes.webkitAutofill,this._autofilled]])}},{key:\"_removeClasses\",value:function(){var e=this._getParent();e&&Object(x.f)(e,[[this._classes.base,!1],[this._classes.empty,!1],[this._classes.focus,!1],[this._classes.invalid,!1],[this._classes.complete,!1],[this._classes.webkitAutofill,!1]])}},{key:\"_findPossibleLabel\",value:function(){var e=this._getParent();if(e){var t,n=e.getAttribute(\"id\");if(n&&(t=document.querySelector(\"label[for=\'\".concat(n,\"\']\"))),t)this._listenerRegistry.addEventListener(e,\"click\",this.focus);else for(t=t||e.parentElement;t&&\"LABEL\"!==t.nodeName;)t=t.parentElement;t?(this._label=t,this._listenerRegistry.addEventListener(t,\"click\",this.focus)):this._listenerRegistry.addEventListener(e,\"click\",this.focus)}}},{key:\"_computeCustomClasses\",value:function(e){var t={};return Object.keys(e).forEach((function(n){if(!Fn[n])throw new O.a(\"\".concat(n,\" is not a customizable class name.\\nYou can customize: \").concat(Object.keys(Fn).join(\", \")));var r=e[n]||Fn[n];t[n]=r.replace(/\\./g,\" \")})),this._classes=Object(r.a)(Object(r.a)({},this._classes),t),this}},{key:\"_setupEvents\",value:function(e){var t=this,n=e.stripeJsLoadTimestamp,r=(e.stripeCreateTimestamp,e.groupCreateTimestamp),o=e.createTimestamp,i=0,c=0,s={stripeJsLoad:n.getAsPosixTime(),stripeCreate:o.getAsPosixTime(),groupCreate:r.getAsPosixTime(),create:o.getAsPosixTime()};if(this._frame._on(\"load\",(function(e){var n=e.source;i++;var r=t._getParent(),a=xn(r),o=t._paymentRequest?t._paymentRequest._buttonTypeName:null;t._mountTimestamp&&(s.mount=t._mountTimestamp.getAsPosixTime()),t._frame.send({action:\"stripe-user-mount\",payload:{timestamps:s,loadCount:i,matchFrame:n===t._frame._iframe.contentWindow,rtl:a,paymentRequestButtonType:o}})})),this._secondaryFrame){var u=this._secondaryFrame;u._on(\"load\",(function(e){var n=e.source;c++,t._mountTimestamp&&(s.mount=t._mountTimestamp.getAsPosixTime()),u.send({action:\"stripe-user-mount\",payload:{timestamps:s,loadCount:c,matchFrame:n===u._iframe.contentWindow,rtl:!1,paymentRequestButtonType:null}})}))}this._frame._on(\"redirectfocus\",(function(e){var n=e.focusDirection,r=Object(ie.b)(t._component,n);r&&r.focus()})),this._frame._on(\"focus\",(function(){t._focused=!0,t._updateClasses()})),this._frame._on(\"blur\",(function(){t._focused=!1,t._updateClasses(),t._lastSubmittedAt&&\"paymentRequestButton\"===t._componentName&&(t._controller.report(\"payment_request_button.sheet_visible\",{latency:t._lastSubmittedAt.getElapsedTime()}),t._lastSubmittedAt=null)})),this._frame._on(\"submit\",(function(){if(\"paymentRequestButton\"===t._componentName){t._lastSubmittedAt=new Ke.a;var e=!1,n=!1;We(),t._emitEvent(\"click\",{preventDefault:function(){t._controller.report(\"payment_request_button.default_prevented\"),e&&t._controller.warn(\"event.preventDefault() was called after the payment sheet was shown. Make sure to call it synchronously when handling the `click` event.\"),n=!0}}),!n&&t._paymentRequest&&(t._paymentRequest._elementShow(),e=!0)}else t._emitEvent(\"submit\"),t._formSubmit()})),[\"ready\",\"focus\",\"blur\",\"escape\",\"click\"].forEach((function(e){t._frame._on(e,(function(){t._emitEvent(e)}))})),this._frame._on(\"change\",(function(e){We();var n={},r=ft.a[t._componentName]||[];[\"error\",\"value\",\"empty\",\"complete\"].concat(Object(a.a)(r)).forEach((function(t){return n[t]=e[t]})),t._emitEvent(\"change\",n),t._empty=n.empty,t._invalid=!!n.error,t._complete=n.complete,t._updateClasses()})),this._frame._on(\"__privateIntegrationError\",(function(e){var n=e.message;t._emitEvent(\"__privateIntegrationError\",{message:n})})),this._frame._on(\"dimensions\",(function(e){var n=t._getParent();if(n){var r=Object(gt.a)(n,null);if(r){var a=parseFloat(r.getPropertyValue(\"height\")),o=e.height;if(\"border-box\"===r.getPropertyValue(\"box-sizing\")){var i=parseFloat(r.getPropertyValue(\"padding-top\")),c=parseFloat(r.getPropertyValue(\"padding-bottom\"));a=a-parseFloat(r.getPropertyValue(\"border-top\"))-parseFloat(r.getPropertyValue(\"border-bottom\"))-i-c}var s=Gn(a),u=Gn(o);0!==a&&s<u&&t._controller.report(\"wrapper_height_mismatch\",{height:u,outer_height:s});var l=t._component.getBoundingClientRect().height,p=Gn(l);0!==l&&0!==o&&p!==u&&(t._frame.updateStyle({height:\"\".concat(o,\"px\")}),t._controller.report(\"iframe_height_update\",{height:u,calculated_height:p}))}}})),this._frame._on(\"autofill\",(function(){var e=t._getParent();if(e){var n=e.style.backgroundColor,r=n===Un||\"rgb(250, 255, 189)\"===n;t._lastBackgroundColor=r?t._lastBackgroundColor:n,e.style.backgroundColor=Un,t._autofilled=!0,t._updateClasses()}})),this._frame._on(\"autofill-cleared\",(function(){var e=t._getParent();t._autofilled=!1,e&&(e.style.backgroundColor=t._lastBackgroundColor),t._updateClasses()})),this._frame._on(\"update-outer-style\",(function(e){Object.keys(e).forEach((function(n){t._component.style.setProperty(n,e[n])}))}))}},{key:\"_handleOutsideClick\",value:function(){this._secondaryFrame&&this._secondaryFrame.send({action:\"stripe-outside-click\",payload:{}})}},{key:\"_updateFrameHeight\",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.style;if(\"paymentRequestButton\"===this._componentName){var r=n&&n.paymentRequestButton||{},a=r.height,o=\"string\"==typeof a?a:void 0;(t||o)&&(this._frame.updateStyle({height:o||this._lastHeight||jt}),this._lastHeight=o||this._lastHeight)}else{var i=n&&n.base||{},c=i.lineHeight,s=i.fontSize,u=i.padding,l=\"string\"!=typeof c||isNaN(parseFloat(c))?void 0:c,d=\"string\"==typeof s?s:void 0,f=\"string\"==typeof u?u:void 0;if(d&&!zn(d)&&this._controller.warn(\"The fontSize style you specified (\".concat(d,\") is not in px. We do not recommend using relative css units, as they will be calculated relative to our iframe\'s styles rather than your site\'s.\")),t||l||d){var m=-1===p.l.indexOf(this._componentName)?void 0:f||this._lastPadding,_=vt(l||this._lastHeight,d||this._lastFontSize,m);this._frame.updateStyle({height:_}),this._lastFontSize=d||this._lastFontSize,this._lastHeight=l||this._lastHeight,this._lastPadding=m}}}},{key:\"_createElement\",value:function(e,t,n){var a=this,o=(e.controller,e.publicOptions,e.componentName),i=e.groupId,c=Object(s.a)(e,[\"controller\",\"publicOptions\",\"componentName\",\"groupId\"]),u=(t.classes,t.paymentRequest,Object(s.a)(t,[\"classes\",\"paymentRequest\"])),l=this._component,d=Ln(Ze.c);Object(x.d)(l,Mn.a);var f=xn(document.body),m=Rn[o],_=Object(r.a)(Object(r.a)(Object(r.a)({},c),u),{},{rtl:f}),h=this._controller.createElementFrame(m,o,i,_);if(h._on(\"load\",(function(){d.disabled=!1})),this._listenerRegistry.addEventListener(d,\"focus\",(function(){h.focus()})),h.appendTo(l),ft.c[o]){var b=ft.c[o].secondary,y=this._controller.createSecondaryElementFrame(m,b,o,i,_);y&&y.on&&y.on(\"height-change\",(function(e){y.updateStyle({height:\"\".concat(e.height,\"px\")})})),this._secondaryFrame=y,y.appendTo(l),this._listenerRegistry.addEventListener(window,\"click\",(function(){return a._handleOutsideClick()}))}if(l.appendChild(d),V&&o!==p.b.paymentRequestButton){var v=function(){var e=Ln(Ze.d);return e.setAttribute(\"tabindex\",\"-1\"),e}();l.appendChild(v)}this._frame=h,this._fakeInput=d,this._setupEvents(n),this._updateFrameHeight(t,!0)}}]),e}(),Yn=n(23),Wn={amount:l.n,currency:Object(l.q)(\"USD\"),logoColor:Object(l.s)(Object(l.q)(\"primary\",\"black\",\"white\")),fontColor:Object(l.s)(l.x),fontSize:Object(l.s)(l.x),stripeMerchantId:Object(l.s)(l.x)},Kn=Object(l.u)(Wn),Vn=function(e){var t=!1;window.Promise||(t=!0,window.Promise=u.a);var n=e();return t&&window.Promise===u.a&&delete window.Promise,n},Jn=function(e){var t,o=e.options,i=Object(s.a)(e,[\"options\"]),c=e.emitEvent,p=e.listenerRegistry,d=o.controller,f=o.componentName,m=o.publicOptions,_=o.groupId,h=new Ke.a,b=function(e){var t=Object(l.E)(Kn,e||{},\"create()\"),n=t.value,r=t.warnings;if(!Math.floor(n.amount)===n.amount)throw new O.a(\"\'Amount\' must be a whole integer number that represents the lowest denomination (cents).\");return r.forEach((function(e){return d.warn(e)})),n},y=b(m),v=function(e,n){return e.apply(void 0,[t].concat(Object(a.a)(n)))},g=[],j=function(e){return function(){for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];t?v(e,r):g.push([e,r])}},E=function(){};u.a.all([Vn((function(){return n.e(1).then(n.bind(null,76))})),Vn((function(){return n.e(2).then(n.bind(null,80))}))]).then((function(e){var n=Object(Yn.a)(e,2),a=n[0],o=n[1],c=a.default;E=o.unmountModal;var s=Object(r.a)(Object(r.a)({},i),{},{options:{groupId:_,controller:d,componentName:f,publicOptions:y},mountModal:function(e){return o.mountModal({controller:d,listenerRegistry:p,url:e})}});t=c(s),d.report(\"affirm_message.loaded\",{load_time:h.getElapsedTime(),currency:y.currency}),function(){for(;g.length;){var e=g.shift(),t=Object(Yn.a)(e,2),n=t[0],r=t[1];v(n,r)}}()}),(function(e){d.report(\"affirm_message.import_error\",{error:e})}));var w=function(e){return function(){throw new O.a(e)}};return{mount:j((function(e){e.mount(y),c(\"mounted\")})),unmount:j((function(e){E(),e.unmount()})),update:j((function(e,t){var n=Object(we.c)(y,t);y=b(n),e.update(y)})),focus:w(\"Focus is not supported by affirmMessage.\"),blur:w(\"Blur is not supported by affirmMessage.\"),clear:w(\"Clear is not supported by affirmMessage.\")}},Zn={amount:l.n,currency:Object(l.q)(\"USD\",\"AUD\",\"CAD\",\"GBP\",\"NZD\",\"EUR\"),badgeTheme:Object(l.s)(Object(l.q)(\"black-on-mint\",\"black-on-white\",\"mint-on-black\",\"white-on-black\")),introText:Object(l.s)(Object(l.q)(\"In\",\"in\",\"Or\",\"or\",\"Pay\",\"pay\",\"Pay in\",\"pay in\")),isEligible:Object(l.s)(l.b),isCartEligible:Object(l.s)(l.b),lockupTheme:Object(l.s)(Object(l.q)(\"black\",\"white\",\"mint\")),logoType:Object(l.s)(Object(l.q)(\"badge\",\"lockup\")),max:Object(l.s)(l.n),min:Object(l.s)(l.n),modalLinkStyle:Object(l.s)(Object(l.q)(\"circled-info-icon\",\"more-info-text\",\"learn-more-text\")),modalTheme:Object(l.s)(Object(l.q)(\"mint\",\"white\")),showInterestFree:Object(l.s)(l.b),showLowerLimit:Object(l.s)(l.b),showUpperLimit:Object(l.s)(l.b),showWith:Object(l.s)(l.b)},$n=Object(l.u)(Zn),Xn=function(){return Vn((function(){return n.e(4).then(n.bind(null,81))}))},Qn=function(e){var t,r=e.emitEvent,o=e.options,i=o.controller,c=o.locale,s=o.publicOptions,p=new Ke.a,d=function(e){var t=Object(l.E)($n,e||{},\"create()\"),n=t.value;return t.warnings.forEach((function(e){return i.warn(e)})),n},f=d(s),m=function(e,n){return e.apply(void 0,[t].concat(Object(a.a)(n)))},_=[],h=function(e){return function(){for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];t?m(e,r):_.push([e,r])}},b=function(){};u.a.all([Vn((function(){return n.e(3).then(n.bind(null,79))})),Xn()]).then((function(n){var a=Object(Yn.a)(n,2),o=a[0],s=a[1],u=o.default;b=s.unmountModal;var l=e.component,d=e.listenerRegistry;t=u({component:l,mountModal:function(e,t){return s.mountModal({controller:i,listenerRegistry:d,locale:e,modalTheme:t})},locale:c,listenerRegistry:d}),i.report(\"afterpay_message.loaded\",{load_time:p.getElapsedTime(),locale:c,currency:f.currency}),function(){for(;_.length;){var e=_.shift(),t=Object(Yn.a)(e,2),n=t[0],r=t[1];m(n,r)}}(),r(\"ready\")}),(function(e){i.report(\"afterpay_message.import_error\",{error:e})}));var y=function(e){return function(){throw new O.a(e)}};return{mount:h((function(e){e.mount(f)})),unmount:h((function(e){b(),e.unmount()})),update:h((function(e,t){var n=Object(we.c)(f,t);f=d(n),e.update(f)})),focus:y(\"Focus is not supported by afterpayClearpayMessage.\"),blur:y(\"Blur is not supported by afterpayClearpayMessage.\"),clear:y(\"Clear is not supported by afterpayClearpayMessage.\")}},er=n(52),tr=n(19),nr=[\"affirm\",\"afterpay_clearpay\",\"alipay\",\"au_becs_debit\",\"bancontact\",\"boleto\",\"card\",\"eps\",\"fpx\",\"giropay\",\"grabpay\",\"ideal\",\"klarna\",\"konbini\",\"link\",\"oxxo\",\"p24\",\"paynow\",\"paypal\",\"promptpay\",\"sepa_debit\",\"sofort\",\"us_bank_account\",\"wechat_pay\",\"nz_bank_account\",\"apple_pay\",\"google_pay\"],rr=Object(l.u)({billingDetails:Object(l.s)(Object(l.t)(Object(l.q)(\"never\",\"auto\"),Object(l.u)({name:Object(l.s)(Object(l.q)(\"never\",\"auto\")),phone:Object(l.s)(Object(l.q)(\"never\",\"auto\")),email:Object(l.s)(Object(l.q)(\"never\",\"auto\")),address:Object(l.s)(Object(l.t)(Object(l.q)(\"never\",\"auto\"),Object(l.u)({country:Object(l.s)(Object(l.q)(\"never\",\"auto\")),postalCode:Object(l.s)(Object(l.q)(\"never\",\"auto\")),state:Object(l.s)(Object(l.q)(\"never\",\"auto\")),city:Object(l.s)(Object(l.q)(\"never\",\"auto\")),line1:Object(l.s)(Object(l.q)(\"never\",\"auto\")),line2:Object(l.s)(Object(l.q)(\"never\",\"auto\"))})))})))}),ar=Object(l.u)({bancontact:Object(l.s)(Object(l.q)(\"auto\",\"always\",\"never\")),card:Object(l.s)(Object(l.q)(\"auto\",\"always\",\"never\")),ideal:Object(l.s)(Object(l.q)(\"auto\",\"always\",\"never\")),sepaDebit:Object(l.s)(Object(l.q)(\"auto\",\"always\",\"never\")),sofort:Object(l.s)(Object(l.q)(\"auto\",\"always\",\"never\")),auBecsDebit:Object(l.s)(Object(l.q)(\"auto\",\"always\",\"never\")),usBankAccount:Object(l.s)(Object(l.q)(\"auto\",\"always\",\"never\"))}),or=Object(l.u)({applePay:Object(l.s)(Object(l.q)(\"auto\",\"never\")),googlePay:Object(l.s)(Object(l.q)(\"auto\",\"never\"))}),ir={locale:Object(l.j)(\"elements()\"),fonts:Object(l.j)(\"elements()\"),defaultValues:Object(l.s)(Object(l.u)({email:l.x}))},cr=Object(l.u)(ir),sr={locale:Object(l.j)(\"elements()\"),fonts:Object(l.j)(\"elements()\"),business:Object(l.s)(Object(l.u)({name:l.x})),paymentMethodOrder:Object(l.s)(Object(l.a)(l.x)),fields:Object(l.s)(rr),readOnly:Object(l.s)(l.b),terms:Object(l.s)(ar),wallets:Object(l.s)(or)},ur=Object(l.u)(Object.freeze({})),lr={locale:Object(l.j)(\"elements()\"),fonts:Object(l.j)(\"elements()\"),allowedCountries:Object(l.s)(Object(l.a)(l.x))},pr=Object(l.u)(lr),dr=function(e,t,n,a,o){switch(e){case\"linkAuthentication\":var i=Object(l.E)(cr,t,n),c=i.value;c.locale,c.fonts;return{value:Object(s.a)(c,[\"locale\",\"fonts\"]),warnings:i.warnings};case\"payment\":var u=Object(l.E)(function(e,t){var n=sr;return Object(ot.d)(t,ot.a.payment_element_beta_1)&&(n=Object(r.a)(Object(r.a)({},n),{},{appearance:Object(l.s)(l.p),clientSecret:tr.f}),e&&(n=Object(r.a)(Object(r.a)({},n),{},{clientSecret:Object(l.s)(tr.f)}))),Object(l.u)(n)}(a,o),t,n),p=u.value,d=(p.locale,p.fonts,p.clientSecret),f=void 0===d?void 0:d,m=Object(s.a)(p,[\"locale\",\"fonts\",\"clientSecret\"]),_=u.warnings;return{value:Object(r.a)({parsedIntentSecret:f},m),warnings:_};case\"shippingAddress\":var h=Object(l.E)(pr,t,n),b=h.value;b.locale,b.fonts;return{value:Object(s.a)(b,[\"locale\",\"fonts\"]),warnings:h.warnings};case\"autocompleteSuggestions\":var y=Object(l.E)(ur,t,n);return{value:Object(er.a)({},y.value),warnings:y.warnings};default:return Object(_t.a)(e)}},fr=n(7),mr=n(32),_r=\"close\",hr=\"complete\",br=(Object(l.w)(\"bcsess_\"),{test:\"pk_test_51IRoVcAI0bnnJOjmMRHo1VmwhAhWw6hYu50LlvNiObGGwSGMWHHgJew4g7fD8JS6m0LZZeU4M4ADNU1fjNG4BrDF00NrfWM8Xp\",live:\"pk_live_51IRoVcAI0bnnJOjmkQjg7OxC4Yx4OTniNC6VZT2ufgCDenJDYdLVIoFjaZ5PpESYtt7pT1q12mYsKN9w9BN0RoM100GeMvV1N2\"}),yr=function(e,t){return new u.a((function(n){var r;try{r=t.createLightboxFrame({type:p.c.LINKED_ACCOUNTS_INNER,options:e})}catch(e){return n({error:{message:e.message}})}return r.show(),r.fadeInBackdrop(),r._on(_r,(function(){r.fadeOutBackdrop()})),r._on(hr,(function(e){r.destroy(!0).then((function(){n(function(e){switch(e.type){case\"object\":var t=e.object,n=t.id,r=t.linked_accounts,a=t.payment_account,o={id:n,linkedAccounts:r};return a&&(o.paymentAccount=a),{linkAccountSession:o,linkedAccounts:r};case\"error\":return{error:{message:e.error.message||\"stripe.linkAccounts: an unknown error occurred.\",type:e.error.type}};default:return Object(_t.a)(e)}}(e))}))})),null}))},vr=function(e){var t,n=e.linkAccountSessionCreatorClientSecret,r=e.linkAccountSessionCreatorType,a=e.linkAccountSessionCreatorId,o=e.controller,i=e.consumerSessionSecret,c=e.redirect,s=e.linkAccountSessionCreationParams;t=o.warn,rt(\"minimum-scale=1\")||t(\'LinkedAccounts requires \"minimum-scale=1\" to be set in your page\\\'s viewport meta tag.\');var u=o._stripeAccount,l=o._apiVersion,p=o._apiKey,f=Object(d.c)(p);return\"link_payment_intent\"===r&&\"unknown\"!==f&&(p=br[f],l=null),c?function(e,t){var n=\"\".concat(\"https://auth.stripe.com/\",\"link-accounts#\").concat(Object(v.a)(e));return Object(mr.a)(n).then((function(e){Object(mr.b)(t,\"linkAccounts redirect\",e);var n=e.error;return{error:{message:n.message,code:n.code,type:n.type}}}))}({clientSecret:n,apiKey:p,stripeAccount:u,stripeVersion:l},o):yr({clientSecret:n,linkAccountSessionCreatorType:r,linkAccountSessionCreatorId:a,linkAccountSessionCreationParams:s,apiKey:p,consumerSessionSecret:i,stripeAccount:u,stripeVersion:l},o)},gr=function(e,t){var n,r,a,o,i,c=\"applePay\"===t?\"googlePay\":\"applePay\",s=null!==(n=null!==(r=e.merchantInfo.businessName)&&void 0!==r?r:null===(a=Object(at.d)(location.origin))||void 0===a?void 0:a.host)&&void 0!==n?n:location.origin;return{country:e.merchantInfo.countryCode,currency:null!==(o=e.currency)&&void 0!==o?o:\"usd\",total:{label:s,amount:null!==(i=e.amount)&&void 0!==i?i:0},requestPayerName:!0,requestPayerEmail:!1,requestPayerPhone:!1,disableWallets:[\"browserCard\",c]}},Or=function(e,t,n,r,a){var o=new Pn({controller:t.controller,authentication:{apiKey:t.controller._apiKey,accountId:t.controller._stripeAccount||null},mids:t.mids,rawOptions:gr(e,a),betas:t.betas,queryStrategyOverride:null,listenerRegistry:n});return o._on(\"token\",(function(e){t.controller.action.completeWalletConfirm({type:\"token\",token:e.token.id}).then((function(){e.complete(\"success\")})).catch((function(){e.complete(\"unexpected failure\")}))})),o._on(\"cancel\",(function(){t.controller.action.completeWalletConfirm({type:\"cancelled\"})})),o.canMakePayment().then((function(e){e&&e[a]&&(r.send({action:\"should-list-wallet\",payload:{wallet:a}}),r._on(\"show-wallet\",(function(e){(function(e){return e.replace(/_./g,(function(e){return e[1].toUpperCase()}))})(e)===a&&o.show()})))})),o},jr=function(e,t){var n=e.createHiddenFrame(p.c.GOOGLE_MAPS_APP,{apiKey:\"AIzaSyCuvGvOqj_eSUVyAu3Dwq47JBdpAN3r-5Y\"});return n._on(\"get-google-maps-predictions\",(function(e){!function(e,t){n.send({action:\"get-google-maps-predictions\",payload:{data:{search:e,countryRestrictions:t}}})}(e.search,e.countryRestrictions)})),n._on(\"get-google-maps-details\",(function(e){!function(e){n.send({action:\"get-google-maps-details\",payload:{data:{placeId:e}}})}(e.placeId)})),n._on(\"google-maps-callback\",(function(e){var n=e.event,r=e.message;switch(n){case\"gotPredictions\":!function(e){t.send({action:\"google-maps-predictions\",payload:{data:e}})}(r);break;case\"gotDetails\":!function(e){t.send({action:\"google-maps-details\",payload:{data:e}})}(r)}})),n},Er=function(e){e.parsedIntentSecret;return Object(s.a)(e,[\"parsedIntentSecret\"])},wr=function(e){var t=e.controller,n=e.componentName,r=e.groupId,a=e.locale,o=e.betas,i=e.fonts,c=e.wait,s=e.appearance,u=e.publicOptions,l=e.controllingElement,p={locale:a,betas:o,fonts:i,wait:c,appearance:s,rtl:xn(document.body),publicOptions:Er(u),controllingElement:l},d=Ze.b[n];return t.createElementFrame(d,n,r,p)},kr=function(e){var t=e.component,n=e.listenerRegistry,a=e.elementTimings,o=e.getParent,i=e.emitEvent,c=e.options,s=e.selfDestruct,u=null,l=[],p=wr(c),d=function(e){if(e.elementsSessionPromise)return e.elementsSessionPromise;if(\"payment\"===e.componentName&&e.publicOptions.parsedIntentSecret)return e.controller.action.retrieveElementsSession({intentSecret:e.publicOptions.parsedIntentSecret,customerOptions:null,locale:e.locale});throw new O.a(\"In order to create a \".concat(e.componentName,\' element, you must pass a valid PaymentIntent or SetupIntent client secret when creating the Elements group.\\n\\ne.g. stripe.elements({clientSecret: \"{{CLIENT_SECRET}}\"})\'))}(c).then((function(e){return\"error\"===e.type?(i(\"loaderror\",{error:e.error}),s(),null):e.object})),f=d.then((function(t){if(t){var a,o=-1!==t.orderedPaymentMethodTypesAndWallets.indexOf(\"link\");if(\"shippingAddress\"===c.componentName&&Object(ot.d)(c.betas,\"shipping_address_element_beta_1\")&&o&&(function(e,t){var n=jr(e,t);t._on(\"get-google-maps-predictions\",(function(e){n._emit(\"get-google-maps-predictions\",e)})),t._on(\"get-google-maps-details\",(function(e){n._emit(\"get-google-maps-details\",e)}))}(c.controller,p),function(e){var t=e.session,n=e.props,a=e.componentName,o=e.controllingElement,i=n.component,c=n.elementTimings,s=n.getParent,u=n.options,l=wr(Object(r.a)(Object(r.a)({},u),{},{componentName:a,controllingElement:o}));l.appendTo(i),l.updateStyle({position:\"absolute\"}),l._on(\"load\",(function(){l.send({action:\"stripe-user-mount\",payload:{timestamps:{stripeJsLoad:c.stripeJsLoadTimestamp.getAsPosixTime(),stripeCreate:c.stripeCreateTimestamp.getAsPosixTime(),groupCreate:c.groupCreateTimestamp.getAsPosixTime(),create:c.createTimestamp.getAsPosixTime(),mount:(new Ke.a).getAsPosixTime()},rtl:xn(s())}})})),l._on(\"set_styles\",(function(e){l.updateStyle(e)})),l.send({action:\"stripe-session-retrieved\",payload:t})}({props:e,session:t,componentName:\"autocompleteSuggestions\",controllingElement:\"shippingAddressElement\"})),\"payment\"===c.componentName){var u,d,f=c.publicOptions,m=function(e,t){if(e.orderedPaymentMethodTypesAndWallets.every((function(e){return-1===nr.indexOf(e)}))){var n=nr.join(\", \");return{type:\"validation_error\",code:\"unsupported_parameter\",param:\"payment_method_types\",message:\"The PaymentIntent you passed doesn\'t have any payment_method_types that are supported by the Payment Element. Please use a PaymentIntent with a least one of the following payment_method_types: \".concat(n)}}var r=-1!==e.orderedPaymentMethodTypesAndWallets.indexOf(\"card\");return-1===e.orderedPaymentMethodTypesAndWallets.indexOf(\"link\")||r?null:{type:\"validation_error\",code:\"unsupported_parameter\",param:\"payment_method_types\",message:\"The PaymentIntent you passed has \'link\' in the payment_method_types but not \'card\'. To use \'link\' with the PaymentElement, please pass both \'link\' and \'card\'\"}}(t,c.publicOptions);m&&(i(\"loaderror\",{error:m}),s());-1!==t.orderedPaymentMethodTypesAndWallets.indexOf(fr.b.afterpay_clearpay)&&(a=Xn().then((function(e){var t=e.mountModal,n=e.unmountModal;return l.push((function(){n()})),t})),p._on(\"mount-afterpay-modal\",(function(e){var t=e.locale,r=e.modalTheme;a.then((function(e){e({controller:c.controller,listenerRegistry:n,locale:t,modalTheme:r})}))})));var _=\"never\"===(null===(u=f.wallets)||void 0===u?void 0:u.applePay),h=\"never\"===(null===(d=f.wallets)||void 0===d?void 0:d.googlePay),b=Object(ot.d)(c.betas,\"payment_element_beta_1\")&&!Object(ot.d)(c.betas,\"payment_element_apple_pay_beta_1\");b||_||-1===t.orderedPaymentMethodTypesAndWallets.indexOf(\"apple_pay\")||Or(t,c,n,p,\"applePay\"),b||h||-1===t.orderedPaymentMethodTypesAndWallets.indexOf(\"google_pay\")||Or(t,c,n,p,\"googlePay\");-1!==t.orderedPaymentMethodTypesAndWallets.indexOf(fr.b.link)&&p._on(\"link-launch\",(function(e){var n,r,a,o,i=e.consumerClientSecret;(n=t.parsedClientSecret.clientSecret,r=t.parsedClientSecret.id,a=c.controller,o=i,vr({linkAccountSessionCreatorClientSecret:n,linkAccountSessionCreatorType:\"link_payment_intent\",linkAccountSessionCreatorId:r,controller:a,consumerSessionSecret:o})).then((function(e){!e.error&&e.linkAccountSession.paymentAccount&&c.controller.action.createBankPaymentDetails({bankAccount:e.linkAccountSession.paymentAccount.id,groupId:c.groupId})}))}))}}}));Object(x.d)(t,Mn.a),p.appendTo(t),p.updateStyle(function(e){switch(e){case\"linkAuthentication\":case\"payment\":case\"shippingAddress\":case\"autocompleteSuggestions\":return{height:\"2px\"};default:return Object(_t.a)(e)}}(c.componentName)),p._on(\"load\",(function(){p.send({action:\"stripe-user-mount\",payload:{timestamps:{stripeJsLoad:a.stripeJsLoadTimestamp.getAsPosixTime(),stripeCreate:a.stripeCreateTimestamp.getAsPosixTime(),groupCreate:a.groupCreateTimestamp.getAsPosixTime(),create:a.createTimestamp.getAsPosixTime(),mount:u?u.getAsPosixTime():0},rtl:xn(o())}})})),Ze.e.forEach((function(e){p._on(e,(function(t){return i(e,t)}))})),p._on(\"set_styles\",(function(e){p.updateStyle(e)})),p._on(\"redirectfocus\",(function(e){var n,r=e.focusDirection;null===(n=Object(ie.b)(t,r))||void 0===n||n.focus()}));return{update:function(e){p.update(e)},focus:function(){document.activeElement&&document.activeElement.blur&&document.activeElement.blur(),p.focus(),p.send({action:\"stripe-user-focus\",payload:{}})},blur:function(){p.blur()},clear:function(){p.clear()},mount:function(){d.then((function(e){e&&p.send({action:\"stripe-session-retrieved\",payload:e})})),u=new Ke.a;var e=o();e&&(Object(x.f)(e,[[Ze.a,!0]]),l.push((function(){Object(x.f)(e,[[Ze.a,!1]])})))},unmount:function(){for(;l.length;)l.pop()();p.unmount()},collapse:function(){p.collapse()},_frame:p,__setupDonePromise:f}},Sr=function(e){var t=e.options,n=Object(s.a)(e,[\"options\"]),a=t.controller,o=t.componentName,i=t.publicOptions,c=Object(s.a)(t,[\"controller\",\"componentName\",\"publicOptions\"]),u=function(e){switch(e){case\"linkAuthentication\":case\"payment\":case\"shippingAddress\":case\"autocompleteSuggestions\":return e;default:throw new Error(\"Unexpected element type for implementation\")}}(o),l=dr(u,i||{},\"elements.create(\'\".concat(u,\"\')\"),!1,t.betas);l.warnings.forEach((function(e){return a.warn(e)}));var p=kr(Object(r.a)(Object(r.a)({},n),{},{options:Object(r.a)(Object(r.a)({},c),{},{controller:a,componentName:u,publicOptions:l.value})})),d=p.update,f=Object(s.a)(p,[\"update\"]);return Object(r.a)({update:function(e){var n=dr(u,e||{},\"\".concat(u,\".update()\"),!0,t.betas);n.warnings.forEach((function(e){return a.warn(e)})),d(n.value)}},f)},Pr=function(e,t){var n=function(e){if(!ft.b[e])throw new Error(\"Unexpected Element type: \".concat(e,\".\"));return ft.b[e].implementation}(e);switch(n){case\"legacy\":return new Hn(t);case\"affirm_message\":return Jn(t);case\"afterpay_message\":return Qn(t);case\"frame\":return Sr(t);default:return Object(_t.a)(n,\"Unexpected implementation type: \".concat(n,\".\"))}},Ar=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(we.e)(e,[\"business\",\"fields\",\"paymentMethodOrder\",\"readOnly\",\"terms\",\"wallets\",\"accountHolderType\",\"disabled\",\"hideIcon\",\"hidePostalCode\",\"iconStyle\",\"placeholderCountry\",\"rtl\",\"showIcon\",\"supportedCountries\",\"betas\",\"componentName\",\"groupId\",\"locale\"])},Tr=function(e){Object(b.a)(n,e);var t=Object(y.a)(n);function n(e,a,i){var c;Object(o.a)(this,n),(c=t.call(this)).mount=w((function(e){var t;if(c._checkDestroyed(),!e)throw new O.a(\"Missing argument. Make sure to call mount() with a valid DOM element or selector.\");if(\"string\"==typeof e){var n=document.querySelectorAll(e);if(n.length>1&&c._controller.warn(\"The selector you specified (\".concat(e,\") applies to \").concat(n.length,\" DOM elements that are currently on the page.\\nThe Stripe Element will be mounted to the first one.\")),!n.length)throw new O.a(\"The selector you specified (\".concat(e,\") applies to no DOM elements that are currently on the page.\\nMake sure the element exists on the page before calling mount().\"));t=n[0]}else{if(!e.appendChild)throw new O.a(\"Invalid DOM element. Make sure to call mount() with a valid DOM element or selector.\");t=e}if(\"INPUT\"===t.nodeName)throw new O.a(\"Stripe Elements must be mounted in a DOM element that\\ncan contain child nodes. `input` elements are not permitted to have child\\nnodes. Try using a `div` element instead.\");t.children.length&&c._controller.warn(\"This Element will be mounted to a DOM element that contains child nodes.\"),c._mountToParent(t)})),c.update=w((function(e){return c._controller.report(\"update\",{options:Ar(e),element:c._componentName}),c._checkDestroyed(),c._implementation.update(e),Object(C.a)(c)})),c.focus=w((function(e){return c._checkDestroyed(),e&&e.preventDefault(),c._implementation.focus(),Object(C.a)(c)})),c.blur=w((function(){return c._checkDestroyed(),c._implementation.blur(),Object(C.a)(c)})),c.clear=w((function(){return c._checkDestroyed(),c._implementation.clear(),Object(C.a)(c)})),c.collapse=w((function(){if(c._checkDestroyed(),!c._implementation.collapse)throw new O.a(\"Collapse is not supported by the \".concat(c._componentName,\" Element.\"));return c._implementation.collapse(),Object(C.a)(c)})),c.unmount=w((function(){return c._checkDestroyed(),c._unmount(),Object(C.a)(c)})),c.destroy=w((function(){return c._checkDestroyed(),c.unmount(),c._destroyed=!0,c._emitEvent(\"destroy\"),Object(C.a)(c)})),c._getParent=function(){return c._parent},c._emitEvent=function(e,t){return\"loaderror\"!==e||c._hasRegisteredListener(\"loaderror\")||c._controller.keyMode()!==d.a.test||console.error(\"Unhandled \".concat(c._componentName,\" Element loaderror\"),t),c._emit(e,Object(r.a)({elementType:c._componentName},t))};var s=e.controller,u=e.componentName,l=e.groupId,p=e.locale,f=e.betas,m=e.mids;c._controller=s,c._componentName=u,c._destroyed=!1,c._mids=m;var _=document.createElement(\"div\");return _.className=ft.d,c._component=_,s.report(\"create\",{options:Ar(Object(r.a)({componentName:u,groupId:l,locale:p,betas:f},e.publicOptions)),element:u}),c._implementation=Pr(c._componentName,{options:e,component:_,listenerRegistry:a,elementTimings:i,emitEvent:c._emitEvent,getParent:c._getParent,selfDestruct:function(){c.destroy()}}),c}return Object(i.a)(n,[{key:\"_checkDestroyed\",value:function(){if(this._destroyed)throw new O.a(\"This Element has already been destroyed. Please create a new one.\")}},{key:\"_isMounted\",value:function(){return!!document.body&&document.body.contains(this._component)}},{key:\"_unmount\",value:function(){var e=this._component.parentElement;e&&e.removeChild(this._component),this._implementation.unmount(),this._parent=null}},{key:\"_mountToParent\",value:function(e){var t=this._component.parentElement,n=this._isMounted();if(e===t){if(n)return;this.unmount(),this._mountTo(e)}else if(t){if(n)throw new O.a(\"This Element is already mounted. Use `unmount()` to unmount the Element before re-mounting.\");this.unmount(),this._mountTo(e)}else this._mountTo(e)}},{key:\"_mountTo\",value:function(e){for(this._parent=e;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(this._component),this._controller.report(\"mount\",{element:this._componentName}),this._implementation.mount()}}]),n}(T),Ir=function(e,t){e._controller.report(\"legacy_private_property_used\",{prop:t,componentName:e._componentName})};[\"_autofilled\",\"_classes\",\"_complete\",\"_empty\",\"_fakeInput\",\"_focused\",\"_frame\",\"_invalid\",\"_lastBackgroundColor\",\"_lastFontSize\",\"_lastHeight\",\"_lastPadding\",\"_lastSubmittedAt\",\"_listenerRegistry\",\"_paymentRequest\"].forEach((function(e){Object.defineProperty(Tr.prototype,e,{enumerable:!1,get:function(){return Ir(this,e),this._implementation[e]}})}));[\"_formSubmit\",\"_isIssuingDisplayElement\"].forEach((function(e){Object.defineProperty(Tr.prototype,e,{enumerable:!1,writable:!1,value:function(){return Ir(this,e),this._implementation[e]()}})}));var Cr=Tr,Nr=Object(l.u)({locale:Object(l.s)(l.x),appearance:Object(l.s)(l.p)}),Rr=function e(t,n,i,c,u,p){var d=this;Object(o.a)(this,e),this.getElement=w((function(e){var t,n=(null!=(t=e)&&t.__elementType&&\"string\"==typeof t.__elementType&&\"function\"==typeof t?t.__elementType:null)||e;return mt(n,d._betas),Object(we.a)(d._elements,(function(e){return e._componentName===n}))||null})),this.update=w((function(e){var t=Object(l.E)(Nr,e||{},\"elements.update()\"),n=t.value;t.warnings.forEach((function(e){return d._controller.warn(e)}));var r=n.locale,a=n.appearance,o=void 0===a?void 0:a,i=dt(r,d._betas);i&&d._controller.action.fetchLocale({locale:i}),(o||i)&&d._controller.action.updateElementsOptions({locale:i,appearance:o,groupId:d._id})})),this.create=k((function(e,t){var n=new Ke.a;!function(e,t,n){if(mt(e,n),ft.b[e].unique&&-1!==t.indexOf(e))throw new O.a(\"Can only create one Element of type \".concat(e,\".\"));var r=ft.b[e].conflict,a=Object(we.f)(t,r);if(a.length){var o=a[0];throw new O.a(\"Cannot create an Element of type \".concat(e,\" after an Element of type \").concat(o,\" has already been created.\"))}}(e,d._elements.map((function(e){return e._componentName})),d._betas);var o=Object(r.a)(Object(r.a)(Object(r.a)({},t),d._commonOptions),{},{componentName:e,groupId:d._id}),i=(o.paymentRequest,Object(s.a)(o,[\"paymentRequest\"])),c=(Y||K)&&Object(v.a)(i).length>2e3,u=!!d._pendingFonts||c,l=new Cr(Object(r.a)(Object(r.a)({publicOptions:t},d._commonOptions),{},{elementsSessionPromise:d._elementsSessionPromise,componentName:e,groupId:d._id,fonts:c?null:d._commonOptions.fonts,controller:d._controller,wait:u,mids:d._mids}),d._listenerRegistry,Object(r.a)(Object(r.a)({},d._timings),{},{createTimestamp:n}));return d._elements=[].concat(Object(a.a)(d._elements),[l]),l._on(\"destroy\",(function(){d._elements=d._elements.filter((function(t){return t._componentName!==e}))})),c&&l._implementation.update({fonts:d._commonOptions.fonts}),l}));var f,m=new Ke.a,h=Object(l.E)(function(e){var t={locale:Object(l.s)(l.x),fonts:Object(l.s)(Object(l.a)(l.p)),appearance:Object(l.s)(l.p),clientSecret:Object(l.s)(tr.f)};return Object(ot.d)(e,ot.a.elements_customers_beta_1)?Object(l.u)(Object(r.a)(Object(r.a)({},t),{},{customerOptions:Object(l.s)(Object(l.u)({customer:l.x,ephemeralKey:l.x}))})):Object(l.u)(t)}(c),p||{},\"elements()\"),b=h.value;h.warnings.forEach((function(e){return t.warn(e)})),f=t.warn,rt(\"width=device-width\")||f(\'Elements requires \"width=device-width\" be set in your page\\\'s viewport meta tag.\\n       For more information: https://stripe.com/docs/js/appendix/viewport_meta_requirements\'),t.report(\"elements\",{options:b});var y=b.fonts,g=void 0===y?[]:y,j=b.locale,E=b.customerOptions,S=void 0===E?null:E,P=Object(s.a)(b,[\"fonts\",\"locale\",\"customerOptions\"]),A=b.appearance?b.appearance:{};this._elements=[],this._id=_(\"elements\"),this._timings=Object(r.a)(Object(r.a)({},i),{},{groupCreateTimestamp:m}),this._controller=t,this._betas=c,this._listenerRegistry=n,this._mids=u;var T=dt(j,c);this._controller.action.fetchLocale({locale:T||\"auto\"});var I=g.filter((function(e){return!e.cssSrc||\"string\"!=typeof e.cssSrc})).map((function(e){return Object(r.a)(Object(r.a)({},e),{},{__resolveFontRelativeTo:window.location.href})})),C=g.map((function(e){return e.cssSrc})).reduce((function(e,t){return\"string\"==typeof t?[].concat(Object(a.a)(e),[t]):e}),[]).map((function(e){return Object(at.b)(e)?e:Object(at.c)(window.location.href,e)}));return this._pendingFonts=C.length,this._elementsSessionPromise=P.clientSecret&&t.action.retrieveElementsSession({intentSecret:P.clientSecret,customerOptions:S,locale:j}),this._commonOptions=Object(r.a)(Object(r.a)({},P),{},{betas:c,appearance:A,locale:T,fonts:I}),C.forEach((function(e){if(\"string\"==typeof e){var t=new Ke.a;pt(e).then((function(n){d._controller.report(\"font.loaded\",{load_time:t.getElapsedTime(),font_count:n.length,css_src:e});var o=n.map((function(t){return Object(r.a)(Object(r.a)({},t),{},{__resolveFontRelativeTo:e})}));d._controller.action.updateCSSFonts({fonts:o,groupId:d._id}),d._commonOptions=Object(r.a)(Object(r.a)({},d._commonOptions),{},{fonts:[].concat(Object(a.a)(d._commonOptions.fonts?d._commonOptions.fonts:[]),Object(a.a)(o))})})).catch((function(n){d._controller.report(\"error.font.not_loaded\",{load_time:t.getElapsedTime(),message:n&&n.message&&n.message,css_src:e}),d._controller.warn(\"Failed to load CSS file at \".concat(e,\".\"))}))}})),this},xr=function(e,t,n,r,a,o,i){return new Pn({controller:e,authentication:t,mids:n,rawOptions:r,betas:a,queryStrategyOverride:o,listenerRegistry:i})},Mr=Object(l.u)({name:Object(l.q)(\"react-stripe-js\",\"stripe-js\",\"react-stripe-elements\"),version:Object(l.m)(l.x),startTime:Object(l.s)(l.n)}),Lr=Object(l.d)({name:Object(l.v)(1,30),partner_id:Object(l.s)(Object(l.w)(\"pp_partner_\")),version:Object(l.s)(Object(l.v)(5,15)),url:Object(l.s)(Object(l.v)(4,60))}),Dr=\"publishable\",qr=\"secret\",Br=\"ephemeral\",Fr=\"restricted\",Ur=\"unknown\",Gr=function(e){if(\"\"===e)throw new O.a(\"Please call Stripe() with your publishable key. You used an empty string.\");switch(function(e){switch(e.split(\"_\",1)[0]){case\"pk\":return Dr;case\"sk\":return qr;case\"ek\":return Br;case\"rk\":return Fr;default:return Ur}}(e)){case qr:throw new O.a(\"You should not use your secret key with Stripe.js.\\n          Please pass a publishable key instead.\");case Br:throw new O.a(\"You should not use an ephemeral key with Stripe.js.\\n          Please pass a publishable key instead.\");case Fr:throw new O.a(\"You should not use a restricted key with Stripe.js.\\n          Please pass a publishable key instead.\")}},zr=[\"elements\",\"createToken\",\"createPaymentMethod\"],Hr=[\"elements\",\"createSource\",\"createToken\",\"createPaymentMethod\"],Yr=function(){function e(t){var n=this;Object(o.a)(this,e),this._gets=[],this._didDetect=!1,this._onDetection=function(e){n._didDetect=!0,t(e)},window.Stripe&&window.Stripe.__cachedInstances&&this._onDetection(\"react-stripe-elements\")}return Object(i.a)(e,[{key:\"got\",value:function(e){this._didDetect||(\"elements\"===e?this._gets=[\"elements\"]:this._gets.push(e),this._checkForWrapper())}},{key:\"called\",value:function(e){this._didDetect||(this._gets=this._gets.filter((function(t){return t!==e})))}},{key:\"_checkForWrapper\",value:function(){Object(we.b)(this._gets,zr)?this._onDetection(\"react-stripe-js\"):Object(we.b)(this._gets,Hr)&&this._onDetection(\"react-stripe-elements\")}}]),e}(),Wr=function(e){if(!e||\"object\"!=typeof e)return null;var t=e.type;return{type:\"string\"==typeof t?t:null,data:Object(s.a)(e,[\"type\"])}},Kr=function(e){switch(e.type){case\"object\":return{source:e.object};case\"error\":return{error:e.error};default:return Object(_t.a)(e)}},Vr={source:Object(l.u)({id:Object(l.w)(\"src_\"),client_secret:Object(l.w)(\"src_client_secret_\")})},Jr=Object(l.u)(Vr),Zr=function(e){switch(e.type){case\"object\":return{paymentMethod:e.object};case\"error\":return{error:e.error};default:return Object(_t.a)(e)}},$r=n(29),Xr=function(e,t,n,r,a){if(\"string\"==typeof n)return function(e,t,n,r,a){var o=Object($r.a)(r),i=Wr(o?a:r),c=i||{type:null,data:{}},s=c.type,l=c.data;if(s&&n!==s)return u.a.reject(new O.a(\"The type supplied in payment_method_data is not consistent.\"));if(o){var p=o._implementation._frame.id,d=o._componentName;return e.action.createPaymentMethodWithElement({frameId:p,elementName:d,type:n,paymentMethodData:l,mids:t}).then(Zr)}return i?e.action.createPaymentMethodWithData({elementName:null,type:n,paymentMethodData:l,mids:t}).then(Zr):u.a.reject(new O.a(\"Please provide either an Element or PaymentMethod creation parameters to createPaymentMethod.\"))}(e,t,n,r,a);try{var o=(f=n,Object(l.E)(Object(tr.d)(null),f,\"createPaymentMethod\").value),i=o.element,c=o.type,s=o.data;if(i){var p=i._implementation._frame.id,d=i._componentName;return e.action.createPaymentMethodWithElement({frameId:p,elementName:d,type:c,paymentMethodData:s,mids:t}).then(Zr)}return e.action.createPaymentMethodWithData({elementName:null,type:c,paymentMethodData:s,mids:t}).then(Zr)}catch(e){return u.a.reject(e)}var f},Qr=n(9),ea=n(13),ta=function(e,t){var n={skipFingerprint:!1,sandboxFingerprintFrame:!1,sandboxChallengeFrame:!1};return-1!==e.indexOf(\"Y\")&&(t.report(\"3ds2.optimization.Y\"),n.skipFingerprint=!0),-1!==e.indexOf(\"k\")&&(t.report(\"3ds2.optimization.k\"),n.sandboxFingerprintFrame=!0),-1!==e.indexOf(\"5\")&&(t.report(\"3ds2.optimization.5\"),n.sandboxChallengeFrame=!0),n},na=function(e){return e?{amount:e.amount,instrument:{cardBrand:e.instrument.card_brand,cardName:e.instrument.card_name,cardLast4:e.instrument.card_last4},merchant:{name:e.merchant.name,origin:e.merchant.origin},credentials:e.credentials,authenticationChallenge:e.authentication_challenge,configuration:e.configuration,layout:e.layout}:null},ra=function(e){return{american_express:\"amex\",visa:\"visa\",mastercard:\"mastercard\",discover:\"discover\",unionpay:\"unionpay\"}[e]||\"unknown\"},aa=function(e,t,n){if(!e)return null;if(\"use_stripe_sdk\"===e.type){var r=e.use_stripe_sdk;switch(r.type){case\"intent_cardimageverification_challenge\":return{type:\"cardimageverification-challenge\",civId:r.stripe_js.card_image_verification_id,civClientSecret:r.stripe_js.card_image_verification_client_secret,previousScanFailed:r.stripe_js.previous_scan_failed};case\"intent_confirmation_challenge\":return{type:\"captcha-challenge\",site_key:r.stripe_js.site_key,verification_url:r.stripe_js.verification_url};case\"stripe_3ds2_fingerprint\":return{type:\"3ds2-fingerprint\",threeDS2Source:r.three_d_secure_2_source,merchant:r.merchant,cardBrand:ra(r.directory_server_name),transactionId:r.server_transaction_id,optimizations:ta(r.three_ds_optimizations,n),methodUrl:r.three_ds_method_url,oneClickAuthn:na(r.one_click_authn)};case\"stripe_3ds2_challenge\":return{type:\"3ds2-challenge\",threeDS2Source:r.stripe_js.three_d_secure_2_source,cardBrand:ra(r.stripe_js.directory_server_name),transactionId:r.stripe_js.server_transaction_id,optimizations:ta(r.stripe_js.three_ds_optimizations,n),acsTransactionId:r.stripe_js.acs_transaction_id,acsUrl:r.stripe_js.acs_url,oneClickAuthn:na(r.stripe_js.one_click_authn),creq:r.stripe_js.creq};case\"three_d_secure_redirect\":return{type:\"3ds1-modal\",url:r.stripe_js,source:r.source}}}if(\"redirect_to_url\"===e.type)return{type:\"redirect\",redirectUrl:e.redirect_to_url.url};if(\"alipay_handle_redirect\"===e.type)return{type:\"redirect\",redirectUrl:e.alipay_handle_redirect.url};if(\"blik_authorize\"===e.type)return{type:\"blik_authorize\"};if(\"boleto_display_details\"===e.type)return{type:\"boleto-display\",hostedVoucherUrl:e.boleto_display_details.hosted_voucher_url};if(\"display_oxxo_details\"===e.type)return{type:\"oxxo-display\",hostedVoucherUrl:e.display_oxxo_details.hosted_voucher_url};if(\"konbini_display_details\"===e.type)return{type:\"konbini-display\",hostedVoucherUrl:e.konbini_display_details.hosted_voucher_url};if(\"oxxo_display_details\"===e.type)return{type:\"oxxo-display\",hostedVoucherUrl:e.oxxo_display_details.hosted_voucher_url};if(\"authorize_with_url\"===e.type){n.report(\"unexpected_action_type\",{action:\"authorize_with_url\"});var a=e.authorize_with_url.url;if(!t)return{type:\"redirect\",redirectUrl:a};switch(t){case fr.b.card:return{type:\"3ds1-modal\",url:a,source:null};case fr.b.ideal:return{type:\"redirect\",redirectUrl:a}}}return\"upi_await_notification\"===e.type?{type:\"upi_await_notification\"}:\"verify_with_linked_account\"===e.type?{type:\"us_bank_account_link\"}:\"link_authenticate_account\"===e.type?{type:\"link_authenticate_account\"}:\"wechat_pay_display_qr_code\"===e.type?{type:\"wechat_pay_display_qr_code\",qrCodeUrl:e.wechat_pay_display_qr_code.image_data_url}:\"paynow_display_qr_code\"===e.type?{type:\"paynow_display_qr_code\",qrCodeUrl:e.paynow_display_qr_code.image_data_url}:\"pix_display_qr_code\"===e.type?{type:\"pix_display_qr_code\",qrCodeUrl:e.pix_display_qr_code.image_data_url}:\"promptpay_display_qr_code\"===e.type?{type:\"promptpay_display_qr_code\",qrCodeUrl:e.promptpay_display_qr_code.image_url}:null},oa=function(e){switch(e.type){case\"error\":return{error:e.error};case\"object\":switch(e.object.object){case\"payment_intent\":return{paymentIntent:e.object};case\"setup_intent\":return{setupIntent:e.object};default:return Object(_t.a)(e.object)}default:return Object(_t.a)(e)}},ia=function(e,t,n,r,a){return t===p.g.PAYMENT_INTENT?n.action.retrievePaymentIntent({hosted:!1,intentSecret:e,locale:r,asErrorIfNotSucceeded:!0,expandParam:a||[]}).then(oa):n.action.retrieveSetupIntent({hosted:!1,intentSecret:e,locale:r,asErrorIfNotSucceeded:!0,expandParam:a||[]}).then(oa)},ca=function(e,t,n,r,a){return t===p.g.PAYMENT_INTENT?n.action.cancelPaymentIntentSource({intentSecret:e,locale:a,sourceId:r}).then(oa):n.action.cancelSetupIntentSource({intentSecret:e,locale:a,sourceId:r}).then(oa)},sa=function(e){return(e.error?e.error.payment_intent||e.error.setup_intent:e.paymentIntent||e.setupIntent)||null},ua=function(e,t,n,a,o,i){var c=nt(),s=new Ke.a,l=function(e,t,n,a,o){return e.createLightboxFrame({type:p.c.AUTHORIZE_WITH_URL,options:Object(r.a)({url:t,locale:o,intentId:n},a?{source:a}:{})})}(a,e.url,t.id,e.source,o);return l.show(),a.report(\"authorize_with_url.loading\",{viewport:c,intentId:t.id}),l._on(\"load\",(function(){a.report(\"authorize_with_url.loaded\",{loadDuration:s.getElapsedTime(),intentId:t.id}),l.fadeInBackdrop()})),l._on(\"challenge_complete\",(function(){l.fadeOutBackdrop()})),new u.a((function(r,c){var p=e.source;p&&l._once(\"cancel\",(function(){u.a.all([ca(t,n,a,p,o),l.destroy()]).then((function(e){var t=Object(Yn.a)(e,1)[0];return r(t)}))})),l._once(\"authorize_with_url_done\",(function(){var e=l.destroy();!function(e,t,n,r,a,o){var i,c=!0,s=3,u=0;(function l(){u+=1,ia(e,t,n,r,a).then((function(e){if(c){var t=sa(e);if(null!==t)switch(s=3,t.status){case\"requires_action\":case\"requires_source_action\":return void(i=setTimeout(l,5e3));case\"processing\":return void(i=setTimeout(l,1e3));default:o(e,u)}else if(s>0){var n=500*Math.pow(2,3-s);i=setTimeout(l,n),s-=1}else o(e,u)}}))})()}(t,n,a,o,i,(function(n,o){e.then((function(){a.report(\"authorize_with_url.done\",{shownDuration:s.getElapsedTime(),success:!(\"error\"in n),intentId:t.id,iterations:o}),r(n)}))}))}))}))},la=n(15),pa=function(e,t){var n=t.intentSecret,r=t.controller,a=t.locale,o=t.hosted,i=r.createLightboxFrame({type:p.c.STRIPE_3DS2_CHALLENGE,options:{intentId:n.id,hosted:o,locale:a}});r.report(\"3ds2.challenge_frame.loading\",{intentId:n.id,hosted:o}),i._on(\"challenge_complete\",(function(){i.fadeOutBackdrop()}));var c=function(e){return new u.a((function(t){e._on(\"load\",(function(){return t(e)}))}))}(i);return c.then((function(){return r.report(\"3ds2.challenge_frame.loaded\",{intentId:n.id,hosted:o})})),o&&(i.show(),i.action.show3DS2Spinner({cardBrand:e.cardBrand})),c},da=function(e,t,n){var a=n.oneClickAuthnDeviceSupport,o=n.challengeFrame,i=t.controller,c=t.intentSecret,l=t.intentType,p=t.locale;return new u.a((function(t){o.then((function(n){n._once(\"cancel\",(function(){n.fadeOutBackdrop(),ca(c,l,i,e.threeDS2Source,p).then(t)})),n.isVisible||(n.show(),n.fadeInBackdrop());e.type;var o=e.optimizations,u=(e.oneClickAuthn,Object(s.a)(e,[\"type\",\"optimizations\",\"oneClickAuthn\"]));n.action.perform3DS2Challenge(Object(r.a)(Object(r.a)({},u),{},{shouldSandbox:o.sandboxChallengeFrame,oneClickAuthnDeviceSupport:a,oneClickWebauthnEnrollmentAppUrl:Object(la.a)(\"one-click-webauthn-enrollment-51430b20c58544ecf9e581c608ff075d.html\")})).then((function(){return t()}))}))}))},fa=function(e){if(!e||\"object\"!=typeof e||!e.type&&!e.code)return e;var t=function(t){return e[t]&&\"string\"==typeof e[t]?Object(c.a)({},\"\".concat(t,\"_id\"),e[t]):e[t]&&\"object\"==typeof e[t]&&\"string\"==typeof e[t].id?Object(c.a)({},\"\".concat(t,\"_id\"),e[t].id):null};return Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({type:e.type,code:e.code,param:e.param},t(\"payment_intent\")),t(\"setup_intent\")),t(\"payment_method\")),t(\"source\"))},ma=function(e,t,n){var a=t.existingPayload,o=t.challengeFrame,i=t.startTimestamp,c=e.intentSecret,s=e.intentType,l=e.controller,p=e.locale,d=e.hosted,f=a?u.a.resolve(a):ia(c,s,l,p,n);return u.a.all([f,o.then((function(e){return e.destroy()}))]).then((function(e){var t=Object(Yn.a)(e,1)[0];return l.report(\"3ds2.done\",Object(r.a)({intentId:c.id,hosted:d,totalDuration:i.getElapsedTime()},t.error?{error:fa(t.error),success:!1}:{success:!0})),t}))},_a=function(e){var t=e.intentSecret,n=e.controller,r=e.hosted,a=e.locale,o=n.createHiddenFrame(p.c.STRIPE_3DS2_FINGERPRINT,{intentId:t.id,locale:a,hosted:r});n.report(\"3ds2.fingerprint_frame.loading\",{hosted:r,intentId:t.id});var i=function(e){return new u.a((function(t){e._on(\"load\",(function(){return t(e)}))}))}(o);return i.then((function(){n.report(\"3ds2.fingerprint_frame.loaded\",{hosted:r,intentId:t.id})})),i},ha=function(e,t){var n=t.intentSecret,r=t.controller,a=t.hosted;return e.optimizations.skipFingerprint?u.a.resolve({fingerprintAttempted:!1,fingerprintData:null}):\"\"===e.methodUrl?(r.report(\"3ds2.fingerprint.no_method_url\",{hosted:a,intentId:n.id}),u.a.resolve({fingerprintAttempted:!1,fingerprintData:null})):_a(t).then((function(t){return t.action.perform3DS2Fingerprint({threeDS2Source:e.threeDS2Source,merchant:e.merchant,transactionId:e.transactionId,methodUrl:e.methodUrl,shouldSandbox:e.optimizations.sandboxFingerprintFrame}).then((function(e){return t.destroy(),e}))}))},ba=function(){return void 0===window.PublicKeyCredential||function(){if(!/CrOS/i.test(window.navigator.userAgent))return!1;var e=window.navigator.userAgent.match(/Chrome\\/\\d+\\.\\d+\\.(\\d+)\\.(\\d+)/)||[],t=Number(e[1]),n=Number(e[2]);return!(4389===t&&n>=82||4430===t&&n>=11||t>=4431)}()?u.a.resolve(!1):window.PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable().catch((function(){return!1}))},ya=function(){if(void 0===window.PaymentRequest)return u.a.resolve(!1);if(!/Chrome\\/(9[5-9]|[1-9]\\d\\d)/.test(window.navigator.userAgent))return u.a.resolve(!1);try{var e=[{supportedMethods:\"secure-payment-confirmation\",data:{action:\"authenticate\",credentialIds:[new Uint8Array(1)],challenge:new Uint8Array(1),fallbackUrl:window.location,payeeOrigin:\"https://stripe.com\",instrument:{displayName:\"Mock ····1234\",icon:\'data:image/svg+xml;utf8,<svg width=\"28\" height=\"18\" xmlns=\"http://www.w3.org/2000/svg\"></svg>\'}}}];return new window.PaymentRequest(e,{total:{label:\"Total\",amount:{currency:\"USD\",value:\"0\"}}}).canMakePayment().catch((function(){return!1}))}catch(e){return u.a.resolve(!1)}},va=\"stripe-js-one-click-authn\",ga=\"W\",Oa=\"S\",ja=\"SE/WA\",Ea=function(e){return btoa(String.fromCharCode.apply(null,new Uint8Array(e))).replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/=/g,\"\")},wa=function(e){return atob(e.replace(/-/g,\"+\").replace(/_/g,\"/\"))},ka=function(e){var t=wa(e);return Uint8Array.from(t,(function(e){return e.charCodeAt(0)}))},Sa=(n(59),n(60),n(61),function(e){return\"data:image/svg+xml,\".concat(encodeURIComponent(e.replace(/\\n/g,\"\").replace(/\\s+/g,\" \")))}),Pa=function(e){switch(e){case\"visa\":return Sa(\'<svg width=\"28\" height=\"18\" viewBox=\"0 0 24 16\" xmlns=\"http://www.w3.org/2000/svg\">\\n  <g fill-rule=\"nonzero\" fill=\"none\">\\n    <rect\\n      stroke-opacity=\".2\"\\n      stroke=\"#000\"\\n      stroke-width=\".5\"\\n      fill=\"#FFF\"\\n      x=\".3\"\\n      y=\".3\"\\n      width=\"23.5\"\\n      height=\"15.5\"\\n      rx=\"2\"\\n    />\\n    <path\\n      d=\"M2.8 6c-.5-.4-1.1-.6-1.8-.8h2.8c.3 0 .6 0 .7.4l.6 2.9.2.8L7 5.1h1.8L6 11.3H4.3L2.8 5.9Zm7.3 5.3H8.4l1-6.2h1.8L10 11.3Zm6.2-6L16 6.6H16a3 3 0 0 0-1.3-.3c-.7 0-1 .3-1 .5 0 .3.4.5 1 .8 1 .4 1.4 1 1.4 1.7 0 1.2-1.2 2-3 2-.7 0-1.4 0-1.8-.3l.2-1.3h.2c.6.3 1 .4 1.6.4.5 0 1-.2 1-.6 0-.3-.2-.5-.8-.8-.7-.3-1.5-.8-1.5-1.7 0-1.2 1.2-2 2.8-2 .7 0 1.2.1 1.6.3ZM18.5 9H20l-.4-1.8v-.5l-.3.6-.7 1.7Zm2.1-4 1.4 6.2h-1.6l-.2-1H18l-.3 1h-1.8l2.5-5.7c.2-.4.5-.5 1-.5h1.2Z\"\\n      fill=\"#171E6C\"\\n    />\\n  </g>\\n</svg>\');case\"amex\":return Sa(\'<svg width=\"28\" height=\"18\" viewBox=\"0 0 24 16\" xmlns=\"http://www.w3.org/2000/svg\">\\n  <g fill=\"none\" fill-rule=\"evenodd\">\\n    <rect fill=\"#016fd0\" height=\"16\" rx=\"2\" width=\"24\" />\\n    <path\\n      d=\"M13.8 13.4V7.7h10.1v1.6l-1.2 1.2 1.2 1.3v1.6H22l-1-1.1-1 1.1z\"\\n      fill=\"#fffffe\"\\n    />\\n    <path\\n      d=\"M14.4 12.8V8.3h3.8v1h-2.5v.7h2.5v1h-2.5v.7h2.5v1zM18.2 12.8l2-2.3-2-2.2h1.6l1.3 1.4 1.3-1.4h1.5l-2 2.2 2 2.2h-1.6l-1.2-1.4-1.3 1.5z\"\\n      fill=\"#016fd0\"\\n    />\\n    <path\\n      d=\"M14.2 2.6h2.5l.8 2v-2h3l.6 1.5.5-1.5H24v5.7H11.7z\"\\n      fill=\"#fffffe\"\\n    />\\n    <g fill=\"#016fd0\">\\n      <path d=\"m14.7 3.3-2 4.4h1.4l.4-.9h2l.3.9h1.4l-2-4.4zm.2 2.5.6-1.4.6 1.4zM18.2 7.7V3.3h2L21 6l1-2.7h1.8v4.4h-1.2v-3l-1 3h-1.2l-1-3v3z\" />\\n    </g>\\n  </g>\\n</svg>\');case\"mastercard\":return Sa(\'<svg width=\"28\" height=\"18\" viewBox=\"0 0 24 16\" xmlns=\"http://www.w3.org/2000/svg\">\\n  <g fill=\"none\" fill-rule=\"evenodd\">\\n    <rect fill=\"#252525\" height=\"16\" rx=\"2\" width=\"24\" />\\n    <circle cx=\"9\" cy=\"8\" fill=\"#eb001b\" r=\"5\" />\\n    <circle cx=\"15\" cy=\"8\" fill=\"#f79e1b\" r=\"5\" />\\n    <path d=\"M12 4a5 5 0 0 1 0 8 5 5 0 0 1 0-8z\" fill=\"#ff5f00\" />\\n  </g>\\n</svg>\');case\"unionpay\":case\"discover\":case\"jcb\":case\"diners\":case\"unknown\":case\"elo\":return Sa(\'<svg width=\"28\" height=\"18\" xmlns=\"http://www.w3.org/2000/svg\"></svg>\');default:return Object(_t.a)(e)}},Aa=function(e,t,n){var a=e.threeDS2Source,o=e.oneClickAuthn,i=t.controller,c=n.startTimestamp;if(!o)return u.a.resolve(null);var s=o.credentials.filter((function(e){return e.type===Qr.a}));if(0===s.length)return i.report(\"one_click_authn.request_spc_authn.empty_credentials_list\",{client_id:va,source:a}),u.a.resolve(null);try{var l=o.merchant.origin;return l?new window.PaymentRequest(function(e,t,n){var r=n.authenticationChallenge,a=n.instrument,o=a.cardBrand,i=a.cardName,c=a.cardLast4;return n.merchant,[{supportedMethods:\"secure-payment-confirmation\",data:{action:\"authenticate\",credentialIds:e.map((function(e){return ka(e.id)})),challenge:ka(r),timeout:6e4,fallbackUrl:window.location.toString(),instrument:{displayName:\"\".concat(i,\" ····\").concat(c),icon:Pa(o)},payeeOrigin:t}}]}(s,l,o),{total:{label:\"Total\",amount:o.amount}}).show().then((function(e){var t;return e.complete(\"success\"),i.report(\"one_click_authn.request_spc_authn.completed\",{client_id:va,source:a,timeToComplete:c.getElapsedTime()}),{type:Qr.a,assertion:(t=e.details,{type:\"public-key\",id:t.id,raw_id:t.id,response:{authenticator_data:Ea(t.response.authenticatorData),client_data_json:Ea(t.response.clientDataJSON),signature:Ea(t.response.signature)}}),payment_data:{merchant_data:{merchant_origin:l,total:o.amount},network_data:o.authenticationChallenge}}})).catch((function(e){var t={AbortError:\"request_aborted\",InvalidStateError:\"payment_already_shown\",NotSupportedError:\"payment_method_not_supported\",SecurityError:\"security_error\"}[e.name]||\"unexpected_error\";return i.report(\"one_click_authn.request_spc_authn.error\",{reason:t,client_id:va,source:a,timeToError:c.getElapsedTime(),error:Object(r.a)({name:e.name,message:e.message},e)}),null})):(i.report(\"one_click_authn.request_spc_authn.empty_merchant_origin\",{client_id:va,source:a}),u.a.resolve(null))}catch(e){i.report(\"one_click_authn.request_spc_authn.error\",{client_id:va,reason:\"unexpected_error\",source:a,timeToError:c.getElapsedTime(),error:Object(r.a)({name:e.name,message:e.message},e)})}return u.a.resolve(null)},Ta=function(e,t,n){var r=t.controller,a=n.deviceSupport,o=n.challengeFrame,i=n.startTimestamp,c=e.oneClickAuthn;if(!c)return u.a.resolve(null);var s=function(e){var t=e.spcEligible,n=e.configurationType;return t&&(n===Oa||n===ja)}(a)?Qr.a:Qr.b,l=c.credentials.filter((function(e){return e.type===s}));return 0===l.length?(r.report(\"one_click_authn.request_webauthn_authn.empty_credentials_list\",{client_id:va,source:e.threeDS2Source}),u.a.resolve(null)):o.then((function(t){t.isVisible||(t.show(),t.fadeInBackdrop());var n={amount:c.amount,instrument:c.instrument,merchant:c.merchant,authenticationChallenge:c.authenticationChallenge,layout:c.layout,allowCredentials:l};return t.action.performOneClickWebauthnAuthentication({threeDS2Source:e.threeDS2Source,cardBrand:e.cardBrand,appUrl:Object(la.a)(\"one-click-webauthn-authentication-2ebbec9eeaef3a42b022fda58488363a.html\"),deviceSupport:a,payload:n,startPosixTime:i.getAsPosixTime()})}))},Ia=function(e,t){var n=e.threeDS2Source,a=e.oneClickAuthn,o=t.controller;if(!a)return null;var i=Z?\"safari\":$?\"firefox\":Q?J?\"chrome_android\":\"chrome\":Y||W?\"edge\":null;if(!i)return o.report(\"one_click_authn.configuration.error\",{client_id:va,reason:\"browser_not_found\",source:n}),null;try{switch(new URLSearchParams(wa(a.configuration)).get(i)){case ga:return ga;case Oa:return Oa;case ja:return ja;default:return null}}catch(e){return o.report(\"one_click_authn.configuration.error\",{client_id:va,reason:\"unexpected_error\",source:n,error:Object(r.a)({name:e.name,message:e.message},e)}),null}},Ca=function(){var e=document.featurePolicy;if(!e)return!1;try{return-1!==e.allowedFeatures().indexOf(\"publickey-credentials-get\")}catch(e){return!1}},Na=function(e,t){return u.a.all([ya(),ba()]).then((function(n){var r=Object(Yn.a)(n,2);return{spcEligible:r[0],webauthnEligible:r[1],publickeyCredentialsGetAllowed:Ca(),configurationType:Ia(e,t)}}))},Ra=function(e,t,n){var r=n.challengeFrame,a=n.startTimestamp;return Na(e,t).then((function(n){return i=(o=n).webauthnEligible,c=o.configurationType,!i||c!==ga&&c!==ja?function(e){var t=e.spcEligible,n=e.configurationType;return t&&n===Oa}(n)?Aa(e,t,{startTimestamp:a}).then((function(e){return{deviceSupport:n,authenticationAPIParam:e}})):{deviceSupport:n,authenticationAPIParam:null}:Ta(e,t,{deviceSupport:n,challengeFrame:r,startTimestamp:a}).then((function(e){return{deviceSupport:n,authenticationAPIParam:e}}));var o,i,c}))},xa=function(e,t,n){var r=new Ke.a,a=pa(e,t);switch(e.type){case\"3ds2-challenge\":return Na(e,t).then((function(o){return da(e,t,{oneClickAuthnDeviceSupport:o,challengeFrame:a}).then((function(e){return ma(t,{existingPayload:e,challengeFrame:a,startTimestamp:r},n)}))}));case\"3ds2-fingerprint\":return u.a.all([ha(e,t),Ra(e,t,{challengeFrame:a,startTimestamp:r})]).then((function(n){var r=Object(Yn.a)(n,2),o=r[0],i=r[1];return function(e,t,n){var r=n.fingerprintResult,a=n.oneClickAuthn,o=t.controller,i=t.hosted,c=t.intentSecret;return o.report(\"3ds2.authenticate\",{hosted:i,intentId:c.id}),o.action.authenticate3DS2({threeDS2Source:e.threeDS2Source,outerWindowWidth:window.innerWidth,hosted:i,fingerprintResult:r,oneClickAuthnDeviceSupportAPIParam:{spc_eligible:a.deviceSupport.spcEligible,webauthn_eligible:a.deviceSupport.webauthnEligible},oneClickAuthnAuthenticationAPIParam:a.authenticationAPIParam}).then((function(e){return\"error\"===e.type?o.report(\"3ds2.authenticate.error\",{error:e.error,hosted:i,intentId:c.id}):o.report(\"3ds2.authenticate.success\",{hosted:i,intentId:c.id}),e}))}(e,t,{fingerprintResult:o,oneClickAuthn:i}).then((function(n){return function(e,t,n){var r=n.authenticateResponse,a=n.oneClickAuthnDeviceSupport,o=n.challengeFrame,i=t.controller,c=t.hosted,s=t.intentSecret;if(\"error\"===r.type)return u.a.resolve();var l=r.object,p=l.state,d=l.ares,f=l.creq;return\"delegated\"===p||null===d?u.a.resolve():\"C\"!==d.transStatus||null==f?(i.report(\"3ds2.frictionless\",{hosted:c,intentId:s.id}),u.a.resolve()):da({type:\"3ds2-challenge\",threeDS2Source:e.threeDS2Source,cardBrand:e.cardBrand,transactionId:e.transactionId,acsUrl:d.acsURL,acsTransactionId:d.acsTransID,optimizations:e.optimizations,oneClickAuthn:e.oneClickAuthn,creq:f},t,{oneClickAuthnDeviceSupport:a,challengeFrame:o})}(e,t,{authenticateResponse:n,oneClickAuthnDeviceSupport:i.deviceSupport,challengeFrame:a})}))})).then((function(e){return ma(t,{existingPayload:e,challengeFrame:a,startTimestamp:r},n)}));default:return Object(_t.a)(e)}},Ma=function(e,t){var n=e.createLightboxFrame({type:p.c.LIGHTBOX_APP,options:t});return n.show(),n._on(\"nested-frame-loaded\",(function(){n.fadeInBackdrop(),setTimeout((function(){n.action.openLightboxFrame()}),200)})),n},La=function(e){return e.action.closeLightboxFrame(),e.destroy()};var Da=function(e){return e?\"payment_intent\"===e.object?e.last_payment_error:e.last_setup_error:null},qa=function(e,t,n,r){return new u.a((function(a,o){var i=new Ke.a,c=n.createLightboxFrame({type:p.c.HCAPTCHA_APP,options:{intentId:t.id,clientSecret:t.client_secret,locale:r,sitekey:e.site_key,verifyUrl:e.verification_url,startTime:i.getAsPosixTime()}}),s=function(e){var t=ea.c;return null!=e&&(t=e),n.action.localizeError(t).then((function(e){return{error:e}}))};n.report(\"intent_confirmation_challenge.start\"),c._on(\"load\",(function(){n.report(\"intent_confirmation_challenge.stripe_js_frame_loaded\",{duration_since_start_ms:i.getElapsedTime()}),c.fadeInBackdrop()})),c.show(),c._on(\"request-cancel\",(function(e){c.fadeOutBackdrop(),c.destroy(!0),n.report(\"intent_confirmation_challenge.cancel\"),a(s(Da(null==e?void 0:e.intent)))})),c._on(\"request-close\",(function(e){c.fadeOutBackdrop(),c.destroy(!0);var t=null==e?void 0:e.intent;if(t){var r=Da(t);r?/Captcha/.test(r.message||\"\")?(n.report(\"intent_confirmation_challenge.verification_failed\"),a(s(r))):(n.report(\"intent_confirmation_challenge.success\"),a(s(r))):(n.report(\"intent_confirmation_challenge.success\"),function(e,t){\"payment_intent\"===t.object?e({paymentIntent:t}):e({setupIntent:t})}(a,t))}else n.report(\"intent_confirmation_challenge.verification_error\"),a(s(ea.c))}))}))},Ba=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:250;return new u.a((function(a,o){t().then(a).catch((function(i){1===n?o(i):setTimeout((function(){e(t,n-1,r).then(a,o)}),r)}))}))},Fa=function(e){var t=e.controller,n=e.intentSecret,r=e.intentType,a=(e.locale,function(e){return t.action.localizeError(e).then((function(e){return u.a.resolve({error:e})}))}),o=function(e,t){switch(t){case\"requires_action\":return e;case\"requires_payment_method\":return a(ea.a);default:return e}};return\"PAYMENT_INTENT\"===r?function(e,t,n){return vr({linkAccountSessionCreatorClientSecret:e,linkAccountSessionCreatorType:\"payment_intent\",linkAccountSessionCreatorId:t,controller:n})}(n.clientSecret,n.id,t).then((function(e){return e.error?a(ea.b):Ba((function(){return t.action.refreshPaymentIntent({intentSecret:n}).then((function(e){if(\"error\"===e.type&&429===e.error.status)return u.a.reject(new Error(e.error.message));var t=Object(Qr.g)(e);return t.paymentIntent?o(t,t.paymentIntent.status):t}))}),5,500)})):function(e,t,n){return vr({linkAccountSessionCreatorClientSecret:e,linkAccountSessionCreatorType:\"setup_intent\",linkAccountSessionCreatorId:t,controller:n})}(n.clientSecret,n.id,t).then((function(e){return e.error?a(ea.b):Ba((function(){return t.action.refreshSetupIntent({intentSecret:n}).then((function(e){if(\"error\"===e.type&&429===e.error.status)return u.a.reject(new Error(e.error.message));var t=Object(Qr.h)(e);return t.setupIntent?o(t,t.setupIntent.status):t}))}),5,500)}))},Ua=function(e){var t=e.controller,n=e.intentSecret,r=e.intentType,a=e.locale;return new u.a((function(e,o){setTimeout((function o(){ia(n,r,t,a).then((function(n){var r,a=sa(n);null!==a?\"requires_action\"!==a.status||\"blik_authorize\"!==a.next_action.type?e(n):setTimeout(o,5e3):e((r=ea.c,t.action.localizeError(r).then((function(e){return{error:e}}))))}))}),8e3)}))},Ga=function(e){switch(e.type){case\"error\":var t=e.error;if(\"payment_intent_unexpected_state\"===t.code&&\"object\"==typeof t.payment_intent&&null!=t.payment_intent&&\"string\"==typeof t.payment_intent.status&&Object(Qr.f)(t.payment_intent.status)){var n=t.payment_intent;return{type:\"object\",locale:e.locale,object:n}}return e;case\"object\":return e;default:return Object(_t.a)(e)}},za=function(e,t,r,a,o,i){var c=aa(Object(Qr.c)(t),r,e),s=Object(Qr.e)(t);if(!c)return u.a.resolve({paymentIntent:t});switch(c.type){case\"cardimageverification-challenge\":return n.e(5).then(n.bind(null,77)).then((function(n){return(0,n.performCardImageVerification)(c,t,e,a)}));case\"captcha-challenge\":return qa(c,t,e,a);case\"3ds1-modal\":return ua(c,s,p.g.PAYMENT_INTENT,e,a,i);case\"3ds2-fingerprint\":case\"3ds2-challenge\":return xa(c,{intentSecret:s,intentType:p.g.PAYMENT_INTENT,controller:e,locale:a,hosted:o},i);case\"redirect\":return function(e,t,n){return Object(mr.a)(t).then((function(t){return Object(mr.b)(n,\"next_action redirect\",t),Object(Qr.g)(t,e)}))}(t,c.redirectUrl,e);case\"blik_authorize\":return Ua({controller:e,intentSecret:s,intentType:p.g.PAYMENT_INTENT,locale:a});case\"boleto-display\":if(void 0===c.hostedVoucherUrl)throw new O.a(\"Expect `next_action.boleto_display_details.hosted_voucher_url` of `PaymentIntent` to be not undefined. Please refer to \\n\\nhttps://stripe.com/docs/api/payment_intents/object#payment_intent_object-next_action-boleto_display_details-hosted_voucher_url\");return function(e){var t=e.controller,n=e.url,r=e.intent,a=e.locale,o=Ma(t,{url:n,size:\"600x700\",locale:a,frameTitle:\"boleto.voucher_frame_title\",useLightboxHostedCloseButton:!1});return new u.a((function(e){o._on(\"request-close\",(function(){La(o).then((function(){e({paymentIntent:r})}))}))}))}({controller:e,locale:a,url:c.hostedVoucherUrl,intent:t});case\"konbini-display\":if(void 0===c.hostedVoucherUrl)throw new O.a(\"Expected option `handleActions` to be `false`. The Konbini pilot does not handle the next actions for you automatically yet (e.g. displaying Konbini payment details). Please refer to the Stripe Konbini integration guide for more info: \\n\\nhttps://stripe.com/docs/payments/konbini\");return function(e){var t=e.controller,n=e.url,r=e.intent,a=e.locale,o=Ma(t,{url:n,size:\"600x900\",locale:a,frameTitle:\"konbini.voucher_frame_title\",useLightboxHostedCloseButton:!1});return new u.a((function(e){o._on(\"request-close\",(function(){La(o).then((function(){e({paymentIntent:r})}))}))}))}({controller:e,locale:a,url:c.hostedVoucherUrl,intent:t});case\"oxxo-display\":if(void 0===c.hostedVoucherUrl)throw new O.a(\"To handle the next actions automatically, set the API version to oxxo_beta=v2. Please refer to the Stripe OXXO integration guide for more info: \\n\\nhttps://stripe.com/docs/payments/oxxo\");return function(e){var t=e.controller,n=e.url,r=e.intent,a=e.locale,o=Ma(t,{url:n,size:\"600x700\",locale:a,frameTitle:\"oxxo.voucher_frame_title\",useLightboxHostedCloseButton:!1});return new u.a((function(e){o._on(\"request-close\",(function(){La(o).then((function(){e({paymentIntent:r})}))}))}))}({controller:e,locale:a,url:c.hostedVoucherUrl,intent:t});case\"upi_await_notification\":return function(e){var t=e.controller,n=e.intentSecret,r=e.intentType,a=e.locale;return new u.a((function(e){setTimeout((function o(){ia(n,r,t,a).then((function(t){var n=sa(t);if(null!==n)switch(n.status){case\"requires_action\":return void setTimeout(o,1e4);default:e(t)}}))}),5e3)}))}({controller:e,intentSecret:s,intentType:p.g.PAYMENT_INTENT,locale:a});case\"us_bank_account_link\":return Fa({controller:e,intentSecret:s,intentType:p.g.PAYMENT_INTENT,locale:a});case\"link_authenticate_account\":return e.action.completeLinkPayment({intentSecret:t.client_secret,intentId:t.id,expandParam:i}).then((function(e){return e?u.a.resolve(Object(Qr.g)(e)):u.a.resolve({paymentIntent:t})}));case\"wechat_pay_display_qr_code\":return function(e){var t=e.controller,n=e.intent,r=e.intentType,a=e.intentSecret,o=e.locale,i=Object(Qr.c)(n);if(!i||\"wechat_pay_display_qr_code\"!==i.type)throw new Error(\"Expected next_action.wechat_pay_display_qr_code\");var c=t.createLightboxFrame({type:p.c.WECHAT_PAY_INNER,options:{qrCodeImageDataUrl:i.wechat_pay_display_qr_code.image_data_url,qrCodeUrl:i.wechat_pay_display_qr_code.data,locale:o}}),s=null;return new u.a((function(e,i){c._on(\"load\",(function(){c.show(),c.fadeInBackdrop()})),c._once(\"request-close\",(function(){La(c).then((function(){s&&clearTimeout(s),e({paymentIntent:n})}))})),c._on(\"complete\",(function(t){La(c).then((function(){s&&clearTimeout(s),e(t)}))})),s=setTimeout((function n(){ia(a,r,t,o).then((function(t){var r=sa(t);if(null!==r)switch(r.status){case\"requires_action\":return void(s=setTimeout(n,2e3));default:c.destroy(!0).then((function(){\"payment_intent\"===r.object?e({paymentIntent:r}):e({setupIntent:r})}))}}))}),5e3)}))}({controller:e,locale:a,intent:t,intentSecret:s,intentType:p.g.PAYMENT_INTENT});case\"paynow_display_qr_code\":return function(e){var t=e.controller,n=e.intent,r=e.intentType,a=e.intentSecret,o=e.locale,i=Object(Qr.c)(n);if(!i||\"paynow_display_qr_code\"!==i.type)throw new Error(\"Expected next_action.paynow_display_qr_code\");var c=t.createLightboxFrame({type:p.c.PAYNOW_INNER,options:{qrCodeImageDataUrl:i.paynow_display_qr_code.image_data_url,qrCodeUrl:i.paynow_display_qr_code.data,locale:o}}),s=null;return new u.a((function(e,i){c._on(\"load\",(function(){c.show(),c.fadeInBackdrop()})),c._once(\"request-close\",(function(){La(c).then((function(){s&&clearTimeout(s),e({paymentIntent:n})}))})),c._on(\"complete\",(function(t){La(c).then((function(){s&&clearTimeout(s),e(t)}))})),s=setTimeout((function n(){ia(a,r,t,o).then((function(t){var r=sa(t);if(null!==r)switch(r.status){case\"requires_action\":return void(s=setTimeout(n,2e3));default:c.destroy(!0).then((function(){\"payment_intent\"===r.object?e({paymentIntent:r}):e({setupIntent:r})}))}}))}),5e3)}))}({controller:e,locale:a,intent:t,intentSecret:s,intentType:p.g.PAYMENT_INTENT});case\"pix_display_qr_code\":throw new O.a(\"Expected option `handleActions` to be `false`. The Pix pilot does not handle the next action for you automatically yet (e.g. displaying Pix QR Code). Please refer to the Stripe Pix integration guide for more info: \\n\\nhttps://stripe.com/docs/payments/pix\");case\"promptpay_display_qr_code\":return function(e){var t=e.controller,n=e.intent,r=e.intentType,a=e.intentSecret,o=e.locale,i=Object(Qr.c)(n);if(!i||\"promptpay_display_qr_code\"!==i.type)throw new Error(\"Expected next_action.promptpay_display_qr_code\");var c=t.createLightboxFrame({type:p.c.PROMPTPAY_INNER,options:{qrCodeImageDataUrl:i.promptpay_display_qr_code.image_url,qrCodeUrl:i.promptpay_display_qr_code.data,locale:o}}),s=null;return new u.a((function(e,i){c._on(\"load\",(function(){c.show(),c.fadeInBackdrop()})),c._once(\"request-close\",(function(){La(c).then((function(){s&&clearTimeout(s),e({paymentIntent:n})}))})),c._on(\"complete\",(function(t){La(c).then((function(){s&&clearTimeout(s),e(t)}))})),s=setTimeout((function n(){ia(a,r,t,o).then((function(t){var r=sa(t);if(null!==r)switch(r.status){case\"requires_action\":return void(s=setTimeout(n,2e3));default:c.destroy(!0).then((function(){\"payment_intent\"===r.object?e({paymentIntent:r}):e({setupIntent:r})}))}}))}),5e3)}))}({controller:e,locale:a,intent:t,intentSecret:s,intentType:p.g.PAYMENT_INTENT});default:return u.a.resolve({paymentIntent:t})}},Ha=function e(t,n,r,a,o,i){var c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0;if(p.i<c)throw new Error(\"max action recursion depth reached\");return za(t,n,r,a,o,i||[]).then((function(n){if(n.setupIntent)throw new Error(\"Got unexpected SetupIntent response\");if(n.paymentIntent&&null!=n.paymentIntent.next_action&&\"use_stripe_sdk\"===n.paymentIntent.next_action.type&&-1!==p.j.indexOf(n.paymentIntent.next_action.use_stripe_sdk.type)){var s=c;return e(t,n.paymentIntent,r,a,o,i,++s)}return n}))},Ya=function(e,t,n,r,a){return function(o){var i=Ga(o);switch(i.type){case\"error\":var c=i.error,s=c.payment_intent;return n&&s&&\"payment_intent_unexpected_state\"===c.code&&(\"succeeded\"===s.status||\"requires_capture\"===s.status)?u.a.resolve({paymentIntent:s}):u.a.resolve(Object(Qr.g)(o));case\"object\":var l=i.object;return Ha(e,l,t,i.locale,r,a||[]);default:return Object(_t.a)(i)}}},Wa={clientSecret:Object(l.s)(l.x),redirect:Object(l.s)(Object(l.q)(\"always\",\"if_required\")),confirmParams:Object(l.s)(l.p)},Ka=Object(r.a)(Object(r.a)({},Wa),{},{element:Object(l.s)(l.p)}),Va=Object(r.a)(Object(r.a)({},Wa),{},{elements:Object(l.s)(l.p)}),Ja=function(e,t,n,r,a){var o,i,c=Object(ot.d)(n,ot.a.payment_element_beta_1)?Ka:Va,u=Object(l.E)(Object(l.u)(c),r,a),p=u.value,d=p.element,f=void 0===d?void 0:d,m=p.elements,_=void 0===m?void 0:m,h=p.confirmParams,b=p.clientSecret,y=p.redirect,v=u.warnings,g=function(e,t,n){var r=t.rawSecret,a=t.rawElement,o=t.rawElements;if(Object(ot.d)(e,ot.a.payment_element_beta_1)){var i=Object($r.a)(a);if(!i)throw new O.a(\"Invalid value for \".concat(n,\": `element` should be a Payment Element. You specified: \").concat(typeof a,\".\"));return{type:\"element\",element:i}}if(r&&o)throw new O.a(\"\".concat(n,\": expected either `elements` or `clientSecret`, but not both.\"));if(!r&&!o)throw new O.a(\"\".concat(n,\": expected either `elements` or `clientSecret`, but got neither.\"));if(r)return{type:\"clientSecret\",clientSecret:r};var c=Object($r.b)(o);if(!c)throw new O.a(\"Invalid value for \".concat(n,\": elements should be an Elements group. You specified: \").concat(typeof o,\".\"));var s=Object(we.a)(c._elements,(function(e){return\"payment\"===e._componentName}));if(!s)throw new O.a(\"Invalid value for \".concat(n,\": elements should have a mounted Payment Element.\"));return{type:\"element\",element:s}}(n,{rawSecret:b,rawElement:f,rawElements:_},a);if(\"clientSecret\"===g.type)throw new O.a(\"\".concat(a,\" with a `clientSecret` is not supported yet. Please use the Payment Element.\"));var j=g.element;if(\"payment\"!==j._componentName)throw new O.a(\"\".concat(a,\' only works with the \"payment\" element\'));var E=Object(l.E)(Object(l.s)(Object(l.u)({return_url:Object(l.s)(l.x),payment_method_data:Object(l.s)(l.p),payment_method_options:Object(l.s)(l.p),setup_future_usage:Object(l.l)(\"\".concat(a,\": do not pass setup_future_usage at confirm time. Instead, pass setup_future_usage when the PaymentIntent is created.\"))})),h,a,{path:[\"confirmParams\"]}).value;v.forEach((function(t){return e.warn(t)}));var w=null!=h?h:{},k=(w.payment_method_data,w.payment_method_options,Object(s.a)(w,[\"payment_method_data\",\"payment_method_options\"])),S={mode:{tag:\"payment-element\",frameId:j._implementation._frame.id,data:null!==(o=null==E?void 0:E.payment_method_data)&&void 0!==o?o:{},options:null!==(i=null==E?void 0:E.payment_method_options)&&void 0!==i?i:{}},otherParams:k,expectedType:null,mids:t,options:{handleActions:!0}},P=y||\"always\",A=null==E?void 0:E.return_url;if(\"if_required\"===P)return{intentMutationRequest:S,redirect:P,returnUrl:null};if(\"always\"===P&&A)return{intentMutationRequest:S,redirect:P,returnUrl:A};throw new O.a(\"\".concat(a,\": the `confirmParams.return_url` argument is required unless passing `redirect: \'if_required\'`\"))},Za=function(e,t){return function(n,a,o,i,c){var s=Object(ea.h)(o,e),u=Object(ea.g)(t,e,i,s),l=Object(ea.f)(e,c),p=\"none\"===u.mode.tag,d=n.action.confirmPaymentIntent(Object(r.a)(Object(r.a)({},u),{},{expectedType:t,options:l,mids:a}));return l.handleActions?d.then(Ya(n,t,p,!1,u.otherParams.expand)):d.then(Qr.g)}},$a=Za(\"confirmAcssDebitPayment\",fr.b.acss_debit),Xa=Za(\"confirmAffirmPayment\",fr.b.affirm),Qa=Za(\"confirmAfterpayClearpayPayment\",fr.b.afterpay_clearpay),eo=Za(\"confirmAuBecsDebitPayment\",fr.b.au_becs_debit),to=Za(\"confirmBacsDebitPayment\",fr.b.bacs_debit),no=Za(\"confirmBancontactPayment\",fr.b.bancontact),ro=Za(\"confirmBoletoPayment\",fr.b.boleto),ao=Za(\"confirmCardPayment\",fr.b.card),oo=Za(\"confirmEpsPayment\",fr.b.eps),io=Za(\"confirmFpxPayment\",fr.b.fpx),co=Za(\"confirmGiropayPayment\",fr.b.giropay),so=Za(\"confirmGrabPayPayment\",fr.b.grabpay),uo=Za(\"confirmIdealPayment\",fr.b.ideal),lo=Za(\"confirmKlarnaPayment\",fr.b.klarna),po=Za(\"confirmKonbiniPayment\",fr.b.konbini),fo=Za(\"confirmOxxoPayment\",fr.b.oxxo),mo=Za(\"confirmAlipayPayment\",fr.b.alipay),_o=Za(\"confirmP24Payment\",fr.b.p24),ho=Za(\"confirmPayPalPayment\",fr.b.paypal),bo=Za(\"confirmSepaDebitPayment\",fr.b.sepa_debit),yo=Za(\"confirmSofortPayment\",fr.b.sofort),vo=Za(\"confirmIdBankTransferPayment\",fr.b.id_bank_transfer),go=Za(\"confirmUpiPayment\",fr.b.upi),Oo=Za(\"confirmUsBankAccountPayment\",fr.b.us_bank_account),jo=Za(\"confirmNzBankAccountPayment\",fr.b.nz_bank_account),Eo=Za(\"confirmBlikPayment\",fr.b.blik),wo=function(e,t,n,r,a){if(!a||!1!==a.handleActions)throw new O.a(\"Expected option `handleActions` to be `false`.\");return Za(\"confirmCustomerBalancePayment\",fr.b.customer_balance)(e,t,n,r,a)},ko=function(e,t,n,a,o){if(o&&!0===o.handleActions)throw new O.a(\"Expected option `handleActions` to be `false`.\");var i=Object(r.a)(Object(r.a)({},a),{},{payment_method:Object(r.a)({},a&&a.payment_method||{}),payment_method_options:Object(r.a)(Object(r.a)({},a&&a.payment_method_options||{}),{},{wechat_pay:Object(r.a)(Object(r.a)({},a&&a.payment_method_options&&a.payment_method_options.wechat_pay||{}),{},{client:\"web\"})})});return Za(\"confirmWechatPayPayment\",fr.b.wechat_pay)(e,t,n,i,o)},So=function(e,t,n,a,o){if(!a||!a.payment_method_options||!a.payment_method_options.wechat_pay||\"web\"!==a.payment_method_options.wechat_pay.client&&\"mobile_web\"!==a.payment_method_options.wechat_pay.client)throw new O.a(\"Expected client value `web` or `mobile_web` in payment_method_options.\");var i={};\"string\"==typeof a.payment_method&&(i=a.payment_method),\"object\"==typeof a.payment_method&&(i=Object(r.a)({},a.payment_method||{}));var c=Object(r.a)(Object(r.a)({},a),{},{payment_method:i,payment_method_options:Object(r.a)(Object(r.a)({},a&&a.payment_method_options||{}),{},{wechat_pay:Object(r.a)({},a&&a.payment_method_options&&a.payment_method_options.wechat_pay||{})})});return Za(\"confirmWechatPayPayment\",fr.b.wechat_pay)(e,t,n,c,o)},Po=So,Ao=Za(\"confirmPayNowPayment\",fr.b.paynow),To=Za(\"confirmPixPayment\",fr.b.pix),Io=Za(\"confirmPromptPayPayment\",fr.b.promptpay),Co=Za(\"confirmNetbankingPayment\",fr.b.netbanking),No=function(e,t,n,a){var o=Object(ea.h)(n,\"updatePaymentIntent\"),i=Object(ea.e)(a),c=Object(ea.g)(i,\"updatePaymentIntent\",a,o);return e.action.updatePaymentIntent(Object(r.a)(Object(r.a)({},c),{},{expectedType:i,mids:t,options:null})).then(Qr.g)},Ro=function(e,t,n){var r=Object(ea.h)(t,\"verifyMicrodepositsForPayment\"),a=Object(l.E)(l.p,n,\"stripe.verifyMicrodepositsForPayment\");return e.action.verifyMicrodepositsForPayment({intentSecret:r,data:a.value}).then(Qr.g)},xo=function(e,t,n){var r=Object(ea.h)(t,\"collectUsBankAccountForPayment\"),a=Object(l.E)(Object(tr.a)(\"us_bank_account\"),n,\"stripe.collectUsBankAccountForPayment\");return function(e,t,n,r){return vr({linkAccountSessionCreatorClientSecret:e,linkAccountSessionCreatorType:\"payment_intent\",linkAccountSessionCreatorId:t,controller:n,linkAccountSessionCreationParams:{payment_method_data:r}})}(r.clientSecret,r.id,e,a.value).then((function(t){return t.error?e.action.localizeError(ea.b).then((function(e){return u.a.resolve({error:e})})):t.linkAccountSession.paymentAccount?e.action.attachLinkAccountSessionForPayment({intentSecret:r,linkAccountSessionId:t.linkAccountSession.id}).then((function(e){return Object(Qr.g)(e)})):e.action.retrievePaymentIntent({intentSecret:r,hosted:!1}).then(Qr.g)}))},Mo=function(e,t){var n=Object(ea.h)(e,\"handleCardAction\");return t.action.retrievePaymentIntent({intentSecret:n,hosted:!1}).then((function(e){var n=Ga(e);switch(n.type){case\"error\":return u.a.resolve(Object(Qr.g)(e));case\"object\":var r=n.object;if(Object(Qr.f)(r.status)){if(\"manual\"!==r.confirmation_method)throw new O.a(\"handleCardAction: The PaymentIntent supplied does not require manual server-side confirmation. Please use confirmCardPayment instead to complete the payment.\");return Ha(t,r,fr.b.card,n.locale,!1)}throw new O.a(\"handleCardAction: The PaymentIntent supplied is not in the requires_action state.\");default:return Object(_t.a)(n)}}))},Lo=ea.j,Do=function(e){var t=e.mode;return!(\"paymentMethod-from-data\"===t.tag&&t.data.acss_debit)},qo=function(e){return null!==e&&\"object\"==typeof e&&!0===e.skipMandate},Bo=function(e){return null!==e&&\"object\"==typeof e&&!!e.shouldCreatePaymentMethod},Fo=function(e){var t=e.controller,n=e.shouldCreatePaymentMethod,r=e.intentSecret,a=e.mode,o=e.confirmIntentData;return t.action.createAcssDebitSession({intentSecret:r,shouldCreatePaymentMethod:n,confirmIntentData:o,mode:a}).then((function(e){if(\"error\"===e.type)return{type:\"error\",error:e.error};var n=Ma(t,{url:e.object.url,size:\"400x600\",locale:e.locale,frameTitle:\"acss.dialog_frame_title\",useLightboxHostedCloseButton:!1});return new u.a((function(e){n._on(\"request-close\",(function(){La(n).then((function(){return t.action.localizeError(ea.a)})).then((function(t){e({type:\"error\",error:t})}))})),n._on(\"session-complete\",(function(t){var r=t.paymentMethod;La(n).then((function(){e({type:\"success\",paymentMethod:r})}))}))}))}))},Uo=function(e,t,n,a,o){var i=\"confirmAcssDebitPayment\",c=fr.b.acss_debit,s=Object(ea.h)(n,i),u=Object(ea.g)(c,i,a,s),l=Bo(o);return Lo(o,i),qo(o)||!Do(u)?e.action.confirmPaymentIntent(Object(r.a)(Object(r.a)({},u),{},{expectedType:c,options:{handleActions:!1},mids:t})).then(Qr.g):Fo({controller:e,shouldCreatePaymentMethod:l,intentSecret:s,mode:\"payment\",confirmIntentData:u}).then((function(n){switch(n.type){case\"error\":return{error:n.error};case\"success\":return e.action.confirmPaymentIntent({mode:{tag:\"paymentMethod\",paymentMethod:n.paymentMethod,options:u.mode.options||{},intentSecret:s},otherParams:u.otherParams,expectedType:c,options:{handleActions:!1},mids:t}).then(Qr.g);default:return Object(_t.a)(n.type)}}))},Go=function(e,t,n,a,o){var i=\"confirmAcssDebitSetup\",c=fr.b.acss_debit,s=Object(ea.i)(n,i),u=Object(ea.g)(c,i,a,s),l=Bo(o);return Lo(o,i),qo(o)||!Do(u)?e.action.confirmSetupIntent(Object(r.a)(Object(r.a)({},u),{},{expectedType:c,options:{handleActions:!1},mids:t})).then(Qr.h):Fo({controller:e,shouldCreatePaymentMethod:l,intentSecret:s,mode:\"setup\",confirmIntentData:u}).then((function(n){switch(n.type){case\"error\":return{error:n.error};case\"success\":return e.action.confirmSetupIntent({mode:{tag:\"paymentMethod\",paymentMethod:n.paymentMethod,options:u.mode.options||{},intentSecret:s},otherParams:u.otherParams,expectedType:c,options:{handleActions:!1},mids:t}).then(Qr.h);default:return Object(_t.a)(n.type)}}))},zo={type:\"validation_error\",code:\"errors.code.unexpected\"},Ho={type:\"validation_error\",code:\"errors.code.incomplete_payment_details\"},Yo=function(e,t,n,a,o){var i=\"confirmInstantDebitsPilotPayment\",c=Object(ea.h)(n,i),s=Object(ea.f)(i,o),l=Object(ea.g)(null,i,a,c),d=e.createLightboxFrame({type:p.c.INSTANT_DEBITS_APP,options:{intentId:c.id,clientSecret:c.clientSecret,apiKey:e._apiKey,returnOnConfirm:!1===s.handleActions}});return d.show(),d.fadeInBackdrop(),new u.a((function(n){var a=function(e){d.fadeOutBackdrop().then((function(){n(e)}))};d._once(\"cancel\",(function(){d.fadeOutBackdrop(),e.action.localizeError(Ho).then((function(e){a({error:e})}))})),d._on(\"instant-debits-fetch-payment-intent\",(function(){e.action.retrievePaymentIntent({intentSecret:c,hosted:!1}).then((function(t){if(t.object){var r=t.object;d.send({action:\"stripe-instant-debits-received-payment-intent\",payload:{paymentIntent:r}}),!1===s.handleActions&&setTimeout((function(){d.fadeOutBackdrop(),a(Object(Qr.g)(t))}),2e3)}else{var o=t.error;e.action.localizeError(o).then((function(e){n({error:e})}))}}))})),d._on(\"instant-debits-attempt-payment\",(function(n){e.action.confirmPaymentIntent(Object(r.a)(Object(r.a)({},l),{},{mode:{tag:\"none\",intentSecret:c},expectedType:null,options:s,mids:t})).then((function(t){t.object?(d.send({action:\"stripe-instant-debits-successful-payment-intent\",payload:{paymentIntent:t.object}}),setTimeout((function(){a(Object(Qr.g)(t))}),2e3)):e.action.localizeError(t.error).then((function(e){a({error:e})}))}))})),d._on(\"instant-debits-flow-error\",(function(t){e.action.localizeError(zo).then((function(e){a({error:e})}))}))}))},Wo=function(e,t){if(null==e)return Object(l.D)(null);var n=e.type,r=Object(s.a)(e,[\"type\"]),a=Object(l.G)(l.x,(function(){return null}))(n,Object(l.e)(t,\"type\"));return\"error\"===a.type?a:Object(l.D)({type:a.value,data:r})},Ko=function(e,t,n,r){if(null===e){if(null===t){var a=r?\"source_data\":\"payment_method_data\";throw new O.a(\"\".concat(n,\": you must additionally specify the type of payment method to create within \").concat(a,\".\"))}return t}if(null===t)return e;if(t!==e)throw new O.a(\"\".concat(n,\": you specified `type: \").concat(t,\"`, but \").concat(n,\" will create a \").concat(e,\" payment method.\"));return e},Vo=function(e){return function(t,n){if(\"object\"==typeof t&&null!==t){var a=t.source,o=t.source_data,i=t.payment_method,c=t.payment_method_data,u=Object(s.a)(t,[\"source\",\"source_data\",\"payment_method\",\"payment_method_data\"]);if(null!=a&&\"string\"!=typeof a)return Object(l.g)(\"string\",typeof a,Object(l.e)(n,\"source\"));if(null!=i&&\"string\"!=typeof i)return Object(l.g)(\"string\",typeof i,Object(l.e)(n,\"payment_method\"));if(null!=o&&\"object\"!=typeof o)return Object(l.g)(\"object\",typeof o,Object(l.e)(n,\"source_data\"));if(null!=c&&\"object\"!=typeof c)return Object(l.g)(\"object\",typeof c,Object(l.e)(n,\"payment_method_data\"));var p=Wo(o,Object(l.e)(n,\"source_data\"));if(\"error\"===p.type)return p;var d=p.value,f=Wo(c,Object(l.e)(n,\"payment_method_data\"));if(\"error\"===f.type)return f;var m=f.value;return Object(l.D)({sourceData:d,source:null==a?null:a,paymentMethodData:m,paymentMethod:null==i?null:i,otherParams:Object(r.a)(Object(r.a)({},e),u)})}return null===t?Object(l.g)(\"object\",\"null\",n):Object(l.g)(\"object\",typeof t,n)}},Jo=function(e){return function(t,n){if(void 0===t)return Object(l.D)({sourceData:null,paymentMethodData:null,source:null,paymentMethod:null,otherParams:{}});if(\"object\"!=typeof t)return Object(l.g)(\"object\",typeof t,n);if(null===t)return Object(l.g)(\"object\",\"null\",n);if(e){if(!t.payment_intent){var a=Object(l.E)(Object(l.u)({return_url:Object(l.s)(l.x),expand:Object(l.s)(Object(l.a)(l.x)),shipping:Object(l.s)(Object(l.d)({name:l.x,address:Object(l.d)({line1:Object(l.s)(l.x),line2:Object(l.s)(l.x),city:Object(l.s)(l.x),state:Object(l.s)(l.x),postal_code:Object(l.s)(l.x),country:Object(l.s)(l.x)})}))}),t,\"validate otherParams\").value,o=Object(r.a)(Object(r.a)({},t),a);return Object(l.D)({sourceData:null,paymentMethodData:null,source:null,paymentMethod:null,otherParams:o})}var i=t.payment_intent,c=Object(s.a)(t,[\"payment_intent\"]);return Vo(c)(i,Object(l.e)(n,\"payment_intent\"))}return t.payment_intent?Object(l.f)(new O.a(\"The payment_intent parameter has been removed. To fix, move everything nested under the payment_intent parameter to the top-level object.\")):Vo({})(t,n)}},Zo=function(e,t,n,a,o){return function(i,c){var s=function(e,t,n,a,o,i,c){var s=Object(l.F)($r.c,o,a);if(\"error\"===s.type)return null;var u=s.value,p=Object(l.E)(Jo(t),i,a).value,d=p.sourceData,f=p.source,m=p.paymentMethodData,_=p.paymentMethod,h=p.otherParams;if(!e&&d)throw new O.a(\"\".concat(a,\": Expected payment_method_data, not source_data.\"));if(null!=f)throw new O.a(\"When calling \".concat(a,\" on an Element, you can\'t pass in a pre-existing source ID, as a source will be created using the Element.\"));if(null!=_)throw new O.a(\"When calling \".concat(a,\" on an Element, you can\'t pass in a pre-existing PaymentMethod ID, as a PaymentMethod will be created using the Element.\"));var b=u._componentName,y=u._implementation._frame.id,v=d||m||{type:null,data:{}},g=v.type,j=v.data,E=Object(fr.d)(b,g),w=e&&!m,k={elementName:b,frameId:y,type:Ko(n,E,a,w),data:j};return w?{mode:Object(r.a)({tag:\"source-from-element\",intentSecret:c},k),otherParams:h}:{mode:Object(r.a)({tag:\"paymentMethod-from-element\",options:null,intentSecret:c},k),otherParams:h}}(e,t,n,a,i,c,o);if(s)return s;var u=function(e,t,n,r,a,o,i){var c=Object(l.E)(Jo(t),a,r).value,s=c.sourceData,u=c.source,p=c.paymentMethodData,d=c.paymentMethod,f=c.otherParams;if(!e&&s)throw new O.a(\"\".concat(r,\": Expected payment_method, source, or payment_method_data, not source_data.\"));if(null!==u&&null!==s)throw new O.a(\"\".concat(r,\": Expected either source or source_data, but not both.\"));if(null!==d&&null!==p)throw new O.a(\"\".concat(r,\": Expected either payment_method or payment_method_data, but not both.\"));if(null!==d&&null!==u)throw new O.a(\"\".concat(r,\": Expected either payment_method or source, but not both.\"));if(s||p){var m=s||p||{},_=m.type,h=m.data,b=e&&!p,y=Ko(n,_,r,b);return b?{mode:{tag:\"source-from-data\",intentSecret:i,type:y,data:h},otherParams:f}:{mode:{tag:\"paymentMethod-from-data\",type:y,data:h,intentSecret:i,options:null},otherParams:f}}return null!==u?{mode:{tag:\"source\",intentSecret:i,source:u},otherParams:f}:null!==d?{mode:{tag:\"paymentMethod\",paymentMethod:d,intentSecret:i,options:null},otherParams:f}:{mode:{tag:\"none\",intentSecret:i},otherParams:f}}(e,t,n,a,i,0,o);if(u)return u;throw new O.a(\"Expected: stripe.\".concat(a,\"(intentSecret, element[, data]) or stripe.\").concat(a,\"(intentSecret[, data]). Please see the docs for more usage examples https://stripe.com/docs/payments/dynamic-authentication\"))}},$o=function(e,t,n,a,o,i){var c=Object(l.E)(tr.g,a,\"stripe.confirmPaymentIntent intent secret\").value,s=Zo(e,!1,null,\"confirmPaymentIntent\",c)(o,i);return t.action.confirmPaymentIntent(Object(r.a)(Object(r.a)({},s),{},{expectedType:null,options:{handleActions:!1},mids:n})).then(Qr.g)},Xo=function(e,t,n,a,o,i,c){var s=Object(l.E)(tr.g,o,\"stripe.handleCardPayment intent secret\").value,u=fr.b.card,p=Zo(e,a,u,\"handleCardPayment\",s)(i,c),d=!i&&!c;return t.action.confirmPaymentIntent(Object(r.a)(Object(r.a)({},p),{},{expectedType:u,options:{handleActions:!0},mids:n})).then(Ya(t,u,d,!1))},Qo=function(e,t,n,a,o,i){var c=Object(l.E)(tr.g,a,\"stripe.handleSepaDebitPayment intent secret\").value,s=fr.b.sepa_debit,u=Zo(!1,n,s,\"handleSepaDebitPayment\",c)(o,i),p=!o&&!i;return e.action.confirmPaymentIntent(Object(r.a)(Object(r.a)({},u),{},{expectedType:s,options:{handleActions:!0},mids:t})).then(Ya(e,s,p,!1))},ei=function(e,t,n,a,o,i,c){var s=Object(l.E)(tr.g,o,\"stripe.handleIdealPayment intent secret\").value,u=fr.b.ideal,p=Zo(e,a,u,\"handleIdealPayment\",s)(i,c),d=!i&&!c;return t.action.confirmPaymentIntent(Object(r.a)(Object(r.a)({},p),{},{expectedType:u,options:{handleActions:!0},mids:n})).then(Ya(t,u,d,!1))},ti=function(e,t,n,a,o,i){var c=Object(l.E)(tr.g,a,\"stripe.handleFpxPayment intent secret\").value,s=fr.b.fpx,u=Zo(!1,n,s,\"handleFpxPayment\",c)(o,i),p=!o&&!i;return e.action.confirmPaymentIntent(Object(r.a)(Object(r.a)({},u),{},{expectedType:s,options:{handleActions:!0},mids:t})).then(Ya(e,s,p,!1))},ni=function(e){switch(e.type){case\"object\":return{returnIntent:e.object};case\"error\":return{error:e.error};default:return Object(_t.a)(e)}},ri=function(e,t,n){return e.action.confirmReturnIntent({returnIntentId:t,data:n}).then(ni)},ai=function(e,t,n,r,a,o){var i=aa(Object(Qr.c)(t),n,e),c=Object(Qr.e)(t);if(!i)return u.a.resolve({setupIntent:t});switch(i.type){case\"captcha-challenge\":return qa(i,t,e,r);case\"3ds1-modal\":return ua(i,c,p.g.SETUP_INTENT,e,r,o);case\"3ds2-fingerprint\":case\"3ds2-challenge\":return xa(i,{intentSecret:c,intentType:p.g.SETUP_INTENT,controller:e,locale:r,hosted:a},o);case\"redirect\":return function(e,t,n){return Object(mr.a)(t).then((function(t){return Object(mr.b)(n,\"next_action redirect\",t),Object(Qr.h)(t,e)}))}(t,i.redirectUrl,e);case\"us_bank_account_link\":return Fa({controller:e,intentSecret:c,intentType:p.g.SETUP_INTENT,locale:r});case\"link_authenticate_account\":return e.action.completeLinkSetup({intentSecret:t.client_secret,intentId:t.id,expandParam:o}).then((function(e){return e?u.a.resolve(Object(Qr.h)(e)):u.a.resolve({setupIntent:t})}));default:return u.a.resolve({setupIntent:t})}},oi=function e(t,n,r,a,o,i){var c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0;if(p.i<c)throw new Error(\"max action recursion depth reached\");return ai(t,n,r,a,o,i||[]).then((function(n){if(n.paymentIntent)throw new Error(\"Got unexpected PaymentIntent response\");if(n.setupIntent&&null!=n.setupIntent.next_action&&\"use_stripe_sdk\"===n.setupIntent.next_action.type&&-1!==p.j.indexOf(n.setupIntent.next_action.use_stripe_sdk.type)){var s=c;return e(t,n.setupIntent,r,a,o,i,++s)}return n}))},ii=function(e,t,n,r,a){return function(o){switch(o.type){case\"error\":var i=o.error,c=i.setup_intent;return n&&c&&\"succeeded\"===c.status?u.a.resolve({setupIntent:c}):u.a.resolve({error:i});case\"object\":var s=o.object;return oi(e,s,t,o.locale,r,a);default:return Object(_t.a)(o)}}},ci=function(e,t){return function(n,a,o,i,c){var s=Object(ea.i)(o,e),u=Object(ea.g)(t,e,i,s),l=Object(ea.f)(e,c),p=\"none\"===u.mode.tag,d=n.action.confirmSetupIntent(Object(r.a)(Object(r.a)({},u),{},{expectedType:t,options:l,mids:a}));return l.handleActions?d.then(ii(n,t,p,!1,u.otherParams.expand)):d.then(Qr.h)}},si=ci(\"confirmAcssDebitSetup\",fr.b.acss_debit),ui=ci(\"confirmAfterpayClearpaySetup\",fr.b.afterpay_clearpay),li=ci(\"confirmCardSetup\",fr.b.card),pi=ci(\"confirmSepaDebitSetup\",fr.b.sepa_debit),di=ci(\"confirmAuBecsDebitSetup\",fr.b.au_becs_debit),fi=ci(\"confirmBacsDebitSetup\",fr.b.bacs_debit),mi=ci(\"confirmIdealSetup\",fr.b.ideal),_i=ci(\"confirmAlipaySetup\",fr.b.alipay),hi=ci(\"confirmSofortSetup\",fr.b.sofort),bi=ci(\"confirmBancontactSetup\",fr.b.bancontact),yi=ci(\"confirmIdBankTransferSetup\",fr.b.id_bank_transfer),vi=ci(\"confirmPayPalSetup\",fr.b.paypal),gi=ci(\"confirmUsBankAccountSetup\",fr.b.us_bank_account),Oi=ci(\"confirmNzBankAccountSetup\",fr.b.nz_bank_account),ji=function(e,t,n){var r=Object(ea.i)(t,\"verifyMicrodepositsForSetup\"),a=Object(l.E)(l.p,n,\"stripe.verifyMicrodepositsForSetup\");return e.action.verifyMicrodepositsForSetup({intentSecret:r,data:a.value}).then(Qr.h)},Ei=function(e,t,n){var r=Object(ea.i)(t,\"collectUsBankAccountForSetup\"),a=Object(l.E)(Object(tr.a)(\"us_bank_account\"),n,\"stripe.collectUsBankAccountForSetup\");return function(e,t,n,r){return vr({linkAccountSessionCreatorClientSecret:e,linkAccountSessionCreatorType:\"setup_intent\",linkAccountSessionCreatorId:t,controller:n,linkAccountSessionCreationParams:{payment_method_data:r}})}(r.clientSecret,r.id,e,a.value).then((function(t){return t.error?e.action.localizeError(ea.b).then((function(e){return u.a.resolve({error:e})})):t.linkAccountSession.paymentAccount?e.action.attachLinkAccountSessionForSetup({intentSecret:r,linkAccountSessionId:t.linkAccountSession.id}).then((function(e){return Object(Qr.h)(e)})):e.action.retrieveSetupIntent({intentSecret:r,hosted:!1}).then(Qr.h)}))},wi=function(e,t,n,a,o){var i=Object(l.E)(tr.h,n,\"stripe.handleCardSetup intent secret\").value,c=fr.b.card,s=Zo(!1,!1,c,\"handleCardSetup\",i)(a,o),u=!a&&!o;return e.action.confirmSetupIntent(Object(r.a)(Object(r.a)({},s),{},{expectedType:c,options:{handleActions:!0},mids:t})).then(ii(e,c,u,!1,s.otherParams.expand))},ki=function(e,t,n,a,o){var i=Object(l.E)(tr.h,n,\"stripe.handleSepaDebitSetup intent secret\").value,c=fr.b.sepa_debit,s=Zo(!1,!1,c,\"handleSepaDebitSetup\",i)(a,o),u=!a&&!o;return e.action.confirmSetupIntent(Object(r.a)(Object(r.a)({},s),{},{expectedType:c,options:{handleActions:!0},mids:t})).then(ii(e,c,u,!1))},Si=function(e,t,n,a,o){var i=Object(l.E)(tr.h,n,\"stripe.confirmSetupIntent intent secret\").value,c=Zo(!1,!1,null,\"confirmSetupIntent\",i)(a,o);return e.action.confirmSetupIntent(Object(r.a)(Object(r.a)({},c),{},{otherParams:Object(r.a)({},c.otherParams),expectedType:null,options:{handleActions:!1},mids:t})).then(Qr.h)},Pi=function(e,t){var n=function(e){if(\"string\"==typeof e){var t=e.trim().match(/^((vi|vs)_[0-9a-zA-Z]+)_secret_([0-9a-zA-Z]+)$/);if(!t)throw new O.a(\"stripe.verifyIdentity: Could not parse client secret.\");return{identityClientSecret:t[0],id:t[1],token:t[3]}}throw new O.a(\"stripe.verifyIdentity: Could not parse client secret.\")}(e),r=n.id;return function(e){var t=e.controller,n=e.url,r=(e.id,e.locale),a=Ma(t,{url:n,size:\"1100x800\",frameTitle:\"identity.verification_frame_title\",locale:void 0===r?\"en-US\":r,useLightboxHostedCloseButton:!0,allowCamera:!0,appType:\"identity\"});return new u.a((function(e){var t={type:\"user_action\",code:\"session_cancelled\"};a._on(\"identity-frame-close\",(function(){La(a).then((function(){e({error:t})}))})),a._on(\"identity-frame-error\",(function(e){var n=e.type,r=e.code;t={type:n,code:r}})),a._on(\"identity-frame-session-complete\",(function(){t=null})),a._on(\"request-close\",(function(n){La(a).then((function(){e({error:t})}))}))}))}({controller:t,url:function(e){return\"\".concat(p.f,\"start/\").concat(e)}(n.token),id:r})},Ai=function(e,t){if(\"string\"!=typeof e)return Object(l.i)(\"an Issuing card ID of the form ic_xxx\",e,t);var n,r=(n=e.trim().match(/ic_[a-zA-Z0-9_]+$/))?n[0]:null;return null===r?Object(l.i)(\"an Issuing card ID of the form ic_xxx\",e,t):Object(l.D)(r,[])},Ti=function(e,t){return Object(l.E)(Ai,e,\"stripe.\".concat(t,\" cardId\")).value},Ii=function(e,t){if(\"string\"!=typeof e)return Object(l.i)(\"an ephemeral key secret of the form ek_xxx\",e,t);var n,r=(n=e.trim().match(/ek_[a-zA-Z0-9_]+$/))?n[0]:null;return null===r?Object(l.i)(\"an ephemeral key secret of the form ek_xxx\",e,t):Object(l.D)(r,[])},Ci=function(e,t){return Object(l.E)(Ii,e,\"stripe.\".concat(t,\" ephemeral key secret\")).value},Ni=function(e,t){if(\"string\"!=typeof e)return Object(l.i)(\"an ephemeral key nonce of the form ephkn_xxx\",e,t);var n,r=(n=e.trim().match(/ephkn_[a-zA-Z0-9_]+$/))?n[0]:null;return null===r?Object(l.i)(\"an ephemeral key nonce of the form ephkn_xxx\",e,t):Object(l.D)(r,[])},Ri=function(e){var t,n;if(\"object\"==typeof e&&e&&e.ephemeralKeySecret&&e.nonce)return{ephemeralKeySecret:Ci(e.ephemeralKeySecret,\"retrieveIssuingCard\"),publicNonce:(t=e.nonce,n=\"retrieveIssuingCard\",Object(l.E)(Ni,t,\"stripe.\".concat(n,\" ephemeral key nonce\")).value)};throw new O.a(\"When retrieving an Issuing card, you must specify an ephemeral key secret and an ephemeral key nonce in the options argument of stripe.retrieveIssuingCard.\")},xi=function(e,t){var n=function(e){if(\"object\"==typeof e&&e&&e.issuingCard)return{issuingCard:Ti(e.issuingCard,\"createEphemeralKeyNonce\")};throw new O.a(\"When creating an ephemeral key nonce, you must specify an Issuing card ID in the options argument of stripe.createEphemeralKeyNonce.\")}(e);return t.action.createEphemeralKeyNonce({cardId:n.issuingCard}).then(Bn)},Mi=n(53),Li=n(62),Di=function(e){switch(e.type){case\"object\":return{token:e.object};case\"error\":return{error:e.error};default:return Object(_t.a)(e)}},qi=function(e){return\"object\"==typeof e&&null!==e?e:{}},Bi=function(e){switch(e.type){case\"object\":return{radarSession:e.object};case\"error\":return{error:e.error};default:return Object(_t.a)(e)}},Fi=\"securitypolicyviolation\",Ui=window,Gi=/^require-trusted-types-for/,zi=\"LOAD_ERROR\",Hi=\"REPORT_ONLY\",Yi=\"BLOCKED\",Wi=new Ke.a,Ki=document?document.readyState:\"unknown\",Vi=!1;switch(Ki){case\"loading\":Vi=!0;break;case\"interactive\":try{var Ji=function(){Vi=!0};setTimeout((function(){document.removeEventListener(\"DOMContentLoaded\",Ji)}),0),document.addEventListener(\"DOMContentLoaded\",Ji)}catch(e){}}var Zi,$i=!1,Xi=function e(t,a,o,i){if(!$i||i){$i=!0;var s=i||new Ke.a;if(\"complete\"===document.readyState){var l=null,p=null,d=null,f=null,m=null;if(window.performance){if(window.performance.timing){var _=window.performance.timing,h=_.fetchStart;l=_.domLoading-h,p=_.domInteractive-h,d=_.domComplete-h,f=Ke.a.fromPosixTime(h).getElapsedTime(Wi)}if(window.performance.getEntriesByType){var b=window.performance.getEntriesByType(\"resource\"),y=\"https://js.stripe.com/v3/\".replace(/\\/$/,\"\");m=b.reduce((function(e,t){if(0===t.name.indexOf(y)){var n=t.name.match(/\\/([^/#?]*)\\/?(?:$|[#?])/);if(n&&n[1]){var a=n[1].replace(/-[0-9a-f]{32}\\./,\".\");return\"v3\"===a&&(a=\"stripe.js\"),Object(r.a)(Object(r.a)({},e),{},Object(c.a)({},a,{transfer_size:t.transferSize,duration:Math.round(t.duration)}))}}return e}),{})}}t.report(\"timings\",{element:t.controllerFor(),dom_loading:l,dom_interactive:p,dom_complete:d,since_fetch:f,load_count:1,load_before_dom_content_loaded:Vi,load_ready_state:Ki,first_create_ready_state:a,first_mount_readyState:o,until_first_create:Wi.getElapsedTime(t._createTimestamp),until_first_mount:t._mountTimestamp?Wi.getElapsedTime(t._mountTimestamp):null,until_first_load:Wi.getElapsedTime(s),resource_timings:m}),setTimeout((function(){new u.a((function(e){if(Ui.trustedTypes&&Ui.Promise){var t,r=!1,a=function(e){(Gi.test(e.effectiveDirective)||Gi.test(e.violatedDirective))&&(Object(me.b)(e.blockedURI)||Object(me.b)(e.sourceFile))&&(r=!0)},o=function(){return r?Yi:zi};Ui.addEventListener(Fi,a);try{t=n.e(8).then(n.bind(null,78)).then((function(e){return(e.loaded&&r?Hi:\"ALLOWED\")||zi}),o)}catch(e){t=new u.a((function(e){return setTimeout(e,0)})).then(o)}t.then((function(){Ui.removeEventListener(Fi,a)})),e(t)}else e(\"NOT_SUPPORTED\")})).then((function(e){t.report(\"trusted_types_check\",{result:e}),function(e){switch(e){case Hi:case Yi:return!0}return!1}(e)&&t.warn(\"We noticed that you are using Trusted Types. Nothing has broken, but we plan to add dynamic loading to parts of Stripe.js. Please allow scripts from \'https://js.stripe.com\' in your default Trusted Types policy. For more information: https://stripe.com/docs/security/guide#content-security-policy\")}))}),5e3)}else window.addEventListener(\"load\",(function(){try{e(t,a,o,s)}catch(e){}}))}},Qi=Object(l.u)({apiKey:l.x,stripeAccount:Object(l.s)(l.x),locale:Object(l.s)(l.x),apiVersion:Object(l.s)(l.x),__privateApiUrl:Object(l.s)(l.x),__checkout:Object(l.s)(Object(l.u)({mids:Object(l.u)({muid:l.x,sid:l.x})})),__hosted3DS:Object(l.s)(l.b),canCreateRadarSession:Object(l.s)(l.b),betas:Object(l.s)(Object(l.a)(l.x))}),ec=function(e){return\"You have an in-flight \".concat(e,\"! Please be sure to disable your form submit button when \").concat(e,\" is called.\")},tc=function(e){return function(){throw new O.a(\"You cannot call `stripe.\".concat(e,\"` without supplying an appropriate beta flag when initializing Stripe.js.\"))}},nc=function(e){return function(){throw new O.a(\"You cannot call `stripe.\".concat(e,\"` without supplying an Issuing beta flag when initializing Stripe.js.\"))}},rc=function(){function e(t,n){var a=this;Object(o.a)(this,e),this._listenerRegistry=Object(Me.a)(),this.elements=w((function(e){return new Rr(a._controller,a._listenerRegistry,{stripeJsLoadTimestamp:Wi,stripeCreateTimestamp:a._controller._createTimestamp},a._betas,a._mids(),Object(r.a)(Object(r.a)({},a._locale?{locale:a._locale}:{}),e))}),void 0,\"elements\"),this.createToken=P((function(e,t){var n=a._mids();return\"cvc_update\"===e?function(e,t,n){var r=Object($r.a)(t);if(r&&\"cardCvc\"===r._componentName){var a=r._implementation._frame.id;return e.action.tokenizeCvcUpdate({frameId:a,mids:n}).then(Di)}throw new O.a(\"You must provide a `cardCvc` Element to create a `cvc_update` token.\")}(a._controller,t,n):function(e,t){return function(n,r){var a=Object($r.a)(n);if(a){var o=a._implementation._frame.id,i=a._componentName,c=qi(r);return e.action.tokenizeWithElement({frameId:o,elementName:i,tokenData:c,mids:t}).then(Di)}if(\"string\"==typeof n){var s=n,u=qi(r);return e.action.tokenizeWithData({elementName:null,type:s,tokenData:u,mids:t}).then(Di)}throw new O.a(\"You must provide a Stripe Element or a valid token type to create a Token.\")}}(a._controller,n)(e,t)}),void 0,\"createToken\"),this.createSource=P((function(e,t){var n=Object($r.a)(e),r=Wr(n?t:e),o=r||{type:null,data:{}},i=o.type,c=o.data;if(n){var s=n._implementation._frame.id,l=n._componentName;return!r&&Object(fr.c)(l)?u.a.reject(new O.a(\"Please provide Source creation parameters to createSource.\")):a._controller.action.createSourceWithElement({frameId:s,elementName:l,type:i,sourceData:c,mids:a._mids()}).then(Kr)}return r?i?a._controller.action.createSourceWithData({elementName:null,type:i,sourceData:c,mids:a._mids()}).then(Kr):u.a.reject(new O.a(\"Please provide a source type to createSource.\")):u.a.reject(new O.a(\"Please provide either an Element or Source creation parameters to createSource.\"))}),void 0,\"createSource\"),this.retrieveSource=S((function(e){var t=Object(l.E)(Jr,{source:e},\"retrieveSource\"),n=t.value;return t.warnings.forEach((function(e){return a._controller.warn(e)})),a._controller.action.retrieveSource(n).then(Kr)}),void 0,\"retrieveSource\"),this.paymentRequest=k((function(e,t){Object(d.b)(a._keyMode);var n=a._isCheckout&&t?t:null;return xr(a._controller,{apiKey:a._apiKey,accountId:a._stripeAccount},a._mids(),e,a._betas,n,a._listenerRegistry)}),void 0,\"paymentRequest\");var i=new Ke.a,c=Object(l.E)(Qi,t||{},\"Stripe()\"),s=c.value,p=c.warnings,f=s.apiKey,m=s.stripeAccount,_=s.apiVersion,h=s.locale,b=s.__privateApiUrl,y=s.__checkout,v=s.__hosted3DS,g=s.canCreateRadarSession,j=function(e){var t=[],n=[];if(e&&e.forEach((function(e){ot.c.indexOf(e)>-1?t.push(ot.a[e]):n.push(e)})),n.length>0){var r=\"The following betas are unrecognized for Stripe() parameter:\\n\\n- \".concat(n.join(\"\\n- \"),\"\\n\\n They are either invalid or expired betas, please remove these beta flags to prevent future integration issues.\");return{validBetas:t,betaWarning:r}}return{validBetas:t}}(s.betas||null),E=j.validBetas,A=j.betaWarning;A&&p.push(A),Gr(f),(null==y?void 0:y.mids)&&(e._ec=He({checkoutIds:y.mids})),this._apiKey=f.trim(),this._keyMode=Object(d.c)(this._apiKey),this._betas=E,this._locale=dt(h,this._betas)||null,this._stripeAccount=m||null,this._isCheckout=!!y,this._attachControllerGetter(_,b,m,i),p.forEach((function(e){return a._controller.warn(e)})),Je(),this._ensureHTTPS(),this._ensureStripeHosted(n),this._attachPaymentIntentMethods(this._betas,!!v),this._attachLegacyPaymentIntentMethods(this._betas),this._attachCheckoutMethods(this._betas),this._attachPrivateMethodsForCheckout(this._isCheckout),this._attachPrivateMethodsForConsumer(xe),this._attachCreateRadarSession(g||!1),this._attachGetters(),this._attachIssuingCardMethods(this._betas),this._attachIdentityMethods(this._betas),this._attachLinkedAccounts(this._betas),this._attachAppInfo()}return Object(i.a)(e,[{key:\"_attachCreateRadarSession\",value:function(e){var t,n,r,a=this;e&&(this.createRadarSession=(t=function(){return a._midsPromise().then((function(e){return t=a._controller,n=e,t.action.createRadarSession({mids:n}).then(Bi);var t,n}))},function(){var e=this;try{return t.call(this).catch((function(t){return E(t,n||e&&e._controller,!0,r)}))}catch(e){return E(e,n||this&&this._controller,!1,r)}}))}},{key:\"_attachPaymentIntentMethods\",value:function(e,t){var n,r,a,o=this,i=function(){return o._mids()};this.createPaymentMethod=(n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Xr.apply(void 0,[o._controller,i()].concat(t))},r=void 0,a=\"createPaymentMethod\",function(e,t,o){try{return n.call(this,e,t,o)}catch(e){return E(e,r||this&&this._controller,!1,a)}}),this._createPaymentMethod=this.createPaymentMethod,this.retrievePaymentIntent=S((function(e){return function(e,t){var n=Object(ea.h)(e,\"retrievePaymentIntent\");return t.action.retrievePaymentIntent({intentSecret:n,hosted:!1}).then(Qr.g)}(e,o._controller)}),void 0,\"retrievePaymentIntent\"),this.retrieveSetupIntent=S((function(e){return function(e,t){var n=Object(ea.i)(e,\"retrieveSetupIntent\");return t.action.retrieveSetupIntent({intentSecret:n,hosted:!1}).then(Qr.h)}(e,o._controller)}),void 0,\"retrieveSetupIntent\"),this.updatePaymentIntent=tc(\"updatePaymentIntent\"),(Object(ot.d)(this._betas,ot.a.line_items_beta_1)||Object(ot.d)(this._betas,ot.a.tax_product_beta_1))&&(this.updatePaymentIntent=P((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return No.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"updatePaymentIntent\"));var c=Object(Bt.a)(Mo,ec(\"handleCardAction\"));this.handleCardAction=S((function(e){return c(e,o._controller)}),void 0,\"handleCardAction\");var s=Object(Bt.a)(ao,ec(\"confirmCardPayment\"));this.confirmCardPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmCardPayment\");var u=Object(Bt.a)(li,ec(\"confirmCardSetup\"));this.confirmCardSetup=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return u.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmCardSetup\"),this.confirmIdealPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return uo.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmIdealPayment\"),this.confirmSepaDebitPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return bo.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmSepaDebitPayment\"),this.confirmSepaDebitSetup=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return pi.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmSepaDebitSetup\"),this.confirmFpxPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return io.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmFpxPayment\"),this.confirmAlipayPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return mo.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmAlipayPayment\"),this.confirmAlipaySetup=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return _i.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmAlipaySetup\"),this.confirmAuBecsDebitPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return eo.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmAuBecsDebitPayment\"),this.confirmAuBecsDebitSetup=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return di.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmAuBecsDebitSetup\"),this.confirmBacsDebitPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return to.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmBacsDebitPayment\"),this.confirmBacsDebitSetup=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return fi.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmBacsDebitSetup\"),this.confirmBancontactPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return no.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmBancontactPayment\"),this.confirmBoletoPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ro.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmBoletoPayment\"),this.confirmEpsPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return oo.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmEpsPayment\"),this.confirmGiropayPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return co.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmGiropayPayment\"),this.confirmOxxoPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return fo.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmOxxoPayment\"),this.confirmP24Payment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return _o.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmP24Payment\"),this.confirmSofortPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return yo.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmSofortPayment\"),this.confirmIdealSetup=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return mi.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmIdealSetup\"),this.confirmSofortSetup=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return hi.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmSofortSetup\"),this.confirmBancontactSetup=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return bi.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmBancontactSetup\"),this.confirmGrabPayPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return so.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmGrabPayPayment\"),this.confirmAfterpayClearpayPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Qa.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmAfterpayClearpayPayment\"),this.verifyMicrodepositsForPayment=P((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ro.apply(void 0,[o._controller].concat(t))}),void 0,\"verifyMicrodepositsForPayment\"),this.verifyMicrodepositsForSetup=P((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ji.apply(void 0,[o._controller].concat(t))}),void 0,\"verifyMicrodepositsForSetup\"),this.confirmPayment=S((function(e){return function(e,t,n,r){var a=Ja(e,t,n,r,\"stripe.confirmPayment()\"),o=a.intentMutationRequest;return e.action.confirmPaymentIntent(o).then(Ya(e,null,!1,!1,o.otherParams.expand)).then((function(t){return t.error||\"always\"!==a.redirect?t:Object(mr.a)(Object(ea.d)(a.returnUrl,t.paymentIntent)).then((function(n){return Object(mr.b)(e,\"confirmPayment redirect\",n),Object(Qr.g)(n,t.paymentIntent)}))}))}(o._controller,i(),o._betas,e)}),void 0,\"confirmPayment\"),this.confirmSetup=S((function(e){return function(e,t,n,r){var a=Ja(e,t,n,r,\"stripe.confirmSetup()\"),o=a.intentMutationRequest;return e.action.confirmSetupIntent(o).then(ii(e,null,!1,!1,o.otherParams.expand)).then((function(t){return t.error||\"always\"!==a.redirect?t:Object(mr.a)(Object(ea.d)(a.returnUrl,t.setupIntent)).then((function(n){return Object(mr.b)(e,\"confirmSetup redirect\",n),Object(Qr.h)(n,t.setupIntent)}))}))}(o._controller,i(),o._betas,e)}),void 0,\"confirmSetup\"),this.confirmKlarnaPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return lo.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmKlarnaPayment\"),Object(ot.d)(this._betas,ot.a.us_bank_account_beta_2)&&(this.collectUsBankAccountForPayment=P((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return xo.apply(void 0,[o._controller].concat(t))}),void 0,\"collectUsBankAccountForPayment\"),this.collectUsBankAccountForSetup=P((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ei.apply(void 0,[o._controller].concat(t))}),void 0,\"collectUsBankAccountForSetup\")),Object(ot.d)(this._betas,ot.a.acss_debit_beta_1)?(this.confirmAcssDebitPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return $a.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmAcssDebitPayment\"),this.confirmAcssDebitSetup=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return si.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmAcssDebitSetup\")):(this.confirmAcssDebitPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Uo.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmAcssDebitPayment\"),this.confirmAcssDebitSetup=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Go.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmAcssDebitSetup\")),this.confirmAfterpayClearpaySetup=tc(\"confirmAfterpayClearpaySetup\"),Object(ot.d)(this._betas,ot.a.afterpay_clearpay_setup_intents_beta)&&(this.confirmAfterpayClearpaySetup=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ui.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmAfterpayClearpaySetup\")),this.confirmBlikPayment=tc(\"confirmBlikPayment\"),Object(ot.d)(this._betas,ot.a.blik_beta_1)&&(this.confirmBlikPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Eo.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmBlikPayment\")),this.confirmCustomerBalancePayment=tc(\"confirmCustomerBalancePayment\"),Object(ot.d)(this._betas,ot.a.customer_balance_beta_1)&&(this.confirmCustomerBalancePayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return wo.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmCustomerBalancePayment\")),Object(ot.d)(this._betas,ot.a.return_intents_beta_1)&&(this.confirmReturnIntent=P((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ri.apply(void 0,[o._controller].concat(t))}),void 0,\"confirmReturnIntent\")),this.confirmAffirmPayment=tc(\"confirmAffirmPayment\"),Object(ot.d)(this._betas,ot.a.affirm_pilot_beta_1)&&(this.confirmAffirmPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Xa.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmAffirmPayment\")),this.confirmKonbiniPayment=tc(\"confirmKonbiniPayment\"),Object(ot.d)(this._betas,ot.a.konbini_pm_beta_1)&&(this.confirmKonbiniPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return po.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmKonbiniPayment\")),Object(ot.d)(this._betas,ot.a.oxxo_pm_beta_1)&&(this.confirmOxxoPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return fo.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmOxxoPayment\")),this.confirmWechatPayPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Po.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmWechatPayPayment\"),Object(ot.d)(this._betas,ot.a.wechat_pay_pm_beta_1)&&(this.confirmWechatPayPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ko.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmWechatPayPayment\")),Object(ot.d)(this._betas,ot.a.wechat_pay_pm_beta_2)&&(this.confirmWechatPayPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return So.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmWechatPayPayment\")),this.confirmPayNowPayment=tc(\"confirmPayNowPayment\"),Object(ot.d)(this._betas,ot.a.paynow_beta_1)&&(this.confirmPayNowPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ao.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmPayNowPayPayment\")),this.confirmPixPayment=tc(\"confirmPixPayment\"),Object(ot.d)(this._betas,ot.a.pix_beta_1)&&(this.confirmPixPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return To.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmPixPayment\")),this.confirmPromptPayPayment=tc(\"confirmPromptPayPayment\"),Object(ot.d)(this._betas,ot.a.promptpay_beta_1)&&(this.confirmPromptPayPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Io.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmPromptPayPayment\")),this.confirmPayPalPayment=tc(\"confirmPayPalPayment\"),Object(ot.d)(this._betas,ot.a.paypal_pm_beta_1)&&(this.confirmPayPalPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ho.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmPayPalPayment\")),Object(ot.d)(this._betas,ot.a.paypal_pm_beta_1)&&(this.confirmPayPalSetup=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return vi.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmPayPalSetup\")),this.confirmUpiPayment=tc(\"confirmUpiPayment\"),Object(ot.d)(this._betas,ot.a.upi_beta_1)&&(this.confirmUpiPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return go.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmUpiPayment\")),(Object(ot.d)(this._betas,ot.a.us_bank_account_beta_1)||Object(ot.d)(this._betas,ot.a.us_bank_account_beta_2))&&(this.confirmUsBankAccountPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Oo.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmUsBankAccountPayment\"),this.confirmUsBankAccountSetup=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return gi.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmUsBankAccountSetup\")),Object(ot.d)(this._betas,ot.a.nz_bank_account_beta_1)&&(this.confirmNzBankAccountPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return jo.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmNzBankAccountPayment\"),this.confirmNzBankAccountSetup=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Oi.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmNzBankAccountSetup\")),this.confirmNetbankingPayment=tc(\"confirmNetbankingPayment\"),Object(ot.d)(this._betas,ot.a.netbanking_beta_1)&&(this.confirmNetbankingPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Co.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmNetbankingPayment\")),this.confirmInstantDebitsPilotPayment=tc(\"confirmInstantDebitsPilotPayment\"),Object(ot.d)(this._betas,ot.a.instant_debits_beta_1)&&(this.confirmInstantDebitsPilotPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Yo.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmInstantDebitsPilotPayment\")),this.linkAutofillModal=tc(\"linkAutofillModal\"),Object(ot.d)(this._betas,ot.a.link_autofill_modal_beta_1)&&(this.linkAutofillModal=w((function(e){return function(e,t){var n=function(e){throw new O.a(\"stripe.linkAutofill.\".concat(e,\" can only be called when the user is logged-in.\"))},r=!1,a=!1,o=e.createLightboxFrame({type:p.c.LINK_AUTOFILL_MODAL,options:{apiKey:e._apiKey,locale:\"en-GB\"},groupId:t._id}),i=function(){r=!0,o.show(),o.fadeInBackdrop()},c=function(){r=!1,o.fadeOutBackdrop()};o._on(\"open\",(function(){i()})),o._on(\"cancel\",(function(){c()}));var s=[];o._on(\"link-autofill-modal-authenticated\",(function(e){a=!0,s.forEach((function(t){t({value:{email:e.emailAddress}})}))}));var u=[];return o._on(\"link-autofill-modal-autofill-info\",(function(e){c(),u.forEach((function(t){t({value:{shippingAddress:e.info.shippingAddress,billingAddress:e.info.billingAddress}})}))})),{on:function(t,n){if(\"function\"!=typeof n)throw new O.a(\"stripe.linkAutofill.on: Expected the handler to be a function.\");switch(t){case\"authenticated\":s.push(w(n,e,\"authenticationHandler\"));break;case\"autofill\":u.push(w(n,e,\"autofillHandler\"));break;default:throw new O.a(\"stripe.linkAutofill.on: Expected either \'authenticated\' or \'autofill\' as an event name.\")}},launch:function(e){var t=e.email;o.send({action:\"stripe-link-autofill-modal-email-attempt\",payload:{email:t}})},show:function(){a||n(\"show\"),r||i()},logout:function(){if(a||n(\"logout\"),r)throw new O.a(\"stripe.linkAutofill.logout can only be called when the modal is closed. Did you call it from outside a click event?\");a=!1,o.send({action:\"stripe-link-autofill-modal-logout\",payload:{}})}}}(o._controller,e)}),void 0,\"linkAutofillModal\")),this.confirmIdBankTransferPayment=tc(\"confirmIdBankTransferPayment\"),this.confirmIdBankTransferSetup=tc(\"confirmIdBankTransferSetup\"),Object(ot.d)(this._betas,ot.a.id_bank_transfer_beta_1)&&(this.confirmIdBankTransferPayment=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return vo.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmIdBankTransferPayment\"),this.confirmIdBankTransferSetup=A((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return yi.apply(void 0,[o._controller,i()].concat(t))}),void 0,\"confirmIdBankTransferSetup\")),t&&(this.handleHosted3DS2Payment=S((function(e){return function(e,t){var n=Object(ea.h)(e,\"handleHosted3DS2Setup [internal]\");return t.action.retrievePaymentIntent({intentSecret:n,hosted:!0}).then(Ya(t,fr.b.card,!1,!0))}(e,o._controller)})),this.handleHosted3DS2Setup=S((function(e){return function(e,t){var n=Object(ea.i)(e,\"handleHosted3DS2Setup [internal]\");return t.action.retrieveSetupIntent({intentSecret:n,hosted:!0}).then(ii(t,fr.b.card,!1,!0))}(e,o._controller)})))}},{key:\"_attachLegacyPaymentIntentMethods\",value:function(e){var t=this,n=Object(ot.d)(this._betas,ot.a.payment_intent_beta_1)||Object(ot.d)(this._betas,ot.a.payment_intent_beta_2),r=function(){return t._mids()},a=A((function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return $o.apply(void 0,[!0,t._controller,r()].concat(n))}),void 0,\"confirmPaymentIntent\"),o=A((function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return $o.apply(void 0,[!1,t._controller,r()].concat(n))}),void 0,\"confirmPaymentIntent\"),i=Object(Bt.a)(Xo,ec(\"handleCardPayment\")),c=A((function(){for(var e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];return i.apply(void 0,[!0,t._controller,r(),n].concat(a))}),void 0,\"handleCardPayment\"),s=A((function(){for(var e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];return i.apply(void 0,[!1,t._controller,r(),n].concat(a))}),void 0,\"handleCardPayment\"),u=Object(Bt.a)(wi,ec(\"handleCardSetup\")),l=A((function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return u.apply(void 0,[t._controller,r()].concat(n))}),void 0,\"handleCardSetup\"),p=A((function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return Si.apply(void 0,[t._controller,r()].concat(n))}),void 0,\"confirmSetupIntent\"),d=A((function(){for(var e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];return Qo.apply(void 0,[t._controller,r(),n].concat(a))}),void 0,\"handleSepaDebitPayment\"),f=A((function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return ki.apply(void 0,[t._controller,r()].concat(n))}),void 0,\"handleSepaDebitSetup\"),m=A((function(){for(var e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];return ei.apply(void 0,[!0,t._controller,r(),n].concat(a))}),void 0,\"handleIdealPayment\"),_=A((function(){for(var e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];return ei.apply(void 0,[!1,t._controller,r(),n].concat(a))}),void 0,\"handleIdealPayment\"),h=A((function(){for(var e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];return ti.apply(void 0,[t._controller,r(),n].concat(a))}),void 0,\"handleFpxPayment\");this.handleCardPayment=s,this.confirmPaymentIntent=o,this.handleCardSetup=l,this.confirmSetupIntent=p,this.fulfillPaymentIntent=tc(\"fulfillPaymentIntent\"),this.handleSepaDebitPayment=tc(\"handleSepaDebitPayment\"),this.handleSepaDebitSetup=tc(\"handleSepaDebitSetup\"),this.handleIdealPayment=tc(\"handleIdealPayment\"),this.handleFpxPayment=tc(\"handleFpxPayment\"),Object(ot.d)(this._betas,ot.a.payment_intent_beta_1)?this.fulfillPaymentIntent=c:(Object(ot.d)(this._betas,ot.a.payment_intent_beta_3)||Object(ot.d)(this._betas,ot.a.payment_intent_beta_2))&&(this.handleCardPayment=c),Object(ot.d)(this._betas,ot.a.payment_intent_beta_3)&&(this.confirmPaymentIntent=a,this.handleIdealPayment=m,this.handleSepaDebitPayment=d),Object(ot.d)(this._betas,ot.a.fpx_bank_beta_1)&&(this.handleFpxPayment=h),Object(ot.d)(this._betas,ot.a.ideal_pm_beta_1)&&(this.handleIdealPayment=_),Object(ot.d)(this._betas,ot.a.sepa_pm_beta_1)&&(this.handleSepaDebitPayment=d,this.handleSepaDebitSetup=f)}},{key:\"_attachPrivateMethodsForCheckout\",value:function(e){var t=this;e&&(this.sendInteractionEvent=We,this.tryNextAction=P((function(e,n){var r=Object(l.E)(tr.e,e,\"Payment Intent\").value,o=Object.keys(fr.b).map((function(e){return fr.b[e]})),i=Object(l.E)(l.q.apply(void 0,Object(a.a)(o)),n,\"Source type\").value;return\"payment_intent\"===r.object?Ha(t._controller,r,i,\"auto\",!1):oi(t._controller,r,i,\"auto\",!1)})))}},{key:\"_attachCheckoutMethods\",value:function(e){var t=this,n=function(){return t._mids()},r=e.reduce((function(e,t){var n=Object(we.a)(Mi.a,(function(e){return e===t}));return n?[].concat(Object(a.a)(e),[n]):e}),[]);this.redirectToCheckout=function(e){return Object(Li.a)(t._controller,r,n,t._locale,e)}}},{key:\"_attachPrivateMethodsForConsumer\",value:function(e){var t=this;e&&(this.__createConsumerPaymentDetails=P((function(e,n){var r,a={};if(!n.email)return u.a.reject(new O.a(\"You must pass email\"));if(!e)return u.a.reject(new O.a(\"You must pass a clientSecret\"));if(n.cardElement){if(!n.billing_details||!n.billing_details.country_code)return u.a.reject(new O.a(\"You must pass in billing_details.country_code if you are using the Card Element\"));var o=Object($r.a)(n.cardElement);if(!o)return u.a.reject(new O.a(\"Card Element is invalid\"));var i=o._implementation._frame.id,c=o._componentName;if(\"card\"!==c&&\"cardNumber\"!==c)return u.a.reject(new O.a(\"Please provide a Card Element to __createConsumerPaymentDetails\"));a={frameId:i,elementName:c,billingDetails:n.billing_details}}else if(n.elements){var s;a={elementsId:null==n||null===(s=n.elements)||void 0===s?void 0:s._id,billingDetails:(null==n?void 0:n.billing_details)||{}}}return a.elementsId?t._controller.action.createConsumerPaymentDetails({email:n.email,clientSecret:e,billingDetails:a.billingDetails,isDefault:!!n.is_default,elementsId:a.elementsId}):a.frameId&&a.elementName&&(null==n||null===(r=n.billing_details)||void 0===r?void 0:r.country_code)?t._controller.action.createConsumerPaymentDetails({email:n.email,clientSecret:e,billingDetails:a.billingDetails,isDefault:!!n.is_default,frameId:a.frameId,elementName:a.elementName}):u.a.reject(new O.a(\"Please provide either an Elements or Card Element creation parameters to __createConsumerPaymentDetails.\"))}),void 0,\"__createConsumerPaymentDetails\"))}},{key:\"_attachGetters\",value:function(){var e=this,t=new Yr((function(t){e._registerWrapper({name:t,version:null})}));[\"elements\",\"createToken\",\"createSource\",\"createPaymentMethod\"].forEach((function(n){if(e.hasOwnProperty(n)){var r=e[n],a=function(){t.called(n);for(var e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];return r.apply(this,a)};Object.defineProperty(e,n,{enumerable:!0,get:function(){return t.got(n),a}})}}))}},{key:\"_attachIssuingCardMethods\",value:function(e){var t=this;this.retrieveIssuingCard=nc(\"retrieveIssuingCard\"),this.createEphemeralKeyNonce=nc(\"createEphemeralKeyNonce\"),Object(ot.d)(this._betas,ot.a.issuing_elements_1)?this.retrieveIssuingCard=P((function(e,n){return function(e,t,n){var r=Ti(e,\"retrieveIssuingCard\"),a=Ci(t,\"retrieveIssuingCard\");return n.action.retrieveIssuingCardWithoutNonce({cardId:r,ephemeralKeySecret:a}).then(qn)}(e,n,t._controller)})):Object(ot.d)(this._betas,ot.a.issuing_elements_2)&&(this.retrieveIssuingCard=P((function(e,n){return function(e,t,n){var r=Ti(e,\"retrieveIssuingCard\"),a=Ri(t);return n.action.retrieveIssuingCard({cardId:r,ephemeralKeySecret:a.ephemeralKeySecret,publicNonce:a.publicNonce}).then(qn)}(e,n,t._controller)})),this.createEphemeralKeyNonce=S((function(e){return xi(e,t._controller)})))}},{key:\"_attachIdentityMethods\",value:function(e){var t=this;this.verifyIdentity=S((function(e){return Pi(e,t._controller)}))}},{key:\"_attachControllerGetter\",value:function(t,n,a,o){var i,c=this,s=[],u=document.readyState;Object.defineProperties(this,{_registerWrapper:{enumerable:!1,configurable:!0,writable:!1,value:function(e){s.push(e)}},_controller:{enumerable:!0,configurable:!0,get:function(){return function(){if(i)return i;var l=document.readyState;return i=new tt(Object(r.a)({apiKey:c._apiKey,apiVersion:c._injectBetaHeader(t),__privateApiUrl:n,stripeAccount:a,betas:c._betas,stripeJsId:e.stripeJsId,stripeJsLoadTimestamp:Wi,stripeCreateTimestamp:o,onFirstLoad:function(){try{Xi(i,u,l)}catch(e){}},listenerRegistry:c._listenerRegistry},c._locale?{locale:c._locale}:{})),Object.defineProperties(c,{_registerWrapper:{value:ac,writable:!1,enumerable:!1,configurable:!0},_controller:{value:i,writable:!0,enumerable:!0,configurable:!0}}),s.forEach((function(e){return c._registerWrapper(e)})),s.splice(0),i}()}}})}},{key:\"_attachLinkedAccounts\",value:function(e){var t=this;this.linkAccounts=function(){throw new O.a(\"You cannot call `stripe.linkAccounts` without supplying a LinkedAccounts beta flag when initializing Stripe.js.\")},Object(ot.d)(e,ot.a.linked_accounts_beta_1)&&(this.linkAccounts=P((function(e,n){return function(e,t,n){return vr(Object(r.a)({linkAccountSessionCreatorClientSecret:e,linkAccountSessionCreatorType:\"link_account_session\",controller:t},n))}(e,t._controller,n)})))}},{key:\"_attachAppInfo\",value:function(){var e=this;this.registerAppInfo=w((function(t){var n=Object(l.F)(Lr,t,\"WrapperLibrary\");\"error\"!==n.type?e._controller.registerAppInfo(n.value):e._controller.warn(\"Failed to register your library: \".concat(n.error.message))}))}},{key:\"_injectBetaHeader\",value:function(e){if(Object(ot.d)(this._betas,ot.a.us_bank_account_beta_1)||Object(ot.d)(this._betas,ot.a.us_bank_account_beta_2)){var t=Object(ot.d)(this._betas,ot.a.us_bank_account_beta_1)?\"v1\":\"v2\";return e?-1!==e.indexOf(\"us_bank_account_beta\")?e:\"\".concat(e,\"; us_bank_account_beta=\").concat(t):\"2020-08-27; us_bank_account_beta=\".concat(t)}return e}},{key:\"_ensureHTTPS\",value:function(){var e=window.location.protocol,t=-1!==[\"localhost\",\"127.0.0.1\",\"0.0.0.0\"].indexOf(window.location.hostname),n=!0===window.isSecureContext&&!t||-1!==[\"https:\",\"file:\",\"ionic:\",\"httpsionic:\",\"chrome-extension:\",\"moz-extension:\"].indexOf(e),r=this._keyMode===d.a.live,a=\"Live Stripe.js integrations must use HTTPS. For more information: https://stripe.com/docs/security/guide#tls\";if(!n){if(r&&!t)throw this._controller.report(\"user_error.non_https_error\",{protocol:e}),new O.a(a);!r||t?window.console&&console.warn(\"You may test your Stripe.js integration over HTTP. However, live Stripe.js integrations must use HTTPS.\"):window.console&&console.warn(a)}}},{key:\"_ensureStripeHosted\",value:function(e){if(!e)throw this._controller.report(\"user_error.self_hosted\"),new O.a(\"Stripe.js must be loaded from js.stripe.com. For more information https://stripe.com/docs/stripe-js/reference#including-stripejs\")}},{key:\"_mids\",value:function(){return e._ec?e._ec.ids():null}},{key:\"_midsPromise\",value:function(){return e._ec?e._ec.idsPromise():u.a.resolve(this._mids())}}]),e}();rc.version=3,rc.stripeJsId=h(),rc._ec=(Zi=new RegExp(\"\".concat(document.location.protocol,\"//\").concat(document.location.host)),\"https://checkout.stripe.com/\".match(Zi)?null:He());var ac=function(e){var t=Object(l.F)(Mr,e,\"StripeWrapperLibrary\");if(\"error\"!==t.type){var n=t.value,r=n.name,a=n.version,o=n.startTime;this._controller.registerWrapper({name:r,version:a,startTime:o})}else this._controller.report(\"register_wrapper.error\",{error:t.error.message})},oc=rc,ic=function(){if(document.currentScript){var e=Object(at.d)(document.currentScript.src);return!e||Object(me.c)(e.origin)}return!0}(),cc=function(e,t){return new oc(Object(r.a)({apiKey:e},t&&\"object\"==typeof t?t:{}),ic)};cc.version=oc.version,window.Stripe&&2===window.Stripe.version&&!window.Stripe.StripeV3?window.Stripe.StripeV3=cc:window.Stripe?window.console&&console.warn(\"It looks like Stripe.js was loaded more than one time. Please only load it once per page.\"):window.Stripe=cc;t.default=cc}])','5a63e2b9519b1569d1589341b13c2d45',0,0,'2022-01-25 08:36:49','2022-01-25 20:09:20'),(3258,'https://kidlife.hu/wp-content/plugins/activecampaign-subscription-forms/site_tracking.js?ver=5.8.3','js','','if(typeof(php_data.ac_settings.site_tracking)!=\"undefined\"&&php_data.ac_settings.site_tracking==\"1\"){if(typeof(php_data.ac_settings.tracking_actid)===\"undefined\"||php_data.ac_settings.tracking_actid===\'\'){console.log(\'Site tracking account not found\')}else{(function(e,t,o,n,p,r,i){e.visitorGlobalObjectAlias=n;e[e.visitorGlobalObjectAlias]=e[e.visitorGlobalObjectAlias]||function(){(e[e.visitorGlobalObjectAlias].q=e[e.visitorGlobalObjectAlias].q||[]).push(arguments)};e[e.visitorGlobalObjectAlias].l=(new Date).getTime();r=t.createElement(\"script\");r.src=o;r.async=!0;i=t.getElementsByTagName(\"script\")[0];i.parentNode.insertBefore(r,i)})(window,document,\"https://diffuser-cdn.app-us1.com/diffuser/diffuser.js\",\"vgo\");vgo(\'setAccount\',php_data.ac_settings.tracking_actid);vgo(\'setTrackByDefault\',php_data.ac_settings.site_tracking_default==\"1\");if(typeof trackcmp_email!==\'undefined\'){vgo(\'setEmail\',trackcmp_email)}\nvgo(\'process\');function acEnableTracking(){let expiration=new Date(new Date().getTime()+1000*60*60*24*30);document.cookie=\"ac_enable_tracking=1;samesite=none;secure; expires= \"+expiration+\"; path=/\";vgo(\'process\',\'allowTracking\')}\nif(php_data.ac_settings.site_tracking_default==\"1\"||/(^|; )ac_enable_tracking=([^;]+)/.test(document.cookie)){acEnableTracking()}}}','0febc2b24211e67226377aaa1662c684',0,0,'0000-00-00 00:00:00','2022-01-25 22:05:55'),(3259,'https://kidlife.hu/wp-includes/js/underscore.min.js?ver=5.8.3','js','','/*! This file is auto-generated */\n!function(n,r){var t,e;\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=r():\"function\"==typeof define&&define.amd?define(\"underscore\",r):(n=\"undefined\"!=typeof globalThis?globalThis:n||self,t=n._,(e=n._=r()).noConflict=function(){return n._=t,e})}(this,function(){var n=\"1.13.1\",r=\"object\"==typeof self&&self.self===self&&self||\"object\"==typeof global&&global.global===global&&global||Function(\"return this\")()||{},e=Array.prototype,o=Object.prototype,s=\"undefined\"!=typeof Symbol?Symbol.prototype:null,u=e.push,a=e.slice,p=o.toString,t=o.hasOwnProperty,i=\"undefined\"!=typeof ArrayBuffer,f=\"undefined\"!=typeof DataView,c=Array.isArray,l=Object.keys,h=Object.create,v=i&&ArrayBuffer.isView,y=isNaN,d=isFinite,g=!{toString:null}.propertyIsEnumerable(\"toString\"),b=[\"valueOf\",\"isPrototypeOf\",\"toString\",\"propertyIsEnumerable\",\"hasOwnProperty\",\"toLocaleString\"],m=Math.pow(2,53)-1;function j(u,i){return i=null==i?u.length-1:+i,function(){for(var n=Math.max(arguments.length-i,0),r=Array(n),t=0;t<n;t++)r[t]=arguments[t+i];switch(i){case 0:return u.call(this,r);case 1:return u.call(this,arguments[0],r);case 2:return u.call(this,arguments[0],arguments[1],r)}for(var e=Array(i+1),t=0;t<i;t++)e[t]=arguments[t];return e[i]=r,u.apply(this,e)}}function _(n){var r=typeof n;return\"function\"==r||\"object\"==r&&!!n}function w(n){return void 0===n}function A(n){return!0===n||!1===n||\"[object Boolean]\"===p.call(n)}function x(n){var r=\"[object \"+n+\"]\";return function(n){return p.call(n)===r}}var S=x(\"String\"),O=x(\"Number\"),M=x(\"Date\"),E=x(\"RegExp\"),B=x(\"Error\"),N=x(\"Symbol\"),I=x(\"ArrayBuffer\"),T=x(\"Function\"),k=r.document&&r.document.childNodes,D=T=\"function\"!=typeof/./&&\"object\"!=typeof Int8Array&&\"function\"!=typeof k?function(n){return\"function\"==typeof n||!1}:T,R=x(\"Object\"),F=f&&R(new DataView(new ArrayBuffer(8))),V=\"undefined\"!=typeof Map&&R(new Map),P=x(\"DataView\");var q=F?function(n){return null!=n&&D(n.getInt8)&&I(n.buffer)}:P,U=c||x(\"Array\");function W(n,r){return null!=n&&t.call(n,r)}var z=x(\"Arguments\");!function(){z(arguments)||(z=function(n){return W(n,\"callee\")})}();var L=z;function $(n){return O(n)&&y(n)}function C(n){return function(){return n}}function K(r){return function(n){n=r(n);return\"number\"==typeof n&&0<=n&&n<=m}}function J(r){return function(n){return null==n?void 0:n[r]}}var G=J(\"byteLength\"),H=K(G),Q=/\\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\\]/;var X=i?function(n){return v?v(n)&&!q(n):H(n)&&Q.test(p.call(n))}:C(!1),Y=J(\"length\");function Z(n,r){r=function(r){for(var t={},n=r.length,e=0;e<n;++e)t[r[e]]=!0;return{contains:function(n){return t[n]},push:function(n){return t[n]=!0,r.push(n)}}}(r);var t=b.length,e=n.constructor,u=D(e)&&e.prototype||o,i=\"constructor\";for(W(n,i)&&!r.contains(i)&&r.push(i);t--;)(i=b[t])in n&&n[i]!==u[i]&&!r.contains(i)&&r.push(i)}function nn(n){if(!_(n))return[];if(l)return l(n);var r,t=[];for(r in n)W(n,r)&&t.push(r);return g&&Z(n,t),t}function rn(n,r){var t=nn(r),e=t.length;if(null==n)return!e;for(var u=Object(n),i=0;i<e;i++){var o=t[i];if(r[o]!==u[o]||!(o in u))return!1}return!0}function tn(n){return n instanceof tn?n:this instanceof tn?void(this._wrapped=n):new tn(n)}function en(n){return new Uint8Array(n.buffer||n,n.byteOffset||0,G(n))}tn.VERSION=n,tn.prototype.valueOf=tn.prototype.toJSON=tn.prototype.value=function(){return this._wrapped},tn.prototype.toString=function(){return String(this._wrapped)};var un=\"[object DataView]\";function on(n,r,t,e){if(n===r)return 0!==n||1/n==1/r;if(null==n||null==r)return!1;if(n!=n)return r!=r;var u=typeof n;return(\"function\"==u||\"object\"==u||\"object\"==typeof r)&&function n(r,t,e,u){r instanceof tn&&(r=r._wrapped);t instanceof tn&&(t=t._wrapped);var i=p.call(r);if(i!==p.call(t))return!1;if(F&&\"[object Object]\"==i&&q(r)){if(!q(t))return!1;i=un}switch(i){case\"[object RegExp]\":case\"[object String]\":return\"\"+r==\"\"+t;case\"[object Number]\":return+r!=+r?+t!=+t:0==+r?1/+r==1/t:+r==+t;case\"[object Date]\":case\"[object Boolean]\":return+r==+t;case\"[object Symbol]\":return s.valueOf.call(r)===s.valueOf.call(t);case\"[object ArrayBuffer]\":case un:return n(en(r),en(t),e,u)}var o=\"[object Array]\"===i;if(!o&&X(r)){var f=G(r);if(f!==G(t))return!1;if(r.buffer===t.buffer&&r.byteOffset===t.byteOffset)return!0;o=!0}if(!o){if(\"object\"!=typeof r||\"object\"!=typeof t)return!1;i=r.constructor,f=t.constructor;if(i!==f&&!(D(i)&&i instanceof i&&D(f)&&f instanceof f)&&\"constructor\"in r&&\"constructor\"in t)return!1}e=e||[];u=u||[];var a=e.length;for(;a--;)if(e[a]===r)return u[a]===t;e.push(r);u.push(t);if(o){if((a=r.length)!==t.length)return!1;for(;a--;)if(!on(r[a],t[a],e,u))return!1}else{var c,l=nn(r);if(a=l.length,nn(t).length!==a)return!1;for(;a--;)if(c=l[a],!W(t,c)||!on(r[c],t[c],e,u))return!1}e.pop();u.pop();return!0}(n,r,t,e)}function fn(n){if(!_(n))return[];var r,t=[];for(r in n)t.push(r);return g&&Z(n,t),t}function an(e){var u=Y(e);return function(n){if(null==n)return!1;var r=fn(n);if(Y(r))return!1;for(var t=0;t<u;t++)if(!D(n[e[t]]))return!1;return e!==hn||!D(n[cn])}}var cn=\"forEach\",ln=[\"clear\",\"delete\"],sn=[\"get\",\"has\",\"set\"],pn=ln.concat(cn,sn),hn=ln.concat(sn),vn=[\"add\"].concat(ln,cn,\"has\"),yn=V?an(pn):x(\"Map\"),dn=V?an(hn):x(\"WeakMap\"),gn=V?an(vn):x(\"Set\"),bn=x(\"WeakSet\");function mn(n){for(var r=nn(n),t=r.length,e=Array(t),u=0;u<t;u++)e[u]=n[r[u]];return e}function jn(n){for(var r={},t=nn(n),e=0,u=t.length;e<u;e++)r[n[t[e]]]=t[e];return r}function _n(n){var r,t=[];for(r in n)D(n[r])&&t.push(r);return t.sort()}function wn(a,c){return function(n){var r=arguments.length;if(c&&(n=Object(n)),r<2||null==n)return n;for(var t=1;t<r;t++)for(var e=arguments[t],u=a(e),i=u.length,o=0;o<i;o++){var f=u[o];c&&void 0!==n[f]||(n[f]=e[f])}return n}}var An=wn(fn),xn=wn(nn),Sn=wn(fn,!0);function On(n){if(!_(n))return{};if(h)return h(n);var r=function(){};r.prototype=n;n=new r;return r.prototype=null,n}function Mn(n){return _(n)?U(n)?n.slice():An({},n):n}function En(n){return U(n)?n:[n]}function Bn(n){return tn.toPath(n)}function Nn(n,r){for(var t=r.length,e=0;e<t;e++){if(null==n)return;n=n[r[e]]}return t?n:void 0}function In(n,r,t){r=Nn(n,Bn(r));return w(r)?t:r}function Tn(n){return n}function kn(r){return r=xn({},r),function(n){return rn(n,r)}}function Dn(r){return r=Bn(r),function(n){return Nn(n,r)}}function Rn(u,i,n){if(void 0===i)return u;switch(null==n?3:n){case 1:return function(n){return u.call(i,n)};case 3:return function(n,r,t){return u.call(i,n,r,t)};case 4:return function(n,r,t,e){return u.call(i,n,r,t,e)}}return function(){return u.apply(i,arguments)}}function Fn(n,r,t){return null==n?Tn:D(n)?Rn(n,r,t):(_(n)&&!U(n)?kn:Dn)(n)}function Vn(n,r){return Fn(n,r,1/0)}function Pn(n,r,t){return tn.iteratee!==Vn?tn.iteratee(n,r):Fn(n,r,t)}function qn(){}function Un(n,r){return null==r&&(r=n,n=0),n+Math.floor(Math.random()*(r-n+1))}tn.toPath=En,tn.iteratee=Vn;var Wn=Date.now||function(){return(new Date).getTime()};function zn(r){function t(n){return r[n]}var n=\"(?:\"+nn(r).join(\"|\")+\")\",e=RegExp(n),u=RegExp(n,\"g\");return function(n){return e.test(n=null==n?\"\":\"\"+n)?n.replace(u,t):n}}var Ln={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",\'\"\':\"&quot;\",\"\'\":\"&#x27;\",\"`\":\"&#x60;\"},$n=zn(Ln),Cn=zn(jn(Ln)),Kn=tn.templateSettings={evaluate:/<%([\\s\\S]+?)%>/g,interpolate:/<%=([\\s\\S]+?)%>/g,escape:/<%-([\\s\\S]+?)%>/g},Jn=/(.)^/,Gn={\"\'\":\"\'\",\"\\\\\":\"\\\\\",\"\\r\":\"r\",\"\\n\":\"n\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},Hn=/\\\\|\'|\\r|\\n|\\u2028|\\u2029/g;function Qn(n){return\"\\\\\"+Gn[n]}var Xn=/^\\s*(\\w|\\$)+\\s*$/;var Yn=0;function Zn(n,r,t,e,u){if(!(e instanceof r))return n.apply(t,u);t=On(n.prototype),u=n.apply(t,u);return _(u)?u:t}var nr=j(function(u,i){var o=nr.placeholder,f=function(){for(var n=0,r=i.length,t=Array(r),e=0;e<r;e++)t[e]=i[e]===o?arguments[n++]:i[e];for(;n<arguments.length;)t.push(arguments[n++]);return Zn(u,f,this,this,t)};return f});nr.placeholder=tn;var rr=j(function(r,t,e){if(!D(r))throw new TypeError(\"Bind must be called on a function\");var u=j(function(n){return Zn(r,u,t,this,e.concat(n))});return u}),tr=K(Y);function er(n,r,t,e){if(e=e||[],r||0===r){if(r<=0)return e.concat(n)}else r=1/0;for(var u=e.length,i=0,o=Y(n);i<o;i++){var f=n[i];if(tr(f)&&(U(f)||L(f)))if(1<r)er(f,r-1,t,e),u=e.length;else for(var a=0,c=f.length;a<c;)e[u++]=f[a++];else t||(e[u++]=f)}return e}var ur=j(function(n,r){var t=(r=er(r,!1,!1)).length;if(t<1)throw new Error(\"bindAll must be passed function names\");for(;t--;){var e=r[t];n[e]=rr(n[e],n)}return n});var ir=j(function(n,r,t){return setTimeout(function(){return n.apply(null,t)},r)}),or=nr(ir,tn,1);function fr(n){return function(){return!n.apply(this,arguments)}}function ar(n,r){var t;return function(){return 0<--n&&(t=r.apply(this,arguments)),n<=1&&(r=null),t}}r=nr(ar,2);function cr(n,r,t){r=Pn(r,t);for(var e,u=nn(n),i=0,o=u.length;i<o;i++)if(r(n[e=u[i]],e,n))return e}function lr(i){return function(n,r,t){r=Pn(r,t);for(var e=Y(n),u=0<i?0:e-1;0<=u&&u<e;u+=i)if(r(n[u],u,n))return u;return-1}}var sr=lr(1),k=lr(-1);function pr(n,r,t,e){for(var u=(t=Pn(t,e,1))(r),i=0,o=Y(n);i<o;){var f=Math.floor((i+o)/2);t(n[f])<u?i=f+1:o=f}return i}function hr(i,o,f){return function(n,r,t){var e=0,u=Y(n);if(\"number\"==typeof t)0<i?e=0<=t?t:Math.max(t+u,e):u=0<=t?Math.min(t+1,u):t+u+1;else if(f&&t&&u)return n[t=f(n,r)]===r?t:-1;if(r!=r)return 0<=(t=o(a.call(n,e,u),$))?t+e:-1;for(t=0<i?e:u-1;0<=t&&t<u;t+=i)if(n[t]===r)return t;return-1}}var vr=hr(1,sr,pr),T=hr(-1,k);function yr(n,r,t){t=(tr(n)?sr:cr)(n,r,t);if(void 0!==t&&-1!==t)return n[t]}function dr(n,r,t){if(r=Rn(r,t),tr(n))for(u=0,i=n.length;u<i;u++)r(n[u],u,n);else for(var e=nn(n),u=0,i=e.length;u<i;u++)r(n[e[u]],e[u],n);return n}function gr(n,r,t){r=Pn(r,t);for(var e=!tr(n)&&nn(n),u=(e||n).length,i=Array(u),o=0;o<u;o++){var f=e?e[o]:o;i[o]=r(n[f],f,n)}return i}function br(a){return function(n,r,t,e){var u=3<=arguments.length;return function(n,r,t,e){var u=!tr(n)&&nn(n),i=(u||n).length,o=0<a?0:i-1;for(e||(t=n[u?u[o]:o],o+=a);0<=o&&o<i;o+=a){var f=u?u[o]:o;t=r(t,n[f],f,n)}return t}(n,Rn(r,e,4),t,u)}}f=br(1),R=br(-1);function mr(n,e,r){var u=[];return e=Pn(e,r),dr(n,function(n,r,t){e(n,r,t)&&u.push(n)}),u}function jr(n,r,t){r=Pn(r,t);for(var e=!tr(n)&&nn(n),u=(e||n).length,i=0;i<u;i++){var o=e?e[i]:i;if(!r(n[o],o,n))return!1}return!0}function _r(n,r,t){r=Pn(r,t);for(var e=!tr(n)&&nn(n),u=(e||n).length,i=0;i<u;i++){var o=e?e[i]:i;if(r(n[o],o,n))return!0}return!1}function wr(n,r,t,e){return tr(n)||(n=mn(n)),0<=vr(n,r,t=\"number\"!=typeof t||e?0:t)}P=j(function(n,t,e){var u,i;return D(t)?i=t:(t=Bn(t),u=t.slice(0,-1),t=t[t.length-1]),gr(n,function(n){var r=i;if(!r){if(null==(n=u&&u.length?Nn(n,u):n))return;r=n[t]}return null==r?r:r.apply(n,e)})});function Ar(n,r){return gr(n,Dn(r))}function xr(n,e,r){var t,u,i=-1/0,o=-1/0;if(null==e||\"number\"==typeof e&&\"object\"!=typeof n[0]&&null!=n)for(var f=0,a=(n=tr(n)?n:mn(n)).length;f<a;f++)null!=(t=n[f])&&i<t&&(i=t);else e=Pn(e,r),dr(n,function(n,r,t){u=e(n,r,t),(o<u||u===-1/0&&i===-1/0)&&(i=n,o=u)});return i}function Sr(n,r,t){if(null==r||t)return(n=!tr(n)?mn(n):n)[Un(n.length-1)];var e=(tr(n)?Mn:mn)(n),n=Y(e);r=Math.max(Math.min(r,n),0);for(var u=n-1,i=0;i<r;i++){var o=Un(i,u),f=e[i];e[i]=e[o],e[o]=f}return e.slice(0,r)}function Or(i,r){return function(t,e,n){var u=r?[[],[]]:{};return e=Pn(e,n),dr(t,function(n,r){r=e(n,r,t);i(u,n,r)}),u}}var c=Or(function(n,r,t){W(n,t)?n[t].push(r):n[t]=[r]}),i=Or(function(n,r,t){n[t]=r}),sn=Or(function(n,r,t){W(n,t)?n[t]++:n[t]=1}),ln=Or(function(n,r,t){n[t?0:1].push(r)},!0),Mr=/[^\\ud800-\\udfff]|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\ud800-\\udfff]/g;function Er(n,r,t){return r in t}var Br=j(function(n,r){var t={},e=r[0];if(null==n)return t;D(e)?(1<r.length&&(e=Rn(e,r[1])),r=fn(n)):(e=Er,r=er(r,!1,!1),n=Object(n));for(var u=0,i=r.length;u<i;u++){var o=r[u],f=n[o];e(f,o,n)&&(t[o]=f)}return t}),pn=j(function(n,t){var r,e=t[0];return D(e)?(e=fr(e),1<t.length&&(r=t[1])):(t=gr(er(t,!1,!1),String),e=function(n,r){return!wr(t,r)}),Br(n,e,r)});function Nr(n,r,t){return a.call(n,0,Math.max(0,n.length-(null==r||t?1:r)))}function Ir(n,r,t){return null==n||n.length<1?null==r||t?void 0:[]:null==r||t?n[0]:Nr(n,n.length-r)}function Tr(n,r,t){return a.call(n,null==r||t?1:r)}var kr=j(function(n,r){return r=er(r,!0,!0),mr(n,function(n){return!wr(r,n)})}),V=j(function(n,r){return kr(n,r)});function Dr(n,r,t,e){A(r)||(e=t,t=r,r=!1),null!=t&&(t=Pn(t,e));for(var u=[],i=[],o=0,f=Y(n);o<f;o++){var a=n[o],c=t?t(a,o,n):a;r&&!t?(o&&i===c||u.push(a),i=c):t?wr(i,c)||(i.push(c),u.push(a)):wr(u,a)||u.push(a)}return u}vn=j(function(n){return Dr(er(n,!0,!0))});function Rr(n){for(var r=n&&xr(n,Y).length||0,t=Array(r),e=0;e<r;e++)t[e]=Ar(n,e);return t}Ln=j(Rr);function Fr(n,r){return n._chain?tn(r).chain():r}function Vr(t){return dr(_n(t),function(n){var r=tn[n]=t[n];tn.prototype[n]=function(){var n=[this._wrapped];return u.apply(n,arguments),Fr(this,r.apply(tn,n))}}),tn}dr([\"pop\",\"push\",\"reverse\",\"shift\",\"sort\",\"splice\",\"unshift\"],function(r){var t=e[r];tn.prototype[r]=function(){var n=this._wrapped;return null!=n&&(t.apply(n,arguments),\"shift\"!==r&&\"splice\"!==r||0!==n.length||delete n[0]),Fr(this,n)}}),dr([\"concat\",\"join\",\"slice\"],function(n){var r=e[n];tn.prototype[n]=function(){var n=this._wrapped;return Fr(this,n=null!=n?r.apply(n,arguments):n)}});Ln=Vr({__proto__:null,VERSION:n,restArguments:j,isObject:_,isNull:function(n){return null===n},isUndefined:w,isBoolean:A,isElement:function(n){return!(!n||1!==n.nodeType)},isString:S,isNumber:O,isDate:M,isRegExp:E,isError:B,isSymbol:N,isArrayBuffer:I,isDataView:q,isArray:U,isFunction:D,isArguments:L,isFinite:function(n){return!N(n)&&d(n)&&!isNaN(parseFloat(n))},isNaN:$,isTypedArray:X,isEmpty:function(n){if(null==n)return!0;var r=Y(n);return\"number\"==typeof r&&(U(n)||S(n)||L(n))?0===r:0===Y(nn(n))},isMatch:rn,isEqual:function(n,r){return on(n,r)},isMap:yn,isWeakMap:dn,isSet:gn,isWeakSet:bn,keys:nn,allKeys:fn,values:mn,pairs:function(n){for(var r=nn(n),t=r.length,e=Array(t),u=0;u<t;u++)e[u]=[r[u],n[r[u]]];return e},invert:jn,functions:_n,methods:_n,extend:An,extendOwn:xn,assign:xn,defaults:Sn,create:function(n,r){return n=On(n),r&&xn(n,r),n},clone:Mn,tap:function(n,r){return r(n),n},get:In,has:function(n,r){for(var t=(r=Bn(r)).length,e=0;e<t;e++){var u=r[e];if(!W(n,u))return!1;n=n[u]}return!!t},mapObject:function(n,r,t){r=Pn(r,t);for(var e=nn(n),u=e.length,i={},o=0;o<u;o++){var f=e[o];i[f]=r(n[f],f,n)}return i},identity:Tn,constant:C,noop:qn,toPath:En,property:Dn,propertyOf:function(r){return null==r?qn:function(n){return In(r,n)}},matcher:kn,matches:kn,times:function(n,r,t){var e=Array(Math.max(0,n));r=Rn(r,t,1);for(var u=0;u<n;u++)e[u]=r(u);return e},random:Un,now:Wn,escape:$n,unescape:Cn,templateSettings:Kn,template:function(i,n,r){n=Sn({},n=!n&&r?r:n,tn.templateSettings);var t,r=RegExp([(n.escape||Jn).source,(n.interpolate||Jn).source,(n.evaluate||Jn).source].join(\"|\")+\"|$\",\"g\"),o=0,f=\"__p+=\'\";if(i.replace(r,function(n,r,t,e,u){return f+=i.slice(o,u).replace(Hn,Qn),o=u+n.length,r?f+=\"\'+\\n((__t=(\"+r+\"))==null?\'\':_.escape(__t))+\\n\'\":t?f+=\"\'+\\n((__t=(\"+t+\"))==null?\'\':__t)+\\n\'\":e&&(f+=\"\';\\n\"+e+\"\\n__p+=\'\"),n}),f+=\"\';\\n\",r=n.variable){if(!Xn.test(r))throw new Error(\"variable is not a bare identifier: \"+r)}else f=\"with(obj||{}){\\n\"+f+\"}\\n\",r=\"obj\";f=\"var __t,__p=\'\',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,\'\');};\\n\"+f+\"return __p;\\n\";try{t=new Function(r,\"_\",f)}catch(n){throw n.source=f,n}return(n=function(n){return t.call(this,n,tn)}).source=\"function(\"+r+\"){\\n\"+f+\"}\",n},result:function(n,r,t){var e=(r=Bn(r)).length;if(!e)return D(t)?t.call(n):t;for(var u=0;u<e;u++){var i=null==n?void 0:n[r[u]];void 0===i&&(i=t,u=e),n=D(i)?i.call(n):i}return n},uniqueId:function(n){var r=++Yn+\"\";return n?n+r:r},chain:function(n){return(n=tn(n))._chain=!0,n},iteratee:Vn,partial:nr,bind:rr,bindAll:ur,memoize:function(e,u){var i=function(n){var r=i.cache,t=\"\"+(u?u.apply(this,arguments):n);return W(r,t)||(r[t]=e.apply(this,arguments)),r[t]};return i.cache={},i},delay:ir,defer:or,throttle:function(t,e,u){var i,o,f,a,c=0;function l(){c=!1===u.leading?0:Wn(),i=null,a=t.apply(o,f),i||(o=f=null)}function n(){var n=Wn();c||!1!==u.leading||(c=n);var r=e-(n-c);return o=this,f=arguments,r<=0||e<r?(i&&(clearTimeout(i),i=null),c=n,a=t.apply(o,f),i||(o=f=null)):i||!1===u.trailing||(i=setTimeout(l,r)),a}return u=u||{},n.cancel=function(){clearTimeout(i),c=0,i=o=f=null},n},debounce:function(r,t,e){var u,i,o,f,a,c=function(){var n=Wn()-i;n<t?u=setTimeout(c,t-n):(u=null,e||(f=r.apply(a,o)),u||(o=a=null))},n=j(function(n){return a=this,o=n,i=Wn(),u||(u=setTimeout(c,t),e&&(f=r.apply(a,o))),f});return n.cancel=function(){clearTimeout(u),u=o=a=null},n},wrap:function(n,r){return nr(r,n)},negate:fr,compose:function(){var t=arguments,e=t.length-1;return function(){for(var n=e,r=t[e].apply(this,arguments);n--;)r=t[n].call(this,r);return r}},after:function(n,r){return function(){if(--n<1)return r.apply(this,arguments)}},before:ar,once:r,findKey:cr,findIndex:sr,findLastIndex:k,sortedIndex:pr,indexOf:vr,lastIndexOf:T,find:yr,detect:yr,findWhere:function(n,r){return yr(n,kn(r))},each:dr,forEach:dr,map:gr,collect:gr,reduce:f,foldl:f,inject:f,reduceRight:R,foldr:R,filter:mr,select:mr,reject:function(n,r,t){return mr(n,fr(Pn(r)),t)},every:jr,all:jr,some:_r,any:_r,contains:wr,includes:wr,include:wr,invoke:P,pluck:Ar,where:function(n,r){return mr(n,kn(r))},max:xr,min:function(n,e,r){var t,u,i=1/0,o=1/0;if(null==e||\"number\"==typeof e&&\"object\"!=typeof n[0]&&null!=n)for(var f=0,a=(n=tr(n)?n:mn(n)).length;f<a;f++)null!=(t=n[f])&&t<i&&(i=t);else e=Pn(e,r),dr(n,function(n,r,t){((u=e(n,r,t))<o||u===1/0&&i===1/0)&&(i=n,o=u)});return i},shuffle:function(n){return Sr(n,1/0)},sample:Sr,sortBy:function(n,e,r){var u=0;return e=Pn(e,r),Ar(gr(n,function(n,r,t){return{value:n,index:u++,criteria:e(n,r,t)}}).sort(function(n,r){var t=n.criteria,e=r.criteria;if(t!==e){if(e<t||void 0===t)return 1;if(t<e||void 0===e)return-1}return n.index-r.index}),\"value\")},groupBy:c,indexBy:i,countBy:sn,partition:ln,toArray:function(n){return n?U(n)?a.call(n):S(n)?n.match(Mr):tr(n)?gr(n,Tn):mn(n):[]},size:function(n){return null==n?0:(tr(n)?n:nn(n)).length},pick:Br,omit:pn,first:Ir,head:Ir,take:Ir,initial:Nr,last:function(n,r,t){return null==n||n.length<1?null==r||t?void 0:[]:null==r||t?n[n.length-1]:Tr(n,Math.max(0,n.length-r))},rest:Tr,tail:Tr,drop:Tr,compact:function(n){return mr(n,Boolean)},flatten:function(n,r){return er(n,r,!1)},without:V,uniq:Dr,unique:Dr,union:vn,intersection:function(n){for(var r=[],t=arguments.length,e=0,u=Y(n);e<u;e++){var i=n[e];if(!wr(r,i)){for(var o=1;o<t&&wr(arguments[o],i);o++);o===t&&r.push(i)}}return r},difference:kr,unzip:Rr,transpose:Rr,zip:Ln,object:function(n,r){for(var t={},e=0,u=Y(n);e<u;e++)r?t[n[e]]=r[e]:t[n[e][0]]=n[e][1];return t},range:function(n,r,t){null==r&&(r=n||0,n=0),t=t||(r<n?-1:1);for(var e=Math.max(Math.ceil((r-n)/t),0),u=Array(e),i=0;i<e;i++,n+=t)u[i]=n;return u},chunk:function(n,r){if(null==r||r<1)return[];for(var t=[],e=0,u=n.length;e<u;)t.push(a.call(n,e,e+=r));return t},mixin:Vr,default:tn});return Ln._=Ln})','664c72ed43fc05d1e5cf693376a1fa93',0,0,'0000-00-00 00:00:00','2022-01-25 20:09:20'),(3257,'https://kidlife.hu/wp-content/plugins/kindero-core/assets/js/libs/jquery.magnific-popup.min.js?ver=5.8.3','js','','/*! Magnific Popup - v1.1.0 - 2016-02-20\n* http://dimsemenov.com/plugins/magnific-popup/\n* Copyright (c) 2016 Dmitry Semenov; */\n!function(a){\"function\"==typeof define&&define.amd?define([\"jquery\"],a):a(\"object\"==typeof exports?require(\"jquery\"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h=\"Close\",i=\"BeforeClose\",j=\"AfterClose\",k=\"BeforeAppend\",l=\"MarkupParse\",m=\"Open\",n=\"Change\",o=\"mfp\",p=\".\"+o,q=\"mfp-ready\",r=\"mfp-removing\",s=\"mfp-prevent-close\",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement(\"div\");return f.className=\"mfp-\"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace(\"%title%\",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement(\"p\").style,b=[\"ms\",\"O\",\"Moz\",\"Webkit\"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+\"Transition\"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isLowIE=b.isIE8=document.all&&!document.addEventListener,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f=\"\",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos=\"auto\"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x(\"bg\").on(\"click\"+p,function(){b.close()}),b.wrap=x(\"wrap\").attr(\"tabindex\",-1).on(\"click\"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x(\"container\",b.wrap)),b.contentContainer=x(\"content\"),b.st.preloader&&(b.preloader=x(\"preloader\",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b[\"init\"+j].call(b)}y(\"BeforeOpen\"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=\" mfp-close-btn-in\"):b.wrap.append(z())),b.st.alignTop&&(f+=\" mfp-align-top\"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:\"hidden\",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:\"absolute\"}),(b.st.fixedBgPos===!1||\"auto\"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:\"absolute\"}),b.st.enableEscapeKey&&d.on(\"keyup\"+p,function(a){27===a.keyCode&&b.close()}),v.on(\"resize\"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=\" mfp-auto-cursor\"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a(\"body, html\").css(\"overflow\",\"hidden\"):n.overflow=\"hidden\");var r=b.st.mainClass;return b.isIE7&&(r+=\" mfp-ie7\"),r&&b._addClassToMFP(r),b.updateItemHTML(),y(\"BuildControls\"),a(\"html\").css(n),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on(\"focusin\"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var c=r+\" \"+q+\" \";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+\" \"),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:\"\"};b.isIE7?a(\"body, html\").css(\"overflow\",\"\"):e.overflow=\"\",a(\"html\").css(e)}d.off(\"keyup\"+p+\" focusin\"+p),b.ev.off(p),b.wrap.attr(\"class\",\"mfp-wrap\").removeAttr(\"style\"),b.bgOverlay.attr(\"class\",\"mfp-bg\"),b.container.attr(\"class\",\"mfp-container\"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b.st.autoFocusLast&&b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css(\"height\",d),b.wH=d}else b.wH=a||v.height();b.fixedContentPos||b.wrap.css(\"height\",b.wH),y(\"Resize\")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(y(\"BeforeChange\",[b.currItem?b.currItem.type:\"\",d]),b.currItem=c,!b.currTemplate[d]){var f=b.st[d]?b.st[d].markup:!1;y(\"FirstMarkupParse\",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass(\"mfp-\"+e+\"-holder\");var g=b[\"get\"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y(\"AfterChange\")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(\".mfp-close\").length||b.content.append(z()):b.content=a:b.content=\"\",y(k),b.container.addClass(\"mfp-\"+c+\"-holder\"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass(\"mfp-\"+f[g])){d=f[g];break}e.src=e.el.attr(\"data-mfp-src\"),e.src||(e.src=e.el.attr(\"href\"))}return e.type=d||b.st.type||\"inline\",e.index=c,e.parsed=!0,b.items[c]=e,y(\"ElementParse\",e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e=\"click.magnificPopup\";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||!(2===c.which||c.ctrlKey||c.metaKey||c.altKey||c.shiftKey)){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass(\"mfp-s-\"+c),d||\"loading\"!==a||(d=b.st.tLoading);var e={status:a,text:d};y(\"UpdateStatus\",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find(\"a\").on(\"click\",function(a){a.stopImmediatePropagation()}),b.container.addClass(\"mfp-s-\"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass(\"mfp-close\")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(c,d){if(void 0===d||d===!1)return!0;if(e=c.split(\"_\"),e.length>1){var f=b.find(p+\"-\"+e[0]);if(f.length>0){var g=e[1];\"replaceWith\"===g?f[0]!==d[0]&&f.replaceWith(d):\"img\"===g?f.is(\"img\")?f.attr(\"src\",d):f.replaceWith(a(\"<img>\").attr(\"src\",d).attr(\"class\",f.attr(\"class\"))):f.attr(e[1],d)}}else b.find(p+\"-\"+c).html(d)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement(\"div\");a.style.cssText=\"width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;\",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:\"\",preloader:!0,focus:\"\",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:\"auto\",fixedBgPos:\"auto\",overflowY:\"auto\",closeMarkup:\'<button title=\"%title%\" type=\"button\" class=\"mfp-close\">&#215;</button>\',tClose:\"Close (Esc)\",tLoading:\"Loading...\",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var d=a(this);if(\"string\"==typeof c)if(\"open\"===c){var e,f=u?d.data(\"magnificPopup\"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data(\"magnificPopup\",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F=\"inline\",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:\"hide\",markup:\"\",tNotFound:\"Content not found\"},proto:{initInline:function(){b.types.push(F),w(h+\".\"+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C=\"mfp-\"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus(\"ready\")}else b.updateStatus(\"error\",e.tNotFound),f=a(\"<div>\");return c.inlineElement=f,f}return b.updateStatus(\"ready\"),b._parseMarkup(d,{},c),d}}});var H,I=\"ajax\",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:\"mfp-ajax-cur\",tError:\'<a href=\"%url%\">The content</a> could not be loaded.\'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+\".\"+I,K),w(\"BeforeChange.\"+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus(\"loading\");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y(\"ParseAjax\",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus(\"ready\"),y(\"AjaxContentAdded\")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus(\"error\",b.st.ajax.tError.replace(\"%url%\",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),\"\"}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||\"\"}return\"\"};a.magnificPopup.registerModule(\"image\",{options:{markup:\'<div class=\"mfp-figure\"><div class=\"mfp-close\"></div><figure><div class=\"mfp-img\"></div><figcaption><div class=\"mfp-bottom-bar\"><div class=\"mfp-title\"></div><div class=\"mfp-counter\"></div></div></figcaption></figure></div>\',cursor:\"mfp-zoom-out-cur\",titleSrc:\"title\",verticalFit:!0,tError:\'<a href=\"%url%\">The image</a> could not be loaded.\'},proto:{initImage:function(){var c=b.st.image,d=\".image\";b.types.push(\"image\"),w(m+d,function(){\"image\"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off(\"resize\"+p)}),w(\"Resize\"+d,b.resizeImage),b.isLowIE&&w(\"AfterChange\",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css(\"padding-top\"),10)+parseInt(a.img.css(\"padding-bottom\"),10)),a.img.css(\"max-height\",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y(\"ImageHasSize\",a),a.imgHidden&&(b.content&&b.content.removeClass(\"mfp-loading\"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(\".mfploader\"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus(\"ready\")),c.hasSize=!0,c.loaded=!0,y(\"ImageLoadComplete\")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(\".mfploader\"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus(\"error\",h.tError.replace(\"%url%\",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(\".mfp-img\");if(i.length){var j=document.createElement(\"img\");j.className=\"mfp-img\",c.el&&c.el.find(\"img\").length&&(j.alt=c.el.find(\"img\").attr(\"alt\")),c.img=a(j).on(\"load.mfploader\",f).on(\"error.mfploader\",g),j.src=c.src,i.is(\"img\")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass(\"mfp-loading\"),b.updateStatus(\"error\",h.tError.replace(\"%url%\",c.src))):(d.removeClass(\"mfp-loading\"),b.updateStatus(\"ready\")),d):(b.updateStatus(\"loading\"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass(\"mfp-loading\"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement(\"p\").style.MozTransform),N};a.magnificPopup.registerModule(\"zoom\",{options:{enabled:!1,easing:\"ease-in-out\",duration:300,opener:function(a){return a.is(\"img\")?a:a.find(\"img\")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=\".zoom\";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr(\"style\").removeAttr(\"class\").addClass(\"mfp-animated-image\"),d=\"all \"+c.duration/1e3+\"s \"+c.easing,e={position:\"fixed\",zIndex:9999,left:0,top:0,\"-webkit-backface-visibility\":\"hidden\"},f=\"transition\";return e[\"-webkit-\"+f]=e[\"-moz-\"+f]=e[\"-o-\"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css(\"visibility\",\"visible\")};w(\"BuildControls\"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css(\"visibility\",\"hidden\"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y(\"ZoomAnimationEnded\")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css(\"visibility\",\"hidden\"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return\"image\"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css(\"padding-top\"),10),g=parseInt(d.css(\"padding-bottom\"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h[\"-moz-transform\"]=h.transform=\"translate(\"+e.left+\"px,\"+e.top+\"px)\":(h.left=e.left,h.top=e.top),h}}});var P=\"iframe\",Q=\"//about:blank\",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find(\"iframe\");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css(\"display\",a?\"block\":\"none\"))}};a.magnificPopup.registerModule(P,{options:{markup:\'<div class=\"mfp-iframe-scaler\"><div class=\"mfp-close\"></div><iframe class=\"mfp-iframe\" src=\"//about:blank\" frameborder=\"0\" allowfullscreen></iframe></div>\',srcAction:\"iframe_src\",patterns:{youtube:{index:\"youtube.com\",id:\"v=\",src:\"//www.youtube.com/embed/%id%?autoplay=1\"},vimeo:{index:\"vimeo.com/\",id:\"/\",src:\"//player.vimeo.com/video/%id%?autoplay=1\"},gmaps:{index:\"//maps.google.\",src:\"%id%&output=embed\"}}},proto:{initIframe:function(){b.types.push(P),w(\"BeforeChange\",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+\".\"+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e=\"string\"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace(\"%id%\",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus(\"ready\"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule(\"gallery\",{options:{enabled:!1,arrowMarkup:\'<button title=\"%title%\" type=\"button\" class=\"mfp-arrow mfp-arrow-%dir%\"></button>\',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:\"Previous (Left arrow key)\",tNext:\"Next (Right arrow key)\",tCounter:\"%curr% of %total%\"},proto:{initGallery:function(){var c=b.st.gallery,e=\".mfp-gallery\";return b.direction=!0,c&&c.enabled?(f+=\" mfp-gallery\",w(m+e,function(){c.navigateByImgClick&&b.wrap.on(\"click\"+e,\".mfp-img\",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on(\"keydown\"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w(\"UpdateStatus\"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):\"\"}),w(\"BuildControls\"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,\"left\")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,\"right\")).addClass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off(\"click\"+e),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y(\"LazyLoad\",d),\"image\"===d.type&&(d.img=a(\'<img class=\"mfp-img\" />\').on(\"load.mfploader\",function(){d.hasSize=!0}).on(\"error.mfploader\",function(){d.hasSize=!0,d.loadError=!0,y(\"LazyLoadError\",d)}).attr(\"src\",d.src)),d.preloaded=!0}}}});var U=\"retina\";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\\.\\w+$/,function(a){return\"@2x\"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w(\"ImageHasSize.\"+U,function(a,b){b.img.css({\"max-width\":b.img[0].naturalWidth/c,width:\"100%\"})}),w(\"ElementParse.\"+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),A()})','15d520a692e4f43756a9975fa722aee8',0,0,'0000-00-00 00:00:00','2022-01-25 22:05:55'),(3255,'https://kidlife.hu/wp-content/plugins/kindero-core/assets/js/carousel.js?ver=5.8.3','js','','\"use strict\";function _classCallCheck(a,t){if(!(a instanceof t))throw new TypeError(\"Cannot call a class as a function\")}var _extends=Object.assign||function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n])}return a},_createClass=function(){function a(a,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(a,n.key,n)}}return function(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}}();!function(a){var t=function(){function t(){var a=this;_classCallCheck(this,t),setTimeout(function(){a.initOwlCarousel()},200)}return _createClass(t,[{key:\"initOwlCarousel\",value:function(){var t=this;a(\"[data-opal-carousel]\").each(function(e,n){var o=t._getImageThumbnail(a(n)),i=a(n);t._setupOwlCarousel(i),i.data(\"thumb\")&&t._initOwlThumbnails(i,o)})}},{key:\"_setupOwlCarousel\",value:function(a){var t=this,e=a.data(\"items\")?a.data(\"items\"):3,n=a.data(\"tablet\")?a.data(\"tablet\"):2,o=a.data(\"mobile\")?a.data(\"mobile\"):1;e<3&&(n=e);var i={dots:this._setDefaultBoolean(a.data(\"dots\"),!0),nav:this._setDefaultBoolean(a.data(\"nav\"),!0),loop:this._setDefaultBoolean(a.data(\"loop\"),!0),center:this._setDefaultBoolean(a.data(\"center\"),!1),rewind:this._setDefaultBoolean(a.data(\"rewind\"),!1),mouseDrag:this._setDefaultBoolean(a.data(\"mousedrag\"),!0),touchDrag:this._setDefaultBoolean(a.data(\"touchdrag\"),!0),pullDrag:this._setDefaultBoolean(a.data(\"pulldrag\"),!0),freeDrag:this._setDefaultBoolean(a.data(\"freedrag\"),!1),margin:a.data(\"margin\")?a.data(\"margin\"):0,stagePadding:a.data(\"stage-padding\")?a.data(\"stage-padding\"):0,merge:this._setDefaultBoolean(a.data(\"merge\"),!1),mergeFit:this._setDefaultBoolean(a.data(\"mergefit\"),!0),autoWidth:this._setDefaultBoolean(a.data(\"autowidth\"),!1),startPosition:a.data(\"start-position\")?a.data(\"start-position\"):0,smartSpeed:a.data(\"smart-speed\")?a.data(\"smart-speed\"):250,fluidSpeed:this._setDefaultBoolean(a.data(\"fluid-speed\"),!1),dragEndSpeed:this._setDefaultBoolean(a.data(\"dragend-speed\"),!1),animateOut:a.data(\"animate-out\")?a.data(\"animate-out\"):\"\",animateIn:a.data(\"animate-in\")?a.data(\"animate-in\"):\"\",autoplay:this._setDefaultBoolean(a.data(\"autoplay\"),!1),autoplayTimeout:a.data(\"autoplay-timeout\")?a.data(\"autoplay-timeout\"):5e3,autoplayHoverPause:this._setDefaultBoolean(a.data(\"autoplay-hover-pause\"),!1),autoHeight:this._setDefaultBoolean(a.data(\"auto-height\"),!0),responsive:{0:{items:o,dots:!1,stagePadding:0},480:{items:o,dots:!1,stagePadding:0},768:{items:n,stagePadding:0},980:{items:e}}};a.data(\"thumb\")&&(i=_extends({},i,{onChanged:function(e){t._changedCarouselCB(e,a,i)}})),a.data(\"is-thumb\")&&(i=_extends({},i,{onInitialized:function(e){t._thumbnailCarouselLoaded(e,a)}})),a.data(\"timeout\")?setTimeout(function(){a.owlCarousel(i)},a.data(\"timeout\")):a.owlCarousel(i)}},{key:\"_changedCarouselCB\",value:function(t,e,n){var o=t.item.index;if(n.loop){var i=e.find(\".owl-item.cloned\").length/2;\"number\"==typeof t.item.index&&0!=t.item.index&&(o=t.item.index-i)<0&&(o=t.item.count+o)}var l=e.next();l.hasClass(\"owl-loaded\")&&l.trigger(\"to.owl.carousel\",o).find(\".item\").removeClass(\"selected\").each(function(t,e){a(e).data(\"index\")==o&&a(e).addClass(\"selected\")})}},{key:\"_setDefaultBoolean\",value:function(a,t){return void 0===a?t:a}},{key:\"_getImageThumbnail\",value:function(t){var e=[];return t.find(\"img\").each(function(t,n){e.push(a(n).attr(\"src\"))}),e}},{key:\"_thumbnailCarouselLoaded\",value:function(t,e){var n=e.prev();e.find(\".item\").on(\"click\",function(t){n.trigger(\"to.owl.carousel\",a(t.currentTarget).data(\"index\"))})}},{key:\"_initOwlThumbnails\",value:function(a,t){var e=a.data(\"thumb-items\")?a.data(\"thumb-items\"):5,n=a.data(\"thumb-margin\")?a.data(\"thumb-margin\"):0,o=\'<div class=\"owl-carousel owl-theme owl-carousel-thumbnail\" data-is-thumb=\"true\" data-items=\"\'+e+\'\" data-dots=\"false\" data-loop=\"false\" data-margin=\"\'+n+\'\" data-nav=\"false\">\',i=0,l=!0,s=!1,u=void 0;try{for(var d,r=t[Symbol.iterator]();!(l=(d=r.next()).done);l=!0){var m=d.value;o+=\'<div class=\"item\'+(0==i?\" selected\":\"\")+\'\" data-index=\"\'+i+\'\">\\n        <img src=\"\'+m+\'\">\\n    </div>\',i++}}catch(a){s=!0,u=a}finally{try{!l&&r.return&&r.return()}finally{if(s)throw u}}o+=\"</div>\",a.after(o);var c=a.next();this._setupOwlCarousel(c)}}]),t}();a(document).ready(function(){new t})}(jQuery)','e33613d25f81ef17db1b2c824f8ceeba',0,0,'0000-00-00 00:00:00','2022-01-25 22:05:55'),(3254,'https://kidlife.activehosted.com/f/embed.php?static=0&id=1&61D78DE7078B5&nostyles=0&preview=0','js','','window.cfields=[];window._show_thank_you=function(id,message,trackcmp_url,email){var form=document.getElementById(\'_form_\'+id+\'_\'),thank_you=form.querySelector(\'._form-thank-you\');form.querySelector(\'._form-content\').style.display=\'none\';thank_you.innerHTML=message;thank_you.style.display=\'block\';const vgoAlias=typeof visitorGlobalObjectAlias===\'undefined\'?\'vgo\':visitorGlobalObjectAlias;var visitorObject=window[vgoAlias];if(email&&typeof visitorObject!==\'undefined\'){visitorObject(\'setEmail\',email);visitorObject(\'update\')}else if(typeof(trackcmp_url)!=\'undefined\'&&trackcmp_url){_load_script(trackcmp_url)}\nif(typeof window._form_callback!==\'undefined\')window._form_callback(id)};window._show_error=function(id,message,html){var form=document.getElementById(\'_form_\'+id+\'_\'),err=document.createElement(\'div\'),button=form.querySelector(\'button\'),old_error=form.querySelector(\'._form_error\');if(old_error)old_error.parentNode.removeChild(old_error);err.innerHTML=message;err.className=\'_error-inner _form_error _no_arrow\';var wrapper=document.createElement(\'div\');wrapper.className=\'_form-inner\';wrapper.appendChild(err);button.parentNode.insertBefore(wrapper,button);document.querySelector(\'[id^=\"_form\"][id$=\"_submit\"]\').disabled=!1;if(html){var div=document.createElement(\'div\');div.className=\'_error-html\';div.innerHTML=html;err.appendChild(div)}};window._load_script=function(url,callback){var head=document.querySelector(\'head\'),script=document.createElement(\'script\'),r=!1;script.type=\'text/javascript\';script.charset=\'utf-8\';script.src=url;if(callback){script.onload=script.onreadystatechange=function(){if(!r&&(!this.readyState||this.readyState==\'complete\')){r=!0;callback()}}}\nhead.appendChild(script)};(function(){if(window.location.search.search(\"excludeform\")!==-1)return!1;var getCookie=function(name){var match=document.cookie.match(new RegExp(\'(^|; )\'+name+\'=([^;]+)\'));return match?match[2]:null}\nvar setCookie=function(name,value){var now=new Date();var time=now.getTime();var expireTime=time+1000*60*60*24*365;now.setTime(expireTime);document.cookie=name+\'=\'+value+\'; expires=\'+now+\';path=/\'}\nvar addEvent=function(element,event,func){if(element.addEventListener){element.addEventListener(event,func)}else{var oldFunc=element[\'on\'+event];element[\'on\'+event]=function(){oldFunc.apply(this,arguments);func.apply(this,arguments)}}}\nvar _removed=!1;var _form_output=\'\\<style\\>\\n #_form_61BA0615B5B84_ { font-size:14px; line-height:1.6; font-family:arial, helvetica, sans-serif; margin:0; }\\n #_form_61BA0615B5B84_ * { outline:0; }\\n ._form_hide { display:none; visibility:hidden; }\\n ._form_show { display:block; visibility:visible; }\\n #_form_61BA0615B5B84_._form-top { top:0; }\\n #_form_61BA0615B5B84_._form-bottom { bottom:0; }\\n #_form_61BA0615B5B84_._form-left { left:0; }\\n #_form_61BA0615B5B84_._form-right { right:0; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ input[type=\\\"date\\\"],#_form_61BA0615B5B84_ textarea { padding:6px; height:auto; border:#979797 1px solid; border-radius:4px; color:#000 !important; font-size:14px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ textarea { resize:none; }\\n #_form_61BA0615B5B84_ ._submit { -webkit-appearance:none; cursor:pointer; font-family:arial, sans-serif; font-size:14px; text-align:center; background:#333 !important; border:0 !important; -moz-border-radius:4px !important; -webkit-border-radius:4px !important; border-radius:4px !important; color:#fff !important; padding:10px !important; }\\n #_form_61BA0615B5B84_ ._close-icon { cursor:pointer; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/esfkyjh1u_forms-close-dark.png\\\'); background-repeat:no-repeat; background-size:14.2px 14.2px; position:absolute; display:block; top:11px; right:9px; overflow:hidden; width:16.2px; height:16.2px; }\\n #_form_61BA0615B5B84_ ._close-icon:before { position:relative; }\\n #_form_61BA0615B5B84_ ._form-body { margin-bottom:30px; }\\n #_form_61BA0615B5B84_ ._form-image-left { width:150px; float:left; }\\n #_form_61BA0615B5B84_ ._form-content-right { margin-left:164px; }\\n #_form_61BA0615B5B84_ ._form-branding { color:#fff; font-size:10px; clear:both; text-align:left; margin-top:30px; font-weight:100; }\\n #_form_61BA0615B5B84_ ._form-branding ._logo { display:block; width:130px; height:14px; margin-top:6px; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/hh9ujqgv5_aclogo_li.png\\\'); background-size:130px auto; background-repeat:no-repeat; }\\n #_form_61BA0615B5B84_ .form-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0, 0, 0, 0); border:0; }\\n #_form_61BA0615B5B84_ ._form-label,#_form_61BA0615B5B84_ ._form_element ._form-label { font-weight:bold; margin-bottom:5px; display:block; }\\n #_form_61BA0615B5B84_._dark ._form-branding { color:#333; }\\n #_form_61BA0615B5B84_._dark ._form-branding ._logo { background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/jftq2c8s_aclogo_dk.png\\\'); }\\n #_form_61BA0615B5B84_ ._form_element { position:relative; margin-bottom:10px; font-size:0; max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element * { font-size:14px; }\\n #_form_61BA0615B5B84_ ._form_element._clear { clear:both; width:100%; float:none; }\\n #_form_61BA0615B5B84_ ._form_element._clear:after { clear:left; }\\n #_form_61BA0615B5B84_ ._form_element input[type=\\\"text\\\"],#_form_61BA0615B5B84_ ._form_element input[type=\\\"date\\\"],#_form_61BA0615B5B84_ ._form_element select,#_form_61BA0615B5B84_ ._form_element textarea:not(.g-recaptcha-response) { display:block; width:100%; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-family:inherit; }\\n #_form_61BA0615B5B84_ ._field-wrapper { position:relative; }\\n #_form_61BA0615B5B84_ ._inline-style { float:left; }\\n #_form_61BA0615B5B84_ ._inline-style input[type=\\\"text\\\"] { width:150px; }\\n #_form_61BA0615B5B84_ ._inline-style:not(._clear) + ._inline-style:not(._clear) { margin-left:20px; }\\n #_form_61BA0615B5B84_ ._form_element img._form-image { max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element ._form-fieldset { border:0; padding:0.01em 0 0 0; margin:0; min-width:0; }\\n #_form_61BA0615B5B84_ ._clear-element { clear:left; }\\n #_form_61BA0615B5B84_ ._full_width { width:100%; }\\n #_form_61BA0615B5B84_ ._form_full_field { display:block; width:100%; margin-bottom:10px; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"]._has_error,#_form_61BA0615B5B84_ textarea._has_error { border:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"]._has_error { outline:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ ._error { display:block; position:absolute; font-size:14px; z-index:10000001; }\\n #_form_61BA0615B5B84_ ._error._above { padding-bottom:4px; bottom:39px; right:0; }\\n #_form_61BA0615B5B84_ ._error._below { padding-top:4px; top:100%; right:0; }\\n #_form_61BA0615B5B84_ ._error._above ._error-arrow { bottom:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-top:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error._below ._error-arrow { top:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-bottom:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error-inner { padding:8px 12px; background-color:#f37c7b; font-size:14px; font-family:arial, sans-serif; color:#fff; text-align:center; text-decoration:none; -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; }\\n #_form_61BA0615B5B84_ ._error-inner._form_error { margin-bottom:5px; text-align:left; }\\n #_form_61BA0615B5B84_ ._button-wrapper ._error-inner._form_error { position:static; }\\n #_form_61BA0615B5B84_ ._error-inner._no_arrow { margin-bottom:10px; }\\n #_form_61BA0615B5B84_ ._error-arrow { position:absolute; width:0; height:0; }\\n #_form_61BA0615B5B84_ ._error-html { margin-bottom:10px; }\\n .pika-single { z-index:10000001 !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"].datetime_date { width:69%; display:inline; }\\n #_form_61BA0615B5B84_ select.datetime_time { width:29%; display:inline; height:32px; }\\n @media all and (min-width:320px) and (max-width:667px) { ::-webkit-scrollbar { display:none; }\\n #_form_61BA0615B5B84_ { margin:0; width:100%; min-width:100%; max-width:100%; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ * { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-size:1em; }\\n #_form_61BA0615B5B84_ ._form-content { margin:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-inner { display:block; min-width:100%; }\\n #_form_61BA0615B5B84_ ._form-title,#_form_61BA0615B5B84_ ._inline-style { margin-top:0; margin-right:0; margin-left:0; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:1.2em; }\\n #_form_61BA0615B5B84_ ._form_element { margin:0 0 20px; padding:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-element,#_form_61BA0615B5B84_ ._inline-style,#_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ label,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ textarea:not(.g-recaptcha-response) { float:none; display:block; width:100%; }\\n #_form_61BA0615B5B84_ ._row._checkbox-radio label { display:inline; }\\n #_form_61BA0615B5B84_ ._row,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ label { margin-bottom:0.7em; width:100%; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"],#_form_61BA0615B5B84_ ._row input[type=\\\"radio\\\"] { margin:0 !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"] + span label { display:inline; }\\n #_form_61BA0615B5B84_ ._row span label { margin:0 !important; width:initial !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._form-image { max-width:100%; height:auto !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"] { padding-left:10px; padding-right:10px; font-size:16px; line-height:1.3em; -webkit-appearance:none; }\\n #_form_61BA0615B5B84_ input[type=\\\"radio\\\"],#_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"] { display:inline-block; width:1.3em; height:1.3em; font-size:1em; margin:0 0.3em 0 0; vertical-align:baseline; }\\n #_form_61BA0615B5B84_ button[type=\\\"submit\\\"] { padding:20px; font-size:1.5em; }\\n #_form_61BA0615B5B84_ ._inline-style { margin:20px 0 0 !important; }\\n }\\n #_form_61BA0615B5B84_ { position:relative; text-align:left; margin:25px auto 0; padding:20px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; *zoom:1; background:transparent !important; border:0px solid #b0b0b0 !important; -moz-border-radius:0px !important; -webkit-border-radius:0px !important; border-radius:0px !important; color:#000 !important; }\\n #_form_61BA0615B5B84_._inline-form,#_form_61BA0615B5B84_._inline-form ._form-content,#_form_61BA0615B5B84_._inline-form input,#_form_61BA0615B5B84_._inline-form ._submit { font-family:\\\"IBM Plex Sans\\\", Helvetica, sans-serif, \\\'IBM Plex Sans\\\', arial, sans-serif; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:22px; line-height:22px; font-weight:600; margin-bottom:0; }\\n #_form_61BA0615B5B84_:before,#_form_61BA0615B5B84_:after { content:\\\" \\\"; display:table; }\\n #_form_61BA0615B5B84_:after { clear:both; }\\n #_form_61BA0615B5B84_._inline-style { width:auto; display:inline-block; }\\n #_form_61BA0615B5B84_._inline-style input[type=\\\"text\\\"],#_form_61BA0615B5B84_._inline-style input[type=\\\"date\\\"] { padding:10px 12px; }\\n #_form_61BA0615B5B84_._inline-style button._inline-style { position:relative; top:27px; }\\n #_form_61BA0615B5B84_._inline-style p { margin:0; }\\n #_form_61BA0615B5B84_._inline-style ._button-wrapper { position:relative; margin:27px 12.5px 0 20px; }\\n #_form_61BA0615B5B84_ ._form-thank-you { position:relative; left:0; right:0; text-align:center; font-size:18px; }\\n @media all and (min-width:320px) and (max-width:667px) { #_form_61BA0615B5B84_._inline-form._inline-style ._inline-style._button-wrapper { margin-top:20px !important; margin-left:0 !important; }\\n }\\n\\n #_form_61BA0615B5B84_._form_1 { background-color:transparent !important; margin:0px !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit:hover { background-color:#d29104 !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit { background-color:#faaf11 !important; border-radius:9999px !important; width:130px !important; height:50px !important; text-transform:uppercase !important; font-weight:bold; line-height:20px; margin-left:30px !important; }\\n #_form_61BA0615B5B84_ ._x87469998 input { width:350px !important; }\\n\\<\\/style\\>\\n\\<link href=\\\"https:\\/\\/fonts.googleapis.com\\/css2?family=Lato&family=Montserrat&family=Roboto&display=swap\\\" rel=\\\"stylesheet\\\"\\>\\n\\n\\n\\<div style=\\\"text-align: center;\\\"\\>\\n\\<form method=\\\"POST\\\" action=\\\"https://kidlife.activehosted.com\\/proc.php\\\" id=\\\"_form_61BA0615B5B84_\\\" class=\\\"_form _form_1 _inline-form _inline-style _dark\\\" novalidate\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"u\\\" value=\\\"61BA0615B5B84\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"1\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"s\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"c\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"m\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"sub\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"v\\\" value=\\\"2\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"or\\\" value=\\\"c97c4b767bfa312d9b47ab269c71a306\\\" \\/\\>\\n	\\<div class=\\\"_form-content\\\"\\>\\n						\\<div class=\\\"_form_element _x87469998 _inline-style \\\" \\>\\n						\\<label for=\\\"email\\\" class=\\\"_form-label\\\"\\>&nbsp;\\<\\/label\\>\\n			\\<div class=\\\"_field-wrapper\\\"\\>\\n				\\<input type=\\\"text\\\" id=\\\"email\\\" name=\\\"email\\\" placeholder=\\\"Add meg az email címed\\\" required\\/\\>\\n			\\<\\/div\\>\\n					\\<\\/div\\>\\n				\\<div class=\\\"_button-wrapper _inline-style\\\"\\>\\<button id=\\\"_form_1_submit\\\" class=\\\"_submit\\\" type=\\\"submit\\\"\\>Küldés\\<\\/button\\>\\<\\/div\\>		\\<div class=\\\"_clear-element\\\"\\>\\<\\/div\\>\\n	\\<\\/div\\>\\n	\\<div class=\\\"_form-thank-you\\\" style=\\\"display:none;\\\"\\>\\<\\/div\\>\\n	\\<\\/form\\>\\n\\<\\/div\\>\\n\';var _form_element=null,_form_elements=document.querySelectorAll(\'._form_1\');for(var fe=0;fe<_form_elements.length;fe++){_form_element=_form_elements[fe];if(_form_element.innerHTML.trim()===\'\')break;_form_element=null}\nif(!_form_element){_form_element=document.createElement(\'div\');if(!document.body){document.firstChild.appendChild(document.createElement(\'body\'))}\ndocument.body.appendChild(_form_element)}\n_form_element.innerHTML=_form_output;var form_to_submit=document.getElementById(\'_form_61BA0615B5B84_\');var allInputs=form_to_submit.querySelectorAll(\'input, select, textarea\'),tooltips=[],submitted=!1;var getUrlParam=function(name){var regexStr=\'[\\?&]\'+name+\'=([^&#]*)\';var results=new RegExp(regexStr,\'i\').exec(window.location.href);return results!=undefined?decodeURIComponent(results[1]):!1};for(var i=0;i<allInputs.length;i++){var regexStr=\"field\\\\[(\\\\d+)\\\\]\";var results=new RegExp(regexStr).exec(allInputs[i].name);if(results!=undefined){allInputs[i].dataset.name=window.cfields[results[1]]}else{allInputs[i].dataset.name=allInputs[i].name}\nvar fieldVal=getUrlParam(allInputs[i].dataset.name);if(fieldVal){if(allInputs[i].dataset.autofill===\"false\"){continue}\nif(allInputs[i].type==\"radio\"||allInputs[i].type==\"checkbox\"){if(allInputs[i].value==fieldVal){allInputs[i].checked=!0}}else{allInputs[i].value=fieldVal}}}\nvar remove_tooltips=function(){for(var i=0;i<tooltips.length;i++){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip)}\ntooltips=[]};var remove_tooltip=function(elem){for(var i=0;i<tooltips.length;i++){if(tooltips[i].elem===elem){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip);tooltips.splice(i,1);return}}};var create_tooltip=function(elem,text){var tooltip=document.createElement(\'div\'),arrow=document.createElement(\'div\'),inner=document.createElement(\'div\'),new_tooltip={};if(elem.type!=\'radio\'&&elem.type!=\'checkbox\'){tooltip.className=\'_error\';arrow.className=\'_error-arrow\';inner.className=\'_error-inner\';inner.innerHTML=text;tooltip.appendChild(arrow);tooltip.appendChild(inner);elem.parentNode.appendChild(tooltip)}else{tooltip.className=\'_error-inner _no_arrow\';tooltip.innerHTML=text;elem.parentNode.insertBefore(tooltip,elem);new_tooltip.no_arrow=!0}\nnew_tooltip.tip=tooltip;new_tooltip.elem=elem;tooltips.push(new_tooltip);return new_tooltip};var resize_tooltip=function(tooltip){var rect=tooltip.elem.getBoundingClientRect();var doc=document.documentElement,scrollPosition=rect.top-((window.pageYOffset||doc.scrollTop)-(doc.clientTop||0));if(scrollPosition<40){tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _below\'}else{tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _above\'}};var resize_tooltips=function(){if(_removed)return;for(var i=0;i<tooltips.length;i++){if(!tooltips[i].no_arrow)resize_tooltip(tooltips[i])}};var validate_field=function(elem,remove){var tooltip=null,value=elem.value,no_error=!0;remove?remove_tooltip(elem):!1;if(elem.type!=\'checkbox\')elem.className=elem.className.replace(/ ?_has_error ?/g,\'\');if(elem.getAttribute(\'required\')!==null){if(elem.type==\'radio\'||(elem.type==\'checkbox\'&&/any/.test(elem.className))){var elems=form_to_submit.elements[elem.name];if(!(elems instanceof NodeList||elems instanceof HTMLCollection)||elems.length<=1){no_error=elem.checked}else{no_error=!1;for(var i=0;i<elems.length;i++){if(elems[i].checked)no_error=!0}}\nif(!no_error){tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(elem.type==\'checkbox\'){var elems=form_to_submit.elements[elem.name],found=!1,err=[];no_error=!0;for(var i=0;i<elems.length;i++){if(elems[i].getAttribute(\'required\')===null)continue;if(!found&&elems[i]!==elem)return!0;found=!0;elems[i].className=elems[i].className.replace(/ ?_has_error ?/g,\'\');if(!elems[i].checked){no_error=!1;elems[i].className=elems[i].className+\' _has_error\';err.push(\"Checking %s is required\".replace(\"%s\",elems[i].value))}}\nif(!no_error){tooltip=create_tooltip(elem,err.join(\'<br/>\'))}}else if(elem.tagName==\'SELECT\'){var selected=!0;if(elem.multiple){selected=!1;for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected){selected=!0;break}}}else{for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected&&!elem.options[i].value){selected=!1}}}\nif(!selected){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(value===undefined||value===null||value===\'\'){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"This field is required.\")}}\nif(no_error&&elem.name==\'email\'){if(!value.match(/^[\\+_a-z0-9-\'&=]+(\\.[\\+_a-z0-9-\']+)*@[a-z0-9-]+(\\.[a-z0-9-]+)*(\\.[a-z]{2,})$/i)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid email address.\")}}\nif(no_error&&/date_field/.test(elem.className)){if(!value.match(/^\\d\\d\\d\\d-\\d\\d-\\d\\d$/)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid date.\")}}\ntooltip?resize_tooltip(tooltip):!1;return no_error};var needs_validate=function(el){if(el.getAttribute(\'required\')!==null){return!0}\nif(el.name===\'email\'&&el.value!==\"\"){return!0}\nreturn!1};var validate_form=function(e){var err=form_to_submit.querySelector(\'._form_error\'),no_error=!0;if(!submitted){submitted=!0;for(var i=0,len=allInputs.length;i<len;i++){var input=allInputs[i];if(needs_validate(input)){if(input.type==\'text\'){addEvent(input,\'blur\',function(){this.value=this.value.trim();validate_field(this,!0)});addEvent(input,\'input\',function(){validate_field(this,!0)})}else if(input.type==\'radio\'||input.type==\'checkbox\'){(function(el){var radios=form_to_submit.elements[el.name];for(var i=0;i<radios.length;i++){addEvent(radios[i],\'click\',function(){validate_field(el,!0)})}})(input)}else if(input.tagName==\'SELECT\'){addEvent(input,\'change\',function(){validate_field(this,!0)})}else if(input.type==\'textarea\'){addEvent(input,\'input\',function(){validate_field(this,!0)})}}}}\nremove_tooltips();for(var i=0,len=allInputs.length;i<len;i++){var elem=allInputs[i];if(needs_validate(elem)){if(elem.tagName.toLowerCase()!==\"select\"){elem.value=elem.value.trim()}\nvalidate_field(elem)?!0:no_error=!1}}\nif(!no_error&&e){e.preventDefault()}\nresize_tooltips();return no_error};addEvent(window,\'resize\',resize_tooltips);addEvent(window,\'scroll\',resize_tooltips);window._old_serialize=null;if(typeof serialize!==\'undefined\')window._old_serialize=window.serialize;_load_script(\"//d3rxaij56vjege.cloudfront.net/form-serialize/0.3/serialize.min.js\",function(){window._form_serialize=window.serialize;if(window._old_serialize)window.serialize=window._old_serialize});var form_submit=function(e){e.preventDefault();if(validate_form()){document.querySelector(\'#_form_1_submit\').disabled=!0;var serialized=_form_serialize(document.getElementById(\'_form_61BA0615B5B84_\')).replace(/%0A/g,\'\\\\n\');var err=form_to_submit.querySelector(\'._form_error\');err?err.parentNode.removeChild(err):!1;_load_script(\'https://kidlife.activehosted.com/proc.php?\'+serialized+\'&jsonp=true\')}\nreturn!1};addEvent(form_to_submit,\'submit\',form_submit)})()','6b88c63d83381449b42adccc38c4f21d',0,0,'0000-00-00 00:00:00','2022-01-07 00:49:27'),(3252,'https://kidlife.activehosted.com/f/embed.php?static=0&id=1&61D7459E4616C&nostyles=0&preview=0','js','','window.cfields=[];window._show_thank_you=function(id,message,trackcmp_url,email){var form=document.getElementById(\'_form_\'+id+\'_\'),thank_you=form.querySelector(\'._form-thank-you\');form.querySelector(\'._form-content\').style.display=\'none\';thank_you.innerHTML=message;thank_you.style.display=\'block\';const vgoAlias=typeof visitorGlobalObjectAlias===\'undefined\'?\'vgo\':visitorGlobalObjectAlias;var visitorObject=window[vgoAlias];if(email&&typeof visitorObject!==\'undefined\'){visitorObject(\'setEmail\',email);visitorObject(\'update\')}else if(typeof(trackcmp_url)!=\'undefined\'&&trackcmp_url){_load_script(trackcmp_url)}\nif(typeof window._form_callback!==\'undefined\')window._form_callback(id)};window._show_error=function(id,message,html){var form=document.getElementById(\'_form_\'+id+\'_\'),err=document.createElement(\'div\'),button=form.querySelector(\'button\'),old_error=form.querySelector(\'._form_error\');if(old_error)old_error.parentNode.removeChild(old_error);err.innerHTML=message;err.className=\'_error-inner _form_error _no_arrow\';var wrapper=document.createElement(\'div\');wrapper.className=\'_form-inner\';wrapper.appendChild(err);button.parentNode.insertBefore(wrapper,button);document.querySelector(\'[id^=\"_form\"][id$=\"_submit\"]\').disabled=!1;if(html){var div=document.createElement(\'div\');div.className=\'_error-html\';div.innerHTML=html;err.appendChild(div)}};window._load_script=function(url,callback){var head=document.querySelector(\'head\'),script=document.createElement(\'script\'),r=!1;script.type=\'text/javascript\';script.charset=\'utf-8\';script.src=url;if(callback){script.onload=script.onreadystatechange=function(){if(!r&&(!this.readyState||this.readyState==\'complete\')){r=!0;callback()}}}\nhead.appendChild(script)};(function(){if(window.location.search.search(\"excludeform\")!==-1)return!1;var getCookie=function(name){var match=document.cookie.match(new RegExp(\'(^|; )\'+name+\'=([^;]+)\'));return match?match[2]:null}\nvar setCookie=function(name,value){var now=new Date();var time=now.getTime();var expireTime=time+1000*60*60*24*365;now.setTime(expireTime);document.cookie=name+\'=\'+value+\'; expires=\'+now+\';path=/\'}\nvar addEvent=function(element,event,func){if(element.addEventListener){element.addEventListener(event,func)}else{var oldFunc=element[\'on\'+event];element[\'on\'+event]=function(){oldFunc.apply(this,arguments);func.apply(this,arguments)}}}\nvar _removed=!1;var _form_output=\'\\<style\\>\\n #_form_61BA0615B5B84_ { font-size:14px; line-height:1.6; font-family:arial, helvetica, sans-serif; margin:0; }\\n #_form_61BA0615B5B84_ * { outline:0; }\\n ._form_hide { display:none; visibility:hidden; }\\n ._form_show { display:block; visibility:visible; }\\n #_form_61BA0615B5B84_._form-top { top:0; }\\n #_form_61BA0615B5B84_._form-bottom { bottom:0; }\\n #_form_61BA0615B5B84_._form-left { left:0; }\\n #_form_61BA0615B5B84_._form-right { right:0; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ input[type=\\\"date\\\"],#_form_61BA0615B5B84_ textarea { padding:6px; height:auto; border:#979797 1px solid; border-radius:4px; color:#000 !important; font-size:14px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ textarea { resize:none; }\\n #_form_61BA0615B5B84_ ._submit { -webkit-appearance:none; cursor:pointer; font-family:arial, sans-serif; font-size:14px; text-align:center; background:#333 !important; border:0 !important; -moz-border-radius:4px !important; -webkit-border-radius:4px !important; border-radius:4px !important; color:#fff !important; padding:10px !important; }\\n #_form_61BA0615B5B84_ ._close-icon { cursor:pointer; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/esfkyjh1u_forms-close-dark.png\\\'); background-repeat:no-repeat; background-size:14.2px 14.2px; position:absolute; display:block; top:11px; right:9px; overflow:hidden; width:16.2px; height:16.2px; }\\n #_form_61BA0615B5B84_ ._close-icon:before { position:relative; }\\n #_form_61BA0615B5B84_ ._form-body { margin-bottom:30px; }\\n #_form_61BA0615B5B84_ ._form-image-left { width:150px; float:left; }\\n #_form_61BA0615B5B84_ ._form-content-right { margin-left:164px; }\\n #_form_61BA0615B5B84_ ._form-branding { color:#fff; font-size:10px; clear:both; text-align:left; margin-top:30px; font-weight:100; }\\n #_form_61BA0615B5B84_ ._form-branding ._logo { display:block; width:130px; height:14px; margin-top:6px; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/hh9ujqgv5_aclogo_li.png\\\'); background-size:130px auto; background-repeat:no-repeat; }\\n #_form_61BA0615B5B84_ .form-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0, 0, 0, 0); border:0; }\\n #_form_61BA0615B5B84_ ._form-label,#_form_61BA0615B5B84_ ._form_element ._form-label { font-weight:bold; margin-bottom:5px; display:block; }\\n #_form_61BA0615B5B84_._dark ._form-branding { color:#333; }\\n #_form_61BA0615B5B84_._dark ._form-branding ._logo { background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/jftq2c8s_aclogo_dk.png\\\'); }\\n #_form_61BA0615B5B84_ ._form_element { position:relative; margin-bottom:10px; font-size:0; max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element * { font-size:14px; }\\n #_form_61BA0615B5B84_ ._form_element._clear { clear:both; width:100%; float:none; }\\n #_form_61BA0615B5B84_ ._form_element._clear:after { clear:left; }\\n #_form_61BA0615B5B84_ ._form_element input[type=\\\"text\\\"],#_form_61BA0615B5B84_ ._form_element input[type=\\\"date\\\"],#_form_61BA0615B5B84_ ._form_element select,#_form_61BA0615B5B84_ ._form_element textarea:not(.g-recaptcha-response) { display:block; width:100%; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-family:inherit; }\\n #_form_61BA0615B5B84_ ._field-wrapper { position:relative; }\\n #_form_61BA0615B5B84_ ._inline-style { float:left; }\\n #_form_61BA0615B5B84_ ._inline-style input[type=\\\"text\\\"] { width:150px; }\\n #_form_61BA0615B5B84_ ._inline-style:not(._clear) + ._inline-style:not(._clear) { margin-left:20px; }\\n #_form_61BA0615B5B84_ ._form_element img._form-image { max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element ._form-fieldset { border:0; padding:0.01em 0 0 0; margin:0; min-width:0; }\\n #_form_61BA0615B5B84_ ._clear-element { clear:left; }\\n #_form_61BA0615B5B84_ ._full_width { width:100%; }\\n #_form_61BA0615B5B84_ ._form_full_field { display:block; width:100%; margin-bottom:10px; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"]._has_error,#_form_61BA0615B5B84_ textarea._has_error { border:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"]._has_error { outline:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ ._error { display:block; position:absolute; font-size:14px; z-index:10000001; }\\n #_form_61BA0615B5B84_ ._error._above { padding-bottom:4px; bottom:39px; right:0; }\\n #_form_61BA0615B5B84_ ._error._below { padding-top:4px; top:100%; right:0; }\\n #_form_61BA0615B5B84_ ._error._above ._error-arrow { bottom:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-top:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error._below ._error-arrow { top:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-bottom:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error-inner { padding:8px 12px; background-color:#f37c7b; font-size:14px; font-family:arial, sans-serif; color:#fff; text-align:center; text-decoration:none; -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; }\\n #_form_61BA0615B5B84_ ._error-inner._form_error { margin-bottom:5px; text-align:left; }\\n #_form_61BA0615B5B84_ ._button-wrapper ._error-inner._form_error { position:static; }\\n #_form_61BA0615B5B84_ ._error-inner._no_arrow { margin-bottom:10px; }\\n #_form_61BA0615B5B84_ ._error-arrow { position:absolute; width:0; height:0; }\\n #_form_61BA0615B5B84_ ._error-html { margin-bottom:10px; }\\n .pika-single { z-index:10000001 !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"].datetime_date { width:69%; display:inline; }\\n #_form_61BA0615B5B84_ select.datetime_time { width:29%; display:inline; height:32px; }\\n @media all and (min-width:320px) and (max-width:667px) { ::-webkit-scrollbar { display:none; }\\n #_form_61BA0615B5B84_ { margin:0; width:100%; min-width:100%; max-width:100%; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ * { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-size:1em; }\\n #_form_61BA0615B5B84_ ._form-content { margin:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-inner { display:block; min-width:100%; }\\n #_form_61BA0615B5B84_ ._form-title,#_form_61BA0615B5B84_ ._inline-style { margin-top:0; margin-right:0; margin-left:0; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:1.2em; }\\n #_form_61BA0615B5B84_ ._form_element { margin:0 0 20px; padding:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-element,#_form_61BA0615B5B84_ ._inline-style,#_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ label,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ textarea:not(.g-recaptcha-response) { float:none; display:block; width:100%; }\\n #_form_61BA0615B5B84_ ._row._checkbox-radio label { display:inline; }\\n #_form_61BA0615B5B84_ ._row,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ label { margin-bottom:0.7em; width:100%; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"],#_form_61BA0615B5B84_ ._row input[type=\\\"radio\\\"] { margin:0 !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"] + span label { display:inline; }\\n #_form_61BA0615B5B84_ ._row span label { margin:0 !important; width:initial !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._form-image { max-width:100%; height:auto !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"] { padding-left:10px; padding-right:10px; font-size:16px; line-height:1.3em; -webkit-appearance:none; }\\n #_form_61BA0615B5B84_ input[type=\\\"radio\\\"],#_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"] { display:inline-block; width:1.3em; height:1.3em; font-size:1em; margin:0 0.3em 0 0; vertical-align:baseline; }\\n #_form_61BA0615B5B84_ button[type=\\\"submit\\\"] { padding:20px; font-size:1.5em; }\\n #_form_61BA0615B5B84_ ._inline-style { margin:20px 0 0 !important; }\\n }\\n #_form_61BA0615B5B84_ { position:relative; text-align:left; margin:25px auto 0; padding:20px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; *zoom:1; background:transparent !important; border:0px solid #b0b0b0 !important; -moz-border-radius:0px !important; -webkit-border-radius:0px !important; border-radius:0px !important; color:#000 !important; }\\n #_form_61BA0615B5B84_._inline-form,#_form_61BA0615B5B84_._inline-form ._form-content,#_form_61BA0615B5B84_._inline-form input,#_form_61BA0615B5B84_._inline-form ._submit { font-family:\\\"IBM Plex Sans\\\", Helvetica, sans-serif, \\\'IBM Plex Sans\\\', arial, sans-serif; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:22px; line-height:22px; font-weight:600; margin-bottom:0; }\\n #_form_61BA0615B5B84_:before,#_form_61BA0615B5B84_:after { content:\\\" \\\"; display:table; }\\n #_form_61BA0615B5B84_:after { clear:both; }\\n #_form_61BA0615B5B84_._inline-style { width:auto; display:inline-block; }\\n #_form_61BA0615B5B84_._inline-style input[type=\\\"text\\\"],#_form_61BA0615B5B84_._inline-style input[type=\\\"date\\\"] { padding:10px 12px; }\\n #_form_61BA0615B5B84_._inline-style button._inline-style { position:relative; top:27px; }\\n #_form_61BA0615B5B84_._inline-style p { margin:0; }\\n #_form_61BA0615B5B84_._inline-style ._button-wrapper { position:relative; margin:27px 12.5px 0 20px; }\\n #_form_61BA0615B5B84_ ._form-thank-you { position:relative; left:0; right:0; text-align:center; font-size:18px; }\\n @media all and (min-width:320px) and (max-width:667px) { #_form_61BA0615B5B84_._inline-form._inline-style ._inline-style._button-wrapper { margin-top:20px !important; margin-left:0 !important; }\\n }\\n\\n #_form_61BA0615B5B84_._form_1 { background-color:transparent !important; margin:0px !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit:hover { background-color:#d29104 !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit { background-color:#faaf11 !important; border-radius:9999px !important; width:130px !important; height:50px !important; text-transform:uppercase !important; font-weight:bold; line-height:20px; margin-left:30px !important; }\\n #_form_61BA0615B5B84_ ._x87469998 input { width:350px !important; }\\n\\<\\/style\\>\\n\\<link href=\\\"https:\\/\\/fonts.googleapis.com\\/css2?family=Lato&family=Montserrat&family=Roboto&display=swap\\\" rel=\\\"stylesheet\\\"\\>\\n\\n\\n\\<div style=\\\"text-align: center;\\\"\\>\\n\\<form method=\\\"POST\\\" action=\\\"https://kidlife.activehosted.com\\/proc.php\\\" id=\\\"_form_61BA0615B5B84_\\\" class=\\\"_form _form_1 _inline-form _inline-style _dark\\\" novalidate\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"u\\\" value=\\\"61BA0615B5B84\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"1\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"s\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"c\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"m\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"sub\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"v\\\" value=\\\"2\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"or\\\" value=\\\"c97c4b767bfa312d9b47ab269c71a306\\\" \\/\\>\\n	\\<div class=\\\"_form-content\\\"\\>\\n						\\<div class=\\\"_form_element _x87469998 _inline-style \\\" \\>\\n						\\<label for=\\\"email\\\" class=\\\"_form-label\\\"\\>&nbsp;\\<\\/label\\>\\n			\\<div class=\\\"_field-wrapper\\\"\\>\\n				\\<input type=\\\"text\\\" id=\\\"email\\\" name=\\\"email\\\" placeholder=\\\"Add meg az email címed\\\" required\\/\\>\\n			\\<\\/div\\>\\n					\\<\\/div\\>\\n				\\<div class=\\\"_button-wrapper _inline-style\\\"\\>\\<button id=\\\"_form_1_submit\\\" class=\\\"_submit\\\" type=\\\"submit\\\"\\>Küldés\\<\\/button\\>\\<\\/div\\>		\\<div class=\\\"_clear-element\\\"\\>\\<\\/div\\>\\n	\\<\\/div\\>\\n	\\<div class=\\\"_form-thank-you\\\" style=\\\"display:none;\\\"\\>\\<\\/div\\>\\n	\\<\\/form\\>\\n\\<\\/div\\>\\n\';var _form_element=null,_form_elements=document.querySelectorAll(\'._form_1\');for(var fe=0;fe<_form_elements.length;fe++){_form_element=_form_elements[fe];if(_form_element.innerHTML.trim()===\'\')break;_form_element=null}\nif(!_form_element){_form_element=document.createElement(\'div\');if(!document.body){document.firstChild.appendChild(document.createElement(\'body\'))}\ndocument.body.appendChild(_form_element)}\n_form_element.innerHTML=_form_output;var form_to_submit=document.getElementById(\'_form_61BA0615B5B84_\');var allInputs=form_to_submit.querySelectorAll(\'input, select, textarea\'),tooltips=[],submitted=!1;var getUrlParam=function(name){var regexStr=\'[\\?&]\'+name+\'=([^&#]*)\';var results=new RegExp(regexStr,\'i\').exec(window.location.href);return results!=undefined?decodeURIComponent(results[1]):!1};for(var i=0;i<allInputs.length;i++){var regexStr=\"field\\\\[(\\\\d+)\\\\]\";var results=new RegExp(regexStr).exec(allInputs[i].name);if(results!=undefined){allInputs[i].dataset.name=window.cfields[results[1]]}else{allInputs[i].dataset.name=allInputs[i].name}\nvar fieldVal=getUrlParam(allInputs[i].dataset.name);if(fieldVal){if(allInputs[i].dataset.autofill===\"false\"){continue}\nif(allInputs[i].type==\"radio\"||allInputs[i].type==\"checkbox\"){if(allInputs[i].value==fieldVal){allInputs[i].checked=!0}}else{allInputs[i].value=fieldVal}}}\nvar remove_tooltips=function(){for(var i=0;i<tooltips.length;i++){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip)}\ntooltips=[]};var remove_tooltip=function(elem){for(var i=0;i<tooltips.length;i++){if(tooltips[i].elem===elem){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip);tooltips.splice(i,1);return}}};var create_tooltip=function(elem,text){var tooltip=document.createElement(\'div\'),arrow=document.createElement(\'div\'),inner=document.createElement(\'div\'),new_tooltip={};if(elem.type!=\'radio\'&&elem.type!=\'checkbox\'){tooltip.className=\'_error\';arrow.className=\'_error-arrow\';inner.className=\'_error-inner\';inner.innerHTML=text;tooltip.appendChild(arrow);tooltip.appendChild(inner);elem.parentNode.appendChild(tooltip)}else{tooltip.className=\'_error-inner _no_arrow\';tooltip.innerHTML=text;elem.parentNode.insertBefore(tooltip,elem);new_tooltip.no_arrow=!0}\nnew_tooltip.tip=tooltip;new_tooltip.elem=elem;tooltips.push(new_tooltip);return new_tooltip};var resize_tooltip=function(tooltip){var rect=tooltip.elem.getBoundingClientRect();var doc=document.documentElement,scrollPosition=rect.top-((window.pageYOffset||doc.scrollTop)-(doc.clientTop||0));if(scrollPosition<40){tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _below\'}else{tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _above\'}};var resize_tooltips=function(){if(_removed)return;for(var i=0;i<tooltips.length;i++){if(!tooltips[i].no_arrow)resize_tooltip(tooltips[i])}};var validate_field=function(elem,remove){var tooltip=null,value=elem.value,no_error=!0;remove?remove_tooltip(elem):!1;if(elem.type!=\'checkbox\')elem.className=elem.className.replace(/ ?_has_error ?/g,\'\');if(elem.getAttribute(\'required\')!==null){if(elem.type==\'radio\'||(elem.type==\'checkbox\'&&/any/.test(elem.className))){var elems=form_to_submit.elements[elem.name];if(!(elems instanceof NodeList||elems instanceof HTMLCollection)||elems.length<=1){no_error=elem.checked}else{no_error=!1;for(var i=0;i<elems.length;i++){if(elems[i].checked)no_error=!0}}\nif(!no_error){tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(elem.type==\'checkbox\'){var elems=form_to_submit.elements[elem.name],found=!1,err=[];no_error=!0;for(var i=0;i<elems.length;i++){if(elems[i].getAttribute(\'required\')===null)continue;if(!found&&elems[i]!==elem)return!0;found=!0;elems[i].className=elems[i].className.replace(/ ?_has_error ?/g,\'\');if(!elems[i].checked){no_error=!1;elems[i].className=elems[i].className+\' _has_error\';err.push(\"Checking %s is required\".replace(\"%s\",elems[i].value))}}\nif(!no_error){tooltip=create_tooltip(elem,err.join(\'<br/>\'))}}else if(elem.tagName==\'SELECT\'){var selected=!0;if(elem.multiple){selected=!1;for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected){selected=!0;break}}}else{for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected&&!elem.options[i].value){selected=!1}}}\nif(!selected){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(value===undefined||value===null||value===\'\'){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"This field is required.\")}}\nif(no_error&&elem.name==\'email\'){if(!value.match(/^[\\+_a-z0-9-\'&=]+(\\.[\\+_a-z0-9-\']+)*@[a-z0-9-]+(\\.[a-z0-9-]+)*(\\.[a-z]{2,})$/i)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid email address.\")}}\nif(no_error&&/date_field/.test(elem.className)){if(!value.match(/^\\d\\d\\d\\d-\\d\\d-\\d\\d$/)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid date.\")}}\ntooltip?resize_tooltip(tooltip):!1;return no_error};var needs_validate=function(el){if(el.getAttribute(\'required\')!==null){return!0}\nif(el.name===\'email\'&&el.value!==\"\"){return!0}\nreturn!1};var validate_form=function(e){var err=form_to_submit.querySelector(\'._form_error\'),no_error=!0;if(!submitted){submitted=!0;for(var i=0,len=allInputs.length;i<len;i++){var input=allInputs[i];if(needs_validate(input)){if(input.type==\'text\'){addEvent(input,\'blur\',function(){this.value=this.value.trim();validate_field(this,!0)});addEvent(input,\'input\',function(){validate_field(this,!0)})}else if(input.type==\'radio\'||input.type==\'checkbox\'){(function(el){var radios=form_to_submit.elements[el.name];for(var i=0;i<radios.length;i++){addEvent(radios[i],\'click\',function(){validate_field(el,!0)})}})(input)}else if(input.tagName==\'SELECT\'){addEvent(input,\'change\',function(){validate_field(this,!0)})}else if(input.type==\'textarea\'){addEvent(input,\'input\',function(){validate_field(this,!0)})}}}}\nremove_tooltips();for(var i=0,len=allInputs.length;i<len;i++){var elem=allInputs[i];if(needs_validate(elem)){if(elem.tagName.toLowerCase()!==\"select\"){elem.value=elem.value.trim()}\nvalidate_field(elem)?!0:no_error=!1}}\nif(!no_error&&e){e.preventDefault()}\nresize_tooltips();return no_error};addEvent(window,\'resize\',resize_tooltips);addEvent(window,\'scroll\',resize_tooltips);window._old_serialize=null;if(typeof serialize!==\'undefined\')window._old_serialize=window.serialize;_load_script(\"//d3rxaij56vjege.cloudfront.net/form-serialize/0.3/serialize.min.js\",function(){window._form_serialize=window.serialize;if(window._old_serialize)window.serialize=window._old_serialize});var form_submit=function(e){e.preventDefault();if(validate_form()){document.querySelector(\'#_form_1_submit\').disabled=!0;var serialized=_form_serialize(document.getElementById(\'_form_61BA0615B5B84_\')).replace(/%0A/g,\'\\\\n\');var err=form_to_submit.querySelector(\'._form_error\');err?err.parentNode.removeChild(err):!1;_load_script(\'https://kidlife.activehosted.com/proc.php?\'+serialized+\'&jsonp=true\')}\nreturn!1};addEvent(form_to_submit,\'submit\',form_submit)})()','6b88c63d83381449b42adccc38c4f21d',0,0,'0000-00-00 00:00:00','2022-01-06 19:40:29'),(3251,'https://kidlife.activehosted.com/f/embed.php?static=0&id=1&61D73B4E1B26E&nostyles=0&preview=0','js','','window.cfields=[];window._show_thank_you=function(id,message,trackcmp_url,email){var form=document.getElementById(\'_form_\'+id+\'_\'),thank_you=form.querySelector(\'._form-thank-you\');form.querySelector(\'._form-content\').style.display=\'none\';thank_you.innerHTML=message;thank_you.style.display=\'block\';const vgoAlias=typeof visitorGlobalObjectAlias===\'undefined\'?\'vgo\':visitorGlobalObjectAlias;var visitorObject=window[vgoAlias];if(email&&typeof visitorObject!==\'undefined\'){visitorObject(\'setEmail\',email);visitorObject(\'update\')}else if(typeof(trackcmp_url)!=\'undefined\'&&trackcmp_url){_load_script(trackcmp_url)}\nif(typeof window._form_callback!==\'undefined\')window._form_callback(id)};window._show_error=function(id,message,html){var form=document.getElementById(\'_form_\'+id+\'_\'),err=document.createElement(\'div\'),button=form.querySelector(\'button\'),old_error=form.querySelector(\'._form_error\');if(old_error)old_error.parentNode.removeChild(old_error);err.innerHTML=message;err.className=\'_error-inner _form_error _no_arrow\';var wrapper=document.createElement(\'div\');wrapper.className=\'_form-inner\';wrapper.appendChild(err);button.parentNode.insertBefore(wrapper,button);document.querySelector(\'[id^=\"_form\"][id$=\"_submit\"]\').disabled=!1;if(html){var div=document.createElement(\'div\');div.className=\'_error-html\';div.innerHTML=html;err.appendChild(div)}};window._load_script=function(url,callback){var head=document.querySelector(\'head\'),script=document.createElement(\'script\'),r=!1;script.type=\'text/javascript\';script.charset=\'utf-8\';script.src=url;if(callback){script.onload=script.onreadystatechange=function(){if(!r&&(!this.readyState||this.readyState==\'complete\')){r=!0;callback()}}}\nhead.appendChild(script)};(function(){if(window.location.search.search(\"excludeform\")!==-1)return!1;var getCookie=function(name){var match=document.cookie.match(new RegExp(\'(^|; )\'+name+\'=([^;]+)\'));return match?match[2]:null}\nvar setCookie=function(name,value){var now=new Date();var time=now.getTime();var expireTime=time+1000*60*60*24*365;now.setTime(expireTime);document.cookie=name+\'=\'+value+\'; expires=\'+now+\';path=/\'}\nvar addEvent=function(element,event,func){if(element.addEventListener){element.addEventListener(event,func)}else{var oldFunc=element[\'on\'+event];element[\'on\'+event]=function(){oldFunc.apply(this,arguments);func.apply(this,arguments)}}}\nvar _removed=!1;var _form_output=\'\\<style\\>\\n #_form_61BA0615B5B84_ { font-size:14px; line-height:1.6; font-family:arial, helvetica, sans-serif; margin:0; }\\n #_form_61BA0615B5B84_ * { outline:0; }\\n ._form_hide { display:none; visibility:hidden; }\\n ._form_show { display:block; visibility:visible; }\\n #_form_61BA0615B5B84_._form-top { top:0; }\\n #_form_61BA0615B5B84_._form-bottom { bottom:0; }\\n #_form_61BA0615B5B84_._form-left { left:0; }\\n #_form_61BA0615B5B84_._form-right { right:0; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ input[type=\\\"date\\\"],#_form_61BA0615B5B84_ textarea { padding:6px; height:auto; border:#979797 1px solid; border-radius:4px; color:#000 !important; font-size:14px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ textarea { resize:none; }\\n #_form_61BA0615B5B84_ ._submit { -webkit-appearance:none; cursor:pointer; font-family:arial, sans-serif; font-size:14px; text-align:center; background:#333 !important; border:0 !important; -moz-border-radius:4px !important; -webkit-border-radius:4px !important; border-radius:4px !important; color:#fff !important; padding:10px !important; }\\n #_form_61BA0615B5B84_ ._close-icon { cursor:pointer; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/esfkyjh1u_forms-close-dark.png\\\'); background-repeat:no-repeat; background-size:14.2px 14.2px; position:absolute; display:block; top:11px; right:9px; overflow:hidden; width:16.2px; height:16.2px; }\\n #_form_61BA0615B5B84_ ._close-icon:before { position:relative; }\\n #_form_61BA0615B5B84_ ._form-body { margin-bottom:30px; }\\n #_form_61BA0615B5B84_ ._form-image-left { width:150px; float:left; }\\n #_form_61BA0615B5B84_ ._form-content-right { margin-left:164px; }\\n #_form_61BA0615B5B84_ ._form-branding { color:#fff; font-size:10px; clear:both; text-align:left; margin-top:30px; font-weight:100; }\\n #_form_61BA0615B5B84_ ._form-branding ._logo { display:block; width:130px; height:14px; margin-top:6px; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/hh9ujqgv5_aclogo_li.png\\\'); background-size:130px auto; background-repeat:no-repeat; }\\n #_form_61BA0615B5B84_ .form-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0, 0, 0, 0); border:0; }\\n #_form_61BA0615B5B84_ ._form-label,#_form_61BA0615B5B84_ ._form_element ._form-label { font-weight:bold; margin-bottom:5px; display:block; }\\n #_form_61BA0615B5B84_._dark ._form-branding { color:#333; }\\n #_form_61BA0615B5B84_._dark ._form-branding ._logo { background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/jftq2c8s_aclogo_dk.png\\\'); }\\n #_form_61BA0615B5B84_ ._form_element { position:relative; margin-bottom:10px; font-size:0; max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element * { font-size:14px; }\\n #_form_61BA0615B5B84_ ._form_element._clear { clear:both; width:100%; float:none; }\\n #_form_61BA0615B5B84_ ._form_element._clear:after { clear:left; }\\n #_form_61BA0615B5B84_ ._form_element input[type=\\\"text\\\"],#_form_61BA0615B5B84_ ._form_element input[type=\\\"date\\\"],#_form_61BA0615B5B84_ ._form_element select,#_form_61BA0615B5B84_ ._form_element textarea:not(.g-recaptcha-response) { display:block; width:100%; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-family:inherit; }\\n #_form_61BA0615B5B84_ ._field-wrapper { position:relative; }\\n #_form_61BA0615B5B84_ ._inline-style { float:left; }\\n #_form_61BA0615B5B84_ ._inline-style input[type=\\\"text\\\"] { width:150px; }\\n #_form_61BA0615B5B84_ ._inline-style:not(._clear) + ._inline-style:not(._clear) { margin-left:20px; }\\n #_form_61BA0615B5B84_ ._form_element img._form-image { max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element ._form-fieldset { border:0; padding:0.01em 0 0 0; margin:0; min-width:0; }\\n #_form_61BA0615B5B84_ ._clear-element { clear:left; }\\n #_form_61BA0615B5B84_ ._full_width { width:100%; }\\n #_form_61BA0615B5B84_ ._form_full_field { display:block; width:100%; margin-bottom:10px; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"]._has_error,#_form_61BA0615B5B84_ textarea._has_error { border:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"]._has_error { outline:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ ._error { display:block; position:absolute; font-size:14px; z-index:10000001; }\\n #_form_61BA0615B5B84_ ._error._above { padding-bottom:4px; bottom:39px; right:0; }\\n #_form_61BA0615B5B84_ ._error._below { padding-top:4px; top:100%; right:0; }\\n #_form_61BA0615B5B84_ ._error._above ._error-arrow { bottom:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-top:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error._below ._error-arrow { top:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-bottom:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error-inner { padding:8px 12px; background-color:#f37c7b; font-size:14px; font-family:arial, sans-serif; color:#fff; text-align:center; text-decoration:none; -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; }\\n #_form_61BA0615B5B84_ ._error-inner._form_error { margin-bottom:5px; text-align:left; }\\n #_form_61BA0615B5B84_ ._button-wrapper ._error-inner._form_error { position:static; }\\n #_form_61BA0615B5B84_ ._error-inner._no_arrow { margin-bottom:10px; }\\n #_form_61BA0615B5B84_ ._error-arrow { position:absolute; width:0; height:0; }\\n #_form_61BA0615B5B84_ ._error-html { margin-bottom:10px; }\\n .pika-single { z-index:10000001 !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"].datetime_date { width:69%; display:inline; }\\n #_form_61BA0615B5B84_ select.datetime_time { width:29%; display:inline; height:32px; }\\n @media all and (min-width:320px) and (max-width:667px) { ::-webkit-scrollbar { display:none; }\\n #_form_61BA0615B5B84_ { margin:0; width:100%; min-width:100%; max-width:100%; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ * { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-size:1em; }\\n #_form_61BA0615B5B84_ ._form-content { margin:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-inner { display:block; min-width:100%; }\\n #_form_61BA0615B5B84_ ._form-title,#_form_61BA0615B5B84_ ._inline-style { margin-top:0; margin-right:0; margin-left:0; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:1.2em; }\\n #_form_61BA0615B5B84_ ._form_element { margin:0 0 20px; padding:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-element,#_form_61BA0615B5B84_ ._inline-style,#_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ label,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ textarea:not(.g-recaptcha-response) { float:none; display:block; width:100%; }\\n #_form_61BA0615B5B84_ ._row._checkbox-radio label { display:inline; }\\n #_form_61BA0615B5B84_ ._row,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ label { margin-bottom:0.7em; width:100%; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"],#_form_61BA0615B5B84_ ._row input[type=\\\"radio\\\"] { margin:0 !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"] + span label { display:inline; }\\n #_form_61BA0615B5B84_ ._row span label { margin:0 !important; width:initial !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._form-image { max-width:100%; height:auto !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"] { padding-left:10px; padding-right:10px; font-size:16px; line-height:1.3em; -webkit-appearance:none; }\\n #_form_61BA0615B5B84_ input[type=\\\"radio\\\"],#_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"] { display:inline-block; width:1.3em; height:1.3em; font-size:1em; margin:0 0.3em 0 0; vertical-align:baseline; }\\n #_form_61BA0615B5B84_ button[type=\\\"submit\\\"] { padding:20px; font-size:1.5em; }\\n #_form_61BA0615B5B84_ ._inline-style { margin:20px 0 0 !important; }\\n }\\n #_form_61BA0615B5B84_ { position:relative; text-align:left; margin:25px auto 0; padding:20px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; *zoom:1; background:transparent !important; border:0px solid #b0b0b0 !important; -moz-border-radius:0px !important; -webkit-border-radius:0px !important; border-radius:0px !important; color:#000 !important; }\\n #_form_61BA0615B5B84_._inline-form,#_form_61BA0615B5B84_._inline-form ._form-content,#_form_61BA0615B5B84_._inline-form input,#_form_61BA0615B5B84_._inline-form ._submit { font-family:\\\"IBM Plex Sans\\\", Helvetica, sans-serif, \\\'IBM Plex Sans\\\', arial, sans-serif; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:22px; line-height:22px; font-weight:600; margin-bottom:0; }\\n #_form_61BA0615B5B84_:before,#_form_61BA0615B5B84_:after { content:\\\" \\\"; display:table; }\\n #_form_61BA0615B5B84_:after { clear:both; }\\n #_form_61BA0615B5B84_._inline-style { width:auto; display:inline-block; }\\n #_form_61BA0615B5B84_._inline-style input[type=\\\"text\\\"],#_form_61BA0615B5B84_._inline-style input[type=\\\"date\\\"] { padding:10px 12px; }\\n #_form_61BA0615B5B84_._inline-style button._inline-style { position:relative; top:27px; }\\n #_form_61BA0615B5B84_._inline-style p { margin:0; }\\n #_form_61BA0615B5B84_._inline-style ._button-wrapper { position:relative; margin:27px 12.5px 0 20px; }\\n #_form_61BA0615B5B84_ ._form-thank-you { position:relative; left:0; right:0; text-align:center; font-size:18px; }\\n @media all and (min-width:320px) and (max-width:667px) { #_form_61BA0615B5B84_._inline-form._inline-style ._inline-style._button-wrapper { margin-top:20px !important; margin-left:0 !important; }\\n }\\n\\n #_form_61BA0615B5B84_._form_1 { background-color:transparent !important; margin:0px !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit:hover { background-color:#d29104 !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit { background-color:#faaf11 !important; border-radius:9999px !important; width:130px !important; height:50px !important; text-transform:uppercase !important; font-weight:bold; line-height:20px; margin-left:30px !important; }\\n #_form_61BA0615B5B84_ ._x87469998 input { width:350px !important; }\\n\\<\\/style\\>\\n\\<link href=\\\"https:\\/\\/fonts.googleapis.com\\/css2?family=Lato&family=Montserrat&family=Roboto&display=swap\\\" rel=\\\"stylesheet\\\"\\>\\n\\n\\n\\<div style=\\\"text-align: center;\\\"\\>\\n\\<form method=\\\"POST\\\" action=\\\"https://kidlife.activehosted.com\\/proc.php\\\" id=\\\"_form_61BA0615B5B84_\\\" class=\\\"_form _form_1 _inline-form _inline-style _dark\\\" novalidate\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"u\\\" value=\\\"61BA0615B5B84\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"1\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"s\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"c\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"m\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"sub\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"v\\\" value=\\\"2\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"or\\\" value=\\\"c97c4b767bfa312d9b47ab269c71a306\\\" \\/\\>\\n	\\<div class=\\\"_form-content\\\"\\>\\n						\\<div class=\\\"_form_element _x87469998 _inline-style \\\" \\>\\n						\\<label for=\\\"email\\\" class=\\\"_form-label\\\"\\>&nbsp;\\<\\/label\\>\\n			\\<div class=\\\"_field-wrapper\\\"\\>\\n				\\<input type=\\\"text\\\" id=\\\"email\\\" name=\\\"email\\\" placeholder=\\\"Add meg az email címed\\\" required\\/\\>\\n			\\<\\/div\\>\\n					\\<\\/div\\>\\n				\\<div class=\\\"_button-wrapper _inline-style\\\"\\>\\<button id=\\\"_form_1_submit\\\" class=\\\"_submit\\\" type=\\\"submit\\\"\\>Küldés\\<\\/button\\>\\<\\/div\\>		\\<div class=\\\"_clear-element\\\"\\>\\<\\/div\\>\\n	\\<\\/div\\>\\n	\\<div class=\\\"_form-thank-you\\\" style=\\\"display:none;\\\"\\>\\<\\/div\\>\\n	\\<\\/form\\>\\n\\<\\/div\\>\\n\';var _form_element=null,_form_elements=document.querySelectorAll(\'._form_1\');for(var fe=0;fe<_form_elements.length;fe++){_form_element=_form_elements[fe];if(_form_element.innerHTML.trim()===\'\')break;_form_element=null}\nif(!_form_element){_form_element=document.createElement(\'div\');if(!document.body){document.firstChild.appendChild(document.createElement(\'body\'))}\ndocument.body.appendChild(_form_element)}\n_form_element.innerHTML=_form_output;var form_to_submit=document.getElementById(\'_form_61BA0615B5B84_\');var allInputs=form_to_submit.querySelectorAll(\'input, select, textarea\'),tooltips=[],submitted=!1;var getUrlParam=function(name){var regexStr=\'[\\?&]\'+name+\'=([^&#]*)\';var results=new RegExp(regexStr,\'i\').exec(window.location.href);return results!=undefined?decodeURIComponent(results[1]):!1};for(var i=0;i<allInputs.length;i++){var regexStr=\"field\\\\[(\\\\d+)\\\\]\";var results=new RegExp(regexStr).exec(allInputs[i].name);if(results!=undefined){allInputs[i].dataset.name=window.cfields[results[1]]}else{allInputs[i].dataset.name=allInputs[i].name}\nvar fieldVal=getUrlParam(allInputs[i].dataset.name);if(fieldVal){if(allInputs[i].dataset.autofill===\"false\"){continue}\nif(allInputs[i].type==\"radio\"||allInputs[i].type==\"checkbox\"){if(allInputs[i].value==fieldVal){allInputs[i].checked=!0}}else{allInputs[i].value=fieldVal}}}\nvar remove_tooltips=function(){for(var i=0;i<tooltips.length;i++){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip)}\ntooltips=[]};var remove_tooltip=function(elem){for(var i=0;i<tooltips.length;i++){if(tooltips[i].elem===elem){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip);tooltips.splice(i,1);return}}};var create_tooltip=function(elem,text){var tooltip=document.createElement(\'div\'),arrow=document.createElement(\'div\'),inner=document.createElement(\'div\'),new_tooltip={};if(elem.type!=\'radio\'&&elem.type!=\'checkbox\'){tooltip.className=\'_error\';arrow.className=\'_error-arrow\';inner.className=\'_error-inner\';inner.innerHTML=text;tooltip.appendChild(arrow);tooltip.appendChild(inner);elem.parentNode.appendChild(tooltip)}else{tooltip.className=\'_error-inner _no_arrow\';tooltip.innerHTML=text;elem.parentNode.insertBefore(tooltip,elem);new_tooltip.no_arrow=!0}\nnew_tooltip.tip=tooltip;new_tooltip.elem=elem;tooltips.push(new_tooltip);return new_tooltip};var resize_tooltip=function(tooltip){var rect=tooltip.elem.getBoundingClientRect();var doc=document.documentElement,scrollPosition=rect.top-((window.pageYOffset||doc.scrollTop)-(doc.clientTop||0));if(scrollPosition<40){tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _below\'}else{tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _above\'}};var resize_tooltips=function(){if(_removed)return;for(var i=0;i<tooltips.length;i++){if(!tooltips[i].no_arrow)resize_tooltip(tooltips[i])}};var validate_field=function(elem,remove){var tooltip=null,value=elem.value,no_error=!0;remove?remove_tooltip(elem):!1;if(elem.type!=\'checkbox\')elem.className=elem.className.replace(/ ?_has_error ?/g,\'\');if(elem.getAttribute(\'required\')!==null){if(elem.type==\'radio\'||(elem.type==\'checkbox\'&&/any/.test(elem.className))){var elems=form_to_submit.elements[elem.name];if(!(elems instanceof NodeList||elems instanceof HTMLCollection)||elems.length<=1){no_error=elem.checked}else{no_error=!1;for(var i=0;i<elems.length;i++){if(elems[i].checked)no_error=!0}}\nif(!no_error){tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(elem.type==\'checkbox\'){var elems=form_to_submit.elements[elem.name],found=!1,err=[];no_error=!0;for(var i=0;i<elems.length;i++){if(elems[i].getAttribute(\'required\')===null)continue;if(!found&&elems[i]!==elem)return!0;found=!0;elems[i].className=elems[i].className.replace(/ ?_has_error ?/g,\'\');if(!elems[i].checked){no_error=!1;elems[i].className=elems[i].className+\' _has_error\';err.push(\"Checking %s is required\".replace(\"%s\",elems[i].value))}}\nif(!no_error){tooltip=create_tooltip(elem,err.join(\'<br/>\'))}}else if(elem.tagName==\'SELECT\'){var selected=!0;if(elem.multiple){selected=!1;for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected){selected=!0;break}}}else{for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected&&!elem.options[i].value){selected=!1}}}\nif(!selected){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(value===undefined||value===null||value===\'\'){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"This field is required.\")}}\nif(no_error&&elem.name==\'email\'){if(!value.match(/^[\\+_a-z0-9-\'&=]+(\\.[\\+_a-z0-9-\']+)*@[a-z0-9-]+(\\.[a-z0-9-]+)*(\\.[a-z]{2,})$/i)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid email address.\")}}\nif(no_error&&/date_field/.test(elem.className)){if(!value.match(/^\\d\\d\\d\\d-\\d\\d-\\d\\d$/)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid date.\")}}\ntooltip?resize_tooltip(tooltip):!1;return no_error};var needs_validate=function(el){if(el.getAttribute(\'required\')!==null){return!0}\nif(el.name===\'email\'&&el.value!==\"\"){return!0}\nreturn!1};var validate_form=function(e){var err=form_to_submit.querySelector(\'._form_error\'),no_error=!0;if(!submitted){submitted=!0;for(var i=0,len=allInputs.length;i<len;i++){var input=allInputs[i];if(needs_validate(input)){if(input.type==\'text\'){addEvent(input,\'blur\',function(){this.value=this.value.trim();validate_field(this,!0)});addEvent(input,\'input\',function(){validate_field(this,!0)})}else if(input.type==\'radio\'||input.type==\'checkbox\'){(function(el){var radios=form_to_submit.elements[el.name];for(var i=0;i<radios.length;i++){addEvent(radios[i],\'click\',function(){validate_field(el,!0)})}})(input)}else if(input.tagName==\'SELECT\'){addEvent(input,\'change\',function(){validate_field(this,!0)})}else if(input.type==\'textarea\'){addEvent(input,\'input\',function(){validate_field(this,!0)})}}}}\nremove_tooltips();for(var i=0,len=allInputs.length;i<len;i++){var elem=allInputs[i];if(needs_validate(elem)){if(elem.tagName.toLowerCase()!==\"select\"){elem.value=elem.value.trim()}\nvalidate_field(elem)?!0:no_error=!1}}\nif(!no_error&&e){e.preventDefault()}\nresize_tooltips();return no_error};addEvent(window,\'resize\',resize_tooltips);addEvent(window,\'scroll\',resize_tooltips);window._old_serialize=null;if(typeof serialize!==\'undefined\')window._old_serialize=window.serialize;_load_script(\"//d3rxaij56vjege.cloudfront.net/form-serialize/0.3/serialize.min.js\",function(){window._form_serialize=window.serialize;if(window._old_serialize)window.serialize=window._old_serialize});var form_submit=function(e){e.preventDefault();if(validate_form()){document.querySelector(\'#_form_1_submit\').disabled=!0;var serialized=_form_serialize(document.getElementById(\'_form_61BA0615B5B84_\')).replace(/%0A/g,\'\\\\n\');var err=form_to_submit.querySelector(\'._form_error\');err?err.parentNode.removeChild(err):!1;_load_script(\'https://kidlife.activehosted.com/proc.php?\'+serialized+\'&jsonp=true\')}\nreturn!1};addEvent(form_to_submit,\'submit\',form_submit)})()','6b88c63d83381449b42adccc38c4f21d',0,0,'0000-00-00 00:00:00','2022-01-06 18:56:48'),(3249,'https://kidlife.activehosted.com/f/embed.php?static=0&id=1&61D6EB932FAFA&nostyles=0&preview=0','js','','window.cfields=[];window._show_thank_you=function(id,message,trackcmp_url,email){var form=document.getElementById(\'_form_\'+id+\'_\'),thank_you=form.querySelector(\'._form-thank-you\');form.querySelector(\'._form-content\').style.display=\'none\';thank_you.innerHTML=message;thank_you.style.display=\'block\';const vgoAlias=typeof visitorGlobalObjectAlias===\'undefined\'?\'vgo\':visitorGlobalObjectAlias;var visitorObject=window[vgoAlias];if(email&&typeof visitorObject!==\'undefined\'){visitorObject(\'setEmail\',email);visitorObject(\'update\')}else if(typeof(trackcmp_url)!=\'undefined\'&&trackcmp_url){_load_script(trackcmp_url)}\nif(typeof window._form_callback!==\'undefined\')window._form_callback(id)};window._show_error=function(id,message,html){var form=document.getElementById(\'_form_\'+id+\'_\'),err=document.createElement(\'div\'),button=form.querySelector(\'button\'),old_error=form.querySelector(\'._form_error\');if(old_error)old_error.parentNode.removeChild(old_error);err.innerHTML=message;err.className=\'_error-inner _form_error _no_arrow\';var wrapper=document.createElement(\'div\');wrapper.className=\'_form-inner\';wrapper.appendChild(err);button.parentNode.insertBefore(wrapper,button);document.querySelector(\'[id^=\"_form\"][id$=\"_submit\"]\').disabled=!1;if(html){var div=document.createElement(\'div\');div.className=\'_error-html\';div.innerHTML=html;err.appendChild(div)}};window._load_script=function(url,callback){var head=document.querySelector(\'head\'),script=document.createElement(\'script\'),r=!1;script.type=\'text/javascript\';script.charset=\'utf-8\';script.src=url;if(callback){script.onload=script.onreadystatechange=function(){if(!r&&(!this.readyState||this.readyState==\'complete\')){r=!0;callback()}}}\nhead.appendChild(script)};(function(){if(window.location.search.search(\"excludeform\")!==-1)return!1;var getCookie=function(name){var match=document.cookie.match(new RegExp(\'(^|; )\'+name+\'=([^;]+)\'));return match?match[2]:null}\nvar setCookie=function(name,value){var now=new Date();var time=now.getTime();var expireTime=time+1000*60*60*24*365;now.setTime(expireTime);document.cookie=name+\'=\'+value+\'; expires=\'+now+\';path=/\'}\nvar addEvent=function(element,event,func){if(element.addEventListener){element.addEventListener(event,func)}else{var oldFunc=element[\'on\'+event];element[\'on\'+event]=function(){oldFunc.apply(this,arguments);func.apply(this,arguments)}}}\nvar _removed=!1;var _form_output=\'\\<style\\>\\n #_form_61BA0615B5B84_ { font-size:14px; line-height:1.6; font-family:arial, helvetica, sans-serif; margin:0; }\\n #_form_61BA0615B5B84_ * { outline:0; }\\n ._form_hide { display:none; visibility:hidden; }\\n ._form_show { display:block; visibility:visible; }\\n #_form_61BA0615B5B84_._form-top { top:0; }\\n #_form_61BA0615B5B84_._form-bottom { bottom:0; }\\n #_form_61BA0615B5B84_._form-left { left:0; }\\n #_form_61BA0615B5B84_._form-right { right:0; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ input[type=\\\"date\\\"],#_form_61BA0615B5B84_ textarea { padding:6px; height:auto; border:#979797 1px solid; border-radius:4px; color:#000 !important; font-size:14px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ textarea { resize:none; }\\n #_form_61BA0615B5B84_ ._submit { -webkit-appearance:none; cursor:pointer; font-family:arial, sans-serif; font-size:14px; text-align:center; background:#333 !important; border:0 !important; -moz-border-radius:4px !important; -webkit-border-radius:4px !important; border-radius:4px !important; color:#fff !important; padding:10px !important; }\\n #_form_61BA0615B5B84_ ._close-icon { cursor:pointer; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/esfkyjh1u_forms-close-dark.png\\\'); background-repeat:no-repeat; background-size:14.2px 14.2px; position:absolute; display:block; top:11px; right:9px; overflow:hidden; width:16.2px; height:16.2px; }\\n #_form_61BA0615B5B84_ ._close-icon:before { position:relative; }\\n #_form_61BA0615B5B84_ ._form-body { margin-bottom:30px; }\\n #_form_61BA0615B5B84_ ._form-image-left { width:150px; float:left; }\\n #_form_61BA0615B5B84_ ._form-content-right { margin-left:164px; }\\n #_form_61BA0615B5B84_ ._form-branding { color:#fff; font-size:10px; clear:both; text-align:left; margin-top:30px; font-weight:100; }\\n #_form_61BA0615B5B84_ ._form-branding ._logo { display:block; width:130px; height:14px; margin-top:6px; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/hh9ujqgv5_aclogo_li.png\\\'); background-size:130px auto; background-repeat:no-repeat; }\\n #_form_61BA0615B5B84_ .form-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0, 0, 0, 0); border:0; }\\n #_form_61BA0615B5B84_ ._form-label,#_form_61BA0615B5B84_ ._form_element ._form-label { font-weight:bold; margin-bottom:5px; display:block; }\\n #_form_61BA0615B5B84_._dark ._form-branding { color:#333; }\\n #_form_61BA0615B5B84_._dark ._form-branding ._logo { background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/jftq2c8s_aclogo_dk.png\\\'); }\\n #_form_61BA0615B5B84_ ._form_element { position:relative; margin-bottom:10px; font-size:0; max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element * { font-size:14px; }\\n #_form_61BA0615B5B84_ ._form_element._clear { clear:both; width:100%; float:none; }\\n #_form_61BA0615B5B84_ ._form_element._clear:after { clear:left; }\\n #_form_61BA0615B5B84_ ._form_element input[type=\\\"text\\\"],#_form_61BA0615B5B84_ ._form_element input[type=\\\"date\\\"],#_form_61BA0615B5B84_ ._form_element select,#_form_61BA0615B5B84_ ._form_element textarea:not(.g-recaptcha-response) { display:block; width:100%; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-family:inherit; }\\n #_form_61BA0615B5B84_ ._field-wrapper { position:relative; }\\n #_form_61BA0615B5B84_ ._inline-style { float:left; }\\n #_form_61BA0615B5B84_ ._inline-style input[type=\\\"text\\\"] { width:150px; }\\n #_form_61BA0615B5B84_ ._inline-style:not(._clear) + ._inline-style:not(._clear) { margin-left:20px; }\\n #_form_61BA0615B5B84_ ._form_element img._form-image { max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element ._form-fieldset { border:0; padding:0.01em 0 0 0; margin:0; min-width:0; }\\n #_form_61BA0615B5B84_ ._clear-element { clear:left; }\\n #_form_61BA0615B5B84_ ._full_width { width:100%; }\\n #_form_61BA0615B5B84_ ._form_full_field { display:block; width:100%; margin-bottom:10px; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"]._has_error,#_form_61BA0615B5B84_ textarea._has_error { border:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"]._has_error { outline:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ ._error { display:block; position:absolute; font-size:14px; z-index:10000001; }\\n #_form_61BA0615B5B84_ ._error._above { padding-bottom:4px; bottom:39px; right:0; }\\n #_form_61BA0615B5B84_ ._error._below { padding-top:4px; top:100%; right:0; }\\n #_form_61BA0615B5B84_ ._error._above ._error-arrow { bottom:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-top:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error._below ._error-arrow { top:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-bottom:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error-inner { padding:8px 12px; background-color:#f37c7b; font-size:14px; font-family:arial, sans-serif; color:#fff; text-align:center; text-decoration:none; -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; }\\n #_form_61BA0615B5B84_ ._error-inner._form_error { margin-bottom:5px; text-align:left; }\\n #_form_61BA0615B5B84_ ._button-wrapper ._error-inner._form_error { position:static; }\\n #_form_61BA0615B5B84_ ._error-inner._no_arrow { margin-bottom:10px; }\\n #_form_61BA0615B5B84_ ._error-arrow { position:absolute; width:0; height:0; }\\n #_form_61BA0615B5B84_ ._error-html { margin-bottom:10px; }\\n .pika-single { z-index:10000001 !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"].datetime_date { width:69%; display:inline; }\\n #_form_61BA0615B5B84_ select.datetime_time { width:29%; display:inline; height:32px; }\\n @media all and (min-width:320px) and (max-width:667px) { ::-webkit-scrollbar { display:none; }\\n #_form_61BA0615B5B84_ { margin:0; width:100%; min-width:100%; max-width:100%; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ * { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-size:1em; }\\n #_form_61BA0615B5B84_ ._form-content { margin:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-inner { display:block; min-width:100%; }\\n #_form_61BA0615B5B84_ ._form-title,#_form_61BA0615B5B84_ ._inline-style { margin-top:0; margin-right:0; margin-left:0; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:1.2em; }\\n #_form_61BA0615B5B84_ ._form_element { margin:0 0 20px; padding:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-element,#_form_61BA0615B5B84_ ._inline-style,#_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ label,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ textarea:not(.g-recaptcha-response) { float:none; display:block; width:100%; }\\n #_form_61BA0615B5B84_ ._row._checkbox-radio label { display:inline; }\\n #_form_61BA0615B5B84_ ._row,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ label { margin-bottom:0.7em; width:100%; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"],#_form_61BA0615B5B84_ ._row input[type=\\\"radio\\\"] { margin:0 !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"] + span label { display:inline; }\\n #_form_61BA0615B5B84_ ._row span label { margin:0 !important; width:initial !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._form-image { max-width:100%; height:auto !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"] { padding-left:10px; padding-right:10px; font-size:16px; line-height:1.3em; -webkit-appearance:none; }\\n #_form_61BA0615B5B84_ input[type=\\\"radio\\\"],#_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"] { display:inline-block; width:1.3em; height:1.3em; font-size:1em; margin:0 0.3em 0 0; vertical-align:baseline; }\\n #_form_61BA0615B5B84_ button[type=\\\"submit\\\"] { padding:20px; font-size:1.5em; }\\n #_form_61BA0615B5B84_ ._inline-style { margin:20px 0 0 !important; }\\n }\\n #_form_61BA0615B5B84_ { position:relative; text-align:left; margin:25px auto 0; padding:20px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; *zoom:1; background:transparent !important; border:0px solid #b0b0b0 !important; -moz-border-radius:0px !important; -webkit-border-radius:0px !important; border-radius:0px !important; color:#000 !important; }\\n #_form_61BA0615B5B84_._inline-form,#_form_61BA0615B5B84_._inline-form ._form-content,#_form_61BA0615B5B84_._inline-form input,#_form_61BA0615B5B84_._inline-form ._submit { font-family:\\\"IBM Plex Sans\\\", Helvetica, sans-serif, \\\'IBM Plex Sans\\\', arial, sans-serif; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:22px; line-height:22px; font-weight:600; margin-bottom:0; }\\n #_form_61BA0615B5B84_:before,#_form_61BA0615B5B84_:after { content:\\\" \\\"; display:table; }\\n #_form_61BA0615B5B84_:after { clear:both; }\\n #_form_61BA0615B5B84_._inline-style { width:auto; display:inline-block; }\\n #_form_61BA0615B5B84_._inline-style input[type=\\\"text\\\"],#_form_61BA0615B5B84_._inline-style input[type=\\\"date\\\"] { padding:10px 12px; }\\n #_form_61BA0615B5B84_._inline-style button._inline-style { position:relative; top:27px; }\\n #_form_61BA0615B5B84_._inline-style p { margin:0; }\\n #_form_61BA0615B5B84_._inline-style ._button-wrapper { position:relative; margin:27px 12.5px 0 20px; }\\n #_form_61BA0615B5B84_ ._form-thank-you { position:relative; left:0; right:0; text-align:center; font-size:18px; }\\n @media all and (min-width:320px) and (max-width:667px) { #_form_61BA0615B5B84_._inline-form._inline-style ._inline-style._button-wrapper { margin-top:20px !important; margin-left:0 !important; }\\n }\\n\\n #_form_61BA0615B5B84_._form_1 { background-color:transparent !important; margin:0px !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit:hover { background-color:#d29104 !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit { background-color:#faaf11 !important; border-radius:9999px !important; width:130px !important; height:50px !important; text-transform:uppercase !important; font-weight:bold; line-height:20px; margin-left:30px !important; }\\n #_form_61BA0615B5B84_ ._x87469998 input { width:350px !important; }\\n\\<\\/style\\>\\n\\<link href=\\\"https:\\/\\/fonts.googleapis.com\\/css2?family=Lato&family=Montserrat&family=Roboto&display=swap\\\" rel=\\\"stylesheet\\\"\\>\\n\\n\\n\\<div style=\\\"text-align: center;\\\"\\>\\n\\<form method=\\\"POST\\\" action=\\\"https://kidlife.activehosted.com\\/proc.php\\\" id=\\\"_form_61BA0615B5B84_\\\" class=\\\"_form _form_1 _inline-form _inline-style _dark\\\" novalidate\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"u\\\" value=\\\"61BA0615B5B84\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"1\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"s\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"c\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"m\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"sub\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"v\\\" value=\\\"2\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"or\\\" value=\\\"c97c4b767bfa312d9b47ab269c71a306\\\" \\/\\>\\n	\\<div class=\\\"_form-content\\\"\\>\\n						\\<div class=\\\"_form_element _x87469998 _inline-style \\\" \\>\\n						\\<label for=\\\"email\\\" class=\\\"_form-label\\\"\\>&nbsp;\\<\\/label\\>\\n			\\<div class=\\\"_field-wrapper\\\"\\>\\n				\\<input type=\\\"text\\\" id=\\\"email\\\" name=\\\"email\\\" placeholder=\\\"Add meg az email címed\\\" required\\/\\>\\n			\\<\\/div\\>\\n					\\<\\/div\\>\\n				\\<div class=\\\"_button-wrapper _inline-style\\\"\\>\\<button id=\\\"_form_1_submit\\\" class=\\\"_submit\\\" type=\\\"submit\\\"\\>Küldés\\<\\/button\\>\\<\\/div\\>		\\<div class=\\\"_clear-element\\\"\\>\\<\\/div\\>\\n	\\<\\/div\\>\\n	\\<div class=\\\"_form-thank-you\\\" style=\\\"display:none;\\\"\\>\\<\\/div\\>\\n	\\<\\/form\\>\\n\\<\\/div\\>\\n\';var _form_element=null,_form_elements=document.querySelectorAll(\'._form_1\');for(var fe=0;fe<_form_elements.length;fe++){_form_element=_form_elements[fe];if(_form_element.innerHTML.trim()===\'\')break;_form_element=null}\nif(!_form_element){_form_element=document.createElement(\'div\');if(!document.body){document.firstChild.appendChild(document.createElement(\'body\'))}\ndocument.body.appendChild(_form_element)}\n_form_element.innerHTML=_form_output;var form_to_submit=document.getElementById(\'_form_61BA0615B5B84_\');var allInputs=form_to_submit.querySelectorAll(\'input, select, textarea\'),tooltips=[],submitted=!1;var getUrlParam=function(name){var regexStr=\'[\\?&]\'+name+\'=([^&#]*)\';var results=new RegExp(regexStr,\'i\').exec(window.location.href);return results!=undefined?decodeURIComponent(results[1]):!1};for(var i=0;i<allInputs.length;i++){var regexStr=\"field\\\\[(\\\\d+)\\\\]\";var results=new RegExp(regexStr).exec(allInputs[i].name);if(results!=undefined){allInputs[i].dataset.name=window.cfields[results[1]]}else{allInputs[i].dataset.name=allInputs[i].name}\nvar fieldVal=getUrlParam(allInputs[i].dataset.name);if(fieldVal){if(allInputs[i].dataset.autofill===\"false\"){continue}\nif(allInputs[i].type==\"radio\"||allInputs[i].type==\"checkbox\"){if(allInputs[i].value==fieldVal){allInputs[i].checked=!0}}else{allInputs[i].value=fieldVal}}}\nvar remove_tooltips=function(){for(var i=0;i<tooltips.length;i++){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip)}\ntooltips=[]};var remove_tooltip=function(elem){for(var i=0;i<tooltips.length;i++){if(tooltips[i].elem===elem){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip);tooltips.splice(i,1);return}}};var create_tooltip=function(elem,text){var tooltip=document.createElement(\'div\'),arrow=document.createElement(\'div\'),inner=document.createElement(\'div\'),new_tooltip={};if(elem.type!=\'radio\'&&elem.type!=\'checkbox\'){tooltip.className=\'_error\';arrow.className=\'_error-arrow\';inner.className=\'_error-inner\';inner.innerHTML=text;tooltip.appendChild(arrow);tooltip.appendChild(inner);elem.parentNode.appendChild(tooltip)}else{tooltip.className=\'_error-inner _no_arrow\';tooltip.innerHTML=text;elem.parentNode.insertBefore(tooltip,elem);new_tooltip.no_arrow=!0}\nnew_tooltip.tip=tooltip;new_tooltip.elem=elem;tooltips.push(new_tooltip);return new_tooltip};var resize_tooltip=function(tooltip){var rect=tooltip.elem.getBoundingClientRect();var doc=document.documentElement,scrollPosition=rect.top-((window.pageYOffset||doc.scrollTop)-(doc.clientTop||0));if(scrollPosition<40){tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _below\'}else{tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _above\'}};var resize_tooltips=function(){if(_removed)return;for(var i=0;i<tooltips.length;i++){if(!tooltips[i].no_arrow)resize_tooltip(tooltips[i])}};var validate_field=function(elem,remove){var tooltip=null,value=elem.value,no_error=!0;remove?remove_tooltip(elem):!1;if(elem.type!=\'checkbox\')elem.className=elem.className.replace(/ ?_has_error ?/g,\'\');if(elem.getAttribute(\'required\')!==null){if(elem.type==\'radio\'||(elem.type==\'checkbox\'&&/any/.test(elem.className))){var elems=form_to_submit.elements[elem.name];if(!(elems instanceof NodeList||elems instanceof HTMLCollection)||elems.length<=1){no_error=elem.checked}else{no_error=!1;for(var i=0;i<elems.length;i++){if(elems[i].checked)no_error=!0}}\nif(!no_error){tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(elem.type==\'checkbox\'){var elems=form_to_submit.elements[elem.name],found=!1,err=[];no_error=!0;for(var i=0;i<elems.length;i++){if(elems[i].getAttribute(\'required\')===null)continue;if(!found&&elems[i]!==elem)return!0;found=!0;elems[i].className=elems[i].className.replace(/ ?_has_error ?/g,\'\');if(!elems[i].checked){no_error=!1;elems[i].className=elems[i].className+\' _has_error\';err.push(\"Checking %s is required\".replace(\"%s\",elems[i].value))}}\nif(!no_error){tooltip=create_tooltip(elem,err.join(\'<br/>\'))}}else if(elem.tagName==\'SELECT\'){var selected=!0;if(elem.multiple){selected=!1;for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected){selected=!0;break}}}else{for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected&&!elem.options[i].value){selected=!1}}}\nif(!selected){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(value===undefined||value===null||value===\'\'){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"This field is required.\")}}\nif(no_error&&elem.name==\'email\'){if(!value.match(/^[\\+_a-z0-9-\'&=]+(\\.[\\+_a-z0-9-\']+)*@[a-z0-9-]+(\\.[a-z0-9-]+)*(\\.[a-z]{2,})$/i)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid email address.\")}}\nif(no_error&&/date_field/.test(elem.className)){if(!value.match(/^\\d\\d\\d\\d-\\d\\d-\\d\\d$/)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid date.\")}}\ntooltip?resize_tooltip(tooltip):!1;return no_error};var needs_validate=function(el){if(el.getAttribute(\'required\')!==null){return!0}\nif(el.name===\'email\'&&el.value!==\"\"){return!0}\nreturn!1};var validate_form=function(e){var err=form_to_submit.querySelector(\'._form_error\'),no_error=!0;if(!submitted){submitted=!0;for(var i=0,len=allInputs.length;i<len;i++){var input=allInputs[i];if(needs_validate(input)){if(input.type==\'text\'){addEvent(input,\'blur\',function(){this.value=this.value.trim();validate_field(this,!0)});addEvent(input,\'input\',function(){validate_field(this,!0)})}else if(input.type==\'radio\'||input.type==\'checkbox\'){(function(el){var radios=form_to_submit.elements[el.name];for(var i=0;i<radios.length;i++){addEvent(radios[i],\'click\',function(){validate_field(el,!0)})}})(input)}else if(input.tagName==\'SELECT\'){addEvent(input,\'change\',function(){validate_field(this,!0)})}else if(input.type==\'textarea\'){addEvent(input,\'input\',function(){validate_field(this,!0)})}}}}\nremove_tooltips();for(var i=0,len=allInputs.length;i<len;i++){var elem=allInputs[i];if(needs_validate(elem)){if(elem.tagName.toLowerCase()!==\"select\"){elem.value=elem.value.trim()}\nvalidate_field(elem)?!0:no_error=!1}}\nif(!no_error&&e){e.preventDefault()}\nresize_tooltips();return no_error};addEvent(window,\'resize\',resize_tooltips);addEvent(window,\'scroll\',resize_tooltips);window._old_serialize=null;if(typeof serialize!==\'undefined\')window._old_serialize=window.serialize;_load_script(\"//d3rxaij56vjege.cloudfront.net/form-serialize/0.3/serialize.min.js\",function(){window._form_serialize=window.serialize;if(window._old_serialize)window.serialize=window._old_serialize});var form_submit=function(e){e.preventDefault();if(validate_form()){document.querySelector(\'#_form_1_submit\').disabled=!0;var serialized=_form_serialize(document.getElementById(\'_form_61BA0615B5B84_\')).replace(/%0A/g,\'\\\\n\');var err=form_to_submit.querySelector(\'._form_error\');err?err.parentNode.removeChild(err):!1;_load_script(\'https://kidlife.activehosted.com/proc.php?\'+serialized+\'&jsonp=true\')}\nreturn!1};addEvent(form_to_submit,\'submit\',form_submit)})()','6b88c63d83381449b42adccc38c4f21d',0,0,'0000-00-00 00:00:00','2022-01-06 13:16:13'),(3248,'https://kidlife.activehosted.com/f/embed.php?static=0&id=1&61D6EB913AC59&nostyles=0&preview=0','js','','window.cfields=[];window._show_thank_you=function(id,message,trackcmp_url,email){var form=document.getElementById(\'_form_\'+id+\'_\'),thank_you=form.querySelector(\'._form-thank-you\');form.querySelector(\'._form-content\').style.display=\'none\';thank_you.innerHTML=message;thank_you.style.display=\'block\';const vgoAlias=typeof visitorGlobalObjectAlias===\'undefined\'?\'vgo\':visitorGlobalObjectAlias;var visitorObject=window[vgoAlias];if(email&&typeof visitorObject!==\'undefined\'){visitorObject(\'setEmail\',email);visitorObject(\'update\')}else if(typeof(trackcmp_url)!=\'undefined\'&&trackcmp_url){_load_script(trackcmp_url)}\nif(typeof window._form_callback!==\'undefined\')window._form_callback(id)};window._show_error=function(id,message,html){var form=document.getElementById(\'_form_\'+id+\'_\'),err=document.createElement(\'div\'),button=form.querySelector(\'button\'),old_error=form.querySelector(\'._form_error\');if(old_error)old_error.parentNode.removeChild(old_error);err.innerHTML=message;err.className=\'_error-inner _form_error _no_arrow\';var wrapper=document.createElement(\'div\');wrapper.className=\'_form-inner\';wrapper.appendChild(err);button.parentNode.insertBefore(wrapper,button);document.querySelector(\'[id^=\"_form\"][id$=\"_submit\"]\').disabled=!1;if(html){var div=document.createElement(\'div\');div.className=\'_error-html\';div.innerHTML=html;err.appendChild(div)}};window._load_script=function(url,callback){var head=document.querySelector(\'head\'),script=document.createElement(\'script\'),r=!1;script.type=\'text/javascript\';script.charset=\'utf-8\';script.src=url;if(callback){script.onload=script.onreadystatechange=function(){if(!r&&(!this.readyState||this.readyState==\'complete\')){r=!0;callback()}}}\nhead.appendChild(script)};(function(){if(window.location.search.search(\"excludeform\")!==-1)return!1;var getCookie=function(name){var match=document.cookie.match(new RegExp(\'(^|; )\'+name+\'=([^;]+)\'));return match?match[2]:null}\nvar setCookie=function(name,value){var now=new Date();var time=now.getTime();var expireTime=time+1000*60*60*24*365;now.setTime(expireTime);document.cookie=name+\'=\'+value+\'; expires=\'+now+\';path=/\'}\nvar addEvent=function(element,event,func){if(element.addEventListener){element.addEventListener(event,func)}else{var oldFunc=element[\'on\'+event];element[\'on\'+event]=function(){oldFunc.apply(this,arguments);func.apply(this,arguments)}}}\nvar _removed=!1;var _form_output=\'\\<style\\>\\n #_form_61BA0615B5B84_ { font-size:14px; line-height:1.6; font-family:arial, helvetica, sans-serif; margin:0; }\\n #_form_61BA0615B5B84_ * { outline:0; }\\n ._form_hide { display:none; visibility:hidden; }\\n ._form_show { display:block; visibility:visible; }\\n #_form_61BA0615B5B84_._form-top { top:0; }\\n #_form_61BA0615B5B84_._form-bottom { bottom:0; }\\n #_form_61BA0615B5B84_._form-left { left:0; }\\n #_form_61BA0615B5B84_._form-right { right:0; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ input[type=\\\"date\\\"],#_form_61BA0615B5B84_ textarea { padding:6px; height:auto; border:#979797 1px solid; border-radius:4px; color:#000 !important; font-size:14px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ textarea { resize:none; }\\n #_form_61BA0615B5B84_ ._submit { -webkit-appearance:none; cursor:pointer; font-family:arial, sans-serif; font-size:14px; text-align:center; background:#333 !important; border:0 !important; -moz-border-radius:4px !important; -webkit-border-radius:4px !important; border-radius:4px !important; color:#fff !important; padding:10px !important; }\\n #_form_61BA0615B5B84_ ._close-icon { cursor:pointer; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/esfkyjh1u_forms-close-dark.png\\\'); background-repeat:no-repeat; background-size:14.2px 14.2px; position:absolute; display:block; top:11px; right:9px; overflow:hidden; width:16.2px; height:16.2px; }\\n #_form_61BA0615B5B84_ ._close-icon:before { position:relative; }\\n #_form_61BA0615B5B84_ ._form-body { margin-bottom:30px; }\\n #_form_61BA0615B5B84_ ._form-image-left { width:150px; float:left; }\\n #_form_61BA0615B5B84_ ._form-content-right { margin-left:164px; }\\n #_form_61BA0615B5B84_ ._form-branding { color:#fff; font-size:10px; clear:both; text-align:left; margin-top:30px; font-weight:100; }\\n #_form_61BA0615B5B84_ ._form-branding ._logo { display:block; width:130px; height:14px; margin-top:6px; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/hh9ujqgv5_aclogo_li.png\\\'); background-size:130px auto; background-repeat:no-repeat; }\\n #_form_61BA0615B5B84_ .form-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0, 0, 0, 0); border:0; }\\n #_form_61BA0615B5B84_ ._form-label,#_form_61BA0615B5B84_ ._form_element ._form-label { font-weight:bold; margin-bottom:5px; display:block; }\\n #_form_61BA0615B5B84_._dark ._form-branding { color:#333; }\\n #_form_61BA0615B5B84_._dark ._form-branding ._logo { background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/jftq2c8s_aclogo_dk.png\\\'); }\\n #_form_61BA0615B5B84_ ._form_element { position:relative; margin-bottom:10px; font-size:0; max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element * { font-size:14px; }\\n #_form_61BA0615B5B84_ ._form_element._clear { clear:both; width:100%; float:none; }\\n #_form_61BA0615B5B84_ ._form_element._clear:after { clear:left; }\\n #_form_61BA0615B5B84_ ._form_element input[type=\\\"text\\\"],#_form_61BA0615B5B84_ ._form_element input[type=\\\"date\\\"],#_form_61BA0615B5B84_ ._form_element select,#_form_61BA0615B5B84_ ._form_element textarea:not(.g-recaptcha-response) { display:block; width:100%; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-family:inherit; }\\n #_form_61BA0615B5B84_ ._field-wrapper { position:relative; }\\n #_form_61BA0615B5B84_ ._inline-style { float:left; }\\n #_form_61BA0615B5B84_ ._inline-style input[type=\\\"text\\\"] { width:150px; }\\n #_form_61BA0615B5B84_ ._inline-style:not(._clear) + ._inline-style:not(._clear) { margin-left:20px; }\\n #_form_61BA0615B5B84_ ._form_element img._form-image { max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element ._form-fieldset { border:0; padding:0.01em 0 0 0; margin:0; min-width:0; }\\n #_form_61BA0615B5B84_ ._clear-element { clear:left; }\\n #_form_61BA0615B5B84_ ._full_width { width:100%; }\\n #_form_61BA0615B5B84_ ._form_full_field { display:block; width:100%; margin-bottom:10px; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"]._has_error,#_form_61BA0615B5B84_ textarea._has_error { border:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"]._has_error { outline:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ ._error { display:block; position:absolute; font-size:14px; z-index:10000001; }\\n #_form_61BA0615B5B84_ ._error._above { padding-bottom:4px; bottom:39px; right:0; }\\n #_form_61BA0615B5B84_ ._error._below { padding-top:4px; top:100%; right:0; }\\n #_form_61BA0615B5B84_ ._error._above ._error-arrow { bottom:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-top:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error._below ._error-arrow { top:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-bottom:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error-inner { padding:8px 12px; background-color:#f37c7b; font-size:14px; font-family:arial, sans-serif; color:#fff; text-align:center; text-decoration:none; -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; }\\n #_form_61BA0615B5B84_ ._error-inner._form_error { margin-bottom:5px; text-align:left; }\\n #_form_61BA0615B5B84_ ._button-wrapper ._error-inner._form_error { position:static; }\\n #_form_61BA0615B5B84_ ._error-inner._no_arrow { margin-bottom:10px; }\\n #_form_61BA0615B5B84_ ._error-arrow { position:absolute; width:0; height:0; }\\n #_form_61BA0615B5B84_ ._error-html { margin-bottom:10px; }\\n .pika-single { z-index:10000001 !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"].datetime_date { width:69%; display:inline; }\\n #_form_61BA0615B5B84_ select.datetime_time { width:29%; display:inline; height:32px; }\\n @media all and (min-width:320px) and (max-width:667px) { ::-webkit-scrollbar { display:none; }\\n #_form_61BA0615B5B84_ { margin:0; width:100%; min-width:100%; max-width:100%; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ * { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-size:1em; }\\n #_form_61BA0615B5B84_ ._form-content { margin:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-inner { display:block; min-width:100%; }\\n #_form_61BA0615B5B84_ ._form-title,#_form_61BA0615B5B84_ ._inline-style { margin-top:0; margin-right:0; margin-left:0; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:1.2em; }\\n #_form_61BA0615B5B84_ ._form_element { margin:0 0 20px; padding:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-element,#_form_61BA0615B5B84_ ._inline-style,#_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ label,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ textarea:not(.g-recaptcha-response) { float:none; display:block; width:100%; }\\n #_form_61BA0615B5B84_ ._row._checkbox-radio label { display:inline; }\\n #_form_61BA0615B5B84_ ._row,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ label { margin-bottom:0.7em; width:100%; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"],#_form_61BA0615B5B84_ ._row input[type=\\\"radio\\\"] { margin:0 !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"] + span label { display:inline; }\\n #_form_61BA0615B5B84_ ._row span label { margin:0 !important; width:initial !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._form-image { max-width:100%; height:auto !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"] { padding-left:10px; padding-right:10px; font-size:16px; line-height:1.3em; -webkit-appearance:none; }\\n #_form_61BA0615B5B84_ input[type=\\\"radio\\\"],#_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"] { display:inline-block; width:1.3em; height:1.3em; font-size:1em; margin:0 0.3em 0 0; vertical-align:baseline; }\\n #_form_61BA0615B5B84_ button[type=\\\"submit\\\"] { padding:20px; font-size:1.5em; }\\n #_form_61BA0615B5B84_ ._inline-style { margin:20px 0 0 !important; }\\n }\\n #_form_61BA0615B5B84_ { position:relative; text-align:left; margin:25px auto 0; padding:20px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; *zoom:1; background:transparent !important; border:0px solid #b0b0b0 !important; -moz-border-radius:0px !important; -webkit-border-radius:0px !important; border-radius:0px !important; color:#000 !important; }\\n #_form_61BA0615B5B84_._inline-form,#_form_61BA0615B5B84_._inline-form ._form-content,#_form_61BA0615B5B84_._inline-form input,#_form_61BA0615B5B84_._inline-form ._submit { font-family:\\\"IBM Plex Sans\\\", Helvetica, sans-serif, \\\'IBM Plex Sans\\\', arial, sans-serif; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:22px; line-height:22px; font-weight:600; margin-bottom:0; }\\n #_form_61BA0615B5B84_:before,#_form_61BA0615B5B84_:after { content:\\\" \\\"; display:table; }\\n #_form_61BA0615B5B84_:after { clear:both; }\\n #_form_61BA0615B5B84_._inline-style { width:auto; display:inline-block; }\\n #_form_61BA0615B5B84_._inline-style input[type=\\\"text\\\"],#_form_61BA0615B5B84_._inline-style input[type=\\\"date\\\"] { padding:10px 12px; }\\n #_form_61BA0615B5B84_._inline-style button._inline-style { position:relative; top:27px; }\\n #_form_61BA0615B5B84_._inline-style p { margin:0; }\\n #_form_61BA0615B5B84_._inline-style ._button-wrapper { position:relative; margin:27px 12.5px 0 20px; }\\n #_form_61BA0615B5B84_ ._form-thank-you { position:relative; left:0; right:0; text-align:center; font-size:18px; }\\n @media all and (min-width:320px) and (max-width:667px) { #_form_61BA0615B5B84_._inline-form._inline-style ._inline-style._button-wrapper { margin-top:20px !important; margin-left:0 !important; }\\n }\\n\\n #_form_61BA0615B5B84_._form_1 { background-color:transparent !important; margin:0px !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit:hover { background-color:#d29104 !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit { background-color:#faaf11 !important; border-radius:9999px !important; width:130px !important; height:50px !important; text-transform:uppercase !important; font-weight:bold; line-height:20px; margin-left:30px !important; }\\n #_form_61BA0615B5B84_ ._x87469998 input { width:350px !important; }\\n\\<\\/style\\>\\n\\<link href=\\\"https:\\/\\/fonts.googleapis.com\\/css2?family=Lato&family=Montserrat&family=Roboto&display=swap\\\" rel=\\\"stylesheet\\\"\\>\\n\\n\\n\\<div style=\\\"text-align: center;\\\"\\>\\n\\<form method=\\\"POST\\\" action=\\\"https://kidlife.activehosted.com\\/proc.php\\\" id=\\\"_form_61BA0615B5B84_\\\" class=\\\"_form _form_1 _inline-form _inline-style _dark\\\" novalidate\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"u\\\" value=\\\"61BA0615B5B84\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"1\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"s\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"c\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"m\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"sub\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"v\\\" value=\\\"2\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"or\\\" value=\\\"c97c4b767bfa312d9b47ab269c71a306\\\" \\/\\>\\n	\\<div class=\\\"_form-content\\\"\\>\\n						\\<div class=\\\"_form_element _x87469998 _inline-style \\\" \\>\\n						\\<label for=\\\"email\\\" class=\\\"_form-label\\\"\\>&nbsp;\\<\\/label\\>\\n			\\<div class=\\\"_field-wrapper\\\"\\>\\n				\\<input type=\\\"text\\\" id=\\\"email\\\" name=\\\"email\\\" placeholder=\\\"Add meg az email címed\\\" required\\/\\>\\n			\\<\\/div\\>\\n					\\<\\/div\\>\\n				\\<div class=\\\"_button-wrapper _inline-style\\\"\\>\\<button id=\\\"_form_1_submit\\\" class=\\\"_submit\\\" type=\\\"submit\\\"\\>Küldés\\<\\/button\\>\\<\\/div\\>		\\<div class=\\\"_clear-element\\\"\\>\\<\\/div\\>\\n	\\<\\/div\\>\\n	\\<div class=\\\"_form-thank-you\\\" style=\\\"display:none;\\\"\\>\\<\\/div\\>\\n	\\<\\/form\\>\\n\\<\\/div\\>\\n\';var _form_element=null,_form_elements=document.querySelectorAll(\'._form_1\');for(var fe=0;fe<_form_elements.length;fe++){_form_element=_form_elements[fe];if(_form_element.innerHTML.trim()===\'\')break;_form_element=null}\nif(!_form_element){_form_element=document.createElement(\'div\');if(!document.body){document.firstChild.appendChild(document.createElement(\'body\'))}\ndocument.body.appendChild(_form_element)}\n_form_element.innerHTML=_form_output;var form_to_submit=document.getElementById(\'_form_61BA0615B5B84_\');var allInputs=form_to_submit.querySelectorAll(\'input, select, textarea\'),tooltips=[],submitted=!1;var getUrlParam=function(name){var regexStr=\'[\\?&]\'+name+\'=([^&#]*)\';var results=new RegExp(regexStr,\'i\').exec(window.location.href);return results!=undefined?decodeURIComponent(results[1]):!1};for(var i=0;i<allInputs.length;i++){var regexStr=\"field\\\\[(\\\\d+)\\\\]\";var results=new RegExp(regexStr).exec(allInputs[i].name);if(results!=undefined){allInputs[i].dataset.name=window.cfields[results[1]]}else{allInputs[i].dataset.name=allInputs[i].name}\nvar fieldVal=getUrlParam(allInputs[i].dataset.name);if(fieldVal){if(allInputs[i].dataset.autofill===\"false\"){continue}\nif(allInputs[i].type==\"radio\"||allInputs[i].type==\"checkbox\"){if(allInputs[i].value==fieldVal){allInputs[i].checked=!0}}else{allInputs[i].value=fieldVal}}}\nvar remove_tooltips=function(){for(var i=0;i<tooltips.length;i++){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip)}\ntooltips=[]};var remove_tooltip=function(elem){for(var i=0;i<tooltips.length;i++){if(tooltips[i].elem===elem){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip);tooltips.splice(i,1);return}}};var create_tooltip=function(elem,text){var tooltip=document.createElement(\'div\'),arrow=document.createElement(\'div\'),inner=document.createElement(\'div\'),new_tooltip={};if(elem.type!=\'radio\'&&elem.type!=\'checkbox\'){tooltip.className=\'_error\';arrow.className=\'_error-arrow\';inner.className=\'_error-inner\';inner.innerHTML=text;tooltip.appendChild(arrow);tooltip.appendChild(inner);elem.parentNode.appendChild(tooltip)}else{tooltip.className=\'_error-inner _no_arrow\';tooltip.innerHTML=text;elem.parentNode.insertBefore(tooltip,elem);new_tooltip.no_arrow=!0}\nnew_tooltip.tip=tooltip;new_tooltip.elem=elem;tooltips.push(new_tooltip);return new_tooltip};var resize_tooltip=function(tooltip){var rect=tooltip.elem.getBoundingClientRect();var doc=document.documentElement,scrollPosition=rect.top-((window.pageYOffset||doc.scrollTop)-(doc.clientTop||0));if(scrollPosition<40){tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _below\'}else{tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _above\'}};var resize_tooltips=function(){if(_removed)return;for(var i=0;i<tooltips.length;i++){if(!tooltips[i].no_arrow)resize_tooltip(tooltips[i])}};var validate_field=function(elem,remove){var tooltip=null,value=elem.value,no_error=!0;remove?remove_tooltip(elem):!1;if(elem.type!=\'checkbox\')elem.className=elem.className.replace(/ ?_has_error ?/g,\'\');if(elem.getAttribute(\'required\')!==null){if(elem.type==\'radio\'||(elem.type==\'checkbox\'&&/any/.test(elem.className))){var elems=form_to_submit.elements[elem.name];if(!(elems instanceof NodeList||elems instanceof HTMLCollection)||elems.length<=1){no_error=elem.checked}else{no_error=!1;for(var i=0;i<elems.length;i++){if(elems[i].checked)no_error=!0}}\nif(!no_error){tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(elem.type==\'checkbox\'){var elems=form_to_submit.elements[elem.name],found=!1,err=[];no_error=!0;for(var i=0;i<elems.length;i++){if(elems[i].getAttribute(\'required\')===null)continue;if(!found&&elems[i]!==elem)return!0;found=!0;elems[i].className=elems[i].className.replace(/ ?_has_error ?/g,\'\');if(!elems[i].checked){no_error=!1;elems[i].className=elems[i].className+\' _has_error\';err.push(\"Checking %s is required\".replace(\"%s\",elems[i].value))}}\nif(!no_error){tooltip=create_tooltip(elem,err.join(\'<br/>\'))}}else if(elem.tagName==\'SELECT\'){var selected=!0;if(elem.multiple){selected=!1;for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected){selected=!0;break}}}else{for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected&&!elem.options[i].value){selected=!1}}}\nif(!selected){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(value===undefined||value===null||value===\'\'){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"This field is required.\")}}\nif(no_error&&elem.name==\'email\'){if(!value.match(/^[\\+_a-z0-9-\'&=]+(\\.[\\+_a-z0-9-\']+)*@[a-z0-9-]+(\\.[a-z0-9-]+)*(\\.[a-z]{2,})$/i)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid email address.\")}}\nif(no_error&&/date_field/.test(elem.className)){if(!value.match(/^\\d\\d\\d\\d-\\d\\d-\\d\\d$/)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid date.\")}}\ntooltip?resize_tooltip(tooltip):!1;return no_error};var needs_validate=function(el){if(el.getAttribute(\'required\')!==null){return!0}\nif(el.name===\'email\'&&el.value!==\"\"){return!0}\nreturn!1};var validate_form=function(e){var err=form_to_submit.querySelector(\'._form_error\'),no_error=!0;if(!submitted){submitted=!0;for(var i=0,len=allInputs.length;i<len;i++){var input=allInputs[i];if(needs_validate(input)){if(input.type==\'text\'){addEvent(input,\'blur\',function(){this.value=this.value.trim();validate_field(this,!0)});addEvent(input,\'input\',function(){validate_field(this,!0)})}else if(input.type==\'radio\'||input.type==\'checkbox\'){(function(el){var radios=form_to_submit.elements[el.name];for(var i=0;i<radios.length;i++){addEvent(radios[i],\'click\',function(){validate_field(el,!0)})}})(input)}else if(input.tagName==\'SELECT\'){addEvent(input,\'change\',function(){validate_field(this,!0)})}else if(input.type==\'textarea\'){addEvent(input,\'input\',function(){validate_field(this,!0)})}}}}\nremove_tooltips();for(var i=0,len=allInputs.length;i<len;i++){var elem=allInputs[i];if(needs_validate(elem)){if(elem.tagName.toLowerCase()!==\"select\"){elem.value=elem.value.trim()}\nvalidate_field(elem)?!0:no_error=!1}}\nif(!no_error&&e){e.preventDefault()}\nresize_tooltips();return no_error};addEvent(window,\'resize\',resize_tooltips);addEvent(window,\'scroll\',resize_tooltips);window._old_serialize=null;if(typeof serialize!==\'undefined\')window._old_serialize=window.serialize;_load_script(\"//d3rxaij56vjege.cloudfront.net/form-serialize/0.3/serialize.min.js\",function(){window._form_serialize=window.serialize;if(window._old_serialize)window.serialize=window._old_serialize});var form_submit=function(e){e.preventDefault();if(validate_form()){document.querySelector(\'#_form_1_submit\').disabled=!0;var serialized=_form_serialize(document.getElementById(\'_form_61BA0615B5B84_\')).replace(/%0A/g,\'\\\\n\');var err=form_to_submit.querySelector(\'._form_error\');err?err.parentNode.removeChild(err):!1;_load_script(\'https://kidlife.activehosted.com/proc.php?\'+serialized+\'&jsonp=true\')}\nreturn!1};addEvent(form_to_submit,\'submit\',form_submit)})()','6b88c63d83381449b42adccc38c4f21d',0,0,'0000-00-00 00:00:00','2022-01-06 13:16:12'),(3246,'https://kidlife.activehosted.com/f/embed.php?static=0&id=1&61D6EB7A76DAA&nostyles=0&preview=0','js','','window.cfields=[];window._show_thank_you=function(id,message,trackcmp_url,email){var form=document.getElementById(\'_form_\'+id+\'_\'),thank_you=form.querySelector(\'._form-thank-you\');form.querySelector(\'._form-content\').style.display=\'none\';thank_you.innerHTML=message;thank_you.style.display=\'block\';const vgoAlias=typeof visitorGlobalObjectAlias===\'undefined\'?\'vgo\':visitorGlobalObjectAlias;var visitorObject=window[vgoAlias];if(email&&typeof visitorObject!==\'undefined\'){visitorObject(\'setEmail\',email);visitorObject(\'update\')}else if(typeof(trackcmp_url)!=\'undefined\'&&trackcmp_url){_load_script(trackcmp_url)}\nif(typeof window._form_callback!==\'undefined\')window._form_callback(id)};window._show_error=function(id,message,html){var form=document.getElementById(\'_form_\'+id+\'_\'),err=document.createElement(\'div\'),button=form.querySelector(\'button\'),old_error=form.querySelector(\'._form_error\');if(old_error)old_error.parentNode.removeChild(old_error);err.innerHTML=message;err.className=\'_error-inner _form_error _no_arrow\';var wrapper=document.createElement(\'div\');wrapper.className=\'_form-inner\';wrapper.appendChild(err);button.parentNode.insertBefore(wrapper,button);document.querySelector(\'[id^=\"_form\"][id$=\"_submit\"]\').disabled=!1;if(html){var div=document.createElement(\'div\');div.className=\'_error-html\';div.innerHTML=html;err.appendChild(div)}};window._load_script=function(url,callback){var head=document.querySelector(\'head\'),script=document.createElement(\'script\'),r=!1;script.type=\'text/javascript\';script.charset=\'utf-8\';script.src=url;if(callback){script.onload=script.onreadystatechange=function(){if(!r&&(!this.readyState||this.readyState==\'complete\')){r=!0;callback()}}}\nhead.appendChild(script)};(function(){if(window.location.search.search(\"excludeform\")!==-1)return!1;var getCookie=function(name){var match=document.cookie.match(new RegExp(\'(^|; )\'+name+\'=([^;]+)\'));return match?match[2]:null}\nvar setCookie=function(name,value){var now=new Date();var time=now.getTime();var expireTime=time+1000*60*60*24*365;now.setTime(expireTime);document.cookie=name+\'=\'+value+\'; expires=\'+now+\';path=/\'}\nvar addEvent=function(element,event,func){if(element.addEventListener){element.addEventListener(event,func)}else{var oldFunc=element[\'on\'+event];element[\'on\'+event]=function(){oldFunc.apply(this,arguments);func.apply(this,arguments)}}}\nvar _removed=!1;var _form_output=\'\\<style\\>\\n #_form_61BA0615B5B84_ { font-size:14px; line-height:1.6; font-family:arial, helvetica, sans-serif; margin:0; }\\n #_form_61BA0615B5B84_ * { outline:0; }\\n ._form_hide { display:none; visibility:hidden; }\\n ._form_show { display:block; visibility:visible; }\\n #_form_61BA0615B5B84_._form-top { top:0; }\\n #_form_61BA0615B5B84_._form-bottom { bottom:0; }\\n #_form_61BA0615B5B84_._form-left { left:0; }\\n #_form_61BA0615B5B84_._form-right { right:0; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ input[type=\\\"date\\\"],#_form_61BA0615B5B84_ textarea { padding:6px; height:auto; border:#979797 1px solid; border-radius:4px; color:#000 !important; font-size:14px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ textarea { resize:none; }\\n #_form_61BA0615B5B84_ ._submit { -webkit-appearance:none; cursor:pointer; font-family:arial, sans-serif; font-size:14px; text-align:center; background:#333 !important; border:0 !important; -moz-border-radius:4px !important; -webkit-border-radius:4px !important; border-radius:4px !important; color:#fff !important; padding:10px !important; }\\n #_form_61BA0615B5B84_ ._close-icon { cursor:pointer; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/esfkyjh1u_forms-close-dark.png\\\'); background-repeat:no-repeat; background-size:14.2px 14.2px; position:absolute; display:block; top:11px; right:9px; overflow:hidden; width:16.2px; height:16.2px; }\\n #_form_61BA0615B5B84_ ._close-icon:before { position:relative; }\\n #_form_61BA0615B5B84_ ._form-body { margin-bottom:30px; }\\n #_form_61BA0615B5B84_ ._form-image-left { width:150px; float:left; }\\n #_form_61BA0615B5B84_ ._form-content-right { margin-left:164px; }\\n #_form_61BA0615B5B84_ ._form-branding { color:#fff; font-size:10px; clear:both; text-align:left; margin-top:30px; font-weight:100; }\\n #_form_61BA0615B5B84_ ._form-branding ._logo { display:block; width:130px; height:14px; margin-top:6px; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/hh9ujqgv5_aclogo_li.png\\\'); background-size:130px auto; background-repeat:no-repeat; }\\n #_form_61BA0615B5B84_ .form-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0, 0, 0, 0); border:0; }\\n #_form_61BA0615B5B84_ ._form-label,#_form_61BA0615B5B84_ ._form_element ._form-label { font-weight:bold; margin-bottom:5px; display:block; }\\n #_form_61BA0615B5B84_._dark ._form-branding { color:#333; }\\n #_form_61BA0615B5B84_._dark ._form-branding ._logo { background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/jftq2c8s_aclogo_dk.png\\\'); }\\n #_form_61BA0615B5B84_ ._form_element { position:relative; margin-bottom:10px; font-size:0; max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element * { font-size:14px; }\\n #_form_61BA0615B5B84_ ._form_element._clear { clear:both; width:100%; float:none; }\\n #_form_61BA0615B5B84_ ._form_element._clear:after { clear:left; }\\n #_form_61BA0615B5B84_ ._form_element input[type=\\\"text\\\"],#_form_61BA0615B5B84_ ._form_element input[type=\\\"date\\\"],#_form_61BA0615B5B84_ ._form_element select,#_form_61BA0615B5B84_ ._form_element textarea:not(.g-recaptcha-response) { display:block; width:100%; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-family:inherit; }\\n #_form_61BA0615B5B84_ ._field-wrapper { position:relative; }\\n #_form_61BA0615B5B84_ ._inline-style { float:left; }\\n #_form_61BA0615B5B84_ ._inline-style input[type=\\\"text\\\"] { width:150px; }\\n #_form_61BA0615B5B84_ ._inline-style:not(._clear) + ._inline-style:not(._clear) { margin-left:20px; }\\n #_form_61BA0615B5B84_ ._form_element img._form-image { max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element ._form-fieldset { border:0; padding:0.01em 0 0 0; margin:0; min-width:0; }\\n #_form_61BA0615B5B84_ ._clear-element { clear:left; }\\n #_form_61BA0615B5B84_ ._full_width { width:100%; }\\n #_form_61BA0615B5B84_ ._form_full_field { display:block; width:100%; margin-bottom:10px; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"]._has_error,#_form_61BA0615B5B84_ textarea._has_error { border:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"]._has_error { outline:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ ._error { display:block; position:absolute; font-size:14px; z-index:10000001; }\\n #_form_61BA0615B5B84_ ._error._above { padding-bottom:4px; bottom:39px; right:0; }\\n #_form_61BA0615B5B84_ ._error._below { padding-top:4px; top:100%; right:0; }\\n #_form_61BA0615B5B84_ ._error._above ._error-arrow { bottom:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-top:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error._below ._error-arrow { top:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-bottom:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error-inner { padding:8px 12px; background-color:#f37c7b; font-size:14px; font-family:arial, sans-serif; color:#fff; text-align:center; text-decoration:none; -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; }\\n #_form_61BA0615B5B84_ ._error-inner._form_error { margin-bottom:5px; text-align:left; }\\n #_form_61BA0615B5B84_ ._button-wrapper ._error-inner._form_error { position:static; }\\n #_form_61BA0615B5B84_ ._error-inner._no_arrow { margin-bottom:10px; }\\n #_form_61BA0615B5B84_ ._error-arrow { position:absolute; width:0; height:0; }\\n #_form_61BA0615B5B84_ ._error-html { margin-bottom:10px; }\\n .pika-single { z-index:10000001 !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"].datetime_date { width:69%; display:inline; }\\n #_form_61BA0615B5B84_ select.datetime_time { width:29%; display:inline; height:32px; }\\n @media all and (min-width:320px) and (max-width:667px) { ::-webkit-scrollbar { display:none; }\\n #_form_61BA0615B5B84_ { margin:0; width:100%; min-width:100%; max-width:100%; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ * { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-size:1em; }\\n #_form_61BA0615B5B84_ ._form-content { margin:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-inner { display:block; min-width:100%; }\\n #_form_61BA0615B5B84_ ._form-title,#_form_61BA0615B5B84_ ._inline-style { margin-top:0; margin-right:0; margin-left:0; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:1.2em; }\\n #_form_61BA0615B5B84_ ._form_element { margin:0 0 20px; padding:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-element,#_form_61BA0615B5B84_ ._inline-style,#_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ label,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ textarea:not(.g-recaptcha-response) { float:none; display:block; width:100%; }\\n #_form_61BA0615B5B84_ ._row._checkbox-radio label { display:inline; }\\n #_form_61BA0615B5B84_ ._row,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ label { margin-bottom:0.7em; width:100%; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"],#_form_61BA0615B5B84_ ._row input[type=\\\"radio\\\"] { margin:0 !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"] + span label { display:inline; }\\n #_form_61BA0615B5B84_ ._row span label { margin:0 !important; width:initial !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._form-image { max-width:100%; height:auto !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"] { padding-left:10px; padding-right:10px; font-size:16px; line-height:1.3em; -webkit-appearance:none; }\\n #_form_61BA0615B5B84_ input[type=\\\"radio\\\"],#_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"] { display:inline-block; width:1.3em; height:1.3em; font-size:1em; margin:0 0.3em 0 0; vertical-align:baseline; }\\n #_form_61BA0615B5B84_ button[type=\\\"submit\\\"] { padding:20px; font-size:1.5em; }\\n #_form_61BA0615B5B84_ ._inline-style { margin:20px 0 0 !important; }\\n }\\n #_form_61BA0615B5B84_ { position:relative; text-align:left; margin:25px auto 0; padding:20px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; *zoom:1; background:transparent !important; border:0px solid #b0b0b0 !important; -moz-border-radius:0px !important; -webkit-border-radius:0px !important; border-radius:0px !important; color:#000 !important; }\\n #_form_61BA0615B5B84_._inline-form,#_form_61BA0615B5B84_._inline-form ._form-content,#_form_61BA0615B5B84_._inline-form input,#_form_61BA0615B5B84_._inline-form ._submit { font-family:\\\"IBM Plex Sans\\\", Helvetica, sans-serif, \\\'IBM Plex Sans\\\', arial, sans-serif; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:22px; line-height:22px; font-weight:600; margin-bottom:0; }\\n #_form_61BA0615B5B84_:before,#_form_61BA0615B5B84_:after { content:\\\" \\\"; display:table; }\\n #_form_61BA0615B5B84_:after { clear:both; }\\n #_form_61BA0615B5B84_._inline-style { width:auto; display:inline-block; }\\n #_form_61BA0615B5B84_._inline-style input[type=\\\"text\\\"],#_form_61BA0615B5B84_._inline-style input[type=\\\"date\\\"] { padding:10px 12px; }\\n #_form_61BA0615B5B84_._inline-style button._inline-style { position:relative; top:27px; }\\n #_form_61BA0615B5B84_._inline-style p { margin:0; }\\n #_form_61BA0615B5B84_._inline-style ._button-wrapper { position:relative; margin:27px 12.5px 0 20px; }\\n #_form_61BA0615B5B84_ ._form-thank-you { position:relative; left:0; right:0; text-align:center; font-size:18px; }\\n @media all and (min-width:320px) and (max-width:667px) { #_form_61BA0615B5B84_._inline-form._inline-style ._inline-style._button-wrapper { margin-top:20px !important; margin-left:0 !important; }\\n }\\n\\n #_form_61BA0615B5B84_._form_1 { background-color:transparent !important; margin:0px !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit:hover { background-color:#d29104 !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit { background-color:#faaf11 !important; border-radius:9999px !important; width:130px !important; height:50px !important; text-transform:uppercase !important; font-weight:bold; line-height:20px; margin-left:30px !important; }\\n #_form_61BA0615B5B84_ ._x87469998 input { width:350px !important; }\\n\\<\\/style\\>\\n\\<link href=\\\"https:\\/\\/fonts.googleapis.com\\/css2?family=Lato&family=Montserrat&family=Roboto&display=swap\\\" rel=\\\"stylesheet\\\"\\>\\n\\n\\n\\<div style=\\\"text-align: center;\\\"\\>\\n\\<form method=\\\"POST\\\" action=\\\"https://kidlife.activehosted.com\\/proc.php\\\" id=\\\"_form_61BA0615B5B84_\\\" class=\\\"_form _form_1 _inline-form _inline-style _dark\\\" novalidate\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"u\\\" value=\\\"61BA0615B5B84\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"1\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"s\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"c\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"m\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"sub\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"v\\\" value=\\\"2\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"or\\\" value=\\\"c97c4b767bfa312d9b47ab269c71a306\\\" \\/\\>\\n	\\<div class=\\\"_form-content\\\"\\>\\n						\\<div class=\\\"_form_element _x87469998 _inline-style \\\" \\>\\n						\\<label for=\\\"email\\\" class=\\\"_form-label\\\"\\>&nbsp;\\<\\/label\\>\\n			\\<div class=\\\"_field-wrapper\\\"\\>\\n				\\<input type=\\\"text\\\" id=\\\"email\\\" name=\\\"email\\\" placeholder=\\\"Add meg az email címed\\\" required\\/\\>\\n			\\<\\/div\\>\\n					\\<\\/div\\>\\n				\\<div class=\\\"_button-wrapper _inline-style\\\"\\>\\<button id=\\\"_form_1_submit\\\" class=\\\"_submit\\\" type=\\\"submit\\\"\\>Küldés\\<\\/button\\>\\<\\/div\\>		\\<div class=\\\"_clear-element\\\"\\>\\<\\/div\\>\\n	\\<\\/div\\>\\n	\\<div class=\\\"_form-thank-you\\\" style=\\\"display:none;\\\"\\>\\<\\/div\\>\\n	\\<\\/form\\>\\n\\<\\/div\\>\\n\';var _form_element=null,_form_elements=document.querySelectorAll(\'._form_1\');for(var fe=0;fe<_form_elements.length;fe++){_form_element=_form_elements[fe];if(_form_element.innerHTML.trim()===\'\')break;_form_element=null}\nif(!_form_element){_form_element=document.createElement(\'div\');if(!document.body){document.firstChild.appendChild(document.createElement(\'body\'))}\ndocument.body.appendChild(_form_element)}\n_form_element.innerHTML=_form_output;var form_to_submit=document.getElementById(\'_form_61BA0615B5B84_\');var allInputs=form_to_submit.querySelectorAll(\'input, select, textarea\'),tooltips=[],submitted=!1;var getUrlParam=function(name){var regexStr=\'[\\?&]\'+name+\'=([^&#]*)\';var results=new RegExp(regexStr,\'i\').exec(window.location.href);return results!=undefined?decodeURIComponent(results[1]):!1};for(var i=0;i<allInputs.length;i++){var regexStr=\"field\\\\[(\\\\d+)\\\\]\";var results=new RegExp(regexStr).exec(allInputs[i].name);if(results!=undefined){allInputs[i].dataset.name=window.cfields[results[1]]}else{allInputs[i].dataset.name=allInputs[i].name}\nvar fieldVal=getUrlParam(allInputs[i].dataset.name);if(fieldVal){if(allInputs[i].dataset.autofill===\"false\"){continue}\nif(allInputs[i].type==\"radio\"||allInputs[i].type==\"checkbox\"){if(allInputs[i].value==fieldVal){allInputs[i].checked=!0}}else{allInputs[i].value=fieldVal}}}\nvar remove_tooltips=function(){for(var i=0;i<tooltips.length;i++){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip)}\ntooltips=[]};var remove_tooltip=function(elem){for(var i=0;i<tooltips.length;i++){if(tooltips[i].elem===elem){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip);tooltips.splice(i,1);return}}};var create_tooltip=function(elem,text){var tooltip=document.createElement(\'div\'),arrow=document.createElement(\'div\'),inner=document.createElement(\'div\'),new_tooltip={};if(elem.type!=\'radio\'&&elem.type!=\'checkbox\'){tooltip.className=\'_error\';arrow.className=\'_error-arrow\';inner.className=\'_error-inner\';inner.innerHTML=text;tooltip.appendChild(arrow);tooltip.appendChild(inner);elem.parentNode.appendChild(tooltip)}else{tooltip.className=\'_error-inner _no_arrow\';tooltip.innerHTML=text;elem.parentNode.insertBefore(tooltip,elem);new_tooltip.no_arrow=!0}\nnew_tooltip.tip=tooltip;new_tooltip.elem=elem;tooltips.push(new_tooltip);return new_tooltip};var resize_tooltip=function(tooltip){var rect=tooltip.elem.getBoundingClientRect();var doc=document.documentElement,scrollPosition=rect.top-((window.pageYOffset||doc.scrollTop)-(doc.clientTop||0));if(scrollPosition<40){tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _below\'}else{tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _above\'}};var resize_tooltips=function(){if(_removed)return;for(var i=0;i<tooltips.length;i++){if(!tooltips[i].no_arrow)resize_tooltip(tooltips[i])}};var validate_field=function(elem,remove){var tooltip=null,value=elem.value,no_error=!0;remove?remove_tooltip(elem):!1;if(elem.type!=\'checkbox\')elem.className=elem.className.replace(/ ?_has_error ?/g,\'\');if(elem.getAttribute(\'required\')!==null){if(elem.type==\'radio\'||(elem.type==\'checkbox\'&&/any/.test(elem.className))){var elems=form_to_submit.elements[elem.name];if(!(elems instanceof NodeList||elems instanceof HTMLCollection)||elems.length<=1){no_error=elem.checked}else{no_error=!1;for(var i=0;i<elems.length;i++){if(elems[i].checked)no_error=!0}}\nif(!no_error){tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(elem.type==\'checkbox\'){var elems=form_to_submit.elements[elem.name],found=!1,err=[];no_error=!0;for(var i=0;i<elems.length;i++){if(elems[i].getAttribute(\'required\')===null)continue;if(!found&&elems[i]!==elem)return!0;found=!0;elems[i].className=elems[i].className.replace(/ ?_has_error ?/g,\'\');if(!elems[i].checked){no_error=!1;elems[i].className=elems[i].className+\' _has_error\';err.push(\"Checking %s is required\".replace(\"%s\",elems[i].value))}}\nif(!no_error){tooltip=create_tooltip(elem,err.join(\'<br/>\'))}}else if(elem.tagName==\'SELECT\'){var selected=!0;if(elem.multiple){selected=!1;for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected){selected=!0;break}}}else{for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected&&!elem.options[i].value){selected=!1}}}\nif(!selected){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(value===undefined||value===null||value===\'\'){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"This field is required.\")}}\nif(no_error&&elem.name==\'email\'){if(!value.match(/^[\\+_a-z0-9-\'&=]+(\\.[\\+_a-z0-9-\']+)*@[a-z0-9-]+(\\.[a-z0-9-]+)*(\\.[a-z]{2,})$/i)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid email address.\")}}\nif(no_error&&/date_field/.test(elem.className)){if(!value.match(/^\\d\\d\\d\\d-\\d\\d-\\d\\d$/)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid date.\")}}\ntooltip?resize_tooltip(tooltip):!1;return no_error};var needs_validate=function(el){if(el.getAttribute(\'required\')!==null){return!0}\nif(el.name===\'email\'&&el.value!==\"\"){return!0}\nreturn!1};var validate_form=function(e){var err=form_to_submit.querySelector(\'._form_error\'),no_error=!0;if(!submitted){submitted=!0;for(var i=0,len=allInputs.length;i<len;i++){var input=allInputs[i];if(needs_validate(input)){if(input.type==\'text\'){addEvent(input,\'blur\',function(){this.value=this.value.trim();validate_field(this,!0)});addEvent(input,\'input\',function(){validate_field(this,!0)})}else if(input.type==\'radio\'||input.type==\'checkbox\'){(function(el){var radios=form_to_submit.elements[el.name];for(var i=0;i<radios.length;i++){addEvent(radios[i],\'click\',function(){validate_field(el,!0)})}})(input)}else if(input.tagName==\'SELECT\'){addEvent(input,\'change\',function(){validate_field(this,!0)})}else if(input.type==\'textarea\'){addEvent(input,\'input\',function(){validate_field(this,!0)})}}}}\nremove_tooltips();for(var i=0,len=allInputs.length;i<len;i++){var elem=allInputs[i];if(needs_validate(elem)){if(elem.tagName.toLowerCase()!==\"select\"){elem.value=elem.value.trim()}\nvalidate_field(elem)?!0:no_error=!1}}\nif(!no_error&&e){e.preventDefault()}\nresize_tooltips();return no_error};addEvent(window,\'resize\',resize_tooltips);addEvent(window,\'scroll\',resize_tooltips);window._old_serialize=null;if(typeof serialize!==\'undefined\')window._old_serialize=window.serialize;_load_script(\"//d3rxaij56vjege.cloudfront.net/form-serialize/0.3/serialize.min.js\",function(){window._form_serialize=window.serialize;if(window._old_serialize)window.serialize=window._old_serialize});var form_submit=function(e){e.preventDefault();if(validate_form()){document.querySelector(\'#_form_1_submit\').disabled=!0;var serialized=_form_serialize(document.getElementById(\'_form_61BA0615B5B84_\')).replace(/%0A/g,\'\\\\n\');var err=form_to_submit.querySelector(\'._form_error\');err?err.parentNode.removeChild(err):!1;_load_script(\'https://kidlife.activehosted.com/proc.php?\'+serialized+\'&jsonp=true\')}\nreturn!1};addEvent(form_to_submit,\'submit\',form_submit)})()','6b88c63d83381449b42adccc38c4f21d',0,0,'0000-00-00 00:00:00','2022-01-06 13:15:53'),(3245,'https://kidlife.activehosted.com/f/embed.php?static=0&id=1&61D6EB6F81F96&nostyles=0&preview=0','js','','window.cfields=[];window._show_thank_you=function(id,message,trackcmp_url,email){var form=document.getElementById(\'_form_\'+id+\'_\'),thank_you=form.querySelector(\'._form-thank-you\');form.querySelector(\'._form-content\').style.display=\'none\';thank_you.innerHTML=message;thank_you.style.display=\'block\';const vgoAlias=typeof visitorGlobalObjectAlias===\'undefined\'?\'vgo\':visitorGlobalObjectAlias;var visitorObject=window[vgoAlias];if(email&&typeof visitorObject!==\'undefined\'){visitorObject(\'setEmail\',email);visitorObject(\'update\')}else if(typeof(trackcmp_url)!=\'undefined\'&&trackcmp_url){_load_script(trackcmp_url)}\nif(typeof window._form_callback!==\'undefined\')window._form_callback(id)};window._show_error=function(id,message,html){var form=document.getElementById(\'_form_\'+id+\'_\'),err=document.createElement(\'div\'),button=form.querySelector(\'button\'),old_error=form.querySelector(\'._form_error\');if(old_error)old_error.parentNode.removeChild(old_error);err.innerHTML=message;err.className=\'_error-inner _form_error _no_arrow\';var wrapper=document.createElement(\'div\');wrapper.className=\'_form-inner\';wrapper.appendChild(err);button.parentNode.insertBefore(wrapper,button);document.querySelector(\'[id^=\"_form\"][id$=\"_submit\"]\').disabled=!1;if(html){var div=document.createElement(\'div\');div.className=\'_error-html\';div.innerHTML=html;err.appendChild(div)}};window._load_script=function(url,callback){var head=document.querySelector(\'head\'),script=document.createElement(\'script\'),r=!1;script.type=\'text/javascript\';script.charset=\'utf-8\';script.src=url;if(callback){script.onload=script.onreadystatechange=function(){if(!r&&(!this.readyState||this.readyState==\'complete\')){r=!0;callback()}}}\nhead.appendChild(script)};(function(){if(window.location.search.search(\"excludeform\")!==-1)return!1;var getCookie=function(name){var match=document.cookie.match(new RegExp(\'(^|; )\'+name+\'=([^;]+)\'));return match?match[2]:null}\nvar setCookie=function(name,value){var now=new Date();var time=now.getTime();var expireTime=time+1000*60*60*24*365;now.setTime(expireTime);document.cookie=name+\'=\'+value+\'; expires=\'+now+\';path=/\'}\nvar addEvent=function(element,event,func){if(element.addEventListener){element.addEventListener(event,func)}else{var oldFunc=element[\'on\'+event];element[\'on\'+event]=function(){oldFunc.apply(this,arguments);func.apply(this,arguments)}}}\nvar _removed=!1;var _form_output=\'\\<style\\>\\n #_form_61BA0615B5B84_ { font-size:14px; line-height:1.6; font-family:arial, helvetica, sans-serif; margin:0; }\\n #_form_61BA0615B5B84_ * { outline:0; }\\n ._form_hide { display:none; visibility:hidden; }\\n ._form_show { display:block; visibility:visible; }\\n #_form_61BA0615B5B84_._form-top { top:0; }\\n #_form_61BA0615B5B84_._form-bottom { bottom:0; }\\n #_form_61BA0615B5B84_._form-left { left:0; }\\n #_form_61BA0615B5B84_._form-right { right:0; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ input[type=\\\"date\\\"],#_form_61BA0615B5B84_ textarea { padding:6px; height:auto; border:#979797 1px solid; border-radius:4px; color:#000 !important; font-size:14px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ textarea { resize:none; }\\n #_form_61BA0615B5B84_ ._submit { -webkit-appearance:none; cursor:pointer; font-family:arial, sans-serif; font-size:14px; text-align:center; background:#333 !important; border:0 !important; -moz-border-radius:4px !important; -webkit-border-radius:4px !important; border-radius:4px !important; color:#fff !important; padding:10px !important; }\\n #_form_61BA0615B5B84_ ._close-icon { cursor:pointer; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/esfkyjh1u_forms-close-dark.png\\\'); background-repeat:no-repeat; background-size:14.2px 14.2px; position:absolute; display:block; top:11px; right:9px; overflow:hidden; width:16.2px; height:16.2px; }\\n #_form_61BA0615B5B84_ ._close-icon:before { position:relative; }\\n #_form_61BA0615B5B84_ ._form-body { margin-bottom:30px; }\\n #_form_61BA0615B5B84_ ._form-image-left { width:150px; float:left; }\\n #_form_61BA0615B5B84_ ._form-content-right { margin-left:164px; }\\n #_form_61BA0615B5B84_ ._form-branding { color:#fff; font-size:10px; clear:both; text-align:left; margin-top:30px; font-weight:100; }\\n #_form_61BA0615B5B84_ ._form-branding ._logo { display:block; width:130px; height:14px; margin-top:6px; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/hh9ujqgv5_aclogo_li.png\\\'); background-size:130px auto; background-repeat:no-repeat; }\\n #_form_61BA0615B5B84_ .form-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0, 0, 0, 0); border:0; }\\n #_form_61BA0615B5B84_ ._form-label,#_form_61BA0615B5B84_ ._form_element ._form-label { font-weight:bold; margin-bottom:5px; display:block; }\\n #_form_61BA0615B5B84_._dark ._form-branding { color:#333; }\\n #_form_61BA0615B5B84_._dark ._form-branding ._logo { background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/jftq2c8s_aclogo_dk.png\\\'); }\\n #_form_61BA0615B5B84_ ._form_element { position:relative; margin-bottom:10px; font-size:0; max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element * { font-size:14px; }\\n #_form_61BA0615B5B84_ ._form_element._clear { clear:both; width:100%; float:none; }\\n #_form_61BA0615B5B84_ ._form_element._clear:after { clear:left; }\\n #_form_61BA0615B5B84_ ._form_element input[type=\\\"text\\\"],#_form_61BA0615B5B84_ ._form_element input[type=\\\"date\\\"],#_form_61BA0615B5B84_ ._form_element select,#_form_61BA0615B5B84_ ._form_element textarea:not(.g-recaptcha-response) { display:block; width:100%; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-family:inherit; }\\n #_form_61BA0615B5B84_ ._field-wrapper { position:relative; }\\n #_form_61BA0615B5B84_ ._inline-style { float:left; }\\n #_form_61BA0615B5B84_ ._inline-style input[type=\\\"text\\\"] { width:150px; }\\n #_form_61BA0615B5B84_ ._inline-style:not(._clear) + ._inline-style:not(._clear) { margin-left:20px; }\\n #_form_61BA0615B5B84_ ._form_element img._form-image { max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element ._form-fieldset { border:0; padding:0.01em 0 0 0; margin:0; min-width:0; }\\n #_form_61BA0615B5B84_ ._clear-element { clear:left; }\\n #_form_61BA0615B5B84_ ._full_width { width:100%; }\\n #_form_61BA0615B5B84_ ._form_full_field { display:block; width:100%; margin-bottom:10px; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"]._has_error,#_form_61BA0615B5B84_ textarea._has_error { border:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"]._has_error { outline:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ ._error { display:block; position:absolute; font-size:14px; z-index:10000001; }\\n #_form_61BA0615B5B84_ ._error._above { padding-bottom:4px; bottom:39px; right:0; }\\n #_form_61BA0615B5B84_ ._error._below { padding-top:4px; top:100%; right:0; }\\n #_form_61BA0615B5B84_ ._error._above ._error-arrow { bottom:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-top:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error._below ._error-arrow { top:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-bottom:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error-inner { padding:8px 12px; background-color:#f37c7b; font-size:14px; font-family:arial, sans-serif; color:#fff; text-align:center; text-decoration:none; -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; }\\n #_form_61BA0615B5B84_ ._error-inner._form_error { margin-bottom:5px; text-align:left; }\\n #_form_61BA0615B5B84_ ._button-wrapper ._error-inner._form_error { position:static; }\\n #_form_61BA0615B5B84_ ._error-inner._no_arrow { margin-bottom:10px; }\\n #_form_61BA0615B5B84_ ._error-arrow { position:absolute; width:0; height:0; }\\n #_form_61BA0615B5B84_ ._error-html { margin-bottom:10px; }\\n .pika-single { z-index:10000001 !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"].datetime_date { width:69%; display:inline; }\\n #_form_61BA0615B5B84_ select.datetime_time { width:29%; display:inline; height:32px; }\\n @media all and (min-width:320px) and (max-width:667px) { ::-webkit-scrollbar { display:none; }\\n #_form_61BA0615B5B84_ { margin:0; width:100%; min-width:100%; max-width:100%; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ * { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-size:1em; }\\n #_form_61BA0615B5B84_ ._form-content { margin:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-inner { display:block; min-width:100%; }\\n #_form_61BA0615B5B84_ ._form-title,#_form_61BA0615B5B84_ ._inline-style { margin-top:0; margin-right:0; margin-left:0; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:1.2em; }\\n #_form_61BA0615B5B84_ ._form_element { margin:0 0 20px; padding:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-element,#_form_61BA0615B5B84_ ._inline-style,#_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ label,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ textarea:not(.g-recaptcha-response) { float:none; display:block; width:100%; }\\n #_form_61BA0615B5B84_ ._row._checkbox-radio label { display:inline; }\\n #_form_61BA0615B5B84_ ._row,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ label { margin-bottom:0.7em; width:100%; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"],#_form_61BA0615B5B84_ ._row input[type=\\\"radio\\\"] { margin:0 !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"] + span label { display:inline; }\\n #_form_61BA0615B5B84_ ._row span label { margin:0 !important; width:initial !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._form-image { max-width:100%; height:auto !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"] { padding-left:10px; padding-right:10px; font-size:16px; line-height:1.3em; -webkit-appearance:none; }\\n #_form_61BA0615B5B84_ input[type=\\\"radio\\\"],#_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"] { display:inline-block; width:1.3em; height:1.3em; font-size:1em; margin:0 0.3em 0 0; vertical-align:baseline; }\\n #_form_61BA0615B5B84_ button[type=\\\"submit\\\"] { padding:20px; font-size:1.5em; }\\n #_form_61BA0615B5B84_ ._inline-style { margin:20px 0 0 !important; }\\n }\\n #_form_61BA0615B5B84_ { position:relative; text-align:left; margin:25px auto 0; padding:20px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; *zoom:1; background:transparent !important; border:0px solid #b0b0b0 !important; -moz-border-radius:0px !important; -webkit-border-radius:0px !important; border-radius:0px !important; color:#000 !important; }\\n #_form_61BA0615B5B84_._inline-form,#_form_61BA0615B5B84_._inline-form ._form-content,#_form_61BA0615B5B84_._inline-form input,#_form_61BA0615B5B84_._inline-form ._submit { font-family:\\\"IBM Plex Sans\\\", Helvetica, sans-serif, \\\'IBM Plex Sans\\\', arial, sans-serif; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:22px; line-height:22px; font-weight:600; margin-bottom:0; }\\n #_form_61BA0615B5B84_:before,#_form_61BA0615B5B84_:after { content:\\\" \\\"; display:table; }\\n #_form_61BA0615B5B84_:after { clear:both; }\\n #_form_61BA0615B5B84_._inline-style { width:auto; display:inline-block; }\\n #_form_61BA0615B5B84_._inline-style input[type=\\\"text\\\"],#_form_61BA0615B5B84_._inline-style input[type=\\\"date\\\"] { padding:10px 12px; }\\n #_form_61BA0615B5B84_._inline-style button._inline-style { position:relative; top:27px; }\\n #_form_61BA0615B5B84_._inline-style p { margin:0; }\\n #_form_61BA0615B5B84_._inline-style ._button-wrapper { position:relative; margin:27px 12.5px 0 20px; }\\n #_form_61BA0615B5B84_ ._form-thank-you { position:relative; left:0; right:0; text-align:center; font-size:18px; }\\n @media all and (min-width:320px) and (max-width:667px) { #_form_61BA0615B5B84_._inline-form._inline-style ._inline-style._button-wrapper { margin-top:20px !important; margin-left:0 !important; }\\n }\\n\\n #_form_61BA0615B5B84_._form_1 { background-color:transparent !important; margin:0px !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit:hover { background-color:#d29104 !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit { background-color:#faaf11 !important; border-radius:9999px !important; width:130px !important; height:50px !important; text-transform:uppercase !important; font-weight:bold; line-height:20px; margin-left:30px !important; }\\n #_form_61BA0615B5B84_ ._x87469998 input { width:350px !important; }\\n\\<\\/style\\>\\n\\<link href=\\\"https:\\/\\/fonts.googleapis.com\\/css2?family=Lato&family=Montserrat&family=Roboto&display=swap\\\" rel=\\\"stylesheet\\\"\\>\\n\\n\\n\\<div style=\\\"text-align: center;\\\"\\>\\n\\<form method=\\\"POST\\\" action=\\\"https://kidlife.activehosted.com\\/proc.php\\\" id=\\\"_form_61BA0615B5B84_\\\" class=\\\"_form _form_1 _inline-form _inline-style _dark\\\" novalidate\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"u\\\" value=\\\"61BA0615B5B84\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"1\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"s\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"c\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"m\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"sub\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"v\\\" value=\\\"2\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"or\\\" value=\\\"c97c4b767bfa312d9b47ab269c71a306\\\" \\/\\>\\n	\\<div class=\\\"_form-content\\\"\\>\\n						\\<div class=\\\"_form_element _x87469998 _inline-style \\\" \\>\\n						\\<label for=\\\"email\\\" class=\\\"_form-label\\\"\\>&nbsp;\\<\\/label\\>\\n			\\<div class=\\\"_field-wrapper\\\"\\>\\n				\\<input type=\\\"text\\\" id=\\\"email\\\" name=\\\"email\\\" placeholder=\\\"Add meg az email címed\\\" required\\/\\>\\n			\\<\\/div\\>\\n					\\<\\/div\\>\\n				\\<div class=\\\"_button-wrapper _inline-style\\\"\\>\\<button id=\\\"_form_1_submit\\\" class=\\\"_submit\\\" type=\\\"submit\\\"\\>Küldés\\<\\/button\\>\\<\\/div\\>		\\<div class=\\\"_clear-element\\\"\\>\\<\\/div\\>\\n	\\<\\/div\\>\\n	\\<div class=\\\"_form-thank-you\\\" style=\\\"display:none;\\\"\\>\\<\\/div\\>\\n	\\<\\/form\\>\\n\\<\\/div\\>\\n\';var _form_element=null,_form_elements=document.querySelectorAll(\'._form_1\');for(var fe=0;fe<_form_elements.length;fe++){_form_element=_form_elements[fe];if(_form_element.innerHTML.trim()===\'\')break;_form_element=null}\nif(!_form_element){_form_element=document.createElement(\'div\');if(!document.body){document.firstChild.appendChild(document.createElement(\'body\'))}\ndocument.body.appendChild(_form_element)}\n_form_element.innerHTML=_form_output;var form_to_submit=document.getElementById(\'_form_61BA0615B5B84_\');var allInputs=form_to_submit.querySelectorAll(\'input, select, textarea\'),tooltips=[],submitted=!1;var getUrlParam=function(name){var regexStr=\'[\\?&]\'+name+\'=([^&#]*)\';var results=new RegExp(regexStr,\'i\').exec(window.location.href);return results!=undefined?decodeURIComponent(results[1]):!1};for(var i=0;i<allInputs.length;i++){var regexStr=\"field\\\\[(\\\\d+)\\\\]\";var results=new RegExp(regexStr).exec(allInputs[i].name);if(results!=undefined){allInputs[i].dataset.name=window.cfields[results[1]]}else{allInputs[i].dataset.name=allInputs[i].name}\nvar fieldVal=getUrlParam(allInputs[i].dataset.name);if(fieldVal){if(allInputs[i].dataset.autofill===\"false\"){continue}\nif(allInputs[i].type==\"radio\"||allInputs[i].type==\"checkbox\"){if(allInputs[i].value==fieldVal){allInputs[i].checked=!0}}else{allInputs[i].value=fieldVal}}}\nvar remove_tooltips=function(){for(var i=0;i<tooltips.length;i++){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip)}\ntooltips=[]};var remove_tooltip=function(elem){for(var i=0;i<tooltips.length;i++){if(tooltips[i].elem===elem){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip);tooltips.splice(i,1);return}}};var create_tooltip=function(elem,text){var tooltip=document.createElement(\'div\'),arrow=document.createElement(\'div\'),inner=document.createElement(\'div\'),new_tooltip={};if(elem.type!=\'radio\'&&elem.type!=\'checkbox\'){tooltip.className=\'_error\';arrow.className=\'_error-arrow\';inner.className=\'_error-inner\';inner.innerHTML=text;tooltip.appendChild(arrow);tooltip.appendChild(inner);elem.parentNode.appendChild(tooltip)}else{tooltip.className=\'_error-inner _no_arrow\';tooltip.innerHTML=text;elem.parentNode.insertBefore(tooltip,elem);new_tooltip.no_arrow=!0}\nnew_tooltip.tip=tooltip;new_tooltip.elem=elem;tooltips.push(new_tooltip);return new_tooltip};var resize_tooltip=function(tooltip){var rect=tooltip.elem.getBoundingClientRect();var doc=document.documentElement,scrollPosition=rect.top-((window.pageYOffset||doc.scrollTop)-(doc.clientTop||0));if(scrollPosition<40){tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _below\'}else{tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _above\'}};var resize_tooltips=function(){if(_removed)return;for(var i=0;i<tooltips.length;i++){if(!tooltips[i].no_arrow)resize_tooltip(tooltips[i])}};var validate_field=function(elem,remove){var tooltip=null,value=elem.value,no_error=!0;remove?remove_tooltip(elem):!1;if(elem.type!=\'checkbox\')elem.className=elem.className.replace(/ ?_has_error ?/g,\'\');if(elem.getAttribute(\'required\')!==null){if(elem.type==\'radio\'||(elem.type==\'checkbox\'&&/any/.test(elem.className))){var elems=form_to_submit.elements[elem.name];if(!(elems instanceof NodeList||elems instanceof HTMLCollection)||elems.length<=1){no_error=elem.checked}else{no_error=!1;for(var i=0;i<elems.length;i++){if(elems[i].checked)no_error=!0}}\nif(!no_error){tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(elem.type==\'checkbox\'){var elems=form_to_submit.elements[elem.name],found=!1,err=[];no_error=!0;for(var i=0;i<elems.length;i++){if(elems[i].getAttribute(\'required\')===null)continue;if(!found&&elems[i]!==elem)return!0;found=!0;elems[i].className=elems[i].className.replace(/ ?_has_error ?/g,\'\');if(!elems[i].checked){no_error=!1;elems[i].className=elems[i].className+\' _has_error\';err.push(\"Checking %s is required\".replace(\"%s\",elems[i].value))}}\nif(!no_error){tooltip=create_tooltip(elem,err.join(\'<br/>\'))}}else if(elem.tagName==\'SELECT\'){var selected=!0;if(elem.multiple){selected=!1;for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected){selected=!0;break}}}else{for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected&&!elem.options[i].value){selected=!1}}}\nif(!selected){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(value===undefined||value===null||value===\'\'){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"This field is required.\")}}\nif(no_error&&elem.name==\'email\'){if(!value.match(/^[\\+_a-z0-9-\'&=]+(\\.[\\+_a-z0-9-\']+)*@[a-z0-9-]+(\\.[a-z0-9-]+)*(\\.[a-z]{2,})$/i)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid email address.\")}}\nif(no_error&&/date_field/.test(elem.className)){if(!value.match(/^\\d\\d\\d\\d-\\d\\d-\\d\\d$/)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid date.\")}}\ntooltip?resize_tooltip(tooltip):!1;return no_error};var needs_validate=function(el){if(el.getAttribute(\'required\')!==null){return!0}\nif(el.name===\'email\'&&el.value!==\"\"){return!0}\nreturn!1};var validate_form=function(e){var err=form_to_submit.querySelector(\'._form_error\'),no_error=!0;if(!submitted){submitted=!0;for(var i=0,len=allInputs.length;i<len;i++){var input=allInputs[i];if(needs_validate(input)){if(input.type==\'text\'){addEvent(input,\'blur\',function(){this.value=this.value.trim();validate_field(this,!0)});addEvent(input,\'input\',function(){validate_field(this,!0)})}else if(input.type==\'radio\'||input.type==\'checkbox\'){(function(el){var radios=form_to_submit.elements[el.name];for(var i=0;i<radios.length;i++){addEvent(radios[i],\'click\',function(){validate_field(el,!0)})}})(input)}else if(input.tagName==\'SELECT\'){addEvent(input,\'change\',function(){validate_field(this,!0)})}else if(input.type==\'textarea\'){addEvent(input,\'input\',function(){validate_field(this,!0)})}}}}\nremove_tooltips();for(var i=0,len=allInputs.length;i<len;i++){var elem=allInputs[i];if(needs_validate(elem)){if(elem.tagName.toLowerCase()!==\"select\"){elem.value=elem.value.trim()}\nvalidate_field(elem)?!0:no_error=!1}}\nif(!no_error&&e){e.preventDefault()}\nresize_tooltips();return no_error};addEvent(window,\'resize\',resize_tooltips);addEvent(window,\'scroll\',resize_tooltips);window._old_serialize=null;if(typeof serialize!==\'undefined\')window._old_serialize=window.serialize;_load_script(\"//d3rxaij56vjege.cloudfront.net/form-serialize/0.3/serialize.min.js\",function(){window._form_serialize=window.serialize;if(window._old_serialize)window.serialize=window._old_serialize});var form_submit=function(e){e.preventDefault();if(validate_form()){document.querySelector(\'#_form_1_submit\').disabled=!0;var serialized=_form_serialize(document.getElementById(\'_form_61BA0615B5B84_\')).replace(/%0A/g,\'\\\\n\');var err=form_to_submit.querySelector(\'._form_error\');err?err.parentNode.removeChild(err):!1;_load_script(\'https://kidlife.activehosted.com/proc.php?\'+serialized+\'&jsonp=true\')}\nreturn!1};addEvent(form_to_submit,\'submit\',form_submit)})()','6b88c63d83381449b42adccc38c4f21d',0,0,'0000-00-00 00:00:00','2022-01-06 13:15:36'),(3244,'https://kidlife.activehosted.com/f/embed.php?static=0&id=1&61D6EAF62281E&nostyles=0&preview=0','js','','window.cfields=[];window._show_thank_you=function(id,message,trackcmp_url,email){var form=document.getElementById(\'_form_\'+id+\'_\'),thank_you=form.querySelector(\'._form-thank-you\');form.querySelector(\'._form-content\').style.display=\'none\';thank_you.innerHTML=message;thank_you.style.display=\'block\';const vgoAlias=typeof visitorGlobalObjectAlias===\'undefined\'?\'vgo\':visitorGlobalObjectAlias;var visitorObject=window[vgoAlias];if(email&&typeof visitorObject!==\'undefined\'){visitorObject(\'setEmail\',email);visitorObject(\'update\')}else if(typeof(trackcmp_url)!=\'undefined\'&&trackcmp_url){_load_script(trackcmp_url)}\nif(typeof window._form_callback!==\'undefined\')window._form_callback(id)};window._show_error=function(id,message,html){var form=document.getElementById(\'_form_\'+id+\'_\'),err=document.createElement(\'div\'),button=form.querySelector(\'button\'),old_error=form.querySelector(\'._form_error\');if(old_error)old_error.parentNode.removeChild(old_error);err.innerHTML=message;err.className=\'_error-inner _form_error _no_arrow\';var wrapper=document.createElement(\'div\');wrapper.className=\'_form-inner\';wrapper.appendChild(err);button.parentNode.insertBefore(wrapper,button);document.querySelector(\'[id^=\"_form\"][id$=\"_submit\"]\').disabled=!1;if(html){var div=document.createElement(\'div\');div.className=\'_error-html\';div.innerHTML=html;err.appendChild(div)}};window._load_script=function(url,callback){var head=document.querySelector(\'head\'),script=document.createElement(\'script\'),r=!1;script.type=\'text/javascript\';script.charset=\'utf-8\';script.src=url;if(callback){script.onload=script.onreadystatechange=function(){if(!r&&(!this.readyState||this.readyState==\'complete\')){r=!0;callback()}}}\nhead.appendChild(script)};(function(){if(window.location.search.search(\"excludeform\")!==-1)return!1;var getCookie=function(name){var match=document.cookie.match(new RegExp(\'(^|; )\'+name+\'=([^;]+)\'));return match?match[2]:null}\nvar setCookie=function(name,value){var now=new Date();var time=now.getTime();var expireTime=time+1000*60*60*24*365;now.setTime(expireTime);document.cookie=name+\'=\'+value+\'; expires=\'+now+\';path=/\'}\nvar addEvent=function(element,event,func){if(element.addEventListener){element.addEventListener(event,func)}else{var oldFunc=element[\'on\'+event];element[\'on\'+event]=function(){oldFunc.apply(this,arguments);func.apply(this,arguments)}}}\nvar _removed=!1;var _form_output=\'\\<style\\>\\n #_form_61BA0615B5B84_ { font-size:14px; line-height:1.6; font-family:arial, helvetica, sans-serif; margin:0; }\\n #_form_61BA0615B5B84_ * { outline:0; }\\n ._form_hide { display:none; visibility:hidden; }\\n ._form_show { display:block; visibility:visible; }\\n #_form_61BA0615B5B84_._form-top { top:0; }\\n #_form_61BA0615B5B84_._form-bottom { bottom:0; }\\n #_form_61BA0615B5B84_._form-left { left:0; }\\n #_form_61BA0615B5B84_._form-right { right:0; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ input[type=\\\"date\\\"],#_form_61BA0615B5B84_ textarea { padding:6px; height:auto; border:#979797 1px solid; border-radius:4px; color:#000 !important; font-size:14px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ textarea { resize:none; }\\n #_form_61BA0615B5B84_ ._submit { -webkit-appearance:none; cursor:pointer; font-family:arial, sans-serif; font-size:14px; text-align:center; background:#333 !important; border:0 !important; -moz-border-radius:4px !important; -webkit-border-radius:4px !important; border-radius:4px !important; color:#fff !important; padding:10px !important; }\\n #_form_61BA0615B5B84_ ._close-icon { cursor:pointer; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/esfkyjh1u_forms-close-dark.png\\\'); background-repeat:no-repeat; background-size:14.2px 14.2px; position:absolute; display:block; top:11px; right:9px; overflow:hidden; width:16.2px; height:16.2px; }\\n #_form_61BA0615B5B84_ ._close-icon:before { position:relative; }\\n #_form_61BA0615B5B84_ ._form-body { margin-bottom:30px; }\\n #_form_61BA0615B5B84_ ._form-image-left { width:150px; float:left; }\\n #_form_61BA0615B5B84_ ._form-content-right { margin-left:164px; }\\n #_form_61BA0615B5B84_ ._form-branding { color:#fff; font-size:10px; clear:both; text-align:left; margin-top:30px; font-weight:100; }\\n #_form_61BA0615B5B84_ ._form-branding ._logo { display:block; width:130px; height:14px; margin-top:6px; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/hh9ujqgv5_aclogo_li.png\\\'); background-size:130px auto; background-repeat:no-repeat; }\\n #_form_61BA0615B5B84_ .form-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0, 0, 0, 0); border:0; }\\n #_form_61BA0615B5B84_ ._form-label,#_form_61BA0615B5B84_ ._form_element ._form-label { font-weight:bold; margin-bottom:5px; display:block; }\\n #_form_61BA0615B5B84_._dark ._form-branding { color:#333; }\\n #_form_61BA0615B5B84_._dark ._form-branding ._logo { background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/jftq2c8s_aclogo_dk.png\\\'); }\\n #_form_61BA0615B5B84_ ._form_element { position:relative; margin-bottom:10px; font-size:0; max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element * { font-size:14px; }\\n #_form_61BA0615B5B84_ ._form_element._clear { clear:both; width:100%; float:none; }\\n #_form_61BA0615B5B84_ ._form_element._clear:after { clear:left; }\\n #_form_61BA0615B5B84_ ._form_element input[type=\\\"text\\\"],#_form_61BA0615B5B84_ ._form_element input[type=\\\"date\\\"],#_form_61BA0615B5B84_ ._form_element select,#_form_61BA0615B5B84_ ._form_element textarea:not(.g-recaptcha-response) { display:block; width:100%; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-family:inherit; }\\n #_form_61BA0615B5B84_ ._field-wrapper { position:relative; }\\n #_form_61BA0615B5B84_ ._inline-style { float:left; }\\n #_form_61BA0615B5B84_ ._inline-style input[type=\\\"text\\\"] { width:150px; }\\n #_form_61BA0615B5B84_ ._inline-style:not(._clear) + ._inline-style:not(._clear) { margin-left:20px; }\\n #_form_61BA0615B5B84_ ._form_element img._form-image { max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element ._form-fieldset { border:0; padding:0.01em 0 0 0; margin:0; min-width:0; }\\n #_form_61BA0615B5B84_ ._clear-element { clear:left; }\\n #_form_61BA0615B5B84_ ._full_width { width:100%; }\\n #_form_61BA0615B5B84_ ._form_full_field { display:block; width:100%; margin-bottom:10px; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"]._has_error,#_form_61BA0615B5B84_ textarea._has_error { border:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"]._has_error { outline:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ ._error { display:block; position:absolute; font-size:14px; z-index:10000001; }\\n #_form_61BA0615B5B84_ ._error._above { padding-bottom:4px; bottom:39px; right:0; }\\n #_form_61BA0615B5B84_ ._error._below { padding-top:4px; top:100%; right:0; }\\n #_form_61BA0615B5B84_ ._error._above ._error-arrow { bottom:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-top:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error._below ._error-arrow { top:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-bottom:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error-inner { padding:8px 12px; background-color:#f37c7b; font-size:14px; font-family:arial, sans-serif; color:#fff; text-align:center; text-decoration:none; -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; }\\n #_form_61BA0615B5B84_ ._error-inner._form_error { margin-bottom:5px; text-align:left; }\\n #_form_61BA0615B5B84_ ._button-wrapper ._error-inner._form_error { position:static; }\\n #_form_61BA0615B5B84_ ._error-inner._no_arrow { margin-bottom:10px; }\\n #_form_61BA0615B5B84_ ._error-arrow { position:absolute; width:0; height:0; }\\n #_form_61BA0615B5B84_ ._error-html { margin-bottom:10px; }\\n .pika-single { z-index:10000001 !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"].datetime_date { width:69%; display:inline; }\\n #_form_61BA0615B5B84_ select.datetime_time { width:29%; display:inline; height:32px; }\\n @media all and (min-width:320px) and (max-width:667px) { ::-webkit-scrollbar { display:none; }\\n #_form_61BA0615B5B84_ { margin:0; width:100%; min-width:100%; max-width:100%; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ * { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-size:1em; }\\n #_form_61BA0615B5B84_ ._form-content { margin:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-inner { display:block; min-width:100%; }\\n #_form_61BA0615B5B84_ ._form-title,#_form_61BA0615B5B84_ ._inline-style { margin-top:0; margin-right:0; margin-left:0; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:1.2em; }\\n #_form_61BA0615B5B84_ ._form_element { margin:0 0 20px; padding:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-element,#_form_61BA0615B5B84_ ._inline-style,#_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ label,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ textarea:not(.g-recaptcha-response) { float:none; display:block; width:100%; }\\n #_form_61BA0615B5B84_ ._row._checkbox-radio label { display:inline; }\\n #_form_61BA0615B5B84_ ._row,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ label { margin-bottom:0.7em; width:100%; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"],#_form_61BA0615B5B84_ ._row input[type=\\\"radio\\\"] { margin:0 !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"] + span label { display:inline; }\\n #_form_61BA0615B5B84_ ._row span label { margin:0 !important; width:initial !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._form-image { max-width:100%; height:auto !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"] { padding-left:10px; padding-right:10px; font-size:16px; line-height:1.3em; -webkit-appearance:none; }\\n #_form_61BA0615B5B84_ input[type=\\\"radio\\\"],#_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"] { display:inline-block; width:1.3em; height:1.3em; font-size:1em; margin:0 0.3em 0 0; vertical-align:baseline; }\\n #_form_61BA0615B5B84_ button[type=\\\"submit\\\"] { padding:20px; font-size:1.5em; }\\n #_form_61BA0615B5B84_ ._inline-style { margin:20px 0 0 !important; }\\n }\\n #_form_61BA0615B5B84_ { position:relative; text-align:left; margin:25px auto 0; padding:20px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; *zoom:1; background:transparent !important; border:0px solid #b0b0b0 !important; -moz-border-radius:0px !important; -webkit-border-radius:0px !important; border-radius:0px !important; color:#000 !important; }\\n #_form_61BA0615B5B84_._inline-form,#_form_61BA0615B5B84_._inline-form ._form-content,#_form_61BA0615B5B84_._inline-form input,#_form_61BA0615B5B84_._inline-form ._submit { font-family:\\\"IBM Plex Sans\\\", Helvetica, sans-serif, \\\'IBM Plex Sans\\\', arial, sans-serif; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:22px; line-height:22px; font-weight:600; margin-bottom:0; }\\n #_form_61BA0615B5B84_:before,#_form_61BA0615B5B84_:after { content:\\\" \\\"; display:table; }\\n #_form_61BA0615B5B84_:after { clear:both; }\\n #_form_61BA0615B5B84_._inline-style { width:auto; display:inline-block; }\\n #_form_61BA0615B5B84_._inline-style input[type=\\\"text\\\"],#_form_61BA0615B5B84_._inline-style input[type=\\\"date\\\"] { padding:10px 12px; }\\n #_form_61BA0615B5B84_._inline-style button._inline-style { position:relative; top:27px; }\\n #_form_61BA0615B5B84_._inline-style p { margin:0; }\\n #_form_61BA0615B5B84_._inline-style ._button-wrapper { position:relative; margin:27px 12.5px 0 20px; }\\n #_form_61BA0615B5B84_ ._form-thank-you { position:relative; left:0; right:0; text-align:center; font-size:18px; }\\n @media all and (min-width:320px) and (max-width:667px) { #_form_61BA0615B5B84_._inline-form._inline-style ._inline-style._button-wrapper { margin-top:20px !important; margin-left:0 !important; }\\n }\\n\\n #_form_61BA0615B5B84_._form_1 { background-color:transparent !important; margin:0px !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit:hover { background-color:#d29104 !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit { background-color:#faaf11 !important; border-radius:9999px !important; width:130px !important; height:50px !important; text-transform:uppercase !important; font-weight:bold; line-height:20px; margin-left:30px !important; }\\n #_form_61BA0615B5B84_ ._x87469998 input { width:350px !important; }\\n\\<\\/style\\>\\n\\<link href=\\\"https:\\/\\/fonts.googleapis.com\\/css2?family=Lato&family=Montserrat&family=Roboto&display=swap\\\" rel=\\\"stylesheet\\\"\\>\\n\\n\\n\\<div style=\\\"text-align: center;\\\"\\>\\n\\<form method=\\\"POST\\\" action=\\\"https://kidlife.activehosted.com\\/proc.php\\\" id=\\\"_form_61BA0615B5B84_\\\" class=\\\"_form _form_1 _inline-form _inline-style _dark\\\" novalidate\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"u\\\" value=\\\"61BA0615B5B84\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"1\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"s\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"c\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"m\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"sub\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"v\\\" value=\\\"2\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"or\\\" value=\\\"c97c4b767bfa312d9b47ab269c71a306\\\" \\/\\>\\n	\\<div class=\\\"_form-content\\\"\\>\\n						\\<div class=\\\"_form_element _x87469998 _inline-style \\\" \\>\\n						\\<label for=\\\"email\\\" class=\\\"_form-label\\\"\\>&nbsp;\\<\\/label\\>\\n			\\<div class=\\\"_field-wrapper\\\"\\>\\n				\\<input type=\\\"text\\\" id=\\\"email\\\" name=\\\"email\\\" placeholder=\\\"Add meg az email címed\\\" required\\/\\>\\n			\\<\\/div\\>\\n					\\<\\/div\\>\\n				\\<div class=\\\"_button-wrapper _inline-style\\\"\\>\\<button id=\\\"_form_1_submit\\\" class=\\\"_submit\\\" type=\\\"submit\\\"\\>Küldés\\<\\/button\\>\\<\\/div\\>		\\<div class=\\\"_clear-element\\\"\\>\\<\\/div\\>\\n	\\<\\/div\\>\\n	\\<div class=\\\"_form-thank-you\\\" style=\\\"display:none;\\\"\\>\\<\\/div\\>\\n	\\<\\/form\\>\\n\\<\\/div\\>\\n\';var _form_element=null,_form_elements=document.querySelectorAll(\'._form_1\');for(var fe=0;fe<_form_elements.length;fe++){_form_element=_form_elements[fe];if(_form_element.innerHTML.trim()===\'\')break;_form_element=null}\nif(!_form_element){_form_element=document.createElement(\'div\');if(!document.body){document.firstChild.appendChild(document.createElement(\'body\'))}\ndocument.body.appendChild(_form_element)}\n_form_element.innerHTML=_form_output;var form_to_submit=document.getElementById(\'_form_61BA0615B5B84_\');var allInputs=form_to_submit.querySelectorAll(\'input, select, textarea\'),tooltips=[],submitted=!1;var getUrlParam=function(name){var regexStr=\'[\\?&]\'+name+\'=([^&#]*)\';var results=new RegExp(regexStr,\'i\').exec(window.location.href);return results!=undefined?decodeURIComponent(results[1]):!1};for(var i=0;i<allInputs.length;i++){var regexStr=\"field\\\\[(\\\\d+)\\\\]\";var results=new RegExp(regexStr).exec(allInputs[i].name);if(results!=undefined){allInputs[i].dataset.name=window.cfields[results[1]]}else{allInputs[i].dataset.name=allInputs[i].name}\nvar fieldVal=getUrlParam(allInputs[i].dataset.name);if(fieldVal){if(allInputs[i].dataset.autofill===\"false\"){continue}\nif(allInputs[i].type==\"radio\"||allInputs[i].type==\"checkbox\"){if(allInputs[i].value==fieldVal){allInputs[i].checked=!0}}else{allInputs[i].value=fieldVal}}}\nvar remove_tooltips=function(){for(var i=0;i<tooltips.length;i++){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip)}\ntooltips=[]};var remove_tooltip=function(elem){for(var i=0;i<tooltips.length;i++){if(tooltips[i].elem===elem){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip);tooltips.splice(i,1);return}}};var create_tooltip=function(elem,text){var tooltip=document.createElement(\'div\'),arrow=document.createElement(\'div\'),inner=document.createElement(\'div\'),new_tooltip={};if(elem.type!=\'radio\'&&elem.type!=\'checkbox\'){tooltip.className=\'_error\';arrow.className=\'_error-arrow\';inner.className=\'_error-inner\';inner.innerHTML=text;tooltip.appendChild(arrow);tooltip.appendChild(inner);elem.parentNode.appendChild(tooltip)}else{tooltip.className=\'_error-inner _no_arrow\';tooltip.innerHTML=text;elem.parentNode.insertBefore(tooltip,elem);new_tooltip.no_arrow=!0}\nnew_tooltip.tip=tooltip;new_tooltip.elem=elem;tooltips.push(new_tooltip);return new_tooltip};var resize_tooltip=function(tooltip){var rect=tooltip.elem.getBoundingClientRect();var doc=document.documentElement,scrollPosition=rect.top-((window.pageYOffset||doc.scrollTop)-(doc.clientTop||0));if(scrollPosition<40){tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _below\'}else{tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _above\'}};var resize_tooltips=function(){if(_removed)return;for(var i=0;i<tooltips.length;i++){if(!tooltips[i].no_arrow)resize_tooltip(tooltips[i])}};var validate_field=function(elem,remove){var tooltip=null,value=elem.value,no_error=!0;remove?remove_tooltip(elem):!1;if(elem.type!=\'checkbox\')elem.className=elem.className.replace(/ ?_has_error ?/g,\'\');if(elem.getAttribute(\'required\')!==null){if(elem.type==\'radio\'||(elem.type==\'checkbox\'&&/any/.test(elem.className))){var elems=form_to_submit.elements[elem.name];if(!(elems instanceof NodeList||elems instanceof HTMLCollection)||elems.length<=1){no_error=elem.checked}else{no_error=!1;for(var i=0;i<elems.length;i++){if(elems[i].checked)no_error=!0}}\nif(!no_error){tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(elem.type==\'checkbox\'){var elems=form_to_submit.elements[elem.name],found=!1,err=[];no_error=!0;for(var i=0;i<elems.length;i++){if(elems[i].getAttribute(\'required\')===null)continue;if(!found&&elems[i]!==elem)return!0;found=!0;elems[i].className=elems[i].className.replace(/ ?_has_error ?/g,\'\');if(!elems[i].checked){no_error=!1;elems[i].className=elems[i].className+\' _has_error\';err.push(\"Checking %s is required\".replace(\"%s\",elems[i].value))}}\nif(!no_error){tooltip=create_tooltip(elem,err.join(\'<br/>\'))}}else if(elem.tagName==\'SELECT\'){var selected=!0;if(elem.multiple){selected=!1;for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected){selected=!0;break}}}else{for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected&&!elem.options[i].value){selected=!1}}}\nif(!selected){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(value===undefined||value===null||value===\'\'){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"This field is required.\")}}\nif(no_error&&elem.name==\'email\'){if(!value.match(/^[\\+_a-z0-9-\'&=]+(\\.[\\+_a-z0-9-\']+)*@[a-z0-9-]+(\\.[a-z0-9-]+)*(\\.[a-z]{2,})$/i)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid email address.\")}}\nif(no_error&&/date_field/.test(elem.className)){if(!value.match(/^\\d\\d\\d\\d-\\d\\d-\\d\\d$/)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid date.\")}}\ntooltip?resize_tooltip(tooltip):!1;return no_error};var needs_validate=function(el){if(el.getAttribute(\'required\')!==null){return!0}\nif(el.name===\'email\'&&el.value!==\"\"){return!0}\nreturn!1};var validate_form=function(e){var err=form_to_submit.querySelector(\'._form_error\'),no_error=!0;if(!submitted){submitted=!0;for(var i=0,len=allInputs.length;i<len;i++){var input=allInputs[i];if(needs_validate(input)){if(input.type==\'text\'){addEvent(input,\'blur\',function(){this.value=this.value.trim();validate_field(this,!0)});addEvent(input,\'input\',function(){validate_field(this,!0)})}else if(input.type==\'radio\'||input.type==\'checkbox\'){(function(el){var radios=form_to_submit.elements[el.name];for(var i=0;i<radios.length;i++){addEvent(radios[i],\'click\',function(){validate_field(el,!0)})}})(input)}else if(input.tagName==\'SELECT\'){addEvent(input,\'change\',function(){validate_field(this,!0)})}else if(input.type==\'textarea\'){addEvent(input,\'input\',function(){validate_field(this,!0)})}}}}\nremove_tooltips();for(var i=0,len=allInputs.length;i<len;i++){var elem=allInputs[i];if(needs_validate(elem)){if(elem.tagName.toLowerCase()!==\"select\"){elem.value=elem.value.trim()}\nvalidate_field(elem)?!0:no_error=!1}}\nif(!no_error&&e){e.preventDefault()}\nresize_tooltips();return no_error};addEvent(window,\'resize\',resize_tooltips);addEvent(window,\'scroll\',resize_tooltips);window._old_serialize=null;if(typeof serialize!==\'undefined\')window._old_serialize=window.serialize;_load_script(\"//d3rxaij56vjege.cloudfront.net/form-serialize/0.3/serialize.min.js\",function(){window._form_serialize=window.serialize;if(window._old_serialize)window.serialize=window._old_serialize});var form_submit=function(e){e.preventDefault();if(validate_form()){document.querySelector(\'#_form_1_submit\').disabled=!0;var serialized=_form_serialize(document.getElementById(\'_form_61BA0615B5B84_\')).replace(/%0A/g,\'\\\\n\');var err=form_to_submit.querySelector(\'._form_error\');err?err.parentNode.removeChild(err):!1;_load_script(\'https://kidlife.activehosted.com/proc.php?\'+serialized+\'&jsonp=true\')}\nreturn!1};addEvent(form_to_submit,\'submit\',form_submit)})()','6b88c63d83381449b42adccc38c4f21d',0,0,'0000-00-00 00:00:00','2022-01-06 13:13:48'),(3243,'https://kidlife.activehosted.com/f/embed.php?static=0&id=1&61D6EAF45330A&nostyles=0&preview=0','js','','window.cfields=[];window._show_thank_you=function(id,message,trackcmp_url,email){var form=document.getElementById(\'_form_\'+id+\'_\'),thank_you=form.querySelector(\'._form-thank-you\');form.querySelector(\'._form-content\').style.display=\'none\';thank_you.innerHTML=message;thank_you.style.display=\'block\';const vgoAlias=typeof visitorGlobalObjectAlias===\'undefined\'?\'vgo\':visitorGlobalObjectAlias;var visitorObject=window[vgoAlias];if(email&&typeof visitorObject!==\'undefined\'){visitorObject(\'setEmail\',email);visitorObject(\'update\')}else if(typeof(trackcmp_url)!=\'undefined\'&&trackcmp_url){_load_script(trackcmp_url)}\nif(typeof window._form_callback!==\'undefined\')window._form_callback(id)};window._show_error=function(id,message,html){var form=document.getElementById(\'_form_\'+id+\'_\'),err=document.createElement(\'div\'),button=form.querySelector(\'button\'),old_error=form.querySelector(\'._form_error\');if(old_error)old_error.parentNode.removeChild(old_error);err.innerHTML=message;err.className=\'_error-inner _form_error _no_arrow\';var wrapper=document.createElement(\'div\');wrapper.className=\'_form-inner\';wrapper.appendChild(err);button.parentNode.insertBefore(wrapper,button);document.querySelector(\'[id^=\"_form\"][id$=\"_submit\"]\').disabled=!1;if(html){var div=document.createElement(\'div\');div.className=\'_error-html\';div.innerHTML=html;err.appendChild(div)}};window._load_script=function(url,callback){var head=document.querySelector(\'head\'),script=document.createElement(\'script\'),r=!1;script.type=\'text/javascript\';script.charset=\'utf-8\';script.src=url;if(callback){script.onload=script.onreadystatechange=function(){if(!r&&(!this.readyState||this.readyState==\'complete\')){r=!0;callback()}}}\nhead.appendChild(script)};(function(){if(window.location.search.search(\"excludeform\")!==-1)return!1;var getCookie=function(name){var match=document.cookie.match(new RegExp(\'(^|; )\'+name+\'=([^;]+)\'));return match?match[2]:null}\nvar setCookie=function(name,value){var now=new Date();var time=now.getTime();var expireTime=time+1000*60*60*24*365;now.setTime(expireTime);document.cookie=name+\'=\'+value+\'; expires=\'+now+\';path=/\'}\nvar addEvent=function(element,event,func){if(element.addEventListener){element.addEventListener(event,func)}else{var oldFunc=element[\'on\'+event];element[\'on\'+event]=function(){oldFunc.apply(this,arguments);func.apply(this,arguments)}}}\nvar _removed=!1;var _form_output=\'\\<style\\>\\n #_form_61BA0615B5B84_ { font-size:14px; line-height:1.6; font-family:arial, helvetica, sans-serif; margin:0; }\\n #_form_61BA0615B5B84_ * { outline:0; }\\n ._form_hide { display:none; visibility:hidden; }\\n ._form_show { display:block; visibility:visible; }\\n #_form_61BA0615B5B84_._form-top { top:0; }\\n #_form_61BA0615B5B84_._form-bottom { bottom:0; }\\n #_form_61BA0615B5B84_._form-left { left:0; }\\n #_form_61BA0615B5B84_._form-right { right:0; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ input[type=\\\"date\\\"],#_form_61BA0615B5B84_ textarea { padding:6px; height:auto; border:#979797 1px solid; border-radius:4px; color:#000 !important; font-size:14px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ textarea { resize:none; }\\n #_form_61BA0615B5B84_ ._submit { -webkit-appearance:none; cursor:pointer; font-family:arial, sans-serif; font-size:14px; text-align:center; background:#333 !important; border:0 !important; -moz-border-radius:4px !important; -webkit-border-radius:4px !important; border-radius:4px !important; color:#fff !important; padding:10px !important; }\\n #_form_61BA0615B5B84_ ._close-icon { cursor:pointer; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/esfkyjh1u_forms-close-dark.png\\\'); background-repeat:no-repeat; background-size:14.2px 14.2px; position:absolute; display:block; top:11px; right:9px; overflow:hidden; width:16.2px; height:16.2px; }\\n #_form_61BA0615B5B84_ ._close-icon:before { position:relative; }\\n #_form_61BA0615B5B84_ ._form-body { margin-bottom:30px; }\\n #_form_61BA0615B5B84_ ._form-image-left { width:150px; float:left; }\\n #_form_61BA0615B5B84_ ._form-content-right { margin-left:164px; }\\n #_form_61BA0615B5B84_ ._form-branding { color:#fff; font-size:10px; clear:both; text-align:left; margin-top:30px; font-weight:100; }\\n #_form_61BA0615B5B84_ ._form-branding ._logo { display:block; width:130px; height:14px; margin-top:6px; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/hh9ujqgv5_aclogo_li.png\\\'); background-size:130px auto; background-repeat:no-repeat; }\\n #_form_61BA0615B5B84_ .form-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0, 0, 0, 0); border:0; }\\n #_form_61BA0615B5B84_ ._form-label,#_form_61BA0615B5B84_ ._form_element ._form-label { font-weight:bold; margin-bottom:5px; display:block; }\\n #_form_61BA0615B5B84_._dark ._form-branding { color:#333; }\\n #_form_61BA0615B5B84_._dark ._form-branding ._logo { background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/jftq2c8s_aclogo_dk.png\\\'); }\\n #_form_61BA0615B5B84_ ._form_element { position:relative; margin-bottom:10px; font-size:0; max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element * { font-size:14px; }\\n #_form_61BA0615B5B84_ ._form_element._clear { clear:both; width:100%; float:none; }\\n #_form_61BA0615B5B84_ ._form_element._clear:after { clear:left; }\\n #_form_61BA0615B5B84_ ._form_element input[type=\\\"text\\\"],#_form_61BA0615B5B84_ ._form_element input[type=\\\"date\\\"],#_form_61BA0615B5B84_ ._form_element select,#_form_61BA0615B5B84_ ._form_element textarea:not(.g-recaptcha-response) { display:block; width:100%; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-family:inherit; }\\n #_form_61BA0615B5B84_ ._field-wrapper { position:relative; }\\n #_form_61BA0615B5B84_ ._inline-style { float:left; }\\n #_form_61BA0615B5B84_ ._inline-style input[type=\\\"text\\\"] { width:150px; }\\n #_form_61BA0615B5B84_ ._inline-style:not(._clear) + ._inline-style:not(._clear) { margin-left:20px; }\\n #_form_61BA0615B5B84_ ._form_element img._form-image { max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element ._form-fieldset { border:0; padding:0.01em 0 0 0; margin:0; min-width:0; }\\n #_form_61BA0615B5B84_ ._clear-element { clear:left; }\\n #_form_61BA0615B5B84_ ._full_width { width:100%; }\\n #_form_61BA0615B5B84_ ._form_full_field { display:block; width:100%; margin-bottom:10px; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"]._has_error,#_form_61BA0615B5B84_ textarea._has_error { border:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"]._has_error { outline:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ ._error { display:block; position:absolute; font-size:14px; z-index:10000001; }\\n #_form_61BA0615B5B84_ ._error._above { padding-bottom:4px; bottom:39px; right:0; }\\n #_form_61BA0615B5B84_ ._error._below { padding-top:4px; top:100%; right:0; }\\n #_form_61BA0615B5B84_ ._error._above ._error-arrow { bottom:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-top:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error._below ._error-arrow { top:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-bottom:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error-inner { padding:8px 12px; background-color:#f37c7b; font-size:14px; font-family:arial, sans-serif; color:#fff; text-align:center; text-decoration:none; -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; }\\n #_form_61BA0615B5B84_ ._error-inner._form_error { margin-bottom:5px; text-align:left; }\\n #_form_61BA0615B5B84_ ._button-wrapper ._error-inner._form_error { position:static; }\\n #_form_61BA0615B5B84_ ._error-inner._no_arrow { margin-bottom:10px; }\\n #_form_61BA0615B5B84_ ._error-arrow { position:absolute; width:0; height:0; }\\n #_form_61BA0615B5B84_ ._error-html { margin-bottom:10px; }\\n .pika-single { z-index:10000001 !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"].datetime_date { width:69%; display:inline; }\\n #_form_61BA0615B5B84_ select.datetime_time { width:29%; display:inline; height:32px; }\\n @media all and (min-width:320px) and (max-width:667px) { ::-webkit-scrollbar { display:none; }\\n #_form_61BA0615B5B84_ { margin:0; width:100%; min-width:100%; max-width:100%; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ * { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-size:1em; }\\n #_form_61BA0615B5B84_ ._form-content { margin:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-inner { display:block; min-width:100%; }\\n #_form_61BA0615B5B84_ ._form-title,#_form_61BA0615B5B84_ ._inline-style { margin-top:0; margin-right:0; margin-left:0; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:1.2em; }\\n #_form_61BA0615B5B84_ ._form_element { margin:0 0 20px; padding:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-element,#_form_61BA0615B5B84_ ._inline-style,#_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ label,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ textarea:not(.g-recaptcha-response) { float:none; display:block; width:100%; }\\n #_form_61BA0615B5B84_ ._row._checkbox-radio label { display:inline; }\\n #_form_61BA0615B5B84_ ._row,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ label { margin-bottom:0.7em; width:100%; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"],#_form_61BA0615B5B84_ ._row input[type=\\\"radio\\\"] { margin:0 !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"] + span label { display:inline; }\\n #_form_61BA0615B5B84_ ._row span label { margin:0 !important; width:initial !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._form-image { max-width:100%; height:auto !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"] { padding-left:10px; padding-right:10px; font-size:16px; line-height:1.3em; -webkit-appearance:none; }\\n #_form_61BA0615B5B84_ input[type=\\\"radio\\\"],#_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"] { display:inline-block; width:1.3em; height:1.3em; font-size:1em; margin:0 0.3em 0 0; vertical-align:baseline; }\\n #_form_61BA0615B5B84_ button[type=\\\"submit\\\"] { padding:20px; font-size:1.5em; }\\n #_form_61BA0615B5B84_ ._inline-style { margin:20px 0 0 !important; }\\n }\\n #_form_61BA0615B5B84_ { position:relative; text-align:left; margin:25px auto 0; padding:20px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; *zoom:1; background:transparent !important; border:0px solid #b0b0b0 !important; -moz-border-radius:0px !important; -webkit-border-radius:0px !important; border-radius:0px !important; color:#000 !important; }\\n #_form_61BA0615B5B84_._inline-form,#_form_61BA0615B5B84_._inline-form ._form-content,#_form_61BA0615B5B84_._inline-form input,#_form_61BA0615B5B84_._inline-form ._submit { font-family:\\\"IBM Plex Sans\\\", Helvetica, sans-serif, \\\'IBM Plex Sans\\\', arial, sans-serif; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:22px; line-height:22px; font-weight:600; margin-bottom:0; }\\n #_form_61BA0615B5B84_:before,#_form_61BA0615B5B84_:after { content:\\\" \\\"; display:table; }\\n #_form_61BA0615B5B84_:after { clear:both; }\\n #_form_61BA0615B5B84_._inline-style { width:auto; display:inline-block; }\\n #_form_61BA0615B5B84_._inline-style input[type=\\\"text\\\"],#_form_61BA0615B5B84_._inline-style input[type=\\\"date\\\"] { padding:10px 12px; }\\n #_form_61BA0615B5B84_._inline-style button._inline-style { position:relative; top:27px; }\\n #_form_61BA0615B5B84_._inline-style p { margin:0; }\\n #_form_61BA0615B5B84_._inline-style ._button-wrapper { position:relative; margin:27px 12.5px 0 20px; }\\n #_form_61BA0615B5B84_ ._form-thank-you { position:relative; left:0; right:0; text-align:center; font-size:18px; }\\n @media all and (min-width:320px) and (max-width:667px) { #_form_61BA0615B5B84_._inline-form._inline-style ._inline-style._button-wrapper { margin-top:20px !important; margin-left:0 !important; }\\n }\\n\\n #_form_61BA0615B5B84_._form_1 { background-color:transparent !important; margin:0px !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit:hover { background-color:#d29104 !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit { background-color:#faaf11 !important; border-radius:9999px !important; width:130px !important; height:50px !important; text-transform:uppercase !important; font-weight:bold; line-height:20px; margin-left:30px !important; }\\n #_form_61BA0615B5B84_ ._x87469998 input { width:350px !important; }\\n\\<\\/style\\>\\n\\<link href=\\\"https:\\/\\/fonts.googleapis.com\\/css2?family=Lato&family=Montserrat&family=Roboto&display=swap\\\" rel=\\\"stylesheet\\\"\\>\\n\\n\\n\\<div style=\\\"text-align: center;\\\"\\>\\n\\<form method=\\\"POST\\\" action=\\\"https://kidlife.activehosted.com\\/proc.php\\\" id=\\\"_form_61BA0615B5B84_\\\" class=\\\"_form _form_1 _inline-form _inline-style _dark\\\" novalidate\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"u\\\" value=\\\"61BA0615B5B84\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"1\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"s\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"c\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"m\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"sub\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"v\\\" value=\\\"2\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"or\\\" value=\\\"c97c4b767bfa312d9b47ab269c71a306\\\" \\/\\>\\n	\\<div class=\\\"_form-content\\\"\\>\\n						\\<div class=\\\"_form_element _x87469998 _inline-style \\\" \\>\\n						\\<label for=\\\"email\\\" class=\\\"_form-label\\\"\\>&nbsp;\\<\\/label\\>\\n			\\<div class=\\\"_field-wrapper\\\"\\>\\n				\\<input type=\\\"text\\\" id=\\\"email\\\" name=\\\"email\\\" placeholder=\\\"Add meg az email címed\\\" required\\/\\>\\n			\\<\\/div\\>\\n					\\<\\/div\\>\\n				\\<div class=\\\"_button-wrapper _inline-style\\\"\\>\\<button id=\\\"_form_1_submit\\\" class=\\\"_submit\\\" type=\\\"submit\\\"\\>Küldés\\<\\/button\\>\\<\\/div\\>		\\<div class=\\\"_clear-element\\\"\\>\\<\\/div\\>\\n	\\<\\/div\\>\\n	\\<div class=\\\"_form-thank-you\\\" style=\\\"display:none;\\\"\\>\\<\\/div\\>\\n	\\<\\/form\\>\\n\\<\\/div\\>\\n\';var _form_element=null,_form_elements=document.querySelectorAll(\'._form_1\');for(var fe=0;fe<_form_elements.length;fe++){_form_element=_form_elements[fe];if(_form_element.innerHTML.trim()===\'\')break;_form_element=null}\nif(!_form_element){_form_element=document.createElement(\'div\');if(!document.body){document.firstChild.appendChild(document.createElement(\'body\'))}\ndocument.body.appendChild(_form_element)}\n_form_element.innerHTML=_form_output;var form_to_submit=document.getElementById(\'_form_61BA0615B5B84_\');var allInputs=form_to_submit.querySelectorAll(\'input, select, textarea\'),tooltips=[],submitted=!1;var getUrlParam=function(name){var regexStr=\'[\\?&]\'+name+\'=([^&#]*)\';var results=new RegExp(regexStr,\'i\').exec(window.location.href);return results!=undefined?decodeURIComponent(results[1]):!1};for(var i=0;i<allInputs.length;i++){var regexStr=\"field\\\\[(\\\\d+)\\\\]\";var results=new RegExp(regexStr).exec(allInputs[i].name);if(results!=undefined){allInputs[i].dataset.name=window.cfields[results[1]]}else{allInputs[i].dataset.name=allInputs[i].name}\nvar fieldVal=getUrlParam(allInputs[i].dataset.name);if(fieldVal){if(allInputs[i].dataset.autofill===\"false\"){continue}\nif(allInputs[i].type==\"radio\"||allInputs[i].type==\"checkbox\"){if(allInputs[i].value==fieldVal){allInputs[i].checked=!0}}else{allInputs[i].value=fieldVal}}}\nvar remove_tooltips=function(){for(var i=0;i<tooltips.length;i++){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip)}\ntooltips=[]};var remove_tooltip=function(elem){for(var i=0;i<tooltips.length;i++){if(tooltips[i].elem===elem){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip);tooltips.splice(i,1);return}}};var create_tooltip=function(elem,text){var tooltip=document.createElement(\'div\'),arrow=document.createElement(\'div\'),inner=document.createElement(\'div\'),new_tooltip={};if(elem.type!=\'radio\'&&elem.type!=\'checkbox\'){tooltip.className=\'_error\';arrow.className=\'_error-arrow\';inner.className=\'_error-inner\';inner.innerHTML=text;tooltip.appendChild(arrow);tooltip.appendChild(inner);elem.parentNode.appendChild(tooltip)}else{tooltip.className=\'_error-inner _no_arrow\';tooltip.innerHTML=text;elem.parentNode.insertBefore(tooltip,elem);new_tooltip.no_arrow=!0}\nnew_tooltip.tip=tooltip;new_tooltip.elem=elem;tooltips.push(new_tooltip);return new_tooltip};var resize_tooltip=function(tooltip){var rect=tooltip.elem.getBoundingClientRect();var doc=document.documentElement,scrollPosition=rect.top-((window.pageYOffset||doc.scrollTop)-(doc.clientTop||0));if(scrollPosition<40){tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _below\'}else{tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _above\'}};var resize_tooltips=function(){if(_removed)return;for(var i=0;i<tooltips.length;i++){if(!tooltips[i].no_arrow)resize_tooltip(tooltips[i])}};var validate_field=function(elem,remove){var tooltip=null,value=elem.value,no_error=!0;remove?remove_tooltip(elem):!1;if(elem.type!=\'checkbox\')elem.className=elem.className.replace(/ ?_has_error ?/g,\'\');if(elem.getAttribute(\'required\')!==null){if(elem.type==\'radio\'||(elem.type==\'checkbox\'&&/any/.test(elem.className))){var elems=form_to_submit.elements[elem.name];if(!(elems instanceof NodeList||elems instanceof HTMLCollection)||elems.length<=1){no_error=elem.checked}else{no_error=!1;for(var i=0;i<elems.length;i++){if(elems[i].checked)no_error=!0}}\nif(!no_error){tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(elem.type==\'checkbox\'){var elems=form_to_submit.elements[elem.name],found=!1,err=[];no_error=!0;for(var i=0;i<elems.length;i++){if(elems[i].getAttribute(\'required\')===null)continue;if(!found&&elems[i]!==elem)return!0;found=!0;elems[i].className=elems[i].className.replace(/ ?_has_error ?/g,\'\');if(!elems[i].checked){no_error=!1;elems[i].className=elems[i].className+\' _has_error\';err.push(\"Checking %s is required\".replace(\"%s\",elems[i].value))}}\nif(!no_error){tooltip=create_tooltip(elem,err.join(\'<br/>\'))}}else if(elem.tagName==\'SELECT\'){var selected=!0;if(elem.multiple){selected=!1;for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected){selected=!0;break}}}else{for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected&&!elem.options[i].value){selected=!1}}}\nif(!selected){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(value===undefined||value===null||value===\'\'){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"This field is required.\")}}\nif(no_error&&elem.name==\'email\'){if(!value.match(/^[\\+_a-z0-9-\'&=]+(\\.[\\+_a-z0-9-\']+)*@[a-z0-9-]+(\\.[a-z0-9-]+)*(\\.[a-z]{2,})$/i)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid email address.\")}}\nif(no_error&&/date_field/.test(elem.className)){if(!value.match(/^\\d\\d\\d\\d-\\d\\d-\\d\\d$/)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid date.\")}}\ntooltip?resize_tooltip(tooltip):!1;return no_error};var needs_validate=function(el){if(el.getAttribute(\'required\')!==null){return!0}\nif(el.name===\'email\'&&el.value!==\"\"){return!0}\nreturn!1};var validate_form=function(e){var err=form_to_submit.querySelector(\'._form_error\'),no_error=!0;if(!submitted){submitted=!0;for(var i=0,len=allInputs.length;i<len;i++){var input=allInputs[i];if(needs_validate(input)){if(input.type==\'text\'){addEvent(input,\'blur\',function(){this.value=this.value.trim();validate_field(this,!0)});addEvent(input,\'input\',function(){validate_field(this,!0)})}else if(input.type==\'radio\'||input.type==\'checkbox\'){(function(el){var radios=form_to_submit.elements[el.name];for(var i=0;i<radios.length;i++){addEvent(radios[i],\'click\',function(){validate_field(el,!0)})}})(input)}else if(input.tagName==\'SELECT\'){addEvent(input,\'change\',function(){validate_field(this,!0)})}else if(input.type==\'textarea\'){addEvent(input,\'input\',function(){validate_field(this,!0)})}}}}\nremove_tooltips();for(var i=0,len=allInputs.length;i<len;i++){var elem=allInputs[i];if(needs_validate(elem)){if(elem.tagName.toLowerCase()!==\"select\"){elem.value=elem.value.trim()}\nvalidate_field(elem)?!0:no_error=!1}}\nif(!no_error&&e){e.preventDefault()}\nresize_tooltips();return no_error};addEvent(window,\'resize\',resize_tooltips);addEvent(window,\'scroll\',resize_tooltips);window._old_serialize=null;if(typeof serialize!==\'undefined\')window._old_serialize=window.serialize;_load_script(\"//d3rxaij56vjege.cloudfront.net/form-serialize/0.3/serialize.min.js\",function(){window._form_serialize=window.serialize;if(window._old_serialize)window.serialize=window._old_serialize});var form_submit=function(e){e.preventDefault();if(validate_form()){document.querySelector(\'#_form_1_submit\').disabled=!0;var serialized=_form_serialize(document.getElementById(\'_form_61BA0615B5B84_\')).replace(/%0A/g,\'\\\\n\');var err=form_to_submit.querySelector(\'._form_error\');err?err.parentNode.removeChild(err):!1;_load_script(\'https://kidlife.activehosted.com/proc.php?\'+serialized+\'&jsonp=true\')}\nreturn!1};addEvent(form_to_submit,\'submit\',form_submit)})()','6b88c63d83381449b42adccc38c4f21d',0,0,'0000-00-00 00:00:00','2022-01-06 13:13:46'),(3237,'https://kidlife.activehosted.com/f/embed.php?static=0&id=1&61D6EAE82E642&nostyles=0&preview=0','js','','window.cfields=[];window._show_thank_you=function(id,message,trackcmp_url,email){var form=document.getElementById(\'_form_\'+id+\'_\'),thank_you=form.querySelector(\'._form-thank-you\');form.querySelector(\'._form-content\').style.display=\'none\';thank_you.innerHTML=message;thank_you.style.display=\'block\';const vgoAlias=typeof visitorGlobalObjectAlias===\'undefined\'?\'vgo\':visitorGlobalObjectAlias;var visitorObject=window[vgoAlias];if(email&&typeof visitorObject!==\'undefined\'){visitorObject(\'setEmail\',email);visitorObject(\'update\')}else if(typeof(trackcmp_url)!=\'undefined\'&&trackcmp_url){_load_script(trackcmp_url)}\nif(typeof window._form_callback!==\'undefined\')window._form_callback(id)};window._show_error=function(id,message,html){var form=document.getElementById(\'_form_\'+id+\'_\'),err=document.createElement(\'div\'),button=form.querySelector(\'button\'),old_error=form.querySelector(\'._form_error\');if(old_error)old_error.parentNode.removeChild(old_error);err.innerHTML=message;err.className=\'_error-inner _form_error _no_arrow\';var wrapper=document.createElement(\'div\');wrapper.className=\'_form-inner\';wrapper.appendChild(err);button.parentNode.insertBefore(wrapper,button);document.querySelector(\'[id^=\"_form\"][id$=\"_submit\"]\').disabled=!1;if(html){var div=document.createElement(\'div\');div.className=\'_error-html\';div.innerHTML=html;err.appendChild(div)}};window._load_script=function(url,callback){var head=document.querySelector(\'head\'),script=document.createElement(\'script\'),r=!1;script.type=\'text/javascript\';script.charset=\'utf-8\';script.src=url;if(callback){script.onload=script.onreadystatechange=function(){if(!r&&(!this.readyState||this.readyState==\'complete\')){r=!0;callback()}}}\nhead.appendChild(script)};(function(){if(window.location.search.search(\"excludeform\")!==-1)return!1;var getCookie=function(name){var match=document.cookie.match(new RegExp(\'(^|; )\'+name+\'=([^;]+)\'));return match?match[2]:null}\nvar setCookie=function(name,value){var now=new Date();var time=now.getTime();var expireTime=time+1000*60*60*24*365;now.setTime(expireTime);document.cookie=name+\'=\'+value+\'; expires=\'+now+\';path=/\'}\nvar addEvent=function(element,event,func){if(element.addEventListener){element.addEventListener(event,func)}else{var oldFunc=element[\'on\'+event];element[\'on\'+event]=function(){oldFunc.apply(this,arguments);func.apply(this,arguments)}}}\nvar _removed=!1;var _form_output=\'\\<style\\>\\n #_form_61BA0615B5B84_ { font-size:14px; line-height:1.6; font-family:arial, helvetica, sans-serif; margin:0; }\\n #_form_61BA0615B5B84_ * { outline:0; }\\n ._form_hide { display:none; visibility:hidden; }\\n ._form_show { display:block; visibility:visible; }\\n #_form_61BA0615B5B84_._form-top { top:0; }\\n #_form_61BA0615B5B84_._form-bottom { bottom:0; }\\n #_form_61BA0615B5B84_._form-left { left:0; }\\n #_form_61BA0615B5B84_._form-right { right:0; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ input[type=\\\"date\\\"],#_form_61BA0615B5B84_ textarea { padding:6px; height:auto; border:#979797 1px solid; border-radius:4px; color:#000 !important; font-size:14px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ textarea { resize:none; }\\n #_form_61BA0615B5B84_ ._submit { -webkit-appearance:none; cursor:pointer; font-family:arial, sans-serif; font-size:14px; text-align:center; background:#333 !important; border:0 !important; -moz-border-radius:4px !important; -webkit-border-radius:4px !important; border-radius:4px !important; color:#fff !important; padding:10px !important; }\\n #_form_61BA0615B5B84_ ._close-icon { cursor:pointer; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/esfkyjh1u_forms-close-dark.png\\\'); background-repeat:no-repeat; background-size:14.2px 14.2px; position:absolute; display:block; top:11px; right:9px; overflow:hidden; width:16.2px; height:16.2px; }\\n #_form_61BA0615B5B84_ ._close-icon:before { position:relative; }\\n #_form_61BA0615B5B84_ ._form-body { margin-bottom:30px; }\\n #_form_61BA0615B5B84_ ._form-image-left { width:150px; float:left; }\\n #_form_61BA0615B5B84_ ._form-content-right { margin-left:164px; }\\n #_form_61BA0615B5B84_ ._form-branding { color:#fff; font-size:10px; clear:both; text-align:left; margin-top:30px; font-weight:100; }\\n #_form_61BA0615B5B84_ ._form-branding ._logo { display:block; width:130px; height:14px; margin-top:6px; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/hh9ujqgv5_aclogo_li.png\\\'); background-size:130px auto; background-repeat:no-repeat; }\\n #_form_61BA0615B5B84_ .form-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0, 0, 0, 0); border:0; }\\n #_form_61BA0615B5B84_ ._form-label,#_form_61BA0615B5B84_ ._form_element ._form-label { font-weight:bold; margin-bottom:5px; display:block; }\\n #_form_61BA0615B5B84_._dark ._form-branding { color:#333; }\\n #_form_61BA0615B5B84_._dark ._form-branding ._logo { background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/jftq2c8s_aclogo_dk.png\\\'); }\\n #_form_61BA0615B5B84_ ._form_element { position:relative; margin-bottom:10px; font-size:0; max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element * { font-size:14px; }\\n #_form_61BA0615B5B84_ ._form_element._clear { clear:both; width:100%; float:none; }\\n #_form_61BA0615B5B84_ ._form_element._clear:after { clear:left; }\\n #_form_61BA0615B5B84_ ._form_element input[type=\\\"text\\\"],#_form_61BA0615B5B84_ ._form_element input[type=\\\"date\\\"],#_form_61BA0615B5B84_ ._form_element select,#_form_61BA0615B5B84_ ._form_element textarea:not(.g-recaptcha-response) { display:block; width:100%; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-family:inherit; }\\n #_form_61BA0615B5B84_ ._field-wrapper { position:relative; }\\n #_form_61BA0615B5B84_ ._inline-style { float:left; }\\n #_form_61BA0615B5B84_ ._inline-style input[type=\\\"text\\\"] { width:150px; }\\n #_form_61BA0615B5B84_ ._inline-style:not(._clear) + ._inline-style:not(._clear) { margin-left:20px; }\\n #_form_61BA0615B5B84_ ._form_element img._form-image { max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element ._form-fieldset { border:0; padding:0.01em 0 0 0; margin:0; min-width:0; }\\n #_form_61BA0615B5B84_ ._clear-element { clear:left; }\\n #_form_61BA0615B5B84_ ._full_width { width:100%; }\\n #_form_61BA0615B5B84_ ._form_full_field { display:block; width:100%; margin-bottom:10px; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"]._has_error,#_form_61BA0615B5B84_ textarea._has_error { border:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"]._has_error { outline:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ ._error { display:block; position:absolute; font-size:14px; z-index:10000001; }\\n #_form_61BA0615B5B84_ ._error._above { padding-bottom:4px; bottom:39px; right:0; }\\n #_form_61BA0615B5B84_ ._error._below { padding-top:4px; top:100%; right:0; }\\n #_form_61BA0615B5B84_ ._error._above ._error-arrow { bottom:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-top:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error._below ._error-arrow { top:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-bottom:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error-inner { padding:8px 12px; background-color:#f37c7b; font-size:14px; font-family:arial, sans-serif; color:#fff; text-align:center; text-decoration:none; -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; }\\n #_form_61BA0615B5B84_ ._error-inner._form_error { margin-bottom:5px; text-align:left; }\\n #_form_61BA0615B5B84_ ._button-wrapper ._error-inner._form_error { position:static; }\\n #_form_61BA0615B5B84_ ._error-inner._no_arrow { margin-bottom:10px; }\\n #_form_61BA0615B5B84_ ._error-arrow { position:absolute; width:0; height:0; }\\n #_form_61BA0615B5B84_ ._error-html { margin-bottom:10px; }\\n .pika-single { z-index:10000001 !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"].datetime_date { width:69%; display:inline; }\\n #_form_61BA0615B5B84_ select.datetime_time { width:29%; display:inline; height:32px; }\\n @media all and (min-width:320px) and (max-width:667px) { ::-webkit-scrollbar { display:none; }\\n #_form_61BA0615B5B84_ { margin:0; width:100%; min-width:100%; max-width:100%; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ * { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-size:1em; }\\n #_form_61BA0615B5B84_ ._form-content { margin:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-inner { display:block; min-width:100%; }\\n #_form_61BA0615B5B84_ ._form-title,#_form_61BA0615B5B84_ ._inline-style { margin-top:0; margin-right:0; margin-left:0; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:1.2em; }\\n #_form_61BA0615B5B84_ ._form_element { margin:0 0 20px; padding:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-element,#_form_61BA0615B5B84_ ._inline-style,#_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ label,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ textarea:not(.g-recaptcha-response) { float:none; display:block; width:100%; }\\n #_form_61BA0615B5B84_ ._row._checkbox-radio label { display:inline; }\\n #_form_61BA0615B5B84_ ._row,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ label { margin-bottom:0.7em; width:100%; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"],#_form_61BA0615B5B84_ ._row input[type=\\\"radio\\\"] { margin:0 !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"] + span label { display:inline; }\\n #_form_61BA0615B5B84_ ._row span label { margin:0 !important; width:initial !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._form-image { max-width:100%; height:auto !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"] { padding-left:10px; padding-right:10px; font-size:16px; line-height:1.3em; -webkit-appearance:none; }\\n #_form_61BA0615B5B84_ input[type=\\\"radio\\\"],#_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"] { display:inline-block; width:1.3em; height:1.3em; font-size:1em; margin:0 0.3em 0 0; vertical-align:baseline; }\\n #_form_61BA0615B5B84_ button[type=\\\"submit\\\"] { padding:20px; font-size:1.5em; }\\n #_form_61BA0615B5B84_ ._inline-style { margin:20px 0 0 !important; }\\n }\\n #_form_61BA0615B5B84_ { position:relative; text-align:left; margin:25px auto 0; padding:20px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; *zoom:1; background:transparent !important; border:0px solid #b0b0b0 !important; -moz-border-radius:0px !important; -webkit-border-radius:0px !important; border-radius:0px !important; color:#000 !important; }\\n #_form_61BA0615B5B84_._inline-form,#_form_61BA0615B5B84_._inline-form ._form-content,#_form_61BA0615B5B84_._inline-form input,#_form_61BA0615B5B84_._inline-form ._submit { font-family:\\\"IBM Plex Sans\\\", Helvetica, sans-serif, \\\'IBM Plex Sans\\\', arial, sans-serif; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:22px; line-height:22px; font-weight:600; margin-bottom:0; }\\n #_form_61BA0615B5B84_:before,#_form_61BA0615B5B84_:after { content:\\\" \\\"; display:table; }\\n #_form_61BA0615B5B84_:after { clear:both; }\\n #_form_61BA0615B5B84_._inline-style { width:auto; display:inline-block; }\\n #_form_61BA0615B5B84_._inline-style input[type=\\\"text\\\"],#_form_61BA0615B5B84_._inline-style input[type=\\\"date\\\"] { padding:10px 12px; }\\n #_form_61BA0615B5B84_._inline-style button._inline-style { position:relative; top:27px; }\\n #_form_61BA0615B5B84_._inline-style p { margin:0; }\\n #_form_61BA0615B5B84_._inline-style ._button-wrapper { position:relative; margin:27px 12.5px 0 20px; }\\n #_form_61BA0615B5B84_ ._form-thank-you { position:relative; left:0; right:0; text-align:center; font-size:18px; }\\n @media all and (min-width:320px) and (max-width:667px) { #_form_61BA0615B5B84_._inline-form._inline-style ._inline-style._button-wrapper { margin-top:20px !important; margin-left:0 !important; }\\n }\\n\\n #_form_61BA0615B5B84_._form_1 { background-color:transparent !important; margin:0px !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit:hover { background-color:#d29104 !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit { background-color:#faaf11 !important; border-radius:9999px !important; width:130px !important; height:50px !important; text-transform:uppercase !important; font-weight:bold; line-height:20px; margin-left:30px !important; }\\n #_form_61BA0615B5B84_ ._x87469998 input { width:350px !important; }\\n\\<\\/style\\>\\n\\<link href=\\\"https:\\/\\/fonts.googleapis.com\\/css2?family=Lato&family=Montserrat&family=Roboto&display=swap\\\" rel=\\\"stylesheet\\\"\\>\\n\\n\\n\\<div style=\\\"text-align: center;\\\"\\>\\n\\<form method=\\\"POST\\\" action=\\\"https://kidlife.activehosted.com\\/proc.php\\\" id=\\\"_form_61BA0615B5B84_\\\" class=\\\"_form _form_1 _inline-form _inline-style _dark\\\" novalidate\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"u\\\" value=\\\"61BA0615B5B84\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"1\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"s\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"c\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"m\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"sub\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"v\\\" value=\\\"2\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"or\\\" value=\\\"c97c4b767bfa312d9b47ab269c71a306\\\" \\/\\>\\n	\\<div class=\\\"_form-content\\\"\\>\\n						\\<div class=\\\"_form_element _x87469998 _inline-style \\\" \\>\\n						\\<label for=\\\"email\\\" class=\\\"_form-label\\\"\\>&nbsp;\\<\\/label\\>\\n			\\<div class=\\\"_field-wrapper\\\"\\>\\n				\\<input type=\\\"text\\\" id=\\\"email\\\" name=\\\"email\\\" placeholder=\\\"Add meg az email címed\\\" required\\/\\>\\n			\\<\\/div\\>\\n					\\<\\/div\\>\\n				\\<div class=\\\"_button-wrapper _inline-style\\\"\\>\\<button id=\\\"_form_1_submit\\\" class=\\\"_submit\\\" type=\\\"submit\\\"\\>Küldés\\<\\/button\\>\\<\\/div\\>		\\<div class=\\\"_clear-element\\\"\\>\\<\\/div\\>\\n	\\<\\/div\\>\\n	\\<div class=\\\"_form-thank-you\\\" style=\\\"display:none;\\\"\\>\\<\\/div\\>\\n	\\<\\/form\\>\\n\\<\\/div\\>\\n\';var _form_element=null,_form_elements=document.querySelectorAll(\'._form_1\');for(var fe=0;fe<_form_elements.length;fe++){_form_element=_form_elements[fe];if(_form_element.innerHTML.trim()===\'\')break;_form_element=null}\nif(!_form_element){_form_element=document.createElement(\'div\');if(!document.body){document.firstChild.appendChild(document.createElement(\'body\'))}\ndocument.body.appendChild(_form_element)}\n_form_element.innerHTML=_form_output;var form_to_submit=document.getElementById(\'_form_61BA0615B5B84_\');var allInputs=form_to_submit.querySelectorAll(\'input, select, textarea\'),tooltips=[],submitted=!1;var getUrlParam=function(name){var regexStr=\'[\\?&]\'+name+\'=([^&#]*)\';var results=new RegExp(regexStr,\'i\').exec(window.location.href);return results!=undefined?decodeURIComponent(results[1]):!1};for(var i=0;i<allInputs.length;i++){var regexStr=\"field\\\\[(\\\\d+)\\\\]\";var results=new RegExp(regexStr).exec(allInputs[i].name);if(results!=undefined){allInputs[i].dataset.name=window.cfields[results[1]]}else{allInputs[i].dataset.name=allInputs[i].name}\nvar fieldVal=getUrlParam(allInputs[i].dataset.name);if(fieldVal){if(allInputs[i].dataset.autofill===\"false\"){continue}\nif(allInputs[i].type==\"radio\"||allInputs[i].type==\"checkbox\"){if(allInputs[i].value==fieldVal){allInputs[i].checked=!0}}else{allInputs[i].value=fieldVal}}}\nvar remove_tooltips=function(){for(var i=0;i<tooltips.length;i++){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip)}\ntooltips=[]};var remove_tooltip=function(elem){for(var i=0;i<tooltips.length;i++){if(tooltips[i].elem===elem){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip);tooltips.splice(i,1);return}}};var create_tooltip=function(elem,text){var tooltip=document.createElement(\'div\'),arrow=document.createElement(\'div\'),inner=document.createElement(\'div\'),new_tooltip={};if(elem.type!=\'radio\'&&elem.type!=\'checkbox\'){tooltip.className=\'_error\';arrow.className=\'_error-arrow\';inner.className=\'_error-inner\';inner.innerHTML=text;tooltip.appendChild(arrow);tooltip.appendChild(inner);elem.parentNode.appendChild(tooltip)}else{tooltip.className=\'_error-inner _no_arrow\';tooltip.innerHTML=text;elem.parentNode.insertBefore(tooltip,elem);new_tooltip.no_arrow=!0}\nnew_tooltip.tip=tooltip;new_tooltip.elem=elem;tooltips.push(new_tooltip);return new_tooltip};var resize_tooltip=function(tooltip){var rect=tooltip.elem.getBoundingClientRect();var doc=document.documentElement,scrollPosition=rect.top-((window.pageYOffset||doc.scrollTop)-(doc.clientTop||0));if(scrollPosition<40){tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _below\'}else{tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _above\'}};var resize_tooltips=function(){if(_removed)return;for(var i=0;i<tooltips.length;i++){if(!tooltips[i].no_arrow)resize_tooltip(tooltips[i])}};var validate_field=function(elem,remove){var tooltip=null,value=elem.value,no_error=!0;remove?remove_tooltip(elem):!1;if(elem.type!=\'checkbox\')elem.className=elem.className.replace(/ ?_has_error ?/g,\'\');if(elem.getAttribute(\'required\')!==null){if(elem.type==\'radio\'||(elem.type==\'checkbox\'&&/any/.test(elem.className))){var elems=form_to_submit.elements[elem.name];if(!(elems instanceof NodeList||elems instanceof HTMLCollection)||elems.length<=1){no_error=elem.checked}else{no_error=!1;for(var i=0;i<elems.length;i++){if(elems[i].checked)no_error=!0}}\nif(!no_error){tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(elem.type==\'checkbox\'){var elems=form_to_submit.elements[elem.name],found=!1,err=[];no_error=!0;for(var i=0;i<elems.length;i++){if(elems[i].getAttribute(\'required\')===null)continue;if(!found&&elems[i]!==elem)return!0;found=!0;elems[i].className=elems[i].className.replace(/ ?_has_error ?/g,\'\');if(!elems[i].checked){no_error=!1;elems[i].className=elems[i].className+\' _has_error\';err.push(\"Checking %s is required\".replace(\"%s\",elems[i].value))}}\nif(!no_error){tooltip=create_tooltip(elem,err.join(\'<br/>\'))}}else if(elem.tagName==\'SELECT\'){var selected=!0;if(elem.multiple){selected=!1;for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected){selected=!0;break}}}else{for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected&&!elem.options[i].value){selected=!1}}}\nif(!selected){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(value===undefined||value===null||value===\'\'){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"This field is required.\")}}\nif(no_error&&elem.name==\'email\'){if(!value.match(/^[\\+_a-z0-9-\'&=]+(\\.[\\+_a-z0-9-\']+)*@[a-z0-9-]+(\\.[a-z0-9-]+)*(\\.[a-z]{2,})$/i)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid email address.\")}}\nif(no_error&&/date_field/.test(elem.className)){if(!value.match(/^\\d\\d\\d\\d-\\d\\d-\\d\\d$/)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid date.\")}}\ntooltip?resize_tooltip(tooltip):!1;return no_error};var needs_validate=function(el){if(el.getAttribute(\'required\')!==null){return!0}\nif(el.name===\'email\'&&el.value!==\"\"){return!0}\nreturn!1};var validate_form=function(e){var err=form_to_submit.querySelector(\'._form_error\'),no_error=!0;if(!submitted){submitted=!0;for(var i=0,len=allInputs.length;i<len;i++){var input=allInputs[i];if(needs_validate(input)){if(input.type==\'text\'){addEvent(input,\'blur\',function(){this.value=this.value.trim();validate_field(this,!0)});addEvent(input,\'input\',function(){validate_field(this,!0)})}else if(input.type==\'radio\'||input.type==\'checkbox\'){(function(el){var radios=form_to_submit.elements[el.name];for(var i=0;i<radios.length;i++){addEvent(radios[i],\'click\',function(){validate_field(el,!0)})}})(input)}else if(input.tagName==\'SELECT\'){addEvent(input,\'change\',function(){validate_field(this,!0)})}else if(input.type==\'textarea\'){addEvent(input,\'input\',function(){validate_field(this,!0)})}}}}\nremove_tooltips();for(var i=0,len=allInputs.length;i<len;i++){var elem=allInputs[i];if(needs_validate(elem)){if(elem.tagName.toLowerCase()!==\"select\"){elem.value=elem.value.trim()}\nvalidate_field(elem)?!0:no_error=!1}}\nif(!no_error&&e){e.preventDefault()}\nresize_tooltips();return no_error};addEvent(window,\'resize\',resize_tooltips);addEvent(window,\'scroll\',resize_tooltips);window._old_serialize=null;if(typeof serialize!==\'undefined\')window._old_serialize=window.serialize;_load_script(\"//d3rxaij56vjege.cloudfront.net/form-serialize/0.3/serialize.min.js\",function(){window._form_serialize=window.serialize;if(window._old_serialize)window.serialize=window._old_serialize});var form_submit=function(e){e.preventDefault();if(validate_form()){document.querySelector(\'#_form_1_submit\').disabled=!0;var serialized=_form_serialize(document.getElementById(\'_form_61BA0615B5B84_\')).replace(/%0A/g,\'\\\\n\');var err=form_to_submit.querySelector(\'._form_error\');err?err.parentNode.removeChild(err):!1;_load_script(\'https://kidlife.activehosted.com/proc.php?\'+serialized+\'&jsonp=true\')}\nreturn!1};addEvent(form_to_submit,\'submit\',form_submit)})()','6b88c63d83381449b42adccc38c4f21d',0,0,'0000-00-00 00:00:00','2022-01-06 13:13:30'),(3236,'https://kidlife.activehosted.com/f/embed.php?static=0&id=1&61D6EAE60D699&nostyles=0&preview=0','js','','window.cfields=[];window._show_thank_you=function(id,message,trackcmp_url,email){var form=document.getElementById(\'_form_\'+id+\'_\'),thank_you=form.querySelector(\'._form-thank-you\');form.querySelector(\'._form-content\').style.display=\'none\';thank_you.innerHTML=message;thank_you.style.display=\'block\';const vgoAlias=typeof visitorGlobalObjectAlias===\'undefined\'?\'vgo\':visitorGlobalObjectAlias;var visitorObject=window[vgoAlias];if(email&&typeof visitorObject!==\'undefined\'){visitorObject(\'setEmail\',email);visitorObject(\'update\')}else if(typeof(trackcmp_url)!=\'undefined\'&&trackcmp_url){_load_script(trackcmp_url)}\nif(typeof window._form_callback!==\'undefined\')window._form_callback(id)};window._show_error=function(id,message,html){var form=document.getElementById(\'_form_\'+id+\'_\'),err=document.createElement(\'div\'),button=form.querySelector(\'button\'),old_error=form.querySelector(\'._form_error\');if(old_error)old_error.parentNode.removeChild(old_error);err.innerHTML=message;err.className=\'_error-inner _form_error _no_arrow\';var wrapper=document.createElement(\'div\');wrapper.className=\'_form-inner\';wrapper.appendChild(err);button.parentNode.insertBefore(wrapper,button);document.querySelector(\'[id^=\"_form\"][id$=\"_submit\"]\').disabled=!1;if(html){var div=document.createElement(\'div\');div.className=\'_error-html\';div.innerHTML=html;err.appendChild(div)}};window._load_script=function(url,callback){var head=document.querySelector(\'head\'),script=document.createElement(\'script\'),r=!1;script.type=\'text/javascript\';script.charset=\'utf-8\';script.src=url;if(callback){script.onload=script.onreadystatechange=function(){if(!r&&(!this.readyState||this.readyState==\'complete\')){r=!0;callback()}}}\nhead.appendChild(script)};(function(){if(window.location.search.search(\"excludeform\")!==-1)return!1;var getCookie=function(name){var match=document.cookie.match(new RegExp(\'(^|; )\'+name+\'=([^;]+)\'));return match?match[2]:null}\nvar setCookie=function(name,value){var now=new Date();var time=now.getTime();var expireTime=time+1000*60*60*24*365;now.setTime(expireTime);document.cookie=name+\'=\'+value+\'; expires=\'+now+\';path=/\'}\nvar addEvent=function(element,event,func){if(element.addEventListener){element.addEventListener(event,func)}else{var oldFunc=element[\'on\'+event];element[\'on\'+event]=function(){oldFunc.apply(this,arguments);func.apply(this,arguments)}}}\nvar _removed=!1;var _form_output=\'\\<style\\>\\n #_form_61BA0615B5B84_ { font-size:14px; line-height:1.6; font-family:arial, helvetica, sans-serif; margin:0; }\\n #_form_61BA0615B5B84_ * { outline:0; }\\n ._form_hide { display:none; visibility:hidden; }\\n ._form_show { display:block; visibility:visible; }\\n #_form_61BA0615B5B84_._form-top { top:0; }\\n #_form_61BA0615B5B84_._form-bottom { bottom:0; }\\n #_form_61BA0615B5B84_._form-left { left:0; }\\n #_form_61BA0615B5B84_._form-right { right:0; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ input[type=\\\"date\\\"],#_form_61BA0615B5B84_ textarea { padding:6px; height:auto; border:#979797 1px solid; border-radius:4px; color:#000 !important; font-size:14px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ textarea { resize:none; }\\n #_form_61BA0615B5B84_ ._submit { -webkit-appearance:none; cursor:pointer; font-family:arial, sans-serif; font-size:14px; text-align:center; background:#333 !important; border:0 !important; -moz-border-radius:4px !important; -webkit-border-radius:4px !important; border-radius:4px !important; color:#fff !important; padding:10px !important; }\\n #_form_61BA0615B5B84_ ._close-icon { cursor:pointer; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/esfkyjh1u_forms-close-dark.png\\\'); background-repeat:no-repeat; background-size:14.2px 14.2px; position:absolute; display:block; top:11px; right:9px; overflow:hidden; width:16.2px; height:16.2px; }\\n #_form_61BA0615B5B84_ ._close-icon:before { position:relative; }\\n #_form_61BA0615B5B84_ ._form-body { margin-bottom:30px; }\\n #_form_61BA0615B5B84_ ._form-image-left { width:150px; float:left; }\\n #_form_61BA0615B5B84_ ._form-content-right { margin-left:164px; }\\n #_form_61BA0615B5B84_ ._form-branding { color:#fff; font-size:10px; clear:both; text-align:left; margin-top:30px; font-weight:100; }\\n #_form_61BA0615B5B84_ ._form-branding ._logo { display:block; width:130px; height:14px; margin-top:6px; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/hh9ujqgv5_aclogo_li.png\\\'); background-size:130px auto; background-repeat:no-repeat; }\\n #_form_61BA0615B5B84_ .form-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0, 0, 0, 0); border:0; }\\n #_form_61BA0615B5B84_ ._form-label,#_form_61BA0615B5B84_ ._form_element ._form-label { font-weight:bold; margin-bottom:5px; display:block; }\\n #_form_61BA0615B5B84_._dark ._form-branding { color:#333; }\\n #_form_61BA0615B5B84_._dark ._form-branding ._logo { background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/jftq2c8s_aclogo_dk.png\\\'); }\\n #_form_61BA0615B5B84_ ._form_element { position:relative; margin-bottom:10px; font-size:0; max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element * { font-size:14px; }\\n #_form_61BA0615B5B84_ ._form_element._clear { clear:both; width:100%; float:none; }\\n #_form_61BA0615B5B84_ ._form_element._clear:after { clear:left; }\\n #_form_61BA0615B5B84_ ._form_element input[type=\\\"text\\\"],#_form_61BA0615B5B84_ ._form_element input[type=\\\"date\\\"],#_form_61BA0615B5B84_ ._form_element select,#_form_61BA0615B5B84_ ._form_element textarea:not(.g-recaptcha-response) { display:block; width:100%; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-family:inherit; }\\n #_form_61BA0615B5B84_ ._field-wrapper { position:relative; }\\n #_form_61BA0615B5B84_ ._inline-style { float:left; }\\n #_form_61BA0615B5B84_ ._inline-style input[type=\\\"text\\\"] { width:150px; }\\n #_form_61BA0615B5B84_ ._inline-style:not(._clear) + ._inline-style:not(._clear) { margin-left:20px; }\\n #_form_61BA0615B5B84_ ._form_element img._form-image { max-width:100%; }\\n #_form_61BA0615B5B84_ ._form_element ._form-fieldset { border:0; padding:0.01em 0 0 0; margin:0; min-width:0; }\\n #_form_61BA0615B5B84_ ._clear-element { clear:left; }\\n #_form_61BA0615B5B84_ ._full_width { width:100%; }\\n #_form_61BA0615B5B84_ ._form_full_field { display:block; width:100%; margin-bottom:10px; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"]._has_error,#_form_61BA0615B5B84_ textarea._has_error { border:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"]._has_error { outline:#f37c7b 1px solid; }\\n #_form_61BA0615B5B84_ ._error { display:block; position:absolute; font-size:14px; z-index:10000001; }\\n #_form_61BA0615B5B84_ ._error._above { padding-bottom:4px; bottom:39px; right:0; }\\n #_form_61BA0615B5B84_ ._error._below { padding-top:4px; top:100%; right:0; }\\n #_form_61BA0615B5B84_ ._error._above ._error-arrow { bottom:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-top:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error._below ._error-arrow { top:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-bottom:5px solid #f37c7b; }\\n #_form_61BA0615B5B84_ ._error-inner { padding:8px 12px; background-color:#f37c7b; font-size:14px; font-family:arial, sans-serif; color:#fff; text-align:center; text-decoration:none; -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; }\\n #_form_61BA0615B5B84_ ._error-inner._form_error { margin-bottom:5px; text-align:left; }\\n #_form_61BA0615B5B84_ ._button-wrapper ._error-inner._form_error { position:static; }\\n #_form_61BA0615B5B84_ ._error-inner._no_arrow { margin-bottom:10px; }\\n #_form_61BA0615B5B84_ ._error-arrow { position:absolute; width:0; height:0; }\\n #_form_61BA0615B5B84_ ._error-html { margin-bottom:10px; }\\n .pika-single { z-index:10000001 !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"].datetime_date { width:69%; display:inline; }\\n #_form_61BA0615B5B84_ select.datetime_time { width:29%; display:inline; height:32px; }\\n @media all and (min-width:320px) and (max-width:667px) { ::-webkit-scrollbar { display:none; }\\n #_form_61BA0615B5B84_ { margin:0; width:100%; min-width:100%; max-width:100%; box-sizing:border-box; }\\n #_form_61BA0615B5B84_ * { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-size:1em; }\\n #_form_61BA0615B5B84_ ._form-content { margin:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-inner { display:block; min-width:100%; }\\n #_form_61BA0615B5B84_ ._form-title,#_form_61BA0615B5B84_ ._inline-style { margin-top:0; margin-right:0; margin-left:0; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:1.2em; }\\n #_form_61BA0615B5B84_ ._form_element { margin:0 0 20px; padding:0; width:100%; }\\n #_form_61BA0615B5B84_ ._form-element,#_form_61BA0615B5B84_ ._inline-style,#_form_61BA0615B5B84_ input[type=\\\"text\\\"],#_form_61BA0615B5B84_ label,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ textarea:not(.g-recaptcha-response) { float:none; display:block; width:100%; }\\n #_form_61BA0615B5B84_ ._row._checkbox-radio label { display:inline; }\\n #_form_61BA0615B5B84_ ._row,#_form_61BA0615B5B84_ p,#_form_61BA0615B5B84_ label { margin-bottom:0.7em; width:100%; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"],#_form_61BA0615B5B84_ ._row input[type=\\\"radio\\\"] { margin:0 !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._row input[type=\\\"checkbox\\\"] + span label { display:inline; }\\n #_form_61BA0615B5B84_ ._row span label { margin:0 !important; width:initial !important; vertical-align:middle !important; }\\n #_form_61BA0615B5B84_ ._form-image { max-width:100%; height:auto !important; }\\n #_form_61BA0615B5B84_ input[type=\\\"text\\\"] { padding-left:10px; padding-right:10px; font-size:16px; line-height:1.3em; -webkit-appearance:none; }\\n #_form_61BA0615B5B84_ input[type=\\\"radio\\\"],#_form_61BA0615B5B84_ input[type=\\\"checkbox\\\"] { display:inline-block; width:1.3em; height:1.3em; font-size:1em; margin:0 0.3em 0 0; vertical-align:baseline; }\\n #_form_61BA0615B5B84_ button[type=\\\"submit\\\"] { padding:20px; font-size:1.5em; }\\n #_form_61BA0615B5B84_ ._inline-style { margin:20px 0 0 !important; }\\n }\\n #_form_61BA0615B5B84_ { position:relative; text-align:left; margin:25px auto 0; padding:20px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; *zoom:1; background:transparent !important; border:0px solid #b0b0b0 !important; -moz-border-radius:0px !important; -webkit-border-radius:0px !important; border-radius:0px !important; color:#000 !important; }\\n #_form_61BA0615B5B84_._inline-form,#_form_61BA0615B5B84_._inline-form ._form-content,#_form_61BA0615B5B84_._inline-form input,#_form_61BA0615B5B84_._inline-form ._submit { font-family:\\\"IBM Plex Sans\\\", Helvetica, sans-serif, \\\'IBM Plex Sans\\\', arial, sans-serif; }\\n #_form_61BA0615B5B84_ ._form-title { font-size:22px; line-height:22px; font-weight:600; margin-bottom:0; }\\n #_form_61BA0615B5B84_:before,#_form_61BA0615B5B84_:after { content:\\\" \\\"; display:table; }\\n #_form_61BA0615B5B84_:after { clear:both; }\\n #_form_61BA0615B5B84_._inline-style { width:auto; display:inline-block; }\\n #_form_61BA0615B5B84_._inline-style input[type=\\\"text\\\"],#_form_61BA0615B5B84_._inline-style input[type=\\\"date\\\"] { padding:10px 12px; }\\n #_form_61BA0615B5B84_._inline-style button._inline-style { position:relative; top:27px; }\\n #_form_61BA0615B5B84_._inline-style p { margin:0; }\\n #_form_61BA0615B5B84_._inline-style ._button-wrapper { position:relative; margin:27px 12.5px 0 20px; }\\n #_form_61BA0615B5B84_ ._form-thank-you { position:relative; left:0; right:0; text-align:center; font-size:18px; }\\n @media all and (min-width:320px) and (max-width:667px) { #_form_61BA0615B5B84_._inline-form._inline-style ._inline-style._button-wrapper { margin-top:20px !important; margin-left:0 !important; }\\n }\\n\\n #_form_61BA0615B5B84_._form_1 { background-color:transparent !important; margin:0px !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit:hover { background-color:#d29104 !important; }\\n #_form_61BA0615B5B84_ #_form_1_submit { background-color:#faaf11 !important; border-radius:9999px !important; width:130px !important; height:50px !important; text-transform:uppercase !important; font-weight:bold; line-height:20px; margin-left:30px !important; }\\n #_form_61BA0615B5B84_ ._x87469998 input { width:350px !important; }\\n\\<\\/style\\>\\n\\<link href=\\\"https:\\/\\/fonts.googleapis.com\\/css2?family=Lato&family=Montserrat&family=Roboto&display=swap\\\" rel=\\\"stylesheet\\\"\\>\\n\\n\\n\\<div style=\\\"text-align: center;\\\"\\>\\n\\<form method=\\\"POST\\\" action=\\\"https://kidlife.activehosted.com\\/proc.php\\\" id=\\\"_form_61BA0615B5B84_\\\" class=\\\"_form _form_1 _inline-form _inline-style _dark\\\" novalidate\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"u\\\" value=\\\"61BA0615B5B84\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"1\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"s\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"c\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"m\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"sub\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"v\\\" value=\\\"2\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"or\\\" value=\\\"c97c4b767bfa312d9b47ab269c71a306\\\" \\/\\>\\n	\\<div class=\\\"_form-content\\\"\\>\\n						\\<div class=\\\"_form_element _x87469998 _inline-style \\\" \\>\\n						\\<label for=\\\"email\\\" class=\\\"_form-label\\\"\\>&nbsp;\\<\\/label\\>\\n			\\<div class=\\\"_field-wrapper\\\"\\>\\n				\\<input type=\\\"text\\\" id=\\\"email\\\" name=\\\"email\\\" placeholder=\\\"Add meg az email címed\\\" required\\/\\>\\n			\\<\\/div\\>\\n					\\<\\/div\\>\\n				\\<div class=\\\"_button-wrapper _inline-style\\\"\\>\\<button id=\\\"_form_1_submit\\\" class=\\\"_submit\\\" type=\\\"submit\\\"\\>Küldés\\<\\/button\\>\\<\\/div\\>		\\<div class=\\\"_clear-element\\\"\\>\\<\\/div\\>\\n	\\<\\/div\\>\\n	\\<div class=\\\"_form-thank-you\\\" style=\\\"display:none;\\\"\\>\\<\\/div\\>\\n	\\<\\/form\\>\\n\\<\\/div\\>\\n\';var _form_element=null,_form_elements=document.querySelectorAll(\'._form_1\');for(var fe=0;fe<_form_elements.length;fe++){_form_element=_form_elements[fe];if(_form_element.innerHTML.trim()===\'\')break;_form_element=null}\nif(!_form_element){_form_element=document.createElement(\'div\');if(!document.body){document.firstChild.appendChild(document.createElement(\'body\'))}\ndocument.body.appendChild(_form_element)}\n_form_element.innerHTML=_form_output;var form_to_submit=document.getElementById(\'_form_61BA0615B5B84_\');var allInputs=form_to_submit.querySelectorAll(\'input, select, textarea\'),tooltips=[],submitted=!1;var getUrlParam=function(name){var regexStr=\'[\\?&]\'+name+\'=([^&#]*)\';var results=new RegExp(regexStr,\'i\').exec(window.location.href);return results!=undefined?decodeURIComponent(results[1]):!1};for(var i=0;i<allInputs.length;i++){var regexStr=\"field\\\\[(\\\\d+)\\\\]\";var results=new RegExp(regexStr).exec(allInputs[i].name);if(results!=undefined){allInputs[i].dataset.name=window.cfields[results[1]]}else{allInputs[i].dataset.name=allInputs[i].name}\nvar fieldVal=getUrlParam(allInputs[i].dataset.name);if(fieldVal){if(allInputs[i].dataset.autofill===\"false\"){continue}\nif(allInputs[i].type==\"radio\"||allInputs[i].type==\"checkbox\"){if(allInputs[i].value==fieldVal){allInputs[i].checked=!0}}else{allInputs[i].value=fieldVal}}}\nvar remove_tooltips=function(){for(var i=0;i<tooltips.length;i++){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip)}\ntooltips=[]};var remove_tooltip=function(elem){for(var i=0;i<tooltips.length;i++){if(tooltips[i].elem===elem){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip);tooltips.splice(i,1);return}}};var create_tooltip=function(elem,text){var tooltip=document.createElement(\'div\'),arrow=document.createElement(\'div\'),inner=document.createElement(\'div\'),new_tooltip={};if(elem.type!=\'radio\'&&elem.type!=\'checkbox\'){tooltip.className=\'_error\';arrow.className=\'_error-arrow\';inner.className=\'_error-inner\';inner.innerHTML=text;tooltip.appendChild(arrow);tooltip.appendChild(inner);elem.parentNode.appendChild(tooltip)}else{tooltip.className=\'_error-inner _no_arrow\';tooltip.innerHTML=text;elem.parentNode.insertBefore(tooltip,elem);new_tooltip.no_arrow=!0}\nnew_tooltip.tip=tooltip;new_tooltip.elem=elem;tooltips.push(new_tooltip);return new_tooltip};var resize_tooltip=function(tooltip){var rect=tooltip.elem.getBoundingClientRect();var doc=document.documentElement,scrollPosition=rect.top-((window.pageYOffset||doc.scrollTop)-(doc.clientTop||0));if(scrollPosition<40){tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _below\'}else{tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _above\'}};var resize_tooltips=function(){if(_removed)return;for(var i=0;i<tooltips.length;i++){if(!tooltips[i].no_arrow)resize_tooltip(tooltips[i])}};var validate_field=function(elem,remove){var tooltip=null,value=elem.value,no_error=!0;remove?remove_tooltip(elem):!1;if(elem.type!=\'checkbox\')elem.className=elem.className.replace(/ ?_has_error ?/g,\'\');if(elem.getAttribute(\'required\')!==null){if(elem.type==\'radio\'||(elem.type==\'checkbox\'&&/any/.test(elem.className))){var elems=form_to_submit.elements[elem.name];if(!(elems instanceof NodeList||elems instanceof HTMLCollection)||elems.length<=1){no_error=elem.checked}else{no_error=!1;for(var i=0;i<elems.length;i++){if(elems[i].checked)no_error=!0}}\nif(!no_error){tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(elem.type==\'checkbox\'){var elems=form_to_submit.elements[elem.name],found=!1,err=[];no_error=!0;for(var i=0;i<elems.length;i++){if(elems[i].getAttribute(\'required\')===null)continue;if(!found&&elems[i]!==elem)return!0;found=!0;elems[i].className=elems[i].className.replace(/ ?_has_error ?/g,\'\');if(!elems[i].checked){no_error=!1;elems[i].className=elems[i].className+\' _has_error\';err.push(\"Checking %s is required\".replace(\"%s\",elems[i].value))}}\nif(!no_error){tooltip=create_tooltip(elem,err.join(\'<br/>\'))}}else if(elem.tagName==\'SELECT\'){var selected=!0;if(elem.multiple){selected=!1;for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected){selected=!0;break}}}else{for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected&&!elem.options[i].value){selected=!1}}}\nif(!selected){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(value===undefined||value===null||value===\'\'){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"This field is required.\")}}\nif(no_error&&elem.name==\'email\'){if(!value.match(/^[\\+_a-z0-9-\'&=]+(\\.[\\+_a-z0-9-\']+)*@[a-z0-9-]+(\\.[a-z0-9-]+)*(\\.[a-z]{2,})$/i)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid email address.\")}}\nif(no_error&&/date_field/.test(elem.className)){if(!value.match(/^\\d\\d\\d\\d-\\d\\d-\\d\\d$/)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid date.\")}}\ntooltip?resize_tooltip(tooltip):!1;return no_error};var needs_validate=function(el){if(el.getAttribute(\'required\')!==null){return!0}\nif(el.name===\'email\'&&el.value!==\"\"){return!0}\nreturn!1};var validate_form=function(e){var err=form_to_submit.querySelector(\'._form_error\'),no_error=!0;if(!submitted){submitted=!0;for(var i=0,len=allInputs.length;i<len;i++){var input=allInputs[i];if(needs_validate(input)){if(input.type==\'text\'){addEvent(input,\'blur\',function(){this.value=this.value.trim();validate_field(this,!0)});addEvent(input,\'input\',function(){validate_field(this,!0)})}else if(input.type==\'radio\'||input.type==\'checkbox\'){(function(el){var radios=form_to_submit.elements[el.name];for(var i=0;i<radios.length;i++){addEvent(radios[i],\'click\',function(){validate_field(el,!0)})}})(input)}else if(input.tagName==\'SELECT\'){addEvent(input,\'change\',function(){validate_field(this,!0)})}else if(input.type==\'textarea\'){addEvent(input,\'input\',function(){validate_field(this,!0)})}}}}\nremove_tooltips();for(var i=0,len=allInputs.length;i<len;i++){var elem=allInputs[i];if(needs_validate(elem)){if(elem.tagName.toLowerCase()!==\"select\"){elem.value=elem.value.trim()}\nvalidate_field(elem)?!0:no_error=!1}}\nif(!no_error&&e){e.preventDefault()}\nresize_tooltips();return no_error};addEvent(window,\'resize\',resize_tooltips);addEvent(window,\'scroll\',resize_tooltips);window._old_serialize=null;if(typeof serialize!==\'undefined\')window._old_serialize=window.serialize;_load_script(\"//d3rxaij56vjege.cloudfront.net/form-serialize/0.3/serialize.min.js\",function(){window._form_serialize=window.serialize;if(window._old_serialize)window.serialize=window._old_serialize});var form_submit=function(e){e.preventDefault();if(validate_form()){document.querySelector(\'#_form_1_submit\').disabled=!0;var serialized=_form_serialize(document.getElementById(\'_form_61BA0615B5B84_\')).replace(/%0A/g,\'\\\\n\');var err=form_to_submit.querySelector(\'._form_error\');err?err.parentNode.removeChild(err):!1;_load_script(\'https://kidlife.activehosted.com/proc.php?\'+serialized+\'&jsonp=true\')}\nreturn!1};addEvent(form_to_submit,\'submit\',form_submit)})()','6b88c63d83381449b42adccc38c4f21d',0,0,'0000-00-00 00:00:00','2022-01-06 13:13:29'),(3932,'https://kidlife.activehosted.com/f/embed.php?static=0&id=1&61E9436EEA2BB&nostyles=0&preview=0','js','','window.cfields=[];window._show_thank_you=function(id,message,trackcmp_url,email){var form=document.getElementById(\'_form_\'+id+\'_\'),thank_you=form.querySelector(\'._form-thank-you\');form.querySelector(\'._form-content\').style.display=\'none\';thank_you.innerHTML=message;thank_you.style.display=\'block\';const vgoAlias=typeof visitorGlobalObjectAlias===\'undefined\'?\'vgo\':visitorGlobalObjectAlias;var visitorObject=window[vgoAlias];if(email&&typeof visitorObject!==\'undefined\'){visitorObject(\'setEmail\',email);visitorObject(\'update\')}else if(typeof(trackcmp_url)!=\'undefined\'&&trackcmp_url){_load_script(trackcmp_url)}\nif(typeof window._form_callback!==\'undefined\')window._form_callback(id)};window._show_error=function(id,message,html){var form=document.getElementById(\'_form_\'+id+\'_\'),err=document.createElement(\'div\'),button=form.querySelector(\'button\'),old_error=form.querySelector(\'._form_error\');if(old_error)old_error.parentNode.removeChild(old_error);err.innerHTML=message;err.className=\'_error-inner _form_error _no_arrow\';var wrapper=document.createElement(\'div\');wrapper.className=\'_form-inner\';wrapper.appendChild(err);button.parentNode.insertBefore(wrapper,button);document.querySelector(\'[id^=\"_form\"][id$=\"_submit\"]\').disabled=!1;if(html){var div=document.createElement(\'div\');div.className=\'_error-html\';div.innerHTML=html;err.appendChild(div)}};window._load_script=function(url,callback){var head=document.querySelector(\'head\'),script=document.createElement(\'script\'),r=!1;script.type=\'text/javascript\';script.charset=\'utf-8\';script.src=url;if(callback){script.onload=script.onreadystatechange=function(){if(!r&&(!this.readyState||this.readyState==\'complete\')){r=!0;callback()}}}\nhead.appendChild(script)};(function(){if(window.location.search.search(\"excludeform\")!==-1)return!1;var getCookie=function(name){var match=document.cookie.match(new RegExp(\'(^|; )\'+name+\'=([^;]+)\'));return match?match[2]:null}\nvar setCookie=function(name,value){var now=new Date();var time=now.getTime();var expireTime=time+1000*60*60*24*365;now.setTime(expireTime);document.cookie=name+\'=\'+value+\'; expires=\'+now+\';path=/\'}\nvar addEvent=function(element,event,func){if(element.addEventListener){element.addEventListener(event,func)}else{var oldFunc=element[\'on\'+event];element[\'on\'+event]=function(){oldFunc.apply(this,arguments);func.apply(this,arguments)}}}\nvar _removed=!1;var _form_output=\'\\<style\\>\\n #_form_61E7352BE362B_ { font-size:14px; line-height:1.6; font-family:arial, helvetica, sans-serif; margin:0; }\\n #_form_61E7352BE362B_ * { outline:0; }\\n ._form_hide { display:none; visibility:hidden; }\\n ._form_show { display:block; visibility:visible; }\\n #_form_61E7352BE362B_._form-top { top:0; }\\n #_form_61E7352BE362B_._form-bottom { bottom:0; }\\n #_form_61E7352BE362B_._form-left { left:0; }\\n #_form_61E7352BE362B_._form-right { right:0; }\\n #_form_61E7352BE362B_ input[type=\\\"text\\\"],#_form_61E7352BE362B_ input[type=\\\"date\\\"],#_form_61E7352BE362B_ textarea { padding:6px; height:auto; border:#979797 1px solid; border-radius:4px; color:#000 !important; font-size:14px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }\\n #_form_61E7352BE362B_ textarea { resize:none; }\\n #_form_61E7352BE362B_ ._submit { -webkit-appearance:none; cursor:pointer; font-family:arial, sans-serif; font-size:14px; text-align:center; background:#333 !important; border:0 !important; -moz-border-radius:4px !important; -webkit-border-radius:4px !important; border-radius:4px !important; color:#fff !important; padding:10px !important; }\\n #_form_61E7352BE362B_ ._close-icon { cursor:pointer; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/esfkyjh1u_forms-close-dark.png\\\'); background-repeat:no-repeat; background-size:14.2px 14.2px; position:absolute; display:block; top:11px; right:9px; overflow:hidden; width:16.2px; height:16.2px; }\\n #_form_61E7352BE362B_ ._close-icon:before { position:relative; }\\n #_form_61E7352BE362B_ ._form-body { margin-bottom:30px; }\\n #_form_61E7352BE362B_ ._form-image-left { width:150px; float:left; }\\n #_form_61E7352BE362B_ ._form-content-right { margin-left:164px; }\\n #_form_61E7352BE362B_ ._form-branding { color:#fff; font-size:10px; clear:both; text-align:left; margin-top:30px; font-weight:100; }\\n #_form_61E7352BE362B_ ._form-branding ._logo { display:block; width:130px; height:14px; margin-top:6px; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/hh9ujqgv5_aclogo_li.png\\\'); background-size:130px auto; background-repeat:no-repeat; }\\n #_form_61E7352BE362B_ .form-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0, 0, 0, 0); border:0; }\\n #_form_61E7352BE362B_ ._form-label,#_form_61E7352BE362B_ ._form_element ._form-label { font-weight:bold; margin-bottom:5px; display:block; }\\n #_form_61E7352BE362B_._dark ._form-branding { color:#333; }\\n #_form_61E7352BE362B_._dark ._form-branding ._logo { background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/jftq2c8s_aclogo_dk.png\\\'); }\\n #_form_61E7352BE362B_ ._form_element { position:relative; margin-bottom:10px; font-size:0; max-width:100%; }\\n #_form_61E7352BE362B_ ._form_element * { font-size:14px; }\\n #_form_61E7352BE362B_ ._form_element._clear { clear:both; width:100%; float:none; }\\n #_form_61E7352BE362B_ ._form_element._clear:after { clear:left; }\\n #_form_61E7352BE362B_ ._form_element input[type=\\\"text\\\"],#_form_61E7352BE362B_ ._form_element input[type=\\\"date\\\"],#_form_61E7352BE362B_ ._form_element select,#_form_61E7352BE362B_ ._form_element textarea:not(.g-recaptcha-response) { display:block; width:100%; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-family:inherit; }\\n #_form_61E7352BE362B_ ._field-wrapper { position:relative; }\\n #_form_61E7352BE362B_ ._inline-style { float:left; }\\n #_form_61E7352BE362B_ ._inline-style input[type=\\\"text\\\"] { width:150px; }\\n #_form_61E7352BE362B_ ._inline-style:not(._clear) + ._inline-style:not(._clear) { margin-left:20px; }\\n #_form_61E7352BE362B_ ._form_element img._form-image { max-width:100%; }\\n #_form_61E7352BE362B_ ._form_element ._form-fieldset { border:0; padding:0.01em 0 0 0; margin:0; min-width:0; }\\n #_form_61E7352BE362B_ ._clear-element { clear:left; }\\n #_form_61E7352BE362B_ ._full_width { width:100%; }\\n #_form_61E7352BE362B_ ._form_full_field { display:block; width:100%; margin-bottom:10px; }\\n #_form_61E7352BE362B_ input[type=\\\"text\\\"]._has_error,#_form_61E7352BE362B_ textarea._has_error { border:#f37c7b 1px solid; }\\n #_form_61E7352BE362B_ input[type=\\\"checkbox\\\"]._has_error { outline:#f37c7b 1px solid; }\\n #_form_61E7352BE362B_ ._error { display:block; position:absolute; font-size:14px; z-index:10000001; }\\n #_form_61E7352BE362B_ ._error._above { padding-bottom:4px; bottom:39px; right:0; }\\n #_form_61E7352BE362B_ ._error._below { padding-top:4px; top:100%; right:0; }\\n #_form_61E7352BE362B_ ._error._above ._error-arrow { bottom:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-top:5px solid #f37c7b; }\\n #_form_61E7352BE362B_ ._error._below ._error-arrow { top:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-bottom:5px solid #f37c7b; }\\n #_form_61E7352BE362B_ ._error-inner { padding:8px 12px; background-color:#f37c7b; font-size:14px; font-family:arial, sans-serif; color:#fff; text-align:center; text-decoration:none; -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; }\\n #_form_61E7352BE362B_ ._error-inner._form_error { margin-bottom:5px; text-align:left; }\\n #_form_61E7352BE362B_ ._button-wrapper ._error-inner._form_error { position:static; }\\n #_form_61E7352BE362B_ ._error-inner._no_arrow { margin-bottom:10px; }\\n #_form_61E7352BE362B_ ._error-arrow { position:absolute; width:0; height:0; }\\n #_form_61E7352BE362B_ ._error-html { margin-bottom:10px; }\\n .pika-single { z-index:10000001 !important; }\\n #_form_61E7352BE362B_ input[type=\\\"text\\\"].datetime_date { width:69%; display:inline; }\\n #_form_61E7352BE362B_ select.datetime_time { width:29%; display:inline; height:32px; }\\n @media all and (min-width:320px) and (max-width:667px) { ::-webkit-scrollbar { display:none; }\\n #_form_61E7352BE362B_ { margin:0; width:100%; min-width:100%; max-width:100%; box-sizing:border-box; }\\n #_form_61E7352BE362B_ * { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-size:1em; }\\n #_form_61E7352BE362B_ ._form-content { margin:0; width:100%; }\\n #_form_61E7352BE362B_ ._form-inner { display:block; min-width:100%; }\\n #_form_61E7352BE362B_ ._form-title,#_form_61E7352BE362B_ ._inline-style { margin-top:0; margin-right:0; margin-left:0; }\\n #_form_61E7352BE362B_ ._form-title { font-size:1.2em; }\\n #_form_61E7352BE362B_ ._form_element { margin:0 0 20px; padding:0; width:100%; }\\n #_form_61E7352BE362B_ ._form-element,#_form_61E7352BE362B_ ._inline-style,#_form_61E7352BE362B_ input[type=\\\"text\\\"],#_form_61E7352BE362B_ label,#_form_61E7352BE362B_ p,#_form_61E7352BE362B_ textarea:not(.g-recaptcha-response) { float:none; display:block; width:100%; }\\n #_form_61E7352BE362B_ ._row._checkbox-radio label { display:inline; }\\n #_form_61E7352BE362B_ ._row,#_form_61E7352BE362B_ p,#_form_61E7352BE362B_ label { margin-bottom:0.7em; width:100%; }\\n #_form_61E7352BE362B_ ._row input[type=\\\"checkbox\\\"],#_form_61E7352BE362B_ ._row input[type=\\\"radio\\\"] { margin:0 !important; vertical-align:middle !important; }\\n #_form_61E7352BE362B_ ._row input[type=\\\"checkbox\\\"] + span label { display:inline; }\\n #_form_61E7352BE362B_ ._row span label { margin:0 !important; width:initial !important; vertical-align:middle !important; }\\n #_form_61E7352BE362B_ ._form-image { max-width:100%; height:auto !important; }\\n #_form_61E7352BE362B_ input[type=\\\"text\\\"] { padding-left:10px; padding-right:10px; font-size:16px; line-height:1.3em; -webkit-appearance:none; }\\n #_form_61E7352BE362B_ input[type=\\\"radio\\\"],#_form_61E7352BE362B_ input[type=\\\"checkbox\\\"] { display:inline-block; width:1.3em; height:1.3em; font-size:1em; margin:0 0.3em 0 0; vertical-align:baseline; }\\n #_form_61E7352BE362B_ button[type=\\\"submit\\\"] { padding:20px; font-size:1.5em; }\\n #_form_61E7352BE362B_ ._inline-style { margin:20px 0 0 !important; }\\n }\\n #_form_61E7352BE362B_ { position:relative; text-align:left; margin:25px auto 0; padding:20px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; *zoom:1; background:transparent !important; border:0px solid #b0b0b0 !important; -moz-border-radius:0px !important; -webkit-border-radius:0px !important; border-radius:0px !important; color:#000 !important; }\\n #_form_61E7352BE362B_._inline-form,#_form_61E7352BE362B_._inline-form ._form-content,#_form_61E7352BE362B_._inline-form input,#_form_61E7352BE362B_._inline-form ._submit { font-family:\\\"IBM Plex Sans\\\", Helvetica, sans-serif, \\\'IBM Plex Sans\\\', arial, sans-serif; }\\n #_form_61E7352BE362B_ ._form-title { font-size:22px; line-height:22px; font-weight:600; margin-bottom:0; }\\n #_form_61E7352BE362B_:before,#_form_61E7352BE362B_:after { content:\\\" \\\"; display:table; }\\n #_form_61E7352BE362B_:after { clear:both; }\\n #_form_61E7352BE362B_._inline-style { width:auto; display:inline-block; }\\n #_form_61E7352BE362B_._inline-style input[type=\\\"text\\\"],#_form_61E7352BE362B_._inline-style input[type=\\\"date\\\"] { padding:10px 12px; }\\n #_form_61E7352BE362B_._inline-style button._inline-style { position:relative; top:27px; }\\n #_form_61E7352BE362B_._inline-style p { margin:0; }\\n #_form_61E7352BE362B_._inline-style ._button-wrapper { position:relative; margin:27px 12.5px 0 20px; }\\n #_form_61E7352BE362B_ ._form-thank-you { position:relative; left:0; right:0; text-align:center; font-size:18px; }\\n @media all and (min-width:320px) and (max-width:667px) { #_form_61E7352BE362B_._inline-form._inline-style ._inline-style._button-wrapper { margin-top:20px !important; margin-left:0 !important; }\\n }\\n\\n #_form_61E7352BE362B_._form_1 { background-color:transparent !important; margin:0px !important; }\\n #_form_61E7352BE362B_ #_form_1_submit:hover { background-color:#d29104 !important; }\\n #_form_61E7352BE362B_ #_form_1_submit { background-color:#faaf11 !important; border-radius:9999px !important; width:130px !important; height:50px !important; text-transform:uppercase !important; font-weight:bold; line-height:20px; margin-left:30px !important; }\\n #_form_61E7352BE362B_ ._x87469998 input { width:350px !important; }\\n\\<\\/style\\>\\n\\<link href=\\\"https:\\/\\/fonts.googleapis.com\\/css2?family=Lato&family=Montserrat&family=Roboto&display=swap\\\" rel=\\\"stylesheet\\\"\\>\\n\\n\\n\\<div style=\\\"text-align: center;\\\"\\>\\n\\<form method=\\\"POST\\\" action=\\\"https://kidlife.activehosted.com\\/proc.php\\\" id=\\\"_form_61E7352BE362B_\\\" class=\\\"_form _form_1 _inline-form _inline-style _dark\\\" novalidate\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"u\\\" value=\\\"61E7352BE362B\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"1\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"s\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"c\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"m\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"sub\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"v\\\" value=\\\"2\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"or\\\" value=\\\"9eee1e10d3c48af0833b6c0b33fc9e6a\\\" \\/\\>\\n	\\<div class=\\\"_form-content\\\"\\>\\n						\\<div class=\\\"_form_element _x87469998 _inline-style \\\" \\>\\n						\\<label for=\\\"email\\\" class=\\\"_form-label\\\"\\>&nbsp;\\<\\/label\\>\\n			\\<div class=\\\"_field-wrapper\\\"\\>\\n				\\<input type=\\\"text\\\" id=\\\"email\\\" name=\\\"email\\\" placeholder=\\\"Add meg az email címed\\\" required\\/\\>\\n			\\<\\/div\\>\\n					\\<\\/div\\>\\n				\\<div class=\\\"_button-wrapper _inline-style\\\"\\>\\<button id=\\\"_form_1_submit\\\" class=\\\"_submit\\\" type=\\\"submit\\\"\\>Küldés\\<\\/button\\>\\<\\/div\\>		\\<div class=\\\"_clear-element\\\"\\>\\<\\/div\\>\\n	\\<\\/div\\>\\n	\\<div class=\\\"_form-thank-you\\\" style=\\\"display:none;\\\"\\>\\<\\/div\\>\\n	\\<\\/form\\>\\n\\<\\/div\\>\\n\';var _form_element=null,_form_elements=document.querySelectorAll(\'._form_1\');for(var fe=0;fe<_form_elements.length;fe++){_form_element=_form_elements[fe];if(_form_element.innerHTML.trim()===\'\')break;_form_element=null}\nif(!_form_element){_form_element=document.createElement(\'div\');if(!document.body){document.firstChild.appendChild(document.createElement(\'body\'))}\ndocument.body.appendChild(_form_element)}\n_form_element.innerHTML=_form_output;var form_to_submit=document.getElementById(\'_form_61E7352BE362B_\');var allInputs=form_to_submit.querySelectorAll(\'input, select, textarea\'),tooltips=[],submitted=!1;var getUrlParam=function(name){var regexStr=\'[\\?&]\'+name+\'=([^&#]*)\';var results=new RegExp(regexStr,\'i\').exec(window.location.href);return results!=undefined?decodeURIComponent(results[1]):!1};for(var i=0;i<allInputs.length;i++){var regexStr=\"field\\\\[(\\\\d+)\\\\]\";var results=new RegExp(regexStr).exec(allInputs[i].name);if(results!=undefined){allInputs[i].dataset.name=window.cfields[results[1]]}else{allInputs[i].dataset.name=allInputs[i].name}\nvar fieldVal=getUrlParam(allInputs[i].dataset.name);if(fieldVal){if(allInputs[i].dataset.autofill===\"false\"){continue}\nif(allInputs[i].type==\"radio\"||allInputs[i].type==\"checkbox\"){if(allInputs[i].value==fieldVal){allInputs[i].checked=!0}}else{allInputs[i].value=fieldVal}}}\nvar remove_tooltips=function(){for(var i=0;i<tooltips.length;i++){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip)}\ntooltips=[]};var remove_tooltip=function(elem){for(var i=0;i<tooltips.length;i++){if(tooltips[i].elem===elem){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip);tooltips.splice(i,1);return}}};var create_tooltip=function(elem,text){var tooltip=document.createElement(\'div\'),arrow=document.createElement(\'div\'),inner=document.createElement(\'div\'),new_tooltip={};if(elem.type!=\'radio\'&&elem.type!=\'checkbox\'){tooltip.className=\'_error\';arrow.className=\'_error-arrow\';inner.className=\'_error-inner\';inner.innerHTML=text;tooltip.appendChild(arrow);tooltip.appendChild(inner);elem.parentNode.appendChild(tooltip)}else{tooltip.className=\'_error-inner _no_arrow\';tooltip.innerHTML=text;elem.parentNode.insertBefore(tooltip,elem);new_tooltip.no_arrow=!0}\nnew_tooltip.tip=tooltip;new_tooltip.elem=elem;tooltips.push(new_tooltip);return new_tooltip};var resize_tooltip=function(tooltip){var rect=tooltip.elem.getBoundingClientRect();var doc=document.documentElement,scrollPosition=rect.top-((window.pageYOffset||doc.scrollTop)-(doc.clientTop||0));if(scrollPosition<40){tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _below\'}else{tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _above\'}};var resize_tooltips=function(){if(_removed)return;for(var i=0;i<tooltips.length;i++){if(!tooltips[i].no_arrow)resize_tooltip(tooltips[i])}};var validate_field=function(elem,remove){var tooltip=null,value=elem.value,no_error=!0;remove?remove_tooltip(elem):!1;if(elem.type!=\'checkbox\')elem.className=elem.className.replace(/ ?_has_error ?/g,\'\');if(elem.getAttribute(\'required\')!==null){if(elem.type==\'radio\'||(elem.type==\'checkbox\'&&/any/.test(elem.className))){var elems=form_to_submit.elements[elem.name];if(!(elems instanceof NodeList||elems instanceof HTMLCollection)||elems.length<=1){no_error=elem.checked}else{no_error=!1;for(var i=0;i<elems.length;i++){if(elems[i].checked)no_error=!0}}\nif(!no_error){tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(elem.type==\'checkbox\'){var elems=form_to_submit.elements[elem.name],found=!1,err=[];no_error=!0;for(var i=0;i<elems.length;i++){if(elems[i].getAttribute(\'required\')===null)continue;if(!found&&elems[i]!==elem)return!0;found=!0;elems[i].className=elems[i].className.replace(/ ?_has_error ?/g,\'\');if(!elems[i].checked){no_error=!1;elems[i].className=elems[i].className+\' _has_error\';err.push(\"Checking %s is required\".replace(\"%s\",elems[i].value))}}\nif(!no_error){tooltip=create_tooltip(elem,err.join(\'<br/>\'))}}else if(elem.tagName==\'SELECT\'){var selected=!0;if(elem.multiple){selected=!1;for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected){selected=!0;break}}}else{for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected&&!elem.options[i].value){selected=!1}}}\nif(!selected){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(value===undefined||value===null||value===\'\'){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"This field is required.\")}}\nif(no_error&&elem.name==\'email\'){if(!value.match(/^[\\+_a-z0-9-\'&=]+(\\.[\\+_a-z0-9-\']+)*@[a-z0-9-]+(\\.[a-z0-9-]+)*(\\.[a-z]{2,})$/i)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid email address.\")}}\nif(no_error&&/date_field/.test(elem.className)){if(!value.match(/^\\d\\d\\d\\d-\\d\\d-\\d\\d$/)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid date.\")}}\ntooltip?resize_tooltip(tooltip):!1;return no_error};var needs_validate=function(el){if(el.getAttribute(\'required\')!==null){return!0}\nif(el.name===\'email\'&&el.value!==\"\"){return!0}\nreturn!1};var validate_form=function(e){var err=form_to_submit.querySelector(\'._form_error\'),no_error=!0;if(!submitted){submitted=!0;for(var i=0,len=allInputs.length;i<len;i++){var input=allInputs[i];if(needs_validate(input)){if(input.type==\'text\'){addEvent(input,\'blur\',function(){this.value=this.value.trim();validate_field(this,!0)});addEvent(input,\'input\',function(){validate_field(this,!0)})}else if(input.type==\'radio\'||input.type==\'checkbox\'){(function(el){var radios=form_to_submit.elements[el.name];for(var i=0;i<radios.length;i++){addEvent(radios[i],\'click\',function(){validate_field(el,!0)})}})(input)}else if(input.tagName==\'SELECT\'){addEvent(input,\'change\',function(){validate_field(this,!0)})}else if(input.type==\'textarea\'){addEvent(input,\'input\',function(){validate_field(this,!0)})}}}}\nremove_tooltips();for(var i=0,len=allInputs.length;i<len;i++){var elem=allInputs[i];if(needs_validate(elem)){if(elem.tagName.toLowerCase()!==\"select\"){elem.value=elem.value.trim()}\nvalidate_field(elem)?!0:no_error=!1}}\nif(!no_error&&e){e.preventDefault()}\nresize_tooltips();return no_error};addEvent(window,\'resize\',resize_tooltips);addEvent(window,\'scroll\',resize_tooltips);window._old_serialize=null;if(typeof serialize!==\'undefined\')window._old_serialize=window.serialize;_load_script(\"//d3rxaij56vjege.cloudfront.net/form-serialize/0.3/serialize.min.js\",function(){window._form_serialize=window.serialize;if(window._old_serialize)window.serialize=window._old_serialize});var form_submit=function(e){e.preventDefault();if(validate_form()){document.querySelector(\'#_form_1_submit\').disabled=!0;var serialized=_form_serialize(document.getElementById(\'_form_61E7352BE362B_\')).replace(/%0A/g,\'\\\\n\');var err=form_to_submit.querySelector(\'._form_error\');err?err.parentNode.removeChild(err):!1;_load_script(\'https://kidlife.activehosted.com/proc.php?\'+serialized+\'&jsonp=true\')}\nreturn!1};addEvent(form_to_submit,\'submit\',form_submit)})()','ea5c4dbeae2ccac64043f449c3a803fe',0,0,'0000-00-00 00:00:00','2022-01-20 11:11:59'),(3935,'https://kidlife.activehosted.com/f/embed.php?static=0&id=1&61E9437458DBB&nostyles=0&preview=0','js','','window.cfields=[];window._show_thank_you=function(id,message,trackcmp_url,email){var form=document.getElementById(\'_form_\'+id+\'_\'),thank_you=form.querySelector(\'._form-thank-you\');form.querySelector(\'._form-content\').style.display=\'none\';thank_you.innerHTML=message;thank_you.style.display=\'block\';const vgoAlias=typeof visitorGlobalObjectAlias===\'undefined\'?\'vgo\':visitorGlobalObjectAlias;var visitorObject=window[vgoAlias];if(email&&typeof visitorObject!==\'undefined\'){visitorObject(\'setEmail\',email);visitorObject(\'update\')}else if(typeof(trackcmp_url)!=\'undefined\'&&trackcmp_url){_load_script(trackcmp_url)}\nif(typeof window._form_callback!==\'undefined\')window._form_callback(id)};window._show_error=function(id,message,html){var form=document.getElementById(\'_form_\'+id+\'_\'),err=document.createElement(\'div\'),button=form.querySelector(\'button\'),old_error=form.querySelector(\'._form_error\');if(old_error)old_error.parentNode.removeChild(old_error);err.innerHTML=message;err.className=\'_error-inner _form_error _no_arrow\';var wrapper=document.createElement(\'div\');wrapper.className=\'_form-inner\';wrapper.appendChild(err);button.parentNode.insertBefore(wrapper,button);document.querySelector(\'[id^=\"_form\"][id$=\"_submit\"]\').disabled=!1;if(html){var div=document.createElement(\'div\');div.className=\'_error-html\';div.innerHTML=html;err.appendChild(div)}};window._load_script=function(url,callback){var head=document.querySelector(\'head\'),script=document.createElement(\'script\'),r=!1;script.type=\'text/javascript\';script.charset=\'utf-8\';script.src=url;if(callback){script.onload=script.onreadystatechange=function(){if(!r&&(!this.readyState||this.readyState==\'complete\')){r=!0;callback()}}}\nhead.appendChild(script)};(function(){if(window.location.search.search(\"excludeform\")!==-1)return!1;var getCookie=function(name){var match=document.cookie.match(new RegExp(\'(^|; )\'+name+\'=([^;]+)\'));return match?match[2]:null}\nvar setCookie=function(name,value){var now=new Date();var time=now.getTime();var expireTime=time+1000*60*60*24*365;now.setTime(expireTime);document.cookie=name+\'=\'+value+\'; expires=\'+now+\';path=/\'}\nvar addEvent=function(element,event,func){if(element.addEventListener){element.addEventListener(event,func)}else{var oldFunc=element[\'on\'+event];element[\'on\'+event]=function(){oldFunc.apply(this,arguments);func.apply(this,arguments)}}}\nvar _removed=!1;var _form_output=\'\\<style\\>\\n #_form_61E7352BE362B_ { font-size:14px; line-height:1.6; font-family:arial, helvetica, sans-serif; margin:0; }\\n #_form_61E7352BE362B_ * { outline:0; }\\n ._form_hide { display:none; visibility:hidden; }\\n ._form_show { display:block; visibility:visible; }\\n #_form_61E7352BE362B_._form-top { top:0; }\\n #_form_61E7352BE362B_._form-bottom { bottom:0; }\\n #_form_61E7352BE362B_._form-left { left:0; }\\n #_form_61E7352BE362B_._form-right { right:0; }\\n #_form_61E7352BE362B_ input[type=\\\"text\\\"],#_form_61E7352BE362B_ input[type=\\\"date\\\"],#_form_61E7352BE362B_ textarea { padding:6px; height:auto; border:#979797 1px solid; border-radius:4px; color:#000 !important; font-size:14px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; }\\n #_form_61E7352BE362B_ textarea { resize:none; }\\n #_form_61E7352BE362B_ ._submit { -webkit-appearance:none; cursor:pointer; font-family:arial, sans-serif; font-size:14px; text-align:center; background:#333 !important; border:0 !important; -moz-border-radius:4px !important; -webkit-border-radius:4px !important; border-radius:4px !important; color:#fff !important; padding:10px !important; }\\n #_form_61E7352BE362B_ ._close-icon { cursor:pointer; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/esfkyjh1u_forms-close-dark.png\\\'); background-repeat:no-repeat; background-size:14.2px 14.2px; position:absolute; display:block; top:11px; right:9px; overflow:hidden; width:16.2px; height:16.2px; }\\n #_form_61E7352BE362B_ ._close-icon:before { position:relative; }\\n #_form_61E7352BE362B_ ._form-body { margin-bottom:30px; }\\n #_form_61E7352BE362B_ ._form-image-left { width:150px; float:left; }\\n #_form_61E7352BE362B_ ._form-content-right { margin-left:164px; }\\n #_form_61E7352BE362B_ ._form-branding { color:#fff; font-size:10px; clear:both; text-align:left; margin-top:30px; font-weight:100; }\\n #_form_61E7352BE362B_ ._form-branding ._logo { display:block; width:130px; height:14px; margin-top:6px; background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/hh9ujqgv5_aclogo_li.png\\\'); background-size:130px auto; background-repeat:no-repeat; }\\n #_form_61E7352BE362B_ .form-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0, 0, 0, 0); border:0; }\\n #_form_61E7352BE362B_ ._form-label,#_form_61E7352BE362B_ ._form_element ._form-label { font-weight:bold; margin-bottom:5px; display:block; }\\n #_form_61E7352BE362B_._dark ._form-branding { color:#333; }\\n #_form_61E7352BE362B_._dark ._form-branding ._logo { background-image:url(\\\'https:\\/\\/d226aj4ao1t61q.cloudfront.net\\/jftq2c8s_aclogo_dk.png\\\'); }\\n #_form_61E7352BE362B_ ._form_element { position:relative; margin-bottom:10px; font-size:0; max-width:100%; }\\n #_form_61E7352BE362B_ ._form_element * { font-size:14px; }\\n #_form_61E7352BE362B_ ._form_element._clear { clear:both; width:100%; float:none; }\\n #_form_61E7352BE362B_ ._form_element._clear:after { clear:left; }\\n #_form_61E7352BE362B_ ._form_element input[type=\\\"text\\\"],#_form_61E7352BE362B_ ._form_element input[type=\\\"date\\\"],#_form_61E7352BE362B_ ._form_element select,#_form_61E7352BE362B_ ._form_element textarea:not(.g-recaptcha-response) { display:block; width:100%; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-family:inherit; }\\n #_form_61E7352BE362B_ ._field-wrapper { position:relative; }\\n #_form_61E7352BE362B_ ._inline-style { float:left; }\\n #_form_61E7352BE362B_ ._inline-style input[type=\\\"text\\\"] { width:150px; }\\n #_form_61E7352BE362B_ ._inline-style:not(._clear) + ._inline-style:not(._clear) { margin-left:20px; }\\n #_form_61E7352BE362B_ ._form_element img._form-image { max-width:100%; }\\n #_form_61E7352BE362B_ ._form_element ._form-fieldset { border:0; padding:0.01em 0 0 0; margin:0; min-width:0; }\\n #_form_61E7352BE362B_ ._clear-element { clear:left; }\\n #_form_61E7352BE362B_ ._full_width { width:100%; }\\n #_form_61E7352BE362B_ ._form_full_field { display:block; width:100%; margin-bottom:10px; }\\n #_form_61E7352BE362B_ input[type=\\\"text\\\"]._has_error,#_form_61E7352BE362B_ textarea._has_error { border:#f37c7b 1px solid; }\\n #_form_61E7352BE362B_ input[type=\\\"checkbox\\\"]._has_error { outline:#f37c7b 1px solid; }\\n #_form_61E7352BE362B_ ._error { display:block; position:absolute; font-size:14px; z-index:10000001; }\\n #_form_61E7352BE362B_ ._error._above { padding-bottom:4px; bottom:39px; right:0; }\\n #_form_61E7352BE362B_ ._error._below { padding-top:4px; top:100%; right:0; }\\n #_form_61E7352BE362B_ ._error._above ._error-arrow { bottom:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-top:5px solid #f37c7b; }\\n #_form_61E7352BE362B_ ._error._below ._error-arrow { top:0; right:15px; border-left:5px solid transparent; border-right:5px solid transparent; border-bottom:5px solid #f37c7b; }\\n #_form_61E7352BE362B_ ._error-inner { padding:8px 12px; background-color:#f37c7b; font-size:14px; font-family:arial, sans-serif; color:#fff; text-align:center; text-decoration:none; -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; }\\n #_form_61E7352BE362B_ ._error-inner._form_error { margin-bottom:5px; text-align:left; }\\n #_form_61E7352BE362B_ ._button-wrapper ._error-inner._form_error { position:static; }\\n #_form_61E7352BE362B_ ._error-inner._no_arrow { margin-bottom:10px; }\\n #_form_61E7352BE362B_ ._error-arrow { position:absolute; width:0; height:0; }\\n #_form_61E7352BE362B_ ._error-html { margin-bottom:10px; }\\n .pika-single { z-index:10000001 !important; }\\n #_form_61E7352BE362B_ input[type=\\\"text\\\"].datetime_date { width:69%; display:inline; }\\n #_form_61E7352BE362B_ select.datetime_time { width:29%; display:inline; height:32px; }\\n @media all and (min-width:320px) and (max-width:667px) { ::-webkit-scrollbar { display:none; }\\n #_form_61E7352BE362B_ { margin:0; width:100%; min-width:100%; max-width:100%; box-sizing:border-box; }\\n #_form_61E7352BE362B_ * { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; font-size:1em; }\\n #_form_61E7352BE362B_ ._form-content { margin:0; width:100%; }\\n #_form_61E7352BE362B_ ._form-inner { display:block; min-width:100%; }\\n #_form_61E7352BE362B_ ._form-title,#_form_61E7352BE362B_ ._inline-style { margin-top:0; margin-right:0; margin-left:0; }\\n #_form_61E7352BE362B_ ._form-title { font-size:1.2em; }\\n #_form_61E7352BE362B_ ._form_element { margin:0 0 20px; padding:0; width:100%; }\\n #_form_61E7352BE362B_ ._form-element,#_form_61E7352BE362B_ ._inline-style,#_form_61E7352BE362B_ input[type=\\\"text\\\"],#_form_61E7352BE362B_ label,#_form_61E7352BE362B_ p,#_form_61E7352BE362B_ textarea:not(.g-recaptcha-response) { float:none; display:block; width:100%; }\\n #_form_61E7352BE362B_ ._row._checkbox-radio label { display:inline; }\\n #_form_61E7352BE362B_ ._row,#_form_61E7352BE362B_ p,#_form_61E7352BE362B_ label { margin-bottom:0.7em; width:100%; }\\n #_form_61E7352BE362B_ ._row input[type=\\\"checkbox\\\"],#_form_61E7352BE362B_ ._row input[type=\\\"radio\\\"] { margin:0 !important; vertical-align:middle !important; }\\n #_form_61E7352BE362B_ ._row input[type=\\\"checkbox\\\"] + span label { display:inline; }\\n #_form_61E7352BE362B_ ._row span label { margin:0 !important; width:initial !important; vertical-align:middle !important; }\\n #_form_61E7352BE362B_ ._form-image { max-width:100%; height:auto !important; }\\n #_form_61E7352BE362B_ input[type=\\\"text\\\"] { padding-left:10px; padding-right:10px; font-size:16px; line-height:1.3em; -webkit-appearance:none; }\\n #_form_61E7352BE362B_ input[type=\\\"radio\\\"],#_form_61E7352BE362B_ input[type=\\\"checkbox\\\"] { display:inline-block; width:1.3em; height:1.3em; font-size:1em; margin:0 0.3em 0 0; vertical-align:baseline; }\\n #_form_61E7352BE362B_ button[type=\\\"submit\\\"] { padding:20px; font-size:1.5em; }\\n #_form_61E7352BE362B_ ._inline-style { margin:20px 0 0 !important; }\\n }\\n #_form_61E7352BE362B_ { position:relative; text-align:left; margin:25px auto 0; padding:20px; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box; *zoom:1; background:transparent !important; border:0px solid #b0b0b0 !important; -moz-border-radius:0px !important; -webkit-border-radius:0px !important; border-radius:0px !important; color:#000 !important; }\\n #_form_61E7352BE362B_._inline-form,#_form_61E7352BE362B_._inline-form ._form-content,#_form_61E7352BE362B_._inline-form input,#_form_61E7352BE362B_._inline-form ._submit { font-family:\\\"IBM Plex Sans\\\", Helvetica, sans-serif, \\\'IBM Plex Sans\\\', arial, sans-serif; }\\n #_form_61E7352BE362B_ ._form-title { font-size:22px; line-height:22px; font-weight:600; margin-bottom:0; }\\n #_form_61E7352BE362B_:before,#_form_61E7352BE362B_:after { content:\\\" \\\"; display:table; }\\n #_form_61E7352BE362B_:after { clear:both; }\\n #_form_61E7352BE362B_._inline-style { width:auto; display:inline-block; }\\n #_form_61E7352BE362B_._inline-style input[type=\\\"text\\\"],#_form_61E7352BE362B_._inline-style input[type=\\\"date\\\"] { padding:10px 12px; }\\n #_form_61E7352BE362B_._inline-style button._inline-style { position:relative; top:27px; }\\n #_form_61E7352BE362B_._inline-style p { margin:0; }\\n #_form_61E7352BE362B_._inline-style ._button-wrapper { position:relative; margin:27px 12.5px 0 20px; }\\n #_form_61E7352BE362B_ ._form-thank-you { position:relative; left:0; right:0; text-align:center; font-size:18px; }\\n @media all and (min-width:320px) and (max-width:667px) { #_form_61E7352BE362B_._inline-form._inline-style ._inline-style._button-wrapper { margin-top:20px !important; margin-left:0 !important; }\\n }\\n\\n #_form_61E7352BE362B_._form_1 { background-color:transparent !important; margin:0px !important; }\\n #_form_61E7352BE362B_ #_form_1_submit:hover { background-color:#d29104 !important; }\\n #_form_61E7352BE362B_ #_form_1_submit { background-color:#faaf11 !important; border-radius:9999px !important; width:130px !important; height:50px !important; text-transform:uppercase !important; font-weight:bold; line-height:20px; margin-left:30px !important; }\\n #_form_61E7352BE362B_ ._x87469998 input { width:350px !important; }\\n\\<\\/style\\>\\n\\<link href=\\\"https:\\/\\/fonts.googleapis.com\\/css2?family=Lato&family=Montserrat&family=Roboto&display=swap\\\" rel=\\\"stylesheet\\\"\\>\\n\\n\\n\\<div style=\\\"text-align: center;\\\"\\>\\n\\<form method=\\\"POST\\\" action=\\\"https://kidlife.activehosted.com\\/proc.php\\\" id=\\\"_form_61E7352BE362B_\\\" class=\\\"_form _form_1 _inline-form _inline-style _dark\\\" novalidate\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"u\\\" value=\\\"61E7352BE362B\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"f\\\" value=\\\"1\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"s\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"c\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"m\\\" value=\\\"0\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"act\\\" value=\\\"sub\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"v\\\" value=\\\"2\\\" \\/\\>\\n	\\<input type=\\\"hidden\\\" name=\\\"or\\\" value=\\\"9eee1e10d3c48af0833b6c0b33fc9e6a\\\" \\/\\>\\n	\\<div class=\\\"_form-content\\\"\\>\\n						\\<div class=\\\"_form_element _x87469998 _inline-style \\\" \\>\\n						\\<label for=\\\"email\\\" class=\\\"_form-label\\\"\\>&nbsp;\\<\\/label\\>\\n			\\<div class=\\\"_field-wrapper\\\"\\>\\n				\\<input type=\\\"text\\\" id=\\\"email\\\" name=\\\"email\\\" placeholder=\\\"Add meg az email címed\\\" required\\/\\>\\n			\\<\\/div\\>\\n					\\<\\/div\\>\\n				\\<div class=\\\"_button-wrapper _inline-style\\\"\\>\\<button id=\\\"_form_1_submit\\\" class=\\\"_submit\\\" type=\\\"submit\\\"\\>Küldés\\<\\/button\\>\\<\\/div\\>		\\<div class=\\\"_clear-element\\\"\\>\\<\\/div\\>\\n	\\<\\/div\\>\\n	\\<div class=\\\"_form-thank-you\\\" style=\\\"display:none;\\\"\\>\\<\\/div\\>\\n	\\<\\/form\\>\\n\\<\\/div\\>\\n\';var _form_element=null,_form_elements=document.querySelectorAll(\'._form_1\');for(var fe=0;fe<_form_elements.length;fe++){_form_element=_form_elements[fe];if(_form_element.innerHTML.trim()===\'\')break;_form_element=null}\nif(!_form_element){_form_element=document.createElement(\'div\');if(!document.body){document.firstChild.appendChild(document.createElement(\'body\'))}\ndocument.body.appendChild(_form_element)}\n_form_element.innerHTML=_form_output;var form_to_submit=document.getElementById(\'_form_61E7352BE362B_\');var allInputs=form_to_submit.querySelectorAll(\'input, select, textarea\'),tooltips=[],submitted=!1;var getUrlParam=function(name){var regexStr=\'[\\?&]\'+name+\'=([^&#]*)\';var results=new RegExp(regexStr,\'i\').exec(window.location.href);return results!=undefined?decodeURIComponent(results[1]):!1};for(var i=0;i<allInputs.length;i++){var regexStr=\"field\\\\[(\\\\d+)\\\\]\";var results=new RegExp(regexStr).exec(allInputs[i].name);if(results!=undefined){allInputs[i].dataset.name=window.cfields[results[1]]}else{allInputs[i].dataset.name=allInputs[i].name}\nvar fieldVal=getUrlParam(allInputs[i].dataset.name);if(fieldVal){if(allInputs[i].dataset.autofill===\"false\"){continue}\nif(allInputs[i].type==\"radio\"||allInputs[i].type==\"checkbox\"){if(allInputs[i].value==fieldVal){allInputs[i].checked=!0}}else{allInputs[i].value=fieldVal}}}\nvar remove_tooltips=function(){for(var i=0;i<tooltips.length;i++){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip)}\ntooltips=[]};var remove_tooltip=function(elem){for(var i=0;i<tooltips.length;i++){if(tooltips[i].elem===elem){tooltips[i].tip.parentNode.removeChild(tooltips[i].tip);tooltips.splice(i,1);return}}};var create_tooltip=function(elem,text){var tooltip=document.createElement(\'div\'),arrow=document.createElement(\'div\'),inner=document.createElement(\'div\'),new_tooltip={};if(elem.type!=\'radio\'&&elem.type!=\'checkbox\'){tooltip.className=\'_error\';arrow.className=\'_error-arrow\';inner.className=\'_error-inner\';inner.innerHTML=text;tooltip.appendChild(arrow);tooltip.appendChild(inner);elem.parentNode.appendChild(tooltip)}else{tooltip.className=\'_error-inner _no_arrow\';tooltip.innerHTML=text;elem.parentNode.insertBefore(tooltip,elem);new_tooltip.no_arrow=!0}\nnew_tooltip.tip=tooltip;new_tooltip.elem=elem;tooltips.push(new_tooltip);return new_tooltip};var resize_tooltip=function(tooltip){var rect=tooltip.elem.getBoundingClientRect();var doc=document.documentElement,scrollPosition=rect.top-((window.pageYOffset||doc.scrollTop)-(doc.clientTop||0));if(scrollPosition<40){tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _below\'}else{tooltip.tip.className=tooltip.tip.className.replace(/ ?(_above|_below) ?/g,\'\')+\' _above\'}};var resize_tooltips=function(){if(_removed)return;for(var i=0;i<tooltips.length;i++){if(!tooltips[i].no_arrow)resize_tooltip(tooltips[i])}};var validate_field=function(elem,remove){var tooltip=null,value=elem.value,no_error=!0;remove?remove_tooltip(elem):!1;if(elem.type!=\'checkbox\')elem.className=elem.className.replace(/ ?_has_error ?/g,\'\');if(elem.getAttribute(\'required\')!==null){if(elem.type==\'radio\'||(elem.type==\'checkbox\'&&/any/.test(elem.className))){var elems=form_to_submit.elements[elem.name];if(!(elems instanceof NodeList||elems instanceof HTMLCollection)||elems.length<=1){no_error=elem.checked}else{no_error=!1;for(var i=0;i<elems.length;i++){if(elems[i].checked)no_error=!0}}\nif(!no_error){tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(elem.type==\'checkbox\'){var elems=form_to_submit.elements[elem.name],found=!1,err=[];no_error=!0;for(var i=0;i<elems.length;i++){if(elems[i].getAttribute(\'required\')===null)continue;if(!found&&elems[i]!==elem)return!0;found=!0;elems[i].className=elems[i].className.replace(/ ?_has_error ?/g,\'\');if(!elems[i].checked){no_error=!1;elems[i].className=elems[i].className+\' _has_error\';err.push(\"Checking %s is required\".replace(\"%s\",elems[i].value))}}\nif(!no_error){tooltip=create_tooltip(elem,err.join(\'<br/>\'))}}else if(elem.tagName==\'SELECT\'){var selected=!0;if(elem.multiple){selected=!1;for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected){selected=!0;break}}}else{for(var i=0;i<elem.options.length;i++){if(elem.options[i].selected&&!elem.options[i].value){selected=!1}}}\nif(!selected){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Please select an option.\")}}else if(value===undefined||value===null||value===\'\'){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"This field is required.\")}}\nif(no_error&&elem.name==\'email\'){if(!value.match(/^[\\+_a-z0-9-\'&=]+(\\.[\\+_a-z0-9-\']+)*@[a-z0-9-]+(\\.[a-z0-9-]+)*(\\.[a-z]{2,})$/i)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid email address.\")}}\nif(no_error&&/date_field/.test(elem.className)){if(!value.match(/^\\d\\d\\d\\d-\\d\\d-\\d\\d$/)){elem.className=elem.className+\' _has_error\';no_error=!1;tooltip=create_tooltip(elem,\"Enter a valid date.\")}}\ntooltip?resize_tooltip(tooltip):!1;return no_error};var needs_validate=function(el){if(el.getAttribute(\'required\')!==null){return!0}\nif(el.name===\'email\'&&el.value!==\"\"){return!0}\nreturn!1};var validate_form=function(e){var err=form_to_submit.querySelector(\'._form_error\'),no_error=!0;if(!submitted){submitted=!0;for(var i=0,len=allInputs.length;i<len;i++){var input=allInputs[i];if(needs_validate(input)){if(input.type==\'text\'){addEvent(input,\'blur\',function(){this.value=this.value.trim();validate_field(this,!0)});addEvent(input,\'input\',function(){validate_field(this,!0)})}else if(input.type==\'radio\'||input.type==\'checkbox\'){(function(el){var radios=form_to_submit.elements[el.name];for(var i=0;i<radios.length;i++){addEvent(radios[i],\'click\',function(){validate_field(el,!0)})}})(input)}else if(input.tagName==\'SELECT\'){addEvent(input,\'change\',function(){validate_field(this,!0)})}else if(input.type==\'textarea\'){addEvent(input,\'input\',function(){validate_field(this,!0)})}}}}\nremove_tooltips();for(var i=0,len=allInputs.length;i<len;i++){var elem=allInputs[i];if(needs_validate(elem)){if(elem.tagName.toLowerCase()!==\"select\"){elem.value=elem.value.trim()}\nvalidate_field(elem)?!0:no_error=!1}}\nif(!no_error&&e){e.preventDefault()}\nresize_tooltips();return no_error};addEvent(window,\'resize\',resize_tooltips);addEvent(window,\'scroll\',resize_tooltips);window._old_serialize=null;if(typeof serialize!==\'undefined\')window._old_serialize=window.serialize;_load_script(\"//d3rxaij56vjege.cloudfront.net/form-serialize/0.3/serialize.min.js\",function(){window._form_serialize=window.serialize;if(window._old_serialize)window.serialize=window._old_serialize});var form_submit=function(e){e.preventDefault();if(validate_form()){document.querySelector(\'#_form_1_submit\').disabled=!0;var serialized=_form_serialize(document.getElementById(\'_form_61E7352BE362B_\')).replace(/%0A/g,\'\\\\n\');var err=form_to_submit.querySelector(\'._form_error\');err?err.parentNode.removeChild(err):!1;_load_script(\'https://kidlife.activehosted.com/proc.php?\'+serialized+\'&jsonp=true\')}\nreturn!1};addEvent(form_to_submit,\'submit\',form_submit)})()','ea5c4dbeae2ccac64043f449c3a803fe',0,0,'0000-00-00 00:00:00','2022-01-20 11:12:05'),