@flarehr/apollo-benefits 2.83.43343 → 2.85.47721
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.
- package/dist/assets/{@splitsoftware-8e7de5f2.js → @splitsoftware-dc67820b.js} +1 -1
- package/dist/assets/{datadog-aa582113.js → datadog-17d20852.js} +1 -1
- package/dist/assets/{date-fns-1b58387e.js → date-fns-20ad091e.js} +1 -1
- package/dist/assets/{framer-motion-727fde32.js → framer-motion-04a96014.js} +1 -1
- package/dist/assets/index-13815ab5.css +1 -0
- package/dist/assets/index-9aa466a2.js +32 -0
- package/dist/assets/{index-0d831f14.js → index-e5031c9b.js} +1 -1
- package/dist/assets/{vendor-47fa603f.js → vendor-1c5ad091.js} +22 -22
- package/dist/index.html +7 -7
- package/package.json +2 -1
- package/dist/assets/index-55112a6d.js +0 -15
- package/dist/assets/index-f3506109.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter var,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,input:where(:not([type])):focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 940px){.container{max-width:940px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-lg{font-size:1.125rem;line-height:1.7777778}.prose-lg :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em}.prose-lg :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2222222em;line-height:1.4545455;margin-top:1.0909091em;margin-bottom:1.0909091em}.prose-lg :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.6666667em;margin-bottom:1.6666667em;padding-left:1em}.prose-lg :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.6666667em;margin-top:0;margin-bottom:.8333333em;line-height:1}.prose-lg :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.6666667em;margin-top:1.8666667em;margin-bottom:1.0666667em;line-height:1.3333333}.prose-lg :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.3333333em;margin-top:1.6666667em;margin-bottom:.6666667em;line-height:1.5}.prose-lg :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7777778em;margin-bottom:.4444444em;line-height:1.5555556}.prose-lg :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.prose-lg :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.prose-lg :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-lg :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.prose-lg :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em;border-radius:.3125rem;padding:.2222222em .4444444em}.prose-lg :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-lg :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8666667em}.prose-lg :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.875em}.prose-lg :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em;line-height:1.75;margin-top:2em;margin-bottom:2em;border-radius:.375rem;padding:1em 1.5em}.prose-lg :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.5555556em}.prose-lg :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.5555556em}.prose-lg :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.6666667em;margin-bottom:.6666667em}.prose-lg :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.4444444em}.prose-lg :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.4444444em}.prose-lg :where(.prose-lg>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.8888889em;margin-bottom:.8888889em}.prose-lg :where(.prose-lg>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em}.prose-lg :where(.prose-lg>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.3333333em}.prose-lg :where(.prose-lg>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em}.prose-lg :where(.prose-lg>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.3333333em}.prose-lg :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.8888889em;margin-bottom:.8888889em}.prose-lg :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em}.prose-lg :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em}.prose-lg :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.6666667em;padding-left:1.5555556em}.prose-lg :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:3.1111111em;margin-bottom:3.1111111em}.prose-lg :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-lg :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-lg :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-lg :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-lg :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em;line-height:1.5}.prose-lg :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:.75em;padding-bottom:.75em;padding-left:.75em}.prose-lg :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose-lg :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose-lg :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.75em}.prose-lg :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose-lg :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose-lg :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7777778em;margin-bottom:1.7777778em}.prose-lg :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-lg :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em;line-height:1.5;margin-top:1em}.prose-lg :where(.prose-lg>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-lg :where(.prose-lg>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-indigo{--tw-prose-links: #4f46e5;--tw-prose-invert-links: #6366f1}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.\!visible{visibility:visible!important}.visible{visibility:visible}.invisible{visibility:hidden}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.bottom-0{bottom:0}.left-0{left:0}.left-4{left:1rem}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.order-2{order:2}.col-span-1{grid-column:span 1 / span 1}.col-span-12{grid-column:span 12 / span 12}.col-span-4{grid-column:span 4 / span 4}.col-span-8{grid-column:span 8 / span 8}.m-4{margin:1rem}.m-auto{margin:auto}.-my-2{margin-top:-.5rem;margin-bottom:-.5rem}.mx-0{margin-left:0;margin-right:0}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-8{margin-left:2rem;margin-right:2rem}.mx-auto{margin-left:auto;margin-right:auto}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-auto{margin-top:auto;margin-bottom:auto}.-mb-px{margin-bottom:-1px}.-ml-1{margin-left:-.25rem}.-ml-px{margin-left:-1px}.-mr-12{margin-right:-3rem}.-mr-2{margin-right:-.5rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-7{margin-bottom:1.75rem}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-5{margin-right:1.25rem}.mr-6{margin-right:1.5rem}.mr-8{margin-right:2rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.h-0{height:0px}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-20{height:5rem}.h-24{height:6rem}.h-28{height:7rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-36{height:9rem}.h-4{height:1rem}.h-40{height:10rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-52{height:13rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-72{height:18rem}.h-8{height:2rem}.h-96{height:24rem}.h-\[90\%\]{height:90%}.h-full{height:100%}.h-screen{height:100vh}.max-h-10{max-height:2.5rem}.min-h-\[12rem\]{min-height:12rem}.min-h-\[2\.25rem\]{min-height:2.25rem}.min-h-\[25rem\]{min-height:25rem}.min-h-\[80vh\]{min-height:80vh}.min-h-\[8rem\]{min-height:8rem}.min-h-screen{min-height:100vh}.w-0{width:0px}.w-1\/12{width:8.333333%}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-1\/4{width:25%}.w-1\/5{width:20%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-160{width:40rem}.w-2{width:.5rem}.w-2\/3{width:66.666667%}.w-2\/5{width:40%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-4{width:1rem}.w-4\/5{width:80%}.w-5{width:1.25rem}.w-5\/6{width:83.333333%}.w-56{width:14rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-96{width:24rem}.w-\[30rem\]{width:30rem}.w-auto{width:auto}.w-full{width:100%}.w-screen{width:100vw}.min-w-0{min-width:0px}.min-w-full{min-width:100%}.max-w-3xl{max-width:48rem}.max-w-5xl{max-width:64rem}.max-w-7xl{max-width:80rem}.max-w-\[40rem\]{max-width:40rem}.max-w-\[59\.5rem\]{max-width:59.5rem}.max-w-\[90rem\]{max-width:90rem}.max-w-lg{max-width:32rem}.max-w-screen-xl{max-width:1280px}.max-w-sm{max-width:24rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-none{flex:none}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.flex-grow{flex-grow:1}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-6{--tw-translate-y: -1.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-4{--tw-translate-y: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-150{--tw-scale-x: 1.5;--tw-scale-y: 1.5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-center{align-content:center}.content-end{align-content:flex-end}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-8{gap:2rem}.gap-y-4{row-gap:1rem}.gap-y-8{row-gap:2rem}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.-space-y-px>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(-1px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(-1px * var(--tw-space-y-reverse))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.place-self-end{place-self:end}.place-self-center{place-self:center}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-xl{border-radius:.75rem}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l-md{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-b-4{border-bottom-width:4px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.\!border-gray-300{--tw-border-opacity: 1 !important;border-color:rgb(209 213 219 / var(--tw-border-opacity))!important}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(29 78 216 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-primary{--tw-border-opacity: 1;border-color:rgb(46 102 247 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-\[\#EAF0FE\]{--tw-bg-opacity: 1;background-color:rgb(234 240 254 / var(--tw-bg-opacity))}.bg-\[\#FEE2E2\]{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(46 102 247 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-secondary{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.bg-opacity-10{--tw-bg-opacity: .1}.bg-opacity-40{--tw-bg-opacity: .4}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-75{--tw-bg-opacity: .75}.bg-\[linear-gradient\(0deg\,_\#2E66F7_0\%\,_\#0005D2_100\%\)\]{background-image:linear-gradient(0deg,#2E66F7 0%,#0005D2 100%)}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-black{--tw-gradient-from: #000 var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.bg-cover{background-size:cover}.bg-center{background-position:center}.fill-current{fill:currentColor}.fill-gray-200{fill:#e5e7eb}.fill-white{fill:#fff}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.object-scale-down{-o-object-fit:scale-down;object-fit:scale-down}.p-0{padding:0}.p-1{padding:.25rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-14{padding-left:3.5rem;padding-right:3.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-0{padding-bottom:0}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-7{padding-bottom:1.75rem}.pb-9{padding-bottom:2.25rem}.pl-10{padding-left:2.5rem}.pl-16{padding-left:4rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pl-9{padding-left:2.25rem}.pr-0{padding-right:0}.pr-10{padding-right:2.5rem}.pr-20{padding-right:5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.font-sans{font-family:Inter var,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[0\.5rem\]{font-size:.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.leading-10{line-height:2.5rem}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.leading-9{line-height:2.25rem}.leading-loose{line-height:2}.leading-normal{line-height:1.5}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.\!text-gray-600{--tw-text-opacity: 1 !important;color:rgb(75 85 99 / var(--tw-text-opacity))!important}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-current{color:currentColor}.text-cyan-500{--tw-text-opacity: 1;color:rgb(6 182 212 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity))}.text-orange-400{--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity))}.text-orange-800{--tw-text-opacity: 1;color:rgb(154 52 18 / var(--tw-text-opacity))}.text-pink-800{--tw-text-opacity: 1;color:rgb(157 23 77 / var(--tw-text-opacity))}.text-primary{--tw-text-opacity: 1;color:rgb(46 102 247 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity))}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.caret-transparent{caret-color:transparent}.opacity-0{opacity:0}.opacity-10{opacity:.1}.opacity-100{opacity:1}.opacity-25{opacity:.25}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-4{outline-width:4px}.outline-primary\/25{outline-color:#2e66f740}.outline-transparent{outline-color:transparent}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-primary{--tw-ring-opacity: 1;--tw-ring-color: rgb(46 102 247 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.ring-offset-2{--tw-ring-offset-width: 2px}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-\[250px\]{--tw-blur: blur(250px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-brightness-50{--tw-backdrop-brightness: brightness(.5);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.delay-300{transition-delay:.3s}.duration-100{transition-duration:.1s}.duration-1000{transition-duration:1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-700{transition-duration:.7s}.duration-75{transition-duration:75ms}.duration-\[600ms\]{transition-duration:.6s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-linear{transition-timing-function:linear}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}html{-ms-overflow-style:none;scrollbar-width:none}html::-webkit-scrollbar{display:none}.hide-scrollbar::-webkit-scrollbar{display:none}.hide-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.interVarCv11{font-feature-settings:"cv11"}.pipe:before{content:"";position:absolute;height:.75rem;top:.275rem;border-left:1px solid #D1D5DB}.pipe-white:before{border-left:1px solid #FFFFFF}.pipe-medium:before{top:.375rem}.datepicker-cell.range-start.range-end{border-radius:.5rem}.first-letter\:overflow-hidden:first-letter{overflow:hidden}.selection\:bg-transparent *::-moz-selection{background-color:transparent}.selection\:bg-transparent *::selection{background-color:transparent}.selection\:bg-transparent::-moz-selection{background-color:transparent}.selection\:bg-transparent::selection{background-color:transparent}.placeholder\:text-gray-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.placeholder\:text-gray-400::placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:left-4:after{content:var(--tw-content);left:1rem}.after\:top-8:after{content:var(--tw-content);top:2rem}.after\:inline-block:after{content:var(--tw-content);display:inline-block}.after\:h-\[calc\(100\%-theme\(height\.8\)\)\]:after{content:var(--tw-content);height:calc(100% - 2rem)}.after\:w-0:after{content:var(--tw-content);width:0px}.after\:w-0\.5:after{content:var(--tw-content);width:.125rem}.after\:bg-gray-300:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.after\:bg-primary:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(46 102 247 / var(--tw-bg-opacity))}.after\:content-\[\'\'\]:after{--tw-content: "";content:var(--tw-content)}.focus-within\:z-10:focus-within{z-index:10}.focus-within\:border-primary:focus-within{--tw-border-opacity: 1;border-color:rgb(46 102 247 / var(--tw-border-opacity))}.focus-within\:bg-yellow-100:focus-within{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.focus-within\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}.focus-within\:ring-1:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\:ring-primary:focus-within{--tw-ring-opacity: 1;--tw-ring-color: rgb(46 102 247 / var(--tw-ring-opacity))}.hover\:border-gray-100:hover{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.hover\:border-gray-200:hover{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-200\/50:hover{background-color:#e5e7eb80}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.hover\:bg-indigo-700:hover{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.hover\:bg-secondary:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-opacity-100:hover{--tw-bg-opacity: 1}.hover\:bg-opacity-25:hover{--tw-bg-opacity: .25}.hover\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-primary:hover{--tw-text-opacity: 1;color:rgb(46 102 247 / var(--tw-text-opacity))}.hover\:text-yellow-500:hover{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.hover\:opacity-100:hover{opacity:1}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:outline-none:hover{outline:2px solid transparent;outline-offset:2px}.hover\:ring-2:hover{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.hover\:ring-primary:hover{--tw-ring-opacity: 1;--tw-ring-color: rgb(46 102 247 / var(--tw-ring-opacity))}.hover\:ring-offset-2:hover{--tw-ring-offset-width: 2px}.hover\:before\:absolute:hover:before{content:var(--tw-content);position:absolute}.hover\:before\:h-16:hover:before{content:var(--tw-content);height:4rem}.hover\:before\:w-16:hover:before{content:var(--tw-content);width:4rem}.hover\:before\:cursor-default:hover:before{content:var(--tw-content);cursor:default}.hover\:before\:cursor-pointer:hover:before{content:var(--tw-content);cursor:pointer}.focus\:z-10:focus{z-index:10}.focus\:border-primary:focus{--tw-border-opacity: 1;border-color:rgb(46 102 247 / var(--tw-border-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-inset:focus{--tw-ring-inset: inset}.focus\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity))}.focus\:ring-gray-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.focus\:ring-gray-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}.focus\:ring-gray-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}.focus\:ring-primary:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(46 102 247 / var(--tw-ring-opacity))}.focus\:ring-white:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:cursor-text:disabled{cursor:text}.disabled\:border-gray-300:disabled{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.disabled\:bg-gray-100:disabled{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.disabled\:px-0:disabled{padding-left:0;padding-right:0}.disabled\:text-gray-300:disabled{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.disabled\:text-gray-400:disabled{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.disabled\:text-gray-600:disabled{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:opacity-75:disabled{opacity:.75}.disabled\:hover\:bg-transparent:hover:disabled{background-color:transparent}.group:hover .group-hover\:text-primary{--tw-text-opacity: 1;color:rgb(46 102 247 / var(--tw-text-opacity))}.prose-a\:text-blue-500 :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.prose-a\:underline :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){-webkit-text-decoration-line:underline;text-decoration-line:underline}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:bg-blue-600){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:bg-blue-700:hover){--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-600:hover){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:text-white:hover){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:col-span-2{grid-column:span 2 / span 2}.sm\:-mx-6{margin-left:-1.5rem;margin-right:-1.5rem}.sm\:mx-0{margin-left:0;margin-right:0}.sm\:ml-3{margin-left:.75rem}.sm\:ml-4{margin-left:1rem}.sm\:mt-0{margin-top:0}.sm\:mt-4{margin-top:1rem}.sm\:block{display:block}.sm\:inline-block{display:inline-block}.sm\:flex{display:flex}.sm\:hidden{display:none}.sm\:h-10{height:2.5rem}.sm\:h-screen{height:100vh}.sm\:w-10{width:2.5rem}.sm\:w-auto{width:auto}.sm\:w-full{width:100%}.sm\:max-w-lg{max-width:32rem}.sm\:translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row-reverse{flex-direction:row-reverse}.sm\:items-start{align-items:flex-start}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.sm\:gap-y-10{row-gap:2.5rem}.sm\:space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:overflow-hidden{overflow:hidden}.sm\:rounded-lg{border-radius:.5rem}.sm\:rounded-md{border-radius:.375rem}.sm\:p-6{padding:1.5rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-10{padding-top:2.5rem;padding-bottom:2.5rem}.sm\:text-left{text-align:left}.sm\:align-middle{vertical-align:middle}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:leading-6{line-height:1.5rem}}@media (min-width: 768px){.md\:relative{position:relative}.md\:col-span-2{grid-column:span 2 / span 2}.md\:col-span-4{grid-column:span 4 / span 4}.md\:mb-10{margin-bottom:2.5rem}.md\:mb-16{margin-bottom:4rem}.md\:mb-2{margin-bottom:.5rem}.md\:mb-4{margin-bottom:1rem}.md\:mb-auto{margin-bottom:auto}.md\:ml-0{margin-left:0}.md\:ml-4{margin-left:1rem}.md\:ml-6{margin-left:1.5rem}.md\:mt-0{margin-top:0}.md\:mt-auto{margin-top:auto}.md\:block{display:block}.md\:inline-block{display:inline-block}.md\:flex{display:flex}.md\:inline-flex{display:inline-flex}.md\:grid{display:grid}.md\:hidden{display:none}.md\:h-16{height:4rem}.md\:h-32{height:8rem}.md\:h-48{height:12rem}.md\:h-72{height:18rem}.md\:h-\[22\.5rem\]{height:22.5rem}.md\:h-\[40rem\]{height:40rem}.md\:h-auto{height:auto}.md\:max-h-screen{max-height:100vh}.md\:min-h-\[30rem\]{min-height:30rem}.md\:w-16{width:4rem}.md\:w-160{width:40rem}.md\:w-4\/5{width:80%}.md\:w-48{width:12rem}.md\:w-80{width:20rem}.md\:w-\[240px\]{width:240px}.md\:w-\[35rem\]{width:35rem}.md\:w-\[95vw\]{width:95vw}.md\:w-auto{width:auto}.md\:w-full{width:100%}.md\:max-w-\[68rem\]{max-width:68rem}.md\:max-w-\[70rem\]{max-width:70rem}.md\:flex-shrink-0{flex-shrink:0}.md\:flex-grow-0{flex-grow:0}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:flex-col{flex-direction:column}.md\:items-center{align-items:center}.md\:justify-items-center{justify-items:center}.md\:gap-10{gap:2.5rem}.md\:gap-6{gap:1.5rem}.md\:gap-8{gap:2rem}.md\:gap-x-24{-moz-column-gap:6rem;column-gap:6rem}.md\:rounded-lg{border-radius:.5rem}.md\:border-b{border-bottom-width:1px}.md\:border-none{border-style:none}.md\:border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.md\:bg-transparent{background-color:transparent}.md\:p-0{padding:0}.md\:p-1{padding:.25rem}.md\:p-10{padding:2.5rem}.md\:p-16{padding:4rem}.md\:p-4{padding:1rem}.md\:p-9{padding:2.25rem}.md\:px-4{padding-left:1rem;padding-right:1rem}.md\:px-8{padding-left:2rem;padding-right:2rem}.md\:py-0{padding-top:0;padding-bottom:0}.md\:py-12{padding-top:3rem;padding-bottom:3rem}.md\:py-16{padding-top:4rem;padding-bottom:4rem}.md\:py-24{padding-top:6rem;padding-bottom:6rem}.md\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.md\:pl-16{padding-left:4rem}.md\:pl-4{padding-left:1rem}.md\:pr-0{padding-right:0}.md\:pt-4{padding-top:1rem}.md\:pt-5{padding-top:1.25rem}.md\:text-center{text-align:center}.md\:align-middle{vertical-align:middle}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:text-4xl{font-size:2.25rem;line-height:2.5rem}.md\:text-base{font-size:1rem;line-height:1.5rem}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}.md\:font-extrabold{font-weight:800}.md\:leading-10{line-height:2.5rem}.md\:leading-6{line-height:1.5rem}.md\:leading-9{line-height:2.25rem}.md\:leading-loose{line-height:2}.md\:transition-none{transition-property:none}}@media (min-width: 1024px){.lg\:col-span-3{grid-column:span 3 / span 3}.lg\:-mx-8{margin-left:-2rem;margin-right:-2rem}.lg\:ml-4{margin-left:1rem}.lg\:mt-0{margin-top:0}.lg\:flex{display:flex}.lg\:w-3\/4{width:75%}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:items-center{align-items:center}.lg\:justify-between{justify-content:space-between}.lg\:gap-14{gap:3.5rem}.lg\:gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.lg\:p-16{padding:4rem}.lg\:px-16{padding-left:4rem;padding-right:4rem}.lg\:px-8{padding-left:2rem;padding-right:2rem}.lg\:pl-16{padding-left:4rem}.lg\:pt-8{padding-top:2rem}.lg\:text-3xl{font-size:1.875rem;line-height:2.25rem}.lg\:leading-10{line-height:2.5rem}}@media (min-width: 1280px){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:gap-16{gap:4rem}.xl\:p-20{padding:5rem}.xl\:pl-20{padding-left:5rem}.xl\:pt-12{padding-top:3rem}.xl\:text-4xl{font-size:2.25rem;line-height:2.5rem}}.notfound{padding:0 5%;margin:100px 0}.gradient-tile{position:relative;box-sizing:border-box;background-clip:padding-box;border:1px #E5E7EB solid;transition:border-color .3s ease}.gradient-tile:hover{border-color:transparent}.gradient-tile:hover:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;margin:-.125rem;border-radius:inherit;background:linear-gradient(90deg,#8B4FFF 0%,#9453F3 14%,#AC5FD5 38%,#D372A4 69%,#FF876F 100%);transition:opacity .3s ease;opacity:1}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
var Qn=Object.defineProperty;var Yn=(e,n,a)=>n in e?Qn(e,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[n]=a;var y=(e,n,a)=>(Yn(e,typeof n!="symbol"?n+"":n,a),a);import{Q as Ye,t as Xn,v as Jn,E as Zn,x as ea,z as Jt,A as Te,B as ta,C as t,S as ht,D as C,H as Se,I as Le,J as He,K as Xe,L as Zt,M as fe,N as na,O as ft,P as $,R as _,U as j,W as ae,X as aa,r as p,p as f,T as Z,F as H,Y as w,Z as at,$ as en,a0 as sa,a1 as ke,a2 as he,w as we,a3 as ra,q as ce,a4 as ia,o as la,a5 as ca,a6 as oa,a7 as da,k as R,a8 as ma,a9 as ua,aa as V,ab as ve,ac as Je,ad as ha,ae as fa,af as pa,ag as ga,ah as ba,ai as Pt,aj as ya,ak as wa,al as va,am as Ce,an as tn,ao as It,ap as nn,aq as Ue,ar as Ve,as as Tt,at as St,au as ka,av as an,aw as xa,ax as Na,ay as Aa,az as Ca,aA as Pa,aB as Ia,aC as pt,aD as gt,aE as F,n as Ta,aF as Sa,aG as sn,aH as Lt,aI as La,aJ as Ea,aK as Oa,aL as Ba,aM as $a,aN as _a,aO as Ma,aP as Ra,aQ as Ua}from"./vendor-1c5ad091.js";import{O as $e}from"./oidc-client-6f6e47c2.js";import{u as Va,a as Da,S as Fa}from"./@splitsoftware-dc67820b.js";import{f as me,p as ja,a as Et}from"./date-fns-20ad091e.js";import{m as Ot}from"./framer-motion-04a96014.js";import{i as Wa}from"./datadog-17d20852.js";import"./lodash-5d893f8c.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const l of r.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&s(l)}).observe(document,{childList:!0,subtree:!0});function a(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(i){if(i.ep)return;i.ep=!0;const r=a(i);fetch(i.href,r)}})();Ye.prototype.selectCached=function(e,n=a=>null){return this.selectHasCache().pipe(Xn(0),Jn(a=>a?Zn:ea(e()).pipe(Jt(n))))};class D{static setParameters(n,a){this._apiBaseUrl=n,this._jwt=a}static get instance(){return Te(this._apiBaseUrl).headers({Authorization:`Bearer ${this._jwt}`,"X-APP-VERSION":"2.85.47721"}).addon(ta)}}y(D,"_apiBaseUrl"),y(D,"_jwt");class Ha extends D{}class se extends D{}class Ae{static setParameters(n,a,s){this._apiBaseUrl=n,this._jwt=a,this._profileId=s}static get instance(){return Te(this._apiBaseUrl).headers({Authorization:`Bearer ${this._jwt}`,"X-PROFILE-ID":this._profileId,"X-APP-VERSION":"2.85.47721"})}}y(Ae,"_apiBaseUrl"),y(Ae,"_jwt"),y(Ae,"_profileId");const Ee=({size:e})=>t("svg",{className:`animate-spin h-${e??5} w-${e??5}`,viewBox:"0 0 24 24",fill:"none",children:[t("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),t("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),Ze=()=>t("div",{className:"flex justify-center items-center h-screen text-primary",children:[t(Ee,{size:5}),t("div",{className:"pl-3 text-xl font-light text-primary",children:"Loading..."})]}),rn="/benefits/app/assets/logo-a34e9b4b.png",za=()=>t("div",{className:"flex flex-col justify-center items-center h-screen text-grey-900",children:[t("img",{className:"block h-8 w-auto",src:rn,alt:"Flare Benefits"}),t("h1",{className:"mt-8",children:"You have been successfully logged out of Flare Benefits"})]});var Bt,$t;const ze=["money","mind","body","work","life"];var ln=(e=>(e.WellbeingHub="wellbeing",e.FlareApp="flareMobileApp",e.SalaryPackagingCars="salaryPackagingCars",e.Allowance="allowance",e))(ln||{});const qa=["default","pba"];function Ga(){return{user:C,config:C,navTab:"benefits",appView:"employee",redirectPath:C,deepLink:C,referrer:C,promotionId:C,mode:"default",isWelcomeModalOpen:!1}}let Ka=(Bt=Se({name:"benefits-app",resettable:!0,producerFn:Le}),Bt($t=class extends ht{constructor(){super(Ga())}})||$t);const T=new Ka;class Qa extends Ye{constructor(a){super(a);y(this,"signedInUser$",this.select(a=>a.user));y(this,"appConfig$",this.select(a=>a.config));y(this,"navPage$",this.select(a=>a.navTab));y(this,"appView$",this.select(a=>a.appView));y(this,"signedInUserRole$",this.select(a=>He.pipe(a.user,Xe(()=>"user",s=>s.benefitsProfile.role))));this.store=a}}const Q=new Qa(T);function I(e,n){return Zt(e,na(()=>n))}function Ya(e){return I(e,null)}function Pe(e,n="Option value is none."){if(fe(e))throw new Error(n);return e.value}function _t(e,n){return Zt(e,Xe(()=>n===null,a=>a===n))}const Xa=()=>{const e=async()=>{const s=await Te(`${window.location.origin}/benefits/app/config.json`).get().json();T.update({config:ft(s)})},n=()=>Pe(Q.getValue().config);return{fetchConfigAsync:e,getConfig:n,getPublicBackendUrl:()=>n().apiBaseUrl.replace("backend","public")}},M=Xa();function ge(e,n){const a=new URLSearchParams(n);return $(a.get(e))}function st(e,n){const a=new URLSearchParams(n.replace(/^#+/,""));return $(a.get(e))}const dt=e=>{const n=M.getConfig().apiGatewayBaseUrl+"/benefits/app/#";if(e!=null&&e.startsWith(n)||e!=null&&e.startsWith("#"))return e.split("#")[1]};function Ja(e,n){return this.replace(e,n||e)}String.prototype.replaceIf=Ja;const Za=(e,n)=>e==null?void 0:e.replaceIf("${profileId}",n==null?void 0:n.basicProfile.profileId).replaceIf("${accountId}",n==null?void 0:n.basicProfile.accountId).replaceIf("${partnerId}",n==null?void 0:n.basicProfile.partnerId).replaceIf("${customerId}",n==null?void 0:n.basicProfile.customerId);class es{updateIsWelcomeModalOpen(n){T.update({isWelcomeModalOpen:n})}getIsWelcomeModalOpen(){return T.getValue().isWelcomeModalOpen}getReferrer(){const n=T.getValue().referrer;return _(n)?n.value:void 0}getPromotionId(){const n=T.getValue().promotionId;return _(n)?n.value:void 0}setReferrer(n){T.update({referrer:n})}setPromotionId(n){T.update({promotionId:n})}}const be=new es,ts=()=>{const e="redirectPath",n="mode",a=r=>{T.update({redirectPath:r})},s=r=>{T.update({deepLink:r})},i=r=>{T.update({mode:r})};return{extractRedirectPath:()=>{const r=ge(e,window.location.search);_(r)&&(a(r),s(r))},extractMode(){const r=ge(n,window.location.search);_(r)&&qa.includes(r.value)&&i(r.value)},extractTrackingParameters:()=>{const r=ge("referrer",window.location.search),l=ge("promotionId",window.location.search);_(r)&&be.setReferrer(r),_(l)&&be.setPromotionId(l)},redirectToPathIfExists(){const r=Q.getValue().redirectPath;_(r)&&(a(C),j(r.value))}}},De=ts();let cn=class{constructor(n){y(this,"_value",C);this.factory=n}get value(){if(_(this._value))return this._value.value;const n=this.factory();return this._value=ft(n),n}};var Mt,Rt,z=(e=>(e[e.Unauthorized=0]="Unauthorized",e[e.SignInPending=1]="SignInPending",e[e.Authenticated=2]="Authenticated",e[e.SignOutPending=3]="SignOutPending",e[e.Error=4]="Error",e))(z||{});function ns(){return{authStatus:0,jwt:C}}let as=(Mt=Se({name:"authentication",resettable:!0,producerFn:Le}),Mt(Rt=class extends ht{constructor(){super(ns())}})||Rt);const oe=new as;var Fe=(e=>(e.SignIn="callback",e.SignOut="logout",e.SilentRefresh="silent-refresh",e))(Fe||{});class ss{constructor(){y(this,"userManager");y(this,"tokenQueryParameter","token");y(this,"b2cJwtQueryParameter","b2cJwt");y(this,"profileIdQueryParameter","profileId");y(this,"getHostOidcUrl",()=>`${window.location.origin}/benefits/app/#/oidc`);this.userManager=new cn(()=>{const n=new $e.UserManager(this.userManagerSettings());return n.events.addAccessTokenExpired(()=>this.signOutRedirectAsync()),n.events.addUserLoaded(this.sessionUpdatedHandler),this.configureLogging(),n})}async refreshIfExpired(){const n=await this.userManager.value.getUser();n!=null&&n.expired&&this.userManager.value.signinSilent()}tokenExists(n){const a=ge(this.tokenQueryParameter,n);return ae.isSome(a)}b2cJwtExists(n){const a=st(this.b2cJwtQueryParameter,n);return ae.isSome(a)}isOidcRoute(n){return n.includes("callback")||n.includes("logout")||n.includes("silent-refresh")}async initFromB2cJwt(n,a){const s=Pe(st(this.b2cJwtQueryParameter,a),`"${this.b2cJwtQueryParameter}" fragment is required`),i=Pe(st(this.profileIdQueryParameter,a),`"${this.profileIdQueryParameter}" fragment is required`);Ae.setParameters(M.getConfig().workplaceBackendUrl,s,i);const r=await Ae.instance.url("token").get().json();window.location.href=n+"?token="+r.token}async initFromToken(n,a){if(this.isOidcRoute(n))return;const s=ge(this.tokenQueryParameter,a);if(ae.isNone(s))throw oe.update({authStatus:z.Error}),Error(`"${this.tokenQueryParameter}" URL query parameter is required`);await this.signInRedirectAsync(s)}signOutRedirectAsync(){return oe.update({authStatus:z.SignOutPending}),this.userManager.value.signoutRedirect()}async signInRedirectCallbackAsync(){await this.userManager.value.signinRedirectCallback(window.location.href.replace("/oidc/callback?","")),oe.update({authStatus:z.Authenticated})}async signOutRedirectCallbackAsync(){await this.userManager.value.signoutRedirectCallback(),aa()}async silentRefreshCallbackAsync(){await this.userManager.value.signinSilentCallback()}async signOut(){return oe.update({authStatus:z.Unauthorized,jwt:ae.none})}async signInRedirectAsync(n){oe.update({authStatus:z.SignInPending}),await this.userManager.value.signinRedirect({extraQueryParams:{irt:n.value}})}sessionUpdatedHandler(n){oe.update({jwt:ae.fromNullable(n.access_token)})}userManagerSettings(){return{authority:M.getConfig().oidcAuthority,client_id:"apollo-benefits-ui",redirect_uri:`${this.getHostOidcUrl()}/callback?`,response_type:"id_token token",scope:"openid",post_logout_redirect_uri:`${this.getHostOidcUrl()}/logout?`,silent_redirect_uri:`${this.getHostOidcUrl()}/silent-refresh?`,automaticSilentRenew:!0,accessTokenExpiringNotificationTime:10,filterProtocolClaims:!0,loadUserInfo:!0,clockSkew:2592e3}}configureLogging(){$e.Log.logger=console,$e.Log.level=$e.Log.DEBUG}}const G=new ss,rs=({mode:e})=>{const[n,a]=p(!1);return f(()=>{(async()=>{switch(e){case Fe.SignIn:await G.signInRedirectCallbackAsync(),window.location.hash="#",j("/"),De.redirectToPathIfExists();break;case Fe.SignOut:await G.signOutRedirectCallbackAsync(),a(!0);break;case Fe.SilentRefresh:await G.silentRefreshCallbackAsync();break}})()},[]),n?t(za,{}):t(Ze,{})},is=({fragment:e})=>(f(()=>{(async()=>await G.initFromB2cJwt(window.location.pathname,e))()},[]),t(Ze,{}));class ls extends Ye{constructor(a){super(a);y(this,"authState$",this.select());this.store=a}get isUnauthorized(){return this.getValue().authStatus===z.Unauthorized||this.getValue().authStatus===z.Error}get isAuthorized(){return this.getValue().authStatus===z.Authenticated}get jwt(){const a=this.getValue().jwt;return _(a)?a.value:""}}const on=new ls(oe);class cs{constructor(){y(this,"_isLocked");y(this,"queue");y(this,"lock",n=>{this._isLocked=!0,setTimeout(this.unlockAndFlushQueue,n)});y(this,"unlockAndFlushQueue",async()=>{this._isLocked=!1,await Promise.all(this.queue.map(n=>D.instance.url("benefits/track-event").post(n).res())),this.queue=[]});this._isLocked=!1,this.queue=[]}async postTrackEventAsync(n){return this.isLocked?(this.queue.push(n),Promise.resolve()):D.instance.url("benefits/track-event").post(n).res()}get isLocked(){return this._isLocked}}const qe=new cs,Ut=e=>{switch(e){case"cars-calculator-gated":case"cars-calculator-ungated":return"cars-calculator";case"typeform":return"typeform";case"external-link":case"activity-advertisement":return"advertisement";case void 0:return"unknown";default:return e}};class dn{constructor(n){y(this,"trackEventAsync");this.trackEventAsync=n}async trackAppLoadedAsync(){return this.trackEventAsync("appLoaded")}async trackBenefitsOpenedAsync(){return this.trackEventAsync("benefitsOpened")}async trackAppOfferViewedAsync(){return this.trackEventAsync("appOfferViewed")}async trackAppOfferAcceptedAsync(){return this.trackEventAsync("appOfferAccepted")}async trackWellbeingOpenedAsync(){return this.trackEventAsync("wellbeingOpened")}async trackAdminOpenedAsync(){return this.trackEventAsync("adminOpened")}async trackConsentStartedAsync(){return this.trackEventAsync("consentStarted")}async trackConsentCompletedAsync(){return this.trackEventAsync("consentCompleted")}async trackRegistrationStartedAsync(){return this.trackEventAsync("registrationStarted")}async trackRegistrationSubmittedAsync(){return this.trackEventAsync("registrationSubmitted")}async trackRegistrationResentAsync(){return this.trackEventAsync("registrationResent")}async trackRegistrationVerifiedAsync(){return this.trackEventAsync("registrationVerified")}async trackRegistrationFailedAsync(n){return this.trackEventAsync({registrationFailed:{reason:n}})}async trackRegistrationCompletedAsync(){return this.trackEventAsync("registrationCompleted")}async trackRegistrationErrorViewedAsync(n){return this.trackEventAsync({registrationErrorViewed:{reason:n}})}async trackRegistrationErrorDismissedAsync(){return this.trackEventAsync("registrationErrorDismissed")}async trackMarketplaceOfferViewedAsync(n,a,s){const i={offer:n,experiment:a,treatment:s};return this.trackEventAsync({marketplaceOfferViewed:i})}async trackMarketplaceOfferAcceptedAsync(n,a,s){const i={offer:n,experiment:a,treatment:s};return this.trackEventAsync({marketplaceOfferAccepted:i})}async trackPerksListViewedAsync(n){const a={pillar:n};return this.trackEventAsync({perksListViewed:a})}async trackEntriesListViewedAsync(n){const a={pillar:n};return this.trackEventAsync({entriesListViewed:a})}async trackFeaturePerkViewedAsync({benefitId:n,benefit:a}){const s={perkId:n,perkPillar:a.category,perkTitle:a.title,placement:"feature"};return this.trackEventAsync({perkViewed:s})}async trackExplorePerkViewedAsync({benefitId:n,benefit:a}){const s={perkId:n,perkPillar:a.category,perkTitle:a.title,placement:"explore"};return this.trackEventAsync({perkViewed:s})}async trackDocumentClickedAsync({benefitId:n,benefit:a}){const s={perkId:n,perkPillar:a.category,perkTitle:a.title,type:"document"};return this.trackEventAsync({attachmentOpened:s})}async trackPerkVisitedAsync({benefitId:n,benefit:a}){const s={perkId:n,perkPillar:a.category,perkTitle:a.title};return this.trackEventAsync({perkVisited:s})}async trackPerksListSearched(n){const a={query:n};return this.trackEventAsync({perksListSearched:a})}async trackRoleAssignedAsync(n){return this.trackEventAsync({roleAssigned:n})}async trackEntryViewed(n){return this.trackEventAsync({entryViewed:n})}async trackEntriesListSearchedAsync(n){const a={query:n};return this.trackEventAsync({entriesListSearched:a})}async trackCategoryOpenedAsync(n,a){const s={categoryId:n,categoryName:a};return this.trackEventAsync({categoryOpened:s})}async trackCategoryClosedAsync(n,a,s){const i={categoryId:n,categoryName:a,screen:s};return this.trackEventAsync({categoryClosed:i})}async trackDiscountsOpenedAsync(n,a){const s={categoryId:n,categoryName:a};return this.trackEventAsync({discountsOpened:s})}async trackActivityActionedAsync(n,a,s,i){i==="external-link"?this.trackActivityCompletedAsync(n,a,s,i):this.trackActivityStartedAsync(n,a,s,i)}async trackActivityStartedAsync(n,a,s,i){const r={categoryId:n,id:a,name:s,type:Ut(i)};return this.trackEventAsync({activityStarted:r})}async trackActivityCompletedAsync(n,a,s,i){const r={categoryId:n,id:a,name:s,type:Ut(i)};return this.trackEventAsync({activityCompleted:r})}async trackBenefitsPlanViewedAsync(n){const a={categories:n};return this.trackEventAsync({benefitsPlanViewed:a})}async trackDeepLinkOpenedAsync(n){const a={link:n};return this.trackEventAsync({deepLinkOpened:a})}async trackPromotionViewedAsync(n,a,s,i){return this.trackEventAsync({promotionViewed:{promotionId:n,location:a,categoryId:s,categoryName:i}})}async trackPromotionSelectedAsync(n,a,s,i,r){return this.trackEventAsync({promotionSelected:{promotionId:n,location:a,categoryId:s,categoryName:i,targetUrl:r}})}}const os=async e=>{try{await qe.postTrackEventAsync({event:e,treatments:[]})}catch{return}},mt=new dn(os);var ue=(e=>(e.Consent="apollo-benefits-consent",e.CustomerRegistration="apollo-benefits-customer-registration",e))(ue||{});const ds=e=>{if(e){const n=[];return Object.values(ue).map(a=>{var s;n.push({featureFlag:a,treatment:(s=e[a])==null?void 0:s.treatment})}),n}return[]},O=()=>{const[e,n]=p(),{isReady:a,client:s}=Va(),[i,r]=p(mt);f(()=>{(async()=>{if(a){s==null||s.setMaxListeners(30);const c=s==null?void 0:s.getTreatmentsWithConfig(Object.values(ue)),d=ds(c);n(d)}})()},[a]);const l=Z(async c=>{try{await qe.postTrackEventAsync({event:c,treatments:e||[],referrer:be.getReferrer(),promotionId:be.getPromotionId(),path:window.location.hash})}catch{return}},[e]);return f(()=>{r(new dn(l))},[l]),{service:i}};const ms="/benefits/app/assets/external_link-599a0aec.svg";function Y(...e){return e.filter(Boolean).join(" ")}const us=e=>`${e[0].toUpperCase()}${e.slice(1)}`,hs="/customer-storecards/workplace-backend/v1.0/shopify-url",fs=async(e,n)=>(await Te(M.getConfig().apolloBaseUrl).url(hs).headers({Authorization:`Bearer ${e}`,"X-PROFILE-ID":n}).get().json()).redirectUrl,mn=async(e,n)=>{let a=null;try{a=window.open("","_blank");const s=await fs(e,n);a&&(a.location.href=s)}catch{a&&(a==null||a.close())}},Vt=({user:{featureFlags:e,basicProfile:n,workplaceLinkConfig:a}})=>{const[s,i]=p(C),{service:r}=O(),l=!!(a!=null&&a.workplaceBackendToken),c=H(()=>{const o=new Map([["benefits","/"]]);return e.wellbeing&&o.set("wellbeing","/wellbeing-hub"),Array.from(o)},[]);f(()=>{const o=[Q.navPage$.subscribe(g=>{i($(g))})];return()=>{o.map(g=>g.unsubscribe())}},[]);const d=async()=>{r.trackDiscountsOpenedAsync("discounts","Discounts"),await mn(a.workplaceBackendToken,n.profileId)};return t("nav",{className:"-mb-px flex","aria-label":"Tabs",children:[c.map(([o,g])=>t("div",{onClick:async()=>{i($(o)),j(g)},className:Y(_t(s,o)?"border-primary text-primary":"border-transparent text-gray-500","cursor-pointer hover:text-gray-700 hover:border-gray-300 px-4 md:ml-4 flex-grow md:flex-grow-0","py-4 text-center border-b-4 text-base leading-6 font-semibold cursor-pointer capitalize"),"aria-current":_t(s,o)?"page":void 0,children:t("span",{children:o})},o)),t("div",{className:`border-transparent text-gray-500 cursor-pointer hover:text-gray-700 hover:border-gray-300 px-4 md:ml-4
|
|
2
|
+
flex-grow md:flex-grow-0 py-4 text-center border-b-4 text-base
|
|
3
|
+
leading-6 font-semibold capitalize ${l?"":"hidden"}`,children:t("button",{className:"inline-flex",onClick:()=>{d()},children:[t("span",{children:"Discounts"}),t("img",{className:"ml-2",src:ms})]})})]})},ps=()=>{const[e,n]=p("employee");return f(()=>{const a=[Q.appView$.subscribe(n)];return()=>{a.map(s=>s.unsubscribe())}},[]),t("span",{className:"relative z-0 inline-flex shadow-sm rounded-md",children:[t("button",{type:"button",className:Y(e==="admin"?"text-primary bg-white cursor-default":"text-gray-700 bg-gray-50","relative inline-flex items-center px-4 py-1 rounded-l-md border border-gray-300 text-sm font-medium hover:bg-white focus:z-10 focus:outline-none"),onClick:()=>{e!=="admin"&&j("/admin")},children:"Admin view"}),t("button",{type:"button",className:Y(e==="employee"?"text-primary bg-white cursor-default":"text-gray-700 bg-gray-50","-ml-px relative inline-flex items-center px-4 py-1 rounded-r-md border border-gray-300 text-sm font-medium hover:bg-white focus:z-10 focus:outline-none"),onClick:()=>{e!=="employee"&&j("/")},children:"Employee view"})]})},gs=[{name:"Admin view",href:"#/admin"},{name:"Employee view",href:"#/"}],un=()=>t("span",{className:"inline-block h-8 w-8 rounded-full overflow-hidden bg-white border",children:t("svg",{className:"h-full w-full text-gray-300",fill:"currentColor",viewBox:"0 0 24 24",children:t("path",{d:"M24 20.993V24H0v-2.996A14.977 14.977 0 0112.004 15c4.904 0 9.26 2.354 11.996 5.993zM16.002 8.999a4 4 0 11-8 0 4 4 0 018 0z"})})}),bs=({user:e})=>t(w,{children:t(ke,{as:"div","data-dd-action-name":"User menu",className:"z-30 relative inline-block text-left",children:({open:n})=>t(w,{children:[t("div",{children:t(ke.Button,{className:`max-w-xs bg-white flex items-center text-sm rounded-full hover:outline-none hover:ring-2 hover:ring-offset-2 hover:ring-primary ${n?"outline-none ring-2 ring-offset-2 ring-primary":""} `,children:t(un,{})})}),t(he,{enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:t(ke.Items,{className:"absolute right-0 mt-2 w-56 divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none",children:t("div",{className:"px-1 py-1 ",children:[t(ke.Item,{children:()=>t("div",{className:"mx-3 py-2",children:[t("div",{className:"text-base font-medium text-gray-800 dd-privacy-mask",children:e.basicProfile.firstName}),t("div",{className:"text-sm font-medium text-gray-500 dd-privacy-mask",children:e.basicProfile.email})]})}),t("div",{className:"border-t border-grey-900",children:t(ke.Item,{children:({active:a})=>t("button",{onClick:()=>G.signOutRedirectAsync(),className:`${a?"bg-secondary text-primary rounded-md":"text-gray-900 "} group flex w-full items-center mt-2 mb-1 px-3 py-2 text-sm font-medium`,children:"Logout"})})})]})})})]})})}),bt=e=>{const n=e.user;if(fe(n))return t(w,{});const[a,s]=p(!1),i=n.value.benefitsProfile.role!=="user";return f(()=>{const r=[Q.appView$.subscribe(l=>{s(l==="employee")})];return()=>{r.map(l=>l.unsubscribe())}},[]),t(w,{children:t(at,{as:"nav",className:"bg-gray-50 border-0 md:border-b md:border-gray-200",children:({open:r})=>t(w,{children:[t("div",{className:`mx-auto px-4 sm:px-6 lg:px-8 border-b border-gray-200 md:border-none ${i&&!a?"":"max-w-[90rem]"}`,children:t("div",{className:"flex justify-between h-16",children:[t("div",{className:"flex",children:t("a",{href:"#",onClick:()=>j("/"),className:"flex-shrink-0 flex items-center",children:t("img",{className:"block h-8 w-auto",src:rn,alt:"Flare Benefits"})})}),t("div",{className:"ml-10 flex flex-wrap flex-grow content-end",children:t("div",{className:"hidden sm:block",children:a&&t(Vt,{user:n.value})})}),t("div",{className:"flex flex-wrap content-center",children:t("div",{className:"hidden md:block",children:i&&t(ps,{})})}),t("div",{className:"hidden md:ml-6 md:flex md:items-center",children:t(bs,{user:n.value})}),t("div",{className:"-mr-2 flex items-center md:hidden",children:t(at.Button,{className:"bg-white inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary",children:[t("span",{className:"sr-only",children:"Open main menu"}),r?t(en,{className:"block h-6 w-6","aria-hidden":"true"}):t(sa,{className:"block h-6 w-6","aria-hidden":"true"})]})})]})}),t(at.Panel,{className:"md:hidden",children:t("div",{className:"pt-4 pb-3 border-b border-gray-200",children:[t("div",{className:"flex items-center px-4",children:[t("div",{className:"flex-shrink-0",children:t(un,{})}),t("div",{className:"ml-3",children:[t("div",{className:"text-base font-medium text-gray-800 dd-privacy-mask",children:n.value.basicProfile.firstName}),t("div",{className:"text-sm font-medium text-gray-500 dd-privacy-mask",children:n.value.basicProfile.email})]})]}),t("div",{className:"mt-3 space-y-1",children:[i&&t(w,{children:gs.map(l=>t("a",{href:l.href,className:"block px-4 py-2 text-base font-medium text-gray-500 hover:text-primary hover:bg-secondary",children:l.name},l.name))}),t("a",{onClick:()=>G.signOutRedirectAsync(),className:"block cursor-pointer px-4 py-2 text-base font-medium text-gray-500 hover:text-primary hover:bg-secondary",children:"Logout"})]})]})}),a&&t("div",{className:"sm:hidden bg-white border-b border-gray-200",children:t(Vt,{user:n.value})})]})})})},ys="/customer-profile/backend/v1.0/workplace-link/config";class ws{async getConfigAsync(){return se.instance.url(ys).get().json()}}const vs=new ws,ks=e=>({isEstablished:e==null?void 0:e.isEstablished}),xs="/flare-app-identity/backend/v1.0/auth/token";class Ns{async getTokenAsync(){return se.instance.url(xs).get().json()}}const As=new Ns;class Cs{async getUserProfile(){return await D.instance.url("users/self").get().json()}async getBasicProfileByEmail(n){const a=await D.instance.url(`users?email=${n}`).get().notFound(()=>null).json();return $(a)}saveConsent(){D.instance.url("users/consent").post()}}const rt=new Cs;class Dt{constructor(){y(this,"basicProfile");y(this,"benefitsProfile");y(this,"featureFlags");y(this,"account")}static toDomain(n){return{basicProfile:n.basicProfile,benefitsProfile:n.benefitsProfile,featureFlags:n.featureFlags,accountName:n.account?n.account.name+(n.account.legalEntityName?" - "+n.account.legalEntityName:""):void 0}}}const de=class de{static get profileId(){if(fe(this._profileId))throw Error("ProfileId is missing.");return this._profileId.value}static set profileId(n){this._profileId=$(n)}static set accountId(n){this._accountId=$(n)}static get profileIdOrDefault(){return I(this._profileId,"")}static get accountIdOrDefault(){return I(this._accountId,"")}static get partnerIdOrDefault(){return I(this._partnerId,"")}extractProfileId(n){const a=$(ra(n).sub);if(fe(a))throw Error("profileId property is missing.");de.profileId=a.value}async loadSignedInUserProfileAsync(){const n=Dt.toDomain(await rt.getUserProfile());de.accountId=n.basicProfile.accountId,T.update(a=>{a.user=$(n)})}saveUserConsent(){return rt.saveConsent(),T.update(n=>{const a=I(n.user,void 0);a&&(n.user=$({...a,benefitsProfile:{...a.benefitsProfile,hasConsent:!0}}))}),Promise.resolve()}async setWorkplaceLinkConfig(){const n=ks(await vs.getConfigAsync()),a=n.isEstablished?await this.fetchWorkplaceBackendTokenAsync():void 0;T.update(s=>{const i=I(s.user,void 0);i&&(s.user=$({...i,workplaceLinkConfig:{...n,workplaceBackendToken:a}}))})}setIsEstablished(){T.update(n=>{const a=I(n.user,void 0);a&&(n.user=$({...a,workplaceLinkConfig:{...a.workplaceLinkConfig,isEstablished:!0}}))})}setAllowanceCompleted(){T.update(n=>{const a=I(n.user,void 0);a&&(n.user=$({...a,featureFlags:{...a.featureFlags,allowance:!1}}))})}async updateCustomerIdAsync(n){const a=Dt.toDomain(await rt.getUserProfile()),s=a.basicProfile.customerId?await this.fetchWorkplaceBackendTokenAsync():void 0;T.update(i=>{const r=I(i.user,void 0);r&&(i.user=$({...r,workplaceLinkConfig:{...r.workplaceLinkConfig,workplaceBackendToken:s},basicProfile:{...r.basicProfile,customerId:a.basicProfile.customerId}})),n&&n()})}async fetchWorkplaceBackendTokenAsync(){try{return(await As.getTokenAsync()).token}catch{return}}};y(de,"_profileId",C),y(de,"_accountId",C),y(de,"_partnerId",C);let ut=de;const q=we.createContext(C),hn=we.createContext(!1),te=new ut,je=()=>{const e=ce(q),{service:n}=O();return f(()=>{n.trackAppOfferAcceptedAsync()},[]),t(w,{children:[t(bt,{user:e}),t("div",{className:"p-4",children:t("workplace-link",{"access-token":on.jwt,"backend-url":M.getConfig().apiGatewayBaseUrl,source:"WebBenefits",channel:"web"})})]})},fn=()=>{const e=ia(),n=e.startsWith("state")||e.startsWith("code")||e.startsWith("error");return t(w,{children:n?t(je,{}):t("div",{className:"notfound",children:[t("h1",{children:"Error 404"}),t("p",{children:"That page doesn't exist."}),t("a",{href:"#/",children:t("h4",{children:"Back to Home"})})]})})};function xe(e){return we.useContext(hn)?la(e.component,e):t(Ze,{})}const yt=e=>({listen:n=>e.listen(({location:a})=>n(a)),location:e.location,push:e.push,replace:e.replace}),Ps="/benefits-plan/backend/v1.0/categories",Is=(e,n)=>`/benefits-plan/backend/v1.0/categories/${e}/products/${n}`;class Ts{constructor(){y(this,"_backendClientWithCacheEnabled")}get backendClientWithCacheEnabled(){return this._backendClientWithCacheEnabled||(this._backendClientWithCacheEnabled=se.instance.middlewares([ca(),oa({throttle:1e4})])),this._backendClientWithCacheEnabled}async getCategoriesAsync(){return this.backendClientWithCacheEnabled.url(Ps).get().json()}async getProductActivitesAsync(n,a){const s=Is(n,a);return se.instance.url(s).get().json()}}const wt=new Ts,vt=async(e,n)=>{const[a]=await Promise.all([e,new Promise(s=>window.setTimeout(s,n))]);return a},_e=e=>new Promise(n=>setTimeout(n,e));class Ss{constructor(){y(this,"client",new cn(()=>{const n=M.getConfig();return da({space:n.contentfulSpace,environment:n.contentfulEnvironment,accessToken:n.contentfulApiKey})}))}async loadCollectionsAsync(){return(await this.client.value.getEntries({content_type:"benefitsCollection"})).items.map(a=>{var i,r,l,c,d;const{fields:s}=a;return{id:a.sys.id,title:s.title,description:s.description,coverPhotoUrl:((l=(r=(i=s.coverPhoto)==null?void 0:i.fields)==null?void 0:r.file)==null?void 0:l.url)??"",pillar:((c=s.pillar)==null?void 0:c.toLowerCase())??"money",articles:((d=s.contentLibrary)==null?void 0:d.map(o=>({id:o.sys.id,title:o.fields.title,subtitle:o.fields.subtitle,coverPhotoUrl:o.fields.coverPhoto.fields.file.url,pillar:o.fields.pillar.toLowerCase(),primaryContentType:o.fields.primaryContentType.toLowerCase(),slug:"",externalLink:""})))??[],state:"visible"}})}async loadAvailableEntryPreviewsAsync(){return(await this.client.value.getEntries({"sys.contentType.sys.id[in]":"benefitsWellbeingArticle,benefitsExternalLink",select:"sys.id,fields"})).items.map(a=>{const{fields:s}=a;return{id:a.sys.id,title:s.title,subtitle:s.subtitle,coverPhotoUrl:s.coverPhoto.fields.file.url,pillar:s.pillar.toLowerCase(),primaryContentType:s.primaryContentType.toLowerCase(),slug:s.slug,externalLink:s.externalLink}})}async loadArticleAsync(n){const a=await this.client.value.getEntries({content_type:"benefitsWellbeingArticle",limit:1,include:10,"fields.slug":n});if(a.items.length===0)throw Error("Couldn't find this article");return a.items[0].fields}async loadBenefitsPlanCategoryAsync(){return(await this.client.value.getEntries({content_type:"benefitsWebCategoryTile"})).items.map(a=>a.fields)}async loadBenefitsLandingModalAsync(n){const a=await this.client.value.getEntries({content_type:"benefitsWebLandingModal",limit:1,"fields.slug":n});if(a.items.length!==0)return a.items[0].fields}async loadBenefitsPlanWebHomeAsync(){const n=await this.client.value.getEntries({content_type:"benefitsBenefitsPlanWeb",limit:1,"fields.slug":"home"});if(n.items.length===0)throw Error("Couldn't find benefits plan home.");return n.items[0].fields}async tryLoadActivityAdvertisementAsync(n){var a;try{return(a=(await this.client.value.getEntry(n)).fields.webBenefitsLandingModal)==null?void 0:a.fields}catch{return}}async loadFeaturedOffersAsync(){var s;const n=await this.client.value.getEntries({content_type:"benefitsProductOfferCategory"}),a=((s=n.includes)==null?void 0:s.Entry)??[];return n.items.map(({fields:{category:i,offers:r}})=>({category:i,offers:r.map(l=>{var o;if(typeof l!="object")return;const{sys:{id:c,type:d}}=l;return d==="Entry"?l.fields:d==="Link"?(o=a.find(g=>g.sys.id===c))==null?void 0:o.fields:void 0}).filter(l=>l)}))}async loadAllowanceContentAsync(n){return await this.client.value.getEntries({content_type:"benefitsMarketplaceContent","fields.contentId":n})}async loadBenefitsMarketplaceOfferAsync(){const n=await this.client.value.getEntries({content_type:"benefitsMarketplaceOffer",limit:1});if(n.items.length===0)throw Error("Couldn't find benefits marketplace offer.");return n.items[0].fields}}const ee=new Ss,pn=["Start","Get Estimate","View","Ineligible"],Ls=async()=>vt(ee.loadBenefitsPlanCategoryAsync(),700),Es=async()=>vt(ee.loadBenefitsPlanWebHomeAsync(),700),gn=e=>{switch(e.action){case"activity-assessment":return"activity-assessment";case"cars-calculator-ungated":return"cars-calculator-ungated";case"cars-calculator-gated":return"cars-calculator-gated";case"typeform":return e.typeformId?"typeform":"none";case"shopify":return"shopify";case"external-link":return e.link?"external-link":"none";case"activity-advertisement":return"activity-advertisement";default:return"none"}},Os=async e=>{const n=e.products.length>0?await wt.getProductActivitesAsync(e.id,e.products[0].id):{activities:[]};return(await Promise.all(n.activities.filter(s=>s.activityType==="Advertisement").map(async s=>{const i=await ee.tryLoadActivityAdvertisementAsync(s.articleId);return i?{...i,id:s.id,title:s.title}:void 0}))).filter(s=>!!s)},bn=(e,n)=>{var a;return{id:e.slug,modalBody:e.body,disclaimer:e.disclaimer,heroImageDesktop:e.heroImageDesktop,heroImageMobile:e.heroImageMobile,buttonText:e.actionButtonText,component:gn(e),typeformId:e.typeformId,order:e.order||100,externalUrl:((a=e.link)==null?void 0:a.replace(/\s+/g,""))||void 0,categoryTitle:e.categoryTitle,assessmentId:e.assessmentId,selectionTile:e.tileDisplayTitle&&e.tileSubtitle&&e.tileImage?{activityId:e.id||"unknown",activityName:e.title||"unknown",displayTitle:e.tileDisplayTitle,subtitle:e.tileSubtitle,tileImage:e.tileImage,buttonText:(n==null?void 0:n.landingModal.fields.actionButtonText)||"Learn More",order:e.order||100}:void 0}},Ft=(e,n,a)=>{const s=a.map(i=>bn(i,n));return{id:e.id,title:n.categoryTitle,displayTitle:n.displayTitle,subtitle:n.subtitle,iconUrl:e.iconUrl,order:n.order,landings:s.filter(i=>i.component!=="none").sort((i,r)=>i.order-r.order)}},Bs=async e=>{try{const n=await ee.loadBenefitsLandingModalAsync(e);if(n&&(n==null?void 0:n.action)!=="activity-advertisement")return[bn(n)]}catch{return[]}return[]},$s=async()=>{try{const e=await wt.getCategoriesAsync(),n=await Ls();return(await Promise.all(e.categories.filter(s=>n.find(r=>r.categoryTitle.toLowerCase()===s.title.toLowerCase())&&pn.includes(s.status)).map(async s=>{try{const i=n.find(r=>r.categoryTitle.toLowerCase()===s.title.toLowerCase());switch(gn(i.landingModal.fields)){case"activity-advertisement":{const r=await Os(s);return r.length>0?Ft(s,i,r):void 0}default:return Ft(s,i,[i.landingModal.fields])}}catch{return}}))).filter(s=>!!s&&s.landings.length>0).sort((s,i)=>s.order-i.order)}catch{return[]}},_s=async(e,n)=>{try{const a=await wt.getCategoriesAsync(),s=await ee.loadFeaturedOffersAsync(),i=a.categories.filter(r=>pn.includes(r.status));return s.flatMap(r=>{const l=i.find(c=>c.title.toLocaleLowerCase()===r.category.toLocaleLowerCase());return l?r.offers.filter(c=>c.displayLocations.includes(e)&&(!c.expiryDate||new Date(c.expiryDate).getTime()>Date.now())&&(!c.accounts||c.accounts.length===0||c.accounts.includes(n))).map(c=>({...c,categoryName:l.title,categoryId:l.id})):[]}).map(r=>{try{return{title:r.title,subtitle:r.subtitle,categoryId:r.categoryId,categoryName:r.categoryName,slug:r.slug,location:e,coverPhotoMobileUrl:r.coverPhoto.fields.file.url,coverPhotoDesktopUrl:r.webBannerImage.fields.file.url,linkButtonText:r.linkButtonLabel,linkUrl:r.linkUrl,order:r.displayPriority??0}}catch{return}}).filter(r=>r).sort((r,l)=>l.order-r.order)}catch{return[]}},Ms=()=>{const e=()=>Q.getValue().mode;return{isDefault:()=>e()==="default",isPba:()=>e()==="pba"}},yn=Ms(),Rs=({children:e,onSwipedLeft:n,onSwipedRight:a,onSwipedUp:s,onSwipedDown:i,...r})=>{const[c,d]=p(0),[o,g]=p(0),[h,b]=p(0),[v,k]=p(0);return t("div",{onTouchStart:u=>{g(0),d(u.targetTouches[0].clientX),k(0),b(u.targetTouches[0].clientY)},onTouchMove:u=>{g(u.targetTouches[0].clientX),k(u.targetTouches[0].clientY)},onTouchEnd:()=>{if(!c||!o||!h||!v)return;const S=c-o>50,U=h-v>50;Math.abs(c-o)>Math.abs(h-v)?S?n==null||n():a==null||a():U?s==null||s():i==null||i()},...r,children:e})},Us=({autoplay:e,slidesContainerClassName:n,onSlideChange:a,children:s})=>{const[i,r]=p(0),l=R(),c=(e==null?void 0:e.enabled)&&s.length>1;if(!s)return t(w,{});const d=()=>{c&&(l.current=setInterval(h,e.interval))},o=()=>clearInterval(l.current),g=()=>{o(),d()},h=()=>{r(k=>k===s.length-1?0:k+1),g()},b=()=>{r(k=>k===0?s.length-1:k-1),g()},v=k=>{r(k),g()};return f(()=>(d(),o),[]),f(()=>{a==null||a(i)},[i]),t(Rs,{onSwipedLeft:b,onSwipedRight:h,children:[t("div",{className:"relative",children:[s.length>1&&t(Vs,{className:"hidden md:flex absolute top-0 left-4",onClick:b}),t("div",{className:`${n??""} flex flex-row overflow-hidden`,children:s.map((k,x)=>t(Fs,{index:x,activeIndex:i,children:k},x))}),s.length>1&&t(Ds,{className:"hidden md:flex absolute top-0 right-4",onClick:h})]}),s.length>1&&t(js,{itemsCount:s.length,activeIndex:i,onClick:v})]})},Vs=({className:e,onClick:n})=>t("div",{className:`flex h-full items-center z-10 ${e??""}`,children:t(ma,{className:"w-7 h-7 p-1 rounded-full bg-white shadow cursor-pointer hover:bg-gray-200/50",onClick:n})}),Ds=({className:e,onClick:n})=>t("div",{className:`flex h-full items-center z-10 ${e??""}`,children:t(ua,{className:"w-7 h-7 p-1 rounded-full bg-white shadow cursor-pointer hover:bg-gray-200/50",onClick:n})}),Fs=({index:e,activeIndex:n,children:a})=>{let s;return e<n&&(s=`-${(e+1)*100}%`),e===n&&(s=`-${e*100}%`),e>n&&(s=`-${(e-1)*100}%`),t("div",{className:"w-full flex-none transition duration-500",style:{transform:`translate( ${s}, 0)`},children:a})},js=({itemsCount:e,activeIndex:n,onClick:a})=>t("div",{className:"mt-2 flex justify-center gap-2",children:Array(e).fill(null).map((s,i)=>t("span",{className:`inline-block w-2 h-2 cursor-pointer outline outline-4 rounded-full ${i===n?"bg-primary outline-primary/25":"bg-gray-300 outline-transparent"}`,onClick:()=>a(i)},i))}),ye=e=>{const n=dt(e.href),[a,s]=p();f(()=>{const r=[Q.signedInUser$.subscribe(l=>{_(l)?s(l.value):s(void 0)})];return()=>{r.map(l=>l.unsubscribe())}},[]);const i=r=>()=>{j(r),e.onClick&&e.onClick()};return t(w,{children:n?t("a",{className:e.className,onClick:i(n),children:e.children}):t("a",{href:Za(e.href,a),className:e.className,onClick:e.onClick,target:"_blank",rel:"noopener noreferrer",children:e.children})})},N=({height:e,width:n,className:a})=>t("div",{className:a,children:t("div",{className:"flex animate-pulse flex-row h-full",children:t("div",{style:{width:`${n?`${n}rem`:"100%"}`,height:`${e}rem`},className:"bg-gray-300 rounded"})})}),Ws=()=>t(w,{children:t("div",{className:"w-full bg-gray-50 border-grey-100 border rounded-lg flex",children:t("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 place-items-center md:h-72 p-4 md:p-9",children:[t("div",{className:"w-full flex flex-col gap-4 md:gap-8",children:[t(N,{className:"w-1/5",height:1.5}),t(N,{className:"w-2/5",height:1.5}),t(N,{className:"w-4/5",height:1.5})]}),t(N,{className:"hidden md:block w-full",width:20,height:10})]})})}),Hs=({offers:e})=>{const n=R({}),{service:a}=O(),s=Z(r=>{if(!(e!=null&&e.length)||n.current[r])return;const l=e.find((c,d)=>d===r);l.isAppOffer?a.trackAppOfferViewedAsync():a.trackPromotionViewedAsync(l.slug,l.location,l.categoryId,l.categoryName),n.current[r]=!0},[e,a,n]),i=Z(r=>{a.trackPromotionSelectedAsync(r.slug,r.location,r.categoryId,r.categoryName,r.linkUrl)},[a]);return e?t(Us,{autoplay:{enabled:!0,interval:5e3},slidesContainerClassName:"bg-white border-grey-100 border rounded",onSlideChange:s,children:e.map(r=>t(ye,{className:"cursor-pointer",onClick:()=>i(r),href:r.linkUrl,children:t("div",{className:"md:h-[22.5rem] w-full flex flex-col md:flex-row text-gray-900",children:[t("div",{className:"md:hidden overflow-hidden w-full",children:t("img",{src:r.coverPhotoMobileUrl})}),t("div",{className:"flex flex-1 flex-col flex-grow justify-center py-4 px-4 md:py-0 md:pl-16 md:pr-0",children:[t("div",{className:"text-2xl leading-8 lg:text-3xl xl:text-4xl lg:leading-10 font-extrabold pt-4",children:r.title}),t("div",{className:"text-md md:text-lg leading-6 mt-2 font-medium max-w-lg",children:r.subtitle}),t("div",{className:"pt-5",children:t("span",{className:"block w-full mx-auto md:w-auto text-center md:inline-flex items-center px-4 py-2 border border-transparent shadow-sm text-sm leading-6 font-semibold rounded-md text-white bg-primary",children:t("span",{children:r.linkButtonText})})})]}),t("div",{className:"hidden md:block overflow-hidden",children:t("img",{src:r.coverPhotoDesktopUrl,className:"object-scale-down h-full"})})]})}))}):t(Ws,{})};const zs=({children:e,className:n})=>t("div",{className:"gradient-tile "+n,children:e}),qs=({title:e,subtitle:n,externalUrl:a,icon:s,onClick:i})=>t("a",{className:"w-full cursor-pointer",href:a,target:a&&"_blank"||void 0,onClick:i,children:t(zs,{className:"pl-6 pr-4 py-4 md:w-48 md:h-48 md:px-4 md:py-6 bg-white bg-opacity-50 hover:bg-opacity-100 shadow hover:shadow-lg border-2 rounded-md flex md:flex-col md:justify-items-center md:items-center",children:[t("div",{className:"flex justify-start item-center self-center",children:s}),t("div",{className:"ml-6 md:ml-0 md:text-center md:mt-auto",children:[t("div",{className:"text-blue-600 text-l md:text-xl font-bold leading-7",children:e}),t("div",{className:"text-gray-900 text-base font-medium leading-normal",children:n})]})]})}),Gs={renderText:e=>e.split(`
|
|
4
|
+
`).flatMap((n,a)=>[a>0&&t("br",{}),n]),renderNode:{[V.BLOCKS.PARAGRAPH]:(e,n)=>t("p",{className:"relative text-gray-500 text-sm font-normal leading-5",children:n}),[V.INLINES.HYPERLINK]:(e,n)=>t("a",{className:"text-blue-600 underline",href:e.data.uri,target:"_blank",rel:"noopener noreferrer",children:n})}},Ks=({body:e})=>t(w,{children:ve.documentToReactComponents(e,Gs)}),Qs=()=>t(w,{children:[t(N,{className:"mb-1 md:mb-2",width:20,height:4}),t(N,{className:"mb-5 md:mb-10",width:40,height:2}),t("div",{className:"flex flex-col md:flex-row gap-3 md:gap-8 flex-wrap",children:[t(N,{className:"hidden md:block",width:12,height:12}),t(N,{className:"md:hidden block",height:6}),t(N,{className:"hidden md:block",width:12,height:12}),t(N,{className:"md:hidden block",height:6}),t(N,{className:"hidden md:block",width:12,height:12}),t(N,{className:"md:hidden block",height:6}),t(N,{className:"hidden md:block",width:12,height:12}),t(N,{className:"md:hidden block",height:6}),t(N,{className:"hidden md:block",width:12,height:12}),t(N,{className:"md:hidden block",height:6}),t(N,{className:"hidden md:block",width:12,height:12}),t(N,{className:"md:hidden block",height:6})]})]}),Ys=({categories:e,content:n})=>{const{service:a}=O(),[s,i]=p(!0),r=be.getIsWelcomeModalOpen();return f(()=>{if(!s&&!r){const l=e?e.map(c=>c.title):[];a.trackBenefitsPlanViewedAsync(l)}},[s,r]),f(()=>{e&&(n!=null&&n.title)?i(!1):i(!0)},[e,n==null?void 0:n.title]),t("div",{className:"relative",children:[t("div",{className:"bg-[linear-gradient(0deg,_#2E66F7_0%,_#0005D2_100%)] absolute w-full h-full blur-[250px] opacity-10"}),e&&(n!=null&&n.title)?t(w,{children:[t("div",{className:"text-gray-700 text-2xl md:text-4xl font-bold md:font-extrabold leading-loose md:leading-10 mb-1 md:mb-2",children:n.title}),n.subtitle&&t("div",{className:"text-black text-base md:text-2xl font-normal leading-normal md:leading-loose mb-5 md:mb-10",children:n.subtitle}),t("div",{className:"flex flex-col md:flex-row gap-3 md:gap-8 flex-wrap mb-6",children:e==null?void 0:e.map(l=>t("div",{className:"category-container flex md:flex-col",children:t(qs,{title:l.displayTitle||l.title,subtitle:l.subtitle,icon:t("img",{src:l.iconUrl,className:"w-10 h-10 md:w-16 md:h-16"}),onClick:()=>j("/categories/"+l.title.toLocaleLowerCase())},l.id)}))}),n.disclaimer&&t(Ks,{body:n.disclaimer})]}):t(Qs,{})]})},Xs="/benefits/app/assets/all_tab_color-548783b9.svg",Js="/benefits/app/assets/all_tab_gray-a5051313.svg",wn={money:"text-blue-400",mind:"text-green-400",body:"text-red-400",work:"text-orange-400",life:"text-yellow-400"},jt=["all",...ze],Zs=({children:e})=>t("nav",{className:"flex p-2 space-x-8 bg-gray-50","aria-label":"Tabs",children:e}),er=e=>{const{children:n,onClick:a,className:s,selected:i}=e;return t("div",{onClick:a,className:Y(s??"",i?"bg-white shadow-md text-gray-800":"text-gray-600 hover:bg-gray-100","w-full py-2 capitalize text-base leading-6 font-semibold rounded-lg focus:outline-none","cursor-pointer flex items-center justify-center"),"aria-current":i?"page":void 0,children:n})},tr=({currentTab:e,tabNameList:n,onTabClicked:a})=>t(w,{children:[t("label",{htmlFor:"tabs",className:"sr-only",children:"Select a tab"}),t("select",{id:"tabs",name:"tabs",className:"block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-primary focus:border-primary sm:text-sm rounded-md",value:e,onChange:s=>{const i=s.currentTarget.value;a(i)},children:n.map(s=>t("option",{value:s,children:us(s)}))})]}),nr={money:ha.faUsdSquare,mind:fa.faSpa,body:pa.faHeartbeat,work:ga.faBriefcase,life:ba.faUmbrellaBeach},vn=(e,n)=>t(Je,{size:n??"lg",icon:nr[e]}),kn=({currentTab:e,onTabClicked:n})=>{const a=l=>vn(l,"1x"),s=l=>t("div",{className:wn[l],children:a(l)}),i={all:t("img",{className:"h-3.5 w-3.5",src:Js,alt:""}),...Object.fromEntries(ze.map(l=>[l,a(l)]))},r={all:t("img",{className:"h-3.5 w-3.5",src:Xs,alt:""}),...Object.fromEntries(ze.map(l=>[l,s(l)]))};return t(w,{children:[t("div",{className:"sm:hidden",children:t(tr,{currentTab:e,onTabClicked:l=>n(l),tabNameList:[...jt]})}),t("div",{className:"hidden sm:block",children:t(Zs,{children:jt.map(l=>t(er,{onClick:()=>{n(l)},selected:e===l,className:"uiid-explore-perks-tabs",children:[e===l?r[l]:i[l],t("span",{className:"uiid-explore-tab-name ml-3",children:l})]},l))})})]})},xn=({onSearchEvent:e})=>{const n=R(null),a=R(null),[s,i]=p(!1);return f(()=>{const r=[n.current&&Pt(n.current,"input").pipe(ya("target","value"),Jt(l=>{i(!!l)}),wa(500)).subscribe(async l=>{e(l)}),a.current&&Pt(a.current,"click").subscribe(()=>{n.current.value="",i(!1),e("")})];return()=>{r.map(l=>l==null?void 0:l.unsubscribe())}},[]),t("div",{className:"flex relative rounded-md shadow-sm",children:[t("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none","aria-hidden":"true",children:t(va,{className:"mr-3 h-4 w-4 text-gray-400","aria-hidden":"true"})}),t("input",{type:"text",name:"search",id:"search",ref:n,placeholder:"Search perks",className:"uiid-search-bar-input block w-full pl-9 rounded-none rounded-md sm:text-sm border-gray-300"}),t("div",{className:Y(s?"":"hidden","absolute inset-y-0 right-0 pr-3 flex items-center z-10 cursor-pointer"),ref:a,children:t(Ce,{className:"h-5 w-5 text-gray-400 ","aria-hidden":"true"})})]})};var Wt,Ht;const ar=()=>({all:[],money:[],mind:[],body:[],work:[],life:[]}),sr=()=>({perksTab:"all",searchString:""});let rr=(Wt=Se({name:"explore-perks",cache:{ttl:"3600000"},idKey:"benefitId",resettable:!0,producerFn:Le}),Wt(Ht=class extends tn{constructor(){super(sr())}})||Ht);const Ie=new rr,ir=()=>({setTab:e=>{Ie.update(n=>{n.perksTab=e})},searchPerks:e=>{Ie.update(n=>{n.searchString=e,n.perksTab="all"})}}),it=ir(),Nn=({children:e,className:n})=>t("div",{className:Y(n??"","grid items-stretch sm:grid-cols-2 lg:grid-cols-3 gap-8"),children:e}),An=({children:e})=>t("div",{className:"uiid-preview-empty flex items-center justify-center sm:col-span-2 lg:col-span-3 justify-items-center content-center bg-gray-100 rounded-lg overflow-hidden h-72",children:t("div",{className:"text-xl font-medium text-gray-400 text-center",children:e})});class lr{async getBenefitsAsync(){return D.instance.url("benefits").get().json()}async postDocumentAsync(n){return D.instance.url("document").addon(It).formData(n).post().badRequest(a=>{throw new Error(a.message)}).json()}async postImageAsync(n){return D.instance.url("image").addon(It).formData(n).post().badRequest(a=>{throw new Error(a.message)}).json()}commandAsync(n,a){return D.instance.url("benefits/track-event").query(a||{}).post(n).badRequest(s=>{throw new Error(s.message)}).res()}}const re=new lr,cr="/benefits/app/assets/workplace_link_banner_mobile-6ebaa24b.png",or="/benefits/app/assets/workplace_link_banner_v2-c81ed849.png",dr="/workplace-link";class ne extends nn{constructor(a){super(a);y(this,"perksTab$",this.select(a=>a.perksTab));y(this,"all$",Ue([this.selectAll()]).pipe(Ve(([a])=>ne.filterPerks(a,"","all"))));y(this,"classifiedPerks$",Ue([this.selectAll(),this.select(a=>a.searchString)]).pipe(Ve(([a,s])=>{const i=s?ne.searchPerks(a,s):a;return ne.classifyPerks(i)})));y(this,"perksOnStage$",Ue([this.selectAll(),this.select(a=>a.searchString),this.select(a=>a.perksTab)]).pipe(Ve(([a,s,i])=>this.getHasCache()?ae.fromNullable(ne.filterPerks(a,s,i)):C)));this.store=a}static filterPerks(a,s,i){const r=ne.searchPerks(a,s).filter(l=>i==="all"||l.benefit.category===i);return ne.excludeLocalPerk(r,dr)}static searchPerks(a,s){return a.filter(i=>i.benefit.title.toLowerCase().includes(s.toLowerCase())||i.benefit.subtitle.toLowerCase().includes(s.toLowerCase()))}static classifyPerks(a){const s=ar();return a.forEach(i=>{const r=i.benefit.category;s[r].push(i)}),s.all=a,s}static findLocalPerk(a,s){const i=a.filter(r=>{var l;return(l=dt(r.benefit.url))==null?void 0:l.startsWith(s)});return i.length===0?void 0:i[0]}static excludeLocalPerk(a,s){return a.filter(r=>{var l;return!((l=dt(r.benefit.url))!=null&&l.startsWith(s))})}}const Ge=new ne(Ie);var zt,qt;function mr(){return{loading:!1,featuredPerks:C,featuredProductOffers:void 0,viewPerk:{isOpen:!1,perk:C},viewLanding:{isOpen:!1,landingSelection:[]},categories:void 0,benefitsPlanHome:void 0}}let ur=(zt=Se({name:"home-page",resettable:!0,producerFn:Le}),zt(qt=class extends ht{constructor(){super(mr())}})||qt);const X=new ur;class hr extends Ye{constructor(a){super(a);y(this,"homePageState$",this.select(a=>a.featuredPerks));y(this,"viewPerkState$",this.select(a=>a.viewPerk));y(this,"viewLandingState$",this.select(a=>a.viewLanding));y(this,"categoryState$",this.select(a=>a.categories));y(this,"benefitsPlanHomeState$",this.select(a=>a.benefitsPlanHome));y(this,"bannerItems$",this.select(a=>a.featuredProductOffers));this.store=a}}const J=new hr(X),fr=()=>({getViewPageState:()=>{const e=n=>{X.update(a=>{a.featuredPerks=$(n)}),Ie.set(n.availableBenefits)};return Ge.selectCached(()=>re.getBenefitsAsync(),e)},getMarketplaceCategoryState:()=>{const e=n=>{X.update(a=>{a.categories=n})};return J.selectCached(()=>$s(),e)},getBenefitsPlanHome:()=>{const e=n=>{X.update(a=>{a.benefitsPlanHome=n})};return J.selectCached(()=>Es(),e)},getBannerItems:e=>{const n=s=>{X.update(i=>{i.featuredProductOffers=s})},a=()=>_s("webBanner",e.basicProfile.accountId).then(s=>e.featureFlags[ln.FlareApp]?s.concat([{isAppOffer:!0,title:"Workplace benefits in your pocket!",subtitle:"Download the Flare app for easy access to your workplace benefits and much more.",categoryId:"",categoryName:"",slug:"",location:"webBanner",coverPhotoMobileUrl:cr,coverPhotoDesktopUrl:or,linkButtonText:"Get Flare App",linkUrl:"#/workplace-link"}]):s);return J.selectCached(()=>a(),n)},reloadViewPageState:()=>{Ie.setHasCache(!1)},openPerk:e=>{X.update(n=>{n.viewLanding={isOpen:!1,landingSelection:[],category:void 0},n.viewPerk={isOpen:!0,perk:ft(e)}})},closePerk:()=>{X.update(e=>{e.viewPerk.isOpen=!1})},openLanding:(e,n)=>{X.update(a=>{a.viewPerk.isOpen=!1,a.viewLanding={isOpen:!0,landingSelection:e,category:n}})},closeLanding:()=>{X.update(e=>{e.viewLanding={isOpen:!1,landingSelection:[],category:void 0}})}}),B=fr(),Cn="/benefits/app/assets/default_backdrop-fdd955b8.png",kt=e=>{const n=t(w,{children:[t("div",{className:"flex-shrink-0",children:t("img",{className:Y(e.imageClassName??"h-48 w-full object-cover"),src:e.imageUrl,alt:""})}),t("div",{className:"flex-1 bg-white p-4 flex flex-col justify-between",children:e.children})]});return t("div",{onClick:e.onClick,className:Y(e.className??"",e.onClick?"cursor-pointer":"","flex flex-col rounded-lg shadow-lg overflow-hidden"),children:e.externalLink?t("a",{href:e.externalLink,target:"_blank",rel:"noopener noreferrer",children:n}):n})},pr=e=>Tt.match(e.toLowerCase()).with("body",()=>"bg-pink-100 text-pink-800").with("life",()=>"bg-yellow-100 text-yellow-800").with("mind",()=>"bg-green-100 text-green-800").with("money",()=>"bg-blue-100 text-blue-800").with("work",()=>"bg-orange-100 text-orange-800").with(Tt.__,()=>"bg-gray-100 text-gray-800").exhaustive(),xt=e=>{const n=pr(e.name),a=e.size==="xs"?"text-xs":"text-sm";return t("div",{className:Y(e.className??"","capitalize inline-flex items-center px-2 py-0.5 rounded font-medium",n,a),children:e.name})},Pn=({perk:e,onClick:n,className:a})=>{var s;return t(kt,{className:a,imageUrl:((s=e.backdrop)==null?void 0:s.downloadUrl)??Cn,onClick:n,children:t("div",{className:"flex-1 pt-2 pb-7 px-2",children:[t(xt,{className:"uiid-perk-tag",name:e.category}),t("div",{className:"block mt-2",children:[t("p",{className:"uiid-perk-item-title text-xl font-semibold text-gray-900",children:e.title}),t("p",{className:"uiid-perk-item-subtitle mt-1 text-sm text-gray-500",children:e.subtitle})]})]})})},In=()=>t("div",{className:"flex flex-col animate-pulse shadow-lg rounded-lg overflow-hidden",children:[t("div",{className:"flex-shrink-0",children:t("div",{className:"h-48 bg-gray-300"})}),t("div",{className:"flex-1 bg-white p-6 pb-9 flex flex-col justify-between",children:t("div",{className:"flex-1",children:[t("div",{className:"h-6 bg-gray-300 rounded w-12"}),t("div",{className:"block mt-2",children:[t("div",{className:"h-4 mt-4 bg-gray-300 rounded w-1/2"}),t("div",{className:"h-4 mt-2 bg-gray-300 rounded w-3/4"})]})]})})]}),Tn=()=>t(w,{children:[...Array(3).keys()].map((e,n)=>t(In,{},n))}),gr=()=>{const[e,n]=p(C),{service:a}=O();f(()=>{const r=[Ge.perksOnStage$.subscribe(n)];return()=>{r.map(l=>l.unsubscribe())}},[]);const s=async r=>{B.openPerk(r),await a.trackExplorePerkViewedAsync(r)},i=I(e,[]).length>0?I(e,[]).map(r=>{const{benefit:l,benefitId:c}=r;return t(Pn,{className:"uiid-explore-perk",perk:l,onClick:()=>s(r)},c)}):t(An,{children:[t("p",{children:"Sorry, no entries were found matching your search request."}),t("p",{children:"Please try another search."})]});return t(Nn,{className:"uiid-perks-grid",children:fe(e)?t(Tn,{}):i})},br=()=>{const[e,n]=p(0),[a,s]=p("all"),{service:i}=O();f(()=>{(async()=>i.trackPerksListViewedAsync(a))();const l=[Ge.all$.subscribe(c=>{n(c.length)}),Ge.perksTab$.subscribe(s)];return()=>{l.map(c=>c.unsubscribe())}},[]),f(()=>()=>{it.searchPerks("")},[]);const r=async l=>{it.setTab(l),await i.trackPerksListViewedAsync(l)};return t("div",{className:"flex flex-col",style:{minHeight:window.innerHeight},children:[t("div",{className:"sm:flex sm:items-center sm:justify-between",children:[t("div",{className:"flex",children:[t("div",{className:"text-2xl md:text-4xl font-bold md:font-extrabold leading-loose md:leading-10 text-gray-700",children:"Explore other perks"}),t("div",{className:"text-2xl md:text-4xl font-bold md:font-extrabold leading-loose md:leading-10 text-gray-500 ml-2",children:["(",e,")"]})]}),t("div",{className:"mt-4 sm:mt-0",children:t(xn,{onSearchEvent:async l=>{it.searchPerks(l),l&&await i.trackPerksListSearched(l)}})})]}),t("div",{className:"mt-4",children:t(kn,{currentTab:a,onTabClicked:r})}),t("div",{className:"mt-6",children:t(gr,{})})]})},yr=e=>{const{perks:n}=e,[a,s]=p(!0),{service:i}=O();f(()=>{s(fe(n))},[n]);const r=c=>{B.openPerk(c),i.trackFeaturePerkViewedAsync(c)},l=I(n,[]).map(c=>{const{benefit:d,benefitId:o}=c;return t(Pn,{className:"uiid-featured-perk",perk:d,onClick:()=>r(c)},o)});return t("div",{className:"flex flex-col",children:[t("div",{className:"text-2xl md:text-4xl font-bold md:font-extrabold leading-loose md:leading-10 text-gray-700",children:"Featured Perks"}),t("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-8 pt-6",children:a?t(Tn,{}):l})]})},et=({isOpen:e,fullWidthMobile:n,onClose:a,children:s})=>t(he.Root,{show:e,as:w,children:t(St,{as:"div",static:!0,className:"modal fixed z-40 inset-0 overflow-y-auto",open:e,onClose:a,children:t("div",{className:`flex items-center justify-center min-h-screen md:max-h-screen mt-auto text-center ${n?"w-screen md:w-auto md:p-4":"p-4"}`,children:[t(he.Child,{as:w,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:t(St.Overlay,{className:"fixed inset-0 bg-black bg-opacity-75 transition-opacity"})}),t("span",{className:"hidden sm:inline-block sm:align-middle sm:h-screen","aria-hidden":"true",children:""}),t(he.Child,{as:w,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:t("div",{className:`inline-block align-bottom transition-all md:align-middle bg-white text-left shadow-xl transform ${n?"mt-auto md:mb-auto md:rounded-lg overflow-visible":"rounded-lg overflow-hidden"}`,children:s})})]})})}),wr=e=>n=>!!n&&e(n),Ke=e=>wr(e.test.bind(e)),Nt=/^\+?(614|6104|04)([0-9]{2})([0-9]{3})([0-9]{3})$/,vr=/^(\+601){1}(1\d{8}|5\d{8}|(0|2|3|4|6|7|8|9)\d{7})$/,kr=/^[0-9]{6}$/,xr=/^[0-9]*$/,Sn=e=>{if(!e)return;const n=e.replace(/\s/g,""),a=n.match(Nt);return a==null?n:`04${a[2]} ${a[3]} ${a[4]}`},Nr=e=>{const n=e.replace(/\s/g,""),a=n.match(Nt);return a==null?n:`+614${a[2]}${a[3]}${a[4]}`},Ln=e=>Ke(Nt)(e)||Ke(vr)(e),En=Ke(kr),Ar=Ke(xr),Cr=({formId:e,profile:n,categoryId:a,categoryName:s})=>{const{service:i}=O(),r=()=>{i.trackActivityCompletedAsync(a,a,s,"typeform")};let l={};return n&&(l={email:n.email,first_name:n.firstName,last_name:n.lastName,mobile:Sn(n.mobilePhone),profile_id:n.profileId,account_id:n.accountId,partner_id:n.partnerId,customer_id:n.customerId,campaign_class:"Platform",campaign_source:"Flare",campaign_medium:"Web Benefits",campaign_name:"Benefits Assessment",skip_welcome:"true"}),t(ka.Widget,{id:e,className:"mx-auto w-screen h-screen md:h-[40rem] md:w-[95vw] md:max-w-[70rem]",hidden:l,inlineOnMobile:!0,onSubmit:r})},Pr=(e,n,a)=>{var d,o,g,h,b,v,k,x,L,m,u,S;const s=ce(q),i=I(s,void 0),r=i==null?void 0:i.basicProfile,l=i==null?void 0:i.accountName;let c={};switch(r&&(c={email:r.email,"first-name":r.firstName,"last-name":r.lastName,mobile:r.mobilePhone,"employer-name":l,"profile-id":r.profileId,"account-id":r.accountId,"partner-id":r.partnerId,"customer-id":r==null?void 0:r.customerId,"sf-class":"Platform","sf-source":"Flare","sf-medium":"Web Benefits","sf-name":"Benefits Assessment"}),a.component){case"activity-assessment":return t("div",{className:"p-10 overflow-x-hidden overflow-y-auto bg-white md:bg-transparent w-screen md:w-auto",children:((d=i==null?void 0:i.workplaceLinkConfig)==null?void 0:d.workplaceBackendToken)&&t("benefits-plan-assessment",{"base-url":e,"profile-id":r.profileId,"access-token":(o=i.workplaceLinkConfig)==null?void 0:o.workplaceBackendToken,"image-url":`${a.heroImageDesktop.fields.file.url}?fm=jpg&q=90&w=640&h=480`,"assessment-title":(k=(v=(b=(h=(g=a.modalBody)==null?void 0:g.content)==null?void 0:h.find(P=>P.nodeType==="heading-1"))==null?void 0:b.content)==null?void 0:v.find(P=>P.nodeType==="text"))==null?void 0:k.value,description:(S=(u=(m=(L=(x=a.modalBody)==null?void 0:x.content)==null?void 0:L.find((P,U)=>U===1))==null?void 0:m.content)==null?void 0:u.find(P=>P.nodeType==="text"))==null?void 0:S.value,"assessment-id":a.assessmentId,"track-client":"webBenefits","track-source":"WebBenefits","track-channel":"web","vertical-alignment":"items-center","skip-intro":"true"})});case"cars-calculator-ungated":return t("div",{className:"md:p-1",children:t("cars-calculator",{"datadog-disabled":!0,...c,"backend-url":e,"hide-employer-name":!0})});case"cars-calculator-gated":return t("div",{className:"md:p-1",children:t("cars-calculator",{"datadog-disabled":!0,...c,"backend-url":e,"is-gated":!0,"hide-employer-name":!0})});case"typeform":return a.typeformId?t(Cr,{formId:a.typeformId,profile:r,categoryId:n.id||"",categoryName:n.title||""}):t(w,{});default:return t(w,{})}},Ir=({category:e,landing:n,apolloBaseUrl:a})=>Pr(a,e,n),le=({url:e,children:n,className:a,type:s,disabled:i,onClick:r})=>{const l=`block w-full mx-auto md:w-auto md:ml-0 text-center px-4 py-2 border border-transparent shadow-sm
|
|
5
|
+
text-sm leading-6 font-semibold rounded-md text-white bg-primary disabled:bg-gray-100 disabled:border-gray-300 disabled:text-gray-400 ${a}`;return e?t(ye,{className:l,href:e,onClick:r,children:n}):t("button",{type:s||"button",className:l,disabled:i,onClick:r,children:n})},Tr={renderText:e=>e.split(`
|
|
6
|
+
`).flatMap((n,a)=>[a>0&&t("br",{}),n]),renderNode:{[V.BLOCKS.PARAGRAPH]:(e,n)=>t("p",{className:"text-xs leading-4 font-normal text-gray-600",children:n}),[V.INLINES.HYPERLINK]:(e,n)=>t(ye,{className:"text-blue-600",href:e.data.uri,children:n}),[V.BLOCKS.LIST_ITEM]:(e,n)=>ve.documentToReactComponents(e,{renderNode:{[V.BLOCKS.PARAGRAPH]:(a,s)=>t("p",{className:"text-gray-600 leading-5 text-sm ",children:s}),[V.BLOCKS.LIST_ITEM]:(a,s)=>t("li",{className:"flex gap-2",children:[t(Je,{className:"text-primary w-3 h-5",icon:an}),s]})}})}},Sr=({body:e})=>t(w,{children:ve.documentToReactComponents(e,Tr)}),Lr={renderText:e=>e.split(`
|
|
7
|
+
`).flatMap((n,a)=>[a>0&&t("br",{}),n]),renderNode:{[V.BLOCKS.HEADING_1]:(e,n)=>t("h1",{className:"text-2xl leading-8 font-bold pb-2",children:n}),[V.BLOCKS.PARAGRAPH]:(e,n)=>t("p",{className:"text-base leading-6 font-normal text-gray-600 pb-4",children:n}),[V.BLOCKS.UL_LIST]:(e,n)=>t("ul",{className:"py-4 px-3 md:px-8 rounded-lg border-gray-200 border-2 shadow-sm flex flex-col space-y-2 mb-4",children:n}),[V.BLOCKS.LIST_ITEM]:(e,n)=>ve.documentToReactComponents(e,{renderNode:{[V.BLOCKS.PARAGRAPH]:(a,s)=>t("p",{className:"text-gray-600 leading-5 text-sm ",children:s}),[V.BLOCKS.LIST_ITEM]:(a,s)=>t("li",{className:"flex gap-2",children:[t(Je,{className:"text-primary w-3 h-5",icon:an}),s]})}})}},Er=({body:e})=>t(w,{children:ve.documentToReactComponents(e,Lr)}),Or=()=>{const[e,n]=p();f(()=>{(async()=>{try{const i=await ee.loadBenefitsMarketplaceOfferAsync();n(i)}catch{}})()},[]);const[a,s]=p(!1);return e?t(w,{children:[t("div",{className:"flex mt-6",children:[t(Je,{className:"text-cyan-500 w-4 h-4",icon:xa}),t("span",{className:"cursor-pointer text-xs text-primary ml-1",onClick:()=>s(!0),children:e.complianceContent.title})]}),t(et,{isOpen:a,fullWidthMobile:!0,onClose:()=>{},children:[t("div",{className:`${a?"block":"hidden"} absolute top-0 right-0 pt-4 pr-4 z-30`,children:t("button",{type:"button",className:"uiid-perk-details-close-button focus:outline-none bg-white rounded-md text-gray-500",onClick:()=>s(!1),children:[t("span",{className:"sr-only",children:"Close"}),t(Ce,{className:"h-6 w-6 border-0","aria-hidden":"true"})]})}),t("div",{className:"p-8",children:[t("h3",{className:"text-base font-semibold text-gray-900 mb-4",children:e.complianceContent.title}),t("div",{className:"prose-a:text-blue-500 prose-a:underline text-sm text-gray-600",dangerouslySetInnerHTML:{__html:e.complianceContent.subtitle}})]})]})]}):null},Br=({data:e,onClick:n,onClose:a,onPrevious:s,phiia:i})=>{var h,b;let r;const l=ce(q),c=I(l,void 0),d=(e==null?void 0:e.component)==="activity-assessment"&&!((h=c==null?void 0:c.workplaceLinkConfig)!=null&&h.workplaceBackendToken),o=(e==null?void 0:e.component)==="shopify"&&!((b=c==null?void 0:c.workplaceLinkConfig)!=null&&b.workplaceBackendToken);((e==null?void 0:e.component)==="external-link"||d)&&(e!=null&&e.externalUrl)&&(r=e==null?void 0:e.externalUrl);const g=async()=>{(e==null?void 0:e.component)==="shopify"&&await mn(c.workplaceLinkConfig.workplaceBackendToken,c.basicProfile.profileId),n()};return e?t("div",{className:s?"absolute md:relative bg-white rounded-lg":"rounded-lg",children:t("div",{className:"relative",children:[a&&t("div",{className:"absolute top-0 right-0 pt-2 md:pt-4 pr-4 z-30",children:t("button",{type:"button",className:"uiid-perk-details-close-button focus:outline-none bg-white rounded-md text-gray-500",onClick:a,children:[t("span",{className:"sr-only",children:"Close"}),t(Ce,{className:"h-6 w-6 border-0","aria-hidden":"true"})]})}),s&&t("div",{className:"absolute top-0 left-0 pl-4 pt-4 md:pl-4 md:pt-5 lg:pl-16 lg:pt-8 xl:pl-20 xl:pt-12 z-30",children:t("button",{type:"button",className:"uiid-perk-details-close-button focus:outline-none bg-white rounded-md text-gray-500",onClick:s,children:t("span",{className:"inline-flex text-sm leading-5 font-medium text-gray-600",children:[t(Na,{className:"h-5 w-5 border-0 mr-2","aria-hidden":"true"}),"Back"]})})}),t("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 md:gap-10 lg:gap-14 xl:gap-16 p-0 md:p-10 lg:p-16 xl:p-20 md:relative",children:[e.heroImageDesktop&&t("img",{src:`${e.heroImageDesktop.fields.file.url}?fm=jpg&q=90&w=640&h=480`,className:"mx-auto w-full order-2 self-start hidden md:block"}),e.heroImageMobile&&t("img",{src:`${e.heroImageMobile.fields.file.url}?fm=jpg&q=90&w=640&h=480`,className:"mx-auto mt-10 w-full self-start block md:hidden"}),t("div",{className:"flex flex-col self-start p-4 md:p-0 md: mt-4",children:[t(Er,{body:e.modalBody}),t(le,{className:"mb-6",onClick:g,url:r,disabled:o,children:e.buttonText}),e.disclaimer&&t(Sr,{body:e.disclaimer}),i?t(Or,{}):null]})]})]})}):t(w,{})},$r=({items:e,onClick:n})=>t("div",{className:"mx-auto w-screen md:h-auto md:w-[95vw] md:max-w-[70rem] lg:px-16 px-6 py-6 md:py-16",children:[t("h1",{className:"text-2xl leading-8 font-bold text-gray-600 text-center",children:"Offers available"}),t("div",{className:"w-full mx-auto flex flex-wrap items-stretch justify-center gap-8 gap-y-8 md:gap-x-24 py-10",children:e.map((a,s)=>t(kt,{imageUrl:a.imageUrl,className:"md:w-80 w-full",imageClassName:"md:h-32 w-full object-cover",children:[t("div",{children:[t("h2",{className:"text-lg font-bold text-gray-900 pb-0",children:a.title}),t("h3",{className:"text-sm text-gray-600 pb-2",children:a.subtitle}),t("div",{className:"flex pb-4",children:t("div",{className:"w-auto px-2 py-0.5 rounded text-xs font-medium bg-blue-100 text-blue-800",children:a.type})})]}),t(le,{className:"md:w-full mx-0 mb-1",onClick:()=>n(a.id),children:a.buttonText})]},a.id))})]}),_r=()=>t("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 md:gap-10 lg:gap-14 xl:gap-16 p-5 md:p-10 lg:p-16 xl:p-20 md:relative",children:[t(N,{className:"mx-auto w-full order-2 self-start hidden md:block",height:25}),t(N,{className:"ml-auto my-10 w-full self-start block md:hidden",height:12}),t("div",{className:"flex-col gap-3 md:gap-6 flex-wrap hidden md:flex",children:[t(N,{width:18,height:2}),t(N,{width:18,height:4}),t(N,{width:20,height:10}),t(N,{width:10,height:2}),t(N,{width:20,height:6})]}),t("div",{className:"flex flex-col md:flex-row gap-3 md:gap-6 flex-wrap md:hidden",children:[t(N,{height:2}),t(N,{height:4}),t(N,{height:2}),t(N,{height:6})]})]}),Mr=()=>{const[e,n]=p(!1),[a,s]=p(),[i,r]=p([]),[l,c]=p(),[d,o]=p("LOADING"),g=R(null),h=R(null),b=R(null),{service:v}=O(),k=()=>{var A;return(A=g.current)==null?void 0:A.scrollIntoView({behavior:"smooth",block:"start"})},x=()=>{var A;return(A=h.current)==null?void 0:A.scrollIntoView({behavior:"smooth",block:"start"})},L=()=>{var A;return(A=b.current)==null?void 0:A.scrollIntoView({behavior:"smooth",block:"start"})},m=()=>d==="LOADING",u=()=>d==="SELECTION",S=()=>d==="LANDING",P=()=>d==="ACTION",U=ce(q),tt=I(U,void 0),zn=()=>{var A,E,pe;P()?x():(l==null?void 0:l.component)!=="shopify"&&(l==null?void 0:l.component)!=="external-link"&&((l==null?void 0:l.component)!=="activity-assessment"||(A=tt==null?void 0:tt.workplaceLinkConfig)!=null&&A.workplaceBackendToken)&&o("ACTION"),l&&a&&v.trackActivityActionedAsync(a.id,((E=l.selectionTile)==null?void 0:E.activityId)||l.id,((pe=l.selectionTile)==null?void 0:pe.activityName)||a.title,l.component)},Oe=()=>{a&&v.trackCategoryClosedAsync(a.id,a.title,d),j("/")},qn=A=>{const E=i.filter(pe=>pe.id===A)[0];A===(l==null?void 0:l.id)?o("LANDING"):c(E),E&&a&&v.trackActivityStartedAsync(a.id,E.selectionTile.activityId,E.selectionTile.activityName,E.component)},Gn=()=>{o("SELECTION")};f(()=>{P()&&x(),S()&&L(),u()&&k()},[d,l]),f(()=>{l&&d!=="LANDING"&&setTimeout(()=>o("LANDING"),100)},[l]),f(()=>{e&&a&&v.trackCategoryOpenedAsync(a.id,a.title)},[a,e]),f(()=>{const A=[J.viewLandingState$.subscribe(({isOpen:E,category:pe,landingSelection:Be})=>{n(E),E&&(s(pe),r(Be),Be.filter(Kn=>Kn.selectionTile).length>1?(o("SELECTION"),c(void 0)):Be.length>0?(c(Be[0]),o("LANDING")):(c(void 0),o("LOADING")))})];return()=>{A.map(E=>E.unsubscribe())}},[]);const Ct=i.filter(A=>A.selectionTile).map(A=>{var E;return{title:A.selectionTile.displayTitle,id:A.id,subtitle:A.selectionTile.subtitle,buttonText:A.selectionTile.buttonText||"Learn more",type:"Advertisement",imageUrl:`${(E=A.selectionTile.tileImage)==null?void 0:E.fields.file.url}?fm=jpg&q=90&w=640&h=480`}})||[],nt=Ct.length>1;return t(et,{isOpen:e,fullWidthMobile:!0,onClose:Oe,children:t("div",{className:"w-screen md:w-auto md:max-w-[70rem] md:rounded-lg",children:[t("div",{className:`${e?"block":"hidden"} absolute top-0 right-0 pt-4 pr-4 z-30`,children:t("button",{type:"button",className:"uiid-perk-details-close-button focus:outline-none bg-white rounded-md text-gray-500",onClick:Oe,children:[t("span",{className:"sr-only",children:"Close"}),t(Ce,{className:"h-6 w-6 border-0","aria-hidden":"true"})]})}),t("div",{className:m()?"md:grid":"hidden",children:t(_r,{})}),nt&&t("div",{ref:g,className:u()?"md:grid":"md:hidden",children:t($r,{items:Ct,onClick:qn})}),t("div",{ref:b,className:S()?"md:grid":"hidden",children:t(Br,{data:l,onClick:zn,onClose:nt&&Oe||void 0,onPrevious:nt&&Gn||void 0,phiia:!!(a!=null&&a.title.toLowerCase().includes("health"))})}),t("div",{ref:h,className:`${P()?"block":"hidden"} h-screen md:h-auto absolute md:relative md:rounded-lg bg-white`,children:t("div",{className:"m-auto relative",children:[t("div",{className:"md:hidden absolute top-0 right-0 pt-4 pr-4 z-30",children:t("button",{type:"button",className:"uiid-perk-details-close-button focus:outline-none bg-white rounded-md text-gray-500",onClick:Oe,children:[t("span",{className:"sr-only",children:"Close"}),t(Ce,{className:"h-6 w-6 border-0","aria-hidden":"true"})]})}),a&&l&&t(Ir,{apolloBaseUrl:M.getConfig().apolloBaseUrl,category:a,landing:l})]})})]})})},On="dd/MM/yyyy",Bn="hh:mm a",lt="ccc d MMM",Rr="p",Ur=(e,n,a)=>{if(e.data.dateRange){const s=K(a,!1),i=K(new Date(e.data.dateRange.end),e.data.dateRange.allDay);switch(n){case"Upcoming":return e.type==="customEvent"&&s<=i;case"Past":return e.type==="customEvent"&&s>i;case"Library":return e.type==="eventTemplate"}}else switch(n){case"Library":return e.type==="eventTemplate"}return!1},ul=(e,n)=>e.filter(a=>Ur(a,n,new Date)),K=(e,n)=>n?new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),0,0,0,0):new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0),hl=(e,n)=>{const a=new Date,s=ja(`${e} ${n||"12:00 AM"}`,`${On} ${Bn}`,a);return n?Et(s):(a.setUTCFullYear(s.getFullYear()),a.setUTCMonth(s.getMonth()),a.setUTCDate(s.getDate()),a.setUTCHours(0,0,0,0),Et(a))},fl=(e,n)=>({date:me(K(e,n),On),time:n?void 0:me(e,Bn)}),pl=(e,n,a)=>{if(!e.data.dateRange)return 1;if(!n.data.dateRange)return-1;if(e.data.dateRange&&n.data.dateRange){const s=K(new Date(e.data.dateRange.start),e.data.dateRange.allDay),i=K(new Date(n.data.dateRange.start),n.data.dateRange.allDay),r=s<i?-1:1;return a.filter==="Past"?r*-1:r}else return 0},Vr=(e,n,a)=>{const s=K(new Date(e),a),i=K(new Date(n),a),r=s.getTime()===i.getTime()?me(s,lt):`${me(s,lt)} - ${me(i,lt)}`,l=a?"":`, ${me(new Date(e),Rr)}`;return`${r}${l}`},gl=(e,n)=>n?e?e.getMonth()!==n.getMonth()?Gt(e):void 0:"More":e?Gt(e):void 0,bl=(e,n)=>e&&n?e.getFullYear()!==n.getFullYear()?e.getFullYear().toString():void 0:e==null?void 0:e.getFullYear().toString(),yl=(e,n,a)=>{const s=e[n],i=e[n-1];if(n===0){if(s.data.dateRange){const r=K(new Date(s.data.dateRange.start),s.data.dateRange.allDay);return a(r,void 0)}}else if(i.data.dateRange){const r=K(new Date(i.data.dateRange.start),i.data.dateRange.allDay);if(s.data.dateRange){const l=K(new Date(s.data.dateRange.start),s.data.dateRange.allDay);return a(l,r)}else return a(void 0,r)}},Gt=e=>e.toLocaleString("default",{month:"long"})+" "+(e==null?void 0:e.getFullYear().toString()),Dr=({actionButton:e,item:n,itemId:a,onClose:s})=>{var l,c;const i=((l=n.backdrop)==null?void 0:l.downloadUrl)??Cn,r=(c=n.icon)==null?void 0:c.downloadUrl;return t("div",{className:"uiid-perk-details md:w-160 first-letter:overflow-hidden",children:[t("div",{className:"absolute top-0 right-0 pt-4 pr-4 z-30",children:t("button",{type:"button",className:"uiid-perk-details-close-button focus:outline-none bg-white rounded-md text-gray-500",onClick:s,children:[t("span",{className:"sr-only",children:"Close"}),t(en,{className:"h-6 w-6 border-0","aria-hidden":"true"})]})}),e&&t("div",{className:"absolute top-0 left-0 pt-4 pl-4 z-30",children:e}),t("div",{className:"relative bg-cover bg-center",style:`background-image: url(${i})`,children:[t("div",{className:"absolute inset-0 bg-gradient-to-t from-black opacity-90"}),t("div",{className:"relative flex items-end py-4 px-8 h-64",children:t("div",{className:"flex items-center",children:[!n.dateRange&&t("div",{className:"h-24 w-24 flex-shrink-0",children:t("div",{className:"bg-gray-200 rounded-lg",children:r?t("img",{className:"h-24 w-24 object-contain rounded-lg",src:r,alt:""}):t("div",{className:"h-24 w-24 rounded-lg text-gray-800 grid",children:t("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-12 w-12 place-self-center",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:t("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,d:"M12 8v13m0-13V6a2 2 0 112 2h-2zm0 0V5.5A2.5 2.5 0 109.5 8H12zm-7 4h14M5 12a2 2 0 110-4h14a2 2 0 110 4M5 12v7a2 2 0 002 2h10a2 2 0 002-2v-7"})})})})}),t("div",{className:`text-white ${n.dateRange?"":"pl-4"}`,children:[t("div",{className:"uiid-perk-details-title text-xl leading-6 md:text-3xl md:leading-9 font-extrabold",children:n.title}),t("div",{className:"relative text-sm leading-4 md:text-base md:leading-6 font-medium",children:[n.dateRange?Vr(n.dateRange.start,n.dateRange.end,n.dateRange.allDay):n.subtitle,n.dateRange&&n.location&&t(w,{children:[t("span",{className:"pipe pipe-white pipe-medium mx-3"}),t("span",{children:n.location})]})]}),t(xt,{className:"uiid-perk-details-tag",name:n.category,size:"xs"})]})]})})]}),t("div",{className:"flex flex-col p-8",children:[t("div",{className:"flex-grow",children:[n.dateRange&&t("p",{className:"text-lg leading-8 font-semibold mb-4",children:n.subtitle}),t("p",{className:"whitespace-pre-wrap",children:n.description}),n.linkLabel&&n.url&&t(ye,{href:n.url,onClick:()=>a&&mt.trackPerkVisitedAsync({benefit:n,benefitId:a}),className:"w-auto mt-6 inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 text-sm leading-5 font-medium",children:n.linkLabel})]}),n.attachments&&n.attachments.length>0&&t("div",{className:"border border-gray-200 rounded-md mt-8",children:t("div",{className:"pl-3 pr-4 py-3 flex items-center justify-between text-sm",children:[t("div",{className:"w-0 flex-1 flex items-center",children:[t(Aa,{className:"flex-shrink-0 h-5 w-5 text-gray-400","aria-hidden":"true"}),t("span",{className:"ml-2 flex-1 w-0 truncate",children:n.attachments[0].title})]}),t("div",{className:"ml-4 flex-shrink-0",children:t("a",{href:n.attachments[0].downloadUrl,target:"_blank",className:"font-medium text-primary",onClick:()=>a&&mt.trackDocumentClickedAsync({benefit:n,benefitId:a}),children:"View"})})]})})]})]})},Fr=()=>{const[e,n]=p(!1),[a,s]=p(C);f(()=>{const r=[J.viewPerkState$.subscribe(({isOpen:l,perk:c})=>{n(l),s(c)})];return()=>{r.map(l=>l.unsubscribe())}},[]);const i=Ya(a);return i?t(et,{isOpen:e,onClose:B.closePerk,children:t(Dr,{item:i.benefit,itemId:i.benefitId,onClose:B.closePerk})}):t("div",{})},Me=({category:e,slug:n})=>{const a=we.useContext(q),[s,i]=p(C),[r,l]=p(),[c,d]=p(),[o,g]=p(),[h,b]=p(),{service:v}=O();f(()=>{v.trackBenefitsOpenedAsync()},[]),f(()=>{n&&(!h||h.length>0&&h[0].id!=n)&&(async()=>b(await Bs(n)))()},[n,h]),f(()=>{const m=J.categoryState$.subscribe(u=>{var S;if((S=Pe(a).workplaceLinkConfig)!=null&&S.workplaceBackendToken)l(u);else{const P=u==null?void 0:u.filter(U=>U.title!=="Everyday");l(P)}});return()=>m.unsubscribe()},[a]),f(()=>{const m=[J.homePageState$.subscribe(u=>{i(u)}),J.benefitsPlanHomeState$.subscribe(u=>{d(u)}),J.bannerItems$.subscribe(u=>{g(u)}),B.getViewPageState().subscribe(),B.getMarketplaceCategoryState().subscribe(),B.getBenefitsPlanHome().subscribe(),B.getBannerItems(Pe(a)).subscribe()];return()=>{m.map(u=>u.unsubscribe())}},[]),f(()=>{if(e&&!r&&B.openLanding([]),e&&r){const m=r==null?void 0:r.find(u=>u.title.toLocaleLowerCase()===e.toLocaleLowerCase());m?B.openLanding(m.landings,m):(B.closeLanding(),j("/"))}},[r,e]),f(()=>{!n&&!e&&(b(void 0),B.closeLanding())},[n,e]),f(()=>{if(n&&!h&&B.openLanding([]),n&&r&&h)if(h.length>0){const m=r==null?void 0:r.find(u=>{var S;return u.title.toLocaleLowerCase()===((S=h[0].categoryTitle)==null?void 0:S.toLocaleLowerCase())});B.openLanding(h,m)}else B.closeLanding(),j("/")},[n,h,r]);const k=He.pipe(s,Ca(m=>m.promotedBenefits)),x=He.pipe(k,Xe(()=>!1,m=>m.length>0)),L=yn.isPba();return t(w,{children:[!L&&t(bt,{user:a}),t("div",{className:"max-w-[90rem] min-w-5xl mx-auto py-8 px-4 sm:px-6 lg:px-8",children:[t("div",{className:"md:mb-16 mb-5",children:t(Hs,{offers:o})}),(!r||r.length>0&&c)&&t("div",{className:"md:mb-16 mb-5",children:t(Ys,{categories:r,content:c})}),x&&t("div",{className:"md:mb-16 mb-5",children:t(yr,{perks:k})}),t("div",{children:t(br,{})})]}),t(Fr,{}),t(Mr,{})]})};var Kt,Qt;const jr=()=>({all:[],money:[],mind:[],body:[],work:[],life:[]}),Wr=()=>({currentTab:"all",searchString:""});let Hr=(Kt=Se({name:"explore-wellbeing",cache:{ttl:"3600000"},resettable:!0,producerFn:Le}),Kt(Qt=class extends tn{constructor(){super(Wr())}})||Qt);const We=new Hr;class Qe extends nn{constructor(a){super(a);y(this,"currentTab$",this.select(a=>a.currentTab));y(this,"previewsOnStage$",Ue([this.selectAll(),this.select(a=>a.searchString),this.select(a=>a.currentTab)]).pipe(Ve(([a,s,i])=>this.getHasCache()?ae.fromNullable(Qe.filterPreviews(a,s,i)):C)));this.store=a}get isPreviewsLoaded(){var a;return(((a=this.getValue().ids)==null?void 0:a.length)??0)>0}static filterPreviews(a,s,i){return Qe.searchPreviews(a,s).filter(r=>i==="all"||r.pillar===i)}static searchPreviews(a,s){return a.filter(i=>i.title.toLowerCase().includes(s.toLowerCase())||i.subtitle.toLowerCase().includes(s.toLowerCase()))}static classifyPreviews(a){const s=jr();return a.forEach(i=>{const r=i.pillar;s[r].push(i)}),s.all=a,s}}const At=new Qe(We),zr=()=>({setTab:e=>{We.update(n=>{n.currentTab=e})},searchPreviews:e=>{We.update(n=>{n.searchString=e,n.currentTab="all"})},loadEntryPreviews:()=>At.selectCached(()=>ee.loadAvailableEntryPreviewsAsync(),e=>We.set(e))}),Ne=zr(),qr=()=>t(w,{children:[...Array(3).keys()].map((e,n)=>t(In,{},n))}),Gr=()=>{const[e,n]=p(C),{service:a}=O();f(()=>{const r=[At.previewsOnStage$.subscribe(n)];return()=>{r.map(l=>l.unsubscribe())}},[]);const s=async r=>{r.externalLink||j(`/wellbeing-hub/articles/${r.slug}`),a.trackEntryViewed({contentId:r.id,contentTitle:r.slug,contentType:r.primaryContentType,contentPillar:r.pillar})},i=I(e,[]).length>0?I(e,[]).map(r=>t(kt,{className:"uiid-preview-item",imageUrl:`${r.coverPhotoUrl}?fm=jpg&q=50&w=640&h=480`,externalLink:r.externalLink,onClick:()=>s(r),children:t("div",{className:"flex-1 pb-7 pt-2 px-2",children:[t("div",{className:"flex items-center",children:[t(xt,{className:"uiid-preview-tag",name:r.pillar}),t("div",{className:"text-sm leading-5 font-normal px-2 text-gray-300",children:"|"}),t("div",{className:"text-xs leading-4 font-semibold tracking-wider uppercase text-gray-400",children:r.primaryContentType}),t("div",{className:"flex-grow"}),r.externalLink&&t(Pa,{className:"h-5 w-5 text-gray-400 border-0"})]}),t("div",{className:"block mt-2",children:[t("p",{className:"uiid-preview-item-title text-xl font-semibold text-gray-900",children:r.title}),t("p",{className:"uiid-preview-item-subtitle mt-1 text-sm text-gray-500",children:r.subtitle})]})]})},r.id)):t(An,{children:[t("p",{children:"Sorry, no entries were found matching your search request."}),t("p",{children:"Please try another search."})]});return t(Nn,{className:"uiid-preview-grid",children:fe(e)?t(qr,{}):i})},Kr=()=>{const[e,n]=p("all"),{service:a}=O();f(()=>{const r=[At.currentTab$.subscribe(n),Ne.loadEntryPreviews().subscribe()];return()=>{r.map(l=>l.unsubscribe())}},[]),f(()=>()=>{Ne.searchPreviews("")},[]);const s=async r=>{Ne.setTab(r),j(`/wellbeing-hub/${r}`),a.trackEntriesListViewedAsync(r)},i=async r=>{Ne.searchPreviews(r),a.trackEntriesListSearchedAsync(r)};return t("div",{className:"flex flex-col",style:{minHeight:window.innerHeight},children:[t("div",{className:"sm:flex sm:items-center sm:justify-between",children:[t("div",{className:"flex",children:t("div",{className:"text-3xl leading-9 font-semibold text-gray-700",children:"Explore the 5 pillars of wellness"})}),t("div",{className:"mt-4 sm:mt-0",children:t(xn,{onSearchEvent:i})})]}),t("div",{className:"mt-4",children:t(kn,{currentTab:e,onTabClicked:s})}),t("div",{className:"mt-6",children:t(Gr,{})})]})},Qr="/benefits/app/assets/wellbeing_banner-6903d615.png",Yr=({bgImageUrl:e,className:n,children:a,excludeGradient:s})=>{const i=e?{backgroundImage:`url(${e})`}:{};return t("div",{className:Y("relative w-full rounded-lg bg-cover bg-center",n??""),style:i,children:[!s&&t(w,{children:[t("div",{className:"absolute inset-0 rounded-lg bg-black bg-opacity-10"}),t("div",{className:"absolute inset-0 rounded-lg bg-gradient-to-r from-black opacity-80"})]}),t("div",{className:"relative h-full rounded-lg overflow-hidden",children:a})]})},Xr=({children:e})=>t("div",{className:"relative filter inline-flex items-center w-12 h-12 rounded-lg text-md font-medium bg-black bg-opacity-40 text-gray-800",children:[t("div",{className:"absolute inset-0 rounded-lg bg-gradient-to-b from-black bg-opacity-50"}),t("div",{className:"relative h-full w-full flex flex-wrap content-center justify-center",children:e})]}),Jr=()=>t("div",{className:"flex gap-4",children:ze.map(e=>t(Xr,{children:t("div",{className:wn[e],children:vn(e)})}))}),Zr=()=>t(Yr,{className:"h-full",bgImageUrl:Qr,children:t("div",{className:"px-4 py-10 md:px-8 md:py-24 text-white",children:[t("div",{className:"text-2xl leading-8 font-bold",children:"Wellbeing Hub"}),t("div",{className:"max-w-sm text-md md:text-lg leading-6 mt-1 font-medium hidden md:block",children:"Providing education, support and tools to help you live a healthier and happier life!"}),t("div",{className:"pt-4 hidden md:block",children:t(Jr,{})})]})}),Yt=({pillarFilter:e})=>{const n=R(null),{service:a}=O();return f(()=>{a.trackWellbeingOpenedAsync()},[]),f(()=>{var s;Ne.setTab(e??"all"),a.trackEntriesListViewedAsync(e??"all"),e&&((s=n.current)==null||s.scrollIntoView({behavior:"smooth"}))},[e,n]),t("div",{className:"max-w-7xl min-w-5xl mx-auto px-4 py-8 sm:px-6 lg:px-8 mb-20",children:[t("div",{className:"flex flex-col md:flex-row",children:t("div",{className:"w-full",children:t(Zr,{})})}),t("div",{className:"mt-8 pt-4",ref:n,children:t(Kr,{})})]})},ei=({pages:e,homePageUrl:n})=>t("nav",{className:"bg-white border-b border-gray-200 flex","aria-label":"Breadcrumb",children:t("ol",{role:"list",className:"max-w-screen-xl w-full mx-auto px-4 flex space-x-4 sm:px-6 lg:px-8",children:[t("li",{className:"flex",children:t("div",{className:"flex items-center",children:t("a",{href:n??"#",className:"text-gray-400 hover:text-gray-500",children:[t(Ia,{className:"flex-shrink-0 h-5 w-5","aria-hidden":"true"}),t("span",{className:"sr-only",children:"Home"})]})})}),e.map((a,s)=>t("li",{className:"flex",children:t("div",{className:"flex items-center",children:[t("svg",{className:"flex-shrink-0 w-6 h-full text-gray-200",viewBox:"0 0 24 44",preserveAspectRatio:"none",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:t("path",{d:"M.293 0l22 22-22 22h1.414l22-22-22-22H.293z"})}),t("a",{href:a.href,className:"ml-4 text-sm font-medium text-gray-500 hover:text-gray-700","aria-current":e.length===s+1?"page":void 0,children:a.name})]})},a.name))]})}),ti=(e,n,a)=>{f(()=>{let s=!0;return e(()=>s),()=>{s=!1,He.pipe(n,Xe(()=>{},i=>i()))}},a)},ni=(e,n)=>{f(()=>{window.scrollTo(e)},n)},ai=(e,n)=>{ni({top:0,...e},n)},si={renderNode:{[V.BLOCKS.EMBEDDED_ASSET]:e=>{const{title:n,description:a,file:s}=e.data.target.fields;return t("figure",{children:[t("img",{src:`${s.url}?fm=jpg&q=90&w=640&h=480`,alt:n}),t("figcaption",{children:a})]})}}},ri=({body:e})=>t("article",{className:"prose prose-lg prose-indigo",children:ve.documentToReactComponents(e,si)}),ii=()=>t("div",{className:"max-w-3xl mx-auto py-6 px-4 sm:py-10 sm:px-6 lg:px-8 animate-pulse",children:[t("div",{class:"h-8 bg-gray-200 rounded w-2/3"}),t("div",{className:"flex space-x-3 mt-4",children:[t("div",{className:"flex-shrink-0",children:t("div",{class:"rounded-full bg-gray-200 h-10 w-10 mr-1"})}),t("div",{className:"min-w-0 flex flex-col justify-between flex-1",children:[t("div",{class:"h-4 bg-gray-200 rounded w-1/3"}),t("div",{class:"h-4 bg-gray-200 rounded w-1/4"})]})]}),t("div",{className:"mt-8",children:t("div",{class:"flex-1 space-y-8 py-1",children:[t("div",{class:"h-8 bg-gray-200 rounded w-3/4"}),t("div",{class:"h-48 bg-gray-200 rounded w-full"}),t("div",{class:"h-24 bg-gray-200 rounded w-3/4"}),t("div",{class:"h-36 bg-gray-200 rounded w-full"}),t("div",{class:"h-12 bg-gray-200 rounded w-1/4"})]})})]}),li=({articleSlug:e})=>{const[n,a]=p();if(ti(async i=>{const r=await vt(ee.loadArticleAsync(e),700);i()&&a(r)},ae.none,[e]),ai(),!n)return t(Ot.div,{initial:{opacity:0},animate:{opacity:1},children:t(ii,{})},"loading");const s=[{name:n==null?void 0:n.pillar,href:`#/wellbeing-hub/${n==null?void 0:n.pillar.toLowerCase()}`}];return t(w,{children:[t(ei,{pages:s,homePageUrl:"#/wellbeing-hub"}),t(Ot.div,{initial:{opacity:0},animate:{opacity:1},children:t("div",{className:"max-w-3xl mx-auto py-6 px-4 sm:py-10 sm:px-6 lg:px-8",children:[t("h2",{className:"text-4xl leading-10 font-extrabold tracking-tight",children:n.title}),t("div",{className:"flex space-x-3 mt-4",children:[t("div",{className:"flex-shrink-0",children:t("img",{className:"h-10 w-10 rounded-full",src:`${n.author.fields.avatar.fields.file.url}?fm=jpg&q=90&w=640&h=480`,alt:""})}),t("div",{className:"min-w-0 flex-1",children:[t("p",{className:"text-sm font-medium text-gray-900",children:n.author.fields.name}),t("p",{className:"text-sm text-gray-500",children:me(new Date(n.originalPublicationDate),"dd MMM yyyy")})]})]}),t("div",{className:"mt-8",children:t(ri,{body:n.articleBody})})]})},"article")]})},ci=()=>{const e=we.useContext(q),n=yn.isPba();return t(w,{children:[!n&&t(bt,{user:e}),t(pt,{history:yt(gt()),children:[t(F,{path:"/wellbeing-hub",component:Yt}),t(F,{path:"/wellbeing-hub/:pillarFilter",component:Yt}),t(F,{path:"/wellbeing-hub/articles/:articleSlug",component:li})]})]})};var $n=(e=>(e.Auth_AccountDisabled="Sorry, your account has been deactivated. Please contact Flare if there are any issues.",e.Auth_AccountLocked="Sorry, your account is currently locked due to too many attempts. Please try again later.",e.Auth_Unregistered="Sorry, we are currently experiencing some issues. Please try again later.",e.Auth_InvalidVerificationCode="Your one time passcode doesn't look right. Please try again.",e.Auth_SessionExpired="Sorry, looks like your session has expired. Please try again.",e.Validation_InvalidPhoneNumber="Please enter a valid Australian mobile number beginning with 04.",e))($n||{});const _n="Sorry, we are currently experiencing some issues. Please try again later.",oi=e=>e&&$n[e]||_n,di="/benefits-onboarding/backend/auth/signup",mi="/benefits-onboarding/backend/auth/verify",ui="/benefits-onboarding/backend/auth/resend",ct={source:"WebBenefits",channel:"web"},W=e=>{const n=e.json;throw new Error(oi(n==null?void 0:n.code))};class hi{signUpAsync(n){return se.instance.url(di).query(ct).post(n).internalError(W).badRequest(W).unauthorized(W).fetchError(W).res()}verifyAsync(n){return se.instance.url(mi).query(ct).post(n).internalError(W).badRequest(W).unauthorized(W).fetchError(W).res()}resendAsync(){return se.instance.url(ui).query(ct).post().internalError(W).badRequest(W).unauthorized(W).fetchError(W).res()}}const ot=new hi,fi="/benefits/app/assets/check-57fe1dcb.svg",pi=e=>t("div",{className:"h-96 grid",children:[t("div",{className:"grid place-self-center",children:[t("div",{className:"bg-[#EAF0FE] w-16 h-16 rounded-lg flex items-center justify-center mx-auto mb-10",children:t("img",{className:"w-10",src:fi})}),t("h1",{className:"text-3xl leading-9 font-bold text-gray-900 font-sans mb-3",children:"You’re all set!"}),t("p",{className:"px-8 text-base leading-6 font-normal text-gray-500",children:"Your benefits plan and exclusive offers are waiting for you."})]}),t(le,{className:"md:w-full md:text-base py-3 place-self-end",onClick:e.onComplete,children:"Start exploring your benefits"})]}),gi="/benefits/app/assets/warning-a7f1af23.svg",bi=e=>t("div",{className:"h-96 grid",children:[t("div",{className:"grid place-self-center",children:[t("div",{className:"bg-[#FEE2E2] w-16 h-16 rounded-lg flex items-center justify-center mx-auto mb-10",children:t("img",{className:"w-10",src:gi})}),t("h1",{className:"text-3xl leading-9 font-bold text-gray-900 font-sans mb-3",children:"Something went wrong"}),t("p",{className:"px-8 text-base leading-6 font-normal text-gray-500",children:"We’re having some technical difficulties at the moment. Click the button below to proceed to your benefits."})]}),t(le,{className:"md:w-full md:text-base py-3 place-self-end",onClick:e.onError,children:"Dismiss"})]}),yi="/benefits/app/assets/suitcase-6471ad05.svg",wi=Ta(({label:e,id:n,type:a,placeholder:s,setPlaceholderOnFocus:i,value:r,className:l,onChange:c,onBlur:d,error:o},g)=>{const h=k=>{k.target instanceof HTMLInputElement&&c(k.target.value.trim())},b=k=>{k.target instanceof HTMLInputElement&&d&&d(k.target.value.trim())},v=()=>{s&&i&&!(r!=null&&r.trim())&&c(s)};return t("div",{className:l,children:[t("label",{htmlFor:n,className:"block text-sm font-medium leading-5 text-gray-900 text-left",children:e}),t("div",{className:"mt-1",children:t("input",{className:"block min-h-[2.25rem] w-full rounded-md border-0 py-1.5 pr-20 text-gray-900 ring-1 ring-inset placeholder:text-gray-400 focus:ring-2 focus:ring-inset text-base sm:text-sm sm:leading-6 ring-gray-300 focus:ring-primary-600",type:a,value:r,name:n,id:n,placeholder:s,onChange:h,onBlur:b,onFocus:v,ref:g})}),o&&t("p",{className:"my-2 text-sm text-red-600 text-left",children:o})]})}),vi=e=>{const n=a=>{a.preventDefault(),e.onSubmit()};return t(w,{children:[t("div",{className:"bg-[#EAF0FE] w-16 h-16 rounded-lg flex items-center justify-center mx-auto mb-10",children:t("img",{className:"w-10",src:yi})}),t("h1",{className:"text-3xl leading-9 font-bold text-gray-900 font-sans mb-3",children:"Confirm your employment"}),t("p",{className:"text-base leading-6 font-normal text-gray-500 mb-6",children:"Your employer has partnered with Flare to provide you access to exclusive benefits. Add your personal mobile number to verify your identity."}),t("form",{onSubmit:n,children:[t(wi,{type:"text",value:e.mobileNumber,label:"Australian Mobile Number",id:"mobile",placeholder:"04",setPlaceholderOnFocus:!0,onChange:e.onChange,error:e.errorMessage}),t(le,{className:"md:w-full md:text-base py-3 mt-10",type:"submit",disabled:!Ln(e.mobileNumber.replace(/\s/g,"")),children:"Continue"})]})]})},ki="/benefits/app/assets/padlock-8c081120.svg",xi=e=>{const[n,a]=p(e),s=R(),i=Z(()=>{s.current&&clearInterval(s.current)},[]);f(()=>i,[i]);const r=Z(()=>{let l=e;s.current&&clearInterval(s.current),s.current=setInterval(()=>{if(l<0){s.current&&clearInterval(s.current);return}a(l--)},1e3)},[e]);return{countdown:n,restart:r}},Ni=({value:e="",numInputs:n=6,onChange:a})=>{const[s,i]=p(0),r=R([]),l=()=>e?e.toString().split(""):[];f(()=>{r.current=r.current.slice(0,n)},[n]),f(()=>{var m;(m=r.current[0])==null||m.focus()},[]);const c=m=>m===""||!isNaN(Number(m)),d=m=>{const u=m.join("");a(u)},o=m=>{const u=l();u[s]=m[0]||"",d(u)},g=m=>{var S,P;const u=Math.max(Math.min(n-1,m),0);r.current[u]&&((S=r.current[u])==null||S.focus(),(P=r.current[u])==null||P.select(),i(u))},h=m=>{const{value:u}=m.target;c(u)&&(o(u),g(s+1))},b=m=>{const{value:u}=m.target;c(u)||u.length===n&&(u.split("").some(P=>!c(P))||(d(u.split("")),g(n-1)))},v=m=>u=>{i(u),m.target.select()},k=()=>{i(s-1)},x=m=>{const u=l();[m.code,m.key].includes("Backspace")?(m.preventDefault(),o(""),g(s-1)):m.code==="Delete"?(m.preventDefault(),o("")):m.code==="ArrowLeft"?(m.preventDefault(),g(s-1)):m.code==="ArrowRight"||m.key===u[s]?(m.preventDefault(),g(s+1)):(m.code==="Spacebar"||m.code==="Space"||m.code==="ArrowUp"||m.code==="ArrowDown")&&m.preventDefault()},L=m=>{m.preventDefault();const u=l();let S=s;const P=m.clipboardData.getData("text/plain").slice(0,n-s).split("");if(!P.some(U=>isNaN(Number(U)))){for(let U=0;U<n;++U)U>=s&&P.length>0&&(u[U]=P.shift()??"",S++);g(S),d(u)}};return t("div",{className:"inline-flex gap-2",children:Array.from({length:n},(m,u)=>u).map(m=>t(w,{children:t("input",{className:"border-gray-300 caret-transparent selection:bg-transparent rounded-lg col-span-1 text-center w-10 h-12 text-xl leading-7 font-normal",value:l()[m]??"",ref:u=>r.current[m]=u,onChange:h,onFocus:u=>v(u)(m),onBlur:k,onKeyDown:x,onPaste:L,autoComplete:"off",type:"text",inputMode:"numeric",onInput:b,"aria-label":"One Time Password"})},m))})},Ai=e=>{const{countdown:n,restart:a}=xi(60);f(a,[a]);const s=l=>{l.preventDefault(),e.onSubmit()},i=()=>{a(),e.onResend()},r=Sn(e.mobileNumber);return t(w,{children:[t("div",{className:"bg-[#EAF0FE] w-16 h-16 rounded-lg flex items-center justify-center mx-auto mb-7",children:t("img",{className:"w-10",src:ki})}),t("h1",{className:"text-3xl leading-9 font-bold text-gray-900 font-sans mb-3",children:"Verify your mobile number"}),r&&t("p",{className:"px-14 text-base leading-6 font-normal text-gray-500 mb-6",children:["An SMS verification code has been sent to the number"," ",t("span",{className:"whitespace-nowrap",children:r})]}),t("form",{onSubmit:s,children:[t(Ni,{value:e.otp,numInputs:6,onChange:e.onChange}),t("p",{className:"mt-2 text-center text-xs text-gray-600 disabled:opacity-75 ",children:["Didn't get the code?",t("button",{type:"button",disabled:n!==0,className:"underline mx-2 text-primary disabled:text-gray-600 disabled:hover:bg-transparent disabled:cursor-text disabled:px-0",onClick:i,children:"Resend SMS"}),n!==0&&t(w,{children:["in ",n," secs"]})]}),t("p",{className:"my-2 text-sm text-red-600 text-center",children:e.errorMessage||""}),t(le,{className:"md:w-full md:text-base py-3 mt-7",type:"submit",disabled:!En(e.otp),children:"Continue"}),t(le,{className:"inline md:w-full md:text-base py-3 mt-4 bg-white !border-gray-300 !text-gray-600",onClick:e.onBack,children:[t(Sa,{className:"inline-flex h-4 w-4 mr-2"}),"Back"]})]})]})},Ci=e=>{const[n,a]=p("Loading"),[s,i]=p(),[r,l]=p(),[c,d]=p(),{service:o}=O();f(()=>{var x;if(!e.config){a("Error"),o.trackRegistrationErrorViewedAsync("InitialConfigError");return}(x=e.config)!=null&&x.isEstablished?a("Complete"):(a("Signup"),o.trackRegistrationStartedAsync())},[]);const g=async()=>{if(i(""),r&&Ln(r.replace(/\s/g,"")))try{a("Loading"),d(void 0),await ot.signUpAsync({mobileNumber:Nr(r)}),a("Verify"),o.trackRegistrationSubmittedAsync()}catch{a("Error"),o.trackRegistrationErrorViewedAsync("SignupError")}},h=async()=>{if(i(""),c&&En(c))try{a("Loading"),await ot.verifyAsync({otp:c}),a("Complete"),o.trackRegistrationVerifiedAsync()}catch(x){a("Verify"),x instanceof Error&&x.message&&x.message!==_n?(i(x.message),o.trackRegistrationFailedAsync(x.message)):(a("Error"),o.trackRegistrationFailedAsync("InternalError"),o.trackRegistrationErrorViewedAsync("VerificationError"))}},b=async()=>{i("");try{d(void 0),o.trackRegistrationResentAsync(),await ot.resendAsync()}catch{a("Error"),o.trackRegistrationErrorViewedAsync("ResendError")}},v=()=>{e.onComplete(),o.trackRegistrationCompletedAsync()},k=()=>{e.onError(),o.trackRegistrationErrorDismissedAsync()};return t("div",{className:"min-h-[25rem]",children:[n==="Loading"&&t("div",{className:"flex items-center justify-center h-96 text-primary",children:[t("span",{className:"sr-only",children:"Loading"}),t(Ee,{size:10})]}),n==="Signup"&&t(vi,{onSubmit:g,onChange:x=>{l(x),i("")},mobileNumber:r||"",errorMessage:s}),n==="Verify"&&t(Ai,{onSubmit:h,onBack:()=>a("Signup"),onResend:b,onChange:x=>{(!x||Ar(x))&&d(x),i("")},mobileNumber:r,otp:c,errorMessage:s}),n==="Complete"&&t(pi,{onComplete:v}),n==="Error"&&t(bi,{onError:k})]})},Pi=(e,n)=>e.map((a,s)=>({title:a,completed:s<=n})),Mn=(e,n)=>Te(M.getConfig().apolloBaseUrl).headers({Authorization:`Bearer ${e}`,"X-PROFILE-ID":n}),Ii=e=>t("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:e.size==="lg"?"h-10 w-10":"h-5 w-5",children:[t("path",{d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM1.99743 8C1.99743 11.3151 4.68487 14.0026 8 14.0026C11.3151 14.0026 14.0026 11.3151 14.0026 8C14.0026 4.68487 11.3151 1.99743 8 1.99743C4.68487 1.99743 1.99743 4.68487 1.99743 8Z",class:e.theme==="light"?"fill-white":"fill-gray-200","fill-opacity":e.theme==="light"?"0.3":"1"}),t("path",{d:"M8 1C8 0.447715 8.44943 -0.00643769 8.99741 0.0624193C9.70527 0.151368 10.3996 0.334798 11.0615 0.608964C12.0321 1.011 12.914 1.60028 13.6569 2.34315C14.3997 3.08602 14.989 3.96793 15.391 4.93853C15.6652 5.60043 15.8486 6.29473 15.9376 7.0026C16.0064 7.55057 15.5523 8 15 8C14.4477 8 14.0085 7.54925 13.9169 7.00462C13.842 6.55939 13.7169 6.12298 13.5433 5.7039C13.2417 4.97595 12.7998 4.31451 12.2426 3.75736C11.6855 3.20021 11.0241 2.75825 10.2961 2.45672C9.87702 2.28313 9.44061 2.15804 8.99538 2.08314C8.45075 1.99152 8 1.55228 8 1Z",class:e.theme==="light"?"fill-white":"fill-primary-base"})]}),Rn=e=>{const[n,a]=p(!1);return t("button",{"data-testid":e.testId,type:"button",class:`${e.class} inline-flex items-center justify-center px-10 py-2 border border-transparent text-base font-medium rounded-md shadow-sm text-white disabled:text-gray-300 bg-primary hover:bg-primary-hover disabled:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-focus w-full md:w-auto`,disabled:e.disabled,onClick:async()=>{if(e.onClickPromise&&!n){a(!0);try{await e.onClickPromise()}catch{}a(!1)}},children:[t("div",{class:`${n?"invisible":""}`,children:e.children}),n&&t("div",{class:"absolute animate-spin",children:t(Ii,{theme:"light"})})]})},Un=({className:e,children:n})=>t("h1",{className:`text-2xl md:text-3xl font-bold ${e??""}`,children:n}),Vn=({className:e,children:n})=>t("h3",{class:`text-base md:text-lg text-gray-600 ${e??""}`,children:n}),ie=({children:e})=>{const n=we.Children.toArray(e),a=n.find(i=>i.type===Dn),s=n.find(i=>i.type===Fn);return t(he,{appear:!0,show:!0,enter:"transition duration-700 ease-out",enterFrom:"opacity-0",enterTo:"opacity-100",children:t("div",{class:"flex flex-col text-center items-center max-w-[40rem] mx-auto",children:[t(he,{appear:!0,show:!0,enter:"transition duration-700 ease-out md:transition-none",enterFrom:"-translate-y-6",enterTo:"translate-y-0",children:a&&t("div",{class:"flex items-center h-full",children:a})}),t(he,{appear:!0,show:!0,enter:"transition delay-300 duration-[600ms] ease-out",enterFrom:"opacity-0 -translate-y-6",enterTo:"opacity-100 translate-y-0",children:s&&t("div",{class:"flex items-center h-full",children:s})})]})})},Dn=({children:e})=>t(w,{children:e}),Fn=({children:e})=>t(w,{children:e});ie.Top=Dn;ie.Bottom=Fn;const Ti="allowance",Si=({navigate:e,fetchOffers:n})=>{const[a,s]=p(void 0),[i,r]=p(0),[l,c]=p([]);f(()=>{(async()=>{await _e(5e3);const x=(await n()).offers.map(L=>({name:L.content.productName,url:L.content.iconUrl}));c(x),r(1);for(let L=0;L<x.length;L++)s(L),await _e(1e3);await _e(1e3),r(2),await _e(1e3),r(3)})()},[]);const d=H(()=>{switch(i){case 0:case 1:case 2:return"Personalising your benefits plan";case 3:return"Your Benefits Plan"}},[i]),o=H(()=>{switch(i){case 0:return"Finding benefits...";case 1:case 2:return a===0?"1 benefit found that matches your profile":`${a+1} benefits found that match your profile`;case 3:return"Based on your profile, your are eligible to enrol in these benefits"}},[i,a]),g=H(()=>i===0,[i]),h=H(()=>i!==2,[i]),b=H(()=>i===2||i===3,[i]),v=H(()=>i===3,[i]),k=H(()=>i===3,[i]);return t(ie,{children:[t(ie.Top,{children:t("div",{className:"flex flex-col gap-4",children:[t("div",{className:`flex justify-center text-primary transition-opacity duration-700 ease-in-out ${g?"opacity-100":"opacity-0"}`,children:t(Ee,{size:10})}),t(Un,{className:`transition-opacity duration-700 ease-in-out ${h?"opacity-100":"opacity-0"}`,children:d}),t(Vn,{className:`transition-opacity duration-700 ease-in-out ${h?"opacity-100":"opacity-0"}`,children:o})]})}),t(ie.Bottom,{children:t("div",{class:"flex flex-col items-center gap-4",children:[t(Li,{scaleUp:b,showName:v,icons:l}),t(Rn,{testId:"set_up_benefits_button_next_screen",class:`mt-4 w-full md:w-[240px] transition-opacity duration-700 ease-in-out ${k?"opacity-100":"hidden opacity-0"}`,onClickPromise:async()=>{await re.commandAsync({eventType:"Started"},{treatment:Ti}),e("/allowance/offers")},children:"Set up your benefits"})]})})]})},Li=({scaleUp:e,showName:n,icons:a})=>t("div",{children:[t("style",{children:`
|
|
8
|
+
.bg-lighter-than-text{
|
|
9
|
+
background-color: hsl(from currentColor h s l / 0.08);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.animate-slide-from-right {
|
|
13
|
+
opacity: 0;
|
|
14
|
+
transform: translateX(400px);
|
|
15
|
+
animation: slide-from-right 1s ease-out forwards;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@keyframes slide-from-right {
|
|
19
|
+
from {
|
|
20
|
+
transform: translateX(400px);
|
|
21
|
+
opacity: 0;
|
|
22
|
+
}
|
|
23
|
+
to {
|
|
24
|
+
transform: translateX(0);
|
|
25
|
+
opacity: 1;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
`}),t("div",{className:`flex gap-4 transition-scale transition-margin duration-700 ease-in-out ${e?"scale-150 m-4":"scale-100"}`,children:a.map((s,i)=>t("div",{className:"mt-4 flex flex-col gap-1 items-center text-primary text-[0.5rem] w-12 max-w-12 min-w-12 animate-slide-from-right",style:{animationDelay:`${1e3*i}ms`},children:[t(sn,{src:s.url,wrapper:"svg",className:"w-10 h-10 max-h-10 max-w-10 min-h-10 min-w-10 p-2.5 rounded-lg bg-lighter-than-text",beforeInjection:r=>{var l;r.removeAttribute("width"),r.removeAttribute("height"),(l=r.querySelector("path"))==null||l.removeAttribute("fill"),r.setAttribute("fill","currentColor")}}),t("p",{className:`transition-opacity duration-700 ease-in-out ${n?"opacity-100":"opacity-0"}`,children:s.name})]},s.name))})]}),Ei=({visible:e,children:n})=>{const a=R(e);return e&&!a.current&&(a.current=!0),a.current?t("div",{hidden:!e,children:n}):null},Oi=({iconUrl:e})=>t(sn,{src:e,wrapper:"svg",className:"w-10 h-10 max-h-10 max-w-10 min-h-10 min-w-10 p-2.5 rounded-lg bg-lighter-than-text",beforeInjection:n=>{var a;n.removeAttribute("width"),n.removeAttribute("height"),(a=n.querySelector("path"))==null||a.removeAttribute("fill"),n.setAttribute("fill","currentColor")}}),jn=({label:e,icon:n})=>t("div",{className:"flex flex-col gap-1 items-center w-12 max-w-12 min-w-12",children:[n,t("p",{className:"max-h-10 max-w-20 break-words text-ellipsis overflow-hidden line-clamp-2",children:e})]}),Wn=({children:e})=>t(w,{children:e}),Bi=({selectedIndex:e,onChange:n,children:a})=>{const s=H(()=>Lt.toArray(a).filter(r=>r.type===jn),[a]),i=H(()=>Lt.toArray(a).filter(r=>r.type===Wn),[a]);return f(()=>{i.length>0&&(n==null||n(0))},[]),t("div",{children:[t("div",{className:"flex items-baseline gap-8 md:mb-4",children:[t("style",{children:`
|
|
29
|
+
.bg-lighter-than-text{
|
|
30
|
+
background-color: hsl(from currentColor h s l / 0.08);
|
|
31
|
+
}
|
|
32
|
+
`}),s.map((r,l)=>t("div",{onClick:()=>n==null?void 0:n(l),className:La("text-sm font-medium cursor-auto h-full relative","flex items-center justify-center",l===e?"text-primary":"text-gray-400",i.length>0?"hover:before:cursor-pointer":"hover:before:cursor-default","hover:before:w-16 hover:before:h-16 hover:before:absolute"),children:r},r.key))]}),i.map((r,l)=>t(Ei,{visible:l===e,children:r},r.key))]})},$i=e=>{var i,r,l,c,d;const n=ce(q),a=I(n,void 0),s=R(null);return f(()=>{re.commandAsync({eventType:"OfferViewed",offerName:e.marketPlaceOffer.name,data:e.marketPlaceOffer.metadata},{experiment:e.marketPlaceOffer.metadata.featureName,treatment:e.marketPlaceOffer.metadata.treatmentName}),s.current&&(s.current.terms=e.marketPlaceOffer.content.terms,s.current.details=e.marketPlaceOffer.content.details,s.current["on-accept"]=()=>{re.commandAsync({eventType:"OfferProgressed",offerName:e.marketPlaceOffer.name,data:{...e.marketPlaceOffer.metadata,template:e.marketPlaceOffer.content.template,assessmentId:e.marketPlaceOffer.content.assessmentId,accepted:!0}},{experiment:e.marketPlaceOffer.metadata.featureName,treatment:e.marketPlaceOffer.metadata.treatmentName})},s.current["on-decline"]=()=>{re.commandAsync({eventType:"OfferProgressed",offerName:e.marketPlaceOffer.name,data:{...e.marketPlaceOffer.metadata,template:e.marketPlaceOffer.content.template,assessmentId:e.marketPlaceOffer.content.assessmentId,accepted:!1}},{experiment:e.marketPlaceOffer.metadata.featureName,treatment:e.marketPlaceOffer.metadata.treatmentName}),e.onStepComplete(!1)},s.current["on-complete"]=()=>e.onStepComplete(!0),s.current["on-skip"]=e.marketPlaceOffer.content.skipButtonHidden?void 0:()=>e.onStepComplete(!1))},[]),(i=a==null?void 0:a.workplaceLinkConfig)!=null&&i.workplaceBackendToken?t("benefits-plan-assessment",{"base-url":M.getConfig().apolloBaseUrl,"profile-id":a==null?void 0:a.basicProfile.profileId,"skip-more-details":!0,"access-token":(r=a==null?void 0:a.workplaceLinkConfig)==null?void 0:r.workplaceBackendToken,"image-url":e.marketPlaceOffer.content.imageUrl,"assessment-id":e.marketPlaceOffer.content.assessmentId,"assessment-instructions":e.marketPlaceOffer.content.assessmentInstructions,"track-experiment":e.marketPlaceOffer.metadata.featureName,"track-treatment":e.marketPlaceOffer.metadata.treatmentName,"track-client":"webBenefits","track-source":"WebBenefits","track-channel":"web","marketplace-offer-name":e.marketPlaceOffer.name,"assessment-title":e.marketPlaceOffer.content.title,description:e.marketPlaceOffer.content.description,"accept-button":e.marketPlaceOffer.content.acceptButton,"decline-button":e.marketPlaceOffer.content.declineButton,"special-banner-title":(l=e.marketPlaceOffer.content.specialBanner)==null?void 0:l.title,"special-banner-subtitle":(c=e.marketPlaceOffer.content.specialBanner)==null?void 0:c.subtitle,"special-banner-type":(d=e.marketPlaceOffer.content.specialBanner)==null?void 0:d.type,"vertical-alignment":"items-center",ref:s}):null},_i=({current:e,total:n})=>t("div",{className:"flex justify-between md:block text-xs tracking-wide",children:t("span",{className:"relative px-3 py-0.5 text-primary-base font-semibold",children:[e," OF ",n,t("span",{className:"absolute left-0 rounded-xl bg-primary-base opacity-10 w-full h-[90%]"})]})}),Mi=({navigate:e,initResponse:n})=>{const[a,s]=p(0),[i,r]=p(!1),l=Z(d=>{d&&r(!0);const o=(n==null?void 0:n.offers)||[];if(a===o.length-1){const h=o.some(b=>b.name==="Perks");e(`/allowance/summary/${i||d?"true":"false"}/${h?"true":"false"}`)}else s(a+1)},[a,i,n]),c=Z(d=>{var g;s(d);const o=(g=n==null?void 0:n.offers)==null?void 0:g[d];o&&re.commandAsync({eventType:"OfferSelected",offerName:o.name,data:o.metadata},{experiment:o.metadata.featureName,treatment:o.metadata.treatmentName})},[n]);return t("div",{className:"max-w-[59.5rem] mx-auto",children:[!n.featureFlags.marketplaceSubNavigation&&t(_i,{current:a+1,total:n.offers.length+1}),t(Bi,{selectedIndex:a,onChange:c,children:[n.featureFlags.marketplaceSubNavigation&&n.offers.map(d=>t(jn,{label:d.content.productName,icon:t(Oi,{iconUrl:d.content.iconUrl})},d.name)),n.offers.map(d=>t(Wn,{children:d.content.template==="Assessment"&&t($i,{onStepComplete:l,marketPlaceOffer:d},d.name)},d.name))]})]})},Ri=e=>{var i;const n=ce(q),a=R(null),s=I(n,void 0);return f(()=>{a.current&&(a.current["on-complete"]=()=>e.navigate("/allowance/intro"))},[]),t("div",{className:"flex justify-center",children:t("benefits-plan-assessment",{"base-url":M.getConfig().apolloBaseUrl,"profile-id":s==null?void 0:s.basicProfile.profileId,"skip-intro":!0,"skip-more-details":!0,"skip-summary":!0,"access-token":(i=s==null?void 0:s.workplaceLinkConfig)==null?void 0:i.workplaceBackendToken,"assessment-id":"benefits-personalisation-assessment","track-client":"webBenefits","track-source":"WebBenefits","track-channel":"web","assessment-title":"Tell us a bit about yourself",description:"Answer a few questions to help us set up a personalised benefits plan for you:","vertical-alignment":"items-center",ref:a})})},Ui=({title:e,className:n,children:a,...s})=>{var d;const[i,r]=p(!1),l=R(null),c=Z(()=>{r(!i)},[i]);return t("div",{className:`border border-2 border-gray-300 p-2 rounded-md overflow-hidden w-full ${n??""}`,...s,children:[t("div",{className:"mx-2 flex justify-between cursor-pointer",onClick:c,children:[t("span",{className:"text-base text-left font-semibold text-primary",children:e}),t("span",{className:"text-base text-left font-semibold text-gray-500",children:i?"-":"+"})]}),t("div",{ref:l,className:"flex justify-center transition-all ease-in-out duration-1000",style:{height:i?`${((d=l==null?void 0:l.current)==null?void 0:d.scrollHeight)??0}px`:"0px",opacity:i?1:0},children:a})]})},Vi="/benefits/app/assets/check-c15931a5.svg",Di=({title:e,steps:n,...a})=>{const s=n.length,i=n.filter(r=>r.completed).length;return t("div",{...a,children:[e&&t("h1",{className:"text-lg font-semibold mb-4",children:e}),t("ol",{children:n.map((r,l)=>{const c=i===l;return t("li",{className:`relative flex-1 pb-6 ${l!==s-1?`after:content-[''] after:w-0.5 after:h-[calc(100%-theme(height.8))] ${r.completed?"after:bg-primary":"after:bg-gray-300"} after:inline-block after:absolute after:top-8 after:left-4`:""}`,children:t("div",{className:"flex font-medium w-full",children:[t("span",{className:`w-8 h-8 flex-shrink-0 ${r.completed?"bg-primary":"bg-white"} border-2 ${r.completed||c?"border-primary":"border-gray-300"} rounded-full flex justify-center items-center mr-3 text-sm ${c?"text-primary":"text-gray-500"}`,children:r.completed?t("img",{className:"w-4 h-4",src:Vi}):l+1}),t("div",{children:[t("h4",{className:`text-sm text-left font-semibold ${r.completed||c?"text-primary":"text-gray-600"}`,children:r.title}),t("p",{className:"text-sm text-left font-normal",children:r.description})]})]})},l)})})]})},Xt="allowance",Fi=({hasCompletedAnyOffers:e,isAppEnabled:n,onComplete:a})=>{f(()=>{const c=ji({isAppEnabled:n,hasCompletedAnyOffers:e});re.commandAsync({eventType:"SummaryViewed",summaryVariant:c},{treatment:Xt})},[n,e]);const[s,i]=p();f(()=>{(async()=>{const c=await ee.loadAllowanceContentAsync(e?"benefits-setup-summary-allowance":"benefits-setup-summary-allowance-no-selection");i(c.items[0].fields)})()},[]);const r=ce(q),l=I(r,void 0);return s?t(ie,{children:[t(ie.Top,{children:t("div",{className:"flex flex-col gap-4",children:[t(Un,{children:s.title}),t(Vn,{children:s.description})]})}),t(ie.Bottom,{children:t("div",{className:"mt-5 flex flex-col items-center gap-5 text-center",children:[s.specialContent?t(Ui,{className:"lg:w-3/4",title:s.specialContent.title,children:t(Di,{steps:Pi(s.specialContent.content,1),className:"mt-2 rounded-md px-6 py-4"})}):null,t(Rn,{testId:"allowance_set_up_benefits_button_next_screen",class:"mt-5 w-full md:w-[240px]",onClickPromise:async()=>{var o;const c=(o=l==null?void 0:l.workplaceLinkConfig)==null?void 0:o.workplaceBackendToken,d=l==null?void 0:l.basicProfile.profileId;await Promise.all([re.commandAsync({eventType:"Completed"},{treatment:Xt}),c&&d?Mn(c,d).url("/benefits-plan/workplace-backend/v1.0/allowance/complete").post():void 0]),a()},children:s.primaryAction})]})})]}):t("div",{className:"text-primary",children:t(Ee,{size:6})})},ji=({isAppEnabled:e,hasCompletedAnyOffers:n})=>{switch(!0){case(e&&n):return"allowance-accepted-app";case(e&&!n):return"allowance-declined-app";case(!e&&n):return"allowance-accepted-noapp";default:return"allowance-declined-noapp"}},Wi=({onComplete:e})=>{const[n,a]=p(null),s=ce(q),i=I(s,void 0),r=Z(async()=>{var b;const o=(b=i==null?void 0:i.workplaceLinkConfig)==null?void 0:b.workplaceBackendToken,g=i==null?void 0:i.basicProfile.profileId,h=await Mn(o,g).url("/benefits-plan/workplace-backend/v1.0/offers").get().json();return h.offers=h.offers.filter(v=>v.isEnabled&&v.isEligible),h.offers.length===0&&e(),a(h),h},[i]),[l,c]=p("/allowance"),d=o=>c(o);return t("div",{className:"flex items-center",children:(()=>{var o;if(!((o=i==null?void 0:i.workplaceLinkConfig)!=null&&o.workplaceBackendToken))return t("div",{className:"text-primary",children:t(Ee,{size:10})});if(l==="/allowance/intro")return t(Si,{navigate:d,fetchOffers:r});if(l==="/allowance/offers")return t(Mi,{navigate:d,initResponse:n});if(l.startsWith("/allowance/summary/")){const g=l.replace("/allowance/summary/","").split("/");return t(Fi,{isAppEnabled:g[1]==="true",hasCompletedAnyOffers:g[0]==="true",onComplete:e})}return t(Ri,{navigate:d})})()})},Hi="/benefits/app/assets/welcome_image_mobile-dbde6c80.png",zi="/benefits/app/assets/welcome_image_v2-869c59e4.png",qi=({hasNextStep:e,onClick:n})=>{const{service:a}=O();f(()=>{a.trackConsentStartedAsync()},[]);const s=()=>{a.trackConsentCompletedAsync(),n()},i=e?"Get started":"Start exploring your benefits";return t("div",{children:[t("div",{className:"min-h-[12rem] items-center hidden md:flex",children:t("img",{className:"mx-auto align-middle w-[30rem]",src:zi})}),t("div",{className:"min-h-[8rem] flex items-center md:hidden",children:t("img",{className:"mx-auto align-middle w-[30rem]",src:Hi})}),t("h1",{className:"text-3xl leading-9 font-bold text-gray-900 font-sans mb-3 mt-4",children:[t("span",{className:"w-full block",children:"Welcome to your"}),t("span",{className:"w-full block",children:"workplace benefits"})]}),t("p",{className:"text-base leading-6 font-normal text-gray-500 mb-6",children:"Get access to savings and perks from Australia’s most-loved brands, plus special offers to help you save on bigger expenses like household utilities, health insurance and more."}),t(le,{className:"md:w-full md:text-base py-3 mb-6 focus:outline-none",onClick:s,children:i}),t("p",{className:"text-xs leading-4 font-normal text-gray-500 mb-0",children:["By clicking “",i,"” you accept the"," ",t(ye,{className:"text-primary underline",href:"https://www.flarehr.com/flare-app-terms-and-conditions",children:"Terms & Conditions"})," ","and acknowledge and consent to your data being processed in accordance with Flare's"," ",t(ye,{className:"text-primary underline",href:"https://www.flarehr.com/privacy-policy",children:"Privacy Policy"}),"."]})]})},Gi=({userProfile:e,isCategoryOpen:n})=>{const a=Ki({names:[ue.Consent,ue.CustomerRegistration]});f(()=>{(async()=>await te.setWorkplaceLinkConfig())()},[]);const s=H(()=>[{stepType:"Consent",isRequired:()=>a.isReady&&a.treatments[ue.Consent].treatment==="on"&&(e==null?void 0:e.benefitsProfile.hasConsent)===!1},{stepType:"WorkplaceLink",isRequired:()=>{var v;return a.isReady&&a.treatments[ue.CustomerRegistration].treatment==="on"&&((v=e==null?void 0:e.workplaceLinkConfig)==null?void 0:v.isEstablished)===!1}},{stepType:"Allowance",isRequired:()=>{var b;return((b=e==null?void 0:e.featureFlags)==null?void 0:b.allowance)===!0}}].filter(b=>b.isRequired()),[a,e]),i=R();f(()=>{s.length>0&&(i.current=s[0])},[s]);const[r,l]=p(!1);f(()=>{l(s.length>0&&!n)},[s.length,n]),f(()=>{be.updateIsWelcomeModalOpen(r)},[r]);const c=()=>{var b;(b=e==null?void 0:e.benefitsProfile)!=null&&b.hasConsent||te.saveUserConsent()},d=()=>{qe.lock(5e3),te.updateCustomerIdAsync(qe.unlockAndFlushQueue),te.setIsEstablished()},o=()=>{te.setIsEstablished()},g=()=>{te.setAllowanceCompleted()},h=s[0]||i.current;return t(et,{isOpen:r,fullWidthMobile:!0,onClose:()=>{},children:t("div",{className:`${(h==null?void 0:h.stepType)==="Allowance"?"md:max-w-[68rem] md:min-h-[30rem] flex justify-center overflow-y-auto":"text-center md:w-[35rem]"} p-8 md:p-16 w-screen`,children:[(h==null?void 0:h.stepType)==="Consent"&&t(qi,{onClick:c,hasNextStep:s.length>1}),(h==null?void 0:h.stepType)==="WorkplaceLink"&&t(Ci,{onComplete:d,onError:o,config:e==null?void 0:e.workplaceLinkConfig}),(h==null?void 0:h.stepType)==="Allowance"&&t(Wi,{onComplete:g})]})})},Ki=e=>{const n=Da(e),[a,s]=p({...n,treatments:{}});return f(()=>{Object.values(n.treatments).some(i=>i.treatment==="control")||s(n)},[n]),a},Re=({category:e})=>{const[n,a]=p();return f(()=>{const s=[Q.signedInUser$.subscribe(i=>{_(i)?a(i.value):a(void 0)})];return()=>{s.map(i=>i.unsubscribe())}},[]),t(w,{children:[t(pt,{history:yt(gt()),children:[t(F,{path:"/",component:Me}),t(F,{path:"/categories/:category",component:Me}),t(F,{path:"/landing/:slug",component:Me}),t(F,{path:"/wellbeing-hub/:subroute*",component:ci}),t(F,{default:!0,component:Me})]}),t(Gi,{userProfile:n,isCategoryOpen:!!e})]})},Hn=e=>{analytics.identify(e.basicProfile.profileId,{profile:e.basicProfile.profileId,account:e.basicProfile.accountId,partner:e.basicProfile.partnerId,benefitsRole:e.benefitsProfile.role})},Qi=e=>{const n=`${e.eventName} ${e.eventAction}`,a={...e};delete a.eventName,delete a.eventAction,analytics.track(n,a)},Yi=e=>()=>{},vl={identifyUser:Hn,trackEvent:Qi,handleTrackingOnClick:Yi},Xi=Ea(()=>Oa(()=>import("./index-e5031c9b.js"),["assets/index-e5031c9b.js","assets/vendor-1c5ad091.js","assets/lodash-5d893f8c.js","assets/framer-motion-04a96014.js","assets/date-fns-20ad091e.js","assets/oidc-client-6f6e47c2.js","assets/@splitsoftware-dc67820b.js","assets/datadog-17d20852.js"])),Ji=()=>{const[e,n]=p({user:C}),[a,s]=p(!1),[i,r]=p(!1),[l,c]=p(),[d,o]=p({}),{service:g}=O();if(typeof window<"u"&&window.location.pathname.replace("/benefits/app","")!=="/")return window.location.pathname="/benefits/app/",null;f(()=>{(async()=>{if(await M.fetchConfigAsync(),De.extractRedirectPath(),De.extractMode(),De.extractTrackingParameters(),G.tokenExists(window.location.search)){await G.signOut(),await G.initFromToken(window.location.pathname,window.location.search);return}r(!0)})();const b=[Q.signedInUser$.subscribe(v=>{n({user:v}),_(v)&&Hn(v.value)}),on.authState$.subscribe(async({authStatus:v,jwt:k})=>{_(k)&&v===z.Authenticated?(await G.refreshIfExpired(),D.setParameters(M.getConfig().apiBaseUrl,k.value),se.setParameters(M.getConfig().apolloBaseUrl,k.value),Ha.setParameters(M.getConfig().apiV2BaseUrl,k.value),te.extractProfileId(k.value),await te.loadSignedInUserProfileAsync(),s(v===z.Authenticated)):s(!1)})];return()=>{b.map(v=>v.unsubscribe())}},[]);const h=b=>{switch(b.url.replace(/^\/+/,"").split("/")[0]){case"":T.update({appView:"employee",navTab:"benefits"});break;case"admin":T.update({appView:"admin",navTab:"benefits"});break;case"wellbeing-hub":T.update({appView:"employee",navTab:"wellbeing"});break}};return f(()=>{if(i&&a){g.trackAppLoadedAsync();const b=Q.getValue().deepLink;_(b)&&(g.trackDeepLinkOpenedAsync(b.value),T.update({deepLink:C}))}},[i,a]),f(()=>{if(i&&a&&_(e.user)){const b=e.user.value.basicProfile,k={core:{authorizationKey:M.getConfig().splitAuthorizationKey,key:b.profileId}},x={accountId:b.accountId,partnerId:b.partnerId};o(x),c(k)}},[i,a,e.user]),i?t("div",{id:"preact_root",className:"min-h-screen",children:t(Fa,{config:l,attributes:d,children:t(hn.Provider,{value:a,children:t(q.Provider,{value:e.user,children:t(pt,{history:yt(gt()),onChange:h,children:[t(xe,{path:"/",component:Re}),t(xe,{path:"/categories/:category",component:Re}),t(xe,{path:"/landing/:slug",component:Re}),t(xe,{path:"/wellbeing-hub/:subroute*",component:Re}),t(xe,{path:"/admin/:subroute*",component:Xi}),t(F,{path:"/oidc/:mode*",component:rs}),t(F,{path:"/b2c/:fragment",component:is}),t(F,{path:"/workplace-link",component:je}),t(F,{path:"state=:fragment*",component:je}),t(F,{path:"/code*",component:je}),t(fn,{default:!0})]})})})})}):t(Ze,{})};typeof window<"u"&&(Ba({storage:window.sessionStorage,key:"benefits-client-v2"}),$a(),_a.polyfill(),Wa());Ma(t(Ua,{children:t(Ra,{fallback:fn,children:t(Ji,{})})}),document.body);export{D as B,Cn as D,bt as H,Dr as I,Ee as L,et as M,xt as P,Dt as U,O as a,Pe as b,Y as c,q as d,Ha as e,ee as f,Ya as g,us as h,ze as i,K as j,Vr as k,yl as l,vl as m,bl as n,gl as o,hl as p,Ur as q,pl as r,fl as s,ul as t,rt as u,B as v,vt as w,re as x,rn as y,yt as z};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var es=Object.defineProperty;var ts=(t,e,r)=>e in t?es(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var O=(t,e,r)=>(ts(t,typeof e!="symbol"?e+"":e,r),r);import{C as s,
|
|
1
|
+
var es=Object.defineProperty;var ts=(t,e,r)=>e in t?es(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var O=(t,e,r)=>(ts(t,typeof e!="symbol"?e+"":e,r),r);import{C as s,aR as rs,aS as ns,o as se,aH as Br,p as M,n as is,G as as,q as zr,k as X,r as A,T as R,F as dt,y as ss,aT as Ii,S as ls,H as Wr,I as Hr,L as os,az as cs,R as xe,Q as ds,aU as $i,at as Tt,D as j,O as ke,M as Yr,Y as U,w as Kr,aV as Pn,aW as us,aX as fs,am as hs,aY as Li,aZ as nt,a_ as Vi,an as Ri,J as ji,P as Te,a$ as ms,K as gs,b0 as In,as as ue,b1 as ps,b2 as ae,b3 as Dr,b4 as ys,b5 as vs,N as Ui,b6 as bs,ap as Bi,aq as it,ar as Ae,v as zi,b7 as Wi,b8 as Hi,a2 as wt,$ as ws,a0 as xs,b9 as ks,ba as Es,bb as Ds,aC as Fs,aD as Ns,aE as xt}from"./vendor-1c5ad091.js";import{B as at,u as Ss,U as Cs,M as qr,L as pt,a as Gr,g as Xr,b as yt,w as Ee,c as $,d as Jr,e as st,f as As,P as Bt,h as Yi,i as Ki,j as $n,s as Ln,p as Vn,D as Ts,k as qi,l as Rn,m as T,n as Ms,o as Os,I as cr,q as dr,r as jn,t as _s,v as Gi,x as Mt,H as Ps,y as Is,z as $s}from"./index-9aa466a2.js";import{g as Qr,d as Un,t as Xi,e as Bn,f as Ls,h as Ot,m as Ji,j as Vs,k as Rs,s as zn}from"./lodash-5d893f8c.js";import{m as Ve,L as Zr}from"./framer-motion-04a96014.js";import{p as kt,i as ur,b as Wn}from"./date-fns-20ad091e.js";import"./oidc-client-6f6e47c2.js";import"./@splitsoftware-dc67820b.js";import"./datadog-17d20852.js";const zt=t=>s("div",{className:"lg:flex lg:items-center lg:justify-between",children:[s("div",{className:"flex-1 min-w-0",children:s("div",{className:"relative",children:[s("h3",{className:"text-2xl font-extrabold text-gray-900 tracking-tight sm:text-3xl",children:t.title}),s("p",{className:"mt-3 text-lg text-gray-500",children:t.subTitle})]})}),t.buttonTitle&&s("div",{className:"mt-5 flex lg:mt-0 lg:ml-4 self-end",children:s("span",{children:s("button",{type:"button",disabled:t.isLoading,className:"inline-flex items-center px-4 py-2 border border-transparent disabled:opacity-50 rounded-md shadow-sm text-sm font-medium text-white bg-gray-600 hover:bg-gray-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500",onClick:t.handleButtonClick,children:[s(rs,{className:"-ml-1 mr-2 h-5 w-5","aria-hidden":"true"}),t.buttonTitle]})})})]});var js=function(e){return Us(e)&&!Bs(e)};function Us(t){return!!t&&typeof t=="object"}function Bs(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||Hs(t)}var zs=typeof Symbol=="function"&&Symbol.for,Ws=zs?Symbol.for("react.element"):60103;function Hs(t){return t.$$typeof===Ws}function Ys(t){return Array.isArray(t)?[]:{}}function _t(t,e){return e.clone!==!1&&e.isMergeableObject(t)?ut(Ys(t),t,e):t}function Ks(t,e,r){return t.concat(e).map(function(n){return _t(n,r)})}function qs(t,e,r){var n={};return r.isMergeableObject(t)&&Object.keys(t).forEach(function(i){n[i]=_t(t[i],r)}),Object.keys(e).forEach(function(i){!r.isMergeableObject(e[i])||!t[i]?n[i]=_t(e[i],r):n[i]=ut(t[i],e[i],r)}),n}function ut(t,e,r){r=r||{},r.arrayMerge=r.arrayMerge||Ks,r.isMergeableObject=r.isMergeableObject||js;var n=Array.isArray(e),i=Array.isArray(t),a=n===i;return a?n?r.arrayMerge(t,e,r):qs(t,e,r):_t(e,r)}ut.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(n,i){return ut(n,i,r)},{})};var Fr=ut,Hn=Array.isArray,Yn=Object.keys,Gs=Object.prototype.hasOwnProperty,Xs=typeof Element<"u";function Nr(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){var r=Hn(t),n=Hn(e),i,a,l;if(r&&n){if(a=t.length,a!=e.length)return!1;for(i=a;i--!==0;)if(!Nr(t[i],e[i]))return!1;return!0}if(r!=n)return!1;var o=t instanceof Date,c=e instanceof Date;if(o!=c)return!1;if(o&&c)return t.getTime()==e.getTime();var d=t instanceof RegExp,f=e instanceof RegExp;if(d!=f)return!1;if(d&&f)return t.toString()==e.toString();var h=Yn(t);if(a=h.length,a!==Yn(e).length)return!1;for(i=a;i--!==0;)if(!Gs.call(e,h[i]))return!1;if(Xs&&t instanceof Element&&e instanceof Element)return t===e;for(i=a;i--!==0;)if(l=h[i],!(l==="_owner"&&t.$$typeof)&&!Nr(t[l],e[l]))return!1;return!0}return t!==t&&e!==e}var Js=function(e,r){try{return Nr(e,r)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||n.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}};const ge=Qr(Js);var Qs=!0;function en(t,e){if(!Qs){if(t)return;var r="Warning: "+e;typeof console<"u"&&console.warn(r);try{throw Error(r)}catch{}}}var Qi={exports:{}},I={};/** @license React v16.13.1
|
|
2
2
|
* react-is.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|