PageSourceSearch

https://cdn.wisgate.ai/wisgate/_nuxt/BOMEKcHh.js

js wisgate.ai collected 2026-10-04 13:25:00 UTC 3,051 bytes, 1 lines download raw bytes

1import{d as b,bP as g,a as r,r as _,v as k,c as w,o as s,K as p,k as y,j as a,s as l,l as t,p as c,q as C,bH as B,bN as j}from"./DZ7mik94.js";const M={class:"promo-home-card p-3 pl-5 pr-3 rounded-lg shadow-2xl flex flex-col md:flex-row items-center justify-between gap-4 md:gap-6 relative max-w-3xl mx-auto ring-1 ring-white/5"},S={class:"flex-1 text-center md:text-left w-full md:w-auto pt-2 md:pt-0"},H={class:"flex flex-col gap-0.5 justify-center md:justify-start"},N={class:"font-medium text-sm promo-home-text tracking-wide"},P={key:0,class:"promo-home-subtext text-xs md:text-xs"},V={class:"flex items-center gap-3 w-full md:w-auto justify-center md:justify-end pb-1 md:pb-0"},z=b({__name:"HomepageBottomBanner",setup(I){const d=g(),e=r(()=>d.config.homepage.bottomBanner),i=_(!1),m=r(()=>`promo_dismiss_homepage_${e.value?.id||"v1"}`);k(()=>{try{if(e.value?.closeable){const o=localStorage.getItem(m.value);i.value=o==="1"}}catch{}});const f=r(()=>!!e.value?.enabled&&!i.value),v=r(()=>{const o=d.config.skin;return o?`skin-${o}`:""}),x=()=>{const o=e.value?.button?.link;o&&(window.location.href=o)},u=()=>{i.value=!0;try{e.value?.closeable&&localStorage.setItem(m.value,"1")}catch{}};return(o,n)=>{const h=j;return s(),w(h,null,{default:p(()=>[y(B,{"enter-active-class":"transform ease-out duration-500 transition-all","enter-from-class":"translate-y-full opacity-0","enter-to-class":"translate-y-0 opacity-100","leave-active-class":"transform ease-in duration-300 transition-all","leave-from-class":"translate-y-0 opacity-100","leave-to-class":"translate-y-full opacity-0"},{default:p(()=>[f.value?(s(),a("div",{key:0,class:C([v.value,"fixed bottom-6 left-4 right-4 md:left-1/2 md:right-auto md:-translate-x-1/2 md:w-full md:max-w-4xl z-50"])},[t("div",M,[e.value?.closeable?(s(),a("button",{key:0,onClick:u,class:"md:hidden absolute top-3 right-3 p-1.5 promo-home-close-mobile rounded-full transition-colors","aria-label":"Close banner"},[...n[0]||(n[0]=[t("svg",{class:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)])])):l("",!0),t("div",S,[t("div",H,[t("span",N,c(e.value?.text),1),e.value?.subtext?(s(),a("span",P,c(e.value?.subtext),1)):l("",!0)])]),t("div",V,[e.value?.button?(s(),a("button",{key:0,onClick:x,class:"promo-home-btn px-3 py-2 font-semibold text-xs md:text-sm rounded-lg transition-all active:scale-95 shadow-sm whitespace-nowrap hover:shadow-md"},c(e.value?.button?.label),1)):l("",!0),e.value?.closeable?(s(),a("button",{key:1,onClick:u,class:"hidden md:flex p-2 promo-home-close rounded-lg transition-colors","aria-label":"Close banner"},[...n[1]||(n[1]=[t("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)])])):l("",!0)])])],2)):l("",!0)]),_:1})]),_:1})}}}),L=Object.assign(z,{__name:"PromotionsHomepageBottomBanner"});export{L as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.