@flarehr/apollo-super-selection 5.38.61955 → 5.40.63109

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.css +1 -1
  2. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  3. package/dist/lib/apollo-super-selection/p-53c454f4.entry.js +14 -0
  4. package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
  5. package/dist/lib/apollo-super-selection/p-d440214e.system.entry.js +69 -0
  6. package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
  7. package/dist/lib/cjs/loader.cjs.js +1 -1
  8. package/dist/lib/cjs/sss-button_34.cjs.entry.js +265 -196
  9. package/dist/lib/collection/apollo-super-selection.css +1 -1
  10. package/dist/lib/collection/components/super-campaign/fund-tile-clicked.handler.js +49 -0
  11. package/dist/lib/collection/components/super-campaign/promoted-fund-joined.handler.js +121 -0
  12. package/dist/lib/collection/components/super-campaign/super-campaign.js +21 -165
  13. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.js +59 -5
  14. package/dist/lib/collection/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.types.js +1 -0
  15. package/dist/lib/collection/components/super-selection-app/services/super-selection-app.service.js +2 -2
  16. package/dist/lib/esm/apollo-super-selection.js +1 -1
  17. package/dist/lib/esm/loader.js +1 -1
  18. package/dist/lib/esm/sss-button_34.entry.js +265 -196
  19. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  20. package/dist/lib/esm-es5/loader.js +1 -1
  21. package/dist/lib/esm-es5/sss-button_34.entry.js +4 -4
  22. package/dist/lib/types/components/super-campaign/fund-tile-clicked.handler.d.ts +12 -0
  23. package/dist/lib/types/components/super-campaign/promoted-fund-joined.handler.d.ts +15 -0
  24. package/dist/lib/types/components/super-campaign/super-campaign-types.d.ts +3 -1
  25. package/dist/lib/types/components/super-campaign/super-campaign.d.ts +0 -8
  26. package/dist/lib/types/components/super-selection-app/api/super-selection-events.model.d.ts +3 -0
  27. package/dist/lib/types/components/super-selection-app/api/super-selection.api.d.ts +2 -2
  28. package/dist/lib/types/components/super-selection-app/api/super-selection.api.dto.d.ts +6 -0
  29. package/dist/lib/types/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.d.ts +9 -0
  30. package/dist/lib/types/components/super-selection-app/funds/custom-fund/featured-funds/super-campaign-featured-funds.types.d.ts +26 -0
  31. package/dist/lib/types/components/super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api.dto.d.ts +11 -13
  32. package/dist/lib/types/components/super-selection-app/funds/slate-super/api/slate-choice.api.dto.d.ts +2 -1
  33. package/dist/lib/types/components/super-selection-app/services/super-selection-app.service.d.ts +2 -2
  34. package/package.json +1 -1
  35. package/dist/lib/apollo-super-selection/p-12c5f04e.system.entry.js +0 -69
  36. package/dist/lib/apollo-super-selection/p-5952a4b2.entry.js +0 -14
