PageSourceSearch

https://rusgolf.ru/_nuxt/xBApR1sc.js

js rusgolf.ru collected 2026-10-02 11:11:38 UTC 2,563 bytes, 1 lines download raw bytes

1import{L as _}from"./wH0HxakZ.js";import{S as g}from"./g6d4bv1X.js";import{u as C}from"./DpbvG63g.js";import{C as v}from"./IP-s4Jq9.js";import{e as k,q as $,x as S,o as n,c,f as y,a,t as D,l as b,b as W,w as q,u as w,m as x,I as A,_ as L}from"./Bof-CrE0.js";import"#entry";const M={class:"mini-golf-clubs-courses-page"},B={key:1,class:"error"},T={key:0},E={key:2,class:"inner-wrapper"},G={class:"panel-pane pane-node-content md-content"},H={class:"panel-pane pane-node-body"},I={class:"field field--name-body field--type-text-with-summary field--label-hidden"},N={class:"field__items"},V={class:"field__item even",property:"content:encoded"},O=["innerHTML"],U={key:3,class:"empty"},j=k({__name:"MiniGolfClubsCourses",props:{pageData:{},pending:{type:Boolean},error:{}},setup(t){const p=t,{rusgolfUrl:u}=C(),m=x(()=>{if(!p.pageData)return"";const d=p.pageData.content||"";return d?d.replace(/<img([^>]*?)src=["']([^"']+)["']([^>]*?)>/gi,(r,i,e,o)=>{if(e.startsWith("http"))return r;const l=e.startsWith("/")?`${u}${e}`:`${u}/${e}`;return`<img${i}src="${l}"${o}>`}).replace(/<a([^>]*?)href=["']([^"']+)["']([^>]*?)>/gi,(r,i,e,o)=>{if(e.startsWith("http")||e.startsWith("mailto:")||e.startsWith("#"))return r;if(e.startsWith("/files/")){const l=`${u}${e}`;return`<a${i}href="${l}"${o}>`}return r}):""}),h=()=>{typeof window!="undefined"&&A(()=>{document.querySelectorAll(".field--name-body table.table").forEach(s=>{const f=s.querySelector("thead"),r=s.querySelector("tbody");if(!f||!r)return;const i=Array.from(f.querySelectorAll("th")).map(e=>{var o;return((o=e.textContent)==null?void 0:o.trim())||""});r.querySelectorAll("tr").forEach(e=>{Array.from(e.querySelectorAll("td")).forEach((o,l)=>{i[l]&&o.setAttribute("data-label",i[l])})})})})};return $(()=>{h()}),S(m,()=>{h()}),(d,s)=>(n(),c("div",M,[t.pending?(n(),y(_,{key:0})):t.error?(n(),c("div",B,[s[0]||(s[0]=a("p",null,"Что-то пошло не так : возможно, такой страницы не существует",-1)),t.error.statusCode?(n(),c("p",T,"Код ошибки: "+D(t.error.statusCode),1)):b("",!0)])):t.pageData?(n(),c("div",E,[a("div",G,[a("div",H,[a("div",I,[a("div",N,[a("div",V,[W(w(v),null,{default:q(()=>[a("div",{innerHTML:m.value},null,8,O)]),_:1})])])])]),t.pageData?(n(),y(g,{key:0,title:t.pageData.title,h1:t.pageData.h1},null,8,["title","h1"])):b("",!0)])])):(n(),c("div",U,[...s[1]||(s[1]=[a("p",null,"Данные не загружены",-1)])]))]))}}),R=Object.assign(L(j,[["__scopeId","data-v-32ec12ad"]]),{__name:"MiniGolfClubsCourses"});export{R 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.