"use strict";(self.webpackChunkhws_app_captain_password=self.webpackChunkhws_app_captain_password||[]).push([[9],{3009:(s,e,i)=>{i.r(e),i.d(e,{default:()=>r});var a=i(4848),t=i(3551),n=i(4196),l=i(4675),o=i(2943),c=i(8361);const r=function(){const s=new URLSearchParams(location.search).get("domain"),e=(0,l.A)(),i=((0,o.useNavigate)(),s=>{var e,i,a;return null!==(a=null===(i=null===(e=null===window||void 0===window?void 0:window.HWS)||void 0===e?void 0:e.I18n)||void 0===i?void 0:i.t(s))&&void 0!==a?a:s}),r=s?`https://www.google.com/s2/favicons?sz=64&domain=${s}`:"";return(0,a.jsx)("div",Object.assign({className:"flex flex-col sm:flex-row flex-1 w-full items-center justify-between space-y-8 sm:space-y-0 py-24 sm:py-32 px-24 md:px-32"},{children:(0,a.jsxs)("div",Object.assign({className:"flex flex-col items-start space-y-8 sm:space-y-0 w-full sm:max-w-full min-w-0"},{children:[(0,a.jsxs)(n.motion.div,Object.assign({initial:{x:20,opacity:0},animate:{x:0,opacity:1,transition:{delay:.3}}},{children:[(0,a.jsx)(c.Gy,{}),(0,a.jsxs)(t.A,Object.assign({className:"flex items-center sm:mb-12",component:o.Link,role:"button",to:"/app/captain-password/passwords",color:"inherit"},{children:[(0,a.jsx)(c.ri,Object.assign({size:20},{children:"ltr"===e.direction?"heroicons-outline:arrow-sm-left":"heroicons-outline:arrow-sm-right"})),(0,a.jsx)("span",Object.assign({className:"flex mx-4 font-medium"},{children:i("HWS_APP_CAPTAIN_PASSWORD_PASSWORDS")}))]}))]})),(0,a.jsxs)("div",Object.assign({className:"flex flex-row"},{children:[s&&(0,a.jsx)("img",{src:r,alt:s,style:{width:32,height:32,borderRadius:6,marginRight:8}}),(0,a.jsx)(n.motion.div,Object.assign({className:"flex flex-col min-w-0",initial:{x:-20,opacity:0},animate:{x:0,opacity:1,transition:{delay:.3}}},{children:(0,a.jsxs)(t.A,Object.assign({className:"text-16 sm:text-20 truncate font-semibold"},{children:[i("HWS_APP_CAPTAIN_PASSWORD_PASSWORDS")," ",s&&`- ${s}`]}))}))]}))]}))}))}}}]);