PageSourceSearch

https://www.hjart-lungfonden.se/component---src-pages-gavokort-order-reference-tsx-4077422d508706d31615.js

js hjart-lungfonden.se collected 2026-10-02 05:31:39 UTC 14,639 bytes, 1 lines download raw bytes

1(self.webpackChunkhjart_lungfonden=self.webpackChunkhjart_lungfonden||[]).push([[525],{2413:function(n,e,t){"use strict";var r=t(30200);n.exports=r.Promise},9803:function(n,e,t){"use strict";var r=t(73938),i=t(65335),u=t(39836);n.exports=function(n,e){if(r(n),i(e)&&e.constructor===n)return e;var t=u.f(n);return(0,t.resolve)(e),t.promise}},10124:function(n,e,t){var r=t(9325);n.exports=function(){return r.Date.now()}},31800:function(n){var e=/\s/;n.exports=function(n){for(var t=n.length;t--&&e.test(n.charAt(t)););return t}},38221:function(n,e,t){var r=t(23805),i=t(10124),u=t(99374),o=Math.max,c=Math.min;n.exports=function(n,e,t){var a,f,s,l,d,m,v=0,p=!1,g=!1,h=!0;if("function"!=typeof n)throw new TypeError("Expected a function");function y(e){var t=a,r=f;return a=f=void 0,v=e,l=n.apply(r,t)}function w(n){var t=n-m;return void 0===m||t>=e||t<0||g&&n-v>=s}function b(){var n=i();if(w(n))return C(n);d=setTimeout(b,function(n){var t=e-(n-m);return g?c(t,s-(n-v)):t}(n))}function C(n){return d=void 0,h&&a?y(n):(a=f=void 0,l)}function N(){var n=i(),t=w(n);if(a=arguments,f=this,m=n,t){if(void 0===d)return function(n){return v=n,d=setTimeout(b,e),p?y(n):l}(m);if(g)return clearTimeout(d),d=setTimeout(b,e),y(m)}return void 0===d&&(d=setTimeout(b,e)),l}return e=u(e)||0,r(t)&&(p=!!t.leading,s=(g="maxWait"in t)?o(u(t.maxWait)||0,e):s,h="trailing"in t?!!t.trailing:h),N.cancel=function(){void 0!==d&&clearTimeout(d),v=0,a=m=f=d=void 0},N.flush=function(){return void 0===d?l:C(i())},N}},39836:function(n,e,t){"use strict";var r=t(24601),i=TypeError,u=function(n){var e,t;this.promise=new n((function(n,r){if(void 0!==e||void 0!==t)throw i("Bad Promise constructor");e=n,t=r})),this.resolve=r(e),this.reject=r(t)};n.exports.f=function(n){return new u(n)}},54128:function(n,e,t){var r=t(31800),i=/^\s+/;n.exports=function(n){return n?n.slice(0,r(n)+1).replace(i,""):n}},54208:function(n,e,t){"use strict";t.d(e,{z:function(){return f}});var r=t(79071),i=t(75128),u=t.n(i),o=t(96540),c=t(26507),a=t(80398),f=function(){var n=(0,o.useState)(a._Z),e=n[0],t=n[1],i=(0,o.useState)(),f=i[0],s=i[1],l=(0,o.useState)(!1),d=l[0],m=l[1],v=function(){var n=(0,r.A)(u().mark((function n(e){var r,i,o,f,l,d,v,p,g;return u().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t(a.qF),m(!0),n.prev=2,n.next=5,(0,c.tw)(e);case 5:r=n.sent,(i=r.data)&&(o=i.otherData,f=i.amount,l=i.showAmount,d=i.senderName,v=i.senderPhone,p=i.template,g={title:null==o?void 0:o.greetingTitle,message:null==o?void 0:o.greetingMessage,amount:f,showAmount:l,senderName:d,senderPhone:v,template:null==p?void 0:p.templateID},s(g),t(a.L8),m(!1)),i||(t(a.k),m(!1)),n.next=15;break;case 11:n.prev=11,n.t0=n.catch(2),t(a.k),m(!1);case 15:case"end":return n.stop()}}),n,null,[[2,11]])})));return function(e){return n.apply(this,arguments)}}();return{getGreeetingCardData:v,orderData:f,progress:e,loading:d}}},72342:function(n,e,t){"use strict";t.r(e),t.d(e,{Head:function(){return N}});var r,i,u,o=t(5944),c=t(96540),a=t(48504),f=t(30592),s=t(79746),l=t(78496),d=t(69514),m=t(39822),v=t(54208),p=t(85578),g=t(33330),h=t(80398),y=t(82562),w=t(33922),b=t(41334),C=t(58076),N=function(n){var e,t,r,i,u=n.location,o=n.data.contentfulTranslations;return c.createElement(a.k,{title:null==o||null===(e=o.translations)||void 0===e||null===(t=e.digitalGreetingCard)||void 0===t?void 0:t.metaTitle,titleSuffix:"",description:null==o||null===(r=o.translations)||void 0===r||null===(i=r.digitalGreetingCard)||void 0===i?void 0:i.metaDesc,keywords:"",metaImage:{file:{url:"/images/og-image-dgc.png"}},noIndex:!0,currentPath:null==u?void 0:u.pathname})};e.default=function(n){var e,t=n.orderReference,r=n.data,i=(0,p.M)(),u=i.isTablet,o=i.viewStateDetected,a=(0,c.useState)(!1),f=a[0],s=a[1],b=(0,c.useState)(!1),C=b[0],N=b[1],E=(0,v.z)(),x=E.getGreeetingCardData,I=E.orderData,S=E.progress,L=(0,g.c)().i18n,_=null==I?void 0:I.template,M=r.allContentfulDigitalGreetingCard;(0,c.useEffect)((function(){var n;t&&x(((n={})[y.Hn]=t,n))}),[t]);return(0,c.useEffect)((function(){var n=function(){return N(!0)};return window.addEventListener("CookiebotOnLoad",n),function(){return window.removeEventListener("CookiebotOnLoad",n)}}),[]),(0,c.useEffect)((function(){var n=setTimeout((function(){N(!0)}),1e4);return function(){return clearTimeout(n)}}
1),[]),(0,c.useEffect)((function(){!o||u||C||N(!0)}),[o,u,C]),c.createElement(T,null,I&&_&&(null==M||null===(e=M.edges)||void 0===e?void 0:e.filter((function(n){var e;return(null==n||null===(e=n.node)||void 0===e?void 0:e.cardId)===_})).map((function(n){var e=n.node,r=e.asset,i=e.animation,u=e.backgroundColor,o=e.cardId;return f?c.createElement(d.A,{key:o,asset:r,backgroundColor:null==u?void 0:u.value,title:I.title,message:I.message,amount:I.showAmount?I.amount:void 0,senderName:I.senderName,senderPhone:I.senderPhone,orderId:t,type:w.ev}):c.createElement(c.Fragment,null,c.createElement(A,null,c.createElement(D,null)),c.createElement(P,null),c.createElement(m.A,{asset:r,backgroundColor:null==u?void 0:u.value,title:I.title,message:I.message,amount:I.showAmount?I.amount:void 0,animation:i,start:C,onComplete:function(){return s(!0)},type:w.ev}))}))),!I&&c.createElement(l.k,{size:"l",color:"white"}),S===h.k&&c.createElement(k,{severity:w.ff},L("errorMessages.general")))};var T=C.default.div.withConfig({displayName:"orderReference__Container",componentId:"sc-gnbcnj-0"})(["position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background-color:",";",";"],(function(n){return n.theme.cream}),b.$_.L(r||(r=(0,o.A)(["\n    scrollbar-width: none;\n    overflow: scroll;\n  "])))),P=C.default.div.withConfig({displayName:"orderReference__Circle",componentId:"sc-gnbcnj-1"})(["position:absolute;background-color:",";width:",";height:",";border-radius:50%;"],(function(n){return n.theme.yellowLight}),(0,b.D0)(291),(0,b.D0)(291)),A=C.default.div.withConfig({displayName:"orderReference__Header",componentId:"sc-gnbcnj-2"})(["position:absolute;display:flex;justify-content:center;align-items:center;top:0;height:",";width:100%;border-bottom:"," solid rgba(51,51,51,0.15);max-width:calc(100% - ",");",";"],(0,b.D0)(79),(0,b.D0)(1),(0,b.D0)(32),b.$_.L(i||(i=(0,o.A)(["\n    height: ",";\n    max-width: ",";\n  "])),(0,b.D0)(91),(0,b.D0)(1024))),D=(0,C.default)(s.W).withConfig({displayName:"orderReference__StyledLogo",componentId:"sc-gnbcnj-3"})(["height:",";",""],(0,b.D0)(28),b.$_.L(u||(u=(0,o.A)(["\n    height: ",";\n  "])),(0,b.D0)(36))),k=(0,C.default)(f.F).withConfig({displayName:"orderReference__StyledAlert",componentId:"sc-gnbcnj-4"})(["position:absolute;bottom:0;margin:",";"],(function(n){return n.theme.spacingM}))},75171:function(n,e,t){"use strict";t.d(e,{L:function(){return i}});var r=t(96540),i=function(){var n=(0,r.useState)(!1),e=n[0],t=n[1],i=(0,r.useState)(!1),u=i[0],o=i[1];return(0,r.useEffect)((function(){var n=void 0===window.navigator?"":navigator.userAgent,e=Boolean(n.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile|WPDesktop/i));t(e),o(!0)}),[]),{isMobile:e,deviceDetected:u}}},78659:function(n,e,t){var r=t(87133),i=t(99374);n.exports=function(n,e,t){return void 0===t&&(t=e,e=void 0),void 0!==t&&(t=(t=i(t))==t?t:0),void 0!==e&&(e=(e=i(e))==e?e:0),r(i(n),e,t)}},82562:function(n,e,t){"use strict";t.d(e,{$$:function(){return G},$_:function(){return bn},AN:function(){return qn},AW:function(){return N},B2:function(){return jn},BD:function(){return r},Bc:function(){return Fn},Bs:function(){return on},CA:function(){return V},Ch:function(){return ge},D6:function(){return y},DQ:function(){return ce},Er:function(){return xn},F5:function(){return w},Ge:function(){return le},Gy:function(){return ie},H:function(){return Vn},HK:function(){return vn},HM:function(){return q},Hd:function(){return rn},Hn:function(){return H},Hu:function(){return Ce},IA:function(){return An},Id:function(){return pe},Io:function(){return fe},JH:function(){return yn},JU:function(){return en},Ke:function(){return P},Kq:function(){return f},L7:function(){return Nn},LA:function(){return ne},MK:function(){return x},Mx:function(){return Z},Mz:function(){return T},NA:function(){return E},Nh:function(){return p},OH:function(){return Hn},Oh:function(){return Y},PH:function(){return Pn},Pl:function(){return $n},Pt:function(){return D},Pv:function(){return j},Q4:function(){return R},Q8:function(){return Q},RD:function(){return me},Sx:function(){return Jn},Tm:function(){return v},Tt:function(){return B},Uh:function(){return d},Un:function(){return ae},V0:function(){return L},V9:function(){return Qn},Vh:function(){return he},Vz:function(){return M},W5:function(){return s},WU:function(){return C},Wo:function(){return cn},XF:function(){return Yn},XW:function(){return Te},XX:function(){return g},Xh:function(){return z},Y_:function(){return F},ZL:function(){return In},ZW:function(){return nn},ZX:function(){return k},Zg:function(){return de},_X:function(){return U},_Y:function(){return sn},b3:function(){return I},b4:function(){return Dn},bG:function(){return oe},bx:function(){return be},cM:function(){return Sn},ce:function(){return Zn},d:function(){return Bn},dA:function(){return ee},ev:function(){return A},f1:function(){return tn},f6:function(){return i},fF:function(){return te},fz:function(){return J},gA:function(){return Rn},gX:function(){return O},gg:function(){return b},hE:function(){return o},hU:function(){return On},hW:function(){return an},ho:function(){return c},hv:function(){return re},il:function(){return kn},iz:function(){return Kn},jP:function(){return _n},jx:function(){return ye},k_:function(){return S},l1:function(){return X},lV:function(){return l},l_:function(){return a},mQ:function(){return un},nU:function(){return we},nc:function(){return ve},nr:function(){return ln},o5:function(){return Wn},o6:function(){return m},p4:function(){return zn},pC:function(){return $},pc:function(){return fn},ph:function(){return u},po:function(){return En},pw:function(){return _},qG:function(){return Xn},qN:function(){return Gn},qV:function(){return ue},rd:function(){return Un},rw:function(){return dn},sk:function(){return wn},tB:function(){return pn},tO:function(){return h},v9:function(){return hn},vE:function(){return K},wM:function(){return Tn},wX:function(){return mn},x2:function(){return Cn},y1:function(){return gn},yG:function(){return se},yI:function(){return Ne},yK:function(){return W},yl:function(){return Ln},zv:function(){return Mn}});var r="address",i="addressCity",u="addressStreet",o="addressZipCode",c="amount",a="additionalAmount",f="company",s="companyAndPrivate",l="customAmount",d="deceasedFirstName",m="deceasedLastName",v="email",p="billingEmail",g="newsletterEmail",h="firstName",y="giftCardRecieverFirstName",w="giftCardRecieverLastName",b="giftCardRecieverParlourName",C="giftCardRecieverStreet",N="giftCardRecieverZipCode",T="giftCardRecieverCity",P="giftFieldOfInterest",A="greeting",D="lastName",k="personalNumber",E="phoneNumber",x="ssnOrgNumber",I="subscribeToNewsletter",S="newsletter",L="currentEmail",_="
1campaignCode",M="predefined",R="custom",F="clearingNumber",O="accountNumber",G="briteToken",j="relative",H="orderReference",W="formType",Z="trackingCode",z="giftCardTextOverflowing",B="clinic",X="hospital",$="municipality",U="phonenr",V="pageTypeSearch",q="ssn",K="manual",Q="auto",Y="lookUpGuid",J="lookUpValues",nn="templateId",en="templateEnvironment",tn="selectedDeceasedPerson",rn="selectedReceiverType",un="selectedTab",on="selectedInputTypeDeceasedPerson",cn="selectedInputTypeFuneralParlor",an="selectedInputTypeMyContactDetails",fn="selectedInputAccountDetails",sn="selectedContactType",ln="selectedFuneralParlor",dn="selectedOrderChannel",mn="selectedAmountDisplay",vn="selectedDeliveryTime",pn="showAmount",gn="hideAmount",hn="deliveryTimeInstant",yn="deliveryTimeScheduled",wn="paymentType",bn="swish",Cn="card",Nn="bank",Tn="invoice",Pn="digitalInvoice",An="digitalSignage",Dn="field1",kn="field2",En="field3",xn="base64Preview",In="greetingTitle",Sn="greetingMessage",Ln="greetingSender",_n="funeralParlor",Mn="funeralParlorName",Rn="funeralParlorAddress",Fn="funeralParlorZi
1p",On="funeralParlorCity",Gn="funeralChurch",jn="funeralDate",Hn="relativeFirstName",Wn="relativeLastName",Zn="relativeAddress",zn="relativeZip",Bn="relativeCity",Xn="person",$n="personFirstName",Un="personLastName",Vn="personAddress",qn="personZip",Kn="personCity",Qn="personEmail",Yn="personPhoneNumber",Jn="companyName",ne="companyOrgNumber",ee="companyFirstName",te="companyLastName",re="companyAddress",ie="companyZip",ue="companyCity",oe="companyEmail",ce="companyPhone",ae="dgReceiverFirstName",fe="dgReceiverLastName",se="dgReceiverPhone",le="dgDate",de="dgDateTime",me="companyGift",ve="privateGift",pe="numberOfRowsExceeded",ge="cardThankYouText",he="cardThankYouTextAmount",ye="packageId",we="selectedCompanyPackage",be="matchingCompanyPackage",Ce="selectedCard",Ne="selectedCardCategory",Te="showAmountSelector"},83396:function(n,e,t){"use strict";var r=t(51605),i=t(6926),u=t(2413),o=t(92074),c=t(56492),a=t(78420),f=t(23444),s=t(9803),l=t(7485),d=u&&u.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!u&&o((function(){d.finally.call({then:function(){}},(function(){}))}))},{finally:function(n){var e=f(this,c("Promise")),t=a(n);return this.then(t?function(t){return s(e,n()).then((function(){return t}))}:n,t?function(t){return s(e,n()).then((function(){throw t}))}:n)}}),!i&&a(u)){var m=c("Promise").prototype.finally;d.finally!==m&&l(d,"finally",m,{unsafe:!0})}},85578:function(n,e,t){"use strict";t.d(e,{M:function(){return o}});var r=t(38221),i=t.n(r),u=t(96540),o=function(){var n=(0,u.useState)(!1),e=n[0],t=n[1],r=(0,u.useState)(!1),o=r[0],c=r[1],a=(0,u.useState)(!1),f=a[0],s=a[1],l=function(){var n,e,r,i=Math.min(null===(n=window)||void 0===n||null===(e=n.screen)||void 0===e?void 0:e.width,null===(r=window)||void 0===r?void 0:r.innerWidth);c(i<=1024),t(i<768)};return(0,u.useEffect)((function(){l(),s(!0);var n=i()((function(){l()}),300);return window.addEventListener("resize",n),function(){return window.removeEventListener("resize",n)}}),[]),{isMobile:e,isTablet:o,viewStateDetected:f}}},87133:function(n){n.exports=function(n,e,t){return n==n&&(void 0!==t&&(n=n<=t?n:t),void 0!==e&&(n=n>=e?n:e)),n}},99374:function(n,e,t){var r=t(54128),i=t(23805),u=t(44394),o=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,a=/^0o[0-7]+$/i,f=parseInt;n.exports=function(n){if("number"==typeof n)return n;if(u(n))return NaN;if(i(n)){var e="function"==typeof n.valueOf?n.valueOf():n;n=i(e)?e+"":e}if("string"!=typeof n)return 0===n?n:+n;n=r(n);var t=c.test(n);return t||a.test(n)?f(n.slice(2),t?2:8):o.test(n)?NaN:+n}}}]);

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.