"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1235],{11235:function(e,n,r){r.r(n),r.d(n,{default:function(){return m}});var t=r(82394),i=r(82684),o=r(55485),l=r(48670),c=r(38276),s=r(30160),a=r(25976),d=r(44897),p=r(42631),u=r(70515),f=a.default.div.withConfig({displayName:"indexstyle__BannerContainerStyle",componentId:"sc-j0j6ix-0"})(["position:absolute;z-index:5;left:0;right:0;margin:auto;width:fit-content;"," bottom:","px;"],(function(e){return e.hide&&"\n    display: none;\n  "}),u.rV),h=a.default.div.withConfig({displayName:"indexstyle__BannerStyle",componentId:"sc-j0j6ix-1"})(["padding:","px ","px;border-radius:","px;background-color:",";"],u.rV,3.75*u.iI,p.g5,d.Z.monotone.black),j=r(72473),b=r(72191),x=r(53808),g=r(28598);function y(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function O(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?y(Object(r),!0).forEach((function(n){(0,t.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))}))}return e}var m=function(e){var n=e.children,r=e.linkProps,t=e.localStorageHideKey,a=e.textProps,d=!!t&&(0,x.U2)(t,!1),p=(0,i.useState)(d),u=p[0],y=p[1],m=(0,i.useCallback)((function(){y(!0),(0,x.t8)(t,!0)}),[t]),w=a||{},P=w.message,k=w.warning,v=r||{},Z=v.href,C=v.label;return(0,g.jsx)(f,{hide:u,children:(0,g.jsxs)(o.ZP,O(O({},o.A0),{},{children:[(0,g.jsx)(h,{children:n||(0,g.jsxs)(o.ZP,O(O({},o.A0),{},{children:[(0,g.jsx)(s.ZP,{large:!0,warning:k,children:P}),Z&&(0,g.jsx)(c.Z,{ml:3,children:(0,g.jsxs)(o.ZP,O(O({},o.A0),{},{children:[(0,g.jsx)(l.Z,{bold:!0,href:Z,large:!0,openNewWindow:!0,sameColorAsText:!0,children:C}),(0,g.jsx)(c.Z,{ml:"4px"}),(0,g.jsx)(j.ChevronRight,{size:b._k})]}))})]}))}),t&&(0,g.jsx)(c.Z,{ml:2,children:(0,g.jsx)(l.Z,{bold:!0,large:!0,onClick:m,preventDefault:!0,children:"Hide"})})]}))})}}}]);