PageSourceSearch

https://society.uz/assets/ArchitectureMemoriesIndex-58e3643c.js

js society.uz collected 2026-10-02 16:46:16 UTC 3,230 bytes, 1 lines download raw bytes

1import{z as y,y as _,d as A,b as P,w as k,n as R,E as d,o as r,c as m,e as g,f as c,g as e,P as b,h as a,C as v,i as u,a6 as f,F as j,r as M,N as w,G as D,L as $,j as z,l as B,_ as N}from"./index-98c1962a.js";import{u as x}from"./useSpecprojects-b0059112.js";import{u as E}from"./useStaticFile-d3f37c63.js";import{V as I}from"./VDescriptionSlider-f6e16488.js";import"./utils-57afd329.js";const V=y("architecture",{state:()=>({list:[],listCount:0,listPage:0,listStatus:"no_start",activeCountry:null}),getters:{getList(){return this.list},getListPage(){return this.listPage},getListCount(){return this.listCount},getListStatus(){return this.listStatus},getActiveCountry(){return this.activeCountry}},actions:{setList({pageSize:o,city:n}){this.list.length>0||(this.listStatus="loading",_.apiSpecProjects.getArchitecture({city:n,pageSize:o,offset:this.listPage}).then(t=>{this.list=t.results,this.listPage++,this.listCount=t.count,this.listStatus="loaded"}).catch(t=>{console.log("ERROR DATA",t),this.listStatus="loaded"}))},setListClick({pageSize:o,city:n}){_.apiSpecProjects.getArchitecture({city:n,pageSize:o,offset:this.listPage}).then(t=>{this.list.push(...t.results),this.listPage++,this.listCount=t.count}).catch(t=>{console.log("ERROR DATA",t)})},flushList(){this.list=[],this.listPage=0,this.listCount=0},setActiveCountry(o){this.activeCountry=o}}}),F={class:"page-padding"},T=A({__name:"ArchitectureMemoriesIndex",setup(o){const{postHtml:n}=E("SpecProjects/CatalogArchitecture.md"),t=V(),l=x(),{pageHead:L}=P();L({title:"specProjects.architecture_memories",description:"seo.architecture_memories.description"});const S=()=>{t.setListClick({pageSize:d})},h=i=>{t.flushList(),t.activeCountry=i,t.setList({pageSize:d,city:i==null?void 0:i.id})};return k(()=>B.global.locale.value,()=>{l.flushRegions(),t.flushList()}),R(()=>{t.setList({pageSize:d}),l.setRegions()}),(i,p)=>(r(),m("div",F,[g(b,{tags:"",title:i.$t("specProjects.architecture_memories"),description:e(n)},{default:c(()=>[e(l).getRegions&&e(l).getRegions.length>0?(r(),a(I,{key:0,"has-all-button":"",list:e(l).getRegions},{all:c(()=>[g(f,{onClick:p[0]||(p[0]=s=>h(null)),class:"btn",title:i.$t("all"),selected:e(t).getActiveCountry===null},null,8,["title","selected"])]),default:c(({item:s})=>{var C;return[s.id?(r(),a(f,{key:0,onClick:G=>h(s),class:"btn",title:s.name,selected:((C=e(t).getActiveCountry)==null?void 0:C.id)===s.id},null,8,["onClick","title","selected"])):u("",!0)]}),_:1},8,["list"])):u("",!0)]),_:1},8,["title","description"]),e(t).getList&&e(t).getList.length>0?(r(),a(v,{key:0},{default:c(()=>[g(D,{columnCount:4,class:"grid-wrap"},{default:c(()=>[(r(!0),m(j,null,M(e(t).getList,s=>(r(),a(w,{title:s.title,src:s.picture.medium,key:s.id,brief:s.brief,created_at:s.created_at,to:i.$i18nRoute({name:"ArchitectureMemoriesDetail",params:{id:s.id.toString()}})},null,8,["title","src","brief","created_at","to"]))),128))]),_:1}),e(t).getList.length<e(t).getListCount?(r(),a($,{key:0,onClick:S,class:"btn-more",direction:"down",title:i.$t("more")},null,8,["title"])):u("",!0)]),_:1})):u("",!0),e(t).getList.length===0&&e(t).getListStatus==="loaded"?(r(),a(z,{key:1})):u("",!0)]))}});const K=N(T,[["__scopeId","data-v-b99385a3"]]);export{K 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.