"use strict";(self.webpackChunk_department_of_veterans_affairs_component_library=self.webpackChunk_department_of_veterans_affairs_component_library||[]).push([[9409],{9409:function(o,i,r){r.r(i),r.d(i,{va_critical_action:function(){return n}});var a=r(9213),n=function(){function o(o){(0,a.r)(this,o),this.link=void 0,this.text=void 0}return o.prototype.render=function(){var o=this.link,i=this.text;return o&&i?(0,a.h)(a.H,null,(0,a.h)("div",{class:"critical-info"},(0,a.h)("a",{href:o,class:"action-link","aria-label":"Action required: ".concat(i)},(0,a.h)("div",{class:"text-and-chevron"},(0,a.h)("span",{class:"link-text"},i),(0,a.h)("va-icon",{class:"link-icon hydrated",icon:"chevron_right",size:3}))))):null},o}();n.style=":host{display:block}.critical-info{display:-ms-flexbox;display:flex;border-radius:5px;padding:0.75rem 1rem;margin-top:1rem;background-color:var(--vads-color-feedback-border-warning-on-dark);position:relative;min-height:2.063rem}@media (min-width: 768px){.critical-info{left:0;width:auto}}.critical-info:hover .action-link{color:var(--vads-color-link-active)}.critical-info:hover .link-icon{background-color:var(--vads-color-link-active)}.action-link{color:var(--vads-color-base);font-weight:700;font-size:var(--vads-font-size-source-sans-normalized);line-height:1.528rem;width:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;padding:4px}.action-link:focus{outline:none;background-color:var(--vads-color-warning-lighter);color:var(--vads-color-base);-webkit-box-shadow:0px 4px 0px var(--vads-color-base);box-shadow:0px 4px 0px var(--vads-color-base)}.action-link:focus .link-icon{color:var(--vads-color-warning-lighter);background-color:var(--vads-color-base);margin-top:0}.action-link:active{outline:none;background-color:var(--vads-color-warning-lighter);color:var(--vads-color-base);-webkit-box-shadow:0px 4px 0px var(--vads-color-base);box-shadow:0px 4px 0px var(--vads-color-base)}.action-link:active .link-icon{color:var(--vads-color-warning-lighter)}.action-link:visited{color:var(--vads-color-link-visited)}.action-link:visited .link-icon{background-color:var(--vads-color-link-visited);color:var(--vads-color-feedback-border-warning-on-dark)}.action-link:visited:focus .link-icon{color:var(--vads-color-warning-lighter)}.action-link:visited:active .link-icon{color:var(--vads-color-warning-lighter)}.action-link:hover{color:var(--vads-color-link-active)}.action-link:hover .link-icon{background-color:var(--vads-color-link-active);color:var(--vads-color-feedback-border-warning-on-dark)}.action-link:hover:active .link-icon{color:var(--vads-color-warning-lighter)}.action-link:hover:focus .link-icon{color:var(--vads-color-warning-lighter)}.text-and-chevron{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%}@media (min-width: 0px){.text-and-chevron{-ms-flex-align:start;align-items:flex-start}}.text-and-chevron:focus{outline:none}.link-text{max-width:calc(100% - 32px)}.link-icon{margin-left:auto;border-radius:50%;color:var(--vads-color-feedback-border-warning-on-dark);background-color:var(--vads-color-base);-ms-flex-negative:0;flex-shrink:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}"}}]);