PageSourceSearch

https://www.suedtirolskiarena.com/_nuxt/BlOpQoP1.js

js suedtirolskiarena.com collected 2026-10-09 16:59:27 UTC 2,796 bytes, 1 lines download raw bytes

1import{d as U,c as b,a5 as _,r as z,z as A,f as d,l as t,g as o,D as x,j as v,J as y,F as g,A as a,k as f,I as B,B as p,C as F,H as E,G as P}from"./OoatXn8A.js";const W={class:"inner"},$={class:"title"},j=U({__name:"Page",props:{isCloned:{type:Boolean},newIndex:{},remove:{type:Function},changeIsLastone:{type:Function},emits:{},page:{},header:{},headerLayout:{},headerPosition:{},headerLink:{},subheader:{},uid:{},index:{},appearance:{}},emits:["updateValues"],setup(R,{emit:V}){var L;const K=V,s=R,S=b(()=>s.page.css==="room"),H=b(()=>s.page.css==="hidden"||s.page.type==="invisible"),M=()=>{K("updateValues")};let u=[];const w=_([]),k=z(!0);(L=s.page.fields)==null||L.forEach(n=>{const e=n.field;let i="";e.typeSpecial&&e.typeSpecial!="text"?i=e.typeSpecial:i=e.type??"";const h={field:e,component:e.type?A("FormField"+i[0].toUpperCase()+i.slice(1)):""};u.push(h)});let m=0;s.newIndex&&(m=Number(s.newIndex));function C(){k.value=!1,m++,w.value.push(G)}function D(n){m--,w.value.splice(n,1),N()}function N(){k.value=!0}function I(){s.isCloned&&s.remove&&s.remove()}return(n,e)=>{var i,h;return t(H)&&((i=t(u))==null?void 0:i.length)>0?(o(!0),d(g,{key:0},x(t(u),({field:r,component:l})=>(o(),v(y(l),{field:r},null,8,["field"]))),256)):(o(),d("div",{key:1,class:E(["section grid-container-inner","section-"+n.page.pageId])},[a("div",W,[a("div",$,B(n.page.title),1),((h=t(u))==null?void 0:h.length)>0?(o(!0),d(g,{key:0},x(t(u),({field:r,component:l})=>{var c;return o(),d(g,null,[r.type==="submit"?(o(),v(y(l),{key:0,field:r,onUpdateValues:M},null,40,["field"])):(o(),v(y(l),{key:1,field:r,newIndex:n.isCloned?(c=t(m))==null?void 0:c.toString():""},null,8,["field","newIndex"]))],64)}),256)):f("",!0),n.isCloned?(o(),d("div",{key:1,tabindex:"0",class:"remove-room",onClick:I,onKeyup:[p(I,["enter"]),p(I,["space"])],onKeydown:e[0]||(e[0]=p(F(()=>{},["prevent"]),["space"]))},[e[2]||(e[2]=a("svg",{width:"20",height:"2",viewBox:"0 0 20 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[a("path",{d:"M0 1H20","stroke-width":"2"})],-1)),a("span",null,B(n.$t("hotel.removeRoom")),1)],32)):f("",!0),t(S)&&t(k)?(o(),d("div",{key:2,class:"add-room",tabindex:"0",onClick:C,onKeyup:[p(C,["enter"]),p(C,["space"])],onKeydown:e[1]||(e[1]=p(F(()=>{},["prevent"]),["space"]))},[e[3]||(e[3]=a("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},[a("path",{d:"M0 8.63989H18","stroke-width":"2"}),a("path",{d:"M8.64001 0L8.64001 18","stroke-width":"2"})],-1)),a("span",null,B(n.$t("hotel.addRoom")),1)],32)):f("",!0)]),t(S)?(o(!0),d(g,{key:0},x(t(w),(r,l)=>{var c;return o(),v(y(r),{key:l,page:n.page,newIndex:(c=t(m))==null?void 0:c.toString(),isCloned:!0,remove:()=>D(l)},null,8,["page","newIndex","remove"])}),128)):f("",!0)],2))}}}),G=P(j,[["__scopeId","data-v-7aca8039"]]);export{G 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.