1import{e as L,f as Ce,g as R,p as de,h as k,j as F,k as X,l as E,m as ce,n as Me,s as Ve,w as D,o as U,q as J,t as fe,u as Le,v as ae,x as Ne,y as Pe,z as Q,A as Se,B as se,C as Z,r as I,D as je,E as Oe,F as De,G as Te,H as Be,I as He,J as pe,K as Re,L as Ee,_ as me,M as ze,N as h,O as z,Q as o,R as u,S as M,T as V,U as x,V as O,W as y,X as G,Y as A,Z as c,$ as Ue,a0 as Ie,a1 as ee,a2 as ge,a3 as T,a4 as te,a5 as C,a6 as be,a7 as ie,a8 as he,a9 as re,aa as We,ab as ye,ac as Ke,ad as Ge,ae as Je,af as H,ag as W,ah as oe,ai as Xe,aj as Ye}from"./index.c78980fe.js";import{Q as $e,a as Ae,C as we}from"./ClosePopup.5afc4e14.js";import{Q as xe,a as le}from"./QItem.03baebf7.js";import{Q as ne}from"./QItemLabel.a17bb7fa.js";import{Q as Ze}from"./QSelect.2e5ee0e0.js";import{Q as et}from"./QList.43b5bd2a.js";import{Q as tt}from"./QMenu.c23b7031.js";import{Q as K}from"./QSpace.05442360.js";import{Q as it}from"./QFile.dc2f435f.js";import"./msal.a53bbccc.js";import{u as ot}from"./useAzureAuth.36a6d537.js";import"./QChip.d6f7a227.js";import"./format.8ac60962.js";var lt=L({name:"QPageContainer",setup(t,{slots:e}){const{proxy:{$q:n}}=E(),a=Ce(ce,R);if(a===R)return console.error("QPageContainer needs to be child of QLayout"),R;de(Me,!0);const i=k(()=>{const s={};return a.header.space===!0&&(s.paddingTop=`${a.header.size}px`),a.right.space===!0&&(s[`padding${n.lang.rtl===!0?"Left":"Right"}`]=`${a.right.size}px`),a.footer.space===!0&&(s.paddingBottom=`${a.footer.size}px`),a.left.space===!0&&(s[`padding${n.lang.rtl===!0?"Right":"Left"}`]=`${a.left.size}px`),s});return()=>F("div",{class:"q-page-container",style:i.value},X(e.default))}});const{passive:ke}=ae,nt=["both","horizontal","vertical"];var at=L({name:"QScrollObserver",props:{axis:{type:String,validator:t=>nt.includes(t),default:"vertical"},debounce:[String,Number],scrollTarget:Ve},emits:["scroll"],setup(t,{emit:e}){const n={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let a=null,i,s;D(()=>t.scrollTarget,()=>{v(),b()});function l(){a==null||a();const q=Math.max(0,Ne(i)),S=Pe(i),r={top:q-n.position.top,left:S-n.position.left};if(t.axis==="vertical"&&r.top===0||t.axis==="horizontal"&&r.left===0)return;const w=Math.abs(r.top)>=Math.abs(r.left)?r.top<0?"up":"down":r.left<0?"left":"right";n.position={top:q,left:S},n.directionChanged=n.direction!==w,n.delta=r,n.directionChanged===!0&&(n.direction=w,n.inflectionPoint=n.position),e("scroll",{...n})}function b(){i=Le(s,t.scrollTarget),i.addEventListener("scroll",m,ke),m(!0)}function v(){i!==void 0&&(i.removeEventListener("scroll",m,ke),i=void 0)}function m(q){if(q===!0||t.debounce===0||t.debounce==="0")l();else if(a===null){const[S,r]=t.debounce?[setTimeout(l,t.debounce),clearTimeout]:[requestAnimationFrame(l),cancelAnimationFrame];a=()=>{r(S),a=null}}}const{proxy:_}=E();return D(()=>_.$q.lang.rtl,l),U(()=>{s=_.$el.parentNode,b()}),J(()=>{a==null||a(),v()}),Object.assign(_,{trigger:m,getPosition:()=>n}),fe}});function st(){const t=Q(!Se.value);return t.value===!1&&U(()=>{t.value=!0}),{isHydrated:t}}const Qe=typeof ResizeObserver!="undefined",qe=Qe===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"};var ue=L({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(t,{emit:e}){let n=null,a,i={width:-1,height:-1};function s(v){v===!0||t.debounce===0||t.debounce==="0"?l():n===null&&(n=setTimeout(l,t.debounce))}function l(){if(n!==null&&(clearTimeout(n),n=null),a){const{offsetWidth:v,offsetHeight:m}=a;(v!==i.width||m!==i.height)&&(i={width:v,height:m},e("resize",i))}}const{proxy:b}=E();if(b.trigger=s,Qe===!0){let v;const m=_=>{a=b.$el.parentNode,a?(v=new ResizeObserver(s),v.observe(a),l()):_!==!0&&se(()=>{m(!0)})};return U(()=>{m()}),J(()=>{n!==null&&clearTimeout(n),v!==void 0&&(v.disconnect!==void 0?v.disconnect():a&&v.unobserve(a))}),fe}else{let _=function(){n!==null&&(clearTimeout(n),n=null),m!==void 0&&(m.removeEventListener!==void 0&&m.removeEventListener("resize",s,ae.passive),m=void 0)},q=function(){_(),a!=null&&a.contentDocument&&(m=a.contentDocument.defaultView,m.addEventListener("resize",s,ae.passive),l())};const{isHydrated:v}=st();let m;return U(()=>{se(()=>{a=b.$el,a&&q()})}),J(_),()=>{if(v.value===!0)return F("object",{class:"q--avoid-card-border",style:qe.style,tabindex:-1,type:"text/html",data:qe.url,"aria-hidden":"true",onLoad:q})}}}}),rt=L({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:t=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(t.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(t,{slots:e,emit:n}){const{proxy:{$q:a}}=E(),i=Q(null),s=Q(a.screen.height),l=Q(t.container===!0?0:a.screen.width),b=Q({position:0,direction:"down",inflectionPoint:0}),v=Q(0),m=Q(Se.value===!0?0:Z()),_=k(()=>"q-layout q-layout--"+(t.container===!0?"containerized":"standard")),q=k(()=>t.container===!1?{minHeight:a.screen.height+"px"}:null),S=k(()=>m.value!==0?{[a.lang.rtl===!0?"left":"right"]:`${m.value}px`}:null),r=k(()=>m.value!==0?{[a.lang.rtl===!0?"right":"left"]:0,[a.lang.rtl===!0?"left":"right"]:`-${m.value}px`,width:`calc(100% + ${m.value}px)`}:null);function w(d){if(t.container===!0||document.qScrollPrevented!==!0){const g={position:d.position.top,direction:d.direction,directionChanged:d.directionChanged,inflectionPoint:d.inflectionPoint.top,delta:d.delta.top};b.value=g,t.onScroll!==void 0&&n("scroll",g)}}function N(d){const{height:g,width:$}=d;let j=!1;s.value!==g&&(j=!0,s.value=g,t.onScrollHeight!==void 0&&n("scrollHeight",g),P()),l.value!==$&&(j=!0,l.value=$),j===!0&&t.onResize!==void 0&&n("resize",d)}function B({height:d}){v.value!==d&&(v.value=d,P())}function P(){if(t.container===!0){const d=s.value>v.value?Z():0;m.value!==d&&(m.value=d)}}let f=null;const p={instances:{},view:k(()=>t.view),isContainer:k(()=>t.container),rootRef:i,height:s,containerHeight:v,scrollbarWidth:m,totalWidth:k(()=>l.value+m.value),rows:k(()=>{const d=t.view.toLowerCase().split(" ");return{top:d[0].split(""),middle:d[1].split(""),bottom:d[2].split("")}}),header:I({size:0,offset:0,space:!1}),right:I({size:300,offset:0,space:!1}),footer:I({size:0,offset:0,space:!1}
1),left:I({size:300,offset:0,space:!1}),scroll:b,animate(){f!==null?clearTimeout(f):document.body.classList.add("q-body--layout-animate"),f=setTimeout(()=>{f=null,document.body.classList.remove("q-body--layout-animate")},155)},update(d,g,$){p[d][g]=$}};if(de(ce,p),Z()>0){let $=function(){d=null,g.classList.remove("hide-scrollbar")},j=function(){if(d===null){if(g.scrollHeight>a.screen.height)return;g.classList.add("hide-scrollbar")}else clearTimeout(d);d=setTimeout($,300)},Y=function(ve){d!==null&&ve==="remove"&&(clearTimeout(d),$()),window[`${ve}EventListener`]("resize",j)},d=null;const g=document.body;D(()=>t.container!==!0?"add":"remove",Y),t.container!==!0&&Y("add"),je(()=>{Y("remove")})}return()=>{const d=Oe(e.default,[F(at,{onScroll:w}),F(ue,{onResize:N})]),g=F("div",{class:_.value,style:q.value,ref:t.container===!0?void 0:i,tabindex:-1},d);return t.container===!0?F("div",{class:"q-layout-container overflow-hidden",ref:i},[F(ue,{onResize:B}),F("div",{class:"absolute-full",style:S.value},[F("div",{class:"scroll",style:r.value},[g])])]):g}}}),ut=L({name:"QToolbarTitle",props:{shrink:Boolean},setup(t,{slots:e}){const n=k(()=>"q-toolbar__title ellipsis"+(t.shrink===!0?" col-shrink":""));return()=>F("div",{class:n.value},X(e.default))}}),dt=L({name:"QToolbar",props:{inset:Boolean},setup(t,{slots:e}){const n=k(()=>"q-toolbar row no-wrap items-center"+(t.inset===!0?" q-toolbar--inset":""));return()=>F("div",{class:n.value,role:"toolbar"},X(e.default))}}),ct=L({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(t,{slots:e,emit:n}){const{proxy:{$q:a}}=E(),i=Ce(ce,R);if(i===R)return console.error("QHeader needs to be child of QLayout"),R;const s=Q(parseInt(t.heightHint,10)),l=Q(!0),b=k(()=>t.reveal===!0||i.view.value.indexOf("H")!==-1||a.platform.is.ios&&i.isContainer.value===!0),v=k(()=>
1{if(t.modelValue!==!0)return 0;if(b.value===!0)return l.value===!0?s.value:0;const f=s.value-i.scroll.value.position;return f>0?f:0}),m=k(()=>t.modelValue!==!0||b.value===!0&&l.value!==!0),_=k(()=>t.modelValue===!0&&m.value===!0&&t.reveal===!0),q=k(()=>"q-header q-layout__section--marginal "+(b.value===!0?"fixed":"absolute")+"-top"+(t.bordered===!0?" q-header--bordered":"")+(m.value===!0?" q-header--hidden":"")+(t.modelValue!==!0?" q-layout--prevent-focus":"")),S=k(()=>{const f=i.rows.value.top,p={};return f[0]==="l"&&i.left.space===!0&&(p[a.lang.rtl===!0?"right":"left"]=`${i.left.size}px`),f[2]==="r"&&i.right.space===!0&&(p[a.lang.rtl===!0?"left":"right"]=`${i.right.size}px`),p});function r(f,p){i.update("header",f,p)}function w(f,p){f.value!==p&&(f.value=p)}function N({height:f}){w(s,f),r("size",f)}function B(f){_.value===!0&&w(l,!0),n("focusin",f)}D(()=>t.modelValue,f=>{r("space",f),w(l,!0),i.animate()}),D(v,f=>{r("offset",f)}),D(()=>t.reveal,f=>{f===!1&&w(l,t.modelValue)}),D(l,f=>{i.animate(),n("reveal",f)}),D(i.scroll,f=>{t.reveal===!0&&w(l,f.direction==="up"||f.position<=t.revealOffset||f.position-f.inflectionPoint<100)});const P={};return i.instances.header=P,t.modelValue===!0&&r("size",s.value),r("space",t.modelValue),r("offset",v.value),J(()=>{i.instances.header===P&&(i.instances.header=void 0,r("size",0),r("offset",0),r("space",!1))}),()=>{const f=De(e.default,[]);return t.elevated===!0&&f.push(F("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),f.push(F(ue,{debounce:0,onResize:N})),F("header",{class:q.value,style:S.value,onFocusin:B},f)}}}),Fe=L({name:"QForm",props:{autofocus:Boolean,noErrorFocus:Boolean,noResetFocus:Boolean,greedy:Boolean,onSubmit:Function},emits:["reset","validationSuccess","validationError"],setup(t,{slots:e,emit:n}){const a=E(),i=Q(null);let s=0;const l=[];function b(r){const w=typeof r=="boolean"?r:t.noErrorFocus!==!0,N=++s,B=(p,d)=>{n(`validation${p===!0?"Success":"Error"}`,d)},P=p=>{const d=p.validate();return typeof d.then=="function"?d.then(g=>({valid:g,comp:p}),g=>({valid:!1,comp:p,err:g})):Promise.resolve({valid:d,comp:p})};return(t.greedy===!0?Promise.all(l.map(P)).then(p=>p.filter(d=>d.valid!==!0)):l.reduce((p,d)=>p.then(()=>P(d).then(g=>{if(g.valid===!1)return Promise.reject(g)})),Promise.resolve()).catch(p=>[p])).then(p=>{if(p===void 0||p.length===0)return N===s&&B(!0),!0;if(N===s){const{comp:d,err:g}=p[0];if(g!==void 0&&console.error(g),B(!1,d),w===!0){const $=p.find(({comp:j})=>typeof j.focus=="function"&&He(j.$)===!1);$!==void 0&&$.comp.focus()}}return!1})}function v(){s++,l.forEach(r=>{typeof r.resetValidation=="function"&&r.resetValidation()})}function m(r){r!==void 0&&pe(r);const w=s+1;b().then(N=>{w===s&&N===!0&&(t.onSubmit!==void 0?n("submit",r):(r==null?void 0:r.target)!==void 0&&typeof r.target.submit=="function"&&r.target.submit())})}function _(r){r!==void 0&&pe(r),n("reset"),se(()=>{v(),t.autofocus===!0&&t.noResetFocus!==!0&&q()})}function q(){Re(()=>{if(i.value===null)return;const r=i.value.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||i.value.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||i.value.querySelector("[autofocus], [data-autofocus]")||Array.prototype.find.call(i.value.querySelectorAll("[tabindex]"),w=>w.tabIndex!==-1);r==null||r.focus({preventScroll:!0})})}de(Ee,{bindComponent(r){l.push(r)},unbindComponent(r){const w=l.indexOf(r);w!==-1&&l.splice(w,1)}});let S=!1;return Te(()=>{S=!0}),Be(()=>{S===!0&&t.autofocus===!0&&q()}),U(()=>{t.autofocus===!0&&q()}),Object.assign(a.proxy,{validate:b,resetValidation:v,submit:m,reset:_,focus:q,getValidationComponents:()=>l}),()=>F("form",{class:"q-form",ref:i,onSubmit:m,onReset:_},X(e.default))}});const ft={name:"FFAHeader",data(){return{xmlFile:null,rejectedFiles:[],s:this.$store,mobileMenu:!1,loginDialog:!1,maisDialog:!1,aantalPogingen:0,zoekstring:"",zoekresultaten:[]}},mounted(){this.$route.path=="/login"&&(this.loginDialog=!0)},async created(){await this.s.miniSearchInit(),ze.hide(),this.zoekresultaten=this.s.miniSearch.search(this.zoekstring);const{expire:t}=this.$q.localStorage.getAll();if(!t)return;new Date().getTime()>t&&this.$q.localStorage.clear()},methods:{openUploadMaisDialog(){this.maisDialog=!0,this.xmlFile=null,this.rejectedFiles=[]},async maisUploadSubmit(){if(this.maisDialog=!1,this.xmlFile){const t=new FormData;t.append("xmlFile",this.xmlFile);try{const e=this.s.liveomgeving?"https://services.tresoar.nl/ffaa_mais":"https://services.kultuer.frl/ffaa_mais",n=await fetch(e,{method:"POST",body:t});if(n.ok){const a=await n.json();console.log(a),this.$q.notify({message:`Bestand succesvol ge\xFCpload! ${a.records} items geimporteerd.`,color:"positive",icon:"check",timeout:4e3,progress:!0}),this.xmlFile=null}else{const a=await n.json();this.$q.notify({message:`Fout bij upload: ${a.message||n.statusText}`,color:"negative",icon:"warning"}),console.error("Fout bij upload:",a)}}catch(e){this.$q.notify({message:`Er is een onverwachte fout opgetreden: ${e.message}`,color:"negative",icon:"error"}),console.error("Onverwachte fout:",e)}}else this.$q.notify({message:"Selecteer een XML-bestand om te uploaden.",color:"warning",icon:"warning"})},maisUploadonRejected(t){console.log(t),this.rejectedFiles=t},gekliktOpLink(t,e){const n=`/${t}/${e}`;this.zoekstring="",this.$refs.zoekbox.blur(),this.$router.push(n)},filterFn(t,e){e(()=>{let n={type:"collectie",id:"",icon:"collections",titel:"Ga naar de collectie",inhoud:"Voor zoeken in de collectie, klik hier..."},a=this.s.miniSearch.search(t),i=this.s.bewerkmodus?a:a.filter(s=>!s.publicatiedatum||s.publicatiedatum<=this.s.vandaag);this.zoekresultaten=[],t.length&&(this.zoekresultaten=[n,...i])})},gaNaar(t){t&&this.$router.push(t),this.mobileMenu=!1}
1,scrollNaarBeheerbutton(){this.loginDialog=!1,setTimeout(()=>{document.getElementById("beheerbutton").scrollIntoView({behavior:"smooth"})},200)},uitloggen(){this.$q.localStorage.clear(),this.s.ingelogd=!1,this.s.bewerkmodus=!1,this.s.gebruiker=""}},computed:{menu(){return[{label:"Over ons",items:this.overons},{label:"De Friese Film",items:this.defriesefilm},{label:"Projecten",items:this.projecten},{label:"Nieuws",to:"/nieuws"},{label:"Collectie",to:"/collectie"}]},overons(){return[{titel:"Fries Film & Audio Archief",naar:"/overons"},{titel:"Vrienden van Film in Friesland",naar:"/overons/vrienden"}]},projecten(){let t=this.s.projecten.filter(e=>e.inMenu).map(e=>({titel:e.titel,naar:`/projecten/${e._id}`})).slice(0,5);return[{titel:"Alle projecten",naar:"/projecten"},{titel:"divider"},...t]},defriesefilm(){let t=this.s.defriesefilm.filter(e=>e.inMenu).map(e=>({titel:e.titel,naar:`/defriesefilm/${e._id}`})).slice(0,5);return[{titel:"Alle onderwerpen",naar:"/defriesefilm"},{titel:"divider"},...t]}}},mt={key:0,class:"col-grow"},vt={key:1,class:"col-grow"},pt=["onClick"],gt={key:2,class:"col-auto"},bt={key:4,class:"col-auto"},ht={class:"col-xs-12 col-sm-3 q-pa-md"},yt={class:"text-secondary text-caption"},wt={class:"text-grey-7 text-weight-thin q-px-sm"},xt={key:0},kt={class:"text-negative q-mt-sm"};function qt(t,e,n,a,i,s){return h(),z("div",null,[o(ct,{class:"bg-secondary text-dark roc"},{default:u(()=>[i.s.ingelogd?(h(),M(dt,{key:0,class:G(["text-white q-px-lg",i.s.bewerkmodus?"bg-red-14":"bg-primary"])},{default:u(()=>[o(ut,null,{default:u(()=>[o(V,{name:"r_person"}),x(" "+O(i.s.gebruiker.name),1)]),_:1}),o(y,{flat:"",label:"Collectie UPLOADEN","icon-right":"r_upload",onClick:s.openUploadMaisDialog},null,8,["onClick"]),o(y,{flat:"",label:i.s.bewerkmodus?"BEKIJKEN":"BEWERKEN","icon-right":i.s.bewerkmodus?"r_visibility":"r_edit",onClick:e[0]||(e[0]=l=>i.s.bewerkmodus=!i.s.bewerkmodus)},null,8,["label","icon-right"]),o(y,{flat:"",icon:"r_logout",onClick:s.uitloggen},{default:u(()=>[o($e,{class:"bg-red",offset:[10,10]},{default:u(()=>[...e[17]||(e[17]=[x(" Uitloggen... ",-1)])]),_:1})]),_:1},8,["onClick"])]),_:1},8,["class"])):A("",!0),c("div",{class:G(["row items-center q-py-md",t.$q.screen.gt.sm?"q-px-xl":"q-px-md"]),style:{"max-width":"1600px",margin:"0 auto"}},[c("div",{class:"col-auto cursor-pointer",onClick:e[1]||(e[1]=l=>t.$router.push("/"))},[c("img",{src:"/header_logo.png",class:"q-pr-md",style:Ue(t.$q.screen.gt.xs?"height: 60px":"height: 50px")},null,4)]),t.$q.screen.gt.md?(h(),z("div",mt,[o(Ze,{ref:"zoekbox",rounded:"",outlined:"","use-input":"","input-debounce":"100",modelValue:i.zoekstring,"onUpdate:modelValue":e[2]||(e[2]=l=>i.zoekstring=l),options:i.zoekresultaten,onFilter:s.filterFn,placeholder:"Waar ben je naar op zoek?",color:"black","label-color":"black",class:"q-px-lg full-width"},{option:u(l=>[o(xe,Ie(l.itemProps,{style:{width:"550px"},onClick:b=>s.gekliktOpLink(l.opt.type,l.opt.id),class:{"bg-primary text-white":l.opt.type==="collectie"}}),{default:u(()=>[o(le,{avatar:""},{default:u(()=>[o(V,{color:l.opt.type==="collectie"?"white":"primary",size:"lg",name:l.opt.icon},null,8,["color","name"])]),_:2},1024),o(le,null,{default:u(()=>[o(ne,{lines:"1"},{default:u(()=>[x(O(l.opt.titel),1)]),_:2},1024),o(ne,{caption:"",lines:"2",class:G({"bg-primary text-white":l.opt.type==="collectie"})},{default:u(()=>[x(O(l.opt.inhoud),1)]),_:2},1032,["class"])]),_:2},1024)]),_:2},1040,["onClick","class"])]),_:1},8,["modelValue","options","onFilter"])])):A("",!0),t.$q.screen.gt.sm?(h(),z("div",vt,[(h(!0),z(ee,null,ge(s.menu,(l,b)=>(h(),z("span",{class:"cursor-pointer non-selectable q-mx-md text-body1 text-bold float-right",onClick:v=>s.gaNaar(l.to),key:b},[x(O(l.label)+" ",1),l.items?(h(),M(V,{key:0,name:"r_arrow_drop_down"})):A("",!0),l.items?(h(),M(tt,{key:1,fit:"",offset:[0,10],"max-width":"300px"},{default:u(()=>[o(et,{style:{"min-width":"100px"}},{default:u(()=>[(h(!0),z(ee,null,ge(l.items,(v,m)=>(h(),z(ee,{key:m},[v.titel==="divider"?(h(),M(T,{key:0})):(h(),M(xe,{key:1,clickable:"",to:v.naar},{default:u(()=>[o(le,null,{default:u(()=>[o(ne,{lines:"1"},{default:u(()=>[x(O(v.titel),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["to"]))],64))),128))]),_:2},1024)]),_:2},1024)):A("",!0)],8,pt))),128)),o(K)])):A("",!0),t.$q.screen.gt.sm?(h(),z("div",gt,[o(y,{rounded:"",unelevated:"",color:"dark",label:"Contact",href:"#websitefooter","no-caps":"",class:"q-ml-xl text-caption text-bold"})])):A("",!0),t.$q.screen.lt.md?(h(),M(K,{key:3})):A("",!0),t.$q.screen.lt.md?(h(),z("div",bt,[o(y,{icon:"search",label:"collectie",stack:"",unelevated:"",flat:"","no-caps":"",onClick:e[3]||(e[3]=l=>s.gaNaar("/collectie"))}),o(y,{icon:"menu",label:"menu",stack:"",unelevated:"",flat:"","no-caps":"",onClick:e[4]||(e[4]=l=>i.mobileMenu=!0)})])):A("",!0)],2)]),_:1}),o(ie,{modelValue:i.mobileMenu,"onUpdate:modelValue":e[12]||(e[12]=l=>i.mobileMenu=l),persistent:"",maximized:"","transition-show":"slide-left","transition-hide":"slide-right"},{default:u(()=>[o(te,{class:"bg-black text-white"},{default:u(()=>[o(C,{class:"row items-center q-pb-none"},{default:u(()=>[c("div",{class:"col-auto cursor-pointer",onClick:e[5]||(e[5]=l=>t.$router.push("/"))},[...e[18]||(e[18]=[c("img",{src:"/header_logo_inverse.png",class:"q-pr-md",style:{height:"60px"}},null,-1)])]),o(K),be(o(y,{icon:"close",flat:"",round:"",dense:"",label:"sluiten",stack:"","no-caps":""},null,512),[[we]])]),_:1}),o(C,{class:"q-mt-xl"},{default:u(()=>[c("div",{class:"mobilemenutitle roc",onClick:e[6]||(e[6]=l=>s.gaNaar("/"))},"Home")]),_:1}),o(T,{color:"secondary",inset:"",spaced:""}),o(C,null,{default:u(()=>[c("div",{class:"mobilemenutitle roc",onClick:e[7]||(e[7]=l=>s.gaNaar("/collectie"))}," Collectie ")]),_:1}),o(T,{color:"secondary",inset:"",spaced:""}),o(C,null,{default:u(()=>[c("div",{class:"mobilemenutitle roc",onClick:e[8]||(e[8]=l=>s.gaNaar("/nieuws"))}," Nieuws ")]),_:1}),o(T,{color:"secondary",inset:"",spaced:""}),o(C,null,{default:u(()=>[c("div",{class:"mobilemenutitle roc",onClick:e[9]||(e[9]=l=>s.gaNaar("/projecten"))}," Projecten ")]),_:1}),o(T,{color:"secondary",inset:"",spaced:""}),o(C,null,{default:u(()=>[c("div",{class:"mobilemenutitle roc",onClick:e[10]||(e[10]=l=>s.gaNaar("/defriesefilm"))}," De Friese Film ")]),_:1}),o(T,{color:"secondary",inset:"",spaced:""}),o(C,null,{default:u(()=>[c("div",{class:"mobilemenutitle roc",onClick:e[11]||(e[11]=l=>s.gaNaar("/overons"))}," Over ons ")]),_:1}),o(T,{color:"secondary",inset:"",spaced:""}),o(C,null,{default:u(()=>[c("div",ht,[e[20]||(e[20]=c("div",{class:"text-bold"},"Contact",-1)),e[21]||(e[21]=x(" Boterhoek 1",-1)),e[22]||(e[22]=c("br",null,null,-1)),e[23]||(e[23]=x(" 8911DH Leeuwarden",-1)),e[24]||(e[24]=c("br",null,null,-1)),e[25]||(e[25]=c("br",null,null,-1)),o(V,{name:"r_phone",class:"q-mr-sm"}),e[26]||(e[26]=c("a",{href:"tel:058-7890714"}
1,"058-7890714",-1)),e[27]||(e[27]=c("br",null,null,-1)),o(V,{name:"r_mail",class:"q-mr-sm"}),e[28]||(e[28]=c("a",{href:"mailto:[email protected]"},"[email protected]",-1)),e[29]||(e[29]=c("div",{class:"text-bold q-mt-md"},"Openingstijden",-1)),e[30]||(e[30]=x(" maandag - donderdag: 09:00 tot 16:30 uur",-1)),e[31]||(e[31]=c("br",null,null,-1)),e[32]||(e[32]=x(" vrijdag: 09:00 tot 13:00 uur",-1)),e[33]||(e[33]=c("br",null,null,-1)),o(Ae,{class:"no-shadow q-my-lg"},{default:u(()=>[o(y,{dense:"",class:"q-px-sm",icon:"fa-brands fa-youtube",href:"https://www.youtube.com/user/FriesFilmArchief",target:"_blank"}),o(y,{dense:"",class:"q-px-sm",icon:"fa-brands fa-instagram",href:"https://www.instagram.com/friesfilmenaudioarchief/",target:"_blank"}),o(y,{dense:"",class:"q-px-sm",icon:"fa-brands fa-square-facebook",href:"https://www.facebook.com/FriesFilmArchief",target:"_blank"}),o(y,{dense:"",class:"q-px-sm",icon:"fa-brands fa-soundcloud",href:"https://soundcloud.com/friesfilmenaudioarchief",target:"_blank"}),o(y,{dense:"",class:"q-px-sm",icon:"fa-brands fa-linkedin-in",href:"https://nl.linkedin.com/company/fries-film-archief",target:"_blank"})]),_:1}),c("div",yt,[e[19]||(e[19]=x(" \xA9 Copyright 2023 Fries Film & Audio Archief. Onderdeel van Film in Friesland. ",-1)),c("span",wt,"v. "+O(t.$versie),1)])])]),_:1})]),_:1})]),_:1},8,["modelValue"]),o(ie,{modelValue:i.loginDialog,"onUpdate:modelValue":e[14]||(e[14]=l=>i.loginDialog=l),persistent:""},{default:u(()=>[o(te,{style:{width:"500px","max-width":"80vw"},bordered:""},{default:u(()=>[o(Fe,{onSubmit:e[13]||(e[13]=l=>t.inloggen())},{default:u(()=>[o(C,{class:"row items-center bg-secondary text-h6"},{default:u(()=>[o(V,{name:"r_login",class:"q-mx-md"}),e[34]||(e[34]=x(" Inloggen ",-1))]),_:1}),o(C,{class:"q-mx-md"},{default:u(()=>[...e[35]||(e[35]=[x(' Het inloggen is verplaatst naar een knop in de footer met de knoptekst "(versie xx.xx.xx)". ',-1)])]),_:1}),o(he,{class:"q-my-md q-mx-lg"},{default:u(()=>[o(K),o(y,{label:"ok",class:"full-width",color:"primary",onClick:s.scrollNaarBeheerbutton},null,8,["onClick"])]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"]),o(ie,{modelValue:i.maisDialog,"onUpdate:modelValue":e[16]||(e[16]=l=>i.maisDialog=l)},{default:u(()=>[o(te,{style:{width:"500px","max-width":"80vw"},bordered:""},{default:u(()=>[o(C,{class:"row items-center bg-secondary text-h6"},{default:u(()=>[...e[36]||(e[36]=[x(" MAIS/Flexis uploaden ",-1)])]),_:1}),o(C,{class:"q-gutter-md"},{default:u(()=>[o(Fe,{onSubmit:s.maisUploadSubmit,class:"q-gutter-md"},{default:u(()=>[o(it,{modelValue:i.xmlFile,"onUpdate:modelValue":e[15]||(e[15]=l=>i.xmlFile=l),label:"XML Bestand",accept:".xml",onRejected:s.maisUploadonRejected},{prepend:u(()=>[o(V,{name:"cloud_upload"})]),_:1},8,["modelValue","onRejected"]),i.rejectedFiles.length>0?(h(),z("div",xt,[c("div",kt," Niet geaccepteerde bestanden: "+O(i.rejectedFiles.map(l
1=>l.name).join(", ")),1)])):A("",!0),o(he,{align:"right"},{default:u(()=>[be(o(y,{label:"Annuleren",color:"red-14"},null,512),[[we]]),o(y,{type:"submit",label:"Opslaan",color:"primary"})]),_:1})]),_:1},8,["onSubmit"])]),_:1})]),_:1})]),_:1},8,["modelValue"])])}var Ft=me(ft,[["render",qt]]);function _t(t){const e=Object.assign({noopener:!0},t),n=[];for(const a in e){const i=e[a];i===!0?n.push(a):(We(i)||typeof i=="string"&&i!=="")&&n.push(a+"="+i)}return n.join(",")}function _e(t,e,n){var s;let a=window.open;if(re.is.cordova===!0){if(((s=cordova==null?void 0:cordova.InAppBrowser)==null?void 0:s.open)!==void 0)a=cordova.InAppBrowser.open;else if((navigator==null?void 0:navigator.app)!==void 0)return navigator.app.loadUrl(t,{openExternal:!0})}const i=a(t,"_blank",_t(n));if(i)return re.is.desktop&&i.focus(),i;e==null||e()}var Ct=(t,e,n)=>{if(re.is.ios===!0&&window.SafariViewController!==void 0){window.SafariViewController.isAvailable(a=>{a?window.SafariViewController.show({url:t},fe,e):_e(t,e,n)});return}return _e(t,e,n)};const{login:St}=ot(),zt={name:"FFAHeader",data(){return{s:this.$store,menu:[{label:"Collectie",items:["item","item","item","item","item","item"]},{label:"De Friese Film",items:["item","item","item","item","item","item"]},{label:"Nieuws"},{label:"Projecten",items:["item","item","item","item","item","item"]},{label:"Over ons"}]}},mounted(){},methods:{gaNaar(t){Ct(t)},async handleLogin(){try{const t=await St(),n=await(await fetch(`${this.s.api}user/verify`,{method:"POST",headers:{Authorization:`Bearer ${t.token}`,"X-Omgeving":"FFAA"}})).json();if(n.token){const a=new Date;this.$q.localStorage.set("expire",a.getTime()+604800*1e3),this.$q.localStorage.set("token",n.token),this.s.ingelogd=!0,this.s.bewerkmodus=!0,this.s.gebruikersrol=n.rol,this.s.gebruiker=t,this.bewerken=!0,this.$q.notify({color:"primary",message:"Ingelogd."})}else this.$q.localStorage.remove("token"),this.$q.notify({color:"red",message:"Fout."})}catch(t){this.$q.notify({color:"red",message:"Fout."}),console.error("Login mislukt",t)}}},computed:{jaar(){return new Date().getFullYear()},iconJaNee(){return this.s.bewerken?"icon-right":"niks"}}},$t={style:{"max-width":"1600px",margin:"0 auto"},class:"q-px-lg q-pt-xl"},At={class:"col-xs-12 col-sm-3 q-pa-md"},Qt={class:"col-xs-12 col-sm-3 q-pa-md"},Mt={class:"text-secondary text-center text-caption q-py-md"};function Vt(t,e,n,a,i,s){return h(),z("footer",$t,[c("div",{class:G(["row bg-secondary rondehoeken meerruimte text-dark",t.$q.screen.gt.md?"q-pa-lg":"q-pa-md"])}
1,[e[11]||(e[11]=ye('<div class="col-xs-12 col-sm-3 self-center q-pa-md" data-v-be87596e><img src="/header_logo.png" style="width:100%;max-width:250px;" data-v-be87596e></div><div class="col-xs-12 col-sm-3 q-pa-md" data-v-be87596e><div class="text-bold" data-v-be87596e>Bezoekadres</div> Boterhoek 1<br data-v-be87596e> 8911DH Leeuwarden<br data-v-be87596e><div class="text-bold q-mt-md" data-v-be87596e>Postadres</div> Postbus 2637<br data-v-be87596e> 8901AC Leeuwarden<br data-v-be87596e></div>',2)),c("div",At,[e[1]||(e[1]=c("div",{class:"text-bold"},"Contact",-1)),o(V,{name:"r_phone",color:"dark",class:"q-mr-sm"}),e[2]||(e[2]=c("a",{href:"tel:058-7890714"},"058-7890714",-1)),e[3]||(e[3]=c("br",null,null,-1)),o(V,{name:"r_mail",color:"dark",class:"q-mr-sm"}),e[4]||(e[4]=c("a",{href:"mailto:[email protected]"},"[email protected]",-1)),e[5]||(e[5]=c("div",{class:"text-bold q-mt-md"},"Openingstijden",-1)),e[6]||(e[6]=x(" maandag - donderdag: 09:00 tot 16:30 uur",-1)),e[7]||(e[7]=c("br",null,null,-1)),e[8]||(e[8]=x(" vrijdag: 09:00 tot 13:00 uur",-1)),e[9]||(e[9]=c("br",null,null,-1))]),c("div",Qt,[e[10]||(e[10]=ye('<div class="text-bold" data-v-be87596e>Film in Friesland</div><a href="https://sliekerfilm.nl/" data-v-be87596e>Slieker Film</a><br data-v-be87596e><a href="https://www.friesfilm-audioarchief.nl/" data-v-be87596e>Fries Film & Audio Archief</a><br data-v-be87596e><a href="https://noordelijkfilmfestival.nl/" data-v-be87596e>Noordelijk Film Festival</a><br data-v-be87596e>\u2192 <a href="/Algemene_Voorwaarden_FiF.pdf" target="_blank" class="text-caption" data-v-be87596e>Algemene voorwaarden</a>',9)),c("div",null,[o(Ae,{class:"no-shadow q-mt-lg"},{default:u(()=>[o(y,{dense:"",class:"q-px-sm",icon:"fa-brands fa-youtube",href:"https://www.youtube.com/user/FriesFilmArchief",target:"_blank"}),o(y,{dense:"",class:"q-px-sm",icon:"fa-brands fa-instagram",href:"https://www.instagram.com/friesfilmenaudioarchief/",target:"_blank"}),o(y,{dense:"",class:"q-px-sm",icon:"fa-brands fa-square-facebook",href:"https://www.facebook.com/FriesFilmArchief",target:"_blank"}),o(y,{dense:"",class:"q-px-sm",icon:"fa-brands fa-soundcloud",href:"https://soundcloud.com/friesfilmenaudioarchief",target:"_blank"}),o(y,{dense:"",class:"q-px-sm",icon:"fa-brands fa-linkedin-in",href:"https://nl.linkedin.com/company/fries-film-archief",target:"_blank"})]),_:1})])])],2),c("div",Mt,[x(" \xA9 Copyright "+O(s.jaar)+" Fries Film & Audio Archief. Onderdeel van Film in Friesland. ",1),o(y,Ke({id:"beheerbutton",[s.iconJaNee||""]:"lock_open",flat:"",ripple:!1,dense:"",size:"1em","no-wrap":"","no-caps":"",label:`(versie ${t.$versie})`,tabindex:"-1",class:"text-weight-thin q-mx-sm q-px-sm",onClick:e[0]||(e[0]=l=>s.handleLogin())}),{default:u(()=>[o($e,{anchor:"top middle",self:"bottom middle",offset:[10,10]},{default:u(()=>[...e[12]||(e[12]=[x(" beheer ",-1)])]),_:1})]),_:1},16,["label"])])])}var Lt=me(zt,[["render",Vt],["__scopeId","data-v-be87596e"]]);const Nt='<circle cx="12.5" cy="12.5" r="12.5"><animate attributeName="fill-opacity" begin="0s" dur="1s" values="1;.2;1" calcMode="linear" repeatCount="indefinite"></animate></circle><circle cx="12.5" cy="52.5" r="12.5" fill-opacity=".5"><animate attributeName="fill-opacity" begin="100ms" dur="1s" values="1;.2;1" calcMode="linear" repeatCount="indefinite"></animate></circle><circle cx="52.5" cy="12.5" r="12.5"><animate attributeName="fill-opacity" begin="300ms" dur="1s" values="1;.2;1" calcMode="linear" repeatCount="indefinite"></animate></circle><circle cx="52.5" cy="52.5" r="12.5"><animate attributeName="fill-opacity" begin="600ms" dur="1s" values="1;.2;1" calcMode="linear" repeatCount="indefinite"></animate></circle><circle cx="92.5" cy="12.5" r="12.5"><animate attributeName="fill-opacity" begin="800ms" dur="1s" values="1;.2;1" calcMode="linear" repeatCount="indefinite"></animate></circle><circle cx="92.5" cy="52.5" r="12.5"><animate attributeName="fill-opacity" begin="400ms" dur="1s" values="1;.2;1" calcMode="linear" repeatCount="indefinite"></animate></circle><circle cx="12.5" cy="92.5" r="12.5"><animate attributeName="fill-opacity" begin="700ms" dur="1s" values="1;.2;
11" calcMode="linear" repeatCount="indefinite"></animate></circle><circle cx="52.5" cy="92.5" r="12.5"><animate attributeName="fill-opacity" begin="500ms" dur="1s" values="1;.2;1" calcMode="linear" repeatCount="indefinite"></animate></circle><circle cx="92.5" cy="92.5" r="12.5"><animate attributeName="fill-opacity" begin="200ms" dur="1s" values="1;.2;1" calcMode="linear" repeatCount="indefinite"></animate></circle>';var Pt=L({name:"QSpinnerGrid",props:Ge,setup(t){const{cSize:e,classes:n}=Je(t);return()=>F("svg",{class:n.value,fill:"currentColor",width:e.value,height:e.value,viewBox:"0 0 105 105",xmlns:"http://www.w3.org/2000/svg",innerHTML:Nt})}}),jt=t=>{const e={activated(){this.__qMeta.active=!0,H()},deactivated(){this.__qMeta.active=!1,H()},unmounted(){W.splice(W.indexOf(this.__qMeta),1),H(),this.__qMeta=void 0}};return typeof t=="function"?Object.assign(e,{computed:{__qMetaOptions(){return t.call(this)||{}}},watch:{__qMetaOptions(n){this.__qMeta.val=n,this.__qMeta.active===!0&&H()}},created(){this.__qMeta={active:!0,val:this.__qMetaOptions},W.push(this.__qMeta),H()}}):e.created=function(){this.__qMeta={active:!0,val:t},W.push(this.__qMeta),H()},e};const Ot={mixins:[jt(function(){return{title:"Fries Film & Audio Archief",meta:{robots:{name:"robots",content:this.robots},description:{name:"description",content:"Het Fries Film & Audio Archief bewaart al sinds 1988 de filmgeschiedenis van Friesland. Onze collectie, inmiddels zo'n 20.000 dragers, loopt uiteen van professionele speelfilms tot omroeparchieven en familiefilms. Daarnaast archiveren wij ook verschillende audiocollecties, zoals oude Friese dialectopnames en Friesland Pop."}}}})],components:{FFAHeader:Ft,FFAFooter:Lt},data(){return{s:this.$store,openUp:!1,robots:this.$store.liveomgeving?"all":"noindex, nofollow"}},mounted(){},created(){ze.show({spinner:Pt,spinnerColor:"primary"}),Promise.all([this.s.loadSettings(),this.s.loadCollecties()]).then(t=>{this.openUp=!0})}},Dt={class:"q-px-xs gt-xs"};function Tt(t,e,n,a,i,s){const l=oe("FFAHeader"),b=oe("router-view"),v=oe("FFAFooter");return h(),M(rt,{view:"lHh Lpr lFf",class:"container bg-dark"},{default:u(()=>[o(l),i.openUp?(h(),M(lt,{key:0},{default:u(()=>[o(b,null,{default:u(({Component:m})=>[(h(),M(Xe,null,[(h(),M(Ye(m)))],1024))]),_:1})]),_:1})):A("",!0),e[0]||(e[0]=c("div",{class:"ruimte q-px-xl q-mx-xl gt-xs"},null,-1)),c("div",Dt,[o(v,{id:"websitefooter"})])]),_:1})}var ei=me(Ot,[["render",Tt],["__scopeId","data-v-5fc1e7ba"]]);export{ei 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.