PageSourceSearch

https://www.ainos-sochi.ru/_nuxt/CyBGfBTS.js

js ainos-sochi.ru collected 2026-10-04 09:34:38 UTC 2,655 bytes, 1 lines download raw bytes

1import{_ as O}from"./UhEB58Ac.js";import{d as B,I as R,J as y,$ as N,z as e,A as t,H as o,O as l,E as h,B as r,T as n,D as f,M as k,N as C,C as P,i as b,ah as T}from"./DyE3kO3y.js";import{B as S}from"./D5qyJzkb.js";import{_ as v}from"./9FVtdHbW.js";const z={class:"promos-card flex-block flex-start"},F=["src"],H={key:1,class:"main-regular-text break-words whitespace-pre-line"},J={key:1,class:"promos-container"},L={class:"promos-block"},M={class:"promos-card flex-block flex-start"},j=["src"],q={class:"promos-desc"},G={class:"h1-text-thin"},K={key:0,class:"main-regular-text break-words whitespace-pre-line"},Q={class:"promos-block"},U={class:"promos-card flex-block flex-start"},W=["src"],X={class:"promos-desc"},Y={class:"h1-text-thin"},Z={key:0,class:"main-regular-text break-words whitespace-pre-line"},ss=B({__name:"Promos",setup($){const p=R(),{loyalties:x}=y(p),d=N(),{openedPromos:i,promosPopupIsOpen:I}=y(d),{closePromosPopup:V,openPromosPopup:A}=d,w=b(null),u=b(null),c=x.value?.promos;if(c){const a=[],_=[];for(const s in c)Number.parseInt(s)%2===0?a.push(c[s]):_.push(c[s]);w.value=_,u.value=a}function g(a){history.pushState(null,"",`#${a.id}`),A(a)}function D(){history.pushState("",document.title,window.location.pathname),V()}return(a,_)=>(e(),t(k,null,[o(I)?(e(),l(O,{key:0,close:D,class:"promos-popup",title:o(i).title},{default:h(()=>[r("div",z,[o(i).icon?(e(),t("img",{key:0,class:"promos-preview",alt:"promos-preview",src:o(i).icon},null,8,F)):n("",!0),o(i).description?(e(),t("p",H,[f(v,{html:o(i).parsed_description,profile:"links",tag:"span"},null,8,["html"])])):n("",!0)])]),_:1},8,["title"])):n("",!0),o(u)?(e(),t("section",J,[r("div",L,[(e(!0),t(k,null,C(o(u),(s,m)=>(e(),l(S,{key:"promo-"+m,onClick:E=>g(s),id:"promos-"+s.id},{default:h(()=>[r("div",M,[s.icon?(e(),t("img",{key:0,class:"promos-preview",alt:"promos-preview",src:s.icon},null,8,j)):n("",!0),r("div",q,[r("div",G,P(s.title),1),s.description?(e(),t("p",K,[f(v,{html:s.parsed_description,profile:"links",tag:"span"},null,8,["html"])])):n("",!0)])])]),_:2},1032,["onClick","id"]))),128))]),r("div",Q,[(e(!0),t(k,null,C(o(w),(s,m)=>(e(),l(S,{key:"promo-"+m,onClick:E=>g(s),id:"promos-"+s.id},{default:h(()=>[r("div",U,[s.icon?(e(),t("img",{key:0,class:"promos-preview",alt:"promos-preview",src:s.icon},null,8,W)):n("",!0),r("div",X,[r("div",Y,P(s.title),1),s.description?(e(),t("p",Z,[f(v,{html:s.parsed_description,profile:"links",tag:"span"},null,8,["html"])])):n("",!0)])])]),_:2},1032,["onClick","id"]))),128))])])):n("",!0)],64))}}),ns=B({__name:"promos",setup($){const p=T();return N().setCurrentPageName(p.name),(d,i)=>(e(),l(ss))}});export{ns 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.