@lifesg/react-design-system 1.0.0-alpha.19 → 1.0.0-alpha.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/accordion/index.js +4 -4
  2. package/accordion/index.js.map +1 -1
  3. package/alert/index.js +42 -42
  4. package/alert/index.js.map +1 -1
  5. package/box-container/index.js +5 -5
  6. package/box-container/index.js.map +1 -1
  7. package/breadcrumb/index.js +2 -2
  8. package/breadcrumb/index.js.map +1 -1
  9. package/button/index.js +125 -125
  10. package/button/index.js.map +1 -1
  11. package/card/index.js +23 -23
  12. package/card/index.js.map +1 -1
  13. package/checkbox/index.js +3 -3
  14. package/checkbox/index.js.map +1 -1
  15. package/cjs/index.js +44 -46
  16. package/cjs/index.js.map +1 -1
  17. package/color/color.d.ts +4 -59
  18. package/color/index.js +1 -1
  19. package/color/index.js.map +1 -1
  20. package/color/types.d.ts +4 -0
  21. package/date-input/index.js +53 -49
  22. package/date-input/index.js.map +1 -1
  23. package/design-token/design-token.d.ts +4 -0
  24. package/design-token/index.d.ts +2 -0
  25. package/design-token/index.js +6 -0
  26. package/design-token/index.js.map +1 -0
  27. package/{icon → design-token}/package.json +1 -1
  28. package/design-token/types.d.ts +7 -0
  29. package/error-display/index.js +92 -92
  30. package/error-display/index.js.map +1 -1
  31. package/feedback-rating/index.js +58 -58
  32. package/feedback-rating/index.js.map +1 -1
  33. package/footer/index.js +10 -10
  34. package/footer/index.js.map +1 -1
  35. package/form/index.js +144 -140
  36. package/form/index.js.map +1 -1
  37. package/icon-button/index.js +3 -3
  38. package/icon-button/index.js.map +1 -1
  39. package/index.d.ts +0 -1
  40. package/index.js +63 -65
  41. package/index.js.map +1 -1
  42. package/input/index.js +18 -14
  43. package/input/index.js.map +1 -1
  44. package/input-group/index.js +125 -121
  45. package/input-group/index.js.map +1 -1
  46. package/input-select/index.js +32 -28
  47. package/input-select/index.js.map +1 -1
  48. package/input-textarea/index.js +112 -108
  49. package/input-textarea/index.js.map +1 -1
  50. package/link-list/index.js +35 -35
  51. package/link-list/index.js.map +1 -1
  52. package/modal/index.js +15 -15
  53. package/modal/index.js.map +1 -1
  54. package/navbar/index.js +188 -188
  55. package/navbar/index.js.map +1 -1
  56. package/notification-banner/index.js +2 -2
  57. package/notification-banner/index.js.map +1 -1
  58. package/package.json +1 -1
  59. package/phone-number-input/index.js +126 -122
  60. package/phone-number-input/index.js.map +1 -1
  61. package/popover/index.js +7 -7
  62. package/popover/index.js.map +1 -1
  63. package/progress-indicator/index.js +7 -7
  64. package/progress-indicator/index.js.map +1 -1
  65. package/radio-button/index.js +7 -7
  66. package/radio-button/index.js.map +1 -1
  67. package/smart-app-banner/index.js +14 -14
  68. package/smart-app-banner/index.js.map +1 -1
  69. package/spec/design-token-spec/base-design-token-set.d.ts +2 -0
  70. package/text/index.js +18 -18
  71. package/text/index.js.map +1 -1
  72. package/text/text-style.d.ts +4 -100
  73. package/text-list/index.js +7 -7
  74. package/text-list/index.js.map +1 -1
  75. package/theme/design-token-helper.d.ts +2 -0
  76. package/theme/index.js +1 -1
  77. package/theme/index.js.map +1 -1
  78. package/theme/types.d.ts +10 -1
  79. package/timeline/index.js +8 -8
  80. package/timeline/index.js.map +1 -1
  81. package/timepicker/index.js +61 -57
  82. package/timepicker/index.js.map +1 -1
  83. package/toggle-button/index.js +109 -109
  84. package/toggle-button/index.js.map +1 -1
  85. package/tooltip/index.js +5 -5
  86. package/tooltip/index.js.map +1 -1
  87. package/unit-number/index.js +113 -109
  88. package/unit-number/index.js.map +1 -1
  89. package/util/utility-types.d.ts +3 -0
  90. package/icon/document-with-pencil-icon.d.ts +0 -5
  91. package/icon/icon-data.d.ts +0 -3
  92. package/icon/icon-style.d.ts +0 -1
  93. package/icon/icon.d.ts +0 -6
  94. package/icon/index.d.ts +0 -2
  95. package/icon/index.js +0 -8
  96. package/icon/index.js.map +0 -1
  97. package/icon/location-unknown-icon.d.ts +0 -5
  98. package/icon/mail-unread-icon.d.ts +0 -5
  99. package/icon/types.d.ts +0 -18