@@ -1 +1 @@
1
- /*! tailwindcss v3.3.5 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--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: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,pre,samp{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:initial}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}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-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,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{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}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],select,textarea{-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}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,select:focus,textarea:focus{outline:2px solid #0000;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}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml;charset=utf-8,%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 8 4 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]{background-image:none;background-position:0 0;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 #0000;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:#0000;background-color:currentColor;background-size:100% 100%;background-position:50%;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}[type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=checkbox]:indeterminate,[type=radio]:checked:focus,[type=radio]:checked:hover{border-color:#0000;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-size:100% 100%;background-position:50%;background-repeat:no-repeat}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{border-color:#0000;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}*,::backdrop,:after,:before{--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:#3b82f680;--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:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-y-0{top:0;bottom:0}.left-1\/2{left:50%}.right-0{right:0}.top-1\/2{top:50%}.z-10{z-index:10}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.my-3{margin-top:.75rem;margin-bottom:.75rem}.-mt-12{margin-top:-3rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-8{margin-bottom:2rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.mr-1{margin-right:.25rem}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-11{margin-top:2.75rem}.mt-2{margin-top:.5rem}.mt-20{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-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-16{height:4rem}.h-20{height:5rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-auto{height:auto}.h-px{height:1px}.max-h-60{max-height:15rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-20{width:5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-auto{width:auto}.w-full{width:100%}.min-w-0{min-width:0}.max-w-140{max-width:140px}.max-w-400{max-width:400px}.max-w-560{max-width:560px}.max-w-800{max-width:800px}.max-w-960{max-width:960px}.max-w-\[200px\]{max-width:200px}.max-w-\[300px\]{max-width:300px}.max-w-\[560px\]{max-width:560px}.flex-1{flex:1 1 0%}.flex-\[1_0_0\]{flex:1 0 0}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.grow{flex-grow:1}.basis-0{flex-basis:0px}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y:-50%}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.list-outside{list-style-position:outside}.list-disc{list-style-type:disc}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.content-center{align-content:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-3\.5{gap:.875rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-\[7px\]{gap:7px}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.-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*(1 - var(--tw-space-x-reverse)))}.-space-y-px>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(-1px*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(-1px*var(--tw-space-y-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*(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem*var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem*var(--tw-space-y-reverse))}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-words{overflow-wrap:break-word}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0}.border-l-4{border-left-width:4px}.border-r-0{border-right-width:0}.border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity))}.border-transparent{border-color:#0000}.border-yellow-400{--tw-border-opacity:1;border-color:rgb(250 204 21/var(--tw-border-opacity))}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-primary-base{background-color:var(--fl-color-primary)}.bg-primary-hover{background-color:var(--fl-color-primary-hover)}.bg-primary-light{background-color:var(--fl-color-primary-light)}.bg-red-400{--tw-bg-opacity:1;background-color:rgb(248 113 113/var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity:1;background-color:rgb(250 204 21/var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.bg-yellow-700{--tw-bg-opacity:1;background-color:rgb(161 98 7/var(--tw-bg-opacity))}.fill-primary-base{fill:var(--fl-color-primary)}.fill-white{fill:#fff}.object-contain{-o-object-fit:contain;object-fit:contain}.p-4{padding:1rem}.p-6{padding:1.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-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pl-0{padding-left:0}.pl-1{padding-left:.25rem}.pl-1\.5{padding-left:.375rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-5{padding-left:1.25rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pr-9{padding-right:2.25rem}.pt-1{padding-top:.25rem}.pt-1\.5{padding-top:.375rem}.pt-28{padding-top:7rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.font-inter{font-family:Inter,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.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-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.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-tight{line-height:1.25}.text-blue-800{--tw-text-opacity:1;color:rgb(30 64 175/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-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-primary-base{color:var(--fl-color-primary)}.text-primary-dark{color:var(--fl-color-primary-dark)}.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-transparent{color:#0000}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity))}.opacity-10{opacity:.1}.shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{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 #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.shadow-none,.shadow-sm{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 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.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)}.ring-1,.ring-2{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)}.ring-black{--tw-ring-opacity:1;--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity:0.05}.blur{--tw-blur:blur(8px)}.blur,.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)}.invalid\:border-red-300:invalid{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.invalid\:text-red-900:invalid{--tw-text-opacity:1;color:rgb(127 29 29/var(--tw-text-opacity))}.invalid\:placeholder-red-300:invalid::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(252 165 165/var(--tw-placeholder-opacity))}.invalid\:placeholder-red-300:invalid::placeholder{--tw-placeholder-opacity:1;color:rgb(252 165 165/var(--tw-placeholder-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.hover\:bg-primary-base:hover{background-color:var(--fl-color-primary)}.hover\:bg-primary-hover:hover{background-color:var(--fl-color-primary-hover)}.hover\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.focus\:z-10:focus{z-index:10}.focus\:border-primary-base:focus{border-color:var(--fl-color-primary)}.focus\:border-primary-focus:focus{border-color:var(--fl-color-primary-focus)}.focus\:outline-none:focus{outline:2px solid #0000;outline-offset:2px}.focus\:ring-1: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(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-1:focus,.focus\:ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.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)}.focus\:ring-primary-focus:focus{--tw-ring-color:var(--fl-color-primary-focus)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.invalid\:focus\:border-red-500:focus:invalid{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity))}.invalid\:focus\:ring-red-500:focus:invalid{--tw-ring-opacity:1;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity))}.disabled\:pointer-events-none:disabled{pointer-events:none}.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\:text-gray-400:disabled{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.group:hover .group-hover\:fill-white{fill:#fff}@media (min-width:640px){.sm\:mb-0{margin-bottom:0}.sm\:mb-4{margin-bottom:1rem}.sm\:mr-8{margin-right:2rem}.sm\:mt-12{margin-top:3rem}.sm\:mt-20{margin-top:5rem}.sm\:mt-4{margin-top:1rem}.sm\:h-12{height:3rem}.sm\:h-auto{height:auto}.sm\:w-1\/2{width:50%}.sm\:w-2\/5{width:40%}.sm\:w-3\/5{width:60%}.sm\:w-560{width:560px}.sm\:w-80{width:20rem}.sm\:w-auto{width:auto}.sm\:max-w-320{max-width:320px}.sm\:max-w-\[100px\]{max-width:100px}.sm\:flex-row{flex-direction:row}.sm\:justify-start{justify-content:flex-start}.sm\:gap-4{gap:1rem}.sm\:border-b-0{border-bottom-width:0}.sm\:border-r{border-right-width:1px}.sm\:p-6{padding:1.5rem}.sm\:pb-0{padding-bottom:0}.sm\:pb-8{padding-bottom:2rem}.sm\:pr-8{padding-right:2rem}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\:text-sm{font-size:.875rem}.sm\:leading-5,.sm\:text-sm{line-height:1.25rem}.sm\:leading-8{line-height:2rem}}
1
+ /*! tailwindcss v3.3.5 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--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: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,pre,samp{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:initial}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}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-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,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{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}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],select,textarea{-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}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,select:focus,textarea:focus{outline:2px solid #0000;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}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml;charset=utf-8,%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 8 4 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]{background-image:none;background-position:0 0;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 #0000;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:#0000;background-color:currentColor;background-size:100% 100%;background-position:50%;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}[type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=checkbox]:indeterminate,[type=radio]:checked:focus,[type=radio]:checked:hover{border-color:#0000;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-size:100% 100%;background-position:50%;background-repeat:no-repeat}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{border-color:#0000;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}*,::backdrop,:after,:before{--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:#3b82f680;--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:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-y-0{top:0;bottom:0}.left-1\/2{left:50%}.right-0{right:0}.top-1\/2{top:50%}.z-10{z-index:10}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.my-3{margin-top:.75rem;margin-bottom:.75rem}.-mt-12{margin-top:-3rem}.-mt-20{margin-top:-5rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-8{margin-bottom:2rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.mr-1{margin-right:.25rem}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-11{margin-top:2.75rem}.mt-2{margin-top:.5rem}.mt-20{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-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-16{height:4rem}.h-20{height:5rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-auto{height:auto}.h-px{height:1px}.max-h-60{max-height:15rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/2{width:50%}.w-10{width:2.5rem}.w-20{width:5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-8{width:2rem}.w-auto{width:auto}.w-full{width:100%}.min-w-0{min-width:0}.max-w-140{max-width:140px}.max-w-400{max-width:400px}.max-w-560{max-width:560px}.max-w-800{max-width:800px}.max-w-960{max-width:960px}.max-w-\[200px\]{max-width:200px}.max-w-\[300px\]{max-width:300px}.max-w-\[560px\]{max-width:560px}.flex-1{flex:1 1 0%}.flex-\[1_0_0\]{flex:1 0 0}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.grow{flex-grow:1}.basis-0{flex-basis:0px}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y:-50%}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.list-outside{list-style-position:outside}.list-disc{list-style-type:disc}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.content-center{align-content:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-3\.5{gap:.875rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-\[7px\]{gap:7px}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.-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*(1 - var(--tw-space-x-reverse)))}.-space-y-px>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(-1px*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(-1px*var(--tw-space-y-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*(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem*var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem*var(--tw-space-y-reverse))}.self-stretch{align-self:stretch}.overflow-auto{overflow:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-words{overflow-wrap:break-word}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0}.border-l-4{border-left-width:4px}.border-r-0{border-right-width:0}.border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-red-500{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity))}.border-transparent{border-color:#0000}.border-yellow-400{--tw-border-opacity:1;border-color:rgb(250 204 21/var(--tw-border-opacity))}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.bg-primary-base{background-color:var(--fl-color-primary)}.bg-primary-hover{background-color:var(--fl-color-primary-hover)}.bg-primary-light{background-color:var(--fl-color-primary-light)}.bg-red-400{--tw-bg-opacity:1;background-color:rgb(248 113 113/var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity:1;background-color:rgb(250 204 21/var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.bg-yellow-700{--tw-bg-opacity:1;background-color:rgb(161 98 7/var(--tw-bg-opacity))}.fill-primary-base{fill:var(--fl-color-primary)}.fill-white{fill:#fff}.object-contain{-o-object-fit:contain;object-fit:contain}.p-4{padding:1rem}.p-6{padding:1.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-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pl-0{padding-left:0}.pl-1{padding-left:.25rem}.pl-1\.5{padding-left:.375rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-5{padding-left:1.25rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-4{padding-right:1rem}.pr-9{padding-right:2.25rem}.pt-1{padding-top:.25rem}.pt-1\.5{padding-top:.375rem}.pt-28{padding-top:7rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.font-inter{font-family:Inter,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.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-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.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-tight{line-height:1.25}.text-blue-800{--tw-text-opacity:1;color:rgb(30 64 175/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-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-primary-base{color:var(--fl-color-primary)}.text-primary-dark{color:var(--fl-color-primary-dark)}.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-transparent{color:#0000}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity:1;color:rgb(161 98 7/var(--tw-text-opacity))}.opacity-10{opacity:.1}.shadow{--tw-shadow:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-lg{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 #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}.shadow-none,.shadow-sm{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 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.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)}.ring-1,.ring-2{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)}.ring-black{--tw-ring-opacity:1;--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity:0.05}.blur{--tw-blur:blur(8px)}.blur,.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)}.invalid\:border-red-300:invalid{--tw-border-opacity:1;border-color:rgb(252 165 165/var(--tw-border-opacity))}.invalid\:text-red-900:invalid{--tw-text-opacity:1;color:rgb(127 29 29/var(--tw-text-opacity))}.invalid\:placeholder-red-300:invalid::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(252 165 165/var(--tw-placeholder-opacity))}.invalid\:placeholder-red-300:invalid::placeholder{--tw-placeholder-opacity:1;color:rgb(252 165 165/var(--tw-placeholder-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.hover\:bg-primary-base:hover{background-color:var(--fl-color-primary)}.hover\:bg-primary-hover:hover{background-color:var(--fl-color-primary-hover)}.hover\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.focus\:z-10:focus{z-index:10}.focus\:border-primary-base:focus{border-color:var(--fl-color-primary)}.focus\:border-primary-focus:focus{border-color:var(--fl-color-primary-focus)}.focus\:outline-none:focus{outline:2px solid #0000;outline-offset:2px}.focus\:ring-1: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(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\:ring-1:focus,.focus\:ring-2:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.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)}.focus\:ring-primary-focus:focus{--tw-ring-color:var(--fl-color-primary-focus)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.invalid\:focus\:border-red-500:focus:invalid{--tw-border-opacity:1;border-color:rgb(239 68 68/var(--tw-border-opacity))}.invalid\:focus\:ring-red-500:focus:invalid{--tw-ring-opacity:1;--tw-ring-color:rgb(239 68 68/var(--tw-ring-opacity))}.disabled\:pointer-events-none:disabled{pointer-events:none}.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\:text-gray-400:disabled{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.group:hover .group-hover\:fill-white{fill:#fff}@media (min-width:640px){.sm\:mb-0{margin-bottom:0}.sm\:mb-4{margin-bottom:1rem}.sm\:mr-8{margin-right:2rem}.sm\:mt-12{margin-top:3rem}.sm\:mt-20{margin-top:5rem}.sm\:mt-4{margin-top:1rem}.sm\:h-12{height:3rem}.sm\:h-auto{height:auto}.sm\:w-1\/2{width:50%}.sm\:w-2\/5{width:40%}.sm\:w-3\/5{width:60%}.sm\:w-560{width:560px}.sm\:w-80{width:20rem}.sm\:w-auto{width:auto}.sm\:max-w-320{max-width:320px}.sm\:max-w-\[100px\]{max-width:100px}.sm\:flex-row{flex-direction:row}.sm\:justify-start{justify-content:flex-start}.sm\:gap-4{gap:1rem}.sm\:border-b-0{border-bottom-width:0}.sm\:border-r{border-right-width:1px}.sm\:p-6{padding:1.5rem}.sm\:pb-0{padding-bottom:0}.sm\:pb-8{padding-bottom:2rem}.sm\:pr-8{padding-right:2rem}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\:text-sm{font-size:.875rem}.sm\:leading-5,.sm\:text-sm{line-height:1.25rem}.sm\:leading-8{line-height:2rem}}
@@ -0,0 +1,49 @@
1
+ import * as O from 'fp-ts/lib/Option';
2
+ import { EventTrackingService } from '../super-selection-app/services/event-tracking.service';
3
+ import miscService from '../super-selection-app/services/misc.service';
4
+ import superSelectionAppService from '../super-selection-app/services/super-selection-app.service';
5
+ const getSuperCampaignState = () => {
6
+ if (superSelectionAppService.superCampaignState != undefined)
7
+ return superSelectionAppService.superCampaignState;
8
+ throw new Error('Super campaign state has not been initialized');
9
+ };
10
+ export const fundTileClicked = async ({ sender, placementId, fundId, fundUsi, fundName, fundType }) => {
11
+ if (sender === 'super-campaign' || sender === 'featured-funds') {
12
+ const promotedFundsShown = getSuperCampaignState().PromotedFundIds;
13
+ const defaultFundUsiSet = O.toUndefined(superSelectionAppService.defaultFundUsi);
14
+ await Promise.all([
15
+ fundType === 'promoted-default'
16
+ ? await EventTrackingService.Instance.TrackPromotedDefaultSuperFundDetailViewedAsync({
17
+ fundUsi: fundUsi !== null && fundUsi !== void 0 ? fundUsi : '',
18
+ fundName,
19
+ promotedFundId: fundId,
20
+ promotedFundsShown,
21
+ defaultFundUsiSet,
22
+ superCampaignEnabled: true,
23
+ placementId
24
+ })
25
+ : await EventTrackingService.Instance.TrackPromotedSuperFundDetailViewedAsync({
26
+ fundUsi: fundUsi !== null && fundUsi !== void 0 ? fundUsi : undefined,
27
+ fundName,
28
+ promotedFundId: fundId,
29
+ promotedFundsShown,
30
+ defaultFundUsiSet,
31
+ superCampaignEnabled: true,
32
+ placementId
33
+ }),
34
+ miscService.trackClickPromotedTileAsync(fundType === 'promoted-default'
35
+ ? {
36
+ promotedDefault: {
37
+ fundId,
38
+ placementId
39
+ }
40
+ }
41
+ : {
42
+ promoted: {
43
+ fundId,
44
+ placementId
45
+ }
46
+ })
47
+ ]);
48
+ }
49
+ };
@@ -0,0 +1,121 @@
1
+ import * as O from 'fp-ts/lib/Option';
2
+ import appInsightsService from '../app-host/services/appinsights.service';
3
+ import customFundChoiceApi from '../super-selection-app/funds/custom-fund/api/custom-fund-choice.api';
4
+ import promotedFundChoiceApi from '../super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api';
5
+ import { slate } from '../super-selection-app/funds/slate-super/api/slate';
6
+ import slateChoiceApi from '../super-selection-app/funds/slate-super/api/slate-choice.api';
7
+ import navigationService from '../super-selection-app/services/navigation.service';
8
+ import superSelectionAppService from '../super-selection-app/services/super-selection-app.service';
9
+ import { Usi } from './super-campaign-types';
10
+ export class PromotedFundJoinedEventHandler {
11
+ constructor(placementId, history) {
12
+ this.handle = async (event) => {
13
+ if (event.detail.sender === 'super-campaign' || event.detail.sender === 'featured-funds') {
14
+ const fundJoinInfo = event.detail.fundJoinInfo;
15
+ switch (fundJoinInfo.fundType) {
16
+ case 'Promoted':
17
+ this.handlePromotedFundJoined(fundJoinInfo);
18
+ break;
19
+ case 'DefinedBenefits':
20
+ await this.handleDefinedBenefitsJoined(fundJoinInfo);
21
+ break;
22
+ case 'PromotedDefault':
23
+ this.handlePromotedDefaultFundJoined(fundJoinInfo);
24
+ break;
25
+ case 'PromotedDefaultWithJoin':
26
+ this.handlePromotedDefaultFundWithJoinWasJoined(fundJoinInfo);
27
+ break;
28
+ }
29
+ }
30
+ return Promise.resolve();
31
+ };
32
+ this.stringIsNullOrEmtpty = (s) => {
33
+ return !(typeof s === 'string' && s.trim().length > 0);
34
+ };
35
+ this.handlePromotedFundJoined = (data) => {
36
+ if (this.stringIsNullOrEmtpty(data.memberNumber) || this.stringIsNullOrEmtpty(data.usi)) {
37
+ appInsightsService.trackErrorTrace('Super Campaign did not return (Promoted) memberNumber and/or usi');
38
+ return;
39
+ }
40
+ const usi = Usi.clean(data.usi);
41
+ const defaultFundUsiSet = O.toUndefined(superSelectionAppService.defaultFundUsi);
42
+ navigationService.navigateInternallyToStandardChoice({
43
+ history: this.history,
44
+ fundName: data.fundName,
45
+ promotedFundId: data.fundId,
46
+ fundDetails: {
47
+ type: 'promoted',
48
+ fundName: data.fundName,
49
+ fundUsi: usi,
50
+ memberNumber: data.memberNumber,
51
+ promotedFundId: data.fundId
52
+ },
53
+ handleSubmitFn: async (standardChoiceFormSignature) => {
54
+ if (data.fundId === slate.fundId) {
55
+ await slateChoiceApi.submitSlateChoiceAsync(Object.assign({ memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, standardChoiceFormSignature,
56
+ defaultFundUsiSet, placementId: this.placementId }, this.PromotedFundsConfig));
57
+ }
58
+ else {
59
+ await promotedFundChoiceApi.submitChoiceAsync(Object.assign({ fundId: data.fundId, memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, usi,
60
+ standardChoiceFormSignature,
61
+ defaultFundUsiSet, placementId: this.placementId }, this.PromotedFundsConfig));
62
+ }
63
+ }
64
+ });
65
+ };
66
+ this.handlePromotedDefaultFundJoined = (data) => {
67
+ if (this.stringIsNullOrEmtpty(data.usi)) {
68
+ appInsightsService.trackErrorTrace('Super Campaign did not return (PromotedDefault) usi');
69
+ return;
70
+ }
71
+ const usi = Usi.clean(data.usi);
72
+ navigationService.navigateInternallyToStandardChoice({
73
+ history: this.history,
74
+ fundName: data.fundName,
75
+ promotedFundId: data.fundId,
76
+ fundDetails: {
77
+ type: 'promotedDefault',
78
+ fundName: data.fundName,
79
+ fundUsi: usi,
80
+ promotedFundId: data.fundId
81
+ },
82
+ handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitDefaultChoiceAsync(Object.assign({ fundId: data.fundId, usi,
83
+ standardChoiceFormSignature, defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi), placementId: this.placementId }, this.PromotedFundsConfig))
84
+ });
85
+ };
86
+ this.handlePromotedDefaultFundWithJoinWasJoined = (data) => {
87
+ if (this.stringIsNullOrEmtpty(data.memberNumber) || this.stringIsNullOrEmtpty(data.usi)) {
88
+ appInsightsService.trackErrorTrace('Super Campaign did not return (PromotedDefaultWithJoin) memberNumber and/or usi');
89
+ return;
90
+ }
91
+ const usi = Usi.clean(data.usi);
92
+ navigationService.navigateInternallyToStandardChoice({
93
+ history: this.history,
94
+ fundName: data.fundName,
95
+ promotedFundId: data.fundId,
96
+ fundDetails: {
97
+ type: 'promotedDefaultWithJoin',
98
+ fundName: data.fundName,
99
+ fundUsi: usi,
100
+ memberNumber: data.memberNumber,
101
+ promotedFundId: data.fundId
102
+ },
103
+ handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitDefaultChoiceWithJoinAsync(Object.assign({ fundId: data.fundId, memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, usi,
104
+ standardChoiceFormSignature, defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi), placementId: this.placementId }, this.PromotedFundsConfig))
105
+ });
106
+ };
107
+ this.handleDefinedBenefitsJoined = async (data) => {
108
+ if (this.stringIsNullOrEmtpty(data.memberNumber) || this.stringIsNullOrEmtpty(data.usi)) {
109
+ appInsightsService.trackErrorTrace('Super Campaign did not return (DefinedBenefits) memberNumber and/or usi');
110
+ return;
111
+ }
112
+ await customFundChoiceApi.submitDefinedBenefitsChoiceAsync(Object.assign({ fundUsi: Usi.clean(data.usi), fundId: data.fundId, memberNumber: data.memberNumber, memberElectContributionRatePreTax: data.memberElectContributionRatePreTax, memberElectContributionRatePostTax: data.memberElectContributionRatePostTax }, this.PromotedFundsConfig));
113
+ superSelectionAppService.markSuperSelectionAsSubmitted();
114
+ };
115
+ this.history = history;
116
+ this.placementId = placementId;
117
+ }
118
+ get PromotedFundsConfig() {
119
+ return superSelectionAppService.promotedFundsConfig;
120
+ }
121
+ }
@@ -1,21 +1,16 @@
1
1
  import { Component, h, Prop, State } from '@stencil/core';
2
2
  import { injectHistory } from '@stencil/router';
3
- import * as O from 'fp-ts/lib/Option';
4
3
  import { isSome } from 'fp-ts/lib/Option';
5
- import appInsightsService from '../app-host/services/appinsights.service';
6
4
  import { SuperCampaignErrorApi } from '../super-selection-app/api/super-campaign-errors-api';
7
5
  import { SuperFundDisclaimerViewedDetail } from '../super-selection-app/api/super-selection-events.model';
8
- import customFundChoiceApi from '../super-selection-app/funds/custom-fund/api/custom-fund-choice.api';
9
- import promotedFundChoiceApi from '../super-selection-app/funds/promoted-fund/api/promoted-fund-choice.api';
10
- import { slate } from '../super-selection-app/funds/slate-super/api/slate';
11
- import slateChoiceApi from '../super-selection-app/funds/slate-super/api/slate-choice.api';
12
6
  import { EventTrackingService } from '../super-selection-app/services/event-tracking.service';
13
- import miscService from '../super-selection-app/services/misc.service';
14
7
  import navigationService from '../super-selection-app/services/navigation.service';
15
8
  import { SuperCampaignComponentStatus } from '../super-selection-app/services/super-selection.store';
16
9
  import { SuperSelectionAppRoutes } from '../super-selection-app/services/super-selection-app.routes';
17
10
  import superSelectionAppService from '../super-selection-app/services/super-selection-app.service';
18
- import { LoadWaitingTimeout, Usi } from './super-campaign-types';
11
+ import { fundTileClicked } from './fund-tile-clicked.handler';
12
+ import { PromotedFundJoinedEventHandler } from './promoted-fund-joined.handler';
13
+ import { LoadWaitingTimeout } from './super-campaign-types';
19
14
  export class SuperCampaignHost {
20
15
  constructor() {
21
16
  this.scriptImported = false;
@@ -45,7 +40,7 @@ export class SuperCampaignHost {
45
40
  }
46
41
  };
47
42
  this.superCampaignLoaded = async (event) => {
48
- if (event.detail.sender == 'super-campaign') {
43
+ if (event.detail.sender === 'super-campaign') {
49
44
  superSelectionAppService.superCampaignComponentStatus = SuperCampaignComponentStatus.Loaded;
50
45
  clearTimeout(this.loadingTimeoutRef);
51
46
  await EventTrackingService.Instance.TrackSuperCampaignActivationSucceededAsync({});
@@ -53,7 +48,7 @@ export class SuperCampaignHost {
53
48
  return Promise.resolve();
54
49
  };
55
50
  this.superCampaignLoadFailed = async (event) => {
56
- if (event.detail.sender == 'super-campaign') {
51
+ if (event.detail.sender === 'super-campaign') {
57
52
  await this.activateFallbackMechanism({
58
53
  type: 'SuperCampaignActivationFailed',
59
54
  reason: event.detail.reason || 'Unknown'
@@ -61,7 +56,7 @@ export class SuperCampaignHost {
61
56
  }
62
57
  };
63
58
  this.superCampaignFailed = async (event) => {
64
- if (event.detail.sender == 'super-campaign') {
59
+ if (event.detail.sender === 'super-campaign') {
65
60
  await this.activateFallbackMechanism({
66
61
  type: 'SuperCampaignOperationFailed',
67
62
  reason: event.detail.reason || 'Unknown'
@@ -69,56 +64,28 @@ export class SuperCampaignHost {
69
64
  }
70
65
  };
71
66
  this.chooseAnotherFundRequested = async (event) => {
72
- if (event.detail.sender == 'super-campaign') {
67
+ if (event.detail.sender === 'super-campaign') {
73
68
  await navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.MyOwnFund);
74
69
  }
75
70
  };
76
71
  this.fundPanelShown = async (event) => {
77
- if (event.detail.sender == 'super-campaign') {
72
+ if (event.detail.sender === 'super-campaign') {
78
73
  superSelectionAppService.setSuperCampaignPromotedFundsShown(event.detail.shownFunds);
79
- await superSelectionAppService.viewSuperFundPanelAsync();
74
+ await superSelectionAppService.viewSuperFundPanelAsync('panel');
80
75
  }
81
76
  };
82
77
  this.fundTileClicked = async (event) => {
83
- var _a, _b;
84
- const eventDetails = event.detail;
85
- if (eventDetails.sender == 'super-campaign') {
86
- const promotedFundsShown = this.SuperCampaignState.PromotedFundIds;
87
- const defaultFundUsiSet = O.toUndefined(superSelectionAppService.defaultFundUsi);
88
- await Promise.all([
89
- eventDetails.fundType == 'promoted-default'
90
- ? await EventTrackingService.Instance.TrackPromotedDefaultSuperFundDetailViewedAsync({
91
- fundUsi: (_a = eventDetails.fundUsi) !== null && _a !== void 0 ? _a : '',
92
- fundName: eventDetails.fundName,
93
- promotedFundId: eventDetails.fundId,
94
- promotedFundsShown,
95
- defaultFundUsiSet,
96
- superCampaignEnabled: true
97
- })
98
- : await EventTrackingService.Instance.TrackPromotedSuperFundDetailViewedAsync({
99
- fundUsi: (_b = eventDetails.fundUsi) !== null && _b !== void 0 ? _b : undefined,
100
- fundName: eventDetails.fundName,
101
- promotedFundId: eventDetails.fundId,
102
- promotedFundsShown,
103
- defaultFundUsiSet,
104
- superCampaignEnabled: true
105
- }),
106
- miscService.trackClickPromotedTileAsync(eventDetails.fundType == 'promoted-default'
107
- ? {
108
- promotedDefault: {
109
- fundId: eventDetails.fundId
110
- }
111
- }
112
- : {
113
- promoted: {
114
- fundId: eventDetails.fundId
115
- }
116
- })
117
- ]);
118
- }
78
+ await fundTileClicked({
79
+ sender: event.detail.sender,
80
+ placementId: 'panel',
81
+ fundId: event.detail.fundId,
82
+ fundUsi: event.detail.fundUsi,
83
+ fundName: event.detail.fundName,
84
+ fundType: event.detail.fundType
85
+ });
119
86
  };
120
87
  this.fundPdsViewed = async (event) => {
121
- if (event.detail.sender == 'super-campaign') {
88
+ if (event.detail.sender === 'super-campaign') {
122
89
  await EventTrackingService.Instance.TrackSuperFundPdsViewedAsync({
123
90
  fundName: event.detail.fundName,
124
91
  fundUsi: event.detail.fundUsi,
@@ -128,120 +95,17 @@ export class SuperCampaignHost {
128
95
  }
129
96
  };
130
97
  this.disclaimerViewed = async (event) => {
131
- if (event.detail.sender == 'super-campaign') {
98
+ if (event.detail.sender === 'super-campaign') {
132
99
  await EventTrackingService.Instance.TrackSuperFundDisclaimerViewedAsync(SuperFundDisclaimerViewedDetail.create(true));
133
100
  }
134
101
  };
135
102
  this.disclaimerAccepted = async (event) => {
136
- if (event.detail.sender == 'super-campaign') {
103
+ if (event.detail.sender === 'super-campaign') {
137
104
  await EventTrackingService.Instance.TrackSuperFundDisclaimerAcceptedAsync({
138
105
  superCampaignEnabled: true
139
106
  });
140
107
  }
141
108
  };
142
- this.promotedFundJoined = async (event) => {
143
- if (event.detail.sender == 'super-campaign') {
144
- const fundJoinInfo = event.detail.fundJoinInfo;
145
- switch (fundJoinInfo.fundType) {
146
- case 'Promoted':
147
- this.handlePromotedFundJoined(fundJoinInfo);
148
- break;
149
- case 'DefinedBenefits':
150
- await this.handleDefinedBenefitsJoined(fundJoinInfo);
151
- break;
152
- case 'PromotedDefault':
153
- this.handlePromotedDefaultFundJoined(fundJoinInfo);
154
- break;
155
- case 'PromotedDefaultWithJoin':
156
- this.handlePromotedDefaultFundWithJoinWasJoined(fundJoinInfo);
157
- break;
158
- }
159
- }
160
- return Promise.resolve();
161
- };
162
- this.stringIsNullOrEmtpty = (s) => {
163
- return !(typeof s === 'string' && s.trim().length > 0);
164
- };
165
- this.handlePromotedFundJoined = (data) => {
166
- if (this.stringIsNullOrEmtpty(data.memberNumber) || this.stringIsNullOrEmtpty(data.usi)) {
167
- appInsightsService.trackErrorTrace('Super Campaign did not return (Promoted) memberNumber and/or usi');
168
- return;
169
- }
170
- const usi = Usi.clean(data.usi);
171
- const defaultFundUsiSet = O.toUndefined(superSelectionAppService.defaultFundUsi);
172
- navigationService.navigateInternallyToStandardChoice({
173
- history: this.history,
174
- fundName: data.fundName,
175
- promotedFundId: data.fundId,
176
- fundDetails: {
177
- type: 'promoted',
178
- fundName: data.fundName,
179
- fundUsi: usi,
180
- memberNumber: data.memberNumber,
181
- promotedFundId: data.fundId
182
- },
183
- handleSubmitFn: async (standardChoiceFormSignature) => {
184
- if (data.fundId == slate.fundId) {
185
- await slateChoiceApi.submitSlateChoiceAsync(Object.assign({ memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, standardChoiceFormSignature,
186
- defaultFundUsiSet }, this.PromotedFundsConfig));
187
- }
188
- else {
189
- await promotedFundChoiceApi.submitChoiceAsync(Object.assign({ fundId: data.fundId, memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, usi,
190
- standardChoiceFormSignature,
191
- defaultFundUsiSet }, this.PromotedFundsConfig));
192
- }
193
- }
194
- });
195
- };
196
- this.handlePromotedDefaultFundJoined = (data) => {
197
- if (this.stringIsNullOrEmtpty(data.usi)) {
198
- appInsightsService.trackErrorTrace('Super Campaign did not return (PromotedDefault) usi');
199
- return;
200
- }
201
- const usi = Usi.clean(data.usi);
202
- navigationService.navigateInternallyToStandardChoice({
203
- history: this.history,
204
- fundName: data.fundName,
205
- promotedFundId: data.fundId,
206
- fundDetails: {
207
- type: 'promotedDefault',
208
- fundName: data.fundName,
209
- fundUsi: usi,
210
- promotedFundId: data.fundId
211
- },
212
- handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitDefaultChoiceAsync(Object.assign({ fundId: data.fundId, usi,
213
- standardChoiceFormSignature, defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi) }, this.PromotedFundsConfig))
214
- });
215
- };
216
- this.handlePromotedDefaultFundWithJoinWasJoined = (data) => {
217
- if (this.stringIsNullOrEmtpty(data.memberNumber) || this.stringIsNullOrEmtpty(data.usi)) {
218
- appInsightsService.trackErrorTrace('Super Campaign did not return (PromotedDefaultWithJoin) memberNumber and/or usi');
219
- return;
220
- }
221
- const usi = Usi.clean(data.usi);
222
- navigationService.navigateInternallyToStandardChoice({
223
- history: this.history,
224
- fundName: data.fundName,
225
- promotedFundId: data.fundId,
226
- fundDetails: {
227
- type: 'promotedDefaultWithJoin',
228
- fundName: data.fundName,
229
- fundUsi: usi,
230
- memberNumber: data.memberNumber,
231
- promotedFundId: data.fundId
232
- },
233
- handleSubmitFn: (standardChoiceFormSignature) => promotedFundChoiceApi.submitDefaultChoiceWithJoinAsync(Object.assign({ fundId: data.fundId, memberNumber: data.memberNumber, memberFirstName: data.memberFirstName, memberFamilyName: data.memberFamilyName, usi,
234
- standardChoiceFormSignature, defaultFundUsiSet: O.toUndefined(superSelectionAppService.defaultFundUsi) }, this.PromotedFundsConfig))
235
- });
236
- };
237
- this.handleDefinedBenefitsJoined = async (data) => {
238
- if (this.stringIsNullOrEmtpty(data.memberNumber) || this.stringIsNullOrEmtpty(data.usi)) {
239
- appInsightsService.trackErrorTrace('Super Campaign did not return (DefinedBenefits) memberNumber and/or usi');
240
- return;
241
- }
242
- await customFundChoiceApi.submitDefinedBenefitsChoiceAsync(Object.assign({ fundUsi: Usi.clean(data.usi), fundId: data.fundId, memberNumber: data.memberNumber, memberElectContributionRatePreTax: data.memberElectContributionRatePreTax, memberElectContributionRatePostTax: data.memberElectContributionRatePostTax }, this.PromotedFundsConfig));
243
- superSelectionAppService.markSuperSelectionAsSubmitted();
244
- };
245
109
  this.superCampaignEventHandlers = {
246
110
  'choose-another-fund-requested': this.chooseAnotherFundRequested.bind(this),
247
111
  'fund-panel-shown': this.fundPanelShown.bind(this),
@@ -249,7 +113,7 @@ export class SuperCampaignHost {
249
113
  'fund-pds-viewed': this.fundPdsViewed.bind(this),
250
114
  'disclaimer-viewed': this.disclaimerViewed.bind(this),
251
115
  'disclaimer-accepted': this.disclaimerAccepted.bind(this),
252
- 'promoted-fund-joined': this.promotedFundJoined.bind(this),
116
+ 'promoted-fund-joined': new PromotedFundJoinedEventHandler('panel', this.history).handle,
253
117
  'super-campaign-loaded': this.superCampaignLoaded.bind(this),
254
118
  'super-campaign-load-failed': this.superCampaignLoadFailed.bind(this),
255
119
  'super-campaign-failed': this.superCampaignFailed.bind(this)
@@ -317,14 +181,6 @@ export class SuperCampaignHost {
317
181
  createApolloSuperCampaignScriptUrl(envTag) {
318
182
  return `https://npm-cdn.flarehr.com/@flarehr/apollo-super-campaign@${envTag}/dist/apollo-super-campaign.js`;
319
183
  }
320
- get SuperCampaignState() {
321
- if (superSelectionAppService.superCampaignState != undefined)
322
- return superSelectionAppService.superCampaignState;
323
- throw new Error('Super campaign state has not been initialized');
324
- }
325
- get PromotedFundsConfig() {
326
- return superSelectionAppService.promotedFundsConfig;
327
- }
328
184
  static get is() { return "sss-super-campaign-host"; }
329
185
  static get properties() { return {
330
186
  "history": {
@@ -1,10 +1,57 @@
1
1
  import { Component, h, Host, Prop, State } from '@stencil/core';
2
2
  import { injectHistory } from '@stencil/router';
3
3
  import * as O from 'fp-ts/lib/Option';
4
+ import { fundTileClicked } from '../../../../super-campaign/fund-tile-clicked.handler';
5
+ import { PromotedFundJoinedEventHandler } from '../../../../super-campaign/promoted-fund-joined.handler';
4
6
  import navigationService from '../../../services/navigation.service';
5
7
  import { SuperSelectionAppRoutes } from '../../../services/super-selection-app.routes';
6
8
  import superSelectionAppService from '../../../services/super-selection-app.service';
7
9
  export class FeaturedFunds {
10
+ constructor() {
11
+ this.currentView = 'featured-funds';
12
+ this.subscribeToEvents = () => {
13
+ for (const eventName in this.eventHandlers) {
14
+ document.addEventListener(eventName, this.eventHandlers[eventName]);
15
+ }
16
+ };
17
+ this.unsubscribeFromEvents = () => {
18
+ for (const eventName in this.eventHandlers) {
19
+ document.removeEventListener(eventName, this.eventHandlers[eventName]);
20
+ }
21
+ };
22
+ this.backClicked = () => {
23
+ navigationService.navigateInternally(this.history, SuperSelectionAppRoutes.ChoicePage);
24
+ return Promise.resolve();
25
+ };
26
+ this.cancelClicked = () => {
27
+ this.currentView = 'featured-funds';
28
+ return Promise.resolve();
29
+ };
30
+ this.continueClicked = async (event) => {
31
+ this.currentView = 'fund-join';
32
+ await fundTileClicked({
33
+ sender: event.detail.sender,
34
+ placementId: 'byof',
35
+ fundId: event.detail.fundId,
36
+ fundUsi: event.detail.fundUsi,
37
+ fundName: event.detail.fundName,
38
+ fundType: event.detail.fundType
39
+ });
40
+ };
41
+ this.fundPanelShown = async (event) => {
42
+ if (event.detail.sender === 'featured-funds') {
43
+ const fundIdList = event.detail.shownFunds.map((f) => f.fundId);
44
+ await superSelectionAppService.viewSuperFundPanelAsync('byof', fundIdList);
45
+ }
46
+ };
47
+ this.eventHandlers = {
48
+ 'back-clicked': this.backClicked.bind(this),
49
+ 'continue-clicked': this.continueClicked.bind(this),
50
+ 'cancel-clicked': this.cancelClicked.bind(this),
51
+ 'featured-fund-panel-shown': this.fundPanelShown.bind(this),
52
+ 'promoted-fund-joined': new PromotedFundJoinedEventHandler('byof', this.history).handle
53
+ };
54
+ }
8
55
  componentWillLoad() {
9
56
  if (superSelectionAppService.isFeaturedFundsEnabled &&
10
57
  superSelectionAppService.isUsingSuperCampaign &&
@@ -12,6 +59,8 @@ export class FeaturedFunds {
12
59
  O.isSome(superSelectionAppService.state.jwt)) {
13
60
  this.backendUrl = superSelectionAppService.backendUrl.value;
14
61
  this.accessToken = superSelectionAppService.state.jwt.value;
62
+ this.unsubscribeFromEvents();
63
+ this.subscribeToEvents();
15
64
  superSelectionAppService.hideFooterSection = true;
16
65
  }
17
66
  else {
@@ -19,14 +68,18 @@ export class FeaturedFunds {
19
68
  }
20
69
  }
21
70
  disconnectedCallback() {
71
+ this.unsubscribeFromEvents();
22
72
  superSelectionAppService.hideFooterSection = false;
23
73
  }
24
74
  render() {
25
75
  return (h(Host, null,
26
- h("sss-header-section", null),
27
- h("div", { class: "flex justify-center mt-11" },
28
- h("sss-custom-fund", null,
29
- h("apollo-super-campaign-featured-funds", { "backend-url": this.backendUrl, "access-token": this.accessToken })))));
76
+ this.currentView === 'featured-funds' && h("sss-header-section", null),
77
+ h("div", { class: {
78
+ 'flex flex-col w-full justify-center items-center mt-11 mx-auto': this.currentView === 'featured-funds',
79
+ '-mt-20': this.currentView === 'fund-join'
80
+ } },
81
+ this.currentView === 'featured-funds' && h("sss-custom-fund", null),
82
+ h("apollo-super-campaign-featured-funds", { "backend-url": this.backendUrl, "access-token": this.accessToken }))));
30
83
  }
31
84
  static get is() { return "sss-super-campaign-featured-funds"; }
32
85
  static get properties() { return {
@@ -53,7 +106,8 @@ export class FeaturedFunds {
53
106
  }; }
54
107
  static get states() { return {
55
108
  "backendUrl": {},
56
- "accessToken": {}
109
+ "accessToken": {},
110
+ "currentView": {}
57
111
  }; }
58
112
  }
59
113
  injectHistory(FeaturedFunds);