PageSourceSearch

https://www.nss-sports.com/_nuxt/BoihLYX6.js

js nss-sports.com collected 2026-10-02 10:55:21 UTC 4,244 bytes, 1 lines download raw bytes

1import{d as c,w as $,D as F,F as R,R as l,U as g,a1 as d,Y as H,u as t,X as k,E as a,a0 as o,M as f,a2 as v,a3 as E,L as z,a7 as B,Z as _,an as G}from"./BQ9QYOY_.js";import{D as S}from"./CM_jYEz6.js";const J=["id","level"],O={class:"modal-content"},V={key:0,class:"modal-header"},q={class:"modal-title"},A=["innerHTML"],D=["aria-label"],P={class:"modal-body overlay-msg"},U={key:0,class:"alert alert-info"},X=["innerHTML"],Y={key:1,class:"alert alert-danger"},Z=["innerHTML"],j={key:2,class:"alert alert-warning"},K=["innerHTML"],Q={key:3,class:"alert alert-success"},W=["innerHTML"],x=["innerHTML"],ee={key:0,class:"modal-footer"},te=["title"],se=["title"],ne=["title"],le=["title","onClick"],ie={__name:"Overlay.client",props:{id:{type:String,required:!0},type:{type:String,default:"message"},showHeader:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!0},title:{type:String,default:null},message:{type:String,default:null},yes:{type:Function,default:null},no:{type:Function,default:null},yesmsg:{type:String,default:null},nomsg:{type:String,default:null},choices:{type:Array,default:[]},size:{type:String,default:null},customClass:{type:String,default:null},isClosable:{type:Boolean,default:null},multiple:{type:Boolean,default:!1},showCallback:{type:Function,default:null},hideCallback:{type:Function,default:null}},setup(s){const n=s,y=c(n.title),m=c(n.message),C=c(n.yes),h=c(n.no),L=c(n.yesmsg),p=c(n.nomsg),M=c(n.choices),b=c(n.isClosable),w=c(1051),N=c(1),T=n.size?"modal-"+n.size:null,I=()=>{S().hide(n.id)};return $(()=>{const e=S().get(n.id);e&&(y.value=e.title,m.value=e.message,C.value=e.yes,h.value=e.no,h.value||(h.value=I),L.value=e.yesmsg,p.value=e.nomsg,M.value=e.choices,b.value=e.isClosable,w.value=e.zIndex,N.value=e.level)}),F(async()=>{let e={};for(let i in n)i=="isClosable"&&n[i]==null?e[i]=n.type!="confirm":e[i]=n[i];S().init(n.id,e)}),(e,i)=>{const r=R("font-awesome-icon");return l(),g(G,{to:"body"},[d("div",{id:s.id,class:H(["modal overlayPanel fade",s.customClass]),level:t(N),style:_({zIndex:t(w)})},[d("div",{class:H(["modal-dialog",t(T)])},[d("div",O,[s.showHeader?k(e.$slots,"modal-header",{key:0},()=>[s.type=="modal"||s.type=="confirm"||s.type=="choice"||t(m)?(l(),a("div",V,[d("h5",q,[s.type=="alert"||s.type=="warning"?(l(),g(r,{key:0,icon:"warning",class:"me-2"})):s.type=="success"?(l(),g(r,{key:1,icon:"check-square",class:"me-2"})):o("",!0),d("span",{innerHTML:t(y)},null,8,A)]),t(b)?(l(),a("button",{key:0,"aria-label":e.$t("JS_GENERIC_CLOSE"),class:"btn-close","data-bs-dismiss":"modal"},null,8,D)):o("",!0)])):o("",!0)]):o("",!0),k(e.$slots,"modal-body",{},()=>[d("div",P,[s.type=="message"?(l(),a("div",U,[f(r,{icon:"spinner",spin:!0,class:"me-2"}),d("span",{innerHTML:t(m)??t(y)},null,8,X)])):s.type=="alert"?(l(),a("div",Y,[f(r,{icon:"warning",class:"me-2"}),d("span",{innerHTML:t(m)??t(y)},null,8,Z)])):s.type=="warning"?(l(),a("div",j,[f(r,{icon:"warning",class:"me-2"}),d("span",{innerHTML:t(m)??t(y)},null,8,K)])):s.type=="success"?(l(),a("div",Q,[f(r,{icon:"check-square",class:"me-2"}),d("span",{innerHTML:t(m)??t(y)},null,8,W)])):(l(),a("div",{key:4,innerHTML:t(m)??t(y)},null,8,x))])]),s.showFooter?k(e.$slots,"modal-footer",{key:1},()=>[s.type!=="message"&&(s.type=="confirm"||s.type=="choice"||t(b))?(l(),a("div",ee,[s.type!=="confirm"&&s.type!=="choice"?(l(),a("button",{key:0,title:e.$t("JS_GENERIC_CLOSE"),class:"btn btn-secondary","data-bs-dismiss":"modal"},v(e.$t("JS_GENERIC_CLOSE")),9,te)):o("",!0),s.type=="confirm"?(l(),a("button",{key:1,title:e.$t("JS_GENERIC_CONFIRM"),class:"btn btn-success me-auto",onClick:i[0]||(i[0]=(...u)=>t(C)&&t(C)(...u))},[f(r,{icon:"check"}),E(" "+v(t(L)??e.$t("JS_GENERIC_CONFIRM")),1)],8,se)):o("",!0),s.type=="confirm"?(l(),a("button",{key:2,title:e.$t("JS_GENERIC_CANCEL"),class:"btn btn-danger",onClick:i[1]||(i[1]=(...u)=>t(h)&&t(h)(...u))},[f(r,{icon:"ban"}
1),E(" "+v(t(p)??e.$t("JS_GENERIC_CANCEL")),1)],8,ne)):o("",!0),s.type=="choice"?(l(!0),a(z,{key:3},B(t(M),u=>(l(),a("button",{title:u.title,class:"btn btn-secondary",onClick:u.action},[u.icon?(l(),g(r,{key:0,icon:`${u.icon}`,class:"me-2"},null,8,["icon"])):o("",!0),E(v(u.title),1)],8,le))),256)):o("",!0)])):o("",!0)]):o("",!0)])],2)],14,J)])}}};export{ie 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.