PageSourceSearch

https://www.marterloch.com/_nuxt/CAj2xniA.js

js marterloch.com collected 2026-10-09 04:08:56 UTC 3,713 bytes, 1 lines download raw bytes

1import{_ as D}from"./DrknoikC.js";import{_ as R}from"./Bo-NjPbT.js";import{u as C}from"./CEhFxU-f.js";import{d as E,q as N,a6 as F,r as d,W as H,B as P,R as j,h as A,e as u,g as k,c as f,i as h,X as s,f as x,j as w,Z as g,a0 as L,$ as O,V as T}from"./BVeAm5Z6.js";const U={key:0,class:"arrow"},W=["for"],X={class:"selected-item"},Z={key:0,class:"image"},G={class:"title"},J={key:1,class:"minprice"},K={key:0,class:"image"},Q={class:"title"},Y={key:1,class:"minprice"},ee=["value","id","name"],te=E({__name:"Powermailrooms",props:{marker:{},name:{},newIndex:{},field:{},header:{},headerLayout:{},headerPosition:{},headerLink:{},subheader:{},uid:{},index:{},appearance:{}},setup(S){var q;const{$gsap:i}=N(),_=F(),l=S,y=d(null),M=d(!1),c=d(""),m=d(""),V=d(!1),p=d([]);p.value.push({title:l.field.firstoption?l.field.firstoption:"-",value:"-"}),(q=l.field.rooms)==null||q.forEach(e=>{let t={title:e.title,minprice:e.minprice,people:e.people,size:e.size,previewimage:e.previewimage,value:e.asacode};p.value.push(t)});function $(){const e=y.value.$el;if(e){const t=e.querySelector(".multiselect-dropdown"),o=e.querySelector(".multiselect-options"),r=e.querySelector(".arrow");i.set(t,{zIndex:2,overwrite:!0}),i.to(t,{height:(o==null?void 0:o.clientHeight)+"px",duration:.3,ease:"linear"}),i.to(r,{rotate:"0",duration:.3,ease:"linear"})}}function b(){const e=y.value.$el;if(e){const t=e.querySelector(".multiselect-dropdown"),o=e.querySelector(".arrow");i.to(t,{height:"0px",duration:.3,ease:"linear",onComplete:()=>{i.set(t,{zIndex:0})}}),i.to(o,{rotate:"180deg",duration:.3,ease:"linear"})}}p.value.forEach((e,t)=>{var o;t===0&&(c.value=e.value,m.value=e.title),e.value===((o=_.query)==null?void 0:o.room)&&(c.value=e.value,m.value=e.title)});function B(e,t){I.value=t.title}const{value:n,meta:ae,errorMessage:oe}=C(l.name+(l.newIndex?"-"+l.newIndex:""),H()),{value:I}=C(l.name+"[title]"+(l.newIndex?"-"+l.newIndex:""));return n.value=c.value,I.value=m.value,P(()=>{var e;return(e=_.query)==null?void 0:e.room},()=>{var e;(e=_.query)!=null&&e.room&&p.value.forEach((t,o)=>{var r;t.value===((r=_.query)==null?void 0:r.room)&&(c.value=t.value,m.value=t.title,n.value=t.value,I.value=m.value)})}),(e,t)=>{const o=D,r=j("Multiselect"),z=R;return u(),A(z,{class:O(["item-"+e.marker+(e.newIndex?"-"+e.newIndex:""),e.field.css]),ref_key:"fieldRef",ref:y},{default:k(()=>[w(V)?h("",!0):(u(),f("div",U,t[2]||(t[2]=[s("svg",{viewBox:"0 0 18.4 10.6"},[s("polyline",{points:"18.4,9.2 17,10.6 9.2,2.8 1.4,10.6 0,9.2 9.2,0 "})],-1)]))),s("label",{for:"field-"+e.marker+(e.newIndex?"-"+e.newIndex:""),ref:"label",class:"hasContent"},g(e.field.header),9,W),x(r,{modelValue:w(n),"onUpdate:modelValue":t[0]||(t[0]=a=>L(n)?n.value=a:null),placeholder:" ",label:"name",value:w(c),options:w(p),onOpen:$,onClose:b,caret:!1,onChange:t[1]||(t[1]=a=>M.value=!0),onSelect:B},{singlelabel:k(({value:a})=>{var v;return[s("div",X,[((v=a.previewimage)==null?void 0:v.length)>0?(u(),f("div",Z,[x(o,{image:a.previewimage[0],widthD:130,heightD:90,widthM:130,heightM:90},null,8,["image"])])):h("",!0),s("div",G,g(a.title),1),a.minprice?(u(),f("div",J,g(a.minprice),1)):h("",!0)])]}),option:k(({option:a})=>{var v;return[((v=a.previewimage)==null?void 0:v.length)>0?(u(),f("div",K,[x(o,{image:a.previewimage[0],widthD:130,heightD:90,widthM:130,heightM:90},null,8,["image"])])):h("",!0),s("div",Q,g(a.title),1),a.minprice?(u(),f("div",Y,g(a.minprice),1)):h("",!0)]}),_:1},8,["modelValue","value","options"]),s("input",{type:"text",value:w(n),id:"field-"+e.marker+(e.newIndex?"-"+e.newIndex:""),class:"field",name:e.name+(e.newIndex?"-"+e.newIndex:"")},null,8,ee)]),_:1},8,["class"])}}}),re=T(te,[["__scopeId","data-v-d84a64de"]]);export{re 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.