PageSourceSearch

http://www.freep.nl/_nuxt/BiyTTC8F.js

js freep.nl collected 2026-10-06 20:03:21 UTC 2,675 bytes, 1 lines download raw bytes

1import{d as h,j as y,r as a,o as i,c as r,e,b as m,l as s,F as v,m as w,t as k,n as V,p as q,q as j,v as S,s as M,a as N,x as F,_ as A}from"./G7JqIrEk.js";import{_ as B}from"./B0vQ1Zoy.js";import{u as I}from"./DUXtFZn7.js";const O={class:"mx-auto w-full lg:w-11/12 xl:w-3/4 sm:my-8 md:my-16 lg:my-24 shadow rounded-lg bg-white flex gap-8 flex-col md:flex-row items-center justify-center p-4 sm:p-8"},T={class:"flex-1 hidden md:block"},U={class:"flex-1 w-full"},C=e("h1",{class:"text-3xl lg:text-4xl font-bold text-indigo-600"}," Mijn instellingen ",-1),D=e("h2",{class:"text-gray-700 text-sm"}," Mis geen opdracht, geef je voorkeuren aan ",-1),E={key:0,class:"text-sm border border-red-400 p-4 bg-red-100"},P=e("label",{class:"block mb-2 text-sm font-bold text-gray-700"}," Segmenten ",-1),Z=e("label",{class:"block mb-2 text-sm font-bold text-gray-700"}," Mijn werkgebied ",-1),$=e("label",{class:"block mb-2 text-sm font-bold text-gray-700",for:"query"}," Zoekterm (specialisme) ",-1),z=e("button",{class:"w-full px-4 py-3 font-bold text-white bg-indigo-500 rounded-full hover:bg-indigo-700 focus:outline-none focus:shadow-outline",type:"submit"}," Instellingen opslaan ",-1),J=h({__name:"registreren_stap_2",setup(L){const{$toast:g}=y(),{segmentOptions:_,locationProvinceOptions:f}=I(),n=a([]),l=a(""),c=a([]),u=a([]),b=async()=>{try{await N({url:"notifications",auth:!0,method:"POST",body:{name:"Freep opdrachten",query:{query:l.value,segment:c.value,location_province:u.value}}}),g.success("Instellingen opgeslagen"),F("/account/bevestigen")}catch(d){typeof d=="string"?n.value.push(d):n.value.push("Er is iets misgegaan")}};return(d,o)=>{const x=A,p=B;return i(),r("div",O,[e("div",T,[m(x,{loading:"lazy",class:"",src:"/images/2.svg",alt:"registreren bij freep.nl"})]),e("div",U,[C,D,s(n).length?(i(),r("ul",E,[(i(!0),r(v,null,w(s(n),t=>(i(),r("li",{key:t},k(t),1))),128))])):V("",!0),e("form",{class:"mt-8",onSubmit:q(b,["prevent"])},[P,m(p,{class:"shadow mb-4",placeholder:"Selecteer segmenten",modelValue:s(c),options:s(_),searchable:!1,multiple:!0,"onUpdate:modelValue":o[0]||(o[0]=t=>c.value=t)},null,8,["modelValue","options"]),Z,m(p,{class:"shadow mb-4",placeholder:"Selecteer provincies",modelValue:s(u),options:s(f),searchable:!1,multiple:!0,"onUpdate:modelValue":o[1]||(o[1]=t=>u.value=t)},null,8,["modelValue","options"]),$,j(e("input",{class:"mb-8 w-full px-3 py-3 text-sm leading-tight text-gray-700 border rounded shadow appearance-none focus:outline-none focus:shadow-outline",id:"query","onUpdate:modelValue":o[2]||(o[2]=t=>M(l)?l.value=t:null),type:"text",name:"query",placeholder:"Zoekterm"},null,512),[[S,s(l)]]),z],32)])])}}});export{J 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.