@@ -1,9 +1,9 @@
1
- import e,{jsxs as t,Fragment as r,jsx as i}from"react/jsx-runtime";import n,{keyframes as o,css as a}from"styled-components";import l from"react";const s={base:"https://assets.life.gov.sg/react-design-system/img/error/400.png",md:"https://assets.life.gov.sg/react-design-system/img/error/400@2x.png",lg:"https://assets.life.gov.sg/react-design-system/img/error/400@3x.png"},c={base:"https://assets.life.gov.sg/react-design-system/img/error/403.png",md:"https://assets.life.gov.sg/react-design-system/img/error/403@2x.png",lg:"https://assets.life.gov.sg/react-design-system/img/error/403@3x.png"},d={base:"https://assets.life.gov.sg/react-design-system/img/error/404.png",md:"https://assets.life.gov.sg/react-design-system/img/error/404@2x.png",lg:"https://assets.life.gov.sg/react-design-system/img/error/404@3x.png"},g={base:"https://assets.life.gov.sg/react-design-system/img/error/500.png",md:"https://assets.life.gov.sg/react-design-system/img/error/500@2x.png",lg:"https://assets.life.gov.sg/react-design-system/img/error/500@3x.png"},h={base:"https://assets.life.gov.sg/react-design-system/img/error/503.png",md:"https://assets.life.gov.sg/react-design-system/img/error/503@2x.png",lg:"https://assets.life.gov.sg/react-design-system/img/error/503@3x.png"},p={base:"https://assets.life.gov.sg/react-design-system/img/error/unsupported-browser.png",md:"https://assets.life.gov.sg/react-design-system/img/error/unsupported-browser@2x.png",lg:"https://assets.life.gov.sg/react-design-system/img/error/unsupported-browser@3x.png"},f=e=>{const{base:t,md:r,lg:i}=e;return{srcSet:`${t} 416w, ${r} 832w, ${i} 1248w`,src:i,sizes:"(max-width: 480px) 416px, (max-width: 1199px) 832px, 1248px"}},u=new Map([["400",{img:f(s),title:"Something went wrong",description:t(r,{children:["Please refresh the page or try again later. If it’s still not working, email"," ",i("a",{href:"mailto:helpdesk@life.gov.sg",children:"helpdesk@life.gov.sg"})," ","and let us know you received a HTTP 400 error."]})}],["403",{img:f(c),title:"Error loading page",description:t(r,{children:["You may not have permission to view this page. If you believe this is a mistake, email"," ",i("a",{href:"mailto:helpdesk@life.gov.sg",children:"helpdesk@life.gov.sg"}),"."]})}],["404",{img:f(d),title:"Page not found",description:t(r,{children:["If you entered or pasted the URL, check that it’s correct. If you followed a link on LifeSG, email"," ",i("a",{href:"mailto:helpdesk@life.gov.sg",children:"helpdesk@life.gov.sg"})," ","to let us know."]})}],["408",{img:f(s),title:"Something went wrong",description:t(r,{children:["Please refresh the page or try again later. If it’s still not working, email"," ",i("a",{href:"mailto:helpdesk@life.gov.sg",children:"helpdesk@life.gov.sg"})," ","and let us know you received a HTTP 408 error."]})}],["500",{img:f(g),title:"Something went wrong",description:t(r,{children:["Please try again later. If it’s still not working, email"," ",i("a",{href:"mailto:helpdesk@life.gov.sg","data-testid":"link--helpdesk",children:"helpdesk@life.gov.sg"})," and let us know you received a HTTP 500 error. Do include a screenshot of this page in your email."]}),renderDescription:e=>t(r,{children:["Please try again later. If it’s still not working, email"," ",i("a",{href:"mailto:helpdesk@life.gov.sg","data-testid":"link--helpdesk",children:"helpdesk@life.gov.sg"})," and let us know you received a HTTP 500 error. Do include a screenshot of this page or this reference ID in your email: ",i("strong",{children:e.referenceId}),"."]})}],["503",{img:f(h),title:"Service under maintenance",description:"This service is currently unavailable. Please try again later."}],["maintenance",{img:f(h),title:"Service under maintenance",description:"This service is currently unavailable. Please try again later.",renderDescription:e=>t(r,{children:["This service is currently unavailable. Please try again after ",i("strong",{children:e.dateString}),"."]})}],["unsupported-browser",{img:f(p),title:"Browser not supported",description:"To use LifeSG, download the latest version of Chrome, Edge, Firefox or Safari."}],["partially-supported-browser",{img:f(p),title:"Browser not supported",description:"LifeSG works best with the latest version of Chrome, Edge, Firefox or Safari. If you continue with your browser, you may run into problems."}]]);var m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},y=Array.isArray,v="object"==typeof m&&m&&m.Object===Object&&m,S="object"==typeof self&&self&&self.Object===Object&&self,b=v||S||Function("return this")(),$=b.Symbol,F=$,B=Object.prototype,H=B.hasOwnProperty,w=B.toString,D=F?F.toStringTag:void 0;var x=function(e){var t=H.call(e,D),r=e[D];try{e[D]=void 0;var i=!0}catch(e){}var n=w.call(e);return i&&(t?e[D]=r:delete e[D]),n},k=Object.prototype.toString;var z=x,_=function(e){return k.call(e)},C=$?$.toStringTag:void 0;var E=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":C&&C in Object(e)?z(e):_(e)};var W=E,T=function(e){return null!=e&&"object"==typeof e};var N=function(e){return"symbol"==typeof e||T(e)&&"[object Symbol]"==W(e)},O=y,P=N,A=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;var I=function(e,t){if(O(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!P(e))||(j.test(e)||!A.test(e)||null!=t&&e in Object(t))};var L=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},V=E,R=L;var G,X=function(e){if(!R(e))return!1;var t=V(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},M=b["__core-js_shared__"],U=(G=/[^.]+$/.exec(M&&M.keys&&M.keys.IE_PROTO||""))?"Symbol(src)_1."+G:"";var Z=function(e){return!!U&&U in e},Y=Function.prototype.toString;var q=X,J=Z,K=L,Q=function(e){if(null!=e){try{return Y.call(e)}catch(e){}try{return e+""}catch(e){}}return""},ee=/^\[object .+?Constructor\]$/,te=Function.prototype,re=Object.prototype,ie=te.toString,ne=re.hasOwnProperty,oe=RegExp("^"+ie.call(ne).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ae=function(e){return!(!K(e)||J(e))&&(q(e)?oe:ee).test(Q(e))},le=function(e,t){return null==e?void 0:e[t]};var se=function(e,t){var r=le(e,t);return ae(r)?r:void 0},ce=se(Object,"create"),de=ce;var ge=function(){this.__data__=de?de(null):{},this.size=0};var he=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},pe=ce,fe=Object.prototype.hasOwnProperty;var ue=function(e){var t=this.__data__;if(pe){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return fe.call(t,e)?t[e]:void 0},me=ce,ye=Object.prototype.hasOwnProperty;var ve=ce;var Se=ge,be=he,$e=ue,Fe=function(e){var t=this.__data__;return me?void 0!==t[e]:ye.call(t,e)},Be=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ve&&void 0===t?"__lodash_hash_undefined__":t,this};function He(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}He.prototype.clear=Se,He.prototype.delete=be,He.prototype.get=$e,He.prototype.has=Fe,He.prototype.set=Be;var we=He;var De=function(){this.__data__=[],this.size=0};var xe=function(e,t){return e===t||e!=e&&t!=t};var ke=function(e,t){for(var r=e.length;r--;)if(xe(e[r][0],t))return r;return-1},ze=ke,_e=Array.prototype.splice;var Ce=ke;var Ee=ke;var We=ke;var Te=De,Ne=function(e){var t=this.__data__,r=ze(t,e);return!(r<0)&&(r==t.length-1?t.pop():_e.call(t,r,1),--this.size,!0)},Oe=function(e){var t=this.__data__,r=Ce(t,e);return r<0?void 0:t[r][1]},Pe=function(e){return Ee(this.__data__,e)>-1},Ae=function(e,t){var r=this.__data__,i=We(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this};function je(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}je.prototype.clear=Te,je.prototype.delete=Ne,je.prototype.get=Oe,je.prototype.has=Pe,je.prototype.set=Ae;var Ie=je,Le=se(b,"Map"),Ve=we,Re=Ie,Ge=Le;var Xe=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Me=function(e,t){var r=e.__data__;return Xe(t)?r["string"==typeof t?"string":"hash"]:r.map},Ue=Me;var Ze=Me;var Ye=Me;var qe=Me;var Je=function(){this.size=0,this.__data__={hash:new Ve,map:new(Ge||Re),string:new Ve}},Ke=function(e){var t=Ue(this,e).delete(e);return this.size-=t?1:0,t},Qe=function(e){return Ze(this,e).get(e)},et=function(e){return Ye(this,e).has(e)},tt=function(e,t){var r=qe(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this};function rt(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}rt.prototype.clear=Je,rt.prototype.delete=Ke,rt.prototype.get=Qe,rt.prototype.has=et,rt.prototype.set=tt;var it=rt;function nt(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var i=arguments,n=t?t.apply(this,i):i[0],o=r.cache;if(o.has(n))return o.get(n);var a=e.apply(this,i);return r.cache=o.set(n,a)||o,a};return r.cache=new(nt.Cache||it),r}nt.Cache=it;var ot=nt;var at=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,lt=/\\(\\)?/g,st=function(e){var t=ot(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(at,(function(e,r,i,n){t.push(i?n.replace(lt,"$1"):r||e)})),t}));var ct=function(e,t){for(var r=-1,i=null==e?0:e.length,n=Array(i);++r<i;)n[r]=t(e[r],r,e);return n},dt=y,gt=N,ht=$?$.prototype:void 0,pt=ht?ht.toString:void 0;var ft=function e(t){if("string"==typeof t)return t;if(dt(t))return ct(t,e)+"";if(gt(t))return pt?pt.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r},ut=ft;var mt=y,yt=I,vt=st,St=function(e){return null==e?"":ut(e)};var bt=N;var $t=function(e,t){return mt(e)?e:yt(e,t)?[e]:vt(St(e))},Ft=function(e){if("string"==typeof e||bt(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Bt=function(e,t){for(var r=0,i=(t=$t(t,e)).length;null!=e&&r<i;)e=e[Ft(t[r++])];return r&&r==i?e:void 0};var Ht=function(e,t,r){var i=null==e?void 0:Bt(e,t);return void 0===i?r:i};const wt=(e,t,r)=>t?Ht(r,t)||Ht(e,t):r||e,Dt=(e,t)=>{const r=t||e.defaultValue;return Ht(e.collections,r)};var xt;!function(e){e.colorScheme="colorScheme",e.layout="layout",e.textStyleScheme="textStyleScheme"}(xt||(xt={}));const kt={collections:{base:{Brand:{1:"#EF413D",2:"#F26664",3:"#F58E8B",4:"#F9B5B2",5:"#FDDDD7",6:"#FFEEEA"},Primary:"#1C76D5",PrimaryDark:"#1869BF",Secondary:"#0056b3",Accent:{Dark:{1:"#465A88",2:"#556D99",3:"#8D8DBF"},Light:{1:"#57A9FF",2:"#81BFFF",3:"#BED7FF",4:"#E2ECFD",5:"#F6F8FF",6:"#FBFCFE"}},Neutral:{1:"#282828",2:"#424242",3:"#686868",4:"#A4A4A4",5:"#E0E4E5",6:"#ECEFEF",7:"#F8F8F8",8:"#FFFFFF"},Validation:{Green:{Text:"#097123",Icon:"#4FC029",Border:"#95D97F",Background:"#F9FDF8"},Orange:{Text:"#B34E00",Icon:"#FEAB10",Border:"#F9CB77",Background:"#FFFCF7",Badge:"#F57F17"},Red:{Text:"#C60000",Icon:"#C60000",Border:"#DD6666",Background:"#FDF7F7"}}},bookingsg:{Brand:{1:"#EF413D",2:"#F26664",3:"#F58E8B",4:"#F9B5B2",5:"#FDDDD7",6:"#FFEEEA"},Primary:"#6F4AB8",PrimaryDark:"#6443A6",Secondary:"#6443A6",Accent:{Dark:{1:"#355985",2:"#68819D",3:"#9AABBE"},Light:{1:"#9F82D9",2:"#B5A5D7",3:"#CEC3E4 ",4:"#E2DBEF",5:"#F2EFF8",6:"#F7F6FB"}},Neutral:{1:"#282828",2:"#424242",3:"#686868",4:"#A4A4A4",5:"#E0E4E5",6:"#ECEFEF",7:"#F8F8F8",8:"#FFFFFF"},Validation:{Green:{Text:"#097123",Icon:"#4FC029",Border:"#95D97F",Background:"#F9FDF8"},Orange:{Text:"#B34E00",Icon:"#FEAB10",Border:"#F9CB77",Background:"#FFFCF7",Badge:"#F57F17"},Red:{Text:"#C60000",Icon:"#C60000",Border:"#DD6666",Background:"#FDF7F7"}}}},defaultValue:"base"},zt=e=>t=>{const r=t.theme,i=Dt(kt,r[xt.colorScheme]);return r.options&&r.options.color?wt(i,e,r.options.color):wt(i,e)},_t={Brand:{1:zt("Brand.1"),2:zt("Brand.2"),3:zt("Brand.3"),4:zt("Brand.4"),5:zt("Brand.5"),6:zt("Brand.6")},Primary:zt("Primary"),PrimaryDark:zt("PrimaryDark"),Secondary:zt("Secondary"),Accent:{Light:{1:zt("Accent.Light.1"),2:zt("Accent.Light.2"),3:zt("Accent.Light.3"),4:zt("Accent.Light.4"),5:zt("Accent.Light.5"),6:zt("Accent.Light.6")},Dark:{1:zt("Accent.Dark.1"),2:zt("Accent.Dark.2"),3:zt("Accent.Dark.3")}},Neutral:{1:zt("Neutral.1"),2:zt("Neutral.2"),3:zt("Neutral.3"),4:zt("Neutral.4"),5:zt("Neutral.5"),6:zt("Neutral.6"),7:zt("Neutral.7"),8:zt("Neutral.8")},Validation:{Green:{Text:zt("Validation.Green.Text"),Icon:zt("Validation.Green.Icon"),Border:zt("Validation.Green.Border"),Background:zt("Validation.Green.Background")},Orange:{Text:zt("Validation.Orange.Text"),Icon:zt("Validation.Orange.Icon"),Border:zt("Validation.Orange.Border"),Background:zt("Validation.Orange.Background"),Badge:zt("Validation.Orange.Badge")},Red:{Text:zt("Validation.Red.Text"),Icon:zt("Validation.Red.Icon"),Border:zt("Validation.Red.Border"),Background:zt("Validation.Red.Background")}}},Ct={mobileS:320,mobileM:375,mobileL:480,tablet:1199,desktopM:1399,desktopL:1999,desktop4k:3840},Et=e=>Object.keys(Ct).reduce(((t,r)=>{const i=Ct[r];return t[r]=`@media screen and (${e}: ${i}px)`,t}),{}),Wt=Et("max-width"),Tt=(Et("min-width"),n.div`
1
+ import e,{jsxs as t,Fragment as r,jsx as i}from"react/jsx-runtime";import n,{keyframes as o,css as a}from"styled-components";import l from"react";const s={mobileS:320,mobileM:375,mobileL:480,tablet:1199,desktopM:1399,desktopL:1999,desktop4k:3840},c={base:"https://assets.life.gov.sg/react-design-system/img/error/400.png",md:"https://assets.life.gov.sg/react-design-system/img/error/400@2x.png",lg:"https://assets.life.gov.sg/react-design-system/img/error/400@3x.png"},d={base:"https://assets.life.gov.sg/react-design-system/img/error/403.png",md:"https://assets.life.gov.sg/react-design-system/img/error/403@2x.png",lg:"https://assets.life.gov.sg/react-design-system/img/error/403@3x.png"},g={base:"https://assets.life.gov.sg/react-design-system/img/error/404.png",md:"https://assets.life.gov.sg/react-design-system/img/error/404@2x.png",lg:"https://assets.life.gov.sg/react-design-system/img/error/404@3x.png"},h={base:"https://assets.life.gov.sg/react-design-system/img/error/generic-error.png",md:"https://assets.life.gov.sg/react-design-system/img/error/generic-error@2x.png",lg:"https://assets.life.gov.sg/react-design-system/img/error/generic-error@3x.png"},p={base:"https://assets.life.gov.sg/react-design-system/img/error/503.png",md:"https://assets.life.gov.sg/react-design-system/img/error/503@2x.png",lg:"https://assets.life.gov.sg/react-design-system/img/error/503@3x.png"},f={base:"https://assets.life.gov.sg/react-design-system/img/error/generic-error.png",md:"https://assets.life.gov.sg/react-design-system/img/error/generic-error@2x.png",lg:"https://assets.life.gov.sg/react-design-system/img/error/generic-error@3x.png"},u=e=>{const{base:t,md:r,lg:i}=e;return{srcSet:`${t} 416w, ${r} 832w, ${i} 1248w`,src:i,sizes:`(max-width: ${s.mobileL}px) 416px, (max-width: ${s.tablet}px) 832px, 1248px`}},m=e=>{const{base:t,md:r,lg:i}=e;return{srcSet:`${t} 400w, ${r} 800w, ${i} 1200w`,src:i,sizes:`(max-width: ${s.mobileL}px) 400px, (max-width: ${s.tablet}px) 800px, 1200px`}},y=new Map([["400",{img:u(c),title:"Something went wrong",description:t(r,{children:["Please refresh the page or try again later. If it’s still not working, email"," ",i("a",{href:"mailto:helpdesk@life.gov.sg",children:"helpdesk@life.gov.sg"})," ","and let us know you received a HTTP 400 error."]})}],["403",{img:u(d),title:"Error loading page",description:t(r,{children:["You may not have permission to view this page. If you believe this is a mistake, email"," ",i("a",{href:"mailto:helpdesk@life.gov.sg",children:"helpdesk@life.gov.sg"}),"."]})}],["404",{img:u(g),title:"Page not found",description:t(r,{children:["If you entered or pasted the URL, check that it’s correct. If you followed a link on LifeSG, email"," ",i("a",{href:"mailto:helpdesk@life.gov.sg",children:"helpdesk@life.gov.sg"})," ","to let us know."]})}],["408",{img:u(c),title:"Something went wrong",description:t(r,{children:["Please refresh the page or try again later. If it’s still not working, email"," ",i("a",{href:"mailto:helpdesk@life.gov.sg",children:"helpdesk@life.gov.sg"})," ","and let us know you received a HTTP 408 error."]})}],["500",{img:m(h),title:"Something went wrong",description:t(r,{children:["Please try again later. If it’s still not working, email"," ",i("a",{href:"mailto:helpdesk@life.gov.sg","data-testid":"link--helpdesk",children:"helpdesk@life.gov.sg"})," and let us know you received a HTTP 500 error. Do include a screenshot of this page in your email."]}),renderDescription:e=>t(r,{children:["Please try again later. If it’s still not working, email"," ",i("a",{href:"mailto:helpdesk@life.gov.sg","data-testid":"link--helpdesk",children:"helpdesk@life.gov.sg"})," and let us know you received a HTTP 500 error. Do include a screenshot of this page or this reference ID in your email: ",i("strong",{children:e.referenceId}),"."]})}],["503",{img:u(p),title:"Service under maintenance",description:"This service is currently unavailable. Please try again later."}],["maintenance",{img:u(p),title:"Service under maintenance",description:"This service is currently unavailable. Please try again later.",renderDescription:e=>t(r,{children:["This service is currently unavailable. Please try again after ",i("strong",{children:e.dateString}),"."]})}],["unsupported-browser",{img:m(f),title:"Browser not supported",description:"To use LifeSG, download the latest version of Chrome, Edge, Firefox or Safari."}],["partially-supported-browser",{img:m(f),title:"Browser not supported",description:"LifeSG works best with the latest version of Chrome, Edge, Firefox or Safari. If you continue with your browser, you may run into problems."}]]);var S="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},v=Array.isArray,$="object"==typeof S&&S&&S.Object===Object&&S,b="object"==typeof self&&self&&self.Object===Object&&self,F=$||b||Function("return this")(),B=F.Symbol,H=B,w=Object.prototype,D=w.hasOwnProperty,x=w.toString,k=H?H.toStringTag:void 0;var z=function(e){var t=D.call(e,k),r=e[k];try{e[k]=void 0;var i=!0}catch(e){}var n=x.call(e);return i&&(t?e[k]=r:delete e[k]),n},_=Object.prototype.toString;var C=z,E=function(e){return _.call(e)},T=B?B.toStringTag:void 0;var W=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":T&&T in Object(e)?C(e):E(e)};var N=W,A=function(e){return null!=e&&"object"==typeof e};var O=function(e){return"symbol"==typeof e||A(e)&&"[object Symbol]"==N(e)},P=v,j=O,I=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/;var V=function(e,t){if(P(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!j(e))||(L.test(e)||!I.test(e)||null!=t&&e in Object(t))};var R=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},G=W,X=R;var M,U=function(e){if(!X(e))return!1;var t=G(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Z=F["__core-js_shared__"],Y=(M=/[^.]+$/.exec(Z&&Z.keys&&Z.keys.IE_PROTO||""))?"Symbol(src)_1."+M:"";var q=function(e){return!!Y&&Y in e},J=Function.prototype.toString;var K=U,Q=q,ee=R,te=function(e){if(null!=e){try{return J.call(e)}catch(e){}try{return e+""}catch(e){}}return""},re=/^\[object .+?Constructor\]$/,ie=Function.prototype,ne=Object.prototype,oe=ie.toString,ae=ne.hasOwnProperty,le=RegExp("^"+oe.call(ae).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var se=function(e){return!(!ee(e)||Q(e))&&(K(e)?le:re).test(te(e))},ce=function(e,t){return null==e?void 0:e[t]};var de=function(e,t){var r=ce(e,t);return se(r)?r:void 0},ge=de(Object,"create"),he=ge;var pe=function(){this.__data__=he?he(null):{},this.size=0};var fe=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ue=ge,me=Object.prototype.hasOwnProperty;var ye=function(e){var t=this.__data__;if(ue){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return me.call(t,e)?t[e]:void 0},Se=ge,ve=Object.prototype.hasOwnProperty;var $e=ge;var be=pe,Fe=fe,Be=ye,He=function(e){var t=this.__data__;return Se?void 0!==t[e]:ve.call(t,e)},we=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=$e&&void 0===t?"__lodash_hash_undefined__":t,this};function De(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}De.prototype.clear=be,De.prototype.delete=Fe,De.prototype.get=Be,De.prototype.has=He,De.prototype.set=we;var xe=De;var ke=function(){this.__data__=[],this.size=0};var ze=function(e,t){return e===t||e!=e&&t!=t};var _e=function(e,t){for(var r=e.length;r--;)if(ze(e[r][0],t))return r;return-1},Ce=_e,Ee=Array.prototype.splice;var Te=_e;var We=_e;var Ne=_e;var Ae=ke,Oe=function(e){var t=this.__data__,r=Ce(t,e);return!(r<0)&&(r==t.length-1?t.pop():Ee.call(t,r,1),--this.size,!0)},Pe=function(e){var t=this.__data__,r=Te(t,e);return r<0?void 0:t[r][1]},je=function(e){return We(this.__data__,e)>-1},Ie=function(e,t){var r=this.__data__,i=Ne(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this};function Le(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}Le.prototype.clear=Ae,Le.prototype.delete=Oe,Le.prototype.get=Pe,Le.prototype.has=je,Le.prototype.set=Ie;var Ve=Le,Re=de(F,"Map"),Ge=xe,Xe=Ve,Me=Re;var Ue=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Ze=function(e,t){var r=e.__data__;return Ue(t)?r["string"==typeof t?"string":"hash"]:r.map},Ye=Ze;var qe=Ze;var Je=Ze;var Ke=Ze;var Qe=function(){this.size=0,this.__data__={hash:new Ge,map:new(Me||Xe),string:new Ge}},et=function(e){var t=Ye(this,e).delete(e);return this.size-=t?1:0,t},tt=function(e){return qe(this,e).get(e)},rt=function(e){return Je(this,e).has(e)},it=function(e,t){var r=Ke(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this};function nt(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}nt.prototype.clear=Qe,nt.prototype.delete=et,nt.prototype.get=tt,nt.prototype.has=rt,nt.prototype.set=it;var ot=nt;function at(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var i=arguments,n=t?t.apply(this,i):i[0],o=r.cache;if(o.has(n))return o.get(n);var a=e.apply(this,i);return r.cache=o.set(n,a)||o,a};return r.cache=new(at.Cache||ot),r}at.Cache=ot;var lt=at;var st=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ct=/\\(\\)?/g,dt=function(e){var t=lt(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(st,(function(e,r,i,n){t.push(i?n.replace(ct,"$1"):r||e)})),t}));var gt=function(e,t){for(var r=-1,i=null==e?0:e.length,n=Array(i);++r<i;)n[r]=t(e[r],r,e);return n},ht=v,pt=O,ft=B?B.prototype:void 0,ut=ft?ft.toString:void 0;var mt=function e(t){if("string"==typeof t)return t;if(ht(t))return gt(t,e)+"";if(pt(t))return ut?ut.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r},yt=mt;var St=v,vt=V,$t=dt,bt=function(e){return null==e?"":yt(e)};var Ft=O;var Bt=function(e,t){return St(e)?e:vt(e,t)?[e]:$t(bt(e))},Ht=function(e){if("string"==typeof e||Ft(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var wt=function(e,t){for(var r=0,i=(t=Bt(t,e)).length;null!=e&&r<i;)e=e[Ht(t[r++])];return r&&r==i?e:void 0};var Dt=function(e,t,r){var i=null==e?void 0:wt(e,t);return void 0===i?r:i};const xt=(e,t,r)=>t?Dt(r,t)||Dt(e,t):r||e,kt=(e,t)=>{const r=t||e.defaultValue;return Dt(e.collections,r)};var zt;!function(e){e.colorScheme="colorScheme",e.layout="layout",e.textStyleScheme="textStyleScheme",e.designTokenScheme="designTokenScheme"}(zt||(zt={}));const _t={collections:{base:{Brand:{1:"#EF413D",2:"#F26664",3:"#F58E8B",4:"#F9B5B2",5:"#FDDDD7",6:"#FFEEEA"},Primary:"#1C76D5",PrimaryDark:"#1869BF",Secondary:"#0056b3",Accent:{Dark:{1:"#465A88",2:"#556D99",3:"#8D8DBF"},Light:{1:"#57A9FF",2:"#81BFFF",3:"#BED7FF",4:"#E2ECFD",5:"#F6F8FF",6:"#FBFCFE"}},Neutral:{1:"#282828",2:"#424242",3:"#686868",4:"#A4A4A4",5:"#E0E4E5",6:"#ECEFEF",7:"#F8F8F8",8:"#FFFFFF"},Validation:{Green:{Text:"#097123",Icon:"#4FC029",Border:"#95D97F",Background:"#F9FDF8"},Orange:{Text:"#B34E00",Icon:"#FEAB10",Border:"#F9CB77",Background:"#FFFCF7",Badge:"#F57F17"},Red:{Text:"#C60000",Icon:"#C60000",Border:"#DD6666",Background:"#FDF7F7"}},Shadow:{Accent:"rgba(87, 169, 255, 0.5)",Red:"rgba(221, 102, 102, 0.8)"}},bookingsg:{Brand:{1:"#EF413D",2:"#F26664",3:"#F58E8B",4:"#F9B5B2",5:"#FDDDD7",6:"#FFEEEA"},Primary:"#6F4AB8",PrimaryDark:"#6443A6",Secondary:"#6443A6",Accent:{Dark:{1:"#355985",2:"#68819D",3:"#9AABBE"},Light:{1:"#9F82D9",2:"#B5A5D7",3:"#CEC3E4 ",4:"#E2DBEF",5:"#F2EFF8",6:"#F7F6FB"}},Neutral:{1:"#282828",2:"#424242",3:"#686868",4:"#A4A4A4",5:"#E0E4E5",6:"#ECEFEF",7:"#F8F8F8",8:"#FFFFFF"},Validation:{Green:{Text:"#097123",Icon:"#4FC029",Border:"#95D97F",Background:"#F9FDF8"},Orange:{Text:"#B34E00",Icon:"#FEAB10",Border:"#F9CB77",Background:"#FFFCF7",Badge:"#F57F17"},Red:{Text:"#C60000",Icon:"#C60000",Border:"#DD6666",Background:"#FDF7F7"}},Shadow:{Accent:"rgba(161, 87, 255, 0.5)",Red:"rgba(221, 102, 102, 0.8)"}}},defaultValue:"base"},Ct=e=>t=>{const r=t.theme,i=kt(_t,r[zt.colorScheme]);return r.options&&r.options.color?xt(i,e,r.options.color):xt(i,e)},Et={Brand:{1:Ct("Brand.1"),2:Ct("Brand.2"),3:Ct("Brand.3"),4:Ct("Brand.4"),5:Ct("Brand.5"),6:Ct("Brand.6")},Primary:Ct("Primary"),PrimaryDark:Ct("PrimaryDark"),Secondary:Ct("Secondary"),Accent:{Light:{1:Ct("Accent.Light.1"),2:Ct("Accent.Light.2"),3:Ct("Accent.Light.3"),4:Ct("Accent.Light.4"),5:Ct("Accent.Light.5"),6:Ct("Accent.Light.6")},Dark:{1:Ct("Accent.Dark.1"),2:Ct("Accent.Dark.2"),3:Ct("Accent.Dark.3")}},Neutral:{1:Ct("Neutral.1"),2:Ct("Neutral.2"),3:Ct("Neutral.3"),4:Ct("Neutral.4"),5:Ct("Neutral.5"),6:Ct("Neutral.6"),7:Ct("Neutral.7"),8:Ct("Neutral.8")},Validation:{Green:{Text:Ct("Validation.Green.Text"),Icon:Ct("Validation.Green.Icon"),Border:Ct("Validation.Green.Border"),Background:Ct("Validation.Green.Background")},Orange:{Text:Ct("Validation.Orange.Text"),Icon:Ct("Validation.Orange.Icon"),Border:Ct("Validation.Orange.Border"),Background:Ct("Validation.Orange.Background"),Badge:Ct("Validation.Orange.Badge")},Red:{Text:Ct("Validation.Red.Text"),Icon:Ct("Validation.Red.Icon"),Border:Ct("Validation.Red.Border"),Background:Ct("Validation.Red.Background")}},Shadow:{Accent:Ct("Shadow.Accent"),Red:Ct("Shadow.Red")}},Tt=e=>Object.keys(s).reduce(((t,r)=>{const i=s[r];return t[r]=`@media screen and (${e}: ${i}px)`,t}),{}),Wt=Tt("max-width"),Nt=(Tt("min-width"),n.div`
2
2
  display: inline-block;
3
3
  position: relative;
4
4
  width: ${e=>e.$size}px;
5
5
  height: ${e=>e.$size}px;
6
- `),Nt=o`
6
+ `),At=o`
7
7
  0% {
8
8
  transform: rotate(0deg);
9
9
  }
@@ -20,141 +20,141 @@ import e,{jsxs as t,Fragment as r,jsx as i}from"react/jsx-runtime";import n,{key
20
20
  border-width: ${e=>e.$borderWidth}px;
21
21
  border-style: solid;
22
22
  border-radius: 50%;
23
- border-color: ${e=>e.$color||_t.Neutral[8](e)}
23
+ border-color: ${e=>e.$color||Et.Neutral[8](e)}
24
24
  transparent transparent transparent;
25
- animation: ${Nt} 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
25
+ animation: ${At} 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
26
26
  `,Pt=n(Ot)`
27
27
  animation-delay: -0.45s;
28
- `,At=n(Ot)`
29
- animation-delay: -0.3s;
30
28
  `,jt=n(Ot)`
29
+ animation-delay: -0.3s;
30
+ `,It=n(Ot)`
31
31
  animation-delay: -0.15s;
32
- `,It={Regular:"Open Sans",Semibold:"Open Sans Semibold",Bold:"Open Sans Bold",Light:"Open Sans Light"},Lt={collections:{base:{D1:{fontFamily:It.Bold,fontSize:3,fontWeight:700,lineHeight:4,letterSpacing:-.056},D2:{fontFamily:It.Bold,fontSize:2.5,fontWeight:700,lineHeight:3.5,letterSpacing:-.032},D3:{fontFamily:It.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},D4:{fontFamily:It.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},DBody:{fontFamily:It.Regular,fontSize:1.375,lineHeight:1.75},H1:{fontFamily:It.Bold,fontSize:2,fontWeight:700,lineHeight:2.5},H2:{fontFamily:It.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},H3:{fontFamily:It.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},H4:{fontFamily:It.Bold,fontSize:1.125,fontWeight:700,lineHeight:1.625},H5:{fontFamily:It.Bold,fontSize:1,fontWeight:700,lineHeight:1.5,letterSpacing:.014},H6:{fontFamily:It.Bold,fontSize:.875,fontWeight:700,lineHeight:1.6,letterSpacing:.012},Body:{fontFamily:It.Regular,fontSize:1.125,lineHeight:1.625},BodySmall:{fontFamily:It.Regular,fontSize:1,lineHeight:1.5,letterSpacing:.014},XSmall:{fontFamily:It.Regular,fontSize:.75,lineHeight:1.2,letterSpacing:.012}}},defaultValue:"base"},Vt=e=>t=>{const r=t.theme,i=Dt(Lt,r[xt.textStyleScheme]);return r.options&&r.options.textStyle?wt(i,e,r.options.textStyle):wt(i,e)},Rt={D1:{fontFamily:Vt("D1.fontFamily"),fontSize:Vt("D1.fontSize"),fontWeight:Vt("D1.fontWeight"),lineHeight:Vt("D1.lineHeight"),letterSpacing:Vt("D1.letterSpacing")},D2:{fontFamily:Vt("D2.fontFamily"),fontSize:Vt("D2.fontSize"),fontWeight:Vt("D2.fontWeight"),lineHeight:Vt("D2.lineHeight"),letterSpacing:Vt("D2.letterSpacing")},D3:{fontFamily:Vt("D3.fontFamily"),fontSize:Vt("D3.fontSize"),fontWeight:Vt("D3.fontWeight"),lineHeight:Vt("D3.lineHeight"),letterSpacing:Vt("D3.letterSpacing")},D4:{fontFamily:Vt("D4.fontFamily"),fontSize:Vt("D4.fontSize"),fontWeight:Vt("D4.fontWeight"),lineHeight:Vt("D4.lineHeight"),letterSpacing:Vt("D4.letterSpacing")},DBody:{fontFamily:Vt("DBody.fontFamily"),fontSize:Vt("DBody.fontSize"),fontWeight:Vt("DBody.fontWeight"),lineHeight:Vt("DBody.lineHeight"),letterSpacing:Vt("DBody.letterSpacing")},H1:{fontFamily:Vt("H1.fontFamily"),fontSize:Vt("H1.fontSize"),fontWeight:Vt("H1.fontWeight"),lineHeight:Vt("H1.lineHeight"),letterSpacing:Vt("H1.letterSpacing")},H2:{fontFamily:Vt("H2.fontFamily"),fontSize:Vt("H2.fontSize"),fontWeight:Vt("H2.fontWeight"),lineHeight:Vt("H2.lineHeight"),letterSpacing:Vt("H2.letterSpacing")},H3:{fontFamily:Vt("H3.fontFamily"),fontSize:Vt("H3.fontSize"),fontWeight:Vt("H3.fontWeight"),lineHeight:Vt("H3.lineHeight"),letterSpacing:Vt("H3.letterSpacing")},H4:{fontFamily:Vt("H4.fontFamily"),fontSize:Vt("H4.fontSize"),fontWeight:Vt("H4.fontWeight"),lineHeight:Vt("H4.lineHeight"),letterSpacing:Vt("H4.letterSpacing")},H5:{fontFamily:Vt("H5.fontFamily"),fontSize:Vt("H5.fontSize"),fontWeight:Vt("H5.fontWeight"),lineHeight:Vt("H5.lineHeight"),letterSpacing:Vt("H5.letterSpacing")},H6:{fontFamily:Vt("H6.fontFamily"),fontSize:Vt("H6.fontSize"),fontWeight:Vt("H6.fontWeight"),lineHeight:Vt("H6.lineHeight"),letterSpacing:Vt("H6.letterSpacing")},Body:{fontFamily:Vt("Body.fontFamily"),fontSize:Vt("Body.fontSize"),fontWeight:Vt("Body.fontWeight"),lineHeight:Vt("Body.lineHeight"),letterSpacing:Vt("Body.letterSpacing")},BodySmall:{fontFamily:Vt("BodySmall.fontFamily"),fontSize:Vt("BodySmall.fontSize"),fontWeight:Vt("BodySmall.fontWeight"),lineHeight:Vt("BodySmall.lineHeight"),letterSpacing:Vt("BodySmall.letterSpacing")},XSmall:{fontFamily:Vt("XSmall.fontFamily"),fontSize:Vt("XSmall.fontSize"),fontWeight:Vt("XSmall.fontWeight"),lineHeight:Vt("XSmall.lineHeight"),letterSpacing:Vt("XSmall.letterSpacing")}},Gt=e=>{switch(e){case 700:case"bold":return It.Bold;case 600:case"semibold":return It.Semibold;case 300:case"light":return It.Light;case 400:case"regular":return It.Regular;default:return""}},Xt=(e,t)=>r=>{const i=Rt[e].fontFamily(r),n=Rt[e].fontWeight(r);return Object.values(It).includes(i)?a`
33
- font-family: ${Gt(t)||Gt(n)||i};
32
+ `,Lt={Regular:"Open Sans",Semibold:"Open Sans Semibold",Bold:"Open Sans Bold",Light:"Open Sans Light"},Vt={collections:{base:{D1:{fontFamily:Lt.Bold,fontSize:3,fontWeight:700,lineHeight:4,letterSpacing:-.056},D2:{fontFamily:Lt.Bold,fontSize:2.5,fontWeight:700,lineHeight:3.5,letterSpacing:-.032},D3:{fontFamily:Lt.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},D4:{fontFamily:Lt.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},DBody:{fontFamily:Lt.Regular,fontSize:1.375,lineHeight:1.75},H1:{fontFamily:Lt.Bold,fontSize:2,fontWeight:700,lineHeight:2.5},H2:{fontFamily:Lt.Bold,fontSize:1.625,fontWeight:700,lineHeight:2.25},H3:{fontFamily:Lt.Bold,fontSize:1.375,fontWeight:700,lineHeight:1.75},H4:{fontFamily:Lt.Bold,fontSize:1.125,fontWeight:700,lineHeight:1.625},H5:{fontFamily:Lt.Bold,fontSize:1,fontWeight:700,lineHeight:1.5,letterSpacing:.014},H6:{fontFamily:Lt.Bold,fontSize:.875,fontWeight:700,lineHeight:1.6,letterSpacing:.012},Body:{fontFamily:Lt.Regular,fontSize:1.125,lineHeight:1.625},BodySmall:{fontFamily:Lt.Regular,fontSize:1,lineHeight:1.5,letterSpacing:.014},XSmall:{fontFamily:Lt.Regular,fontSize:.75,lineHeight:1.2,letterSpacing:.012}}},defaultValue:"base"},Rt=e=>t=>{const r=t.theme,i=kt(Vt,r[zt.textStyleScheme]);return r.options&&r.options.textStyle?xt(i,e,r.options.textStyle):xt(i,e)},Gt={D1:{fontFamily:Rt("D1.fontFamily"),fontSize:Rt("D1.fontSize"),fontWeight:Rt("D1.fontWeight"),lineHeight:Rt("D1.lineHeight"),letterSpacing:Rt("D1.letterSpacing")},D2:{fontFamily:Rt("D2.fontFamily"),fontSize:Rt("D2.fontSize"),fontWeight:Rt("D2.fontWeight"),lineHeight:Rt("D2.lineHeight"),letterSpacing:Rt("D2.letterSpacing")},D3:{fontFamily:Rt("D3.fontFamily"),fontSize:Rt("D3.fontSize"),fontWeight:Rt("D3.fontWeight"),lineHeight:Rt("D3.lineHeight"),letterSpacing:Rt("D3.letterSpacing")},D4:{fontFamily:Rt("D4.fontFamily"),fontSize:Rt("D4.fontSize"),fontWeight:Rt("D4.fontWeight"),lineHeight:Rt("D4.lineHeight"),letterSpacing:Rt("D4.letterSpacing")},DBody:{fontFamily:Rt("DBody.fontFamily"),fontSize:Rt("DBody.fontSize"),fontWeight:Rt("DBody.fontWeight"),lineHeight:Rt("DBody.lineHeight"),letterSpacing:Rt("DBody.letterSpacing")},H1:{fontFamily:Rt("H1.fontFamily"),fontSize:Rt("H1.fontSize"),fontWeight:Rt("H1.fontWeight"),lineHeight:Rt("H1.lineHeight"),letterSpacing:Rt("H1.letterSpacing")},H2:{fontFamily:Rt("H2.fontFamily"),fontSize:Rt("H2.fontSize"),fontWeight:Rt("H2.fontWeight"),lineHeight:Rt("H2.lineHeight"),letterSpacing:Rt("H2.letterSpacing")},H3:{fontFamily:Rt("H3.fontFamily"),fontSize:Rt("H3.fontSize"),fontWeight:Rt("H3.fontWeight"),lineHeight:Rt("H3.lineHeight"),letterSpacing:Rt("H3.letterSpacing")},H4:{fontFamily:Rt("H4.fontFamily"),fontSize:Rt("H4.fontSize"),fontWeight:Rt("H4.fontWeight"),lineHeight:Rt("H4.lineHeight"),letterSpacing:Rt("H4.letterSpacing")},H5:{fontFamily:Rt("H5.fontFamily"),fontSize:Rt("H5.fontSize"),fontWeight:Rt("H5.fontWeight"),lineHeight:Rt("H5.lineHeight"),letterSpacing:Rt("H5.letterSpacing")},H6:{fontFamily:Rt("H6.fontFamily"),fontSize:Rt("H6.fontSize"),fontWeight:Rt("H6.fontWeight"),lineHeight:Rt("H6.lineHeight"),letterSpacing:Rt("H6.letterSpacing")},Body:{fontFamily:Rt("Body.fontFamily"),fontSize:Rt("Body.fontSize"),fontWeight:Rt("Body.fontWeight"),lineHeight:Rt("Body.lineHeight"),letterSpacing:Rt("Body.letterSpacing")},BodySmall:{fontFamily:Rt("BodySmall.fontFamily"),fontSize:Rt("BodySmall.fontSize"),fontWeight:Rt("BodySmall.fontWeight"),lineHeight:Rt("BodySmall.lineHeight"),letterSpacing:Rt("BodySmall.letterSpacing")},XSmall:{fontFamily:Rt("XSmall.fontFamily"),fontSize:Rt("XSmall.fontSize"),fontWeight:Rt("XSmall.fontWeight"),lineHeight:Rt("XSmall.lineHeight"),letterSpacing:Rt("XSmall.letterSpacing")}},Xt=e=>{switch(e){case 700:case"bold":return Lt.Bold;case 600:case"semibold":return Lt.Semibold;case 300:case"light":return Lt.Light;case 400:case"regular":return Lt.Regular;default:return""}},Mt=(e,t)=>r=>{const i=Gt[e].fontFamily(r),n=Gt[e].fontWeight(r);return Object.values(Lt).includes(i)?a`
33
+ font-family: ${Xt(t)||Xt(n)||i};
34
34
  font-weight: normal !important;
35
35
  `:a`
36
36
  font-family: ${i};
37
- font-weight: ${(Mt(t)||n)??"normal"};
38
- `},Mt=e=>{switch(e){case 300:case"light":return 300;case 400:case"regular":return 400;case 600:case"semibold":return 600;case 700:case"bold":return 700;case 900:case"black":return 900;default:return""}},Ut=Xt,Zt=(e,t,r=!1)=>i=>{const n=Rt[e],o=n.fontSize(i);return a`
39
- ${Xt(e,t)}
37
+ font-weight: ${(Ut(t)||n)??"normal"};
38
+ `},Ut=e=>{switch(e){case 300:case"light":return 300;case 400:case"regular":return 400;case 600:case"semibold":return 600;case 700:case"bold":return 700;case 900:case"black":return 900;default:return""}},Zt=Mt,Yt=(e,t,r=!1)=>i=>{const n=Gt[e],o=n.fontSize(i);return a`
39
+ ${Mt(e,t)}
40
40
  font-size: ${o}rem !important;
41
41
  line-height: ${n.lineHeight}rem !important;
42
42
  letter-spacing: ${n.letterSpacing(i)||0}rem !important;
43
43
  ${a`
44
44
  margin-bottom: ${o*(r?1.05:0)}rem;
45
45
  `}
46
- `},Yt=(e=!1,t=!1)=>t?a`
46
+ `},qt=(e=!1,t=!1)=>t?a`
47
47
  display: block;
48
48
  `:e?a`
49
49
  display: inline;
50
50
  `:a`
51
51
  display: block;
52
- `;var qt,Jt={};Object.defineProperty(Jt,"__esModule",{value:!0});var Kt=e;const Qt=e=>Kt.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:Kt.jsx("path",{d:"M4.25 17.5C3.764 17.5 3.35067 17.33 3.01 16.99C2.67 16.6493 2.5 16.236 2.5 15.75V4.25C2.5 3.764 2.67 3.35067 3.01 3.01C3.35067 2.67 3.764 2.5 4.25 2.5H9.208C9.444 2.5 9.649 2.58667 9.823 2.76C9.99633 2.934 10.083 3.139 10.083 3.375C10.083 3.611 9.99633 3.816 9.823 3.99C9.649 4.16333 9.444 4.25 9.208 4.25H4.25V15.75H15.75V10.792C15.75 10.556 15.8367 10.351 16.01 10.177C16.184 10.0037 16.389 9.917 16.625 9.917C16.861 9.917 17.066 10.0037 17.24 10.177C17.4133 10.351 17.5 10.556 17.5 10.792V15.75C17.5 16.236 17.33 16.6493 16.99 16.99C16.6493 17.33 16.236 17.5 15.75 17.5H4.25ZM7.5 12.5C7.33333 12.3333 7.25 12.1283 7.25 11.885C7.25 11.6423 7.33333 11.4377 7.5 11.271L14.521 4.25H12.708C12.472 4.25 12.2673 4.16333 12.094 3.99C11.92 3.816 11.833 3.611 11.833 3.375C11.833 3.139 11.92 2.934 12.094 2.76C12.2673 2.58667 12.472 2.5 12.708 2.5H16.625C16.861 2.5 17.066 2.58667 17.24 2.76C17.4133 2.934 17.5 3.139 17.5 3.375V7.292C17.5 7.528 17.4133 7.73267 17.24 7.906C17.066 8.08 16.861 8.167 16.625 8.167C16.389 8.167 16.184 8.08 16.01 7.906C15.8367 7.73267 15.75 7.528 15.75 7.292V5.479L8.708 12.521C8.54133 12.6877 8.34367 12.771 8.115 12.771C7.88567 12.771 7.68067 12.6807 7.5 12.5Z",fill:"currentColor"})});var er;Qt.displayName="ExternalIcon",qt=Jt.ExternalIcon=Qt,function(e){e.D1=n.h1`
52
+ `;var Jt,Kt={};Object.defineProperty(Kt,"__esModule",{value:!0});var Qt=e;const er=e=>Qt.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:Qt.jsx("path",{d:"M4.25 17.5C3.764 17.5 3.35067 17.33 3.01 16.99C2.67 16.6493 2.5 16.236 2.5 15.75V4.25C2.5 3.764 2.67 3.35067 3.01 3.01C3.35067 2.67 3.764 2.5 4.25 2.5H9.208C9.444 2.5 9.649 2.58667 9.823 2.76C9.99633 2.934 10.083 3.139 10.083 3.375C10.083 3.611 9.99633 3.816 9.823 3.99C9.649 4.16333 9.444 4.25 9.208 4.25H4.25V15.75H15.75V10.792C15.75 10.556 15.8367 10.351 16.01 10.177C16.184 10.0037 16.389 9.917 16.625 9.917C16.861 9.917 17.066 10.0037 17.24 10.177C17.4133 10.351 17.5 10.556 17.5 10.792V15.75C17.5 16.236 17.33 16.6493 16.99 16.99C16.6493 17.33 16.236 17.5 15.75 17.5H4.25ZM7.5 12.5C7.33333 12.3333 7.25 12.1283 7.25 11.885C7.25 11.6423 7.33333 11.4377 7.5 11.271L14.521 4.25H12.708C12.472 4.25 12.2673 4.16333 12.094 3.99C11.92 3.816 11.833 3.611 11.833 3.375C11.833 3.139 11.92 2.934 12.094 2.76C12.2673 2.58667 12.472 2.5 12.708 2.5H16.625C16.861 2.5 17.066 2.58667 17.24 2.76C17.4133 2.934 17.5 3.139 17.5 3.375V7.292C17.5 7.528 17.4133 7.73267 17.24 7.906C17.066 8.08 16.861 8.167 16.625 8.167C16.389 8.167 16.184 8.08 16.01 7.906C15.8367 7.73267 15.75 7.528 15.75 7.292V5.479L8.708 12.521C8.54133 12.6877 8.34367 12.771 8.115 12.771C7.88567 12.771 7.68067 12.6807 7.5 12.5Z",fill:"currentColor"})});var tr;er.displayName="ExternalIcon",Jt=Kt.ExternalIcon=er,function(e){e.D1=n.h1`
53
53
  ${e=>a`
54
- ${Zt("D1",e.weight,e.paragraph)}
55
- color: ${_t.Neutral[1]};
56
- ${Yt(e.inline,e.paragraph)}
54
+ ${Yt("D1",e.weight,e.paragraph)}
55
+ color: ${Et.Neutral[1]};
56
+ ${qt(e.inline,e.paragraph)}
57
57
  `}
58
58
  `,e.D2=n.h1`
59
59
  ${e=>a`
60
- ${Zt("D2",e.weight,e.paragraph)}
61
- color: ${_t.Neutral[1]};
62
- ${Yt(e.inline,e.paragraph)}
60
+ ${Yt("D2",e.weight,e.paragraph)}
61
+ color: ${Et.Neutral[1]};
62
+ ${qt(e.inline,e.paragraph)}
63
63
  `}
64
64
  `,e.D3=n.h1`
65
65
  ${e=>a`
66
- ${Zt("D3",e.weight,e.paragraph)}
67
- color: ${_t.Neutral[1]};
68
- ${Yt(e.inline,e.paragraph)}
66
+ ${Yt("D3",e.weight,e.paragraph)}
67
+ color: ${Et.Neutral[1]};
68
+ ${qt(e.inline,e.paragraph)}
69
69
  `}
70
70
  `,e.D4=n.h1`
71
71
  ${e=>a`
72
- ${Zt("D4",e.weight,e.paragraph)}
73
- color: ${_t.Neutral[1]};
74
- ${Yt(e.inline,e.paragraph)}
72
+ ${Yt("D4",e.weight,e.paragraph)}
73
+ color: ${Et.Neutral[1]};
74
+ ${qt(e.inline,e.paragraph)}
75
75
  `}
76
76
  `,e.DBody=n.h1`
77
77
  ${e=>a`
78
- ${Zt("DBody",e.weight,e.paragraph)}
79
- color: ${_t.Neutral[1]};
80
- ${Yt(e.inline,e.paragraph)}
78
+ ${Yt("DBody",e.weight,e.paragraph)}
79
+ color: ${Et.Neutral[1]};
80
+ ${qt(e.inline,e.paragraph)}
81
81
  `}
82
82
  `,e.H1=n.h1`
83
83
  ${e=>a`
84
- ${Zt("H1",e.weight,e.paragraph)}
85
- color: ${_t.Neutral[1]};
86
- ${Yt(e.inline,e.paragraph)}
84
+ ${Yt("H1",e.weight,e.paragraph)}
85
+ color: ${Et.Neutral[1]};
86
+ ${qt(e.inline,e.paragraph)}
87
87
  `}
88
88
  `,e.H2=n.h2`
89
89
  ${e=>a`
90
- ${Zt("H2",e.weight,e.paragraph)}
91
- color: ${_t.Neutral[1]};
92
- ${Yt(e.inline,e.paragraph)}
90
+ ${Yt("H2",e.weight,e.paragraph)}
91
+ color: ${Et.Neutral[1]};
92
+ ${qt(e.inline,e.paragraph)}
93
93
  `}
94
94
  `,e.H3=n.h3`
95
95
  ${e=>a`
96
- ${Zt("H3",e.weight,e.paragraph)}
97
- color: ${_t.Neutral[1]};
98
- ${Yt(e.inline,e.paragraph)}
96
+ ${Yt("H3",e.weight,e.paragraph)}
97
+ color: ${Et.Neutral[1]};
98
+ ${qt(e.inline,e.paragraph)}
99
99
  `}
100
100
  `,e.H4=n.h4`
101
101
  ${e=>a`
102
- ${Zt("H4",e.weight,e.paragraph)}
103
- color: ${_t.Neutral[1]};
104
- ${Yt(e.inline,e.paragraph)}
102
+ ${Yt("H4",e.weight,e.paragraph)}
103
+ color: ${Et.Neutral[1]};
104
+ ${qt(e.inline,e.paragraph)}
105
105
  `}
106
106
  `,e.H5=n.h5`
107
107
  ${e=>a`
108
- ${Zt("H5",e.weight,e.paragraph)}
109
- color: ${_t.Neutral[1]};
110
- ${Yt(e.inline,e.paragraph)}
108
+ ${Yt("H5",e.weight,e.paragraph)}
109
+ color: ${Et.Neutral[1]};
110
+ ${qt(e.inline,e.paragraph)}
111
111
  `}
112
112
  `,e.H6=n.h6`
113
113
  ${e=>a`
114
- ${Zt("H6",e.weight,e.paragraph)}
115
- color: ${_t.Neutral[1]};
116
- ${Yt(e.inline,e.paragraph)}
114
+ ${Yt("H6",e.weight,e.paragraph)}
115
+ color: ${Et.Neutral[1]};
116
+ ${qt(e.inline,e.paragraph)}
117
117
  `}
118
118
  `,e.Body=n.p`
119
119
  ${e=>a`
120
- ${Zt("Body",e.weight,e.paragraph)}
121
- color: ${_t.Neutral[1]};
122
- ${Yt(e.inline,e.paragraph)}
120
+ ${Yt("Body",e.weight,e.paragraph)}
121
+ color: ${Et.Neutral[1]};
122
+ ${qt(e.inline,e.paragraph)}
123
123
  `}
124
124
  `,e.BodySmall=n.p`
125
125
  ${e=>a`
126
- ${Zt("BodySmall",e.weight,e.paragraph)}
127
- color: ${_t.Neutral[1]};
128
- ${Yt(e.inline,e.paragraph)}
126
+ ${Yt("BodySmall",e.weight,e.paragraph)}
127
+ color: ${Et.Neutral[1]};
128
+ ${qt(e.inline,e.paragraph)}
129
129
  `}
130
130
  `,e.XSmall=n.span`
131
131
  ${e=>a`
132
- ${Zt("XSmall",e.weight,e.paragraph)}
133
- color: ${_t.Neutral[1]};
134
- ${Yt(e.inline,e.paragraph)}
132
+ ${Yt("XSmall",e.weight,e.paragraph)}
133
+ color: ${Et.Neutral[1]};
134
+ ${qt(e.inline,e.paragraph)}
135
135
  `}
136
- `,e.Hyperlink={Default:e=>ir({...e,textStyle:"Body"}),Small:e=>ir({...e,textStyle:"BodySmall"})}}(er||(er={}));const tr=n.a`
136
+ `,e.Hyperlink={Default:e=>nr({...e,textStyle:"Body"}),Small:e=>nr({...e,textStyle:"BodySmall"})}}(tr||(tr={}));const rr=n.a`
137
137
  ${e=>a`
138
- ${Zt(e.textStyle,e.weight)}
139
- color: ${_t.Primary};
138
+ ${Yt(e.textStyle,e.weight)}
139
+ color: ${Et.Primary};
140
140
  text-decoration: none;
141
141
 
142
142
  :hover,
143
143
  :active,
144
144
  :focus {
145
- color: ${_t.Secondary};
145
+ color: ${Et.Secondary};
146
146
 
147
147
  svg {
148
- color: ${_t.Secondary};
148
+ color: ${Et.Secondary};
149
149
  }
150
150
  }
151
151
  `}
152
- `,rr=n(qt)`
152
+ `,ir=n(Jt)`
153
153
  height: 1rem;
154
154
  width: 1rem;
155
155
  margin-left: 0.4rem;
156
156
  vertical-align: middle;
157
- `,ir=({external:e=!1,children:r,...n})=>t(tr,{...n,children:[r,e&&i(rr,{})]});var nr;!function(e){e[e.Subpage=0]="Subpage",e[e.Domain=1]="Domain"}(nr||(nr={}));const or=n.button`
157
+ `,nr=({external:e=!1,children:r,...n})=>t(rr,{...n,children:[r,e&&i(ir,{})]});var or;!function(e){e[e.Subpage=0]="Subpage",e[e.Domain=1]="Domain"}(or||(or={}));const ar=n.button`
158
158
  padding: 0.5rem 1rem;
159
159
  min-width: 4rem;
160
160
  border-radius: 4px;
@@ -174,21 +174,21 @@ import e,{jsxs as t,Fragment as r,jsx as i}from"react/jsx-runtime";import n,{key
174
174
  // BUTTON STYLE + TEXT COLOR
175
175
  // -----------------------------------------------------------------------------
176
176
  ${e=>{switch(e.$buttonStyle){case"secondary":return a`
177
- background-color: ${_t.Neutral[8](e)};
178
- border: 1px solid ${_t.Primary(e)};
177
+ background-color: ${Et.Neutral[8](e)};
178
+ border: 1px solid ${Et.Primary(e)};
179
179
 
180
180
  span {
181
- color: ${_t.Primary(e)};
181
+ color: ${Et.Primary(e)};
182
182
  }
183
183
  `;case"light":return a`
184
- background-color: ${_t.Neutral[8](e)};
185
- border: 1px solid ${_t.Neutral[5](e)};
184
+ background-color: ${Et.Neutral[8](e)};
185
+ border: 1px solid ${Et.Neutral[5](e)};
186
186
 
187
187
  span {
188
- color: ${_t.Primary(e)};
188
+ color: ${Et.Primary(e)};
189
189
  }
190
190
  `;case"disabled":return a`
191
- background-color: ${_t.Neutral[6](e)};
191
+ background-color: ${Et.Neutral[6](e)};
192
192
  border: 1px solid transparent;
193
193
  cursor: not-allowed;
194
194
 
@@ -197,7 +197,7 @@ import e,{jsxs as t,Fragment as r,jsx as i}from"react/jsx-runtime";import n,{key
197
197
  }
198
198
 
199
199
  span {
200
- color: ${_t.Neutral[3](e)};
200
+ color: ${Et.Neutral[3](e)};
201
201
  }
202
202
  `;case"link":return a`
203
203
  background-color: transparent;
@@ -208,16 +208,16 @@ import e,{jsxs as t,Fragment as r,jsx as i}from"react/jsx-runtime";import n,{key
208
208
  box-shadow: none;
209
209
  }
210
210
 
211
- color: ${_t.Primary};
211
+ color: ${Et.Primary};
212
212
  :hover,
213
213
  :active,
214
214
  :focus {
215
215
  span {
216
- color: ${_t.Secondary};
216
+ color: ${Et.Secondary};
217
217
  }
218
218
  }
219
219
  `;default:return a`
220
- background-color: ${_t.Primary(e)};
220
+ background-color: ${Et.Primary(e)};
221
221
  border: 1px solid transparent;
222
222
 
223
223
  ${Wt.mobileL} {
@@ -225,7 +225,7 @@ import e,{jsxs as t,Fragment as r,jsx as i}from"react/jsx-runtime";import n,{key
225
225
  }
226
226
 
227
227
  span {
228
- color: ${_t.Neutral[8](e)};
228
+ color: ${Et.Neutral[8](e)};
229
229
  }
230
230
  `}}}
231
231
 
@@ -235,7 +235,7 @@ import e,{jsxs as t,Fragment as r,jsx as i}from"react/jsx-runtime";import n,{key
235
235
  ${e=>"small"===e.$buttonSizeStyle?a`
236
236
  height: 2.5rem;
237
237
  span {
238
- ${Zt("H5","semibold")}
238
+ ${Yt("H5","semibold")}
239
239
  }
240
240
 
241
241
  ${Wt.mobileS} {
@@ -244,16 +244,16 @@ import e,{jsxs as t,Fragment as r,jsx as i}from"react/jsx-runtime";import n,{key
244
244
  `:a`
245
245
  height: 3rem;
246
246
  span {
247
- ${Zt("H4","semibold")}
247
+ ${Yt("H4","semibold")}
248
248
  }
249
249
 
250
250
  ${Wt.mobileS} {
251
251
  height: auto;
252
252
  }
253
253
  `}
254
- `,ar=n((({color:e,className:r,size:n=18})=>t(Tt,{className:r,$size:n,$color:e,children:[i(Ot,{id:"inner1",$size:n-2,$borderWidth:2}),i(Pt,{id:"inner2",$size:n-2,$borderWidth:2}),i(At,{id:"inner3",$size:n-2,$borderWidth:2}),i(jt,{id:"inner4",$size:n-2,$borderWidth:2})]})))`
254
+ `,lr=n((({color:e,className:r,size:n=18})=>t(Nt,{className:r,$size:n,$color:e,children:[i(Ot,{id:"inner1",$size:n-2,$borderWidth:2}),i(Pt,{id:"inner2",$size:n-2,$borderWidth:2}),i(jt,{id:"inner3",$size:n-2,$borderWidth:2}),i(It,{id:"inner4",$size:n-2,$borderWidth:2})]})))`
255
255
  margin-right: 0.5rem;
256
- ${e=>{let t;switch(e.$buttonStyle){case"secondary":case"light":case"link":t=_t.Primary(e);break;case"disabled":t=_t.Neutral[3](e);break;default:t=_t.Neutral[8](e)}return a`
256
+ ${e=>{let t;switch(e.$buttonStyle){case"secondary":case"light":case"link":t=Et.Primary(e);break;case"disabled":t=Et.Neutral[3](e);break;default:t=Et.Neutral[8](e)}return a`
257
257
  #inner1,
258
258
  #inner2,
259
259
  #inner3,
@@ -261,15 +261,15 @@ import e,{jsxs as t,Fragment as r,jsx as i}from"react/jsx-runtime";import n,{key
261
261
  border-color: ${t} transparent transparent transparent;
262
262
  }
263
263
  `}}
264
- `,lr={Default:l.forwardRef(((e,r)=>{const{children:n,disabled:o=!1,loading:a=!1,styleType:l="default",...s}=e,c={$buttonStyle:o?"disabled":l,$buttonSizeStyle:"default"};return t(or,{ref:r,"data-testid":s["data-testid"]||"button",disabled:o,...c,...s,children:[a&&i(ar,{...c}),i("span",{children:n})]})})),Small:l.forwardRef(((e,r)=>{const{children:n,disabled:o=!1,loading:a=!1,styleType:l="default",...s}=e,c={$buttonStyle:o?"disabled":l,$buttonSizeStyle:"small"};return t(or,{ref:r,"data-testid":s["data-testid"]||"button",disabled:o,...c,...s,children:[a&&i(ar,{...c,size:16}),i("span",{children:n})]})}))},sr=n.div`
264
+ `,sr={Default:l.forwardRef(((e,r)=>{const{children:n,disabled:o=!1,loading:a=!1,styleType:l="default",...s}=e,c={$buttonStyle:o?"disabled":l,$buttonSizeStyle:"default"};return t(ar,{ref:r,"data-testid":s["data-testid"]||"button",disabled:o,...c,...s,children:[a&&i(lr,{...c}),i("span",{children:n})]})})),Small:l.forwardRef(((e,r)=>{const{children:n,disabled:o=!1,loading:a=!1,styleType:l="default",...s}=e,c={$buttonStyle:o?"disabled":l,$buttonSizeStyle:"small"};return t(ar,{ref:r,"data-testid":s["data-testid"]||"button",disabled:o,...c,...s,children:[a&&i(lr,{...c,size:16}),i("span",{children:n})]})}))},cr=n.div`
265
265
  display: flex;
266
266
  flex-direction: column;
267
267
  align-items: center;
268
268
  justify-content: center;
269
269
  position: relative;
270
- `,cr=n.img`
270
+ `,dr=n.img`
271
271
  position: relative;
272
- width: 26rem;
272
+ width: 25rem;
273
273
  height: auto;
274
274
 
275
275
  ${Wt.mobileL} {
@@ -283,40 +283,40 @@ import e,{jsxs as t,Fragment as r,jsx as i}from"react/jsx-runtime";import n,{key
283
283
  ${Wt.mobileS} {
284
284
  width: 15rem;
285
285
  }
286
- `,dr=n.div`
286
+ `,gr=n.div`
287
287
  display: flex;
288
288
  flex-direction: column;
289
289
  align-items: center;
290
290
  justify-content: center;
291
- `,gr=n(er.H1)`
291
+ `,hr=n(tr.H1)`
292
292
  margin: 2rem 0 1rem;
293
293
  letter-spacing: -0.032rem !important;
294
294
  text-align: center;
295
- `,hr=n.div`
296
- ${Zt("Body","regular")} // Follow styling of Text.Body
297
- color: ${_t.Neutral[1]}; // Follow styling of Text.Body
295
+ `,pr=n.div`
296
+ ${Yt("Body","regular")} // Follow styling of Text.Body
297
+ color: ${Et.Neutral[1]}; // Follow styling of Text.Body
298
298
  text-align: center;
299
299
 
300
300
  strong {
301
- ${Ut("Body","semibold")}
301
+ ${Zt("Body","semibold")}
302
302
  }
303
303
 
304
304
  a {
305
- ${Zt("Body","semibold")}
306
- color: ${_t.Primary};
305
+ ${Yt("Body","semibold")}
306
+ color: ${Et.Primary};
307
307
 
308
308
  :hover,
309
309
  :active,
310
310
  :focus {
311
- color: ${_t.Secondary};
311
+ color: ${Et.Secondary};
312
312
  }
313
313
  }
314
- `,pr=n(lr.Default)`
314
+ `,fr=n(sr.Default)`
315
315
  margin: 4rem auto 0;
316
316
  width: 21rem;
317
317
 
318
318
  ${Wt.mobileL} {
319
319
  width: 100%;
320
320
  }
321
- `,fr=({type:e,img:r,title:n,description:o,actionButton:a,additionalProps:l,...s})=>{const c=u.get(e),d=s["data-testid"]||"error-display",g=()=>{switch(e){case"maintenance":{const e=l;return l&&e.dateString?c.renderDescription(e):o||void 0}case"500":{const e=l;return l&&e.referenceId?c.renderDescription(e):o||void 0}default:return o||void 0}};if(!c)return null;const h={...c,...r&&{img:r},...n&&{title:n},...g()&&{description:g()}};return t(sr,{...s,"data-testid":d,children:[i(cr,{...h.img,alt:"error"}),t(dr,{children:[i(gr,{"data-testid":`${d}--title`,children:h.title}),i(hr,{"data-testid":`${d}--description`,children:"string"==typeof h.description?i("p",{children:h.description}):h.description})]}),a&&(()=>{const e={children:"Proceed",...a};return i(pr,{...e})})()]})};export{fr as ErrorDisplay};
321
+ `,ur=({type:e,img:r,title:n,description:o,actionButton:a,additionalProps:l,...s})=>{const c=y.get(e),d=s["data-testid"]||"error-display",g=()=>{switch(e){case"maintenance":{const e=l;return l&&e.dateString?c.renderDescription(e):o||void 0}case"500":{const e=l;return l&&e.referenceId?c.renderDescription(e):o||void 0}default:return o||void 0}};if(!c)return null;const h={...c,...r&&{img:r},...n&&{title:n},...g()&&{description:g()}};return t(cr,{...s,"data-testid":d,children:[i(dr,{...h.img,alt:""}),t(gr,{children:[i(hr,{"data-testid":`${d}--title`,children:h.title}),i(pr,{"data-testid":`${d}--description`,children:"string"==typeof h.description?i("p",{children:h.description}):h.description})]}),a&&(()=>{const e={children:"Proceed",...a};return i(fr,{...e})})()]})};export{ur as ErrorDisplay};
322
322
  //# sourceMappingURL=index.js.map