1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2897],{42897:function(e,t,s){s.r(t),s.d(t,{Summary:function(){return P},Terms:function(){return B},default:function(){return _}});var l=s(85893),r=s(67294),n=s(93967),i=s.n(n),a=s(87536),o=s(89562),c=s(36926),d=s(54888),h=s(11163),u=s(39332),m=s(3063),p=s(72962);async function x(e){let t={formId:e.formId,areaOfChoice:parseInt(e.article,10)||0,totalAmount:e.paymentAmount.amountValue,orgNr:e.userDetails.orgNo,companyName:e.userDetails.companyName,PostAddress:e.userDetails.address,PostNumber:e.userDetails.zip,PostCity:e.userDetails.city,InvoiceAddress:e.userDetails.InvoiceAddress,InvoicePostNumber:e.userDetails.InvoicePostNumber,InvoiceCity:e.userDetails.InvoiceCity,InvoiceEmail:e.userDetails.InvoiceEmail,personFirstname:e.userDetails.firstName,personLastname:e.userDetails.lastName,personEmail:e.userDetails.email,personPhonenumber:e.userDetails.phone,customInvoice:e.userDetails.customInvoice,sourceUrl:e.sourceUrl,giftType:e.campaignName},s=e.token,{postToSuperOffice:l}=await (0,p.Z)("mutation($data: JSON!, $token: String!) {\n postToSuperOffice(data: $data, token: $token) {\n error,\n response\n }\n }",{variables:{data:t,token:s}});return l}var f=s(2316),j=s(91494),v=s(34853),b=s(7310),C=s(86572);function y(e){var t;let{children:s,orderSessionId:n}=e,{formState:i,setOrderResult:o,handleSubmit:p}=(0,a.Gc)(),{nonce:y,fetchCheckout:g}=(0,j.iQ)(),{thankYouPage:w,steps:N,type:M,trackingItem:z}=(0,d.ZP)(),k=(0,d.qW)(),S=(0,h.useRouter)(),L=(0,r.useRef)(),F=(0,u.useSearchParams)(),H=(0,C.Z)(),Z=null!==(t=(0,d.$M)("giftShopCheckout"))&&void 0!==t&&t,{tracking:G}=(0,c.gt)(),E=!1,V=async e=>{var t,s,l;let r;if(i.isSubmitting)return;if(Z&&y)try{k.giftShopCheckout=await g()}catch(e){return}if(o(null),E)return;E=!0;let a=await L.current.executeAsync();if(await (0,m.kc)(n,"Betalmetod",e.paymentMethod),await (0,m.kc)(n,"F\xf6rs\xf6ker skapa order med betalmetoden "+e.paymentMethod,"init"),"superoffice"===e.paymentMethod)r=await x({...k,token:a,sourceUrl:document.location.origin+document.location.pathname}),(0,b.Z)(N.length+1,M,z,n),(0,f.bb)(null==r?void 0:null===(t=r.response)||void 0===t?void 0:t.tracking),await (0,m.kc)(n,"Order skapad",r),setTimeout(function(){S.push(w)},4e3);else{if(null==(r=await (0,m.LV)({...k,paymentMethod:e.paymentMethod,sourceUrl:document.location.origin+document.location.pathname,orderSessionId:n,captchaToken:a,searchParams:Object.fromEntries(F),inApp:null!==(l=H.inApp)&&void 0!==l&&l,userAgent:(null==H?void 0:null===(s=H.ua)||void 0===s?void 0:s.source)+""}))?void 0:r.redirect){(0,f.zz)({event:"payment_method",formType:G.formType,payment_method:e.paymentMethod}),(0,b.Z)(N.length+1,M,z,n),(0,f.bb)(null==r?void 0:r.tracking),await (0,m.kc)(n,"Order skapad",r),setTimeout(function(){S.push(r.redirect)},4e3);return}o(r)}};return(0,l.jsxs)("form",{onSubmit:p(V),children:[(0,l.jsx)(v.Z,{className:"hidden",ref:L,size:"invisible",sitekey:"6LfnO-EZAAAAABp9dQVj270c22tONNMSySMaBj6F"}),s]})}var g=s(34656);function w(e){let{className:t=""}=e;return(0,l.jsx)("svg",{width:"27",height:"26",xmlns:"http://www.w3.org/2000/svg",className:t,children:(0,l.jsxs)("g",{fillRule:"nonzero",fill:"none",children:[(0,l.jsx)("path",{d:"M8.297 13.007l1.097-6.91H8.223c-.549 0-1.255-.308-1.462-.873-.067-.19-.224-.847.68-1.486.325-.225.532-.474.574-.665a.516.516 0 00-.15-.507c-.199-.19-.59-.299-1.088-.299-.838 0-1.428.482-1.486.831-.042.257.158.465.332.598.523.39.648.955.324 1.487-.332.548-1.055.905-1.827.913H2.924c-.1.673-1.728 10.989-1.853 11.803h6.487c.058-.366.357-2.318.764-4.892h-.025z",fill:"#479CBE"}),(0,l.jsx)("path",{d:"M16.985.05h-6.603l-.88 5.59h1.12c.616 0 1.197-.283 1.446-.69a.667.667 0 00.116-.357c0-.233-.157-.407-.315-.523-.432-.324-.523-.665-.523-.906 0-.05 0-.09.008-.132.091-.59.889-1.23 1.943-1.23.632 0 1.113.15 1.404.424.257.24.357.581.282.938-.091.424-.515.773-.755.947-.64.449-.557.84-.515.955.133.35.64.574 1.03.574h1.702v.008c2.326.016 3.572 1.088 3.181 3.58-.365 2.317-2.143 3.314-4.26 3.33l-.84 5.349h1.238c5.224 0 9.493-3.356 10.332-8.655C27.135 2.674 22.966.05 16.985.05z",fill:"#00A5C3"}),(0,l.jsx)("path",{d:"M16.985.05h-6.603l-.88 5.59h1.12c.616 0 1.197-.283 1.446-.69a.667.667 0 00.116-.357c0-.233-.157-.407-.315-.523-.432-.324-.523-.665-.523-.906 0-.05 0-.09.008-.132.091-.59.889-1.23 1.943-1.23.632 0 1.113.15 1.404.424.257.24.357.581.282.938-.091.424-.51
15.773-.755.947-.64.449-.557.84-.515.955.133.35.64.574 1.03.574h1.702v.008c2.326.016 3.572 1.088 3.181 3.58-.365 2.317-2.143 3.314-4.26 3.33l-.84 5.349h1.238c5.224 0 9.493-3.356 10.332-8.655C27.135 2.674 22.966.05 16.985.05z",fill:"#235971"}),(0,l.jsx)("g",{fill:"#235971",children:(0,l.jsx)("path",{d:"M.723 20.282h2.65c1.129 0 1.403.573 1.32 1.097-.067.423-.357.739-.856.947.631.24.88.614.79 1.204-.117.74-.757 1.287-1.595 1.287H.017l.706-4.535zm1.752 1.877c.515 0 .756-.274.806-.598.05-.348-.108-.59-.623-.59H2.2l-.183 1.188h.457zm-.282 1.96c.531 0 .839-.215.913-.656.058-.382-.157-.606-.672-.606H1.91l-.199 1.27h.482v-.007zM8.339 24.85c-.69.05-1.022-.024-1.188-.323-.365.224-.772.34-1.204.34-.78 0-1.055-.407-.98-.855.033-.216.158-.424.357-.598.432-.374 1.495-.424 1.91-.706.033-.316-.091-.432-.482-.432-.456 0-.838.15-1.495.598l.158-1.03c.565-.407 1.113-.598 1.744-.598.806 0 1.52.332 1.388 1.212l-.158.997c-.058.349-.042.457.349.465l-.4.93zM7.143 23.29c-.366.233-1.047.191-1.121.673-.034.224.108.39.332.39.216 0 .482-.091.697-.24-.016-.084-.008-.167.017-.325l.075-.498zM9.626 21.304h1.379l-.075.457c.44-.374.773-.515 1.205-.515.772 0 1.13.473 1.005 1.246l-.358 2.317h-1.378l.299-1.919c.058-.348-.05-.515-.316-.515-.216 0-.415.117-.606.374l-.316 2.052H9.086l.54-3.497zM14.211 20.282h1.379l-.35 2.226 1.321-1.204h1.703l-1.694 1.495 1.362 2.01h-1.736l-1.046-1.62h-.017l-.25 1.62h-1.378z"})}),(0,l.jsx)("g",{fill:"#479CBE",children:(0,l.jsx)("path",{d:"M19.095 20.282h1.586l-.698 4.527h-1.586zM21.453 20.282h2.268c1.752 0 2.26 1.271 2.093 2.326-.158 1.03-.972 2.201-2.508 2.201h-2.558l.705-4.527zm1.47 3.447c.773 0 1.197-.382 1.321-1.187.092-.598-.091-1.188-.947-1.188h-.423l-.366 2.375h.416z"})})]})})}function N(e){let{className:t=""}=e;return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",className:t,children:(0,l.jsx)("path",{d:"M47 7.6H3c-1.7 0-3 1.3-3 3v28.8c0 1.7 1.3 3 3 3h44c1.7 0 3-1.3 3-3V10.6c0-1.7-1.3-3-3-3zM19.4 27.1L2 39.3V11.8l17.4 15.3zm1.6 1.4l2.2 1.9c.5.4 1.2.6 1.8.6.7 0 1.3-.2 1.9-.7l2.1-1.9 17.2 11.9H3.9L21 28.5zm26.9 10.7l-17.3-12L48 11.7l-.1 27.5c.1 0 .1 0 0 0zM47 9.6c.1 0 .2 0 .3.1L25.6 28.8c-.4.3-.9.3-1.2.1L2.6 9.7c.1 0 .2-.1.4-.1h44z"})})}function M(e){let{className:t=""}=e;return(0,l.jsxs)("svg",{className:t,viewBox:"0 0 395 233",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("mask",{id:"mask0_693_3",maskUnits:"userSpaceOnUse",x:"0",y:"4",width:"395",height:"227",children:(0,l.jsx)("path",{d:"M0 18.3575C0 10.5909 6.34821 4.23633 14.1071 4.23633H380.893C388.652 4.23633 395 10.5909 395 18.3575V216.055C395 223.821 388.652 230.176 380.893 230.176H14.1071C6.34821 230.176 0 223.821 0 216.055V18.3575Z",fill:"white"})}),(0,l.jsxs)("g",{mask:"url(#mask0_693_3)",children:[(0,l.jsx)("path",{d:"M234.885 43.7759H143.894V190.636H234.885V43.7759Z",fill:"#FF5F00"}),(0,l.jsx)("path",{d:"M162.938 117.206C162.938 103.085 166.465 88.9638 172.108 76.2548C178.456 63.5457 187.625 52.2487 198.911 43.776C184.804 33.1851 167.875 26.1245 150.241 24.0063C132.608 21.8881 114.974 25.4184 98.7504 33.1851C82.5272 40.9517 69.8308 52.9548 59.9558 67.782C50.7861 82.6093 45.8486 99.5548 45.8486 117.206C45.8486 134.858 50.7861 151.803 59.9558 166.631C69.1254 181.458 82.5272 193.461 98.7504 201.227C114.974 208.994 132.608 211.818 150.241 210.406C167.875 208.288 184.804 201.934 198.911 190.637C187.625 182.164 178.456 170.867 172.108 158.158C165.759 145.449 162.938 131.327 162.938 117.206Z",fill:"#EB001B"}),(0,l.jsx)("path",{d:"M323.759 172.279H325.17V171.573H322.349V172.279H323.759ZM330.108 175.103V171.573H329.402L327.991 174.397L326.581 171.573H325.875V175.103H326.581V172.279L327.286 174.397H327.991L328.697 172.279L330.108 175.103Z",fill:"#F79E1B"}),(0,l.jsx)("path",{d:"M351.974 117.206C351.974 134.858 347.036 151.803 337.866 166.631C328.697 181.458 315.295 193.461 299.072 201.227C282.849 208.994 265.215 211.818 247.581 210.406C229.947 208.288 213.018 201.934 198.911 190.637C210.197 182.164 219.366 170.867 225.715 158.158C232.063 145.449 235.59 131.327 235.59 117.206C235.59 103.085 232.063 88.9638 225.715 76.2548C219.366 63.5457 210.197 52.2487 198.911 43.776C213.018 33.1851 229.947 26.1245 247.581 24.0063C265.215 21.8881 282.849 25.4184 299.072 33.1851C315.295 40.9517 328.697 52.9548 337.866 67.782C347.036 82.6093 351.974 99.5548 351.974 117.206Z",fill:"#F79E1B"})]})]})}function z(e){let{className:t,style:s}=e;return(0,l.jsxs)("svg",{role:"img","aria-label":"Swish, logotyp",width:"578",height:"176",viewBox:"0 0 578 176",xmlns:"http://www.w3.org/2000/svg",className:t,style:s,children:[(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{x1:"80.8150544%",y1:"59.6365716%",x2:"59.8678229%",y2:"8.14952521%",id:"linearGradient-1",children:[(0,l.jsx)("stop",{stopColor:"#EF2131",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#FECF2C",offset:"100%"})]}),(0,l.jsxs)("linearGradient",{x1:"58.8181173%",y1:"0%",x2:"9.24395007%",y2:"94.0712606%",id:"linearGradient-2",children:[(0,l.jsx)("stop",{stopColor:"#FBC52C",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#F87130",offset:"26.3921199%"}),(0,l.jsx)("stop",{stopColor:"#EF52E2",offset:"56.079734%"}),(0,l.jsx)("stop",{stopColor:"#661EEC",offset:"100%"})]}),(0,l.jsxs)("linearGradient",{x1:"20.5690473%",y1:"41.0176198%",x2:"40.5972643
1%",y2:"91.2765373%",id:"linearGradient-3",children:[(0,l.jsx)("stop",{stopColor:"#78F6D8",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#77D1F6",offset:"26.5705044%"}),(0,l.jsx)("stop",{stopColor:"#70A4F3",offset:"55.447147%"}),(0,l.jsx)("stop",{stopColor:"#661EEC",offset:"100%"})]}),(0,l.jsxs)("linearGradient",{x1:"42.4403836%",y1:"100%",x2:"91.6136906%",y2:"6.27757791%",id:"linearGradient-4",children:[(0,l.jsx)("stop",{stopColor:"#536EED",offset:"0%"}),(0,l.jsx)("stop",{stopColor:"#54C3EC",offset:"24.6657524%"}),(0,l.jsx)("stop",{stopColor:"#64D769",offset:"56.4199509%"}),(0,l.jsx)("stop",{stopColor:"#FECF2C",offset:"100%"})]})]}),(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,l.jsx)("path",{d:"M549.058556 48.9033093c0-2.0296516.37335-3.9324215 1.120063-5.7083667.746713-1.77594517 1.760094-3.32486661 3.040173-4.64681077 1.280079-1.32194416 2.780149-2.36346029 4.500255-3.12457966 1.720106-.76111936 3.566859-1.14167333 5.540314-1.14167333 2.000124 0 3.873545.38055397 5.620319 1.14167333 1.746775.76111937 3.266846 1.8026355 4.560259 3.12457966 1.293413 1.32194416 2.313461 2.8708656 3.060174 4.64681077.746712 1.7759452 1.120063 3.6787151 1.120063 5.7083667 0 2.0296516-.373351 3.9324215-1.120063 5.7083667-.746713 1.7759452-1.766761 3.3248666-3.060174 4.6468108-1.293413 1.3219441-2.813484 2.3634603-4.560259 3.1245796-1.746774.7611194-3.620195 1.1416734-5.620319 1.1416734-1.973455 0-3.820208-.380554-5.540314-1.1416734-1.720106-.7611193-3.220176-1.8026355-4.500255-3.1245796-1.280079-1.3219442-2.29346-2.8708656-3.040173-4.6468108-.746713-1.7759452-1.120063-3.6787151-1.120063-5.7083667zm2.920165 0c0 1.6824744.28668 3.2447486.860049 4.6868695.573369 1.4421137 1.366739 2.6972814 2.380135 3.7655191 1.013396 1.0682377 2.206785 1.9094622 3.580203 2.5236989 1.373418.6142367 2.860155.9213504 4.460253.9213504 1.626767 0 3.133505-.3071137 4.520257-.9213504s2.593475-1.4554612 3.620205-2.5236989c1.02673-1.0682377 1.833435-2.3234054 2.420137-3.7655191.586703-1.4421209.88005-3.0043951.88005-4.6868695 0-1.6824744-.293347-3.2447486-.88005-4.6868695-.586702-1.44212089-1.393407-2.69728137-2.420137-3.76551907-1.02673-1.06823771-2.233453-1.90946228-3.620205-2.52369896-1.386752-.61423668-2.89349-.92135041-4.520257-.92135041-1.600098 0-3.086835.30711373-4.460253.92135041-1.373418.61423668-2.566807 1.45546125-3.580203 2.52369896-1.013396 1.0682377-1.806766 2.32339818-2.380135 3.76551907-.573369 1.4421209-.860049 3.0043951-.860049 4.6868695zm6.400363-6.28921804c0-.8812961.440021-1.32193755 1.320075-1.32193755h4.520257c1.440089 0 2.586809.41393591 3.440195 1.24182013.853386.82788426 1.280073 1.94951696 1.280073 3.36493196 0 .5875307-.086671 1.1082888-.260015 1.5622898-.173344.454001-.393354.8479078-.660038 1.1817321-.266683.3338242-.56003.607556-.88005.8212036-.320019.2136475-.640034.360528-.960054.4406458v.0801175c.026668.0267059.06667.080117.120007.1602348.053336.0534119.106672.1402049.160009.2603817.053337.1201767.13334.2603808.240014.4206164l2.080118 4.0459301c.240014.454001.29335.8212022.160009 1.1016146-.133342.2804124-.426689.4206165-.88005.4206165h-.480028c-.746712 0-1.266737-.3204665-1.560088-.9614091l-2.320132-4.887163h-2.48014v4.5666933c0 .8545902-.413353 1.2818788-1.240071 1.2818788h-.36002c-.826718 0-1.240071-.4272886-1.240071-1.2818788V42.61409126zm5.240298 5.84857214c.773381 0 1.373409-.2269971 1.800102-.6809981.426693-.454001.640036-1.0815812.640036-1.8827595 0-.7744724-.213343-1.3753471-.640036-1.8026421-.426693-.4272951-1.013387-.6409395-1.7601-.6409395h-2.440138v5.0073392h2.400136zM447.01569 58.0407019c4.522279 0 8.357292.5771735 11.505153 1.7315379 3.147861 1.1543643 5.608476 2.2199155 7.381918 3.1966853 1.507427.7991753 2.394135 1.8647265 2.660151 3.1966854.266017 1.3319588.04434 2.7526937-.665037 4.2622471l-1.330076 2.397514c-.798049 1.5983507-1.817763 2.5307079-3.059173 2.7970997-1.24141.2663917-2.704479.0444019-4.389249-.6659761-1.507427-.7103781-3.325178-1.4429445-5.45331-2.1977212-2.128131-.7547767-4.610914-1.
11321594-7.448422-1.1321594-2.926181 0-5.187287.5771735-6.783385 1.7315379-1.596099 1.1543643-2.394136 2.797089-2.394136 4.9282232 0 1.8647425.820205 3.3742732 2.46064 4.5286376 1.640434 1.1543644 3.724198 2.1755175 6.251354 3.0634901 2.527156.8879726 5.231616 1.8425288 8.113461 2.8636973 2.881844 1.0211685 5.586304 2.3309084 8.11346 3.9292591 2.527156 1.5983506 4.61092 3.640657 6.251355 6.1269802 1.640434 2.4863233 2.460639 5.6385787 2.460639 9.4568608 0 3.0191068-.598528 5.7939796-1.795602 8.3247014-1.197074 2.5307219-2.926154 4.7284211-5.187294 6.5931636-2.26114 1.8647424-4.987767 3.3298752-8.179964 4.3954423s-6.73903 1.5983427-10.640604 1.5983427c-5.497673 0-10.130722-.7991634-13.899288-2.397514-3.768566-1.5983507-6.672535-3.1078814-8.711995-4.5286376-1.507426-.8879726-2.349799-1.9979217-2.527143-3.3298806-.177344-1.3319588.221674-2.7526937 1.197068-4.2622471l1.59609-2.397514c.975394-1.4207561 2.061611-2.2199195 3.258685-2.397514 1.197074-.1775945 2.637975.1775892 4.322746 1.0655618 1.596098.8879726 3.657694 1.8869268 6.18485 2.9968925s5.519796 1.6649403 8.97801 1.6649403c2.92618 0 5.231622-.6215715 6.916392-1.8647331 1.684771-1.2431617 2.527144-2.9302843 2.527144-5.0614185 0-1.8647424-.820205-3.3520742-2.46064-4.46204-1.640435-1.1099657-3.724199-2.1311189-6.251355-3.0634901s-5.231615-1.9313254-8.11346-2.9968925-5.586304-2.397506-8.11346-3.9958567c-2.527156-1.5983506-4.61092-3.640657-6.251355-6.1269802-1.640435-2.4863233-2.46064-5.6829767-2.46064-9.5900561 0-3.2854985.687199-6.2157641 2.061617-8.7908847 1.374419-2.5751205 3.236506-4.7062227 5.586317-6.3933706 2.349812-1.687148 5.098607-2.9746889 8.246468-3.8626615 3.147861-.8879726 6.495184-1.3319522 10.04207-1.3319522zm-197.708217 0c4.5222791 0 8.3572917.5771735 11.5051527 1.7315379 3.147861 1.1543643 5.608476 2.2199155 7.3819188 3.1966853 1.5074264.7991753 2.3941345 1.8647265 2.6601509 3.1966854.2660165 1.3319588.0443394 2.7526937-.6650377 4.2622471l-1.3300755 2.397514c-.7980492 1.5983507-1.8177636 2.5307079-3.0591735 2.7970997-1.24141.2663917-2.7044784.0444019-4.389249-.6659761-1.5074264-.7103781-3.3251781-1.4429445-5.4533094-2.1977212-2.1281314-.7547767-4.6109141-1.1321594-7.4484226-1.1321594-2.9261807 0-5.1872863.5771735-6.7833849 1.7315379-1.5960985 1.1543643-2.3941358 2.797089-2.3941358 4.9282232 0 1.8647425.820205 3.3742732 2.4606396 4.5286376 1.6404346 1.1543644 3.7241986 2.1755175 6.2513547 3.0634901 2.527156.8879726 5.2316157 1.8425288 8.1134603 2.8636973 2.8818446 1.0211685 5.5863043 2.3309084 8.1134603 3.9292591 2.527156 1.5983506 4.6109201 3.640657 6.2513547 6.1269802 1.6404346 2.4863233 2.4606396 5.6385787 2.4606396 9.4568608 0 3.0191068-.598528 5.7939796-1.7956019 8.3247014-1.1970739 2.5307219-2.9261547 4.7284211-5.1872943 6.5931636-2.2611396 1.8647424-4.987767 3.3298752-8.1799641 4.3954423-3.1921971 1.0655671-6.7390295 1.5983427-10.6406037 1.5983427-5.4976727 0-10.1307226-.7991634-13.8992886-2.397514-3.76856595-1.5983507-6.672535-3.1078814-8.71199424-4.5286376-1.50742639-.8879726-2.3497991-1.9979217-2.52714338-3.3298806-.17734428-1.3319588.22167437-2.7526937 1.19706792-4.2622471l1.59609055-2.397514c.97539355-1.4207561 2.06161099-2.2199195 3.25868489-2.397514 1.1970739-.1775945 2.63797457.1775892 4.32274526 1.0655618 1.5960985.8879726 3.6576949 1.8869268 6.1848509 2.9968925 2.527156 1.1099657 5.5197959 1.6649403 8.9780094 1.6649403 2.9261806 0 5.2316217-.6215715 6.9163924-1.8647331 1.6847706-1.2431617 2.5271433-2.9302843 2.5271433-5.0614185 0-1.8647424-.820205-3.3520742-2.4606396-4.46204-1.6404346-1.1099657-3.7241986-2.1311189-6.2513546-3.0634901-2.5271561-.9323712-5.2316158-1.9313254-8.1134604-2.9968925-2.8818445-1.0655671-5.5863043-2.397506-8.1134603-3.9958567-2.52715599-1.5983506-4.61092004-3.640657-6.25135465-6.1269802-1.6404346-2.4863233-2.4606396-5.6829767-2.4606396-9.5900561 0-3.2854985.68719878-6.2157641 2.06161696-8.7908847 1.37441818-2.5751205 3.23650521-4.7062227 5.58631694-6.3933706 2.34981175-1.687148 5.09860685-2.9746889 8.24646785-3.8626615 3.147861-.8879726 6.4951841-1.3319522 10.0420698-1.3319522zM491.832233 33c3.72423 0 5.586317 1.86471447 5.586317 5.59419935V66.0324152c0 .8879726-.022168 1.664937-.066504 2.3309164-.044336.6659795-.110839 1.265352-.199512 1.7981355-.088672.6215808-.133007 1.1543564-.133007 1.5983427h.266015c.798049-1.5983507 1.928602-3.2188763 3.391692-4.8616256 1.463091-1.6427493 3.192172-3.1300811 5.187295-4.46204s4.256229-2.39751 6.783385-3.1966853c2.527156-.7991754 5.253783-1.198757 8.179964-1.198757 7.537132 0 13.367237 2.0423063 17.490492 6.1269802s6.184851 10.6555725 6.184851 19.712893v38.0938337c0 3.7294848-1.862087 5.5941993-5.586317 5.5941993h-5.719325c-3.724229 0-5.586316-1.8647145-5.586316-5.5941993V87.3436509c0-4.1734712-.709367-7.5255175-2.128121-10.0562394-1.418754-2.5307218-4.25622-3.7960638-8.512483-3.7960638-2.926181 0-5.608473.5771735-8.046957 1.7315379-2.438484 1.1543644-4.50008 2.7304921-6.184851 4.7284304-1.68477 1.9979383-2.992665 4.3732294-3.923722 7.1259444-.931058 2.752715-1.396579 5.7273786-1.396579 8.9240799v25.9730685c0 3.7294848-1.862087 5.5941993-5.586317 5.5941993h-5.719325c-3.72423 0-5.586317-1.8647145-5.586317-5.5941993V38.59419935C480.526591 34.86471447 482.388678 33 486.112908 33h5.719325zm-88.372014 26.6390445c3.635558 0 5.453309 1.8647145 5.453309 5.5941994v56.7411649c0 3.7294848-1.817751 5.5941993-5.453309 5.5941993h-5.852332c-3.635558 0-5.45331-1.8647145-5.45331-5.5941993V65.2332439c0-3.7294849 1.817752-5.5941994 5.45331-5.5941994h5.852332zm-112.855403 0c3.3695413 0 5.3646345 1.6427247 5.9853395 4.9282233l10.9066188 39.6921763c.1773443.9767699.3325182 1.8647292.4655264 2.6639045.1330082.7991753.2881822 1.5539407.4655264 2.2643188.1773443.7991753.3103505 1.5539407.3990227 2.2643188h.2660151c.0886721-.7103781.2216783-1.4651435.3990226-2.2643188.1773443-.7103781.3325182-1.4651435.4655264-2.2643188.1330082-.7991753.3325176-1.6871346.598534-2.6639045l11.438649-39.6921763c.6207051-3.1967013 2.6601331-4.795028 6.1183471-4.795028h5.054287c3.28
10869 0 5.320298 1.5983267 6.118347 4.795028l11.305641 39.6921763c.266017.9767699.465526 1.8647292.598534 2.6639045.133008.7991753.288182 1.5539407.465527 2.2643188.177344.7991753.31035 1.5539407.399022 2.2643188h.266015c.088673-.7103781.221679-1.4651435.399023-2.2643188.177344-.7103781.332518-1.4651435.465526-2.2643188.133009-.7991753.332518-1.6871346.598534-2.6639045l10.773612-39.6921763c.798049-3.2854986 2.837478-4.9282233 6.118347-4.9282233h6.118347c2.039459 0 3.458192.5771736 4.256241 1.7315379.79805 1.1543644.931056 2.6638952.399023 4.5286376l-17.423989 57.0075553c-.886721 3.1079041-2.970485 4.6618328-6.251354 4.6618328h-8.911506c-3.369541 0-5.453305-1.5983267-6.251354-4.795028l-10.241582-33.9647818c-.266016-.8879726-.487693-1.7759319-.665037-2.6639044-.177345-.8879726-.354686-1.687136-.53203-2.3975141-.177345-.7991753-.310351-1.5539407-.399023-2.2643187h-.266015c-.177344.710378-.354686 1.4651434-.53203 2.2643187-.177345.7103781-.354686 1.5095415-.532031 2.3975141-.177344.8879725-.399021 1.7759318-.665037 2.6639044l-10.2415813 33.9647818c-.7980493 3.1967013-2.837478 4.795028-6.1183472 4.795028h-9.1775207c-3.192197 0-5.2316257-1.5539287-6.1183471-4.6618328L279.5651896 65.89922c-.5320328-1.8647424-.3768589-3.3742732.4655264-4.5286376.8423854-1.1543643 2.2389506-1.7315379 4.1897377-1.7315379h6.3843623z",fill:"#4A4A49",fillRule:"nonzero"}),(0,l.jsx)("path",{d:"M0 146.685268c35.320882 16.892566 78.9117034 8.53248 105.246455-22.845658C136.460269 86.64832 131.612113 31.2033405 94.4177327 0L69.6915356 29.4617132c29.0578576 24.3776312 32.8455494 67.6938927 8.4598478 96.7496898C58.7070751 149.379356 26.6929327 157.114942 0 146.685268",fill:"url(#linearGradient-1)",transform:"translate(50.005869 20.581194)"}),(0,l.jsx)("path",{d:"M0 146.685268c35.320882 16.892566 78.9117034 8.53248 105.246455-22.845658 3.225178-3.84281 6.064187-7.880851 8.523551-12.06656 4.158751-25.8431534-4.986896-53.1586968-26.5004489-71.2068529-5.4659591-4.5856156-11.3829932-8.2798986-17.5742439-11.1010498 29.0544234 24.3781464 32.8405698 67.6918322 8.4560702 96.7462557C58.7070751 149.379356 26.6929327 157.114942 0 146.685268",fill:"url(#linearGradient-2)",transform:"translate(50.005869 20.581194)"}),(0,l.jsxs)("g",{children:[(0,l.jsx)("path",{d:"M125.821122 8.56068559C90.5004122-8.33188026 46.9095908.02803389 20.5748395 31.4061724-10.6389751 68.5976339-5.790819 124.042613 31.4033898 155.245954l24.7263688-29.461713c-29.0580293-24.377632-32.8455493-67.693893-8.4598478-96.7498618C67.114219 5.86642608 99.1283615-1.86916026 125.821122 8.56068559",fill:"url(#linearGradient-3)"}),(0,l.jsx)("path",{d:"M125.821122 8.56068559C90.5004122-8.33188026 46.9095908.02803389 20.5748395 31.4061724c-3.2253502 3.8429815-6.064359 7.8810225-8.5235512 12.0667317-4.15892291 25.8431532 4.9868956 53.1585249 26.5004488 71.2068529 5.465959 4.585444 11.3829932 8.279898 17.5740722 11.100878-29.0542517-24.377975-32.8405698-67.6916606-8.4558985-96.7462558C67.114219 5.86642608 99.1283615-1.86916026 125.821122 8.56068559",fill:"url(#linearGradient-4)"})]})]})]})}function k(e){let{className:t=""}=e;return(0,l.jsxs)("svg",{role:"img","aria-label":"Trustly, logotyp",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1250 416",className:t,children:[(0,l.jsx)("path",{fill:"#0ee06e",d:"M458.4 291.8V156.7h-48.5v-32.1h131.9v32.1h-48.5v135.1h-34.9z"}),(0,l.jsx)("path",{fill:"#0ee06e",d:"M536.3 291.8V170.5h32.1v19.2c7.6-16.3 17.4-19.2 27.9-19.2h12.4V203h-10.5c-15.1 0-28.6 8.7-28.6 35.3v53.6h-33.3zm87.5-44.4v-76.9H657v69.4c0 14.2 6.9 24.7 21.1 24.7 13.7 0 22.4-10.5 22.4-24.5v-69.6h33.2v121.4h-31.6v-15.3c-8 12.1-19.9 18.1-35 18.1-26.6-.1-43.3-18.4-43.3-47.3zm124.1 10.3l28.9-6.6c1.4 9.4 8.9 16.5 23.4 16.5 11.2 0 17.4-4.6 17.4-10.3 0-4.6-2.5-8-14-10.5l-19-4.1c-24.3-5.3-34.6-16.5-34.6-36.9 0-20.8 17.2-37.6 49.5-37.6 34.3 0 48.1 20.6 49.5 34.1l-29.1 6.4c-1.4-7.1-6.6-14.9-21.1-14.9-9.2 0-16 4.1-16 10.1 0 5 3.4 7.8 9.4 9.2l27.7 6.4c21.1 4.8 30.9 17.4 30.9 35.3 0 19.2-15.3 39.4-50.4 39.4-38.6-.1-51.2-23.2-52.5-36.5zm166.7 34.1c-21.5 0-35.9-11.9-35.9-35.5v-56.8h-20.4v-29.1h20.4v-27l33.2-9.6v36.6h24.5v29.1h-24.5v50.8c0 8.9 4.6 12.4 13.5 12.4h12.8v29.1h-23.6zm41.6 0V124.7h33.2v167.2h-33.2zm133.3-121.3h35.5l-50.6 164.9h-35.5l14-43.5h-18.3l-33.4-121.4h35.5l25 93.9 27.8-93.9zM125 197.9h77.9v-62.2l62.2 62.2-62.2 62.1v31.8h75.5v-93.9h69.3v-73.2H125z"})]})}function S(e){let{className:t=""}=e;return(0,l.jsx)("svg",{role:"img","aria-label":"Visa, logotyp",className:t,viewBox:"0 0 395 227",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M163.643 72.0674L126.964 160.385H102.982L84.643 89.731C83.2323 85.4917 82.5269 84.0787 79.0001 81.959C73.3573 79.1328 64.1876 76.3067 56.4287 74.187L57.1341 71.3608H95.9287C98.7501 71.3608 100.866 72.0674 102.982 74.187C105.098 75.6001 106.509 78.4263 106.509 80.5459L116.384 131.417L140.366 71.3608L163.643 72.0674ZM258.161 131.417C258.161 108.101 225.714 106.688 226.42 96.0899C226.42 93.2637 229.241 89.731 236.295 89.0245C244.054 88.3179 251.813 89.731 258.866 93.2637L263.098 74.187C256.045 71.3608 248.991 69.9478 241.938 69.9478C219.366 69.9478 203.848 81.959 203.143 98.9161C203.143 111.634 214.429 118.699 222.893 122.939C232.063 127.178 234.884 130.004 234.884 134.243C234.884 139.896 227.83 142.722 221.482 142.722C210.197 142.722 203.143 139.896 198.205 137.069L193.973 156.146C199.616 158.266 208.786 160.385 219.366 161.092C241.938 161.799 258.161 149.787 258.161 131.417ZM317.411 160.385H338.572L320.232 72.0674H300.482C298.366 72.0674 296.25 72.7739 294.839 73.4805C293.429 74.8936 292.018 76.3067 291.313 78.4263L257.455 160.385H281.438L286.375 146.961H315.295L317.411 160.385ZM292.018 129.297L304.009 96.0899L311.063 129.297H292.018ZM196.089 72.0674L177.045 160.385H154.473L173.518 72.0674H196.089Z",fill:"#1A1F71"})})}function L(e){let{children:t}=e;return(0,l.jsx)("div",{className:"flex flex-row",children:t})}let F={credit_card:function(e){let{id:t,title:s,selected:r}=e,{register:n}=(0,a.Gc)();return(0,l.jsx)("label",{htmlFor:t,children:(0,l.jsxs)(g.Z,{className:"cursor-pointer",selected:r,children:[(0,l.jsx)("input",{type:"radio",...n("paymentMethod"),id:t,value:t,className:"absolute -z-1"}),(0,l.jsx)(g.j,{selected:r,title:s}),(0,l.jsxs)(L,{className:"flex h-auto",children:[(0,l.jsx)(M,{className:"w-13 mr-3 border p-1 border-black-25 rounded"}),(0,l.jsx)(S,{className:"w-13 border p-1 border-black-25 rounded"})]})]})})},form:function(e){let{id:t,title:s,selected:r}=e,{register:n}=(0,a.Gc)();return(0,l.jsx)("label",{htmlFor:t,children:(0,l.jsxs)(g.Z,{className:"cursor-pointer",selected:r,children:[(0,l.jsx)("input",{type:"radio",...n("paymentMethod"),id:t,value:t,className:"absolute -z-1"}),(0,l.jsx)(g.j,{selected:r,title:s})]})})},swish:function(e){let{id:t,title:s,selected:r}=e,{register:n}=(0,a.Gc)();return(0,l.jsx)("label",{htmlFor:t,children:(0,l.jsxs)(g.Z,{className:"cursor-pointer",selected:r,children:[(0,l.jsx)("input",{type:"radio",...n("paymentMethod"),id:t,value:t,className:"absolute -z-1"}),(0,l.jsx)(g.j,{selected:r,title:s}),(0,l.jsx)(L,{children:(0,l.jsx)(z,{style:{height:27,width:88}})})]})})},trustly:function(e){let{id:t,title:s,selected:r}=e,{register:n}=(0,a.Gc)();return(0,l.jsx)("label",{htmlFor:t,children:(0,l.jsxs)(g.Z,{className:"cursor-pointer",selected:r,children:[(0,l.jsx)("input",{type:"radio",...n("paymentMethod"),id:t,value:t,className:"absolute -z-1"}),(0,l.jsx)(g.j,{selected:r,title:s}),(0,l.jsx)(L,{children:(0,l.jsx)(k,{className:"h-7"})})]})})},invoice:function(e){let{id:t,title:s,selected:r}=e,{register:n}=(0,a.Gc)();return(0,l.jsx)("label",{htmlFor:t,children:(0,l.jsxs)(g.Z,{className:"cursor-pointer",selected:r,children:[(0,l.jsx)("input",{type:"radio",...n("paymentMethod"),id:t,value:t,className:"absolute -z-1"}),(0,l.jsx)(g.j,{selected:r,title:s}),(0,l.jsx)(L,{children:(0,l.jsx)(N,{className:"h-7 text-gray-70 opacity-80"})})]})})},superoffice:function(e){let{id:t,title:s,selected:r}=e,{register:n}=(0,a.Gc)();return(0,l.jsx)("label",{htmlFor:t,children:(0,l.jsxs)(g.Z,{className:"cursor-pointer",selected:r,children:[(0,l.jsx)("input",{type:"radio",...n("paymentMethod"),id:t,value:t,className:"absolute -z-1"}),(0,l.jsx)(g.j,{selected:r,title:s}),(0,l.jsx)(L,{children:(0,l.jsx)(N,{className:"h-7 text-gray-70 opacity-80"})})]})})},scrive:function(e){let{id:t,title:s,selected:r}=e,{register:n}=(0,a.Gc)();return(0,l.jsx)("label",{htmlFor:t,children:(0,l.jsxs)(g.Z,{className:"cursor-pointer",selected:r,children:[(0,l.jsx)("input",{type:"radio",...n("paymentMethod"),id:t,value:t,className:"absolute -z-1"}),(0,l.jsx)(g.j,{selected:r,title:s}),(0,l.jsx)(L,{children:(0,l.jsx)(w,{})})]})})},bitio:function(e){let{id:t,title:s,selected:r}=e,{register:n}=(0,a.Gc)();return(0,l.jsx)("label",{htmlFor:t,children:(0,l.jsxs)(g.Z,{className:"cursor-pointer",selected:r,children:[(0,l.jsx)("input",{type:"radio",...n("paymentMethod"),id:t,value:t,className:"absolute -z-1"}),(0,l.jsx)(g.j,{selected:r,title:s}),(0,l.jsx)(L,{children:(0,l.jsx)(w,{})})]})})}};function H(e){let{orderSessionId:t}=e,{paymentMethods:s}=(0,d.Pq)(),{watch:r}=(0,a.Gc)(),n=r("paymentMethod");return s.map(e=>{var s;let{value:r,label:i}=e,a=null!==(s=F[r])&&void 0!==s?s:null;return a?(0,l.jsx)(a,{id:r,title:i,selected:r===n,orderSessionId:t},r):null})}var Z=s(39826),G=s(5152),E=s.n(G);let V=E()(()=>s.e(2891).then(s.bind(s,42891)).then(e=>
1e.SwedbankPaySeamlessSubmit),{loadableGenerated:{webpack:()=>[42891]},ssr:!1}),I=E()(()=>s.e(3874).then(s.bind(s,83874)).then(e=>e.FormSubmit),{loadableGenerated:{webpack:()=>[83874]},ssr:!1}),A={credit_card:V,swish:V,form:I,trustly:V,invoice:V,superoffice:E()(()=>s.e(5648).then(s.bind(s,75648)).then(e=>e.SuperOfficeSubmit),{loadableGenerated:{webpack:()=>[75648]},ssr:!1}),scrive:E()(()=>Promise.all([s.e(9338),s.e(6023)]).then(s.bind(s,86023)).then(e=>e.ScriveSubmit),{loadableGenerated:{webpack:()=>[86023]},ssr:!1}),bitio:E()(()=>Promise.all([s.e(9338),s.e(2775),s.e(3941)]).then(s.bind(s,63941)).then(e=>e.BitioSubmit),{loadableGenerated:{webpack:()=>[63941]},ssr:!1})};function D(e){let{type:t,orderSessionId:s,stepRef:r,formSettings:n}=e,{watch:i}=(0,a.Gc)(),o=i("paymentMethod");if(!o)return(0,l.jsx)("div",{className:"flex mb-3",children:(0,l.jsx)(Z.Z,{type:"submit",ariaLabel:"Betala",theme:"lime",className:"flex justify-center w-full",children:"Betala"})});let c=A[o];return c?(0,l.jsx)(c,{type:t,orderSessionId:s,stepRef:r,formSettings:n}):null}function B(){let{terms:e}=(0,d.ZP)();return(0,l.jsx)("label",{htmlFor:"terms",className:"flex cursor-pointer select-none mb-7",children:(0,l.jsx)("div",{className:"text-sm md:text-base wysiwyg-content",dangerouslySetInnerHTML:{__html:e}})})}function P(e){let{haveMembershipAmount:t}=e,{membershipAmount:s}=(0,d.$0)(),{paymentAmount:{amountValue:r}}=(0,d.P$)(),{feeAmount:n}=(0,d.j$)(),{summaryAmountLabel:i}=(0,d.Pq)(),{quantity:a}=(0,d.R$)();return(0,l.jsx)("div",{id:"checkout-summary",children:(0,l.jsxs)("div",{className:"flex items-center justify-between pb-3 mt-2 mb-6 border-b",children:[t&&(0,l.jsxs)("div",{className:"flex flex-col w-full",children:[(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("div",{children:"Medlemsavgift"}),(0,l.jsxs)("div",{children:[(0,o.u)(s)," kr"]})]}),parseInt(r)-parseInt(s)!=0&&(0,l.jsxs)("div",{className:"flex justify-between w-full",children:[(0,l.jsx)("div",{children:"Extra m\xe5nadsg\xe5va"}),(0,l.jsxs)("div",{children:[(0,o.u)(r-s)," kr"]})]}),(0,l.jsxs)("div",{className:"flex justify-between w-full pt-4 mt-4 border-t",children:[(0,l.jsx)("div",{children:"Ditt m\xe5nadsbelopp"}),(0,l.jsxs)("div",{className:"text-3xl font-bold",children:[(0,o.u)(r)," kr"]})]})]}),!t&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"text-lg",children:i}),(0,l.jsxs)("span",{className:"text-3xl font-bold",children:[(0,o.u)(n+r*(null!=a?a:1))," kr"]})]})]})})}var _=function(e){var t,s;let{paymentMethods:n}=(0,d.Pq)(),{paymentMethod:o}=(0,d.QK)(),[h,u]=(0,r.useState)(),[m,p]=(0,r.useState)(!0),[x,f]=(0,r.useState)(!0),{headerClass:j,setHeaderClass:v}=(0,c.bp)(),b={orderResult:h,setOrderResult:u,showSummary:x,setShowSummary:f,showPaymentMethods:m,setShowPaymentMethods:p},C=(0,r.useMemo)(()=>n.some(e=>"trustly"===e.value),[n]),g=(0,a.cI)({defaultValues:{paymentMethod:null!==(s=null!=o?o:null===(t=n[0])||void 0===t?void 0:t.value)&&void 0!==s?s:null},mode:"all",shouldUnregister:!0});return(0,r.useEffect)(()=>(C&&"has-trustly"!==j&&v("has-trustly"),()=>{v("")}),[]),(0,l.jsxs)(a.RV,{...g,...b,children:[x&&(0,l.jsx)(P,{haveMembershipAmount:e.formSettings.haveMembershipAmount}),(0,l.jsxs)(y,{orderSessionId:e.orderSessionId,children:[(0,l.jsx)("div",{className:i()({hidden:!m||(null==n?void 0:n.length)===1}),children:(0,l.jsx)(H,{orderSessionId:e.orderSessionId,states:b})}),(0,l.jsx)(D,{type:e.type,orderSessionId:e.orderSessionId,stepRef:e.stepRef,formSettings:e.formSettings})]})]})}},7310:function(e,t,s){s.d(t,{Z:function(){return n}});var l=s(2316),r=s(3063);function n(e,t,s){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i={event:"form",step:e,stepName:"confirmation",formType:t,ecommerce:{checkout:{actionField:{step:e},items:s}}};n&&(0,r.kc)(n,"pushDataLayer",i),(0,l.zz)(i,!0)}},34656:function(e,t,s){s.d(t,{j:function(){return n}});var l=s(85893),r=s(56723);function n(e){let{selected:t,title:s}=e;return(0,l.jsxs)("div",{className:"flex items-center text-lg font-semibold",children:[(0,l.jsx)(r.Z,{selected:t}),s]})}t.Z=function(e){let{selected:t=!1,children:s,className:r="",type:n=""}=e;return(0,l.jsx)("div",{className:["flex justify-between mb-4 border border-black-100/25 rounded group","small"===n?"px-5 py-3":"px-6 py-4",r,t?"bg-green-25 hover:bg-green-25 hover:border-green-100 border-green-100 selected":"hover:bg-green-25 hover:border-green-100"].join(" "),children:s})}}}]); 2//# sourceMappingURL=2897.cac9d1de22cd2074.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.