PageSourceSearch

https://doctor.kz/_nuxt/Duah1WRR.js

js doctor.kz collected 2026-10-05 10:29:32 UTC 6,891 bytes, 1 lines download raw bytes

1import{n as e}from"./Byr4mF-i.js";import{o as t}from"./0tcPgztD.js";import{D as n,E as r,Kt as i,On as a,Zn as o,_ as s,b as c,bt as l,ct as u,er as d,g as f,it as p,mt as m,o as h,qt as g,tr as _,v,vn as y,y as b}from"./CJOrt7RF.js";import{t as x}from"./CEf6ally.js";import{t as S}from"./DP4oonF6.js";import{t as C}from"./C-cmyk7Z.js";import{t as w}from"./C485Jffx.js";import{t as ee}from"./BfafpFqt.js";import{t as T}from"./DI90DzHJ.js";import{t as E}from"./BDNMzG2s.js";import{t as D}from"./DuuLME1F.js";import{t as O}from"./_MgKapFw2.js";import{t as k}from"./Dkkraemm2.js";import{t as A}from"./4fquUxe12.js";import{n as j,t as M}from"./W55gdXIs2.js";var N=1500,P=E({__name:`PolygonCover`,setup(e){let t=0,n=null,r=y({clipPath:`polygon(${l(16)})`}),i=y(!1);u(()=>{f(),setTimeout(()=>{i.value=!0},10)}),p(()=>{cancelAnimationFrame(n)});function l(e=16){return Array.from({length:e},()=>`${(Math.random()*120-10).toFixed(2)}% ${(Math.random()*120-10).toFixed(2)}%`).join(`, `)}function f(e=performance.now()){e-t>N&&(t=e,r.value.clipPath=`polygon(${l(16)})`),n=requestAnimationFrame(f)}return(e,t)=>(m(),c(`div`,{class:o([`polygon-cover`,{shown:a(i)}])},[s(`div`,{class:`polygon-cover__bg`,style:d(a(r))},null,4)],2))}},[[`__scopeId`,`data-v-74e17dc6`]]),F={class:`hero`},I={class:`hero__wrap`},L={class:`hero__container container`},R={class:`hero__title`},z={class:`hero__description`},B={class:`hero__group`},V=E({__name:`HeroBlock`,setup(e){return(e,t)=>(m(),c(`div`,F,[s(`div`,I,[s(`div`,L,[s(`h1`,R,_(e.$t(`hero:title`)),1),s(`p`,z,_(e.$t(`hero:description`)),1),s(`div`,B,[n(a(T),{to:e.$localePath(`/clinics`),"as-button":``,variant:`primary`},{default:g(()=>[r(_(e.$t(`hero:find-clinic`)),1)]),_:1},8,[`to`]),n(a(T),{to:e.$localePath(`/doctors`),"as-button":``,variant:`secondary`},{default:g(()=>[r(_(e.$t(`hero:find-doctor`)),1)]),_:1},8,[`to`])])])])]))}},[[`__scopeId`,`data-v-5cd5ccd0`]]),H={class:`card-service__content`},U={class:`card-service__title`},W={class:`card-service__desc`},G={class:`card-service__footer`},K=E({__name:`CardService`,props:{link:{type:Object,required:!0}},setup(e){return(t,n)=>{let i=x;return m(),v(i,{to:e.link.url,class:o([`card-service`,e.link.key])},{default:g(()=>[s(`div`,H,[s(`div`,U,_(e.link.title),1),s(`div`,W,_(e.link.desc),1),s(`div`,G,[r(_(t.$t(`common:choose`))+` `,1),n[0]||=s(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`14`,height:`14`,viewBox:`0 -960 960 960`},[s(`path`,{d:`M647-440H160v-80h487L423-744l57-56 320 320-320 320-57-56z`})],-1)])])]),_:1},8,[`to`,`class`])}}},[[`__scopeId`,`data-v-f43b53b7`]]),q={},J={class:`begin`},Y={class:`begin__container container`},X={class:`begin__list`},te={class:`begin__title`},Z={class:`begin_desc`};function Q(e,t){return m(),c(`div`,J,[s(`div`,Y,[s(`div`,X,[s(`h2`,te,_(e.$t(`section:begin-title`)),1),s(`p`,Z,_(e.$t(`section:begin-desc`)),1),s(`ol`,null,[s(`li`,null,[s(`strong`,null,_(e.$t(`section:begin:item1-title`)),1),r(` `+_(e.$t(`section:begin:item1-desc`)),1)]),s(`li`,null,[s(`strong`,null,_(e.$t(`section:begin:item2-title`)),1),r(` `+_(e.$t(`section:begin:item2-desc`)),1)]),t[0]||=s(`li`,null,[s(`hr`)],-1),s(`li`,null,[s(`strong`,null,_(e.$t(`section:begin:item3-title`)),1),r(` `+_(e.$t(`section:begin:item3-desc`)),1)]),s(`li`,null,[s(`strong`,null,_(e.$t(`section:begin:item4-title`)),1),r(` `+_(e.$t(`section:begin:item4-desc`)),1)])])])])])}var ne=E(q,[[`render`,Q],[`__scopeId`,`data-v-2496cf76`]]),re={class:`home`},ie={class:`home__hero`},ae={class:`home__start`},oe={class:`cards container`},$={class:`cards__links`},se={key:0,class:`section section--news`},ce={class:`container`},le={class:`section__head text-center`},ue={class:`mb-3`},de={class:`container`},fe={class:`section__head section__head--row`},pe={class:`mb-0`},me={class:`section__description`},he={class:`section__row`},ge={class:`section`},_e=E({__name:`index`,async setup(u){let d,p,{t:y}=e(),{$http:x}=t(),{isMobile:E}=O(),{t:N}=e(),F=w(),I=D(),L=[{url:F(`/clinics`),title:N(`companies:tabs:clinics`),desc:N(`companies:clinics-desc`),key:`clinics`},{url:F(`/doctors`),title:N(`companies:tabs:doctors`),desc:N(`companies:doctors-desc`),key:`doctors`},{url:F(`/other`),title:`Лаборатории и аптеки`,desc:N(`companies:pharmacy-desc`),key:`ph
1armacy`}],R=[222,21332,21357,21588,21396,21481,21430,21469,21574,21543,21528,21496,21431,21563,21579,21358,21509],z=f(()=>R.includes(Number(I.cityCode))?Number(I.cityCode):R[0]),{data:B,status:H}=([d,p]=i(async()=>S(()=>`home-${z.value}`,async()=>{let[e,t,n]=await Promise.all([G(),z.value===222?Promise.resolve([]):G(R[0]),q()]);return{news:e,newsFallback:t,reviews:n}},{getCachedData(e,t){let n=t.payload.data[e]||t.static.data[e];if(n)return n}})),d=await d,p(),d),U=f(()=>B.value?.reviews?.comments||[]),W=f(()=>{let e=B.value?.news||[],t=B.value?.newsFallback||[];if(!e.length<3&&t.length){let n=t.slice(0,t.length-e.length);e.push(...n)}return e.map(e=>{let t={...e};return t.link=F(`/news/${t.INFORMATION_ALIAS}`),t.date=t.CREATED_DATE,t.title=t.INFORMATION_NAME,t.image=t.LINK,t.pageViews=t.PAGEVIEWS,t.description=t.COMPANY_NAME,t.badge=t.CATEGORY_CODE===1?N(`news:category-info`):N(`news:category-promotions`),t})||[]});ee({title:y(`main:meta-title`),description:y(`main:meta-description`)});function G(e){return k(x).getNews({categories:[1,2],skip:0,limit:3,location:e??z.value,publicity:`on-main`})}function q(){return M(x).getComments({onlyNotDeleted:!0,materialTypes:[4],skip:0,limit:3,locationCode:z.value})}return(e,t)=>{let i=C;return m(),c(`div`,re,[s(`div`,ie,[n(i,null,{default:g(()=>[a(E)?b(``,!0):(m(),v(P,{key:0}))]),_:1}),s(`div`,ae,[n(V),s(`div`,oe,[s(`nav`,$,[(m(),c(h,null,l(L,(e,t)=>n(K,{key:t,link:e},null,8,[`link`])),64))])])])]),a(W).length?(m(),c(`section`,se,[s(`div`,ce,[s(`div`,le,[s(`h2`,ue,_(a(y)(`section:news-title`)),1),n(a(T),{to:a(F)(`/news`),"as-button":``,variant:`primary`},{default:g(()=>[r(_(a(y)(`common:watch-all`)),1)]),_:1},8,[`to`])]),t[0]||=s(`hr`,null,null,-1),s(`div`,{class:o([`section__row`,{loading:a(H)===`pen
1ding`}])},[(m(!0),c(h,null,l(a(W),(e,t)=>(m(),v(A,{key:t,post:e,class:o({sales:e.CATEGORY_CODE===2}),"description-link":a(F)(`/clinics/${e.COMPANY_CODE}`)},null,8,[`post`,`class`,`description-link`]))),128))],2)])])):b(``,!0),a(U).length?(m(),c(`section`,{key:1,class:o([`section section--reviews`,{loading:a(H)===`pending`}])},[s(`div`,de,[s(`div`,fe,[s(`h2`,pe,_(a(y)(`section:reviews-title`)),1),s(`div`,me,[s(`p`,null,_(a(y)(`section:reviews-desc`)),1),n(a(T),{to:e.$localePath(`/reviews`),"as-button":``,variant:`primary`},{default:g(()=>[r(_(a(y)(`section:reviews-link`)),1)]),_:1},8,[`to`])])]),s(`div`,he,[(m(!0),c(h,null,l(a(U),(e,t)=>(m(),v(j,{key:t,review:e,"rating-size":24,class:`section__review`,"show-target-review":``},null,8,[`review`]))),128))])])],2)):b(``,!0),s(`section`,ge,[n(ne)])])}}},[[`__scopeId`,`data-v-a1e8ae71`]]);export{_e 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.