diff --git a/assets/index-4f3c5287.js b/assets/index-866a60b5.js similarity index 59% rename from assets/index-4f3c5287.js rename to assets/index-866a60b5.js index f82238a..aafffca 100644 --- a/assets/index-4f3c5287.js +++ b/assets/index-866a60b5.js @@ -1,17 +1,17 @@ -var um=Object.defineProperty;var hm=(t,e,i)=>e in t?um(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var Kl=(t,e,i)=>(hm(t,typeof e!="symbol"?e+"":e,i),i);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const r of a.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function i(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(s){if(s.ep)return;s.ep=!0;const a=i(s);fetch(s.href,a)}})();function ah(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let an=ah();function dm(t){an=t}const rh=/[&<>"']/,fm=new RegExp(rh.source,"g"),oh=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,mm=new RegExp(oh.source,"g"),pm={"&":"&","<":"<",">":">",'"':""","'":"'"},Ul=t=>pm[t];function ct(t,e){if(e){if(rh.test(t))return t.replace(fm,Ul)}else if(oh.test(t))return t.replace(mm,Ul);return t}const gm=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function lh(t){return t.replace(gm,(e,i)=>(i=i.toLowerCase(),i==="colon"?":":i.charAt(0)==="#"?i.charAt(1)==="x"?String.fromCharCode(parseInt(i.substring(2),16)):String.fromCharCode(+i.substring(1)):""))}const ym=/(^|[^\[])\^/g;function Fe(t,e){t=typeof t=="string"?t:t.source,e=e||"";const i={replace:(n,s)=>(s=s.source||s,s=s.replace(ym,"$1"),t=t.replace(n,s),i),getRegex:()=>new RegExp(t,e)};return i}const bm=/[^\w:]/g,_m=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Bl(t,e,i){if(t){let n;try{n=decodeURIComponent(lh(i)).replace(bm,"").toLowerCase()}catch{return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0)return null}e&&!_m.test(i)&&(i=xm(e,i));try{i=encodeURI(i).replace(/%25/g,"%")}catch{return null}return i}const Hs={},vm=/^[^:]+:\/*[^/]*$/,Nm=/^([^:]+:)[\s\S]*$/,wm=/^([^:]+:\/*[^/]*)[\s\S]*$/;function xm(t,e){Hs[" "+t]||(vm.test(t)?Hs[" "+t]=t+"/":Hs[" "+t]=pa(t,"/",!0)),t=Hs[" "+t];const i=t.indexOf(":")===-1;return e.substring(0,2)==="//"?i?e:t.replace(Nm,"$1")+e:e.charAt(0)==="/"?i?e:t.replace(wm,"$1")+e:t+e}const ka={exec:function(){}};function ql(t,e){const i=t.replace(/\|/g,(a,r,o)=>{let l=!1,c=r;for(;--c>=0&&o[c]==="\\";)l=!l;return l?"|":" |"}),n=i.split(/ \|/);let s=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>e)n.splice(e);else for(;n.lengthe in t?uf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var Vl=(t,e,i)=>(hf(t,typeof e!="symbol"?e+"":e,i),i);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const r of a.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function i(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(s){if(s.ep)return;s.ep=!0;const a=i(s);fetch(s.href,a)}})();function ah(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let an=ah();function df(t){an=t}const rh=/[&<>"']/,mf=new RegExp(rh.source,"g"),oh=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,ff=new RegExp(oh.source,"g"),pf={"&":"&","<":"<",">":">",'"':""","'":"'"},Ul=t=>pf[t];function ct(t,e){if(e){if(rh.test(t))return t.replace(mf,Ul)}else if(oh.test(t))return t.replace(ff,Ul);return t}const gf=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function lh(t){return t.replace(gf,(e,i)=>(i=i.toLowerCase(),i==="colon"?":":i.charAt(0)==="#"?i.charAt(1)==="x"?String.fromCharCode(parseInt(i.substring(2),16)):String.fromCharCode(+i.substring(1)):""))}const yf=/(^|[^\[])\^/g;function Fe(t,e){t=typeof t=="string"?t:t.source,e=e||"";const i={replace:(n,s)=>(s=s.source||s,s=s.replace(yf,"$1"),t=t.replace(n,s),i),getRegex:()=>new RegExp(t,e)};return i}const bf=/[^\w:]/g,_f=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Bl(t,e,i){if(t){let n;try{n=decodeURIComponent(lh(i)).replace(bf,"").toLowerCase()}catch{return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0)return null}e&&!_f.test(i)&&(i=wf(e,i));try{i=encodeURI(i).replace(/%25/g,"%")}catch{return null}return i}const Ys={},vf=/^[^:]+:\/*[^/]*$/,Nf=/^([^:]+:)[\s\S]*$/,xf=/^([^:]+:\/*[^/]*)[\s\S]*$/;function wf(t,e){Ys[" "+t]||(vf.test(t)?Ys[" "+t]=t+"/":Ys[" "+t]=pa(t,"/",!0)),t=Ys[" "+t];const i=t.indexOf(":")===-1;return e.substring(0,2)==="//"?i?e:t.replace(Nf,"$1")+e:e.charAt(0)==="/"?i?e:t.replace(xf,"$1")+e:t+e}const ka={exec:function(){}};function ql(t,e){const i=t.replace(/\|/g,(a,r,o)=>{let l=!1,c=r;for(;--c>=0&&o[c]==="\\";)l=!l;return l?"|":" |"}),n=i.split(/ \|/);let s=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>e)n.splice(e);else for(;n.length{const a=s.match(/^\s+/);if(a===null)return s;const[r]=a;return r.length>=n.length?s.slice(n.length):s}).join(` `)}class Oo{constructor(e){this.options=e||an}space(e){const i=this.rules.block.newline.exec(e);if(i&&i[0].length>0)return{type:"space",raw:i[0]}}code(e){const i=this.rules.block.code.exec(e);if(i){const n=i[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:i[0],codeBlockStyle:"indented",text:this.options.pedantic?n:pa(n,` -`)}}}fences(e){const i=this.rules.block.fences.exec(e);if(i){const n=i[0],s=Em(n,i[3]||"");return{type:"code",raw:n,lang:i[2]?i[2].trim().replace(this.rules.inline._escapes,"$1"):i[2],text:s}}}heading(e){const i=this.rules.block.heading.exec(e);if(i){let n=i[2].trim();if(/#$/.test(n)){const s=pa(n,"#");(this.options.pedantic||!s||/ $/.test(s))&&(n=s.trim())}return{type:"heading",raw:i[0],depth:i[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){const i=this.rules.block.hr.exec(e);if(i)return{type:"hr",raw:i[0]}}blockquote(e){const i=this.rules.block.blockquote.exec(e);if(i){const n=i[0].replace(/^ *>[ \t]?/gm,""),s=this.lexer.state.top;this.lexer.state.top=!0;const a=this.lexer.blockTokens(n);return this.lexer.state.top=s,{type:"blockquote",raw:i[0],tokens:a,text:n}}}list(e){let i=this.rules.block.list.exec(e);if(i){let n,s,a,r,o,l,c,u,h,d,f,m,p=i[1].trim();const y=p.length>1,_={type:"list",raw:"",ordered:y,start:y?+p.slice(0,-1):"",loose:!1,items:[]};p=y?`\\d{1,9}\\${p.slice(-1)}`:`\\${p}`,this.options.pedantic&&(p=y?p:"[*+-]");const v=new RegExp(`^( {0,3}${p})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;e&&(m=!1,!(!(i=v.exec(e))||this.rules.block.hr.test(e)));){if(n=i[0],e=e.substring(n.length),u=i[2].split(` -`,1)[0].replace(/^\t+/,w=>" ".repeat(3*w.length)),h=e.split(` -`,1)[0],this.options.pedantic?(r=2,f=u.trimLeft()):(r=i[2].search(/[^ ]/),r=r>4?1:r,f=u.slice(r),r+=i[1].length),l=!1,!u&&/^ *$/.test(h)&&(n+=h+` -`,e=e.substring(h.length+1),m=!0),!m){const w=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),F=new RegExp(`^ {0,${Math.min(3,r-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),L=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:\`\`\`|~~~)`),$=new RegExp(`^ {0,${Math.min(3,r-1)}}#`);for(;e&&(d=e.split(` -`,1)[0],h=d,this.options.pedantic&&(h=h.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(L.test(h)||$.test(h)||w.test(h)||F.test(e)));){if(h.search(/[^ ]/)>=r||!h.trim())f+=` -`+h.slice(r);else{if(l||u.search(/[^ ]/)>=4||L.test(u)||$.test(u)||F.test(u))break;f+=` +`)}}}fences(e){const i=this.rules.block.fences.exec(e);if(i){const n=i[0],s=Ef(n,i[3]||"");return{type:"code",raw:n,lang:i[2]?i[2].trim().replace(this.rules.inline._escapes,"$1"):i[2],text:s}}}heading(e){const i=this.rules.block.heading.exec(e);if(i){let n=i[2].trim();if(/#$/.test(n)){const s=pa(n,"#");(this.options.pedantic||!s||/ $/.test(s))&&(n=s.trim())}return{type:"heading",raw:i[0],depth:i[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){const i=this.rules.block.hr.exec(e);if(i)return{type:"hr",raw:i[0]}}blockquote(e){const i=this.rules.block.blockquote.exec(e);if(i){const n=i[0].replace(/^ *>[ \t]?/gm,""),s=this.lexer.state.top;this.lexer.state.top=!0;const a=this.lexer.blockTokens(n);return this.lexer.state.top=s,{type:"blockquote",raw:i[0],tokens:a,text:n}}}list(e){let i=this.rules.block.list.exec(e);if(i){let n,s,a,r,o,l,c,u,h,d,m,f,p=i[1].trim();const y=p.length>1,_={type:"list",raw:"",ordered:y,start:y?+p.slice(0,-1):"",loose:!1,items:[]};p=y?`\\d{1,9}\\${p.slice(-1)}`:`\\${p}`,this.options.pedantic&&(p=y?p:"[*+-]");const v=new RegExp(`^( {0,3}${p})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;e&&(f=!1,!(!(i=v.exec(e))||this.rules.block.hr.test(e)));){if(n=i[0],e=e.substring(n.length),u=i[2].split(` +`,1)[0].replace(/^\t+/,x=>" ".repeat(3*x.length)),h=e.split(` +`,1)[0],this.options.pedantic?(r=2,m=u.trimLeft()):(r=i[2].search(/[^ ]/),r=r>4?1:r,m=u.slice(r),r+=i[1].length),l=!1,!u&&/^ *$/.test(h)&&(n+=h+` +`,e=e.substring(h.length+1),f=!0),!f){const x=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),F=new RegExp(`^ {0,${Math.min(3,r-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),L=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:\`\`\`|~~~)`),$=new RegExp(`^ {0,${Math.min(3,r-1)}}#`);for(;e&&(d=e.split(` +`,1)[0],h=d,this.options.pedantic&&(h=h.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(L.test(h)||$.test(h)||x.test(h)||F.test(e)));){if(h.search(/[^ ]/)>=r||!h.trim())m+=` +`+h.slice(r);else{if(l||u.search(/[^ ]/)>=4||L.test(u)||$.test(u)||F.test(u))break;m+=` `+h}!l&&!h.trim()&&(l=!0),n+=d+` -`,e=e.substring(d.length+1),u=h.slice(r)}}_.loose||(c?_.loose=!0:/\n *\n *$/.test(n)&&(c=!0)),this.options.gfm&&(s=/^\[[ xX]\] /.exec(f),s&&(a=s[0]!=="[ ] ",f=f.replace(/^\[[ xX]\] +/,""))),_.items.push({type:"list_item",raw:n,task:!!s,checked:a,loose:!1,text:f}),_.raw+=n}_.items[_.items.length-1].raw=n.trimRight(),_.items[_.items.length-1].text=f.trimRight(),_.raw=_.raw.trimRight();const C=_.items.length;for(o=0;oL.type==="space"),F=w.length>0&&w.some(L=>/\n.*\n/.test(L.raw));_.loose=F}if(_.loose)for(o=0;o$/,"$1").replace(this.rules.inline._escapes,"$1"):"",a=i[3]?i[3].substring(1,i[3].length-1).replace(this.rules.inline._escapes,"$1"):i[3];return{type:"def",tag:n,raw:i[0],href:s,title:a}}}table(e){const i=this.rules.block.table.exec(e);if(i){const n={type:"table",header:ql(i[1]).map(s=>({text:s})),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:i[3]&&i[3].trim()?i[3].replace(/\n[ \t]*$/,"").split(` +`,e=e.substring(d.length+1),u=h.slice(r)}}_.loose||(c?_.loose=!0:/\n *\n *$/.test(n)&&(c=!0)),this.options.gfm&&(s=/^\[[ xX]\] /.exec(m),s&&(a=s[0]!=="[ ] ",m=m.replace(/^\[[ xX]\] +/,""))),_.items.push({type:"list_item",raw:n,task:!!s,checked:a,loose:!1,text:m}),_.raw+=n}_.items[_.items.length-1].raw=n.trimRight(),_.items[_.items.length-1].text=m.trimRight(),_.raw=_.raw.trimRight();const C=_.items.length;for(o=0;oL.type==="space"),F=x.length>0&&x.some(L=>/\n.*\n/.test(L.raw));_.loose=F}if(_.loose)for(o=0;o$/,"$1").replace(this.rules.inline._escapes,"$1"):"",a=i[3]?i[3].substring(1,i[3].length-1).replace(this.rules.inline._escapes,"$1"):i[3];return{type:"def",tag:n,raw:i[0],href:s,title:a}}}table(e){const i=this.rules.block.table.exec(e);if(i){const n={type:"table",header:ql(i[1]).map(s=>({text:s})),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:i[3]&&i[3].trim()?i[3].replace(/\n[ \t]*$/,"").split(` `):[]};if(n.header.length===n.align.length){n.raw=i[0];let s=n.align.length,a,r,o,l;for(a=0;a({text:c}));for(s=n.header.length,r=0;r/i.test(i[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(i[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(i[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:i[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):ct(i[0]):i[0]}}link(e){const i=this.rules.inline.link.exec(e);if(i){const n=i[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;const r=pa(n.slice(0,-1),"\\");if((n.length-r.length)%2===0)return}else{const r=Cm(i[2],"()");if(r>-1){const l=(i[0].indexOf("!")===0?5:4)+i[1].length+r;i[2]=i[2].substring(0,r),i[0]=i[0].substring(0,l).trim(),i[3]=""}}let s=i[2],a="";if(this.options.pedantic){const r=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);r&&(s=r[1],a=r[3])}else a=i[3]?i[3].slice(1,-1):"";return s=s.trim(),/^$/.test(n)?s=s.slice(1):s=s.slice(1,-1)),zl(i,{href:s&&s.replace(this.rules.inline._escapes,"$1"),title:a&&a.replace(this.rules.inline._escapes,"$1")},i[0],this.lexer)}}reflink(e,i){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let s=(n[2]||n[1]).replace(/\s+/g," ");if(s=i[s.toLowerCase()],!s){const a=n[0].charAt(0);return{type:"text",raw:a,text:a}}return zl(n,s,n[0],this.lexer)}}emStrong(e,i,n=""){let s=this.rules.inline.emStrong.lDelim.exec(e);if(!s||s[3]&&n.match(/[\p{L}\p{N}]/u))return;const a=s[1]||s[2]||"";if(!a||a&&(n===""||this.rules.inline.punctuation.exec(n))){const r=s[0].length-1;let o,l,c=r,u=0;const h=s[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(h.lastIndex=0,i=i.slice(-1*e.length+r);(s=h.exec(i))!=null;){if(o=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!o)continue;if(l=o.length,s[3]||s[4]){c+=l;continue}else if((s[5]||s[6])&&r%3&&!((r+l)%3)){u+=l;continue}if(c-=l,c>0)continue;l=Math.min(l,l+c+u);const d=e.slice(0,r+s.index+l+1);if(Math.min(r,l)%2){const m=d.slice(1,-1);return{type:"em",raw:d,text:m,tokens:this.lexer.inlineTokens(m)}}const f=d.slice(2,-2);return{type:"strong",raw:d,text:f,tokens:this.lexer.inlineTokens(f)}}}}codespan(e){const i=this.rules.inline.code.exec(e);if(i){let n=i[2].replace(/\n/g," ");const s=/[^ ]/.test(n),a=/^ /.test(n)&&/ $/.test(n);return s&&a&&(n=n.substring(1,n.length-1)),n=ct(n,!0),{type:"codespan",raw:i[0],text:n}}}br(e){const i=this.rules.inline.br.exec(e);if(i)return{type:"br",raw:i[0]}}del(e){const i=this.rules.inline.del.exec(e);if(i)return{type:"del",raw:i[0],text:i[2],tokens:this.lexer.inlineTokens(i[2])}}autolink(e,i){const n=this.rules.inline.autolink.exec(e);if(n){let s,a;return n[2]==="@"?(s=ct(this.options.mangle?i(n[1]):n[1]),a="mailto:"+s):(s=ct(n[1]),a=s),{type:"link",raw:n[0],text:s,href:a,tokens:[{type:"text",raw:s,text:s}]}}}url(e,i){let n;if(n=this.rules.inline.url.exec(e)){let s,a;if(n[2]==="@")s=ct(this.options.mangle?i(n[0]):n[0]),a="mailto:"+s;else{let r;do r=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(r!==n[0]);s=ct(n[0]),n[1]==="www."?a="http://"+n[0]:a=n[0]}return{type:"link",raw:n[0],text:s,href:a,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(e,i){const n=this.rules.inline.text.exec(e);if(n){let s;return this.lexer.state.inRawBlock?s=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):ct(n[0]):n[0]:s=ct(this.options.smartypants?i(n[0]):n[0]),{type:"text",raw:n[0],text:s}}}}const H={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:ka,lheading:/^((?:(?!^bull ).|\n(?!\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};H._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;H._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;H.def=Fe(H.def).replace("label",H._label).replace("title",H._title).getRegex();H.bullet=/(?:[*+-]|\d{1,9}[.)])/;H.listItemStart=Fe(/^( *)(bull) */).replace("bull",H.bullet).getRegex();H.list=Fe(H.list).replace(/bull/g,H.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+H.def.source+")").getRegex();H._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";H._comment=/|$)/;H.html=Fe(H.html,"i").replace("comment",H._comment).replace("tag",H._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();H.lheading=Fe(H.lheading).replace(/bull/g,H.bullet).getRegex();H.paragraph=Fe(H._paragraph).replace("hr",H.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",H._tag).getRegex();H.blockquote=Fe(H.blockquote).replace("paragraph",H.paragraph).getRegex();H.normal={...H};H.gfm={...H.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};H.gfm.table=Fe(H.gfm.table).replace("hr",H.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",H._tag).getRegex();H.gfm.paragraph=Fe(H._paragraph).replace("hr",H.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",H.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",H._tag).getRegex();H.pedantic={...H.normal,html:Fe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",H._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:ka,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Fe(H.normal._paragraph).replace("hr",H.hr).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",H.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const X={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ka,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[^*]+(?=[^*])|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:ka,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~\\\\"+X._uc_punctuation;X.punctuation=Fe(X.punctuation).replace(/punctuation/g,X._punctuation).getRegex();X.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g;X.escapedPunct=/\\[punct_*]/g;X._comment=Fe(H._comment).replace("(?:-->|$)","-->").getRegex();X.emStrong.lDelim=Fe(X.emStrong.lDelim).replace(/punct/g,X._punctuation).getRegex();X.emStrong.rDelimAst=Fe(X.emStrong.rDelimAst,"g").replace(/punct/g,X._punctuation).getRegex();X.emStrong.rDelimUnd=Fe(X.emStrong.rDelimUnd,"g").replace(/punct/g,X._punctuation).getRegex();X.escapedPunct=Fe(X.escapedPunct,"g").replace(/punct/g,X._punctuation).getRegex();X._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;X._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;X._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;X.autolink=Fe(X.autolink).replace("scheme",X._scheme).replace("email",X._email).getRegex();X._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;X.tag=Fe(X.tag).replace("comment",X._comment).replace("attribute",X._attribute).getRegex();X._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;X._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;X._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;X.link=Fe(X.link).replace("label",X._label).replace("href",X._href).replace("title",X._title).getRegex();X.reflink=Fe(X.reflink).replace("label",X._label).replace("ref",H._label).getRegex();X.nolink=Fe(X.nolink).replace("ref",H._label).getRegex();X.reflinkSearch=Fe(X.reflinkSearch,"g").replace("reflink",X.reflink).replace("nolink",X.nolink).getRegex();X.normal={...X};X.pedantic={...X.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Fe(/^!?\[(label)\]\((.*?)\)/).replace("label",X._label).getRegex(),reflink:Fe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",X._label).getRegex()};X.gfm={...X.normal,escape:Fe(X.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\.5&&(n="x"+n.toString(16)),e+="&#"+n+";";return e}class Mi{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||an,this.options.tokenizer=this.options.tokenizer||new Oo,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const i={block:H.normal,inline:X.normal};this.options.pedantic?(i.block=H.pedantic,i.inline=X.pedantic):this.options.gfm&&(i.block=H.gfm,this.options.breaks?i.inline=X.breaks:i.inline=X.gfm),this.tokenizer.rules=i}static get rules(){return{block:H,inline:X}}static lex(e,i){return new Mi(i).lex(e)}static lexInline(e,i){return new Mi(i).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,` +`?i[1].slice(0,-1):i[1];return{type:"paragraph",raw:i[0],text:n,tokens:this.lexer.inline(n)}}}text(e){const i=this.rules.block.text.exec(e);if(i)return{type:"text",raw:i[0],text:i[0],tokens:this.lexer.inline(i[0])}}escape(e){const i=this.rules.inline.escape.exec(e);if(i)return{type:"escape",raw:i[0],text:ct(i[1])}}tag(e){const i=this.rules.inline.tag.exec(e);if(i)return!this.lexer.state.inLink&&/^/i.test(i[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(i[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(i[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:i[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):ct(i[0]):i[0]}}link(e){const i=this.rules.inline.link.exec(e);if(i){const n=i[2].trim();if(!this.options.pedantic&&/^$/.test(n))return;const r=pa(n.slice(0,-1),"\\");if((n.length-r.length)%2===0)return}else{const r=Cf(i[2],"()");if(r>-1){const l=(i[0].indexOf("!")===0?5:4)+i[1].length+r;i[2]=i[2].substring(0,r),i[0]=i[0].substring(0,l).trim(),i[3]=""}}let s=i[2],a="";if(this.options.pedantic){const r=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);r&&(s=r[1],a=r[3])}else a=i[3]?i[3].slice(1,-1):"";return s=s.trim(),/^$/.test(n)?s=s.slice(1):s=s.slice(1,-1)),zl(i,{href:s&&s.replace(this.rules.inline._escapes,"$1"),title:a&&a.replace(this.rules.inline._escapes,"$1")},i[0],this.lexer)}}reflink(e,i){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let s=(n[2]||n[1]).replace(/\s+/g," ");if(s=i[s.toLowerCase()],!s){const a=n[0].charAt(0);return{type:"text",raw:a,text:a}}return zl(n,s,n[0],this.lexer)}}emStrong(e,i,n=""){let s=this.rules.inline.emStrong.lDelim.exec(e);if(!s||s[3]&&n.match(/[\p{L}\p{N}]/u))return;const a=s[1]||s[2]||"";if(!a||a&&(n===""||this.rules.inline.punctuation.exec(n))){const r=s[0].length-1;let o,l,c=r,u=0;const h=s[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(h.lastIndex=0,i=i.slice(-1*e.length+r);(s=h.exec(i))!=null;){if(o=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!o)continue;if(l=o.length,s[3]||s[4]){c+=l;continue}else if((s[5]||s[6])&&r%3&&!((r+l)%3)){u+=l;continue}if(c-=l,c>0)continue;l=Math.min(l,l+c+u);const d=e.slice(0,r+s.index+l+1);if(Math.min(r,l)%2){const f=d.slice(1,-1);return{type:"em",raw:d,text:f,tokens:this.lexer.inlineTokens(f)}}const m=d.slice(2,-2);return{type:"strong",raw:d,text:m,tokens:this.lexer.inlineTokens(m)}}}}codespan(e){const i=this.rules.inline.code.exec(e);if(i){let n=i[2].replace(/\n/g," ");const s=/[^ ]/.test(n),a=/^ /.test(n)&&/ $/.test(n);return s&&a&&(n=n.substring(1,n.length-1)),n=ct(n,!0),{type:"codespan",raw:i[0],text:n}}}br(e){const i=this.rules.inline.br.exec(e);if(i)return{type:"br",raw:i[0]}}del(e){const i=this.rules.inline.del.exec(e);if(i)return{type:"del",raw:i[0],text:i[2],tokens:this.lexer.inlineTokens(i[2])}}autolink(e,i){const n=this.rules.inline.autolink.exec(e);if(n){let s,a;return n[2]==="@"?(s=ct(this.options.mangle?i(n[1]):n[1]),a="mailto:"+s):(s=ct(n[1]),a=s),{type:"link",raw:n[0],text:s,href:a,tokens:[{type:"text",raw:s,text:s}]}}}url(e,i){let n;if(n=this.rules.inline.url.exec(e)){let s,a;if(n[2]==="@")s=ct(this.options.mangle?i(n[0]):n[0]),a="mailto:"+s;else{let r;do r=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(r!==n[0]);s=ct(n[0]),n[1]==="www."?a="http://"+n[0]:a=n[0]}return{type:"link",raw:n[0],text:s,href:a,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(e,i){const n=this.rules.inline.text.exec(e);if(n){let s;return this.lexer.state.inRawBlock?s=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):ct(n[0]):n[0]:s=ct(this.options.smartypants?i(n[0]):n[0]),{type:"text",raw:n[0],text:s}}}}const Y={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:ka,lheading:/^((?:(?!^bull ).|\n(?!\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};Y._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;Y._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;Y.def=Fe(Y.def).replace("label",Y._label).replace("title",Y._title).getRegex();Y.bullet=/(?:[*+-]|\d{1,9}[.)])/;Y.listItemStart=Fe(/^( *)(bull) */).replace("bull",Y.bullet).getRegex();Y.list=Fe(Y.list).replace(/bull/g,Y.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Y.def.source+")").getRegex();Y._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";Y._comment=/|$)/;Y.html=Fe(Y.html,"i").replace("comment",Y._comment).replace("tag",Y._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();Y.lheading=Fe(Y.lheading).replace(/bull/g,Y.bullet).getRegex();Y.paragraph=Fe(Y._paragraph).replace("hr",Y.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Y._tag).getRegex();Y.blockquote=Fe(Y.blockquote).replace("paragraph",Y.paragraph).getRegex();Y.normal={...Y};Y.gfm={...Y.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};Y.gfm.table=Fe(Y.gfm.table).replace("hr",Y.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Y._tag).getRegex();Y.gfm.paragraph=Fe(Y._paragraph).replace("hr",Y.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",Y.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Y._tag).getRegex();Y.pedantic={...Y.normal,html:Fe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Y._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:ka,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Fe(Y.normal._paragraph).replace("hr",Y.hr).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",Y.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const X={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:ka,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[^*]+(?=[^*])|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:ka,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~\\\\"+X._uc_punctuation;X.punctuation=Fe(X.punctuation).replace(/punctuation/g,X._punctuation).getRegex();X.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g;X.escapedPunct=/\\[punct_*]/g;X._comment=Fe(Y._comment).replace("(?:-->|$)","-->").getRegex();X.emStrong.lDelim=Fe(X.emStrong.lDelim).replace(/punct/g,X._punctuation).getRegex();X.emStrong.rDelimAst=Fe(X.emStrong.rDelimAst,"g").replace(/punct/g,X._punctuation).getRegex();X.emStrong.rDelimUnd=Fe(X.emStrong.rDelimUnd,"g").replace(/punct/g,X._punctuation).getRegex();X.escapedPunct=Fe(X.escapedPunct,"g").replace(/punct/g,X._punctuation).getRegex();X._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;X._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;X._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;X.autolink=Fe(X.autolink).replace("scheme",X._scheme).replace("email",X._email).getRegex();X._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;X.tag=Fe(X.tag).replace("comment",X._comment).replace("attribute",X._attribute).getRegex();X._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;X._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;X._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;X.link=Fe(X.link).replace("label",X._label).replace("href",X._href).replace("title",X._title).getRegex();X.reflink=Fe(X.reflink).replace("label",X._label).replace("ref",Y._label).getRegex();X.nolink=Fe(X.nolink).replace("ref",Y._label).getRegex();X.reflinkSearch=Fe(X.reflinkSearch,"g").replace("reflink",X.reflink).replace("nolink",X.nolink).getRegex();X.normal={...X};X.pedantic={...X.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Fe(/^!?\[(label)\]\((.*?)\)/).replace("label",X._label).getRegex(),reflink:Fe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",X._label).getRegex()};X.gfm={...X.normal,escape:Fe(X.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\.5&&(n="x"+n.toString(16)),e+="&#"+n+";";return e}class Mi{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||an,this.options.tokenizer=this.options.tokenizer||new Oo,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const i={block:Y.normal,inline:X.normal};this.options.pedantic?(i.block=Y.pedantic,i.inline=X.pedantic):this.options.gfm&&(i.block=Y.gfm,this.options.breaks?i.inline=X.breaks:i.inline=X.gfm),this.tokenizer.rules=i}static get rules(){return{block:Y,inline:X}}static lex(e,i){return new Mi(i).lex(e)}static lexInline(e,i){return new Mi(i).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,` `),this.blockTokens(e,this.tokens);let i;for(;i=this.inlineQueue.shift();)this.inlineTokens(i.src,i.tokens);return this.tokens}blockTokens(e,i=[]){this.options.pedantic?e=e.replace(/\t/g," ").replace(/^ +$/gm,""):e=e.replace(/^( *)(\t+)/gm,(o,l,c)=>l+" ".repeat(c.length));let n,s,a,r;for(;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(o=>(n=o.call({lexer:this},e,i))?(e=e.substring(n.raw.length),i.push(n),!0):!1))){if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length),n.raw.length===1&&i.length>0?i[i.length-1].raw+=` `:i.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length),s=i[i.length-1],s&&(s.type==="paragraph"||s.type==="text")?(s.raw+=` `+n.raw,s.text+=` @@ -21,7 +21,7 @@ var um=Object.defineProperty;var hm=(t,e,i)=>e in t?um(t,e,{enumerable:!0,config `+n.raw,s.text+=` `+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):i.push(n),r=a.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length),s=i[i.length-1],s&&s.type==="text"?(s.raw+=` `+n.raw,s.text+=` -`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):i.push(n);continue}if(e){const o="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(o);break}else throw new Error(o)}}return this.state.top=!0,i}inline(e,i=[]){return this.inlineQueue.push({src:e,tokens:i}),i}inlineTokens(e,i=[]){let n,s,a,r=e,o,l,c;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;(o=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)u.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(o=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)r=r.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(o=this.tokenizer.rules.inline.escapedPunct.exec(r))!=null;)r=r.slice(0,o.index)+"++"+r.slice(this.tokenizer.rules.inline.escapedPunct.lastIndex);for(;e;)if(l||(c=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>(n=u.call({lexer:this},e,i))?(e=e.substring(n.raw.length),i.push(n),!0):!1))){if(n=this.tokenizer.escape(e)){e=e.substring(n.raw.length),i.push(n);continue}if(n=this.tokenizer.tag(e)){e=e.substring(n.raw.length),s=i[i.length-1],s&&n.type==="text"&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):i.push(n);continue}if(n=this.tokenizer.link(e)){e=e.substring(n.raw.length),i.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length),s=i[i.length-1],s&&n.type==="text"&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):i.push(n);continue}if(n=this.tokenizer.emStrong(e,r,c)){e=e.substring(n.raw.length),i.push(n);continue}if(n=this.tokenizer.codespan(e)){e=e.substring(n.raw.length),i.push(n);continue}if(n=this.tokenizer.br(e)){e=e.substring(n.raw.length),i.push(n);continue}if(n=this.tokenizer.del(e)){e=e.substring(n.raw.length),i.push(n);continue}if(n=this.tokenizer.autolink(e,Yl)){e=e.substring(n.raw.length),i.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(e,Yl))){e=e.substring(n.raw.length),i.push(n);continue}if(a=e,this.options.extensions&&this.options.extensions.startInline){let u=1/0;const h=e.slice(1);let d;this.options.extensions.startInline.forEach(function(f){d=f.call({lexer:this},h),typeof d=="number"&&d>=0&&(u=Math.min(u,d))}),u<1/0&&u>=0&&(a=e.substring(0,u+1))}if(n=this.tokenizer.inlineText(a,km)){e=e.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(c=n.raw.slice(-1)),l=!0,s=i[i.length-1],s&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):i.push(n);continue}if(e){const u="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return i}}class Go{constructor(e){this.options=e||an}code(e,i,n){const s=(i||"").match(/\S*/)[0];if(this.options.highlight){const a=this.options.highlight(e,s);a!=null&&a!==e&&(n=!0,e=a)}return e=e.replace(/\n$/,"")+` +`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):i.push(n);continue}if(e){const o="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(o);break}else throw new Error(o)}}return this.state.top=!0,i}inline(e,i=[]){return this.inlineQueue.push({src:e,tokens:i}),i}inlineTokens(e,i=[]){let n,s,a,r=e,o,l,c;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;(o=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)u.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(o=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)r=r.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(o=this.tokenizer.rules.inline.escapedPunct.exec(r))!=null;)r=r.slice(0,o.index)+"++"+r.slice(this.tokenizer.rules.inline.escapedPunct.lastIndex);for(;e;)if(l||(c=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>(n=u.call({lexer:this},e,i))?(e=e.substring(n.raw.length),i.push(n),!0):!1))){if(n=this.tokenizer.escape(e)){e=e.substring(n.raw.length),i.push(n);continue}if(n=this.tokenizer.tag(e)){e=e.substring(n.raw.length),s=i[i.length-1],s&&n.type==="text"&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):i.push(n);continue}if(n=this.tokenizer.link(e)){e=e.substring(n.raw.length),i.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length),s=i[i.length-1],s&&n.type==="text"&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):i.push(n);continue}if(n=this.tokenizer.emStrong(e,r,c)){e=e.substring(n.raw.length),i.push(n);continue}if(n=this.tokenizer.codespan(e)){e=e.substring(n.raw.length),i.push(n);continue}if(n=this.tokenizer.br(e)){e=e.substring(n.raw.length),i.push(n);continue}if(n=this.tokenizer.del(e)){e=e.substring(n.raw.length),i.push(n);continue}if(n=this.tokenizer.autolink(e,Hl)){e=e.substring(n.raw.length),i.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(e,Hl))){e=e.substring(n.raw.length),i.push(n);continue}if(a=e,this.options.extensions&&this.options.extensions.startInline){let u=1/0;const h=e.slice(1);let d;this.options.extensions.startInline.forEach(function(m){d=m.call({lexer:this},h),typeof d=="number"&&d>=0&&(u=Math.min(u,d))}),u<1/0&&u>=0&&(a=e.substring(0,u+1))}if(n=this.tokenizer.inlineText(a,kf)){e=e.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(c=n.raw.slice(-1)),l=!0,s=i[i.length-1],s&&s.type==="text"?(s.raw+=n.raw,s.text+=n.text):i.push(n);continue}if(e){const u="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return i}}class Go{constructor(e){this.options=e||an}code(e,i,n){const s=(i||"").match(/\S*/)[0];if(this.options.highlight){const a=this.options.highlight(e,s);a!=null&&a!==e&&(n=!0,e=a)}return e=e.replace(/\n$/,"")+` `,s?'
'+(n?e:ct(e,!0))+`
`:"
"+(n?e:ct(e,!0))+`
`}blockquote(e){return`
@@ -41,22 +41,22 @@ ${e}
`}tablerow(e){return` ${e} `}tablecell(e,i){const n=i.header?"th":"td";return(i.align?`<${n} align="${i.align}">`:`<${n}>`)+e+` -`}strong(e){return`${e}`}em(e){return`${e}`}codespan(e){return`${e}`}br(){return this.options.xhtml?"
":"
"}del(e){return`${e}`}link(e,i,n){if(e=Bl(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let s='
",s}image(e,i,n){if(e=Bl(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let s=`${n}":">",s}text(e){return e}}class ch{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,i,n){return""+n}image(e,i,n){return""+n}br(){return""}}class uh{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,i){let n=e,s=0;if(this.seen.hasOwnProperty(n)){s=this.seen[e];do s++,n=e+"-"+s;while(this.seen.hasOwnProperty(n))}return i||(this.seen[e]=s,this.seen[n]=0),n}slug(e,i={}){const n=this.serialize(e);return this.getNextSafeSlug(n,i.dryrun)}}let Ps=class io{constructor(e){this.options=e||an,this.options.renderer=this.options.renderer||new Go,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ch,this.slugger=new uh}static parse(e,i){return new io(i).parse(e)}static parseInline(e,i){return new io(i).parseInline(e)}parse(e,i=!0){let n="",s,a,r,o,l,c,u,h,d,f,m,p,y,_,v,C,w,F,L;const $=e.length;for(s=0;s<$;s++){if(f=e[s],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[f.type]&&(L=this.options.extensions.renderers[f.type].call({parser:this},f),L!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(f.type))){n+=L||"";continue}switch(f.type){case"space":continue;case"hr":{n+=this.renderer.hr();continue}case"heading":{n+=this.renderer.heading(this.parseInline(f.tokens),f.depth,lh(this.parseInline(f.tokens,this.textRenderer)),this.slugger);continue}case"code":{n+=this.renderer.code(f.text,f.lang,f.escaped);continue}case"table":{for(h="",u="",o=f.header.length,a=0;a0&&v.tokens[0].type==="paragraph"?(v.tokens[0].text=F+" "+v.tokens[0].text,v.tokens[0].tokens&&v.tokens[0].tokens.length>0&&v.tokens[0].tokens[0].type==="text"&&(v.tokens[0].tokens[0].text=F+" "+v.tokens[0].tokens[0].text)):v.tokens.unshift({type:"text",text:F}):_+=F),_+=this.parse(v.tokens,y),d+=this.renderer.listitem(_,w,C);n+=this.renderer.list(d,m,p);continue}case"html":{n+=this.renderer.html(f.text,f.block);continue}case"paragraph":{n+=this.renderer.paragraph(this.parseInline(f.tokens));continue}case"text":{for(d=f.tokens?this.parseInline(f.tokens):f.text;s+1<$&&e[s+1].type==="text";)f=e[++s],d+=` -`+(f.tokens?this.parseInline(f.tokens):f.text);n+=i?this.renderer.paragraph(d):d;continue}default:{const Y='Token with "'+f.type+'" type was not found.';if(this.options.silent){console.error(Y);return}else throw new Error(Y)}}}return n}parseInline(e,i){i=i||this.renderer;let n="",s,a,r;const o=e.length;for(s=0;s{if(n.message+=` -Please report this to https://github.com/markedjs/marked.`,t){const s="

An error occurred:

"+ct(n.message+"",!0)+"
";if(e)return Promise.resolve(s);if(i){i(null,s);return}return s}if(e)return Promise.reject(n);if(i){i(n);return}throw n}}function hh(t,e){return(i,n,s)=>{typeof n=="function"&&(s=n,n=null);const a={...n};n={...J.defaults,...a};const r=Mm(n.silent,n.async,s);if(typeof i>"u"||i===null)return r(new Error("marked(): input parameter is undefined or null"));if(typeof i!="string")return r(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(i)+", string expected"));if(Fm(n,s),n.hooks&&(n.hooks.options=n),s){const o=n.highlight;let l;try{n.hooks&&(i=n.hooks.preprocess(i)),l=t(i,n)}catch(h){return r(h)}const c=function(h){let d;if(!h)try{n.walkTokens&&J.walkTokens(l,n.walkTokens),d=e(l,n),n.hooks&&(d=n.hooks.postprocess(d))}catch(f){h=f}return n.highlight=o,h?r(h):s(null,d)};if(!o||o.length<3||(delete n.highlight,!l.length))return c();let u=0;J.walkTokens(l,function(h){h.type==="code"&&(u++,setTimeout(()=>{o(h.text,h.lang,function(d,f){if(d)return c(d);f!=null&&f!==h.text&&(h.text=f,h.escaped=!0),u--,u===0&&c()})},0))}),u===0&&c();return}if(n.async)return Promise.resolve(n.hooks?n.hooks.preprocess(i):i).then(o=>t(o,n)).then(o=>n.walkTokens?Promise.all(J.walkTokens(o,n.walkTokens)).then(()=>o):o).then(o=>e(o,n)).then(o=>n.hooks?n.hooks.postprocess(o):o).catch(r);try{n.hooks&&(i=n.hooks.preprocess(i));const o=t(i,n);n.walkTokens&&J.walkTokens(o,n.walkTokens);let l=e(o,n);return n.hooks&&(l=n.hooks.postprocess(l)),l}catch(o){return r(o)}}}function J(t,e,i){return hh(Mi.lex,Ps.parse)(t,e,i)}J.options=J.setOptions=function(t){return J.defaults={...J.defaults,...t},dm(J.defaults),J};J.getDefaults=ah;J.defaults=an;J.use=function(...t){const e=J.defaults.extensions||{renderers:{},childTokens:{}};t.forEach(i=>{const n={...i};if(n.async=J.defaults.async||n.async||!1,i.extensions&&(i.extensions.forEach(s=>{if(!s.name)throw new Error("extension name required");if(s.renderer){const a=e.renderers[s.name];a?e.renderers[s.name]=function(...r){let o=s.renderer.apply(this,r);return o===!1&&(o=a.apply(this,r)),o}:e.renderers[s.name]=s.renderer}if(s.tokenizer){if(!s.level||s.level!=="block"&&s.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");e[s.level]?e[s.level].unshift(s.tokenizer):e[s.level]=[s.tokenizer],s.start&&(s.level==="block"?e.startBlock?e.startBlock.push(s.start):e.startBlock=[s.start]:s.level==="inline"&&(e.startInline?e.startInline.push(s.start):e.startInline=[s.start]))}s.childTokens&&(e.childTokens[s.name]=s.childTokens)}),n.extensions=e),i.renderer){const s=J.defaults.renderer||new Go;for(const a in i.renderer){const r=s[a];s[a]=(...o)=>{let l=i.renderer[a].apply(s,o);return l===!1&&(l=r.apply(s,o)),l}}n.renderer=s}if(i.tokenizer){const s=J.defaults.tokenizer||new Oo;for(const a in i.tokenizer){const r=s[a];s[a]=(...o)=>{let l=i.tokenizer[a].apply(s,o);return l===!1&&(l=r.apply(s,o)),l}}n.tokenizer=s}if(i.hooks){const s=J.defaults.hooks||new Ma;for(const a in i.hooks){const r=s[a];Ma.passThroughHooks.has(a)?s[a]=o=>{if(J.defaults.async)return Promise.resolve(i.hooks[a].call(s,o)).then(c=>r.call(s,c));const l=i.hooks[a].call(s,o);return r.call(s,l)}:s[a]=(...o)=>{let l=i.hooks[a].apply(s,o);return l===!1&&(l=r.apply(s,o)),l}}n.hooks=s}if(i.walkTokens){const s=J.defaults.walkTokens;n.walkTokens=function(a){let r=[];return r.push(i.walkTokens.call(this,a)),s&&(r=r.concat(s.call(this,a))),r}}J.setOptions(n)})};J.walkTokens=function(t,e){let i=[];for(const n of t)switch(i=i.concat(e.call(J,n)),n.type){case"table":{for(const s of n.header)i=i.concat(J.walkTokens(s.tokens,e));for(const s of n.rows)for(const a of s)i=i.concat(J.walkTokens(a.tokens,e));break}case"list":{i=i.concat(J.walkTokens(n.items,e));break}default:J.defaults.extensions&&J.defaults.extensions.childTokens&&J.defaults.extensions.childTokens[n.type]?J.defaults.extensions.childTokens[n.type].forEach(function(s){i=i.concat(J.walkTokens(n[s],e))}):n.tokens&&(i=i.concat(J.walkTokens(n.tokens,e)))}return i};J.parseInline=hh(Mi.lexInline,Ps.parseInline);J.Parser=Ps;J.parser=Ps.parse;J.Renderer=Go;J.TextRenderer=ch;J.Lexer=Mi;J.lexer=Mi.lex;J.Tokenizer=Oo;J.Slugger=uh;J.Hooks=Ma;J.parse=J;J.options;J.setOptions;J.use;J.walkTokens;const li=J.parseInline,Im=J;Ps.parse;Mi.lex;function Tm(){return{mangle:!1,walkTokens(t){if(t.type!=="link"||!t.href.startsWith("mailto:"))return;const e=t.href.substring(7),i=Rm(e);t.href=`mailto:${i}`,!(t.tokens.length!==1||t.tokens[0].type!=="text"||t.tokens[0].text!==e)&&(t.text=i,t.tokens[0].text=i)}}}function Rm(t){let e="",i,n;const s=t.length;for(i=0;i.5&&(n="x"+n.toString(16)),e+="&#"+n+";";return e}function Zo(t,e){const i=Object.create(null),n=t.split(",");for(let s=0;s!!i[s.toLowerCase()]:s=>!!i[s]}const Te={},Mn=[],Vt=()=>{},Lm=()=>!1,Sm=/^on[^a-z]/,Qa=t=>Sm.test(t),Xo=t=>t.startsWith("onUpdate:"),rt=Object.assign,Wo=(t,e)=>{const i=t.indexOf(e);i>-1&&t.splice(i,1)},Dm=Object.prototype.hasOwnProperty,ue=(t,e)=>Dm.call(t,e),ee=Array.isArray,In=t=>Os(t)==="[object Map]",er=t=>Os(t)==="[object Set]",Hl=t=>Os(t)==="[object Date]",ne=t=>typeof t=="function",Qe=t=>typeof t=="string",Xn=t=>typeof t=="symbol",Me=t=>t!==null&&typeof t=="object",dh=t=>(Me(t)||ne(t))&&ne(t.then)&&ne(t.catch),fh=Object.prototype.toString,Os=t=>fh.call(t),Am=t=>Os(t).slice(8,-1),mh=t=>Os(t)==="[object Object]",Vo=t=>Qe(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,ga=Zo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),tr=t=>{const e=Object.create(null);return i=>e[i]||(e[i]=t(i))},Pm=/-(\w)/g,ii=tr(t=>t.replace(Pm,(e,i)=>i?i.toUpperCase():"")),Om=/\B([A-Z])/g,$n=tr(t=>t.replace(Om,"-$1").toLowerCase()),ir=tr(t=>t.charAt(0).toUpperCase()+t.slice(1)),Dr=tr(t=>t?`on${ir(t)}`:""),en=(t,e)=>!Object.is(t,e),ya=(t,e)=>{for(let i=0;i{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:i})},Ta=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let $l;const no=()=>$l||($l=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ko(t){if(ee(t)){const e={};for(let i=0;i{if(i){const n=i.split(Zm);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function $i(t){let e="";if(Qe(t))e=t;else if(ee(t))for(let i=0;inr(i,e))}const Ge=t=>Qe(t)?t:t==null?"":ee(t)||Me(t)&&(t.toString===fh||!ne(t.toString))?JSON.stringify(t,gh,2):String(t),gh=(t,e)=>e&&e.__v_isRef?gh(t,e.value):In(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((i,[n,s])=>(i[`${n} =>`]=s,i),{})}:er(e)?{[`Set(${e.size})`]:[...e.values()]}:Me(e)&&!ee(e)&&!mh(e)?String(e):e;let Gt;class qm{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Gt,!e&&Gt&&(this.index=(Gt.scopes||(Gt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const i=Gt;try{return Gt=this,e()}finally{Gt=i}}}on(){Gt=this}off(){Gt=this.parent}stop(e){if(this._active){let i,n;for(i=0,n=this.effects.length;i{const e=new Set(t);return e.w=0,e.n=0,e},yh=t=>(t.w&Ii)>0,bh=t=>(t.n&Ii)>0,Hm=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let i=0;for(let n=0;n{(u==="length"||!Xn(u)&&u>=l)&&o.push(c)})}else switch(i!==void 0&&o.push(r.get(i)),e){case"add":ee(t)?Vo(i)&&o.push(r.get("length")):(o.push(r.get(ji)),In(t)&&o.push(r.get(ro)));break;case"delete":ee(t)||(o.push(r.get(ji)),In(t)&&o.push(r.get(ro)));break;case"set":In(t)&&o.push(r.get(ji));break}if(o.length===1)o[0]&&oo(o[0]);else{const l=[];for(const c of o)c&&l.push(...c);oo(Uo(l))}}function oo(t,e){const i=ee(t)?t:[...t];for(const n of i)n.computed&&Jl(n);for(const n of i)n.computed||Jl(n)}function Jl(t,e){(t!==Xt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const jm=Zo("__proto__,__v_isRef,__isVue"),Nh=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Xn)),Ql=Jm();function Jm(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...i){const n=me(this);for(let a=0,r=this.length;a{t[e]=function(...i){jn();const n=me(this)[e].apply(this,i);return Jn(),n}}),t}function Qm(t){const e=me(this);return Ct(e,"has",t),e.hasOwnProperty(t)}class wh{constructor(e=!1,i=!1){this._isReadonly=e,this._shallow=i}get(e,i,n){const s=this._isReadonly,a=this._shallow;if(i==="__v_isReactive")return!s;if(i==="__v_isReadonly")return s;if(i==="__v_isShallow")return a;if(i==="__v_raw"&&n===(s?a?dp:Eh:a?Fh:Ch).get(e))return e;const r=ee(e);if(!s){if(r&&ue(Ql,i))return Reflect.get(Ql,i,n);if(i==="hasOwnProperty")return Qm}const o=Reflect.get(e,i,n);return(Xn(i)?Nh.has(i):jm(i))||(s||Ct(e,"get",i),a)?o:dt(o)?r&&Vo(i)?o:o.value:Me(o)?s?Mh(o):ar(o):o}}class xh extends wh{constructor(e=!1){super(!1,e)}set(e,i,n,s){let a=e[i];if(Wn(a)&&dt(a)&&!dt(n))return!1;if(!this._shallow&&(!Ra(n)&&!Wn(n)&&(a=me(a),n=me(n)),!ee(e)&&dt(a)&&!dt(n)))return a.value=n,!0;const r=ee(e)&&Vo(i)?Number(i)t,sr=t=>Reflect.getPrototypeOf(t);function $s(t,e,i=!1,n=!1){t=t.__v_raw;const s=me(t),a=me(e);i||(en(e,a)&&Ct(s,"get",e),Ct(s,"get",a));const{has:r}=sr(s),o=n?qo:i?Ho:Ns;if(r.call(s,e))return o(t.get(e));if(r.call(s,a))return o(t.get(a));t!==s&&t.get(e)}function js(t,e=!1){const i=this.__v_raw,n=me(i),s=me(t);return e||(en(t,s)&&Ct(n,"has",t),Ct(n,"has",s)),t===s?i.has(t):i.has(t)||i.has(s)}function Js(t,e=!1){return t=t.__v_raw,!e&&Ct(me(t),"iterate",ji),Reflect.get(t,"size",t)}function ec(t){t=me(t);const e=me(this);return sr(e).has.call(e,t)||(e.add(t),ui(e,"add",t,t)),this}function tc(t,e){e=me(e);const i=me(this),{has:n,get:s}=sr(i);let a=n.call(i,t);a||(t=me(t),a=n.call(i,t));const r=s.call(i,t);return i.set(t,e),a?en(e,r)&&ui(i,"set",t,e):ui(i,"add",t,e),this}function ic(t){const e=me(this),{has:i,get:n}=sr(e);let s=i.call(e,t);s||(t=me(t),s=i.call(e,t)),n&&n.call(e,t);const a=e.delete(t);return s&&ui(e,"delete",t,void 0),a}function nc(){const t=me(this),e=t.size!==0,i=t.clear();return e&&ui(t,"clear",void 0,void 0),i}function Qs(t,e){return function(n,s){const a=this,r=a.__v_raw,o=me(r),l=e?qo:t?Ho:Ns;return!t&&Ct(o,"iterate",ji),r.forEach((c,u)=>n.call(s,l(c),l(u),a))}}function ea(t,e,i){return function(...n){const s=this.__v_raw,a=me(s),r=In(a),o=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,c=s[t](...n),u=i?qo:e?Ho:Ns;return!e&&Ct(a,"iterate",l?ro:ji),{next(){const{value:h,done:d}=c.next();return d?{value:h,done:d}:{value:o?[u(h[0]),u(h[1])]:u(h),done:d}},[Symbol.iterator](){return this}}}}function pi(t){return function(...e){return t==="delete"?!1:this}}function sp(){const t={get(a){return $s(this,a)},get size(){return Js(this)},has:js,add:ec,set:tc,delete:ic,clear:nc,forEach:Qs(!1,!1)},e={get(a){return $s(this,a,!1,!0)},get size(){return Js(this)},has:js,add:ec,set:tc,delete:ic,clear:nc,forEach:Qs(!1,!0)},i={get(a){return $s(this,a,!0)},get size(){return Js(this,!0)},has(a){return js.call(this,a,!0)},add:pi("add"),set:pi("set"),delete:pi("delete"),clear:pi("clear"),forEach:Qs(!0,!1)},n={get(a){return $s(this,a,!0,!0)},get size(){return Js(this,!0)},has(a){return js.call(this,a,!0)},add:pi("add"),set:pi("set"),delete:pi("delete"),clear:pi("clear"),forEach:Qs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{t[a]=ea(a,!1,!1),i[a]=ea(a,!0,!1),e[a]=ea(a,!1,!0),n[a]=ea(a,!0,!0)}),[t,i,e,n]}const[ap,rp,op,lp]=sp();function zo(t,e){const i=e?t?lp:op:t?rp:ap;return(n,s,a)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?n:Reflect.get(ue(i,s)&&s in n?i:n,s,a)}const cp={get:zo(!1,!1)},up={get:zo(!1,!0)},hp={get:zo(!0,!1)},Ch=new WeakMap,Fh=new WeakMap,Eh=new WeakMap,dp=new WeakMap;function fp(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function mp(t){return t.__v_skip||!Object.isExtensible(t)?0:fp(Am(t))}function ar(t){return Wn(t)?t:Yo(t,!1,tp,cp,Ch)}function kh(t){return Yo(t,!1,np,up,Fh)}function Mh(t){return Yo(t,!0,ip,hp,Eh)}function Yo(t,e,i,n,s){if(!Me(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const a=s.get(t);if(a)return a;const r=mp(t);if(r===0)return t;const o=new Proxy(t,r===2?n:i);return s.set(t,o),o}function Tn(t){return Wn(t)?Tn(t.__v_raw):!!(t&&t.__v_isReactive)}function Wn(t){return!!(t&&t.__v_isReadonly)}function Ra(t){return!!(t&&t.__v_isShallow)}function Ih(t){return Tn(t)||Wn(t)}function me(t){const e=t&&t.__v_raw;return e?me(e):t}function Th(t){return Ia(t,"__v_skip",!0),t}const Ns=t=>Me(t)?ar(t):t,Ho=t=>Me(t)?Mh(t):t;function Rh(t){Ci&&Xt&&(t=me(t),vh(t.dep||(t.dep=Uo())))}function Lh(t,e){t=me(t);const i=t.dep;i&&oo(i)}function dt(t){return!!(t&&t.__v_isRef===!0)}function pp(t){return Sh(t,!1)}function gp(t){return Sh(t,!0)}function Sh(t,e){return dt(t)?t:new yp(t,e)}class yp{constructor(e,i){this.__v_isShallow=i,this.dep=void 0,this.__v_isRef=!0,this._rawValue=i?e:me(e),this._value=i?e:Ns(e)}get value(){return Rh(this),this._value}set value(e){const i=this.__v_isShallow||Ra(e)||Wn(e);e=i?e:me(e),en(e,this._rawValue)&&(this._rawValue=e,this._value=i?e:Ns(e),Lh(this))}}function be(t){return dt(t)?t.value:t}const bp={get:(t,e,i)=>be(Reflect.get(t,e,i)),set:(t,e,i,n)=>{const s=t[e];return dt(s)&&!dt(i)?(s.value=i,!0):Reflect.set(t,e,i,n)}};function Dh(t){return Tn(t)?t:new Proxy(t,bp)}class _p{constructor(e,i,n,s){this._setter=i,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Bo(e,()=>{this._dirty||(this._dirty=!0,Lh(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=n}get value(){const e=me(this);return Rh(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function vp(t,e,i=!1){let n,s;const a=ne(t);return a?(n=t,s=Vt):(n=t.get,s=t.set),new _p(n,s,a||!s,i)}function Fi(t,e,i,n){let s;try{s=n?t(...n):t()}catch(a){rr(a,e,i)}return s}function Kt(t,e,i,n){if(ne(t)){const a=Fi(t,e,i,n);return a&&dh(a)&&a.catch(r=>{rr(r,e,i)}),a}const s=[];for(let a=0;a>>1,s=ht[n],a=xs(s);ajt&&ht.splice(e,1)}function Cp(t){ee(t)?Rn.push(...t):(!oi||!oi.includes(t,t.allowRecurse?Ui+1:Ui))&&Rn.push(t),Oh()}function sc(t,e=ws?jt+1:0){for(;exs(i)-xs(n)),Ui=0;Uit.id==null?1/0:t.id,Fp=(t,e)=>{const i=xs(t)-xs(e);if(i===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return i};function Zh(t){lo=!1,ws=!0,ht.sort(Fp);const e=Vt;try{for(jt=0;jtQe(f)?f.trim():f)),h&&(s=i.map(Ta))}let o,l=n[o=Dr(e)]||n[o=Dr(ii(e))];!l&&a&&(l=n[o=Dr($n(e))]),l&&Kt(l,t,6,s);const c=n[o+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[o])return;t.emitted[o]=!0,Kt(c,t,6,s)}}function Xh(t,e,i=!1){const n=e.emitsCache,s=n.get(t);if(s!==void 0)return s;const a=t.emits;let r={},o=!1;if(!ne(t)){const l=c=>{const u=Xh(c,e,!0);u&&(o=!0,rt(r,u))};!i&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!a&&!o?(Me(t)&&n.set(t,null),null):(ee(a)?a.forEach(l=>r[l]=null):rt(r,a),Me(t)&&n.set(t,r),r)}function or(t,e){return!t||!Qa(e)?!1:(e=e.slice(2).replace(/Once$/,""),ue(t,e[0].toLowerCase()+e.slice(1))||ue(t,$n(e))||ue(t,e))}let ft=null,lr=null;function La(t){const e=ft;return ft=t,lr=t&&t.type.__scopeId||null,e}function rn(t){lr=t}function on(){lr=null}function Je(t,e=ft,i){if(!e||t._n)return t;const n=(...s)=>{n._d&&pc(-1);const a=La(e);let r;try{r=t(...s)}finally{La(a),n._d&&pc(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function Ar(t){const{type:e,vnode:i,proxy:n,withProxy:s,props:a,propsOptions:[r],slots:o,attrs:l,emit:c,render:u,renderCache:h,data:d,setupState:f,ctx:m,inheritAttrs:p}=t;let y,_;const v=La(t);try{if(i.shapeFlag&4){const w=s||n;y=$t(u.call(w,w,h,a,f,d,m)),_=l}else{const w=e;y=$t(w.length>1?w(a,{attrs:l,slots:o,emit:c}):w(a,null)),_=e.props?l:kp(l)}}catch(w){ms.length=0,rr(w,t,1),y=B(Ri)}let C=y;if(_&&p!==!1){const w=Object.keys(_),{shapeFlag:F}=C;w.length&&F&7&&(r&&w.some(Xo)&&(_=Mp(_,r)),C=Vn(C,_))}return i.dirs&&(C=Vn(C),C.dirs=C.dirs?C.dirs.concat(i.dirs):i.dirs),i.transition&&(C.transition=i.transition),y=C,La(v),y}const kp=t=>{let e;for(const i in t)(i==="class"||i==="style"||Qa(i))&&((e||(e={}))[i]=t[i]);return e},Mp=(t,e)=>{const i={};for(const n in t)(!Xo(n)||!(n.slice(9)in e))&&(i[n]=t[n]);return i};function Ip(t,e,i){const{props:n,children:s,component:a}=t,{props:r,children:o,patchFlag:l}=e,c=a.emitsOptions;if(e.dirs||e.transition)return!0;if(i&&l>=0){if(l&1024)return!0;if(l&16)return n?ac(n,r,c):!!r;if(l&8){const u=e.dynamicProps;for(let h=0;ht.__isSuspense;function Dp(t,e){e&&e.pendingBranch?ee(t)?e.effects.push(...t):e.effects.push(t):Cp(t)}const ta={};function ba(t,e,i){return Vh(t,e,i)}function Vh(t,e,{immediate:i,deep:n,flush:s,onTrack:a,onTrigger:r}=Te){var o;const l=Ym()===((o=at)==null?void 0:o.scope)?at:null;let c,u=!1,h=!1;if(dt(t)?(c=()=>t.value,u=Ra(t)):Tn(t)?(c=()=>t,n=!0):ee(t)?(h=!0,u=t.some(w=>Tn(w)||Ra(w)),c=()=>t.map(w=>{if(dt(w))return w.value;if(Tn(w))return zi(w);if(ne(w))return Fi(w,l,2)})):ne(t)?e?c=()=>Fi(t,l,2):c=()=>{if(!(l&&l.isUnmounted))return d&&d(),Kt(t,l,3,[f])}:c=Vt,e&&n){const w=c;c=()=>zi(w())}let d,f=w=>{d=v.onStop=()=>{Fi(w,l,4)}},m;if(Fs)if(f=Vt,e?i&&Kt(e,l,3,[c(),h?[]:void 0,f]):c(),s==="sync"){const w=Eg();m=w.__watcherHandles||(w.__watcherHandles=[])}else return Vt;let p=h?new Array(t.length).fill(ta):ta;const y=()=>{if(v.active)if(e){const w=v.run();(n||u||(h?w.some((F,L)=>en(F,p[L])):en(w,p)))&&(d&&d(),Kt(e,l,3,[w,p===ta?void 0:h&&p[0]===ta?[]:p,f]),p=w)}else v.run()};y.allowRecurse=!!e;let _;s==="sync"?_=y:s==="post"?_=()=>Nt(y,l&&l.suspense):(y.pre=!0,l&&(y.id=l.uid),_=()=>jo(y));const v=new Bo(c,_);e?i?y():p=v.run():s==="post"?Nt(v.run.bind(v),l&&l.suspense):v.run();const C=()=>{v.stop(),l&&l.scope&&Wo(l.scope.effects,v)};return m&&m.push(C),C}function Ap(t,e,i){const n=this.proxy,s=Qe(t)?t.includes(".")?Kh(n,t):()=>n[t]:t.bind(n,n);let a;ne(e)?a=e:(a=e.handler,i=e);const r=at;Kn(this);const o=Vh(s,a.bind(n),i);return r?Kn(r):Qi(),o}function Kh(t,e){const i=e.split(".");return()=>{let n=t;for(let s=0;s{zi(i,e)});else if(mh(t))for(const i in t)zi(t[i],e);return t}function Ti(t,e){const i=ft;if(i===null)return t;const n=dr(i)||i.proxy,s=t.dirs||(t.dirs=[]);for(let a=0;art({name:t.name},e,{setup:t}))():t}const ds=t=>!!t.type.__asyncLoader,Bh=t=>t.type.__isKeepAlive;function Pp(t,e){qh(t,"a",e)}function Op(t,e){qh(t,"da",e)}function qh(t,e,i=at){const n=t.__wdc||(t.__wdc=()=>{let s=i;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(cr(e,n,i),i){let s=i.parent;for(;s&&s.parent;)Bh(s.parent.vnode)&&Gp(n,e,i,s),s=s.parent}}function Gp(t,e,i,n){const s=cr(e,t,n,!0);Yh(()=>{Wo(n[e],s)},i)}function cr(t,e,i=at,n=!1){if(i){const s=i[t]||(i[t]=[]),a=e.__weh||(e.__weh=(...r)=>{if(i.isUnmounted)return;jn(),Kn(i);const o=Kt(e,i,t,r);return Qi(),Jn(),o});return n?s.unshift(a):s.push(a),a}}const di=t=>(e,i=at)=>(!Fs||t==="sp")&&cr(t,(...n)=>e(...n),i),Zp=di("bm"),zh=di("m"),Xp=di("bu"),Wp=di("u"),Vp=di("bum"),Yh=di("um"),Kp=di("sp"),Up=di("rtg"),Bp=di("rtc");function qp(t,e=at){cr("ec",t,e)}function Tt(t,e,i,n){let s;const a=i&&i[n];if(ee(t)||Qe(t)){s=new Array(t.length);for(let r=0,o=t.length;re(r,o,void 0,a&&a[o]));else{const r=Object.keys(t);s=new Array(r.length);for(let o=0,l=r.length;oAa(e)?!(e.type===Ri||e.type===Re&&!Hh(e.children)):!0)?t:null}const co=t=>t?rd(t)?dr(t)||t.proxy:co(t.parent):null,fs=rt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>co(t.parent),$root:t=>co(t.root),$emit:t=>t.emit,$options:t=>Jo(t),$forceUpdate:t=>t.f||(t.f=()=>jo(t.update)),$nextTick:t=>t.n||(t.n=Ph.bind(t.proxy)),$watch:t=>Ap.bind(t)}),Pr=(t,e)=>t!==Te&&!t.__isScriptSetup&&ue(t,e),zp={get({_:t},e){const{ctx:i,setupState:n,data:s,props:a,accessCache:r,type:o,appContext:l}=t;let c;if(e[0]!=="$"){const f=r[e];if(f!==void 0)switch(f){case 1:return n[e];case 2:return s[e];case 4:return i[e];case 3:return a[e]}else{if(Pr(n,e))return r[e]=1,n[e];if(s!==Te&&ue(s,e))return r[e]=2,s[e];if((c=t.propsOptions[0])&&ue(c,e))return r[e]=3,a[e];if(i!==Te&&ue(i,e))return r[e]=4,i[e];uo&&(r[e]=0)}}const u=fs[e];let h,d;if(u)return e==="$attrs"&&Ct(t,"get",e),u(t);if((h=o.__cssModules)&&(h=h[e]))return h;if(i!==Te&&ue(i,e))return r[e]=4,i[e];if(d=l.config.globalProperties,ue(d,e))return d[e]},set({_:t},e,i){const{data:n,setupState:s,ctx:a}=t;return Pr(s,e)?(s[e]=i,!0):n!==Te&&ue(n,e)?(n[e]=i,!0):ue(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(a[e]=i,!0)},has({_:{data:t,setupState:e,accessCache:i,ctx:n,appContext:s,propsOptions:a}},r){let o;return!!i[r]||t!==Te&&ue(t,r)||Pr(e,r)||(o=a[0])&&ue(o,r)||ue(n,r)||ue(fs,r)||ue(s.config.globalProperties,r)},defineProperty(t,e,i){return i.get!=null?t._.accessCache[e]=0:ue(i,"value")&&this.set(t,e,i.value,null),Reflect.defineProperty(t,e,i)}};function oc(t){return ee(t)?t.reduce((e,i)=>(e[i]=null,e),{}):t}let uo=!0;function Yp(t){const e=Jo(t),i=t.proxy,n=t.ctx;uo=!1,e.beforeCreate&&lc(e.beforeCreate,t,"bc");const{data:s,computed:a,methods:r,watch:o,provide:l,inject:c,created:u,beforeMount:h,mounted:d,beforeUpdate:f,updated:m,activated:p,deactivated:y,beforeDestroy:_,beforeUnmount:v,destroyed:C,unmounted:w,render:F,renderTracked:L,renderTriggered:$,errorCaptured:Y,serverPrefetch:re,expose:oe,inheritAttrs:_e,components:Ye,directives:Ve,filters:Et}=e;if(c&&Hp(c,n,null),r)for(const j in r){const se=r[j];ne(se)&&(n[j]=se.bind(i))}if(s){const j=s.call(i,i);Me(j)&&(t.data=ar(j))}if(uo=!0,a)for(const j in a){const se=a[j],He=ne(se)?se.bind(i,i):ne(se.get)?se.get.bind(i,i):Vt,$e=!ne(se)&&ne(se.set)?se.set.bind(i):Vt,ot=Oe({get:He,set:$e});Object.defineProperty(n,j,{enumerable:!0,configurable:!0,get:()=>ot.value,set:fe=>ot.value=fe})}if(o)for(const j in o)$h(o[j],n,i,j);if(l){const j=ne(l)?l.call(i):l;Reflect.ownKeys(j).forEach(se=>{_a(se,j[se])})}u&&lc(u,t,"c");function ve(j,se){ee(se)?se.forEach(He=>j(He.bind(i))):se&&j(se.bind(i))}if(ve(Zp,h),ve(zh,d),ve(Xp,f),ve(Wp,m),ve(Pp,p),ve(Op,y),ve(qp,Y),ve(Bp,L),ve(Up,$),ve(Vp,v),ve(Yh,w),ve(Kp,re),ee(oe))if(oe.length){const j=t.exposed||(t.exposed={});oe.forEach(se=>{Object.defineProperty(j,se,{get:()=>i[se],set:He=>i[se]=He})})}else t.exposed||(t.exposed={});F&&t.render===Vt&&(t.render=F),_e!=null&&(t.inheritAttrs=_e),Ye&&(t.components=Ye),Ve&&(t.directives=Ve)}function Hp(t,e,i=Vt){ee(t)&&(t=ho(t));for(const n in t){const s=t[n];let a;Me(s)?"default"in s?a=hi(s.from||n,s.default,!0):a=hi(s.from||n):a=hi(s),dt(a)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:r=>a.value=r}):e[n]=a}}function lc(t,e,i){Kt(ee(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,i)}function $h(t,e,i,n){const s=n.includes(".")?Kh(i,n):()=>i[n];if(Qe(t)){const a=e[t];ne(a)&&ba(s,a)}else if(ne(t))ba(s,t.bind(i));else if(Me(t))if(ee(t))t.forEach(a=>$h(a,e,i,n));else{const a=ne(t.handler)?t.handler.bind(i):e[t.handler];ne(a)&&ba(s,a,t)}}function Jo(t){const e=t.type,{mixins:i,extends:n}=e,{mixins:s,optionsCache:a,config:{optionMergeStrategies:r}}=t.appContext,o=a.get(e);let l;return o?l=o:!s.length&&!i&&!n?l=e:(l={},s.length&&s.forEach(c=>Sa(l,c,r,!0)),Sa(l,e,r)),Me(e)&&a.set(e,l),l}function Sa(t,e,i,n=!1){const{mixins:s,extends:a}=e;a&&Sa(t,a,i,!0),s&&s.forEach(r=>Sa(t,r,i,!0));for(const r in e)if(!(n&&r==="expose")){const o=$p[r]||i&&i[r];t[r]=o?o(t[r],e[r]):e[r]}return t}const $p={data:cc,props:uc,emits:uc,methods:ls,computed:ls,beforeCreate:pt,created:pt,beforeMount:pt,mounted:pt,beforeUpdate:pt,updated:pt,beforeDestroy:pt,beforeUnmount:pt,destroyed:pt,unmounted:pt,activated:pt,deactivated:pt,errorCaptured:pt,serverPrefetch:pt,components:ls,directives:ls,watch:Jp,provide:cc,inject:jp};function cc(t,e){return e?t?function(){return rt(ne(t)?t.call(this,this):t,ne(e)?e.call(this,this):e)}:e:t}function jp(t,e){return ls(ho(t),ho(e))}function ho(t){if(ee(t)){const e={};for(let i=0;i1)return i&&ne(e)?e.call(n&&n.proxy):e}}function tg(t,e,i,n=!1){const s={},a={};Ia(a,hr,1),t.propsDefaults=Object.create(null),Jh(t,e,s,a);for(const r in t.propsOptions[0])r in s||(s[r]=void 0);i?t.props=n?s:kh(s):t.type.props?t.props=s:t.props=a,t.attrs=a}function ig(t,e,i,n){const{props:s,attrs:a,vnode:{patchFlag:r}}=t,o=me(s),[l]=t.propsOptions;let c=!1;if((n||r>0)&&!(r&16)){if(r&8){const u=t.vnode.dynamicProps;for(let h=0;h{l=!0;const[d,f]=Qh(h,e,!0);rt(r,d),f&&o.push(...f)};!i&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!a&&!l)return Me(t)&&n.set(t,Mn),Mn;if(ee(a))for(let u=0;u-1,f[1]=p<0||m-1||ue(f,"default"))&&o.push(h)}}}const c=[r,o];return Me(t)&&n.set(t,c),c}function hc(t){return t[0]!=="$"}function dc(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function fc(t,e){return dc(t)===dc(e)}function mc(t,e){return ee(e)?e.findIndex(i=>fc(i,t)):ne(e)&&fc(e,t)?0:-1}const ed=t=>t[0]==="_"||t==="$stable",Qo=t=>ee(t)?t.map($t):[$t(t)],ng=(t,e,i)=>{if(e._n)return e;const n=Je((...s)=>Qo(e(...s)),i);return n._c=!1,n},td=(t,e,i)=>{const n=t._ctx;for(const s in t){if(ed(s))continue;const a=t[s];if(ne(a))e[s]=ng(s,a,n);else if(a!=null){const r=Qo(a);e[s]=()=>r}}},id=(t,e)=>{const i=Qo(e);t.slots.default=()=>i},sg=(t,e)=>{if(t.vnode.shapeFlag&32){const i=e._;i?(t.slots=me(e),Ia(e,"_",i)):td(e,t.slots={})}else t.slots={},e&&id(t,e);Ia(t.slots,hr,1)},ag=(t,e,i)=>{const{vnode:n,slots:s}=t;let a=!0,r=Te;if(n.shapeFlag&32){const o=e._;o?i&&o===1?a=!1:(rt(s,e),!i&&o===1&&delete s._):(a=!e.$stable,td(e,s)),r=e}else e&&(id(t,e),r={default:1});if(a)for(const o in s)!ed(o)&&r[o]==null&&delete s[o]};function mo(t,e,i,n,s=!1){if(ee(t)){t.forEach((d,f)=>mo(d,e&&(ee(e)?e[f]:e),i,n,s));return}if(ds(n)&&!s)return;const a=n.shapeFlag&4?dr(n.component)||n.component.proxy:n.el,r=s?null:a,{i:o,r:l}=t,c=e&&e.r,u=o.refs===Te?o.refs={}:o.refs,h=o.setupState;if(c!=null&&c!==l&&(Qe(c)?(u[c]=null,ue(h,c)&&(h[c]=null)):dt(c)&&(c.value=null)),ne(l))Fi(l,o,12,[r,u]);else{const d=Qe(l),f=dt(l);if(d||f){const m=()=>{if(t.f){const p=d?ue(h,l)?h[l]:u[l]:l.value;s?ee(p)&&Wo(p,a):ee(p)?p.includes(a)||p.push(a):d?(u[l]=[a],ue(h,l)&&(h[l]=u[l])):(l.value=[a],t.k&&(u[t.k]=l.value))}else d?(u[l]=r,ue(h,l)&&(h[l]=r)):f&&(l.value=r,t.k&&(u[t.k]=r))};r?(m.id=-1,Nt(m,i)):m()}}}const Nt=Dp;function rg(t){return og(t)}function og(t,e){const i=no();i.__VUE__=!0;const{insert:n,remove:s,patchProp:a,createElement:r,createText:o,createComment:l,setText:c,setElementText:u,parentNode:h,nextSibling:d,setScopeId:f=Vt,insertStaticContent:m}=t,p=(g,b,N,k=null,M=null,I=null,G=!1,S=null,P=!!b.dynamicChildren)=>{if(g===b)return;g&&!is(g,b)&&(k=E(g),fe(g,M,I,!0),g=null),b.patchFlag===-2&&(P=!1,b.dynamicChildren=null);const{type:T,ref:U,shapeFlag:W}=b;switch(T){case ur:y(g,b,N,k);break;case Ri:_(g,b,N,k);break;case va:g==null&&v(b,N,k,G);break;case Re:Ye(g,b,N,k,M,I,G,S,P);break;default:W&1?F(g,b,N,k,M,I,G,S,P):W&6?Ve(g,b,N,k,M,I,G,S,P):(W&64||W&128)&&T.process(g,b,N,k,M,I,G,S,P,A)}U!=null&&M&&mo(U,g&&g.ref,I,b||g,!b)},y=(g,b,N,k)=>{if(g==null)n(b.el=o(b.children),N,k);else{const M=b.el=g.el;b.children!==g.children&&c(M,b.children)}},_=(g,b,N,k)=>{g==null?n(b.el=l(b.children||""),N,k):b.el=g.el},v=(g,b,N,k)=>{[g.el,g.anchor]=m(g.children,b,N,k,g.el,g.anchor)},C=({el:g,anchor:b},N,k)=>{let M;for(;g&&g!==b;)M=d(g),n(g,N,k),g=M;n(b,N,k)},w=({el:g,anchor:b})=>{let N;for(;g&&g!==b;)N=d(g),s(g),g=N;s(b)},F=(g,b,N,k,M,I,G,S,P)=>{G=G||b.type==="svg",g==null?L(b,N,k,M,I,G,S,P):re(g,b,M,I,G,S,P)},L=(g,b,N,k,M,I,G,S)=>{let P,T;const{type:U,props:W,shapeFlag:z,transition:te,dirs:ae}=g;if(P=g.el=r(g.type,I,W&&W.is,W),z&8?u(P,g.children):z&16&&Y(g.children,P,null,k,M,I&&U!=="foreignObject",G,S),ae&&Oi(g,null,k,"created"),$(P,g,g.scopeId,G,k),W){for(const he in W)he!=="value"&&!ga(he)&&a(P,he,null,W[he],I,g.children,k,M,Ae);"value"in W&&a(P,"value",null,W.value),(T=W.onVnodeBeforeMount)&&Yt(T,k,g)}ae&&Oi(g,null,k,"beforeMount");const Ne=lg(M,te);Ne&&te.beforeEnter(P),n(P,b,N),((T=W&&W.onVnodeMounted)||Ne||ae)&&Nt(()=>{T&&Yt(T,k,g),Ne&&te.enter(P),ae&&Oi(g,null,k,"mounted")},M)},$=(g,b,N,k,M)=>{if(N&&f(g,N),k)for(let I=0;I{for(let T=P;T{const S=b.el=g.el;let{patchFlag:P,dynamicChildren:T,dirs:U}=b;P|=g.patchFlag&16;const W=g.props||Te,z=b.props||Te;let te;N&&Gi(N,!1),(te=z.onVnodeBeforeUpdate)&&Yt(te,N,b,g),U&&Oi(b,g,N,"beforeUpdate"),N&&Gi(N,!0);const ae=M&&b.type!=="foreignObject";if(T?oe(g.dynamicChildren,T,S,N,k,ae,I):G||se(g,b,S,null,N,k,ae,I,!1),P>0){if(P&16)_e(S,b,W,z,N,k,M);else if(P&2&&W.class!==z.class&&a(S,"class",null,z.class,M),P&4&&a(S,"style",W.style,z.style,M),P&8){const Ne=b.dynamicProps;for(let he=0;he{te&&Yt(te,N,b,g),U&&Oi(b,g,N,"updated")},k)},oe=(g,b,N,k,M,I,G)=>{for(let S=0;S{if(N!==k){if(N!==Te)for(const S in N)!ga(S)&&!(S in k)&&a(g,S,N[S],null,G,b.children,M,I,Ae);for(const S in k){if(ga(S))continue;const P=k[S],T=N[S];P!==T&&S!=="value"&&a(g,S,T,P,G,b.children,M,I,Ae)}"value"in k&&a(g,"value",N.value,k.value)}},Ye=(g,b,N,k,M,I,G,S,P)=>{const T=b.el=g?g.el:o(""),U=b.anchor=g?g.anchor:o("");let{patchFlag:W,dynamicChildren:z,slotScopeIds:te}=b;te&&(S=S?S.concat(te):te),g==null?(n(T,N,k),n(U,N,k),Y(b.children,N,U,M,I,G,S,P)):W>0&&W&64&&z&&g.dynamicChildren?(oe(g.dynamicChildren,z,N,M,I,G,S),(b.key!=null||M&&b===M.subTree)&&nd(g,b,!0)):se(g,b,N,U,M,I,G,S,P)},Ve=(g,b,N,k,M,I,G,S,P)=>{b.slotScopeIds=S,g==null?b.shapeFlag&512?M.ctx.activate(b,N,k,G,P):Et(b,N,k,M,I,G,P):tt(g,b,P)},Et=(g,b,N,k,M,I,G)=>{const S=g.component=bg(g,k,M);if(Bh(g)&&(S.ctx.renderer=A),_g(S),S.asyncDep){if(M&&M.registerDep(S,ve),!g.el){const P=S.subTree=B(Ri);_(null,P,b,N)}return}ve(S,g,b,N,M,I,G)},tt=(g,b,N)=>{const k=b.component=g.component;if(Ip(g,b,N))if(k.asyncDep&&!k.asyncResolved){j(k,b,N);return}else k.next=b,xp(k.update),k.update();else b.el=g.el,k.vnode=b},ve=(g,b,N,k,M,I,G)=>{const S=()=>{if(g.isMounted){let{next:U,bu:W,u:z,parent:te,vnode:ae}=g,Ne=U,he;Gi(g,!1),U?(U.el=ae.el,j(g,U,G)):U=ae,W&&ya(W),(he=U.props&&U.props.onVnodeBeforeUpdate)&&Yt(he,te,U,ae),Gi(g,!0);const Ie=Ar(g),kt=g.subTree;g.subTree=Ie,p(kt,Ie,h(kt.el),E(kt),g,M,I),U.el=Ie.el,Ne===null&&Tp(g,Ie.el),z&&Nt(z,M),(he=U.props&&U.props.onVnodeUpdated)&&Nt(()=>Yt(he,te,U,ae),M)}else{let U;const{el:W,props:z}=b,{bm:te,m:ae,parent:Ne}=g,he=ds(b);if(Gi(g,!1),te&&ya(te),!he&&(U=z&&z.onVnodeBeforeMount)&&Yt(U,Ne,b),Gi(g,!0),W&&ce){const Ie=()=>{g.subTree=Ar(g),ce(W,g.subTree,g,M,null)};he?b.type.__asyncLoader().then(()=>!g.isUnmounted&&Ie()):Ie()}else{const Ie=g.subTree=Ar(g);p(null,Ie,N,k,g,M,I),b.el=Ie.el}if(ae&&Nt(ae,M),!he&&(U=z&&z.onVnodeMounted)){const Ie=b;Nt(()=>Yt(U,Ne,Ie),M)}(b.shapeFlag&256||Ne&&ds(Ne.vnode)&&Ne.vnode.shapeFlag&256)&&g.a&&Nt(g.a,M),g.isMounted=!0,b=N=k=null}},P=g.effect=new Bo(S,()=>jo(T),g.scope),T=g.update=()=>P.run();T.id=g.uid,Gi(g,!0),T()},j=(g,b,N)=>{b.component=g;const k=g.vnode.props;g.vnode=b,g.next=null,ig(g,b.props,k,N),ag(g,b.children,N),jn(),sc(),Jn()},se=(g,b,N,k,M,I,G,S,P=!1)=>{const T=g&&g.children,U=g?g.shapeFlag:0,W=b.children,{patchFlag:z,shapeFlag:te}=b;if(z>0){if(z&128){$e(T,W,N,k,M,I,G,S,P);return}else if(z&256){He(T,W,N,k,M,I,G,S,P);return}}te&8?(U&16&&Ae(T,M,I),W!==T&&u(N,W)):U&16?te&16?$e(T,W,N,k,M,I,G,S,P):Ae(T,M,I,!0):(U&8&&u(N,""),te&16&&Y(W,N,k,M,I,G,S,P))},He=(g,b,N,k,M,I,G,S,P)=>{g=g||Mn,b=b||Mn;const T=g.length,U=b.length,W=Math.min(T,U);let z;for(z=0;zU?Ae(g,M,I,!0,!1,W):Y(b,N,k,M,I,G,S,P,W)},$e=(g,b,N,k,M,I,G,S,P)=>{let T=0;const U=b.length;let W=g.length-1,z=U-1;for(;T<=W&&T<=z;){const te=g[T],ae=b[T]=P?vi(b[T]):$t(b[T]);if(is(te,ae))p(te,ae,N,null,M,I,G,S,P);else break;T++}for(;T<=W&&T<=z;){const te=g[W],ae=b[z]=P?vi(b[z]):$t(b[z]);if(is(te,ae))p(te,ae,N,null,M,I,G,S,P);else break;W--,z--}if(T>W){if(T<=z){const te=z+1,ae=tez)for(;T<=W;)fe(g[T],M,I,!0),T++;else{const te=T,ae=T,Ne=new Map;for(T=ae;T<=z;T++){const Mt=b[T]=P?vi(b[T]):$t(b[T]);Mt.key!=null&&Ne.set(Mt.key,T)}let he,Ie=0;const kt=z-ae+1;let je=!1,Xl=0;const ts=new Array(kt);for(T=0;T=kt){fe(Mt,M,I,!0);continue}let zt;if(Mt.key!=null)zt=Ne.get(Mt.key);else for(he=ae;he<=z;he++)if(ts[he-ae]===0&&is(Mt,b[he])){zt=he;break}zt===void 0?fe(Mt,M,I,!0):(ts[zt-ae]=T+1,zt>=Xl?Xl=zt:je=!0,p(Mt,b[zt],N,null,M,I,G,S,P),Ie++)}const Wl=je?cg(ts):Mn;for(he=Wl.length-1,T=kt-1;T>=0;T--){const Mt=ae+T,zt=b[Mt],Vl=Mt+1{const{el:I,type:G,transition:S,children:P,shapeFlag:T}=g;if(T&6){ot(g.component.subTree,b,N,k);return}if(T&128){g.suspense.move(b,N,k);return}if(T&64){G.move(g,b,N,A);return}if(G===Re){n(I,b,N);for(let W=0;WS.enter(I),M);else{const{leave:W,delayLeave:z,afterLeave:te}=S,ae=()=>n(I,b,N),Ne=()=>{W(I,()=>{ae(),te&&te()})};z?z(I,ae,Ne):Ne()}else n(I,b,N)},fe=(g,b,N,k=!1,M=!1)=>{const{type:I,props:G,ref:S,children:P,dynamicChildren:T,shapeFlag:U,patchFlag:W,dirs:z}=g;if(S!=null&&mo(S,null,N,g,!0),U&256){b.ctx.deactivate(g);return}const te=U&1&&z,ae=!ds(g);let Ne;if(ae&&(Ne=G&&G.onVnodeBeforeUnmount)&&Yt(Ne,b,g),U&6)Se(g.component,N,k);else{if(U&128){g.suspense.unmount(N,k);return}te&&Oi(g,null,b,"beforeUnmount"),U&64?g.type.remove(g,b,N,M,A,k):T&&(I!==Re||W>0&&W&64)?Ae(T,b,N,!1,!0):(I===Re&&W&384||!M&&U&16)&&Ae(P,b,N),k&&Ke(g)}(ae&&(Ne=G&&G.onVnodeUnmounted)||te)&&Nt(()=>{Ne&&Yt(Ne,b,g),te&&Oi(g,null,b,"unmounted")},N)},Ke=g=>{const{type:b,el:N,anchor:k,transition:M}=g;if(b===Re){pe(N,k);return}if(b===va){w(g);return}const I=()=>{s(N),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(g.shapeFlag&1&&M&&!M.persisted){const{leave:G,delayLeave:S}=M,P=()=>G(N,I);S?S(g.el,I,P):P()}else I()},pe=(g,b)=>{let N;for(;g!==b;)N=d(g),s(g),g=N;s(b)},Se=(g,b,N)=>{const{bum:k,scope:M,update:I,subTree:G,um:S}=g;k&&ya(k),M.stop(),I&&(I.active=!1,fe(G,g,b,N)),S&&Nt(S,b),Nt(()=>{g.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},Ae=(g,b,N,k=!1,M=!1,I=0)=>{for(let G=I;Gg.shapeFlag&6?E(g.component.subTree):g.shapeFlag&128?g.suspense.next():d(g.anchor||g.el),Z=(g,b,N)=>{g==null?b._vnode&&fe(b._vnode,null,null,!0):p(b._vnode||null,g,b,null,null,null,N),sc(),Gh(),b._vnode=g},A={p,um:fe,m:ot,r:Ke,mt:Et,mc:Y,pc:se,pbc:oe,n:E,o:t};let q,ce;return e&&([q,ce]=e(A)),{render:Z,hydrate:q,createApp:eg(Z,q)}}function Gi({effect:t,update:e},i){t.allowRecurse=e.allowRecurse=i}function lg(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function nd(t,e,i=!1){const n=t.children,s=e.children;if(ee(n)&&ee(s))for(let a=0;a>1,t[i[o]]0&&(e[n]=i[a-1]),i[a]=n)}}for(a=i.length,r=i[a-1];a-- >0;)i[a]=r,r=e[r];return i}const ug=t=>t.__isTeleport,Re=Symbol.for("v-fgt"),ur=Symbol.for("v-txt"),Ri=Symbol.for("v-cmt"),va=Symbol.for("v-stc"),ms=[];let Wt=null;function D(t=!1){ms.push(Wt=t?null:[])}function hg(){ms.pop(),Wt=ms[ms.length-1]||null}let Cs=1;function pc(t){Cs+=t}function sd(t){return t.dynamicChildren=Cs>0?Wt||Mn:null,hg(),Cs>0&&Wt&&Wt.push(t),t}function V(t,e,i,n,s,a){return sd(x(t,e,i,n,s,a,!0))}function xt(t,e,i,n,s){return sd(B(t,e,i,n,s,!0))}function Aa(t){return t?t.__v_isVNode===!0:!1}function is(t,e){return t.type===e.type&&t.key===e.key}const hr="__vInternal",ad=({key:t})=>t??null,Na=({ref:t,ref_key:e,ref_for:i})=>(typeof t=="number"&&(t=""+t),t!=null?Qe(t)||dt(t)||ne(t)?{i:ft,r:t,k:e,f:!!i}:t:null);function x(t,e=null,i=null,n=0,s=null,a=t===Re?0:1,r=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&ad(e),ref:e&&Na(e),scopeId:lr,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ft};return o?(el(l,i),a&128&&t.normalize(l)):i&&(l.shapeFlag|=Qe(i)?8:16),Cs>0&&!r&&Wt&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Wt.push(l),l}const B=dg;function dg(t,e=null,i=null,n=0,s=null,a=!1){if((!t||t===Rp)&&(t=Ri),Aa(t)){const o=Vn(t,e,!0);return i&&el(o,i),Cs>0&&!a&&Wt&&(o.shapeFlag&6?Wt[Wt.indexOf(t)]=o:Wt.push(o)),o.patchFlag|=-2,o}if(Cg(t)&&(t=t.__vccOpts),e){e=fg(e);let{class:o,style:l}=e;o&&!Qe(o)&&(e.class=$i(o)),Me(l)&&(Ih(l)&&!ee(l)&&(l=rt({},l)),e.style=Ko(l))}const r=Qe(t)?1:Sp(t)?128:ug(t)?64:Me(t)?4:ne(t)?2:0;return x(t,e,i,n,s,r,a,!0)}function fg(t){return t?Ih(t)||hr in t?rt({},t):t:null}function Vn(t,e,i=!1){const{props:n,ref:s,patchFlag:a,children:r}=t,o=e?pg(n||{},e):n;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:o,key:o&&ad(o),ref:e&&e.ref?i&&s?ee(s)?s.concat(Na(e)):[s,Na(e)]:Na(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:r,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Re?a===-1?16:a|16:a,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Vn(t.ssContent),ssFallback:t.ssFallback&&Vn(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function Ee(t=" ",e=0){return B(ur,null,t,e)}function mg(t,e){const i=B(va,null,t);return i.staticCount=e,i}function De(t="",e=!1){return e?(D(),xt(Ri,null,t)):B(Ri,null,t)}function $t(t){return t==null||typeof t=="boolean"?B(Ri):ee(t)?B(Re,null,t.slice()):typeof t=="object"?vi(t):B(ur,null,String(t))}function vi(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Vn(t)}function el(t,e){let i=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(ee(e))i=16;else if(typeof e=="object")if(n&65){const s=e.default;s&&(s._c&&(s._d=!1),el(t,s()),s._c&&(s._d=!0));return}else{i=32;const s=e._;!s&&!(hr in e)?e._ctx=ft:s===3&&ft&&(ft.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else ne(e)?(e={default:e,_ctx:ft},i=32):(e=String(e),n&64?(i=16,e=[Ee(e)]):i=8);t.children=e,t.shapeFlag|=i}function pg(...t){const e={};for(let i=0;iat=t),tl=t=>{hn.length>1?hn.forEach(e=>e(t)):hn[0](t)};const Kn=t=>{tl(t),t.scope.on()},Qi=()=>{at&&at.scope.off(),tl(null)};function rd(t){return t.vnode.shapeFlag&4}let Fs=!1;function _g(t,e=!1){Fs=e;const{props:i,children:n}=t.vnode,s=rd(t);tg(t,i,s,e),sg(t,n);const a=s?vg(t,e):void 0;return Fs=!1,a}function vg(t,e){const i=t.type;t.accessCache=Object.create(null),t.proxy=Th(new Proxy(t.ctx,zp));const{setup:n}=i;if(n){const s=t.setupContext=n.length>1?wg(t):null;Kn(t),jn();const a=Fi(n,t,0,[t.props,s]);if(Jn(),Qi(),dh(a)){if(a.then(Qi,Qi),e)return a.then(r=>{yc(t,r,e)}).catch(r=>{rr(r,t,0)});t.asyncDep=a}else yc(t,a,e)}else od(t,e)}function yc(t,e,i){ne(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Me(e)&&(t.setupState=Dh(e)),od(t,i)}let bc;function od(t,e,i){const n=t.type;if(!t.render){if(!e&&bc&&!n.render){const s=n.template||Jo(t).template;if(s){const{isCustomElement:a,compilerOptions:r}=t.appContext.config,{delimiters:o,compilerOptions:l}=n,c=rt(rt({isCustomElement:a,delimiters:o},r),l);n.render=bc(s,c)}}t.render=n.render||Vt}{Kn(t),jn();try{Yp(t)}finally{Jn(),Qi()}}}function Ng(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,i){return Ct(t,"get","$attrs"),e[i]}}))}function wg(t){const e=i=>{t.exposed=i||{}};return{get attrs(){return Ng(t)},slots:t.slots,emit:t.emit,expose:e}}function dr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Dh(Th(t.exposed)),{get(e,i){if(i in e)return e[i];if(i in fs)return fs[i](t)},has(e,i){return i in e||i in fs}}))}function xg(t,e=!0){return ne(t)?t.displayName||t.name:t.name||e&&t.__name}function Cg(t){return ne(t)&&"__vccOpts"in t}const Oe=(t,e)=>vp(t,e,Fs);function ld(t,e,i){const n=arguments.length;return n===2?Me(e)&&!ee(e)?Aa(e)?B(t,null,[e]):B(t,e):B(t,null,e):(n>3?i=Array.prototype.slice.call(arguments,2):n===3&&Aa(i)&&(i=[i]),B(t,e,i))}const Fg=Symbol.for("v-scx"),Eg=()=>hi(Fg),kg="3.3.8",Mg="http://www.w3.org/2000/svg",Bi=typeof document<"u"?document:null,_c=Bi&&Bi.createElement("template"),Ig={insert:(t,e,i)=>{e.insertBefore(t,i||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,i,n)=>{const s=e?Bi.createElementNS(Mg,t):Bi.createElement(t,i?{is:i}:void 0);return t==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:t=>Bi.createTextNode(t),createComment:t=>Bi.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Bi.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,i,n,s,a){const r=i?i.previousSibling:e.lastChild;if(s&&(s===a||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),i),!(s===a||!(s=s.nextSibling)););else{_c.innerHTML=n?`${t}`:t;const o=_c.content;if(n){const l=o.firstChild;for(;l.firstChild;)o.appendChild(l.firstChild);o.removeChild(l)}e.insertBefore(o,i)}return[r?r.nextSibling:e.firstChild,i?i.previousSibling:e.lastChild]}},Tg=Symbol("_vtc");function Rg(t,e,i){const n=t[Tg];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):i?t.setAttribute("class",e):t.className=e}const Lg=Symbol("_vod");function Sg(t,e,i){const n=t.style,s=Qe(i);if(i&&!s){if(e&&!Qe(e))for(const a in e)i[a]==null&&po(n,a,"");for(const a in i)po(n,a,i[a])}else{const a=n.display;s?e!==i&&(n.cssText=i):e&&t.removeAttribute("style"),Lg in t&&(n.display=a)}}const vc=/\s*!important$/;function po(t,e,i){if(ee(i))i.forEach(n=>po(t,e,n));else if(i==null&&(i=""),e.startsWith("--"))t.setProperty(e,i);else{const n=Dg(t,e);vc.test(i)?t.setProperty($n(n),i.replace(vc,""),"important"):t[n]=i}}const Nc=["Webkit","Moz","ms"],Or={};function Dg(t,e){const i=Or[e];if(i)return i;let n=ii(e);if(n!=="filter"&&n in t)return Or[e]=n;n=ir(n);for(let s=0;sGr||(Xg.then(()=>Gr=0),Gr=Date.now());function Vg(t,e){const i=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=i.attached)return;Kt(Kg(n,i.value),e,5,[n])};return i.value=t,i.attached=Wg(),i}function Kg(t,e){if(ee(e)){const i=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{i.call(t),t._stopped=!0},e.map(n=>s=>!s._stopped&&n&&n(s))}else return e}const Fc=/^on[a-z]/,Ug=(t,e,i,n,s=!1,a,r,o,l)=>{e==="class"?Rg(t,n,s):e==="style"?Sg(t,i,n):Qa(e)?Xo(e)||Gg(t,e,i,n,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Bg(t,e,n,s))?Pg(t,e,n,a,r,o,l):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),Ag(t,e,n,s))};function Bg(t,e,i,n){return n?!!(e==="innerHTML"||e==="textContent"||e in t&&Fc.test(e)&&ne(i)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||Fc.test(e)&&Qe(i)?!1:e in t}const Pa=t=>{const e=t.props["onUpdate:modelValue"]||!1;return ee(e)?i=>ya(e,i):e};function qg(t){t.target.composing=!0}function Ec(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Ln=Symbol("_assign"),fr={created(t,{modifiers:{lazy:e,trim:i,number:n}},s){t[Ln]=Pa(s);const a=n||s.props&&s.props.type==="number";qi(t,e?"change":"input",r=>{if(r.target.composing)return;let o=t.value;i&&(o=o.trim()),a&&(o=Ta(o)),t[Ln](o)}),i&&qi(t,"change",()=>{t.value=t.value.trim()}),e||(qi(t,"compositionstart",qg),qi(t,"compositionend",Ec),qi(t,"change",Ec))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:i,trim:n,number:s}},a){if(t[Ln]=Pa(a),t.composing||document.activeElement===t&&t.type!=="range"&&(i||n&&t.value.trim()===e||(s||t.type==="number")&&Ta(t.value)===e))return;const r=e??"";t.value!==r&&(t.value=r)}},Oa={deep:!0,created(t,{value:e,modifiers:{number:i}},n){const s=er(e);qi(t,"change",()=>{const a=Array.prototype.filter.call(t.options,r=>r.selected).map(r=>i?Ta(Ga(r)):Ga(r));t[Ln](t.multiple?s?new Set(a):a:a[0])}),t[Ln]=Pa(n)},mounted(t,{value:e}){kc(t,e)},beforeUpdate(t,e,i){t[Ln]=Pa(i)},updated(t,{value:e}){kc(t,e)}};function kc(t,e){const i=t.multiple;if(!(i&&!ee(e)&&!er(e))){for(let n=0,s=t.options.length;n-1:a.selected=e.has(r);else if(nr(Ga(a),e)){t.selectedIndex!==n&&(t.selectedIndex=n);return}}!i&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Ga(t){return"_value"in t?t._value:t.value}const zg=rt({patchProp:Ug},Ig);let Mc;function Yg(){return Mc||(Mc=rg(zg))}const Hg=(...t)=>{const e=Yg().createApp(...t),{mount:i}=e;return e.mount=n=>{const s=$g(n);if(!s)return;const a=e._component;!ne(a)&&!a.render&&!a.template&&(a.template=s.innerHTML),s.innerHTML="";const r=i(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),r},e};function $g(t){return Qe(t)?document.querySelector(t):t}const We=(t,e)=>{const i=t.__vccOpts||t;for(const[n,s]of e)i[n]=s;return i},jg={name:"CodeBlock",props:["lang"]};function Jg(t,e,i,n,s,a){return D(),V("pre",null,[x("code",{class:$i(i.lang+" border-0 rounded-2 p-3")},[Ji(t.$slots,"default")],2)])}const il=We(jg,[["render",Jg]]);const Qg={name:"LibName"},e1=t=>(rn("data-v-7ef10a1b"),t=t(),on(),t),t1=e1(()=>x("span",null,"ogc-client",-1)),i1=[t1];function n1(t,e,i,n,s,a){return D(),V("div",null,i1)}const s1=We(Qg,[["render",n1],["__scopeId","data-v-7ef10a1b"]]),a1={name:"Docs",components:{CodeBlock:il,LibName:s1},async mounted(){hljs.highlightAll()}},r1=x("h2",{class:"mb-4"},"Presentation",-1),o1=x("a",{href:"https://www.ogc.org/docs/is"},"OGC standards.",-1),l1=mg('

Its purpose is to helps you interact with them in a user-friendly and consistent way.

Its main features include:

Usage

',4),c1=x("p",null,"Then, use it like so:",-1),u1=x("pre",null,`import { WfsEndpoint } from '@camptocamp/ogc-client'; +`}strong(e){return`${e}`}em(e){return`${e}`}codespan(e){return`${e}`}br(){return this.options.xhtml?"
":"
"}del(e){return`${e}`}link(e,i,n){if(e=Bl(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let s='",s}image(e,i,n){if(e=Bl(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let s=`${n}":">",s}text(e){return e}}class ch{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,i,n){return""+n}image(e,i,n){return""+n}br(){return""}}class uh{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,i){let n=e,s=0;if(this.seen.hasOwnProperty(n)){s=this.seen[e];do s++,n=e+"-"+s;while(this.seen.hasOwnProperty(n))}return i||(this.seen[e]=s,this.seen[n]=0),n}slug(e,i={}){const n=this.serialize(e);return this.getNextSafeSlug(n,i.dryrun)}}let As=class io{constructor(e){this.options=e||an,this.options.renderer=this.options.renderer||new Go,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ch,this.slugger=new uh}static parse(e,i){return new io(i).parse(e)}static parseInline(e,i){return new io(i).parseInline(e)}parse(e,i=!0){let n="",s,a,r,o,l,c,u,h,d,m,f,p,y,_,v,C,x,F,L;const $=e.length;for(s=0;s<$;s++){if(m=e[s],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[m.type]&&(L=this.options.extensions.renderers[m.type].call({parser:this},m),L!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(m.type))){n+=L||"";continue}switch(m.type){case"space":continue;case"hr":{n+=this.renderer.hr();continue}case"heading":{n+=this.renderer.heading(this.parseInline(m.tokens),m.depth,lh(this.parseInline(m.tokens,this.textRenderer)),this.slugger);continue}case"code":{n+=this.renderer.code(m.text,m.lang,m.escaped);continue}case"table":{for(h="",u="",o=m.header.length,a=0;a0&&v.tokens[0].type==="paragraph"?(v.tokens[0].text=F+" "+v.tokens[0].text,v.tokens[0].tokens&&v.tokens[0].tokens.length>0&&v.tokens[0].tokens[0].type==="text"&&(v.tokens[0].tokens[0].text=F+" "+v.tokens[0].tokens[0].text)):v.tokens.unshift({type:"text",text:F}):_+=F),_+=this.parse(v.tokens,y),d+=this.renderer.listitem(_,x,C);n+=this.renderer.list(d,f,p);continue}case"html":{n+=this.renderer.html(m.text,m.block);continue}case"paragraph":{n+=this.renderer.paragraph(this.parseInline(m.tokens));continue}case"text":{for(d=m.tokens?this.parseInline(m.tokens):m.text;s+1<$&&e[s+1].type==="text";)m=e[++s],d+=` +`+(m.tokens?this.parseInline(m.tokens):m.text);n+=i?this.renderer.paragraph(d):d;continue}default:{const H='Token with "'+m.type+'" type was not found.';if(this.options.silent){console.error(H);return}else throw new Error(H)}}}return n}parseInline(e,i){i=i||this.renderer;let n="",s,a,r;const o=e.length;for(s=0;s{if(n.message+=` +Please report this to https://github.com/markedjs/marked.`,t){const s="

An error occurred:

"+ct(n.message+"",!0)+"
";if(e)return Promise.resolve(s);if(i){i(null,s);return}return s}if(e)return Promise.reject(n);if(i){i(n);return}throw n}}function hh(t,e){return(i,n,s)=>{typeof n=="function"&&(s=n,n=null);const a={...n};n={...J.defaults,...a};const r=Mf(n.silent,n.async,s);if(typeof i>"u"||i===null)return r(new Error("marked(): input parameter is undefined or null"));if(typeof i!="string")return r(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(i)+", string expected"));if(Ff(n,s),n.hooks&&(n.hooks.options=n),s){const o=n.highlight;let l;try{n.hooks&&(i=n.hooks.preprocess(i)),l=t(i,n)}catch(h){return r(h)}const c=function(h){let d;if(!h)try{n.walkTokens&&J.walkTokens(l,n.walkTokens),d=e(l,n),n.hooks&&(d=n.hooks.postprocess(d))}catch(m){h=m}return n.highlight=o,h?r(h):s(null,d)};if(!o||o.length<3||(delete n.highlight,!l.length))return c();let u=0;J.walkTokens(l,function(h){h.type==="code"&&(u++,setTimeout(()=>{o(h.text,h.lang,function(d,m){if(d)return c(d);m!=null&&m!==h.text&&(h.text=m,h.escaped=!0),u--,u===0&&c()})},0))}),u===0&&c();return}if(n.async)return Promise.resolve(n.hooks?n.hooks.preprocess(i):i).then(o=>t(o,n)).then(o=>n.walkTokens?Promise.all(J.walkTokens(o,n.walkTokens)).then(()=>o):o).then(o=>e(o,n)).then(o=>n.hooks?n.hooks.postprocess(o):o).catch(r);try{n.hooks&&(i=n.hooks.preprocess(i));const o=t(i,n);n.walkTokens&&J.walkTokens(o,n.walkTokens);let l=e(o,n);return n.hooks&&(l=n.hooks.postprocess(l)),l}catch(o){return r(o)}}}function J(t,e,i){return hh(Mi.lex,As.parse)(t,e,i)}J.options=J.setOptions=function(t){return J.defaults={...J.defaults,...t},df(J.defaults),J};J.getDefaults=ah;J.defaults=an;J.use=function(...t){const e=J.defaults.extensions||{renderers:{},childTokens:{}};t.forEach(i=>{const n={...i};if(n.async=J.defaults.async||n.async||!1,i.extensions&&(i.extensions.forEach(s=>{if(!s.name)throw new Error("extension name required");if(s.renderer){const a=e.renderers[s.name];a?e.renderers[s.name]=function(...r){let o=s.renderer.apply(this,r);return o===!1&&(o=a.apply(this,r)),o}:e.renderers[s.name]=s.renderer}if(s.tokenizer){if(!s.level||s.level!=="block"&&s.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");e[s.level]?e[s.level].unshift(s.tokenizer):e[s.level]=[s.tokenizer],s.start&&(s.level==="block"?e.startBlock?e.startBlock.push(s.start):e.startBlock=[s.start]:s.level==="inline"&&(e.startInline?e.startInline.push(s.start):e.startInline=[s.start]))}s.childTokens&&(e.childTokens[s.name]=s.childTokens)}),n.extensions=e),i.renderer){const s=J.defaults.renderer||new Go;for(const a in i.renderer){const r=s[a];s[a]=(...o)=>{let l=i.renderer[a].apply(s,o);return l===!1&&(l=r.apply(s,o)),l}}n.renderer=s}if(i.tokenizer){const s=J.defaults.tokenizer||new Oo;for(const a in i.tokenizer){const r=s[a];s[a]=(...o)=>{let l=i.tokenizer[a].apply(s,o);return l===!1&&(l=r.apply(s,o)),l}}n.tokenizer=s}if(i.hooks){const s=J.defaults.hooks||new Ma;for(const a in i.hooks){const r=s[a];Ma.passThroughHooks.has(a)?s[a]=o=>{if(J.defaults.async)return Promise.resolve(i.hooks[a].call(s,o)).then(c=>r.call(s,c));const l=i.hooks[a].call(s,o);return r.call(s,l)}:s[a]=(...o)=>{let l=i.hooks[a].apply(s,o);return l===!1&&(l=r.apply(s,o)),l}}n.hooks=s}if(i.walkTokens){const s=J.defaults.walkTokens;n.walkTokens=function(a){let r=[];return r.push(i.walkTokens.call(this,a)),s&&(r=r.concat(s.call(this,a))),r}}J.setOptions(n)})};J.walkTokens=function(t,e){let i=[];for(const n of t)switch(i=i.concat(e.call(J,n)),n.type){case"table":{for(const s of n.header)i=i.concat(J.walkTokens(s.tokens,e));for(const s of n.rows)for(const a of s)i=i.concat(J.walkTokens(a.tokens,e));break}case"list":{i=i.concat(J.walkTokens(n.items,e));break}default:J.defaults.extensions&&J.defaults.extensions.childTokens&&J.defaults.extensions.childTokens[n.type]?J.defaults.extensions.childTokens[n.type].forEach(function(s){i=i.concat(J.walkTokens(n[s],e))}):n.tokens&&(i=i.concat(J.walkTokens(n.tokens,e)))}return i};J.parseInline=hh(Mi.lexInline,As.parseInline);J.Parser=As;J.parser=As.parse;J.Renderer=Go;J.TextRenderer=ch;J.Lexer=Mi;J.lexer=Mi.lex;J.Tokenizer=Oo;J.Slugger=uh;J.Hooks=Ma;J.parse=J;J.options;J.setOptions;J.use;J.walkTokens;const li=J.parseInline,If=J;As.parse;Mi.lex;function Tf(){return{mangle:!1,walkTokens(t){if(t.type!=="link"||!t.href.startsWith("mailto:"))return;const e=t.href.substring(7),i=Rf(e);t.href=`mailto:${i}`,!(t.tokens.length!==1||t.tokens[0].type!=="text"||t.tokens[0].text!==e)&&(t.text=i,t.tokens[0].text=i)}}}function Rf(t){let e="",i,n;const s=t.length;for(i=0;i.5&&(n="x"+n.toString(16)),e+="&#"+n+";";return e}function Zo(t,e){const i=Object.create(null),n=t.split(",");for(let s=0;s!!i[s.toLowerCase()]:s=>!!i[s]}const Te={},Mn=[],Kt=()=>{},Lf=()=>!1,Sf=/^on[^a-z]/,Qa=t=>Sf.test(t),Xo=t=>t.startsWith("onUpdate:"),rt=Object.assign,Wo=(t,e)=>{const i=t.indexOf(e);i>-1&&t.splice(i,1)},Df=Object.prototype.hasOwnProperty,ue=(t,e)=>Df.call(t,e),ee=Array.isArray,In=t=>Os(t)==="[object Map]",er=t=>Os(t)==="[object Set]",Yl=t=>Os(t)==="[object Date]",ne=t=>typeof t=="function",Qe=t=>typeof t=="string",Xn=t=>typeof t=="symbol",Me=t=>t!==null&&typeof t=="object",dh=t=>(Me(t)||ne(t))&&ne(t.then)&&ne(t.catch),mh=Object.prototype.toString,Os=t=>mh.call(t),Pf=t=>Os(t).slice(8,-1),fh=t=>Os(t)==="[object Object]",Ko=t=>Qe(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,ga=Zo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),tr=t=>{const e=Object.create(null);return i=>e[i]||(e[i]=t(i))},Af=/-(\w)/g,ii=tr(t=>t.replace(Af,(e,i)=>i?i.toUpperCase():"")),Of=/\B([A-Z])/g,$n=tr(t=>t.replace(Of,"-$1").toLowerCase()),ir=tr(t=>t.charAt(0).toUpperCase()+t.slice(1)),Dr=tr(t=>t?`on${ir(t)}`:""),en=(t,e)=>!Object.is(t,e),ya=(t,e)=>{for(let i=0;i{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:i})},Ta=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let $l;const no=()=>$l||($l=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vo(t){if(ee(t)){const e={};for(let i=0;i{if(i){const n=i.split(Zf);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function $i(t){let e="";if(Qe(t))e=t;else if(ee(t))for(let i=0;inr(i,e))}const Ge=t=>Qe(t)?t:t==null?"":ee(t)||Me(t)&&(t.toString===mh||!ne(t.toString))?JSON.stringify(t,gh,2):String(t),gh=(t,e)=>e&&e.__v_isRef?gh(t,e.value):In(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((i,[n,s])=>(i[`${n} =>`]=s,i),{})}:er(e)?{[`Set(${e.size})`]:[...e.values()]}:Me(e)&&!ee(e)&&!fh(e)?String(e):e;let Gt;class qf{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Gt,!e&&Gt&&(this.index=(Gt.scopes||(Gt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const i=Gt;try{return Gt=this,e()}finally{Gt=i}}}on(){Gt=this}off(){Gt=this.parent}stop(e){if(this._active){let i,n;for(i=0,n=this.effects.length;i{const e=new Set(t);return e.w=0,e.n=0,e},yh=t=>(t.w&Ii)>0,bh=t=>(t.n&Ii)>0,Yf=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let i=0;for(let n=0;n{(u==="length"||!Xn(u)&&u>=l)&&o.push(c)})}else switch(i!==void 0&&o.push(r.get(i)),e){case"add":ee(t)?Ko(i)&&o.push(r.get("length")):(o.push(r.get(ji)),In(t)&&o.push(r.get(ro)));break;case"delete":ee(t)||(o.push(r.get(ji)),In(t)&&o.push(r.get(ro)));break;case"set":In(t)&&o.push(r.get(ji));break}if(o.length===1)o[0]&&oo(o[0]);else{const l=[];for(const c of o)c&&l.push(...c);oo(Uo(l))}}function oo(t,e){const i=ee(t)?t:[...t];for(const n of i)n.computed&&Jl(n);for(const n of i)n.computed||Jl(n)}function Jl(t,e){(t!==Xt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const jf=Zo("__proto__,__v_isRef,__isVue"),Nh=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Xn)),Ql=Jf();function Jf(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...i){const n=fe(this);for(let a=0,r=this.length;a{t[e]=function(...i){jn();const n=fe(this)[e].apply(this,i);return Jn(),n}}),t}function Qf(t){const e=fe(this);return Ct(e,"has",t),e.hasOwnProperty(t)}class xh{constructor(e=!1,i=!1){this._isReadonly=e,this._shallow=i}get(e,i,n){const s=this._isReadonly,a=this._shallow;if(i==="__v_isReactive")return!s;if(i==="__v_isReadonly")return s;if(i==="__v_isShallow")return a;if(i==="__v_raw"&&n===(s?a?dp:Eh:a?Fh:Ch).get(e))return e;const r=ee(e);if(!s){if(r&&ue(Ql,i))return Reflect.get(Ql,i,n);if(i==="hasOwnProperty")return Qf}const o=Reflect.get(e,i,n);return(Xn(i)?Nh.has(i):jf(i))||(s||Ct(e,"get",i),a)?o:dt(o)?r&&Ko(i)?o:o.value:Me(o)?s?Mh(o):ar(o):o}}class wh extends xh{constructor(e=!1){super(!1,e)}set(e,i,n,s){let a=e[i];if(Wn(a)&&dt(a)&&!dt(n))return!1;if(!this._shallow&&(!Ra(n)&&!Wn(n)&&(a=fe(a),n=fe(n)),!ee(e)&&dt(a)&&!dt(n)))return a.value=n,!0;const r=ee(e)&&Ko(i)?Number(i)t,sr=t=>Reflect.getPrototypeOf(t);function $s(t,e,i=!1,n=!1){t=t.__v_raw;const s=fe(t),a=fe(e);i||(en(e,a)&&Ct(s,"get",e),Ct(s,"get",a));const{has:r}=sr(s),o=n?qo:i?Yo:Ns;if(r.call(s,e))return o(t.get(e));if(r.call(s,a))return o(t.get(a));t!==s&&t.get(e)}function js(t,e=!1){const i=this.__v_raw,n=fe(i),s=fe(t);return e||(en(t,s)&&Ct(n,"has",t),Ct(n,"has",s)),t===s?i.has(t):i.has(t)||i.has(s)}function Js(t,e=!1){return t=t.__v_raw,!e&&Ct(fe(t),"iterate",ji),Reflect.get(t,"size",t)}function ec(t){t=fe(t);const e=fe(this);return sr(e).has.call(e,t)||(e.add(t),ui(e,"add",t,t)),this}function tc(t,e){e=fe(e);const i=fe(this),{has:n,get:s}=sr(i);let a=n.call(i,t);a||(t=fe(t),a=n.call(i,t));const r=s.call(i,t);return i.set(t,e),a?en(e,r)&&ui(i,"set",t,e):ui(i,"add",t,e),this}function ic(t){const e=fe(this),{has:i,get:n}=sr(e);let s=i.call(e,t);s||(t=fe(t),s=i.call(e,t)),n&&n.call(e,t);const a=e.delete(t);return s&&ui(e,"delete",t,void 0),a}function nc(){const t=fe(this),e=t.size!==0,i=t.clear();return e&&ui(t,"clear",void 0,void 0),i}function Qs(t,e){return function(n,s){const a=this,r=a.__v_raw,o=fe(r),l=e?qo:t?Yo:Ns;return!t&&Ct(o,"iterate",ji),r.forEach((c,u)=>n.call(s,l(c),l(u),a))}}function ea(t,e,i){return function(...n){const s=this.__v_raw,a=fe(s),r=In(a),o=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,c=s[t](...n),u=i?qo:e?Yo:Ns;return!e&&Ct(a,"iterate",l?ro:ji),{next(){const{value:h,done:d}=c.next();return d?{value:h,done:d}:{value:o?[u(h[0]),u(h[1])]:u(h),done:d}},[Symbol.iterator](){return this}}}}function pi(t){return function(...e){return t==="delete"?!1:this}}function sp(){const t={get(a){return $s(this,a)},get size(){return Js(this)},has:js,add:ec,set:tc,delete:ic,clear:nc,forEach:Qs(!1,!1)},e={get(a){return $s(this,a,!1,!0)},get size(){return Js(this)},has:js,add:ec,set:tc,delete:ic,clear:nc,forEach:Qs(!1,!0)},i={get(a){return $s(this,a,!0)},get size(){return Js(this,!0)},has(a){return js.call(this,a,!0)},add:pi("add"),set:pi("set"),delete:pi("delete"),clear:pi("clear"),forEach:Qs(!0,!1)},n={get(a){return $s(this,a,!0,!0)},get size(){return Js(this,!0)},has(a){return js.call(this,a,!0)},add:pi("add"),set:pi("set"),delete:pi("delete"),clear:pi("clear"),forEach:Qs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{t[a]=ea(a,!1,!1),i[a]=ea(a,!0,!1),e[a]=ea(a,!1,!0),n[a]=ea(a,!0,!0)}),[t,i,e,n]}const[ap,rp,op,lp]=sp();function zo(t,e){const i=e?t?lp:op:t?rp:ap;return(n,s,a)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?n:Reflect.get(ue(i,s)&&s in n?i:n,s,a)}const cp={get:zo(!1,!1)},up={get:zo(!1,!0)},hp={get:zo(!0,!1)},Ch=new WeakMap,Fh=new WeakMap,Eh=new WeakMap,dp=new WeakMap;function mp(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fp(t){return t.__v_skip||!Object.isExtensible(t)?0:mp(Pf(t))}function ar(t){return Wn(t)?t:Ho(t,!1,tp,cp,Ch)}function kh(t){return Ho(t,!1,np,up,Fh)}function Mh(t){return Ho(t,!0,ip,hp,Eh)}function Ho(t,e,i,n,s){if(!Me(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const a=s.get(t);if(a)return a;const r=fp(t);if(r===0)return t;const o=new Proxy(t,r===2?n:i);return s.set(t,o),o}function Tn(t){return Wn(t)?Tn(t.__v_raw):!!(t&&t.__v_isReactive)}function Wn(t){return!!(t&&t.__v_isReadonly)}function Ra(t){return!!(t&&t.__v_isShallow)}function Ih(t){return Tn(t)||Wn(t)}function fe(t){const e=t&&t.__v_raw;return e?fe(e):t}function Th(t){return Ia(t,"__v_skip",!0),t}const Ns=t=>Me(t)?ar(t):t,Yo=t=>Me(t)?Mh(t):t;function Rh(t){Ci&&Xt&&(t=fe(t),vh(t.dep||(t.dep=Uo())))}function Lh(t,e){t=fe(t);const i=t.dep;i&&oo(i)}function dt(t){return!!(t&&t.__v_isRef===!0)}function pp(t){return Sh(t,!1)}function gp(t){return Sh(t,!0)}function Sh(t,e){return dt(t)?t:new yp(t,e)}class yp{constructor(e,i){this.__v_isShallow=i,this.dep=void 0,this.__v_isRef=!0,this._rawValue=i?e:fe(e),this._value=i?e:Ns(e)}get value(){return Rh(this),this._value}set value(e){const i=this.__v_isShallow||Ra(e)||Wn(e);e=i?e:fe(e),en(e,this._rawValue)&&(this._rawValue=e,this._value=i?e:Ns(e),Lh(this))}}function be(t){return dt(t)?t.value:t}const bp={get:(t,e,i)=>be(Reflect.get(t,e,i)),set:(t,e,i,n)=>{const s=t[e];return dt(s)&&!dt(i)?(s.value=i,!0):Reflect.set(t,e,i,n)}};function Dh(t){return Tn(t)?t:new Proxy(t,bp)}class _p{constructor(e,i,n,s){this._setter=i,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Bo(e,()=>{this._dirty||(this._dirty=!0,Lh(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=n}get value(){const e=fe(this);return Rh(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function vp(t,e,i=!1){let n,s;const a=ne(t);return a?(n=t,s=Kt):(n=t.get,s=t.set),new _p(n,s,a||!s,i)}function Fi(t,e,i,n){let s;try{s=n?t(...n):t()}catch(a){rr(a,e,i)}return s}function Vt(t,e,i,n){if(ne(t)){const a=Fi(t,e,i,n);return a&&dh(a)&&a.catch(r=>{rr(r,e,i)}),a}const s=[];for(let a=0;a>>1,s=ht[n],a=ws(s);ajt&&ht.splice(e,1)}function Cp(t){ee(t)?Rn.push(...t):(!oi||!oi.includes(t,t.allowRecurse?Ui+1:Ui))&&Rn.push(t),Oh()}function sc(t,e=xs?jt+1:0){for(;ews(i)-ws(n)),Ui=0;Uit.id==null?1/0:t.id,Fp=(t,e)=>{const i=ws(t)-ws(e);if(i===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return i};function Zh(t){lo=!1,xs=!0,ht.sort(Fp);const e=Kt;try{for(jt=0;jtQe(m)?m.trim():m)),h&&(s=i.map(Ta))}let o,l=n[o=Dr(e)]||n[o=Dr(ii(e))];!l&&a&&(l=n[o=Dr($n(e))]),l&&Vt(l,t,6,s);const c=n[o+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[o])return;t.emitted[o]=!0,Vt(c,t,6,s)}}function Xh(t,e,i=!1){const n=e.emitsCache,s=n.get(t);if(s!==void 0)return s;const a=t.emits;let r={},o=!1;if(!ne(t)){const l=c=>{const u=Xh(c,e,!0);u&&(o=!0,rt(r,u))};!i&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!a&&!o?(Me(t)&&n.set(t,null),null):(ee(a)?a.forEach(l=>r[l]=null):rt(r,a),Me(t)&&n.set(t,r),r)}function or(t,e){return!t||!Qa(e)?!1:(e=e.slice(2).replace(/Once$/,""),ue(t,e[0].toLowerCase()+e.slice(1))||ue(t,$n(e))||ue(t,e))}let mt=null,lr=null;function La(t){const e=mt;return mt=t,lr=t&&t.type.__scopeId||null,e}function rn(t){lr=t}function on(){lr=null}function Je(t,e=mt,i){if(!e||t._n)return t;const n=(...s)=>{n._d&&pc(-1);const a=La(e);let r;try{r=t(...s)}finally{La(a),n._d&&pc(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function Pr(t){const{type:e,vnode:i,proxy:n,withProxy:s,props:a,propsOptions:[r],slots:o,attrs:l,emit:c,render:u,renderCache:h,data:d,setupState:m,ctx:f,inheritAttrs:p}=t;let y,_;const v=La(t);try{if(i.shapeFlag&4){const x=s||n;y=$t(u.call(x,x,h,a,m,d,f)),_=l}else{const x=e;y=$t(x.length>1?x(a,{attrs:l,slots:o,emit:c}):x(a,null)),_=e.props?l:kp(l)}}catch(x){fs.length=0,rr(x,t,1),y=B(Ri)}let C=y;if(_&&p!==!1){const x=Object.keys(_),{shapeFlag:F}=C;x.length&&F&7&&(r&&x.some(Xo)&&(_=Mp(_,r)),C=Kn(C,_))}return i.dirs&&(C=Kn(C),C.dirs=C.dirs?C.dirs.concat(i.dirs):i.dirs),i.transition&&(C.transition=i.transition),y=C,La(v),y}const kp=t=>{let e;for(const i in t)(i==="class"||i==="style"||Qa(i))&&((e||(e={}))[i]=t[i]);return e},Mp=(t,e)=>{const i={};for(const n in t)(!Xo(n)||!(n.slice(9)in e))&&(i[n]=t[n]);return i};function Ip(t,e,i){const{props:n,children:s,component:a}=t,{props:r,children:o,patchFlag:l}=e,c=a.emitsOptions;if(e.dirs||e.transition)return!0;if(i&&l>=0){if(l&1024)return!0;if(l&16)return n?ac(n,r,c):!!r;if(l&8){const u=e.dynamicProps;for(let h=0;ht.__isSuspense;function Dp(t,e){e&&e.pendingBranch?ee(t)?e.effects.push(...t):e.effects.push(t):Cp(t)}const ta={};function ba(t,e,i){return Kh(t,e,i)}function Kh(t,e,{immediate:i,deep:n,flush:s,onTrack:a,onTrigger:r}=Te){var o;const l=Hf()===((o=at)==null?void 0:o.scope)?at:null;let c,u=!1,h=!1;if(dt(t)?(c=()=>t.value,u=Ra(t)):Tn(t)?(c=()=>t,n=!0):ee(t)?(h=!0,u=t.some(x=>Tn(x)||Ra(x)),c=()=>t.map(x=>{if(dt(x))return x.value;if(Tn(x))return zi(x);if(ne(x))return Fi(x,l,2)})):ne(t)?e?c=()=>Fi(t,l,2):c=()=>{if(!(l&&l.isUnmounted))return d&&d(),Vt(t,l,3,[m])}:c=Kt,e&&n){const x=c;c=()=>zi(x())}let d,m=x=>{d=v.onStop=()=>{Fi(x,l,4)}},f;if(Fs)if(m=Kt,e?i&&Vt(e,l,3,[c(),h?[]:void 0,m]):c(),s==="sync"){const x=Eg();f=x.__watcherHandles||(x.__watcherHandles=[])}else return Kt;let p=h?new Array(t.length).fill(ta):ta;const y=()=>{if(v.active)if(e){const x=v.run();(n||u||(h?x.some((F,L)=>en(F,p[L])):en(x,p)))&&(d&&d(),Vt(e,l,3,[x,p===ta?void 0:h&&p[0]===ta?[]:p,m]),p=x)}else v.run()};y.allowRecurse=!!e;let _;s==="sync"?_=y:s==="post"?_=()=>Nt(y,l&&l.suspense):(y.pre=!0,l&&(y.id=l.uid),_=()=>jo(y));const v=new Bo(c,_);e?i?y():p=v.run():s==="post"?Nt(v.run.bind(v),l&&l.suspense):v.run();const C=()=>{v.stop(),l&&l.scope&&Wo(l.scope.effects,v)};return f&&f.push(C),C}function Pp(t,e,i){const n=this.proxy,s=Qe(t)?t.includes(".")?Vh(n,t):()=>n[t]:t.bind(n,n);let a;ne(e)?a=e:(a=e.handler,i=e);const r=at;Vn(this);const o=Kh(s,a.bind(n),i);return r?Vn(r):Qi(),o}function Vh(t,e){const i=e.split(".");return()=>{let n=t;for(let s=0;s{zi(i,e)});else if(fh(t))for(const i in t)zi(t[i],e);return t}function Ti(t,e){const i=mt;if(i===null)return t;const n=dr(i)||i.proxy,s=t.dirs||(t.dirs=[]);for(let a=0;art({name:t.name},e,{setup:t}))():t}const ds=t=>!!t.type.__asyncLoader,Bh=t=>t.type.__isKeepAlive;function Ap(t,e){qh(t,"a",e)}function Op(t,e){qh(t,"da",e)}function qh(t,e,i=at){const n=t.__wdc||(t.__wdc=()=>{let s=i;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(cr(e,n,i),i){let s=i.parent;for(;s&&s.parent;)Bh(s.parent.vnode)&&Gp(n,e,i,s),s=s.parent}}function Gp(t,e,i,n){const s=cr(e,t,n,!0);Hh(()=>{Wo(n[e],s)},i)}function cr(t,e,i=at,n=!1){if(i){const s=i[t]||(i[t]=[]),a=e.__weh||(e.__weh=(...r)=>{if(i.isUnmounted)return;jn(),Vn(i);const o=Vt(e,i,t,r);return Qi(),Jn(),o});return n?s.unshift(a):s.push(a),a}}const di=t=>(e,i=at)=>(!Fs||t==="sp")&&cr(t,(...n)=>e(...n),i),Zp=di("bm"),zh=di("m"),Xp=di("bu"),Wp=di("u"),Kp=di("bum"),Hh=di("um"),Vp=di("sp"),Up=di("rtg"),Bp=di("rtc");function qp(t,e=at){cr("ec",t,e)}function Tt(t,e,i,n){let s;const a=i&&i[n];if(ee(t)||Qe(t)){s=new Array(t.length);for(let r=0,o=t.length;re(r,o,void 0,a&&a[o]));else{const r=Object.keys(t);s=new Array(r.length);for(let o=0,l=r.length;oPa(e)?!(e.type===Ri||e.type===Re&&!Yh(e.children)):!0)?t:null}const co=t=>t?rd(t)?dr(t)||t.proxy:co(t.parent):null,ms=rt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>co(t.parent),$root:t=>co(t.root),$emit:t=>t.emit,$options:t=>Jo(t),$forceUpdate:t=>t.f||(t.f=()=>jo(t.update)),$nextTick:t=>t.n||(t.n=Ah.bind(t.proxy)),$watch:t=>Pp.bind(t)}),Ar=(t,e)=>t!==Te&&!t.__isScriptSetup&&ue(t,e),zp={get({_:t},e){const{ctx:i,setupState:n,data:s,props:a,accessCache:r,type:o,appContext:l}=t;let c;if(e[0]!=="$"){const m=r[e];if(m!==void 0)switch(m){case 1:return n[e];case 2:return s[e];case 4:return i[e];case 3:return a[e]}else{if(Ar(n,e))return r[e]=1,n[e];if(s!==Te&&ue(s,e))return r[e]=2,s[e];if((c=t.propsOptions[0])&&ue(c,e))return r[e]=3,a[e];if(i!==Te&&ue(i,e))return r[e]=4,i[e];uo&&(r[e]=0)}}const u=ms[e];let h,d;if(u)return e==="$attrs"&&Ct(t,"get",e),u(t);if((h=o.__cssModules)&&(h=h[e]))return h;if(i!==Te&&ue(i,e))return r[e]=4,i[e];if(d=l.config.globalProperties,ue(d,e))return d[e]},set({_:t},e,i){const{data:n,setupState:s,ctx:a}=t;return Ar(s,e)?(s[e]=i,!0):n!==Te&&ue(n,e)?(n[e]=i,!0):ue(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(a[e]=i,!0)},has({_:{data:t,setupState:e,accessCache:i,ctx:n,appContext:s,propsOptions:a}},r){let o;return!!i[r]||t!==Te&&ue(t,r)||Ar(e,r)||(o=a[0])&&ue(o,r)||ue(n,r)||ue(ms,r)||ue(s.config.globalProperties,r)},defineProperty(t,e,i){return i.get!=null?t._.accessCache[e]=0:ue(i,"value")&&this.set(t,e,i.value,null),Reflect.defineProperty(t,e,i)}};function oc(t){return ee(t)?t.reduce((e,i)=>(e[i]=null,e),{}):t}let uo=!0;function Hp(t){const e=Jo(t),i=t.proxy,n=t.ctx;uo=!1,e.beforeCreate&&lc(e.beforeCreate,t,"bc");const{data:s,computed:a,methods:r,watch:o,provide:l,inject:c,created:u,beforeMount:h,mounted:d,beforeUpdate:m,updated:f,activated:p,deactivated:y,beforeDestroy:_,beforeUnmount:v,destroyed:C,unmounted:x,render:F,renderTracked:L,renderTriggered:$,errorCaptured:H,serverPrefetch:re,expose:oe,inheritAttrs:_e,components:He,directives:Ke,filters:Et}=e;if(c&&Yp(c,n,null),r)for(const j in r){const se=r[j];ne(se)&&(n[j]=se.bind(i))}if(s){const j=s.call(i,i);Me(j)&&(t.data=ar(j))}if(uo=!0,a)for(const j in a){const se=a[j],Ye=ne(se)?se.bind(i,i):ne(se.get)?se.get.bind(i,i):Kt,$e=!ne(se)&&ne(se.set)?se.set.bind(i):Kt,ot=Oe({get:Ye,set:$e});Object.defineProperty(n,j,{enumerable:!0,configurable:!0,get:()=>ot.value,set:me=>ot.value=me})}if(o)for(const j in o)$h(o[j],n,i,j);if(l){const j=ne(l)?l.call(i):l;Reflect.ownKeys(j).forEach(se=>{_a(se,j[se])})}u&&lc(u,t,"c");function ve(j,se){ee(se)?se.forEach(Ye=>j(Ye.bind(i))):se&&j(se.bind(i))}if(ve(Zp,h),ve(zh,d),ve(Xp,m),ve(Wp,f),ve(Ap,p),ve(Op,y),ve(qp,H),ve(Bp,L),ve(Up,$),ve(Kp,v),ve(Hh,x),ve(Vp,re),ee(oe))if(oe.length){const j=t.exposed||(t.exposed={});oe.forEach(se=>{Object.defineProperty(j,se,{get:()=>i[se],set:Ye=>i[se]=Ye})})}else t.exposed||(t.exposed={});F&&t.render===Kt&&(t.render=F),_e!=null&&(t.inheritAttrs=_e),He&&(t.components=He),Ke&&(t.directives=Ke)}function Yp(t,e,i=Kt){ee(t)&&(t=ho(t));for(const n in t){const s=t[n];let a;Me(s)?"default"in s?a=hi(s.from||n,s.default,!0):a=hi(s.from||n):a=hi(s),dt(a)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:r=>a.value=r}):e[n]=a}}function lc(t,e,i){Vt(ee(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,i)}function $h(t,e,i,n){const s=n.includes(".")?Vh(i,n):()=>i[n];if(Qe(t)){const a=e[t];ne(a)&&ba(s,a)}else if(ne(t))ba(s,t.bind(i));else if(Me(t))if(ee(t))t.forEach(a=>$h(a,e,i,n));else{const a=ne(t.handler)?t.handler.bind(i):e[t.handler];ne(a)&&ba(s,a,t)}}function Jo(t){const e=t.type,{mixins:i,extends:n}=e,{mixins:s,optionsCache:a,config:{optionMergeStrategies:r}}=t.appContext,o=a.get(e);let l;return o?l=o:!s.length&&!i&&!n?l=e:(l={},s.length&&s.forEach(c=>Sa(l,c,r,!0)),Sa(l,e,r)),Me(e)&&a.set(e,l),l}function Sa(t,e,i,n=!1){const{mixins:s,extends:a}=e;a&&Sa(t,a,i,!0),s&&s.forEach(r=>Sa(t,r,i,!0));for(const r in e)if(!(n&&r==="expose")){const o=$p[r]||i&&i[r];t[r]=o?o(t[r],e[r]):e[r]}return t}const $p={data:cc,props:uc,emits:uc,methods:ls,computed:ls,beforeCreate:pt,created:pt,beforeMount:pt,mounted:pt,beforeUpdate:pt,updated:pt,beforeDestroy:pt,beforeUnmount:pt,destroyed:pt,unmounted:pt,activated:pt,deactivated:pt,errorCaptured:pt,serverPrefetch:pt,components:ls,directives:ls,watch:Jp,provide:cc,inject:jp};function cc(t,e){return e?t?function(){return rt(ne(t)?t.call(this,this):t,ne(e)?e.call(this,this):e)}:e:t}function jp(t,e){return ls(ho(t),ho(e))}function ho(t){if(ee(t)){const e={};for(let i=0;i1)return i&&ne(e)?e.call(n&&n.proxy):e}}function tg(t,e,i,n=!1){const s={},a={};Ia(a,hr,1),t.propsDefaults=Object.create(null),Jh(t,e,s,a);for(const r in t.propsOptions[0])r in s||(s[r]=void 0);i?t.props=n?s:kh(s):t.type.props?t.props=s:t.props=a,t.attrs=a}function ig(t,e,i,n){const{props:s,attrs:a,vnode:{patchFlag:r}}=t,o=fe(s),[l]=t.propsOptions;let c=!1;if((n||r>0)&&!(r&16)){if(r&8){const u=t.vnode.dynamicProps;for(let h=0;h{l=!0;const[d,m]=Qh(h,e,!0);rt(r,d),m&&o.push(...m)};!i&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!a&&!l)return Me(t)&&n.set(t,Mn),Mn;if(ee(a))for(let u=0;u-1,m[1]=p<0||f-1||ue(m,"default"))&&o.push(h)}}}const c=[r,o];return Me(t)&&n.set(t,c),c}function hc(t){return t[0]!=="$"}function dc(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function mc(t,e){return dc(t)===dc(e)}function fc(t,e){return ee(e)?e.findIndex(i=>mc(i,t)):ne(e)&&mc(e,t)?0:-1}const ed=t=>t[0]==="_"||t==="$stable",Qo=t=>ee(t)?t.map($t):[$t(t)],ng=(t,e,i)=>{if(e._n)return e;const n=Je((...s)=>Qo(e(...s)),i);return n._c=!1,n},td=(t,e,i)=>{const n=t._ctx;for(const s in t){if(ed(s))continue;const a=t[s];if(ne(a))e[s]=ng(s,a,n);else if(a!=null){const r=Qo(a);e[s]=()=>r}}},id=(t,e)=>{const i=Qo(e);t.slots.default=()=>i},sg=(t,e)=>{if(t.vnode.shapeFlag&32){const i=e._;i?(t.slots=fe(e),Ia(e,"_",i)):td(e,t.slots={})}else t.slots={},e&&id(t,e);Ia(t.slots,hr,1)},ag=(t,e,i)=>{const{vnode:n,slots:s}=t;let a=!0,r=Te;if(n.shapeFlag&32){const o=e._;o?i&&o===1?a=!1:(rt(s,e),!i&&o===1&&delete s._):(a=!e.$stable,td(e,s)),r=e}else e&&(id(t,e),r={default:1});if(a)for(const o in s)!ed(o)&&r[o]==null&&delete s[o]};function fo(t,e,i,n,s=!1){if(ee(t)){t.forEach((d,m)=>fo(d,e&&(ee(e)?e[m]:e),i,n,s));return}if(ds(n)&&!s)return;const a=n.shapeFlag&4?dr(n.component)||n.component.proxy:n.el,r=s?null:a,{i:o,r:l}=t,c=e&&e.r,u=o.refs===Te?o.refs={}:o.refs,h=o.setupState;if(c!=null&&c!==l&&(Qe(c)?(u[c]=null,ue(h,c)&&(h[c]=null)):dt(c)&&(c.value=null)),ne(l))Fi(l,o,12,[r,u]);else{const d=Qe(l),m=dt(l);if(d||m){const f=()=>{if(t.f){const p=d?ue(h,l)?h[l]:u[l]:l.value;s?ee(p)&&Wo(p,a):ee(p)?p.includes(a)||p.push(a):d?(u[l]=[a],ue(h,l)&&(h[l]=u[l])):(l.value=[a],t.k&&(u[t.k]=l.value))}else d?(u[l]=r,ue(h,l)&&(h[l]=r)):m&&(l.value=r,t.k&&(u[t.k]=r))};r?(f.id=-1,Nt(f,i)):f()}}}const Nt=Dp;function rg(t){return og(t)}function og(t,e){const i=no();i.__VUE__=!0;const{insert:n,remove:s,patchProp:a,createElement:r,createText:o,createComment:l,setText:c,setElementText:u,parentNode:h,nextSibling:d,setScopeId:m=Kt,insertStaticContent:f}=t,p=(g,b,N,k=null,M=null,I=null,G=!1,S=null,A=!!b.dynamicChildren)=>{if(g===b)return;g&&!is(g,b)&&(k=E(g),me(g,M,I,!0),g=null),b.patchFlag===-2&&(A=!1,b.dynamicChildren=null);const{type:T,ref:U,shapeFlag:W}=b;switch(T){case ur:y(g,b,N,k);break;case Ri:_(g,b,N,k);break;case va:g==null&&v(b,N,k,G);break;case Re:He(g,b,N,k,M,I,G,S,A);break;default:W&1?F(g,b,N,k,M,I,G,S,A):W&6?Ke(g,b,N,k,M,I,G,S,A):(W&64||W&128)&&T.process(g,b,N,k,M,I,G,S,A,P)}U!=null&&M&&fo(U,g&&g.ref,I,b||g,!b)},y=(g,b,N,k)=>{if(g==null)n(b.el=o(b.children),N,k);else{const M=b.el=g.el;b.children!==g.children&&c(M,b.children)}},_=(g,b,N,k)=>{g==null?n(b.el=l(b.children||""),N,k):b.el=g.el},v=(g,b,N,k)=>{[g.el,g.anchor]=f(g.children,b,N,k,g.el,g.anchor)},C=({el:g,anchor:b},N,k)=>{let M;for(;g&&g!==b;)M=d(g),n(g,N,k),g=M;n(b,N,k)},x=({el:g,anchor:b})=>{let N;for(;g&&g!==b;)N=d(g),s(g),g=N;s(b)},F=(g,b,N,k,M,I,G,S,A)=>{G=G||b.type==="svg",g==null?L(b,N,k,M,I,G,S,A):re(g,b,M,I,G,S,A)},L=(g,b,N,k,M,I,G,S)=>{let A,T;const{type:U,props:W,shapeFlag:z,transition:te,dirs:ae}=g;if(A=g.el=r(g.type,I,W&&W.is,W),z&8?u(A,g.children):z&16&&H(g.children,A,null,k,M,I&&U!=="foreignObject",G,S),ae&&Oi(g,null,k,"created"),$(A,g,g.scopeId,G,k),W){for(const he in W)he!=="value"&&!ga(he)&&a(A,he,null,W[he],I,g.children,k,M,Pe);"value"in W&&a(A,"value",null,W.value),(T=W.onVnodeBeforeMount)&&Ht(T,k,g)}ae&&Oi(g,null,k,"beforeMount");const Ne=lg(M,te);Ne&&te.beforeEnter(A),n(A,b,N),((T=W&&W.onVnodeMounted)||Ne||ae)&&Nt(()=>{T&&Ht(T,k,g),Ne&&te.enter(A),ae&&Oi(g,null,k,"mounted")},M)},$=(g,b,N,k,M)=>{if(N&&m(g,N),k)for(let I=0;I{for(let T=A;T{const S=b.el=g.el;let{patchFlag:A,dynamicChildren:T,dirs:U}=b;A|=g.patchFlag&16;const W=g.props||Te,z=b.props||Te;let te;N&&Gi(N,!1),(te=z.onVnodeBeforeUpdate)&&Ht(te,N,b,g),U&&Oi(b,g,N,"beforeUpdate"),N&&Gi(N,!0);const ae=M&&b.type!=="foreignObject";if(T?oe(g.dynamicChildren,T,S,N,k,ae,I):G||se(g,b,S,null,N,k,ae,I,!1),A>0){if(A&16)_e(S,b,W,z,N,k,M);else if(A&2&&W.class!==z.class&&a(S,"class",null,z.class,M),A&4&&a(S,"style",W.style,z.style,M),A&8){const Ne=b.dynamicProps;for(let he=0;he{te&&Ht(te,N,b,g),U&&Oi(b,g,N,"updated")},k)},oe=(g,b,N,k,M,I,G)=>{for(let S=0;S{if(N!==k){if(N!==Te)for(const S in N)!ga(S)&&!(S in k)&&a(g,S,N[S],null,G,b.children,M,I,Pe);for(const S in k){if(ga(S))continue;const A=k[S],T=N[S];A!==T&&S!=="value"&&a(g,S,T,A,G,b.children,M,I,Pe)}"value"in k&&a(g,"value",N.value,k.value)}},He=(g,b,N,k,M,I,G,S,A)=>{const T=b.el=g?g.el:o(""),U=b.anchor=g?g.anchor:o("");let{patchFlag:W,dynamicChildren:z,slotScopeIds:te}=b;te&&(S=S?S.concat(te):te),g==null?(n(T,N,k),n(U,N,k),H(b.children,N,U,M,I,G,S,A)):W>0&&W&64&&z&&g.dynamicChildren?(oe(g.dynamicChildren,z,N,M,I,G,S),(b.key!=null||M&&b===M.subTree)&&nd(g,b,!0)):se(g,b,N,U,M,I,G,S,A)},Ke=(g,b,N,k,M,I,G,S,A)=>{b.slotScopeIds=S,g==null?b.shapeFlag&512?M.ctx.activate(b,N,k,G,A):Et(b,N,k,M,I,G,A):tt(g,b,A)},Et=(g,b,N,k,M,I,G)=>{const S=g.component=bg(g,k,M);if(Bh(g)&&(S.ctx.renderer=P),_g(S),S.asyncDep){if(M&&M.registerDep(S,ve),!g.el){const A=S.subTree=B(Ri);_(null,A,b,N)}return}ve(S,g,b,N,M,I,G)},tt=(g,b,N)=>{const k=b.component=g.component;if(Ip(g,b,N))if(k.asyncDep&&!k.asyncResolved){j(k,b,N);return}else k.next=b,wp(k.update),k.update();else b.el=g.el,k.vnode=b},ve=(g,b,N,k,M,I,G)=>{const S=()=>{if(g.isMounted){let{next:U,bu:W,u:z,parent:te,vnode:ae}=g,Ne=U,he;Gi(g,!1),U?(U.el=ae.el,j(g,U,G)):U=ae,W&&ya(W),(he=U.props&&U.props.onVnodeBeforeUpdate)&&Ht(he,te,U,ae),Gi(g,!0);const Ie=Pr(g),kt=g.subTree;g.subTree=Ie,p(kt,Ie,h(kt.el),E(kt),g,M,I),U.el=Ie.el,Ne===null&&Tp(g,Ie.el),z&&Nt(z,M),(he=U.props&&U.props.onVnodeUpdated)&&Nt(()=>Ht(he,te,U,ae),M)}else{let U;const{el:W,props:z}=b,{bm:te,m:ae,parent:Ne}=g,he=ds(b);if(Gi(g,!1),te&&ya(te),!he&&(U=z&&z.onVnodeBeforeMount)&&Ht(U,Ne,b),Gi(g,!0),W&&ce){const Ie=()=>{g.subTree=Pr(g),ce(W,g.subTree,g,M,null)};he?b.type.__asyncLoader().then(()=>!g.isUnmounted&&Ie()):Ie()}else{const Ie=g.subTree=Pr(g);p(null,Ie,N,k,g,M,I),b.el=Ie.el}if(ae&&Nt(ae,M),!he&&(U=z&&z.onVnodeMounted)){const Ie=b;Nt(()=>Ht(U,Ne,Ie),M)}(b.shapeFlag&256||Ne&&ds(Ne.vnode)&&Ne.vnode.shapeFlag&256)&&g.a&&Nt(g.a,M),g.isMounted=!0,b=N=k=null}},A=g.effect=new Bo(S,()=>jo(T),g.scope),T=g.update=()=>A.run();T.id=g.uid,Gi(g,!0),T()},j=(g,b,N)=>{b.component=g;const k=g.vnode.props;g.vnode=b,g.next=null,ig(g,b.props,k,N),ag(g,b.children,N),jn(),sc(),Jn()},se=(g,b,N,k,M,I,G,S,A=!1)=>{const T=g&&g.children,U=g?g.shapeFlag:0,W=b.children,{patchFlag:z,shapeFlag:te}=b;if(z>0){if(z&128){$e(T,W,N,k,M,I,G,S,A);return}else if(z&256){Ye(T,W,N,k,M,I,G,S,A);return}}te&8?(U&16&&Pe(T,M,I),W!==T&&u(N,W)):U&16?te&16?$e(T,W,N,k,M,I,G,S,A):Pe(T,M,I,!0):(U&8&&u(N,""),te&16&&H(W,N,k,M,I,G,S,A))},Ye=(g,b,N,k,M,I,G,S,A)=>{g=g||Mn,b=b||Mn;const T=g.length,U=b.length,W=Math.min(T,U);let z;for(z=0;zU?Pe(g,M,I,!0,!1,W):H(b,N,k,M,I,G,S,A,W)},$e=(g,b,N,k,M,I,G,S,A)=>{let T=0;const U=b.length;let W=g.length-1,z=U-1;for(;T<=W&&T<=z;){const te=g[T],ae=b[T]=A?vi(b[T]):$t(b[T]);if(is(te,ae))p(te,ae,N,null,M,I,G,S,A);else break;T++}for(;T<=W&&T<=z;){const te=g[W],ae=b[z]=A?vi(b[z]):$t(b[z]);if(is(te,ae))p(te,ae,N,null,M,I,G,S,A);else break;W--,z--}if(T>W){if(T<=z){const te=z+1,ae=tez)for(;T<=W;)me(g[T],M,I,!0),T++;else{const te=T,ae=T,Ne=new Map;for(T=ae;T<=z;T++){const Mt=b[T]=A?vi(b[T]):$t(b[T]);Mt.key!=null&&Ne.set(Mt.key,T)}let he,Ie=0;const kt=z-ae+1;let je=!1,Xl=0;const ts=new Array(kt);for(T=0;T=kt){me(Mt,M,I,!0);continue}let zt;if(Mt.key!=null)zt=Ne.get(Mt.key);else for(he=ae;he<=z;he++)if(ts[he-ae]===0&&is(Mt,b[he])){zt=he;break}zt===void 0?me(Mt,M,I,!0):(ts[zt-ae]=T+1,zt>=Xl?Xl=zt:je=!0,p(Mt,b[zt],N,null,M,I,G,S,A),Ie++)}const Wl=je?cg(ts):Mn;for(he=Wl.length-1,T=kt-1;T>=0;T--){const Mt=ae+T,zt=b[Mt],Kl=Mt+1{const{el:I,type:G,transition:S,children:A,shapeFlag:T}=g;if(T&6){ot(g.component.subTree,b,N,k);return}if(T&128){g.suspense.move(b,N,k);return}if(T&64){G.move(g,b,N,P);return}if(G===Re){n(I,b,N);for(let W=0;WS.enter(I),M);else{const{leave:W,delayLeave:z,afterLeave:te}=S,ae=()=>n(I,b,N),Ne=()=>{W(I,()=>{ae(),te&&te()})};z?z(I,ae,Ne):Ne()}else n(I,b,N)},me=(g,b,N,k=!1,M=!1)=>{const{type:I,props:G,ref:S,children:A,dynamicChildren:T,shapeFlag:U,patchFlag:W,dirs:z}=g;if(S!=null&&fo(S,null,N,g,!0),U&256){b.ctx.deactivate(g);return}const te=U&1&&z,ae=!ds(g);let Ne;if(ae&&(Ne=G&&G.onVnodeBeforeUnmount)&&Ht(Ne,b,g),U&6)Se(g.component,N,k);else{if(U&128){g.suspense.unmount(N,k);return}te&&Oi(g,null,b,"beforeUnmount"),U&64?g.type.remove(g,b,N,M,P,k):T&&(I!==Re||W>0&&W&64)?Pe(T,b,N,!1,!0):(I===Re&&W&384||!M&&U&16)&&Pe(A,b,N),k&&Ve(g)}(ae&&(Ne=G&&G.onVnodeUnmounted)||te)&&Nt(()=>{Ne&&Ht(Ne,b,g),te&&Oi(g,null,b,"unmounted")},N)},Ve=g=>{const{type:b,el:N,anchor:k,transition:M}=g;if(b===Re){pe(N,k);return}if(b===va){x(g);return}const I=()=>{s(N),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(g.shapeFlag&1&&M&&!M.persisted){const{leave:G,delayLeave:S}=M,A=()=>G(N,I);S?S(g.el,I,A):A()}else I()},pe=(g,b)=>{let N;for(;g!==b;)N=d(g),s(g),g=N;s(b)},Se=(g,b,N)=>{const{bum:k,scope:M,update:I,subTree:G,um:S}=g;k&&ya(k),M.stop(),I&&(I.active=!1,me(G,g,b,N)),S&&Nt(S,b),Nt(()=>{g.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},Pe=(g,b,N,k=!1,M=!1,I=0)=>{for(let G=I;Gg.shapeFlag&6?E(g.component.subTree):g.shapeFlag&128?g.suspense.next():d(g.anchor||g.el),Z=(g,b,N)=>{g==null?b._vnode&&me(b._vnode,null,null,!0):p(b._vnode||null,g,b,null,null,null,N),sc(),Gh(),b._vnode=g},P={p,um:me,m:ot,r:Ve,mt:Et,mc:H,pc:se,pbc:oe,n:E,o:t};let q,ce;return e&&([q,ce]=e(P)),{render:Z,hydrate:q,createApp:eg(Z,q)}}function Gi({effect:t,update:e},i){t.allowRecurse=e.allowRecurse=i}function lg(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function nd(t,e,i=!1){const n=t.children,s=e.children;if(ee(n)&&ee(s))for(let a=0;a>1,t[i[o]]0&&(e[n]=i[a-1]),i[a]=n)}}for(a=i.length,r=i[a-1];a-- >0;)i[a]=r,r=e[r];return i}const ug=t=>t.__isTeleport,Re=Symbol.for("v-fgt"),ur=Symbol.for("v-txt"),Ri=Symbol.for("v-cmt"),va=Symbol.for("v-stc"),fs=[];let Wt=null;function D(t=!1){fs.push(Wt=t?null:[])}function hg(){fs.pop(),Wt=fs[fs.length-1]||null}let Cs=1;function pc(t){Cs+=t}function sd(t){return t.dynamicChildren=Cs>0?Wt||Mn:null,hg(),Cs>0&&Wt&&Wt.push(t),t}function K(t,e,i,n,s,a){return sd(w(t,e,i,n,s,a,!0))}function wt(t,e,i,n,s){return sd(B(t,e,i,n,s,!0))}function Pa(t){return t?t.__v_isVNode===!0:!1}function is(t,e){return t.type===e.type&&t.key===e.key}const hr="__vInternal",ad=({key:t})=>t??null,Na=({ref:t,ref_key:e,ref_for:i})=>(typeof t=="number"&&(t=""+t),t!=null?Qe(t)||dt(t)||ne(t)?{i:mt,r:t,k:e,f:!!i}:t:null);function w(t,e=null,i=null,n=0,s=null,a=t===Re?0:1,r=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&ad(e),ref:e&&Na(e),scopeId:lr,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:mt};return o?(el(l,i),a&128&&t.normalize(l)):i&&(l.shapeFlag|=Qe(i)?8:16),Cs>0&&!r&&Wt&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&Wt.push(l),l}const B=dg;function dg(t,e=null,i=null,n=0,s=null,a=!1){if((!t||t===Rp)&&(t=Ri),Pa(t)){const o=Kn(t,e,!0);return i&&el(o,i),Cs>0&&!a&&Wt&&(o.shapeFlag&6?Wt[Wt.indexOf(t)]=o:Wt.push(o)),o.patchFlag|=-2,o}if(Cg(t)&&(t=t.__vccOpts),e){e=mg(e);let{class:o,style:l}=e;o&&!Qe(o)&&(e.class=$i(o)),Me(l)&&(Ih(l)&&!ee(l)&&(l=rt({},l)),e.style=Vo(l))}const r=Qe(t)?1:Sp(t)?128:ug(t)?64:Me(t)?4:ne(t)?2:0;return w(t,e,i,n,s,r,a,!0)}function mg(t){return t?Ih(t)||hr in t?rt({},t):t:null}function Kn(t,e,i=!1){const{props:n,ref:s,patchFlag:a,children:r}=t,o=e?pg(n||{},e):n;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:o,key:o&&ad(o),ref:e&&e.ref?i&&s?ee(s)?s.concat(Na(e)):[s,Na(e)]:Na(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:r,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Re?a===-1?16:a|16:a,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Kn(t.ssContent),ssFallback:t.ssFallback&&Kn(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function Ee(t=" ",e=0){return B(ur,null,t,e)}function fg(t,e){const i=B(va,null,t);return i.staticCount=e,i}function De(t="",e=!1){return e?(D(),wt(Ri,null,t)):B(Ri,null,t)}function $t(t){return t==null||typeof t=="boolean"?B(Ri):ee(t)?B(Re,null,t.slice()):typeof t=="object"?vi(t):B(ur,null,String(t))}function vi(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Kn(t)}function el(t,e){let i=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(ee(e))i=16;else if(typeof e=="object")if(n&65){const s=e.default;s&&(s._c&&(s._d=!1),el(t,s()),s._c&&(s._d=!0));return}else{i=32;const s=e._;!s&&!(hr in e)?e._ctx=mt:s===3&&mt&&(mt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else ne(e)?(e={default:e,_ctx:mt},i=32):(e=String(e),n&64?(i=16,e=[Ee(e)]):i=8);t.children=e,t.shapeFlag|=i}function pg(...t){const e={};for(let i=0;iat=t),tl=t=>{hn.length>1?hn.forEach(e=>e(t)):hn[0](t)};const Vn=t=>{tl(t),t.scope.on()},Qi=()=>{at&&at.scope.off(),tl(null)};function rd(t){return t.vnode.shapeFlag&4}let Fs=!1;function _g(t,e=!1){Fs=e;const{props:i,children:n}=t.vnode,s=rd(t);tg(t,i,s,e),sg(t,n);const a=s?vg(t,e):void 0;return Fs=!1,a}function vg(t,e){const i=t.type;t.accessCache=Object.create(null),t.proxy=Th(new Proxy(t.ctx,zp));const{setup:n}=i;if(n){const s=t.setupContext=n.length>1?xg(t):null;Vn(t),jn();const a=Fi(n,t,0,[t.props,s]);if(Jn(),Qi(),dh(a)){if(a.then(Qi,Qi),e)return a.then(r=>{yc(t,r,e)}).catch(r=>{rr(r,t,0)});t.asyncDep=a}else yc(t,a,e)}else od(t,e)}function yc(t,e,i){ne(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Me(e)&&(t.setupState=Dh(e)),od(t,i)}let bc;function od(t,e,i){const n=t.type;if(!t.render){if(!e&&bc&&!n.render){const s=n.template||Jo(t).template;if(s){const{isCustomElement:a,compilerOptions:r}=t.appContext.config,{delimiters:o,compilerOptions:l}=n,c=rt(rt({isCustomElement:a,delimiters:o},r),l);n.render=bc(s,c)}}t.render=n.render||Kt}{Vn(t),jn();try{Hp(t)}finally{Jn(),Qi()}}}function Ng(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,i){return Ct(t,"get","$attrs"),e[i]}}))}function xg(t){const e=i=>{t.exposed=i||{}};return{get attrs(){return Ng(t)},slots:t.slots,emit:t.emit,expose:e}}function dr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Dh(Th(t.exposed)),{get(e,i){if(i in e)return e[i];if(i in ms)return ms[i](t)},has(e,i){return i in e||i in ms}}))}function wg(t,e=!0){return ne(t)?t.displayName||t.name:t.name||e&&t.__name}function Cg(t){return ne(t)&&"__vccOpts"in t}const Oe=(t,e)=>vp(t,e,Fs);function ld(t,e,i){const n=arguments.length;return n===2?Me(e)&&!ee(e)?Pa(e)?B(t,null,[e]):B(t,e):B(t,null,e):(n>3?i=Array.prototype.slice.call(arguments,2):n===3&&Pa(i)&&(i=[i]),B(t,e,i))}const Fg=Symbol.for("v-scx"),Eg=()=>hi(Fg),kg="3.3.8",Mg="http://www.w3.org/2000/svg",Bi=typeof document<"u"?document:null,_c=Bi&&Bi.createElement("template"),Ig={insert:(t,e,i)=>{e.insertBefore(t,i||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,i,n)=>{const s=e?Bi.createElementNS(Mg,t):Bi.createElement(t,i?{is:i}:void 0);return t==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:t=>Bi.createTextNode(t),createComment:t=>Bi.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Bi.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,i,n,s,a){const r=i?i.previousSibling:e.lastChild;if(s&&(s===a||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),i),!(s===a||!(s=s.nextSibling)););else{_c.innerHTML=n?`${t}`:t;const o=_c.content;if(n){const l=o.firstChild;for(;l.firstChild;)o.appendChild(l.firstChild);o.removeChild(l)}e.insertBefore(o,i)}return[r?r.nextSibling:e.firstChild,i?i.previousSibling:e.lastChild]}},Tg=Symbol("_vtc");function Rg(t,e,i){const n=t[Tg];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):i?t.setAttribute("class",e):t.className=e}const Lg=Symbol("_vod");function Sg(t,e,i){const n=t.style,s=Qe(i);if(i&&!s){if(e&&!Qe(e))for(const a in e)i[a]==null&&po(n,a,"");for(const a in i)po(n,a,i[a])}else{const a=n.display;s?e!==i&&(n.cssText=i):e&&t.removeAttribute("style"),Lg in t&&(n.display=a)}}const vc=/\s*!important$/;function po(t,e,i){if(ee(i))i.forEach(n=>po(t,e,n));else if(i==null&&(i=""),e.startsWith("--"))t.setProperty(e,i);else{const n=Dg(t,e);vc.test(i)?t.setProperty($n(n),i.replace(vc,""),"important"):t[n]=i}}const Nc=["Webkit","Moz","ms"],Or={};function Dg(t,e){const i=Or[e];if(i)return i;let n=ii(e);if(n!=="filter"&&n in t)return Or[e]=n;n=ir(n);for(let s=0;sGr||(Xg.then(()=>Gr=0),Gr=Date.now());function Kg(t,e){const i=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=i.attached)return;Vt(Vg(n,i.value),e,5,[n])};return i.value=t,i.attached=Wg(),i}function Vg(t,e){if(ee(e)){const i=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{i.call(t),t._stopped=!0},e.map(n=>s=>!s._stopped&&n&&n(s))}else return e}const Fc=/^on[a-z]/,Ug=(t,e,i,n,s=!1,a,r,o,l)=>{e==="class"?Rg(t,n,s):e==="style"?Sg(t,i,n):Qa(e)?Xo(e)||Gg(t,e,i,n,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Bg(t,e,n,s))?Ag(t,e,n,a,r,o,l):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),Pg(t,e,n,s))};function Bg(t,e,i,n){return n?!!(e==="innerHTML"||e==="textContent"||e in t&&Fc.test(e)&&ne(i)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||Fc.test(e)&&Qe(i)?!1:e in t}const Aa=t=>{const e=t.props["onUpdate:modelValue"]||!1;return ee(e)?i=>ya(e,i):e};function qg(t){t.target.composing=!0}function Ec(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Ln=Symbol("_assign"),mr={created(t,{modifiers:{lazy:e,trim:i,number:n}},s){t[Ln]=Aa(s);const a=n||s.props&&s.props.type==="number";qi(t,e?"change":"input",r=>{if(r.target.composing)return;let o=t.value;i&&(o=o.trim()),a&&(o=Ta(o)),t[Ln](o)}),i&&qi(t,"change",()=>{t.value=t.value.trim()}),e||(qi(t,"compositionstart",qg),qi(t,"compositionend",Ec),qi(t,"change",Ec))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:i,trim:n,number:s}},a){if(t[Ln]=Aa(a),t.composing||document.activeElement===t&&t.type!=="range"&&(i||n&&t.value.trim()===e||(s||t.type==="number")&&Ta(t.value)===e))return;const r=e??"";t.value!==r&&(t.value=r)}},Oa={deep:!0,created(t,{value:e,modifiers:{number:i}},n){const s=er(e);qi(t,"change",()=>{const a=Array.prototype.filter.call(t.options,r=>r.selected).map(r=>i?Ta(Ga(r)):Ga(r));t[Ln](t.multiple?s?new Set(a):a:a[0])}),t[Ln]=Aa(n)},mounted(t,{value:e}){kc(t,e)},beforeUpdate(t,e,i){t[Ln]=Aa(i)},updated(t,{value:e}){kc(t,e)}};function kc(t,e){const i=t.multiple;if(!(i&&!ee(e)&&!er(e))){for(let n=0,s=t.options.length;n-1:a.selected=e.has(r);else if(nr(Ga(a),e)){t.selectedIndex!==n&&(t.selectedIndex=n);return}}!i&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Ga(t){return"_value"in t?t._value:t.value}const zg=rt({patchProp:Ug},Ig);let Mc;function Hg(){return Mc||(Mc=rg(zg))}const Yg=(...t)=>{const e=Hg().createApp(...t),{mount:i}=e;return e.mount=n=>{const s=$g(n);if(!s)return;const a=e._component;!ne(a)&&!a.render&&!a.template&&(a.template=s.innerHTML),s.innerHTML="";const r=i(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),r},e};function $g(t){return Qe(t)?document.querySelector(t):t}const We=(t,e)=>{const i=t.__vccOpts||t;for(const[n,s]of e)i[n]=s;return i},jg={name:"CodeBlock",props:["lang"]};function Jg(t,e,i,n,s,a){return D(),K("pre",null,[w("code",{class:$i(i.lang+" border-0 rounded-2 p-3")},[Ji(t.$slots,"default")],2)])}const il=We(jg,[["render",Jg]]);const Qg={name:"LibName"},e0=t=>(rn("data-v-7ef10a1b"),t=t(),on(),t),t0=e0(()=>w("span",null,"ogc-client",-1)),i0=[t0];function n0(t,e,i,n,s,a){return D(),K("div",null,i0)}const s0=We(Qg,[["render",n0],["__scopeId","data-v-7ef10a1b"]]),a0={name:"Docs",components:{CodeBlock:il,LibName:s0},async mounted(){hljs.highlightAll()}},r0=w("h2",{class:"mb-4"},"Presentation",-1),o0=w("a",{href:"https://www.ogc.org/docs/is"},"OGC standards.",-1),l0=fg('

Its purpose is to helps you interact with them in a user-friendly and consistent way.

Its main features include:

Usage

',4),c0=w("p",null,"Then, use it like so:",-1),u0=w("pre",null,`import { WfsEndpoint } from '@camptocamp/ogc-client'; new WfsEndpoint("https://my.server.org/ows") .isReady() .then( (endpoint) => console.log(endpoint.getFeatureTypes()) ) - `,-1),h1=x("p",null," Please refer to the API section for more details on how to use each functionality. ",-1),d1={class:"card text-bg-light mb-3"},f1=x("div",{class:"card-header"},"A note on text encoding",-1),m1={class:"card-body"},p1=x("p",{class:"card-text"},[Ee(" Even though "),x("strong",null,"UTF-8"),Ee(" is the most common text encoding in the web, some services might respond with other encodings such as "),x("strong",null,"UTF-16"),Ee(", "),x("strong",null,[x("a",{href:"https://en.wikipedia.org/wiki/ISO/IEC_8859-1"},"ISO-8859-1")]),Ee(", etc. ")],-1),g1={class:"card-text"},y1=x("a",{href:"https://github.com/camptocamp/ogc-client/issues/new"},"open an issue",-1),b1=x("h2",{class:"mt-5 mb-4"},"Why use it?",-1),_1=x("p",null," Many libraries are able to leverage OGC protocols for various specialized tasks, for instance downloading data or rendering maps. Often times though, the application code has the responsibility to specify the version to use, the coordinate system, the bounding box to query, etc. ",-1),v1=x("a",{href:"https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS"},"CORS",-1),N1=x("a",{href:"https://developer.mozilla.org/en-US/docs/Web/API/Cache"},"Cache API",-1),w1=x("ul",null,[x("li",null,[Ee(" No GML geometry parsing: the "),x("a",{href:"https://openlayers.org/en/latest/apidoc/module-ol_format_GML32-GML32.html"},"OpenLayers GML parser"),Ee(" offers extensive support of the GML format ")])],-1),x1=x("h2",{class:"mt-5 mb-4"},"Examples",-1),C1=x("h5",null,"Read a WMS layer extent",-1),F1=x("pre",null,`import { WmsEndpoint } from '@camptocamp/ogc-client'; + `,-1),h0=w("p",null," Please refer to the API section for more details on how to use each functionality. ",-1),d0={class:"card text-bg-light mb-3"},m0=w("div",{class:"card-header"},"A note on text encoding",-1),f0={class:"card-body"},p0=w("p",{class:"card-text"},[Ee(" Even though "),w("strong",null,"UTF-8"),Ee(" is the most common text encoding in the web, some services might respond with other encodings such as "),w("strong",null,"UTF-16"),Ee(", "),w("strong",null,[w("a",{href:"https://en.wikipedia.org/wiki/ISO/IEC_8859-1"},"ISO-8859-1")]),Ee(", etc. ")],-1),g0={class:"card-text"},y0=w("a",{href:"https://github.com/camptocamp/ogc-client/issues/new"},"open an issue",-1),b0=w("h2",{class:"mt-5 mb-4"},"Why use it?",-1),_0=w("p",null," Many libraries are able to leverage OGC protocols for various specialized tasks, for instance downloading data or rendering maps. Often times though, the application code has the responsibility to specify the version to use, the coordinate system, the bounding box to query, etc. ",-1),v0=w("a",{href:"https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS"},"CORS",-1),N0=w("a",{href:"https://developer.mozilla.org/en-US/docs/Web/API/Cache"},"Cache API",-1),x0=w("ul",null,[w("li",null,[Ee(" No GML geometry parsing: the "),w("a",{href:"https://openlayers.org/en/latest/apidoc/module-ol_format_GML32-GML32.html"},"OpenLayers GML parser"),Ee(" offers extensive support of the GML format ")])],-1),w0=w("h2",{class:"mt-5 mb-4"},"Examples",-1),C0=w("h5",null,"Read a WMS layer extent",-1),F0=w("pre",null,`import { WmsEndpoint } from '@camptocamp/ogc-client'; async function readExtent() { const endpoint = await new WmsEndpoint('https://my.server.org/ows').isReady(); const layer = endpoint.getLayerByName(); const extent = layer.boundingBoxes['EPSG:4326']; -}`,-1),E1=x("h5",null,"Compute a WFS GetFeature url",-1),k1=x("pre",null,`import { WfsEndpoint } from '@camptocamp/ogc-client'; +}`,-1),E0=w("h5",null,"Compute a WFS GetFeature url",-1),k0=w("pre",null,`import { WfsEndpoint } from '@camptocamp/ogc-client'; async function getFeatureUrl() { const endpoint = await new WfsEndpoint('https://my.server.org/ows').isReady(); @@ -64,13 +64,13 @@ async function getFeatureUrl() { asJson: true, maxFeature: 1000 }); -}`,-1),M1=x("h5",null,"Query the first 10 items of an OGC API Records collection",-1),I1=x("pre",null,`import { OgcApiEndpoint } from '@camptocamp/ogc-client'; +}`,-1),M0=w("h5",null,"Query the first 10 items of an OGC API Records collection",-1),I0=w("pre",null,`import { OgcApiEndpoint } from '@camptocamp/ogc-client'; async function getFirstTenRecords() { const endpoint = new OgcApiEndpoint('https://my.server.org/main'); const firstCollection = (await endpoint.recordCollections)[0]; return endpoint.getCollectionItems(firstCollection, 10, 0); -}`,-1),T1=x("h5",null,[Ee(" Add a WMTS layer to an "),x("a",{href:"https://openlayers.org/"},"OpenLayers"),Ee(" map ")],-1),R1=x("pre",null,`import TileLayer from 'ol/layer/Tile'; +}`,-1),T0=w("h5",null,[Ee(" Add a WMTS layer to an "),w("a",{href:"https://openlayers.org/"},"OpenLayers"),Ee(" map ")],-1),R0=w("pre",null,`import TileLayer from 'ol/layer/Tile'; import WMTS from 'ol/source/WMTS'; import { WmtsEndpoint } from '@camptocamp/ogc-client'; @@ -101,23 +101,23 @@ async function addWmtsLayer() { }), }); openLayersMap.addLayer(layer); -}`,-1),L1=x("h2",{class:"mt-5 mb-4"},"API",-1);function S1(t,e,i,n,s,a){const r=ke("LibName"),o=ke("CodeBlock");return D(),V("div",null,[r1,x("p",null,[B(r),Ee(" is a pure Javascript library made for interacting with geospatial web services relying on standard protocols, namely "),o1]),l1,x("p",null,[Ee("First, install "),B(r),Ee(" in your project:")]),x("p",null,[B(o,{lang:"sh"},{default:Je(()=>[Ee("$ npm install --save @camptocamp/ogc-client")]),_:1})]),c1,x("p",null,[B(o,{lang:"js"},{default:Je(()=>[u1]),_:1})]),h1,x("div",d1,[f1,x("div",m1,[p1,x("p",g1,[B(r),Ee(" will attempt to decode the responses using the information at its disposal, and in most case decoding should succeed. It may happen though that some unrecognized characters will remain; please "),y1,Ee(" if that is the case! ")])])]),b1,_1,x("p",null,[B(r),Ee(" intends to assist applications in discovering OGC services and what they offer, without having to manually write code for parsing GetCapabilities documents for example. ")]),x("p",null,[Ee(" When an network error is encountered, "),B(r),Ee(" will do an additional check to determine whether this is due to "),v1,Ee(" limitations. This will help the application code in giving an appropriate feedback to the user, i.e. that the targeted resource is indeed reachable but does not allow cross-origin usage. ")]),x("p",null,[B(r),Ee(" also keeps a cache of all operations using the "),N1,Ee(", thus offering almost limitless storage while also purging expired cache entries regularly. By default, all cache entries are kept for one hour. ")]),x("p",null,[Ee("What "),B(r),Ee(" currently does not do:")]),w1,x1,C1,x("p",null,[B(o,{lang:"js"},{default:Je(()=>[F1]),_:1})]),E1,x("p",null,[B(o,{lang:"js"},{default:Je(()=>[k1]),_:1})]),M1,x("p",null,[B(o,{lang:"js"},{default:Je(()=>[I1]),_:1})]),T1,x("p",null,[B(o,{lang:"js"},{default:Je(()=>[R1]),_:1})]),L1])}const cd=We(a1,[["render",S1]]);const D1={name:"LibLogo"},A1=t=>(rn("data-v-1cf83fa1"),t=t(),on(),t),P1=A1(()=>x("span",null,"ogc-client",-1)),O1=[P1];function G1(t,e,i,n,s,a){return D(),V("div",null,O1)}const Z1=We(D1,[["render",G1],["__scopeId","data-v-1cf83fa1"]]);const X1={name:"InfoList",props:{info:Object},computed:{propList(){return Object.keys(this.info).map(t=>({title:`${t.substring(0,1).toUpperCase()}${t.substring(1)}`,description:this.info[t]instanceof Object?this.info[t]:`${this.info[t]}`}))}}},W1=t=>(rn("data-v-b2217494"),t=t(),on(),t),V1={class:"small"},K1={class:"d-flex flex-row",style:{gap:"0.5rem"}},U1=W1(()=>x("div",{class:"flex-grow-1",style:{"border-top":"2px solid #e0e0e0","margin-top":"0.7em","min-width":"6px"}},null,-1)),B1={key:0};function q1(t,e,i,n,s,a){const r=ke("InfoList",!0);return D(),V("dl",V1,[(D(!0),V(Re,null,Tt(a.propList,o=>(D(),V(Re,null,[x("dt",K1,[x("span",null,Ge(o.title),1),U1]),x("dd",null,[typeof o.description=="string"?(D(),V("span",B1,Ge(o.description),1)):(D(),xt(r,{key:1,info:o.description},null,8,["info"]))])],64))),256))])}const ln=We(X1,[["render",q1],["__scopeId","data-v-b2217494"]]),z1={name:"TreeItem",props:["item"],computed:{hasChildren(){return this.item instanceof Object&&"children"in this.item},children(){return this.item.children}}},Y1={key:0,style:{"margin-left":"1rem"}},H1=x("div",{class:"spacer-s"},null,-1);function $1(t,e,i,n,s,a){const r=ke("TreeItem",!0);return D(),V("div",null,[Ji(t.$slots,"default",{item:i.item},()=>[Ee(" tree item ")]),a.hasChildren?(D(),V("div",Y1,[(D(!0),V(Re,null,Tt(a.children,o=>(D(),V("div",null,[H1,B(r,{item:o},{default:Je(({item:l})=>[Ji(t.$slots,"default",{item:l})]),_:2},1032,["item"])]))),256))])):De("",!0)])}const j1=We(z1,[["render",$1]]),J1={name:"ItemsTree",components:{TreeItem:j1},props:{items:Array},mounted(){}},Q1={class:"bg-dark small text-white p-2 rounded-1"};function e0(t,e,i,n,s,a){const r=ke("TreeItem");return D(),V("div",Q1,[(D(!0),V(Re,null,Tt(i.items,o=>(D(),V("div",null,[B(r,{item:o},{default:Je(({item:l})=>[Ji(t.$slots,"default",{item:l})]),_:2},1032,["item"])]))),256))])}const mr=We(J1,[["render",e0]]),t0={name:"WmsLayerInfo",components:{InfoList:ln},props:{layer:Object,endpoint:Object},data:()=>({selectedStyle:"",selectedCrs:""}),watch:{layer:{immediate:!0,handler(t){this.selectedStyle=t.styles.length>0?t.styles[0].name:"",this.selectedCrs=t.availableCrs[0]}}},computed:{layerInfo(){return{name:this.layer.name,...this.layer.abstract&&{abstract:this.layer.abstract},...this.layer.attribution&&this.layer.attribution.title&&{attribution:this.layer.attribution.title},...this.layer.keywords&&{keywords:this.layer.keywords}}},fullMapSrc(){if(!(this.selectedCrs in this.layer.boundingBoxes))return"";const t=this.layer.boundingBoxes[this.selectedCrs],e=(t[2]-t[0])/(t[3]-t[1]),i=500,n=Math.round(e>1?i:i*e),s=Math.round(n/e);return this.endpoint.getMapUrl([this.layer.name],{extent:t,widthPx:n,heightPx:s,crs:this.selectedCrs,styles:[this.selectedStyle],outputFormat:"image/png"})}}},i0={class:"d-flex flex-row justify-content-between"},n0=["value"],s0=["src"];function a0(t,e,i,n,s,a){const r=ke("InfoList");return D(),V("div",null,[x("p",null,Ge(i.layer.title),1),B(r,{info:a.layerInfo},null,8,["info"]),x("div",i0,[x("label",null,[Ee(" Selected style:  "),Ti(x("select",{"onUpdate:modelValue":e[0]||(e[0]=o=>t.selectedStyle=o),class:"form-select d-inline-block w-auto"},[(D(!0),V(Re,null,Tt(i.layer.styles,o=>(D(),V("option",{value:o.name},Ge(o.title||o.name),9,n0))),256))],512),[[Oa,t.selectedStyle]])]),x("label",null,[Ee(" Selected CRS:  "),Ti(x("select",{"onUpdate:modelValue":e[1]||(e[1]=o=>t.selectedCrs=o),class:"form-select d-inline-block w-auto"},[(D(!0),V(Re,null,Tt(i.layer.availableCrs,o=>(D(),V("option",null,Ge(o),1))),256))],512),[[Oa,t.selectedCrs]])])]),x("img",{src:a.fullMapSrc,alt:"layer preview"},null,8,s0)])}const r0=We(t0,[["render",a0]]);let o0=0;function l0(){return o0++}function pr(t,e,i){return new Promise((n,s)=>{const a=l0(),r={requestId:a,taskName:t,params:i};e===null?globalThis.dispatchEvent(new CustomEvent("ogc-client.request",{detail:r})):e.postMessage(r);const o=u=>{u.requestId===a&&(e===null?globalThis.removeEventListener("message",l):e.removeEventListener("message",c),"error"in u?s(u.error):n(u.response))},l=u=>o(u.detail),c=u=>o(u.data);e===null?globalThis.addEventListener("ogc-client.response",l):e.addEventListener("message",c)})}function c0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}/*! @rgrove/parse-xml v4.1.0 | ISC License | Copyright Ryan Grove */var nl=Object.defineProperty,u0=Object.getOwnPropertyDescriptor,h0=Object.getOwnPropertyNames,d0=Object.prototype.hasOwnProperty,f0=(t,e)=>{for(var i in e)nl(t,i,{get:e[i],enumerable:!0})},m0=(t,e,i,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of h0(e))!d0.call(t,s)&&s!==i&&nl(t,s,{get:()=>e[s],enumerable:!(n=u0(e,s))||n.enumerable});return t},p0=t=>m0(nl({},"__esModule",{value:!0}),t),ud={};f0(ud,{XmlCdata:()=>md,XmlComment:()=>pd,XmlDeclaration:()=>gd,XmlDocument:()=>yd,XmlDocumentType:()=>bd,XmlElement:()=>gr,XmlError:()=>_d,XmlNode:()=>de,XmlProcessingInstruction:()=>go,XmlText:()=>al,parseXml:()=>k0});var g0=p0(ud),Zi="",y0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b0=class{constructor(t){if(this.k=this.q(t,!0),this.d=0,this.length=t.length,this.n=this.k!==this.length,this.m=t,this.n){let e=[];for(let i=0,n=0;n65535?2:1;this.y=e}}get z(){return this.d>=this.k}q(t,e=this.n){return e?t.replace(y0,"_").length:t.length}g(t=1){this.d=Math.min(this.k,this.d+t)}i(t=this.d){var e;return this.n?(e=this.y[t])!=null?e:1/0:t}F(t=1){let e=this.h(t);return this.g(t),e}G(t){if(!t.sticky)throw new Error('`regex` must have a sticky flag ("y")');t.lastIndex=this.i();let e=t.exec(this.m);if(e===null||e.length===0)return Zi;let i=e[0];return this.g(this.q(i)),i}v(t){let e,i=Zi;for(;(e=this.h())&&t(e);)i+=e,this.g();return i}Q(t){if(this.b(t))return t;if(this.n){let{length:e}=t,i=this.q(t);if(i!==e&&t===this.h(i))return this.g(i),t}return Zi}b(t){let{length:e}=t;return this.h(e)===t?(this.g(e),t):Zi}A(t){let e=this.m.slice(this.i()),i=e.search(t);if(i<=0)return Zi;let n=e.slice(0,i);return this.g(this.q(n)),n}t(t){let{m:e}=this,i=this.i(),n=e.indexOf(t,i);if(n<=0)return Zi;let s=e.slice(i,n);return this.g(this.q(s)),s}h(t=1){let{d:e,n:i,m:n}=this;return i?e>=this.k?Zi:n.slice(this.i(e),this.i(e+t)):n.slice(e,e+t)}o(t=0){this.d=t>=0?Math.min(this.k,t):Math.max(0,this.d+t)}},_0=/[^"&<]+/y,v0=/[^'&<]+/y,N0=/\r\n|[\n\r\t]/g,w0=/<|&|]]>/,x0=Object.freeze(Object.assign(Object.create(null),{amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}));function hd(t){let e=sl(t);return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||e===45||e===46||e===183||e>=768&&e<=879||e>=8255&&e<=8256||dd(t,e)}function dd(t,e=sl(t)){return e>=97&&e<=122||e>=65&&e<=90||e===58||e===95||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function C0(t){return t==="#"||hd(t)}function F0(t){let e=sl(t);return e===32||e===9||e===10||e===13}function Ic(t){return t===9||t===10||t===13||t>=32&&t<=55295||t>=57344&&t<=65533||t>=65536&&t<=1114111}function sl(t){return t.codePointAt(0)||-1}var fd=class{constructor(){this.parent=null,this.start=-1,this.end=-1}get document(){var t,e;return(e=(t=this.parent)==null?void 0:t.document)!=null?e:null}get isRootNode(){return this.parent!==null&&this.parent===this.document&&this.type===fd.TYPE_ELEMENT}get preserveWhitespace(){var t;return!!((t=this.parent)!=null&&t.preserveWhitespace)}get type(){return""}toJSON(){let t={type:this.type};return this.isRootNode&&(t.isRootNode=!0),this.preserveWhitespace&&(t.preserveWhitespace=!0),this.start!==-1&&(t.start=this.start,t.end=this.end),t}},de=fd;de.TYPE_CDATA="cdata";de.TYPE_COMMENT="comment";de.TYPE_DOCUMENT="document";de.TYPE_DOCUMENT_TYPE="doctype";de.TYPE_ELEMENT="element";de.TYPE_PROCESSING_INSTRUCTION="pi";de.TYPE_TEXT="text";de.TYPE_XML_DECLARATION="xmldecl";var al=class extends de{constructor(t=""){super(),this.text=t}get type(){return de.TYPE_TEXT}toJSON(){return Object.assign(de.prototype.toJSON.call(this),{text:this.text})}},md=class extends al{get type(){return de.TYPE_CDATA}},pd=class extends de{constructor(t=""){super(),this.content=t}get type(){return de.TYPE_COMMENT}toJSON(){return Object.assign(de.prototype.toJSON.call(this),{content:this.content})}},gd=class extends de{constructor(t,e,i){super(),this.version=t,this.encoding=e??null,this.standalone=i??null}get type(){return de.TYPE_XML_DECLARATION}toJSON(){let t=de.prototype.toJSON.call(this);t.version=this.version;for(let e of["encoding","standalone"])this[e]!==null&&(t[e]=this[e]);return t}},gr=class extends de{constructor(t,e=Object.create(null),i=[]){super(),this.name=t,this.attributes=e,this.children=i}get isEmpty(){return this.children.length===0}get preserveWhitespace(){let t=this;for(;t instanceof gr;){if("xml:space"in t.attributes)return t.attributes["xml:space"]==="preserve";t=t.parent}return!1}get text(){return this.children.map(t=>"text"in t?t.text:"").join("")}get type(){return de.TYPE_ELEMENT}toJSON(){return Object.assign(de.prototype.toJSON.call(this),{name:this.name,attributes:this.attributes,children:this.children.map(t=>t.toJSON())})}},yd=class extends de{constructor(t=[]){super(),this.children=t}get document(){return this}get root(){for(let t of this.children)if(t instanceof gr)return t;return null}get text(){return this.children.map(t=>"text"in t?t.text:"").join("")}get type(){return de.TYPE_DOCUMENT}toJSON(){return Object.assign(de.prototype.toJSON.call(this),{children:this.children.map(t=>t.toJSON())})}},bd=class extends de{constructor(t,e,i,n){super(),this.name=t,this.publicId=e??null,this.systemId=i??null,this.internalSubset=n??null}get type(){return de.TYPE_DOCUMENT_TYPE}toJSON(){let t=de.prototype.toJSON.call(this);t.name=this.name;for(let e of["publicId","systemId","internalSubset"])this[e]!==null&&(t[e]=this[e]);return t}},_d=class extends Error{constructor(t,e,i){let n=1,s="",a=1;for(let l=0;l[Ee("$ npm install --save @camptocamp/ogc-client")]),_:1})]),c0,w("p",null,[B(o,{lang:"js"},{default:Je(()=>[u0]),_:1})]),h0,w("div",d0,[m0,w("div",f0,[p0,w("p",g0,[B(r),Ee(" will attempt to decode the responses using the information at its disposal, and in most case decoding should succeed. It may happen though that some unrecognized characters will remain; please "),y0,Ee(" if that is the case! ")])])]),b0,_0,w("p",null,[B(r),Ee(" intends to assist applications in discovering OGC services and what they offer, without having to manually write code for parsing GetCapabilities documents for example. ")]),w("p",null,[Ee(" When an network error is encountered, "),B(r),Ee(" will do an additional check to determine whether this is due to "),v0,Ee(" limitations. This will help the application code in giving an appropriate feedback to the user, i.e. that the targeted resource is indeed reachable but does not allow cross-origin usage. ")]),w("p",null,[B(r),Ee(" also keeps a cache of all operations using the "),N0,Ee(", thus offering almost limitless storage while also purging expired cache entries regularly. By default, all cache entries are kept for one hour. ")]),w("p",null,[Ee("What "),B(r),Ee(" currently does not do:")]),x0,w0,C0,w("p",null,[B(o,{lang:"js"},{default:Je(()=>[F0]),_:1})]),E0,w("p",null,[B(o,{lang:"js"},{default:Je(()=>[k0]),_:1})]),M0,w("p",null,[B(o,{lang:"js"},{default:Je(()=>[I0]),_:1})]),T0,w("p",null,[B(o,{lang:"js"},{default:Je(()=>[R0]),_:1})]),L0])}const cd=We(a0,[["render",S0]]);const D0={name:"LibLogo"},P0=t=>(rn("data-v-1cf83fa1"),t=t(),on(),t),A0=P0(()=>w("span",null,"ogc-client",-1)),O0=[A0];function G0(t,e,i,n,s,a){return D(),K("div",null,O0)}const Z0=We(D0,[["render",G0],["__scopeId","data-v-1cf83fa1"]]);const X0={name:"InfoList",props:{info:Object},computed:{propList(){return Object.keys(this.info).map(t=>({title:`${t.substring(0,1).toUpperCase()}${t.substring(1)}`,description:this.info[t]instanceof Object?this.info[t]:`${this.info[t]}`}))}}},W0=t=>(rn("data-v-b2217494"),t=t(),on(),t),K0={class:"small"},V0={class:"d-flex flex-row",style:{gap:"0.5rem"}},U0=W0(()=>w("div",{class:"flex-grow-1",style:{"border-top":"2px solid #e0e0e0","margin-top":"0.7em","min-width":"6px"}},null,-1)),B0={key:0};function q0(t,e,i,n,s,a){const r=ke("InfoList",!0);return D(),K("dl",K0,[(D(!0),K(Re,null,Tt(a.propList,o=>(D(),K(Re,null,[w("dt",V0,[w("span",null,Ge(o.title),1),U0]),w("dd",null,[typeof o.description=="string"?(D(),K("span",B0,Ge(o.description),1)):(D(),wt(r,{key:1,info:o.description},null,8,["info"]))])],64))),256))])}const ln=We(X0,[["render",q0],["__scopeId","data-v-b2217494"]]),z0={name:"TreeItem",props:["item"],computed:{hasChildren(){return this.item instanceof Object&&"children"in this.item},children(){return this.item.children}}},H0={key:0,style:{"margin-left":"1rem"}},Y0=w("div",{class:"spacer-s"},null,-1);function $0(t,e,i,n,s,a){const r=ke("TreeItem",!0);return D(),K("div",null,[Ji(t.$slots,"default",{item:i.item},()=>[Ee(" tree item ")]),a.hasChildren?(D(),K("div",H0,[(D(!0),K(Re,null,Tt(a.children,o=>(D(),K("div",null,[Y0,B(r,{item:o},{default:Je(({item:l})=>[Ji(t.$slots,"default",{item:l})]),_:2},1032,["item"])]))),256))])):De("",!0)])}const j0=We(z0,[["render",$0]]),J0={name:"ItemsTree",components:{TreeItem:j0},props:{items:Array},mounted(){}},Q0={class:"bg-dark small text-white p-2 rounded-1"};function e1(t,e,i,n,s,a){const r=ke("TreeItem");return D(),K("div",Q0,[(D(!0),K(Re,null,Tt(i.items,o=>(D(),K("div",null,[B(r,{item:o},{default:Je(({item:l})=>[Ji(t.$slots,"default",{item:l})]),_:2},1032,["item"])]))),256))])}const fr=We(J0,[["render",e1]]),t1={name:"WmsLayerInfo",components:{InfoList:ln},props:{layer:Object,endpoint:Object},data:()=>({selectedStyle:"",selectedCrs:""}),watch:{layer:{immediate:!0,handler(t){this.selectedStyle=t.styles.length>0?t.styles[0].name:"",this.selectedCrs=t.availableCrs[0]}}},computed:{layerInfo(){return{name:this.layer.name,...this.layer.abstract&&{abstract:this.layer.abstract},...this.layer.attribution&&this.layer.attribution.title&&{attribution:this.layer.attribution.title},...this.layer.keywords&&{keywords:this.layer.keywords},...this.layer.queryable&&{queryable:this.layer.queryable}}},fullMapSrc(){if(!(this.selectedCrs in this.layer.boundingBoxes))return"";const t=this.layer.boundingBoxes[this.selectedCrs],e=(t[2]-t[0])/(t[3]-t[1]),i=500,n=Math.round(e>1?i:i*e),s=Math.round(n/e);return this.endpoint.getMapUrl([this.layer.name],{extent:t,widthPx:n,heightPx:s,crs:this.selectedCrs,styles:[this.selectedStyle],outputFormat:"image/png"})}}},i1={class:"d-flex flex-row justify-content-between"},n1=["value"],s1=["src"];function a1(t,e,i,n,s,a){const r=ke("InfoList");return D(),K("div",null,[w("p",null,Ge(i.layer.title),1),B(r,{info:a.layerInfo},null,8,["info"]),w("div",i1,[w("label",null,[Ee(" Selected style:  "),Ti(w("select",{"onUpdate:modelValue":e[0]||(e[0]=o=>t.selectedStyle=o),class:"form-select d-inline-block w-auto"},[(D(!0),K(Re,null,Tt(i.layer.styles,o=>(D(),K("option",{value:o.name},Ge(o.title||o.name),9,n1))),256))],512),[[Oa,t.selectedStyle]])]),w("label",null,[Ee(" Selected CRS:  "),Ti(w("select",{"onUpdate:modelValue":e[1]||(e[1]=o=>t.selectedCrs=o),class:"form-select d-inline-block w-auto"},[(D(!0),K(Re,null,Tt(i.layer.availableCrs,o=>(D(),K("option",null,Ge(o),1))),256))],512),[[Oa,t.selectedCrs]])])]),w("img",{src:a.fullMapSrc,alt:"layer preview"},null,8,s1)])}const r1=We(t1,[["render",a1]]);let o1=0;function l1(){return o1++}function pr(t,e,i){return new Promise((n,s)=>{const a=l1(),r={requestId:a,taskName:t,params:i};e===null?globalThis.dispatchEvent(new CustomEvent("ogc-client.request",{detail:r})):e.postMessage(r);const o=u=>{u.requestId===a&&(e===null?globalThis.removeEventListener("message",l):e.removeEventListener("message",c),"error"in u?s(u.error):n(u.response))},l=u=>o(u.detail),c=u=>o(u.data);e===null?globalThis.addEventListener("ogc-client.response",l):e.addEventListener("message",c)})}function c1(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}/*! @rgrove/parse-xml v4.1.0 | ISC License | Copyright Ryan Grove */var nl=Object.defineProperty,u1=Object.getOwnPropertyDescriptor,h1=Object.getOwnPropertyNames,d1=Object.prototype.hasOwnProperty,m1=(t,e)=>{for(var i in e)nl(t,i,{get:e[i],enumerable:!0})},f1=(t,e,i,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of h1(e))!d1.call(t,s)&&s!==i&&nl(t,s,{get:()=>e[s],enumerable:!(n=u1(e,s))||n.enumerable});return t},p1=t=>f1(nl({},"__esModule",{value:!0}),t),ud={};m1(ud,{XmlCdata:()=>fd,XmlComment:()=>pd,XmlDeclaration:()=>gd,XmlDocument:()=>yd,XmlDocumentType:()=>bd,XmlElement:()=>gr,XmlError:()=>_d,XmlNode:()=>de,XmlProcessingInstruction:()=>go,XmlText:()=>al,parseXml:()=>k1});var g1=p1(ud),Zi="",y1=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,b1=class{constructor(t){if(this.k=this.q(t,!0),this.d=0,this.length=t.length,this.n=this.k!==this.length,this.m=t,this.n){let e=[];for(let i=0,n=0;n65535?2:1;this.y=e}}get z(){return this.d>=this.k}q(t,e=this.n){return e?t.replace(y1,"_").length:t.length}g(t=1){this.d=Math.min(this.k,this.d+t)}i(t=this.d){var e;return this.n?(e=this.y[t])!=null?e:1/0:t}F(t=1){let e=this.h(t);return this.g(t),e}G(t){if(!t.sticky)throw new Error('`regex` must have a sticky flag ("y")');t.lastIndex=this.i();let e=t.exec(this.m);if(e===null||e.length===0)return Zi;let i=e[0];return this.g(this.q(i)),i}v(t){let e,i=Zi;for(;(e=this.h())&&t(e);)i+=e,this.g();return i}Q(t){if(this.b(t))return t;if(this.n){let{length:e}=t,i=this.q(t);if(i!==e&&t===this.h(i))return this.g(i),t}return Zi}b(t){let{length:e}=t;return this.h(e)===t?(this.g(e),t):Zi}A(t){let e=this.m.slice(this.i()),i=e.search(t);if(i<=0)return Zi;let n=e.slice(0,i);return this.g(this.q(n)),n}t(t){let{m:e}=this,i=this.i(),n=e.indexOf(t,i);if(n<=0)return Zi;let s=e.slice(i,n);return this.g(this.q(s)),s}h(t=1){let{d:e,n:i,m:n}=this;return i?e>=this.k?Zi:n.slice(this.i(e),this.i(e+t)):n.slice(e,e+t)}o(t=0){this.d=t>=0?Math.min(this.k,t):Math.max(0,this.d+t)}},_1=/[^"&<]+/y,v1=/[^'&<]+/y,N1=/\r\n|[\n\r\t]/g,x1=/<|&|]]>/,w1=Object.freeze(Object.assign(Object.create(null),{amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}));function hd(t){let e=sl(t);return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||e===45||e===46||e===183||e>=768&&e<=879||e>=8255&&e<=8256||dd(t,e)}function dd(t,e=sl(t)){return e>=97&&e<=122||e>=65&&e<=90||e===58||e===95||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function C1(t){return t==="#"||hd(t)}function F1(t){let e=sl(t);return e===32||e===9||e===10||e===13}function Ic(t){return t===9||t===10||t===13||t>=32&&t<=55295||t>=57344&&t<=65533||t>=65536&&t<=1114111}function sl(t){return t.codePointAt(0)||-1}var md=class{constructor(){this.parent=null,this.start=-1,this.end=-1}get document(){var t,e;return(e=(t=this.parent)==null?void 0:t.document)!=null?e:null}get isRootNode(){return this.parent!==null&&this.parent===this.document&&this.type===md.TYPE_ELEMENT}get preserveWhitespace(){var t;return!!((t=this.parent)!=null&&t.preserveWhitespace)}get type(){return""}toJSON(){let t={type:this.type};return this.isRootNode&&(t.isRootNode=!0),this.preserveWhitespace&&(t.preserveWhitespace=!0),this.start!==-1&&(t.start=this.start,t.end=this.end),t}},de=md;de.TYPE_CDATA="cdata";de.TYPE_COMMENT="comment";de.TYPE_DOCUMENT="document";de.TYPE_DOCUMENT_TYPE="doctype";de.TYPE_ELEMENT="element";de.TYPE_PROCESSING_INSTRUCTION="pi";de.TYPE_TEXT="text";de.TYPE_XML_DECLARATION="xmldecl";var al=class extends de{constructor(t=""){super(),this.text=t}get type(){return de.TYPE_TEXT}toJSON(){return Object.assign(de.prototype.toJSON.call(this),{text:this.text})}},fd=class extends al{get type(){return de.TYPE_CDATA}},pd=class extends de{constructor(t=""){super(),this.content=t}get type(){return de.TYPE_COMMENT}toJSON(){return Object.assign(de.prototype.toJSON.call(this),{content:this.content})}},gd=class extends de{constructor(t,e,i){super(),this.version=t,this.encoding=e??null,this.standalone=i??null}get type(){return de.TYPE_XML_DECLARATION}toJSON(){let t=de.prototype.toJSON.call(this);t.version=this.version;for(let e of["encoding","standalone"])this[e]!==null&&(t[e]=this[e]);return t}},gr=class extends de{constructor(t,e=Object.create(null),i=[]){super(),this.name=t,this.attributes=e,this.children=i}get isEmpty(){return this.children.length===0}get preserveWhitespace(){let t=this;for(;t instanceof gr;){if("xml:space"in t.attributes)return t.attributes["xml:space"]==="preserve";t=t.parent}return!1}get text(){return this.children.map(t=>"text"in t?t.text:"").join("")}get type(){return de.TYPE_ELEMENT}toJSON(){return Object.assign(de.prototype.toJSON.call(this),{name:this.name,attributes:this.attributes,children:this.children.map(t=>t.toJSON())})}},yd=class extends de{constructor(t=[]){super(),this.children=t}get document(){return this}get root(){for(let t of this.children)if(t instanceof gr)return t;return null}get text(){return this.children.map(t=>"text"in t?t.text:"").join("")}get type(){return de.TYPE_DOCUMENT}toJSON(){return Object.assign(de.prototype.toJSON.call(this),{children:this.children.map(t=>t.toJSON())})}},bd=class extends de{constructor(t,e,i,n){super(),this.name=t,this.publicId=e??null,this.systemId=i??null,this.internalSubset=n??null}get type(){return de.TYPE_DOCUMENT_TYPE}toJSON(){let t=de.prototype.toJSON.call(this);t.name=this.name;for(let e of["publicId","systemId","internalSubset"])this[e]!==null&&(t[e]=this[e]);return t}},_d=class extends Error{constructor(t,e,i){let n=1,s="",a=1;for(let l=0;l50&&(n<40?s=s.slice(0,50):(o=n-20,s=s.slice(o,n+30))),super(`${t} (line ${a}, column ${n}) ${s} `+" ".repeat(n-o+1)+`^ -`),this.column=n,this.excerpt=s,this.line=a,this.name="XmlError",this.pos=e}},go=class extends de{constructor(t,e=""){super(),this.name=t,this.content=e}get type(){return de.TYPE_PROCESSING_INSTRUCTION}toJSON(){return Object.assign(de.prototype.toJSON.call(this),{name:this.name,content:this.content})}},Zr="",E0=class{constructor(e,i={}){let n=this.document=new yd,s=this.c=new b0(e);if(this.l=n,this.f=i,this.f.includeOffsets&&(n.start=0,n.end=e.length),s.b("\uFEFF"),this.H(),!this.B())throw this.a("Root element is missing or invalid");for(;this.w(););if(!s.z)throw this.a("Extra content at the end of the document")}j(e,i){return e.parent=this.l,this.f.includeOffsets&&(e.start=this.c.i(i),e.end=this.c.i()),this.l.children.push(e),!0}x(e,i){let{children:n}=this.l,{length:s}=n;if(e=ia(e),s>0){let a=n[s-1];if((a==null?void 0:a.type)===de.TYPE_TEXT){let r=a;return r.text+=e,this.f.includeOffsets&&(r.end=this.c.i()),!0}}return this.j(new al(e),i)}I(){let e=Object.create(null);for(;this.e();){let i=this.r();if(!i)break;let n=this.u()&&this.J();if(n===!1)throw this.a("Attribute value expected");if(i in e)throw this.a(`Duplicate attribute: ${i}`);if(i==="xml:space"&&n!=="default"&&n!=="preserve")throw this.a('Value of the `xml:space` attribute must be "default" or "preserve"');e[i]=n}if(this.f.sortAttributes){let i=Object.keys(e).sort(),n=Object.create(null);for(let s=0;s");if(this.p(n),!e.b("]]>"))throw this.a("Unclosed CDATA section");return this.f.preserveCdata?this.j(new md(ia(n)),i):this.x(n,i)}L(){let{c:e}=this,i=e.d,n=e.A(w0);if(!n)return!1;if(this.p(n),e.h(3)==="]]>")throw this.a("Element content may not contain the CDATA section close delimiter `]]>`");return this.x(n,i)}D(){let{c:e}=this,i=e.d;if(!e.b(""))throw e.h(2)==="--"?this.a("The string `--` isn't allowed inside a comment"):this.a("Unclosed comment");return this.f.preserveComments?this.j(new pd(ia(n)),i):!0}M(){let e=this.c.d,i=this.C();return i?this.x(i,e):!1}N(){let{c:e}=this,i=e.d;if(!e.b("/),!e.b("]"))throw this.a("Unclosed internal subset");this.e()}if(!e.b(">"))throw this.a("Unclosed doctype declaration");return this.f.preserveDocumentType?this.j(new bd(n,s,a,r),i):!0}B(){let{c:e}=this,i=e.d;if(!e.b("<"))return!1;let n=this.r();if(!n)return e.o(i),!1;let s=this.I(),a=!!e.b("/>"),r=new gr(n,s);if(r.parent=this.l,!a){if(!e.b(">"))throw this.a(`Unclosed start tag for element \`${n}\``);this.l=r;do this.L();while(this.B()||this.M()||this.K()||this.E()||this.D());let o=e.d,l;if(!e.b(""))throw this.a(`Unclosed end tag for element ${n}`);this.l=r.parent}return this.j(r,i)}u(){return this.e(),this.c.b("=")?(this.e(),!0):!1}w(){return this.D()||this.E()||this.e()}r(){return dd(this.c.h())?this.c.v(hd):Zr}E(){let{c:e}=this,i=e.d;if(!e.b(""))return this.j(new go(n),i);throw this.a("Whitespace is required after a processing instruction name")}let s=e.t("?>");if(this.p(s),!e.b("?>"))throw this.a("Unterminated processing instruction");return this.j(new go(n,ia(s)),i)}H(){let{c:e}=this,i=e.d;for(this.P();this.w(););if(this.N())for(;this.w(););return i"))throw this.a("Invalid or unclosed XML declaration");return this.f.preserveXmlDeclaration?this.j(new gd(n,s||void 0,a||void 0),i):!0}a(e){let{c:i}=this;return new _d(e,i.d,i.m)}p(e){let{length:i}=e;for(let n=0;n65535&&(n+=1)}}};function ia(t){let e=0;for(;(e=t.indexOf("\r",e))!==-1;)t=t[e+1]===` +`),this.column=n,this.excerpt=s,this.line=a,this.name="XmlError",this.pos=e}},go=class extends de{constructor(t,e=""){super(),this.name=t,this.content=e}get type(){return de.TYPE_PROCESSING_INSTRUCTION}toJSON(){return Object.assign(de.prototype.toJSON.call(this),{name:this.name,content:this.content})}},Zr="",E1=class{constructor(e,i={}){let n=this.document=new yd,s=this.c=new b1(e);if(this.l=n,this.f=i,this.f.includeOffsets&&(n.start=0,n.end=e.length),s.b("\uFEFF"),this.H(),!this.B())throw this.a("Root element is missing or invalid");for(;this.w(););if(!s.z)throw this.a("Extra content at the end of the document")}j(e,i){return e.parent=this.l,this.f.includeOffsets&&(e.start=this.c.i(i),e.end=this.c.i()),this.l.children.push(e),!0}x(e,i){let{children:n}=this.l,{length:s}=n;if(e=ia(e),s>0){let a=n[s-1];if((a==null?void 0:a.type)===de.TYPE_TEXT){let r=a;return r.text+=e,this.f.includeOffsets&&(r.end=this.c.i()),!0}}return this.j(new al(e),i)}I(){let e=Object.create(null);for(;this.e();){let i=this.r();if(!i)break;let n=this.u()&&this.J();if(n===!1)throw this.a("Attribute value expected");if(i in e)throw this.a(`Duplicate attribute: ${i}`);if(i==="xml:space"&&n!=="default"&&n!=="preserve")throw this.a('Value of the `xml:space` attribute must be "default" or "preserve"');e[i]=n}if(this.f.sortAttributes){let i=Object.keys(e).sort(),n=Object.create(null);for(let s=0;s");if(this.p(n),!e.b("]]>"))throw this.a("Unclosed CDATA section");return this.f.preserveCdata?this.j(new fd(ia(n)),i):this.x(n,i)}L(){let{c:e}=this,i=e.d,n=e.A(x1);if(!n)return!1;if(this.p(n),e.h(3)==="]]>")throw this.a("Element content may not contain the CDATA section close delimiter `]]>`");return this.x(n,i)}D(){let{c:e}=this,i=e.d;if(!e.b(""))throw e.h(2)==="--"?this.a("The string `--` isn't allowed inside a comment"):this.a("Unclosed comment");return this.f.preserveComments?this.j(new pd(ia(n)),i):!0}M(){let e=this.c.d,i=this.C();return i?this.x(i,e):!1}N(){let{c:e}=this,i=e.d;if(!e.b("/),!e.b("]"))throw this.a("Unclosed internal subset");this.e()}if(!e.b(">"))throw this.a("Unclosed doctype declaration");return this.f.preserveDocumentType?this.j(new bd(n,s,a,r),i):!0}B(){let{c:e}=this,i=e.d;if(!e.b("<"))return!1;let n=this.r();if(!n)return e.o(i),!1;let s=this.I(),a=!!e.b("/>"),r=new gr(n,s);if(r.parent=this.l,!a){if(!e.b(">"))throw this.a(`Unclosed start tag for element \`${n}\``);this.l=r;do this.L();while(this.B()||this.M()||this.K()||this.E()||this.D());let o=e.d,l;if(!e.b(""))throw this.a(`Unclosed end tag for element ${n}`);this.l=r.parent}return this.j(r,i)}u(){return this.e(),this.c.b("=")?(this.e(),!0):!1}w(){return this.D()||this.E()||this.e()}r(){return dd(this.c.h())?this.c.v(hd):Zr}E(){let{c:e}=this,i=e.d;if(!e.b(""))return this.j(new go(n),i);throw this.a("Whitespace is required after a processing instruction name")}let s=e.t("?>");if(this.p(s),!e.b("?>"))throw this.a("Unterminated processing instruction");return this.j(new go(n,ia(s)),i)}H(){let{c:e}=this,i=e.d;for(this.P();this.w(););if(this.N())for(;this.w(););return i"))throw this.a("Invalid or unclosed XML declaration");return this.f.preserveXmlDeclaration?this.j(new gd(n,s||void 0,a||void 0),i):!0}a(e){let{c:i}=this;return new _d(e,i.d,i.m)}p(e){let{length:i}=e;for(let n=0;n65535&&(n+=1)}}};function ia(t){let e=0;for(;(e=t.indexOf("\r",e))!==-1;)t=t[e+1]===` `?t.slice(0,e)+t.slice(e+1):t.slice(0,e)+` -`+t.slice(e+1);return t}function k0(t,e){return new E0(t,e).document}class M0 extends Error{constructor(e){super(e)}}function I0(t){let e=null;try{e=g0.parseXml(t)}catch(i){throw new M0(i.message)}return e}function Za(t){const e=t.indexOf(":");return e>-1?t.substr(e+1):t}function Tc(t){return t.children[0]}function T0(t){return t.name||""}function Rc(t,e,i=!1){const n=Za(e);function s(a,r){return Za(T0(r))===n&&a.push(r),i&&Array.isArray(r.children)?[...a,...r.children.reduce(s,[])]:a}return t&&Array.isArray(t.children)?t.children.reduce(s,[]):[]}function Xi(t,e){return t&&t.attributes[e]||""}class Qt extends Error{constructor(e,i,n){super(e),this.message=e,this.httpStatus=i,this.isCrossOriginRelated=n}}const Lc=["utf-8","utf-16","iso-8859-1"],Sc="utf-8";function R0(t){const e=/charset=([^;]+)/.exec(t);return e?e[1]:null}function L0(t,e){const i=e?R0(e):null,n=i?[i,...Lc]:Lc;for(const s of n)try{return new TextDecoder(s,{fatal:!0}).decode(t)}catch{}return console.warn(`[ogc-client] XML document encoding could not be determined, falling back to ${Sc}.`),new TextDecoder(Sc).decode(t)}const na=new Map;let S0={};function vd(){return S0}function Nd(t,e="GET",i){let n=`${e}#${t}`;if(i&&(n=`${e}#asJson#${t}`),na.has(n))return na.get(n);const s={...vd()};s.method=e,i&&(s.headers="headers"in s?s.headers:{},s.headers.Accept="application/json");const a=fetch(t,s).catch(r=>r).then(r=>(na.delete(n),r));return na.set(n,a),a.then(r=>{if(r instanceof Error)throw r;return r})}function Dc(t){return Nd(t).catch(()=>fetch(t,{...vd(),method:"HEAD",mode:"no-cors"}).catch(e=>{throw new Qt(`Fetching the document failed either due to network errors or unreachable host, error is: ${e.message}`,0,!1)}).then(()=>{throw new Qt("The document could not be fetched due to CORS limitations",0,!0)})).then(async e=>{if(!e.ok){const s=await e.text();throw new Qt(`Received an error with code ${e.status}: ${s}`,e.status,!1)}const i=await e.arrayBuffer(),n=e.headers.get("Content-Type");return L0(i,n)}).then(e=>I0(e))}function Ai(t,e){const i=t.match(/(https?%3A%2F%2F[^/]+)$/);if(i){const o=i[1],l=Ai(decodeURIComponent(o),e);return t.replace(o,encodeURIComponent(l))}const n=new URL(t),s=Object.keys(e),a=s.map(o=>o.toLowerCase()),r=[];for(const o of n.searchParams.keys())a.indexOf(o.toLowerCase())>-1&&r.push(o);return r.map(o=>n.searchParams.delete(o)),s.forEach(o=>n.searchParams.set(o,e[o]===!0?"":e[o])),n.toString()}const wd="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2Z1bmN0aW9uIE4odCxlLHIpe2NvbnN0IG49dHlwZW9mIFdvcmtlckdsb2JhbFNjb3BlPCJ1IixpPWFzeW5jIG89PntpZihvLnRhc2tOYW1lPT09dCl7bGV0IGwsdTt0cnl7bD1hd2FpdCByKG8ucGFyYW1zKX1jYXRjaChjKXt1PWN9Y29uc3QgbT17dGFza05hbWU6dCxyZXF1ZXN0SWQ6by5yZXF1ZXN0SWQsLi4ubCYme3Jlc3BvbnNlOmx9LC4uLnUmJntlcnJvcjp1fX07bj9lLnBvc3RNZXNzYWdlKG0pOmUuZGlzcGF0Y2hFdmVudChuZXcgQ3VzdG9tRXZlbnQoIm9nYy1jbGllbnQucmVzcG9uc2UiLHtkZXRhaWw6bX0pKX19O24/ZS5hZGRFdmVudExpc3RlbmVyKCJtZXNzYWdlIixvPT5pKG8uZGF0YSkpOmUuYWRkRXZlbnRMaXN0ZW5lcigib2djLWNsaWVudC5yZXF1ZXN0IixvPT5pKG8uZGV0YWlsKSl9LyohIEByZ3JvdmUvcGFyc2UteG1sIHY0LjEuMCB8IElTQyBMaWNlbnNlIHwgQ29weXJpZ2h0IFJ5YW4gR3JvdmUgKi92Y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0fSk9PkIodCkudGhlbihlPT4oe2luZm86a3QoZSksbGF5ZXJzOlh0KGUpLHZlcnNpb246Y3QoZSl9KSkpLE4oInBhcnNlV2ZzQ2FwYWJpbGl0aWVzIixnbG9iYWxUaGlzLCh7dXJsOnR9KT0+Qih0KS50aGVuKGU9Pih7aW5mbzpXdChlKSxmZWF0dXJlVHlwZXM6JHQoZSksdmVyc2lvbjpfKGUpfSkpKSxOKCJxdWVyeVdmc0ZlYXR1cmVUeXBlRGV0YWlscyIsZ2xvYmFsVGhpcywoe3VybDp0LHNlcnZpY2VWZXJzaW9uOmUsZmVhdHVyZVR5cGVGdWxsOnJ9KT0+e2NvbnN0IG49enQodCxlLHIubmFtZSx2b2lkIDAsdm9pZCAwLE9iamVjdC5rZXlzKHIucHJvcGVydGllcykpO3JldHVybiBCKG4pLnRoZW4oaT0+KHtwcm9wczpIdChWdChpLHIsZSkpfSkpfSksTigidXBkYXRlRmV0Y2hPcHRpb25zIixnbG9iYWxUaGlzLCh7b3B0aW9uczp0fSk9PihSdCh0KSxQcm9taXNlLnJlc29sdmUoe30pKSksTigicGFyc2VXbXRzQ2FwYWJpbGl0aWVzIixnbG9iYWxUaGlzLCh7dXJsOnR9KT0+Qih0KS50aGVuKGU9Pih7aW5mbzpKdChlKSxsYXllcnM6cXQoZSksbWF0cml4U2V0czpLdChlKX0pKSl9KSgpOwo=",Ac=typeof window<"u"&&window.Blob&&new Blob([atob(wd)],{type:"text/javascript;charset=utf-8"});function D0(){let t;try{if(t=Ac&&(window.URL||window.webkitURL).createObjectURL(Ac),!t)throw"";return new Worker(t)}catch{return new Worker("data:application/javascript;base64,"+wd)}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}let Xr;function yr(){return Xr||(Xr=new D0),Xr}function A0(t){return pr("parseWmsCapabilities",yr(),{url:t})}function P0(t){return pr("parseWfsCapabilities",yr(),{url:t})}function O0(t,e,i){return pr("queryWfsFeatureTypeDetails",yr(),{url:t,serviceVersion:e,featureTypeFull:i})}function G0(t){return pr("parseWmtsCapabilities",yr(),{url:t})}let Z0=1e3*60*60;function X0(){return Z0}let Ki;function br(){return Ki!==void 0?Ki:"caches"in globalThis?(Ki=caches.open("ogc-client").catch(t=>(console.info("[ogc-client] Cache could not be accessed for the following reason:",t),null)),Ki):(Ki=Promise.resolve(null),Ki)}async function W0(t,...e){const i=await br();if(!i)return;const n="https://cache/"+e.join("/");try{await i.put(n,new Response(JSON.stringify(t),{headers:{"x-expiry":(Date.now()+X0()).toString(10)}}))}catch(s){console.info("[ogc-client] Caching failed once for the following reason and will not be retried:",s),Ki=Promise.resolve(null)}}async function V0(...t){const e=await br();if(!e)return;const i="https://cache/"+t.join("/");return e.match(i).then(n=>!!n&&parseInt(n.headers.get("x-expiry"))>Date.now())}async function K0(...t){const e=await br();if(!e)return;const i="https://cache/"+t.join("/"),n=await e.match(i);return n?n.clone().json():null}const sa=new Map;async function ps(t,...e){if(await U0(),await V0(...e))return K0(...e);const i=e.join("#");if(sa.has(i))return sa.get(i);const n=t();n instanceof Promise&&(n.then(()=>sa.delete(i)),sa.set(i,n));const s=await n;return await W0(s,...e),s}async function U0(){const t=await br();if(!t)return;const e=await t.keys();for(const i of e){const n=await t.match(i);parseInt(n.headers.get("x-expiry"))<=Date.now()&&await t.delete(i)}}function B0(t,e,i,n,s,a,r,o,l){const c=e==="1.3.0"?"CRS":"SRS",u={SERVICE:"WMS",REQUEST:"GetMap",VERSION:e,LAYERS:i,STYLES:l??""};return u.WIDTH=n.toString(),u.HEIGHT=s.toString(),u.FORMAT=o??"image/png",u[c]=a,u.BBOX=r.join(","),Ai(t,u)}let q0=class{constructor(e){this._capabilitiesUrl=Ai(e,{SERVICE:"WMS",REQUEST:"GetCapabilities"}),this._capabilitiesPromise=ps(()=>A0(this._capabilitiesUrl),"WMS","CAPABILITIES",this._capabilitiesUrl).then(({info:i,layers:n,version:s})=>{this._info=i,this._layers=n,this._version=s})}isReady(){return this._capabilitiesPromise.then(()=>this)}getServiceInfo(){return this._info}getLayers(){function e(i){return{title:i.title,name:i.name,abstract:i.abstract,..."children"in i&&{children:i.children.map(e)}}}return this._layers.map(e)}getLayerByName(e){let i=null;function n(s){if(i===null){if(s.name===e){i=s;return}"children"in s&&s.children.map(n)}}return this._layers.map(n),i}getSingleLayerName(){if(!this._layers)return null;const e=[];function i(n){n.name&&e.push(n),"children"in n&&n.children.map(i)}return this._layers.map(i),e.length===1?e[0].name:null}getVersion(){return this._version}getMapUrl(e,i){if(!this._layers)return null;const{widthPx:n,heightPx:s,crs:a,extent:r,outputFormat:o,styles:l}=i;return B0(this._capabilitiesUrl,this._version,e.join(","),n,s,a,r,o,l!==void 0?l.join(","):"")}};const z0={name:"WmsEndpoint",components:{WmsLayerInfo:r0,ItemsTree:mr,InfoList:ln},data:()=>({loading:!1,error:null,endpoint:null,url:"https://ahocevar.com/geoserver/wms",selectedLayer:null}),computed:{loaded(){return this.endpoint&&this.loading===!1&&this.error===null}},methods:{async createEndpoint(){this.error=null,this.loading=!0,this.endpoint=new q0(this.url);try{await this.endpoint.isReady()}catch(t){this.error=t.message}this.loading=!1},handleLayerClick(t,e){this.selectedLayer=this.endpoint.getLayerByName(t.name),e.preventDefault()}}},Y0={class:"d-flex flex-row my-4"},H0={key:0},$0={key:1},j0=["title"],J0=["onClick"],Q0={key:1},ey={key:2};function ty(t,e,i,n,s,a){const r=ke("InfoList"),o=ke("ItemsTree"),l=ke("WmsLayerInfo");return D(),V("div",null,[x("div",Y0,[Ti(x("input",{class:"form-control me-3",placeholder:"Enter a WMS service URL here","onUpdate:modelValue":e[0]||(e[0]=c=>t.url=c)},null,512),[[fr,t.url]]),x("button",{type:"button",class:"btn btn-primary",onClick:e[1]||(e[1]=c=>a.createEndpoint())}," Analyze ")]),t.loading?(D(),V("div",H0,"Loading...")):De("",!0),a.loaded?(D(),V("div",$0,[B(r,{info:t.endpoint.getServiceInfo()},null,8,["info"]),B(o,{items:t.endpoint.getLayers(),style:{"min-height":"200px","max-height":"400px",overflow:"auto"}},{default:Je(({item:c})=>[x("div",{title:c.abstract},[c.name?(D(),V("a",{key:0,href:"",onClick:u=>a.handleLayerClick(c,u),class:"link-light"},Ge(c.title),9,J0)):(D(),V("span",Q0,Ge(c.title),1))],8,j0)]),_:1},8,["items"]),t.selectedLayer?(D(),xt(l,{key:0,layer:t.selectedLayer,endpoint:t.endpoint},null,8,["layer","endpoint"])):De("",!0)])):De("",!0),t.error?(D(),V("div",ey,"Error: "+Ge(t.error),1)):De("",!0)])}const iy=We(z0,[["render",ty]]),ny={name:"WfsFeatureTypeInfo",components:{InfoList:ln},props:{featureType:Object,endpoint:Object},data:()=>({loadingValues:!1,featurePropsDetails:null}),computed:{featureTypeInfo(){return{..."title"in this.featureType&&{title:this.featureType.title},..."abstract"in this.featureType&&{abstract:this.featureType.abstract},CRS:[this.featureType.defaultCrs,...this.featureType.otherCrs].join(", "),..."objectCount"in this.featureType&&{"object count":this.featureType.objectCount},..."geometryName"in this.featureType&&{"geometry name":this.featureType.geometryName},..."geometryType"in this.featureType&&{"geometry type":this.featureType.geometryType},..."keywords"in this.featureType&&{keywords:this.featureType.keywords}}},featureProperties(){return{...this.featureType.properties}},uniqueValues(){return this.featurePropsDetails===null?{}:Object.keys(this.featurePropsDetails).reduce((t,e)=>({...t,[e]:this.featurePropsDetails[e].uniqueValues.sort((i,n)=>n.count-i.count).filter((i,n)=>n<=8).map((i,n)=>n<8?`${i.value} (${i.count})`:"...").join(", ")}),{})}},methods:{async loadValues(){this.loadingValues=!0,this.featurePropsDetails=await this.endpoint.getFeatureTypePropDetails(this.featureType.name),this.loadingValues=!1}},watch:{featureType(){this.loadingValues=!1,this.featurePropsDetails=null}}},sy=x("p",null,"Properties",-1),ay={key:0},ry={key:1},oy={key:2},ly=x("p",null,"Unique values",-1);function cy(t,e,i,n,s,a){const r=ke("InfoList");return D(),V("div",null,[x("p",null,Ge(i.featureType.name),1),B(r,{info:a.featureTypeInfo},null,8,["info"]),sy,B(r,{info:a.featureProperties},null,8,["info"]),t.featurePropsDetails===null&&!t.loadingValues?(D(),V("div",ay,[x("button",{type:"button",class:"btn btn-primary",onClick:e[0]||(e[0]=o=>a.loadValues())}," Load unique values ")])):De("",!0),t.loadingValues?(D(),V("div",ry,"Loading unique values...")):De("",!0),t.featurePropsDetails!==null?(D(),V("div",oy,[ly,B(r,{info:a.uniqueValues},null,8,["info"])])):De("",!0)])}const uy=We(ny,[["render",cy]]);function hy(t,e,i,n){const{name:s,title:a,abstract:r,defaultCrs:o,otherCrs:l,outputFormats:c,latLonBoundingBox:u,keywords:h}=t,d=n.startsWith("2.0")?"numberMatched":"numberOfFeatures",f=parseInt(Xi(Tc(i),d)),m=Rc(Tc(e),"complexType",!0)[0],p=Rc(m,"element",!0),y=p.filter(w=>Xi(w,"type").startsWith("xsd:")).reduce((w,F)=>({...w,[Xi(F,"name")]:dy(Xi(F,"type"))}),{}),_=p.filter(w=>Xi(w,"type").startsWith("gml:"))[0],v=_?Xi(_,"name"):void 0,C=_?fy(Xi(_,"type")):void 0;return{name:s,...a&&{title:a},...r&&{abstract:r},...u&&{boundingBox:u},...o&&{defaultCrs:o},...l&&{otherCrs:l},...c&&{outputFormats:c},properties:y,...v&&{geometryName:v},...C&&{geometryType:C},...!Number.isNaN(f)&&{objectCount:f},...h&&{keywords:h}}}function dy(t){switch(t.indexOf(":")>-1?t.substr(t.indexOf(":")+1):t){case"string":return"string";case"boolean":return"boolean";case"float":case"double":case"decimal":return"float";case"long":case"byte":case"integer":case"int":case"positiveInteger":case"negativeInteger":case"nonPositiveInteger":case"nonNegativeInteger":case"short":case"unsignedLong":case"unsignedInt":case"unsignedShort":case"unsignedByte":return"integer";default:return"string"}}function fy(t){switch(t.indexOf(":")>-1?t.substr(t.indexOf(":")+1):t){case"PointPropertyType":return"point";case"MultiPointPropertyType":return"multipoint";case"CurvePropertyType":case"LineStringPropertyType":return"linestring";case"MultiCurvePropertyType":case"MultiLineStringPropertyType":return"linestring";case"PolygonPropertyType":case"SurfacePropertyType":return"polygon";case"MultiPolygonPropertyType":case"MultiSurfacePropertyType":return"multipolygon";default:return"unknown"}}function Pc(t,e,i,n,s,a,r,o,l,c,u){const h=e==="2.0.0"?"TYPENAMES":"TYPENAME",d=e==="2.0.0"?"COUNT":"MAXFEATURES",f={SERVICE:"WFS",REQUEST:"GetFeature",VERSION:e,[h]:i};if(n!==void 0&&(f.OUTPUTFORMAT=n),a!==void 0&&(f.PROPERTYNAME=a.join(",")),r?(f.RESULTTYPE="hits",f[d]="1"):s!==void 0&&(f[d]=s.toString(10)),o&&(f.SRSNAME=o),l){const m=l.join(",");f.BBOX=c?`${m},${c}`:m}return u&&(f.STARTINDEX=u.toString(10)),Ai(t,f)}function my(t,e,i){return Ai(t,{SERVICE:"WFS",REQUEST:"DescribeFeatureType",VERSION:e,[e==="2.0.0"?"TYPENAMES":"TYPENAME"]:i})}function rl(t){return t.toLowerCase().indexOf("json")>-1}function xd(t){return/geo.?json/.test(t)}function Cd(t){return/json.?fg|fg.?json/.test(t)}let py=class{constructor(e){this._capabilitiesUrl=Ai(e,{SERVICE:"WFS",REQUEST:"GetCapabilities"}),this._capabilitiesPromise=ps(()=>P0(this._capabilitiesUrl),"WFS","CAPABILITIES",this._capabilitiesUrl).then(({info:i,featureTypes:n,version:s})=>{this._info=i,this._featureTypes=n,this._version=s})}isReady(){return this._capabilitiesPromise.then(()=>this)}getServiceInfo(){return this._info}getFeatureTypes(){return this._featureTypes.map(e=>({name:e.name,..."title"in e&&{title:e.title},..."abstract"in e&&{abstract:e.abstract},..."latLonBoundingBox"in e&&{boundingBox:e.latLonBoundingBox}}))}_getFeatureTypeByName(e){if(!this._featureTypes)return null;const i=Za(e)!==e;return this._featureTypes.find(n=>i?n.name===e:Za(n.name)===e)||null}getFeatureTypeSummary(e){const i=this._getFeatureTypeByName(e);return i?{name:i.name,..."title"in i&&{title:i.title},..."abstract"in i&&{abstract:i.abstract},..."latLonBoundingBox"in i&&{boundingBox:i.latLonBoundingBox},defaultCrs:i.defaultCrs,otherCrs:i.otherCrs,outputFormats:i.outputFormats,keywords:i.keywords}:null}getFeatureTypeFull(e){const i=this._getFeatureTypeByName(e);return i?ps(()=>{const n=my(this._capabilitiesUrl,this._version,e),s=Pc(this._capabilitiesUrl,this._version,e,void 0,void 0,void 0,!0);return Promise.all([Dc(n),Dc(s)]).then(([a,r])=>hy(i,a,r,this._version))},"WFS","FEATURETYPEINFO",this._capabilitiesUrl,e):null}getSingleFeatureTypeName(){return this._featureTypes&&this._featureTypes.length===1?this._featureTypes[0].name:null}async getFeatureTypePropDetails(e){const i=await this.getFeatureTypeFull(e);return i===null?null:ps(()=>O0(this._capabilitiesUrl,this._version,i).then(n=>n.props),"WFS","FEATURETYPEPROPDETAILS",this._capabilitiesUrl,e)}getVersion(){return this._version}_getJsonCompatibleOutputFormat(e){const i=this._getFeatureTypeByName(e);if(!i)throw new Error(`The following feature type was not found in the service: ${e}`);const n=i.outputFormats.filter(rl);return n.length?n[0]:null}supportsJson(e){return this._featureTypes?!!this._getJsonCompatibleOutputFormat(e):null}supportsStartIndex(){return this._version?this._version>="2.0.0":!1}getFeatureUrl(e,i){if(!this._featureTypes)return null;const{maxFeatures:n,asJson:s,outputFormat:a,outputCrs:r,extent:o,extentCrs:l,startIndex:c}=i||{},u=this._getFeatureTypeByName(e);if(!u)throw new Error(`The following feature type was not found in the service: ${e}`);let h=a;if(s){if(h=this._getJsonCompatibleOutputFormat(e)||void 0,!h)throw new Error(`The endpoint does not appear to support GeoJSON for the feature type ${u.name}`)}else a&&u.outputFormats.indexOf(a)===-1&&console.warn(`[ogc-client] The following output format type was not found in the feature type ${u.name}: ${a}`);return Pc(this._capabilitiesUrl,this._version,u.name,h,n,void 0,void 0,r,o,l,c)}};const gy={name:"WfsEndpoint",components:{WfsFeatureTypeInfo:uy,ItemsTree:mr,InfoList:ln},data:()=>({loading:!1,error:null,endpoint:null,url:"https://ahocevar.com/geoserver/wfs",selectedFeatureType:null}),computed:{loaded(){return this.endpoint&&this.loading===!1&&this.error===null}},methods:{async createEndpoint(){this.error=null,this.loading=!0,this.endpoint=new py(this.url);try{await this.endpoint.isReady()}catch(t){this.error=t.message}this.loading=!1},async handleItemClick(t,e){e.preventDefault(),this.selectedFeatureType=await this.endpoint.getFeatureTypeFull(t.name)}}},yy={class:"d-flex flex-row my-4"},by=x("div",{class:"spacer-s"},null,-1),_y={key:0},vy={key:1},Ny=["title"],wy=["onClick"],xy={key:1},Cy={key:2};function Fy(t,e,i,n,s,a){const r=ke("InfoList"),o=ke("ItemsTree"),l=ke("WfsFeatureTypeInfo");return D(),V("div",null,[x("div",yy,[Ti(x("input",{class:"form-control me-3",placeholder:"Enter a WFS service URL here","onUpdate:modelValue":e[0]||(e[0]=c=>t.url=c)},null,512),[[fr,t.url]]),by,x("button",{type:"button",class:"btn btn-primary",onClick:e[1]||(e[1]=c=>a.createEndpoint())}," Analyze ")]),t.loading?(D(),V("div",_y,"Loading...")):De("",!0),a.loaded?(D(),V("div",vy,[B(r,{info:t.endpoint.getServiceInfo()},null,8,["info"]),B(o,{items:t.endpoint.getFeatureTypes(),style:{"min-height":"200px"}},{default:Je(({item:c})=>[x("div",{title:c.abstract},[c.name?(D(),V("a",{key:0,href:"",onClick:u=>a.handleItemClick(c,u),class:"link-light"},Ge(c.title),9,wy)):(D(),V("span",xy,Ge(c.title),1))],8,Ny)]),_:1},8,["items"]),t.selectedFeatureType?(D(),xt(l,{key:0,"feature-type":t.selectedFeatureType,endpoint:t.endpoint},null,8,["feature-type","endpoint"])):De("",!0)])):De("",!0),t.error?(D(),V("div",Cy,"Error: "+Ge(t.error),1)):De("",!0)])}const Ey=We(gy,[["render",Fy]]);const ky={name:"Async",props:{promise:Promise},data:()=>({pending:!0,resolved:null,rejected:null}),watch:{promise:{immediate:!0,handler(t){t instanceof Promise?(this.pending=!0,t.then(e=>{this.resolved=e,this.rejected=null,this.pending=!1},e=>{this.rejected=e,this.resolved=null,this.pending=!1})):(this.resolved=t,this.rejected=null,this.pending=!1)}}}},My=t=>(rn("data-v-b4911245"),t=t(),on(),t),Iy={key:0},Ty=My(()=>x("span",null,"Loading...",-1)),Ry={key:1},Ly={class:"error"},Sy={key:2};function Dy(t,e,i,n,s,a){return t.pending?(D(),V("div",Iy,[Ji(t.$slots,"pending",{},()=>[Ty],!0)])):t.rejected?(D(),V("div",Ry,[Ji(t.$slots,"catch",{error:t.rejected},()=>[x("span",Ly,"Error: "+Ge(t.rejected),1)],!0)])):(D(),V("div",Sy,[Ji(t.$slots,"then",{result:t.resolved},()=>[x("span",null,"Loaded: "+Ge(t.resolved),1)],!0)]))}const Ay=We(ky,[["render",Dy],["__scopeId","data-v-b4911245"]]),Py=["string","number","integer","date","point","linestring","polygon","geometry"];function It(t){const e=new URL(t,window.location.toString());return e.searchParams.set("f","json"),Nd(e.toString(),"GET",!0).then(i=>{if(!i.ok)throw new Error(`The document at ${e} could not be fetched.`);return i.clone().json().catch(n=>{throw new Error(`The document at ${e} does not appear to be valid JSON. Error was: ${n.message}`)})})}function Fd(t){return It(t).then(e=>{if(!tn(e,["data","http://www.opengis.net/def/rel/ogc/1.0/data"])||!tn(e,["conformance","http://www.opengis.net/def/rel/ogc/1.0/conformance"])){let i=Md(t);if(!i)throw new Error("Could not find a root JSON document containing both a link with rel='data' and a link with rel='conformance'.");if("collections"in e){const n=new URL(i);n.pathname=`${n.pathname}/`,i=n.toString()}return Fd(i)}return e})}function Ed(t){return It(t).then(e=>{if(tn(e,["data","http://www.opengis.net/def/rel/ogc/1.0/data"]))return null;let i=Md(t);return tn(e,["items"])?e:("collections"in e&&(i=`${i}/`),Ed(i))})}function kd(t,e,i){var s;const n=((s=t.links)==null?void 0:s.filter(a=>Array.isArray(e)?e.indexOf(a.rel)>-1:a.rel===e))||[];return i?n.filter(a=>a.type===i):n}function gt(t,e,i,n){const s=kd(t,e,n)[0];return s?new URL(s.href,i||window.location.toString()).toString():null}function si(t,e,i){const n=gt(t,e,i);return n?It(n):Promise.reject(new Qt(`Could not find link with type: ${e}`))}function tn(t,e){return!!gt(t,e)}function Oc(t,e){if(!tn(t,e))throw new Qt(`Could not find link with type: ${e}`)}function Md(t){const e=new URL(t,window.location.toString()),i=e.pathname.replace(/\/$/,"").split("/");return i.length<=2?null:(e.pathname=i.slice(0,-1).join("/"),e.toString())}function Oy(t){try{Oc(t,["data","http://www.opengis.net/def/rel/ogc/1.0/data"]),Oc(t,["conformance","http://www.opengis.net/def/rel/ogc/1.0/conformance"])}catch(e){throw new Qt(`The endpoint appears non-conforming, the following error was encountered: -${e.message}`)}return{title:t.title,description:t.description,attribution:t.attribution}}function Gy(t){return t.conformsTo}function ns(t=null){return e=>e.collections.filter(i=>t===null||i.itemType===t).map(i=>{const n={name:i.id};return i.itemType==="record"&&(n.hasRecords=!0),i.itemType==="feature"&&(n.hasFeatures=!0),i.links.some(s=>s.rel==="http://www.opengis.net/def/rel/ogc/1.0/tilesets-vector")&&(n.hasVectorTiles=!0),i.links.some(s=>s.rel==="http://www.opengis.net/def/rel/ogc/1.0/tilesets-map")&&(n.hasMapTiles=!0),n})}function Zy(t){return t.indexOf("http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/core")>-1}function Xy(t){return t.indexOf("http://www.opengis.net/spec/ogcapi-styles-1/0.0/conf/core")>-1||t.indexOf("http://www.opengis.net/spec/ogcapi-styles-1/1.0/conf/core")>-1}function Wy([t,e]){return(["http://www.opengis.net/spec/ogcapi-records-1/1.0/conf/record-core","http://www.opengis.net/spec/ogcapi-records-1/1.0/conf/record-collection","http://www.opengis.net/spec/ogcapi-records-1/1.0/conf/record-api"].every(n=>e.indexOf(n)>-1)||e.indexOf("http://www.opengis.net/spec/ogcapi-records-1/1.0/conf/core")>-1)&&t.some(n=>n.itemType==="record")}function Vy([t,e]){return e.indexOf("http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/core")>-1&&t.some(i=>i.itemType==="feature")}function Ky(t){const{links:e,...i}=t,n=e.filter(l=>l.rel==="items").map(l=>l.type),s=e.filter(l=>l.rel==="enclosure").reduce((l,c)=>(l[c.type]=c.href,l),{}),a=Object.keys(s),r=a.find(Cd)||a.find(xd)||a.find(rl),o=r?s[r]:null;return{itemFormats:n,bulkDownloadLinks:s,jsonDownloadLink:o,...i}}function Gc(t){return"properties"in t&&typeof t.properties=="object"?Object.keys(t.properties).map(e=>{const i=t.properties[e];let n="string";if(typeof i.$ref=="string"){const s=i.$ref.toLowerCase();s.indexOf("point")>-1?n="point":s.indexOf("linestring")>-1?n="linestring":s.indexOf("polygon")>-1?n="polygon":s.indexOf("geometry")>-1&&(n="geometry")}else typeof i.type=="string"&&Py.indexOf(i.type.toLowerCase())>-1&&(n=i.type.toLowerCase());return{name:e,type:n,...typeof i.title=="string"&&{title:i.title}}}):Array.isArray(t)?t.map(e=>({name:e,type:"string"})):[]}function Uy(t){return Array.isArray(t.tileMatrixSets)?t.tileMatrixSets.map(e=>({id:e.id,uri:e.uri})):[]}function Zc(t){return{formats:t.links.filter(i=>i.rel==="stylesheet").map(i=>i.type).filter(i=>i!=="text/html"),id:t.id,...t.title&&{title:t.title}}}function By(t){var a;const{stylesheets:e,links:i,...n}=t,s=(a=e==null?void 0:e.filter(r=>r.link.rel==="stylesheet"))==null?void 0:a.map(r=>r.link.type);return{...s&&{stylesheetFormats:s},...e&&{stylesheets:e},...n}}let qy=class{constructor(e){this.baseUrl=e}get root(){return this.root_||(this.root_=Fd(this.baseUrl).catch(e=>{throw new Error(`The endpoint appears non-conforming, the following error was encountered: -${e.message}`)})),this.root_}get conformance(){return this.conformance_||(this.conformance_=this.root.then(e=>si(e,["conformance","http://www.opengis.net/def/rel/ogc/1.0/conformance"],this.baseUrl))),this.conformance_}get collectionsUrl(){return this.root.then(e=>gt(e,["data","http://www.opengis.net/def/rel/ogc/1.0/data"],this.baseUrl))}get data(){return this.data_||(this.data_=this.collectionsUrl.then(It).then(async e=>{const i=await Ed(this.baseUrl);return i!==null&&Array.isArray(e.collections)&&(e.collections=e.collections.filter(n=>n.id===i.id)),e})),this.data_}get tileMatrixSetsFull(){return this.tileMatrixSetsFull_||(this.tileMatrixSetsFull_=this.root.then(async e=>await this.hasTiles?si(e,["http://www.opengis.net/def/rel/ogc/1.0/tiling-schemes"],this.baseUrl).then(Uy):[])),this.tileMatrixSetsFull_}get styles(){return this.styles_||(this.styles_=this.root.then(async e=>{if(await this.hasStyles)return si(e,["styles","http://www.opengis.net/def/rel/ogc/1.0/styles"],this.baseUrl)})),this.styles_}get info(){return this.root.then(Oy)}get conformanceClasses(){return this.conformance.then(Gy)}get allCollections(){return this.data.then(ns())}get recordCollections(){return Promise.all([this.data,this.hasRecords]).then(([e,i])=>i?e:{collections:[]}).then(ns("record")).then(e=>e.map(i=>i.name))}get featureCollections(){return Promise.all([this.data,this.hasFeatures]).then(([e,i])=>i?e:{collections:[]}).then(ns("feature")).then(e=>e.map(i=>i.name))}get vectorTileCollections(){return Promise.all([this.data,this.hasTiles]).then(([e,i])=>i?e:{collections:[]}).then(ns()).then(e=>e.filter(i=>i.hasVectorTiles)).then(e=>e.map(i=>i.name))}get mapTileCollections(){return Promise.all([this.data,this.hasTiles]).then(([e,i])=>i?e:{collections:[]}).then(ns()).then(e=>e.filter(i=>i.hasMapTiles)).then(e=>e.map(i=>i.name))}get hasTiles(){return this.conformanceClasses.then(Zy)}get hasStyles(){return this.conformanceClasses.then(Xy)}get hasFeatures(){return Promise.all([this.data.then(e=>e.collections),this.conformanceClasses]).then(Vy)}get hasRecords(){return Promise.all([this.data.then(e=>e.collections),this.conformanceClasses]).then(Wy)}get tileMatrixSets(){return this.tileMatrixSetsFull.then(e=>e.map(i=>i.id))}getCollectionDocument(e){return Promise.all([this.allCollections,this.data]).then(([i,n])=>{if(!i.find(s=>s.name===e))throw new Qt(`Collection not found: ${e}`);return n.collections.find(s=>s.id===e)}).then(async i=>tn(i,["self"])?si(i,"self",this.baseUrl):It(`${await this.collectionsUrl}/${e}`))}async getStyleMetadataDocument(e,i){var l;const n=i?await this.getCollectionDocument(i):await this.root,s=gt(n,["styles","http://www.opengis.net/def/rel/ogc/1.0/styles"],this.baseUrl,"application/json"),a=gt(n,["styles","http://www.opengis.net/def/rel/ogc/1.0/styles"],this.baseUrl),r=await It(s??a);if(!r.styles.some(c=>c.id===e))throw new Qt(`Style not found: "${e}".`);const o=(l=r==null?void 0:r.styles)==null?void 0:l.find(c=>c.id===e);return tn(o,["describedby"])?si(o,"describedby",this.baseUrl):o}async getCollectionInfo(e){const i=await this.getCollectionDocument(e),n=Ky(i),[s,a,r,o]=await Promise.all([si(i,["queryables","http://www.opengis.net/def/rel/ogc/1.0/queryables"],this.baseUrl).then(Gc).catch(()=>[]),si(i,["sortables","http://www.opengis.net/def/rel/ogc/1.0/sortables"],this.baseUrl).then(Gc).catch(()=>[]),si(i,["http://www.opengis.net/def/rel/ogc/1.0/tilesets-vector"],this.baseUrl).then(m=>m.tilesets).catch(()=>[]),si(i,["http://www.opengis.net/def/rel/ogc/1.0/tilesets-map"],this.baseUrl).then(m=>m.tilesets).catch(()=>[])]),l=await this.tileMatrixSetsFull,c=r.map(m=>{var p;return(p=l.find(y=>y.uri===m.tileMatrixSetURI))==null?void 0:p.id}).filter(Boolean),u=r[0];let h=[];if(u){const m=gt(u,"self",this.baseUrl);if(!m)throw new Error("No links found for the tileset");h=(await It(m)).links.filter(y=>y.rel==="item").map(y=>y.type)}const d=o[0];let f=[];if(d){const m=gt(d,"self",this.baseUrl);if(!m)throw new Error("No links found for the tileset");f=(await It(m)).links.filter(y=>y.rel==="item").map(y=>y.type)}return{...n,queryables:s,sortables:a,mapTileFormats:f,vectorTileFormats:h,supportedTileMatrixSets:c}}getCollectionItems(e,i=10,n=0,s=null,a=null,r=null,o=null){return this.getCollectionDocument(e).then(l=>{const c=new URL(gt(l,"items",this.baseUrl),window.location.toString());return c.searchParams.set("limit",i.toString()),c.searchParams.set("offset",n.toString()),s!==null&&c.searchParams.set("skipGeometry",s.toString()),a!==null&&c.searchParams.set("sortby",a.join(",").toString()),r!==null&&c.searchParams.set("bbox",r.join(",").toString()),o!==null&&c.searchParams.set("properties",o.join(",").toString()),c.toString()}).then(It).then(l=>l.features)}getCollectionItem(e,i){return this.getCollectionDocument(e).then(n=>{const s=new URL(gt(n,"items",this.baseUrl),window.location.toString());return s.pathname+=`/${i}`,s.toString()}).then(It)}getCollectionItemsUrl(e,i={}){return this.getCollectionDocument(e).then(n=>{const s=this.baseUrl||"",a=kd(n,"items");let r=a.find(l=>l.type===(i==null?void 0:i.outputFormat)),o;return i.asJson&&(r=a.find(l=>Cd(l.type))||a.find(l=>xd(l.type))||a.find(l=>rl(l.type))),i!=null&&i.outputFormat&&!r?(console.warn(`[ogc-client] The following output format type was not found in the collection '${e}': ${i.outputFormat}`),o=new URL(a[0].href,s),o.searchParams.set("f",i.outputFormat)):r?o=new URL(r.href,s):o=new URL(a[0].href,s),i.query!==void 0&&(o.search+=(o.search?"&":"")+i.query),i.limit!==void 0&&o.searchParams.set("limit",i.limit.toString()),i.offset!==void 0&&o.searchParams.set("offset",i.offset.toString()),i.outputCrs!==void 0&&o.searchParams.set("crs",i.outputCrs),i.extent!==void 0&&i.extent.length===4&&o.searchParams.set("bbox",i.extent.join(",")),i.extentCrs!==void 0&&o.searchParams.set("bbox-crs",i.extentCrs),o.toString()}).catch(n=>{throw console.error("Error fetching collection items URL:",n),n})}getVectorTilesetUrl(e,i="WebMercatorQuad"){return this.getCollectionDocument(e).then(async n=>{const s=gt(n,"http://www.opengis.net/def/rel/ogc/1.0/tilesets-vector",this.baseUrl),a=await It(s),r=(await this.tileMatrixSetsFull).find(c=>c.id===i);if(!r)throw new Error(`The following tile matrix set does not exist on this endpoint: '${i}'.`);const o=a.tilesets.find(c=>c.tileMatrixSetURI===r.uri);if(!o)throw new Error(`The collection '${e}' does not support the tile matrix set '${i}'.`);const l=gt(o,"self",this.baseUrl);if(!l)throw new Error("No links found for the tileset");return l}).catch(n=>{throw console.error("Error fetching collection tileset URL:",n.message),n})}getMapTilesetUrl(e,i="WebMercatorQuad"){return this.getCollectionDocument(e).then(async n=>{const s=gt(n,"http://www.opengis.net/def/rel/ogc/1.0/tilesets-map",this.baseUrl),a=await It(s),r=(await this.tileMatrixSetsFull).find(c=>c.id===i);if(!r)throw new Error(`The following tile matrix set does not exist on this endpoint: '${i}'.`);const o=a.tilesets.find(c=>c.tileMatrixSetURI===r.uri);if(!o)throw new Error(`The collection '${e}' does not support the tile matrix set '${i}'.`);const l=gt(o,"self",this.baseUrl);if(!l)throw new Error("No links found for the tileset");return l}).catch(n=>{throw console.error("Error fetching collection tileset URL:",n.message),n})}async allStyles(e){const i=e?await this.getCollectionDocument(e):await this.root,n=gt(i,["styles","http://www.opengis.net/def/rel/ogc/1.0/styles"],this.baseUrl);if(!n)throw new Qt('Could not get styles: there is no relation of type "styles"');return(await It(n)).styles.map(Zc)}async getStyle(e,i){const n=await this.getStyleMetadataDocument(e,i);return n!=null&&n.stylesheets?By(n):Zc(n)}async getStylesheetUrl(e,i,n){var r,o,l;const s=await this.getStyleMetadataDocument(e,n);if(s.stylesheets)return(l=(o=(r=s==null?void 0:s.stylesheets)==null?void 0:r.find(u=>u.link.type===i&&u.link.rel==="stylesheet"))==null?void 0:o.link)==null?void 0:l.href;const a=gt(s,"stylesheet",this.baseUrl,i);if(!a)throw new Qt("Could not find stylesheet URL for given style ID and type.");return a}};const zy={name:"OgcApiEndpoint",components:{Async:Ay,ItemsTree:mr,InfoList:ln},data:()=>({endpoint:null,endpointSummary:null,endpointCollections:null,url:"https://demo.ldproxy.net/zoomstack"}),computed:{loaded(){return this.endpoint&&this.loading===!1&&this.error===null}},methods:{createEndpoint(){this.endpoint=new qy(this.url),this.endpointSummary=Promise.all([this.endpoint.info,this.endpoint.hasTiles,this.endpoint.hasStyles,this.endpoint.hasRecords,this.endpoint.hasFeatures,this.endpoint.allCollections]).then(([t,e,i,n,s,a])=>({info:{...t,hasTiles:e,hasStyles:i,hasRecords:n,hasFeatures:s},collections:a}))}}},Yy={class:"d-flex flex-row my-4"},Hy=x("div",{class:"spacer-s"},null,-1);function $y(t,e,i,n,s,a){const r=ke("InfoList"),o=ke("ItemsTree"),l=ke("Async");return D(),V("div",null,[x("div",Yy,[Ti(x("input",{class:"form-control me-3",placeholder:"Enter an OGC API endpoint URL here","onUpdate:modelValue":e[0]||(e[0]=c=>t.url=c)},null,512),[[fr,t.url]]),Hy,x("button",{type:"button",class:"btn btn-primary",onClick:e[1]||(e[1]=c=>a.createEndpoint())}," Analyze ")]),t.endpointSummary?(D(),xt(l,{key:0,promise:t.endpointSummary},{then:Je(({result:c})=>[B(r,{info:c.info},null,8,["info"]),B(o,{items:c.collections,style:{"min-height":"200px"}},{default:Je(({item:u})=>[x("span",null,Ge(u),1)]),_:2},1032,["items"])]),_:1},8,["promise"])):De("",!0)])}const jy=We(zy,[["render",$y]]),Jy="modulepreload",Qy=function(t,e){return new URL(t,e).href},Xc={},e3=function(e,i,n){if(!i||i.length===0)return e();const s=document.getElementsByTagName("link");return Promise.all(i.map(a=>{if(a=Qy(a,n),a in Xc)return;Xc[a]=!0;const r=a.endsWith(".css"),o=r?'[rel="stylesheet"]':"";if(!!n)for(let u=s.length-1;u>=0;u--){const h=s[u];if(h.href===a&&(!r||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${o}`))return;const c=document.createElement("link");if(c.rel=r?"stylesheet":Jy,r||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),r)return new Promise((u,h)=>{c.addEventListener("load",u),c.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>e()).catch(a=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=a,window.dispatchEvent(r),!r.defaultPrevented)throw a})};function t3(t,e,i,n,s,a,r,o,l){const c={layer:i,style:n,tilematrixset:s,Service:"WMTS",Request:"GetTile",Format:l,TileMatrix:a,TileCol:o.toString(),TileRow:r.toString()};if(e==="REST"){let u=t;for(const h in c)u=u.replace(new RegExp(`{${h}}`,"ig"),c[h]);return u}else return Ai(t,c)}let i3=class{constructor(e){this._info=null,this._layers=null,this._matrixSets=null;const i=Ai(e,{SERVICE:"WMTS",REQUEST:"GetCapabilities"});this._capabilitiesPromise=ps(()=>G0(i),"WMTS","CAPABILITIES",i).then(({info:n,layers:s,matrixSets:a})=>{this._info=n,this._layers=s,this._matrixSets=a})}isReady(){return this._capabilitiesPromise.then(()=>this)}getServiceInfo(){return this._info}getLayers(){return this._layers}getMatrixSets(){return this._matrixSets}getMatrixSetByIdentifier(e){return this._matrixSets?this._matrixSets.find(i=>i.identifier===e)??null:null}getLayerByName(e){return this._layers?this._layers.find(i=>i.name===e)??null:null}getSingleLayerName(){return this._layers&&this._layers.length===1?this._layers[0].name:null}getLayerResourceLink(e,i){if(!this._layers)return null;const n=this.getLayerByName(e);let s=0;i&&(s=n.resourceLinks.findIndex(r=>r.format===i)||0);const a=n.resourceLinks[s];return i&&a.format!==i&&console.warn(`[ogc-client] Requested '${i}' format for the WMTS layer but it is not available in REST encoding, falling back to '${a.format}'`),a}getTileUrl(e,i,n,s,a,r,o){if(!this._layers)return null;const l=this.getLayerResourceLink(e,o);return t3(l.url,l.encoding,e,i,n,s,a,r,l.format)}getDefaultDimensions(e){if(!this._layers)return null;const i=this.getLayerByName(e);return i.dimensions?i.dimensions.reduce((n,s)=>({...n,[s.identifier]:s.defaultValue}),{}):{}}getOpenLayersTileGrid(e,i){if(!this._layers)return null;this.tileGridModule||(this.tileGridModule=e3(()=>import("./ol-tilegrid-9859603a.js"),[],import.meta.url).catch(r=>(console.warn(`[ogc-client] Cannot use getOpenLayersTileGrid, the 'ol' package is probably not available. -`,r),null)));const n=this.getLayerByName(e),s=n.matrixSets.find(r=>r.identifier===i)??n.matrixSets[0],a=this.getMatrixSetByIdentifier(s.identifier);return this.tileGridModule.then(({buildOpenLayersTileGrid:r})=>r(a,s.limits))}};class n3{constructor(e){this.propagationStopped,this.defaultPrevented,this.type=e,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}}const Pi=n3,Es={PROPERTYCHANGE:"propertychange"};class s3{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}}const ol=s3;function ll(t,e){return t>e?1:t0?s-1:s}return n-1}if(i>0){for(let s=1;s0||i&&r===0)})}function Xa(){return!0}function vr(){return!1}function Wa(){}function o3(t){let e=!1,i,n,s;return function(){const a=Array.prototype.slice.call(arguments);return(!e||this!==s||!_r(a,n))&&(e=!0,s=this,n=a,i=t.apply(this,arguments)),i}}function Nr(t){for(const e in t)delete t[e]}function l3(t){let e;for(e in t)return!1;return!e}class c3 extends ol{constructor(e){super(),this.eventTarget_=e,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(e,i){if(!e||!i)return;const n=this.listeners_||(this.listeners_={}),s=n[e]||(n[e]=[]);s.includes(i)||s.push(i)}dispatchEvent(e){const i=typeof e=="string",n=i?e:e.type,s=this.listeners_&&this.listeners_[n];if(!s)return;const a=i?new Pi(e):e;a.target||(a.target=this.eventTarget_||this);const r=this.dispatching_||(this.dispatching_={}),o=this.pendingRemovals_||(this.pendingRemovals_={});n in r||(r[n]=0,o[n]=0),++r[n];let l;for(let c=0,u=s.length;c0:!1}removeEventListener(e,i){if(!this.listeners_)return;const n=this.listeners_[e];if(!n)return;const s=n.indexOf(i);s!==-1&&(this.pendingRemovals_&&e in this.pendingRemovals_?(n[s]=Wa,++this.pendingRemovals_[e]):(n.splice(s,1),n.length===0&&delete this.listeners_[e]))}}const ul=c3,le={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"};function Ce(t,e,i,n,s){if(n&&n!==t&&(i=i.bind(n)),s){const r=i;i=function(){t.removeEventListener(e,i),r.apply(this,arguments)}}const a={target:t,type:e,listener:i};return t.addEventListener(e,i),a}function Va(t,e,i,n){return Ce(t,e,i,n,!0)}function qe(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),Nr(t))}class wr extends ul{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(le.CHANGE)}getRevision(){return this.revision_}onInternal(e,i){if(Array.isArray(e)){const n=e.length,s=new Array(n);for(let a=0;a0;)this.pop()}extend(e){for(let i=0,n=e.length;ithis.getLength())throw new Error("Index out of bounds: "+e);this.unique_&&this.assertUnique_(i),this.array_.splice(e,0,i),this.updateLength_(),this.dispatchEvent(new aa(At.ADD,i,e))}pop(){return this.removeAt(this.getLength()-1)}push(e){this.unique_&&this.assertUnique_(e);const i=this.getLength();return this.insertAt(i,e),this.getLength()}remove(e){const i=this.array_;for(let n=0,s=i.length;n=this.getLength())return;const i=this.array_[e];return this.array_.splice(e,1),this.updateLength_(),this.dispatchEvent(new aa(At.REMOVE,i,e)),i}setAt(e,i){const n=this.getLength();if(e>=n){this.insertAt(e,i);return}if(e<0)throw new Error("Index out of bounds: "+e);this.unique_&&this.assertUnique_(i,e);const s=this.array_[e];this.array_[e]=i,this.dispatchEvent(new aa(At.REMOVE,s,e)),this.dispatchEvent(new aa(At.ADD,i,e))}updateLength_(){this.set(Vc.LENGTH,this.array_.length)}assertUnique_(e,i){for(let n=0,s=this.array_.length;ns&&(l=l|nt.RIGHT),oa&&(l=l|nt.ABOVE),l===nt.UNKNOWN&&(l=nt.INTERSECTING),l}function cn(){return[1/0,1/0,-1/0,-1/0]}function Gs(t,e,i,n,s){return s?(s[0]=t,s[1]=e,s[2]=i,s[3]=n,s):[t,e,i,n]}function xr(t){return Gs(1/0,1/0,-1/0,-1/0,t)}function w3(t,e){const i=t[0],n=t[1];return Gs(i,n,i,n,e)}function x3(t,e,i,n,s){const a=xr(s);return Od(a,t,e,i,n)}function yo(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function C3(t,e){return e[0]t[2]&&(t[2]=e[2]),e[1]t[3]&&(t[3]=e[3]),t}function wa(t,e){e[0]t[2]&&(t[2]=e[0]),e[1]t[3]&&(t[3]=e[1])}function Od(t,e,i,n,s){for(;ie[0]?n[0]=t[0]:n[0]=e[0],t[1]>e[1]?n[1]=t[1]:n[1]=e[1],t[2]=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function kr(t){return t[2]=r&&p<=l),!n&&a&nt.RIGHT&&!(s&nt.RIGHT)&&(y=f-(d-l)*m,n=y>=o&&y<=c),!n&&a&nt.BELOW&&!(s&nt.BELOW)&&(p=d-(f-o)/m,n=p>=r&&p<=l),!n&&a&nt.LEFT&&!(s&nt.LEFT)&&(y=f-(d-r)*m,n=y>=o&&y<=c)}return n}const Ka={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]};var bt={name:"xyz",min:[0,0,0],channel:["X","Y","Z"],alias:["XYZ","ciexyz","cie1931"]};bt.whitepoint={2:{A:[109.85,100,35.585],C:[98.074,100,118.232],D50:[96.422,100,82.521],D55:[95.682,100,92.149],D65:[95.045592705167,100,108.9057750759878],D75:[94.972,100,122.638],F2:[99.187,100,67.395],F7:[95.044,100,108.755],F11:[100.966,100,64.37],E:[100,100,100]},10:{A:[111.144,100,35.2],C:[97.285,100,116.145],D50:[96.72,100,81.427],D55:[95.799,100,90.926],D65:[94.811,100,107.304],D75:[94.416,100,120.641],F2:[103.28,100,69.026],F7:[95.792,100,107.687],F11:[103.866,100,65.627],E:[100,100,100]}};bt.max=bt.whitepoint[2].D65;bt.rgb=function(t,e){e=e||bt.whitepoint[2].E;var i=t[0]/e[0],n=t[1]/e[1],s=t[2]/e[2],a,r,o;return a=i*3.240969941904521+n*-1.537383177570093+s*-.498610760293,r=i*-.96924363628087+n*1.87596750150772+s*.041555057407175,o=i*.055630079696993+n*-.20397695888897+s*1.056971514242878,a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a=a*12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r=r*12.92,o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o=o*12.92,a=Math.min(Math.max(0,a),1),r=Math.min(Math.max(0,r),1),o=Math.min(Math.max(0,o),1),[a*255,r*255,o*255]};Ka.xyz=function(t,e){var i=t[0]/255,n=t[1]/255,s=t[2]/255;i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92;var a=i*.41239079926595+n*.35758433938387+s*.18048078840183,r=i*.21263900587151+n*.71516867876775+s*.072192315360733,o=i*.019330818715591+n*.11919477979462+s*.95053215224966;return e=e||bt.whitepoint[2].E,[a*e[0],r*e[1],o*e[2]]};const Zd={name:"luv",min:[0,-134,-140],max:[100,224,122],channel:["lightness","u","v"],alias:["LUV","cieluv","cie1976"],xyz:function(t,e,i){var n,s,a,r,o,l,c,u,h,d,f,m,p;if(a=t[0],r=t[1],o=t[2],a===0)return[0,0,0];var y=.0011070564598794539;return e=e||"D65",i=i||2,h=bt.whitepoint[i][e][0],d=bt.whitepoint[i][e][1],f=bt.whitepoint[i][e][2],m=4*h/(h+15*d+3*f),p=9*d/(h+15*d+3*f),n=r/(13*a)+m||0,s=o/(13*a)+p||0,c=a>8?d*Math.pow((a+16)/116,3):d*a*y,l=c*9*n/(4*s)||0,u=c*(12-3*n-20*s)/(4*s)||0,[l,c,u]}};bt.luv=function(t,e,i){var n,s,a,r,o,l,c,u,h,d,f,m,p,y=.008856451679035631,_=903.2962962962961;e=e||"D65",i=i||2,h=bt.whitepoint[i][e][0],d=bt.whitepoint[i][e][1],f=bt.whitepoint[i][e][2],m=4*h/(h+15*d+3*f),p=9*d/(h+15*d+3*f),l=t[0],c=t[1],u=t[2],n=4*l/(l+15*c+3*u)||0,s=9*c/(l+15*c+3*u)||0;var v=c/d;return a=v<=y?_*v:116*Math.pow(v,1/3)-16,r=13*a*(n-m),o=13*a*(s-p),[a,r,o]};Zd.lchuv=function(t){var e=t[0],i=t[1],n=t[2],s=Math.sqrt(i*i+n*n),a=Math.atan2(n,i),r=a*360/2/Math.PI;return r<0&&(r+=360),[e,s,r]};bt.lchuv=function(t){return Zd.lchuv(bt.luv(t))};var I3={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const qc=c0(I3);var zc={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function T3(t){var u,h;var e,i=[],n=1,s;if(typeof t=="number")return{space:"rgb",values:[t>>>16,(t&65280)>>>8,t&255],alpha:1};if(typeof t=="number")return{space:"rgb",values:[t>>>16,(t&65280)>>>8,t&255],alpha:1};if(t=String(t).toLowerCase(),qc[t])i=qc[t].slice(),s="rgb";else if(t==="transparent")n=0,s="rgb",i=[0,0,0];else if(t[0]==="#"){var a=t.slice(1),r=a.length,o=r<=4;n=1,o?(i=[parseInt(a[0]+a[0],16),parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16)],r===4&&(n=parseInt(a[3]+a[3],16)/255)):(i=[parseInt(a[0]+a[1],16),parseInt(a[2]+a[3],16),parseInt(a[4]+a[5],16)],r===8&&(n=parseInt(a[6]+a[7],16)/255)),i[0]||(i[0]=0),i[1]||(i[1]=0),i[2]||(i[2]=0),s="rgb"}else if(e=/^((?:rgba?|hs[lvb]a?|hwba?|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms|oklch|oklab|color))\s*\(([^\)]*)\)/.exec(t)){var l=e[1];s=l.replace(/a$/,"");var c=s==="cmyk"?4:s==="gray"?1:3;i=e[2].trim().split(/\s*[,\/]\s*|\s+/),s==="color"&&(s=i.shift()),i=i.map(function(d,f){if(d[d.length-1]==="%")return d=parseFloat(d)/100,f===3?d:s==="rgb"?d*255:s[0]==="h"||s[0]==="l"&&!f?d*100:s==="lab"?d*125:s==="lch"?f<2?d*150:d*360:s[0]==="o"&&!f?d:s==="oklab"?d*.4:s==="oklch"?f<2?d*.4:d*360:d;if(s[f]==="h"||f===2&&s[s.length-1]==="h"){if(zc[d]!==void 0)return zc[d];if(d.endsWith("deg"))return parseFloat(d);if(d.endsWith("turn"))return parseFloat(d)*360;if(d.endsWith("grad"))return parseFloat(d)*360/400;if(d.endsWith("rad"))return parseFloat(d)*180/Math.PI}return d==="none"?0:parseFloat(d)}),n=i.length>c?i.pop():1}else/[0-9](?:\s|\/|,)/.test(t)&&(i=t.match(/([0-9]+)/g).map(function(d){return parseFloat(d)}),s=((h=(u=t.match(/([a-z])/ig))==null?void 0:u.join(""))==null?void 0:h.toLowerCase())||"rgb");return{space:s,values:i,alpha:n}}const Wr={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(t){var e=t[0]/360,i=t[1]/100,n=t[2]/100,s,a,r,o,l,c=0;if(i===0)return l=n*255,[l,l,l];for(a=n<.5?n*(1+i):n+i-n*i,s=2*n-a,o=[0,0,0];c<3;)r=e+1/3*-(c-1),r<0?r++:r>1&&r--,l=6*r<1?s+(a-s)*6*r:2*r<1?a:3*r<2?s+(a-s)*(2/3-r)*6:s,o[c++]=l*255;return o}};Ka.hsl=function(t){var e=t[0]/255,i=t[1]/255,n=t[2]/255,s=Math.min(e,i,n),a=Math.max(e,i,n),r=a-s,o,l,c;return a===s?o=0:e===a?o=(i-n)/r:i===a?o=2+(n-e)/r:n===a&&(o=4+(e-i)/r),o=Math.min(o*60,360),o<0&&(o+=360),c=(s+a)/2,a===s?l=0:c<=.5?l=r/(a+s):l=r/(2-a-s),[o,l*100,c*100]};function R3(t){Array.isArray(t)&&t.raw&&(t=String.raw(...arguments)),t instanceof Number&&(t=+t);var e,i=T3(t);if(!i.space)return[];const n=i.space[0]==="h"?Wr.min:Ka.min,s=i.space[0]==="h"?Wr.max:Ka.max;return e=Array(3),e[0]=Math.min(Math.max(i.values[0],n[0]),s[0]),e[1]=Math.min(Math.max(i.values[1],n[1]),s[1]),e[2]=Math.min(Math.max(i.values[2],n[2]),s[2]),i.space[0]==="h"&&(e=Wr.rgb(e)),e.push(Math.min(Math.max(i.alpha,0),1)),e}function ze(t,e,i){return Math.min(Math.max(t,e),i)}function L3(t,e,i,n,s,a){const r=s-i,o=a-n;if(r!==0||o!==0){const l=((t-i)*r+(e-n)*o)/(r*r+o*o);l>1?(i=s,n=a):l>0&&(i+=r*l,n+=o*l)}return Dn(t,e,i,n)}function Dn(t,e,i,n){const s=i-t,a=n-e;return s*s+a*a}function S3(t){const e=t.length;for(let n=0;na&&(a=l,s=o)}if(a===0)return null;const r=t[s];t[s]=t[n],t[n]=r;for(let o=n+1;o=0;n--){i[n]=t[n][e]/t[n][n];for(let s=n-1;s>=0;s--)t[s][e]-=t[s][n]*i[n]}return i}function xa(t){return t*Math.PI/180}function An(t,e){const i=t%e;return i*e<0?i+e:i}function D3(t,e,i){return t+i*(e-t)}function Xd(t,e){const i=Math.pow(10,e);return Math.round(t*i)/i}function ra(t,e){return Math.floor(Xd(t,e))}function oa(t,e){return Math.ceil(Xd(t,e))}function A3(t){return typeof t=="string"?t:Z3(t)}const P3=1024,ss={};let Vr=0;function O3(t){if(ss.hasOwnProperty(t))return ss[t];if(Vr>=P3){let i=0;for(const n in ss)i++&3||(delete ss[n],--Vr)}const e=R3(t);if(e.length!==4)throw new Error('Failed to parse "'+t+'" as color');for(const i of e)if(isNaN(i))throw new Error('Failed to parse "'+t+'" as color');return G3(e),ss[t]=e,++Vr,e}function Yc(t){return Array.isArray(t)?t:O3(t)}function G3(t){return t[0]=ze(t[0]+.5|0,0,255),t[1]=ze(t[1]+.5|0,0,255),t[2]=ze(t[2]+.5|0,0,255),t[3]=ze(t[3],0,1),t}function Z3(t){let e=t[0];e!=(e|0)&&(e=e+.5|0);let i=t[1];i!=(i|0)&&(i=i+.5|0);let n=t[2];n!=(n|0)&&(n=n+.5|0);const s=t[3]===void 0?1:Math.round(t[3]*100)/100;return"rgba("+e+","+i+","+n+","+s+")"}class X3{constructor(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32}clear(){this.cache_={},this.cacheSize_=0}canExpireCache(){return this.cacheSize_>this.maxCacheSize_}expire(){if(this.canExpireCache()){let e=0;for(const i in this.cache_){const n=this.cache_[i];!(e++&3)&&!n.hasListener()&&(delete this.cache_[i],--this.cacheSize_)}}}get(e,i,n){const s=Hc(e,i,n);return s in this.cache_?this.cache_[s]:null}set(e,i,n,s){const a=Hc(e,i,n);this.cache_[a]=s,++this.cacheSize_}setSize(e){this.maxCacheSize_=e,this.expire()}}function Hc(t,e,i){const n=i?A3(i):"null";return e+":"+t+":"+n}const Wd=new X3,we={OPACITY:"opacity",VISIBLE:"visible",EXTENT:"extent",Z_INDEX:"zIndex",MAX_RESOLUTION:"maxResolution",MIN_RESOLUTION:"minResolution",MAX_ZOOM:"maxZoom",MIN_ZOOM:"minZoom",SOURCE:"source",MAP:"map"};class W3 extends fi{constructor(e){super(),this.on,this.once,this.un,this.background_=e.background;const i=Object.assign({},e);typeof e.properties=="object"&&(delete i.properties,Object.assign(i,e.properties)),i[we.OPACITY]=e.opacity!==void 0?e.opacity:1,Le(typeof i[we.OPACITY]=="number","Layer opacity must be a number"),i[we.VISIBLE]=e.visible!==void 0?e.visible:!0,i[we.Z_INDEX]=e.zIndex,i[we.MAX_RESOLUTION]=e.maxResolution!==void 0?e.maxResolution:1/0,i[we.MIN_RESOLUTION]=e.minResolution!==void 0?e.minResolution:0,i[we.MIN_ZOOM]=e.minZoom!==void 0?e.minZoom:-1/0,i[we.MAX_ZOOM]=e.maxZoom!==void 0?e.maxZoom:1/0,this.className_=i.className!==void 0?i.className:"ol-layer",delete i.className,this.setProperties(i),this.state_=null}getBackground(){return this.background_}getClassName(){return this.className_}getLayerState(e){const i=this.state_||{layer:this,managed:e===void 0?!0:e},n=this.getZIndex();return i.opacity=ze(Math.round(this.getOpacity()*100)/100,0,1),i.visible=this.getVisible(),i.extent=this.getExtent(),i.zIndex=n===void 0&&!i.managed?1/0:n,i.maxResolution=this.getMaxResolution(),i.minResolution=Math.max(this.getMinResolution(),0),i.minZoom=this.getMinZoom(),i.maxZoom=this.getMaxZoom(),this.state_=i,i}getLayersArray(e){return Xe()}getLayerStatesArray(e){return Xe()}getExtent(){return this.get(we.EXTENT)}getMaxResolution(){return this.get(we.MAX_RESOLUTION)}getMinResolution(){return this.get(we.MIN_RESOLUTION)}getMinZoom(){return this.get(we.MIN_ZOOM)}getMaxZoom(){return this.get(we.MAX_ZOOM)}getOpacity(){return this.get(we.OPACITY)}getSourceState(){return Xe()}getVisible(){return this.get(we.VISIBLE)}getZIndex(){return this.get(we.Z_INDEX)}setBackground(e){this.background_=e,this.changed()}setExtent(e){this.set(we.EXTENT,e)}setMaxResolution(e){this.set(we.MAX_RESOLUTION,e)}setMinResolution(e){this.set(we.MIN_RESOLUTION,e)}setMaxZoom(e){this.set(we.MAX_ZOOM,e)}setMinZoom(e){this.set(we.MIN_ZOOM,e)}setOpacity(e){Le(typeof e=="number","Layer opacity must be a number"),this.set(we.OPACITY,e)}setVisible(e){this.set(we.VISIBLE,e)}setZIndex(e){this.set(we.Z_INDEX,e)}disposeInternal(){this.state_&&(this.state_.layer=null,this.state_=null),super.disposeInternal()}}const Vd=W3,Ei={PRERENDER:"prerender",POSTRENDER:"postrender",PRECOMPOSE:"precompose",POSTCOMPOSE:"postcompose",RENDERCOMPLETE:"rendercomplete"},Dt={ANIMATING:0,INTERACTING:1},Ot={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"},V3=42,dl=256,Is={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937};let K3=class{constructor(e){this.code_=e.code,this.units_=e.units,this.extent_=e.extent!==void 0?e.extent:null,this.worldExtent_=e.worldExtent!==void 0?e.worldExtent:null,this.axisOrientation_=e.axisOrientation!==void 0?e.axisOrientation:"enu",this.global_=e.global!==void 0?e.global:!1,this.canWrapX_=!!(this.global_&&this.extent_),this.getPointResolutionFunc_=e.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=e.metersPerUnit}canWrapX(){return this.canWrapX_}getCode(){return this.code_}getExtent(){return this.extent_}getUnits(){return this.units_}getMetersPerUnit(){return this.metersPerUnit_||Is[this.units_]}getWorldExtent(){return this.worldExtent_}getAxisOrientation(){return this.axisOrientation_}isGlobal(){return this.global_}setGlobal(e){this.global_=e,this.canWrapX_=!!(e&&this.extent_)}getDefaultTileGrid(){return this.defaultTileGrid_}setDefaultTileGrid(e){this.defaultTileGrid_=e}setExtent(e){this.extent_=e,this.canWrapX_=!!(this.global_&&e)}setWorldExtent(e){this.worldExtent_=e}setGetPointResolution(e){this.getPointResolutionFunc_=e}getPointResolutionFunc(){return this.getPointResolutionFunc_}};const fl=K3,Xs=6378137,wn=Math.PI*Xs,U3=[-wn,-wn,wn,wn],B3=[-180,-85,180,85],la=Xs*Math.log(Math.tan(Math.PI/2));class dn extends fl{constructor(e){super({code:e,units:"m",extent:U3,global:!0,worldExtent:B3,getPointResolution:function(i,n){return i/Math.cosh(n[1]/Xs)}})}}const $c=[new dn("EPSG:3857"),new dn("EPSG:102100"),new dn("EPSG:102113"),new dn("EPSG:900913"),new dn("http://www.opengis.net/def/crs/EPSG/0/3857"),new dn("http://www.opengis.net/gml/srs/epsg.xml#3857")];function q3(t,e,i){const n=t.length;i=i>1?i:2,e===void 0&&(i>2?e=t.slice():e=new Array(n));for(let s=0;sla?a=la:a<-la&&(a=-la),e[s+1]=a}return e}function z3(t,e,i){const n=t.length;i=i>1?i:2,e===void 0&&(i>2?e=t.slice():e=new Array(n));for(let s=0;s=0;--n)if(t[n]!=e[n]){i=!1;break}return i}function ml(t,e){const i=Math.cos(e),n=Math.sin(e),s=t[0]*i-t[1]*n,a=t[1]*i+t[0]*n;return t[0]=s,t[1]=a,t}function Q3(t,e){return t[0]*=e,t[1]*=e,t}function e2(t,e){if(e.canWrapX()){const i=Be(e.getExtent()),n=Ud(t,e,i);n&&(t[0]-=n*i)}return t}function Ud(t,e,i){const n=e.getExtent();let s=0;return e.canWrapX()&&(t[0]n[2])&&(i=i||Be(n),s=Math.floor((t[0]-n[0])/i)),s}const t2=63710088e-1;function Qc(t,e,i){i=i||t2;const n=xa(t[1]),s=xa(e[1]),a=(s-n)/2,r=xa(e[0]-t[0])/2,o=Math.sin(a)*Math.sin(a)+Math.sin(r)*Math.sin(r)*Math.cos(n)*Math.cos(s);return 2*i*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))}const Bd={info:1,warn:2,error:3,none:4};let i2=Bd.info;function qd(...t){i2>Bd.warn||console.warn(...t)}let wo=!0;function n2(t){wo=!(t===void 0?!0:t)}function pl(t,e){if(e!==void 0){for(let i=0,n=t.length;i=o?e[a+l]:r[l]}return i}}function r2(t,e,i,n){const s=mt(t),a=mt(e);Un(s,a,tu(i)),Un(a,s,tu(n))}function yn(t,e){if(t===e)return!0;const i=t.getUnits()===e.getUnits();return(t.getCode()===e.getCode()||yl(t,e)===pl)&&i}function yl(t,e){const i=t.getCode(),n=e.getCode();let s=Kd(i,n);return s||(s=zd),s}function Ba(t,e){const i=mt(t),n=mt(e);return yl(i,n)}function o2(t,e,i){return Ba(e,i)(t,void 0,t.length)}function Co(t,e){return t}function ri(t,e){return wo&&!Ua(t,[0,0])&&t[0]>=-180&&t[0]<=180&&t[1]>=-90&&t[1]<=90&&(wo=!1,qd("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),t}function l2(t,e){return t}function xn(t,e){return t}function iu(t,e,i){return function(n){let s,a;if(t.canWrapX()){const r=t.getExtent(),o=Be(r);n=n.slice(0),a=Ud(n,t,o),a&&(n[0]=n[0]-a*o),n[0]=ze(n[0],r[0],r[2]),n[1]=ze(n[1],r[1],r[3]),s=i(n)}else s=i(n);return a&&e.canWrapX()&&(s[0]+=a*Be(e.getExtent())),s}}function c2(){xo($c),xo(Jc),a2(Jc,$c,q3,z3)}c2();function nu(t,e,i){return function(n,s,a,r,o){if(!n)return;if(!s&&!e)return n;const l=e?0:a[0]*s,c=e?0:a[1]*s,u=o?o[0]:0,h=o?o[1]:0;let d=t[0]+l/2+u,f=t[2]-l/2+u,m=t[1]+c/2+h,p=t[3]-c/2+h;d>f&&(d=(f+d)/2,f=d),m>p&&(m=(p+m)/2,p=m);let y=ze(n[0],d,f),_=ze(n[1],m,p);if(r&&i&&s){const v=30*s;y+=-v*Math.log(1+Math.max(0,d-n[0])/v)+v*Math.log(1+Math.max(0,n[0]-f)/v),_+=-v*Math.log(1+Math.max(0,m-n[1])/v)+v*Math.log(1+Math.max(0,n[1]-p)/v)}return[y,_]}}function u2(t){return t}function bl(t,e,i,n){const s=Be(e)/i[0],a=Ut(e)/i[1];return n?Math.min(t,Math.max(s,a)):Math.min(t,Math.min(s,a))}function _l(t,e,i){let n=Math.min(t,e);const s=50;return n*=Math.log(1+s*Math.max(0,t/e-1))/s+1,i&&(n=Math.max(n,i),n/=Math.log(1+s*Math.max(0,i/t-1))/s+1),ze(n,i/2,e*2)}function h2(t,e,i,n){return e=e!==void 0?e:!0,function(s,a,r,o){if(s!==void 0){const l=t[0],c=t[t.length-1],u=i?bl(l,i,r,n):l;if(o)return e?_l(s,u,c):ze(s,c,u);const h=Math.min(u,s),d=Math.floor(cl(t,h,a));return t[d]>u&&d{if(!n)return this.getSimplifiedGeometry(i);const s=this.clone();return s.applyTransform(n),s.getSimplifiedGeometry(i)})}simplifyTransformed(e,i){return this.simplifyTransformedInternal(this.getRevision(),e,i)}clone(){return Xe()}closestPointXY(e,i,n,s){return Xe()}containsXY(e,i){const n=this.getClosestPoint([e,i]);return n[0]===e&&n[1]===i}getClosestPoint(e,i){return i=i||[NaN,NaN],this.closestPointXY(e[0],e[1],i,1/0),i}intersectsCoordinate(e){return this.containsXY(e[0],e[1])}computeExtent(e){return Xe()}getExtent(e){if(this.extentRevision_!=this.getRevision()){const i=this.computeExtent(this.extent_);(isNaN(i[0])||isNaN(i[1]))&&xr(i),this.extentRevision_=this.getRevision()}return k3(this.extent_,e)}rotate(e,i){Xe()}scale(e,i,n){Xe()}simplify(e){return this.getSimplifiedGeometry(e*e)}getSimplifiedGeometry(e){return Xe()}getType(){return Xe()}applyTransform(e){Xe()}intersectsExtent(e){return Xe()}translate(e,i){Xe()}transform(e,i){const n=mt(e),s=n.getUnits()=="tile-pixels"?function(a,r,o){const l=n.getExtent(),c=n.getWorldExtent(),u=Ut(c)/Ut(l);return ks(ru,c[0],c[3],u,-u,0,0,0),y2(a,0,a.length,o,ru,r),Ba(n,i)(a,r,o)}:Ba(n,i);return this.applyTransform(s),this}}const w2=N2;class x2 extends w2{constructor(){super(),this.layout="XY",this.stride=2,this.flatCoordinates}computeExtent(e){return x3(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e)}getCoordinates(){return Xe()}getFirstCoordinate(){return this.flatCoordinates.slice(0,this.stride)}getFlatCoordinates(){return this.flatCoordinates}getLastCoordinate(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)}getLayout(){return this.layout}getSimplifiedGeometry(e){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),e<0||this.simplifiedGeometryMaxMinSquaredTolerance!==0&&e<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;const i=this.getSimplifiedGeometryInternal(e);return i.getFlatCoordinates().length1)h=i;else if(d>0){for(let f=0;fs&&(s=c),a=o,r=l}return s}function F2(t,e,i,n,s){for(let a=0,r=i.length;a0;){const h=c.pop(),d=c.pop();let f=0;const m=t[d],p=t[d+1],y=t[h],_=t[h+1];for(let v=d+n;vf&&(u=v,f=F)}f>s&&(l[(u-e)/n]=1,d+n0&&p>f)&&(m<0&&y0&&y>m)){c=h,u=d;continue}a[r++]=c,a[r++]=u,o=c,l=u,c=h,u=d}return a[r++]=c,a[r++]=u,r}function R2(t,e,i,n,s,a,r,o){for(let l=0,c=i.length;la&&(c-o)*(a-l)-(s-o)*(u-l)>0&&r++:u<=a&&(c-o)*(a-l)-(s-o)*(u-l)<0&&r--,o=c,l=u}return r!==0}function nf(t,e,i,n,s,a){if(i.length===0||!Yi(t,e,i[0],n,s,a))return!1;for(let r=1,o=i.length;r_&&(c=(u+h)/2,nf(t,e,i,n,c,m)&&(y=c,_=v)),u=h}return isNaN(y)&&(y=s[a]),r?(r.push(y,m,_),r):[y,m,_]}function G2(t,e,i,n,s){let a;for(e+=n;e=s[0]&&a[2]<=s[2]||a[1]>=s[1]&&a[3]<=s[3]?!0:G2(t,e,i,n,function(r,o){return M3(s,r,o)}):!1}function af(t,e,i,n,s){return!!(sf(t,e,i,n,s)||Yi(t,e,i,n,s[0],s[1])||Yi(t,e,i,n,s[0],s[3])||Yi(t,e,i,n,s[2],s[1])||Yi(t,e,i,n,s[2],s[3]))}function Z2(t,e,i,n,s){if(!af(t,e,i[0],n,s))return!1;if(i.length===1)return!0;for(let a=1,r=i.length;a0}function W2(t,e,i,n,s){s=s!==void 0?s:!1;for(let a=0,r=i.length;a1&&typeof arguments[i-1]=="function"&&(n=arguments[i-1],--i);let s=0;for(;s0}getInteracting(){return this.hints_[Dt.INTERACTING]>0}cancelAnimations(){this.setHint(Dt.ANIMATING,-this.hints_[Dt.ANIMATING]);let e;for(let i=0,n=this.animations_.length;i=0;--n){const s=this.animations_[n];let a=!0;for(let r=0,o=s.length;r0?c/l.duration:1;u>=1?(l.complete=!0,u=1):a=!1;const h=l.easing(u);if(l.sourceCenter){const d=l.sourceCenter[0],f=l.sourceCenter[1],m=l.targetCenter[0],p=l.targetCenter[1];this.nextCenter_=l.targetCenter;const y=d+h*(m-d),_=f+h*(p-f);this.targetCenter_=[y,_]}if(l.sourceResolution&&l.targetResolution){const d=h===1?l.targetResolution:l.sourceResolution+h*(l.targetResolution-l.sourceResolution);if(l.anchor){const f=this.getViewportSize_(this.getRotation()),m=this.constraints_.resolution(d,0,f,!0);this.targetCenter_=this.calculateCenterZoom(m,l.anchor)}this.nextResolution_=l.targetResolution,this.targetResolution_=d,this.applyTargetState_(!0)}if(l.sourceRotation!==void 0&&l.targetRotation!==void 0){const d=h===1?An(l.targetRotation+Math.PI,2*Math.PI)-Math.PI:l.sourceRotation+h*(l.targetRotation-l.sourceRotation);if(l.anchor){const f=this.constraints_.rotation(d,!0);this.targetCenter_=this.calculateCenterRotate(f,l.anchor)}this.nextRotation_=l.targetRotation,this.targetRotation_=d}if(this.applyTargetState_(!0),i=!0,!l.complete)break}if(a){this.animations_[n]=null,this.setHint(Dt.ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const r=s[0].callback;r&&ca(r,!0)}}this.animations_=this.animations_.filter(Boolean),i&&this.updateAnimationKey_===void 0&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}calculateCenterRotate(e,i){let n;const s=this.getCenterInternal();return s!==void 0&&(n=[s[0]-i[0],s[1]-i[1]],ml(n,e-this.getRotation()),J3(n,i)),n}calculateCenterZoom(e,i){let n;const s=this.getCenterInternal(),a=this.getResolution();if(s!==void 0&&a!==void 0){const r=i[0]-e*(i[0]-s[0])/a,o=i[1]-e*(i[1]-s[1])/a;n=[r,o]}return n}getViewportSize_(e){const i=this.viewportSize_;if(e){const n=i[0],s=i[1];return[Math.abs(n*Math.cos(e))+Math.abs(s*Math.sin(e)),Math.abs(n*Math.sin(e))+Math.abs(s*Math.cos(e))]}return i}setViewportSize(e){this.viewportSize_=Array.isArray(e)?e.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)}getCenter(){const e=this.getCenterInternal();return e&&Co(e,this.getProjection())}getCenterInternal(){return this.get(Ot.CENTER)}getConstraints(){return this.constraints_}getConstrainResolution(){return this.get("constrainResolution")}getHints(e){return e!==void 0?(e[0]=this.hints_[0],e[1]=this.hints_[1],e):this.hints_.slice()}calculateExtent(e){const i=this.calculateExtentInternal(e);return l2(i,this.getProjection())}calculateExtentInternal(e){e=e||this.getViewportSizeMinusPadding_();const i=this.getCenterInternal();Le(i,"The view center is not defined");const n=this.getResolution();Le(n!==void 0,"The view resolution is not defined");const s=this.getRotation();return Le(s!==void 0,"The view rotation is not defined"),_o(i,n,s,e)}getMaxResolution(){return this.maxResolution_}getMinResolution(){return this.minResolution_}getMaxZoom(){return this.getZoomForResolution(this.minResolution_)}setMaxZoom(e){this.applyOptions_(this.getUpdatedOptions_({maxZoom:e}))}getMinZoom(){return this.getZoomForResolution(this.maxResolution_)}setMinZoom(e){this.applyOptions_(this.getUpdatedOptions_({minZoom:e}))}setConstrainResolution(e){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:e}))}getProjection(){return this.projection_}getResolution(){return this.get(Ot.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(e,i){return this.getResolutionForExtentInternal(xn(e,this.getProjection()),i)}getResolutionForExtentInternal(e,i){i=i||this.getViewportSizeMinusPadding_();const n=Be(e)/i[0],s=Ut(e)/i[1];return Math.max(n,s)}getResolutionForValueFunction(e){e=e||2;const i=this.getConstrainedResolution(this.maxResolution_),n=this.minResolution_,s=Math.log(i/n)/Math.log(e);return function(a){return i/Math.pow(e,a*s)}}getRotation(){return this.get(Ot.ROTATION)}getValueForResolutionFunction(e){const i=Math.log(e||2),n=this.getConstrainedResolution(this.maxResolution_),s=this.minResolution_,a=Math.log(n/s)/i;return function(r){return Math.log(n/r)/i/a}}getViewportSizeMinusPadding_(e){let i=this.getViewportSize_(e);const n=this.padding_;return n&&(i=[i[0]-n[1]-n[3],i[1]-n[0]-n[2]]),i}getState(){const e=this.getProjection(),i=this.getResolution(),n=this.getRotation();let s=this.getCenterInternal();const a=this.padding_;if(a){const r=this.getViewportSizeMinusPadding_();s=Ur(s,this.getViewportSize_(),[r[0]/2+a[3],r[1]/2+a[0]],i,n)}return{center:s.slice(0),projection:e!==void 0?e:null,resolution:i,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:n,zoom:this.getZoom()}}getViewStateAndExtent(){return{viewState:this.getState(),extent:this.calculateExtent()}}getZoom(){let e;const i=this.getResolution();return i!==void 0&&(e=this.getZoomForResolution(i)),e}getZoomForResolution(e){let i=this.minZoom_||0,n,s;if(this.resolutions_){const a=cl(this.resolutions_,e,1);i=a,n=this.resolutions_[a],a==this.resolutions_.length-1?s=2:s=n/this.resolutions_[a+1]}else n=this.maxResolution_,s=this.zoomFactor_;return i+Math.log(n/e)/Math.log(s)}getResolutionForZoom(e){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;const i=ze(Math.floor(e),0,this.resolutions_.length-2),n=this.resolutions_[i]/this.resolutions_[i+1];return this.resolutions_[i]/Math.pow(n,ze(e-i,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,e-this.minZoom_)}fit(e,i){let n;if(Le(Array.isArray(e)||typeof e.getSimplifiedGeometry=="function","Invalid extent or geometry provided as `geometry`"),Array.isArray(e)){Le(!kr(e),"Cannot fit empty extent provided as `geometry`");const s=xn(e,this.getProjection());n=hu(s)}else if(e.getType()==="Circle"){const s=xn(e.getExtent(),this.getProjection());n=hu(s),n.rotate(this.getRotation(),Ms(s))}else n=e;this.fitInternal(n,i)}rotatedExtentForGeometry(e){const i=this.getRotation(),n=Math.cos(i),s=Math.sin(-i),a=e.getFlatCoordinates(),r=e.getStride();let o=1/0,l=1/0,c=-1/0,u=-1/0;for(let h=0,d=a.length;h{this.dispatchEvent("sourceready")},0))),this.changed()}getFeatures(e){return this.renderer_?this.renderer_.getFeatures(e):Promise.resolve([])}getData(e){return!this.renderer_||!this.rendered?null:this.renderer_.getData(e)}isVisible(e){let i;const n=this.getMapInternal();!e&&n&&(e=n.getView()),e instanceof Jt?i={viewState:e.getState(),extent:e.calculateExtent()}:i=e,!i.layerStatesArray&&n&&(i.layerStatesArray=n.getLayerGroup().getLayerStatesArray());let s;i.layerStatesArray?s=i.layerStatesArray.find(r=>r.layer===this):s=this.getLayerState();const a=this.getExtent();return wl(s,i.viewState)&&(!a||Zs(a,i.extent))}getAttributions(e){if(!this.isVisible(e))return[];let i;const n=this.getSource();if(n&&(i=n.getAttributions()),!i)return[];const s=e instanceof Jt?e.getViewStateAndExtent():e;let a=i(s);return Array.isArray(a)||(a=[a]),a}render(e,i){const n=this.getRenderer();return n.prepareFrame(e)?(this.rendered=!0,n.renderFrame(e,i)):null}unrender(){this.rendered=!1}setMapInternal(e){e||this.unrender(),this.set(we.MAP,e)}getMapInternal(){return this.get(we.MAP)}setMap(e){this.mapPrecomposeKey_&&(qe(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),e||this.changed(),this.mapRenderKey_&&(qe(this.mapRenderKey_),this.mapRenderKey_=null),e&&(this.mapPrecomposeKey_=Ce(e,Ei.PRECOMPOSE,function(i){const s=i.frameState.layerStatesArray,a=this.getLayerState(!1);Le(!s.some(function(r){return r.layer===a.layer}),"A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both."),s.push(a)},this),this.mapRenderKey_=Ce(this,le.CHANGE,e.render,e),this.changed())}setSource(e){this.set(we.SOURCE,e)}getRenderer(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_}hasRenderer(){return!!this.renderer_}createRenderer(){return null}disposeInternal(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_),this.setSource(null),super.disposeInternal()}}function wl(t,e){if(!t.visible)return!1;const i=e.resolution;if(i=t.maxResolution)return!1;const n=e.zoom;return n>t.minZoom&&n<=t.maxZoom}const xl=z2;class Y2 extends ol{constructor(e){super(),this.map_=e}dispatchRenderEvent(e,i){Xe()}calculateMatrices2D(e){const i=e.viewState,n=e.coordinateToPixelTransform,s=e.pixelToCoordinateTransform;ks(n,e.size[0]/2,e.size[1]/2,1/i.resolution,-1/i.resolution,-i.rotation,-i.center[0],-i.center[1]),Dd(s,n)}forEachFeatureAtCoordinate(e,i,n,s,a,r,o,l){let c;const u=i.viewState;function h(w,F,L,$){return a.call(r,F,w?L:null,$)}const d=u.projection,f=e2(e.slice(),d),m=[[0,0]];if(d.canWrapX()&&s){const w=d.getExtent(),F=Be(w);m.push([-F,0],[F,0])}const p=i.layerStatesArray,y=p.length,_=[],v=[];for(let w=0;w=0;--F){const L=p[F],$=L.layer;if($.hasRenderer()&&wl(L,u)&&o.call(l,$)){const Y=$.getRenderer(),re=$.getSource();if(Y&&re){const oe=re.getWrapX()?f:e,_e=h.bind(null,L.managed);v[0]=oe[0]+m[w][0],v[1]=oe[1]+m[w][1],c=Y.forEachFeatureAtCoordinate(v,i,n,_e,_)}if(c)return c}}if(_.length===0)return;const C=1/_.length;return _.forEach((w,F)=>w.distanceSq+=F*C),_.sort((w,F)=>w.distanceSq-F.distanceSq),_.some(w=>c=w.callback(w.feature,w.layer,w.geometry)),c}hasFeatureAtCoordinate(e,i,n,s,a,r){return this.forEachFeatureAtCoordinate(e,i,n,s,Xa,this,a,r)!==void 0}getMap(){return this.map_}renderFrame(e){Xe()}flushDeclutterItems(e){}scheduleExpireIconCache(e){Wd.canExpireCache()&&e.postRenderFunctions.push(H2)}}function H2(t,e){Wd.expire()}const $2=Y2;class j2 extends Pi{constructor(e,i,n,s){super(e),this.inversePixelTransform=i,this.frameState=n,this.context=s}}const of=j2,ua="ol-hidden",Mr="ol-unselectable",Cl="ol-control",du="ol-collapsed";function Bn(t,e,i,n){let s;return i&&i.length?s=i.shift():Ld?s=new OffscreenCanvas(t||300,e||300):s=document.createElement("canvas"),t&&(s.width=t),e&&(s.height=e),s.getContext("2d",n)}function Fl(t){const e=t.canvas;e.width=1,e.height=1,t.clearRect(0,0,1,1)}function fu(t,e){const i=e.parentNode;i&&i.replaceChild(t,e)}function Fo(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}function J2(t){for(;t.lastChild;)t.removeChild(t.lastChild)}function Q2(t,e){const i=t.childNodes;for(let n=0;;++n){const s=i[n],a=e[n];if(!s&&!a)break;if(s!==a){if(!s){t.appendChild(a);continue}if(!a){t.removeChild(s),--n;continue}t.insertBefore(a,s)}}}const eb=new fi;class tb extends $2{constructor(e){super(e),this.fontChangeListenerKey_=Ce(eb,Es.PROPERTYCHANGE,e.redrawText.bind(e)),this.element_=document.createElement("div");const i=this.element_.style;i.position="absolute",i.width="100%",i.height="100%",i.zIndex="0",this.element_.className=Mr+" ol-layers";const n=e.getViewport();n.insertBefore(this.element_,n.firstChild||null),this.children_=[],this.renderedVisible_=!0,this.declutterLayers_=[]}dispatchRenderEvent(e,i){const n=this.getMap();if(n.hasListener(e)){const s=new of(e,void 0,i);n.dispatchEvent(s)}}disposeInternal(){qe(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),super.disposeInternal()}renderFrame(e){if(!e){this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1);return}this.calculateMatrices2D(e),this.dispatchRenderEvent(Ei.PRECOMPOSE,e);const i=e.layerStatesArray.sort(function(r,o){return r.zIndex-o.zIndex}),n=e.viewState;this.children_.length=0;const s=this.declutterLayers_;s.length=0;let a=null;for(let r=0,o=i.length;r=0;--n)i[n].renderDeclutter(e);i.length=0}}const ib=tb;class Ni extends Pi{constructor(e,i){super(e),this.layer=i}}const Br={LAYERS:"layers"};class El extends Vd{constructor(e){e=e||{};const i=Object.assign({},e);delete i.layers;let n=e.layers;super(i),this.on,this.once,this.un,this.layersListenerKeys_=[],this.listenerKeys_={},this.addChangeListener(Br.LAYERS,this.handleLayersChanged_),n?Array.isArray(n)?n=new ci(n.slice(),{unique:!0}):Le(typeof n.getArray=="function","Expected `layers` to be an array or a `Collection`"):n=new ci(void 0,{unique:!0}),this.setLayers(n)}handleLayerChange_(){this.changed()}handleLayersChanged_(){this.layersListenerKeys_.forEach(qe),this.layersListenerKeys_.length=0;const e=this.getLayers();this.layersListenerKeys_.push(Ce(e,At.ADD,this.handleLayersAdd_,this),Ce(e,At.REMOVE,this.handleLayersRemove_,this));for(const n in this.listenerKeys_)this.listenerKeys_[n].forEach(qe);Nr(this.listenerKeys_);const i=e.getArray();for(let n=0,s=i.length;n{this.clickTimeoutId_=void 0;const n=new bi(Ze.SINGLECLICK,this.map_,e);this.dispatchEvent(n)},250)}updateActivePointers_(e){const i=e,n=i.pointerId;if(i.type==Ze.POINTERUP||i.type==Ze.POINTERCANCEL){delete this.trackedTouches_[n];for(const s in this.trackedTouches_)if(this.trackedTouches_[s].target!==i.target){delete this.trackedTouches_[s];break}}else(i.type==Ze.POINTERDOWN||i.type==Ze.POINTERMOVE)&&(this.trackedTouches_[n]=i);this.activePointers_=Object.values(this.trackedTouches_)}handlePointerUp_(e){this.updateActivePointers_(e);const i=new bi(Ze.POINTERUP,this.map_,e,void 0,void 0,this.activePointers_);this.dispatchEvent(i),this.emulateClicks_&&!i.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(e)&&this.emulateClick_(this.down_),this.activePointers_.length===0&&(this.dragListenerKeys_.forEach(qe),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)}isMouseActionButton_(e){return e.button===0}handlePointerDown_(e){this.emulateClicks_=this.activePointers_.length===0,this.updateActivePointers_(e);const i=new bi(Ze.POINTERDOWN,this.map_,e,void 0,void 0,this.activePointers_);if(this.dispatchEvent(i),this.down_=new PointerEvent(e.type,e),Object.defineProperty(this.down_,"target",{writable:!1,value:e.target}),this.dragListenerKeys_.length===0){const n=this.map_.getOwnerDocument();this.dragListenerKeys_.push(Ce(n,Ze.POINTERMOVE,this.handlePointerMove_,this),Ce(n,Ze.POINTERUP,this.handlePointerUp_,this),Ce(this.element_,Ze.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==n&&this.dragListenerKeys_.push(Ce(this.element_.getRootNode(),Ze.POINTERUP,this.handlePointerUp_,this))}}handlePointerMove_(e){if(this.isMoving_(e)){this.updateActivePointers_(e),this.dragging_=!0;const i=new bi(Ze.POINTERDRAG,this.map_,e,this.dragging_,void 0,this.activePointers_);this.dispatchEvent(i)}}relayMoveEvent_(e){this.originalPointerMoveEvent_=e;const i=!!(this.down_&&this.isMoving_(e));this.dispatchEvent(new bi(Ze.POINTERMOVE,this.map_,e,i))}handleTouchMove_(e){const i=this.originalPointerMoveEvent_;(!i||i.defaultPrevented)&&(typeof e.cancelable!="boolean"||e.cancelable===!0)&&e.preventDefault()}isMoving_(e){return this.dragging_||Math.abs(e.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(e.clientY-this.down_.clientY)>this.moveTolerance_}disposeInternal(){this.relayedListenerKey_&&(qe(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(le.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(qe(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(qe),this.dragListenerKeys_.length=0,this.element_=null,super.disposeInternal()}}const rb=ab,_i={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend",LOADSTART:"loadstart",LOADEND:"loadend"},lt={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"},za=1/0;class ob{constructor(e,i){this.priorityFunction_=e,this.keyFunction_=i,this.elements_=[],this.priorities_=[],this.queuedElements_={}}clear(){this.elements_.length=0,this.priorities_.length=0,Nr(this.queuedElements_)}dequeue(){const e=this.elements_,i=this.priorities_,n=e[0];e.length==1?(e.length=0,i.length=0):(e[0]=e.pop(),i[0]=i.pop(),this.siftUp_(0));const s=this.keyFunction_(n);return delete this.queuedElements_[s],n}enqueue(e){Le(!(this.keyFunction_(e)in this.queuedElements_),"Tried to enqueue an `element` that was already added to the queue");const i=this.priorityFunction_(e);return i!=za?(this.elements_.push(e),this.priorities_.push(i),this.queuedElements_[this.keyFunction_(e)]=!0,this.siftDown_(0,this.elements_.length-1),!0):!1}getCount(){return this.elements_.length}getLeftChildIndex_(e){return e*2+1}getRightChildIndex_(e){return e*2+2}getParentIndex_(e){return e-1>>1}heapify_(){let e;for(e=(this.elements_.length>>1)-1;e>=0;e--)this.siftUp_(e)}isEmpty(){return this.elements_.length===0}isKeyQueued(e){return e in this.queuedElements_}isQueued(e){return this.isKeyQueued(this.keyFunction_(e))}siftUp_(e){const i=this.elements_,n=this.priorities_,s=i.length,a=i[e],r=n[e],o=e;for(;e>1;){const l=this.getLeftChildIndex_(e),c=this.getRightChildIndex_(e),u=ce;){const o=this.getParentIndex_(i);if(s[o]>r)n[i]=n[o],s[i]=s[o],i=o;else break}n[i]=a,s[i]=r}reprioritize(){const e=this.priorityFunction_,i=this.elements_,n=this.priorities_;let s=0;const a=i.length;let r,o,l;for(o=0;o0;)a=this.dequeue()[0],r=a.getKey(),s=a.getState(),s===Q.IDLE&&!(r in this.tilesLoadingKeys_)&&(this.tilesLoadingKeys_[r]=!0,++this.tilesLoading_,++n,a.load())}}const ub=cb;function hb(t,e,i,n,s){if(!t||!(i in t.wantedTiles)||!t.wantedTiles[i][e.getKey()])return za;const a=t.viewState.center,r=n[0]-a[0],o=n[1]-a[1];return 65536*Math.log(s)+Math.sqrt(r*r+o*o)/s}class db extends fi{constructor(e){super();const i=e.element;i&&!e.target&&!i.style.pointerEvents&&(i.style.pointerEvents="auto"),this.element=i||null,this.target_=null,this.map_=null,this.listenerKeys=[],e.render&&(this.render=e.render),e.target&&this.setTarget(e.target)}disposeInternal(){Fo(this.element),super.disposeInternal()}getMap(){return this.map_}setMap(e){this.map_&&Fo(this.element);for(let i=0,n=this.listenerKeys.length;is.getAttributions(e)))),n=!this.getMap().getAllLayers().some(s=>s.getSource()&&s.getSource().getAttributionsCollapsible()===!1);return this.overrideCollapsible_||this.setCollapsible(n),i}updateElement_(e){if(!e){this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1);return}const i=this.collectSourceAttributions_(e),n=i.length>0;if(this.renderedVisible_!=n&&(this.element.style.display=n?"":"none",this.renderedVisible_=n),!_r(i,this.renderedAttributions_)){J2(this.ulElement_);for(let s=0,a=i.length;s0&&n%(2*Math.PI)!==0?i.animate({rotation:0,duration:this.duration_,easing:Qn}):i.setRotation(0))}render(e){const i=e.frameState;if(!i)return;const n=i.viewState.rotation;if(n!=this.rotation_){const s="rotate("+n+"rad)";if(this.autoHide_){const a=this.element.classList.contains(ua);!a&&n===0?this.element.classList.add(ua):a&&n!==0&&this.element.classList.remove(ua)}this.label_.style.transform=s}this.rotation_=n}}const gb=pb;class yb extends kl{constructor(e){e=e||{},super({element:document.createElement("div"),target:e.target});const i=e.className!==void 0?e.className:"ol-zoom",n=e.delta!==void 0?e.delta:1,s=e.zoomInClassName!==void 0?e.zoomInClassName:i+"-in",a=e.zoomOutClassName!==void 0?e.zoomOutClassName:i+"-out",r=e.zoomInLabel!==void 0?e.zoomInLabel:"+",o=e.zoomOutLabel!==void 0?e.zoomOutLabel:"–",l=e.zoomInTipLabel!==void 0?e.zoomInTipLabel:"Zoom in",c=e.zoomOutTipLabel!==void 0?e.zoomOutTipLabel:"Zoom out",u=document.createElement("button");u.className=s,u.setAttribute("type","button"),u.title=l,u.appendChild(typeof r=="string"?document.createTextNode(r):r),u.addEventListener(le.CLICK,this.handleClick_.bind(this,n),!1);const h=document.createElement("button");h.className=a,h.setAttribute("type","button"),h.title=c,h.appendChild(typeof o=="string"?document.createTextNode(o):o),h.addEventListener(le.CLICK,this.handleClick_.bind(this,-n),!1);const d=i+" "+Mr+" "+Cl,f=this.element;f.className=d,f.appendChild(u),f.appendChild(h),this.duration_=e.duration!==void 0?e.duration:250}handleClick_(e,i){i.preventDefault(),this.zoomByDelta_(e)}zoomByDelta_(e){const n=this.getMap().getView();if(!n)return;const s=n.getZoom();if(s!==void 0){const a=n.getConstrainedZoom(s+e);this.duration_>0?(n.getAnimating()&&n.cancelAnimations(),n.animate({zoom:a,duration:this.duration_,easing:Qn})):n.setZoom(a)}}}const bb=yb;function _b(t){t=t||{};const e=new ci;return(t.zoom!==void 0?t.zoom:!0)&&e.push(new bb(t.zoomOptions)),(t.rotate!==void 0?t.rotate:!0)&&e.push(new gb(t.rotateOptions)),(t.attribution!==void 0?t.attribution:!0)&&e.push(new mb(t.attributionOptions)),e}const mu={ACTIVE:"active"};class vb extends fi{constructor(e){super(),this.on,this.once,this.un,e&&e.handleEvent&&(this.handleEvent=e.handleEvent),this.map_=null,this.setActive(!0)}getActive(){return this.get(mu.ACTIVE)}getMap(){return this.map_}handleEvent(e){return!0}setActive(e){this.set(mu.ACTIVE,e)}setMap(e){this.map_=e}}function Nb(t,e,i){const n=t.getCenterInternal();if(n){const s=[n[0]+e[0],n[1]+e[1]];t.animateInternal({duration:i!==void 0?i:250,easing:g2,center:t.getConstrainedCenter(s)})}}function Ml(t,e,i,n){const s=t.getZoom();if(s===void 0)return;const a=t.getConstrainedZoom(s+e),r=t.getResolutionForZoom(a);t.getAnimating()&&t.cancelAnimations(),t.animate({resolution:r,anchor:i,duration:n!==void 0?n:250,easing:Qn})}const Ws=vb;class wb extends Ws{constructor(e){super(),e=e||{},this.delta_=e.delta?e.delta:1,this.duration_=e.duration!==void 0?e.duration:250}handleEvent(e){let i=!1;if(e.type==Ze.DBLCLICK){const n=e.originalEvent,s=e.map,a=e.coordinate,r=n.shiftKey?-this.delta_:this.delta_,o=s.getView();Ml(o,r,a,this.duration_),n.preventDefault(),i=!0}return!i}}const xb=wb;class Cb extends Ws{constructor(e){e=e||{},super(e),e.handleDownEvent&&(this.handleDownEvent=e.handleDownEvent),e.handleDragEvent&&(this.handleDragEvent=e.handleDragEvent),e.handleMoveEvent&&(this.handleMoveEvent=e.handleMoveEvent),e.handleUpEvent&&(this.handleUpEvent=e.handleUpEvent),e.stopDown&&(this.stopDown=e.stopDown),this.handlingDownUpSequence=!1,this.targetPointers=[]}getPointerCount(){return this.targetPointers.length}handleDownEvent(e){return!1}handleDragEvent(e){}handleEvent(e){if(!e.originalEvent)return!0;let i=!1;if(this.updateTrackedPointers_(e),this.handlingDownUpSequence){if(e.type==Ze.POINTERDRAG)this.handleDragEvent(e),e.originalEvent.preventDefault();else if(e.type==Ze.POINTERUP){const n=this.handleUpEvent(e);this.handlingDownUpSequence=n&&this.targetPointers.length>0}}else if(e.type==Ze.POINTERDOWN){const n=this.handleDownEvent(e);this.handlingDownUpSequence=n,i=this.stopDown(n)}else e.type==Ze.POINTERMOVE&&this.handleMoveEvent(e);return!i}handleMoveEvent(e){}handleUpEvent(e){return!1}stopDown(e){return e}updateTrackedPointers_(e){e.activePointers&&(this.targetPointers=e.activePointers)}}function Il(t){const e=t.length;let i=0,n=0;for(let s=0;s0&&this.condition_(e)){const n=e.map.getView();return this.lastCentroid=null,n.getAnimating()&&n.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1}}const Lb=Rb;class Sb extends Vs{constructor(e){e=e||{},super({stopDown:vr}),this.condition_=e.condition?e.condition:Fb,this.lastAngle_=void 0,this.duration_=e.duration!==void 0?e.duration:250}handleDragEvent(e){if(!qr(e))return;const i=e.map,n=i.getView();if(n.getConstraints().rotation===vl)return;const s=i.getSize(),a=e.pixel,r=Math.atan2(s[1]/2-a[1],a[0]-s[0]/2);if(this.lastAngle_!==void 0){const o=r-this.lastAngle_;n.adjustRotationInternal(-o)}this.lastAngle_=r}handleUpEvent(e){return qr(e)?(e.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(e){return qr(e)&&cf(e)&&this.condition_(e)?(e.map.getView().beginInteraction(),this.lastAngle_=void 0,!0):!1}}const Db=Sb;class Ab extends ol{constructor(e){super(),this.geometry_=null,this.element_=document.createElement("div"),this.element_.style.position="absolute",this.element_.style.pointerEvents="auto",this.element_.className="ol-box "+e,this.map_=null,this.startPixel_=null,this.endPixel_=null}disposeInternal(){this.setMap(null)}render_(){const e=this.startPixel_,i=this.endPixel_,n="px",s=this.element_.style;s.left=Math.min(e[0],i[0])+n,s.top=Math.min(e[1],i[1])+n,s.width=Math.abs(i[0]-e[0])+n,s.height=Math.abs(i[1]-e[1])+n}setMap(e){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);const i=this.element_.style;i.left="inherit",i.top="inherit",i.width="inherit",i.height="inherit"}this.map_=e,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)}setPixels(e,i){this.startPixel_=e,this.endPixel_=i,this.createOrUpdateGeometry(),this.render_()}createOrUpdateGeometry(){const e=this.startPixel_,i=this.endPixel_,s=[e,[e[0],i[1]],i,[i[0],e[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);s[4]=s[0].slice(),this.geometry_?this.geometry_.setCoordinates([s]):this.geometry_=new Ts([s])}getGeometry(){return this.geometry_}}const Pb=Ab,ha={BOXSTART:"boxstart",BOXDRAG:"boxdrag",BOXEND:"boxend",BOXCANCEL:"boxcancel"};class zr extends Pi{constructor(e,i,n){super(e),this.coordinate=i,this.mapBrowserEvent=n}}class Ob extends Vs{constructor(e){super(),this.on,this.once,this.un,e=e||{},this.box_=new Pb(e.className||"ol-dragbox"),this.minArea_=e.minArea!==void 0?e.minArea:64,e.onBoxEnd&&(this.onBoxEnd=e.onBoxEnd),this.startPixel_=null,this.condition_=e.condition?e.condition:cf,this.boxEndCondition_=e.boxEndCondition?e.boxEndCondition:this.defaultBoxEndCondition}defaultBoxEndCondition(e,i,n){const s=n[0]-i[0],a=n[1]-i[1];return s*s+a*a>=this.minArea_}getGeometry(){return this.box_.getGeometry()}handleDragEvent(e){this.box_.setPixels(this.startPixel_,e.pixel),this.dispatchEvent(new zr(ha.BOXDRAG,e.coordinate,e))}handleUpEvent(e){this.box_.setMap(null);const i=this.boxEndCondition_(e,this.startPixel_,e.pixel);return i&&this.onBoxEnd(e),this.dispatchEvent(new zr(i?ha.BOXEND:ha.BOXCANCEL,e.coordinate,e)),!1}handleDownEvent(e){return this.condition_(e)?(this.startPixel_=e.pixel,this.box_.setMap(e.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new zr(ha.BOXSTART,e.coordinate,e)),!0):!1}onBoxEnd(e){}}const Gb=Ob;class Zb extends Gb{constructor(e){e=e||{};const i=e.condition?e.condition:Ib;super({condition:i,className:e.className||"ol-dragzoom",minArea:e.minArea}),this.duration_=e.duration!==void 0?e.duration:200,this.out_=e.out!==void 0?e.out:!1}onBoxEnd(e){const n=this.getMap().getView();let s=this.getGeometry();if(this.out_){const a=n.rotatedExtentForGeometry(s),r=n.getResolutionForExtentInternal(a),o=n.getResolution()/r;s=s.clone(),s.scale(o*o)}n.fitInternal(s,{duration:this.duration_,easing:Qn})}}const Xb=Zb,Vi={LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",DOWN:"ArrowDown"};class Wb extends Ws{constructor(e){super(),e=e||{},this.defaultCondition_=function(i){return uf(i)&&hf(i)},this.condition_=e.condition!==void 0?e.condition:this.defaultCondition_,this.duration_=e.duration!==void 0?e.duration:100,this.pixelDelta_=e.pixelDelta!==void 0?e.pixelDelta:128}handleEvent(e){let i=!1;if(e.type==le.KEYDOWN){const n=e.originalEvent,s=n.key;if(this.condition_(e)&&(s==Vi.DOWN||s==Vi.LEFT||s==Vi.RIGHT||s==Vi.UP)){const r=e.map.getView(),o=r.getResolution()*this.pixelDelta_;let l=0,c=0;s==Vi.DOWN?c=-o:s==Vi.LEFT?l=-o:s==Vi.RIGHT?l=o:c=o;const u=[l,c];ml(u,r.getRotation()),Nb(r,u,this.duration_),n.preventDefault(),i=!0}}return!i}}const Vb=Wb;class Kb extends Ws{constructor(e){super(),e=e||{},this.condition_=e.condition?e.condition:function(i){return!Mb(i)&&hf(i)},this.delta_=e.delta?e.delta:1,this.duration_=e.duration!==void 0?e.duration:100}handleEvent(e){let i=!1;if(e.type==le.KEYDOWN||e.type==le.KEYPRESS){const n=e.originalEvent,s=n.key;if(this.condition_(e)&&(s==="+"||s==="-")){const a=e.map,r=s==="+"?this.delta_:-this.delta_,o=a.getView();Ml(o,r,void 0,this.duration_),n.preventDefault(),i=!0}}return!i}}const Ub=Kb;class Bb{constructor(e,i,n){this.decay_=e,this.minVelocity_=i,this.delay_=n,this.points_=[],this.angle_=0,this.initialVelocity_=0}begin(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0}update(e,i){this.points_.push(e,i,Date.now())}end(){if(this.points_.length<6)return!1;const e=Date.now()-this.delay_,i=this.points_.length-3;if(this.points_[i+2]0&&this.points_[n+2]>e;)n-=3;const s=this.points_[i+2]-this.points_[n+2];if(s<1e3/60)return!1;const a=this.points_[i]-this.points_[n],r=this.points_[i+1]-this.points_[n+1];return this.angle_=Math.atan2(r,a),this.initialVelocity_=Math.sqrt(a*a+r*r)/s,this.initialVelocity_>this.minVelocity_}getDistance(){return(this.minVelocity_-this.initialVelocity_)/this.decay_}getAngle(){return this.angle_}}const qb=Bb;class zb extends Ws{constructor(e){e=e||{},super(e),this.totalDelta_=0,this.lastDelta_=0,this.maxDelta_=e.maxDelta!==void 0?e.maxDelta:1,this.duration_=e.duration!==void 0?e.duration:250,this.timeout_=e.timeout!==void 0?e.timeout:80,this.useAnchor_=e.useAnchor!==void 0?e.useAnchor:!0,this.constrainResolution_=e.constrainResolution!==void 0?e.constrainResolution:!1;const i=e.condition?e.condition:kb;this.condition_=e.onFocusOnly?ko(lf,i):i,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_,this.mode_=void 0,this.trackpadEventGap_=400,this.trackpadTimeoutId_,this.deltaPerZoom_=300}endInteraction_(){this.trackpadTimeoutId_=void 0;const e=this.getMap();if(!e)return;e.getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)}handleEvent(e){if(!this.condition_(e)||e.type!==le.WHEEL)return!0;const n=e.map,s=e.originalEvent;s.preventDefault(),this.useAnchor_&&(this.lastAnchor_=e.coordinate);let a;if(e.type==le.WHEEL&&(a=s.deltaY,m3&&s.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(a/=Rd),s.deltaMode===WheelEvent.DOM_DELTA_LINE&&(a*=40)),a===0)return!1;this.lastDelta_=a;const r=Date.now();this.startTime_===void 0&&(this.startTime_=r),(!this.mode_||r-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(a)<4?"trackpad":"wheel");const o=n.getView();if(this.mode_==="trackpad"&&!(o.getConstrainResolution()||this.constrainResolution_))return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(o.getAnimating()&&o.cancelAnimations(),o.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),o.adjustZoom(-a/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=r,!1;this.totalDelta_+=a;const l=Math.max(this.timeout_-(r-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,n),l),!1}handleWheelZoom_(e){const i=e.getView();i.getAnimating()&&i.cancelAnimations();let n=-ze(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(i.getConstrainResolution()||this.constrainResolution_)&&(n=n?n>0?1:-1:0),Ml(i,n,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0}setMouseAnchor(e){this.useAnchor_=e,e||(this.lastAnchor_=null)}}const Yb=zb;class Hb extends Vs{constructor(e){e=e||{};const i=e;i.stopDown||(i.stopDown=vr),super(i),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=e.threshold!==void 0?e.threshold:.3,this.duration_=e.duration!==void 0?e.duration:250}handleDragEvent(e){let i=0;const n=this.targetPointers[0],s=this.targetPointers[1],a=Math.atan2(s.clientY-n.clientY,s.clientX-n.clientX);if(this.lastAngle_!==void 0){const l=a-this.lastAngle_;this.rotationDelta_+=l,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),i=l}this.lastAngle_=a;const r=e.map,o=r.getView();o.getConstraints().rotation!==vl&&(this.anchor_=r.getCoordinateFromPixelInternal(r.getEventPixel(Il(this.targetPointers))),this.rotating_&&(r.render(),o.adjustRotationInternal(i,this.anchor_)))}handleUpEvent(e){return this.targetPointers.length<2?(e.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(e){if(this.targetPointers.length>=2){const i=e.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||i.getView().beginInteraction(),!0}return!1}}const $b=Hb;class jb extends Vs{constructor(e){e=e||{};const i=e;i.stopDown||(i.stopDown=vr),super(i),this.anchor_=null,this.duration_=e.duration!==void 0?e.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}handleDragEvent(e){let i=1;const n=this.targetPointers[0],s=this.targetPointers[1],a=n.clientX-s.clientX,r=n.clientY-s.clientY,o=Math.sqrt(a*a+r*r);this.lastDistance_!==void 0&&(i=this.lastDistance_/o),this.lastDistance_=o;const l=e.map,c=l.getView();i!=1&&(this.lastScaleDelta_=i),this.anchor_=l.getCoordinateFromPixelInternal(l.getEventPixel(Il(this.targetPointers))),l.render(),c.adjustResolutionInternal(i,this.anchor_)}handleUpEvent(e){if(this.targetPointers.length<2){const n=e.map.getView(),s=this.lastScaleDelta_>1?1:-1;return n.endInteraction(this.duration_,s),!1}return!0}handleDownEvent(e){if(this.targetPointers.length>=2){const i=e.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||i.getView().beginInteraction(),!0}return!1}}const Jb=jb;function Qb(t){t=t||{};const e=new ci,i=new qb(-.005,.05,100);return(t.altShiftDragRotate!==void 0?t.altShiftDragRotate:!0)&&e.push(new Db),(t.doubleClickZoom!==void 0?t.doubleClickZoom:!0)&&e.push(new xb({delta:t.zoomDelta,duration:t.zoomDuration})),(t.dragPan!==void 0?t.dragPan:!0)&&e.push(new Lb({onFocusOnly:t.onFocusOnly,kinetic:i})),(t.pinchRotate!==void 0?t.pinchRotate:!0)&&e.push(new $b),(t.pinchZoom!==void 0?t.pinchZoom:!0)&&e.push(new Jb({duration:t.zoomDuration})),(t.keyboard!==void 0?t.keyboard:!0)&&(e.push(new Vb),e.push(new Ub({delta:t.zoomDelta,duration:t.zoomDuration}))),(t.mouseWheelZoom!==void 0?t.mouseWheelZoom:!0)&&e.push(new Yb({onFocusOnly:t.onFocusOnly,duration:t.zoomDuration})),(t.shiftDragZoom!==void 0?t.shiftDragZoom:!0)&&e.push(new Xb({duration:t.zoomDuration})),e}function pu(t){return t[0]>0&&t[1]>0}function e9(t,e,i){return i===void 0&&(i=[0,0]),i[0]=t[0]*e+.5|0,i[1]=t[1]*e+.5|0,i}function xi(t,e){return Array.isArray(t)?t:(e===void 0?e=[t,t]:(e[0]=t,e[1]=t),e)}function df(t){if(t instanceof xl){t.setMapInternal(null);return}t instanceof Ir&&t.getLayers().forEach(df)}function ff(t,e){if(t instanceof xl){t.setMapInternal(e);return}if(t instanceof Ir){const i=t.getLayers().getArray();for(let n=0,s=i.length;nthis.updateSize()),this.controls=i.controls||_b(),this.interactions=i.interactions||Qb({onFocusOnly:!0}),this.overlays_=i.overlays,this.overlayIdIndex_={},this.renderer_=null,this.postRenderFunctions_=[],this.tileQueue_=new ub(this.getTilePriority.bind(this),this.handleTileChange_.bind(this)),this.addChangeListener(lt.LAYERGROUP,this.handleLayerGroupChanged_),this.addChangeListener(lt.VIEW,this.handleViewChanged_),this.addChangeListener(lt.SIZE,this.handleSizeChanged_),this.addChangeListener(lt.TARGET,this.handleTargetChanged_),this.setProperties(i.values);const n=this;e.view&&!(e.view instanceof Jt)&&e.view.then(function(s){n.setView(new Jt(s))}),this.controls.addEventListener(At.ADD,s=>{s.element.setMap(this)}),this.controls.addEventListener(At.REMOVE,s=>{s.element.setMap(null)}),this.interactions.addEventListener(At.ADD,s=>{s.element.setMap(this)}),this.interactions.addEventListener(At.REMOVE,s=>{s.element.setMap(null)}),this.overlays_.addEventListener(At.ADD,s=>{this.addOverlayInternal_(s.element)}),this.overlays_.addEventListener(At.REMOVE,s=>{const a=s.element.getId();a!==void 0&&delete this.overlayIdIndex_[a.toString()],s.element.setMap(null)}),this.controls.forEach(s=>{s.setMap(this)}),this.interactions.forEach(s=>{s.setMap(this)}),this.overlays_.forEach(this.addOverlayInternal_.bind(this))}addControl(e){this.getControls().push(e)}addInteraction(e){this.getInteractions().push(e)}addLayer(e){this.getLayerGroup().getLayers().push(e)}handleLayerAdd_(e){ff(e.layer,this)}addOverlay(e){this.getOverlays().push(e)}addOverlayInternal_(e){const i=e.getId();i!==void 0&&(this.overlayIdIndex_[i.toString()]=e),e.setMap(this)}disposeInternal(){this.controls.clear(),this.interactions.clear(),this.overlays_.clear(),this.resizeObserver_.disconnect(),this.setTarget(null),super.disposeInternal()}forEachFeatureAtPixel(e,i,n){if(!this.frameState_||!this.renderer_)return;const s=this.getCoordinateFromPixelInternal(e);n=n!==void 0?n:{};const a=n.hitTolerance!==void 0?n.hitTolerance:0,r=n.layerFilter!==void 0?n.layerFilter:Xa,o=n.checkWrapped!==!1;return this.renderer_.forEachFeatureAtCoordinate(s,this.frameState_,a,o,i,null,r,null)}getFeaturesAtPixel(e,i){const n=[];return this.forEachFeatureAtPixel(e,function(s){n.push(s)},i),n}getAllLayers(){const e=[];function i(n){n.forEach(function(s){s instanceof Ir?i(s.getLayers()):e.push(s)})}return i(this.getLayers()),e}hasFeatureAtPixel(e,i){if(!this.frameState_||!this.renderer_)return!1;const n=this.getCoordinateFromPixelInternal(e);i=i!==void 0?i:{};const s=i.layerFilter!==void 0?i.layerFilter:Xa,a=i.hitTolerance!==void 0?i.hitTolerance:0,r=i.checkWrapped!==!1;return this.renderer_.hasFeatureAtCoordinate(n,this.frameState_,a,r,s,null)}getEventCoordinate(e){return this.getCoordinateFromPixel(this.getEventPixel(e))}getEventCoordinateInternal(e){return this.getCoordinateFromPixelInternal(this.getEventPixel(e))}getEventPixel(e){const n=this.viewport_.getBoundingClientRect(),s=this.getSize(),a=n.width/s[0],r=n.height/s[1],o="changedTouches"in e?e.changedTouches[0]:e;return[(o.clientX-n.left)/a,(o.clientY-n.top)/r]}getTarget(){return this.get(lt.TARGET)}getTargetElement(){return this.targetElement_}getCoordinateFromPixel(e){return Co(this.getCoordinateFromPixelInternal(e),this.getView().getProjection())}getCoordinateFromPixelInternal(e){const i=this.frameState_;return i?St(i.pixelToCoordinateTransform,e.slice()):null}getControls(){return this.controls}getOverlays(){return this.overlays_}getOverlayById(e){const i=this.overlayIdIndex_[e.toString()];return i!==void 0?i:null}getInteractions(){return this.interactions}getLayerGroup(){return this.get(lt.LAYERGROUP)}setLayers(e){const i=this.getLayerGroup();if(e instanceof ci){i.setLayers(e);return}const n=i.getLayers();n.clear(),n.extend(e)}getLayers(){return this.getLayerGroup().getLayers()}getLoadingOrNotReady(){const e=this.getLayerGroup().getLayerStatesArray();for(let i=0,n=e.length;i=0;a--){const r=s[a];if(r.getMap()!==this||!r.getActive()||!this.getTargetElement())continue;if(!r.handleEvent(e)||e.propagationStopped)break}}}handlePostRender(){const e=this.frameState_,i=this.tileQueue_;if(!i.isEmpty()){let s=this.maxTilesLoading_,a=s;if(e){const r=e.viewHints;if(r[Dt.ANIMATING]||r[Dt.INTERACTING]){const o=Date.now()-e.time>8;s=o?0:8,a=o?0:2}}i.getTilesLoading(){this.postRenderTimeoutHandle_=void 0,this.handlePostRender()},0))}setLayerGroup(e){const i=this.getLayerGroup();i&&this.handleLayerRemove_(new Ni("removelayer",i)),this.set(lt.LAYERGROUP,e)}setSize(e){this.set(lt.SIZE,e)}setTarget(e){this.set(lt.TARGET,e)}setView(e){if(!e||e instanceof Jt){this.set(lt.VIEW,e);return}this.set(lt.VIEW,new Jt);const i=this;e.then(function(n){i.setView(new Jt(n))})}updateSize(){const e=this.getTargetElement();let i;if(e){const s=getComputedStyle(e),a=e.offsetWidth-parseFloat(s.borderLeftWidth)-parseFloat(s.paddingLeft)-parseFloat(s.paddingRight)-parseFloat(s.borderRightWidth),r=e.offsetHeight-parseFloat(s.borderTopWidth)-parseFloat(s.paddingTop)-parseFloat(s.paddingBottom)-parseFloat(s.borderBottomWidth);!isNaN(a)&&!isNaN(r)&&(i=[a,r],!pu(i)&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)&&qd("No map visible because the map container's width or height are 0."))}const n=this.getSize();i&&(!n||!_r(i,n))&&(this.setSize(i),this.updateViewportSize_(i))}updateViewportSize_(e){const i=this.getView();i&&i.setViewportSize(e)}};function i9(t){let e=null;t.keyboardEventTarget!==void 0&&(e=typeof t.keyboardEventTarget=="string"?document.getElementById(t.keyboardEventTarget):t.keyboardEventTarget);const i={},n=t.layers&&typeof t.layers.getLayers=="function"?t.layers:new Ir({layers:t.layers});i[lt.LAYERGROUP]=n,i[lt.TARGET]=t.target,i[lt.VIEW]=t.view instanceof Jt?t.view:new Jt;let s;t.controls!==void 0&&(Array.isArray(t.controls)?s=new ci(t.controls.slice()):(Le(typeof t.controls.getArray=="function","Expected `controls` to be an array or an `ol/Collection.js`"),s=t.controls));let a;t.interactions!==void 0&&(Array.isArray(t.interactions)?a=new ci(t.interactions.slice()):(Le(typeof t.interactions.getArray=="function","Expected `interactions` to be an array or an `ol/Collection.js`"),a=t.interactions));let r;return t.overlays!==void 0?Array.isArray(t.overlays)?r=new ci(t.overlays.slice()):(Le(typeof t.overlays.getArray=="function","Expected `overlays` to be an array or an `ol/Collection.js`"),r=t.overlays):r=new ci,{controls:s,interactions:a,keyboardEventTarget:e,overlays:r,values:i}}const n9=t9;class s9 extends ul{constructor(e,i,n){super(),n=n||{},this.tileCoord=e,this.state=i,this.interimTile=null,this.key="",this.transition_=n.transition===void 0?250:n.transition,this.transitionStarts_={},this.interpolate=!!n.interpolate}changed(){this.dispatchEvent(le.CHANGE)}release(){this.state===Q.ERROR&&this.setState(Q.EMPTY)}getKey(){return this.key+"/"+this.tileCoord}getInterimTile(){let e=this.interimTile;if(!e)return this;do{if(e.getState()==Q.LOADED)return this.transition_=0,e;e=e.interimTile}while(e);return this}refreshInterimChain(){let e=this.interimTile;if(!e)return;let i=this;do{if(e.getState()==Q.LOADED){e.interimTile=null;break}e.getState()==Q.LOADING?i=e:e.getState()==Q.IDLE?i.interimTile=e.interimTile:i=e,e=i.interimTile}while(e)}getTileCoord(){return this.tileCoord}getState(){return this.state}setState(e){if(this.state!==Q.ERROR&&this.state>e)throw new Error("Tile load sequence violation");this.state=e,this.changed()}load(){Xe()}getAlpha(e,i){if(!this.transition_)return 1;let n=this.transitionStarts_[e];if(!n)n=i,this.transitionStarts_[e]=n;else if(n===-1)return 1;const s=i-n+1e3/60;return s>=this.transition_?1:Hd(s/this.transition_)}inTransition(e){return this.transition_?this.transitionStarts_[e]!==-1:!1}endTransition(e){this.transition_&&(this.transitionStarts_[e]=-1)}}const mf=s9,mn={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};function a9(t,e,i){const n=t;let s=!0,a=!1,r=!1;const o=[Va(n,le.LOAD,function(){r=!0,a||e()})];return n.src&&y3?(a=!0,n.decode().then(function(){s&&e()}).catch(function(l){s&&(r?e():i())})):o.push(Va(n,le.ERROR,i)),function(){s=!1,o.forEach(qe)}}class r9 extends mf{constructor(e,i,n,s,a,r){super(e,i,r),this.crossOrigin_=s,this.src_=n,this.key=n,this.image_=new Image,s!==null&&(this.image_.crossOrigin=s),this.unlisten_=null,this.tileLoadFunction_=a}getImage(){return this.image_}setImage(e){this.image_=e,this.state=Q.LOADED,this.unlistenImage_(),this.changed()}handleImageError_(){this.state=Q.ERROR,this.unlistenImage_(),this.image_=o9(),this.changed()}handleImageLoad_(){const e=this.image_;e.naturalWidth&&e.naturalHeight?this.state=Q.LOADED:this.state=Q.EMPTY,this.unlistenImage_(),this.changed()}load(){this.state==Q.ERROR&&(this.state=Q.IDLE,this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==Q.IDLE&&(this.state=Q.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=a9(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}}function o9(){const t=Bn(1,1);return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas}const pf=r9,l9=.5,c9=10,gu=.25;class u9{constructor(e,i,n,s,a,r){this.sourceProj_=e,this.targetProj_=i;let o={};const l=Ba(this.targetProj_,this.sourceProj_);this.transformInv_=function(v){const C=v[0]+"/"+v[1];return o[C]||(o[C]=l(v)),o[C]},this.maxSourceExtent_=s,this.errorThresholdSquared_=a*a,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!s&&!!this.sourceProj_.getExtent()&&Be(s)>=Be(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?Be(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?Be(this.targetProj_.getExtent()):null;const c=un(n),u=Er(n),h=Fr(n),d=Cr(n),f=this.transformInv_(c),m=this.transformInv_(u),p=this.transformInv_(h),y=this.transformInv_(d),_=c9+(r?Math.max(0,Math.ceil(Math.log2(bo(n)/(r*r*256*256)))):0);if(this.addQuad_(c,u,h,d,f,m,p,y,_),this.wrapsXInSource_){let v=1/0;this.triangles_.forEach(function(C,w,F){v=Math.min(v,C.source[0][0],C.source[1][0],C.source[2][0])}),this.triangles_.forEach(C=>{if(Math.max(C.source[0][0],C.source[1][0],C.source[2][0])-v>this.sourceWorldWidth_/2){const w=[[C.source[0][0],C.source[0][1]],[C.source[1][0],C.source[1][1]],[C.source[2][0],C.source[2][1]]];w[0][0]-v>this.sourceWorldWidth_/2&&(w[0][0]-=this.sourceWorldWidth_),w[1][0]-v>this.sourceWorldWidth_/2&&(w[1][0]-=this.sourceWorldWidth_),w[2][0]-v>this.sourceWorldWidth_/2&&(w[2][0]-=this.sourceWorldWidth_);const F=Math.min(w[0][0],w[1][0],w[2][0]);Math.max(w[0][0],w[1][0],w[2][0])-F.5&&h<1;let m=!1;if(c>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){const y=Uc([e,i,n,s]);m=Be(y)/this.targetWorldWidth_>gu||m}!f&&this.sourceProj_.isGlobal()&&h&&(m=h>gu||m)}if(!m&&this.maxSourceExtent_&&isFinite(u[0])&&isFinite(u[1])&&isFinite(u[2])&&isFinite(u[3])&&!Zs(u,this.maxSourceExtent_))return;let p=0;if(!m&&(!isFinite(a[0])||!isFinite(a[1])||!isFinite(r[0])||!isFinite(r[1])||!isFinite(o[0])||!isFinite(o[1])||!isFinite(l[0])||!isFinite(l[1]))){if(c>0)m=!0;else if(p=(!isFinite(a[0])||!isFinite(a[1])?8:0)+(!isFinite(r[0])||!isFinite(r[1])?4:0)+(!isFinite(o[0])||!isFinite(o[1])?2:0)+(!isFinite(l[0])||!isFinite(l[1])?1:0),p!=1&&p!=2&&p!=4&&p!=8)return}if(c>0){if(!m){const y=[(e[0]+n[0])/2,(e[1]+n[1])/2],_=this.transformInv_(y);let v;f?v=(An(a[0],d)+An(o[0],d))/2-An(_[0],d):v=(a[0]+o[0])/2-_[0];const C=(a[1]+o[1])/2-_[1];m=v*v+C*C>this.errorThresholdSquared_}if(m){if(Math.abs(e[0]-n[0])<=Math.abs(e[1]-n[1])){const y=[(i[0]+n[0])/2,(i[1]+n[1])/2],_=this.transformInv_(y),v=[(s[0]+e[0])/2,(s[1]+e[1])/2],C=this.transformInv_(v);this.addQuad_(e,i,y,v,a,r,_,C,c-1),this.addQuad_(v,y,n,s,C,_,o,l,c-1)}else{const y=[(e[0]+i[0])/2,(e[1]+i[1])/2],_=this.transformInv_(y),v=[(n[0]+s[0])/2,(n[1]+s[1])/2],C=this.transformInv_(v);this.addQuad_(e,y,v,s,a,_,C,l,c-1),this.addQuad_(y,i,n,v,_,r,o,C,c-1)}return}}if(f){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}p&11||this.addTriangle_(e,n,s,a,o,l),p&14||this.addTriangle_(e,n,i,a,o,r),p&&(p&13||this.addTriangle_(i,s,e,r,l,a),p&7||this.addTriangle_(i,s,n,r,l,o))}calculateSourceExtent(){const e=cn();return this.triangles_.forEach(function(i,n,s){const a=i.source;wa(e,a[0]),wa(e,a[1]),wa(e,a[2])}),e}getTriangles(){return this.triangles_}}const h9=u9;let Yr;const On=[];function yu(t,e,i,n,s){t.beginPath(),t.moveTo(0,0),t.lineTo(e,i),t.lineTo(n,s),t.closePath(),t.save(),t.clip(),t.fillRect(0,0,Math.max(e,n)+1,Math.max(i,s)),t.restore()}function Hr(t,e){return Math.abs(t[e*4]-210)>2||Math.abs(t[e*4+3]-.75*255)>2}function d9(){if(Yr===void 0){const t=Bn(6,6,On);t.globalCompositeOperation="lighter",t.fillStyle="rgba(210, 0, 0, 0.75)",yu(t,4,5,4,0),yu(t,4,5,0,5);const e=t.getImageData(0,0,3,3).data;Yr=Hr(e,0)||Hr(e,4)||Hr(e,8),Fl(t),On.push(t.canvas)}return Yr}function bu(t,e,i,n){const s=o2(i,e,t);let a=eu(e,n,i);const r=e.getMetersPerUnit();r!==void 0&&(a*=r);const o=t.getMetersPerUnit();o!==void 0&&(a/=o);const l=t.getExtent();if(!l||hl(l,s)){const c=eu(t,a,s)/a;isFinite(c)&&c>0&&(a/=c)}return a}function f9(t,e,i,n){const s=Ms(i);let a=bu(t,e,s,n);return(!isFinite(a)||a<=0)&&Gd(i,function(r){return a=bu(t,e,r,n),isFinite(a)&&a>0}),a}function m9(t,e,i,n,s,a,r,o,l,c,u,h,d){const f=Bn(Math.round(i*t),Math.round(i*e),On);if(h||(f.imageSmoothingEnabled=!1),l.length===0)return f.canvas;f.scale(i,i);function m(v){return Math.round(v*i)/i}f.globalCompositeOperation="lighter";const p=cn();l.forEach(function(v,C,w){C3(p,v.extent)});let y;if(!d||l.length!==1||c!==0){const v=Be(p),C=Ut(p);y=Bn(Math.round(i*v/n),Math.round(i*C/n),On),h||(y.imageSmoothingEnabled=!1);const w=i/n;l.forEach(function(F,L,$){const Y=F.extent[0]-p[0],re=-(F.extent[3]-p[3]),oe=Be(F.extent),_e=Ut(F.extent);F.image.width>0&&F.image.height>0&&y.drawImage(F.image,c,c,F.image.width-2*c,F.image.height-2*c,Y*w,re*w,oe*w,_e*w)})}const _=un(r);return o.getTriangles().forEach(function(v,C,w){const F=v.source,L=v.target;let $=F[0][0],Y=F[0][1],re=F[1][0],oe=F[1][1],_e=F[2][0],Ye=F[2][1];const Ve=m((L[0][0]-_[0])/a),Et=m(-(L[0][1]-_[1])/a),tt=m((L[1][0]-_[0])/a),ve=m(-(L[1][1]-_[1])/a),j=m((L[2][0]-_[0])/a),se=m(-(L[2][1]-_[1])/a),He=$,$e=Y;$=0,Y=0,re-=He,oe-=$e,_e-=He,Ye-=$e;const ot=[[re,oe,0,0,tt-Ve],[_e,Ye,0,0,j-Ve],[0,0,re,oe,ve-Et],[0,0,_e,Ye,se-Et]],fe=S3(ot);if(!fe)return;if(f.save(),f.beginPath(),d9()||!h){f.moveTo(tt,ve);const pe=4,Se=Ve-tt,Ae=Et-ve;for(let E=0;E{i&&i.getState()==Q.LOADED&&e.push({extent:this.sourceTileGrid_.getTileCoordExtent(i.tileCoord),image:i.getImage()})}),this.sourceTiles_.length=0,e.length===0)this.state=Q.ERROR;else{const i=this.wrappedTileCoord_[0],n=this.targetTileGrid_.getTileSize(i),s=typeof n=="number"?n:n[0],a=typeof n=="number"?n:n[1],r=this.targetTileGrid_.getResolution(i),o=this.sourceTileGrid_.getResolution(this.sourceZ_),l=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=m9(s,a,this.pixelRatio_,o,this.sourceTileGrid_.getExtent(),r,l,this.triangulation_,e,this.gutter_,this.renderEdges_,this.interpolate),this.state=Q.LOADED}this.changed()}load(){if(this.state==Q.IDLE){this.state=Q.LOADING,this.changed();let e=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(i=>{const n=i.getState();if(n==Q.IDLE||n==Q.LOADING){e++;const s=Ce(i,le.CHANGE,function(a){const r=i.getState();(r==Q.LOADED||r==Q.ERROR||r==Q.EMPTY)&&(qe(s),e--,e===0&&(this.unlistenSources_(),this.reproject_()))},this);this.sourcesListenerKeys_.push(s)}}),e===0?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach(function(i,n,s){i.getState()==Q.IDLE&&i.load()})}}unlistenSources_(){this.sourcesListenerKeys_.forEach(qe),this.sourcesListenerKeys_=null}release(){this.canvas_&&(Fl(this.canvas_.getContext("2d")),On.push(this.canvas_),this.canvas_=null),super.release()}}const Mo=p9;class g9{constructor(e){this.highWaterMark=e!==void 0?e:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}canExpireCache(){return this.highWaterMark>0&&this.getCount()>this.highWaterMark}expireCache(e){for(;this.canExpireCache();)this.pop()}clear(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}containsKey(e){return this.entries_.hasOwnProperty(e)}forEach(e){let i=this.oldest_;for(;i;)e(i.value_,i.key_,this),i=i.newer}get(e,i){const n=this.entries_[e];return Le(n!==void 0,"Tried to get a value for a key that does not exist in the cache"),n===this.newest_||(n===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(n.newer.older=n.older,n.older.newer=n.newer),n.newer=null,n.older=this.newest_,this.newest_.newer=n,this.newest_=n),n.value_}remove(e){const i=this.entries_[e];return Le(i!==void 0,"Tried to get a value for a key that does not exist in the cache"),i===this.newest_?(this.newest_=i.older,this.newest_&&(this.newest_.newer=null)):i===this.oldest_?(this.oldest_=i.newer,this.oldest_&&(this.oldest_.older=null)):(i.newer.older=i.older,i.older.newer=i.newer),delete this.entries_[e],--this.count_,i.value_}getCount(){return this.count_}getKeys(){const e=new Array(this.count_);let i=0,n;for(n=this.newest_;n;n=n.older)e[i++]=n.key_;return e}getValues(){const e=new Array(this.count_);let i=0,n;for(n=this.newest_;n;n=n.older)e[i++]=n.value_;return e}peekLast(){return this.oldest_.value_}peekLastKey(){return this.oldest_.key_}peekFirstKey(){return this.newest_.key_}peek(e){var i;return(i=this.entries_[e])==null?void 0:i.value_}pop(){const e=this.oldest_;return delete this.entries_[e.key_],e.newer&&(e.newer.older=null),this.oldest_=e.newer,this.oldest_||(this.newest_=null),--this.count_,e.value_}replace(e,i){this.get(e),this.entries_[e].value_=i}set(e,i){Le(!(e in this.entries_),"Tried to set a value for a key that is used already");const n={key_:e,newer:null,older:this.newest_,value_:i};this.newest_?this.newest_.newer=n:this.oldest_=n,this.newest_=n,this.entries_[e]=n,++this.count_}setSize(e){this.highWaterMark=e}}const y9=g9;function _u(t,e,i,n){return n!==void 0?(n[0]=t,n[1]=e,n[2]=i,n):[t,e,i]}function Tr(t,e,i){return t+"/"+e+"/"+i}function gf(t){return Tr(t[0],t[1],t[2])}function b9(t){return t.split("/").map(Number)}function _9(t){return(t[1]<i||i>e.getMaxZoom())return!1;const a=e.getFullTileRange(i);return a?a.containsXY(n,s):!0}class N9 extends y9{clear(){for(;this.getCount()>0;)this.pop().release();super.clear()}expireCache(e){for(;this.canExpireCache()&&!(this.peekLast().getKey()in e);)this.pop().release()}pruneExceptNewestZ(){if(this.getCount()===0)return;const e=this.peekFirstKey(),n=b9(e)[0];this.forEach(s=>{s.tileCoord[0]!==n&&(this.remove(gf(s.tileCoord)),s.release())})}}const yf=N9,$r={TILELOADSTART:"tileloadstart",TILELOADEND:"tileloadend",TILELOADERROR:"tileloaderror"};class w9 extends fi{constructor(e){super(),this.projection=mt(e.projection),this.attributions_=vu(e.attributions),this.attributionsCollapsible_=e.attributionsCollapsible!==void 0?e.attributionsCollapsible:!0,this.loading=!1,this.state_=e.state!==void 0?e.state:"ready",this.wrapX_=e.wrapX!==void 0?e.wrapX:!1,this.interpolate_=!!e.interpolate,this.viewResolver=null,this.viewRejector=null;const i=this;this.viewPromise_=new Promise(function(n,s){i.viewResolver=n,i.viewRejector=s})}getAttributions(){return this.attributions_}getAttributionsCollapsible(){return this.attributionsCollapsible_}getProjection(){return this.projection}getResolutions(e){return null}getView(){return this.viewPromise_}getState(){return this.state_}getWrapX(){return this.wrapX_}getInterpolate(){return this.interpolate_}refresh(){this.changed()}setAttributions(e){this.attributions_=vu(e),this.changed()}setState(e){this.state_=e,this.changed()}}function vu(t){return t?Array.isArray(t)?function(e){return t}:typeof t=="function"?t:function(e){return[t]}:null}const x9=w9;class bf{constructor(e,i,n,s){this.minX=e,this.maxX=i,this.minY=n,this.maxY=s}contains(e){return this.containsXY(e[1],e[2])}containsTileRange(e){return this.minX<=e.minX&&e.maxX<=this.maxX&&this.minY<=e.minY&&e.maxY<=this.maxY}containsXY(e,i){return this.minX<=e&&e<=this.maxX&&this.minY<=i&&i<=this.maxY}equals(e){return this.minX==e.minX&&this.minY==e.minY&&this.maxX==e.maxX&&this.maxY==e.maxY}extend(e){e.minXthis.maxX&&(this.maxX=e.maxX),e.minYthis.maxY&&(this.maxY=e.maxY)}getHeight(){return this.maxY-this.minY+1}getSize(){return[this.getWidth(),this.getHeight()]}getWidth(){return this.maxX-this.minX+1}intersects(e){return this.minX<=e.maxX&&this.maxX>=e.minX&&this.minY<=e.maxY&&this.maxY>=e.minY}}function pn(t,e,i,n,s){return s!==void 0?(s.minX=t,s.maxX=e,s.minY=i,s.maxY=n,s):new bf(t,e,i,n)}const _f=bf,gn=[0,0,0],gi=5;class C9{constructor(e){this.minZoom=e.minZoom!==void 0?e.minZoom:0,this.resolutions_=e.resolutions,Le(r3(this.resolutions_,(s,a)=>a-s,!0),"`resolutions` must be sorted in descending order");let i;if(!e.origins){for(let s=0,a=this.resolutions_.length-1;s{const r=new _f(Math.min(0,s[0]),Math.max(s[0]-1,-1),Math.min(0,s[1]),Math.max(s[1]-1,-1));if(n){const o=this.getTileRangeForExtentAndZ(n,a);r.minX=Math.max(o.minX,r.minX),r.maxX=Math.min(o.maxX,r.maxX),r.minY=Math.max(o.minY,r.minY),r.maxY=Math.min(o.maxY,r.maxY)}return r}):n&&this.calculateTileRanges_(n)}forEachTileCoord(e,i,n){const s=this.getTileRangeForExtentAndZ(e,i);for(let a=s.minX,r=s.maxX;a<=r;++a)for(let o=s.minY,l=s.maxY;o<=l;++o)n([i,a,o])}forEachTileCoordParentTileRange(e,i,n,s){let a,r,o,l=null,c=e[0]-1;for(this.zoomFactor_===2?(r=e[1],o=e[2]):l=this.getTileCoordExtent(e,s);c>=this.minZoom;){if(r!==void 0&&o!==void 0?(r=Math.floor(r/2),o=Math.floor(o/2),a=pn(r,r,o,o,n)):a=this.getTileRangeForExtentAndZ(l,c,n),i(c,a))return!0;--c}return!1}getExtent(){return this.extent_}getMaxZoom(){return this.maxZoom}getMinZoom(){return this.minZoom}getOrigin(e){return this.origin_?this.origin_:this.origins_[e]}getResolution(e){return this.resolutions_[e]}getResolutions(){return this.resolutions_}getTileCoordChildTileRange(e,i,n){if(e[0]this.maxZoom||i0?n:Math.max(a/i[0],s/i[1]);const r=e+1,o=new Array(r);for(let l=0;ln.highWaterMark&&(n.highWaterMark=e)}useTile(e,i,n,s){}}class T9 extends Pi{constructor(e,i){super(e),this.tile=i}}const R9=I9;function L9(t,e){const i=/\{z\}/g,n=/\{x\}/g,s=/\{y\}/g,a=/\{-y\}/g;return function(r,o,l){if(r)return t.replace(i,r[0].toString()).replace(n,r[1].toString()).replace(s,r[2].toString()).replace(a,function(){const c=r[0],u=e.getFullTileRange(c);if(!u)throw new Error("The {-y} placeholder requires a tile grid with extent");return(u.getHeight()-r[2]-1).toString()})}}function S9(t,e){const i=t.length,n=new Array(i);for(let s=0;sthis.getTileInternal(y,_,v,C,r),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.tileOptions);return p.key=h,c?(p.interimTile=c,p.refreshInterimChain(),o.replace(u,p)):o.set(u,p),p}getTileInternal(e,i,n,s,a){let r=null;const o=Tr(e,i,n),l=this.getKey();if(!this.tileCache.containsKey(o))r=this.createTile_(e,i,n,s,a,l),this.tileCache.set(o,r);else if(r=this.tileCache.get(o),r.key!=l){const c=r;r=this.createTile_(e,i,n,s,a,l),c.getState()==Q.IDLE?r.interimTile=c.interimTile:r.interimTile=c,r.refreshInterimChain(),this.tileCache.replace(o,r)}return r}setRenderReprojectionEdges(e){if(this.renderReprojectionEdges_!=e){this.renderReprojectionEdges_=e;for(const i in this.tileCacheForProjection)this.tileCacheForProjection[i].clear();this.changed()}}setTileGridForProjection(e,i){const n=mt(e);if(n){const s=wt(n);s in this.tileGridForProjection||(this.tileGridForProjection[s]=i)}}clear(){super.clear();for(const e in this.tileCacheForProjection)this.tileCacheForProjection[e].clear()}}function P9(t,e){t.getImage().src=e}const Cf=A9;class O9 extends Cf{constructor(e){e=e||{};const i=e.projection!==void 0?e.projection:"EPSG:3857",n=e.tileGrid!==void 0?e.tileGrid:k9({extent:Tl(i),maxResolution:e.maxResolution,maxZoom:e.maxZoom,minZoom:e.minZoom,tileSize:e.tileSize});super({attributions:e.attributions,cacheSize:e.cacheSize,crossOrigin:e.crossOrigin,interpolate:e.interpolate,opaque:e.opaque,projection:i,reprojectionErrorThreshold:e.reprojectionErrorThreshold,tileGrid:n,tileLoadFunction:e.tileLoadFunction,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX!==void 0?e.wrapX:!0,transition:e.transition,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection}),this.gutter_=e.gutter!==void 0?e.gutter:0}getGutter(){return this.gutter_}}const G9=O9,Z9='© OpenStreetMap contributors.';class X9 extends G9{constructor(e){e=e||{};let i;e.attributions!==void 0?i=e.attributions:i=[Z9];const n=e.crossOrigin!==void 0?e.crossOrigin:"anonymous",s=e.url!==void 0?e.url:"https://tile.openstreetmap.org/{z}/{x}/{y}.png";super({attributions:i,attributionsCollapsible:!1,cacheSize:e.cacheSize,crossOrigin:n,interpolate:e.interpolate,maxZoom:e.maxZoom!==void 0?e.maxZoom:19,opaque:e.opaque!==void 0?e.opaque:!0,reprojectionErrorThreshold:e.reprojectionErrorThreshold,tileLoadFunction:e.tileLoadFunction,transition:e.transition,url:s,wrapX:e.wrapX,zDirection:e.zDirection})}}const W9=X9,da={PRELOAD:"preload",USE_INTERIM_TILES_ON_ERROR:"useInterimTilesOnError"};class V9 extends xl{constructor(e){e=e||{};const i=Object.assign({},e);delete i.preload,delete i.useInterimTilesOnError,super(i),this.on,this.once,this.un,this.setPreload(e.preload!==void 0?e.preload:0),this.setUseInterimTilesOnError(e.useInterimTilesOnError!==void 0?e.useInterimTilesOnError:!0)}getPreload(){return this.get(da.PRELOAD)}setPreload(e){this.set(da.PRELOAD,e)}getUseInterimTilesOnError(){return this.get(da.USE_INTERIM_TILES_ON_ERROR)}setUseInterimTilesOnError(e){this.set(da.USE_INTERIM_TILES_ON_ERROR,e)}getData(e){return super.getData(e)}}const K9=V9;class U9 extends Id{constructor(e){super(),this.ready=!0,this.boundHandleImageChange_=this.handleImageChange_.bind(this),this.layer_=e,this.declutterExecutorGroup=null}getFeatures(e){return Xe()}getData(e){return null}prepareFrame(e){return Xe()}renderFrame(e,i){return Xe()}loadedTileCallback(e,i,n){e[i]||(e[i]={}),e[i][n.tileCoord.toString()]=n}createLoadedTileFinder(e,i,n){return(s,a)=>{const r=this.loadedTileCallback.bind(this,n,s);return e.forEachLoadedTile(i,s,a,r)}}forEachFeatureAtCoordinate(e,i,n,s,a){}getLayer(){return this.layer_}handleFontsChanged(){}handleImageChange_(e){const i=e.target;(i.getState()===mn.LOADED||i.getState()===mn.ERROR)&&this.renderIfReadyAndVisible()}loadImage(e){let i=e.getState();return i!=mn.LOADED&&i!=mn.ERROR&&e.addEventListener(le.CHANGE,this.boundHandleImageChange_),i==mn.IDLE&&(e.load(),i=e.getState()),i==mn.LOADED}renderIfReadyAndVisible(){const e=this.getLayer();e&&e.getVisible()&&e.getSourceState()==="ready"&&e.changed()}disposeInternal(){delete this.layer_,super.disposeInternal()}}const B9=U9;let _n=null;function q9(){_n=Bn(1,1,void 0,{willReadFrequently:!0})}class z9 extends B9{constructor(e){super(e),this.container=null,this.renderedResolution,this.tempTransform=Sn(),this.pixelTransform=Sn(),this.inversePixelTransform=Sn(),this.context=null,this.containerReused=!1,this.pixelContext_=null,this.frameState=null}getImageData(e,i,n){_n||q9(),_n.clearRect(0,0,1,1);let s;try{_n.drawImage(e,i,n,1,1,0,0,1,1),s=_n.getImageData(0,0,1,1).data}catch{return _n=null,null}return s}getBackground(e){let n=this.getLayer().getBackground();return typeof n=="function"&&(n=n(e.viewState.resolution)),n||void 0}useContainer(e,i,n){const s=this.getLayer().getClassName();let a,r;if(e&&e.className===s&&(!n||e&&e.style.backgroundColor&&_r(Yc(e.style.backgroundColor),Yc(n)))){const o=e.firstElementChild;o instanceof HTMLCanvasElement&&(r=o.getContext("2d"))}if(r&&r.canvas.style.transform===i?(this.container=e,this.context=r,this.containerReused=!0):this.containerReused?(this.container=null,this.context=null,this.containerReused=!1):this.container&&(this.container.style.backgroundColor=null),!this.container){a=document.createElement("div"),a.className=s;let o=a.style;o.position="absolute",o.width="100%",o.height="100%",r=Bn();const l=r.canvas;a.appendChild(l),o=l.style,o.position="absolute",o.left="0",o.transformOrigin="top left",this.container=a,this.context=r}!this.containerReused&&n&&!this.container.style.backgroundColor&&(this.container.style.backgroundColor=n)}clipUnrotated(e,i,n){const s=un(n),a=Er(n),r=Fr(n),o=Cr(n);St(i.coordinateToPixelTransform,s),St(i.coordinateToPixelTransform,a),St(i.coordinateToPixelTransform,r),St(i.coordinateToPixelTransform,o);const l=this.inversePixelTransform;St(l,s),St(l,a),St(l,r),St(l,o),e.save(),e.beginPath(),e.moveTo(Math.round(s[0]),Math.round(s[1])),e.lineTo(Math.round(a[0]),Math.round(a[1])),e.lineTo(Math.round(r[0]),Math.round(r[1])),e.lineTo(Math.round(o[0]),Math.round(o[1])),e.clip()}dispatchRenderEvent_(e,i,n){const s=this.getLayer();if(s.hasListener(e)){const a=new of(e,this.inversePixelTransform,n,i);s.dispatchEvent(a)}}preRender(e,i){this.frameState=i,this.dispatchRenderEvent_(Ei.PRERENDER,e,i)}postRender(e,i){this.dispatchRenderEvent_(Ei.POSTRENDER,e,i)}getRenderTransform(e,i,n,s,a,r,o){const l=a/2,c=r/2,u=s/i,h=-u,d=-e[0]+o,f=-e[1];return ks(this.tempTransform,l,c,u,h,-n,d,f)}disposeInternal(){delete this.frameState,super.disposeInternal()}}const Y9=z9;class H9 extends Y9{constructor(e){super(e),this.extentChanged=!0,this.renderedExtent_=null,this.renderedPixelRatio,this.renderedProjection=null,this.renderedRevision,this.renderedTiles=[],this.newTiles_=!1,this.tmpExtent=cn(),this.tmpTileRange_=new _f(0,0,0,0)}isDrawableTile(e){const i=this.getLayer(),n=e.getState(),s=i.getUseInterimTilesOnError();return n==Q.LOADED||n==Q.EMPTY||n==Q.ERROR&&!s}getTile(e,i,n,s){const a=s.pixelRatio,r=s.viewState.projection,o=this.getLayer();let c=o.getSource().getTile(e,i,n,a,r);return c.getState()==Q.ERROR&&o.getUseInterimTilesOnError()&&o.getPreload()>0&&(this.newTiles_=!0),this.isDrawableTile(c)||(c=c.getInterimTile()),c}getData(e){const i=this.frameState;if(!i)return null;const n=this.getLayer(),s=St(i.pixelToCoordinateTransform,e.slice()),a=n.getExtent();if(a&&!hl(a,s))return null;const r=i.pixelRatio,o=i.viewState.projection,l=i.viewState,c=n.getRenderSource(),u=c.getTileGridForProjection(l.projection),h=c.getTilePixelRatio(i.pixelRatio);for(let d=u.getZForResolution(l.resolution);d>=u.getMinZoom();--d){const f=u.getTileCoordForCoordAndZ(s,d),m=c.getTile(d,f[1],f[2],r,o);if(!(m instanceof pf||m instanceof Mo)||m instanceof Mo&&m.getState()===Q.EMPTY)return null;if(m.getState()!==Q.LOADED)continue;const p=u.getOrigin(d),y=xi(u.getTileSize(d)),_=u.getResolution(d),v=Math.floor(h*((s[0]-p[0])/_-f[1]*y[0])),C=Math.floor(h*((p[1]-s[1])/_-f[2]*y[1])),w=Math.round(h*c.getGutterForProjection(l.projection));return this.getImageData(m.getImage(),v+w,C+w)}return null}loadedTileCallback(e,i,n){return this.isDrawableTile(n)?super.loadedTileCallback(e,i,n):!1}prepareFrame(e){return!!this.getLayer().getSource()}renderFrame(e,i){const n=e.layerStatesArray[e.layerIndex],s=e.viewState,a=s.projection,r=s.resolution,o=s.center,l=s.rotation,c=e.pixelRatio,u=this.getLayer(),h=u.getSource(),d=h.getRevision(),f=h.getTileGridForProjection(a),m=f.getZForResolution(r,h.zDirection),p=f.getResolution(m);let y=e.extent;const _=e.viewState.resolution,v=h.getTilePixelRatio(c),C=Math.round(Be(y)/_*c),w=Math.round(Ut(y)/_*c),F=n.extent&&xn(n.extent);F&&(y=gs(y,xn(n.extent)));const L=p*C/2/v,$=p*w/2/v,Y=[o[0]-L,o[1]-$,o[0]+L,o[1]+$],re=f.getTileRangeForExtentAndZ(y,m),oe={};oe[m]={};const _e=this.createLoadedTileFinder(h,a,oe),Ye=this.tmpExtent,Ve=this.tmpTileRange_;this.newTiles_=!1;const Et=l?vo(s.center,_,l,e.size):void 0;for(let Ke=re.minX;Ke<=re.maxX;++Ke)for(let pe=re.minY;pe<=re.maxY;++pe){if(l&&!f.tileCoordIntersectsViewport([m,Ke,pe],Et))continue;const Se=this.getTile(m,Ke,pe,e);if(this.isDrawableTile(Se)){const Z=wt(this);if(Se.getState()==Q.LOADED){oe[m][Se.tileCoord.toString()]=Se;let A=Se.inTransition(Z);A&&n.opacity!==1&&(Se.endTransition(Z),A=!1),!this.newTiles_&&(A||!this.renderedTiles.includes(Se))&&(this.newTiles_=!0)}if(Se.getAlpha(Z,e.time)===1)continue}const Ae=f.getTileCoordChildTileRange(Se.tileCoord,Ve,Ye);let E=!1;Ae&&(E=_e(m+1,Ae)),E||f.forEachTileCoordParentTileRange(Se.tileCoord,_e,Ve,Ye)}const tt=p/r*c/v;ks(this.pixelTransform,e.size[0]/2,e.size[1]/2,1/c,1/c,l,-C/2,-w/2);const ve=_3(this.pixelTransform);this.useContainer(i,ve,this.getBackground(e));const j=this.context,se=j.canvas;Dd(this.inversePixelTransform,this.pixelTransform),ks(this.tempTransform,C/2,w/2,tt,tt,0,-C/2,-w/2),se.width!=C||se.height!=w?(se.width=C,se.height=w):this.containerReused||j.clearRect(0,0,C,w),F&&this.clipUnrotated(j,e,F),h.getInterpolate()||(j.imageSmoothingEnabled=!1),this.preRender(j,e),this.renderedTiles.length=0;let He=Object.keys(oe).map(Number);He.sort(ll);let $e,ot,fe;n.opacity===1&&(!this.containerReused||h.getOpaque(e.viewState.projection))?He=He.reverse():($e=[],ot=[]);for(let Ke=He.length-1;Ke>=0;--Ke){const pe=He[Ke],Se=h.getTilePixelSize(pe,c,a),E=f.getResolution(pe)/p,Z=Se[0]*E*tt,A=Se[1]*E*tt,q=f.getTileCoordForCoordAndZ(un(Y),pe),ce=f.getTileCoordExtent(q),g=St(this.tempTransform,[v*(ce[0]-Y[0])/p,v*(Y[3]-ce[3])/p]),b=v*h.getGutterForProjection(a),N=oe[pe];for(const k in N){const M=N[k],I=M.tileCoord,G=q[1]-I[1],S=Math.round(g[0]-(G-1)*Z),P=q[2]-I[2],T=Math.round(g[1]-(P-1)*A),U=Math.round(g[0]-G*Z),W=Math.round(g[1]-P*A),z=S-U,te=T-W,ae=m===pe,Ne=ae&&M.getAlpha(wt(this),e.time)!==1;let he=!1;if(!Ne)if($e){fe=[U,W,U+z,W,U+z,W+te,U,W+te];for(let Ie=0,kt=$e.length;Ie0&&(this.tileUrlFunction=Io(s.map(this.createFromWMTSTemplate.bind(this))))}setUrls(e){this.urls=e;const i=e.join(` -`);this.setTileUrlFunction(Io(e.map(this.createFromWMTSTemplate.bind(this))),i)}getDimensions(){return this.dimensions_}getFormat(){return this.format_}getLayer(){return this.layer_}getMatrixSet(){return this.matrixSet_}getRequestEncoding(){return this.requestEncoding_}getStyle(){return this.style_}getVersion(){return this.version_}getKeyForDimensions_(){const e=this.urls?this.urls.slice(0):[];for(const i in this.dimensions_)e.push(i+"-"+this.dimensions_[i]);return e.join("/")}updateDimensions(e){Object.assign(this.dimensions_,e),this.setKey(this.getKeyForDimensions_())}createFromWMTSTemplate(e){const i=this.requestEncoding_,n={layer:this.layer_,style:this.style_,tilematrixset:this.matrixSet_};i=="KVP"&&Object.assign(n,{Service:"WMTS",Request:"GetTile",Version:this.version_,Format:this.format_}),e=i=="KVP"?wu(e,n):e.replace(/\{(\w+?)\}/g,function(r,o){return o.toLowerCase()in n?n[o.toLowerCase()]:r});const s=this.tileGrid,a=this.dimensions_;return function(r,o,l){if(!r)return;const c={TileMatrix:s.getMatrixId(r[0]),TileCol:r[1],TileRow:r[2]};Object.assign(c,a);let u=e;return i=="KVP"?u=wu(u,c):u=u.replace(/\{(\w+?)\}/g,function(h,d){return c[d]}),u}}}const Q9=J9;function e_(t){t("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),t("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),t("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),t.WGS84=t["EPSG:4326"],t["EPSG:3785"]=t["EPSG:3857"],t.GOOGLE=t["EPSG:3857"],t["EPSG:900913"]=t["EPSG:3857"],t["EPSG:102113"]=t["EPSG:3857"]}var nn=1,sn=2,Gn=3,t_=4,To=5,xu=6378137,i_=6356752314e-3,Cu=.0066943799901413165,ys=484813681109536e-20,R=Math.PI/2,n_=.16666666666666666,s_=.04722222222222222,a_=.022156084656084655,O=1e-10,it=.017453292519943295,ei=57.29577951308232,ge=Math.PI/4,Rs=Math.PI*2,Ue=3.14159265359,Ft={};Ft.greenwich=0;Ft.lisbon=-9.131906111111;Ft.paris=2.337229166667;Ft.bogota=-74.080916666667;Ft.madrid=-3.687938888889;Ft.rome=12.452333333333;Ft.bern=7.439583333333;Ft.jakarta=106.807719444444;Ft.ferro=-17.666666666667;Ft.brussels=4.367975;Ft.stockholm=18.058277777778;Ft.athens=23.7163375;Ft.oslo=10.722916666667;const r_={ft:{to_meter:.3048},"us-ft":{to_meter:1200/3937}};var Fu=/[\s_\-\/\(\)]/g;function Si(t,e){if(t[e])return t[e];for(var i=Object.keys(t),n=e.toLowerCase().replace(Fu,""),s=-1,a,r;++s=this.text.length)return;t=this.text[this.place++]}switch(this.state){case Ls:return this.neutral(t);case Ff:return this.keyword(t);case Ya:return this.quoted(t);case kf:return this.afterquote(t);case Ef:return this.number(t);case Ll:return}};mi.prototype.afterquote=function(t){if(t==='"'){this.word+='"',this.state=Ya;return}if(Rr.test(t)){this.word=this.word.trim(),this.afterItem(t);return}throw new Error(`havn't handled "`+t+'" in afterquote yet, index '+this.place)};mi.prototype.afterItem=function(t){if(t===","){this.word!==null&&this.currentObject.push(this.word),this.word=null,this.state=Ls;return}if(t==="]"){this.level--,this.word!==null&&(this.currentObject.push(this.word),this.word=null),this.state=Ls,this.currentObject=this.stack.pop(),this.currentObject||(this.state=Ll);return}};mi.prototype.number=function(t){if(Mf.test(t)){this.word+=t;return}if(Rr.test(t)){this.word=parseFloat(this.word),this.afterItem(t);return}throw new Error(`havn't handled "`+t+'" in number yet, index '+this.place)};mi.prototype.quoted=function(t){if(t==='"'){this.state=kf;return}this.word+=t};mi.prototype.keyword=function(t){if(c_.test(t)){this.word+=t;return}if(t==="["){var e=[];e.push(this.word),this.level++,this.root===null?this.root=e:this.currentObject.push(e),this.stack.push(this.currentObject),this.currentObject=e,this.state=Ls;return}if(Rr.test(t)){this.afterItem(t);return}throw new Error(`havn't handled "`+t+'" in keyword yet, index '+this.place)};mi.prototype.neutral=function(t){if(l_.test(t)){this.word=t,this.state=Ff;return}if(t==='"'){this.word="",this.state=Ya;return}if(Mf.test(t)){this.word=t,this.state=Ef;return}if(Rr.test(t)){this.afterItem(t);return}throw new Error(`havn't handled "`+t+'" in neutral yet, index '+this.place)};mi.prototype.output=function(){for(;this.place0?90:-90),t.lat_ts=t.lat1):!t.lat_ts&&t.lat0&&t.projName==="Polar_Stereographic"&&(t.lat_ts=t.lat0,t.lat0=Ht(t.lat0>0?90:-90))}function If(t){var e=u_(t),i=e.shift(),n=e.shift();e.unshift(["name",n]),e.unshift(["type",i]);var s={};return Cn(e,s),f_(s),s}function yt(t){var e=this;if(arguments.length===2){var i=arguments[1];typeof i=="string"?i.charAt(0)==="+"?yt[t]=Ro(arguments[1]):yt[t]=If(arguments[1]):yt[t]=i}else if(arguments.length===1){if(Array.isArray(t))return t.map(function(n){Array.isArray(n)?yt.apply(e,n):yt(n)});if(typeof t=="string"){if(t in yt)return yt[t]}else"EPSG"in t?yt["EPSG:"+t.EPSG]=t:"ESRI"in t?yt["ESRI:"+t.ESRI]=t:"IAU2000"in t?yt["IAU2000:"+t.IAU2000]=t:console.log(t);return}}e_(yt);function m_(t){return typeof t=="string"}function p_(t){return t in yt}var g_=["PROJECTEDCRS","PROJCRS","GEOGCS","GEOCCS","PROJCS","LOCAL_CS","GEODCRS","GEODETICCRS","GEODETICDATUM","ENGCRS","ENGINEERINGCRS"];function y_(t){return g_.some(function(e){return t.indexOf(e)>-1})}var b_=["3857","900913","3785","102113"];function __(t){var e=Si(t,"authority");if(e){var i=Si(e,"epsg");return i&&b_.indexOf(i)>-1}}function v_(t){var e=Si(t,"extension");if(e)return Si(e,"proj4")}function N_(t){return t[0]==="+"}function w_(t){if(m_(t)){if(p_(t))return yt[t];if(y_(t)){var e=If(t);if(__(e))return yt["EPSG:3857"];var i=v_(e);return i?Ro(i):e}if(N_(t))return Ro(t)}else return t}function ku(t,e){t=t||{};var i,n;if(!e)return t;for(n in e)i=e[n],i!==void 0&&(t[n]=i);return t}function ni(t,e,i){var n=t*e;return i/Math.sqrt(1-n*n)}function Ks(t){return t<0?-1:1}function K(t){return Math.abs(t)<=Ue?t:t-Ks(t)*Rs}function Bt(t,e,i){var n=t*i,s=.5*t;return n=Math.pow((1-n)/(1+n),s),Math.tan(.5*(R-e))/n}function Ss(t,e){for(var i=.5*t,n,s,a=R-2*Math.atan(e),r=0;r<=15;r++)if(n=t*Math.sin(a),s=R-2*Math.atan(e*Math.pow((1-n)/(1+n),i))-a,a+=s,Math.abs(s)<=1e-10)return a;return-9999}function x_(){var t=this.b/this.a;this.es=1-t*t,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=ni(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)}function C_(t){var e=t.x,i=t.y;if(i*ei>90&&i*ei<-90&&e*ei>180&&e*ei<-180)return null;var n,s;if(Math.abs(Math.abs(i)-R)<=O)return null;if(this.sphere)n=this.x0+this.a*this.k0*K(e-this.long0),s=this.y0+this.a*this.k0*Math.log(Math.tan(ge+.5*i));else{var a=Math.sin(i),r=Bt(this.e,i,a);n=this.x0+this.a*this.k0*K(e-this.long0),s=this.y0-this.a*this.k0*Math.log(r)}return t.x=n,t.y=s,t}function F_(t){var e=t.x-this.x0,i=t.y-this.y0,n,s;if(this.sphere)s=R-2*Math.atan(Math.exp(-i/(this.a*this.k0)));else{var a=Math.exp(-i/(this.a*this.k0));if(s=Ss(this.e,a),s===-9999)return null}return n=K(this.long0+e/(this.a*this.k0)),t.x=n,t.y=s,t}var E_=["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"];const k_={init:x_,forward:C_,inverse:F_,names:E_};function M_(){}function Mu(t){return t}var I_=["longlat","identity"];const T_={init:M_,forward:Mu,inverse:Mu,names:I_};var R_=[k_,T_],Ca={},Ha=[];function Tf(t,e){var i=Ha.length;return t.names?(Ha[i]=t,t.names.forEach(function(n){Ca[n.toLowerCase()]=i}),this):(console.log(e),!0)}function L_(t){if(!t)return!1;var e=t.toLowerCase();if(typeof Ca[e]<"u"&&Ha[Ca[e]])return Ha[Ca[e]]}function S_(){R_.forEach(Tf)}const D_={start:S_,add:Tf,get:L_};var ie={};ie.MERIT={a:6378137,rf:298.257,ellipseName:"MERIT 1983"};ie.SGS85={a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"};ie.GRS80={a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"};ie.IAU76={a:6378140,rf:298.257,ellipseName:"IAU 1976"};ie.airy={a:6377563396e-3,b:635625691e-2,ellipseName:"Airy 1830"};ie.APL4={a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"};ie.NWL9D={a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"};ie.mod_airy={a:6377340189e-3,b:6356034446e-3,ellipseName:"Modified Airy"};ie.andrae={a:637710443e-2,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"};ie.aust_SA={a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"};ie.GRS67={a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"};ie.bessel={a:6377397155e-3,rf:299.1528128,ellipseName:"Bessel 1841"};ie.bess_nam={a:6377483865e-3,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"};ie.clrk66={a:63782064e-1,b:63565838e-1,ellipseName:"Clarke 1866"};ie.clrk80={a:6378249145e-3,rf:293.4663,ellipseName:"Clarke 1880 mod."};ie.clrk80ign={a:63782492e-1,b:6356515,rf:293.4660213,ellipseName:"Clarke 1880 (IGN)"};ie.clrk58={a:6378293645208759e-9,rf:294.2606763692654,ellipseName:"Clarke 1858"};ie.CPM={a:63757387e-1,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"};ie.delmbr={a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"};ie.engelis={a:637813605e-2,rf:298.2566,ellipseName:"Engelis 1985"};ie.evrst30={a:6377276345e-3,rf:300.8017,ellipseName:"Everest 1830"};ie.evrst48={a:6377304063e-3,rf:300.8017,ellipseName:"Everest 1948"};ie.evrst56={a:6377301243e-3,rf:300.8017,ellipseName:"Everest 1956"};ie.evrst69={a:6377295664e-3,rf:300.8017,ellipseName:"Everest 1969"};ie.evrstSS={a:6377298556e-3,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"};ie.fschr60={a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"};ie.fschr60m={a:6378155,rf:298.3,ellipseName:"Fischer 1960"};ie.fschr68={a:6378150,rf:298.3,ellipseName:"Fischer 1968"};ie.helmert={a:6378200,rf:298.3,ellipseName:"Helmert 1906"};ie.hough={a:6378270,rf:297,ellipseName:"Hough"};ie.intl={a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"};ie.kaula={a:6378163,rf:298.24,ellipseName:"Kaula 1961"};ie.lerch={a:6378139,rf:298.257,ellipseName:"Lerch 1979"};ie.mprts={a:6397300,rf:191,ellipseName:"Maupertius 1738"};ie.new_intl={a:63781575e-1,b:63567722e-1,ellipseName:"New International 1967"};ie.plessis={a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"};ie.krass={a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"};ie.SEasia={a:6378155,b:63567733205e-4,ellipseName:"Southeast Asia"};ie.walbeck={a:6376896,b:63558348467e-4,ellipseName:"Walbeck"};ie.WGS60={a:6378165,rf:298.3,ellipseName:"WGS 60"};ie.WGS66={a:6378145,rf:298.25,ellipseName:"WGS 66"};ie.WGS7={a:6378135,rf:298.26,ellipseName:"WGS 72"};var A_=ie.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"};ie.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"};function P_(t,e,i,n){var s=t*t,a=e*e,r=(s-a)/s,o=0;n?(t*=1-r*(n_+r*(s_+r*a_)),s=t*t,r=0):o=Math.sqrt(r);var l=(s-a)/a;return{es:r,e:o,ep2:l}}function O_(t,e,i,n,s){if(!t){var a=Si(ie,n);a||(a=A_),t=a.a,e=a.b,i=a.rf}return i&&!e&&(e=(1-1/i)*t),(i===0||Math.abs(t-e)3&&(o.datum_params[3]!==0||o.datum_params[4]!==0||o.datum_params[5]!==0||o.datum_params[6]!==0)&&(o.datum_type=sn,o.datum_params[3]*=ys,o.datum_params[4]*=ys,o.datum_params[5]*=ys,o.datum_params[6]=o.datum_params[6]/1e6+1)),r&&(o.datum_type=Gn,o.grids=r),o.a=i,o.b=n,o.es=s,o.ep2=a,o}var Rf={};function Z_(t,e){var i=new DataView(e),n=V_(i),s=K_(i,n),a=U_(i,s,n),r={header:s,subgrids:a};return Rf[t]=r,r}function X_(t){if(t===void 0)return null;var e=t.split(",");return e.map(W_)}function W_(t){if(t.length===0)return null;var e=t[0]==="@";return e&&(t=t.slice(1)),t==="null"?{name:"null",mandatory:!e,grid:null,isNull:!0}:{name:t,mandatory:!e,grid:Rf[t]||null,isNull:!1}}function Fn(t){return t/3600*Math.PI/180}function V_(t){var e=t.getInt32(8,!1);return e===11?!1:(e=t.getInt32(8,!0),e!==11&&console.warn("Failed to detect nadgrid endian-ness, defaulting to little-endian"),!0)}function K_(t,e){return{nFields:t.getInt32(8,e),nSubgridFields:t.getInt32(24,e),nSubgrids:t.getInt32(40,e),shiftType:Lo(t,56,56+8).trim(),fromSemiMajorAxis:t.getFloat64(120,e),fromSemiMinorAxis:t.getFloat64(136,e),toSemiMajorAxis:t.getFloat64(152,e),toSemiMinorAxis:t.getFloat64(168,e)}}function Lo(t,e,i){return String.fromCharCode.apply(null,new Uint8Array(t.buffer.slice(e,i)))}function U_(t,e,i){for(var n=176,s=[],a=0;a5e-11?!1:t.datum_type===nn?t.datum_params[0]===e.datum_params[0]&&t.datum_params[1]===e.datum_params[1]&&t.datum_params[2]===e.datum_params[2]:t.datum_type===sn?t.datum_params[0]===e.datum_params[0]&&t.datum_params[1]===e.datum_params[1]&&t.datum_params[2]===e.datum_params[2]&&t.datum_params[3]===e.datum_params[3]&&t.datum_params[4]===e.datum_params[4]&&t.datum_params[5]===e.datum_params[5]&&t.datum_params[6]===e.datum_params[6]:!0}function Lf(t,e,i){var n=t.x,s=t.y,a=t.z?t.z:0,r,o,l,c;if(s<-R&&s>-1.001*R)s=-R;else if(s>R&&s<1.001*R)s=R;else{if(s<-R)return{x:-1/0,y:-1/0,z:t.z};if(s>R)return{x:1/0,y:1/0,z:t.z}}return n>Math.PI&&(n-=2*Math.PI),o=Math.sin(s),c=Math.cos(s),l=o*o,r=i/Math.sqrt(1-e*l),{x:(r+a)*c*Math.cos(n),y:(r+a)*c*Math.sin(n),z:(r*(1-e)+a)*o}}function Sf(t,e,i,n){var s=1e-12,a=s*s,r=30,o,l,c,u,h,d,f,m,p,y,_,v,C,w=t.x,F=t.y,L=t.z?t.z:0,$,Y,re;if(o=Math.sqrt(w*w+F*F),l=Math.sqrt(w*w+F*F+L*L),o/ia&&Cn.y||f>n.x||yo&&Math.abs(l.y)>o);if(r<0)return console.log("Inverse grid shift iterator failed to converge."),n;n.x=K(a.x+i.ll[0]),n.y=a.y+i.ll[1]}else isNaN(a.x)||(n.x=t.x+a.x,n.y=t.y+a.y);return n}function Tu(t,e){var i={x:t.x/e.del[0],y:t.y/e.del[1]},n={x:Math.floor(i.x),y:Math.floor(i.y)},s={x:i.x-1*n.x,y:i.y-1*n.y},a={x:Number.NaN,y:Number.NaN},r;if(n.x<0||n.x>=e.lim[0]||n.y<0||n.y>=e.lim[1])return a;r=n.y*e.lim[0]+n.x;var o={x:e.cvs[r][0],y:e.cvs[r][1]};r++;var l={x:e.cvs[r][0],y:e.cvs[r][1]};r+=e.lim[0];var c={x:e.cvs[r][0],y:e.cvs[r][1]};r--;var u={x:e.cvs[r][0],y:e.cvs[r][1]},h=s.x*s.y,d=s.x*(1-s.y),f=(1-s.x)*(1-s.y),m=(1-s.x)*s.y;return a.x=f*o.x+d*l.x+m*u.x+h*c.x,a.y=f*o.y+d*l.y+m*u.y+h*c.y,a}function Ru(t,e,i){var n=i.x,s=i.y,a=i.z||0,r,o,l,c={};for(l=0;l<3;l++)if(!(e&&l===2&&i.z===void 0))switch(l===0?(r=n,"ew".indexOf(t.axis[l])!==-1?o="x":o="y"):l===1?(r=s,"ns".indexOf(t.axis[l])!==-1?o="y":o="x"):(r=a,o="z"),t.axis[l]){case"e":c[o]=r;break;case"w":c[o]=-r;break;case"n":c[o]=r;break;case"s":c[o]=-r;break;case"u":i[o]!==void 0&&(c.z=r);break;case"d":i[o]!==void 0&&(c.z=-r);break;default:return null}return c}function Df(t){var e={x:t[0],y:t[1]};return t.length>2&&(e.z=t[2]),t.length>3&&(e.m=t[3]),e}function Q_(t){Lu(t.x),Lu(t.y)}function Lu(t){if(typeof Number.isFinite=="function"){if(Number.isFinite(t))return;throw new TypeError("coordinates must be finite numbers")}if(typeof t!="number"||t!==t||!isFinite(t))throw new TypeError("coordinates must be finite numbers")}function e4(t,e){return(t.datum.datum_type===nn||t.datum.datum_type===sn||t.datum.datum_type===Gn)&&e.datumCode!=="WGS84"||(e.datum.datum_type===nn||e.datum.datum_type===sn||e.datum.datum_type===Gn)&&t.datumCode!=="WGS84"}function $a(t,e,i,n){var s;Array.isArray(i)?i=Df(i):i={x:i.x,y:i.y,z:i.z,m:i.m};var a=i.z!==void 0;if(Q_(i),t.datum&&e.datum&&e4(t,e)&&(s=new ti("WGS84"),i=$a(t,s,i,n),t=s),n&&t.axis!=="enu"&&(i=Ru(t,!1,i)),t.projName==="longlat")i={x:i.x*it,y:i.y*it,z:i.z||0};else if(t.to_meter&&(i={x:i.x*t.to_meter,y:i.y*t.to_meter,z:i.z||0}),i=t.inverse(i),!i)return;if(t.from_greenwich&&(i.x+=t.from_greenwich),i=j_(t.datum,e.datum,i),!!i)return e.from_greenwich&&(i={x:i.x-e.from_greenwich,y:i.y,z:i.z||0}),e.projName==="longlat"?i={x:i.x*ei,y:i.y*ei,z:i.z||0}:(i=e.forward(i),e.to_meter&&(i={x:i.x/e.to_meter,y:i.y/e.to_meter,z:i.z||0})),n&&e.axis!=="enu"?Ru(e,!0,i):(i&&!a&&delete i.z,i)}var Su=ti("WGS84");function jr(t,e,i,n){var s,a,r;return Array.isArray(i)?(s=$a(t,e,i,n)||{x:NaN,y:NaN},i.length>2?typeof t.name<"u"&&t.name==="geocent"||typeof e.name<"u"&&e.name==="geocent"?typeof s.z=="number"?[s.x,s.y,s.z].concat(i.splice(3)):[s.x,s.y,i[2]].concat(i.splice(3)):[s.x,s.y].concat(i.splice(2)):[s.x,s.y]):(a=$a(t,e,i,n),r=Object.keys(i),r.length===2||r.forEach(function(o){if(typeof t.name<"u"&&t.name==="geocent"||typeof e.name<"u"&&e.name==="geocent"){if(o==="x"||o==="y"||o==="z")return}else if(o==="x"||o==="y")return;a[o]=i[o]}),a)}function Du(t){return t instanceof ti?t:t.oProj?t.oProj:ti(t)}function Rt(t,e,i){t=Du(t);var n=!1,s;return typeof e>"u"?(e=t,t=Su,n=!0):(typeof e.x<"u"||Array.isArray(e))&&(i=e,e=t,t=Su,n=!0),e=Du(e),i?jr(t,e,i):(s={forward:function(a,r){return jr(t,e,a,r)},inverse:function(a,r){return jr(e,t,a,r)}},n&&(s.oProj=e),s)}var Au=6,Af="AJSAJS",Pf="AFAFAF",En=65,vt=73,Lt=79,cs=86,us=90;const t4={forward:Of,inverse:i4,toPoint:Gf};function Of(t,e){return e=e||5,a4(n4({lat:t[1],lon:t[0]}),e)}function i4(t){var e=Sl(Xf(t.toUpperCase()));return e.lat&&e.lon?[e.lon,e.lat,e.lon,e.lat]:[e.left,e.bottom,e.right,e.top]}function Gf(t){var e=Sl(Xf(t.toUpperCase()));return e.lat&&e.lon?[e.lon,e.lat]:[(e.left+e.right)/2,(e.top+e.bottom)/2]}function Jr(t){return t*(Math.PI/180)}function Pu(t){return 180*(t/Math.PI)}function n4(t){var e=t.lat,i=t.lon,n=6378137,s=.00669438,a=.9996,r,o,l,c,u,h,d,f=Jr(e),m=Jr(i),p,y;y=Math.floor((i+180)/6)+1,i===180&&(y=60),e>=56&&e<64&&i>=3&&i<12&&(y=32),e>=72&&e<84&&(i>=0&&i<9?y=31:i>=9&&i<21?y=33:i>=21&&i<33?y=35:i>=33&&i<42&&(y=37)),r=(y-1)*6-180+3,p=Jr(r),o=s/(1-s),l=n/Math.sqrt(1-s*Math.sin(f)*Math.sin(f)),c=Math.tan(f)*Math.tan(f),u=o*Math.cos(f)*Math.cos(f),h=Math.cos(f)*(m-p),d=n*((1-s/4-3*s*s/64-5*s*s*s/256)*f-(3*s/8+3*s*s/32+45*s*s*s/1024)*Math.sin(2*f)+(15*s*s/256+45*s*s*s/1024)*Math.sin(4*f)-35*s*s*s/3072*Math.sin(6*f));var _=a*l*(h+(1-c+u)*h*h*h/6+(5-18*c+c*c+72*u-58*o)*h*h*h*h*h/120)+5e5,v=a*(d+l*Math.tan(f)*(h*h/2+(5-c+9*u+4*u*u)*h*h*h*h/24+(61-58*c+c*c+600*u-330*o)*h*h*h*h*h*h/720));return e<0&&(v+=1e7),{northing:Math.round(v),easting:Math.round(_),zoneNumber:y,zoneLetter:s4(e)}}function Sl(t){var e=t.northing,i=t.easting,n=t.zoneLetter,s=t.zoneNumber;if(s<0||s>60)return null;var a=.9996,r=6378137,o=.00669438,l,c=(1-Math.sqrt(1-o))/(1+Math.sqrt(1-o)),u,h,d,f,m,p,y,_,v,C=i-5e5,w=e;n<"N"&&(w-=1e7),y=(s-1)*6-180+3,l=o/(1-o),p=w/a,_=p/(r*(1-o/4-3*o*o/64-5*o*o*o/256)),v=_+(3*c/2-27*c*c*c/32)*Math.sin(2*_)+(21*c*c/16-55*c*c*c*c/32)*Math.sin(4*_)+151*c*c*c/96*Math.sin(6*_),u=r/Math.sqrt(1-o*Math.sin(v)*Math.sin(v)),h=Math.tan(v)*Math.tan(v),d=l*Math.cos(v)*Math.cos(v),f=r*(1-o)/Math.pow(1-o*Math.sin(v)*Math.sin(v),1.5),m=C/(u*a);var F=v-u*Math.tan(v)/f*(m*m/2-(5+3*h+10*d-4*d*d-9*l)*m*m*m*m/24+(61+90*h+298*d+45*h*h-252*l-3*d*d)*m*m*m*m*m*m/720);F=Pu(F);var L=(m-(1+2*h+d)*m*m*m/6+(5-2*d+28*h-3*d*d+8*l+24*h*h)*m*m*m*m*m/120)/Math.cos(v);L=y+Pu(L);var $;if(t.accuracy){var Y=Sl({northing:t.northing+t.accuracy,easting:t.easting+t.accuracy,zoneLetter:t.zoneLetter,zoneNumber:t.zoneNumber});$={top:Y.lat,right:Y.lon,bottom:F,left:L}}else $={lat:F,lon:L};return $}function s4(t){var e="Z";return 84>=t&&t>=72?e="X":72>t&&t>=64?e="W":64>t&&t>=56?e="V":56>t&&t>=48?e="U":48>t&&t>=40?e="T":40>t&&t>=32?e="S":32>t&&t>=24?e="R":24>t&&t>=16?e="Q":16>t&&t>=8?e="P":8>t&&t>=0?e="N":0>t&&t>=-8?e="M":-8>t&&t>=-16?e="L":-16>t&&t>=-24?e="K":-24>t&&t>=-32?e="J":-32>t&&t>=-40?e="H":-40>t&&t>=-48?e="G":-48>t&&t>=-56?e="F":-56>t&&t>=-64?e="E":-64>t&&t>=-72?e="D":-72>t&&t>=-80&&(e="C"),e}function a4(t,e){var i="00000"+t.easting,n="00000"+t.northing;return t.zoneNumber+t.zoneLetter+r4(t.easting,t.northing,t.zoneNumber)+i.substr(i.length-5,e)+n.substr(n.length-5,e)}function r4(t,e,i){var n=Zf(i),s=Math.floor(t/1e5),a=Math.floor(e/1e5)%20;return o4(s,a,n)}function Zf(t){var e=t%Au;return e===0&&(e=Au),e}function o4(t,e,i){var n=i-1,s=Af.charCodeAt(n),a=Pf.charCodeAt(n),r=s+t-1,o=a+e,l=!1;r>us&&(r=r-us+En-1,l=!0),(r===vt||svt||(r>vt||sLt||(r>Lt||sus&&(r=r-us+En-1),o>cs?(o=o-cs+En-1,l=!0):l=!1,(o===vt||avt||(o>vt||aLt||(o>Lt||acs&&(o=o-cs+En-1);var c=String.fromCharCode(r)+String.fromCharCode(o);return c}function Xf(t){if(t&&t.length===0)throw"MGRSPoint coverting from nothing";for(var e=t.length,i=null,n="",s,a=0;!/[A-Z]/.test(s=t.charAt(a));){if(a>=2)throw"MGRSPoint bad conversion from: "+t;n+=s,a++}var r=parseInt(n,10);if(a===0||a+3>e)throw"MGRSPoint bad conversion from: "+t;var o=t.charAt(a++);if(o<="A"||o==="B"||o==="Y"||o>="Z"||o==="I"||o==="O")throw"MGRSPoint zone letter "+o+" not handled: "+t;i=t.substring(a,a+=2);for(var l=Zf(r),c=l4(i.charAt(0),l),u=c4(i.charAt(1),l);u-1?t.substr(e+1):t}function Tc(t){return t.children[0]}function T1(t){return t.name||""}function Rc(t,e,i=!1){const n=Za(e);function s(a,r){return Za(T1(r))===n&&a.push(r),i&&Array.isArray(r.children)?[...a,...r.children.reduce(s,[])]:a}return t&&Array.isArray(t.children)?t.children.reduce(s,[]):[]}function Xi(t,e){return t&&t.attributes[e]||""}class Qt extends Error{constructor(e,i,n){super(e),this.message=e,this.httpStatus=i,this.isCrossOriginRelated=n}}const Lc=["utf-8","utf-16","iso-8859-1"],Sc="utf-8";function R1(t){const e=/charset=([^;]+)/.exec(t);return e?e[1]:null}function L1(t,e){const i=e?R1(e):null,n=i?[i,...Lc]:Lc;for(const s of n)try{return new TextDecoder(s,{fatal:!0}).decode(t)}catch{}return console.warn(`[ogc-client] XML document encoding could not be determined, falling back to ${Sc}.`),new TextDecoder(Sc).decode(t)}const na=new Map;let S1={};function vd(){return S1}function Nd(t,e="GET",i){let n=`${e}#${t}`;if(i&&(n=`${e}#asJson#${t}`),na.has(n))return na.get(n);const s={...vd()};s.method=e,i&&(s.headers="headers"in s?s.headers:{},s.headers.Accept="application/json");const a=fetch(t,s).catch(r=>r).then(r=>(na.delete(n),r));return na.set(n,a),a.then(r=>{if(r instanceof Error)throw r;return r})}function Dc(t){return Nd(t).catch(()=>fetch(t,{...vd(),method:"HEAD",mode:"no-cors"}).catch(e=>{throw new Qt(`Fetching the document failed either due to network errors or unreachable host, error is: ${e.message}`,0,!1)}).then(()=>{throw new Qt("The document could not be fetched due to CORS limitations",0,!0)})).then(async e=>{if(!e.ok){const s=await e.text();throw new Qt(`Received an error with code ${e.status}: ${s}`,e.status,!1)}const i=await e.arrayBuffer(),n=e.headers.get("Content-Type");return L1(i,n)}).then(e=>I1(e))}function Pi(t,e){const i=t.match(/(https?%3A%2F%2F[^/]+)$/);if(i){const o=i[1],l=Pi(decodeURIComponent(o),e);return t.replace(o,encodeURIComponent(l))}const n=new URL(t),s=Object.keys(e),a=s.map(o=>o.toLowerCase()),r=[];for(const o of n.searchParams.keys())a.indexOf(o.toLowerCase())>-1&&r.push(o);return r.map(o=>n.searchParams.delete(o)),s.forEach(o=>n.searchParams.set(o,e[o]===!0?"":e[o])),n.toString()}const xd="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2Z1bmN0aW9uIE4odCxlLHIpe2NvbnN0IG49dHlwZW9mIFdvcmtlckdsb2JhbFNjb3BlPCJ1IixpPWFzeW5jIG89PntpZihv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2aWNlVmVyc2lvbjplLGZlYXR1cmVUeXBlRnVsbDpyfSk9Pntjb25zdCBuPVF0KHQsZSxyLm5hbWUsdm9pZCAwLHZvaWQgMCxPYmplY3Qua2V5cyhyLnByb3BlcnRpZXMpKTtyZXR1cm4gQihuKS50aGVuKGk9Pih7cHJvcHM6enQoSHQoaSxyLGUpKX0pKX0pLE4oInVwZGF0ZUZldGNoT3B0aW9ucyIsZ2xvYmFsVGhpcywoe29wdGlvbnM6dH0pPT4oQnQodCksUHJvbWlzZS5yZXNvbHZlKHt9KSkpLE4oInBhcnNlV210c0NhcGFiaWxpdGllcyIsZ2xvYmFsVGhpcywoe3VybDp0fSk9PkIodCkudGhlbihlPT4oe2luZm86SnQoZSksbGF5ZXJzOlZ0KGUpLG1hdHJpeFNldHM6S3QoZSl9KSkpfSkoKTsK",Pc=typeof window<"u"&&window.Blob&&new Blob([atob(xd)],{type:"text/javascript;charset=utf-8"});function D1(){let t;try{if(t=Pc&&(window.URL||window.webkitURL).createObjectURL(Pc),!t)throw"";return new Worker(t)}catch{return new Worker("data:application/javascript;base64,"+xd)}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}let Xr;function yr(){return Xr||(Xr=new D1),Xr}function P1(t){return pr("parseWmsCapabilities",yr(),{url:t})}function A1(t){return pr("parseWfsCapabilities",yr(),{url:t})}function O1(t,e,i){return pr("queryWfsFeatureTypeDetails",yr(),{url:t,serviceVersion:e,featureTypeFull:i})}function G1(t){return pr("parseWmtsCapabilities",yr(),{url:t})}let Z1=1e3*60*60;function X1(){return Z1}let Vi;function br(){return Vi!==void 0?Vi:"caches"in globalThis?(Vi=caches.open("ogc-client").catch(t=>(console.info("[ogc-client] Cache could not be accessed for the following reason:",t),null)),Vi):(Vi=Promise.resolve(null),Vi)}async function W1(t,...e){const i=await br();if(!i)return;const n="https://cache/"+e.join("/");try{await i.put(n,new Response(JSON.stringify(t),{headers:{"x-expiry":(Date.now()+X1()).toString(10)}}))}catch(s){console.info("[ogc-client] Caching failed once for the following reason and will not be retried:",s),Vi=Promise.resolve(null)}}async function K1(...t){const e=await br();if(!e)return;const i="https://cache/"+t.join("/");return e.match(i).then(n=>!!n&&parseInt(n.headers.get("x-expiry"))>Date.now())}async function V1(...t){const e=await br();if(!e)return;const i="https://cache/"+t.join("/"),n=await e.match(i);return n?n.clone().json():null}const sa=new Map;async function ps(t,...e){if(await U1(),await K1(...e))return V1(...e);const i=e.join("#");if(sa.has(i))return sa.get(i);const n=t();n instanceof Promise&&(n.then(()=>sa.delete(i)),sa.set(i,n));const s=await n;return await W1(s,...e),s}async function U1(){const t=await br();if(!t)return;const e=await t.keys();for(const i of e){const n=await t.match(i);parseInt(n.headers.get("x-expiry"))<=Date.now()&&await t.delete(i)}}function B1(t,e,i,n,s,a,r,o,l){const c=e==="1.3.0"?"CRS":"SRS",u={SERVICE:"WMS",REQUEST:"GetMap",VERSION:e,LAYERS:i,STYLES:l??""};return u.WIDTH=n.toString(),u.HEIGHT=s.toString(),u.FORMAT=o??"image/png",u[c]=a,u.BBOX=r.join(","),Pi(t,u)}let q1=class{constructor(e){this._capabilitiesUrl=Pi(e,{SERVICE:"WMS",REQUEST:"GetCapabilities"}),this._capabilitiesPromise=ps(()=>P1(this._capabilitiesUrl),"WMS","CAPABILITIES",this._capabilitiesUrl).then(({info:i,layers:n,version:s})=>{this._info=i,this._layers=n,this._version=s})}isReady(){return this._capabilitiesPromise.then(()=>this)}getServiceInfo(){return this._info}getLayers(){function e(i){return{title:i.title,name:i.name,abstract:i.abstract,..."children"in i&&{children:i.children.map(e)}}}return this._layers.map(e)}getLayerByName(e){let i=null;function n(s){if(i===null){if(s.name===e){i=s;return}"children"in s&&s.children.map(n)}}return this._layers.map(n),i}getSingleLayerName(){if(!this._layers)return null;const e=[];function i(n){n.name&&e.push(n),"children"in n&&n.children.map(i)}return this._layers.map(i),e.length===1?e[0].name:null}getVersion(){return this._version}getMapUrl(e,i){if(!this._layers)return null;const{widthPx:n,heightPx:s,crs:a,extent:r,outputFormat:o,styles:l}=i;return B1(this._capabilitiesUrl,this._version,e.join(","),n,s,a,r,o,l!==void 0?l.join(","):"")}};const z1={name:"WmsEndpoint",components:{WmsLayerInfo:r1,ItemsTree:fr,InfoList:ln},data:()=>({loading:!1,error:null,endpoint:null,url:"https://ahocevar.com/geoserver/wms",selectedLayer:null}),computed:{loaded(){return this.endpoint&&this.loading===!1&&this.error===null}},methods:{async createEndpoint(){this.error=null,this.loading=!0,this.endpoint=new q1(this.url);try{await this.endpoint.isReady()}catch(t){this.error=t.message}this.loading=!1},handleLayerClick(t,e){this.selectedLayer=this.endpoint.getLayerByName(t.name),e.preventDefault()}}},H1={class:"d-flex flex-row my-4"},Y1={key:0},$1={key:1},j1=["title"],J1=["onClick"],Q1={key:1},ey={key:2};function ty(t,e,i,n,s,a){const r=ke("InfoList"),o=ke("ItemsTree"),l=ke("WmsLayerInfo");return D(),K("div",null,[w("div",H1,[Ti(w("input",{class:"form-control me-3",placeholder:"Enter a WMS service URL here","onUpdate:modelValue":e[0]||(e[0]=c=>t.url=c)},null,512),[[mr,t.url]]),w("button",{type:"button",class:"btn btn-primary",onClick:e[1]||(e[1]=c=>a.createEndpoint())}," Analyze ")]),t.loading?(D(),K("div",Y1,"Loading...")):De("",!0),a.loaded?(D(),K("div",$1,[B(r,{info:t.endpoint.getServiceInfo()},null,8,["info"]),B(o,{items:t.endpoint.getLayers(),style:{"min-height":"200px","max-height":"400px",overflow:"auto"}},{default:Je(({item:c})=>[w("div",{title:c.abstract},[c.name?(D(),K("a",{key:0,href:"",onClick:u=>a.handleLayerClick(c,u),class:"link-light"},Ge(c.title),9,J1)):(D(),K("span",Q1,Ge(c.title),1))],8,j1)]),_:1},8,["items"]),t.selectedLayer?(D(),wt(l,{key:0,layer:t.selectedLayer,endpoint:t.endpoint},null,8,["layer","endpoint"])):De("",!0)])):De("",!0),t.error?(D(),K("div",ey,"Error: "+Ge(t.error),1)):De("",!0)])}const iy=We(z1,[["render",ty]]),ny={name:"WfsFeatureTypeInfo",components:{InfoList:ln},props:{featureType:Object,endpoint:Object},data:()=>({loadingValues:!1,featurePropsDetails:null}),computed:{featureTypeInfo(){return{..."title"in this.featureType&&{title:this.featureType.title},..."abstract"in this.featureType&&{abstract:this.featureType.abstract},CRS:[this.featureType.defaultCrs,...this.featureType.otherCrs].join(", "),..."objectCount"in this.featureType&&{"object count":this.featureType.objectCount},..."geometryName"in this.featureType&&{"geometry name":this.featureType.geometryName},..."geometryType"in this.featureType&&{"geometry type":this.featureType.geometryType},..."keywords"in this.featureType&&{keywords:this.featureType.keywords}}},featureProperties(){return{...this.featureType.properties}},uniqueValues(){return this.featurePropsDetails===null?{}:Object.keys(this.featurePropsDetails).reduce((t,e)=>({...t,[e]:this.featurePropsDetails[e].uniqueValues.sort((i,n)=>n.count-i.count).filter((i,n)=>n<=8).map((i,n)=>n<8?`${i.value} (${i.count})`:"...").join(", ")}),{})}},methods:{async loadValues(){this.loadingValues=!0,this.featurePropsDetails=await this.endpoint.getFeatureTypePropDetails(this.featureType.name),this.loadingValues=!1}},watch:{featureType(){this.loadingValues=!1,this.featurePropsDetails=null}}},sy=w("p",null,"Properties",-1),ay={key:0},ry={key:1},oy={key:2},ly=w("p",null,"Unique values",-1);function cy(t,e,i,n,s,a){const r=ke("InfoList");return D(),K("div",null,[w("p",null,Ge(i.featureType.name),1),B(r,{info:a.featureTypeInfo},null,8,["info"]),sy,B(r,{info:a.featureProperties},null,8,["info"]),t.featurePropsDetails===null&&!t.loadingValues?(D(),K("div",ay,[w("button",{type:"button",class:"btn btn-primary",onClick:e[0]||(e[0]=o=>a.loadValues())}," Load unique values ")])):De("",!0),t.loadingValues?(D(),K("div",ry,"Loading unique values...")):De("",!0),t.featurePropsDetails!==null?(D(),K("div",oy,[ly,B(r,{info:a.uniqueValues},null,8,["info"])])):De("",!0)])}const uy=We(ny,[["render",cy]]);function hy(t,e,i,n){const{name:s,title:a,abstract:r,defaultCrs:o,otherCrs:l,outputFormats:c,latLonBoundingBox:u,keywords:h}=t,d=n.startsWith("2.0")?"numberMatched":"numberOfFeatures",m=parseInt(Xi(Tc(i),d)),f=Rc(Tc(e),"complexType",!0)[0],p=Rc(f,"element",!0),y=p.filter(x=>Xi(x,"type").startsWith("xsd:")).reduce((x,F)=>({...x,[Xi(F,"name")]:dy(Xi(F,"type"))}),{}),_=p.filter(x=>Xi(x,"type").startsWith("gml:"))[0],v=_?Xi(_,"name"):void 0,C=_?my(Xi(_,"type")):void 0;return{name:s,...a&&{title:a},...r&&{abstract:r},...u&&{boundingBox:u},...o&&{defaultCrs:o},...l&&{otherCrs:l},...c&&{outputFormats:c},properties:y,...v&&{geometryName:v},...C&&{geometryType:C},...!Number.isNaN(m)&&{objectCount:m},...h&&{keywords:h}}}function dy(t){switch(t.indexOf(":")>-1?t.substr(t.indexOf(":")+1):t){case"string":return"string";case"boolean":return"boolean";case"float":case"double":case"decimal":return"float";case"long":case"byte":case"integer":case"int":case"positiveInteger":case"negativeInteger":case"nonPositiveInteger":case"nonNegativeInteger":case"short":case"unsignedLong":case"unsignedInt":case"unsignedShort":case"unsignedByte":return"integer";default:return"string"}}function my(t){switch(t.indexOf(":")>-1?t.substr(t.indexOf(":")+1):t){case"PointPropertyType":return"point";case"MultiPointPropertyType":return"multipoint";case"CurvePropertyType":case"LineStringPropertyType":return"linestring";case"MultiCurvePropertyType":case"MultiLineStringPropertyType":return"linestring";case"PolygonPropertyType":case"SurfacePropertyType":return"polygon";case"MultiPolygonPropertyType":case"MultiSurfacePropertyType":return"multipolygon";default:return"unknown"}}function Ac(t,e,i,n,s,a,r,o,l,c,u){const h=e==="2.0.0"?"TYPENAMES":"TYPENAME",d=e==="2.0.0"?"COUNT":"MAXFEATURES",m={SERVICE:"WFS",REQUEST:"GetFeature",VERSION:e,[h]:i};if(n!==void 0&&(m.OUTPUTFORMAT=n),a!==void 0&&(m.PROPERTYNAME=a.join(",")),r?(m.RESULTTYPE="hits",m[d]="1"):s!==void 0&&(m[d]=s.toString(10)),o&&(m.SRSNAME=o),l){const f=l.join(",");m.BBOX=c?`${f},${c}`:f}return u&&(m.STARTINDEX=u.toString(10)),Pi(t,m)}function fy(t,e,i){return Pi(t,{SERVICE:"WFS",REQUEST:"DescribeFeatureType",VERSION:e,[e==="2.0.0"?"TYPENAMES":"TYPENAME"]:i})}function rl(t){return t.toLowerCase().indexOf("json")>-1}function wd(t){return/geo.?json/.test(t)}function Cd(t){return/json.?fg|fg.?json/.test(t)}let py=class{constructor(e){this._capabilitiesUrl=Pi(e,{SERVICE:"WFS",REQUEST:"GetCapabilities"}),this._capabilitiesPromise=ps(()=>A1(this._capabilitiesUrl),"WFS","CAPABILITIES",this._capabilitiesUrl).then(({info:i,featureTypes:n,version:s})=>{this._info=i,this._featureTypes=n,this._version=s})}isReady(){return this._capabilitiesPromise.then(()=>this)}getServiceInfo(){return this._info}getFeatureTypes(){return this._featureTypes.map(e=>({name:e.name,..."title"in e&&{title:e.title},..."abstract"in e&&{abstract:e.abstract},..."latLonBoundingBox"in e&&{boundingBox:e.latLonBoundingBox}}))}_getFeatureTypeByName(e){if(!this._featureTypes)return null;const i=Za(e)!==e;return this._featureTypes.find(n=>i?n.name===e:Za(n.name)===e)||null}getFeatureTypeSummary(e){const i=this._getFeatureTypeByName(e);return i?{name:i.name,..."title"in i&&{title:i.title},..."abstract"in i&&{abstract:i.abstract},..."latLonBoundingBox"in i&&{boundingBox:i.latLonBoundingBox},defaultCrs:i.defaultCrs,otherCrs:i.otherCrs,outputFormats:i.outputFormats,keywords:i.keywords}:null}getFeatureTypeFull(e){const i=this._getFeatureTypeByName(e);return i?ps(()=>{const n=fy(this._capabilitiesUrl,this._version,e),s=Ac(this._capabilitiesUrl,this._version,e,void 0,void 0,void 0,!0);return Promise.all([Dc(n),Dc(s)]).then(([a,r])=>hy(i,a,r,this._version))},"WFS","FEATURETYPEINFO",this._capabilitiesUrl,e):null}getSingleFeatureTypeName(){return this._featureTypes&&this._featureTypes.length===1?this._featureTypes[0].name:null}async getFeatureTypePropDetails(e){const i=await this.getFeatureTypeFull(e);return i===null?null:ps(()=>O1(this._capabilitiesUrl,this._version,i).then(n=>n.props),"WFS","FEATURETYPEPROPDETAILS",this._capabilitiesUrl,e)}getVersion(){return this._version}_getJsonCompatibleOutputFormat(e){const i=this._getFeatureTypeByName(e);if(!i)throw new Error(`The following feature type was not found in the service: ${e}`);const n=i.outputFormats.filter(rl);return n.length?n[0]:null}supportsJson(e){return this._featureTypes?!!this._getJsonCompatibleOutputFormat(e):null}supportsStartIndex(){return this._version?this._version>="2.0.0":!1}getFeatureUrl(e,i){if(!this._featureTypes)return null;const{maxFeatures:n,asJson:s,outputFormat:a,outputCrs:r,extent:o,extentCrs:l,startIndex:c}=i||{},u=this._getFeatureTypeByName(e);if(!u)throw new Error(`The following feature type was not found in the service: ${e}`);let h=a;if(s){if(h=this._getJsonCompatibleOutputFormat(e)||void 0,!h)throw new Error(`The endpoint does not appear to support GeoJSON for the feature type ${u.name}`)}else a&&u.outputFormats.indexOf(a)===-1&&console.warn(`[ogc-client] The following output format type was not found in the feature type ${u.name}: ${a}`);return Ac(this._capabilitiesUrl,this._version,u.name,h,n,void 0,void 0,r,o,l,c)}};const gy={name:"WfsEndpoint",components:{WfsFeatureTypeInfo:uy,ItemsTree:fr,InfoList:ln},data:()=>({loading:!1,error:null,endpoint:null,url:"https://ahocevar.com/geoserver/wfs",selectedFeatureType:null}),computed:{loaded(){return this.endpoint&&this.loading===!1&&this.error===null}},methods:{async createEndpoint(){this.error=null,this.loading=!0,this.endpoint=new py(this.url);try{await this.endpoint.isReady()}catch(t){this.error=t.message}this.loading=!1},async handleItemClick(t,e){e.preventDefault(),this.selectedFeatureType=await this.endpoint.getFeatureTypeFull(t.name)}}},yy={class:"d-flex flex-row my-4"},by=w("div",{class:"spacer-s"},null,-1),_y={key:0},vy={key:1},Ny=["title"],xy=["onClick"],wy={key:1},Cy={key:2};function Fy(t,e,i,n,s,a){const r=ke("InfoList"),o=ke("ItemsTree"),l=ke("WfsFeatureTypeInfo");return D(),K("div",null,[w("div",yy,[Ti(w("input",{class:"form-control me-3",placeholder:"Enter a WFS service URL here","onUpdate:modelValue":e[0]||(e[0]=c=>t.url=c)},null,512),[[mr,t.url]]),by,w("button",{type:"button",class:"btn btn-primary",onClick:e[1]||(e[1]=c=>a.createEndpoint())}," Analyze ")]),t.loading?(D(),K("div",_y,"Loading...")):De("",!0),a.loaded?(D(),K("div",vy,[B(r,{info:t.endpoint.getServiceInfo()},null,8,["info"]),B(o,{items:t.endpoint.getFeatureTypes(),style:{"min-height":"200px"}},{default:Je(({item:c})=>[w("div",{title:c.abstract},[c.name?(D(),K("a",{key:0,href:"",onClick:u=>a.handleItemClick(c,u),class:"link-light"},Ge(c.title),9,xy)):(D(),K("span",wy,Ge(c.title),1))],8,Ny)]),_:1},8,["items"]),t.selectedFeatureType?(D(),wt(l,{key:0,"feature-type":t.selectedFeatureType,endpoint:t.endpoint},null,8,["feature-type","endpoint"])):De("",!0)])):De("",!0),t.error?(D(),K("div",Cy,"Error: "+Ge(t.error),1)):De("",!0)])}const Ey=We(gy,[["render",Fy]]);const ky={name:"Async",props:{promise:Promise},data:()=>({pending:!0,resolved:null,rejected:null}),watch:{promise:{immediate:!0,handler(t){t instanceof Promise?(this.pending=!0,t.then(e=>{this.resolved=e,this.rejected=null,this.pending=!1},e=>{this.rejected=e,this.resolved=null,this.pending=!1})):(this.resolved=t,this.rejected=null,this.pending=!1)}}}},My=t=>(rn("data-v-b4911245"),t=t(),on(),t),Iy={key:0},Ty=My(()=>w("span",null,"Loading...",-1)),Ry={key:1},Ly={class:"error"},Sy={key:2};function Dy(t,e,i,n,s,a){return t.pending?(D(),K("div",Iy,[Ji(t.$slots,"pending",{},()=>[Ty],!0)])):t.rejected?(D(),K("div",Ry,[Ji(t.$slots,"catch",{error:t.rejected},()=>[w("span",Ly,"Error: "+Ge(t.rejected),1)],!0)])):(D(),K("div",Sy,[Ji(t.$slots,"then",{result:t.resolved},()=>[w("span",null,"Loaded: "+Ge(t.resolved),1)],!0)]))}const Py=We(ky,[["render",Dy],["__scopeId","data-v-b4911245"]]),Ay=["string","number","integer","date","point","linestring","polygon","geometry"];function It(t){const e=new URL(t,window.location.toString());return e.searchParams.set("f","json"),Nd(e.toString(),"GET",!0).then(i=>{if(!i.ok)throw new Error(`The document at ${e} could not be fetched.`);return i.clone().json().catch(n=>{throw new Error(`The document at ${e} does not appear to be valid JSON. Error was: ${n.message}`)})})}function Fd(t){return It(t).then(e=>{if(!tn(e,["data","http://www.opengis.net/def/rel/ogc/1.0/data"])||!tn(e,["conformance","http://www.opengis.net/def/rel/ogc/1.0/conformance"])){let i=Md(t);if(!i)throw new Error("Could not find a root JSON document containing both a link with rel='data' and a link with rel='conformance'.");if("collections"in e){const n=new URL(i);n.pathname=`${n.pathname}/`,i=n.toString()}return Fd(i)}return e})}function Ed(t){return It(t).then(e=>{if(tn(e,["data","http://www.opengis.net/def/rel/ogc/1.0/data"]))return null;let i=Md(t);return tn(e,["items"])?e:("collections"in e&&(i=`${i}/`),Ed(i))})}function kd(t,e,i){var s;const n=((s=t.links)==null?void 0:s.filter(a=>Array.isArray(e)?e.indexOf(a.rel)>-1:a.rel===e))||[];return i?n.filter(a=>a.type===i):n}function gt(t,e,i,n){const s=kd(t,e,n)[0];return s?new URL(s.href,i||window.location.toString()).toString():null}function si(t,e,i){const n=gt(t,e,i);return n?It(n):Promise.reject(new Qt(`Could not find link with type: ${e}`))}function tn(t,e){return!!gt(t,e)}function Oc(t,e){if(!tn(t,e))throw new Qt(`Could not find link with type: ${e}`)}function Md(t){const e=new URL(t,window.location.toString()),i=e.pathname.replace(/\/$/,"").split("/");return i.length<=2?null:(e.pathname=i.slice(0,-1).join("/"),e.toString())}function Oy(t){try{Oc(t,["data","http://www.opengis.net/def/rel/ogc/1.0/data"]),Oc(t,["conformance","http://www.opengis.net/def/rel/ogc/1.0/conformance"])}catch(e){throw new Qt(`The endpoint appears non-conforming, the following error was encountered: +${e.message}`)}return{title:t.title,description:t.description,attribution:t.attribution}}function Gy(t){return t.conformsTo}function ns(t=null){return e=>e.collections.filter(i=>t===null||i.itemType===t).map(i=>{const n={name:i.id};return i.itemType==="record"&&(n.hasRecords=!0),i.itemType==="feature"&&(n.hasFeatures=!0),i.links.some(s=>s.rel==="http://www.opengis.net/def/rel/ogc/1.0/tilesets-vector")&&(n.hasVectorTiles=!0),i.links.some(s=>s.rel==="http://www.opengis.net/def/rel/ogc/1.0/tilesets-map")&&(n.hasMapTiles=!0),n})}function Zy(t){return t.indexOf("http://www.opengis.net/spec/ogcapi-tiles-1/1.0/conf/core")>-1}function Xy(t){return t.indexOf("http://www.opengis.net/spec/ogcapi-styles-1/0.0/conf/core")>-1||t.indexOf("http://www.opengis.net/spec/ogcapi-styles-1/1.0/conf/core")>-1}function Wy([t,e]){return(["http://www.opengis.net/spec/ogcapi-records-1/1.0/conf/record-core","http://www.opengis.net/spec/ogcapi-records-1/1.0/conf/record-collection","http://www.opengis.net/spec/ogcapi-records-1/1.0/conf/record-api"].every(n=>e.indexOf(n)>-1)||e.indexOf("http://www.opengis.net/spec/ogcapi-records-1/1.0/conf/core")>-1)&&t.some(n=>n.itemType==="record")}function Ky([t,e]){return e.indexOf("http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/core")>-1&&t.some(i=>i.itemType==="feature")}function Vy(t){const{links:e,...i}=t,n=e.filter(l=>l.rel==="items").map(l=>l.type),s=e.filter(l=>l.rel==="enclosure").reduce((l,c)=>(l[c.type]=c.href,l),{}),a=Object.keys(s),r=a.find(Cd)||a.find(wd)||a.find(rl),o=r?s[r]:null;return{itemFormats:n,bulkDownloadLinks:s,jsonDownloadLink:o,...i}}function Gc(t){return"properties"in t&&typeof t.properties=="object"?Object.keys(t.properties).map(e=>{const i=t.properties[e];let n="string";if(typeof i.$ref=="string"){const s=i.$ref.toLowerCase();s.indexOf("point")>-1?n="point":s.indexOf("linestring")>-1?n="linestring":s.indexOf("polygon")>-1?n="polygon":s.indexOf("geometry")>-1&&(n="geometry")}else typeof i.type=="string"&&Ay.indexOf(i.type.toLowerCase())>-1&&(n=i.type.toLowerCase());return{name:e,type:n,...typeof i.title=="string"&&{title:i.title}}}):Array.isArray(t)?t.map(e=>({name:e,type:"string"})):[]}function Uy(t){return Array.isArray(t.tileMatrixSets)?t.tileMatrixSets.map(e=>({id:e.id,uri:e.uri})):[]}function Zc(t){return{formats:t.links.filter(i=>i.rel==="stylesheet").map(i=>i.type).filter(i=>i!=="text/html"),id:t.id,...t.title&&{title:t.title}}}function By(t){var a;const{stylesheets:e,links:i,...n}=t,s=(a=e==null?void 0:e.filter(r=>r.link.rel==="stylesheet"))==null?void 0:a.map(r=>r.link.type);return{...s&&{stylesheetFormats:s},...e&&{stylesheets:e},...n}}let qy=class{constructor(e){this.baseUrl=e}get root(){return this.root_||(this.root_=Fd(this.baseUrl).catch(e=>{throw new Error(`The endpoint appears non-conforming, the following error was encountered: +${e.message}`)})),this.root_}get conformance(){return this.conformance_||(this.conformance_=this.root.then(e=>si(e,["conformance","http://www.opengis.net/def/rel/ogc/1.0/conformance"],this.baseUrl))),this.conformance_}get collectionsUrl(){return this.root.then(e=>gt(e,["data","http://www.opengis.net/def/rel/ogc/1.0/data"],this.baseUrl))}get data(){return this.data_||(this.data_=this.collectionsUrl.then(It).then(async e=>{const i=await Ed(this.baseUrl);return i!==null&&Array.isArray(e.collections)&&(e.collections=e.collections.filter(n=>n.id===i.id)),e})),this.data_}get tileMatrixSetsFull(){return this.tileMatrixSetsFull_||(this.tileMatrixSetsFull_=this.root.then(async e=>await this.hasTiles?si(e,["http://www.opengis.net/def/rel/ogc/1.0/tiling-schemes"],this.baseUrl).then(Uy):[])),this.tileMatrixSetsFull_}get styles(){return this.styles_||(this.styles_=this.root.then(async e=>{if(await this.hasStyles)return si(e,["styles","http://www.opengis.net/def/rel/ogc/1.0/styles"],this.baseUrl)})),this.styles_}get info(){return this.root.then(Oy)}get conformanceClasses(){return this.conformance.then(Gy)}get allCollections(){return this.data.then(ns())}get recordCollections(){return Promise.all([this.data,this.hasRecords]).then(([e,i])=>i?e:{collections:[]}).then(ns("record")).then(e=>e.map(i=>i.name))}get featureCollections(){return Promise.all([this.data,this.hasFeatures]).then(([e,i])=>i?e:{collections:[]}).then(ns("feature")).then(e=>e.map(i=>i.name))}get vectorTileCollections(){return Promise.all([this.data,this.hasTiles]).then(([e,i])=>i?e:{collections:[]}).then(ns()).then(e=>e.filter(i=>i.hasVectorTiles)).then(e=>e.map(i=>i.name))}get mapTileCollections(){return Promise.all([this.data,this.hasTiles]).then(([e,i])=>i?e:{collections:[]}).then(ns()).then(e=>e.filter(i=>i.hasMapTiles)).then(e=>e.map(i=>i.name))}get hasTiles(){return this.conformanceClasses.then(Zy)}get hasStyles(){return this.conformanceClasses.then(Xy)}get hasFeatures(){return Promise.all([this.data.then(e=>e.collections),this.conformanceClasses]).then(Ky)}get hasRecords(){return Promise.all([this.data.then(e=>e.collections),this.conformanceClasses]).then(Wy)}get tileMatrixSets(){return this.tileMatrixSetsFull.then(e=>e.map(i=>i.id))}getCollectionDocument(e){return Promise.all([this.allCollections,this.data]).then(([i,n])=>{if(!i.find(s=>s.name===e))throw new Qt(`Collection not found: ${e}`);return n.collections.find(s=>s.id===e)}).then(async i=>tn(i,["self"])?si(i,"self",this.baseUrl):It(`${await this.collectionsUrl}/${e}`))}async getStyleMetadataDocument(e,i){var l;const n=i?await this.getCollectionDocument(i):await this.root,s=gt(n,["styles","http://www.opengis.net/def/rel/ogc/1.0/styles"],this.baseUrl,"application/json"),a=gt(n,["styles","http://www.opengis.net/def/rel/ogc/1.0/styles"],this.baseUrl),r=await It(s??a);if(!r.styles.some(c=>c.id===e))throw new Qt(`Style not found: "${e}".`);const o=(l=r==null?void 0:r.styles)==null?void 0:l.find(c=>c.id===e);return tn(o,["describedby"])?si(o,"describedby",this.baseUrl):o}async getCollectionInfo(e){const i=await this.getCollectionDocument(e),n=Vy(i),[s,a,r,o]=await Promise.all([si(i,["queryables","http://www.opengis.net/def/rel/ogc/1.0/queryables"],this.baseUrl).then(Gc).catch(()=>[]),si(i,["sortables","http://www.opengis.net/def/rel/ogc/1.0/sortables"],this.baseUrl).then(Gc).catch(()=>[]),si(i,["http://www.opengis.net/def/rel/ogc/1.0/tilesets-vector"],this.baseUrl).then(f=>f.tilesets).catch(()=>[]),si(i,["http://www.opengis.net/def/rel/ogc/1.0/tilesets-map"],this.baseUrl).then(f=>f.tilesets).catch(()=>[])]),l=await this.tileMatrixSetsFull,c=r.map(f=>{var p;return(p=l.find(y=>y.uri===f.tileMatrixSetURI))==null?void 0:p.id}).filter(Boolean),u=r[0];let h=[];if(u){const f=gt(u,"self",this.baseUrl);if(!f)throw new Error("No links found for the tileset");h=(await It(f)).links.filter(y=>y.rel==="item").map(y=>y.type)}const d=o[0];let m=[];if(d){const f=gt(d,"self",this.baseUrl);if(!f)throw new Error("No links found for the tileset");m=(await It(f)).links.filter(y=>y.rel==="item").map(y=>y.type)}return{...n,queryables:s,sortables:a,mapTileFormats:m,vectorTileFormats:h,supportedTileMatrixSets:c}}getCollectionItems(e,i=10,n=0,s=null,a=null,r=null,o=null){return this.getCollectionDocument(e).then(l=>{const c=new URL(gt(l,"items",this.baseUrl),window.location.toString());return c.searchParams.set("limit",i.toString()),c.searchParams.set("offset",n.toString()),s!==null&&c.searchParams.set("skipGeometry",s.toString()),a!==null&&c.searchParams.set("sortby",a.join(",").toString()),r!==null&&c.searchParams.set("bbox",r.join(",").toString()),o!==null&&c.searchParams.set("properties",o.join(",").toString()),c.toString()}).then(It).then(l=>l.features)}getCollectionItem(e,i){return this.getCollectionDocument(e).then(n=>{const s=new URL(gt(n,"items",this.baseUrl),window.location.toString());return s.pathname+=`/${i}`,s.toString()}).then(It)}getCollectionItemsUrl(e,i={}){return this.getCollectionDocument(e).then(n=>{const s=this.baseUrl||"",a=kd(n,"items");let r=a.find(l=>l.type===(i==null?void 0:i.outputFormat)),o;return i.asJson&&(r=a.find(l=>Cd(l.type))||a.find(l=>wd(l.type))||a.find(l=>rl(l.type))),i!=null&&i.outputFormat&&!r?(console.warn(`[ogc-client] The following output format type was not found in the collection '${e}': ${i.outputFormat}`),o=new URL(a[0].href,s),o.searchParams.set("f",i.outputFormat)):r?o=new URL(r.href,s):o=new URL(a[0].href,s),i.query!==void 0&&(o.search+=(o.search?"&":"")+i.query),i.limit!==void 0&&o.searchParams.set("limit",i.limit.toString()),i.offset!==void 0&&o.searchParams.set("offset",i.offset.toString()),i.outputCrs!==void 0&&o.searchParams.set("crs",i.outputCrs),i.extent!==void 0&&i.extent.length===4&&o.searchParams.set("bbox",i.extent.join(",")),i.extentCrs!==void 0&&o.searchParams.set("bbox-crs",i.extentCrs),o.toString()}).catch(n=>{throw console.error("Error fetching collection items URL:",n),n})}getVectorTilesetUrl(e,i="WebMercatorQuad"){return this.getCollectionDocument(e).then(async n=>{const s=gt(n,"http://www.opengis.net/def/rel/ogc/1.0/tilesets-vector",this.baseUrl),a=await It(s),r=(await this.tileMatrixSetsFull).find(c=>c.id===i);if(!r)throw new Error(`The following tile matrix set does not exist on this endpoint: '${i}'.`);const o=a.tilesets.find(c=>c.tileMatrixSetURI===r.uri);if(!o)throw new Error(`The collection '${e}' does not support the tile matrix set '${i}'.`);const l=gt(o,"self",this.baseUrl);if(!l)throw new Error("No links found for the tileset");return l}).catch(n=>{throw console.error("Error fetching collection tileset URL:",n.message),n})}getMapTilesetUrl(e,i="WebMercatorQuad"){return this.getCollectionDocument(e).then(async n=>{const s=gt(n,"http://www.opengis.net/def/rel/ogc/1.0/tilesets-map",this.baseUrl),a=await It(s),r=(await this.tileMatrixSetsFull).find(c=>c.id===i);if(!r)throw new Error(`The following tile matrix set does not exist on this endpoint: '${i}'.`);const o=a.tilesets.find(c=>c.tileMatrixSetURI===r.uri);if(!o)throw new Error(`The collection '${e}' does not support the tile matrix set '${i}'.`);const l=gt(o,"self",this.baseUrl);if(!l)throw new Error("No links found for the tileset");return l}).catch(n=>{throw console.error("Error fetching collection tileset URL:",n.message),n})}async allStyles(e){const i=e?await this.getCollectionDocument(e):await this.root,n=gt(i,["styles","http://www.opengis.net/def/rel/ogc/1.0/styles"],this.baseUrl);if(!n)throw new Qt('Could not get styles: there is no relation of type "styles"');return(await It(n)).styles.map(Zc)}async getStyle(e,i){const n=await this.getStyleMetadataDocument(e,i);return n!=null&&n.stylesheets?By(n):Zc(n)}async getStylesheetUrl(e,i,n){var r,o,l;const s=await this.getStyleMetadataDocument(e,n);if(s.stylesheets)return(l=(o=(r=s==null?void 0:s.stylesheets)==null?void 0:r.find(u=>u.link.type===i&&u.link.rel==="stylesheet"))==null?void 0:o.link)==null?void 0:l.href;const a=gt(s,"stylesheet",this.baseUrl,i);if(!a)throw new Qt("Could not find stylesheet URL for given style ID and type.");return a}};const zy={name:"OgcApiEndpoint",components:{Async:Py,ItemsTree:fr,InfoList:ln},data:()=>({endpoint:null,endpointSummary:null,endpointCollections:null,url:"https://demo.ldproxy.net/zoomstack"}),computed:{loaded(){return this.endpoint&&this.loading===!1&&this.error===null}},methods:{createEndpoint(){this.endpoint=new qy(this.url),this.endpointSummary=Promise.all([this.endpoint.info,this.endpoint.hasTiles,this.endpoint.hasStyles,this.endpoint.hasRecords,this.endpoint.hasFeatures,this.endpoint.allCollections]).then(([t,e,i,n,s,a])=>({info:{...t,hasTiles:e,hasStyles:i,hasRecords:n,hasFeatures:s},collections:a}))}}},Hy={class:"d-flex flex-row my-4"},Yy=w("div",{class:"spacer-s"},null,-1);function $y(t,e,i,n,s,a){const r=ke("InfoList"),o=ke("ItemsTree"),l=ke("Async");return D(),K("div",null,[w("div",Hy,[Ti(w("input",{class:"form-control me-3",placeholder:"Enter an OGC API endpoint URL here","onUpdate:modelValue":e[0]||(e[0]=c=>t.url=c)},null,512),[[mr,t.url]]),Yy,w("button",{type:"button",class:"btn btn-primary",onClick:e[1]||(e[1]=c=>a.createEndpoint())}," Analyze ")]),t.endpointSummary?(D(),wt(l,{key:0,promise:t.endpointSummary},{then:Je(({result:c})=>[B(r,{info:c.info},null,8,["info"]),B(o,{items:c.collections,style:{"min-height":"200px"}},{default:Je(({item:u})=>[w("span",null,Ge(u),1)]),_:2},1032,["items"])]),_:1},8,["promise"])):De("",!0)])}const jy=We(zy,[["render",$y]]),Jy="modulepreload",Qy=function(t,e){return new URL(t,e).href},Xc={},e2=function(e,i,n){if(!i||i.length===0)return e();const s=document.getElementsByTagName("link");return Promise.all(i.map(a=>{if(a=Qy(a,n),a in Xc)return;Xc[a]=!0;const r=a.endsWith(".css"),o=r?'[rel="stylesheet"]':"";if(!!n)for(let u=s.length-1;u>=0;u--){const h=s[u];if(h.href===a&&(!r||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${o}`))return;const c=document.createElement("link");if(c.rel=r?"stylesheet":Jy,r||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),r)return new Promise((u,h)=>{c.addEventListener("load",u),c.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>e()).catch(a=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=a,window.dispatchEvent(r),!r.defaultPrevented)throw a})};function t2(t,e,i,n,s,a,r,o,l){const c={layer:i,style:n,tilematrixset:s,Service:"WMTS",Request:"GetTile",Format:l,TileMatrix:a,TileCol:o.toString(),TileRow:r.toString()};if(e==="REST"){let u=t;for(const h in c)u=u.replace(new RegExp(`{${h}}`,"ig"),c[h]);return u}else return Pi(t,c)}let i2=class{constructor(e){this._info=null,this._layers=null,this._matrixSets=null;const i=Pi(e,{SERVICE:"WMTS",REQUEST:"GetCapabilities"});this._capabilitiesPromise=ps(()=>G1(i),"WMTS","CAPABILITIES",i).then(({info:n,layers:s,matrixSets:a})=>{this._info=n,this._layers=s,this._matrixSets=a})}isReady(){return this._capabilitiesPromise.then(()=>this)}getServiceInfo(){return this._info}getLayers(){return this._layers}getMatrixSets(){return this._matrixSets}getMatrixSetByIdentifier(e){return this._matrixSets?this._matrixSets.find(i=>i.identifier===e)??null:null}getLayerByName(e){return this._layers?this._layers.find(i=>i.name===e)??null:null}getSingleLayerName(){return this._layers&&this._layers.length===1?this._layers[0].name:null}getLayerResourceLink(e,i){if(!this._layers)return null;const n=this.getLayerByName(e);let s=0;i&&(s=n.resourceLinks.findIndex(r=>r.format===i)||0);const a=n.resourceLinks[s];return i&&a.format!==i&&console.warn(`[ogc-client] Requested '${i}' format for the WMTS layer but it is not available in REST encoding, falling back to '${a.format}'`),a}getTileUrl(e,i,n,s,a,r,o){if(!this._layers)return null;const l=this.getLayerResourceLink(e,o);return t2(l.url,l.encoding,e,i,n,s,a,r,l.format)}getDefaultDimensions(e){if(!this._layers)return null;const i=this.getLayerByName(e);return i.dimensions?i.dimensions.reduce((n,s)=>({...n,[s.identifier]:s.defaultValue}),{}):{}}getOpenLayersTileGrid(e,i){if(!this._layers)return null;this.tileGridModule||(this.tileGridModule=e2(()=>import("./ol-tilegrid-9859603a.js"),[],import.meta.url).catch(r=>(console.warn(`[ogc-client] Cannot use getOpenLayersTileGrid, the 'ol' package is probably not available. +`,r),null)));const n=this.getLayerByName(e),s=n.matrixSets.find(r=>r.identifier===i)??n.matrixSets[0],a=this.getMatrixSetByIdentifier(s.identifier);return this.tileGridModule.then(({buildOpenLayersTileGrid:r})=>r(a,s.limits))}};class n2{constructor(e){this.propagationStopped,this.defaultPrevented,this.type=e,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}}const Ai=n2,Es={PROPERTYCHANGE:"propertychange"};class s2{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}}const ol=s2;function ll(t,e){return t>e?1:t0?s-1:s}return n-1}if(i>0){for(let s=1;s0||i&&r===0)})}function Xa(){return!0}function vr(){return!1}function Wa(){}function o2(t){let e=!1,i,n,s;return function(){const a=Array.prototype.slice.call(arguments);return(!e||this!==s||!_r(a,n))&&(e=!0,s=this,n=a,i=t.apply(this,arguments)),i}}function Nr(t){for(const e in t)delete t[e]}function l2(t){let e;for(e in t)return!1;return!e}class c2 extends ol{constructor(e){super(),this.eventTarget_=e,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(e,i){if(!e||!i)return;const n=this.listeners_||(this.listeners_={}),s=n[e]||(n[e]=[]);s.includes(i)||s.push(i)}dispatchEvent(e){const i=typeof e=="string",n=i?e:e.type,s=this.listeners_&&this.listeners_[n];if(!s)return;const a=i?new Ai(e):e;a.target||(a.target=this.eventTarget_||this);const r=this.dispatching_||(this.dispatching_={}),o=this.pendingRemovals_||(this.pendingRemovals_={});n in r||(r[n]=0,o[n]=0),++r[n];let l;for(let c=0,u=s.length;c0:!1}removeEventListener(e,i){if(!this.listeners_)return;const n=this.listeners_[e];if(!n)return;const s=n.indexOf(i);s!==-1&&(this.pendingRemovals_&&e in this.pendingRemovals_?(n[s]=Wa,++this.pendingRemovals_[e]):(n.splice(s,1),n.length===0&&delete this.listeners_[e]))}}const ul=c2,le={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"};function Ce(t,e,i,n,s){if(n&&n!==t&&(i=i.bind(n)),s){const r=i;i=function(){t.removeEventListener(e,i),r.apply(this,arguments)}}const a={target:t,type:e,listener:i};return t.addEventListener(e,i),a}function Ka(t,e,i,n){return Ce(t,e,i,n,!0)}function qe(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),Nr(t))}class xr extends ul{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(le.CHANGE)}getRevision(){return this.revision_}onInternal(e,i){if(Array.isArray(e)){const n=e.length,s=new Array(n);for(let a=0;a0;)this.pop()}extend(e){for(let i=0,n=e.length;ithis.getLength())throw new Error("Index out of bounds: "+e);this.unique_&&this.assertUnique_(i),this.array_.splice(e,0,i),this.updateLength_(),this.dispatchEvent(new aa(Pt.ADD,i,e))}pop(){return this.removeAt(this.getLength()-1)}push(e){this.unique_&&this.assertUnique_(e);const i=this.getLength();return this.insertAt(i,e),this.getLength()}remove(e){const i=this.array_;for(let n=0,s=i.length;n=this.getLength())return;const i=this.array_[e];return this.array_.splice(e,1),this.updateLength_(),this.dispatchEvent(new aa(Pt.REMOVE,i,e)),i}setAt(e,i){const n=this.getLength();if(e>=n){this.insertAt(e,i);return}if(e<0)throw new Error("Index out of bounds: "+e);this.unique_&&this.assertUnique_(i,e);const s=this.array_[e];this.array_[e]=i,this.dispatchEvent(new aa(Pt.REMOVE,s,e)),this.dispatchEvent(new aa(Pt.ADD,i,e))}updateLength_(){this.set(Kc.LENGTH,this.array_.length)}assertUnique_(e,i){for(let n=0,s=this.array_.length;ns&&(l=l|nt.RIGHT),oa&&(l=l|nt.ABOVE),l===nt.UNKNOWN&&(l=nt.INTERSECTING),l}function cn(){return[1/0,1/0,-1/0,-1/0]}function Gs(t,e,i,n,s){return s?(s[0]=t,s[1]=e,s[2]=i,s[3]=n,s):[t,e,i,n]}function wr(t){return Gs(1/0,1/0,-1/0,-1/0,t)}function x2(t,e){const i=t[0],n=t[1];return Gs(i,n,i,n,e)}function w2(t,e,i,n,s){const a=wr(s);return Od(a,t,e,i,n)}function yo(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function C2(t,e){return e[0]t[2]&&(t[2]=e[2]),e[1]t[3]&&(t[3]=e[3]),t}function xa(t,e){e[0]t[2]&&(t[2]=e[0]),e[1]t[3]&&(t[3]=e[1])}function Od(t,e,i,n,s){for(;ie[0]?n[0]=t[0]:n[0]=e[0],t[1]>e[1]?n[1]=t[1]:n[1]=e[1],t[2]=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function kr(t){return t[2]=r&&p<=l),!n&&a&nt.RIGHT&&!(s&nt.RIGHT)&&(y=m-(d-l)*f,n=y>=o&&y<=c),!n&&a&nt.BELOW&&!(s&nt.BELOW)&&(p=d-(m-o)/f,n=p>=r&&p<=l),!n&&a&nt.LEFT&&!(s&nt.LEFT)&&(y=m-(d-r)*f,n=y>=o&&y<=c)}return n}const Va={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]};var bt={name:"xyz",min:[0,0,0],channel:["X","Y","Z"],alias:["XYZ","ciexyz","cie1931"]};bt.whitepoint={2:{A:[109.85,100,35.585],C:[98.074,100,118.232],D50:[96.422,100,82.521],D55:[95.682,100,92.149],D65:[95.045592705167,100,108.9057750759878],D75:[94.972,100,122.638],F2:[99.187,100,67.395],F7:[95.044,100,108.755],F11:[100.966,100,64.37],E:[100,100,100]},10:{A:[111.144,100,35.2],C:[97.285,100,116.145],D50:[96.72,100,81.427],D55:[95.799,100,90.926],D65:[94.811,100,107.304],D75:[94.416,100,120.641],F2:[103.28,100,69.026],F7:[95.792,100,107.687],F11:[103.866,100,65.627],E:[100,100,100]}};bt.max=bt.whitepoint[2].D65;bt.rgb=function(t,e){e=e||bt.whitepoint[2].E;var i=t[0]/e[0],n=t[1]/e[1],s=t[2]/e[2],a,r,o;return a=i*3.240969941904521+n*-1.537383177570093+s*-.498610760293,r=i*-.96924363628087+n*1.87596750150772+s*.041555057407175,o=i*.055630079696993+n*-.20397695888897+s*1.056971514242878,a=a>.0031308?1.055*Math.pow(a,1/2.4)-.055:a=a*12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r=r*12.92,o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o=o*12.92,a=Math.min(Math.max(0,a),1),r=Math.min(Math.max(0,r),1),o=Math.min(Math.max(0,o),1),[a*255,r*255,o*255]};Va.xyz=function(t,e){var i=t[0]/255,n=t[1]/255,s=t[2]/255;i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92;var a=i*.41239079926595+n*.35758433938387+s*.18048078840183,r=i*.21263900587151+n*.71516867876775+s*.072192315360733,o=i*.019330818715591+n*.11919477979462+s*.95053215224966;return e=e||bt.whitepoint[2].E,[a*e[0],r*e[1],o*e[2]]};const Zd={name:"luv",min:[0,-134,-140],max:[100,224,122],channel:["lightness","u","v"],alias:["LUV","cieluv","cie1976"],xyz:function(t,e,i){var n,s,a,r,o,l,c,u,h,d,m,f,p;if(a=t[0],r=t[1],o=t[2],a===0)return[0,0,0];var y=.0011070564598794539;return e=e||"D65",i=i||2,h=bt.whitepoint[i][e][0],d=bt.whitepoint[i][e][1],m=bt.whitepoint[i][e][2],f=4*h/(h+15*d+3*m),p=9*d/(h+15*d+3*m),n=r/(13*a)+f||0,s=o/(13*a)+p||0,c=a>8?d*Math.pow((a+16)/116,3):d*a*y,l=c*9*n/(4*s)||0,u=c*(12-3*n-20*s)/(4*s)||0,[l,c,u]}};bt.luv=function(t,e,i){var n,s,a,r,o,l,c,u,h,d,m,f,p,y=.008856451679035631,_=903.2962962962961;e=e||"D65",i=i||2,h=bt.whitepoint[i][e][0],d=bt.whitepoint[i][e][1],m=bt.whitepoint[i][e][2],f=4*h/(h+15*d+3*m),p=9*d/(h+15*d+3*m),l=t[0],c=t[1],u=t[2],n=4*l/(l+15*c+3*u)||0,s=9*c/(l+15*c+3*u)||0;var v=c/d;return a=v<=y?_*v:116*Math.pow(v,1/3)-16,r=13*a*(n-f),o=13*a*(s-p),[a,r,o]};Zd.lchuv=function(t){var e=t[0],i=t[1],n=t[2],s=Math.sqrt(i*i+n*n),a=Math.atan2(n,i),r=a*360/2/Math.PI;return r<0&&(r+=360),[e,s,r]};bt.lchuv=function(t){return Zd.lchuv(bt.luv(t))};var I2={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const qc=c1(I2);var zc={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function T2(t){var u,h;var e,i=[],n=1,s;if(typeof t=="number")return{space:"rgb",values:[t>>>16,(t&65280)>>>8,t&255],alpha:1};if(typeof t=="number")return{space:"rgb",values:[t>>>16,(t&65280)>>>8,t&255],alpha:1};if(t=String(t).toLowerCase(),qc[t])i=qc[t].slice(),s="rgb";else if(t==="transparent")n=0,s="rgb",i=[0,0,0];else if(t[0]==="#"){var a=t.slice(1),r=a.length,o=r<=4;n=1,o?(i=[parseInt(a[0]+a[0],16),parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16)],r===4&&(n=parseInt(a[3]+a[3],16)/255)):(i=[parseInt(a[0]+a[1],16),parseInt(a[2]+a[3],16),parseInt(a[4]+a[5],16)],r===8&&(n=parseInt(a[6]+a[7],16)/255)),i[0]||(i[0]=0),i[1]||(i[1]=0),i[2]||(i[2]=0),s="rgb"}else if(e=/^((?:rgba?|hs[lvb]a?|hwba?|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms|oklch|oklab|color))\s*\(([^\)]*)\)/.exec(t)){var l=e[1];s=l.replace(/a$/,"");var c=s==="cmyk"?4:s==="gray"?1:3;i=e[2].trim().split(/\s*[,\/]\s*|\s+/),s==="color"&&(s=i.shift()),i=i.map(function(d,m){if(d[d.length-1]==="%")return d=parseFloat(d)/100,m===3?d:s==="rgb"?d*255:s[0]==="h"||s[0]==="l"&&!m?d*100:s==="lab"?d*125:s==="lch"?m<2?d*150:d*360:s[0]==="o"&&!m?d:s==="oklab"?d*.4:s==="oklch"?m<2?d*.4:d*360:d;if(s[m]==="h"||m===2&&s[s.length-1]==="h"){if(zc[d]!==void 0)return zc[d];if(d.endsWith("deg"))return parseFloat(d);if(d.endsWith("turn"))return parseFloat(d)*360;if(d.endsWith("grad"))return parseFloat(d)*360/400;if(d.endsWith("rad"))return parseFloat(d)*180/Math.PI}return d==="none"?0:parseFloat(d)}),n=i.length>c?i.pop():1}else/[0-9](?:\s|\/|,)/.test(t)&&(i=t.match(/([0-9]+)/g).map(function(d){return parseFloat(d)}),s=((h=(u=t.match(/([a-z])/ig))==null?void 0:u.join(""))==null?void 0:h.toLowerCase())||"rgb");return{space:s,values:i,alpha:n}}const Wr={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(t){var e=t[0]/360,i=t[1]/100,n=t[2]/100,s,a,r,o,l,c=0;if(i===0)return l=n*255,[l,l,l];for(a=n<.5?n*(1+i):n+i-n*i,s=2*n-a,o=[0,0,0];c<3;)r=e+1/3*-(c-1),r<0?r++:r>1&&r--,l=6*r<1?s+(a-s)*6*r:2*r<1?a:3*r<2?s+(a-s)*(2/3-r)*6:s,o[c++]=l*255;return o}};Va.hsl=function(t){var e=t[0]/255,i=t[1]/255,n=t[2]/255,s=Math.min(e,i,n),a=Math.max(e,i,n),r=a-s,o,l,c;return a===s?o=0:e===a?o=(i-n)/r:i===a?o=2+(n-e)/r:n===a&&(o=4+(e-i)/r),o=Math.min(o*60,360),o<0&&(o+=360),c=(s+a)/2,a===s?l=0:c<=.5?l=r/(a+s):l=r/(2-a-s),[o,l*100,c*100]};function R2(t){Array.isArray(t)&&t.raw&&(t=String.raw(...arguments)),t instanceof Number&&(t=+t);var e,i=T2(t);if(!i.space)return[];const n=i.space[0]==="h"?Wr.min:Va.min,s=i.space[0]==="h"?Wr.max:Va.max;return e=Array(3),e[0]=Math.min(Math.max(i.values[0],n[0]),s[0]),e[1]=Math.min(Math.max(i.values[1],n[1]),s[1]),e[2]=Math.min(Math.max(i.values[2],n[2]),s[2]),i.space[0]==="h"&&(e=Wr.rgb(e)),e.push(Math.min(Math.max(i.alpha,0),1)),e}function ze(t,e,i){return Math.min(Math.max(t,e),i)}function L2(t,e,i,n,s,a){const r=s-i,o=a-n;if(r!==0||o!==0){const l=((t-i)*r+(e-n)*o)/(r*r+o*o);l>1?(i=s,n=a):l>0&&(i+=r*l,n+=o*l)}return Dn(t,e,i,n)}function Dn(t,e,i,n){const s=i-t,a=n-e;return s*s+a*a}function S2(t){const e=t.length;for(let n=0;na&&(a=l,s=o)}if(a===0)return null;const r=t[s];t[s]=t[n],t[n]=r;for(let o=n+1;o=0;n--){i[n]=t[n][e]/t[n][n];for(let s=n-1;s>=0;s--)t[s][e]-=t[s][n]*i[n]}return i}function wa(t){return t*Math.PI/180}function Pn(t,e){const i=t%e;return i*e<0?i+e:i}function D2(t,e,i){return t+i*(e-t)}function Xd(t,e){const i=Math.pow(10,e);return Math.round(t*i)/i}function ra(t,e){return Math.floor(Xd(t,e))}function oa(t,e){return Math.ceil(Xd(t,e))}function P2(t){return typeof t=="string"?t:Z2(t)}const A2=1024,ss={};let Kr=0;function O2(t){if(ss.hasOwnProperty(t))return ss[t];if(Kr>=A2){let i=0;for(const n in ss)i++&3||(delete ss[n],--Kr)}const e=R2(t);if(e.length!==4)throw new Error('Failed to parse "'+t+'" as color');for(const i of e)if(isNaN(i))throw new Error('Failed to parse "'+t+'" as color');return G2(e),ss[t]=e,++Kr,e}function Hc(t){return Array.isArray(t)?t:O2(t)}function G2(t){return t[0]=ze(t[0]+.5|0,0,255),t[1]=ze(t[1]+.5|0,0,255),t[2]=ze(t[2]+.5|0,0,255),t[3]=ze(t[3],0,1),t}function Z2(t){let e=t[0];e!=(e|0)&&(e=e+.5|0);let i=t[1];i!=(i|0)&&(i=i+.5|0);let n=t[2];n!=(n|0)&&(n=n+.5|0);const s=t[3]===void 0?1:Math.round(t[3]*100)/100;return"rgba("+e+","+i+","+n+","+s+")"}class X2{constructor(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32}clear(){this.cache_={},this.cacheSize_=0}canExpireCache(){return this.cacheSize_>this.maxCacheSize_}expire(){if(this.canExpireCache()){let e=0;for(const i in this.cache_){const n=this.cache_[i];!(e++&3)&&!n.hasListener()&&(delete this.cache_[i],--this.cacheSize_)}}}get(e,i,n){const s=Yc(e,i,n);return s in this.cache_?this.cache_[s]:null}set(e,i,n,s){const a=Yc(e,i,n);this.cache_[a]=s,++this.cacheSize_}setSize(e){this.maxCacheSize_=e,this.expire()}}function Yc(t,e,i){const n=i?P2(i):"null";return e+":"+t+":"+n}const Wd=new X2,xe={OPACITY:"opacity",VISIBLE:"visible",EXTENT:"extent",Z_INDEX:"zIndex",MAX_RESOLUTION:"maxResolution",MIN_RESOLUTION:"minResolution",MAX_ZOOM:"maxZoom",MIN_ZOOM:"minZoom",SOURCE:"source",MAP:"map"};class W2 extends mi{constructor(e){super(),this.on,this.once,this.un,this.background_=e.background;const i=Object.assign({},e);typeof e.properties=="object"&&(delete i.properties,Object.assign(i,e.properties)),i[xe.OPACITY]=e.opacity!==void 0?e.opacity:1,Le(typeof i[xe.OPACITY]=="number","Layer opacity must be a number"),i[xe.VISIBLE]=e.visible!==void 0?e.visible:!0,i[xe.Z_INDEX]=e.zIndex,i[xe.MAX_RESOLUTION]=e.maxResolution!==void 0?e.maxResolution:1/0,i[xe.MIN_RESOLUTION]=e.minResolution!==void 0?e.minResolution:0,i[xe.MIN_ZOOM]=e.minZoom!==void 0?e.minZoom:-1/0,i[xe.MAX_ZOOM]=e.maxZoom!==void 0?e.maxZoom:1/0,this.className_=i.className!==void 0?i.className:"ol-layer",delete i.className,this.setProperties(i),this.state_=null}getBackground(){return this.background_}getClassName(){return this.className_}getLayerState(e){const i=this.state_||{layer:this,managed:e===void 0?!0:e},n=this.getZIndex();return i.opacity=ze(Math.round(this.getOpacity()*100)/100,0,1),i.visible=this.getVisible(),i.extent=this.getExtent(),i.zIndex=n===void 0&&!i.managed?1/0:n,i.maxResolution=this.getMaxResolution(),i.minResolution=Math.max(this.getMinResolution(),0),i.minZoom=this.getMinZoom(),i.maxZoom=this.getMaxZoom(),this.state_=i,i}getLayersArray(e){return Xe()}getLayerStatesArray(e){return Xe()}getExtent(){return this.get(xe.EXTENT)}getMaxResolution(){return this.get(xe.MAX_RESOLUTION)}getMinResolution(){return this.get(xe.MIN_RESOLUTION)}getMinZoom(){return this.get(xe.MIN_ZOOM)}getMaxZoom(){return this.get(xe.MAX_ZOOM)}getOpacity(){return this.get(xe.OPACITY)}getSourceState(){return Xe()}getVisible(){return this.get(xe.VISIBLE)}getZIndex(){return this.get(xe.Z_INDEX)}setBackground(e){this.background_=e,this.changed()}setExtent(e){this.set(xe.EXTENT,e)}setMaxResolution(e){this.set(xe.MAX_RESOLUTION,e)}setMinResolution(e){this.set(xe.MIN_RESOLUTION,e)}setMaxZoom(e){this.set(xe.MAX_ZOOM,e)}setMinZoom(e){this.set(xe.MIN_ZOOM,e)}setOpacity(e){Le(typeof e=="number","Layer opacity must be a number"),this.set(xe.OPACITY,e)}setVisible(e){this.set(xe.VISIBLE,e)}setZIndex(e){this.set(xe.Z_INDEX,e)}disposeInternal(){this.state_&&(this.state_.layer=null,this.state_=null),super.disposeInternal()}}const Kd=W2,Ei={PRERENDER:"prerender",POSTRENDER:"postrender",PRECOMPOSE:"precompose",POSTCOMPOSE:"postcompose",RENDERCOMPLETE:"rendercomplete"},Dt={ANIMATING:0,INTERACTING:1},Ot={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"},K2=42,dl=256,Is={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937};let V2=class{constructor(e){this.code_=e.code,this.units_=e.units,this.extent_=e.extent!==void 0?e.extent:null,this.worldExtent_=e.worldExtent!==void 0?e.worldExtent:null,this.axisOrientation_=e.axisOrientation!==void 0?e.axisOrientation:"enu",this.global_=e.global!==void 0?e.global:!1,this.canWrapX_=!!(this.global_&&this.extent_),this.getPointResolutionFunc_=e.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=e.metersPerUnit}canWrapX(){return this.canWrapX_}getCode(){return this.code_}getExtent(){return this.extent_}getUnits(){return this.units_}getMetersPerUnit(){return this.metersPerUnit_||Is[this.units_]}getWorldExtent(){return this.worldExtent_}getAxisOrientation(){return this.axisOrientation_}isGlobal(){return this.global_}setGlobal(e){this.global_=e,this.canWrapX_=!!(e&&this.extent_)}getDefaultTileGrid(){return this.defaultTileGrid_}setDefaultTileGrid(e){this.defaultTileGrid_=e}setExtent(e){this.extent_=e,this.canWrapX_=!!(this.global_&&e)}setWorldExtent(e){this.worldExtent_=e}setGetPointResolution(e){this.getPointResolutionFunc_=e}getPointResolutionFunc(){return this.getPointResolutionFunc_}};const ml=V2,Xs=6378137,xn=Math.PI*Xs,U2=[-xn,-xn,xn,xn],B2=[-180,-85,180,85],la=Xs*Math.log(Math.tan(Math.PI/2));class dn extends ml{constructor(e){super({code:e,units:"m",extent:U2,global:!0,worldExtent:B2,getPointResolution:function(i,n){return i/Math.cosh(n[1]/Xs)}})}}const $c=[new dn("EPSG:3857"),new dn("EPSG:102100"),new dn("EPSG:102113"),new dn("EPSG:900913"),new dn("http://www.opengis.net/def/crs/EPSG/0/3857"),new dn("http://www.opengis.net/gml/srs/epsg.xml#3857")];function q2(t,e,i){const n=t.length;i=i>1?i:2,e===void 0&&(i>2?e=t.slice():e=new Array(n));for(let s=0;sla?a=la:a<-la&&(a=-la),e[s+1]=a}return e}function z2(t,e,i){const n=t.length;i=i>1?i:2,e===void 0&&(i>2?e=t.slice():e=new Array(n));for(let s=0;s=0;--n)if(t[n]!=e[n]){i=!1;break}return i}function fl(t,e){const i=Math.cos(e),n=Math.sin(e),s=t[0]*i-t[1]*n,a=t[1]*i+t[0]*n;return t[0]=s,t[1]=a,t}function Q2(t,e){return t[0]*=e,t[1]*=e,t}function eb(t,e){if(e.canWrapX()){const i=Be(e.getExtent()),n=Ud(t,e,i);n&&(t[0]-=n*i)}return t}function Ud(t,e,i){const n=e.getExtent();let s=0;return e.canWrapX()&&(t[0]n[2])&&(i=i||Be(n),s=Math.floor((t[0]-n[0])/i)),s}const tb=63710088e-1;function Qc(t,e,i){i=i||tb;const n=wa(t[1]),s=wa(e[1]),a=(s-n)/2,r=wa(e[0]-t[0])/2,o=Math.sin(a)*Math.sin(a)+Math.sin(r)*Math.sin(r)*Math.cos(n)*Math.cos(s);return 2*i*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))}const Bd={info:1,warn:2,error:3,none:4};let ib=Bd.info;function qd(...t){ib>Bd.warn||console.warn(...t)}let xo=!0;function nb(t){xo=!(t===void 0?!0:t)}function pl(t,e){if(e!==void 0){for(let i=0,n=t.length;i=o?e[a+l]:r[l]}return i}}function rb(t,e,i,n){const s=ft(t),a=ft(e);Un(s,a,tu(i)),Un(a,s,tu(n))}function yn(t,e){if(t===e)return!0;const i=t.getUnits()===e.getUnits();return(t.getCode()===e.getCode()||yl(t,e)===pl)&&i}function yl(t,e){const i=t.getCode(),n=e.getCode();let s=Vd(i,n);return s||(s=zd),s}function Ba(t,e){const i=ft(t),n=ft(e);return yl(i,n)}function ob(t,e,i){return Ba(e,i)(t,void 0,t.length)}function Co(t,e){return t}function ri(t,e){return xo&&!Ua(t,[0,0])&&t[0]>=-180&&t[0]<=180&&t[1]>=-90&&t[1]<=90&&(xo=!1,qd("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),t}function lb(t,e){return t}function wn(t,e){return t}function iu(t,e,i){return function(n){let s,a;if(t.canWrapX()){const r=t.getExtent(),o=Be(r);n=n.slice(0),a=Ud(n,t,o),a&&(n[0]=n[0]-a*o),n[0]=ze(n[0],r[0],r[2]),n[1]=ze(n[1],r[1],r[3]),s=i(n)}else s=i(n);return a&&e.canWrapX()&&(s[0]+=a*Be(e.getExtent())),s}}function cb(){wo($c),wo(Jc),ab(Jc,$c,q2,z2)}cb();function nu(t,e,i){return function(n,s,a,r,o){if(!n)return;if(!s&&!e)return n;const l=e?0:a[0]*s,c=e?0:a[1]*s,u=o?o[0]:0,h=o?o[1]:0;let d=t[0]+l/2+u,m=t[2]-l/2+u,f=t[1]+c/2+h,p=t[3]-c/2+h;d>m&&(d=(m+d)/2,m=d),f>p&&(f=(p+f)/2,p=f);let y=ze(n[0],d,m),_=ze(n[1],f,p);if(r&&i&&s){const v=30*s;y+=-v*Math.log(1+Math.max(0,d-n[0])/v)+v*Math.log(1+Math.max(0,n[0]-m)/v),_+=-v*Math.log(1+Math.max(0,f-n[1])/v)+v*Math.log(1+Math.max(0,n[1]-p)/v)}return[y,_]}}function ub(t){return t}function bl(t,e,i,n){const s=Be(e)/i[0],a=Ut(e)/i[1];return n?Math.min(t,Math.max(s,a)):Math.min(t,Math.min(s,a))}function _l(t,e,i){let n=Math.min(t,e);const s=50;return n*=Math.log(1+s*Math.max(0,t/e-1))/s+1,i&&(n=Math.max(n,i),n/=Math.log(1+s*Math.max(0,i/t-1))/s+1),ze(n,i/2,e*2)}function hb(t,e,i,n){return e=e!==void 0?e:!0,function(s,a,r,o){if(s!==void 0){const l=t[0],c=t[t.length-1],u=i?bl(l,i,r,n):l;if(o)return e?_l(s,u,c):ze(s,c,u);const h=Math.min(u,s),d=Math.floor(cl(t,h,a));return t[d]>u&&d{if(!n)return this.getSimplifiedGeometry(i);const s=this.clone();return s.applyTransform(n),s.getSimplifiedGeometry(i)})}simplifyTransformed(e,i){return this.simplifyTransformedInternal(this.getRevision(),e,i)}clone(){return Xe()}closestPointXY(e,i,n,s){return Xe()}containsXY(e,i){const n=this.getClosestPoint([e,i]);return n[0]===e&&n[1]===i}getClosestPoint(e,i){return i=i||[NaN,NaN],this.closestPointXY(e[0],e[1],i,1/0),i}intersectsCoordinate(e){return this.containsXY(e[0],e[1])}computeExtent(e){return Xe()}getExtent(e){if(this.extentRevision_!=this.getRevision()){const i=this.computeExtent(this.extent_);(isNaN(i[0])||isNaN(i[1]))&&wr(i),this.extentRevision_=this.getRevision()}return k2(this.extent_,e)}rotate(e,i){Xe()}scale(e,i,n){Xe()}simplify(e){return this.getSimplifiedGeometry(e*e)}getSimplifiedGeometry(e){return Xe()}getType(){return Xe()}applyTransform(e){Xe()}intersectsExtent(e){return Xe()}translate(e,i){Xe()}transform(e,i){const n=ft(e),s=n.getUnits()=="tile-pixels"?function(a,r,o){const l=n.getExtent(),c=n.getWorldExtent(),u=Ut(c)/Ut(l);return ks(ru,c[0],c[3],u,-u,0,0,0),yb(a,0,a.length,o,ru,r),Ba(n,i)(a,r,o)}:Ba(n,i);return this.applyTransform(s),this}}const xb=Nb;class wb extends xb{constructor(){super(),this.layout="XY",this.stride=2,this.flatCoordinates}computeExtent(e){return w2(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e)}getCoordinates(){return Xe()}getFirstCoordinate(){return this.flatCoordinates.slice(0,this.stride)}getFlatCoordinates(){return this.flatCoordinates}getLastCoordinate(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)}getLayout(){return this.layout}getSimplifiedGeometry(e){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),e<0||this.simplifiedGeometryMaxMinSquaredTolerance!==0&&e<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;const i=this.getSimplifiedGeometryInternal(e);return i.getFlatCoordinates().length1)h=i;else if(d>0){for(let m=0;ms&&(s=c),a=o,r=l}return s}function Fb(t,e,i,n,s){for(let a=0,r=i.length;a0;){const h=c.pop(),d=c.pop();let m=0;const f=t[d],p=t[d+1],y=t[h],_=t[h+1];for(let v=d+n;vm&&(u=v,m=F)}m>s&&(l[(u-e)/n]=1,d+n0&&p>m)&&(f<0&&y0&&y>f)){c=h,u=d;continue}a[r++]=c,a[r++]=u,o=c,l=u,c=h,u=d}return a[r++]=c,a[r++]=u,r}function Rb(t,e,i,n,s,a,r,o){for(let l=0,c=i.length;la&&(c-o)*(a-l)-(s-o)*(u-l)>0&&r++:u<=a&&(c-o)*(a-l)-(s-o)*(u-l)<0&&r--,o=c,l=u}return r!==0}function im(t,e,i,n,s,a){if(i.length===0||!Hi(t,e,i[0],n,s,a))return!1;for(let r=1,o=i.length;r_&&(c=(u+h)/2,im(t,e,i,n,c,f)&&(y=c,_=v)),u=h}return isNaN(y)&&(y=s[a]),r?(r.push(y,f,_),r):[y,f,_]}function Gb(t,e,i,n,s){let a;for(e+=n;e=s[0]&&a[2]<=s[2]||a[1]>=s[1]&&a[3]<=s[3]?!0:Gb(t,e,i,n,function(r,o){return M2(s,r,o)}):!1}function sm(t,e,i,n,s){return!!(nm(t,e,i,n,s)||Hi(t,e,i,n,s[0],s[1])||Hi(t,e,i,n,s[0],s[3])||Hi(t,e,i,n,s[2],s[1])||Hi(t,e,i,n,s[2],s[3]))}function Zb(t,e,i,n,s){if(!sm(t,e,i[0],n,s))return!1;if(i.length===1)return!0;for(let a=1,r=i.length;a0}function Wb(t,e,i,n,s){s=s!==void 0?s:!1;for(let a=0,r=i.length;a1&&typeof arguments[i-1]=="function"&&(n=arguments[i-1],--i);let s=0;for(;s0}getInteracting(){return this.hints_[Dt.INTERACTING]>0}cancelAnimations(){this.setHint(Dt.ANIMATING,-this.hints_[Dt.ANIMATING]);let e;for(let i=0,n=this.animations_.length;i=0;--n){const s=this.animations_[n];let a=!0;for(let r=0,o=s.length;r0?c/l.duration:1;u>=1?(l.complete=!0,u=1):a=!1;const h=l.easing(u);if(l.sourceCenter){const d=l.sourceCenter[0],m=l.sourceCenter[1],f=l.targetCenter[0],p=l.targetCenter[1];this.nextCenter_=l.targetCenter;const y=d+h*(f-d),_=m+h*(p-m);this.targetCenter_=[y,_]}if(l.sourceResolution&&l.targetResolution){const d=h===1?l.targetResolution:l.sourceResolution+h*(l.targetResolution-l.sourceResolution);if(l.anchor){const m=this.getViewportSize_(this.getRotation()),f=this.constraints_.resolution(d,0,m,!0);this.targetCenter_=this.calculateCenterZoom(f,l.anchor)}this.nextResolution_=l.targetResolution,this.targetResolution_=d,this.applyTargetState_(!0)}if(l.sourceRotation!==void 0&&l.targetRotation!==void 0){const d=h===1?Pn(l.targetRotation+Math.PI,2*Math.PI)-Math.PI:l.sourceRotation+h*(l.targetRotation-l.sourceRotation);if(l.anchor){const m=this.constraints_.rotation(d,!0);this.targetCenter_=this.calculateCenterRotate(m,l.anchor)}this.nextRotation_=l.targetRotation,this.targetRotation_=d}if(this.applyTargetState_(!0),i=!0,!l.complete)break}if(a){this.animations_[n]=null,this.setHint(Dt.ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const r=s[0].callback;r&&ca(r,!0)}}this.animations_=this.animations_.filter(Boolean),i&&this.updateAnimationKey_===void 0&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}calculateCenterRotate(e,i){let n;const s=this.getCenterInternal();return s!==void 0&&(n=[s[0]-i[0],s[1]-i[1]],fl(n,e-this.getRotation()),J2(n,i)),n}calculateCenterZoom(e,i){let n;const s=this.getCenterInternal(),a=this.getResolution();if(s!==void 0&&a!==void 0){const r=i[0]-e*(i[0]-s[0])/a,o=i[1]-e*(i[1]-s[1])/a;n=[r,o]}return n}getViewportSize_(e){const i=this.viewportSize_;if(e){const n=i[0],s=i[1];return[Math.abs(n*Math.cos(e))+Math.abs(s*Math.sin(e)),Math.abs(n*Math.sin(e))+Math.abs(s*Math.cos(e))]}return i}setViewportSize(e){this.viewportSize_=Array.isArray(e)?e.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)}getCenter(){const e=this.getCenterInternal();return e&&Co(e,this.getProjection())}getCenterInternal(){return this.get(Ot.CENTER)}getConstraints(){return this.constraints_}getConstrainResolution(){return this.get("constrainResolution")}getHints(e){return e!==void 0?(e[0]=this.hints_[0],e[1]=this.hints_[1],e):this.hints_.slice()}calculateExtent(e){const i=this.calculateExtentInternal(e);return lb(i,this.getProjection())}calculateExtentInternal(e){e=e||this.getViewportSizeMinusPadding_();const i=this.getCenterInternal();Le(i,"The view center is not defined");const n=this.getResolution();Le(n!==void 0,"The view resolution is not defined");const s=this.getRotation();return Le(s!==void 0,"The view rotation is not defined"),_o(i,n,s,e)}getMaxResolution(){return this.maxResolution_}getMinResolution(){return this.minResolution_}getMaxZoom(){return this.getZoomForResolution(this.minResolution_)}setMaxZoom(e){this.applyOptions_(this.getUpdatedOptions_({maxZoom:e}))}getMinZoom(){return this.getZoomForResolution(this.maxResolution_)}setMinZoom(e){this.applyOptions_(this.getUpdatedOptions_({minZoom:e}))}setConstrainResolution(e){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:e}))}getProjection(){return this.projection_}getResolution(){return this.get(Ot.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(e,i){return this.getResolutionForExtentInternal(wn(e,this.getProjection()),i)}getResolutionForExtentInternal(e,i){i=i||this.getViewportSizeMinusPadding_();const n=Be(e)/i[0],s=Ut(e)/i[1];return Math.max(n,s)}getResolutionForValueFunction(e){e=e||2;const i=this.getConstrainedResolution(this.maxResolution_),n=this.minResolution_,s=Math.log(i/n)/Math.log(e);return function(a){return i/Math.pow(e,a*s)}}getRotation(){return this.get(Ot.ROTATION)}getValueForResolutionFunction(e){const i=Math.log(e||2),n=this.getConstrainedResolution(this.maxResolution_),s=this.minResolution_,a=Math.log(n/s)/i;return function(r){return Math.log(n/r)/i/a}}getViewportSizeMinusPadding_(e){let i=this.getViewportSize_(e);const n=this.padding_;return n&&(i=[i[0]-n[1]-n[3],i[1]-n[0]-n[2]]),i}getState(){const e=this.getProjection(),i=this.getResolution(),n=this.getRotation();let s=this.getCenterInternal();const a=this.padding_;if(a){const r=this.getViewportSizeMinusPadding_();s=Ur(s,this.getViewportSize_(),[r[0]/2+a[3],r[1]/2+a[0]],i,n)}return{center:s.slice(0),projection:e!==void 0?e:null,resolution:i,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:n,zoom:this.getZoom()}}getViewStateAndExtent(){return{viewState:this.getState(),extent:this.calculateExtent()}}getZoom(){let e;const i=this.getResolution();return i!==void 0&&(e=this.getZoomForResolution(i)),e}getZoomForResolution(e){let i=this.minZoom_||0,n,s;if(this.resolutions_){const a=cl(this.resolutions_,e,1);i=a,n=this.resolutions_[a],a==this.resolutions_.length-1?s=2:s=n/this.resolutions_[a+1]}else n=this.maxResolution_,s=this.zoomFactor_;return i+Math.log(n/e)/Math.log(s)}getResolutionForZoom(e){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;const i=ze(Math.floor(e),0,this.resolutions_.length-2),n=this.resolutions_[i]/this.resolutions_[i+1];return this.resolutions_[i]/Math.pow(n,ze(e-i,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,e-this.minZoom_)}fit(e,i){let n;if(Le(Array.isArray(e)||typeof e.getSimplifiedGeometry=="function","Invalid extent or geometry provided as `geometry`"),Array.isArray(e)){Le(!kr(e),"Cannot fit empty extent provided as `geometry`");const s=wn(e,this.getProjection());n=hu(s)}else if(e.getType()==="Circle"){const s=wn(e.getExtent(),this.getProjection());n=hu(s),n.rotate(this.getRotation(),Ms(s))}else n=e;this.fitInternal(n,i)}rotatedExtentForGeometry(e){const i=this.getRotation(),n=Math.cos(i),s=Math.sin(-i),a=e.getFlatCoordinates(),r=e.getStride();let o=1/0,l=1/0,c=-1/0,u=-1/0;for(let h=0,d=a.length;h{this.dispatchEvent("sourceready")},0))),this.changed()}getFeatures(e){return this.renderer_?this.renderer_.getFeatures(e):Promise.resolve([])}getData(e){return!this.renderer_||!this.rendered?null:this.renderer_.getData(e)}isVisible(e){let i;const n=this.getMapInternal();!e&&n&&(e=n.getView()),e instanceof Jt?i={viewState:e.getState(),extent:e.calculateExtent()}:i=e,!i.layerStatesArray&&n&&(i.layerStatesArray=n.getLayerGroup().getLayerStatesArray());let s;i.layerStatesArray?s=i.layerStatesArray.find(r=>r.layer===this):s=this.getLayerState();const a=this.getExtent();return xl(s,i.viewState)&&(!a||Zs(a,i.extent))}getAttributions(e){if(!this.isVisible(e))return[];let i;const n=this.getSource();if(n&&(i=n.getAttributions()),!i)return[];const s=e instanceof Jt?e.getViewStateAndExtent():e;let a=i(s);return Array.isArray(a)||(a=[a]),a}render(e,i){const n=this.getRenderer();return n.prepareFrame(e)?(this.rendered=!0,n.renderFrame(e,i)):null}unrender(){this.rendered=!1}setMapInternal(e){e||this.unrender(),this.set(xe.MAP,e)}getMapInternal(){return this.get(xe.MAP)}setMap(e){this.mapPrecomposeKey_&&(qe(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),e||this.changed(),this.mapRenderKey_&&(qe(this.mapRenderKey_),this.mapRenderKey_=null),e&&(this.mapPrecomposeKey_=Ce(e,Ei.PRECOMPOSE,function(i){const s=i.frameState.layerStatesArray,a=this.getLayerState(!1);Le(!s.some(function(r){return r.layer===a.layer}),"A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both."),s.push(a)},this),this.mapRenderKey_=Ce(this,le.CHANGE,e.render,e),this.changed())}setSource(e){this.set(xe.SOURCE,e)}getRenderer(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_}hasRenderer(){return!!this.renderer_}createRenderer(){return null}disposeInternal(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_),this.setSource(null),super.disposeInternal()}}function xl(t,e){if(!t.visible)return!1;const i=e.resolution;if(i=t.maxResolution)return!1;const n=e.zoom;return n>t.minZoom&&n<=t.maxZoom}const wl=zb;class Hb extends ol{constructor(e){super(),this.map_=e}dispatchRenderEvent(e,i){Xe()}calculateMatrices2D(e){const i=e.viewState,n=e.coordinateToPixelTransform,s=e.pixelToCoordinateTransform;ks(n,e.size[0]/2,e.size[1]/2,1/i.resolution,-1/i.resolution,-i.rotation,-i.center[0],-i.center[1]),Dd(s,n)}forEachFeatureAtCoordinate(e,i,n,s,a,r,o,l){let c;const u=i.viewState;function h(x,F,L,$){return a.call(r,F,x?L:null,$)}const d=u.projection,m=eb(e.slice(),d),f=[[0,0]];if(d.canWrapX()&&s){const x=d.getExtent(),F=Be(x);f.push([-F,0],[F,0])}const p=i.layerStatesArray,y=p.length,_=[],v=[];for(let x=0;x=0;--F){const L=p[F],$=L.layer;if($.hasRenderer()&&xl(L,u)&&o.call(l,$)){const H=$.getRenderer(),re=$.getSource();if(H&&re){const oe=re.getWrapX()?m:e,_e=h.bind(null,L.managed);v[0]=oe[0]+f[x][0],v[1]=oe[1]+f[x][1],c=H.forEachFeatureAtCoordinate(v,i,n,_e,_)}if(c)return c}}if(_.length===0)return;const C=1/_.length;return _.forEach((x,F)=>x.distanceSq+=F*C),_.sort((x,F)=>x.distanceSq-F.distanceSq),_.some(x=>c=x.callback(x.feature,x.layer,x.geometry)),c}hasFeatureAtCoordinate(e,i,n,s,a,r){return this.forEachFeatureAtCoordinate(e,i,n,s,Xa,this,a,r)!==void 0}getMap(){return this.map_}renderFrame(e){Xe()}flushDeclutterItems(e){}scheduleExpireIconCache(e){Wd.canExpireCache()&&e.postRenderFunctions.push(Yb)}}function Yb(t,e){Wd.expire()}const $b=Hb;class jb extends Ai{constructor(e,i,n,s){super(e),this.inversePixelTransform=i,this.frameState=n,this.context=s}}const rm=jb,ua="ol-hidden",Mr="ol-unselectable",Cl="ol-control",du="ol-collapsed";function Bn(t,e,i,n){let s;return i&&i.length?s=i.shift():Ld?s=new OffscreenCanvas(t||300,e||300):s=document.createElement("canvas"),t&&(s.width=t),e&&(s.height=e),s.getContext("2d",n)}function Fl(t){const e=t.canvas;e.width=1,e.height=1,t.clearRect(0,0,1,1)}function mu(t,e){const i=e.parentNode;i&&i.replaceChild(t,e)}function Fo(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}function Jb(t){for(;t.lastChild;)t.removeChild(t.lastChild)}function Qb(t,e){const i=t.childNodes;for(let n=0;;++n){const s=i[n],a=e[n];if(!s&&!a)break;if(s!==a){if(!s){t.appendChild(a);continue}if(!a){t.removeChild(s),--n;continue}t.insertBefore(a,s)}}}const e5=new mi;class t5 extends $b{constructor(e){super(e),this.fontChangeListenerKey_=Ce(e5,Es.PROPERTYCHANGE,e.redrawText.bind(e)),this.element_=document.createElement("div");const i=this.element_.style;i.position="absolute",i.width="100%",i.height="100%",i.zIndex="0",this.element_.className=Mr+" ol-layers";const n=e.getViewport();n.insertBefore(this.element_,n.firstChild||null),this.children_=[],this.renderedVisible_=!0,this.declutterLayers_=[]}dispatchRenderEvent(e,i){const n=this.getMap();if(n.hasListener(e)){const s=new rm(e,void 0,i);n.dispatchEvent(s)}}disposeInternal(){qe(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),super.disposeInternal()}renderFrame(e){if(!e){this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1);return}this.calculateMatrices2D(e),this.dispatchRenderEvent(Ei.PRECOMPOSE,e);const i=e.layerStatesArray.sort(function(r,o){return r.zIndex-o.zIndex}),n=e.viewState;this.children_.length=0;const s=this.declutterLayers_;s.length=0;let a=null;for(let r=0,o=i.length;r=0;--n)i[n].renderDeclutter(e);i.length=0}}const i5=t5;class Ni extends Ai{constructor(e,i){super(e),this.layer=i}}const Br={LAYERS:"layers"};class El extends Kd{constructor(e){e=e||{};const i=Object.assign({},e);delete i.layers;let n=e.layers;super(i),this.on,this.once,this.un,this.layersListenerKeys_=[],this.listenerKeys_={},this.addChangeListener(Br.LAYERS,this.handleLayersChanged_),n?Array.isArray(n)?n=new ci(n.slice(),{unique:!0}):Le(typeof n.getArray=="function","Expected `layers` to be an array or a `Collection`"):n=new ci(void 0,{unique:!0}),this.setLayers(n)}handleLayerChange_(){this.changed()}handleLayersChanged_(){this.layersListenerKeys_.forEach(qe),this.layersListenerKeys_.length=0;const e=this.getLayers();this.layersListenerKeys_.push(Ce(e,Pt.ADD,this.handleLayersAdd_,this),Ce(e,Pt.REMOVE,this.handleLayersRemove_,this));for(const n in this.listenerKeys_)this.listenerKeys_[n].forEach(qe);Nr(this.listenerKeys_);const i=e.getArray();for(let n=0,s=i.length;n{this.clickTimeoutId_=void 0;const n=new bi(Ze.SINGLECLICK,this.map_,e);this.dispatchEvent(n)},250)}updateActivePointers_(e){const i=e,n=i.pointerId;if(i.type==Ze.POINTERUP||i.type==Ze.POINTERCANCEL){delete this.trackedTouches_[n];for(const s in this.trackedTouches_)if(this.trackedTouches_[s].target!==i.target){delete this.trackedTouches_[s];break}}else(i.type==Ze.POINTERDOWN||i.type==Ze.POINTERMOVE)&&(this.trackedTouches_[n]=i);this.activePointers_=Object.values(this.trackedTouches_)}handlePointerUp_(e){this.updateActivePointers_(e);const i=new bi(Ze.POINTERUP,this.map_,e,void 0,void 0,this.activePointers_);this.dispatchEvent(i),this.emulateClicks_&&!i.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(e)&&this.emulateClick_(this.down_),this.activePointers_.length===0&&(this.dragListenerKeys_.forEach(qe),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)}isMouseActionButton_(e){return e.button===0}handlePointerDown_(e){this.emulateClicks_=this.activePointers_.length===0,this.updateActivePointers_(e);const i=new bi(Ze.POINTERDOWN,this.map_,e,void 0,void 0,this.activePointers_);if(this.dispatchEvent(i),this.down_=new PointerEvent(e.type,e),Object.defineProperty(this.down_,"target",{writable:!1,value:e.target}),this.dragListenerKeys_.length===0){const n=this.map_.getOwnerDocument();this.dragListenerKeys_.push(Ce(n,Ze.POINTERMOVE,this.handlePointerMove_,this),Ce(n,Ze.POINTERUP,this.handlePointerUp_,this),Ce(this.element_,Ze.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==n&&this.dragListenerKeys_.push(Ce(this.element_.getRootNode(),Ze.POINTERUP,this.handlePointerUp_,this))}}handlePointerMove_(e){if(this.isMoving_(e)){this.updateActivePointers_(e),this.dragging_=!0;const i=new bi(Ze.POINTERDRAG,this.map_,e,this.dragging_,void 0,this.activePointers_);this.dispatchEvent(i)}}relayMoveEvent_(e){this.originalPointerMoveEvent_=e;const i=!!(this.down_&&this.isMoving_(e));this.dispatchEvent(new bi(Ze.POINTERMOVE,this.map_,e,i))}handleTouchMove_(e){const i=this.originalPointerMoveEvent_;(!i||i.defaultPrevented)&&(typeof e.cancelable!="boolean"||e.cancelable===!0)&&e.preventDefault()}isMoving_(e){return this.dragging_||Math.abs(e.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(e.clientY-this.down_.clientY)>this.moveTolerance_}disposeInternal(){this.relayedListenerKey_&&(qe(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(le.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(qe(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(qe),this.dragListenerKeys_.length=0,this.element_=null,super.disposeInternal()}}const r5=a5,_i={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend",LOADSTART:"loadstart",LOADEND:"loadend"},lt={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"},za=1/0;class o5{constructor(e,i){this.priorityFunction_=e,this.keyFunction_=i,this.elements_=[],this.priorities_=[],this.queuedElements_={}}clear(){this.elements_.length=0,this.priorities_.length=0,Nr(this.queuedElements_)}dequeue(){const e=this.elements_,i=this.priorities_,n=e[0];e.length==1?(e.length=0,i.length=0):(e[0]=e.pop(),i[0]=i.pop(),this.siftUp_(0));const s=this.keyFunction_(n);return delete this.queuedElements_[s],n}enqueue(e){Le(!(this.keyFunction_(e)in this.queuedElements_),"Tried to enqueue an `element` that was already added to the queue");const i=this.priorityFunction_(e);return i!=za?(this.elements_.push(e),this.priorities_.push(i),this.queuedElements_[this.keyFunction_(e)]=!0,this.siftDown_(0,this.elements_.length-1),!0):!1}getCount(){return this.elements_.length}getLeftChildIndex_(e){return e*2+1}getRightChildIndex_(e){return e*2+2}getParentIndex_(e){return e-1>>1}heapify_(){let e;for(e=(this.elements_.length>>1)-1;e>=0;e--)this.siftUp_(e)}isEmpty(){return this.elements_.length===0}isKeyQueued(e){return e in this.queuedElements_}isQueued(e){return this.isKeyQueued(this.keyFunction_(e))}siftUp_(e){const i=this.elements_,n=this.priorities_,s=i.length,a=i[e],r=n[e],o=e;for(;e>1;){const l=this.getLeftChildIndex_(e),c=this.getRightChildIndex_(e),u=ce;){const o=this.getParentIndex_(i);if(s[o]>r)n[i]=n[o],s[i]=s[o],i=o;else break}n[i]=a,s[i]=r}reprioritize(){const e=this.priorityFunction_,i=this.elements_,n=this.priorities_;let s=0;const a=i.length;let r,o,l;for(o=0;o0;)a=this.dequeue()[0],r=a.getKey(),s=a.getState(),s===Q.IDLE&&!(r in this.tilesLoadingKeys_)&&(this.tilesLoadingKeys_[r]=!0,++this.tilesLoading_,++n,a.load())}}const u5=c5;function h5(t,e,i,n,s){if(!t||!(i in t.wantedTiles)||!t.wantedTiles[i][e.getKey()])return za;const a=t.viewState.center,r=n[0]-a[0],o=n[1]-a[1];return 65536*Math.log(s)+Math.sqrt(r*r+o*o)/s}class d5 extends mi{constructor(e){super();const i=e.element;i&&!e.target&&!i.style.pointerEvents&&(i.style.pointerEvents="auto"),this.element=i||null,this.target_=null,this.map_=null,this.listenerKeys=[],e.render&&(this.render=e.render),e.target&&this.setTarget(e.target)}disposeInternal(){Fo(this.element),super.disposeInternal()}getMap(){return this.map_}setMap(e){this.map_&&Fo(this.element);for(let i=0,n=this.listenerKeys.length;is.getAttributions(e)))),n=!this.getMap().getAllLayers().some(s=>s.getSource()&&s.getSource().getAttributionsCollapsible()===!1);return this.overrideCollapsible_||this.setCollapsible(n),i}updateElement_(e){if(!e){this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1);return}const i=this.collectSourceAttributions_(e),n=i.length>0;if(this.renderedVisible_!=n&&(this.element.style.display=n?"":"none",this.renderedVisible_=n),!_r(i,this.renderedAttributions_)){Jb(this.ulElement_);for(let s=0,a=i.length;s0&&n%(2*Math.PI)!==0?i.animate({rotation:0,duration:this.duration_,easing:Qn}):i.setRotation(0))}render(e){const i=e.frameState;if(!i)return;const n=i.viewState.rotation;if(n!=this.rotation_){const s="rotate("+n+"rad)";if(this.autoHide_){const a=this.element.classList.contains(ua);!a&&n===0?this.element.classList.add(ua):a&&n!==0&&this.element.classList.remove(ua)}this.label_.style.transform=s}this.rotation_=n}}const g5=p5;class y5 extends kl{constructor(e){e=e||{},super({element:document.createElement("div"),target:e.target});const i=e.className!==void 0?e.className:"ol-zoom",n=e.delta!==void 0?e.delta:1,s=e.zoomInClassName!==void 0?e.zoomInClassName:i+"-in",a=e.zoomOutClassName!==void 0?e.zoomOutClassName:i+"-out",r=e.zoomInLabel!==void 0?e.zoomInLabel:"+",o=e.zoomOutLabel!==void 0?e.zoomOutLabel:"–",l=e.zoomInTipLabel!==void 0?e.zoomInTipLabel:"Zoom in",c=e.zoomOutTipLabel!==void 0?e.zoomOutTipLabel:"Zoom out",u=document.createElement("button");u.className=s,u.setAttribute("type","button"),u.title=l,u.appendChild(typeof r=="string"?document.createTextNode(r):r),u.addEventListener(le.CLICK,this.handleClick_.bind(this,n),!1);const h=document.createElement("button");h.className=a,h.setAttribute("type","button"),h.title=c,h.appendChild(typeof o=="string"?document.createTextNode(o):o),h.addEventListener(le.CLICK,this.handleClick_.bind(this,-n),!1);const d=i+" "+Mr+" "+Cl,m=this.element;m.className=d,m.appendChild(u),m.appendChild(h),this.duration_=e.duration!==void 0?e.duration:250}handleClick_(e,i){i.preventDefault(),this.zoomByDelta_(e)}zoomByDelta_(e){const n=this.getMap().getView();if(!n)return;const s=n.getZoom();if(s!==void 0){const a=n.getConstrainedZoom(s+e);this.duration_>0?(n.getAnimating()&&n.cancelAnimations(),n.animate({zoom:a,duration:this.duration_,easing:Qn})):n.setZoom(a)}}}const b5=y5;function _5(t){t=t||{};const e=new ci;return(t.zoom!==void 0?t.zoom:!0)&&e.push(new b5(t.zoomOptions)),(t.rotate!==void 0?t.rotate:!0)&&e.push(new g5(t.rotateOptions)),(t.attribution!==void 0?t.attribution:!0)&&e.push(new f5(t.attributionOptions)),e}const fu={ACTIVE:"active"};class v5 extends mi{constructor(e){super(),this.on,this.once,this.un,e&&e.handleEvent&&(this.handleEvent=e.handleEvent),this.map_=null,this.setActive(!0)}getActive(){return this.get(fu.ACTIVE)}getMap(){return this.map_}handleEvent(e){return!0}setActive(e){this.set(fu.ACTIVE,e)}setMap(e){this.map_=e}}function N5(t,e,i){const n=t.getCenterInternal();if(n){const s=[n[0]+e[0],n[1]+e[1]];t.animateInternal({duration:i!==void 0?i:250,easing:gb,center:t.getConstrainedCenter(s)})}}function Ml(t,e,i,n){const s=t.getZoom();if(s===void 0)return;const a=t.getConstrainedZoom(s+e),r=t.getResolutionForZoom(a);t.getAnimating()&&t.cancelAnimations(),t.animate({resolution:r,anchor:i,duration:n!==void 0?n:250,easing:Qn})}const Ws=v5;class x5 extends Ws{constructor(e){super(),e=e||{},this.delta_=e.delta?e.delta:1,this.duration_=e.duration!==void 0?e.duration:250}handleEvent(e){let i=!1;if(e.type==Ze.DBLCLICK){const n=e.originalEvent,s=e.map,a=e.coordinate,r=n.shiftKey?-this.delta_:this.delta_,o=s.getView();Ml(o,r,a,this.duration_),n.preventDefault(),i=!0}return!i}}const w5=x5;class C5 extends Ws{constructor(e){e=e||{},super(e),e.handleDownEvent&&(this.handleDownEvent=e.handleDownEvent),e.handleDragEvent&&(this.handleDragEvent=e.handleDragEvent),e.handleMoveEvent&&(this.handleMoveEvent=e.handleMoveEvent),e.handleUpEvent&&(this.handleUpEvent=e.handleUpEvent),e.stopDown&&(this.stopDown=e.stopDown),this.handlingDownUpSequence=!1,this.targetPointers=[]}getPointerCount(){return this.targetPointers.length}handleDownEvent(e){return!1}handleDragEvent(e){}handleEvent(e){if(!e.originalEvent)return!0;let i=!1;if(this.updateTrackedPointers_(e),this.handlingDownUpSequence){if(e.type==Ze.POINTERDRAG)this.handleDragEvent(e),e.originalEvent.preventDefault();else if(e.type==Ze.POINTERUP){const n=this.handleUpEvent(e);this.handlingDownUpSequence=n&&this.targetPointers.length>0}}else if(e.type==Ze.POINTERDOWN){const n=this.handleDownEvent(e);this.handlingDownUpSequence=n,i=this.stopDown(n)}else e.type==Ze.POINTERMOVE&&this.handleMoveEvent(e);return!i}handleMoveEvent(e){}handleUpEvent(e){return!1}stopDown(e){return e}updateTrackedPointers_(e){e.activePointers&&(this.targetPointers=e.activePointers)}}function Il(t){const e=t.length;let i=0,n=0;for(let s=0;s0&&this.condition_(e)){const n=e.map.getView();return this.lastCentroid=null,n.getAnimating()&&n.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1}}const L5=R5;class S5 extends Ks{constructor(e){e=e||{},super({stopDown:vr}),this.condition_=e.condition?e.condition:F5,this.lastAngle_=void 0,this.duration_=e.duration!==void 0?e.duration:250}handleDragEvent(e){if(!qr(e))return;const i=e.map,n=i.getView();if(n.getConstraints().rotation===vl)return;const s=i.getSize(),a=e.pixel,r=Math.atan2(s[1]/2-a[1],a[0]-s[0]/2);if(this.lastAngle_!==void 0){const o=r-this.lastAngle_;n.adjustRotationInternal(-o)}this.lastAngle_=r}handleUpEvent(e){return qr(e)?(e.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(e){return qr(e)&&lm(e)&&this.condition_(e)?(e.map.getView().beginInteraction(),this.lastAngle_=void 0,!0):!1}}const D5=S5;class P5 extends ol{constructor(e){super(),this.geometry_=null,this.element_=document.createElement("div"),this.element_.style.position="absolute",this.element_.style.pointerEvents="auto",this.element_.className="ol-box "+e,this.map_=null,this.startPixel_=null,this.endPixel_=null}disposeInternal(){this.setMap(null)}render_(){const e=this.startPixel_,i=this.endPixel_,n="px",s=this.element_.style;s.left=Math.min(e[0],i[0])+n,s.top=Math.min(e[1],i[1])+n,s.width=Math.abs(i[0]-e[0])+n,s.height=Math.abs(i[1]-e[1])+n}setMap(e){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);const i=this.element_.style;i.left="inherit",i.top="inherit",i.width="inherit",i.height="inherit"}this.map_=e,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)}setPixels(e,i){this.startPixel_=e,this.endPixel_=i,this.createOrUpdateGeometry(),this.render_()}createOrUpdateGeometry(){const e=this.startPixel_,i=this.endPixel_,s=[e,[e[0],i[1]],i,[i[0],e[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);s[4]=s[0].slice(),this.geometry_?this.geometry_.setCoordinates([s]):this.geometry_=new Ts([s])}getGeometry(){return this.geometry_}}const A5=P5,ha={BOXSTART:"boxstart",BOXDRAG:"boxdrag",BOXEND:"boxend",BOXCANCEL:"boxcancel"};class zr extends Ai{constructor(e,i,n){super(e),this.coordinate=i,this.mapBrowserEvent=n}}class O5 extends Ks{constructor(e){super(),this.on,this.once,this.un,e=e||{},this.box_=new A5(e.className||"ol-dragbox"),this.minArea_=e.minArea!==void 0?e.minArea:64,e.onBoxEnd&&(this.onBoxEnd=e.onBoxEnd),this.startPixel_=null,this.condition_=e.condition?e.condition:lm,this.boxEndCondition_=e.boxEndCondition?e.boxEndCondition:this.defaultBoxEndCondition}defaultBoxEndCondition(e,i,n){const s=n[0]-i[0],a=n[1]-i[1];return s*s+a*a>=this.minArea_}getGeometry(){return this.box_.getGeometry()}handleDragEvent(e){this.box_.setPixels(this.startPixel_,e.pixel),this.dispatchEvent(new zr(ha.BOXDRAG,e.coordinate,e))}handleUpEvent(e){this.box_.setMap(null);const i=this.boxEndCondition_(e,this.startPixel_,e.pixel);return i&&this.onBoxEnd(e),this.dispatchEvent(new zr(i?ha.BOXEND:ha.BOXCANCEL,e.coordinate,e)),!1}handleDownEvent(e){return this.condition_(e)?(this.startPixel_=e.pixel,this.box_.setMap(e.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new zr(ha.BOXSTART,e.coordinate,e)),!0):!1}onBoxEnd(e){}}const G5=O5;class Z5 extends G5{constructor(e){e=e||{};const i=e.condition?e.condition:I5;super({condition:i,className:e.className||"ol-dragzoom",minArea:e.minArea}),this.duration_=e.duration!==void 0?e.duration:200,this.out_=e.out!==void 0?e.out:!1}onBoxEnd(e){const n=this.getMap().getView();let s=this.getGeometry();if(this.out_){const a=n.rotatedExtentForGeometry(s),r=n.getResolutionForExtentInternal(a),o=n.getResolution()/r;s=s.clone(),s.scale(o*o)}n.fitInternal(s,{duration:this.duration_,easing:Qn})}}const X5=Z5,Ki={LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",DOWN:"ArrowDown"};class W5 extends Ws{constructor(e){super(),e=e||{},this.defaultCondition_=function(i){return cm(i)&&um(i)},this.condition_=e.condition!==void 0?e.condition:this.defaultCondition_,this.duration_=e.duration!==void 0?e.duration:100,this.pixelDelta_=e.pixelDelta!==void 0?e.pixelDelta:128}handleEvent(e){let i=!1;if(e.type==le.KEYDOWN){const n=e.originalEvent,s=n.key;if(this.condition_(e)&&(s==Ki.DOWN||s==Ki.LEFT||s==Ki.RIGHT||s==Ki.UP)){const r=e.map.getView(),o=r.getResolution()*this.pixelDelta_;let l=0,c=0;s==Ki.DOWN?c=-o:s==Ki.LEFT?l=-o:s==Ki.RIGHT?l=o:c=o;const u=[l,c];fl(u,r.getRotation()),N5(r,u,this.duration_),n.preventDefault(),i=!0}}return!i}}const K5=W5;class V5 extends Ws{constructor(e){super(),e=e||{},this.condition_=e.condition?e.condition:function(i){return!M5(i)&&um(i)},this.delta_=e.delta?e.delta:1,this.duration_=e.duration!==void 0?e.duration:100}handleEvent(e){let i=!1;if(e.type==le.KEYDOWN||e.type==le.KEYPRESS){const n=e.originalEvent,s=n.key;if(this.condition_(e)&&(s==="+"||s==="-")){const a=e.map,r=s==="+"?this.delta_:-this.delta_,o=a.getView();Ml(o,r,void 0,this.duration_),n.preventDefault(),i=!0}}return!i}}const U5=V5;class B5{constructor(e,i,n){this.decay_=e,this.minVelocity_=i,this.delay_=n,this.points_=[],this.angle_=0,this.initialVelocity_=0}begin(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0}update(e,i){this.points_.push(e,i,Date.now())}end(){if(this.points_.length<6)return!1;const e=Date.now()-this.delay_,i=this.points_.length-3;if(this.points_[i+2]0&&this.points_[n+2]>e;)n-=3;const s=this.points_[i+2]-this.points_[n+2];if(s<1e3/60)return!1;const a=this.points_[i]-this.points_[n],r=this.points_[i+1]-this.points_[n+1];return this.angle_=Math.atan2(r,a),this.initialVelocity_=Math.sqrt(a*a+r*r)/s,this.initialVelocity_>this.minVelocity_}getDistance(){return(this.minVelocity_-this.initialVelocity_)/this.decay_}getAngle(){return this.angle_}}const q5=B5;class z5 extends Ws{constructor(e){e=e||{},super(e),this.totalDelta_=0,this.lastDelta_=0,this.maxDelta_=e.maxDelta!==void 0?e.maxDelta:1,this.duration_=e.duration!==void 0?e.duration:250,this.timeout_=e.timeout!==void 0?e.timeout:80,this.useAnchor_=e.useAnchor!==void 0?e.useAnchor:!0,this.constrainResolution_=e.constrainResolution!==void 0?e.constrainResolution:!1;const i=e.condition?e.condition:k5;this.condition_=e.onFocusOnly?ko(om,i):i,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_,this.mode_=void 0,this.trackpadEventGap_=400,this.trackpadTimeoutId_,this.deltaPerZoom_=300}endInteraction_(){this.trackpadTimeoutId_=void 0;const e=this.getMap();if(!e)return;e.getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)}handleEvent(e){if(!this.condition_(e)||e.type!==le.WHEEL)return!0;const n=e.map,s=e.originalEvent;s.preventDefault(),this.useAnchor_&&(this.lastAnchor_=e.coordinate);let a;if(e.type==le.WHEEL&&(a=s.deltaY,f2&&s.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(a/=Rd),s.deltaMode===WheelEvent.DOM_DELTA_LINE&&(a*=40)),a===0)return!1;this.lastDelta_=a;const r=Date.now();this.startTime_===void 0&&(this.startTime_=r),(!this.mode_||r-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(a)<4?"trackpad":"wheel");const o=n.getView();if(this.mode_==="trackpad"&&!(o.getConstrainResolution()||this.constrainResolution_))return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(o.getAnimating()&&o.cancelAnimations(),o.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),o.adjustZoom(-a/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=r,!1;this.totalDelta_+=a;const l=Math.max(this.timeout_-(r-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,n),l),!1}handleWheelZoom_(e){const i=e.getView();i.getAnimating()&&i.cancelAnimations();let n=-ze(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(i.getConstrainResolution()||this.constrainResolution_)&&(n=n?n>0?1:-1:0),Ml(i,n,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0}setMouseAnchor(e){this.useAnchor_=e,e||(this.lastAnchor_=null)}}const H5=z5;class Y5 extends Ks{constructor(e){e=e||{};const i=e;i.stopDown||(i.stopDown=vr),super(i),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=e.threshold!==void 0?e.threshold:.3,this.duration_=e.duration!==void 0?e.duration:250}handleDragEvent(e){let i=0;const n=this.targetPointers[0],s=this.targetPointers[1],a=Math.atan2(s.clientY-n.clientY,s.clientX-n.clientX);if(this.lastAngle_!==void 0){const l=a-this.lastAngle_;this.rotationDelta_+=l,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),i=l}this.lastAngle_=a;const r=e.map,o=r.getView();o.getConstraints().rotation!==vl&&(this.anchor_=r.getCoordinateFromPixelInternal(r.getEventPixel(Il(this.targetPointers))),this.rotating_&&(r.render(),o.adjustRotationInternal(i,this.anchor_)))}handleUpEvent(e){return this.targetPointers.length<2?(e.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(e){if(this.targetPointers.length>=2){const i=e.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||i.getView().beginInteraction(),!0}return!1}}const $5=Y5;class j5 extends Ks{constructor(e){e=e||{};const i=e;i.stopDown||(i.stopDown=vr),super(i),this.anchor_=null,this.duration_=e.duration!==void 0?e.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}handleDragEvent(e){let i=1;const n=this.targetPointers[0],s=this.targetPointers[1],a=n.clientX-s.clientX,r=n.clientY-s.clientY,o=Math.sqrt(a*a+r*r);this.lastDistance_!==void 0&&(i=this.lastDistance_/o),this.lastDistance_=o;const l=e.map,c=l.getView();i!=1&&(this.lastScaleDelta_=i),this.anchor_=l.getCoordinateFromPixelInternal(l.getEventPixel(Il(this.targetPointers))),l.render(),c.adjustResolutionInternal(i,this.anchor_)}handleUpEvent(e){if(this.targetPointers.length<2){const n=e.map.getView(),s=this.lastScaleDelta_>1?1:-1;return n.endInteraction(this.duration_,s),!1}return!0}handleDownEvent(e){if(this.targetPointers.length>=2){const i=e.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||i.getView().beginInteraction(),!0}return!1}}const J5=j5;function Q5(t){t=t||{};const e=new ci,i=new q5(-.005,.05,100);return(t.altShiftDragRotate!==void 0?t.altShiftDragRotate:!0)&&e.push(new D5),(t.doubleClickZoom!==void 0?t.doubleClickZoom:!0)&&e.push(new w5({delta:t.zoomDelta,duration:t.zoomDuration})),(t.dragPan!==void 0?t.dragPan:!0)&&e.push(new L5({onFocusOnly:t.onFocusOnly,kinetic:i})),(t.pinchRotate!==void 0?t.pinchRotate:!0)&&e.push(new $5),(t.pinchZoom!==void 0?t.pinchZoom:!0)&&e.push(new J5({duration:t.zoomDuration})),(t.keyboard!==void 0?t.keyboard:!0)&&(e.push(new K5),e.push(new U5({delta:t.zoomDelta,duration:t.zoomDuration}))),(t.mouseWheelZoom!==void 0?t.mouseWheelZoom:!0)&&e.push(new H5({onFocusOnly:t.onFocusOnly,duration:t.zoomDuration})),(t.shiftDragZoom!==void 0?t.shiftDragZoom:!0)&&e.push(new X5({duration:t.zoomDuration})),e}function pu(t){return t[0]>0&&t[1]>0}function e_(t,e,i){return i===void 0&&(i=[0,0]),i[0]=t[0]*e+.5|0,i[1]=t[1]*e+.5|0,i}function wi(t,e){return Array.isArray(t)?t:(e===void 0?e=[t,t]:(e[0]=t,e[1]=t),e)}function hm(t){if(t instanceof wl){t.setMapInternal(null);return}t instanceof Ir&&t.getLayers().forEach(hm)}function dm(t,e){if(t instanceof wl){t.setMapInternal(e);return}if(t instanceof Ir){const i=t.getLayers().getArray();for(let n=0,s=i.length;nthis.updateSize()),this.controls=i.controls||_5(),this.interactions=i.interactions||Q5({onFocusOnly:!0}),this.overlays_=i.overlays,this.overlayIdIndex_={},this.renderer_=null,this.postRenderFunctions_=[],this.tileQueue_=new u5(this.getTilePriority.bind(this),this.handleTileChange_.bind(this)),this.addChangeListener(lt.LAYERGROUP,this.handleLayerGroupChanged_),this.addChangeListener(lt.VIEW,this.handleViewChanged_),this.addChangeListener(lt.SIZE,this.handleSizeChanged_),this.addChangeListener(lt.TARGET,this.handleTargetChanged_),this.setProperties(i.values);const n=this;e.view&&!(e.view instanceof Jt)&&e.view.then(function(s){n.setView(new Jt(s))}),this.controls.addEventListener(Pt.ADD,s=>{s.element.setMap(this)}),this.controls.addEventListener(Pt.REMOVE,s=>{s.element.setMap(null)}),this.interactions.addEventListener(Pt.ADD,s=>{s.element.setMap(this)}),this.interactions.addEventListener(Pt.REMOVE,s=>{s.element.setMap(null)}),this.overlays_.addEventListener(Pt.ADD,s=>{this.addOverlayInternal_(s.element)}),this.overlays_.addEventListener(Pt.REMOVE,s=>{const a=s.element.getId();a!==void 0&&delete this.overlayIdIndex_[a.toString()],s.element.setMap(null)}),this.controls.forEach(s=>{s.setMap(this)}),this.interactions.forEach(s=>{s.setMap(this)}),this.overlays_.forEach(this.addOverlayInternal_.bind(this))}addControl(e){this.getControls().push(e)}addInteraction(e){this.getInteractions().push(e)}addLayer(e){this.getLayerGroup().getLayers().push(e)}handleLayerAdd_(e){dm(e.layer,this)}addOverlay(e){this.getOverlays().push(e)}addOverlayInternal_(e){const i=e.getId();i!==void 0&&(this.overlayIdIndex_[i.toString()]=e),e.setMap(this)}disposeInternal(){this.controls.clear(),this.interactions.clear(),this.overlays_.clear(),this.resizeObserver_.disconnect(),this.setTarget(null),super.disposeInternal()}forEachFeatureAtPixel(e,i,n){if(!this.frameState_||!this.renderer_)return;const s=this.getCoordinateFromPixelInternal(e);n=n!==void 0?n:{};const a=n.hitTolerance!==void 0?n.hitTolerance:0,r=n.layerFilter!==void 0?n.layerFilter:Xa,o=n.checkWrapped!==!1;return this.renderer_.forEachFeatureAtCoordinate(s,this.frameState_,a,o,i,null,r,null)}getFeaturesAtPixel(e,i){const n=[];return this.forEachFeatureAtPixel(e,function(s){n.push(s)},i),n}getAllLayers(){const e=[];function i(n){n.forEach(function(s){s instanceof Ir?i(s.getLayers()):e.push(s)})}return i(this.getLayers()),e}hasFeatureAtPixel(e,i){if(!this.frameState_||!this.renderer_)return!1;const n=this.getCoordinateFromPixelInternal(e);i=i!==void 0?i:{};const s=i.layerFilter!==void 0?i.layerFilter:Xa,a=i.hitTolerance!==void 0?i.hitTolerance:0,r=i.checkWrapped!==!1;return this.renderer_.hasFeatureAtCoordinate(n,this.frameState_,a,r,s,null)}getEventCoordinate(e){return this.getCoordinateFromPixel(this.getEventPixel(e))}getEventCoordinateInternal(e){return this.getCoordinateFromPixelInternal(this.getEventPixel(e))}getEventPixel(e){const n=this.viewport_.getBoundingClientRect(),s=this.getSize(),a=n.width/s[0],r=n.height/s[1],o="changedTouches"in e?e.changedTouches[0]:e;return[(o.clientX-n.left)/a,(o.clientY-n.top)/r]}getTarget(){return this.get(lt.TARGET)}getTargetElement(){return this.targetElement_}getCoordinateFromPixel(e){return Co(this.getCoordinateFromPixelInternal(e),this.getView().getProjection())}getCoordinateFromPixelInternal(e){const i=this.frameState_;return i?St(i.pixelToCoordinateTransform,e.slice()):null}getControls(){return this.controls}getOverlays(){return this.overlays_}getOverlayById(e){const i=this.overlayIdIndex_[e.toString()];return i!==void 0?i:null}getInteractions(){return this.interactions}getLayerGroup(){return this.get(lt.LAYERGROUP)}setLayers(e){const i=this.getLayerGroup();if(e instanceof ci){i.setLayers(e);return}const n=i.getLayers();n.clear(),n.extend(e)}getLayers(){return this.getLayerGroup().getLayers()}getLoadingOrNotReady(){const e=this.getLayerGroup().getLayerStatesArray();for(let i=0,n=e.length;i=0;a--){const r=s[a];if(r.getMap()!==this||!r.getActive()||!this.getTargetElement())continue;if(!r.handleEvent(e)||e.propagationStopped)break}}}handlePostRender(){const e=this.frameState_,i=this.tileQueue_;if(!i.isEmpty()){let s=this.maxTilesLoading_,a=s;if(e){const r=e.viewHints;if(r[Dt.ANIMATING]||r[Dt.INTERACTING]){const o=Date.now()-e.time>8;s=o?0:8,a=o?0:2}}i.getTilesLoading(){this.postRenderTimeoutHandle_=void 0,this.handlePostRender()},0))}setLayerGroup(e){const i=this.getLayerGroup();i&&this.handleLayerRemove_(new Ni("removelayer",i)),this.set(lt.LAYERGROUP,e)}setSize(e){this.set(lt.SIZE,e)}setTarget(e){this.set(lt.TARGET,e)}setView(e){if(!e||e instanceof Jt){this.set(lt.VIEW,e);return}this.set(lt.VIEW,new Jt);const i=this;e.then(function(n){i.setView(new Jt(n))})}updateSize(){const e=this.getTargetElement();let i;if(e){const s=getComputedStyle(e),a=e.offsetWidth-parseFloat(s.borderLeftWidth)-parseFloat(s.paddingLeft)-parseFloat(s.paddingRight)-parseFloat(s.borderRightWidth),r=e.offsetHeight-parseFloat(s.borderTopWidth)-parseFloat(s.paddingTop)-parseFloat(s.paddingBottom)-parseFloat(s.borderBottomWidth);!isNaN(a)&&!isNaN(r)&&(i=[a,r],!pu(i)&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)&&qd("No map visible because the map container's width or height are 0."))}const n=this.getSize();i&&(!n||!_r(i,n))&&(this.setSize(i),this.updateViewportSize_(i))}updateViewportSize_(e){const i=this.getView();i&&i.setViewportSize(e)}};function i_(t){let e=null;t.keyboardEventTarget!==void 0&&(e=typeof t.keyboardEventTarget=="string"?document.getElementById(t.keyboardEventTarget):t.keyboardEventTarget);const i={},n=t.layers&&typeof t.layers.getLayers=="function"?t.layers:new Ir({layers:t.layers});i[lt.LAYERGROUP]=n,i[lt.TARGET]=t.target,i[lt.VIEW]=t.view instanceof Jt?t.view:new Jt;let s;t.controls!==void 0&&(Array.isArray(t.controls)?s=new ci(t.controls.slice()):(Le(typeof t.controls.getArray=="function","Expected `controls` to be an array or an `ol/Collection.js`"),s=t.controls));let a;t.interactions!==void 0&&(Array.isArray(t.interactions)?a=new ci(t.interactions.slice()):(Le(typeof t.interactions.getArray=="function","Expected `interactions` to be an array or an `ol/Collection.js`"),a=t.interactions));let r;return t.overlays!==void 0?Array.isArray(t.overlays)?r=new ci(t.overlays.slice()):(Le(typeof t.overlays.getArray=="function","Expected `overlays` to be an array or an `ol/Collection.js`"),r=t.overlays):r=new ci,{controls:s,interactions:a,keyboardEventTarget:e,overlays:r,values:i}}const n_=t_;class s_ extends ul{constructor(e,i,n){super(),n=n||{},this.tileCoord=e,this.state=i,this.interimTile=null,this.key="",this.transition_=n.transition===void 0?250:n.transition,this.transitionStarts_={},this.interpolate=!!n.interpolate}changed(){this.dispatchEvent(le.CHANGE)}release(){this.state===Q.ERROR&&this.setState(Q.EMPTY)}getKey(){return this.key+"/"+this.tileCoord}getInterimTile(){let e=this.interimTile;if(!e)return this;do{if(e.getState()==Q.LOADED)return this.transition_=0,e;e=e.interimTile}while(e);return this}refreshInterimChain(){let e=this.interimTile;if(!e)return;let i=this;do{if(e.getState()==Q.LOADED){e.interimTile=null;break}e.getState()==Q.LOADING?i=e:e.getState()==Q.IDLE?i.interimTile=e.interimTile:i=e,e=i.interimTile}while(e)}getTileCoord(){return this.tileCoord}getState(){return this.state}setState(e){if(this.state!==Q.ERROR&&this.state>e)throw new Error("Tile load sequence violation");this.state=e,this.changed()}load(){Xe()}getAlpha(e,i){if(!this.transition_)return 1;let n=this.transitionStarts_[e];if(!n)n=i,this.transitionStarts_[e]=n;else if(n===-1)return 1;const s=i-n+1e3/60;return s>=this.transition_?1:Yd(s/this.transition_)}inTransition(e){return this.transition_?this.transitionStarts_[e]!==-1:!1}endTransition(e){this.transition_&&(this.transitionStarts_[e]=-1)}}const mm=s_,fn={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};function a_(t,e,i){const n=t;let s=!0,a=!1,r=!1;const o=[Ka(n,le.LOAD,function(){r=!0,a||e()})];return n.src&&y2?(a=!0,n.decode().then(function(){s&&e()}).catch(function(l){s&&(r?e():i())})):o.push(Ka(n,le.ERROR,i)),function(){s=!1,o.forEach(qe)}}class r_ extends mm{constructor(e,i,n,s,a,r){super(e,i,r),this.crossOrigin_=s,this.src_=n,this.key=n,this.image_=new Image,s!==null&&(this.image_.crossOrigin=s),this.unlisten_=null,this.tileLoadFunction_=a}getImage(){return this.image_}setImage(e){this.image_=e,this.state=Q.LOADED,this.unlistenImage_(),this.changed()}handleImageError_(){this.state=Q.ERROR,this.unlistenImage_(),this.image_=o_(),this.changed()}handleImageLoad_(){const e=this.image_;e.naturalWidth&&e.naturalHeight?this.state=Q.LOADED:this.state=Q.EMPTY,this.unlistenImage_(),this.changed()}load(){this.state==Q.ERROR&&(this.state=Q.IDLE,this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==Q.IDLE&&(this.state=Q.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=a_(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}}function o_(){const t=Bn(1,1);return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas}const fm=r_,l_=.5,c_=10,gu=.25;class u_{constructor(e,i,n,s,a,r){this.sourceProj_=e,this.targetProj_=i;let o={};const l=Ba(this.targetProj_,this.sourceProj_);this.transformInv_=function(v){const C=v[0]+"/"+v[1];return o[C]||(o[C]=l(v)),o[C]},this.maxSourceExtent_=s,this.errorThresholdSquared_=a*a,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!s&&!!this.sourceProj_.getExtent()&&Be(s)>=Be(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?Be(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?Be(this.targetProj_.getExtent()):null;const c=un(n),u=Er(n),h=Fr(n),d=Cr(n),m=this.transformInv_(c),f=this.transformInv_(u),p=this.transformInv_(h),y=this.transformInv_(d),_=c_+(r?Math.max(0,Math.ceil(Math.log2(bo(n)/(r*r*256*256)))):0);if(this.addQuad_(c,u,h,d,m,f,p,y,_),this.wrapsXInSource_){let v=1/0;this.triangles_.forEach(function(C,x,F){v=Math.min(v,C.source[0][0],C.source[1][0],C.source[2][0])}),this.triangles_.forEach(C=>{if(Math.max(C.source[0][0],C.source[1][0],C.source[2][0])-v>this.sourceWorldWidth_/2){const x=[[C.source[0][0],C.source[0][1]],[C.source[1][0],C.source[1][1]],[C.source[2][0],C.source[2][1]]];x[0][0]-v>this.sourceWorldWidth_/2&&(x[0][0]-=this.sourceWorldWidth_),x[1][0]-v>this.sourceWorldWidth_/2&&(x[1][0]-=this.sourceWorldWidth_),x[2][0]-v>this.sourceWorldWidth_/2&&(x[2][0]-=this.sourceWorldWidth_);const F=Math.min(x[0][0],x[1][0],x[2][0]);Math.max(x[0][0],x[1][0],x[2][0])-F.5&&h<1;let f=!1;if(c>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){const y=Uc([e,i,n,s]);f=Be(y)/this.targetWorldWidth_>gu||f}!m&&this.sourceProj_.isGlobal()&&h&&(f=h>gu||f)}if(!f&&this.maxSourceExtent_&&isFinite(u[0])&&isFinite(u[1])&&isFinite(u[2])&&isFinite(u[3])&&!Zs(u,this.maxSourceExtent_))return;let p=0;if(!f&&(!isFinite(a[0])||!isFinite(a[1])||!isFinite(r[0])||!isFinite(r[1])||!isFinite(o[0])||!isFinite(o[1])||!isFinite(l[0])||!isFinite(l[1]))){if(c>0)f=!0;else if(p=(!isFinite(a[0])||!isFinite(a[1])?8:0)+(!isFinite(r[0])||!isFinite(r[1])?4:0)+(!isFinite(o[0])||!isFinite(o[1])?2:0)+(!isFinite(l[0])||!isFinite(l[1])?1:0),p!=1&&p!=2&&p!=4&&p!=8)return}if(c>0){if(!f){const y=[(e[0]+n[0])/2,(e[1]+n[1])/2],_=this.transformInv_(y);let v;m?v=(Pn(a[0],d)+Pn(o[0],d))/2-Pn(_[0],d):v=(a[0]+o[0])/2-_[0];const C=(a[1]+o[1])/2-_[1];f=v*v+C*C>this.errorThresholdSquared_}if(f){if(Math.abs(e[0]-n[0])<=Math.abs(e[1]-n[1])){const y=[(i[0]+n[0])/2,(i[1]+n[1])/2],_=this.transformInv_(y),v=[(s[0]+e[0])/2,(s[1]+e[1])/2],C=this.transformInv_(v);this.addQuad_(e,i,y,v,a,r,_,C,c-1),this.addQuad_(v,y,n,s,C,_,o,l,c-1)}else{const y=[(e[0]+i[0])/2,(e[1]+i[1])/2],_=this.transformInv_(y),v=[(n[0]+s[0])/2,(n[1]+s[1])/2],C=this.transformInv_(v);this.addQuad_(e,y,v,s,a,_,C,l,c-1),this.addQuad_(y,i,n,v,_,r,o,C,c-1)}return}}if(m){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}p&11||this.addTriangle_(e,n,s,a,o,l),p&14||this.addTriangle_(e,n,i,a,o,r),p&&(p&13||this.addTriangle_(i,s,e,r,l,a),p&7||this.addTriangle_(i,s,n,r,l,o))}calculateSourceExtent(){const e=cn();return this.triangles_.forEach(function(i,n,s){const a=i.source;xa(e,a[0]),xa(e,a[1]),xa(e,a[2])}),e}getTriangles(){return this.triangles_}}const h_=u_;let Hr;const On=[];function yu(t,e,i,n,s){t.beginPath(),t.moveTo(0,0),t.lineTo(e,i),t.lineTo(n,s),t.closePath(),t.save(),t.clip(),t.fillRect(0,0,Math.max(e,n)+1,Math.max(i,s)),t.restore()}function Yr(t,e){return Math.abs(t[e*4]-210)>2||Math.abs(t[e*4+3]-.75*255)>2}function d_(){if(Hr===void 0){const t=Bn(6,6,On);t.globalCompositeOperation="lighter",t.fillStyle="rgba(210, 0, 0, 0.75)",yu(t,4,5,4,0),yu(t,4,5,0,5);const e=t.getImageData(0,0,3,3).data;Hr=Yr(e,0)||Yr(e,4)||Yr(e,8),Fl(t),On.push(t.canvas)}return Hr}function bu(t,e,i,n){const s=ob(i,e,t);let a=eu(e,n,i);const r=e.getMetersPerUnit();r!==void 0&&(a*=r);const o=t.getMetersPerUnit();o!==void 0&&(a/=o);const l=t.getExtent();if(!l||hl(l,s)){const c=eu(t,a,s)/a;isFinite(c)&&c>0&&(a/=c)}return a}function m_(t,e,i,n){const s=Ms(i);let a=bu(t,e,s,n);return(!isFinite(a)||a<=0)&&Gd(i,function(r){return a=bu(t,e,r,n),isFinite(a)&&a>0}),a}function f_(t,e,i,n,s,a,r,o,l,c,u,h,d){const m=Bn(Math.round(i*t),Math.round(i*e),On);if(h||(m.imageSmoothingEnabled=!1),l.length===0)return m.canvas;m.scale(i,i);function f(v){return Math.round(v*i)/i}m.globalCompositeOperation="lighter";const p=cn();l.forEach(function(v,C,x){C2(p,v.extent)});let y;if(!d||l.length!==1||c!==0){const v=Be(p),C=Ut(p);y=Bn(Math.round(i*v/n),Math.round(i*C/n),On),h||(y.imageSmoothingEnabled=!1);const x=i/n;l.forEach(function(F,L,$){const H=F.extent[0]-p[0],re=-(F.extent[3]-p[3]),oe=Be(F.extent),_e=Ut(F.extent);F.image.width>0&&F.image.height>0&&y.drawImage(F.image,c,c,F.image.width-2*c,F.image.height-2*c,H*x,re*x,oe*x,_e*x)})}const _=un(r);return o.getTriangles().forEach(function(v,C,x){const F=v.source,L=v.target;let $=F[0][0],H=F[0][1],re=F[1][0],oe=F[1][1],_e=F[2][0],He=F[2][1];const Ke=f((L[0][0]-_[0])/a),Et=f(-(L[0][1]-_[1])/a),tt=f((L[1][0]-_[0])/a),ve=f(-(L[1][1]-_[1])/a),j=f((L[2][0]-_[0])/a),se=f(-(L[2][1]-_[1])/a),Ye=$,$e=H;$=0,H=0,re-=Ye,oe-=$e,_e-=Ye,He-=$e;const ot=[[re,oe,0,0,tt-Ke],[_e,He,0,0,j-Ke],[0,0,re,oe,ve-Et],[0,0,_e,He,se-Et]],me=S2(ot);if(!me)return;if(m.save(),m.beginPath(),d_()||!h){m.moveTo(tt,ve);const pe=4,Se=Ke-tt,Pe=Et-ve;for(let E=0;E{i&&i.getState()==Q.LOADED&&e.push({extent:this.sourceTileGrid_.getTileCoordExtent(i.tileCoord),image:i.getImage()})}),this.sourceTiles_.length=0,e.length===0)this.state=Q.ERROR;else{const i=this.wrappedTileCoord_[0],n=this.targetTileGrid_.getTileSize(i),s=typeof n=="number"?n:n[0],a=typeof n=="number"?n:n[1],r=this.targetTileGrid_.getResolution(i),o=this.sourceTileGrid_.getResolution(this.sourceZ_),l=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=f_(s,a,this.pixelRatio_,o,this.sourceTileGrid_.getExtent(),r,l,this.triangulation_,e,this.gutter_,this.renderEdges_,this.interpolate),this.state=Q.LOADED}this.changed()}load(){if(this.state==Q.IDLE){this.state=Q.LOADING,this.changed();let e=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(i=>{const n=i.getState();if(n==Q.IDLE||n==Q.LOADING){e++;const s=Ce(i,le.CHANGE,function(a){const r=i.getState();(r==Q.LOADED||r==Q.ERROR||r==Q.EMPTY)&&(qe(s),e--,e===0&&(this.unlistenSources_(),this.reproject_()))},this);this.sourcesListenerKeys_.push(s)}}),e===0?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach(function(i,n,s){i.getState()==Q.IDLE&&i.load()})}}unlistenSources_(){this.sourcesListenerKeys_.forEach(qe),this.sourcesListenerKeys_=null}release(){this.canvas_&&(Fl(this.canvas_.getContext("2d")),On.push(this.canvas_),this.canvas_=null),super.release()}}const Mo=p_;class g_{constructor(e){this.highWaterMark=e!==void 0?e:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}canExpireCache(){return this.highWaterMark>0&&this.getCount()>this.highWaterMark}expireCache(e){for(;this.canExpireCache();)this.pop()}clear(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}containsKey(e){return this.entries_.hasOwnProperty(e)}forEach(e){let i=this.oldest_;for(;i;)e(i.value_,i.key_,this),i=i.newer}get(e,i){const n=this.entries_[e];return Le(n!==void 0,"Tried to get a value for a key that does not exist in the cache"),n===this.newest_||(n===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(n.newer.older=n.older,n.older.newer=n.newer),n.newer=null,n.older=this.newest_,this.newest_.newer=n,this.newest_=n),n.value_}remove(e){const i=this.entries_[e];return Le(i!==void 0,"Tried to get a value for a key that does not exist in the cache"),i===this.newest_?(this.newest_=i.older,this.newest_&&(this.newest_.newer=null)):i===this.oldest_?(this.oldest_=i.newer,this.oldest_&&(this.oldest_.older=null)):(i.newer.older=i.older,i.older.newer=i.newer),delete this.entries_[e],--this.count_,i.value_}getCount(){return this.count_}getKeys(){const e=new Array(this.count_);let i=0,n;for(n=this.newest_;n;n=n.older)e[i++]=n.key_;return e}getValues(){const e=new Array(this.count_);let i=0,n;for(n=this.newest_;n;n=n.older)e[i++]=n.value_;return e}peekLast(){return this.oldest_.value_}peekLastKey(){return this.oldest_.key_}peekFirstKey(){return this.newest_.key_}peek(e){var i;return(i=this.entries_[e])==null?void 0:i.value_}pop(){const e=this.oldest_;return delete this.entries_[e.key_],e.newer&&(e.newer.older=null),this.oldest_=e.newer,this.oldest_||(this.newest_=null),--this.count_,e.value_}replace(e,i){this.get(e),this.entries_[e].value_=i}set(e,i){Le(!(e in this.entries_),"Tried to set a value for a key that is used already");const n={key_:e,newer:null,older:this.newest_,value_:i};this.newest_?this.newest_.newer=n:this.oldest_=n,this.newest_=n,this.entries_[e]=n,++this.count_}setSize(e){this.highWaterMark=e}}const y_=g_;function _u(t,e,i,n){return n!==void 0?(n[0]=t,n[1]=e,n[2]=i,n):[t,e,i]}function Tr(t,e,i){return t+"/"+e+"/"+i}function pm(t){return Tr(t[0],t[1],t[2])}function b_(t){return t.split("/").map(Number)}function __(t){return(t[1]<i||i>e.getMaxZoom())return!1;const a=e.getFullTileRange(i);return a?a.containsXY(n,s):!0}class N_ extends y_{clear(){for(;this.getCount()>0;)this.pop().release();super.clear()}expireCache(e){for(;this.canExpireCache()&&!(this.peekLast().getKey()in e);)this.pop().release()}pruneExceptNewestZ(){if(this.getCount()===0)return;const e=this.peekFirstKey(),n=b_(e)[0];this.forEach(s=>{s.tileCoord[0]!==n&&(this.remove(pm(s.tileCoord)),s.release())})}}const gm=N_,$r={TILELOADSTART:"tileloadstart",TILELOADEND:"tileloadend",TILELOADERROR:"tileloaderror"};class x_ extends mi{constructor(e){super(),this.projection=ft(e.projection),this.attributions_=vu(e.attributions),this.attributionsCollapsible_=e.attributionsCollapsible!==void 0?e.attributionsCollapsible:!0,this.loading=!1,this.state_=e.state!==void 0?e.state:"ready",this.wrapX_=e.wrapX!==void 0?e.wrapX:!1,this.interpolate_=!!e.interpolate,this.viewResolver=null,this.viewRejector=null;const i=this;this.viewPromise_=new Promise(function(n,s){i.viewResolver=n,i.viewRejector=s})}getAttributions(){return this.attributions_}getAttributionsCollapsible(){return this.attributionsCollapsible_}getProjection(){return this.projection}getResolutions(e){return null}getView(){return this.viewPromise_}getState(){return this.state_}getWrapX(){return this.wrapX_}getInterpolate(){return this.interpolate_}refresh(){this.changed()}setAttributions(e){this.attributions_=vu(e),this.changed()}setState(e){this.state_=e,this.changed()}}function vu(t){return t?Array.isArray(t)?function(e){return t}:typeof t=="function"?t:function(e){return[t]}:null}const w_=x_;class ym{constructor(e,i,n,s){this.minX=e,this.maxX=i,this.minY=n,this.maxY=s}contains(e){return this.containsXY(e[1],e[2])}containsTileRange(e){return this.minX<=e.minX&&e.maxX<=this.maxX&&this.minY<=e.minY&&e.maxY<=this.maxY}containsXY(e,i){return this.minX<=e&&e<=this.maxX&&this.minY<=i&&i<=this.maxY}equals(e){return this.minX==e.minX&&this.minY==e.minY&&this.maxX==e.maxX&&this.maxY==e.maxY}extend(e){e.minXthis.maxX&&(this.maxX=e.maxX),e.minYthis.maxY&&(this.maxY=e.maxY)}getHeight(){return this.maxY-this.minY+1}getSize(){return[this.getWidth(),this.getHeight()]}getWidth(){return this.maxX-this.minX+1}intersects(e){return this.minX<=e.maxX&&this.maxX>=e.minX&&this.minY<=e.maxY&&this.maxY>=e.minY}}function pn(t,e,i,n,s){return s!==void 0?(s.minX=t,s.maxX=e,s.minY=i,s.maxY=n,s):new ym(t,e,i,n)}const bm=ym,gn=[0,0,0],gi=5;class C_{constructor(e){this.minZoom=e.minZoom!==void 0?e.minZoom:0,this.resolutions_=e.resolutions,Le(r2(this.resolutions_,(s,a)=>a-s,!0),"`resolutions` must be sorted in descending order");let i;if(!e.origins){for(let s=0,a=this.resolutions_.length-1;s{const r=new bm(Math.min(0,s[0]),Math.max(s[0]-1,-1),Math.min(0,s[1]),Math.max(s[1]-1,-1));if(n){const o=this.getTileRangeForExtentAndZ(n,a);r.minX=Math.max(o.minX,r.minX),r.maxX=Math.min(o.maxX,r.maxX),r.minY=Math.max(o.minY,r.minY),r.maxY=Math.min(o.maxY,r.maxY)}return r}):n&&this.calculateTileRanges_(n)}forEachTileCoord(e,i,n){const s=this.getTileRangeForExtentAndZ(e,i);for(let a=s.minX,r=s.maxX;a<=r;++a)for(let o=s.minY,l=s.maxY;o<=l;++o)n([i,a,o])}forEachTileCoordParentTileRange(e,i,n,s){let a,r,o,l=null,c=e[0]-1;for(this.zoomFactor_===2?(r=e[1],o=e[2]):l=this.getTileCoordExtent(e,s);c>=this.minZoom;){if(r!==void 0&&o!==void 0?(r=Math.floor(r/2),o=Math.floor(o/2),a=pn(r,r,o,o,n)):a=this.getTileRangeForExtentAndZ(l,c,n),i(c,a))return!0;--c}return!1}getExtent(){return this.extent_}getMaxZoom(){return this.maxZoom}getMinZoom(){return this.minZoom}getOrigin(e){return this.origin_?this.origin_:this.origins_[e]}getResolution(e){return this.resolutions_[e]}getResolutions(){return this.resolutions_}getTileCoordChildTileRange(e,i,n){if(e[0]this.maxZoom||i0?n:Math.max(a/i[0],s/i[1]);const r=e+1,o=new Array(r);for(let l=0;ln.highWaterMark&&(n.highWaterMark=e)}useTile(e,i,n,s){}}class T_ extends Ai{constructor(e,i){super(e),this.tile=i}}const R_=I_;function L_(t,e){const i=/\{z\}/g,n=/\{x\}/g,s=/\{y\}/g,a=/\{-y\}/g;return function(r,o,l){if(r)return t.replace(i,r[0].toString()).replace(n,r[1].toString()).replace(s,r[2].toString()).replace(a,function(){const c=r[0],u=e.getFullTileRange(c);if(!u)throw new Error("The {-y} placeholder requires a tile grid with extent");return(u.getHeight()-r[2]-1).toString()})}}function S_(t,e){const i=t.length,n=new Array(i);for(let s=0;sthis.getTileInternal(y,_,v,C,r),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.tileOptions);return p.key=h,c?(p.interimTile=c,p.refreshInterimChain(),o.replace(u,p)):o.set(u,p),p}getTileInternal(e,i,n,s,a){let r=null;const o=Tr(e,i,n),l=this.getKey();if(!this.tileCache.containsKey(o))r=this.createTile_(e,i,n,s,a,l),this.tileCache.set(o,r);else if(r=this.tileCache.get(o),r.key!=l){const c=r;r=this.createTile_(e,i,n,s,a,l),c.getState()==Q.IDLE?r.interimTile=c.interimTile:r.interimTile=c,r.refreshInterimChain(),this.tileCache.replace(o,r)}return r}setRenderReprojectionEdges(e){if(this.renderReprojectionEdges_!=e){this.renderReprojectionEdges_=e;for(const i in this.tileCacheForProjection)this.tileCacheForProjection[i].clear();this.changed()}}setTileGridForProjection(e,i){const n=ft(e);if(n){const s=xt(n);s in this.tileGridForProjection||(this.tileGridForProjection[s]=i)}}clear(){super.clear();for(const e in this.tileCacheForProjection)this.tileCacheForProjection[e].clear()}}function A_(t,e){t.getImage().src=e}const wm=P_;class O_ extends wm{constructor(e){e=e||{};const i=e.projection!==void 0?e.projection:"EPSG:3857",n=e.tileGrid!==void 0?e.tileGrid:k_({extent:Tl(i),maxResolution:e.maxResolution,maxZoom:e.maxZoom,minZoom:e.minZoom,tileSize:e.tileSize});super({attributions:e.attributions,cacheSize:e.cacheSize,crossOrigin:e.crossOrigin,interpolate:e.interpolate,opaque:e.opaque,projection:i,reprojectionErrorThreshold:e.reprojectionErrorThreshold,tileGrid:n,tileLoadFunction:e.tileLoadFunction,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX!==void 0?e.wrapX:!0,transition:e.transition,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection}),this.gutter_=e.gutter!==void 0?e.gutter:0}getGutter(){return this.gutter_}}const G_=O_,Z_='© OpenStreetMap contributors.';class X_ extends G_{constructor(e){e=e||{};let i;e.attributions!==void 0?i=e.attributions:i=[Z_];const n=e.crossOrigin!==void 0?e.crossOrigin:"anonymous",s=e.url!==void 0?e.url:"https://tile.openstreetmap.org/{z}/{x}/{y}.png";super({attributions:i,attributionsCollapsible:!1,cacheSize:e.cacheSize,crossOrigin:n,interpolate:e.interpolate,maxZoom:e.maxZoom!==void 0?e.maxZoom:19,opaque:e.opaque!==void 0?e.opaque:!0,reprojectionErrorThreshold:e.reprojectionErrorThreshold,tileLoadFunction:e.tileLoadFunction,transition:e.transition,url:s,wrapX:e.wrapX,zDirection:e.zDirection})}}const W_=X_,da={PRELOAD:"preload",USE_INTERIM_TILES_ON_ERROR:"useInterimTilesOnError"};class K_ extends wl{constructor(e){e=e||{};const i=Object.assign({},e);delete i.preload,delete i.useInterimTilesOnError,super(i),this.on,this.once,this.un,this.setPreload(e.preload!==void 0?e.preload:0),this.setUseInterimTilesOnError(e.useInterimTilesOnError!==void 0?e.useInterimTilesOnError:!0)}getPreload(){return this.get(da.PRELOAD)}setPreload(e){this.set(da.PRELOAD,e)}getUseInterimTilesOnError(){return this.get(da.USE_INTERIM_TILES_ON_ERROR)}setUseInterimTilesOnError(e){this.set(da.USE_INTERIM_TILES_ON_ERROR,e)}getData(e){return super.getData(e)}}const V_=K_;class U_ extends Id{constructor(e){super(),this.ready=!0,this.boundHandleImageChange_=this.handleImageChange_.bind(this),this.layer_=e,this.declutterExecutorGroup=null}getFeatures(e){return Xe()}getData(e){return null}prepareFrame(e){return Xe()}renderFrame(e,i){return Xe()}loadedTileCallback(e,i,n){e[i]||(e[i]={}),e[i][n.tileCoord.toString()]=n}createLoadedTileFinder(e,i,n){return(s,a)=>{const r=this.loadedTileCallback.bind(this,n,s);return e.forEachLoadedTile(i,s,a,r)}}forEachFeatureAtCoordinate(e,i,n,s,a){}getLayer(){return this.layer_}handleFontsChanged(){}handleImageChange_(e){const i=e.target;(i.getState()===fn.LOADED||i.getState()===fn.ERROR)&&this.renderIfReadyAndVisible()}loadImage(e){let i=e.getState();return i!=fn.LOADED&&i!=fn.ERROR&&e.addEventListener(le.CHANGE,this.boundHandleImageChange_),i==fn.IDLE&&(e.load(),i=e.getState()),i==fn.LOADED}renderIfReadyAndVisible(){const e=this.getLayer();e&&e.getVisible()&&e.getSourceState()==="ready"&&e.changed()}disposeInternal(){delete this.layer_,super.disposeInternal()}}const B_=U_;let _n=null;function q_(){_n=Bn(1,1,void 0,{willReadFrequently:!0})}class z_ extends B_{constructor(e){super(e),this.container=null,this.renderedResolution,this.tempTransform=Sn(),this.pixelTransform=Sn(),this.inversePixelTransform=Sn(),this.context=null,this.containerReused=!1,this.pixelContext_=null,this.frameState=null}getImageData(e,i,n){_n||q_(),_n.clearRect(0,0,1,1);let s;try{_n.drawImage(e,i,n,1,1,0,0,1,1),s=_n.getImageData(0,0,1,1).data}catch{return _n=null,null}return s}getBackground(e){let n=this.getLayer().getBackground();return typeof n=="function"&&(n=n(e.viewState.resolution)),n||void 0}useContainer(e,i,n){const s=this.getLayer().getClassName();let a,r;if(e&&e.className===s&&(!n||e&&e.style.backgroundColor&&_r(Hc(e.style.backgroundColor),Hc(n)))){const o=e.firstElementChild;o instanceof HTMLCanvasElement&&(r=o.getContext("2d"))}if(r&&r.canvas.style.transform===i?(this.container=e,this.context=r,this.containerReused=!0):this.containerReused?(this.container=null,this.context=null,this.containerReused=!1):this.container&&(this.container.style.backgroundColor=null),!this.container){a=document.createElement("div"),a.className=s;let o=a.style;o.position="absolute",o.width="100%",o.height="100%",r=Bn();const l=r.canvas;a.appendChild(l),o=l.style,o.position="absolute",o.left="0",o.transformOrigin="top left",this.container=a,this.context=r}!this.containerReused&&n&&!this.container.style.backgroundColor&&(this.container.style.backgroundColor=n)}clipUnrotated(e,i,n){const s=un(n),a=Er(n),r=Fr(n),o=Cr(n);St(i.coordinateToPixelTransform,s),St(i.coordinateToPixelTransform,a),St(i.coordinateToPixelTransform,r),St(i.coordinateToPixelTransform,o);const l=this.inversePixelTransform;St(l,s),St(l,a),St(l,r),St(l,o),e.save(),e.beginPath(),e.moveTo(Math.round(s[0]),Math.round(s[1])),e.lineTo(Math.round(a[0]),Math.round(a[1])),e.lineTo(Math.round(r[0]),Math.round(r[1])),e.lineTo(Math.round(o[0]),Math.round(o[1])),e.clip()}dispatchRenderEvent_(e,i,n){const s=this.getLayer();if(s.hasListener(e)){const a=new rm(e,this.inversePixelTransform,n,i);s.dispatchEvent(a)}}preRender(e,i){this.frameState=i,this.dispatchRenderEvent_(Ei.PRERENDER,e,i)}postRender(e,i){this.dispatchRenderEvent_(Ei.POSTRENDER,e,i)}getRenderTransform(e,i,n,s,a,r,o){const l=a/2,c=r/2,u=s/i,h=-u,d=-e[0]+o,m=-e[1];return ks(this.tempTransform,l,c,u,h,-n,d,m)}disposeInternal(){delete this.frameState,super.disposeInternal()}}const H_=z_;class Y_ extends H_{constructor(e){super(e),this.extentChanged=!0,this.renderedExtent_=null,this.renderedPixelRatio,this.renderedProjection=null,this.renderedRevision,this.renderedTiles=[],this.newTiles_=!1,this.tmpExtent=cn(),this.tmpTileRange_=new bm(0,0,0,0)}isDrawableTile(e){const i=this.getLayer(),n=e.getState(),s=i.getUseInterimTilesOnError();return n==Q.LOADED||n==Q.EMPTY||n==Q.ERROR&&!s}getTile(e,i,n,s){const a=s.pixelRatio,r=s.viewState.projection,o=this.getLayer();let c=o.getSource().getTile(e,i,n,a,r);return c.getState()==Q.ERROR&&o.getUseInterimTilesOnError()&&o.getPreload()>0&&(this.newTiles_=!0),this.isDrawableTile(c)||(c=c.getInterimTile()),c}getData(e){const i=this.frameState;if(!i)return null;const n=this.getLayer(),s=St(i.pixelToCoordinateTransform,e.slice()),a=n.getExtent();if(a&&!hl(a,s))return null;const r=i.pixelRatio,o=i.viewState.projection,l=i.viewState,c=n.getRenderSource(),u=c.getTileGridForProjection(l.projection),h=c.getTilePixelRatio(i.pixelRatio);for(let d=u.getZForResolution(l.resolution);d>=u.getMinZoom();--d){const m=u.getTileCoordForCoordAndZ(s,d),f=c.getTile(d,m[1],m[2],r,o);if(!(f instanceof fm||f instanceof Mo)||f instanceof Mo&&f.getState()===Q.EMPTY)return null;if(f.getState()!==Q.LOADED)continue;const p=u.getOrigin(d),y=wi(u.getTileSize(d)),_=u.getResolution(d),v=Math.floor(h*((s[0]-p[0])/_-m[1]*y[0])),C=Math.floor(h*((p[1]-s[1])/_-m[2]*y[1])),x=Math.round(h*c.getGutterForProjection(l.projection));return this.getImageData(f.getImage(),v+x,C+x)}return null}loadedTileCallback(e,i,n){return this.isDrawableTile(n)?super.loadedTileCallback(e,i,n):!1}prepareFrame(e){return!!this.getLayer().getSource()}renderFrame(e,i){const n=e.layerStatesArray[e.layerIndex],s=e.viewState,a=s.projection,r=s.resolution,o=s.center,l=s.rotation,c=e.pixelRatio,u=this.getLayer(),h=u.getSource(),d=h.getRevision(),m=h.getTileGridForProjection(a),f=m.getZForResolution(r,h.zDirection),p=m.getResolution(f);let y=e.extent;const _=e.viewState.resolution,v=h.getTilePixelRatio(c),C=Math.round(Be(y)/_*c),x=Math.round(Ut(y)/_*c),F=n.extent&&wn(n.extent);F&&(y=gs(y,wn(n.extent)));const L=p*C/2/v,$=p*x/2/v,H=[o[0]-L,o[1]-$,o[0]+L,o[1]+$],re=m.getTileRangeForExtentAndZ(y,f),oe={};oe[f]={};const _e=this.createLoadedTileFinder(h,a,oe),He=this.tmpExtent,Ke=this.tmpTileRange_;this.newTiles_=!1;const Et=l?vo(s.center,_,l,e.size):void 0;for(let Ve=re.minX;Ve<=re.maxX;++Ve)for(let pe=re.minY;pe<=re.maxY;++pe){if(l&&!m.tileCoordIntersectsViewport([f,Ve,pe],Et))continue;const Se=this.getTile(f,Ve,pe,e);if(this.isDrawableTile(Se)){const Z=xt(this);if(Se.getState()==Q.LOADED){oe[f][Se.tileCoord.toString()]=Se;let P=Se.inTransition(Z);P&&n.opacity!==1&&(Se.endTransition(Z),P=!1),!this.newTiles_&&(P||!this.renderedTiles.includes(Se))&&(this.newTiles_=!0)}if(Se.getAlpha(Z,e.time)===1)continue}const Pe=m.getTileCoordChildTileRange(Se.tileCoord,Ke,He);let E=!1;Pe&&(E=_e(f+1,Pe)),E||m.forEachTileCoordParentTileRange(Se.tileCoord,_e,Ke,He)}const tt=p/r*c/v;ks(this.pixelTransform,e.size[0]/2,e.size[1]/2,1/c,1/c,l,-C/2,-x/2);const ve=_2(this.pixelTransform);this.useContainer(i,ve,this.getBackground(e));const j=this.context,se=j.canvas;Dd(this.inversePixelTransform,this.pixelTransform),ks(this.tempTransform,C/2,x/2,tt,tt,0,-C/2,-x/2),se.width!=C||se.height!=x?(se.width=C,se.height=x):this.containerReused||j.clearRect(0,0,C,x),F&&this.clipUnrotated(j,e,F),h.getInterpolate()||(j.imageSmoothingEnabled=!1),this.preRender(j,e),this.renderedTiles.length=0;let Ye=Object.keys(oe).map(Number);Ye.sort(ll);let $e,ot,me;n.opacity===1&&(!this.containerReused||h.getOpaque(e.viewState.projection))?Ye=Ye.reverse():($e=[],ot=[]);for(let Ve=Ye.length-1;Ve>=0;--Ve){const pe=Ye[Ve],Se=h.getTilePixelSize(pe,c,a),E=m.getResolution(pe)/p,Z=Se[0]*E*tt,P=Se[1]*E*tt,q=m.getTileCoordForCoordAndZ(un(H),pe),ce=m.getTileCoordExtent(q),g=St(this.tempTransform,[v*(ce[0]-H[0])/p,v*(H[3]-ce[3])/p]),b=v*h.getGutterForProjection(a),N=oe[pe];for(const k in N){const M=N[k],I=M.tileCoord,G=q[1]-I[1],S=Math.round(g[0]-(G-1)*Z),A=q[2]-I[2],T=Math.round(g[1]-(A-1)*P),U=Math.round(g[0]-G*Z),W=Math.round(g[1]-A*P),z=S-U,te=T-W,ae=f===pe,Ne=ae&&M.getAlpha(xt(this),e.time)!==1;let he=!1;if(!Ne)if($e){me=[U,W,U+z,W,U+z,W+te,U,W+te];for(let Ie=0,kt=$e.length;Ie0&&(this.tileUrlFunction=Io(s.map(this.createFromWMTSTemplate.bind(this))))}setUrls(e){this.urls=e;const i=e.join(` +`);this.setTileUrlFunction(Io(e.map(this.createFromWMTSTemplate.bind(this))),i)}getDimensions(){return this.dimensions_}getFormat(){return this.format_}getLayer(){return this.layer_}getMatrixSet(){return this.matrixSet_}getRequestEncoding(){return this.requestEncoding_}getStyle(){return this.style_}getVersion(){return this.version_}getKeyForDimensions_(){const e=this.urls?this.urls.slice(0):[];for(const i in this.dimensions_)e.push(i+"-"+this.dimensions_[i]);return e.join("/")}updateDimensions(e){Object.assign(this.dimensions_,e),this.setKey(this.getKeyForDimensions_())}createFromWMTSTemplate(e){const i=this.requestEncoding_,n={layer:this.layer_,style:this.style_,tilematrixset:this.matrixSet_};i=="KVP"&&Object.assign(n,{Service:"WMTS",Request:"GetTile",Version:this.version_,Format:this.format_}),e=i=="KVP"?xu(e,n):e.replace(/\{(\w+?)\}/g,function(r,o){return o.toLowerCase()in n?n[o.toLowerCase()]:r});const s=this.tileGrid,a=this.dimensions_;return function(r,o,l){if(!r)return;const c={TileMatrix:s.getMatrixId(r[0]),TileCol:r[1],TileRow:r[2]};Object.assign(c,a);let u=e;return i=="KVP"?u=xu(u,c):u=u.replace(/\{(\w+?)\}/g,function(h,d){return c[d]}),u}}}const Q_=J_;function e9(t){t("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),t("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),t("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),t.WGS84=t["EPSG:4326"],t["EPSG:3785"]=t["EPSG:3857"],t.GOOGLE=t["EPSG:3857"],t["EPSG:900913"]=t["EPSG:3857"],t["EPSG:102113"]=t["EPSG:3857"]}var nn=1,sn=2,Gn=3,t9=4,To=5,wu=6378137,i9=6356752314e-3,Cu=.0066943799901413165,ys=484813681109536e-20,R=Math.PI/2,n9=.16666666666666666,s9=.04722222222222222,a9=.022156084656084655,O=1e-10,it=.017453292519943295,ei=57.29577951308232,ge=Math.PI/4,Rs=Math.PI*2,Ue=3.14159265359,Ft={};Ft.greenwich=0;Ft.lisbon=-9.131906111111;Ft.paris=2.337229166667;Ft.bogota=-74.080916666667;Ft.madrid=-3.687938888889;Ft.rome=12.452333333333;Ft.bern=7.439583333333;Ft.jakarta=106.807719444444;Ft.ferro=-17.666666666667;Ft.brussels=4.367975;Ft.stockholm=18.058277777778;Ft.athens=23.7163375;Ft.oslo=10.722916666667;const r9={ft:{to_meter:.3048},"us-ft":{to_meter:1200/3937}};var Fu=/[\s_\-\/\(\)]/g;function Si(t,e){if(t[e])return t[e];for(var i=Object.keys(t),n=e.toLowerCase().replace(Fu,""),s=-1,a,r;++s=this.text.length)return;t=this.text[this.place++]}switch(this.state){case Ls:return this.neutral(t);case Cm:return this.keyword(t);case Ha:return this.quoted(t);case Em:return this.afterquote(t);case Fm:return this.number(t);case Ll:return}};fi.prototype.afterquote=function(t){if(t==='"'){this.word+='"',this.state=Ha;return}if(Rr.test(t)){this.word=this.word.trim(),this.afterItem(t);return}throw new Error(`havn't handled "`+t+'" in afterquote yet, index '+this.place)};fi.prototype.afterItem=function(t){if(t===","){this.word!==null&&this.currentObject.push(this.word),this.word=null,this.state=Ls;return}if(t==="]"){this.level--,this.word!==null&&(this.currentObject.push(this.word),this.word=null),this.state=Ls,this.currentObject=this.stack.pop(),this.currentObject||(this.state=Ll);return}};fi.prototype.number=function(t){if(km.test(t)){this.word+=t;return}if(Rr.test(t)){this.word=parseFloat(this.word),this.afterItem(t);return}throw new Error(`havn't handled "`+t+'" in number yet, index '+this.place)};fi.prototype.quoted=function(t){if(t==='"'){this.state=Em;return}this.word+=t};fi.prototype.keyword=function(t){if(c9.test(t)){this.word+=t;return}if(t==="["){var e=[];e.push(this.word),this.level++,this.root===null?this.root=e:this.currentObject.push(e),this.stack.push(this.currentObject),this.currentObject=e,this.state=Ls;return}if(Rr.test(t)){this.afterItem(t);return}throw new Error(`havn't handled "`+t+'" in keyword yet, index '+this.place)};fi.prototype.neutral=function(t){if(l9.test(t)){this.word=t,this.state=Cm;return}if(t==='"'){this.word="",this.state=Ha;return}if(km.test(t)){this.word=t,this.state=Fm;return}if(Rr.test(t)){this.afterItem(t);return}throw new Error(`havn't handled "`+t+'" in neutral yet, index '+this.place)};fi.prototype.output=function(){for(;this.place0?90:-90),t.lat_ts=t.lat1):!t.lat_ts&&t.lat0&&t.projName==="Polar_Stereographic"&&(t.lat_ts=t.lat0,t.lat0=Yt(t.lat0>0?90:-90))}function Mm(t){var e=u9(t),i=e.shift(),n=e.shift();e.unshift(["name",n]),e.unshift(["type",i]);var s={};return Cn(e,s),m9(s),s}function yt(t){var e=this;if(arguments.length===2){var i=arguments[1];typeof i=="string"?i.charAt(0)==="+"?yt[t]=Ro(arguments[1]):yt[t]=Mm(arguments[1]):yt[t]=i}else if(arguments.length===1){if(Array.isArray(t))return t.map(function(n){Array.isArray(n)?yt.apply(e,n):yt(n)});if(typeof t=="string"){if(t in yt)return yt[t]}else"EPSG"in t?yt["EPSG:"+t.EPSG]=t:"ESRI"in t?yt["ESRI:"+t.ESRI]=t:"IAU2000"in t?yt["IAU2000:"+t.IAU2000]=t:console.log(t);return}}e9(yt);function f9(t){return typeof t=="string"}function p9(t){return t in yt}var g9=["PROJECTEDCRS","PROJCRS","GEOGCS","GEOCCS","PROJCS","LOCAL_CS","GEODCRS","GEODETICCRS","GEODETICDATUM","ENGCRS","ENGINEERINGCRS"];function y9(t){return g9.some(function(e){return t.indexOf(e)>-1})}var b9=["3857","900913","3785","102113"];function _9(t){var e=Si(t,"authority");if(e){var i=Si(e,"epsg");return i&&b9.indexOf(i)>-1}}function v9(t){var e=Si(t,"extension");if(e)return Si(e,"proj4")}function N9(t){return t[0]==="+"}function x9(t){if(f9(t)){if(p9(t))return yt[t];if(y9(t)){var e=Mm(t);if(_9(e))return yt["EPSG:3857"];var i=v9(e);return i?Ro(i):e}if(N9(t))return Ro(t)}else return t}function ku(t,e){t=t||{};var i,n;if(!e)return t;for(n in e)i=e[n],i!==void 0&&(t[n]=i);return t}function ni(t,e,i){var n=t*e;return i/Math.sqrt(1-n*n)}function Vs(t){return t<0?-1:1}function V(t){return Math.abs(t)<=Ue?t:t-Vs(t)*Rs}function Bt(t,e,i){var n=t*i,s=.5*t;return n=Math.pow((1-n)/(1+n),s),Math.tan(.5*(R-e))/n}function Ss(t,e){for(var i=.5*t,n,s,a=R-2*Math.atan(e),r=0;r<=15;r++)if(n=t*Math.sin(a),s=R-2*Math.atan(e*Math.pow((1-n)/(1+n),i))-a,a+=s,Math.abs(s)<=1e-10)return a;return-9999}function w9(){var t=this.b/this.a;this.es=1-t*t,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=ni(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)}function C9(t){var e=t.x,i=t.y;if(i*ei>90&&i*ei<-90&&e*ei>180&&e*ei<-180)return null;var n,s;if(Math.abs(Math.abs(i)-R)<=O)return null;if(this.sphere)n=this.x0+this.a*this.k0*V(e-this.long0),s=this.y0+this.a*this.k0*Math.log(Math.tan(ge+.5*i));else{var a=Math.sin(i),r=Bt(this.e,i,a);n=this.x0+this.a*this.k0*V(e-this.long0),s=this.y0-this.a*this.k0*Math.log(r)}return t.x=n,t.y=s,t}function F9(t){var e=t.x-this.x0,i=t.y-this.y0,n,s;if(this.sphere)s=R-2*Math.atan(Math.exp(-i/(this.a*this.k0)));else{var a=Math.exp(-i/(this.a*this.k0));if(s=Ss(this.e,a),s===-9999)return null}return n=V(this.long0+e/(this.a*this.k0)),t.x=n,t.y=s,t}var E9=["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"];const k9={init:w9,forward:C9,inverse:F9,names:E9};function M9(){}function Mu(t){return t}var I9=["longlat","identity"];const T9={init:M9,forward:Mu,inverse:Mu,names:I9};var R9=[k9,T9],Ca={},Ya=[];function Im(t,e){var i=Ya.length;return t.names?(Ya[i]=t,t.names.forEach(function(n){Ca[n.toLowerCase()]=i}),this):(console.log(e),!0)}function L9(t){if(!t)return!1;var e=t.toLowerCase();if(typeof Ca[e]<"u"&&Ya[Ca[e]])return Ya[Ca[e]]}function S9(){R9.forEach(Im)}const D9={start:S9,add:Im,get:L9};var ie={};ie.MERIT={a:6378137,rf:298.257,ellipseName:"MERIT 1983"};ie.SGS85={a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"};ie.GRS80={a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"};ie.IAU76={a:6378140,rf:298.257,ellipseName:"IAU 1976"};ie.airy={a:6377563396e-3,b:635625691e-2,ellipseName:"Airy 1830"};ie.APL4={a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"};ie.NWL9D={a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"};ie.mod_airy={a:6377340189e-3,b:6356034446e-3,ellipseName:"Modified Airy"};ie.andrae={a:637710443e-2,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"};ie.aust_SA={a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"};ie.GRS67={a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"};ie.bessel={a:6377397155e-3,rf:299.1528128,ellipseName:"Bessel 1841"};ie.bess_nam={a:6377483865e-3,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"};ie.clrk66={a:63782064e-1,b:63565838e-1,ellipseName:"Clarke 1866"};ie.clrk80={a:6378249145e-3,rf:293.4663,ellipseName:"Clarke 1880 mod."};ie.clrk80ign={a:63782492e-1,b:6356515,rf:293.4660213,ellipseName:"Clarke 1880 (IGN)"};ie.clrk58={a:6378293645208759e-9,rf:294.2606763692654,ellipseName:"Clarke 1858"};ie.CPM={a:63757387e-1,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"};ie.delmbr={a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"};ie.engelis={a:637813605e-2,rf:298.2566,ellipseName:"Engelis 1985"};ie.evrst30={a:6377276345e-3,rf:300.8017,ellipseName:"Everest 1830"};ie.evrst48={a:6377304063e-3,rf:300.8017,ellipseName:"Everest 1948"};ie.evrst56={a:6377301243e-3,rf:300.8017,ellipseName:"Everest 1956"};ie.evrst69={a:6377295664e-3,rf:300.8017,ellipseName:"Everest 1969"};ie.evrstSS={a:6377298556e-3,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"};ie.fschr60={a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"};ie.fschr60m={a:6378155,rf:298.3,ellipseName:"Fischer 1960"};ie.fschr68={a:6378150,rf:298.3,ellipseName:"Fischer 1968"};ie.helmert={a:6378200,rf:298.3,ellipseName:"Helmert 1906"};ie.hough={a:6378270,rf:297,ellipseName:"Hough"};ie.intl={a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"};ie.kaula={a:6378163,rf:298.24,ellipseName:"Kaula 1961"};ie.lerch={a:6378139,rf:298.257,ellipseName:"Lerch 1979"};ie.mprts={a:6397300,rf:191,ellipseName:"Maupertius 1738"};ie.new_intl={a:63781575e-1,b:63567722e-1,ellipseName:"New International 1967"};ie.plessis={a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"};ie.krass={a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"};ie.SEasia={a:6378155,b:63567733205e-4,ellipseName:"Southeast Asia"};ie.walbeck={a:6376896,b:63558348467e-4,ellipseName:"Walbeck"};ie.WGS60={a:6378165,rf:298.3,ellipseName:"WGS 60"};ie.WGS66={a:6378145,rf:298.25,ellipseName:"WGS 66"};ie.WGS7={a:6378135,rf:298.26,ellipseName:"WGS 72"};var P9=ie.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"};ie.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"};function A9(t,e,i,n){var s=t*t,a=e*e,r=(s-a)/s,o=0;n?(t*=1-r*(n9+r*(s9+r*a9)),s=t*t,r=0):o=Math.sqrt(r);var l=(s-a)/a;return{es:r,e:o,ep2:l}}function O9(t,e,i,n,s){if(!t){var a=Si(ie,n);a||(a=P9),t=a.a,e=a.b,i=a.rf}return i&&!e&&(e=(1-1/i)*t),(i===0||Math.abs(t-e)3&&(o.datum_params[3]!==0||o.datum_params[4]!==0||o.datum_params[5]!==0||o.datum_params[6]!==0)&&(o.datum_type=sn,o.datum_params[3]*=ys,o.datum_params[4]*=ys,o.datum_params[5]*=ys,o.datum_params[6]=o.datum_params[6]/1e6+1)),r&&(o.datum_type=Gn,o.grids=r),o.a=i,o.b=n,o.es=s,o.ep2=a,o}var Tm={};function Z9(t,e){var i=new DataView(e),n=K9(i),s=V9(i,n),a=U9(i,s,n),r={header:s,subgrids:a};return Tm[t]=r,r}function X9(t){if(t===void 0)return null;var e=t.split(",");return e.map(W9)}function W9(t){if(t.length===0)return null;var e=t[0]==="@";return e&&(t=t.slice(1)),t==="null"?{name:"null",mandatory:!e,grid:null,isNull:!0}:{name:t,mandatory:!e,grid:Tm[t]||null,isNull:!1}}function Fn(t){return t/3600*Math.PI/180}function K9(t){var e=t.getInt32(8,!1);return e===11?!1:(e=t.getInt32(8,!0),e!==11&&console.warn("Failed to detect nadgrid endian-ness, defaulting to little-endian"),!0)}function V9(t,e){return{nFields:t.getInt32(8,e),nSubgridFields:t.getInt32(24,e),nSubgrids:t.getInt32(40,e),shiftType:Lo(t,56,56+8).trim(),fromSemiMajorAxis:t.getFloat64(120,e),fromSemiMinorAxis:t.getFloat64(136,e),toSemiMajorAxis:t.getFloat64(152,e),toSemiMinorAxis:t.getFloat64(168,e)}}function Lo(t,e,i){return String.fromCharCode.apply(null,new Uint8Array(t.buffer.slice(e,i)))}function U9(t,e,i){for(var n=176,s=[],a=0;a5e-11?!1:t.datum_type===nn?t.datum_params[0]===e.datum_params[0]&&t.datum_params[1]===e.datum_params[1]&&t.datum_params[2]===e.datum_params[2]:t.datum_type===sn?t.datum_params[0]===e.datum_params[0]&&t.datum_params[1]===e.datum_params[1]&&t.datum_params[2]===e.datum_params[2]&&t.datum_params[3]===e.datum_params[3]&&t.datum_params[4]===e.datum_params[4]&&t.datum_params[5]===e.datum_params[5]&&t.datum_params[6]===e.datum_params[6]:!0}function Rm(t,e,i){var n=t.x,s=t.y,a=t.z?t.z:0,r,o,l,c;if(s<-R&&s>-1.001*R)s=-R;else if(s>R&&s<1.001*R)s=R;else{if(s<-R)return{x:-1/0,y:-1/0,z:t.z};if(s>R)return{x:1/0,y:1/0,z:t.z}}return n>Math.PI&&(n-=2*Math.PI),o=Math.sin(s),c=Math.cos(s),l=o*o,r=i/Math.sqrt(1-e*l),{x:(r+a)*c*Math.cos(n),y:(r+a)*c*Math.sin(n),z:(r*(1-e)+a)*o}}function Lm(t,e,i,n){var s=1e-12,a=s*s,r=30,o,l,c,u,h,d,m,f,p,y,_,v,C,x=t.x,F=t.y,L=t.z?t.z:0,$,H,re;if(o=Math.sqrt(x*x+F*F),l=Math.sqrt(x*x+F*F+L*L),o/ia&&Cn.y||m>n.x||yo&&Math.abs(l.y)>o);if(r<0)return console.log("Inverse grid shift iterator failed to converge."),n;n.x=V(a.x+i.ll[0]),n.y=a.y+i.ll[1]}else isNaN(a.x)||(n.x=t.x+a.x,n.y=t.y+a.y);return n}function Tu(t,e){var i={x:t.x/e.del[0],y:t.y/e.del[1]},n={x:Math.floor(i.x),y:Math.floor(i.y)},s={x:i.x-1*n.x,y:i.y-1*n.y},a={x:Number.NaN,y:Number.NaN},r;if(n.x<0||n.x>=e.lim[0]||n.y<0||n.y>=e.lim[1])return a;r=n.y*e.lim[0]+n.x;var o={x:e.cvs[r][0],y:e.cvs[r][1]};r++;var l={x:e.cvs[r][0],y:e.cvs[r][1]};r+=e.lim[0];var c={x:e.cvs[r][0],y:e.cvs[r][1]};r--;var u={x:e.cvs[r][0],y:e.cvs[r][1]},h=s.x*s.y,d=s.x*(1-s.y),m=(1-s.x)*(1-s.y),f=(1-s.x)*s.y;return a.x=m*o.x+d*l.x+f*u.x+h*c.x,a.y=m*o.y+d*l.y+f*u.y+h*c.y,a}function Ru(t,e,i){var n=i.x,s=i.y,a=i.z||0,r,o,l,c={};for(l=0;l<3;l++)if(!(e&&l===2&&i.z===void 0))switch(l===0?(r=n,"ew".indexOf(t.axis[l])!==-1?o="x":o="y"):l===1?(r=s,"ns".indexOf(t.axis[l])!==-1?o="y":o="x"):(r=a,o="z"),t.axis[l]){case"e":c[o]=r;break;case"w":c[o]=-r;break;case"n":c[o]=r;break;case"s":c[o]=-r;break;case"u":i[o]!==void 0&&(c.z=r);break;case"d":i[o]!==void 0&&(c.z=-r);break;default:return null}return c}function Sm(t){var e={x:t[0],y:t[1]};return t.length>2&&(e.z=t[2]),t.length>3&&(e.m=t[3]),e}function Q9(t){Lu(t.x),Lu(t.y)}function Lu(t){if(typeof Number.isFinite=="function"){if(Number.isFinite(t))return;throw new TypeError("coordinates must be finite numbers")}if(typeof t!="number"||t!==t||!isFinite(t))throw new TypeError("coordinates must be finite numbers")}function e7(t,e){return(t.datum.datum_type===nn||t.datum.datum_type===sn||t.datum.datum_type===Gn)&&e.datumCode!=="WGS84"||(e.datum.datum_type===nn||e.datum.datum_type===sn||e.datum.datum_type===Gn)&&t.datumCode!=="WGS84"}function $a(t,e,i,n){var s;Array.isArray(i)?i=Sm(i):i={x:i.x,y:i.y,z:i.z,m:i.m};var a=i.z!==void 0;if(Q9(i),t.datum&&e.datum&&e7(t,e)&&(s=new ti("WGS84"),i=$a(t,s,i,n),t=s),n&&t.axis!=="enu"&&(i=Ru(t,!1,i)),t.projName==="longlat")i={x:i.x*it,y:i.y*it,z:i.z||0};else if(t.to_meter&&(i={x:i.x*t.to_meter,y:i.y*t.to_meter,z:i.z||0}),i=t.inverse(i),!i)return;if(t.from_greenwich&&(i.x+=t.from_greenwich),i=j9(t.datum,e.datum,i),!!i)return e.from_greenwich&&(i={x:i.x-e.from_greenwich,y:i.y,z:i.z||0}),e.projName==="longlat"?i={x:i.x*ei,y:i.y*ei,z:i.z||0}:(i=e.forward(i),e.to_meter&&(i={x:i.x/e.to_meter,y:i.y/e.to_meter,z:i.z||0})),n&&e.axis!=="enu"?Ru(e,!0,i):(i&&!a&&delete i.z,i)}var Su=ti("WGS84");function jr(t,e,i,n){var s,a,r;return Array.isArray(i)?(s=$a(t,e,i,n)||{x:NaN,y:NaN},i.length>2?typeof t.name<"u"&&t.name==="geocent"||typeof e.name<"u"&&e.name==="geocent"?typeof s.z=="number"?[s.x,s.y,s.z].concat(i.splice(3)):[s.x,s.y,i[2]].concat(i.splice(3)):[s.x,s.y].concat(i.splice(2)):[s.x,s.y]):(a=$a(t,e,i,n),r=Object.keys(i),r.length===2||r.forEach(function(o){if(typeof t.name<"u"&&t.name==="geocent"||typeof e.name<"u"&&e.name==="geocent"){if(o==="x"||o==="y"||o==="z")return}else if(o==="x"||o==="y")return;a[o]=i[o]}),a)}function Du(t){return t instanceof ti?t:t.oProj?t.oProj:ti(t)}function Rt(t,e,i){t=Du(t);var n=!1,s;return typeof e>"u"?(e=t,t=Su,n=!0):(typeof e.x<"u"||Array.isArray(e))&&(i=e,e=t,t=Su,n=!0),e=Du(e),i?jr(t,e,i):(s={forward:function(a,r){return jr(t,e,a,r)},inverse:function(a,r){return jr(e,t,a,r)}},n&&(s.oProj=e),s)}var Pu=6,Dm="AJSAJS",Pm="AFAFAF",En=65,vt=73,Lt=79,cs=86,us=90;const t7={forward:Am,inverse:i7,toPoint:Om};function Am(t,e){return e=e||5,a7(n7({lat:t[1],lon:t[0]}),e)}function i7(t){var e=Sl(Zm(t.toUpperCase()));return e.lat&&e.lon?[e.lon,e.lat,e.lon,e.lat]:[e.left,e.bottom,e.right,e.top]}function Om(t){var e=Sl(Zm(t.toUpperCase()));return e.lat&&e.lon?[e.lon,e.lat]:[(e.left+e.right)/2,(e.top+e.bottom)/2]}function Jr(t){return t*(Math.PI/180)}function Au(t){return 180*(t/Math.PI)}function n7(t){var e=t.lat,i=t.lon,n=6378137,s=.00669438,a=.9996,r,o,l,c,u,h,d,m=Jr(e),f=Jr(i),p,y;y=Math.floor((i+180)/6)+1,i===180&&(y=60),e>=56&&e<64&&i>=3&&i<12&&(y=32),e>=72&&e<84&&(i>=0&&i<9?y=31:i>=9&&i<21?y=33:i>=21&&i<33?y=35:i>=33&&i<42&&(y=37)),r=(y-1)*6-180+3,p=Jr(r),o=s/(1-s),l=n/Math.sqrt(1-s*Math.sin(m)*Math.sin(m)),c=Math.tan(m)*Math.tan(m),u=o*Math.cos(m)*Math.cos(m),h=Math.cos(m)*(f-p),d=n*((1-s/4-3*s*s/64-5*s*s*s/256)*m-(3*s/8+3*s*s/32+45*s*s*s/1024)*Math.sin(2*m)+(15*s*s/256+45*s*s*s/1024)*Math.sin(4*m)-35*s*s*s/3072*Math.sin(6*m));var _=a*l*(h+(1-c+u)*h*h*h/6+(5-18*c+c*c+72*u-58*o)*h*h*h*h*h/120)+5e5,v=a*(d+l*Math.tan(m)*(h*h/2+(5-c+9*u+4*u*u)*h*h*h*h/24+(61-58*c+c*c+600*u-330*o)*h*h*h*h*h*h/720));return e<0&&(v+=1e7),{northing:Math.round(v),easting:Math.round(_),zoneNumber:y,zoneLetter:s7(e)}}function Sl(t){var e=t.northing,i=t.easting,n=t.zoneLetter,s=t.zoneNumber;if(s<0||s>60)return null;var a=.9996,r=6378137,o=.00669438,l,c=(1-Math.sqrt(1-o))/(1+Math.sqrt(1-o)),u,h,d,m,f,p,y,_,v,C=i-5e5,x=e;n<"N"&&(x-=1e7),y=(s-1)*6-180+3,l=o/(1-o),p=x/a,_=p/(r*(1-o/4-3*o*o/64-5*o*o*o/256)),v=_+(3*c/2-27*c*c*c/32)*Math.sin(2*_)+(21*c*c/16-55*c*c*c*c/32)*Math.sin(4*_)+151*c*c*c/96*Math.sin(6*_),u=r/Math.sqrt(1-o*Math.sin(v)*Math.sin(v)),h=Math.tan(v)*Math.tan(v),d=l*Math.cos(v)*Math.cos(v),m=r*(1-o)/Math.pow(1-o*Math.sin(v)*Math.sin(v),1.5),f=C/(u*a);var F=v-u*Math.tan(v)/m*(f*f/2-(5+3*h+10*d-4*d*d-9*l)*f*f*f*f/24+(61+90*h+298*d+45*h*h-252*l-3*d*d)*f*f*f*f*f*f/720);F=Au(F);var L=(f-(1+2*h+d)*f*f*f/6+(5-2*d+28*h-3*d*d+8*l+24*h*h)*f*f*f*f*f/120)/Math.cos(v);L=y+Au(L);var $;if(t.accuracy){var H=Sl({northing:t.northing+t.accuracy,easting:t.easting+t.accuracy,zoneLetter:t.zoneLetter,zoneNumber:t.zoneNumber});$={top:H.lat,right:H.lon,bottom:F,left:L}}else $={lat:F,lon:L};return $}function s7(t){var e="Z";return 84>=t&&t>=72?e="X":72>t&&t>=64?e="W":64>t&&t>=56?e="V":56>t&&t>=48?e="U":48>t&&t>=40?e="T":40>t&&t>=32?e="S":32>t&&t>=24?e="R":24>t&&t>=16?e="Q":16>t&&t>=8?e="P":8>t&&t>=0?e="N":0>t&&t>=-8?e="M":-8>t&&t>=-16?e="L":-16>t&&t>=-24?e="K":-24>t&&t>=-32?e="J":-32>t&&t>=-40?e="H":-40>t&&t>=-48?e="G":-48>t&&t>=-56?e="F":-56>t&&t>=-64?e="E":-64>t&&t>=-72?e="D":-72>t&&t>=-80&&(e="C"),e}function a7(t,e){var i="00000"+t.easting,n="00000"+t.northing;return t.zoneNumber+t.zoneLetter+r7(t.easting,t.northing,t.zoneNumber)+i.substr(i.length-5,e)+n.substr(n.length-5,e)}function r7(t,e,i){var n=Gm(i),s=Math.floor(t/1e5),a=Math.floor(e/1e5)%20;return o7(s,a,n)}function Gm(t){var e=t%Pu;return e===0&&(e=Pu),e}function o7(t,e,i){var n=i-1,s=Dm.charCodeAt(n),a=Pm.charCodeAt(n),r=s+t-1,o=a+e,l=!1;r>us&&(r=r-us+En-1,l=!0),(r===vt||svt||(r>vt||sLt||(r>Lt||sus&&(r=r-us+En-1),o>cs?(o=o-cs+En-1,l=!0):l=!1,(o===vt||avt||(o>vt||aLt||(o>Lt||acs&&(o=o-cs+En-1);var c=String.fromCharCode(r)+String.fromCharCode(o);return c}function Zm(t){if(t&&t.length===0)throw"MGRSPoint coverting from nothing";for(var e=t.length,i=null,n="",s,a=0;!/[A-Z]/.test(s=t.charAt(a));){if(a>=2)throw"MGRSPoint bad conversion from: "+t;n+=s,a++}var r=parseInt(n,10);if(a===0||a+3>e)throw"MGRSPoint bad conversion from: "+t;var o=t.charAt(a++);if(o<="A"||o==="B"||o==="Y"||o>="Z"||o==="I"||o==="O")throw"MGRSPoint zone letter "+o+" not handled: "+t;i=t.substring(a,a+=2);for(var l=Gm(r),c=l7(i.charAt(0),l),u=c7(i.charAt(1),l);u0&&(p=1e5/Math.pow(10,d),y=t.substring(a,a+d),f=parseFloat(y)*p,_=t.substring(a+d),m=parseFloat(_)*p),v=f+c,C=m+u,{easting:v,northing:C,zoneLetter:o,zoneNumber:r,accuracy:p}}function l4(t,e){for(var i=Af.charCodeAt(e-1),n=1e5,s=!1;i!==t.charCodeAt(0);){if(i++,i===vt&&i++,i===Lt&&i++,i>us){if(s)throw"Bad character: "+t;i=En,s=!0}n+=1e5}return n}function c4(t,e){if(t>"V")throw"MGRSPoint given invalid Northing "+t;for(var i=Pf.charCodeAt(e-1),n=0,s=!1;i!==t.charCodeAt(0);){if(i++,i===vt&&i++,i===Lt&&i++,i>cs){if(s)throw"Bad character: "+t;i=En,s=!0}n+=1e5}return n}function u4(t){var e;switch(t){case"C":e=11e5;break;case"D":e=2e6;break;case"E":e=28e5;break;case"F":e=37e5;break;case"G":e=46e5;break;case"H":e=55e5;break;case"J":e=64e5;break;case"K":e=73e5;break;case"L":e=82e5;break;case"M":e=91e5;break;case"N":e=0;break;case"P":e=8e5;break;case"Q":e=17e5;break;case"R":e=26e5;break;case"S":e=35e5;break;case"T":e=44e5;break;case"U":e=53e5;break;case"V":e=62e5;break;case"W":e=7e6;break;case"X":e=79e5;break;default:e=-1}if(e>=0)return e;throw"Invalid zone letter: "+t}function qn(t,e,i){if(!(this instanceof qn))return new qn(t,e,i);if(Array.isArray(t))this.x=t[0],this.y=t[1],this.z=t[2]||0;else if(typeof t=="object")this.x=t.x,this.y=t.y,this.z=t.z||0;else if(typeof t=="string"&&typeof e>"u"){var n=t.split(",");this.x=parseFloat(n[0],10),this.y=parseFloat(n[1],10),this.z=parseFloat(n[2],10)||0}else this.x=t,this.y=e,this.z=i||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}qn.fromMGRS=function(t){return new qn(Gf(t))};qn.prototype.toMGRS=function(t){return Of([this.x,this.y],t)};var h4=1,d4=.25,Ou=.046875,Gu=.01953125,Zu=.01068115234375,f4=.75,m4=.46875,p4=.013020833333333334,g4=.007120768229166667,y4=.3645833333333333,b4=.005696614583333333,_4=.3076171875;function Wf(t){var e=[];e[0]=h4-t*(d4+t*(Ou+t*(Gu+t*Zu))),e[1]=t*(f4-t*(Ou+t*(Gu+t*Zu)));var i=t*t;return e[2]=i*(m4-t*(p4+t*g4)),i*=t,e[3]=i*(y4-t*b4),e[4]=i*t*_4,e}function Lr(t,e,i,n){return i*=e,e*=e,n[0]*t-i*(n[1]+e*(n[2]+e*(n[3]+e*n[4])))}var v4=20;function Vf(t,e,i){for(var n=1/(1-e),s=t,a=v4;a;--a){var r=Math.sin(s),o=1-e*r*r;if(o=(Lr(s,r,Math.cos(s),i)-t)*(o*Math.sqrt(o))*n,s-=o,Math.abs(o)O?Math.tan(i):0,p=Math.pow(m,2),y=Math.pow(p,2);s=1-this.es*Math.pow(o,2),u=u/Math.sqrt(s);var _=Lr(i,o,l,this.en);a=this.a*(this.k0*u*(1+h/6*(1-p+d+h/20*(5-18*p+y+14*d-58*p*d+h/42*(61+179*y-y*p-479*p)))))+this.x0,r=this.a*(this.k0*(_-this.ml0+o*n*u/2*(1+h/12*(5-p+9*d+4*f+h/30*(61+y-58*p+270*d-330*p*d+h/56*(1385+543*y-y*p-3111*p))))))+this.y0}else{var c=l*Math.sin(n);if(Math.abs(Math.abs(c)-1)=1){if(c-1>O)return 93;r=0}else r=Math.acos(r);i<0&&(r=-r),r=this.a*this.k0*(r-this.lat0)+this.y0}return t.x=a,t.y=r,t}function x4(t){var e,i,n,s,a=(t.x-this.x0)*(1/this.a),r=(t.y-this.y0)*(1/this.a);if(this.es)if(e=this.ml0+r/this.k0,i=Vf(e,this.es,this.en),Math.abs(i)O?Math.tan(i):0,m=this.ep2*Math.pow(d,2),p=Math.pow(m,2),y=Math.pow(f,2),_=Math.pow(y,2);e=1-this.es*Math.pow(h,2);var v=a*Math.sqrt(e)/this.k0,C=Math.pow(v,2);e=e*f,n=i-e*C/(1-this.es)*.5*(1-C/12*(5+3*y-9*m*y+m-4*p-C/30*(61+90*y-252*m*y+45*_+46*m-C/56*(1385+3633*y+4095*_+1574*_*y)))),s=K(this.long0+v*(1-C/6*(1+2*y+m-C/20*(5+28*y+24*_+8*m*y+6*m-C/42*(61+662*y+1320*_+720*_*y))))/d)}else n=R*Ks(r),s=0;else{var o=Math.exp(a/this.k0),l=.5*(o-1/o),c=this.lat0+r/this.k0,u=Math.cos(c);e=Math.sqrt((1-Math.pow(u,2))/(1+Math.pow(l,2))),n=Math.asin(e),r<0&&(n=-n),l===0&&u===0?s=0:s=K(Math.atan2(l,u)+this.long0)}return t.x=s,t.y=n,t}var C4=["Fast_Transverse_Mercator","Fast Transverse Mercator"];const Fa={init:N4,forward:w4,inverse:x4,names:C4};function Kf(t){var e=Math.exp(t);return e=(e-1/e)/2,e}function Pt(t,e){t=Math.abs(t),e=Math.abs(e);var i=Math.max(t,e),n=Math.min(t,e)/(i||1);return i*Math.sqrt(1+Math.pow(n,2))}function F4(t){var e=1+t,i=e-1;return i===0?t:t*Math.log(e)/i}function E4(t){var e=Math.abs(t);return e=F4(e*(1+e/(Pt(1,e)+1))),t<0?-e:e}function Dl(t,e){for(var i=2*Math.cos(2*e),n=t.length-1,s=t[n],a=0,r;--n>=0;)r=-a+i*s+t[n],a=s,s=r;return e+r*Math.sin(2*e)}function k4(t,e){for(var i=2*Math.cos(e),n=t.length-1,s=t[n],a=0,r;--n>=0;)r=-a+i*s+t[n],a=s,s=r;return Math.sin(e)*r}function M4(t){var e=Math.exp(t);return e=(e+1/e)/2,e}function Uf(t,e,i){for(var n=Math.sin(e),s=Math.cos(e),a=Kf(i),r=M4(i),o=2*s*r,l=-2*n*a,c=t.length-1,u=t[c],h=0,d=0,f=0,m,p;--c>=0;)m=d,p=h,d=u,h=f,u=-m+o*d-l*h+t[c],f=-p+l*d+o*h;return o=n*r,l=s*a,[o*u-l*f,o*f+l*u]}function I4(){if(!this.approx&&(isNaN(this.es)||this.es<=0))throw new Error('Incorrect elliptical usage. Try using the +approx option in the proj string, or PROJECTION["Fast_Transverse_Mercator"] in the WKT.');this.approx&&(Fa.init.apply(this),this.forward=Fa.forward,this.inverse=Fa.inverse),this.x0=this.x0!==void 0?this.x0:0,this.y0=this.y0!==void 0?this.y0:0,this.long0=this.long0!==void 0?this.long0:0,this.lat0=this.lat0!==void 0?this.lat0:0,this.cgb=[],this.cbg=[],this.utg=[],this.gtu=[];var t=this.es/(1+Math.sqrt(1-this.es)),e=t/(2-t),i=e;this.cgb[0]=e*(2+e*(-2/3+e*(-2+e*(116/45+e*(26/45+e*(-2854/675)))))),this.cbg[0]=e*(-2+e*(2/3+e*(4/3+e*(-82/45+e*(32/45+e*(4642/4725)))))),i=i*e,this.cgb[1]=i*(7/3+e*(-8/5+e*(-227/45+e*(2704/315+e*(2323/945))))),this.cbg[1]=i*(5/3+e*(-16/15+e*(-13/9+e*(904/315+e*(-1522/945))))),i=i*e,this.cgb[2]=i*(56/15+e*(-136/35+e*(-1262/105+e*(73814/2835)))),this.cbg[2]=i*(-26/15+e*(34/21+e*(8/5+e*(-12686/2835)))),i=i*e,this.cgb[3]=i*(4279/630+e*(-332/35+e*(-399572/14175))),this.cbg[3]=i*(1237/630+e*(-12/5+e*(-24832/14175))),i=i*e,this.cgb[4]=i*(4174/315+e*(-144838/6237)),this.cbg[4]=i*(-734/315+e*(109598/31185)),i=i*e,this.cgb[5]=i*(601676/22275),this.cbg[5]=i*(444337/155925),i=Math.pow(e,2),this.Qn=this.k0/(1+e)*(1+i*(1/4+i*(1/64+i/256))),this.utg[0]=e*(-.5+e*(2/3+e*(-37/96+e*(1/360+e*(81/512+e*(-96199/604800)))))),this.gtu[0]=e*(.5+e*(-2/3+e*(5/16+e*(41/180+e*(-127/288+e*(7891/37800)))))),this.utg[1]=i*(-1/48+e*(-1/15+e*(437/1440+e*(-46/105+e*(1118711/3870720))))),this.gtu[1]=i*(13/48+e*(-3/5+e*(557/1440+e*(281/630+e*(-1983433/1935360))))),i=i*e,this.utg[2]=i*(-17/480+e*(37/840+e*(209/4480+e*(-5569/90720)))),this.gtu[2]=i*(61/240+e*(-103/140+e*(15061/26880+e*(167603/181440)))),i=i*e,this.utg[3]=i*(-4397/161280+e*(11/504+e*(830251/7257600))),this.gtu[3]=i*(49561/161280+e*(-179/168+e*(6601661/7257600))),i=i*e,this.utg[4]=i*(-4583/161280+e*(108847/3991680)),this.gtu[4]=i*(34729/80640+e*(-3418889/1995840)),i=i*e,this.utg[5]=i*(-20648693/638668800),this.gtu[5]=i*(212378941/319334400);var n=Dl(this.cbg,this.lat0);this.Zb=-this.Qn*(n+k4(this.gtu,2*n))}function T4(t){var e=K(t.x-this.long0),i=t.y;i=Dl(this.cbg,i);var n=Math.sin(i),s=Math.cos(i),a=Math.sin(e),r=Math.cos(e);i=Math.atan2(n,r*s),e=Math.atan2(a*s,Pt(n,s*r)),e=E4(Math.tan(e));var o=Uf(this.gtu,2*i,2*e);i=i+o[0],e=e+o[1];var l,c;return Math.abs(e)<=2.623395162778?(l=this.a*(this.Qn*e)+this.x0,c=this.a*(this.Qn*i+this.Zb)+this.y0):(l=1/0,c=1/0),t.x=l,t.y=c,t}function R4(t){var e=(t.x-this.x0)*(1/this.a),i=(t.y-this.y0)*(1/this.a);i=(i-this.Zb)/this.Qn,e=e/this.Qn;var n,s;if(Math.abs(e)<=2.623395162778){var a=Uf(this.utg,2*i,2*e);i=i+a[0],e=e+a[1],e=Math.atan(Kf(e));var r=Math.sin(i),o=Math.cos(i),l=Math.sin(e),c=Math.cos(e);i=Math.atan2(r*c,Pt(l,c*o)),e=Math.atan2(l,c*o),n=K(e+this.long0),s=Dl(this.cgb,i)}else n=1/0,s=1/0;return t.x=n,t.y=s,t}var L4=["Extended_Transverse_Mercator","Extended Transverse Mercator","etmerc","Transverse_Mercator","Transverse Mercator","Gauss Kruger","Gauss_Kruger","tmerc"];const Ea={init:I4,forward:T4,inverse:R4,names:L4};function S4(t,e){if(t===void 0){if(t=Math.floor((K(e)+Math.PI)*30/Math.PI)+1,t<0)return 0;if(t>60)return 60}return t}var D4="etmerc";function A4(){var t=S4(this.zone,this.long0);if(t===void 0)throw new Error("unknown utm zone");this.lat0=0,this.long0=(6*Math.abs(t)-183)*it,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,Ea.init.apply(this),this.forward=Ea.forward,this.inverse=Ea.inverse}var P4=["Universal Transverse Mercator System","utm"];const O4={init:A4,names:P4,dependsOn:D4};function Al(t,e){return Math.pow((1-t)/(1+t),e)}var G4=20;function Z4(){var t=Math.sin(this.lat0),e=Math.cos(this.lat0);e*=e,this.rc=Math.sqrt(1-this.es)/(1-this.es*t*t),this.C=Math.sqrt(1+this.es*e*e/(1-this.es)),this.phic0=Math.asin(t/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+ge)/(Math.pow(Math.tan(.5*this.lat0+ge),this.C)*Al(this.e*t,this.ratexp))}function X4(t){var e=t.x,i=t.y;return t.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*i+ge),this.C)*Al(this.e*Math.sin(i),this.ratexp))-R,t.x=this.C*e,t}function W4(t){for(var e=1e-14,i=t.x/this.C,n=t.y,s=Math.pow(Math.tan(.5*n+ge)/this.K,1/this.C),a=G4;a>0&&(n=2*Math.atan(s*Al(this.e*Math.sin(t.y),-.5*this.e))-R,!(Math.abs(n-t.y)0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),this.k0===1&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=O&&Math.abs(Math.cos(this.lat_ts))>O&&(this.k0=.5*this.cons*ni(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/Bt(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=ni(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-R,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))}function $4(t){var e=t.x,i=t.y,n=Math.sin(i),s=Math.cos(i),a,r,o,l,c,u,h=K(e-this.long0);return Math.abs(Math.abs(e-this.long0)-Math.PI)<=O&&Math.abs(i+this.lat0)<=O?(t.x=NaN,t.y=NaN,t):this.sphere?(a=2*this.k0/(1+this.sinlat0*n+this.coslat0*s*Math.cos(h)),t.x=this.a*a*s*Math.sin(h)+this.x0,t.y=this.a*a*(this.coslat0*n-this.sinlat0*s*Math.cos(h))+this.y0,t):(r=2*Math.atan(this.ssfn_(i,n,this.e))-R,l=Math.cos(r),o=Math.sin(r),Math.abs(this.coslat0)<=O?(c=Bt(this.e,i*this.con,this.con*n),u=2*this.a*this.k0*c/this.cons,t.x=this.x0+u*Math.sin(e-this.long0),t.y=this.y0-this.con*u*Math.cos(e-this.long0),t):(Math.abs(this.sinlat0)0?e=K(this.long0+Math.atan2(t.x,-1*t.y)):e=K(this.long0+Math.atan2(t.x,t.y)):e=K(this.long0+Math.atan2(t.x*Math.sin(o),r*this.coslat0*Math.cos(o)-t.y*this.sinlat0*Math.sin(o))),t.x=e,t.y=i,t)}else if(Math.abs(this.coslat0)<=O){if(r<=O)return i=this.lat0,e=this.long0,t.x=e,t.y=i,t;t.x*=this.con,t.y*=this.con,n=r*this.cons/(2*this.a*this.k0),i=this.con*Ss(this.e,n),e=this.con*K(this.con*this.long0+Math.atan2(t.x,-1*t.y))}else s=2*Math.atan(r*this.cosX0/(2*this.a*this.k0*this.ms1)),e=this.long0,r<=O?a=this.X0:(a=Math.asin(Math.cos(s)*this.sinX0+t.y*Math.sin(s)*this.cosX0/r),e=K(this.long0+Math.atan2(t.x*Math.sin(s),r*this.cosX0*Math.cos(s)-t.y*this.sinX0*Math.sin(s)))),i=-1*Ss(this.e,Math.tan(.5*(R+a)));return t.x=e,t.y=i,t}var J4=["stere","Stereographic_South_Pole","Polar Stereographic (variant B)","Polar_Stereographic"];const Q4={init:H4,forward:$4,inverse:j4,names:J4,ssfn_:Y4};function ev(){var t=this.lat0;this.lambda0=this.long0;var e=Math.sin(t),i=this.a,n=this.rf,s=1/n,a=2*s-Math.pow(s,2),r=this.e=Math.sqrt(a);this.R=this.k0*i*Math.sqrt(1-a)/(1-a*Math.pow(e,2)),this.alpha=Math.sqrt(1+a/(1-a)*Math.pow(Math.cos(t),4)),this.b0=Math.asin(e/this.alpha);var o=Math.log(Math.tan(Math.PI/4+this.b0/2)),l=Math.log(Math.tan(Math.PI/4+t/2)),c=Math.log((1+r*e)/(1-r*e));this.K=o-this.alpha*l+this.alpha*r/2*c}function tv(t){var e=Math.log(Math.tan(Math.PI/4-t.y/2)),i=this.e/2*Math.log((1+this.e*Math.sin(t.y))/(1-this.e*Math.sin(t.y))),n=-this.alpha*(e+i)+this.K,s=2*(Math.atan(Math.exp(n))-Math.PI/4),a=this.alpha*(t.x-this.lambda0),r=Math.atan(Math.sin(a)/(Math.sin(this.b0)*Math.tan(s)+Math.cos(this.b0)*Math.cos(a))),o=Math.asin(Math.cos(this.b0)*Math.sin(s)-Math.sin(this.b0)*Math.cos(s)*Math.cos(a));return t.y=this.R/2*Math.log((1+Math.sin(o))/(1-Math.sin(o)))+this.y0,t.x=this.R*r+this.x0,t}function iv(t){for(var e=t.x-this.x0,i=t.y-this.y0,n=e/this.R,s=2*(Math.atan(Math.exp(i/this.R))-Math.PI/4),a=Math.asin(Math.cos(this.b0)*Math.sin(s)+Math.sin(this.b0)*Math.cos(s)*Math.cos(n)),r=Math.atan(Math.sin(n)/(Math.cos(this.b0)*Math.cos(n)-Math.sin(this.b0)*Math.tan(s))),o=this.lambda0+r/this.alpha,l=0,c=a,u=-1e3,h=0;Math.abs(c-u)>1e-7;){if(++h>20)return;l=1/this.alpha*(Math.log(Math.tan(Math.PI/4+a/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(c))/2)),u=c,c=2*Math.atan(Math.exp(l))-Math.PI/2}return t.x=o,t.y=c,t}var nv=["somerc"];const sv={init:ev,forward:tv,inverse:iv,names:nv};var vn=1e-7;function av(t){var e=["Hotine_Oblique_Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin"],i=typeof t.PROJECTION=="object"?Object.keys(t.PROJECTION)[0]:t.PROJECTION;return"no_uoff"in t||"no_off"in t||e.indexOf(i)!==-1}function rv(){var t,e,i,n,s,a,r,o,l,c,u=0,h,d=0,f=0,m=0,p=0,y=0,_=0;this.no_off=av(this),this.no_rot="no_rot"in this;var v=!1;"alpha"in this&&(v=!0);var C=!1;if("rectified_grid_angle"in this&&(C=!0),v&&(_=this.alpha),C&&(u=this.rectified_grid_angle*it),v||C)d=this.longc;else if(f=this.long1,p=this.lat1,m=this.long2,y=this.lat2,Math.abs(p-y)<=vn||(t=Math.abs(p))<=vn||Math.abs(t-R)<=vn||Math.abs(Math.abs(this.lat0)-R)<=vn||Math.abs(Math.abs(y)-R)<=vn)throw new Error;var w=1-this.es;e=Math.sqrt(w),Math.abs(this.lat0)>O?(o=Math.sin(this.lat0),i=Math.cos(this.lat0),t=1-this.es*o*o,this.B=i*i,this.B=Math.sqrt(1+this.es*this.B*this.B/w),this.A=this.B*this.k0*e/t,n=this.B*e/(i*Math.sqrt(t)),s=n*n-1,s<=0?s=0:(s=Math.sqrt(s),this.lat0<0&&(s=-s)),this.E=s+=n,this.E*=Math.pow(Bt(this.e,this.lat0,o),this.B)):(this.B=1/e,this.A=this.k0,this.E=n=s=1),v||C?(v?(h=Math.asin(Math.sin(_)/n),C||(u=_)):(h=u,_=Math.asin(n*Math.sin(h))),this.lam0=d-Math.asin(.5*(s-1/s)*Math.tan(h))/this.B):(a=Math.pow(Bt(this.e,p,Math.sin(p)),this.B),r=Math.pow(Bt(this.e,y,Math.sin(y)),this.B),s=this.E/a,l=(r-a)/(r+a),c=this.E*this.E,c=(c-r*a)/(c+r*a),t=f-m,t<-Math.pi?m-=Rs:t>Math.pi&&(m+=Rs),this.lam0=K(.5*(f+m)-Math.atan(c*Math.tan(.5*this.B*(f-m))/l)/this.B),h=Math.atan(2*Math.sin(this.B*K(f-this.lam0))/(s-1/s)),u=_=Math.asin(n*Math.sin(h))),this.singam=Math.sin(h),this.cosgam=Math.cos(h),this.sinrot=Math.sin(u),this.cosrot=Math.cos(u),this.rB=1/this.B,this.ArB=this.A*this.rB,this.BrA=1/this.ArB,this.A*this.B,this.no_off?this.u_0=0:(this.u_0=Math.abs(this.ArB*Math.atan(Math.sqrt(n*n-1)/Math.cos(_))),this.lat0<0&&(this.u_0=-this.u_0)),s=.5*h,this.v_pole_n=this.ArB*Math.log(Math.tan(ge-s)),this.v_pole_s=this.ArB*Math.log(Math.tan(ge+s))}function ov(t){var e={},i,n,s,a,r,o,l,c;if(t.x=t.x-this.lam0,Math.abs(Math.abs(t.y)-R)>O){if(r=this.E/Math.pow(Bt(this.e,t.y,Math.sin(t.y)),this.B),o=1/r,i=.5*(r-o),n=.5*(r+o),a=Math.sin(this.B*t.x),s=(i*this.singam-a*this.cosgam)/n,Math.abs(Math.abs(s)-1)0?this.v_pole_n:this.v_pole_s,l=this.ArB*t.y;return this.no_rot?(e.x=l,e.y=c):(l-=this.u_0,e.x=c*this.cosrot+l*this.sinrot,e.y=l*this.cosrot-c*this.sinrot),e.x=this.a*e.x+this.x0,e.y=this.a*e.y+this.y0,e}function lv(t){var e,i,n,s,a,r,o,l={};if(t.x=(t.x-this.x0)*(1/this.a),t.y=(t.y-this.y0)*(1/this.a),this.no_rot?(i=t.y,e=t.x):(i=t.x*this.cosrot-t.y*this.sinrot,e=t.y*this.cosrot+t.x*this.sinrot+this.u_0),n=Math.exp(-this.BrA*i),s=.5*(n-1/n),a=.5*(n+1/n),r=Math.sin(this.BrA*e),o=(r*this.cosgam+s*this.singam)/a,Math.abs(Math.abs(o)-1)O?this.ns=Math.log(n/o)/Math.log(s/l):this.ns=e,isNaN(this.ns)&&(this.ns=e),this.f0=n/(this.ns*Math.pow(s,this.ns)),this.rh=this.a*this.f0*Math.pow(c,this.ns),this.title||(this.title="Lambert Conformal Conic")}}function dv(t){var e=t.x,i=t.y;Math.abs(2*Math.abs(i)-Math.PI)<=O&&(i=Ks(i)*(R-2*O));var n=Math.abs(Math.abs(i)-R),s,a;if(n>O)s=Bt(this.e,i,Math.sin(i)),a=this.a*this.f0*Math.pow(s,this.ns);else{if(n=i*this.ns,n<=0)return null;a=0}var r=this.ns*K(e-this.long0);return t.x=this.k0*(a*Math.sin(r))+this.x0,t.y=this.k0*(this.rh-a*Math.cos(r))+this.y0,t}function fv(t){var e,i,n,s,a,r=(t.x-this.x0)/this.k0,o=this.rh-(t.y-this.y0)/this.k0;this.ns>0?(e=Math.sqrt(r*r+o*o),i=1):(e=-Math.sqrt(r*r+o*o),i=-1);var l=0;if(e!==0&&(l=Math.atan2(i*r,i*o)),e!==0||this.ns>0){if(i=1/this.ns,n=Math.pow(e/(this.a*this.f0),i),s=Ss(this.e,n),s===-9999)return null}else s=-R;return a=K(l/this.ns+this.long0),t.x=a,t.y=s,t}var mv=["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_1SP","Lambert_Conformal_Conic_2SP","lcc","Lambert Conic Conformal (1SP)","Lambert Conic Conformal (2SP)"];const pv={init:hv,forward:dv,inverse:fv,names:mv};function gv(){this.a=6377397155e-3,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.7417649320975901-.308341501185665),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq}function yv(t){var e,i,n,s,a,r,o,l=t.x,c=t.y,u=K(l-this.long0);return e=Math.pow((1+this.e*Math.sin(c))/(1-this.e*Math.sin(c)),this.alfa*this.e/2),i=2*(Math.atan(this.k*Math.pow(Math.tan(c/2+this.s45),this.alfa)/e)-this.s45),n=-u*this.alfa,s=Math.asin(Math.cos(this.ad)*Math.sin(i)+Math.sin(this.ad)*Math.cos(i)*Math.cos(n)),a=Math.asin(Math.cos(i)*Math.sin(n)/Math.cos(s)),r=this.n*a,o=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(s/2+this.s45),this.n),t.y=o*Math.cos(r)/1,t.x=o*Math.sin(r)/1,this.czech||(t.y*=-1,t.x*=-1),t}function bv(t){var e,i,n,s,a,r,o,l,c=t.x;t.x=t.y,t.y=c,this.czech||(t.y*=-1,t.x*=-1),r=Math.sqrt(t.x*t.x+t.y*t.y),a=Math.atan2(t.y,t.x),s=a/Math.sin(this.s0),n=2*(Math.atan(Math.pow(this.ro0/r,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),e=Math.asin(Math.cos(this.ad)*Math.sin(n)-Math.sin(this.ad)*Math.cos(n)*Math.cos(s)),i=Math.asin(Math.cos(n)*Math.sin(s)/Math.cos(e)),t.x=this.long0-i/this.alfa,o=e,l=0;var u=0;do t.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(e/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(o))/(1-this.e*Math.sin(o)),this.e/2))-this.s45),Math.abs(o-t.y)<1e-10&&(l=1),o=t.y,u+=1;while(l===0&&u<15);return u>=15?null:t}var _v=["Krovak","krovak"];const vv={init:gv,forward:yv,inverse:bv,names:_v};function _t(t,e,i,n,s){return t*s-e*Math.sin(2*s)+i*Math.sin(4*s)-n*Math.sin(6*s)}function Us(t){return 1-.25*t*(1+t/16*(3+1.25*t))}function Bs(t){return .375*t*(1+.25*t*(1+.46875*t))}function qs(t){return .05859375*t*t*(1+.75*t)}function zs(t){return t*t*t*(35/3072)}function zn(t,e,i){var n=e*i;return t/Math.sqrt(1-n*n)}function es(t){return Math.abs(t)1e-7?(i=t*e,(1-t*t)*(e/(1-i*i)-.5/t*Math.log((1-i)/(1+i)))):2*e}var Ev=1,kv=2,Mv=3,Iv=4;function Tv(){var t=Math.abs(this.lat0);if(Math.abs(t-R)0){var e;switch(this.qp=ki(this.e,1),this.mmf=.5/(1-this.es),this.apa=Zv(this.es),this.mode){case this.N_POLE:this.dd=1;break;case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),e=Math.sin(this.lat0),this.sinb1=ki(this.e,e)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*e*e)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd;break}}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))}function Rv(t){var e,i,n,s,a,r,o,l,c,u,h=t.x,d=t.y;if(h=K(h-this.long0),this.sphere){if(a=Math.sin(d),u=Math.cos(d),n=Math.cos(h),this.mode===this.OBLIQ||this.mode===this.EQUIT){if(i=this.mode===this.EQUIT?1+u*n:1+this.sinph0*a+this.cosph0*u*n,i<=O)return null;i=Math.sqrt(2/i),e=i*u*Math.sin(h),i*=this.mode===this.EQUIT?a:this.cosph0*a-this.sinph0*u*n}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(n=-n),Math.abs(d+this.lat0)=0?(e=(c=Math.sqrt(r))*s,i=n*(this.mode===this.S_POLE?c:-c)):e=i=0;break}}return t.x=this.a*e+this.x0,t.y=this.a*i+this.y0,t}function Lv(t){t.x-=this.x0,t.y-=this.y0;var e=t.x/this.a,i=t.y/this.a,n,s,a,r,o,l,c;if(this.sphere){var u=0,h,d=0;if(h=Math.sqrt(e*e+i*i),s=h*.5,s>1)return null;switch(s=2*Math.asin(s),(this.mode===this.OBLIQ||this.mode===this.EQUIT)&&(d=Math.sin(s),u=Math.cos(s)),this.mode){case this.EQUIT:s=Math.abs(h)<=O?0:Math.asin(i*d/h),e*=d,i=u*h;break;case this.OBLIQ:s=Math.abs(h)<=O?this.lat0:Math.asin(u*this.sinph0+i*d*this.cosph0/h),e*=d*this.cosph0,i=(u-Math.sin(s)*this.sinph0)*h;break;case this.N_POLE:i=-i,s=R-s;break;case this.S_POLE:s-=R;break}n=i===0&&(this.mode===this.EQUIT||this.mode===this.OBLIQ)?0:Math.atan2(e,i)}else{if(c=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(e/=this.dd,i*=this.dd,l=Math.sqrt(e*e+i*i),l1&&(t=t>1?1:-1),Math.asin(t)}function Kv(){Math.abs(this.lat1+this.lat2)O?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)}function Uv(t){var e=t.x,i=t.y;this.sin_phi=Math.sin(i),this.cos_phi=Math.cos(i);var n=ki(this.e3,this.sin_phi),s=this.a*Math.sqrt(this.c-this.ns0*n)/this.ns0,a=this.ns0*K(e-this.long0),r=s*Math.sin(a)+this.x0,o=this.rh-s*Math.cos(a)+this.y0;return t.x=r,t.y=o,t}function Bv(t){var e,i,n,s,a,r;return t.x-=this.x0,t.y=this.rh-t.y+this.y0,this.ns0>=0?(e=Math.sqrt(t.x*t.x+t.y*t.y),n=1):(e=-Math.sqrt(t.x*t.x+t.y*t.y),n=-1),s=0,e!==0&&(s=Math.atan2(n*t.x,n*t.y)),n=e*this.ns0/this.a,this.sphere?r=Math.asin((this.c-n*n)/(2*this.ns0)):(i=(this.c-n*n)/this.ns0,r=this.phi1z(this.e3,i)),a=K(s/this.ns0+this.long0),t.x=a,t.y=r,t}function qv(t,e){var i,n,s,a,r,o=Di(.5*e);if(t0||Math.abs(r)<=O?(o=this.x0+this.a*a*i*Math.sin(n)/r,l=this.y0+this.a*a*(this.cos_p14*e-this.sin_p14*i*s)/r):(o=this.x0+this.infinity_dist*i*Math.sin(n),l=this.y0+this.infinity_dist*(this.cos_p14*e-this.sin_p14*i*s)),t.x=o,t.y=l,t}function jv(t){var e,i,n,s,a,r;return t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,t.x/=this.k0,t.y/=this.k0,(e=Math.sqrt(t.x*t.x+t.y*t.y))?(s=Math.atan2(e,this.rc),i=Math.sin(s),n=Math.cos(s),r=Di(n*this.sin_p14+t.y*i*this.cos_p14/e),a=Math.atan2(t.x*i,e*this.cos_p14*n-t.y*this.sin_p14*i),a=K(this.long0+a)):(r=this.phic0,a=0),t.x=a,t.y=r,t}var Jv=["gnom"];const Qv={init:Hv,forward:$v,inverse:jv,names:Jv};function eN(t,e){var i=1-(1-t*t)/(2*t)*Math.log((1-t)/(1+t));if(Math.abs(Math.abs(e)-i)<1e-6)return e<0?-1*R:R;for(var n=Math.asin(.5*e),s,a,r,o,l=0;l<30;l++)if(a=Math.sin(n),r=Math.cos(n),o=t*a,s=Math.pow(1-o*o,2)/(2*r)*(e/(1-t*t)-a/(1-o*o)+.5/t*Math.log((1-o)/(1+o))),n+=s,Math.abs(s)<=1e-10)return n;return NaN}function tN(){this.sphere||(this.k0=ni(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))}function iN(t){var e=t.x,i=t.y,n,s,a=K(e-this.long0);if(this.sphere)n=this.x0+this.a*a*Math.cos(this.lat_ts),s=this.y0+this.a*Math.sin(i)/Math.cos(this.lat_ts);else{var r=ki(this.e,Math.sin(i));n=this.x0+this.a*this.k0*a,s=this.y0+this.a*r*.5/this.k0}return t.x=n,t.y=s,t}function nN(t){t.x-=this.x0,t.y-=this.y0;var e,i;return this.sphere?(e=K(this.long0+t.x/this.a/Math.cos(this.lat_ts)),i=Math.asin(t.y/this.a*Math.cos(this.lat_ts))):(i=eN(this.e,2*t.y*this.k0/this.a),e=K(this.long0+t.x/(this.a*this.k0))),t.x=e,t.y=i,t}var sN=["cea"];const aN={init:tN,forward:iN,inverse:nN,names:sN};function rN(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Equidistant Cylindrical (Plate Carre)",this.rc=Math.cos(this.lat_ts)}function oN(t){var e=t.x,i=t.y,n=K(e-this.long0),s=es(i-this.lat0);return t.x=this.x0+this.a*n*this.rc,t.y=this.y0+this.a*s,t}function lN(t){var e=t.x,i=t.y;return t.x=K(this.long0+(e-this.x0)/(this.a*this.rc)),t.y=es(this.lat0+(i-this.y0)/this.a),t}var cN=["Equirectangular","Equidistant_Cylindrical","eqc"];const uN={init:rN,forward:oN,inverse:lN,names:cN};var Xu=20;function hN(){this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=Us(this.es),this.e1=Bs(this.es),this.e2=qs(this.es),this.e3=zs(this.es),this.ml0=this.a*_t(this.e0,this.e1,this.e2,this.e3,this.lat0)}function dN(t){var e=t.x,i=t.y,n,s,a,r=K(e-this.long0);if(a=r*Math.sin(i),this.sphere)Math.abs(i)<=O?(n=this.a*r,s=-1*this.a*this.lat0):(n=this.a*Math.sin(a)/Math.tan(i),s=this.a*(es(i-this.lat0)+(1-Math.cos(a))/Math.tan(i)));else if(Math.abs(i)<=O)n=this.a*r,s=-1*this.ml0;else{var o=zn(this.a,this.e,Math.sin(i))/Math.tan(i);n=o*Math.sin(a),s=this.a*_t(this.e0,this.e1,this.e2,this.e3,i)-this.ml0+o*(1-Math.cos(a))}return t.x=n+this.x0,t.y=s+this.y0,t}function fN(t){var e,i,n,s,a,r,o,l,c;if(n=t.x-this.x0,s=t.y-this.y0,this.sphere)if(Math.abs(s+this.a*this.lat0)<=O)e=K(n/this.a+this.long0),i=0;else{r=this.lat0+s/this.a,o=n*n/this.a/this.a+r*r,l=r;var u;for(a=Xu;a;--a)if(u=Math.tan(l),c=-1*(r*(l*u+1)-l-.5*(l*l+o)*u)/((l-r)/u-1),l+=c,Math.abs(c)<=O){i=l;break}e=K(this.long0+Math.asin(n*Math.tan(l)/this.a)/Math.sin(i))}else if(Math.abs(s+this.ml0)<=O)i=0,e=K(this.long0+n/this.a);else{r=(this.ml0+s)/this.a,o=n*n/this.a/this.a+r*r,l=r;var h,d,f,m,p;for(a=Xu;a;--a)if(p=this.e*Math.sin(l),h=Math.sqrt(1-p*p)*Math.tan(l),d=this.a*_t(this.e0,this.e1,this.e2,this.e3,l),f=this.e0-2*this.e1*Math.cos(2*l)+4*this.e2*Math.cos(4*l)-6*this.e3*Math.cos(6*l),m=d/this.a,c=(r*(h*m+1)-m-.5*h*(m*m+o))/(this.es*Math.sin(2*l)*(m*m+o-2*r*m)/(4*h)+(r-m)*(h*f-2/Math.sin(2*l))-f),l-=c,Math.abs(c)<=O){i=l;break}h=Math.sqrt(1-this.es*Math.pow(Math.sin(i),2))*Math.tan(i),e=K(this.long0+Math.asin(n*h/this.a)/Math.sin(i))}return t.x=e,t.y=i,t}var mN=["Polyconic","poly"];const pN={init:hN,forward:dN,inverse:fN,names:mN};function gN(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013}function yN(t){var e,i=t.x,n=t.y,s=n-this.lat0,a=i-this.long0,r=s/ys*1e-5,o=a,l=1,c=0;for(e=1;e<=10;e++)l=l*r,c=c+this.A[e]*l;var u=c,h=o,d=1,f=0,m,p,y=0,_=0;for(e=1;e<=6;e++)m=d*u-f*h,p=f*u+d*h,d=m,f=p,y=y+this.B_re[e]*d-this.B_im[e]*f,_=_+this.B_im[e]*d+this.B_re[e]*f;return t.x=_*this.a+this.x0,t.y=y*this.a+this.y0,t}function bN(t){var e,i=t.x,n=t.y,s=i-this.x0,a=n-this.y0,r=a/this.a,o=s/this.a,l=1,c=0,u,h,d=0,f=0;for(e=1;e<=6;e++)u=l*r-c*o,h=c*r+l*o,l=u,c=h,d=d+this.C_re[e]*l-this.C_im[e]*c,f=f+this.C_im[e]*l+this.C_re[e]*c;for(var m=0;m.999999999999&&(i=.999999999999),e=Math.asin(i);var n=K(this.long0+t.x/(.900316316158*this.a*Math.cos(e)));n<-Math.PI&&(n=-Math.PI),n>Math.PI&&(n=Math.PI),i=(2*e+Math.sin(2*e))/Math.PI,Math.abs(i)>1&&(i=1);var s=Math.asin(i);return t.x=n,t.y=s,t}var AN=["Mollweide","moll"];const PN={init:LN,forward:SN,inverse:DN,names:AN};function ON(){Math.abs(this.lat1+this.lat2)=0?(i=Math.sqrt(t.x*t.x+t.y*t.y),e=1):(i=-Math.sqrt(t.x*t.x+t.y*t.y),e=-1);var a=0;if(i!==0&&(a=Math.atan2(e*t.x,e*t.y)),this.sphere)return s=K(this.long0+a/this.ns),n=es(this.g-i/this.a),t.x=s,t.y=n,t;var r=this.g-i/this.a;return n=ja(r,this.e0,this.e1,this.e2,this.e3),s=K(this.long0+a/this.ns),t.x=s,t.y=n,t}var XN=["Equidistant_Conic","eqdc"];const WN={init:ON,forward:GN,inverse:ZN,names:XN};function VN(){this.R=this.a}function KN(t){var e=t.x,i=t.y,n=K(e-this.long0),s,a;Math.abs(i)<=O&&(s=this.x0+this.R*n,a=this.y0);var r=Di(2*Math.abs(i/Math.PI));(Math.abs(n)<=O||Math.abs(Math.abs(i)-R)<=O)&&(s=this.x0,i>=0?a=this.y0+Math.PI*this.R*Math.tan(.5*r):a=this.y0+Math.PI*this.R*-Math.tan(.5*r));var o=.5*Math.abs(Math.PI/n-n/Math.PI),l=o*o,c=Math.sin(r),u=Math.cos(r),h=u/(c+u-1),d=h*h,f=h*(2/c-1),m=f*f,p=Math.PI*this.R*(o*(h-m)+Math.sqrt(l*(h-m)*(h-m)-(m+l)*(d-m)))/(m+l);n<0&&(p=-p),s=this.x0+p;var y=l+h;return p=Math.PI*this.R*(f*y-o*Math.sqrt((m+l)*(l+1)-y*y))/(m+l),i>=0?a=this.y0+p:a=this.y0-p,t.x=s,t.y=a,t}function UN(t){var e,i,n,s,a,r,o,l,c,u,h,d,f;return t.x-=this.x0,t.y-=this.y0,h=Math.PI*this.R,n=t.x/h,s=t.y/h,a=n*n+s*s,r=-Math.abs(s)*(1+a),o=r-2*s*s+n*n,l=-2*r+1+2*s*s+a*a,f=s*s/l+(2*o*o*o/l/l/l-9*r*o/l/l)/27,c=(r-o*o/3/l)/l,u=2*Math.sqrt(-c/3),h=3*f/c/u,Math.abs(h)>1&&(h>=0?h=1:h=-1),d=Math.acos(h)/3,t.y>=0?i=(-u*Math.cos(d+Math.PI/3)-o/3/l)*Math.PI:i=-(-u*Math.cos(d+Math.PI/3)-o/3/l)*Math.PI,Math.abs(n)2*R*this.a?void 0:(i=e/this.a,n=Math.sin(i),s=Math.cos(i),a=this.long0,Math.abs(e)<=O?r=this.lat0:(r=Di(s*this.sin_p12+t.y*n*this.cos_p12/e),o=Math.abs(this.lat0)-R,Math.abs(o)<=O?this.lat0>=0?a=K(this.long0+Math.atan2(t.x,-t.y)):a=K(this.long0-Math.atan2(-t.x,t.y)):a=K(this.long0+Math.atan2(t.x*n,e*this.cos_p12*s-t.y*this.sin_p12*n))),t.x=a,t.y=r,t)):(l=Us(this.es),c=Bs(this.es),u=qs(this.es),h=zs(this.es),Math.abs(this.sin_p12-1)<=O?(d=this.a*_t(l,c,u,h,R),e=Math.sqrt(t.x*t.x+t.y*t.y),f=d-e,r=ja(f/this.a,l,c,u,h),a=K(this.long0+Math.atan2(t.x,-1*t.y)),t.x=a,t.y=r,t):Math.abs(this.sin_p12+1)<=O?(d=this.a*_t(l,c,u,h,R),e=Math.sqrt(t.x*t.x+t.y*t.y),f=e-d,r=ja(f/this.a,l,c,u,h),a=K(this.long0+Math.atan2(t.x,t.y)),t.x=a,t.y=r,t):(e=Math.sqrt(t.x*t.x+t.y*t.y),y=Math.atan2(t.x,t.y),m=zn(this.a,this.e,this.sin_p12),_=Math.cos(y),v=this.e*this.cos_p12*_,C=-v*v/(1-this.es),w=3*this.es*(1-C)*this.sin_p12*this.cos_p12*_/(1-this.es),F=e/m,L=F-C*(1+C)*Math.pow(F,3)/6-w*(1+3*C)*Math.pow(F,4)/24,$=1-C*L*L/2-F*L*L*L/6,p=Math.asin(this.sin_p12*Math.cos(L)+this.cos_p12*Math.sin(L)*_),a=K(this.long0+Math.asin(Math.sin(y)*Math.sin(L)/Math.cos(p))),Y=Math.sin(p),r=Math.atan2((Y-this.es*$*this.sin_p12)*Math.tan(p),Y*(1-this.es)),t.x=a,t.y=r,t))}var $N=["Azimuthal_Equidistant","aeqd"];const jN={init:zN,forward:YN,inverse:HN,names:$N};function JN(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0)}function QN(t){var e,i,n,s,a,r,o,l,c=t.x,u=t.y;return n=K(c-this.long0),e=Math.sin(u),i=Math.cos(u),s=Math.cos(n),r=this.sin_p14*e+this.cos_p14*i*s,a=1,(r>0||Math.abs(r)<=O)&&(o=this.a*a*i*Math.sin(n),l=this.y0+this.a*a*(this.cos_p14*e-this.sin_p14*i*s)),t.x=o,t.y=l,t}function e7(t){var e,i,n,s,a,r,o;return t.x-=this.x0,t.y-=this.y0,e=Math.sqrt(t.x*t.x+t.y*t.y),i=Di(e/this.a),n=Math.sin(i),s=Math.cos(i),r=this.long0,Math.abs(e)<=O?(o=this.lat0,t.x=r,t.y=o,t):(o=Di(s*this.sin_p14+t.y*n*this.cos_p14/e),a=Math.abs(this.lat0)-R,Math.abs(a)<=O?(this.lat0>=0?r=K(this.long0+Math.atan2(t.x,-t.y)):r=K(this.long0-Math.atan2(-t.x,t.y)),t.x=r,t.y=o,t):(r=K(this.long0+Math.atan2(t.x*n,e*this.cos_p14*s-t.y*this.sin_p14*n)),t.x=r,t.y=o,t))}var t7=["ortho"];const i7={init:JN,forward:QN,inverse:e7,names:t7};var Pe={FRONT:1,RIGHT:2,BACK:3,LEFT:4,TOP:5,BOTTOM:6},ye={AREA_0:1,AREA_1:2,AREA_2:3,AREA_3:4};function n7(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Quadrilateralized Spherical Cube",this.lat0>=R-ge/2?this.face=Pe.TOP:this.lat0<=-(R-ge/2)?this.face=Pe.BOTTOM:Math.abs(this.long0)<=ge?this.face=Pe.FRONT:Math.abs(this.long0)<=R+ge?this.face=this.long0>0?Pe.RIGHT:Pe.LEFT:this.face=Pe.BACK,this.es!==0&&(this.one_minus_f=1-(this.a-this.b)/this.a,this.one_minus_f_squared=this.one_minus_f*this.one_minus_f)}function s7(t){var e={x:0,y:0},i,n,s,a,r,o,l={value:0};if(t.x-=this.long0,this.es!==0?i=Math.atan(this.one_minus_f_squared*Math.tan(t.y)):i=t.y,n=t.x,this.face===Pe.TOP)a=R-i,n>=ge&&n<=R+ge?(l.value=ye.AREA_0,s=n-R):n>R+ge||n<=-(R+ge)?(l.value=ye.AREA_1,s=n>0?n-Ue:n+Ue):n>-(R+ge)&&n<=-ge?(l.value=ye.AREA_2,s=n+R):(l.value=ye.AREA_3,s=n);else if(this.face===Pe.BOTTOM)a=R+i,n>=ge&&n<=R+ge?(l.value=ye.AREA_0,s=-n+R):n=-ge?(l.value=ye.AREA_1,s=-n):n<-ge&&n>=-(R+ge)?(l.value=ye.AREA_2,s=-n-R):(l.value=ye.AREA_3,s=n>0?-n+Ue:-n-Ue);else{var c,u,h,d,f,m,p;this.face===Pe.RIGHT?n=Zn(n,+R):this.face===Pe.BACK?n=Zn(n,+Ue):this.face===Pe.LEFT&&(n=Zn(n,-R)),d=Math.sin(i),f=Math.cos(i),m=Math.sin(n),p=Math.cos(n),c=f*p,u=f*m,h=d,this.face===Pe.FRONT?(a=Math.acos(c),s=ma(a,h,u,l)):this.face===Pe.RIGHT?(a=Math.acos(u),s=ma(a,h,-c,l)):this.face===Pe.BACK?(a=Math.acos(-c),s=ma(a,h,-u,l)):this.face===Pe.LEFT?(a=Math.acos(-u),s=ma(a,h,c,l)):(a=s=0,l.value=ye.AREA_0)}return o=Math.atan(12/Ue*(s+Math.acos(Math.sin(s)*Math.cos(ge))-R)),r=Math.sqrt((1-Math.cos(a))/(Math.cos(o)*Math.cos(o))/(1-Math.cos(Math.atan(1/Math.cos(s))))),l.value===ye.AREA_1?o+=R:l.value===ye.AREA_2?o+=Ue:l.value===ye.AREA_3&&(o+=1.5*Ue),e.x=r*Math.cos(o),e.y=r*Math.sin(o),e.x=e.x*this.a+this.x0,e.y=e.y*this.a+this.y0,t.x=e.x,t.y=e.y,t}function a7(t){var e={lam:0,phi:0},i,n,s,a,r,o,l,c,u,h={value:0};if(t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,n=Math.atan(Math.sqrt(t.x*t.x+t.y*t.y)),i=Math.atan2(t.y,t.x),t.x>=0&&t.x>=Math.abs(t.y)?h.value=ye.AREA_0:t.y>=0&&t.y>=Math.abs(t.x)?(h.value=ye.AREA_1,i-=R):t.x<0&&-t.x>=Math.abs(t.y)?(h.value=ye.AREA_2,i=i<0?i+Ue:i-Ue):(h.value=ye.AREA_3,i+=R),u=Ue/12*Math.tan(i),r=Math.sin(u)/(Math.cos(u)-1/Math.sqrt(2)),o=Math.atan(r),s=Math.cos(i),a=Math.tan(n),l=1-s*s*a*a*(1-Math.cos(Math.atan(1/Math.cos(o)))),l<-1?l=-1:l>1&&(l=1),this.face===Pe.TOP)c=Math.acos(l),e.phi=R-c,h.value===ye.AREA_0?e.lam=o+R:h.value===ye.AREA_1?e.lam=o<0?o+Ue:o-Ue:h.value===ye.AREA_2?e.lam=o-R:e.lam=o;else if(this.face===Pe.BOTTOM)c=Math.acos(l),e.phi=c-R,h.value===ye.AREA_0?e.lam=-o+R:h.value===ye.AREA_1?e.lam=-o:h.value===ye.AREA_2?e.lam=-o-R:e.lam=o<0?-o-Ue:-o+Ue;else{var d,f,m;d=l,u=d*d,u>=1?m=0:m=Math.sqrt(1-u)*Math.sin(o),u+=m*m,u>=1?f=0:f=Math.sqrt(1-u),h.value===ye.AREA_1?(u=f,f=-m,m=u):h.value===ye.AREA_2?(f=-f,m=-m):h.value===ye.AREA_3&&(u=f,f=m,m=-u),this.face===Pe.RIGHT?(u=d,d=-f,f=u):this.face===Pe.BACK?(d=-d,f=-f):this.face===Pe.LEFT&&(u=d,d=f,f=-u),e.phi=Math.acos(-m)-R,e.lam=Math.atan2(f,d),this.face===Pe.RIGHT?e.lam=Zn(e.lam,-R):this.face===Pe.BACK?e.lam=Zn(e.lam,-Ue):this.face===Pe.LEFT&&(e.lam=Zn(e.lam,+R))}if(this.es!==0){var p,y,_;p=e.phi<0?1:0,y=Math.tan(e.phi),_=this.b/Math.sqrt(y*y+this.one_minus_f_squared),e.phi=Math.atan(Math.sqrt(this.a*this.a-_*_)/(this.one_minus_f*_)),p&&(e.phi=-e.phi)}return e.lam+=this.long0,t.x=e.lam,t.y=e.phi,t}function ma(t,e,i,n){var s;return tge&&s<=R+ge?(n.value=ye.AREA_1,s-=R):s>R+ge||s<=-(R+ge)?(n.value=ye.AREA_2,s=s>=0?s-Ue:s+Ue):(n.value=ye.AREA_3,s+=R)),s}function Zn(t,e){var i=t+e;return i<-Ue?i+=Rs:i>+Ue&&(i-=Rs),i}var r7=["Quadrilateralized Spherical Cube","Quadrilateralized_Spherical_Cube","qsc"];const o7={init:n7,forward:s7,inverse:a7,names:r7};var So=[[1,22199e-21,-715515e-10,31103e-10],[.9986,-482243e-9,-24897e-9,-13309e-10],[.9954,-83103e-8,-448605e-10,-986701e-12],[.99,-.00135364,-59661e-9,36777e-10],[.9822,-.00167442,-449547e-11,-572411e-11],[.973,-.00214868,-903571e-10,18736e-12],[.96,-.00305085,-900761e-10,164917e-11],[.9427,-.00382792,-653386e-10,-26154e-10],[.9216,-.00467746,-10457e-8,481243e-11],[.8962,-.00536223,-323831e-10,-543432e-11],[.8679,-.00609363,-113898e-9,332484e-11],[.835,-.00698325,-640253e-10,934959e-12],[.7986,-.00755338,-500009e-10,935324e-12],[.7597,-.00798324,-35971e-9,-227626e-11],[.7186,-.00851367,-701149e-10,-86303e-10],[.6732,-.00986209,-199569e-9,191974e-10],[.6213,-.010418,883923e-10,624051e-11],[.5722,-.00906601,182e-6,624051e-11],[.5322,-.00677797,275608e-9,624051e-11]],hs=[[-520417e-23,.0124,121431e-23,-845284e-16],[.062,.0124,-126793e-14,422642e-15],[.124,.0124,507171e-14,-160604e-14],[.186,.0123999,-190189e-13,600152e-14],[.248,.0124002,710039e-13,-224e-10],[.31,.0123992,-264997e-12,835986e-13],[.372,.0124029,988983e-12,-311994e-12],[.434,.0123893,-369093e-11,-435621e-12],[.4958,.0123198,-102252e-10,-345523e-12],[.5571,.0121916,-154081e-10,-582288e-12],[.6176,.0119938,-241424e-10,-525327e-12],[.6769,.011713,-320223e-10,-516405e-12],[.7346,.0113541,-397684e-10,-609052e-12],[.7903,.0109107,-489042e-10,-104739e-11],[.8435,.0103431,-64615e-9,-140374e-14],[.8936,.00969686,-64636e-9,-8547e-9],[.9394,.00840947,-192841e-9,-42106e-10],[.9761,.00616527,-256e-6,-42106e-10],[1,.00328947,-319159e-9,-42106e-10]],Bf=.8487,qf=1.3523,zf=ei/5,l7=1/zf,kn=18,Ja=function(t,e){return t[0]+e*(t[1]+e*(t[2]+e*t[3]))},c7=function(t,e){return t[1]+e*(2*t[2]+e*3*t[3])};function u7(t,e,i,n){for(var s=e;n;--n){var a=t(s);if(s-=a,Math.abs(a)=kn&&(n=kn-1),i=ei*(i-l7*n);var s={x:Ja(So[n],i)*e,y:Ja(hs[n],i)};return t.y<0&&(s.y=-s.y),s.x=s.x*this.a*Bf+this.x0,s.y=s.y*this.a*qf+this.y0,s}function f7(t){var e={x:(t.x-this.x0)/(this.a*Bf),y:Math.abs(t.y-this.y0)/(this.a*qf)};if(e.y>=1)e.x/=So[kn][0],e.y=t.y<0?-R:R;else{var i=Math.floor(e.y*kn);for(i<0?i=0:i>=kn&&(i=kn-1);;)if(hs[i][0]>e.y)--i;else if(hs[i+1][0]<=e.y)++i;else break;var n=hs[i],s=5*(e.y-n[0])/(hs[i+1][0]-n[0]);s=u7(function(a){return(Ja(n,a)-e.y)/c7(n,a)},s,O,100),e.x/=Ja(So[i],s),e.y=(5*i+s)*it,t.y<0&&(e.y=-e.y)}return e.x=K(e.x+this.long0),e}var m7=["Robinson","robin"];const p7={init:h7,forward:d7,inverse:f7,names:m7};function g7(){this.name="geocent"}function y7(t){var e=Lf(t,this.es,this.a);return e}function b7(t){var e=Sf(t,this.es,this.a,this.b);return e}var _7=["Geocentric","geocentric","geocent","Geocent"];const v7={init:g7,forward:y7,inverse:b7,names:_7};var ut={N_POLE:0,S_POLE:1,EQUIT:2,OBLIQ:3},as={h:{def:1e5,num:!0},azi:{def:0,num:!0,degrees:!0},tilt:{def:0,num:!0,degrees:!0},long0:{def:0,num:!0},lat0:{def:0,num:!0}};function N7(){if(Object.keys(as).forEach((function(i){if(typeof this[i]>"u")this[i]=as[i].def;else{if(as[i].num&&isNaN(this[i]))throw new Error("Invalid parameter value, must be numeric "+i+" = "+this[i]);as[i].num&&(this[i]=parseFloat(this[i]))}as[i].degrees&&(this[i]=this[i]*it)}).bind(this)),Math.abs(Math.abs(this.lat0)-R)1e10)throw new Error("Invalid height");this.p=1+this.pn1,this.rp=1/this.p,this.h1=1/this.pn1,this.pfact=(this.p+1)*this.h1,this.es=0;var t=this.tilt,e=this.azi;this.cg=Math.cos(e),this.sg=Math.sin(e),this.cw=Math.cos(t),this.sw=Math.sin(t)}function w7(t){t.x-=this.long0;var e=Math.sin(t.y),i=Math.cos(t.y),n=Math.cos(t.x),s,a;switch(this.mode){case ut.OBLIQ:a=this.sinph0*e+this.cosph0*i*n;break;case ut.EQUIT:a=i*n;break;case ut.S_POLE:a=-e;break;case ut.N_POLE:a=e;break}switch(a=this.pn1/(this.p-a),s=a*i*Math.sin(t.x),this.mode){case ut.OBLIQ:a*=this.cosph0*e-this.sinph0*i*n;break;case ut.EQUIT:a*=e;break;case ut.N_POLE:a*=-(i*n);break;case ut.S_POLE:a*=i*n;break}var r,o;return r=a*this.cg+s*this.sg,o=1/(r*this.sw*this.h1+this.cw),s=(s*this.cg-a*this.sg)*this.cw*o,a=r*o,t.x=s*this.a,t.y=a*this.a,t}function x7(t){t.x/=this.a,t.y/=this.a;var e={x:t.x,y:t.y},i,n,s;s=1/(this.pn1-t.y*this.sw),i=this.pn1*t.x*s,n=this.pn1*t.y*this.cw*s,t.x=i*this.cg+n*this.sg,t.y=n*this.cg-i*this.sg;var a=Pt(t.x,t.y);if(Math.abs(a)1e10)throw new Error;if(this.radius_g=1+this.radius_g_1,this.C=this.radius_g*this.radius_g-1,this.es!==0){var t=1-this.es,e=1/t;this.radius_p=Math.sqrt(t),this.radius_p2=t,this.radius_p_inv2=e,this.shape="ellipse"}else this.radius_p=1,this.radius_p2=1,this.radius_p_inv2=1,this.shape="sphere";this.title||(this.title="Geostationary Satellite View")}function k7(t){var e=t.x,i=t.y,n,s,a,r;if(e=e-this.long0,this.shape==="ellipse"){i=Math.atan(this.radius_p2*Math.tan(i));var o=this.radius_p/Pt(this.radius_p*Math.cos(i),Math.sin(i));if(s=o*Math.cos(e)*Math.cos(i),a=o*Math.sin(e)*Math.cos(i),r=o*Math.sin(i),(this.radius_g-s)*s-a*a-r*r*this.radius_p_inv2<0)return t.x=Number.NaN,t.y=Number.NaN,t;n=this.radius_g-s,this.flip_axis?(t.x=this.radius_g_1*Math.atan(a/Pt(r,n)),t.y=this.radius_g_1*Math.atan(r/n)):(t.x=this.radius_g_1*Math.atan(a/n),t.y=this.radius_g_1*Math.atan(r/Pt(a,n)))}else this.shape==="sphere"&&(n=Math.cos(i),s=Math.cos(e)*n,a=Math.sin(e)*n,r=Math.sin(i),n=this.radius_g-s,this.flip_axis?(t.x=this.radius_g_1*Math.atan(a/Pt(r,n)),t.y=this.radius_g_1*Math.atan(r/n)):(t.x=this.radius_g_1*Math.atan(a/n),t.y=this.radius_g_1*Math.atan(r/Pt(a,n))));return t.x=t.x*this.a,t.y=t.y*this.a,t}function M7(t){var e=-1,i=0,n=0,s,a,r,o;if(t.x=t.x/this.a,t.y=t.y/this.a,this.shape==="ellipse"){this.flip_axis?(n=Math.tan(t.y/this.radius_g_1),i=Math.tan(t.x/this.radius_g_1)*Pt(1,n)):(i=Math.tan(t.x/this.radius_g_1),n=Math.tan(t.y/this.radius_g_1)*Pt(1,i));var l=n/this.radius_p;if(s=i*i+l*l+e*e,a=2*this.radius_g*e,r=a*a-4*s*this.C,r<0)return t.x=Number.NaN,t.y=Number.NaN,t;o=(-a-Math.sqrt(r))/(2*s),e=this.radius_g+o*e,i*=o,n*=o,t.x=Math.atan2(i,e),t.y=Math.atan(n*Math.cos(t.x)/e),t.y=Math.atan(this.radius_p_inv2*Math.tan(t.y))}else if(this.shape==="sphere"){if(this.flip_axis?(n=Math.tan(t.y/this.radius_g_1),i=Math.tan(t.x/this.radius_g_1)*Math.sqrt(1+n*n)):(i=Math.tan(t.x/this.radius_g_1),n=Math.tan(t.y/this.radius_g_1)*Math.sqrt(1+i*i)),s=i*i+n*n+e*e,a=2*this.radius_g*e,r=a*a-4*s*this.C,r<0)return t.x=Number.NaN,t.y=Number.NaN,t;o=(-a-Math.sqrt(r))/(2*s),e=this.radius_g+o*e,i*=o,n*=o,t.x=Math.atan2(i,e),t.y=Math.atan(n*Math.cos(t.x)/e)}return t.x=t.x+this.long0,t}var I7=["Geostationary Satellite View","Geostationary_Satellite","geos"];const T7={init:E7,forward:k7,inverse:M7,names:I7};function R7(t){t.Proj.projections.add(Fa),t.Proj.projections.add(Ea),t.Proj.projections.add(O4),t.Proj.projections.add(z4),t.Proj.projections.add(Q4),t.Proj.projections.add(sv),t.Proj.projections.add(uv),t.Proj.projections.add(pv),t.Proj.projections.add(vv),t.Proj.projections.add(Fv),t.Proj.projections.add(Vv),t.Proj.projections.add(Yv),t.Proj.projections.add(Qv),t.Proj.projections.add(aN),t.Proj.projections.add(uN),t.Proj.projections.add(pN),t.Proj.projections.add(vN),t.Proj.projections.add(FN),t.Proj.projections.add(RN),t.Proj.projections.add(PN),t.Proj.projections.add(WN),t.Proj.projections.add(qN),t.Proj.projections.add(jN),t.Proj.projections.add(i7),t.Proj.projections.add(o7),t.Proj.projections.add(p7),t.Proj.projections.add(v7),t.Proj.projections.add(F7),t.Proj.projections.add(T7)}Rt.defaultDatum="WGS84";Rt.Proj=ti;Rt.WGS84=new Rt.Proj("WGS84");Rt.Point=qn;Rt.toPoint=Df;Rt.defs=yt;Rt.nadgrid=Z_;Rt.transform=$a;Rt.mgrs=t4;Rt.version="__VERSION__";R7(Rt);let L7=null;function S7(t){L7=t;const e=Object.keys(t.defs),i=e.length;let n,s;for(n=0;n({selectedStyle:"",selectedMatrixSet:0,olMap:null}),watch:{layer:{immediate:!0,async handler(t){var r;this.selectedStyle=t.defaultStyle||((r=t.styles[0])==null?void 0:r.name),this.selectedMatrixSet=0;const e=t.matrixSets[this.selectedMatrixSet],i=await this.endpoint.getOpenLayersTileGrid(this.layer.name,e.identifier);this.olMap?this.olMap.getLayers().pop():this.olMap=new n9({target:this.$refs["map-root"],layers:[new Nu({source:new W9})],view:new Jt({zoom:2,center:[0,0]})});const n=this.layer.resourceLinks[0],s=this.endpoint.getDefaultDimensions(this.layer.name),a=new Nu({source:new Q9({layer:this.layer.name,style:this.selectedStyle,matrixSet:e.identifier,format:n.format,url:n.url,requestEncoding:n.encoding,tileGrid:i,projection:e.crs,dimensions:s})});this.olMap.addLayer(a)}}}},A7={class:"d-flex flex-row justify-content-between"},P7=["value"],O7=["value"],G7={ref:"map-root",style:{width:"100%",height:"300px","margin-top":"10px"}};function Z7(t,e,i,n,s,a){const r=ke("InfoList");return D(),V("div",null,[x("p",null,Ge(i.layer.title),1),B(r,{info:i.layer},null,8,["info"]),x("div",A7,[x("label",null,[Ee(" Selected style:  "),Ti(x("select",{"onUpdate:modelValue":e[0]||(e[0]=o=>t.selectedStyle=o),class:"form-select d-inline-block w-auto"},[(D(!0),V(Re,null,Tt(i.layer.styles,o=>(D(),V("option",{value:o.name},Ge(o.title||o.name),9,P7))),256))],512),[[Oa,t.selectedStyle]])]),x("label",null,[Ee(" Selected matrix set:  "),Ti(x("select",{"onUpdate:modelValue":e[1]||(e[1]=o=>t.selectedMatrixSet=o),class:"form-select d-inline-block w-auto"},[(D(!0),V(Re,null,Tt(i.layer.matrixSets,(o,l)=>(D(),V("option",{value:l},Ge(o.identifier),9,O7))),256))],512),[[Oa,t.selectedMatrixSet]])])]),x("div",G7,null,512)])}const X7=We(D7,[["render",Z7]]),W7={name:"WmtsEndpoint",components:{WmtsLayerInfo:X7,ItemsTree:mr,InfoList:ln},data:()=>({loading:!1,error:null,endpoint:null,url:"https://basemap.at/wmts/1.0.0/WMTSCapabilities.xml",selectedLayer:null}),computed:{loaded(){return this.endpoint&&this.loading===!1&&this.error===null}},methods:{async createEndpoint(){this.error=null,this.loading=!0,this.endpoint=new i3(this.url);try{await this.endpoint.isReady()}catch(t){this.error=t.message}this.loading=!1},handleLayerClick(t,e){this.selectedLayer=this.endpoint.getLayerByName(t.name),e.preventDefault()}}},V7={class:"d-flex flex-row my-4"},K7={key:0},U7={key:1},B7=["title"],q7=["onClick"],z7={key:1},Y7={key:2};function H7(t,e,i,n,s,a){const r=ke("InfoList"),o=ke("ItemsTree"),l=ke("WmtsLayerInfo");return D(),V("div",null,[x("div",V7,[Ti(x("input",{class:"form-control me-3",placeholder:"Enter a WMS service URL here","onUpdate:modelValue":e[0]||(e[0]=c=>t.url=c)},null,512),[[fr,t.url]]),x("button",{type:"button",class:"btn btn-primary",onClick:e[1]||(e[1]=c=>a.createEndpoint())}," Analyze ")]),t.loading?(D(),V("div",K7,"Loading...")):De("",!0),a.loaded?(D(),V("div",U7,[B(r,{info:t.endpoint.getServiceInfo()},null,8,["info"]),B(o,{items:t.endpoint.getLayers(),style:{"min-height":"200px"}},{default:Je(({item:c})=>[x("div",{title:c.abstract},[c.name?(D(),V("a",{key:0,href:"",onClick:u=>a.handleLayerClick(c,u),class:"link-light"},Ge(c.title),9,q7)):(D(),V("span",z7,Ge(c.title),1))],8,B7)]),_:1},8,["items"]),t.selectedLayer?(D(),xt(l,{key:0,layer:t.selectedLayer,endpoint:t.endpoint},null,8,["layer","endpoint"])):De("",!0)])):De("",!0),t.error?(D(),V("div",Y7,"Error: "+Ge(t.error),1)):De("",!0)])}const $7=We(W7,[["render",H7]]),j7={name:"App",components:{WmtsEndpoint:$7,OgcApiEndpoint:jy,WfsEndpoint:Ey,WmsEndpoint:iy}},J7={class:"pb-5"},Q7=x("h2",{class:"my-4"},"WMS",-1),e6=x("p",null," Enter a WMS service URL below to get some information and a list of layers from it. ",-1),t6=x("h2",{class:"my-4"},"WFS",-1),i6=x("p",null," Enter a WFS service URL below to get some information and a list of feature types from it. ",-1),n6=x("h2",{class:"my-4"},"OGC API",-1),s6=x("p",null," Enter an OGC API endpoint URL below to get some information and a list of collections from it. ",-1),a6=x("h2",{class:"my-4"},"WMTS",-1),r6=x("p",null," Enter a WMTS endpoint URL below to get some information and a list of layers from it. ",-1);function o6(t,e,i,n,s,a){const r=ke("WmsEndpoint"),o=ke("WfsEndpoint"),l=ke("OgcApiEndpoint"),c=ke("WmtsEndpoint");return D(),V("div",J7,[Q7,e6,B(r),t6,i6,B(o),n6,s6,B(l),a6,r6,B(c)])}const Yf=We(j7,[["render",o6]]),l6={name:"MarkdownBlock",props:{text:String},computed:{parsed(){return this.text?Im(this.text):""}}},c6=["innerHTML"];function u6(t,e,i,n,s,a){return D(),V("div",{innerHTML:a.parsed},null,8,c6)}const Hi=We(l6,[["render",u6]]),h6=0,d6="@camptocamp/ogc-client",f6="project",m6=1,p6={},g6=[{id:251,name:"OgcApiEndpoint",variant:"declaration",kind:128,flags:{},comment:{summary:[{kind:"text",text:"Represents an OGC API endpoint advertising various collections and services."}]},children:[{id:252,name:"constructor",variant:"declaration",kind:512,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:136,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L136"}],signatures:[{id:253,name:"new OgcApiEndpoint",variant:"signature",kind:16384,flags:{},comment:{summary:[{kind:"text",text:"Creates a new OGC API endpoint."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:136,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L136"}],parameters:[{id:254,name:"baseUrl",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:`Base URL used to query the endpoint. Note that this can point to nested -documents inside the endpoint, such as `},{kind:"code",text:"`/collections`"},{kind:"text",text:", "},{kind:"code",text:"`/collections/items`"},{kind:"text",text:" etc."}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:251,name:"default",package:"@camptocamp/ogc-client"}}]},{id:277,name:"allCollections",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:155,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L155"}],getSignature:{id:278,name:"allCollections",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to an array of all collection identifiers as strings."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:155,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L155"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"array",elementType:{type:"reflection",declaration:{id:279,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:282,name:"hasFeatures",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:159,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L159"}],type:{type:"intrinsic",name:"boolean"}},{id:284,name:"hasMapTiles",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:161,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L161"}],type:{type:"intrinsic",name:"boolean"}},{id:281,name:"hasRecords",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:158,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L158"}],type:{type:"intrinsic",name:"boolean"}},{id:283,name:"hasVectorTiles",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:160,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L160"}],type:{type:"intrinsic",name:"boolean"}},{id:280,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:157,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L157"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[282,284,281,283,280]}],sources:[{fileName:"ogc-api/endpoint.ts",line:156,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L156"}]}}}],name:"Promise",package:"typescript"}}},{id:275,name:"conformanceClasses",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:148,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L148"}],getSignature:{id:276,name:"conformanceClasses",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to an array of conformance classes."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:148,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L148"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"array",elementType:{type:"intrinsic",name:"string"}}],name:"Promise",package:"typescript"}}},{id:287,name:"featureCollections",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:180,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L180"}],getSignature:{id:288,name:"featureCollections",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to an array of feature collection identifiers as strings."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:180,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L180"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"array",elementType:{type:"intrinsic",name:"string"}}],name:"Promise",package:"typescript"}}},{id:297,name:"hasFeatures",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:230,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L230"}],getSignature:{id:298,name:"hasFeatures",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to a boolean indicating whether the endpoint offer feature collections."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:230,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L230"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"intrinsic",name:"boolean"}],name:"Promise",package:"typescript"}}},{id:299,name:"hasRecords",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:240,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L240"}],getSignature:{id:300,name:"hasRecords",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to a boolean indicating whether the endpoint offer record collections."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:240,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L240"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"intrinsic",name:"boolean"}],name:"Promise",package:"typescript"}}},{id:295,name:"hasStyles",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:223,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L223"}],getSignature:{id:296,name:"hasStyles",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to a boolean indicating whether the endpoint offer styles."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:223,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L223"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"intrinsic",name:"boolean"}],name:"Promise",package:"typescript"}}},{id:293,name:"hasTiles",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:216,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L216"}],getSignature:{id:294,name:"hasTiles",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to a boolean indicating whether the endpoint offer tiles."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:216,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L216"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"intrinsic",name:"boolean"}],name:"Promise",package:"typescript"}}},{id:273,name:"info",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:141,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L141"}],getSignature:{id:274,name:"info",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to the endpoint information."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:141,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L141"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:379,name:"OgcApiEndpointInfo",package:"@camptocamp/ogc-client"}],name:"Promise",package:"typescript"}}},{id:291,name:"mapTileCollections",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:203,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L203"}],getSignature:{id:292,name:"mapTileCollections",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to an array of map tile collection identifiers as strings."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:203,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L203"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"array",elementType:{type:"intrinsic",name:"string"}}],name:"Promise",package:"typescript"}}},{id:285,name:"recordCollections",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:170,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L170"}],getSignature:{id:286,name:"recordCollections",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to an array of records collection identifiers as strings."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:170,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L170"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"array",elementType:{type:"intrinsic",name:"string"}}],name:"Promise",package:"typescript"}}},{id:301,name:"tileMatrixSets",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:250,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L250"}],getSignature:{id:302,name:"tileMatrixSets",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"Retrieve the tile matrix sets identifiers advertised by the endpoint. Empty if tiles are not supported"}]},sources:[{fileName:"ogc-api/endpoint.ts",line:250,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L250"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"array",elementType:{type:"intrinsic",name:"string"}}],name:"Promise",package:"typescript"}}},{id:289,name:"vectorTileCollections",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:190,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L190"}],getSignature:{id:290,name:"vectorTileCollections",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to an array of vector tile collection identifiers as strings."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:190,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L190"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"array",elementType:{type:"intrinsic",name:"string"}}],name:"Promise",package:"typescript"}}},{id:347,name:"allStyles",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:623,character:8,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L623"}],signatures:[{id:348,name:"allStyles",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to an array of all style items. This includes the supported style formats."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:623,character:8,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L623"}],parameters:[{id:349,name:"collectionId",variant:"param",kind:32768,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Optional unique identifier for the collection."}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"array",elementType:{type:"reference",target:491,name:"OgcStyleBrief",package:"@camptocamp/ogc-client"}}],name:"Promise",package:"typescript"}}]},{id:310,name:"getCollectionInfo",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:311,character:8,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L311"}],signatures:[{id:311,name:"getCollectionInfo",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns a promise resolving to a document describing the specified collection."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:311,character:8,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L311"}],parameters:[{id:312,name:"collectionId",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:389,name:"OgcApiCollectionInfo",package:"@camptocamp/ogc-client"}],name:"Promise",package:"typescript"}}]},{id:322,name:"getCollectionItem",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:437,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L437"}],signatures:[{id:323,name:"getCollectionItem",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns a promise resolving to a specific item from a collection."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:437,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L437"}],parameters:[{id:324,name:"collectionId",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:325,name:"itemId",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:469,name:"OgcApiRecord",package:"@camptocamp/ogc-client"}],name:"Promise",package:"typescript"}}]},{id:313,name:"getCollectionItems",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:401,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L401"}],signatures:[{id:314,name:"getCollectionItems",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns a promise resolving to an array of items from a collection with the given query parameters."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:401,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L401"}],parameters:[{id:315,name:"collectionId",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:316,name:"limit",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"number"},defaultValue:"10"},{id:317,name:"offset",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"number"},defaultValue:"0"},{id:318,name:"skipGeometry",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"boolean"},defaultValue:"null"},{id:319,name:"sortby",variant:"param",kind:32768,flags:{},type:{type:"array",elementType:{type:"intrinsic",name:"string"}},defaultValue:"null"},{id:320,name:"bbox",variant:"param",kind:32768,flags:{},type:{type:"tuple",elements:[{type:"intrinsic",name:"number"},{type:"intrinsic",name:"number"},{type:"intrinsic",name:"number"},{type:"intrinsic",name:"number"}]},defaultValue:"null"},{id:321,name:"properties",variant:"param",kind:32768,flags:{},type:{type:"array",elementType:{type:"intrinsic",name:"string"}},defaultValue:"null"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"array",elementType:{type:"reference",target:469,name:"OgcApiRecord",package:"@camptocamp/ogc-client"}}],name:"Promise",package:"typescript"}}]},{id:326,name:"getCollectionItemsUrl",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:467,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L467"}],signatures:[{id:327,name:"getCollectionItemsUrl",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Asynchronously retrieves a URL for the items of a specified collection, with optional query parameters."}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"A promise that resolves to the URL as a string or rejects if an error occurs."}]}]},sources:[{fileName:"ogc-api/endpoint.ts",line:467,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L467"}],parameters:[{id:328,name:"collectionId",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"The unique identifier for the collection."}]},type:{type:"intrinsic",name:"string"}},{id:329,name:"options",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:`An object containing optional parameters: +northing meters`+t;var d=h/2,m=0,f=0,p,y,_,v,C;return d>0&&(p=1e5/Math.pow(10,d),y=t.substring(a,a+d),m=parseFloat(y)*p,_=t.substring(a+d),f=parseFloat(_)*p),v=m+c,C=f+u,{easting:v,northing:C,zoneLetter:o,zoneNumber:r,accuracy:p}}function l7(t,e){for(var i=Dm.charCodeAt(e-1),n=1e5,s=!1;i!==t.charCodeAt(0);){if(i++,i===vt&&i++,i===Lt&&i++,i>us){if(s)throw"Bad character: "+t;i=En,s=!0}n+=1e5}return n}function c7(t,e){if(t>"V")throw"MGRSPoint given invalid Northing "+t;for(var i=Pm.charCodeAt(e-1),n=0,s=!1;i!==t.charCodeAt(0);){if(i++,i===vt&&i++,i===Lt&&i++,i>cs){if(s)throw"Bad character: "+t;i=En,s=!0}n+=1e5}return n}function u7(t){var e;switch(t){case"C":e=11e5;break;case"D":e=2e6;break;case"E":e=28e5;break;case"F":e=37e5;break;case"G":e=46e5;break;case"H":e=55e5;break;case"J":e=64e5;break;case"K":e=73e5;break;case"L":e=82e5;break;case"M":e=91e5;break;case"N":e=0;break;case"P":e=8e5;break;case"Q":e=17e5;break;case"R":e=26e5;break;case"S":e=35e5;break;case"T":e=44e5;break;case"U":e=53e5;break;case"V":e=62e5;break;case"W":e=7e6;break;case"X":e=79e5;break;default:e=-1}if(e>=0)return e;throw"Invalid zone letter: "+t}function qn(t,e,i){if(!(this instanceof qn))return new qn(t,e,i);if(Array.isArray(t))this.x=t[0],this.y=t[1],this.z=t[2]||0;else if(typeof t=="object")this.x=t.x,this.y=t.y,this.z=t.z||0;else if(typeof t=="string"&&typeof e>"u"){var n=t.split(",");this.x=parseFloat(n[0],10),this.y=parseFloat(n[1],10),this.z=parseFloat(n[2],10)||0}else this.x=t,this.y=e,this.z=i||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}qn.fromMGRS=function(t){return new qn(Om(t))};qn.prototype.toMGRS=function(t){return Am([this.x,this.y],t)};var h7=1,d7=.25,Ou=.046875,Gu=.01953125,Zu=.01068115234375,m7=.75,f7=.46875,p7=.013020833333333334,g7=.007120768229166667,y7=.3645833333333333,b7=.005696614583333333,_7=.3076171875;function Xm(t){var e=[];e[0]=h7-t*(d7+t*(Ou+t*(Gu+t*Zu))),e[1]=t*(m7-t*(Ou+t*(Gu+t*Zu)));var i=t*t;return e[2]=i*(f7-t*(p7+t*g7)),i*=t,e[3]=i*(y7-t*b7),e[4]=i*t*_7,e}function Lr(t,e,i,n){return i*=e,e*=e,n[0]*t-i*(n[1]+e*(n[2]+e*(n[3]+e*n[4])))}var v7=20;function Wm(t,e,i){for(var n=1/(1-e),s=t,a=v7;a;--a){var r=Math.sin(s),o=1-e*r*r;if(o=(Lr(s,r,Math.cos(s),i)-t)*(o*Math.sqrt(o))*n,s-=o,Math.abs(o)O?Math.tan(i):0,p=Math.pow(f,2),y=Math.pow(p,2);s=1-this.es*Math.pow(o,2),u=u/Math.sqrt(s);var _=Lr(i,o,l,this.en);a=this.a*(this.k0*u*(1+h/6*(1-p+d+h/20*(5-18*p+y+14*d-58*p*d+h/42*(61+179*y-y*p-479*p)))))+this.x0,r=this.a*(this.k0*(_-this.ml0+o*n*u/2*(1+h/12*(5-p+9*d+4*m+h/30*(61+y-58*p+270*d-330*p*d+h/56*(1385+543*y-y*p-3111*p))))))+this.y0}else{var c=l*Math.sin(n);if(Math.abs(Math.abs(c)-1)=1){if(c-1>O)return 93;r=0}else r=Math.acos(r);i<0&&(r=-r),r=this.a*this.k0*(r-this.lat0)+this.y0}return t.x=a,t.y=r,t}function w7(t){var e,i,n,s,a=(t.x-this.x0)*(1/this.a),r=(t.y-this.y0)*(1/this.a);if(this.es)if(e=this.ml0+r/this.k0,i=Wm(e,this.es,this.en),Math.abs(i)O?Math.tan(i):0,f=this.ep2*Math.pow(d,2),p=Math.pow(f,2),y=Math.pow(m,2),_=Math.pow(y,2);e=1-this.es*Math.pow(h,2);var v=a*Math.sqrt(e)/this.k0,C=Math.pow(v,2);e=e*m,n=i-e*C/(1-this.es)*.5*(1-C/12*(5+3*y-9*f*y+f-4*p-C/30*(61+90*y-252*f*y+45*_+46*f-C/56*(1385+3633*y+4095*_+1574*_*y)))),s=V(this.long0+v*(1-C/6*(1+2*y+f-C/20*(5+28*y+24*_+8*f*y+6*f-C/42*(61+662*y+1320*_+720*_*y))))/d)}else n=R*Vs(r),s=0;else{var o=Math.exp(a/this.k0),l=.5*(o-1/o),c=this.lat0+r/this.k0,u=Math.cos(c);e=Math.sqrt((1-Math.pow(u,2))/(1+Math.pow(l,2))),n=Math.asin(e),r<0&&(n=-n),l===0&&u===0?s=0:s=V(Math.atan2(l,u)+this.long0)}return t.x=s,t.y=n,t}var C7=["Fast_Transverse_Mercator","Fast Transverse Mercator"];const Fa={init:N7,forward:x7,inverse:w7,names:C7};function Km(t){var e=Math.exp(t);return e=(e-1/e)/2,e}function At(t,e){t=Math.abs(t),e=Math.abs(e);var i=Math.max(t,e),n=Math.min(t,e)/(i||1);return i*Math.sqrt(1+Math.pow(n,2))}function F7(t){var e=1+t,i=e-1;return i===0?t:t*Math.log(e)/i}function E7(t){var e=Math.abs(t);return e=F7(e*(1+e/(At(1,e)+1))),t<0?-e:e}function Dl(t,e){for(var i=2*Math.cos(2*e),n=t.length-1,s=t[n],a=0,r;--n>=0;)r=-a+i*s+t[n],a=s,s=r;return e+r*Math.sin(2*e)}function k7(t,e){for(var i=2*Math.cos(e),n=t.length-1,s=t[n],a=0,r;--n>=0;)r=-a+i*s+t[n],a=s,s=r;return Math.sin(e)*r}function M7(t){var e=Math.exp(t);return e=(e+1/e)/2,e}function Vm(t,e,i){for(var n=Math.sin(e),s=Math.cos(e),a=Km(i),r=M7(i),o=2*s*r,l=-2*n*a,c=t.length-1,u=t[c],h=0,d=0,m=0,f,p;--c>=0;)f=d,p=h,d=u,h=m,u=-f+o*d-l*h+t[c],m=-p+l*d+o*h;return o=n*r,l=s*a,[o*u-l*m,o*m+l*u]}function I7(){if(!this.approx&&(isNaN(this.es)||this.es<=0))throw new Error('Incorrect elliptical usage. Try using the +approx option in the proj string, or PROJECTION["Fast_Transverse_Mercator"] in the WKT.');this.approx&&(Fa.init.apply(this),this.forward=Fa.forward,this.inverse=Fa.inverse),this.x0=this.x0!==void 0?this.x0:0,this.y0=this.y0!==void 0?this.y0:0,this.long0=this.long0!==void 0?this.long0:0,this.lat0=this.lat0!==void 0?this.lat0:0,this.cgb=[],this.cbg=[],this.utg=[],this.gtu=[];var t=this.es/(1+Math.sqrt(1-this.es)),e=t/(2-t),i=e;this.cgb[0]=e*(2+e*(-2/3+e*(-2+e*(116/45+e*(26/45+e*(-2854/675)))))),this.cbg[0]=e*(-2+e*(2/3+e*(4/3+e*(-82/45+e*(32/45+e*(4642/4725)))))),i=i*e,this.cgb[1]=i*(7/3+e*(-8/5+e*(-227/45+e*(2704/315+e*(2323/945))))),this.cbg[1]=i*(5/3+e*(-16/15+e*(-13/9+e*(904/315+e*(-1522/945))))),i=i*e,this.cgb[2]=i*(56/15+e*(-136/35+e*(-1262/105+e*(73814/2835)))),this.cbg[2]=i*(-26/15+e*(34/21+e*(8/5+e*(-12686/2835)))),i=i*e,this.cgb[3]=i*(4279/630+e*(-332/35+e*(-399572/14175))),this.cbg[3]=i*(1237/630+e*(-12/5+e*(-24832/14175))),i=i*e,this.cgb[4]=i*(4174/315+e*(-144838/6237)),this.cbg[4]=i*(-734/315+e*(109598/31185)),i=i*e,this.cgb[5]=i*(601676/22275),this.cbg[5]=i*(444337/155925),i=Math.pow(e,2),this.Qn=this.k0/(1+e)*(1+i*(1/4+i*(1/64+i/256))),this.utg[0]=e*(-.5+e*(2/3+e*(-37/96+e*(1/360+e*(81/512+e*(-96199/604800)))))),this.gtu[0]=e*(.5+e*(-2/3+e*(5/16+e*(41/180+e*(-127/288+e*(7891/37800)))))),this.utg[1]=i*(-1/48+e*(-1/15+e*(437/1440+e*(-46/105+e*(1118711/3870720))))),this.gtu[1]=i*(13/48+e*(-3/5+e*(557/1440+e*(281/630+e*(-1983433/1935360))))),i=i*e,this.utg[2]=i*(-17/480+e*(37/840+e*(209/4480+e*(-5569/90720)))),this.gtu[2]=i*(61/240+e*(-103/140+e*(15061/26880+e*(167603/181440)))),i=i*e,this.utg[3]=i*(-4397/161280+e*(11/504+e*(830251/7257600))),this.gtu[3]=i*(49561/161280+e*(-179/168+e*(6601661/7257600))),i=i*e,this.utg[4]=i*(-4583/161280+e*(108847/3991680)),this.gtu[4]=i*(34729/80640+e*(-3418889/1995840)),i=i*e,this.utg[5]=i*(-20648693/638668800),this.gtu[5]=i*(212378941/319334400);var n=Dl(this.cbg,this.lat0);this.Zb=-this.Qn*(n+k7(this.gtu,2*n))}function T7(t){var e=V(t.x-this.long0),i=t.y;i=Dl(this.cbg,i);var n=Math.sin(i),s=Math.cos(i),a=Math.sin(e),r=Math.cos(e);i=Math.atan2(n,r*s),e=Math.atan2(a*s,At(n,s*r)),e=E7(Math.tan(e));var o=Vm(this.gtu,2*i,2*e);i=i+o[0],e=e+o[1];var l,c;return Math.abs(e)<=2.623395162778?(l=this.a*(this.Qn*e)+this.x0,c=this.a*(this.Qn*i+this.Zb)+this.y0):(l=1/0,c=1/0),t.x=l,t.y=c,t}function R7(t){var e=(t.x-this.x0)*(1/this.a),i=(t.y-this.y0)*(1/this.a);i=(i-this.Zb)/this.Qn,e=e/this.Qn;var n,s;if(Math.abs(e)<=2.623395162778){var a=Vm(this.utg,2*i,2*e);i=i+a[0],e=e+a[1],e=Math.atan(Km(e));var r=Math.sin(i),o=Math.cos(i),l=Math.sin(e),c=Math.cos(e);i=Math.atan2(r*c,At(l,c*o)),e=Math.atan2(l,c*o),n=V(e+this.long0),s=Dl(this.cgb,i)}else n=1/0,s=1/0;return t.x=n,t.y=s,t}var L7=["Extended_Transverse_Mercator","Extended Transverse Mercator","etmerc","Transverse_Mercator","Transverse Mercator","Gauss Kruger","Gauss_Kruger","tmerc"];const Ea={init:I7,forward:T7,inverse:R7,names:L7};function S7(t,e){if(t===void 0){if(t=Math.floor((V(e)+Math.PI)*30/Math.PI)+1,t<0)return 0;if(t>60)return 60}return t}var D7="etmerc";function P7(){var t=S7(this.zone,this.long0);if(t===void 0)throw new Error("unknown utm zone");this.lat0=0,this.long0=(6*Math.abs(t)-183)*it,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,Ea.init.apply(this),this.forward=Ea.forward,this.inverse=Ea.inverse}var A7=["Universal Transverse Mercator System","utm"];const O7={init:P7,names:A7,dependsOn:D7};function Pl(t,e){return Math.pow((1-t)/(1+t),e)}var G7=20;function Z7(){var t=Math.sin(this.lat0),e=Math.cos(this.lat0);e*=e,this.rc=Math.sqrt(1-this.es)/(1-this.es*t*t),this.C=Math.sqrt(1+this.es*e*e/(1-this.es)),this.phic0=Math.asin(t/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+ge)/(Math.pow(Math.tan(.5*this.lat0+ge),this.C)*Pl(this.e*t,this.ratexp))}function X7(t){var e=t.x,i=t.y;return t.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*i+ge),this.C)*Pl(this.e*Math.sin(i),this.ratexp))-R,t.x=this.C*e,t}function W7(t){for(var e=1e-14,i=t.x/this.C,n=t.y,s=Math.pow(Math.tan(.5*n+ge)/this.K,1/this.C),a=G7;a>0&&(n=2*Math.atan(s*Pl(this.e*Math.sin(t.y),-.5*this.e))-R,!(Math.abs(n-t.y)0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),this.k0===1&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=O&&Math.abs(Math.cos(this.lat_ts))>O&&(this.k0=.5*this.cons*ni(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/Bt(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=ni(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-R,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))}function $7(t){var e=t.x,i=t.y,n=Math.sin(i),s=Math.cos(i),a,r,o,l,c,u,h=V(e-this.long0);return Math.abs(Math.abs(e-this.long0)-Math.PI)<=O&&Math.abs(i+this.lat0)<=O?(t.x=NaN,t.y=NaN,t):this.sphere?(a=2*this.k0/(1+this.sinlat0*n+this.coslat0*s*Math.cos(h)),t.x=this.a*a*s*Math.sin(h)+this.x0,t.y=this.a*a*(this.coslat0*n-this.sinlat0*s*Math.cos(h))+this.y0,t):(r=2*Math.atan(this.ssfn_(i,n,this.e))-R,l=Math.cos(r),o=Math.sin(r),Math.abs(this.coslat0)<=O?(c=Bt(this.e,i*this.con,this.con*n),u=2*this.a*this.k0*c/this.cons,t.x=this.x0+u*Math.sin(e-this.long0),t.y=this.y0-this.con*u*Math.cos(e-this.long0),t):(Math.abs(this.sinlat0)0?e=V(this.long0+Math.atan2(t.x,-1*t.y)):e=V(this.long0+Math.atan2(t.x,t.y)):e=V(this.long0+Math.atan2(t.x*Math.sin(o),r*this.coslat0*Math.cos(o)-t.y*this.sinlat0*Math.sin(o))),t.x=e,t.y=i,t)}else if(Math.abs(this.coslat0)<=O){if(r<=O)return i=this.lat0,e=this.long0,t.x=e,t.y=i,t;t.x*=this.con,t.y*=this.con,n=r*this.cons/(2*this.a*this.k0),i=this.con*Ss(this.e,n),e=this.con*V(this.con*this.long0+Math.atan2(t.x,-1*t.y))}else s=2*Math.atan(r*this.cosX0/(2*this.a*this.k0*this.ms1)),e=this.long0,r<=O?a=this.X0:(a=Math.asin(Math.cos(s)*this.sinX0+t.y*Math.sin(s)*this.cosX0/r),e=V(this.long0+Math.atan2(t.x*Math.sin(s),r*this.cosX0*Math.cos(s)-t.y*this.sinX0*Math.sin(s)))),i=-1*Ss(this.e,Math.tan(.5*(R+a)));return t.x=e,t.y=i,t}var J7=["stere","Stereographic_South_Pole","Polar Stereographic (variant B)","Polar_Stereographic"];const Q7={init:Y7,forward:$7,inverse:j7,names:J7,ssfn_:H7};function e3(){var t=this.lat0;this.lambda0=this.long0;var e=Math.sin(t),i=this.a,n=this.rf,s=1/n,a=2*s-Math.pow(s,2),r=this.e=Math.sqrt(a);this.R=this.k0*i*Math.sqrt(1-a)/(1-a*Math.pow(e,2)),this.alpha=Math.sqrt(1+a/(1-a)*Math.pow(Math.cos(t),4)),this.b0=Math.asin(e/this.alpha);var o=Math.log(Math.tan(Math.PI/4+this.b0/2)),l=Math.log(Math.tan(Math.PI/4+t/2)),c=Math.log((1+r*e)/(1-r*e));this.K=o-this.alpha*l+this.alpha*r/2*c}function t3(t){var e=Math.log(Math.tan(Math.PI/4-t.y/2)),i=this.e/2*Math.log((1+this.e*Math.sin(t.y))/(1-this.e*Math.sin(t.y))),n=-this.alpha*(e+i)+this.K,s=2*(Math.atan(Math.exp(n))-Math.PI/4),a=this.alpha*(t.x-this.lambda0),r=Math.atan(Math.sin(a)/(Math.sin(this.b0)*Math.tan(s)+Math.cos(this.b0)*Math.cos(a))),o=Math.asin(Math.cos(this.b0)*Math.sin(s)-Math.sin(this.b0)*Math.cos(s)*Math.cos(a));return t.y=this.R/2*Math.log((1+Math.sin(o))/(1-Math.sin(o)))+this.y0,t.x=this.R*r+this.x0,t}function i3(t){for(var e=t.x-this.x0,i=t.y-this.y0,n=e/this.R,s=2*(Math.atan(Math.exp(i/this.R))-Math.PI/4),a=Math.asin(Math.cos(this.b0)*Math.sin(s)+Math.sin(this.b0)*Math.cos(s)*Math.cos(n)),r=Math.atan(Math.sin(n)/(Math.cos(this.b0)*Math.cos(n)-Math.sin(this.b0)*Math.tan(s))),o=this.lambda0+r/this.alpha,l=0,c=a,u=-1e3,h=0;Math.abs(c-u)>1e-7;){if(++h>20)return;l=1/this.alpha*(Math.log(Math.tan(Math.PI/4+a/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(c))/2)),u=c,c=2*Math.atan(Math.exp(l))-Math.PI/2}return t.x=o,t.y=c,t}var n3=["somerc"];const s3={init:e3,forward:t3,inverse:i3,names:n3};var vn=1e-7;function a3(t){var e=["Hotine_Oblique_Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin"],i=typeof t.PROJECTION=="object"?Object.keys(t.PROJECTION)[0]:t.PROJECTION;return"no_uoff"in t||"no_off"in t||e.indexOf(i)!==-1}function r3(){var t,e,i,n,s,a,r,o,l,c,u=0,h,d=0,m=0,f=0,p=0,y=0,_=0;this.no_off=a3(this),this.no_rot="no_rot"in this;var v=!1;"alpha"in this&&(v=!0);var C=!1;if("rectified_grid_angle"in this&&(C=!0),v&&(_=this.alpha),C&&(u=this.rectified_grid_angle*it),v||C)d=this.longc;else if(m=this.long1,p=this.lat1,f=this.long2,y=this.lat2,Math.abs(p-y)<=vn||(t=Math.abs(p))<=vn||Math.abs(t-R)<=vn||Math.abs(Math.abs(this.lat0)-R)<=vn||Math.abs(Math.abs(y)-R)<=vn)throw new Error;var x=1-this.es;e=Math.sqrt(x),Math.abs(this.lat0)>O?(o=Math.sin(this.lat0),i=Math.cos(this.lat0),t=1-this.es*o*o,this.B=i*i,this.B=Math.sqrt(1+this.es*this.B*this.B/x),this.A=this.B*this.k0*e/t,n=this.B*e/(i*Math.sqrt(t)),s=n*n-1,s<=0?s=0:(s=Math.sqrt(s),this.lat0<0&&(s=-s)),this.E=s+=n,this.E*=Math.pow(Bt(this.e,this.lat0,o),this.B)):(this.B=1/e,this.A=this.k0,this.E=n=s=1),v||C?(v?(h=Math.asin(Math.sin(_)/n),C||(u=_)):(h=u,_=Math.asin(n*Math.sin(h))),this.lam0=d-Math.asin(.5*(s-1/s)*Math.tan(h))/this.B):(a=Math.pow(Bt(this.e,p,Math.sin(p)),this.B),r=Math.pow(Bt(this.e,y,Math.sin(y)),this.B),s=this.E/a,l=(r-a)/(r+a),c=this.E*this.E,c=(c-r*a)/(c+r*a),t=m-f,t<-Math.pi?f-=Rs:t>Math.pi&&(f+=Rs),this.lam0=V(.5*(m+f)-Math.atan(c*Math.tan(.5*this.B*(m-f))/l)/this.B),h=Math.atan(2*Math.sin(this.B*V(m-this.lam0))/(s-1/s)),u=_=Math.asin(n*Math.sin(h))),this.singam=Math.sin(h),this.cosgam=Math.cos(h),this.sinrot=Math.sin(u),this.cosrot=Math.cos(u),this.rB=1/this.B,this.ArB=this.A*this.rB,this.BrA=1/this.ArB,this.A*this.B,this.no_off?this.u_0=0:(this.u_0=Math.abs(this.ArB*Math.atan(Math.sqrt(n*n-1)/Math.cos(_))),this.lat0<0&&(this.u_0=-this.u_0)),s=.5*h,this.v_pole_n=this.ArB*Math.log(Math.tan(ge-s)),this.v_pole_s=this.ArB*Math.log(Math.tan(ge+s))}function o3(t){var e={},i,n,s,a,r,o,l,c;if(t.x=t.x-this.lam0,Math.abs(Math.abs(t.y)-R)>O){if(r=this.E/Math.pow(Bt(this.e,t.y,Math.sin(t.y)),this.B),o=1/r,i=.5*(r-o),n=.5*(r+o),a=Math.sin(this.B*t.x),s=(i*this.singam-a*this.cosgam)/n,Math.abs(Math.abs(s)-1)0?this.v_pole_n:this.v_pole_s,l=this.ArB*t.y;return this.no_rot?(e.x=l,e.y=c):(l-=this.u_0,e.x=c*this.cosrot+l*this.sinrot,e.y=l*this.cosrot-c*this.sinrot),e.x=this.a*e.x+this.x0,e.y=this.a*e.y+this.y0,e}function l3(t){var e,i,n,s,a,r,o,l={};if(t.x=(t.x-this.x0)*(1/this.a),t.y=(t.y-this.y0)*(1/this.a),this.no_rot?(i=t.y,e=t.x):(i=t.x*this.cosrot-t.y*this.sinrot,e=t.y*this.cosrot+t.x*this.sinrot+this.u_0),n=Math.exp(-this.BrA*i),s=.5*(n-1/n),a=.5*(n+1/n),r=Math.sin(this.BrA*e),o=(r*this.cosgam+s*this.singam)/a,Math.abs(Math.abs(o)-1)O?this.ns=Math.log(n/o)/Math.log(s/l):this.ns=e,isNaN(this.ns)&&(this.ns=e),this.f0=n/(this.ns*Math.pow(s,this.ns)),this.rh=this.a*this.f0*Math.pow(c,this.ns),this.title||(this.title="Lambert Conformal Conic")}}function d3(t){var e=t.x,i=t.y;Math.abs(2*Math.abs(i)-Math.PI)<=O&&(i=Vs(i)*(R-2*O));var n=Math.abs(Math.abs(i)-R),s,a;if(n>O)s=Bt(this.e,i,Math.sin(i)),a=this.a*this.f0*Math.pow(s,this.ns);else{if(n=i*this.ns,n<=0)return null;a=0}var r=this.ns*V(e-this.long0);return t.x=this.k0*(a*Math.sin(r))+this.x0,t.y=this.k0*(this.rh-a*Math.cos(r))+this.y0,t}function m3(t){var e,i,n,s,a,r=(t.x-this.x0)/this.k0,o=this.rh-(t.y-this.y0)/this.k0;this.ns>0?(e=Math.sqrt(r*r+o*o),i=1):(e=-Math.sqrt(r*r+o*o),i=-1);var l=0;if(e!==0&&(l=Math.atan2(i*r,i*o)),e!==0||this.ns>0){if(i=1/this.ns,n=Math.pow(e/(this.a*this.f0),i),s=Ss(this.e,n),s===-9999)return null}else s=-R;return a=V(l/this.ns+this.long0),t.x=a,t.y=s,t}var f3=["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_1SP","Lambert_Conformal_Conic_2SP","lcc","Lambert Conic Conformal (1SP)","Lambert Conic Conformal (2SP)"];const p3={init:h3,forward:d3,inverse:m3,names:f3};function g3(){this.a=6377397155e-3,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.7417649320975901-.308341501185665),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq}function y3(t){var e,i,n,s,a,r,o,l=t.x,c=t.y,u=V(l-this.long0);return e=Math.pow((1+this.e*Math.sin(c))/(1-this.e*Math.sin(c)),this.alfa*this.e/2),i=2*(Math.atan(this.k*Math.pow(Math.tan(c/2+this.s45),this.alfa)/e)-this.s45),n=-u*this.alfa,s=Math.asin(Math.cos(this.ad)*Math.sin(i)+Math.sin(this.ad)*Math.cos(i)*Math.cos(n)),a=Math.asin(Math.cos(i)*Math.sin(n)/Math.cos(s)),r=this.n*a,o=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(s/2+this.s45),this.n),t.y=o*Math.cos(r)/1,t.x=o*Math.sin(r)/1,this.czech||(t.y*=-1,t.x*=-1),t}function b3(t){var e,i,n,s,a,r,o,l,c=t.x;t.x=t.y,t.y=c,this.czech||(t.y*=-1,t.x*=-1),r=Math.sqrt(t.x*t.x+t.y*t.y),a=Math.atan2(t.y,t.x),s=a/Math.sin(this.s0),n=2*(Math.atan(Math.pow(this.ro0/r,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),e=Math.asin(Math.cos(this.ad)*Math.sin(n)-Math.sin(this.ad)*Math.cos(n)*Math.cos(s)),i=Math.asin(Math.cos(n)*Math.sin(s)/Math.cos(e)),t.x=this.long0-i/this.alfa,o=e,l=0;var u=0;do t.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(e/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(o))/(1-this.e*Math.sin(o)),this.e/2))-this.s45),Math.abs(o-t.y)<1e-10&&(l=1),o=t.y,u+=1;while(l===0&&u<15);return u>=15?null:t}var _3=["Krovak","krovak"];const v3={init:g3,forward:y3,inverse:b3,names:_3};function _t(t,e,i,n,s){return t*s-e*Math.sin(2*s)+i*Math.sin(4*s)-n*Math.sin(6*s)}function Us(t){return 1-.25*t*(1+t/16*(3+1.25*t))}function Bs(t){return .375*t*(1+.25*t*(1+.46875*t))}function qs(t){return .05859375*t*t*(1+.75*t)}function zs(t){return t*t*t*(35/3072)}function zn(t,e,i){var n=e*i;return t/Math.sqrt(1-n*n)}function es(t){return Math.abs(t)1e-7?(i=t*e,(1-t*t)*(e/(1-i*i)-.5/t*Math.log((1-i)/(1+i)))):2*e}var E3=1,k3=2,M3=3,I3=4;function T3(){var t=Math.abs(this.lat0);if(Math.abs(t-R)0){var e;switch(this.qp=ki(this.e,1),this.mmf=.5/(1-this.es),this.apa=Z3(this.es),this.mode){case this.N_POLE:this.dd=1;break;case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),e=Math.sin(this.lat0),this.sinb1=ki(this.e,e)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*e*e)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd;break}}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))}function R3(t){var e,i,n,s,a,r,o,l,c,u,h=t.x,d=t.y;if(h=V(h-this.long0),this.sphere){if(a=Math.sin(d),u=Math.cos(d),n=Math.cos(h),this.mode===this.OBLIQ||this.mode===this.EQUIT){if(i=this.mode===this.EQUIT?1+u*n:1+this.sinph0*a+this.cosph0*u*n,i<=O)return null;i=Math.sqrt(2/i),e=i*u*Math.sin(h),i*=this.mode===this.EQUIT?a:this.cosph0*a-this.sinph0*u*n}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(n=-n),Math.abs(d+this.lat0)=0?(e=(c=Math.sqrt(r))*s,i=n*(this.mode===this.S_POLE?c:-c)):e=i=0;break}}return t.x=this.a*e+this.x0,t.y=this.a*i+this.y0,t}function L3(t){t.x-=this.x0,t.y-=this.y0;var e=t.x/this.a,i=t.y/this.a,n,s,a,r,o,l,c;if(this.sphere){var u=0,h,d=0;if(h=Math.sqrt(e*e+i*i),s=h*.5,s>1)return null;switch(s=2*Math.asin(s),(this.mode===this.OBLIQ||this.mode===this.EQUIT)&&(d=Math.sin(s),u=Math.cos(s)),this.mode){case this.EQUIT:s=Math.abs(h)<=O?0:Math.asin(i*d/h),e*=d,i=u*h;break;case this.OBLIQ:s=Math.abs(h)<=O?this.lat0:Math.asin(u*this.sinph0+i*d*this.cosph0/h),e*=d*this.cosph0,i=(u-Math.sin(s)*this.sinph0)*h;break;case this.N_POLE:i=-i,s=R-s;break;case this.S_POLE:s-=R;break}n=i===0&&(this.mode===this.EQUIT||this.mode===this.OBLIQ)?0:Math.atan2(e,i)}else{if(c=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(e/=this.dd,i*=this.dd,l=Math.sqrt(e*e+i*i),l1&&(t=t>1?1:-1),Math.asin(t)}function V3(){Math.abs(this.lat1+this.lat2)O?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)}function U3(t){var e=t.x,i=t.y;this.sin_phi=Math.sin(i),this.cos_phi=Math.cos(i);var n=ki(this.e3,this.sin_phi),s=this.a*Math.sqrt(this.c-this.ns0*n)/this.ns0,a=this.ns0*V(e-this.long0),r=s*Math.sin(a)+this.x0,o=this.rh-s*Math.cos(a)+this.y0;return t.x=r,t.y=o,t}function B3(t){var e,i,n,s,a,r;return t.x-=this.x0,t.y=this.rh-t.y+this.y0,this.ns0>=0?(e=Math.sqrt(t.x*t.x+t.y*t.y),n=1):(e=-Math.sqrt(t.x*t.x+t.y*t.y),n=-1),s=0,e!==0&&(s=Math.atan2(n*t.x,n*t.y)),n=e*this.ns0/this.a,this.sphere?r=Math.asin((this.c-n*n)/(2*this.ns0)):(i=(this.c-n*n)/this.ns0,r=this.phi1z(this.e3,i)),a=V(s/this.ns0+this.long0),t.x=a,t.y=r,t}function q3(t,e){var i,n,s,a,r,o=Di(.5*e);if(t0||Math.abs(r)<=O?(o=this.x0+this.a*a*i*Math.sin(n)/r,l=this.y0+this.a*a*(this.cos_p14*e-this.sin_p14*i*s)/r):(o=this.x0+this.infinity_dist*i*Math.sin(n),l=this.y0+this.infinity_dist*(this.cos_p14*e-this.sin_p14*i*s)),t.x=o,t.y=l,t}function j3(t){var e,i,n,s,a,r;return t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,t.x/=this.k0,t.y/=this.k0,(e=Math.sqrt(t.x*t.x+t.y*t.y))?(s=Math.atan2(e,this.rc),i=Math.sin(s),n=Math.cos(s),r=Di(n*this.sin_p14+t.y*i*this.cos_p14/e),a=Math.atan2(t.x*i,e*this.cos_p14*n-t.y*this.sin_p14*i),a=V(this.long0+a)):(r=this.phic0,a=0),t.x=a,t.y=r,t}var J3=["gnom"];const Q3={init:Y3,forward:$3,inverse:j3,names:J3};function e4(t,e){var i=1-(1-t*t)/(2*t)*Math.log((1-t)/(1+t));if(Math.abs(Math.abs(e)-i)<1e-6)return e<0?-1*R:R;for(var n=Math.asin(.5*e),s,a,r,o,l=0;l<30;l++)if(a=Math.sin(n),r=Math.cos(n),o=t*a,s=Math.pow(1-o*o,2)/(2*r)*(e/(1-t*t)-a/(1-o*o)+.5/t*Math.log((1-o)/(1+o))),n+=s,Math.abs(s)<=1e-10)return n;return NaN}function t4(){this.sphere||(this.k0=ni(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))}function i4(t){var e=t.x,i=t.y,n,s,a=V(e-this.long0);if(this.sphere)n=this.x0+this.a*a*Math.cos(this.lat_ts),s=this.y0+this.a*Math.sin(i)/Math.cos(this.lat_ts);else{var r=ki(this.e,Math.sin(i));n=this.x0+this.a*this.k0*a,s=this.y0+this.a*r*.5/this.k0}return t.x=n,t.y=s,t}function n4(t){t.x-=this.x0,t.y-=this.y0;var e,i;return this.sphere?(e=V(this.long0+t.x/this.a/Math.cos(this.lat_ts)),i=Math.asin(t.y/this.a*Math.cos(this.lat_ts))):(i=e4(this.e,2*t.y*this.k0/this.a),e=V(this.long0+t.x/(this.a*this.k0))),t.x=e,t.y=i,t}var s4=["cea"];const a4={init:t4,forward:i4,inverse:n4,names:s4};function r4(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Equidistant Cylindrical (Plate Carre)",this.rc=Math.cos(this.lat_ts)}function o4(t){var e=t.x,i=t.y,n=V(e-this.long0),s=es(i-this.lat0);return t.x=this.x0+this.a*n*this.rc,t.y=this.y0+this.a*s,t}function l4(t){var e=t.x,i=t.y;return t.x=V(this.long0+(e-this.x0)/(this.a*this.rc)),t.y=es(this.lat0+(i-this.y0)/this.a),t}var c4=["Equirectangular","Equidistant_Cylindrical","eqc"];const u4={init:r4,forward:o4,inverse:l4,names:c4};var Xu=20;function h4(){this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=Us(this.es),this.e1=Bs(this.es),this.e2=qs(this.es),this.e3=zs(this.es),this.ml0=this.a*_t(this.e0,this.e1,this.e2,this.e3,this.lat0)}function d4(t){var e=t.x,i=t.y,n,s,a,r=V(e-this.long0);if(a=r*Math.sin(i),this.sphere)Math.abs(i)<=O?(n=this.a*r,s=-1*this.a*this.lat0):(n=this.a*Math.sin(a)/Math.tan(i),s=this.a*(es(i-this.lat0)+(1-Math.cos(a))/Math.tan(i)));else if(Math.abs(i)<=O)n=this.a*r,s=-1*this.ml0;else{var o=zn(this.a,this.e,Math.sin(i))/Math.tan(i);n=o*Math.sin(a),s=this.a*_t(this.e0,this.e1,this.e2,this.e3,i)-this.ml0+o*(1-Math.cos(a))}return t.x=n+this.x0,t.y=s+this.y0,t}function m4(t){var e,i,n,s,a,r,o,l,c;if(n=t.x-this.x0,s=t.y-this.y0,this.sphere)if(Math.abs(s+this.a*this.lat0)<=O)e=V(n/this.a+this.long0),i=0;else{r=this.lat0+s/this.a,o=n*n/this.a/this.a+r*r,l=r;var u;for(a=Xu;a;--a)if(u=Math.tan(l),c=-1*(r*(l*u+1)-l-.5*(l*l+o)*u)/((l-r)/u-1),l+=c,Math.abs(c)<=O){i=l;break}e=V(this.long0+Math.asin(n*Math.tan(l)/this.a)/Math.sin(i))}else if(Math.abs(s+this.ml0)<=O)i=0,e=V(this.long0+n/this.a);else{r=(this.ml0+s)/this.a,o=n*n/this.a/this.a+r*r,l=r;var h,d,m,f,p;for(a=Xu;a;--a)if(p=this.e*Math.sin(l),h=Math.sqrt(1-p*p)*Math.tan(l),d=this.a*_t(this.e0,this.e1,this.e2,this.e3,l),m=this.e0-2*this.e1*Math.cos(2*l)+4*this.e2*Math.cos(4*l)-6*this.e3*Math.cos(6*l),f=d/this.a,c=(r*(h*f+1)-f-.5*h*(f*f+o))/(this.es*Math.sin(2*l)*(f*f+o-2*r*f)/(4*h)+(r-f)*(h*m-2/Math.sin(2*l))-m),l-=c,Math.abs(c)<=O){i=l;break}h=Math.sqrt(1-this.es*Math.pow(Math.sin(i),2))*Math.tan(i),e=V(this.long0+Math.asin(n*h/this.a)/Math.sin(i))}return t.x=e,t.y=i,t}var f4=["Polyconic","poly"];const p4={init:h4,forward:d4,inverse:m4,names:f4};function g4(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013}function y4(t){var e,i=t.x,n=t.y,s=n-this.lat0,a=i-this.long0,r=s/ys*1e-5,o=a,l=1,c=0;for(e=1;e<=10;e++)l=l*r,c=c+this.A[e]*l;var u=c,h=o,d=1,m=0,f,p,y=0,_=0;for(e=1;e<=6;e++)f=d*u-m*h,p=m*u+d*h,d=f,m=p,y=y+this.B_re[e]*d-this.B_im[e]*m,_=_+this.B_im[e]*d+this.B_re[e]*m;return t.x=_*this.a+this.x0,t.y=y*this.a+this.y0,t}function b4(t){var e,i=t.x,n=t.y,s=i-this.x0,a=n-this.y0,r=a/this.a,o=s/this.a,l=1,c=0,u,h,d=0,m=0;for(e=1;e<=6;e++)u=l*r-c*o,h=c*r+l*o,l=u,c=h,d=d+this.C_re[e]*l-this.C_im[e]*c,m=m+this.C_im[e]*l+this.C_re[e]*c;for(var f=0;f.999999999999&&(i=.999999999999),e=Math.asin(i);var n=V(this.long0+t.x/(.900316316158*this.a*Math.cos(e)));n<-Math.PI&&(n=-Math.PI),n>Math.PI&&(n=Math.PI),i=(2*e+Math.sin(2*e))/Math.PI,Math.abs(i)>1&&(i=1);var s=Math.asin(i);return t.x=n,t.y=s,t}var P4=["Mollweide","moll"];const A4={init:L4,forward:S4,inverse:D4,names:P4};function O4(){Math.abs(this.lat1+this.lat2)=0?(i=Math.sqrt(t.x*t.x+t.y*t.y),e=1):(i=-Math.sqrt(t.x*t.x+t.y*t.y),e=-1);var a=0;if(i!==0&&(a=Math.atan2(e*t.x,e*t.y)),this.sphere)return s=V(this.long0+a/this.ns),n=es(this.g-i/this.a),t.x=s,t.y=n,t;var r=this.g-i/this.a;return n=ja(r,this.e0,this.e1,this.e2,this.e3),s=V(this.long0+a/this.ns),t.x=s,t.y=n,t}var X4=["Equidistant_Conic","eqdc"];const W4={init:O4,forward:G4,inverse:Z4,names:X4};function K4(){this.R=this.a}function V4(t){var e=t.x,i=t.y,n=V(e-this.long0),s,a;Math.abs(i)<=O&&(s=this.x0+this.R*n,a=this.y0);var r=Di(2*Math.abs(i/Math.PI));(Math.abs(n)<=O||Math.abs(Math.abs(i)-R)<=O)&&(s=this.x0,i>=0?a=this.y0+Math.PI*this.R*Math.tan(.5*r):a=this.y0+Math.PI*this.R*-Math.tan(.5*r));var o=.5*Math.abs(Math.PI/n-n/Math.PI),l=o*o,c=Math.sin(r),u=Math.cos(r),h=u/(c+u-1),d=h*h,m=h*(2/c-1),f=m*m,p=Math.PI*this.R*(o*(h-f)+Math.sqrt(l*(h-f)*(h-f)-(f+l)*(d-f)))/(f+l);n<0&&(p=-p),s=this.x0+p;var y=l+h;return p=Math.PI*this.R*(m*y-o*Math.sqrt((f+l)*(l+1)-y*y))/(f+l),i>=0?a=this.y0+p:a=this.y0-p,t.x=s,t.y=a,t}function U4(t){var e,i,n,s,a,r,o,l,c,u,h,d,m;return t.x-=this.x0,t.y-=this.y0,h=Math.PI*this.R,n=t.x/h,s=t.y/h,a=n*n+s*s,r=-Math.abs(s)*(1+a),o=r-2*s*s+n*n,l=-2*r+1+2*s*s+a*a,m=s*s/l+(2*o*o*o/l/l/l-9*r*o/l/l)/27,c=(r-o*o/3/l)/l,u=2*Math.sqrt(-c/3),h=3*m/c/u,Math.abs(h)>1&&(h>=0?h=1:h=-1),d=Math.acos(h)/3,t.y>=0?i=(-u*Math.cos(d+Math.PI/3)-o/3/l)*Math.PI:i=-(-u*Math.cos(d+Math.PI/3)-o/3/l)*Math.PI,Math.abs(n)2*R*this.a?void 0:(i=e/this.a,n=Math.sin(i),s=Math.cos(i),a=this.long0,Math.abs(e)<=O?r=this.lat0:(r=Di(s*this.sin_p12+t.y*n*this.cos_p12/e),o=Math.abs(this.lat0)-R,Math.abs(o)<=O?this.lat0>=0?a=V(this.long0+Math.atan2(t.x,-t.y)):a=V(this.long0-Math.atan2(-t.x,t.y)):a=V(this.long0+Math.atan2(t.x*n,e*this.cos_p12*s-t.y*this.sin_p12*n))),t.x=a,t.y=r,t)):(l=Us(this.es),c=Bs(this.es),u=qs(this.es),h=zs(this.es),Math.abs(this.sin_p12-1)<=O?(d=this.a*_t(l,c,u,h,R),e=Math.sqrt(t.x*t.x+t.y*t.y),m=d-e,r=ja(m/this.a,l,c,u,h),a=V(this.long0+Math.atan2(t.x,-1*t.y)),t.x=a,t.y=r,t):Math.abs(this.sin_p12+1)<=O?(d=this.a*_t(l,c,u,h,R),e=Math.sqrt(t.x*t.x+t.y*t.y),m=e-d,r=ja(m/this.a,l,c,u,h),a=V(this.long0+Math.atan2(t.x,t.y)),t.x=a,t.y=r,t):(e=Math.sqrt(t.x*t.x+t.y*t.y),y=Math.atan2(t.x,t.y),f=zn(this.a,this.e,this.sin_p12),_=Math.cos(y),v=this.e*this.cos_p12*_,C=-v*v/(1-this.es),x=3*this.es*(1-C)*this.sin_p12*this.cos_p12*_/(1-this.es),F=e/f,L=F-C*(1+C)*Math.pow(F,3)/6-x*(1+3*C)*Math.pow(F,4)/24,$=1-C*L*L/2-F*L*L*L/6,p=Math.asin(this.sin_p12*Math.cos(L)+this.cos_p12*Math.sin(L)*_),a=V(this.long0+Math.asin(Math.sin(y)*Math.sin(L)/Math.cos(p))),H=Math.sin(p),r=Math.atan2((H-this.es*$*this.sin_p12)*Math.tan(p),H*(1-this.es)),t.x=a,t.y=r,t))}var $4=["Azimuthal_Equidistant","aeqd"];const j4={init:z4,forward:H4,inverse:Y4,names:$4};function J4(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0)}function Q4(t){var e,i,n,s,a,r,o,l,c=t.x,u=t.y;return n=V(c-this.long0),e=Math.sin(u),i=Math.cos(u),s=Math.cos(n),r=this.sin_p14*e+this.cos_p14*i*s,a=1,(r>0||Math.abs(r)<=O)&&(o=this.a*a*i*Math.sin(n),l=this.y0+this.a*a*(this.cos_p14*e-this.sin_p14*i*s)),t.x=o,t.y=l,t}function e8(t){var e,i,n,s,a,r,o;return t.x-=this.x0,t.y-=this.y0,e=Math.sqrt(t.x*t.x+t.y*t.y),i=Di(e/this.a),n=Math.sin(i),s=Math.cos(i),r=this.long0,Math.abs(e)<=O?(o=this.lat0,t.x=r,t.y=o,t):(o=Di(s*this.sin_p14+t.y*n*this.cos_p14/e),a=Math.abs(this.lat0)-R,Math.abs(a)<=O?(this.lat0>=0?r=V(this.long0+Math.atan2(t.x,-t.y)):r=V(this.long0-Math.atan2(-t.x,t.y)),t.x=r,t.y=o,t):(r=V(this.long0+Math.atan2(t.x*n,e*this.cos_p14*s-t.y*this.sin_p14*n)),t.x=r,t.y=o,t))}var t8=["ortho"];const i8={init:J4,forward:Q4,inverse:e8,names:t8};var Ae={FRONT:1,RIGHT:2,BACK:3,LEFT:4,TOP:5,BOTTOM:6},ye={AREA_0:1,AREA_1:2,AREA_2:3,AREA_3:4};function n8(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Quadrilateralized Spherical Cube",this.lat0>=R-ge/2?this.face=Ae.TOP:this.lat0<=-(R-ge/2)?this.face=Ae.BOTTOM:Math.abs(this.long0)<=ge?this.face=Ae.FRONT:Math.abs(this.long0)<=R+ge?this.face=this.long0>0?Ae.RIGHT:Ae.LEFT:this.face=Ae.BACK,this.es!==0&&(this.one_minus_f=1-(this.a-this.b)/this.a,this.one_minus_f_squared=this.one_minus_f*this.one_minus_f)}function s8(t){var e={x:0,y:0},i,n,s,a,r,o,l={value:0};if(t.x-=this.long0,this.es!==0?i=Math.atan(this.one_minus_f_squared*Math.tan(t.y)):i=t.y,n=t.x,this.face===Ae.TOP)a=R-i,n>=ge&&n<=R+ge?(l.value=ye.AREA_0,s=n-R):n>R+ge||n<=-(R+ge)?(l.value=ye.AREA_1,s=n>0?n-Ue:n+Ue):n>-(R+ge)&&n<=-ge?(l.value=ye.AREA_2,s=n+R):(l.value=ye.AREA_3,s=n);else if(this.face===Ae.BOTTOM)a=R+i,n>=ge&&n<=R+ge?(l.value=ye.AREA_0,s=-n+R):n=-ge?(l.value=ye.AREA_1,s=-n):n<-ge&&n>=-(R+ge)?(l.value=ye.AREA_2,s=-n-R):(l.value=ye.AREA_3,s=n>0?-n+Ue:-n-Ue);else{var c,u,h,d,m,f,p;this.face===Ae.RIGHT?n=Zn(n,+R):this.face===Ae.BACK?n=Zn(n,+Ue):this.face===Ae.LEFT&&(n=Zn(n,-R)),d=Math.sin(i),m=Math.cos(i),f=Math.sin(n),p=Math.cos(n),c=m*p,u=m*f,h=d,this.face===Ae.FRONT?(a=Math.acos(c),s=fa(a,h,u,l)):this.face===Ae.RIGHT?(a=Math.acos(u),s=fa(a,h,-c,l)):this.face===Ae.BACK?(a=Math.acos(-c),s=fa(a,h,-u,l)):this.face===Ae.LEFT?(a=Math.acos(-u),s=fa(a,h,c,l)):(a=s=0,l.value=ye.AREA_0)}return o=Math.atan(12/Ue*(s+Math.acos(Math.sin(s)*Math.cos(ge))-R)),r=Math.sqrt((1-Math.cos(a))/(Math.cos(o)*Math.cos(o))/(1-Math.cos(Math.atan(1/Math.cos(s))))),l.value===ye.AREA_1?o+=R:l.value===ye.AREA_2?o+=Ue:l.value===ye.AREA_3&&(o+=1.5*Ue),e.x=r*Math.cos(o),e.y=r*Math.sin(o),e.x=e.x*this.a+this.x0,e.y=e.y*this.a+this.y0,t.x=e.x,t.y=e.y,t}function a8(t){var e={lam:0,phi:0},i,n,s,a,r,o,l,c,u,h={value:0};if(t.x=(t.x-this.x0)/this.a,t.y=(t.y-this.y0)/this.a,n=Math.atan(Math.sqrt(t.x*t.x+t.y*t.y)),i=Math.atan2(t.y,t.x),t.x>=0&&t.x>=Math.abs(t.y)?h.value=ye.AREA_0:t.y>=0&&t.y>=Math.abs(t.x)?(h.value=ye.AREA_1,i-=R):t.x<0&&-t.x>=Math.abs(t.y)?(h.value=ye.AREA_2,i=i<0?i+Ue:i-Ue):(h.value=ye.AREA_3,i+=R),u=Ue/12*Math.tan(i),r=Math.sin(u)/(Math.cos(u)-1/Math.sqrt(2)),o=Math.atan(r),s=Math.cos(i),a=Math.tan(n),l=1-s*s*a*a*(1-Math.cos(Math.atan(1/Math.cos(o)))),l<-1?l=-1:l>1&&(l=1),this.face===Ae.TOP)c=Math.acos(l),e.phi=R-c,h.value===ye.AREA_0?e.lam=o+R:h.value===ye.AREA_1?e.lam=o<0?o+Ue:o-Ue:h.value===ye.AREA_2?e.lam=o-R:e.lam=o;else if(this.face===Ae.BOTTOM)c=Math.acos(l),e.phi=c-R,h.value===ye.AREA_0?e.lam=-o+R:h.value===ye.AREA_1?e.lam=-o:h.value===ye.AREA_2?e.lam=-o-R:e.lam=o<0?-o-Ue:-o+Ue;else{var d,m,f;d=l,u=d*d,u>=1?f=0:f=Math.sqrt(1-u)*Math.sin(o),u+=f*f,u>=1?m=0:m=Math.sqrt(1-u),h.value===ye.AREA_1?(u=m,m=-f,f=u):h.value===ye.AREA_2?(m=-m,f=-f):h.value===ye.AREA_3&&(u=m,m=f,f=-u),this.face===Ae.RIGHT?(u=d,d=-m,m=u):this.face===Ae.BACK?(d=-d,m=-m):this.face===Ae.LEFT&&(u=d,d=m,m=-u),e.phi=Math.acos(-f)-R,e.lam=Math.atan2(m,d),this.face===Ae.RIGHT?e.lam=Zn(e.lam,-R):this.face===Ae.BACK?e.lam=Zn(e.lam,-Ue):this.face===Ae.LEFT&&(e.lam=Zn(e.lam,+R))}if(this.es!==0){var p,y,_;p=e.phi<0?1:0,y=Math.tan(e.phi),_=this.b/Math.sqrt(y*y+this.one_minus_f_squared),e.phi=Math.atan(Math.sqrt(this.a*this.a-_*_)/(this.one_minus_f*_)),p&&(e.phi=-e.phi)}return e.lam+=this.long0,t.x=e.lam,t.y=e.phi,t}function fa(t,e,i,n){var s;return tge&&s<=R+ge?(n.value=ye.AREA_1,s-=R):s>R+ge||s<=-(R+ge)?(n.value=ye.AREA_2,s=s>=0?s-Ue:s+Ue):(n.value=ye.AREA_3,s+=R)),s}function Zn(t,e){var i=t+e;return i<-Ue?i+=Rs:i>+Ue&&(i-=Rs),i}var r8=["Quadrilateralized Spherical Cube","Quadrilateralized_Spherical_Cube","qsc"];const o8={init:n8,forward:s8,inverse:a8,names:r8};var So=[[1,22199e-21,-715515e-10,31103e-10],[.9986,-482243e-9,-24897e-9,-13309e-10],[.9954,-83103e-8,-448605e-10,-986701e-12],[.99,-.00135364,-59661e-9,36777e-10],[.9822,-.00167442,-449547e-11,-572411e-11],[.973,-.00214868,-903571e-10,18736e-12],[.96,-.00305085,-900761e-10,164917e-11],[.9427,-.00382792,-653386e-10,-26154e-10],[.9216,-.00467746,-10457e-8,481243e-11],[.8962,-.00536223,-323831e-10,-543432e-11],[.8679,-.00609363,-113898e-9,332484e-11],[.835,-.00698325,-640253e-10,934959e-12],[.7986,-.00755338,-500009e-10,935324e-12],[.7597,-.00798324,-35971e-9,-227626e-11],[.7186,-.00851367,-701149e-10,-86303e-10],[.6732,-.00986209,-199569e-9,191974e-10],[.6213,-.010418,883923e-10,624051e-11],[.5722,-.00906601,182e-6,624051e-11],[.5322,-.00677797,275608e-9,624051e-11]],hs=[[-520417e-23,.0124,121431e-23,-845284e-16],[.062,.0124,-126793e-14,422642e-15],[.124,.0124,507171e-14,-160604e-14],[.186,.0123999,-190189e-13,600152e-14],[.248,.0124002,710039e-13,-224e-10],[.31,.0123992,-264997e-12,835986e-13],[.372,.0124029,988983e-12,-311994e-12],[.434,.0123893,-369093e-11,-435621e-12],[.4958,.0123198,-102252e-10,-345523e-12],[.5571,.0121916,-154081e-10,-582288e-12],[.6176,.0119938,-241424e-10,-525327e-12],[.6769,.011713,-320223e-10,-516405e-12],[.7346,.0113541,-397684e-10,-609052e-12],[.7903,.0109107,-489042e-10,-104739e-11],[.8435,.0103431,-64615e-9,-140374e-14],[.8936,.00969686,-64636e-9,-8547e-9],[.9394,.00840947,-192841e-9,-42106e-10],[.9761,.00616527,-256e-6,-42106e-10],[1,.00328947,-319159e-9,-42106e-10]],Um=.8487,Bm=1.3523,qm=ei/5,l8=1/qm,kn=18,Ja=function(t,e){return t[0]+e*(t[1]+e*(t[2]+e*t[3]))},c8=function(t,e){return t[1]+e*(2*t[2]+e*3*t[3])};function u8(t,e,i,n){for(var s=e;n;--n){var a=t(s);if(s-=a,Math.abs(a)=kn&&(n=kn-1),i=ei*(i-l8*n);var s={x:Ja(So[n],i)*e,y:Ja(hs[n],i)};return t.y<0&&(s.y=-s.y),s.x=s.x*this.a*Um+this.x0,s.y=s.y*this.a*Bm+this.y0,s}function m8(t){var e={x:(t.x-this.x0)/(this.a*Um),y:Math.abs(t.y-this.y0)/(this.a*Bm)};if(e.y>=1)e.x/=So[kn][0],e.y=t.y<0?-R:R;else{var i=Math.floor(e.y*kn);for(i<0?i=0:i>=kn&&(i=kn-1);;)if(hs[i][0]>e.y)--i;else if(hs[i+1][0]<=e.y)++i;else break;var n=hs[i],s=5*(e.y-n[0])/(hs[i+1][0]-n[0]);s=u8(function(a){return(Ja(n,a)-e.y)/c8(n,a)},s,O,100),e.x/=Ja(So[i],s),e.y=(5*i+s)*it,t.y<0&&(e.y=-e.y)}return e.x=V(e.x+this.long0),e}var f8=["Robinson","robin"];const p8={init:h8,forward:d8,inverse:m8,names:f8};function g8(){this.name="geocent"}function y8(t){var e=Rm(t,this.es,this.a);return e}function b8(t){var e=Lm(t,this.es,this.a,this.b);return e}var _8=["Geocentric","geocentric","geocent","Geocent"];const v8={init:g8,forward:y8,inverse:b8,names:_8};var ut={N_POLE:0,S_POLE:1,EQUIT:2,OBLIQ:3},as={h:{def:1e5,num:!0},azi:{def:0,num:!0,degrees:!0},tilt:{def:0,num:!0,degrees:!0},long0:{def:0,num:!0},lat0:{def:0,num:!0}};function N8(){if(Object.keys(as).forEach((function(i){if(typeof this[i]>"u")this[i]=as[i].def;else{if(as[i].num&&isNaN(this[i]))throw new Error("Invalid parameter value, must be numeric "+i+" = "+this[i]);as[i].num&&(this[i]=parseFloat(this[i]))}as[i].degrees&&(this[i]=this[i]*it)}).bind(this)),Math.abs(Math.abs(this.lat0)-R)1e10)throw new Error("Invalid height");this.p=1+this.pn1,this.rp=1/this.p,this.h1=1/this.pn1,this.pfact=(this.p+1)*this.h1,this.es=0;var t=this.tilt,e=this.azi;this.cg=Math.cos(e),this.sg=Math.sin(e),this.cw=Math.cos(t),this.sw=Math.sin(t)}function x8(t){t.x-=this.long0;var e=Math.sin(t.y),i=Math.cos(t.y),n=Math.cos(t.x),s,a;switch(this.mode){case ut.OBLIQ:a=this.sinph0*e+this.cosph0*i*n;break;case ut.EQUIT:a=i*n;break;case ut.S_POLE:a=-e;break;case ut.N_POLE:a=e;break}switch(a=this.pn1/(this.p-a),s=a*i*Math.sin(t.x),this.mode){case ut.OBLIQ:a*=this.cosph0*e-this.sinph0*i*n;break;case ut.EQUIT:a*=e;break;case ut.N_POLE:a*=-(i*n);break;case ut.S_POLE:a*=i*n;break}var r,o;return r=a*this.cg+s*this.sg,o=1/(r*this.sw*this.h1+this.cw),s=(s*this.cg-a*this.sg)*this.cw*o,a=r*o,t.x=s*this.a,t.y=a*this.a,t}function w8(t){t.x/=this.a,t.y/=this.a;var e={x:t.x,y:t.y},i,n,s;s=1/(this.pn1-t.y*this.sw),i=this.pn1*t.x*s,n=this.pn1*t.y*this.cw*s,t.x=i*this.cg+n*this.sg,t.y=n*this.cg-i*this.sg;var a=At(t.x,t.y);if(Math.abs(a)1e10)throw new Error;if(this.radius_g=1+this.radius_g_1,this.C=this.radius_g*this.radius_g-1,this.es!==0){var t=1-this.es,e=1/t;this.radius_p=Math.sqrt(t),this.radius_p2=t,this.radius_p_inv2=e,this.shape="ellipse"}else this.radius_p=1,this.radius_p2=1,this.radius_p_inv2=1,this.shape="sphere";this.title||(this.title="Geostationary Satellite View")}function k8(t){var e=t.x,i=t.y,n,s,a,r;if(e=e-this.long0,this.shape==="ellipse"){i=Math.atan(this.radius_p2*Math.tan(i));var o=this.radius_p/At(this.radius_p*Math.cos(i),Math.sin(i));if(s=o*Math.cos(e)*Math.cos(i),a=o*Math.sin(e)*Math.cos(i),r=o*Math.sin(i),(this.radius_g-s)*s-a*a-r*r*this.radius_p_inv2<0)return t.x=Number.NaN,t.y=Number.NaN,t;n=this.radius_g-s,this.flip_axis?(t.x=this.radius_g_1*Math.atan(a/At(r,n)),t.y=this.radius_g_1*Math.atan(r/n)):(t.x=this.radius_g_1*Math.atan(a/n),t.y=this.radius_g_1*Math.atan(r/At(a,n)))}else this.shape==="sphere"&&(n=Math.cos(i),s=Math.cos(e)*n,a=Math.sin(e)*n,r=Math.sin(i),n=this.radius_g-s,this.flip_axis?(t.x=this.radius_g_1*Math.atan(a/At(r,n)),t.y=this.radius_g_1*Math.atan(r/n)):(t.x=this.radius_g_1*Math.atan(a/n),t.y=this.radius_g_1*Math.atan(r/At(a,n))));return t.x=t.x*this.a,t.y=t.y*this.a,t}function M8(t){var e=-1,i=0,n=0,s,a,r,o;if(t.x=t.x/this.a,t.y=t.y/this.a,this.shape==="ellipse"){this.flip_axis?(n=Math.tan(t.y/this.radius_g_1),i=Math.tan(t.x/this.radius_g_1)*At(1,n)):(i=Math.tan(t.x/this.radius_g_1),n=Math.tan(t.y/this.radius_g_1)*At(1,i));var l=n/this.radius_p;if(s=i*i+l*l+e*e,a=2*this.radius_g*e,r=a*a-4*s*this.C,r<0)return t.x=Number.NaN,t.y=Number.NaN,t;o=(-a-Math.sqrt(r))/(2*s),e=this.radius_g+o*e,i*=o,n*=o,t.x=Math.atan2(i,e),t.y=Math.atan(n*Math.cos(t.x)/e),t.y=Math.atan(this.radius_p_inv2*Math.tan(t.y))}else if(this.shape==="sphere"){if(this.flip_axis?(n=Math.tan(t.y/this.radius_g_1),i=Math.tan(t.x/this.radius_g_1)*Math.sqrt(1+n*n)):(i=Math.tan(t.x/this.radius_g_1),n=Math.tan(t.y/this.radius_g_1)*Math.sqrt(1+i*i)),s=i*i+n*n+e*e,a=2*this.radius_g*e,r=a*a-4*s*this.C,r<0)return t.x=Number.NaN,t.y=Number.NaN,t;o=(-a-Math.sqrt(r))/(2*s),e=this.radius_g+o*e,i*=o,n*=o,t.x=Math.atan2(i,e),t.y=Math.atan(n*Math.cos(t.x)/e)}return t.x=t.x+this.long0,t}var I8=["Geostationary Satellite View","Geostationary_Satellite","geos"];const T8={init:E8,forward:k8,inverse:M8,names:I8};function R8(t){t.Proj.projections.add(Fa),t.Proj.projections.add(Ea),t.Proj.projections.add(O7),t.Proj.projections.add(z7),t.Proj.projections.add(Q7),t.Proj.projections.add(s3),t.Proj.projections.add(u3),t.Proj.projections.add(p3),t.Proj.projections.add(v3),t.Proj.projections.add(F3),t.Proj.projections.add(K3),t.Proj.projections.add(H3),t.Proj.projections.add(Q3),t.Proj.projections.add(a4),t.Proj.projections.add(u4),t.Proj.projections.add(p4),t.Proj.projections.add(v4),t.Proj.projections.add(F4),t.Proj.projections.add(R4),t.Proj.projections.add(A4),t.Proj.projections.add(W4),t.Proj.projections.add(q4),t.Proj.projections.add(j4),t.Proj.projections.add(i8),t.Proj.projections.add(o8),t.Proj.projections.add(p8),t.Proj.projections.add(v8),t.Proj.projections.add(F8),t.Proj.projections.add(T8)}Rt.defaultDatum="WGS84";Rt.Proj=ti;Rt.WGS84=new Rt.Proj("WGS84");Rt.Point=qn;Rt.toPoint=Sm;Rt.defs=yt;Rt.nadgrid=Z9;Rt.transform=$a;Rt.mgrs=t7;Rt.version="__VERSION__";R8(Rt);let L8=null;function S8(t){L8=t;const e=Object.keys(t.defs),i=e.length;let n,s;for(n=0;n({selectedStyle:"",selectedMatrixSet:0,olMap:null}),watch:{layer:{immediate:!0,async handler(t){var r;this.selectedStyle=t.defaultStyle||((r=t.styles[0])==null?void 0:r.name),this.selectedMatrixSet=0;const e=t.matrixSets[this.selectedMatrixSet],i=await this.endpoint.getOpenLayersTileGrid(this.layer.name,e.identifier);this.olMap?this.olMap.getLayers().pop():this.olMap=new n_({target:this.$refs["map-root"],layers:[new Nu({source:new W_})],view:new Jt({zoom:2,center:[0,0]})});const n=this.layer.resourceLinks[0],s=this.endpoint.getDefaultDimensions(this.layer.name),a=new Nu({source:new Q_({layer:this.layer.name,style:this.selectedStyle,matrixSet:e.identifier,format:n.format,url:n.url,requestEncoding:n.encoding,tileGrid:i,projection:e.crs,dimensions:s})});this.olMap.addLayer(a)}}}},P8={class:"d-flex flex-row justify-content-between"},A8=["value"],O8=["value"],G8={ref:"map-root",style:{width:"100%",height:"300px","margin-top":"10px"}};function Z8(t,e,i,n,s,a){const r=ke("InfoList");return D(),K("div",null,[w("p",null,Ge(i.layer.title),1),B(r,{info:i.layer},null,8,["info"]),w("div",P8,[w("label",null,[Ee(" Selected style:  "),Ti(w("select",{"onUpdate:modelValue":e[0]||(e[0]=o=>t.selectedStyle=o),class:"form-select d-inline-block w-auto"},[(D(!0),K(Re,null,Tt(i.layer.styles,o=>(D(),K("option",{value:o.name},Ge(o.title||o.name),9,A8))),256))],512),[[Oa,t.selectedStyle]])]),w("label",null,[Ee(" Selected matrix set:  "),Ti(w("select",{"onUpdate:modelValue":e[1]||(e[1]=o=>t.selectedMatrixSet=o),class:"form-select d-inline-block w-auto"},[(D(!0),K(Re,null,Tt(i.layer.matrixSets,(o,l)=>(D(),K("option",{value:l},Ge(o.identifier),9,O8))),256))],512),[[Oa,t.selectedMatrixSet]])])]),w("div",G8,null,512)])}const X8=We(D8,[["render",Z8]]),W8={name:"WmtsEndpoint",components:{WmtsLayerInfo:X8,ItemsTree:fr,InfoList:ln},data:()=>({loading:!1,error:null,endpoint:null,url:"https://basemap.at/wmts/1.0.0/WMTSCapabilities.xml",selectedLayer:null}),computed:{loaded(){return this.endpoint&&this.loading===!1&&this.error===null}},methods:{async createEndpoint(){this.error=null,this.loading=!0,this.endpoint=new i2(this.url);try{await this.endpoint.isReady()}catch(t){this.error=t.message}this.loading=!1},handleLayerClick(t,e){this.selectedLayer=this.endpoint.getLayerByName(t.name),e.preventDefault()}}},K8={class:"d-flex flex-row my-4"},V8={key:0},U8={key:1},B8=["title"],q8=["onClick"],z8={key:1},H8={key:2};function Y8(t,e,i,n,s,a){const r=ke("InfoList"),o=ke("ItemsTree"),l=ke("WmtsLayerInfo");return D(),K("div",null,[w("div",K8,[Ti(w("input",{class:"form-control me-3",placeholder:"Enter a WMS service URL here","onUpdate:modelValue":e[0]||(e[0]=c=>t.url=c)},null,512),[[mr,t.url]]),w("button",{type:"button",class:"btn btn-primary",onClick:e[1]||(e[1]=c=>a.createEndpoint())}," Analyze ")]),t.loading?(D(),K("div",V8,"Loading...")):De("",!0),a.loaded?(D(),K("div",U8,[B(r,{info:t.endpoint.getServiceInfo()},null,8,["info"]),B(o,{items:t.endpoint.getLayers(),style:{"min-height":"200px"}},{default:Je(({item:c})=>[w("div",{title:c.abstract},[c.name?(D(),K("a",{key:0,href:"",onClick:u=>a.handleLayerClick(c,u),class:"link-light"},Ge(c.title),9,q8)):(D(),K("span",z8,Ge(c.title),1))],8,B8)]),_:1},8,["items"]),t.selectedLayer?(D(),wt(l,{key:0,layer:t.selectedLayer,endpoint:t.endpoint},null,8,["layer","endpoint"])):De("",!0)])):De("",!0),t.error?(D(),K("div",H8,"Error: "+Ge(t.error),1)):De("",!0)])}const $8=We(W8,[["render",Y8]]),j8={name:"App",components:{WmtsEndpoint:$8,OgcApiEndpoint:jy,WfsEndpoint:Ey,WmsEndpoint:iy}},J8={class:"pb-5"},Q8=w("h2",{class:"my-4"},"WMS",-1),ev=w("p",null," Enter a WMS service URL below to get some information and a list of layers from it. ",-1),tv=w("h2",{class:"my-4"},"WFS",-1),iv=w("p",null," Enter a WFS service URL below to get some information and a list of feature types from it. ",-1),nv=w("h2",{class:"my-4"},"OGC API",-1),sv=w("p",null," Enter an OGC API endpoint URL below to get some information and a list of collections from it. ",-1),av=w("h2",{class:"my-4"},"WMTS",-1),rv=w("p",null," Enter a WMTS endpoint URL below to get some information and a list of layers from it. ",-1);function ov(t,e,i,n,s,a){const r=ke("WmsEndpoint"),o=ke("WfsEndpoint"),l=ke("OgcApiEndpoint"),c=ke("WmtsEndpoint");return D(),K("div",J8,[Q8,ev,B(r),tv,iv,B(o),nv,sv,B(l),av,rv,B(c)])}const zm=We(j8,[["render",ov]]),lv={name:"MarkdownBlock",props:{text:String},computed:{parsed(){return this.text?If(this.text):""}}},cv=["innerHTML"];function uv(t,e,i,n,s,a){return D(),K("div",{innerHTML:a.parsed},null,8,cv)}const Yi=We(lv,[["render",uv]]),hv=0,dv="@camptocamp/ogc-client",mv="project",fv=1,pv={},gv=[{id:253,name:"OgcApiEndpoint",variant:"declaration",kind:128,flags:{},comment:{summary:[{kind:"text",text:"Represents an OGC API endpoint advertising various collections and services."}]},children:[{id:254,name:"constructor",variant:"declaration",kind:512,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:136,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L136"}],signatures:[{id:255,name:"new OgcApiEndpoint",variant:"signature",kind:16384,flags:{},comment:{summary:[{kind:"text",text:"Creates a new OGC API endpoint."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:136,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L136"}],parameters:[{id:256,name:"baseUrl",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:`Base URL used to query the endpoint. Note that this can point to nested +documents inside the endpoint, such as `},{kind:"code",text:"`/collections`"},{kind:"text",text:", "},{kind:"code",text:"`/collections/items`"},{kind:"text",text:" etc."}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:253,name:"default",package:"@camptocamp/ogc-client"}}]},{id:279,name:"allCollections",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:155,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L155"}],getSignature:{id:280,name:"allCollections",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to an array of all collection identifiers as strings."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:155,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L155"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"array",elementType:{type:"reflection",declaration:{id:281,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:284,name:"hasFeatures",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:159,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L159"}],type:{type:"intrinsic",name:"boolean"}},{id:286,name:"hasMapTiles",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:161,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L161"}],type:{type:"intrinsic",name:"boolean"}},{id:283,name:"hasRecords",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:158,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L158"}],type:{type:"intrinsic",name:"boolean"}},{id:285,name:"hasVectorTiles",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:160,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L160"}],type:{type:"intrinsic",name:"boolean"}},{id:282,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:157,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L157"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[284,286,283,285,282]}],sources:[{fileName:"ogc-api/endpoint.ts",line:156,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L156"}]}}}],name:"Promise",package:"typescript"}}},{id:277,name:"conformanceClasses",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:148,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L148"}],getSignature:{id:278,name:"conformanceClasses",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to an array of conformance classes."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:148,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L148"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"array",elementType:{type:"intrinsic",name:"string"}}],name:"Promise",package:"typescript"}}},{id:289,name:"featureCollections",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:180,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L180"}],getSignature:{id:290,name:"featureCollections",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to an array of feature collection identifiers as strings."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:180,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L180"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"array",elementType:{type:"intrinsic",name:"string"}}],name:"Promise",package:"typescript"}}},{id:299,name:"hasFeatures",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:230,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L230"}],getSignature:{id:300,name:"hasFeatures",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to a boolean indicating whether the endpoint offer feature collections."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:230,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L230"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"intrinsic",name:"boolean"}],name:"Promise",package:"typescript"}}},{id:301,name:"hasRecords",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:240,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L240"}],getSignature:{id:302,name:"hasRecords",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to a boolean indicating whether the endpoint offer record collections."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:240,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L240"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"intrinsic",name:"boolean"}],name:"Promise",package:"typescript"}}},{id:297,name:"hasStyles",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:223,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L223"}],getSignature:{id:298,name:"hasStyles",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to a boolean indicating whether the endpoint offer styles."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:223,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L223"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"intrinsic",name:"boolean"}],name:"Promise",package:"typescript"}}},{id:295,name:"hasTiles",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:216,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L216"}],getSignature:{id:296,name:"hasTiles",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to a boolean indicating whether the endpoint offer tiles."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:216,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L216"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"intrinsic",name:"boolean"}],name:"Promise",package:"typescript"}}},{id:275,name:"info",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:141,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L141"}],getSignature:{id:276,name:"info",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to the endpoint information."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:141,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L141"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:381,name:"OgcApiEndpointInfo",package:"@camptocamp/ogc-client"}],name:"Promise",package:"typescript"}}},{id:293,name:"mapTileCollections",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:203,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L203"}],getSignature:{id:294,name:"mapTileCollections",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to an array of map tile collection identifiers as strings."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:203,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L203"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"array",elementType:{type:"intrinsic",name:"string"}}],name:"Promise",package:"typescript"}}},{id:287,name:"recordCollections",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:170,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L170"}],getSignature:{id:288,name:"recordCollections",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to an array of records collection identifiers as strings."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:170,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L170"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"array",elementType:{type:"intrinsic",name:"string"}}],name:"Promise",package:"typescript"}}},{id:303,name:"tileMatrixSets",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:250,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L250"}],getSignature:{id:304,name:"tileMatrixSets",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"Retrieve the tile matrix sets identifiers advertised by the endpoint. Empty if tiles are not supported"}]},sources:[{fileName:"ogc-api/endpoint.ts",line:250,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L250"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"array",elementType:{type:"intrinsic",name:"string"}}],name:"Promise",package:"typescript"}}},{id:291,name:"vectorTileCollections",variant:"declaration",kind:262144,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:190,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L190"}],getSignature:{id:292,name:"vectorTileCollections",variant:"signature",kind:524288,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to an array of vector tile collection identifiers as strings."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:190,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L190"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"array",elementType:{type:"intrinsic",name:"string"}}],name:"Promise",package:"typescript"}}},{id:349,name:"allStyles",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:623,character:8,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L623"}],signatures:[{id:350,name:"allStyles",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to an array of all style items. This includes the supported style formats."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:623,character:8,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L623"}],parameters:[{id:351,name:"collectionId",variant:"param",kind:32768,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Optional unique identifier for the collection."}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"array",elementType:{type:"reference",target:493,name:"OgcStyleBrief",package:"@camptocamp/ogc-client"}}],name:"Promise",package:"typescript"}}]},{id:312,name:"getCollectionInfo",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:311,character:8,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L311"}],signatures:[{id:313,name:"getCollectionInfo",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns a promise resolving to a document describing the specified collection."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:311,character:8,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L311"}],parameters:[{id:314,name:"collectionId",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:391,name:"OgcApiCollectionInfo",package:"@camptocamp/ogc-client"}],name:"Promise",package:"typescript"}}]},{id:324,name:"getCollectionItem",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:437,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L437"}],signatures:[{id:325,name:"getCollectionItem",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns a promise resolving to a specific item from a collection."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:437,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L437"}],parameters:[{id:326,name:"collectionId",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:327,name:"itemId",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:471,name:"OgcApiRecord",package:"@camptocamp/ogc-client"}],name:"Promise",package:"typescript"}}]},{id:315,name:"getCollectionItems",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:401,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L401"}],signatures:[{id:316,name:"getCollectionItems",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns a promise resolving to an array of items from a collection with the given query parameters."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:401,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L401"}],parameters:[{id:317,name:"collectionId",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:318,name:"limit",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"number"},defaultValue:"10"},{id:319,name:"offset",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"number"},defaultValue:"0"},{id:320,name:"skipGeometry",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"boolean"},defaultValue:"null"},{id:321,name:"sortby",variant:"param",kind:32768,flags:{},type:{type:"array",elementType:{type:"intrinsic",name:"string"}},defaultValue:"null"},{id:322,name:"bbox",variant:"param",kind:32768,flags:{},type:{type:"tuple",elements:[{type:"intrinsic",name:"number"},{type:"intrinsic",name:"number"},{type:"intrinsic",name:"number"},{type:"intrinsic",name:"number"}]},defaultValue:"null"},{id:323,name:"properties",variant:"param",kind:32768,flags:{},type:{type:"array",elementType:{type:"intrinsic",name:"string"}},defaultValue:"null"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"array",elementType:{type:"reference",target:471,name:"OgcApiRecord",package:"@camptocamp/ogc-client"}}],name:"Promise",package:"typescript"}}]},{id:328,name:"getCollectionItemsUrl",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:467,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L467"}],signatures:[{id:329,name:"getCollectionItemsUrl",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Asynchronously retrieves a URL for the items of a specified collection, with optional query parameters."}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"A promise that resolves to the URL as a string or rejects if an error occurs."}]}]},sources:[{fileName:"ogc-api/endpoint.ts",line:467,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L467"}],parameters:[{id:330,name:"collectionId",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"The unique identifier for the collection."}]},type:{type:"intrinsic",name:"string"}},{id:331,name:"options",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:`An object containing optional parameters: - query: Additional query parameters to be included in the URL. - asJson: Will query items as GeoJson or JSON-FG if available; takes precedence on `},{kind:"code",text:"`outputFormat`"},{kind:"text",text:`. - outputFormat: The MIME type for the output format. @@ -125,32 +125,32 @@ documents inside the endpoint, such as `},{kind:"code",text:"`/collections`"},{k - extent: Bounding box to limit the features. - offset: Pagination offset for the returned results. - outputCrs: Coordinate Reference System code for the output. - - extentCrs: Coordinate Reference System code for the bounding box.`}]},type:{type:"reflection",declaration:{id:330,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:332,name:"asJson",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:471,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L471"}],type:{type:"intrinsic",name:"boolean"}},{id:337,name:"extent",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:476,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L476"}],type:{type:"reference",target:234,name:"BoundingBox",package:"@camptocamp/ogc-client"}},{id:338,name:"extentCrs",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:477,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L477"}],type:{type:"intrinsic",name:"string"}},{id:334,name:"limit",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:473,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L473"}],type:{type:"intrinsic",name:"number"}},{id:335,name:"offset",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:474,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L474"}],type:{type:"intrinsic",name:"number"}},{id:336,name:"outputCrs",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:475,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L475"}],type:{type:"intrinsic",name:"string"}},{id:333,name:"outputFormat",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:472,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L472"}],type:{type:"intrinsic",name:"string"}},{id:331,name:"query",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:470,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L470"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[332,337,338,334,335,336,333,331]}],sources:[{fileName:"ogc-api/endpoint.ts",line:469,character:13,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L469"}]}},defaultValue:"{}"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"intrinsic",name:"string"}],name:"Promise",package:"typescript"}}]},{id:343,name:"getMapTilesetUrl",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:579,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L579"}],signatures:[{id:344,name:"getMapTilesetUrl",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Asynchronously retrieves a URL to render a specified collection as map tiles, with a given tile matrix set."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:579,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L579"}],parameters:[{id:345,name:"collectionId",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"The unique identifier for the collection."}]},type:{type:"intrinsic",name:"string"}},{id:346,name:"tileMatrixSet",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"The identifier of the tile matrix set to use. Default is 'WebMercatorQuad'."}]},type:{type:"intrinsic",name:"string"},defaultValue:"'WebMercatorQuad'"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"intrinsic",name:"string"}],name:"Promise",package:"typescript"}}]},{id:350,name:"getStyle",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:647,character:8,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L647"}],signatures:[{id:351,name:"getStyle",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns a promise resolving to a document describing the style. Looks for a relation of type -"describedby" to fetch metadata. If no relation is found, only basic info will be returned.`}]},sources:[{fileName:"ogc-api/endpoint.ts",line:647,character:8,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L647"}],parameters:[{id:352,name:"styleId",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"The style identifier"}]},type:{type:"intrinsic",name:"string"}},{id:353,name:"collectionId",variant:"param",kind:32768,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Optional unique identifier for the collection."}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"union",types:[{type:"reference",target:488,name:"OgcStyleFull",package:"@camptocamp/ogc-client"},{type:"reference",target:491,name:"OgcStyleBrief",package:"@camptocamp/ogc-client"}]}],name:"Promise",package:"typescript"}}]},{id:354,name:"getStylesheetUrl",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:667,character:8,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L667"}],signatures:[{id:355,name:"getStylesheetUrl",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns a promise resolving to a stylesheet URL for a given style and type."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:667,character:8,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L667"}],parameters:[{id:356,name:"styleId",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"The style identifier"}]},type:{type:"intrinsic",name:"string"}},{id:357,name:"mimeType",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"Stylesheet MIME type"}]},type:{type:"intrinsic",name:"string"}},{id:358,name:"collectionId",variant:"param",kind:32768,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Optional unique identifier for the collection."}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"intrinsic",name:"string"}],name:"Promise",package:"typescript"}}]},{id:339,name:"getVectorTilesetUrl",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:534,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L534"}],signatures:[{id:340,name:"getVectorTilesetUrl",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Asynchronously retrieves a URL to render a specified collection as vector tiles, with a given tile matrix set."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:534,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L534"}],parameters:[{id:341,name:"collectionId",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"The unique identifier for the collection."}]},type:{type:"intrinsic",name:"string"}},{id:342,name:"tileMatrixSet",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"The identifier of the tile matrix set to use. Default is 'WebMercatorQuad'."}]},type:{type:"intrinsic",name:"string"},defaultValue:"'WebMercatorQuad'"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"intrinsic",name:"string"}],name:"Promise",package:"typescript"}}]}],groups:[{title:"Constructors",children:[252]},{title:"Accessors",children:[277,275,287,297,299,295,293,273,291,285,301,289]},{title:"Methods",children:[347,310,322,313,326,343,350,354,339]}],sources:[{fileName:"ogc-api/endpoint.ts",line:47,character:21,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/endpoint.ts#L47"}]},{id:1,name:"WfsEndpoint",variant:"declaration",kind:128,flags:{},comment:{summary:[{kind:"text",text:"Represents a WFS endpoint advertising several feature types"}]},children:[{id:2,name:"constructor",variant:"declaration",kind:512,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:42,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L42"}],signatures:[{id:3,name:"new WfsEndpoint",variant:"signature",kind:16384,flags:{},comment:{summary:[{kind:"text",text:"Creates a new WFS endpoint; wait for the "},{kind:"code",text:"`isReady()`"},{kind:"text",text:" promise before using the endpoint methods."}]},sources:[{fileName:"wfs/endpoint.ts",line:42,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L42"}],parameters:[{id:4,name:"url",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:`WFS endpoint url; can contain any query parameters, these will be used to - initialize the endpoint`}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:1,name:"default",package:"@camptocamp/ogc-client"}}]},{id:22,name:"getFeatureTypeFull",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:137,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L137"}],signatures:[{id:23,name:"getFeatureTypeFull",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns the complete feature type. If a namespace is specified in the name, -this will be used for matching; otherwise, matching will be done without taking namespaces into account.`}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"return null if layer was not found or endpoint is not ready"}]}]},sources:[{fileName:"wfs/endpoint.ts",line:137,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L137"}],parameters:[{id:24,name:"name",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"Feature type name property (unique in the WFS service)"}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:75,name:"WfsFeatureTypeFull",package:"@camptocamp/ogc-client"}],name:"Promise",package:"typescript"}}]},{id:27,name:"getFeatureTypePropDetails",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:192,character:8,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L192"}],signatures:[{id:28,name:"getFeatureTypePropDetails",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns a promise that will resolve with details on each of the feature type properties; -for now, this consists of a list of unique values in the whole dataset.`}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"return null if layer was not found or endpoint is not ready"}]}]},sources:[{fileName:"wfs/endpoint.ts",line:192,character:8,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L192"}],parameters:[{id:29,name:"name",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"Feature type name property (unique in the WFS service)"}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:92,name:"WfsFeatureTypePropsDetails",package:"@camptocamp/ogc-client"}],name:"Promise",package:"typescript"}}]},{id:19,name:"getFeatureTypeSummary",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:113,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L113"}],signatures:[{id:20,name:"getFeatureTypeSummary",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns the feature type in summary format. If a namespace is specified in the name, -this will be used for matching; otherwise, matching will be done without taking namespaces into account.`}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"return null if layer was not found or endpoint is not ready"}]}]},sources:[{fileName:"wfs/endpoint.ts",line:113,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L113"}],parameters:[{id:21,name:"name",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"Feature type name property (unique in the WFS service)"}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:57,name:"WfsFeatureTypeSummary",package:"@camptocamp/ogc-client"}}]},{id:14,name:"getFeatureTypes",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:81,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L81"}],signatures:[{id:15,name:"getFeatureTypes",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns an array of feature types"}]},sources:[{fileName:"wfs/endpoint.ts",line:81,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L81"}],type:{type:"array",elementType:{type:"reference",target:67,name:"WfsFeatureTypeBrief",package:"@camptocamp/ogc-client"}}}]},{id:40,name:"getFeatureUrl",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:260,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L260"}],signatures:[{id:41,name:"getFeatureUrl",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns a URL that can be used to query features from this feature type."}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"Returns null if endpoint is not ready"}]}]},sources:[{fileName:"wfs/endpoint.ts",line:260,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L260"}],parameters:[{id:42,name:"featureType",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:43,name:"options",variant:"param",kind:32768,flags:{isOptional:!0},type:{type:"reflection",declaration:{id:44,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:46,name:"asJson",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/endpoint.ts",line:264,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L264"}],type:{type:"intrinsic",name:"boolean"}},{id:49,name:"extent",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/endpoint.ts",line:267,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L267"}],type:{type:"reference",target:234,name:"BoundingBox",package:"@camptocamp/ogc-client"}},{id:50,name:"extentCrs",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/endpoint.ts",line:268,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L268"}],type:{type:"intrinsic",name:"string"}},{id:45,name:"maxFeatures",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/endpoint.ts",line:263,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L263"}],type:{type:"intrinsic",name:"number"}},{id:48,name:"outputCrs",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/endpoint.ts",line:266,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L266"}],type:{type:"intrinsic",name:"string"}},{id:47,name:"outputFormat",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/endpoint.ts",line:265,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L265"}],type:{type:"intrinsic",name:"string"}},{id:51,name:"startIndex",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/endpoint.ts",line:269,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L269"}],type:{type:"intrinsic",name:"number"}}],groups:[{title:"Properties",children:[46,49,50,45,48,47,51]}],sources:[{fileName:"wfs/endpoint.ts",line:262,character:13,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L262"}]}}}],type:{type:"intrinsic",name:"string"}}]},{id:12,name:"getServiceInfo",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:74,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L74"}],signatures:[{id:13,name:"getServiceInfo",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to the endpoint information."}]},sources:[{fileName:"wfs/endpoint.ts",line:74,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L74"}],type:{type:"reference",target:242,name:"GenericEndpointInfo",package:"@camptocamp/ogc-client"}}]},{id:25,name:"getSingleFeatureTypeName",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:180,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L180"}],signatures:[{id:26,name:"getSingleFeatureTypeName",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"If only one single feature type is available, return its name; otherwise, returns null;"}]},sources:[{fileName:"wfs/endpoint.ts",line:180,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L180"}],type:{type:"intrinsic",name:"string"}}]},{id:30,name:"getVersion",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:215,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L215"}],signatures:[{id:31,name:"getVersion",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns the highest protocol version that this WFS endpoint supports. + - extentCrs: Coordinate Reference System code for the bounding box.`}]},type:{type:"reflection",declaration:{id:332,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:334,name:"asJson",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:471,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L471"}],type:{type:"intrinsic",name:"boolean"}},{id:339,name:"extent",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:476,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L476"}],type:{type:"reference",target:236,name:"BoundingBox",package:"@camptocamp/ogc-client"}},{id:340,name:"extentCrs",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:477,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L477"}],type:{type:"intrinsic",name:"string"}},{id:336,name:"limit",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:473,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L473"}],type:{type:"intrinsic",name:"number"}},{id:337,name:"offset",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:474,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L474"}],type:{type:"intrinsic",name:"number"}},{id:338,name:"outputCrs",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:475,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L475"}],type:{type:"intrinsic",name:"string"}},{id:335,name:"outputFormat",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:472,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L472"}],type:{type:"intrinsic",name:"string"}},{id:333,name:"query",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/endpoint.ts",line:470,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L470"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[334,339,340,336,337,338,335,333]}],sources:[{fileName:"ogc-api/endpoint.ts",line:469,character:13,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L469"}]}},defaultValue:"{}"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"intrinsic",name:"string"}],name:"Promise",package:"typescript"}}]},{id:345,name:"getMapTilesetUrl",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:579,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L579"}],signatures:[{id:346,name:"getMapTilesetUrl",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Asynchronously retrieves a URL to render a specified collection as map tiles, with a given tile matrix set."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:579,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L579"}],parameters:[{id:347,name:"collectionId",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"The unique identifier for the collection."}]},type:{type:"intrinsic",name:"string"}},{id:348,name:"tileMatrixSet",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"The identifier of the tile matrix set to use. Default is 'WebMercatorQuad'."}]},type:{type:"intrinsic",name:"string"},defaultValue:"'WebMercatorQuad'"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"intrinsic",name:"string"}],name:"Promise",package:"typescript"}}]},{id:352,name:"getStyle",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:647,character:8,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L647"}],signatures:[{id:353,name:"getStyle",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns a promise resolving to a document describing the style. Looks for a relation of type +"describedby" to fetch metadata. If no relation is found, only basic info will be returned.`}]},sources:[{fileName:"ogc-api/endpoint.ts",line:647,character:8,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L647"}],parameters:[{id:354,name:"styleId",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"The style identifier"}]},type:{type:"intrinsic",name:"string"}},{id:355,name:"collectionId",variant:"param",kind:32768,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Optional unique identifier for the collection."}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"union",types:[{type:"reference",target:490,name:"OgcStyleFull",package:"@camptocamp/ogc-client"},{type:"reference",target:493,name:"OgcStyleBrief",package:"@camptocamp/ogc-client"}]}],name:"Promise",package:"typescript"}}]},{id:356,name:"getStylesheetUrl",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:667,character:8,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L667"}],signatures:[{id:357,name:"getStylesheetUrl",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns a promise resolving to a stylesheet URL for a given style and type."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:667,character:8,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L667"}],parameters:[{id:358,name:"styleId",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"The style identifier"}]},type:{type:"intrinsic",name:"string"}},{id:359,name:"mimeType",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"Stylesheet MIME type"}]},type:{type:"intrinsic",name:"string"}},{id:360,name:"collectionId",variant:"param",kind:32768,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Optional unique identifier for the collection."}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"intrinsic",name:"string"}],name:"Promise",package:"typescript"}}]},{id:341,name:"getVectorTilesetUrl",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"ogc-api/endpoint.ts",line:534,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L534"}],signatures:[{id:342,name:"getVectorTilesetUrl",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Asynchronously retrieves a URL to render a specified collection as vector tiles, with a given tile matrix set."}]},sources:[{fileName:"ogc-api/endpoint.ts",line:534,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L534"}],parameters:[{id:343,name:"collectionId",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"The unique identifier for the collection."}]},type:{type:"intrinsic",name:"string"}},{id:344,name:"tileMatrixSet",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"The identifier of the tile matrix set to use. Default is 'WebMercatorQuad'."}]},type:{type:"intrinsic",name:"string"},defaultValue:"'WebMercatorQuad'"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"intrinsic",name:"string"}],name:"Promise",package:"typescript"}}]}],groups:[{title:"Constructors",children:[254]},{title:"Accessors",children:[279,277,289,299,301,297,295,275,293,287,303,291]},{title:"Methods",children:[349,312,324,315,328,345,352,356,341]}],sources:[{fileName:"ogc-api/endpoint.ts",line:47,character:21,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/endpoint.ts#L47"}]},{id:1,name:"WfsEndpoint",variant:"declaration",kind:128,flags:{},comment:{summary:[{kind:"text",text:"Represents a WFS endpoint advertising several feature types"}]},children:[{id:2,name:"constructor",variant:"declaration",kind:512,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:42,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L42"}],signatures:[{id:3,name:"new WfsEndpoint",variant:"signature",kind:16384,flags:{},comment:{summary:[{kind:"text",text:"Creates a new WFS endpoint; wait for the "},{kind:"code",text:"`isReady()`"},{kind:"text",text:" promise before using the endpoint methods."}]},sources:[{fileName:"wfs/endpoint.ts",line:42,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L42"}],parameters:[{id:4,name:"url",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:`WFS endpoint url; can contain any query parameters, these will be used to + initialize the endpoint`}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:1,name:"default",package:"@camptocamp/ogc-client"}}]},{id:22,name:"getFeatureTypeFull",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:137,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L137"}],signatures:[{id:23,name:"getFeatureTypeFull",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns the complete feature type. If a namespace is specified in the name, +this will be used for matching; otherwise, matching will be done without taking namespaces into account.`}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"return null if layer was not found or endpoint is not ready"}]}]},sources:[{fileName:"wfs/endpoint.ts",line:137,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L137"}],parameters:[{id:24,name:"name",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"Feature type name property (unique in the WFS service)"}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:75,name:"WfsFeatureTypeFull",package:"@camptocamp/ogc-client"}],name:"Promise",package:"typescript"}}]},{id:27,name:"getFeatureTypePropDetails",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:192,character:8,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L192"}],signatures:[{id:28,name:"getFeatureTypePropDetails",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns a promise that will resolve with details on each of the feature type properties; +for now, this consists of a list of unique values in the whole dataset.`}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"return null if layer was not found or endpoint is not ready"}]}]},sources:[{fileName:"wfs/endpoint.ts",line:192,character:8,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L192"}],parameters:[{id:29,name:"name",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"Feature type name property (unique in the WFS service)"}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:92,name:"WfsFeatureTypePropsDetails",package:"@camptocamp/ogc-client"}],name:"Promise",package:"typescript"}}]},{id:19,name:"getFeatureTypeSummary",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:113,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L113"}],signatures:[{id:20,name:"getFeatureTypeSummary",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns the feature type in summary format. If a namespace is specified in the name, +this will be used for matching; otherwise, matching will be done without taking namespaces into account.`}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"return null if layer was not found or endpoint is not ready"}]}]},sources:[{fileName:"wfs/endpoint.ts",line:113,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L113"}],parameters:[{id:21,name:"name",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"Feature type name property (unique in the WFS service)"}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:57,name:"WfsFeatureTypeSummary",package:"@camptocamp/ogc-client"}}]},{id:14,name:"getFeatureTypes",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:81,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L81"}],signatures:[{id:15,name:"getFeatureTypes",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns an array of feature types"}]},sources:[{fileName:"wfs/endpoint.ts",line:81,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L81"}],type:{type:"array",elementType:{type:"reference",target:67,name:"WfsFeatureTypeBrief",package:"@camptocamp/ogc-client"}}}]},{id:40,name:"getFeatureUrl",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:260,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L260"}],signatures:[{id:41,name:"getFeatureUrl",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns a URL that can be used to query features from this feature type."}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"Returns null if endpoint is not ready"}]}]},sources:[{fileName:"wfs/endpoint.ts",line:260,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L260"}],parameters:[{id:42,name:"featureType",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:43,name:"options",variant:"param",kind:32768,flags:{isOptional:!0},type:{type:"reflection",declaration:{id:44,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:46,name:"asJson",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/endpoint.ts",line:264,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L264"}],type:{type:"intrinsic",name:"boolean"}},{id:49,name:"extent",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/endpoint.ts",line:267,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L267"}],type:{type:"reference",target:236,name:"BoundingBox",package:"@camptocamp/ogc-client"}},{id:50,name:"extentCrs",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/endpoint.ts",line:268,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L268"}],type:{type:"intrinsic",name:"string"}},{id:45,name:"maxFeatures",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/endpoint.ts",line:263,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L263"}],type:{type:"intrinsic",name:"number"}},{id:48,name:"outputCrs",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/endpoint.ts",line:266,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L266"}],type:{type:"intrinsic",name:"string"}},{id:47,name:"outputFormat",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/endpoint.ts",line:265,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L265"}],type:{type:"intrinsic",name:"string"}},{id:51,name:"startIndex",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/endpoint.ts",line:269,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L269"}],type:{type:"intrinsic",name:"number"}}],groups:[{title:"Properties",children:[46,49,50,45,48,47,51]}],sources:[{fileName:"wfs/endpoint.ts",line:262,character:13,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L262"}]}}}],type:{type:"intrinsic",name:"string"}}]},{id:12,name:"getServiceInfo",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:74,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L74"}],signatures:[{id:13,name:"getServiceInfo",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to the endpoint information."}]},sources:[{fileName:"wfs/endpoint.ts",line:74,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L74"}],type:{type:"reference",target:244,name:"GenericEndpointInfo",package:"@camptocamp/ogc-client"}}]},{id:25,name:"getSingleFeatureTypeName",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:180,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L180"}],signatures:[{id:26,name:"getSingleFeatureTypeName",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"If only one single feature type is available, return its name; otherwise, returns null;"}]},sources:[{fileName:"wfs/endpoint.ts",line:180,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L180"}],type:{type:"intrinsic",name:"string"}}]},{id:30,name:"getVersion",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:215,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L215"}],signatures:[{id:31,name:"getVersion",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns the highest protocol version that this WFS endpoint supports. Note that if the url used for initialization does specify a version (e.g. 1.0.0), -this version will most likely be used instead of the highest supported one.`}]},sources:[{fileName:"wfs/endpoint.ts",line:215,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L215"}],type:{type:"reference",target:52,name:"WfsVersion",package:"@camptocamp/ogc-client"}}]},{id:10,name:"isReady",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:67,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L67"}],signatures:[{id:11,name:"isReady",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Resolves when the endpoint is ready to use. Returns the same endpoint object for convenience."}],blockTags:[{tag:"@throws",content:[]}]},sources:[{fileName:"wfs/endpoint.ts",line:67,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L67"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:1,name:"default",package:"@camptocamp/ogc-client"}],name:"Promise",package:"typescript"}}]},{id:35,name:"supportsJson",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:234,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L234"}],signatures:[{id:36,name:"supportsJson",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns true if the given feature type can be downloaded as GeoJSON"}]},sources:[{fileName:"wfs/endpoint.ts",line:234,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L234"}],parameters:[{id:37,name:"featureType",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}}],type:{type:"intrinsic",name:"boolean"}}]},{id:38,name:"supportsStartIndex",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:242,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L242"}],signatures:[{id:39,name:"supportsStartIndex",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns true if the WFS service supports the startIndex parameter."}]},sources:[{fileName:"wfs/endpoint.ts",line:242,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L242"}],type:{type:"intrinsic",name:"boolean"}}]}],groups:[{title:"Constructors",children:[2]},{title:"Methods",children:[22,27,19,14,40,12,25,30,10,35,38]}],sources:[{fileName:"wfs/endpoint.ts",line:30,character:21,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/endpoint.ts#L30"}]},{id:97,name:"WmsEndpoint",variant:"declaration",kind:128,flags:{},comment:{summary:[{kind:"text",text:"Represents a WMS endpoint advertising several layers arranged in a tree structure."}]},children:[{id:98,name:"constructor",variant:"declaration",kind:512,flags:{},sources:[{fileName:"wms/endpoint.ts",line:27,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L27"}],signatures:[{id:99,name:"new WmsEndpoint",variant:"signature",kind:16384,flags:{},sources:[{fileName:"wms/endpoint.ts",line:27,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L27"}],parameters:[{id:100,name:"url",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:`WMS endpoint url; can contain any query parameters, these will be used to - initialize the endpoint`}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:97,name:"default",package:"@camptocamp/ogc-client"}}]},{id:112,name:"getLayerByName",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wms/endpoint.ts",line:87,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L87"}],signatures:[{id:113,name:"getLayerByName",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns the full layer information, including supported coordinate systems, available layers, bounding boxes etc. -Layer name is case-sensitive.`}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"return null if layer was not found"}]}]},sources:[{fileName:"wms/endpoint.ts",line:87,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L87"}],parameters:[{id:114,name:"name",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"Layer name property (unique in the WMS service)"}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:130,name:"WmsLayerFull",package:"@camptocamp/ogc-client"}}]},{id:110,name:"getLayers",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wms/endpoint.ts",line:67,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L67"}],signatures:[{id:111,name:"getLayers",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns an array of layers in summary format; layers are organized in a tree -structure with each having an optional `},{kind:"code",text:"`children`"},{kind:"text",text:" property"}]},sources:[{fileName:"wms/endpoint.ts",line:67,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L67"}],type:{type:"array",elementType:{type:"reference",target:142,name:"WmsLayerSummary",package:"@camptocamp/ogc-client"}}}]},{id:119,name:"getMapUrl",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wms/endpoint.ts",line:143,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L143"}],signatures:[{id:120,name:"getMapUrl",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns a URL that can be used to query an image from one or several layers"}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"Returns null if endpoint is not ready"}]}]},sources:[{fileName:"wms/endpoint.ts",line:143,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L143"}],parameters:[{id:121,name:"layers",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"List of layers to render"}]},type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:122,name:"options",variant:"param",kind:32768,flags:{},type:{type:"reflection",declaration:{id:123,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:126,name:"crs",variant:"declaration",kind:1024,flags:{},comment:{summary:[{kind:"text",text:"Coordinate reference system to use for the image"}]},sources:[{fileName:"wms/endpoint.ts",line:148,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L148"}],type:{type:"intrinsic",name:"string"}},{id:127,name:"extent",variant:"declaration",kind:1024,flags:{},comment:{summary:[{kind:"text",text:"Expressed in the requested CRS"}]},sources:[{fileName:"wms/endpoint.ts",line:149,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L149"}],type:{type:"reference",target:234,name:"BoundingBox",package:"@camptocamp/ogc-client"}},{id:125,name:"heightPx",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wms/endpoint.ts",line:147,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L147"}],type:{type:"intrinsic",name:"number"}},{id:128,name:"outputFormat",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wms/endpoint.ts",line:150,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L150"}],type:{type:"intrinsic",name:"string"}},{id:129,name:"styles",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"List of styles to use, one for each layer requested; leave out or use empty string for default style"}]},sources:[{fileName:"wms/endpoint.ts",line:151,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L151"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:124,name:"widthPx",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wms/endpoint.ts",line:146,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L146"}],type:{type:"intrinsic",name:"number"}}],groups:[{title:"Properties",children:[126,127,125,128,129,124]}],sources:[{fileName:"wms/endpoint.ts",line:145,character:13,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L145"}]}}}],type:{type:"intrinsic",name:"string"}}]},{id:108,name:"getServiceInfo",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wms/endpoint.ts",line:59,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L59"}],signatures:[{id:109,name:"getServiceInfo",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns the service information."}]},sources:[{fileName:"wms/endpoint.ts",line:59,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L59"}],type:{type:"reference",target:242,name:"GenericEndpointInfo",package:"@camptocamp/ogc-client"}}]},{id:115,name:"getSingleLayerName",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wms/endpoint.ts",line:106,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L106"}],signatures:[{id:116,name:"getSingleLayerName",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"If only one single renderable layer is available, return its name; otherwise, returns null;"}]},sources:[{fileName:"wms/endpoint.ts",line:106,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L106"}],type:{type:"intrinsic",name:"string"}}]},{id:117,name:"getVersion",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wms/endpoint.ts",line:127,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L127"}],signatures:[{id:118,name:"getVersion",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns the highest protocol version that this WMS endpoint supports. +this version will most likely be used instead of the highest supported one.`}]},sources:[{fileName:"wfs/endpoint.ts",line:215,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L215"}],type:{type:"reference",target:52,name:"WfsVersion",package:"@camptocamp/ogc-client"}}]},{id:10,name:"isReady",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:67,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L67"}],signatures:[{id:11,name:"isReady",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Resolves when the endpoint is ready to use. Returns the same endpoint object for convenience."}],blockTags:[{tag:"@throws",content:[]}]},sources:[{fileName:"wfs/endpoint.ts",line:67,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L67"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:1,name:"default",package:"@camptocamp/ogc-client"}],name:"Promise",package:"typescript"}}]},{id:35,name:"supportsJson",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:234,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L234"}],signatures:[{id:36,name:"supportsJson",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns true if the given feature type can be downloaded as GeoJSON"}]},sources:[{fileName:"wfs/endpoint.ts",line:234,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L234"}],parameters:[{id:37,name:"featureType",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}}],type:{type:"intrinsic",name:"boolean"}}]},{id:38,name:"supportsStartIndex",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wfs/endpoint.ts",line:242,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L242"}],signatures:[{id:39,name:"supportsStartIndex",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns true if the WFS service supports the startIndex parameter."}]},sources:[{fileName:"wfs/endpoint.ts",line:242,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L242"}],type:{type:"intrinsic",name:"boolean"}}]}],groups:[{title:"Constructors",children:[2]},{title:"Methods",children:[22,27,19,14,40,12,25,30,10,35,38]}],sources:[{fileName:"wfs/endpoint.ts",line:30,character:21,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/endpoint.ts#L30"}]},{id:97,name:"WmsEndpoint",variant:"declaration",kind:128,flags:{},comment:{summary:[{kind:"text",text:"Represents a WMS endpoint advertising several layers arranged in a tree structure."}]},children:[{id:98,name:"constructor",variant:"declaration",kind:512,flags:{},sources:[{fileName:"wms/endpoint.ts",line:27,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L27"}],signatures:[{id:99,name:"new WmsEndpoint",variant:"signature",kind:16384,flags:{},sources:[{fileName:"wms/endpoint.ts",line:27,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L27"}],parameters:[{id:100,name:"url",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:`WMS endpoint url; can contain any query parameters, these will be used to + initialize the endpoint`}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:97,name:"default",package:"@camptocamp/ogc-client"}}]},{id:112,name:"getLayerByName",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wms/endpoint.ts",line:87,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L87"}],signatures:[{id:113,name:"getLayerByName",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns the full layer information, including supported coordinate systems, available layers, bounding boxes etc. +Layer name is case-sensitive.`}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"return null if layer was not found"}]}]},sources:[{fileName:"wms/endpoint.ts",line:87,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L87"}],parameters:[{id:114,name:"name",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"Layer name property (unique in the WMS service)"}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:130,name:"WmsLayerFull",package:"@camptocamp/ogc-client"}}]},{id:110,name:"getLayers",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wms/endpoint.ts",line:67,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L67"}],signatures:[{id:111,name:"getLayers",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns an array of layers in summary format; layers are organized in a tree +structure with each having an optional `},{kind:"code",text:"`children`"},{kind:"text",text:" property"}]},sources:[{fileName:"wms/endpoint.ts",line:67,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L67"}],type:{type:"array",elementType:{type:"reference",target:144,name:"WmsLayerSummary",package:"@camptocamp/ogc-client"}}}]},{id:119,name:"getMapUrl",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wms/endpoint.ts",line:143,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L143"}],signatures:[{id:120,name:"getMapUrl",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns a URL that can be used to query an image from one or several layers"}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"Returns null if endpoint is not ready"}]}]},sources:[{fileName:"wms/endpoint.ts",line:143,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L143"}],parameters:[{id:121,name:"layers",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"List of layers to render"}]},type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:122,name:"options",variant:"param",kind:32768,flags:{},type:{type:"reflection",declaration:{id:123,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:126,name:"crs",variant:"declaration",kind:1024,flags:{},comment:{summary:[{kind:"text",text:"Coordinate reference system to use for the image"}]},sources:[{fileName:"wms/endpoint.ts",line:148,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L148"}],type:{type:"intrinsic",name:"string"}},{id:127,name:"extent",variant:"declaration",kind:1024,flags:{},comment:{summary:[{kind:"text",text:"Expressed in the requested CRS"}]},sources:[{fileName:"wms/endpoint.ts",line:149,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L149"}],type:{type:"reference",target:236,name:"BoundingBox",package:"@camptocamp/ogc-client"}},{id:125,name:"heightPx",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wms/endpoint.ts",line:147,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L147"}],type:{type:"intrinsic",name:"number"}},{id:128,name:"outputFormat",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wms/endpoint.ts",line:150,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L150"}],type:{type:"intrinsic",name:"string"}},{id:129,name:"styles",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"List of styles to use, one for each layer requested; leave out or use empty string for default style"}]},sources:[{fileName:"wms/endpoint.ts",line:151,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L151"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:124,name:"widthPx",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wms/endpoint.ts",line:146,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L146"}],type:{type:"intrinsic",name:"number"}}],groups:[{title:"Properties",children:[126,127,125,128,129,124]}],sources:[{fileName:"wms/endpoint.ts",line:145,character:13,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L145"}]}}}],type:{type:"intrinsic",name:"string"}}]},{id:108,name:"getServiceInfo",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wms/endpoint.ts",line:59,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L59"}],signatures:[{id:109,name:"getServiceInfo",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns the service information."}]},sources:[{fileName:"wms/endpoint.ts",line:59,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L59"}],type:{type:"reference",target:244,name:"GenericEndpointInfo",package:"@camptocamp/ogc-client"}}]},{id:115,name:"getSingleLayerName",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wms/endpoint.ts",line:106,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L106"}],signatures:[{id:116,name:"getSingleLayerName",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"If only one single renderable layer is available, return its name; otherwise, returns null;"}]},sources:[{fileName:"wms/endpoint.ts",line:106,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L106"}],type:{type:"intrinsic",name:"string"}}]},{id:117,name:"getVersion",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wms/endpoint.ts",line:127,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L127"}],signatures:[{id:118,name:"getVersion",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns the highest protocol version that this WMS endpoint supports. Note that if the url used for initialization does specify a version (e.g. 1.1.0), -this version will most likely be used instead of the highest supported one.`}]},sources:[{fileName:"wms/endpoint.ts",line:127,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L127"}],type:{type:"reference",target:141,name:"WmsVersion",package:"@camptocamp/ogc-client"}}]},{id:106,name:"isReady",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wms/endpoint.ts",line:52,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L52"}],signatures:[{id:107,name:"isReady",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Resolves when the endpoint is ready to use. Returns the same endpoint object for convenience."}],blockTags:[{tag:"@throws",content:[]}]},sources:[{fileName:"wms/endpoint.ts",line:52,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L52"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:97,name:"default",package:"@camptocamp/ogc-client"}],name:"Promise",package:"typescript"}}]}],groups:[{title:"Constructors",children:[98]},{title:"Methods",children:[112,110,119,108,115,117,106]}],sources:[{fileName:"wms/endpoint.ts",line:16,character:21,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/endpoint.ts#L16"}]},{id:153,name:"WmtsEndpoint",variant:"declaration",kind:128,flags:{},comment:{summary:[{kind:"text",text:"Represents a WMTS endpoint advertising several layers."}]},children:[{id:154,name:"constructor",variant:"declaration",kind:512,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:29,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L29"}],signatures:[{id:155,name:"new WmtsEndpoint",variant:"signature",kind:16384,flags:{},comment:{summary:[{kind:"text",text:"Creates a new WMTS endpoint; wait for the "},{kind:"code",text:"`isReady()`"},{kind:"text",text:" promise before using the endpoint methods."}]},sources:[{fileName:"wmts/endpoint.ts",line:29,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L29"}],parameters:[{id:156,name:"url",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:`WMTS endpoint url; can contain any query parameters, these will be used to - initialize the endpoint`}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:153,name:"default",package:"@camptocamp/ogc-client"}}]},{id:190,name:"getDefaultDimensions",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:172,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L172"}],signatures:[{id:191,name:"getDefaultDimensions",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Return an object with all defined dimensions for the layer, as well as their default values."}]},sources:[{fileName:"wmts/endpoint.ts",line:172,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L172"}],parameters:[{id:192,name:"layerName",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Record"},typeArguments:[{type:"intrinsic",name:"string"},{type:"intrinsic",name:"string"}],name:"Record",package:"typescript"}}]},{id:172,name:"getLayerByName",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:99,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L99"}],signatures:[{id:173,name:"getLayerByName",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns a complete layer based on its name -Note: the first matching layer will be returned`}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"return null if layer was not found"}]}]},sources:[{fileName:"wmts/endpoint.ts",line:99,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L99"}],parameters:[{id:174,name:"name",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"Layer name property"}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:215,name:"WmtsLayer",package:"@camptocamp/ogc-client"}}]},{id:177,name:"getLayerResourceLink",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:119,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L119"}],signatures:[{id:178,name:"getLayerResourceLink",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns a layer resource link. If no type hint is specified, the first resource will be returned. -A resource link contains a URL as well as an image format and a request encoding (KVP or REST).`}]},sources:[{fileName:"wmts/endpoint.ts",line:119,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L119"}],parameters:[{id:179,name:"layerName",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:180,name:"formatHint",variant:"param",kind:32768,flags:{isOptional:!0},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:199,name:"WmtsLayerResourceLink",package:"@camptocamp/ogc-client"}}]},{id:165,name:"getLayers",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:68,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L68"}],signatures:[{id:166,name:"getLayers",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns the layers advertised in the endpoint."}]},sources:[{fileName:"wmts/endpoint.ts",line:68,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L68"}],type:{type:"array",elementType:{type:"reference",target:215,name:"WmtsLayer",package:"@camptocamp/ogc-client"}}}]},{id:169,name:"getMatrixSetByIdentifier",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:84,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L84"}],signatures:[{id:170,name:"getMatrixSetByIdentifier",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns a matrix set by identifier"}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"return null if matrix set was not found"}]}]},sources:[{fileName:"wmts/endpoint.ts",line:84,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L84"}],parameters:[{id:171,name:"identifier",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"Matrix set identifier"}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:223,name:"WmtsMatrixSet",package:"@camptocamp/ogc-client"}}]},{id:167,name:"getMatrixSets",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:75,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L75"}],signatures:[{id:168,name:"getMatrixSets",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns the matrix sets available for that endpoint. Each matrix set contains a list of tile matrices as well as a supported CRS."}]},sources:[{fileName:"wmts/endpoint.ts",line:75,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L75"}],type:{type:"array",elementType:{type:"reference",target:223,name:"WmtsMatrixSet",package:"@camptocamp/ogc-client"}}}]},{id:194,name:"getOpenLayersTileGrid",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:192,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L192"}],signatures:[{id:195,name:"getOpenLayersTileGrid",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Creates a WMTSTileGrid instance from the 'ol' package, for a given layer. Optionally, a matrix set -can be provided;`}]},sources:[{fileName:"wmts/endpoint.ts",line:192,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L192"}],parameters:[{id:196,name:"layerName",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:197,name:"matrixSetIdentifier",variant:"param",kind:32768,flags:{isOptional:!0},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:{sourceFileName:"../node_modules/ol/tilegrid/WMTS.js",qualifiedName:"WMTSTileGrid"},name:"WMTSTileGrid",package:"ol"}],name:"Promise",package:"typescript"}}]},{id:163,name:"getServiceInfo",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:61,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L61"}],signatures:[{id:164,name:"getServiceInfo",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to the endpoint information."}]},sources:[{fileName:"wmts/endpoint.ts",line:61,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L61"}],type:{type:"reference",target:203,name:"WmtsEndpointInfo",package:"@camptocamp/ogc-client"}}]},{id:175,name:"getSingleLayerName",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:107,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L107"}],signatures:[{id:176,name:"getSingleLayerName",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"If only one single layer is available, return its name; otherwise, returns null;"}]},sources:[{fileName:"wmts/endpoint.ts",line:107,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L107"}],type:{type:"intrinsic",name:"string"}}]},{id:181,name:"getTileUrl",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:144,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L144"}],signatures:[{id:182,name:"getTileUrl",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Generates a URL for a specific tile of a specific layer"}]},sources:[{fileName:"wmts/endpoint.ts",line:144,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L144"}],parameters:[{id:183,name:"layerName",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:184,name:"styleName",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:185,name:"matrixSetName",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:186,name:"tileMatrix",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:187,name:"tileRow",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"number"}},{id:188,name:"tileCol",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"number"}},{id:189,name:"outputFormat",variant:"param",kind:32768,flags:{isOptional:!0},type:{type:"intrinsic",name:"string"}}],type:{type:"intrinsic",name:"string"}}]},{id:161,name:"isReady",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:54,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L54"}],signatures:[{id:162,name:"isReady",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Resolves when the endpoint is ready to use. Returns the same endpoint object for convenience."}],blockTags:[{tag:"@throws",content:[]}]},sources:[{fileName:"wmts/endpoint.ts",line:54,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L54"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:153,name:"default",package:"@camptocamp/ogc-client"}],name:"Promise",package:"typescript"}}]}],groups:[{title:"Constructors",children:[154]},{title:"Methods",children:[190,172,177,165,169,167,194,163,175,181,161]}],sources:[{fileName:"wmts/endpoint.ts",line:18,character:21,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/endpoint.ts#L18"}]},{id:385,name:"CollectionParameter",variant:"declaration",kind:256,flags:{},children:[{id:386,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:24,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L24"}],type:{type:"intrinsic",name:"string"}},{id:387,name:"title",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:25,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L25"}],type:{type:"intrinsic",name:"string"}},{id:388,name:"type",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:26,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L26"}],type:{type:"union",types:[{type:"literal",value:"string"},{type:"literal",value:"number"},{type:"literal",value:"linestring"},{type:"literal",value:"polygon"},{type:"literal",value:"point"},{type:"literal",value:"integer"},{type:"literal",value:"date"},{type:"literal",value:"geometry"}]}}],groups:[{title:"Properties",children:[386,387,388]}],sources:[{fileName:"ogc-api/model.ts",line:23,character:17,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L23"}]},{id:235,name:"FetchOptions",variant:"declaration",kind:256,flags:{},children:[{id:238,name:"credentials",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"shared/models.ts",line:23,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L23"}],type:{type:"union",types:[{type:"literal",value:"same-origin"},{type:"literal",value:"include"},{type:"literal",value:"omit"}]}},{id:236,name:"headers",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"shared/models.ts",line:21,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L21"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Record"},typeArguments:[{type:"intrinsic",name:"string"},{type:"intrinsic",name:"string"}],name:"Record",package:"typescript"}},{id:241,name:"integrity",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"shared/models.ts",line:26,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L26"}],type:{type:"intrinsic",name:"string"}},{id:237,name:"mode",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"shared/models.ts",line:22,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L22"}],type:{type:"union",types:[{type:"literal",value:"same-origin"},{type:"literal",value:"cors"},{type:"literal",value:"no-cors"}]}},{id:239,name:"redirect",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"shared/models.ts",line:24,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L24"}],type:{type:"union",types:[{type:"literal",value:"error"},{type:"literal",value:"follow"}]}},{id:240,name:"referrer",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"shared/models.ts",line:25,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L25"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[238,236,241,237,239,240]}],sources:[{fileName:"shared/models.ts",line:20,character:17,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L20"}]},{id:229,name:"LayerStyle",variant:"declaration",kind:256,flags:{},children:[{id:232,name:"abstract",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"shared/models.ts",line:32,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L32"}],type:{type:"intrinsic",name:"string"}},{id:233,name:"legendUrl",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"May not be defined; a GetLegendGraphic operation should work in any case"}]},sources:[{fileName:"shared/models.ts",line:36,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L36"}],type:{type:"intrinsic",name:"string"}},{id:230,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:30,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L30"}],type:{type:"intrinsic",name:"string"}},{id:231,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:31,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L31"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[232,233,230,231]}],sources:[{fileName:"shared/models.ts",line:29,character:17,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L29"}]},{id:389,name:"OgcApiCollectionInfo",variant:"declaration",kind:256,flags:{},comment:{summary:[{kind:"text",text:"Contains all necessary information about a collection of items"}]},children:[{id:396,name:"bulkDownloadLinks",variant:"declaration",kind:1024,flags:{},comment:{summary:[{kind:"text",text:"Map between formats and bulk download links (no filtering, pagination etc.)"}]},sources:[{fileName:"ogc-api/model.ts",line:58,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L58"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Record"},typeArguments:[{type:"intrinsic",name:"string"},{type:"intrinsic",name:"string"}],name:"Record",package:"typescript"}},{id:398,name:"crs",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:60,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L60"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:392,name:"description",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:54,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L54"}],type:{type:"intrinsic",name:"string"}},{id:404,name:"extent",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:66,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L66"}],type:{type:"reference",target:234,name:"BoundingBox",package:"@camptocamp/ogc-client"}},{id:393,name:"id",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:55,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L55"}],type:{type:"intrinsic",name:"string"}},{id:400,name:"itemCount",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:62,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L62"}],type:{type:"intrinsic",name:"number"}},{id:395,name:"itemFormats",variant:"declaration",kind:1024,flags:{},comment:{summary:[{kind:"text",text:"These mime types are available through the "},{kind:"code",text:"`/items`"},{kind:"text",text:` endpoint; - use the `},{kind:"code",text:"`getCollectionItemsUrl`"},{kind:"text",text:" function to generate a URL using one of those formats"}]},sources:[{fileName:"ogc-api/model.ts",line:57,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L57"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:394,name:"itemType",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:56,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L56"}],type:{type:"union",types:[{type:"literal",value:"feature"},{type:"literal",value:"record"}]}},{id:397,name:"jsonDownloadLink",variant:"declaration",kind:1024,flags:{},comment:{summary:[{kind:"text",text:"Link to the first bulk download link using JSON-FG or GeoJSON; null if no link found"}]},sources:[{fileName:"ogc-api/model.ts",line:59,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L59"}],type:{type:"intrinsic",name:"string"}},{id:401,name:"keywords",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:63,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L63"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:402,name:"language",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Language is Iso 2-letter code (e.g. 'en')"}]},sources:[{fileName:"ogc-api/model.ts",line:64,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L64"}],type:{type:"intrinsic",name:"string"}},{id:416,name:"license",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:78,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L78"}],type:{type:"intrinsic",name:"string"}},{id:390,name:"links",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:52,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L52"}],type:{type:"intrinsic",name:"any"}},{id:419,name:"mapTileFormats",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:82,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L82"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:405,name:"publisher",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:67,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L67"}],type:{type:"reflection",declaration:{id:406,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:410,name:"contactInfo",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:71,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L71"}],type:{type:"reflection",declaration:{id:411,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:413,name:"email",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:73,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L73"}],type:{type:"reflection",declaration:{id:414,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:415,name:"work",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:74,character:8,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L74"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[415]}],sources:[{fileName:"ogc-api/model.ts",line:73,character:13,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L73"}]}}},{id:412,name:"phone",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:72,character:6,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L72"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[413,412]}],sources:[{fileName:"ogc-api/model.ts",line:71,character:17,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L71"}]}}},{id:407,name:"individualName",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:68,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L68"}],type:{type:"intrinsic",name:"string"}},{id:408,name:"organizationName",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:69,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L69"}],type:{type:"intrinsic",name:"string"}},{id:409,name:"positionName",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:70,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L70"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[410,407,408,409]}],sources:[{fileName:"ogc-api/model.ts",line:67,character:14,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L67"}]}}},{id:417,name:"queryables",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:79,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L79"}],type:{type:"array",elementType:{type:"reference",target:385,name:"CollectionParameter",package:"@camptocamp/ogc-client"}}},{id:418,name:"sortables",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:80,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L80"}],type:{type:"array",elementType:{type:"reference",target:385,name:"CollectionParameter",package:"@camptocamp/ogc-client"}}},{id:399,name:"storageCrs",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:61,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L61"}],type:{type:"intrinsic",name:"string"}},{id:421,name:"supportedTileMatrixSets",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:84,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L84"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:391,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:53,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L53"}],type:{type:"intrinsic",name:"string"}},{id:403,name:"updated",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:65,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L65"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Date"},name:"Date",package:"typescript"}},{id:420,name:"vectorTileFormats",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:83,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L83"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}}],groups:[{title:"Properties",children:[396,398,392,404,393,400,395,394,397,401,402,416,390,419,405,417,418,399,421,391,403,420]}],sources:[{fileName:"ogc-api/model.ts",line:51,character:17,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L51"}]},{id:422,name:"OgcApiDocumentLink",variant:"declaration",kind:256,flags:{},children:[{id:426,name:"href",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:91,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L91"}],type:{type:"intrinsic",name:"string"}},{id:423,name:"rel",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:88,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L88"}],type:{type:"intrinsic",name:"string"}},{id:425,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:90,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L90"}],type:{type:"intrinsic",name:"string"}},{id:424,name:"type",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:89,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L89"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[426,423,425,424]}],sources:[{fileName:"ogc-api/model.ts",line:87,character:17,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L87"}]},{id:379,name:"OgcApiEndpointInfo",variant:"declaration",kind:256,flags:{},children:[{id:382,name:"attribution",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:9,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L9"}],type:{type:"intrinsic",name:"string"}},{id:381,name:"description",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:8,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L8"}],type:{type:"intrinsic",name:"string"}},{id:380,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:7,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L7"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[382,381,380]}],sources:[{fileName:"ogc-api/model.ts",line:6,character:17,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L6"}]},{id:442,name:"OgcApiRecordContact",variant:"declaration",kind:256,flags:{},children:[{id:445,name:"contactInstructions",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:131,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L131"}],type:{type:"intrinsic",name:"string"}},{id:444,name:"links",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:130,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L130"}],type:{type:"array",elementType:{type:"reference",target:422,name:"OgcApiDocumentLink",package:"@camptocamp/ogc-client"}}},{id:443,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:129,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L129"}],type:{type:"intrinsic",name:"string"}},{id:446,name:"roles",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:132,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L132"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}}],groups:[{title:"Properties",children:[445,444,443,446]}],sources:[{fileName:"ogc-api/model.ts",line:128,character:17,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L128"}]},{id:447,name:"OgcApiRecordLanguage",variant:"declaration",kind:256,flags:{},children:[{id:450,name:"alternate",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:137,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L137"}],type:{type:"intrinsic",name:"string"}},{id:448,name:"code",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:135,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L135"}],type:{type:"intrinsic",name:"string"}},{id:451,name:"dir",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:138,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L138"}],type:{type:"union",types:[{type:"literal",value:"ltr"},{type:"literal",value:"rtl"},{type:"literal",value:"ttb"},{type:"literal",value:"btt"}]}},{id:449,name:"name",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:136,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L136"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[450,448,451,449]}],sources:[{fileName:"ogc-api/model.ts",line:134,character:17,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L134"}]},{id:452,name:"OgcApiRecordProperties",variant:"declaration",kind:256,flags:{},children:[{id:465,name:"contacts",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:154,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L154"}],type:{type:"array",elementType:{type:"reference",target:442,name:"OgcApiRecordContact",package:"@camptocamp/ogc-client"}}},{id:453,name:"created",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:142,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L142"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Date"},name:"Date",package:"typescript"}},{id:457,name:"description",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:146,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L146"}],type:{type:"intrinsic",name:"string"}},{id:463,name:"externalIds",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:152,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L152"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiItemExternalId"},name:"OgcApiItemExternalId",package:"@camptocamp/ogc-client"}}},{id:464,name:"formats",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:153,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L153"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:458,name:"keywords",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:147,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L147"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:460,name:"language",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:149,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L149"}],type:{type:"reference",target:447,name:"OgcApiRecordLanguage",package:"@camptocamp/ogc-client"}},{id:461,name:"languages",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:150,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L150"}],type:{type:"array",elementType:{type:"reference",target:447,name:"OgcApiRecordLanguage",package:"@camptocamp/ogc-client"}}},{id:466,name:"license",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:155,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L155"}],type:{type:"intrinsic",name:"string"}},{id:468,name:"providers",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:157,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L157"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:462,name:"resourceLanguages",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:151,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L151"}],type:{type:"array",elementType:{type:"reference",target:447,name:"OgcApiRecordLanguage",package:"@camptocamp/ogc-client"}}},{id:467,name:"rights",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:156,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L156"}],type:{type:"intrinsic",name:"string"}},{id:459,name:"themes",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:148,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L148"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordTheme"},name:"OgcApiRecordTheme",package:"@camptocamp/ogc-client"}}},{id:456,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:145,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L145"}],type:{type:"intrinsic",name:"string"}},{id:455,name:"type",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:144,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L144"}],type:{type:"intrinsic",name:"string"}},{id:454,name:"updated",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:143,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L143"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Date"},name:"Date",package:"typescript"}}],groups:[{title:"Properties",children:[465,453,457,463,464,458,460,461,466,468,462,467,459,456,455,454]}],sources:[{fileName:"ogc-api/model.ts",line:141,character:17,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L141"}]},{id:479,name:"TileMatrixSet",variant:"declaration",kind:256,flags:{},children:[{id:480,name:"id",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:173,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L173"}],type:{type:"intrinsic",name:"string"}},{id:481,name:"uri",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:174,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L174"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[480,481]}],sources:[{fileName:"ogc-api/model.ts",line:172,character:17,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L172"}]},{id:203,name:"WmtsEndpointInfo",variant:"declaration",kind:256,flags:{},children:[{id:210,name:"abstract",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:11,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L11"}],type:{type:"intrinsic",name:"string"},inheritedFrom:{type:"reference",target:-1,name:"GenericEndpointInfo.abstract"}},{id:212,name:"constraints",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:13,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L13"}],type:{type:"intrinsic",name:"string"},inheritedFrom:{type:"reference",target:-1,name:"GenericEndpointInfo.constraints"}},{id:211,name:"fees",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:12,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L12"}],type:{type:"intrinsic",name:"string"},inheritedFrom:{type:"reference",target:-1,name:"GenericEndpointInfo.fees"}},{id:204,name:"getTileUrls",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:10,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L10"}],type:{type:"reflection",declaration:{id:205,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:206,name:"kvp",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wmts/model.ts",line:11,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L11"}],type:{type:"intrinsic",name:"string"}},{id:207,name:"rest",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wmts/model.ts",line:12,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L12"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[206,207]}],sources:[{fileName:"wmts/model.ts",line:10,character:15,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L10"}]}}},{id:213,name:"keywords",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:14,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L14"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}},inheritedFrom:{type:"reference",target:-1,name:"GenericEndpointInfo.keywords"}},{id:208,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:9,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L9"}],type:{type:"intrinsic",name:"string"},inheritedFrom:{type:"reference",target:-1,name:"GenericEndpointInfo.name"}},{id:214,name:"outputFormats",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"shared/models.ts",line:15,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L15"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}},inheritedFrom:{type:"reference",target:-1,name:"GenericEndpointInfo.outputFormats"}},{id:209,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:10,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L10"}],type:{type:"intrinsic",name:"string"},inheritedFrom:{type:"reference",target:-1,name:"GenericEndpointInfo.title"}}],groups:[{title:"Properties",children:[210,212,211,204,213,208,214,209]}],sources:[{fileName:"wmts/model.ts",line:9,character:17,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L9"}],extendedTypes:[{type:"reference",target:242,name:"GenericEndpointInfo",package:"@camptocamp/ogc-client"}]},{id:215,name:"WmtsLayer",variant:"declaration",kind:256,flags:{},children:[{id:219,name:"defaultStyle",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:82,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L82"}],type:{type:"intrinsic",name:"string"}},{id:222,name:"dimensions",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wmts/model.ts",line:85,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L85"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"LayerDimension"},name:"LayerDimension",package:"@camptocamp/ogc-client"}}},{id:221,name:"latLonBoundingBox",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wmts/model.ts",line:84,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L84"}],type:{type:"reference",target:234,name:"BoundingBox",package:"@camptocamp/ogc-client"}},{id:220,name:"matrixSets",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:83,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L83"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"MatrixSetLink"},name:"MatrixSetLink",package:"@camptocamp/ogc-client"}}},{id:216,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:79,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L79"}],type:{type:"intrinsic",name:"string"}},{id:217,name:"resourceLinks",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:80,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L80"}],type:{type:"array",elementType:{type:"reference",target:199,name:"WmtsLayerResourceLink",package:"@camptocamp/ogc-client"}}},{id:218,name:"styles",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:81,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L81"}],type:{type:"array",elementType:{type:"reference",target:229,name:"LayerStyle",package:"@camptocamp/ogc-client"}}}],groups:[{title:"Properties",children:[219,222,221,220,216,217,218]}],sources:[{fileName:"wmts/model.ts",line:78,character:17,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L78"}]},{id:199,name:"WmtsLayerResourceLink",variant:"declaration",kind:256,flags:{},children:[{id:201,name:"encoding",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:66,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L66"}],type:{type:"reference",target:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsRequestEncoding"},name:"WmtsRequestEncoding",package:"@camptocamp/ogc-client"}},{id:202,name:"format",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:67,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L67"}],type:{type:"intrinsic",name:"string"}},{id:200,name:"url",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:65,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L65"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[201,202,200]}],sources:[{fileName:"wmts/model.ts",line:64,character:17,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L64"}]},{id:223,name:"WmtsMatrixSet",variant:"declaration",kind:256,flags:{},children:[{id:227,name:"boundingBox",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wmts/model.ts",line:46,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L46"}],type:{type:"reference",target:234,name:"BoundingBox",package:"@camptocamp/ogc-client"}},{id:226,name:"crs",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:45,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L45"}],type:{type:"intrinsic",name:"string"}},{id:224,name:"identifier",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:43,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L43"}],type:{type:"intrinsic",name:"string"}},{id:228,name:"tileMatrices",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:47,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L47"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"TileMatrix"},name:"TileMatrix",package:"@camptocamp/ogc-client"}}},{id:225,name:"wellKnownScaleSet",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wmts/model.ts",line:44,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L44"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[227,226,224,228,225]}],sources:[{fileName:"wmts/model.ts",line:42,character:17,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L42"}]},{id:234,name:"BoundingBox",variant:"declaration",kind:2097152,flags:{},comment:{summary:[{kind:"text",text:"Expressed as minx, miny, maxx, maxy"}]},sources:[{fileName:"shared/models.ts",line:4,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L4"}],type:{type:"tuple",elements:[{type:"intrinsic",name:"number"},{type:"intrinsic",name:"number"},{type:"intrinsic",name:"number"},{type:"intrinsic",name:"number"}]}},{id:384,name:"CollectionParameterType",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:22,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L22"}],type:{type:"indexedAccess",indexType:{type:"intrinsic",name:"number"},objectType:{type:"query",queryType:{type:"reference",target:383,name:"CollectionParameterTypes",package:"@camptocamp/ogc-client"}}}},{id:378,name:"ConformanceClass",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:4,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L4"}],type:{type:"intrinsic",name:"string"}},{id:73,name:"FeatureGeometryType",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:18,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L18"}],type:{type:"union",types:[{type:"literal",value:"linestring"},{type:"literal",value:"polygon"},{type:"literal",value:"point"},{type:"literal",value:"multilinestring"},{type:"literal",value:"multipolygon"},{type:"literal",value:"multipoint"},{type:"literal",value:"unknown"}]}},{id:74,name:"FeaturePropertyType",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:16,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L16"}],type:{type:"union",types:[{type:"intrinsic",name:"string"},{type:"intrinsic",name:"number"},{type:"intrinsic",name:"boolean"}]}},{id:242,name:"GenericEndpointInfo",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"shared/models.ts",line:8,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L8"}],type:{type:"reflection",declaration:{id:243,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:246,name:"abstract",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:11,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L11"}],type:{type:"intrinsic",name:"string"}},{id:248,name:"constraints",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:13,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L13"}],type:{type:"intrinsic",name:"string"}},{id:247,name:"fees",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:12,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L12"}],type:{type:"intrinsic",name:"string"}},{id:249,name:"keywords",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:14,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L14"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:244,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:9,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L9"}],type:{type:"intrinsic",name:"string"}},{id:250,name:"outputFormats",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"shared/models.ts",line:15,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L15"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/shared/models.ts",qualifiedName:"MimeType"},name:"MimeType",package:"@camptocamp/ogc-client"}}},{id:245,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:10,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L10"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[246,248,247,249,244,250,245]}],sources:[{fileName:"shared/models.ts",line:8,character:34,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/models.ts#L8"}]}},extendedBy:[{type:"reference",target:203,name:"WmtsEndpointInfo"}]},{id:478,name:"OgcApiCollectionItem",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:170,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L170"}],type:{type:"reference",target:469,name:"OgcApiRecord",package:"@camptocamp/ogc-client"}},{id:427,name:"OgcApiDocument",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:94,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L94"}],type:{type:"intersection",types:[{type:"reflection",declaration:{id:428,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:429,name:"links",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:95,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L95"}],type:{type:"array",elementType:{type:"reflection",declaration:{id:430,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:434,name:"href",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:99,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L99"}],type:{type:"intrinsic",name:"string"}},{id:431,name:"rel",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:96,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L96"}],type:{type:"intrinsic",name:"string"}},{id:433,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:98,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L98"}],type:{type:"intrinsic",name:"string"}},{id:432,name:"type",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:97,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L97"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[434,431,433,432]}],sources:[{fileName:"ogc-api/model.ts",line:95,character:9,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L95"}]}}}},{id:435,name:"tilesets",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:101,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L101"}],type:{type:"array",elementType:{type:"reflection",declaration:{id:436,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:439,name:"crs",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:104,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L104"}],type:{type:"intrinsic",name:"string"}},{id:440,name:"dataType",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:105,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L105"}],type:{type:"intrinsic",name:"string"}},{id:441,name:"links",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:106,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L106"}],type:{type:"array",elementType:{type:"reference",target:422,name:"OgcApiDocumentLink",package:"@camptocamp/ogc-client"}}},{id:438,name:"tileMatrixSetURI",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:103,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L103"}],type:{type:"intrinsic",name:"string"}},{id:437,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:102,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L102"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[439,440,441,438,437]}],sources:[{fileName:"ogc-api/model.ts",line:101,character:13,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L101"}]}}}}],groups:[{title:"Properties",children:[429,435]}],sources:[{fileName:"ogc-api/model.ts",line:94,character:29,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L94"}]}},{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Record"},typeArguments:[{type:"intrinsic",name:"string"},{type:"intrinsic",name:"unknown"}],name:"Record",package:"typescript"}]}},{id:469,name:"OgcApiRecord",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:160,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L160"}],type:{type:"reflection",declaration:{id:470,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:477,name:"conformsTo",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:167,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L167"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:474,name:"geometry",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:164,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L164"}],type:{type:"reference",target:{sourceFileName:"../node_modules/@types/geojson/index.d.ts",qualifiedName:"Geometry"},name:"Geometry",package:"@types/geojson"}},{id:471,name:"id",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:161,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L161"}],type:{type:"intrinsic",name:"string"}},{id:476,name:"links",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:166,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L166"}],type:{type:"array",elementType:{type:"reference",target:422,name:"OgcApiDocumentLink",package:"@camptocamp/ogc-client"}}},{id:475,name:"properties",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:165,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L165"}],type:{type:"reference",target:452,name:"OgcApiRecordProperties",package:"@camptocamp/ogc-client"}},{id:473,name:"time",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:163,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L163"}],type:{type:"reference",target:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiTime"},name:"OgcApiTime",package:"@camptocamp/ogc-client"}},{id:472,name:"type",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:162,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L162"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[477,474,471,476,475,473,472]}],sources:[{fileName:"ogc-api/model.ts",line:160,character:27,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L160"}]}}},{id:511,name:"OgcApiStyleMetadata",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:212,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L212"}],type:{type:"reflection",declaration:{id:512,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:519,name:"created",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:219,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L219"}],type:{type:"intrinsic",name:"string"}},{id:515,name:"description",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:215,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L215"}],type:{type:"intrinsic",name:"string"}},{id:513,name:"id",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:213,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L213"}],type:{type:"intrinsic",name:"string"}},{id:516,name:"keywords",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:216,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L216"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:524,name:"layers",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:224,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L224"}],type:{type:"array",elementType:{type:"reflection",declaration:{id:525,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:528,name:"dataType",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:227,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L227"}],type:{type:"union",types:[{type:"literal",value:"vector"},{type:"literal",value:"map"},{type:"literal",value:"coverage"},{type:"literal",value:"model"}]}},{id:527,name:"description",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:226,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L226"}],type:{type:"intrinsic",name:"string"}},{id:529,name:"geometryType",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:228,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L228"}],type:{type:"union",types:[{type:"literal",value:"points"},{type:"literal",value:"lines"},{type:"literal",value:"polygons"},{type:"literal",value:"solids"},{type:"literal",value:"any"}]}},{id:526,name:"id",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:225,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L225"}],type:{type:"intrinsic",name:"string"}},{id:530,name:"propertiesSchema",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:229,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L229"}],type:{type:"intrinsic",name:"any"}},{id:531,name:"sampleData",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:230,character:4,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L230"}],type:{type:"reference",target:422,name:"OgcApiDocumentLink",package:"@camptocamp/ogc-client"}}],groups:[{title:"Properties",children:[528,527,529,526,530,531]}],sources:[{fileName:"ogc-api/model.ts",line:224,character:11,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L224"}]}}}},{id:518,name:"license",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:218,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L218"}],type:{type:"intrinsic",name:"string"}},{id:532,name:"links",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:232,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L232"}],type:{type:"array",elementType:{type:"reference",target:422,name:"OgcApiDocumentLink",package:"@camptocamp/ogc-client"}}},{id:517,name:"pointOfContact",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:217,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L217"}],type:{type:"intrinsic",name:"string"}},{id:521,name:"scope",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:221,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L221"}],type:{type:"literal",value:"style"}},{id:523,name:"stylesheets",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:223,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L223"}],type:{type:"array",elementType:{type:"reference",target:504,name:"OgcApiStylesheet",package:"@camptocamp/ogc-client"}}},{id:514,name:"title",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:214,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L214"}],type:{type:"intrinsic",name:"string"}},{id:520,name:"updated",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:220,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L220"}],type:{type:"intrinsic",name:"string"}},{id:522,name:"version",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:222,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L222"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[519,515,513,516,524,518,532,517,521,523,514,520,522]}],sources:[{fileName:"ogc-api/model.ts",line:212,character:34,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L212"}]}}},{id:500,name:"OgcApiStyleRecord",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:199,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L199"}],type:{type:"reflection",declaration:{id:501,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:503,name:"id",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:201,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L201"}],type:{type:"intrinsic",name:"string"}},{id:502,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:200,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L200"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[503,502]}],sources:[{fileName:"ogc-api/model.ts",line:199,character:32,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L199"}]}}},{id:496,name:"OgcApiStylesDocument",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:194,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L194"}],type:{type:"reflection",declaration:{id:497,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:499,name:"links",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:196,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L196"}],type:{type:"array",elementType:{type:"reference",target:422,name:"OgcApiDocumentLink",package:"@camptocamp/ogc-client"}}},{id:498,name:"styles",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:195,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L195"}],type:{type:"array",elementType:{type:"reference",target:482,name:"StyleItem",package:"@camptocamp/ogc-client"}}}],groups:[{title:"Properties",children:[499,498]}],sources:[{fileName:"ogc-api/model.ts",line:194,character:35,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L194"}]}}},{id:504,name:"OgcApiStylesheet",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:204,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L204"}],type:{type:"reflection",declaration:{id:505,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:506,name:"link",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:205,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L205"}],type:{type:"reference",target:422,name:"OgcApiDocumentLink",package:"@camptocamp/ogc-client"}},{id:510,name:"native",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:209,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L209"}],type:{type:"intrinsic",name:"boolean"}},{id:509,name:"specification",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:208,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L208"}],type:{type:"intrinsic",name:"string"}},{id:507,name:"title",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:206,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L206"}],type:{type:"intrinsic",name:"string"}},{id:508,name:"version",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:207,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L207"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[506,510,509,507,508]}],sources:[{fileName:"ogc-api/model.ts",line:204,character:31,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L204"}]}}},{id:491,name:"OgcStyleBrief",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:188,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L188"}],type:{type:"reflection",declaration:{id:492,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:495,name:"formats",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:191,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L191"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:493,name:"id",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:189,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L189"}],type:{type:"intrinsic",name:"string"}},{id:494,name:"title",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:190,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L190"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[495,493,494]}],sources:[{fileName:"ogc-api/model.ts",line:188,character:28,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L188"}]}}},{id:488,name:"OgcStyleFull",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:184,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L184"}],type:{type:"intersection",types:[{type:"reflection",declaration:{id:489,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:490,name:"stylesheetFormats",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:185,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L185"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}}],groups:[{title:"Properties",children:[490]}],sources:[{fileName:"ogc-api/model.ts",line:184,character:27,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L184"}]}},{type:"reference",target:511,name:"OgcApiStyleMetadata",package:"@camptocamp/ogc-client"}]}},{id:482,name:"StyleItem",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:177,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L177"}],type:{type:"reflection",declaration:{id:483,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:487,name:"formats",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:181,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L181"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:485,name:"id",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:179,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L179"}],type:{type:"intrinsic",name:"string"}},{id:486,name:"links",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:180,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L180"}],type:{type:"array",elementType:{type:"reference",target:422,name:"OgcApiDocumentLink",package:"@camptocamp/ogc-client"}}},{id:484,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:178,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L178"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[487,485,486,484]}],sources:[{fileName:"ogc-api/model.ts",line:177,character:24,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L177"}]}}},{id:67,name:"WfsFeatureTypeBrief",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:27,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L27"}],type:{type:"reflection",declaration:{id:68,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:71,name:"abstract",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/model.ts",line:30,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L30"}],type:{type:"intrinsic",name:"string"}},{id:72,name:"boundingBox",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Expressed in latitudes and longitudes"}]},sources:[{fileName:"wfs/model.ts",line:34,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L34"}],type:{type:"reference",target:234,name:"BoundingBox",package:"@camptocamp/ogc-client"}},{id:69,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:28,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L28"}],type:{type:"intrinsic",name:"string"}},{id:70,name:"title",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/model.ts",line:29,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L29"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[71,72,69,70]}],sources:[{fileName:"wfs/model.ts",line:27,character:34,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L27"}]}}},{id:75,name:"WfsFeatureTypeFull",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:51,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L51"}],type:{type:"reflection",declaration:{id:76,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:79,name:"abstract",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/model.ts",line:54,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L54"}],type:{type:"intrinsic",name:"string"}},{id:80,name:"boundingBox",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Expressed in latitudes and longitudes"}]},sources:[{fileName:"wfs/model.ts",line:58,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L58"}],type:{type:"reference",target:234,name:"BoundingBox",package:"@camptocamp/ogc-client"}},{id:81,name:"defaultCrs",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:59,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L59"}],type:{type:"reference",target:{sourceFileName:"../src/shared/models.ts",qualifiedName:"CrsCode"},name:"CrsCode",package:"@camptocamp/ogc-client"}},{id:85,name:"geometryName",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Not defined if no geometry present"}]},sources:[{fileName:"wfs/model.ts",line:69,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L69"}],type:{type:"intrinsic",name:"string"}},{id:86,name:"geometryType",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Not defined if no geometry present"}]},sources:[{fileName:"wfs/model.ts",line:73,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L73"}],type:{type:"reference",target:73,name:"FeatureGeometryType",package:"@camptocamp/ogc-client"}},{id:88,name:"keywords",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/model.ts",line:78,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L78"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:77,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:52,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L52"}],type:{type:"intrinsic",name:"string"}},{id:87,name:"objectCount",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Not defined if object count could not be determined"}]},sources:[{fileName:"wfs/model.ts",line:77,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L77"}],type:{type:"intrinsic",name:"number"}},{id:82,name:"otherCrs",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:60,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L60"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/shared/models.ts",qualifiedName:"CrsCode"},name:"CrsCode",package:"@camptocamp/ogc-client"}}},{id:83,name:"outputFormats",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:61,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L61"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/shared/models.ts",qualifiedName:"MimeType"},name:"MimeType",package:"@camptocamp/ogc-client"}}},{id:84,name:"properties",variant:"declaration",kind:1024,flags:{},comment:{summary:[{kind:"text",text:"These properties will *not* include the feature geometry"}]},sources:[{fileName:"wfs/model.ts",line:65,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L65"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Record"},typeArguments:[{type:"intrinsic",name:"string"},{type:"reference",target:74,name:"FeaturePropertyType",package:"@camptocamp/ogc-client"}],name:"Record",package:"typescript"}},{id:78,name:"title",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/model.ts",line:53,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L53"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[79,80,81,85,86,88,77,87,82,83,84,78]}],sources:[{fileName:"wfs/model.ts",line:51,character:33,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L51"}]}}},{id:89,name:"WfsFeatureTypePropDetails",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:97,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L97"}],type:{type:"reflection",declaration:{id:90,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:91,name:"uniqueValues",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:98,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L98"}],type:{type:"array",elementType:{type:"reference",target:93,name:"WfsFeatureTypeUniqueValue",package:"@camptocamp/ogc-client"}}}],groups:[{title:"Properties",children:[91]}],sources:[{fileName:"wfs/model.ts",line:97,character:40,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L97"}]}}},{id:92,name:"WfsFeatureTypePropsDetails",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:101,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L101"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Record"},typeArguments:[{type:"intrinsic",name:"string"},{type:"reference",target:89,name:"WfsFeatureTypePropDetails",package:"@camptocamp/ogc-client"}],name:"Record",package:"typescript"}},{id:57,name:"WfsFeatureTypeSummary",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:37,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L37"}],type:{type:"reflection",declaration:{id:58,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:61,name:"abstract",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/model.ts",line:40,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L40"}],type:{type:"intrinsic",name:"string"}},{id:62,name:"boundingBox",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Expressed in latitudes and longitudes"}]},sources:[{fileName:"wfs/model.ts",line:44,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L44"}],type:{type:"reference",target:234,name:"BoundingBox",package:"@camptocamp/ogc-client"}},{id:63,name:"defaultCrs",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:45,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L45"}],type:{type:"reference",target:{sourceFileName:"../src/shared/models.ts",qualifiedName:"CrsCode"},name:"CrsCode",package:"@camptocamp/ogc-client"}},{id:66,name:"keywords",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/model.ts",line:48,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L48"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:59,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:38,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L38"}],type:{type:"intrinsic",name:"string"}},{id:64,name:"otherCrs",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:46,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L46"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/shared/models.ts",qualifiedName:"CrsCode"},name:"CrsCode",package:"@camptocamp/ogc-client"}}},{id:65,name:"outputFormats",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:47,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L47"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/shared/models.ts",qualifiedName:"MimeType"},name:"MimeType",package:"@camptocamp/ogc-client"}}},{id:60,name:"title",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/model.ts",line:39,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L39"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[61,62,63,66,59,64,65,60]}],sources:[{fileName:"wfs/model.ts",line:37,character:36,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L37"}]}}},{id:93,name:"WfsFeatureTypeUniqueValue",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:92,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L92"}],type:{type:"reflection",declaration:{id:94,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:96,name:"count",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:94,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L94"}],type:{type:"intrinsic",name:"number"}},{id:95,name:"value",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:93,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L93"}],type:{type:"union",types:[{type:"intrinsic",name:"number"},{type:"intrinsic",name:"boolean"},{type:"intrinsic",name:"string"}]}}],groups:[{title:"Properties",children:[96,95]}],sources:[{fileName:"wfs/model.ts",line:92,character:40,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L92"}]}}},{id:53,name:"WfsFeatureWithProps",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:81,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L81"}],type:{type:"reflection",declaration:{id:54,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:55,name:"id",variant:"declaration",kind:1024,flags:{},comment:{summary:[{kind:"text",text:"Feature id"}]},sources:[{fileName:"wfs/model.ts",line:85,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L85"}],type:{type:"intrinsic",name:"string"}},{id:56,name:"properties",variant:"declaration",kind:1024,flags:{},comment:{summary:[{kind:"text",text:"Feature properties"}]},sources:[{fileName:"wfs/model.ts",line:89,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L89"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Record"},typeArguments:[{type:"intrinsic",name:"string"},{type:"reference",target:74,name:"FeaturePropertyType",package:"@camptocamp/ogc-client"}],name:"Record",package:"typescript"}}],groups:[{title:"Properties",children:[55,56]}],sources:[{fileName:"wfs/model.ts",line:81,character:34,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L81"}]}}},{id:52,name:"WfsVersion",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:3,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wfs/model.ts#L3"}],type:{type:"union",types:[{type:"literal",value:"1.0.0"},{type:"literal",value:"1.1.0"},{type:"literal",value:"2.0.0"}]}},{id:148,name:"WmsLayerAttribution",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wms/model.ts",line:3,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L3"}],type:{type:"reflection",declaration:{id:149,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:152,name:"logoUrl",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wms/model.ts",line:6,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L6"}],type:{type:"intrinsic",name:"string"}},{id:150,name:"title",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wms/model.ts",line:4,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L4"}],type:{type:"intrinsic",name:"string"}},{id:151,name:"url",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wms/model.ts",line:5,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L5"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[152,150,151]}],sources:[{fileName:"wms/model.ts",line:3,character:34,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L3"}]}}},{id:130,name:"WmsLayerFull",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wms/model.ts",line:22,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L22"}],type:{type:"reflection",declaration:{id:131,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:134,name:"abstract",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wms/model.ts",line:28,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L28"}],type:{type:"intrinsic",name:"string"}},{id:138,name:"attribution",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wms/model.ts",line:35,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L35"}],type:{type:"reference",target:148,name:"WmsLayerAttribution",package:"@camptocamp/ogc-client"}},{id:135,name:"availableCrs",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wms/model.ts",line:29,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L29"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/shared/models.ts",qualifiedName:"CrsCode"},name:"CrsCode",package:"@camptocamp/ogc-client"}}},{id:137,name:"boundingBoxes",variant:"declaration",kind:1024,flags:{},comment:{summary:[{kind:"text",text:"Dict of bounding boxes where keys are CRS codes"}]},sources:[{fileName:"wms/model.ts",line:34,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L34"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Record"},typeArguments:[{type:"reference",target:{sourceFileName:"../src/shared/models.ts",qualifiedName:"CrsCode"},name:"CrsCode",package:"@camptocamp/ogc-client"},{type:"reference",target:234,name:"BoundingBox",package:"@camptocamp/ogc-client"}],name:"Record",package:"typescript"}},{id:140,name:"children",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Not defined if the layer is a leaf in the tree"}]},sources:[{fileName:"wms/model.ts",line:40,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L40"}],type:{type:"array",elementType:{type:"reference",target:130,name:"WmsLayerFull",package:"@camptocamp/ogc-client"}}},{id:139,name:"keywords",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wms/model.ts",line:36,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L36"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:132,name:"name",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"The layer is renderable if defined"}]},sources:[{fileName:"wms/model.ts",line:26,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L26"}],type:{type:"intrinsic",name:"string"}},{id:136,name:"styles",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wms/model.ts",line:30,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L30"}],type:{type:"array",elementType:{type:"reference",target:229,name:"LayerStyle",package:"@camptocamp/ogc-client"}}},{id:133,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wms/model.ts",line:27,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L27"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[134,138,135,137,140,139,132,136,133]}],sources:[{fileName:"wms/model.ts",line:22,character:27,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L22"}]}}},{id:142,name:"WmsLayerSummary",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wms/model.ts",line:9,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L9"}],type:{type:"reflection",declaration:{id:143,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:146,name:"abstract",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wms/model.ts",line:15,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L15"}],type:{type:"intrinsic",name:"string"}},{id:147,name:"children",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Not defined if the layer is a leaf in the tree"}]},sources:[{fileName:"wms/model.ts",line:19,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L19"}],type:{type:"array",elementType:{type:"reference",target:142,name:"WmsLayerSummary",package:"@camptocamp/ogc-client"}}},{id:144,name:"name",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"The layer is renderable if defined"}]},sources:[{fileName:"wms/model.ts",line:13,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L13"}],type:{type:"intrinsic",name:"string"}},{id:145,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wms/model.ts",line:14,character:2,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L14"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[146,147,144,145]}],sources:[{fileName:"wms/model.ts",line:9,character:30,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L9"}]}}},{id:141,name:"WmsVersion",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wms/model.ts",line:43,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wms/model.ts#L43"}],type:{type:"union",types:[{type:"literal",value:"1.1.0"},{type:"literal",value:"1.1.1"},{type:"literal",value:"1.3.0"}]}},{id:198,name:"WmtsLayerDimensionValue",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wmts/model.ts",line:70,character:12,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/wmts/model.ts#L70"}],type:{type:"intrinsic",name:"string"}},{id:383,name:"CollectionParameterTypes",variant:"declaration",kind:32,flags:{isConst:!0},sources:[{fileName:"ogc-api/model.ts",line:12,character:13,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/ogc-api/model.ts#L12"}],type:{type:"typeOperator",operator:"readonly",target:{type:"tuple",elements:[{type:"literal",value:"string"},{type:"literal",value:"number"},{type:"literal",value:"integer"},{type:"literal",value:"date"},{type:"literal",value:"point"},{type:"literal",value:"linestring"},{type:"literal",value:"polygon"},{type:"literal",value:"geometry"}]}},defaultValue:"..."},{id:376,name:"enableFallbackWithoutWorker",variant:"declaration",kind:64,flags:{},sources:[{fileName:"worker/index.ts",line:21,character:16,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/worker/index.ts#L21"}],signatures:[{id:377,name:"enableFallbackWithoutWorker",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Call once to disable Worker usage completely"}]},sources:[{fileName:"worker/index.ts",line:21,character:16,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/worker/index.ts#L21"}],type:{type:"intrinsic",name:"void"}}]},{id:374,name:"resetFetchOptions",variant:"declaration",kind:64,flags:{},sources:[{fileName:"shared/http-utils.ts",line:30,character:16,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/http-utils.ts#L30"}],signatures:[{id:375,name:"resetFetchOptions",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Resets advanced fetch() options to their defaults"}]},sources:[{fileName:"shared/http-utils.ts",line:30,character:16,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/http-utils.ts#L30"}],type:{type:"intrinsic",name:"void"}}]},{id:371,name:"setFetchOptions",variant:"declaration",kind:64,flags:{},sources:[{fileName:"shared/http-utils.ts",line:15,character:16,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/http-utils.ts#L15"}],signatures:[{id:372,name:"setFetchOptions",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Set advanced options to be used by all fetch() calls"}]},sources:[{fileName:"shared/http-utils.ts",line:15,character:16,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/http-utils.ts#L15"}],parameters:[{id:373,name:"options",variant:"param",kind:32768,flags:{},type:{type:"reference",target:235,name:"FetchOptions",package:"@camptocamp/ogc-client"}}],type:{type:"intrinsic",name:"void"}}]},{id:366,name:"sharedFetch",variant:"declaration",kind:64,flags:{},sources:[{fileName:"shared/http-utils.ts",line:46,character:16,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/http-utils.ts#L46"}],signatures:[{id:367,name:"sharedFetch",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns a promise equivalent to "},{kind:"code",text:"`fetch(url)`"},{kind:"text",text:` but guarded against +this version will most likely be used instead of the highest supported one.`}]},sources:[{fileName:"wms/endpoint.ts",line:127,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L127"}],type:{type:"reference",target:143,name:"WmsVersion",package:"@camptocamp/ogc-client"}}]},{id:106,name:"isReady",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wms/endpoint.ts",line:52,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L52"}],signatures:[{id:107,name:"isReady",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Resolves when the endpoint is ready to use. Returns the same endpoint object for convenience."}],blockTags:[{tag:"@throws",content:[]}]},sources:[{fileName:"wms/endpoint.ts",line:52,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L52"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:97,name:"default",package:"@camptocamp/ogc-client"}],name:"Promise",package:"typescript"}}]}],groups:[{title:"Constructors",children:[98]},{title:"Methods",children:[112,110,119,108,115,117,106]}],sources:[{fileName:"wms/endpoint.ts",line:16,character:21,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/endpoint.ts#L16"}]},{id:155,name:"WmtsEndpoint",variant:"declaration",kind:128,flags:{},comment:{summary:[{kind:"text",text:"Represents a WMTS endpoint advertising several layers."}]},children:[{id:156,name:"constructor",variant:"declaration",kind:512,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:29,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L29"}],signatures:[{id:157,name:"new WmtsEndpoint",variant:"signature",kind:16384,flags:{},comment:{summary:[{kind:"text",text:"Creates a new WMTS endpoint; wait for the "},{kind:"code",text:"`isReady()`"},{kind:"text",text:" promise before using the endpoint methods."}]},sources:[{fileName:"wmts/endpoint.ts",line:29,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L29"}],parameters:[{id:158,name:"url",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:`WMTS endpoint url; can contain any query parameters, these will be used to + initialize the endpoint`}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:155,name:"default",package:"@camptocamp/ogc-client"}}]},{id:192,name:"getDefaultDimensions",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:172,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L172"}],signatures:[{id:193,name:"getDefaultDimensions",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Return an object with all defined dimensions for the layer, as well as their default values."}]},sources:[{fileName:"wmts/endpoint.ts",line:172,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L172"}],parameters:[{id:194,name:"layerName",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Record"},typeArguments:[{type:"intrinsic",name:"string"},{type:"intrinsic",name:"string"}],name:"Record",package:"typescript"}}]},{id:174,name:"getLayerByName",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:99,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L99"}],signatures:[{id:175,name:"getLayerByName",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns a complete layer based on its name +Note: the first matching layer will be returned`}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"return null if layer was not found"}]}]},sources:[{fileName:"wmts/endpoint.ts",line:99,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L99"}],parameters:[{id:176,name:"name",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"Layer name property"}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:217,name:"WmtsLayer",package:"@camptocamp/ogc-client"}}]},{id:179,name:"getLayerResourceLink",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:119,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L119"}],signatures:[{id:180,name:"getLayerResourceLink",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Returns a layer resource link. If no type hint is specified, the first resource will be returned. +A resource link contains a URL as well as an image format and a request encoding (KVP or REST).`}]},sources:[{fileName:"wmts/endpoint.ts",line:119,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L119"}],parameters:[{id:181,name:"layerName",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:182,name:"formatHint",variant:"param",kind:32768,flags:{isOptional:!0},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:201,name:"WmtsLayerResourceLink",package:"@camptocamp/ogc-client"}}]},{id:167,name:"getLayers",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:68,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L68"}],signatures:[{id:168,name:"getLayers",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns the layers advertised in the endpoint."}]},sources:[{fileName:"wmts/endpoint.ts",line:68,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L68"}],type:{type:"array",elementType:{type:"reference",target:217,name:"WmtsLayer",package:"@camptocamp/ogc-client"}}}]},{id:171,name:"getMatrixSetByIdentifier",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:84,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L84"}],signatures:[{id:172,name:"getMatrixSetByIdentifier",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns a matrix set by identifier"}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"return null if matrix set was not found"}]}]},sources:[{fileName:"wmts/endpoint.ts",line:84,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L84"}],parameters:[{id:173,name:"identifier",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:"Matrix set identifier"}]},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:225,name:"WmtsMatrixSet",package:"@camptocamp/ogc-client"}}]},{id:169,name:"getMatrixSets",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:75,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L75"}],signatures:[{id:170,name:"getMatrixSets",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns the matrix sets available for that endpoint. Each matrix set contains a list of tile matrices as well as a supported CRS."}]},sources:[{fileName:"wmts/endpoint.ts",line:75,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L75"}],type:{type:"array",elementType:{type:"reference",target:225,name:"WmtsMatrixSet",package:"@camptocamp/ogc-client"}}}]},{id:196,name:"getOpenLayersTileGrid",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:192,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L192"}],signatures:[{id:197,name:"getOpenLayersTileGrid",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`Creates a WMTSTileGrid instance from the 'ol' package, for a given layer. Optionally, a matrix set +can be provided;`}]},sources:[{fileName:"wmts/endpoint.ts",line:192,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L192"}],parameters:[{id:198,name:"layerName",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:199,name:"matrixSetIdentifier",variant:"param",kind:32768,flags:{isOptional:!0},type:{type:"intrinsic",name:"string"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:{sourceFileName:"../node_modules/ol/tilegrid/WMTS.js",qualifiedName:"WMTSTileGrid"},name:"WMTSTileGrid",package:"ol"}],name:"Promise",package:"typescript"}}]},{id:165,name:"getServiceInfo",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:61,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L61"}],signatures:[{id:166,name:"getServiceInfo",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"A Promise which resolves to the endpoint information."}]},sources:[{fileName:"wmts/endpoint.ts",line:61,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L61"}],type:{type:"reference",target:205,name:"WmtsEndpointInfo",package:"@camptocamp/ogc-client"}}]},{id:177,name:"getSingleLayerName",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:107,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L107"}],signatures:[{id:178,name:"getSingleLayerName",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"If only one single layer is available, return its name; otherwise, returns null;"}]},sources:[{fileName:"wmts/endpoint.ts",line:107,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L107"}],type:{type:"intrinsic",name:"string"}}]},{id:183,name:"getTileUrl",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:144,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L144"}],signatures:[{id:184,name:"getTileUrl",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Generates a URL for a specific tile of a specific layer"}]},sources:[{fileName:"wmts/endpoint.ts",line:144,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L144"}],parameters:[{id:185,name:"layerName",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:186,name:"styleName",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:187,name:"matrixSetName",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:188,name:"tileMatrix",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:189,name:"tileRow",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"number"}},{id:190,name:"tileCol",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"number"}},{id:191,name:"outputFormat",variant:"param",kind:32768,flags:{isOptional:!0},type:{type:"intrinsic",name:"string"}}],type:{type:"intrinsic",name:"string"}}]},{id:163,name:"isReady",variant:"declaration",kind:2048,flags:{},sources:[{fileName:"wmts/endpoint.ts",line:54,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L54"}],signatures:[{id:164,name:"isReady",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Resolves when the endpoint is ready to use. Returns the same endpoint object for convenience."}],blockTags:[{tag:"@throws",content:[]}]},sources:[{fileName:"wmts/endpoint.ts",line:54,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L54"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:155,name:"default",package:"@camptocamp/ogc-client"}],name:"Promise",package:"typescript"}}]}],groups:[{title:"Constructors",children:[156]},{title:"Methods",children:[192,174,179,167,171,169,196,165,177,183,163]}],sources:[{fileName:"wmts/endpoint.ts",line:18,character:21,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/endpoint.ts#L18"}]},{id:387,name:"CollectionParameter",variant:"declaration",kind:256,flags:{},children:[{id:388,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:24,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L24"}],type:{type:"intrinsic",name:"string"}},{id:389,name:"title",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:25,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L25"}],type:{type:"intrinsic",name:"string"}},{id:390,name:"type",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:26,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L26"}],type:{type:"union",types:[{type:"literal",value:"string"},{type:"literal",value:"number"},{type:"literal",value:"linestring"},{type:"literal",value:"polygon"},{type:"literal",value:"point"},{type:"literal",value:"integer"},{type:"literal",value:"date"},{type:"literal",value:"geometry"}]}}],groups:[{title:"Properties",children:[388,389,390]}],sources:[{fileName:"ogc-api/model.ts",line:23,character:17,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L23"}]},{id:237,name:"FetchOptions",variant:"declaration",kind:256,flags:{},children:[{id:240,name:"credentials",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"shared/models.ts",line:23,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L23"}],type:{type:"union",types:[{type:"literal",value:"same-origin"},{type:"literal",value:"include"},{type:"literal",value:"omit"}]}},{id:238,name:"headers",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"shared/models.ts",line:21,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L21"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Record"},typeArguments:[{type:"intrinsic",name:"string"},{type:"intrinsic",name:"string"}],name:"Record",package:"typescript"}},{id:243,name:"integrity",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"shared/models.ts",line:26,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L26"}],type:{type:"intrinsic",name:"string"}},{id:239,name:"mode",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"shared/models.ts",line:22,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L22"}],type:{type:"union",types:[{type:"literal",value:"same-origin"},{type:"literal",value:"cors"},{type:"literal",value:"no-cors"}]}},{id:241,name:"redirect",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"shared/models.ts",line:24,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L24"}],type:{type:"union",types:[{type:"literal",value:"error"},{type:"literal",value:"follow"}]}},{id:242,name:"referrer",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"shared/models.ts",line:25,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L25"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[240,238,243,239,241,242]}],sources:[{fileName:"shared/models.ts",line:20,character:17,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L20"}]},{id:231,name:"LayerStyle",variant:"declaration",kind:256,flags:{},children:[{id:234,name:"abstract",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"shared/models.ts",line:32,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L32"}],type:{type:"intrinsic",name:"string"}},{id:235,name:"legendUrl",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"May not be defined; a GetLegendGraphic operation should work in any case"}]},sources:[{fileName:"shared/models.ts",line:36,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L36"}],type:{type:"intrinsic",name:"string"}},{id:232,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:30,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L30"}],type:{type:"intrinsic",name:"string"}},{id:233,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:31,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L31"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[234,235,232,233]}],sources:[{fileName:"shared/models.ts",line:29,character:17,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L29"}]},{id:391,name:"OgcApiCollectionInfo",variant:"declaration",kind:256,flags:{},comment:{summary:[{kind:"text",text:"Contains all necessary information about a collection of items"}]},children:[{id:398,name:"bulkDownloadLinks",variant:"declaration",kind:1024,flags:{},comment:{summary:[{kind:"text",text:"Map between formats and bulk download links (no filtering, pagination etc.)"}]},sources:[{fileName:"ogc-api/model.ts",line:58,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L58"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Record"},typeArguments:[{type:"intrinsic",name:"string"},{type:"intrinsic",name:"string"}],name:"Record",package:"typescript"}},{id:400,name:"crs",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:60,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L60"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:394,name:"description",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:54,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L54"}],type:{type:"intrinsic",name:"string"}},{id:406,name:"extent",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:66,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L66"}],type:{type:"reference",target:236,name:"BoundingBox",package:"@camptocamp/ogc-client"}},{id:395,name:"id",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:55,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L55"}],type:{type:"intrinsic",name:"string"}},{id:402,name:"itemCount",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:62,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L62"}],type:{type:"intrinsic",name:"number"}},{id:397,name:"itemFormats",variant:"declaration",kind:1024,flags:{},comment:{summary:[{kind:"text",text:"These mime types are available through the "},{kind:"code",text:"`/items`"},{kind:"text",text:` endpoint; + use the `},{kind:"code",text:"`getCollectionItemsUrl`"},{kind:"text",text:" function to generate a URL using one of those formats"}]},sources:[{fileName:"ogc-api/model.ts",line:57,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L57"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:396,name:"itemType",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:56,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L56"}],type:{type:"union",types:[{type:"literal",value:"feature"},{type:"literal",value:"record"}]}},{id:399,name:"jsonDownloadLink",variant:"declaration",kind:1024,flags:{},comment:{summary:[{kind:"text",text:"Link to the first bulk download link using JSON-FG or GeoJSON; null if no link found"}]},sources:[{fileName:"ogc-api/model.ts",line:59,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L59"}],type:{type:"intrinsic",name:"string"}},{id:403,name:"keywords",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:63,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L63"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:404,name:"language",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Language is Iso 2-letter code (e.g. 'en')"}]},sources:[{fileName:"ogc-api/model.ts",line:64,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L64"}],type:{type:"intrinsic",name:"string"}},{id:418,name:"license",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:78,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L78"}],type:{type:"intrinsic",name:"string"}},{id:392,name:"links",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:52,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L52"}],type:{type:"intrinsic",name:"any"}},{id:421,name:"mapTileFormats",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:82,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L82"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:407,name:"publisher",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:67,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L67"}],type:{type:"reflection",declaration:{id:408,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:412,name:"contactInfo",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:71,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L71"}],type:{type:"reflection",declaration:{id:413,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:415,name:"email",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:73,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L73"}],type:{type:"reflection",declaration:{id:416,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:417,name:"work",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:74,character:8,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L74"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[417]}],sources:[{fileName:"ogc-api/model.ts",line:73,character:13,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L73"}]}}},{id:414,name:"phone",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:72,character:6,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L72"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[415,414]}],sources:[{fileName:"ogc-api/model.ts",line:71,character:17,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L71"}]}}},{id:409,name:"individualName",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:68,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L68"}],type:{type:"intrinsic",name:"string"}},{id:410,name:"organizationName",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:69,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L69"}],type:{type:"intrinsic",name:"string"}},{id:411,name:"positionName",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:70,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L70"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[412,409,410,411]}],sources:[{fileName:"ogc-api/model.ts",line:67,character:14,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L67"}]}}},{id:419,name:"queryables",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:79,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L79"}],type:{type:"array",elementType:{type:"reference",target:387,name:"CollectionParameter",package:"@camptocamp/ogc-client"}}},{id:420,name:"sortables",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:80,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L80"}],type:{type:"array",elementType:{type:"reference",target:387,name:"CollectionParameter",package:"@camptocamp/ogc-client"}}},{id:401,name:"storageCrs",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:61,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L61"}],type:{type:"intrinsic",name:"string"}},{id:423,name:"supportedTileMatrixSets",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:84,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L84"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:393,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:53,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L53"}],type:{type:"intrinsic",name:"string"}},{id:405,name:"updated",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:65,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L65"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Date"},name:"Date",package:"typescript"}},{id:422,name:"vectorTileFormats",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:83,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L83"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}}],groups:[{title:"Properties",children:[398,400,394,406,395,402,397,396,399,403,404,418,392,421,407,419,420,401,423,393,405,422]}],sources:[{fileName:"ogc-api/model.ts",line:51,character:17,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L51"}]},{id:424,name:"OgcApiDocumentLink",variant:"declaration",kind:256,flags:{},children:[{id:428,name:"href",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:91,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L91"}],type:{type:"intrinsic",name:"string"}},{id:425,name:"rel",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:88,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L88"}],type:{type:"intrinsic",name:"string"}},{id:427,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:90,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L90"}],type:{type:"intrinsic",name:"string"}},{id:426,name:"type",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:89,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L89"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[428,425,427,426]}],sources:[{fileName:"ogc-api/model.ts",line:87,character:17,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L87"}]},{id:381,name:"OgcApiEndpointInfo",variant:"declaration",kind:256,flags:{},children:[{id:384,name:"attribution",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:9,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L9"}],type:{type:"intrinsic",name:"string"}},{id:383,name:"description",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:8,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L8"}],type:{type:"intrinsic",name:"string"}},{id:382,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:7,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L7"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[384,383,382]}],sources:[{fileName:"ogc-api/model.ts",line:6,character:17,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L6"}]},{id:444,name:"OgcApiRecordContact",variant:"declaration",kind:256,flags:{},children:[{id:447,name:"contactInstructions",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:131,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L131"}],type:{type:"intrinsic",name:"string"}},{id:446,name:"links",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:130,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L130"}],type:{type:"array",elementType:{type:"reference",target:424,name:"OgcApiDocumentLink",package:"@camptocamp/ogc-client"}}},{id:445,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:129,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L129"}],type:{type:"intrinsic",name:"string"}},{id:448,name:"roles",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:132,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L132"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}}],groups:[{title:"Properties",children:[447,446,445,448]}],sources:[{fileName:"ogc-api/model.ts",line:128,character:17,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L128"}]},{id:449,name:"OgcApiRecordLanguage",variant:"declaration",kind:256,flags:{},children:[{id:452,name:"alternate",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:137,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L137"}],type:{type:"intrinsic",name:"string"}},{id:450,name:"code",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:135,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L135"}],type:{type:"intrinsic",name:"string"}},{id:453,name:"dir",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:138,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L138"}],type:{type:"union",types:[{type:"literal",value:"ltr"},{type:"literal",value:"rtl"},{type:"literal",value:"ttb"},{type:"literal",value:"btt"}]}},{id:451,name:"name",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:136,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L136"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[452,450,453,451]}],sources:[{fileName:"ogc-api/model.ts",line:134,character:17,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L134"}]},{id:454,name:"OgcApiRecordProperties",variant:"declaration",kind:256,flags:{},children:[{id:467,name:"contacts",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:154,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L154"}],type:{type:"array",elementType:{type:"reference",target:444,name:"OgcApiRecordContact",package:"@camptocamp/ogc-client"}}},{id:455,name:"created",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:142,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L142"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Date"},name:"Date",package:"typescript"}},{id:459,name:"description",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:146,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L146"}],type:{type:"intrinsic",name:"string"}},{id:465,name:"externalIds",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:152,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L152"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiItemExternalId"},name:"OgcApiItemExternalId",package:"@camptocamp/ogc-client"}}},{id:466,name:"formats",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:153,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L153"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:460,name:"keywords",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:147,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L147"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:462,name:"language",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:149,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L149"}],type:{type:"reference",target:449,name:"OgcApiRecordLanguage",package:"@camptocamp/ogc-client"}},{id:463,name:"languages",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:150,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L150"}],type:{type:"array",elementType:{type:"reference",target:449,name:"OgcApiRecordLanguage",package:"@camptocamp/ogc-client"}}},{id:468,name:"license",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:155,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L155"}],type:{type:"intrinsic",name:"string"}},{id:470,name:"providers",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:157,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L157"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:464,name:"resourceLanguages",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:151,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L151"}],type:{type:"array",elementType:{type:"reference",target:449,name:"OgcApiRecordLanguage",package:"@camptocamp/ogc-client"}}},{id:469,name:"rights",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:156,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L156"}],type:{type:"intrinsic",name:"string"}},{id:461,name:"themes",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:148,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L148"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordTheme"},name:"OgcApiRecordTheme",package:"@camptocamp/ogc-client"}}},{id:458,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:145,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L145"}],type:{type:"intrinsic",name:"string"}},{id:457,name:"type",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:144,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L144"}],type:{type:"intrinsic",name:"string"}},{id:456,name:"updated",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:143,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L143"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Date"},name:"Date",package:"typescript"}}],groups:[{title:"Properties",children:[467,455,459,465,466,460,462,463,468,470,464,469,461,458,457,456]}],sources:[{fileName:"ogc-api/model.ts",line:141,character:17,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L141"}]},{id:481,name:"TileMatrixSet",variant:"declaration",kind:256,flags:{},children:[{id:482,name:"id",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:173,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L173"}],type:{type:"intrinsic",name:"string"}},{id:483,name:"uri",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:174,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L174"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[482,483]}],sources:[{fileName:"ogc-api/model.ts",line:172,character:17,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L172"}]},{id:205,name:"WmtsEndpointInfo",variant:"declaration",kind:256,flags:{},children:[{id:212,name:"abstract",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:11,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L11"}],type:{type:"intrinsic",name:"string"},inheritedFrom:{type:"reference",target:-1,name:"GenericEndpointInfo.abstract"}},{id:214,name:"constraints",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:13,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L13"}],type:{type:"intrinsic",name:"string"},inheritedFrom:{type:"reference",target:-1,name:"GenericEndpointInfo.constraints"}},{id:213,name:"fees",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:12,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L12"}],type:{type:"intrinsic",name:"string"},inheritedFrom:{type:"reference",target:-1,name:"GenericEndpointInfo.fees"}},{id:206,name:"getTileUrls",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:10,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L10"}],type:{type:"reflection",declaration:{id:207,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:208,name:"kvp",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wmts/model.ts",line:11,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L11"}],type:{type:"intrinsic",name:"string"}},{id:209,name:"rest",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wmts/model.ts",line:12,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L12"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[208,209]}],sources:[{fileName:"wmts/model.ts",line:10,character:15,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L10"}]}}},{id:215,name:"keywords",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:14,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L14"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}},inheritedFrom:{type:"reference",target:-1,name:"GenericEndpointInfo.keywords"}},{id:210,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:9,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L9"}],type:{type:"intrinsic",name:"string"},inheritedFrom:{type:"reference",target:-1,name:"GenericEndpointInfo.name"}},{id:216,name:"outputFormats",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"shared/models.ts",line:15,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L15"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}},inheritedFrom:{type:"reference",target:-1,name:"GenericEndpointInfo.outputFormats"}},{id:211,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:10,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L10"}],type:{type:"intrinsic",name:"string"},inheritedFrom:{type:"reference",target:-1,name:"GenericEndpointInfo.title"}}],groups:[{title:"Properties",children:[212,214,213,206,215,210,216,211]}],sources:[{fileName:"wmts/model.ts",line:9,character:17,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L9"}],extendedTypes:[{type:"reference",target:244,name:"GenericEndpointInfo",package:"@camptocamp/ogc-client"}]},{id:217,name:"WmtsLayer",variant:"declaration",kind:256,flags:{},children:[{id:221,name:"defaultStyle",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:82,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L82"}],type:{type:"intrinsic",name:"string"}},{id:224,name:"dimensions",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wmts/model.ts",line:85,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L85"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"LayerDimension"},name:"LayerDimension",package:"@camptocamp/ogc-client"}}},{id:223,name:"latLonBoundingBox",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wmts/model.ts",line:84,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L84"}],type:{type:"reference",target:236,name:"BoundingBox",package:"@camptocamp/ogc-client"}},{id:222,name:"matrixSets",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:83,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L83"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"MatrixSetLink"},name:"MatrixSetLink",package:"@camptocamp/ogc-client"}}},{id:218,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:79,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L79"}],type:{type:"intrinsic",name:"string"}},{id:219,name:"resourceLinks",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:80,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L80"}],type:{type:"array",elementType:{type:"reference",target:201,name:"WmtsLayerResourceLink",package:"@camptocamp/ogc-client"}}},{id:220,name:"styles",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:81,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L81"}],type:{type:"array",elementType:{type:"reference",target:231,name:"LayerStyle",package:"@camptocamp/ogc-client"}}}],groups:[{title:"Properties",children:[221,224,223,222,218,219,220]}],sources:[{fileName:"wmts/model.ts",line:78,character:17,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L78"}]},{id:201,name:"WmtsLayerResourceLink",variant:"declaration",kind:256,flags:{},children:[{id:203,name:"encoding",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:66,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L66"}],type:{type:"reference",target:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsRequestEncoding"},name:"WmtsRequestEncoding",package:"@camptocamp/ogc-client"}},{id:204,name:"format",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:67,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L67"}],type:{type:"intrinsic",name:"string"}},{id:202,name:"url",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:65,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L65"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[203,204,202]}],sources:[{fileName:"wmts/model.ts",line:64,character:17,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L64"}]},{id:225,name:"WmtsMatrixSet",variant:"declaration",kind:256,flags:{},children:[{id:229,name:"boundingBox",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wmts/model.ts",line:46,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L46"}],type:{type:"reference",target:236,name:"BoundingBox",package:"@camptocamp/ogc-client"}},{id:228,name:"crs",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:45,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L45"}],type:{type:"intrinsic",name:"string"}},{id:226,name:"identifier",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:43,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L43"}],type:{type:"intrinsic",name:"string"}},{id:230,name:"tileMatrices",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wmts/model.ts",line:47,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L47"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"TileMatrix"},name:"TileMatrix",package:"@camptocamp/ogc-client"}}},{id:227,name:"wellKnownScaleSet",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wmts/model.ts",line:44,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L44"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[229,228,226,230,227]}],sources:[{fileName:"wmts/model.ts",line:42,character:17,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L42"}]},{id:236,name:"BoundingBox",variant:"declaration",kind:2097152,flags:{},comment:{summary:[{kind:"text",text:"Expressed as minx, miny, maxx, maxy"}]},sources:[{fileName:"shared/models.ts",line:4,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L4"}],type:{type:"tuple",elements:[{type:"intrinsic",name:"number"},{type:"intrinsic",name:"number"},{type:"intrinsic",name:"number"},{type:"intrinsic",name:"number"}]}},{id:386,name:"CollectionParameterType",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:22,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L22"}],type:{type:"indexedAccess",indexType:{type:"intrinsic",name:"number"},objectType:{type:"query",queryType:{type:"reference",target:385,name:"CollectionParameterTypes",package:"@camptocamp/ogc-client"}}}},{id:380,name:"ConformanceClass",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:4,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L4"}],type:{type:"intrinsic",name:"string"}},{id:73,name:"FeatureGeometryType",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:18,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L18"}],type:{type:"union",types:[{type:"literal",value:"linestring"},{type:"literal",value:"polygon"},{type:"literal",value:"point"},{type:"literal",value:"multilinestring"},{type:"literal",value:"multipolygon"},{type:"literal",value:"multipoint"},{type:"literal",value:"unknown"}]}},{id:74,name:"FeaturePropertyType",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:16,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L16"}],type:{type:"union",types:[{type:"intrinsic",name:"string"},{type:"intrinsic",name:"number"},{type:"intrinsic",name:"boolean"}]}},{id:244,name:"GenericEndpointInfo",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"shared/models.ts",line:8,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L8"}],type:{type:"reflection",declaration:{id:245,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:248,name:"abstract",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:11,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L11"}],type:{type:"intrinsic",name:"string"}},{id:250,name:"constraints",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:13,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L13"}],type:{type:"intrinsic",name:"string"}},{id:249,name:"fees",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:12,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L12"}],type:{type:"intrinsic",name:"string"}},{id:251,name:"keywords",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:14,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L14"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:246,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:9,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L9"}],type:{type:"intrinsic",name:"string"}},{id:252,name:"outputFormats",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"shared/models.ts",line:15,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L15"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/shared/models.ts",qualifiedName:"MimeType"},name:"MimeType",package:"@camptocamp/ogc-client"}}},{id:247,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"shared/models.ts",line:10,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L10"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[248,250,249,251,246,252,247]}],sources:[{fileName:"shared/models.ts",line:8,character:34,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/models.ts#L8"}]}},extendedBy:[{type:"reference",target:205,name:"WmtsEndpointInfo"}]},{id:480,name:"OgcApiCollectionItem",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:170,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L170"}],type:{type:"reference",target:471,name:"OgcApiRecord",package:"@camptocamp/ogc-client"}},{id:429,name:"OgcApiDocument",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:94,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L94"}],type:{type:"intersection",types:[{type:"reflection",declaration:{id:430,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:431,name:"links",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:95,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L95"}],type:{type:"array",elementType:{type:"reflection",declaration:{id:432,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:436,name:"href",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:99,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L99"}],type:{type:"intrinsic",name:"string"}},{id:433,name:"rel",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:96,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L96"}],type:{type:"intrinsic",name:"string"}},{id:435,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:98,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L98"}],type:{type:"intrinsic",name:"string"}},{id:434,name:"type",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:97,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L97"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[436,433,435,434]}],sources:[{fileName:"ogc-api/model.ts",line:95,character:9,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L95"}]}}}},{id:437,name:"tilesets",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:101,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L101"}],type:{type:"array",elementType:{type:"reflection",declaration:{id:438,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:441,name:"crs",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:104,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L104"}],type:{type:"intrinsic",name:"string"}},{id:442,name:"dataType",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:105,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L105"}],type:{type:"intrinsic",name:"string"}},{id:443,name:"links",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:106,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L106"}],type:{type:"array",elementType:{type:"reference",target:424,name:"OgcApiDocumentLink",package:"@camptocamp/ogc-client"}}},{id:440,name:"tileMatrixSetURI",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:103,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L103"}],type:{type:"intrinsic",name:"string"}},{id:439,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:102,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L102"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[441,442,443,440,439]}],sources:[{fileName:"ogc-api/model.ts",line:101,character:13,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L101"}]}}}}],groups:[{title:"Properties",children:[431,437]}],sources:[{fileName:"ogc-api/model.ts",line:94,character:29,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L94"}]}},{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Record"},typeArguments:[{type:"intrinsic",name:"string"},{type:"intrinsic",name:"unknown"}],name:"Record",package:"typescript"}]}},{id:471,name:"OgcApiRecord",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:160,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L160"}],type:{type:"reflection",declaration:{id:472,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:479,name:"conformsTo",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:167,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L167"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:476,name:"geometry",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:164,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L164"}],type:{type:"reference",target:{sourceFileName:"../node_modules/@types/geojson/index.d.ts",qualifiedName:"Geometry"},name:"Geometry",package:"@types/geojson"}},{id:473,name:"id",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:161,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L161"}],type:{type:"intrinsic",name:"string"}},{id:478,name:"links",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:166,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L166"}],type:{type:"array",elementType:{type:"reference",target:424,name:"OgcApiDocumentLink",package:"@camptocamp/ogc-client"}}},{id:477,name:"properties",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:165,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L165"}],type:{type:"reference",target:454,name:"OgcApiRecordProperties",package:"@camptocamp/ogc-client"}},{id:475,name:"time",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:163,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L163"}],type:{type:"reference",target:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiTime"},name:"OgcApiTime",package:"@camptocamp/ogc-client"}},{id:474,name:"type",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:162,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L162"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[479,476,473,478,477,475,474]}],sources:[{fileName:"ogc-api/model.ts",line:160,character:27,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L160"}]}}},{id:513,name:"OgcApiStyleMetadata",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:212,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L212"}],type:{type:"reflection",declaration:{id:514,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:521,name:"created",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:219,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L219"}],type:{type:"intrinsic",name:"string"}},{id:517,name:"description",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:215,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L215"}],type:{type:"intrinsic",name:"string"}},{id:515,name:"id",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:213,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L213"}],type:{type:"intrinsic",name:"string"}},{id:518,name:"keywords",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:216,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L216"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:526,name:"layers",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:224,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L224"}],type:{type:"array",elementType:{type:"reflection",declaration:{id:527,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:530,name:"dataType",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:227,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L227"}],type:{type:"union",types:[{type:"literal",value:"vector"},{type:"literal",value:"map"},{type:"literal",value:"coverage"},{type:"literal",value:"model"}]}},{id:529,name:"description",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:226,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L226"}],type:{type:"intrinsic",name:"string"}},{id:531,name:"geometryType",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:228,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L228"}],type:{type:"union",types:[{type:"literal",value:"points"},{type:"literal",value:"lines"},{type:"literal",value:"polygons"},{type:"literal",value:"solids"},{type:"literal",value:"any"}]}},{id:528,name:"id",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:225,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L225"}],type:{type:"intrinsic",name:"string"}},{id:532,name:"propertiesSchema",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:229,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L229"}],type:{type:"intrinsic",name:"any"}},{id:533,name:"sampleData",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:230,character:4,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L230"}],type:{type:"reference",target:424,name:"OgcApiDocumentLink",package:"@camptocamp/ogc-client"}}],groups:[{title:"Properties",children:[530,529,531,528,532,533]}],sources:[{fileName:"ogc-api/model.ts",line:224,character:11,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L224"}]}}}},{id:520,name:"license",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:218,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L218"}],type:{type:"intrinsic",name:"string"}},{id:534,name:"links",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:232,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L232"}],type:{type:"array",elementType:{type:"reference",target:424,name:"OgcApiDocumentLink",package:"@camptocamp/ogc-client"}}},{id:519,name:"pointOfContact",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:217,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L217"}],type:{type:"intrinsic",name:"string"}},{id:523,name:"scope",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:221,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L221"}],type:{type:"literal",value:"style"}},{id:525,name:"stylesheets",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:223,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L223"}],type:{type:"array",elementType:{type:"reference",target:506,name:"OgcApiStylesheet",package:"@camptocamp/ogc-client"}}},{id:516,name:"title",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:214,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L214"}],type:{type:"intrinsic",name:"string"}},{id:522,name:"updated",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:220,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L220"}],type:{type:"intrinsic",name:"string"}},{id:524,name:"version",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:222,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L222"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[521,517,515,518,526,520,534,519,523,525,516,522,524]}],sources:[{fileName:"ogc-api/model.ts",line:212,character:34,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L212"}]}}},{id:502,name:"OgcApiStyleRecord",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:199,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L199"}],type:{type:"reflection",declaration:{id:503,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:505,name:"id",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:201,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L201"}],type:{type:"intrinsic",name:"string"}},{id:504,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:200,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L200"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[505,504]}],sources:[{fileName:"ogc-api/model.ts",line:199,character:32,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L199"}]}}},{id:498,name:"OgcApiStylesDocument",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:194,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L194"}],type:{type:"reflection",declaration:{id:499,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:501,name:"links",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:196,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L196"}],type:{type:"array",elementType:{type:"reference",target:424,name:"OgcApiDocumentLink",package:"@camptocamp/ogc-client"}}},{id:500,name:"styles",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:195,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L195"}],type:{type:"array",elementType:{type:"reference",target:484,name:"StyleItem",package:"@camptocamp/ogc-client"}}}],groups:[{title:"Properties",children:[501,500]}],sources:[{fileName:"ogc-api/model.ts",line:194,character:35,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L194"}]}}},{id:506,name:"OgcApiStylesheet",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:204,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L204"}],type:{type:"reflection",declaration:{id:507,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:508,name:"link",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:205,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L205"}],type:{type:"reference",target:424,name:"OgcApiDocumentLink",package:"@camptocamp/ogc-client"}},{id:512,name:"native",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:209,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L209"}],type:{type:"intrinsic",name:"boolean"}},{id:511,name:"specification",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:208,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L208"}],type:{type:"intrinsic",name:"string"}},{id:509,name:"title",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:206,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L206"}],type:{type:"intrinsic",name:"string"}},{id:510,name:"version",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:207,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L207"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[508,512,511,509,510]}],sources:[{fileName:"ogc-api/model.ts",line:204,character:31,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L204"}]}}},{id:493,name:"OgcStyleBrief",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:188,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L188"}],type:{type:"reflection",declaration:{id:494,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:497,name:"formats",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:191,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L191"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:495,name:"id",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:189,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L189"}],type:{type:"intrinsic",name:"string"}},{id:496,name:"title",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:190,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L190"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[497,495,496]}],sources:[{fileName:"ogc-api/model.ts",line:188,character:28,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L188"}]}}},{id:490,name:"OgcStyleFull",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:184,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L184"}],type:{type:"intersection",types:[{type:"reflection",declaration:{id:491,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:492,name:"stylesheetFormats",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:185,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L185"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}}],groups:[{title:"Properties",children:[492]}],sources:[{fileName:"ogc-api/model.ts",line:184,character:27,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L184"}]}},{type:"reference",target:513,name:"OgcApiStyleMetadata",package:"@camptocamp/ogc-client"}]}},{id:484,name:"StyleItem",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"ogc-api/model.ts",line:177,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L177"}],type:{type:"reflection",declaration:{id:485,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:489,name:"formats",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:181,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L181"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:487,name:"id",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:179,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L179"}],type:{type:"intrinsic",name:"string"}},{id:488,name:"links",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"ogc-api/model.ts",line:180,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L180"}],type:{type:"array",elementType:{type:"reference",target:424,name:"OgcApiDocumentLink",package:"@camptocamp/ogc-client"}}},{id:486,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"ogc-api/model.ts",line:178,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L178"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[489,487,488,486]}],sources:[{fileName:"ogc-api/model.ts",line:177,character:24,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L177"}]}}},{id:67,name:"WfsFeatureTypeBrief",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:27,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L27"}],type:{type:"reflection",declaration:{id:68,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:71,name:"abstract",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/model.ts",line:30,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L30"}],type:{type:"intrinsic",name:"string"}},{id:72,name:"boundingBox",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Expressed in latitudes and longitudes"}]},sources:[{fileName:"wfs/model.ts",line:34,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L34"}],type:{type:"reference",target:236,name:"BoundingBox",package:"@camptocamp/ogc-client"}},{id:69,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:28,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L28"}],type:{type:"intrinsic",name:"string"}},{id:70,name:"title",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/model.ts",line:29,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L29"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[71,72,69,70]}],sources:[{fileName:"wfs/model.ts",line:27,character:34,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L27"}]}}},{id:75,name:"WfsFeatureTypeFull",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:51,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L51"}],type:{type:"reflection",declaration:{id:76,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:79,name:"abstract",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/model.ts",line:54,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L54"}],type:{type:"intrinsic",name:"string"}},{id:80,name:"boundingBox",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Expressed in latitudes and longitudes"}]},sources:[{fileName:"wfs/model.ts",line:58,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L58"}],type:{type:"reference",target:236,name:"BoundingBox",package:"@camptocamp/ogc-client"}},{id:81,name:"defaultCrs",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:59,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L59"}],type:{type:"reference",target:{sourceFileName:"../src/shared/models.ts",qualifiedName:"CrsCode"},name:"CrsCode",package:"@camptocamp/ogc-client"}},{id:85,name:"geometryName",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Not defined if no geometry present"}]},sources:[{fileName:"wfs/model.ts",line:69,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L69"}],type:{type:"intrinsic",name:"string"}},{id:86,name:"geometryType",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Not defined if no geometry present"}]},sources:[{fileName:"wfs/model.ts",line:73,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L73"}],type:{type:"reference",target:73,name:"FeatureGeometryType",package:"@camptocamp/ogc-client"}},{id:88,name:"keywords",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/model.ts",line:78,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L78"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:77,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:52,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L52"}],type:{type:"intrinsic",name:"string"}},{id:87,name:"objectCount",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Not defined if object count could not be determined"}]},sources:[{fileName:"wfs/model.ts",line:77,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L77"}],type:{type:"intrinsic",name:"number"}},{id:82,name:"otherCrs",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:60,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L60"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/shared/models.ts",qualifiedName:"CrsCode"},name:"CrsCode",package:"@camptocamp/ogc-client"}}},{id:83,name:"outputFormats",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:61,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L61"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/shared/models.ts",qualifiedName:"MimeType"},name:"MimeType",package:"@camptocamp/ogc-client"}}},{id:84,name:"properties",variant:"declaration",kind:1024,flags:{},comment:{summary:[{kind:"text",text:"These properties will *not* include the feature geometry"}]},sources:[{fileName:"wfs/model.ts",line:65,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L65"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Record"},typeArguments:[{type:"intrinsic",name:"string"},{type:"reference",target:74,name:"FeaturePropertyType",package:"@camptocamp/ogc-client"}],name:"Record",package:"typescript"}},{id:78,name:"title",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/model.ts",line:53,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L53"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[79,80,81,85,86,88,77,87,82,83,84,78]}],sources:[{fileName:"wfs/model.ts",line:51,character:33,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L51"}]}}},{id:89,name:"WfsFeatureTypePropDetails",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:97,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L97"}],type:{type:"reflection",declaration:{id:90,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:91,name:"uniqueValues",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:98,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L98"}],type:{type:"array",elementType:{type:"reference",target:93,name:"WfsFeatureTypeUniqueValue",package:"@camptocamp/ogc-client"}}}],groups:[{title:"Properties",children:[91]}],sources:[{fileName:"wfs/model.ts",line:97,character:40,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L97"}]}}},{id:92,name:"WfsFeatureTypePropsDetails",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:101,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L101"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Record"},typeArguments:[{type:"intrinsic",name:"string"},{type:"reference",target:89,name:"WfsFeatureTypePropDetails",package:"@camptocamp/ogc-client"}],name:"Record",package:"typescript"}},{id:57,name:"WfsFeatureTypeSummary",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:37,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L37"}],type:{type:"reflection",declaration:{id:58,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:61,name:"abstract",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/model.ts",line:40,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L40"}],type:{type:"intrinsic",name:"string"}},{id:62,name:"boundingBox",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Expressed in latitudes and longitudes"}]},sources:[{fileName:"wfs/model.ts",line:44,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L44"}],type:{type:"reference",target:236,name:"BoundingBox",package:"@camptocamp/ogc-client"}},{id:63,name:"defaultCrs",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:45,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L45"}],type:{type:"reference",target:{sourceFileName:"../src/shared/models.ts",qualifiedName:"CrsCode"},name:"CrsCode",package:"@camptocamp/ogc-client"}},{id:66,name:"keywords",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/model.ts",line:48,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L48"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:59,name:"name",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:38,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L38"}],type:{type:"intrinsic",name:"string"}},{id:64,name:"otherCrs",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:46,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L46"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/shared/models.ts",qualifiedName:"CrsCode"},name:"CrsCode",package:"@camptocamp/ogc-client"}}},{id:65,name:"outputFormats",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:47,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L47"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/shared/models.ts",qualifiedName:"MimeType"},name:"MimeType",package:"@camptocamp/ogc-client"}}},{id:60,name:"title",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wfs/model.ts",line:39,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L39"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[61,62,63,66,59,64,65,60]}],sources:[{fileName:"wfs/model.ts",line:37,character:36,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L37"}]}}},{id:93,name:"WfsFeatureTypeUniqueValue",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:92,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L92"}],type:{type:"reflection",declaration:{id:94,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:96,name:"count",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:94,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L94"}],type:{type:"intrinsic",name:"number"}},{id:95,name:"value",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wfs/model.ts",line:93,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L93"}],type:{type:"union",types:[{type:"intrinsic",name:"number"},{type:"intrinsic",name:"boolean"},{type:"intrinsic",name:"string"}]}}],groups:[{title:"Properties",children:[96,95]}],sources:[{fileName:"wfs/model.ts",line:92,character:40,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L92"}]}}},{id:53,name:"WfsFeatureWithProps",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:81,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L81"}],type:{type:"reflection",declaration:{id:54,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:55,name:"id",variant:"declaration",kind:1024,flags:{},comment:{summary:[{kind:"text",text:"Feature id"}]},sources:[{fileName:"wfs/model.ts",line:85,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L85"}],type:{type:"intrinsic",name:"string"}},{id:56,name:"properties",variant:"declaration",kind:1024,flags:{},comment:{summary:[{kind:"text",text:"Feature properties"}]},sources:[{fileName:"wfs/model.ts",line:89,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L89"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Record"},typeArguments:[{type:"intrinsic",name:"string"},{type:"reference",target:74,name:"FeaturePropertyType",package:"@camptocamp/ogc-client"}],name:"Record",package:"typescript"}}],groups:[{title:"Properties",children:[55,56]}],sources:[{fileName:"wfs/model.ts",line:81,character:34,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L81"}]}}},{id:52,name:"WfsVersion",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wfs/model.ts",line:3,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wfs/model.ts#L3"}],type:{type:"union",types:[{type:"literal",value:"1.0.0"},{type:"literal",value:"1.1.0"},{type:"literal",value:"2.0.0"}]}},{id:150,name:"WmsLayerAttribution",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wms/model.ts",line:3,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L3"}],type:{type:"reflection",declaration:{id:151,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:154,name:"logoUrl",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wms/model.ts",line:6,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L6"}],type:{type:"intrinsic",name:"string"}},{id:152,name:"title",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wms/model.ts",line:4,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L4"}],type:{type:"intrinsic",name:"string"}},{id:153,name:"url",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wms/model.ts",line:5,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L5"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[154,152,153]}],sources:[{fileName:"wms/model.ts",line:3,character:34,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L3"}]}}},{id:130,name:"WmsLayerFull",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wms/model.ts",line:22,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L22"}],type:{type:"reflection",declaration:{id:131,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:134,name:"abstract",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wms/model.ts",line:28,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L28"}],type:{type:"intrinsic",name:"string"}},{id:140,name:"attribution",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wms/model.ts",line:37,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L37"}],type:{type:"reference",target:150,name:"WmsLayerAttribution",package:"@camptocamp/ogc-client"}},{id:135,name:"availableCrs",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wms/model.ts",line:29,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L29"}],type:{type:"array",elementType:{type:"reference",target:{sourceFileName:"../src/shared/models.ts",qualifiedName:"CrsCode"},name:"CrsCode",package:"@camptocamp/ogc-client"}}},{id:137,name:"boundingBoxes",variant:"declaration",kind:1024,flags:{},comment:{summary:[{kind:"text",text:"Dict of bounding boxes where keys are CRS codes"}]},sources:[{fileName:"wms/model.ts",line:34,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L34"}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Record"},typeArguments:[{type:"reference",target:{sourceFileName:"../src/shared/models.ts",qualifiedName:"CrsCode"},name:"CrsCode",package:"@camptocamp/ogc-client"},{type:"reference",target:236,name:"BoundingBox",package:"@camptocamp/ogc-client"}],name:"Record",package:"typescript"}},{id:142,name:"children",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Not defined if the layer is a leaf in the tree"}]},sources:[{fileName:"wms/model.ts",line:42,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L42"}],type:{type:"array",elementType:{type:"reference",target:130,name:"WmsLayerFull",package:"@camptocamp/ogc-client"}}},{id:141,name:"keywords",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wms/model.ts",line:38,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L38"}],type:{type:"array",elementType:{type:"intrinsic",name:"string"}}},{id:132,name:"name",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"The layer is renderable if defined"}]},sources:[{fileName:"wms/model.ts",line:26,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L26"}],type:{type:"intrinsic",name:"string"}},{id:139,name:"opaque",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wms/model.ts",line:36,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L36"}],type:{type:"intrinsic",name:"boolean"}},{id:138,name:"queryable",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wms/model.ts",line:35,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L35"}],type:{type:"intrinsic",name:"boolean"}},{id:136,name:"styles",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wms/model.ts",line:30,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L30"}],type:{type:"array",elementType:{type:"reference",target:231,name:"LayerStyle",package:"@camptocamp/ogc-client"}}},{id:133,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wms/model.ts",line:27,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L27"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[134,140,135,137,142,141,132,139,138,136,133]}],sources:[{fileName:"wms/model.ts",line:22,character:27,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L22"}]}}},{id:144,name:"WmsLayerSummary",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wms/model.ts",line:9,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L9"}],type:{type:"reflection",declaration:{id:145,name:"__type",variant:"declaration",kind:65536,flags:{},children:[{id:148,name:"abstract",variant:"declaration",kind:1024,flags:{isOptional:!0},sources:[{fileName:"wms/model.ts",line:15,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L15"}],type:{type:"intrinsic",name:"string"}},{id:149,name:"children",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"Not defined if the layer is a leaf in the tree"}]},sources:[{fileName:"wms/model.ts",line:19,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L19"}],type:{type:"array",elementType:{type:"reference",target:144,name:"WmsLayerSummary",package:"@camptocamp/ogc-client"}}},{id:146,name:"name",variant:"declaration",kind:1024,flags:{isOptional:!0},comment:{summary:[{kind:"text",text:"The layer is renderable if defined"}]},sources:[{fileName:"wms/model.ts",line:13,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L13"}],type:{type:"intrinsic",name:"string"}},{id:147,name:"title",variant:"declaration",kind:1024,flags:{},sources:[{fileName:"wms/model.ts",line:14,character:2,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L14"}],type:{type:"intrinsic",name:"string"}}],groups:[{title:"Properties",children:[148,149,146,147]}],sources:[{fileName:"wms/model.ts",line:9,character:30,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L9"}]}}},{id:143,name:"WmsVersion",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wms/model.ts",line:45,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wms/model.ts#L45"}],type:{type:"union",types:[{type:"literal",value:"1.1.0"},{type:"literal",value:"1.1.1"},{type:"literal",value:"1.3.0"}]}},{id:200,name:"WmtsLayerDimensionValue",variant:"declaration",kind:2097152,flags:{},sources:[{fileName:"wmts/model.ts",line:70,character:12,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/wmts/model.ts#L70"}],type:{type:"intrinsic",name:"string"}},{id:385,name:"CollectionParameterTypes",variant:"declaration",kind:32,flags:{isConst:!0},sources:[{fileName:"ogc-api/model.ts",line:12,character:13,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/ogc-api/model.ts#L12"}],type:{type:"typeOperator",operator:"readonly",target:{type:"tuple",elements:[{type:"literal",value:"string"},{type:"literal",value:"number"},{type:"literal",value:"integer"},{type:"literal",value:"date"},{type:"literal",value:"point"},{type:"literal",value:"linestring"},{type:"literal",value:"polygon"},{type:"literal",value:"geometry"}]}},defaultValue:"..."},{id:378,name:"enableFallbackWithoutWorker",variant:"declaration",kind:64,flags:{},sources:[{fileName:"worker/index.ts",line:21,character:16,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/worker/index.ts#L21"}],signatures:[{id:379,name:"enableFallbackWithoutWorker",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Call once to disable Worker usage completely"}]},sources:[{fileName:"worker/index.ts",line:21,character:16,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/worker/index.ts#L21"}],type:{type:"intrinsic",name:"void"}}]},{id:376,name:"resetFetchOptions",variant:"declaration",kind:64,flags:{},sources:[{fileName:"shared/http-utils.ts",line:30,character:16,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/http-utils.ts#L30"}],signatures:[{id:377,name:"resetFetchOptions",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Resets advanced fetch() options to their defaults"}]},sources:[{fileName:"shared/http-utils.ts",line:30,character:16,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/http-utils.ts#L30"}],type:{type:"intrinsic",name:"void"}}]},{id:373,name:"setFetchOptions",variant:"declaration",kind:64,flags:{},sources:[{fileName:"shared/http-utils.ts",line:15,character:16,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/http-utils.ts#L15"}],signatures:[{id:374,name:"setFetchOptions",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Set advanced options to be used by all fetch() calls"}]},sources:[{fileName:"shared/http-utils.ts",line:15,character:16,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/http-utils.ts#L15"}],parameters:[{id:375,name:"options",variant:"param",kind:32768,flags:{},type:{type:"reference",target:237,name:"FetchOptions",package:"@camptocamp/ogc-client"}}],type:{type:"intrinsic",name:"void"}}]},{id:368,name:"sharedFetch",variant:"declaration",kind:64,flags:{},sources:[{fileName:"shared/http-utils.ts",line:46,character:16,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/http-utils.ts#L46"}],signatures:[{id:369,name:"sharedFetch",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:"Returns a promise equivalent to "},{kind:"code",text:"`fetch(url)`"},{kind:"text",text:` but guarded against identical concurrent requests -Note: this should only be used for GET requests!`}]},sources:[{fileName:"shared/http-utils.ts",line:46,character:16,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/http-utils.ts#L46"}],parameters:[{id:368,name:"url",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:369,name:"method",variant:"param",kind:32768,flags:{},type:{type:"union",types:[{type:"literal",value:"GET"},{type:"literal",value:"HEAD"}]},defaultValue:"'GET'"},{id:370,name:"asJson",variant:"param",kind:32768,flags:{isOptional:!0},type:{type:"intrinsic",name:"boolean"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"intrinsic",name:"any"}],name:"Promise",package:"typescript"}}]},{id:359,name:"useCache",variant:"declaration",kind:64,flags:{},sources:[{fileName:"shared/cache.ts",line:96,character:22,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/cache.ts#L96"}],signatures:[{id:360,name:"useCache",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`This will skip a long/expensive task and use a cached value if available, +Note: this should only be used for GET requests!`}]},sources:[{fileName:"shared/http-utils.ts",line:46,character:16,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/http-utils.ts#L46"}],parameters:[{id:370,name:"url",variant:"param",kind:32768,flags:{},type:{type:"intrinsic",name:"string"}},{id:371,name:"method",variant:"param",kind:32768,flags:{},type:{type:"union",types:[{type:"literal",value:"GET"},{type:"literal",value:"HEAD"}]},defaultValue:"'GET'"},{id:372,name:"asJson",variant:"param",kind:32768,flags:{isOptional:!0},type:{type:"intrinsic",name:"boolean"}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"intrinsic",name:"any"}],name:"Promise",package:"typescript"}}]},{id:361,name:"useCache",variant:"declaration",kind:64,flags:{},sources:[{fileName:"shared/cache.ts",line:96,character:22,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/cache.ts#L96"}],signatures:[{id:362,name:"useCache",variant:"signature",kind:4096,flags:{},comment:{summary:[{kind:"text",text:`This will skip a long/expensive task and use a cached value if available, otherwise the task will be run normally -Note: outside of a browser's main thread, caching will never happen!`}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"Resolves to either a cached object or a fresh one"}]}]},sources:[{fileName:"shared/cache.ts",line:96,character:22,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/cache.ts#L96"}],typeParameter:[{id:361,name:"T",variant:"typeParam",kind:131072,flags:{}}],parameters:[{id:362,name:"factory",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:`A function encapsulating +Note: outside of a browser's main thread, caching will never happen!`}],blockTags:[{tag:"@returns",content:[{kind:"text",text:"Resolves to either a cached object or a fresh one"}]}]},sources:[{fileName:"shared/cache.ts",line:96,character:22,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/cache.ts#L96"}],typeParameter:[{id:363,name:"T",variant:"typeParam",kind:131072,flags:{}}],parameters:[{id:364,name:"factory",variant:"param",kind:32768,flags:{},comment:{summary:[{kind:"text",text:`A function encapsulating the long/expensive task; non-serializable properties of the returned object -will be set to null`}]},type:{type:"reflection",declaration:{id:363,name:"__type",variant:"declaration",kind:65536,flags:{},sources:[{fileName:"shared/cache.ts",line:97,character:11,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/cache.ts#L97"}],signatures:[{id:364,name:"__type",variant:"signature",kind:4096,flags:{},sources:[{fileName:"shared/cache.ts",line:97,character:11,url:"https://github.com/camptocamp/ogc-client/blob/9671ef49e113ef73999831263ffd313c87c40fa3/src/shared/cache.ts#L97"}],type:{type:"union",types:[{type:"reference",target:361,name:"T",package:"@camptocamp/ogc-client",refersToTypeParameter:!0},{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:361,name:"T",package:"@camptocamp/ogc-client",refersToTypeParameter:!0}],name:"Promise",package:"typescript"}]}}]}}},{id:365,name:"keys",variant:"param",kind:32768,flags:{isRest:!0},comment:{summary:[{kind:"text",text:"Keys will be concatenated for storage"}]},type:{type:"array",elementType:{type:"intrinsic",name:"string"}}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:361,name:"T",package:"@camptocamp/ogc-client",refersToTypeParameter:!0}],name:"Promise",package:"typescript"}}]}],y6=[{title:"Classes",children:[251,1,97,153]},{title:"Interfaces",children:[385,235,229,389,422,379,442,447,452,479,203,215,199,223]},{title:"Type Aliases",children:[234,384,378,73,74,242,478,427,469,511,500,496,504,491,488,482,67,75,89,92,57,93,53,52,148,130,142,141,198]},{title:"Variables",children:[383]},{title:"Functions",children:[376,374,371,366,359]}],b6="@camptocamp/ogc-client",_6=[{kind:"text",text:"# ogc-client [![Latest version on NPM](https://img.shields.io/npm/v/%40camptocamp%2Fogc-client)](https://www.npmjs.com/package/@camptocamp/ogc-client) [![Latest"}],v6={0:{sourceFileName:"../src/index.ts",qualifiedName:""},1:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default"},2:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.__constructor"},3:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default"},4:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"url"},10:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.isReady"},11:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.isReady"},12:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getServiceInfo"},13:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getServiceInfo"},14:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureTypes"},15:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureTypes"},19:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureTypeSummary"},20:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureTypeSummary"},21:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"name"},22:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureTypeFull"},23:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureTypeFull"},24:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"name"},25:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getSingleFeatureTypeName"},26:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getSingleFeatureTypeName"},27:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureTypePropDetails"},28:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureTypePropDetails"},29:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"name"},30:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getVersion"},31:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getVersion"},35:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.supportsJson"},36:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.supportsJson"},37:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"featureType"},38:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.supportsStartIndex"},39:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.supportsStartIndex"},40:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureUrl"},41:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureUrl"},42:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"featureType"},43:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"options"},44:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"__type"},45:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"__type.maxFeatures"},46:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"__type.asJson"},47:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"__type.outputFormat"},48:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"__type.outputCrs"},49:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"__type.extent"},50:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"__type.extentCrs"},51:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"__type.startIndex"},52:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"WfsVersion"},53:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"WfsFeatureWithProps"},54:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type"},55:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.id"},56:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.properties"},57:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"WfsFeatureTypeSummary"},58:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type"},59:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.name"},60:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.title"},61:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.abstract"},62:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.boundingBox"},63:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.defaultCrs"},64:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.otherCrs"},65:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.outputFormats"},66:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.keywords"},67:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"WfsFeatureTypeBrief"},68:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type"},69:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.name"},70:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.title"},71:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.abstract"},72:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.boundingBox"},73:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"FeatureGeometryType"},74:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"FeaturePropertyType"},75:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"WfsFeatureTypeFull"},76:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type"},77:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.name"},78:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.title"},79:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.abstract"},80:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.boundingBox"},81:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.defaultCrs"},82:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.otherCrs"},83:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.outputFormats"},84:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.properties"},85:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.geometryName"},86:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.geometryType"},87:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.objectCount"},88:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.keywords"},89:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"WfsFeatureTypePropDetails"},90:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type"},91:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.uniqueValues"},92:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"WfsFeatureTypePropsDetails"},93:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"WfsFeatureTypeUniqueValue"},94:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type"},95:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.value"},96:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.count"},97:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default"},98:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.__constructor"},99:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default"},100:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"url"},106:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.isReady"},107:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.isReady"},108:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getServiceInfo"},109:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getServiceInfo"},110:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getLayers"},111:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getLayers"},112:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getLayerByName"},113:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getLayerByName"},114:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"name"},115:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getSingleLayerName"},116:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getSingleLayerName"},117:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getVersion"},118:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getVersion"},119:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getMapUrl"},120:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getMapUrl"},121:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"layers"},122:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"options"},123:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"__type"},124:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"__type.widthPx"},125:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"__type.heightPx"},126:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"__type.crs"},127:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"__type.extent"},128:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"__type.outputFormat"},129:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"__type.styles"},130:{sourceFileName:"../src/wms/model.ts",qualifiedName:"WmsLayerFull"},131:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type"},132:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.name"},133:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.title"},134:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.abstract"},135:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.availableCrs"},136:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.styles"},137:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.boundingBoxes"},138:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.attribution"},139:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.keywords"},140:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.children"},141:{sourceFileName:"../src/wms/model.ts",qualifiedName:"WmsVersion"},142:{sourceFileName:"../src/wms/model.ts",qualifiedName:"WmsLayerSummary"},143:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type"},144:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.name"},145:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.title"},146:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.abstract"},147:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.children"},148:{sourceFileName:"../src/wms/model.ts",qualifiedName:"WmsLayerAttribution"},149:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type"},150:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.title"},151:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.url"},152:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.logoUrl"},153:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default"},154:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.__constructor"},155:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default"},156:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"url"},161:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.isReady"},162:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.isReady"},163:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getServiceInfo"},164:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getServiceInfo"},165:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getLayers"},166:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getLayers"},167:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getMatrixSets"},168:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getMatrixSets"},169:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getMatrixSetByIdentifier"},170:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getMatrixSetByIdentifier"},171:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"identifier"},172:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getLayerByName"},173:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getLayerByName"},174:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"name"},175:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getSingleLayerName"},176:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getSingleLayerName"},177:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getLayerResourceLink"},178:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getLayerResourceLink"},179:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"layerName"},180:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"formatHint"},181:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getTileUrl"},182:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getTileUrl"},183:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"layerName"},184:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"styleName"},185:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"matrixSetName"},186:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"tileMatrix"},187:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"tileRow"},188:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"tileCol"},189:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"outputFormat"},190:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getDefaultDimensions"},191:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getDefaultDimensions"},192:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"layerName"},194:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getOpenLayersTileGrid"},195:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getOpenLayersTileGrid"},196:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"layerName"},197:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"matrixSetIdentifier"},198:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayerDimensionValue"},199:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayerResourceLink"},200:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayerResourceLink.url"},201:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayerResourceLink.encoding"},202:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayerResourceLink.format"},203:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsEndpointInfo"},204:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsEndpointInfo.getTileUrls"},205:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"__type"},206:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"__type.kvp"},207:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"__type.rest"},208:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.name"},209:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.title"},210:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.abstract"},211:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.fees"},212:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.constraints"},213:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.keywords"},214:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.outputFormats"},215:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayer"},216:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayer.name"},217:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayer.resourceLinks"},218:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayer.styles"},219:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayer.defaultStyle"},220:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayer.matrixSets"},221:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayer.latLonBoundingBox"},222:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayer.dimensions"},223:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsMatrixSet"},224:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsMatrixSet.identifier"},225:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsMatrixSet.wellKnownScaleSet"},226:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsMatrixSet.crs"},227:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsMatrixSet.boundingBox"},228:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsMatrixSet.tileMatrices"},229:{sourceFileName:"../src/shared/models.ts",qualifiedName:"LayerStyle"},230:{sourceFileName:"../src/shared/models.ts",qualifiedName:"LayerStyle.name"},231:{sourceFileName:"../src/shared/models.ts",qualifiedName:"LayerStyle.title"},232:{sourceFileName:"../src/shared/models.ts",qualifiedName:"LayerStyle.abstract"},233:{sourceFileName:"../src/shared/models.ts",qualifiedName:"LayerStyle.legendUrl"},234:{sourceFileName:"../src/shared/models.ts",qualifiedName:"BoundingBox"},235:{sourceFileName:"../src/shared/models.ts",qualifiedName:"FetchOptions"},236:{sourceFileName:"../src/shared/models.ts",qualifiedName:"FetchOptions.headers"},237:{sourceFileName:"../src/shared/models.ts",qualifiedName:"FetchOptions.mode"},238:{sourceFileName:"../src/shared/models.ts",qualifiedName:"FetchOptions.credentials"},239:{sourceFileName:"../src/shared/models.ts",qualifiedName:"FetchOptions.redirect"},240:{sourceFileName:"../src/shared/models.ts",qualifiedName:"FetchOptions.referrer"},241:{sourceFileName:"../src/shared/models.ts",qualifiedName:"FetchOptions.integrity"},242:{sourceFileName:"../src/shared/models.ts",qualifiedName:"GenericEndpointInfo"},243:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type"},244:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.name"},245:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.title"},246:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.abstract"},247:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.fees"},248:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.constraints"},249:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.keywords"},250:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.outputFormats"},251:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default"},252:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.__constructor"},253:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default"},254:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"baseUrl"},273:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.info"},274:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.info"},275:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.conformanceClasses"},276:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.conformanceClasses"},277:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.allCollections"},278:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.allCollections"},279:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type"},280:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.name"},281:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.hasRecords"},282:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.hasFeatures"},283:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.hasVectorTiles"},284:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.hasMapTiles"},285:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.recordCollections"},286:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.recordCollections"},287:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.featureCollections"},288:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.featureCollections"},289:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.vectorTileCollections"},290:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.vectorTileCollections"},291:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.mapTileCollections"},292:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.mapTileCollections"},293:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.hasTiles"},294:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.hasTiles"},295:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.hasStyles"},296:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.hasStyles"},297:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.hasFeatures"},298:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.hasFeatures"},299:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.hasRecords"},300:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.hasRecords"},301:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.tileMatrixSets"},302:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.tileMatrixSets"},310:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getCollectionInfo"},311:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getCollectionInfo"},312:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"collectionId"},313:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getCollectionItems"},314:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getCollectionItems"},315:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"collectionId"},316:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"limit"},317:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"offset"},318:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"skipGeometry"},319:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"sortby"},320:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"bbox"},321:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"properties"},322:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getCollectionItem"},323:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getCollectionItem"},324:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"collectionId"},325:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"itemId"},326:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getCollectionItemsUrl"},327:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getCollectionItemsUrl"},328:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"collectionId"},329:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"options"},330:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type"},331:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.query"},332:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.asJson"},333:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.outputFormat"},334:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.limit"},335:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.offset"},336:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.outputCrs"},337:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.extent"},338:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.extentCrs"},339:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getVectorTilesetUrl"},340:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getVectorTilesetUrl"},341:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"collectionId"},342:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"tileMatrixSet"},343:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getMapTilesetUrl"},344:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getMapTilesetUrl"},345:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"collectionId"},346:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"tileMatrixSet"},347:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.allStyles"},348:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.allStyles"},349:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"collectionId"},350:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getStyle"},351:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getStyle"},352:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"styleId"},353:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"collectionId"},354:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getStylesheetUrl"},355:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getStylesheetUrl"},356:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"styleId"},357:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"mimeType"},358:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"collectionId"},359:{sourceFileName:"../src/shared/cache.ts",qualifiedName:"useCache"},360:{sourceFileName:"../src/shared/cache.ts",qualifiedName:"useCache"},361:{sourceFileName:"../src/shared/cache.ts",qualifiedName:"T"},362:{sourceFileName:"../src/shared/cache.ts",qualifiedName:"factory"},363:{sourceFileName:"../src/shared/cache.ts",qualifiedName:"__type"},364:{sourceFileName:"../src/shared/cache.ts",qualifiedName:"__type"},365:{sourceFileName:"../src/shared/cache.ts",qualifiedName:"keys"},366:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"sharedFetch"},367:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"sharedFetch"},368:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"url"},369:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"method"},370:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"asJson"},371:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"setFetchOptions"},372:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"setFetchOptions"},373:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"options"},374:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"resetFetchOptions"},375:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"resetFetchOptions"},376:{sourceFileName:"../src/worker/index.ts",qualifiedName:"enableFallbackWithoutWorker"},377:{sourceFileName:"../src/worker/index.ts",qualifiedName:"enableFallbackWithoutWorker"},378:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"ConformanceClass"},379:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiEndpointInfo"},380:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiEndpointInfo.title"},381:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiEndpointInfo.description"},382:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiEndpointInfo.attribution"},383:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"CollectionParameterTypes"},384:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"CollectionParameterType"},385:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"CollectionParameter"},386:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"CollectionParameter.name"},387:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"CollectionParameter.title"},388:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"CollectionParameter.type"},389:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo"},390:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.links"},391:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.title"},392:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.description"},393:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.id"},394:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.itemType"},395:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.itemFormats"},396:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.bulkDownloadLinks"},397:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.jsonDownloadLink"},398:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.crs"},399:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.storageCrs"},400:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.itemCount"},401:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.keywords"},402:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.language"},403:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.updated"},404:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.extent"},405:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.publisher"},406:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},407:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.individualName"},408:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.organizationName"},409:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.positionName"},410:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.contactInfo"},411:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},412:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.phone"},413:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.email"},414:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},415:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.work"},416:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.license"},417:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.queryables"},418:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.sortables"},419:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.mapTileFormats"},420:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.vectorTileFormats"},421:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.supportedTileMatrixSets"},422:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiDocumentLink"},423:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiDocumentLink.rel"},424:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiDocumentLink.type"},425:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiDocumentLink.title"},426:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiDocumentLink.href"},427:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiDocument"},428:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},429:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.links"},430:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},431:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.rel"},432:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.type"},433:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.title"},434:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.href"},435:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.tilesets"},436:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},437:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.title"},438:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.tileMatrixSetURI"},439:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.crs"},440:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.dataType"},441:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.links"},442:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordContact"},443:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordContact.name"},444:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordContact.links"},445:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordContact.contactInstructions"},446:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordContact.roles"},447:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordLanguage"},448:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordLanguage.code"},449:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordLanguage.name"},450:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordLanguage.alternate"},451:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordLanguage.dir"},452:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties"},453:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.created"},454:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.updated"},455:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.type"},456:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.title"},457:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.description"},458:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.keywords"},459:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.themes"},460:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.language"},461:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.languages"},462:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.resourceLanguages"},463:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.externalIds"},464:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.formats"},465:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.contacts"},466:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.license"},467:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.rights"},468:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.providers"},469:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecord"},470:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},471:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.id"},472:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.type"},473:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.time"},474:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.geometry"},475:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.properties"},476:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.links"},477:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.conformsTo"},478:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionItem"},479:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"TileMatrixSet"},480:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"TileMatrixSet.id"},481:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"TileMatrixSet.uri"},482:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"StyleItem"},483:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},484:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.title"},485:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.id"},486:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.links"},487:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.formats"},488:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcStyleFull"},489:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},490:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.stylesheetFormats"},491:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcStyleBrief"},492:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},493:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.id"},494:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.title"},495:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.formats"},496:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiStylesDocument"},497:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},498:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.styles"},499:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.links"},500:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiStyleRecord"},501:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},502:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.title"},503:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.id"},504:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiStylesheet"},505:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},506:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.link"},507:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.title"},508:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.version"},509:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.specification"},510:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.native"},511:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiStyleMetadata"},512:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},513:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.id"},514:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.title"},515:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.description"},516:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.keywords"},517:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.pointOfContact"},518:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.license"},519:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.created"},520:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.updated"},521:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.scope"},522:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.version"},523:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.stylesheets"},524:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.layers"},525:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},526:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.id"},527:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.description"},528:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.dataType"},529:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.geometryType"},530:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.propertiesSchema"},531:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.sampleData"},532:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.links"}},bs={id:h6,name:d6,variant:f6,kind:m6,flags:p6,children:g6,groups:y6,packageName:b6,readme:_6,symbolIdMap:v6};function N6(t){return t.name}function Hf(t){var n,s,a,r,o;const e=(((s=(n=t==null?void 0:t.signatures)==null?void 0:n[0])==null?void 0:s.parameters)||[]).map(l=>{var c,u;return`${(c=l.flags)!=null&&c.isRest?"...":""}${l.name}${(u=l.flags)!=null&&u.optional?"?":""}: ${st(l.type)}`}).join(", ");let i="";return(o=(r=(a=t==null?void 0:t.signatures)==null?void 0:a[0])==null?void 0:r.typeParameter)!=null&&o.length&&(i=`<${t.signatures[0].typeParameter.map(l=>l.name).join(", ")}>`),`${t.name}${i}(${e})`}function w6(t,e){var n,s;const i=(((s=(n=e==null?void 0:e.signatures)==null?void 0:n[0])==null?void 0:s.parameters)||[]).map(a=>{var r;return`${(r=a.flags)!=null&&r.isRest?"...":""}${a.name}: ${st(a.type)}`}).join(", ");return`new ${t.name}(${i})`}function st(t){var e,i,n,s,a;if(!t)return"void";if(t.type==="array")return`${st(t.elementType)}[]`;if(t.type==="union")return t.types.map(st).join(" | ");if(t.type==="intersection")return t.types.map(st).join(" & ");if(t.type==="literal")return`'${t.value}'`;if(t.type==="reflection"&&((i=(e=t.declaration)==null?void 0:e.signatures)!=null&&i.length)){const r=(a=(s=(n=t.declaration)==null?void 0:n.signatures)==null?void 0:s[0])==null?void 0:a.type;return`() => ${st(r)}`}if(t.type==="reference"){switch(t.name){case"Record":return`Record\\<${st(t.typeArguments[0])}, ${st(t.typeArguments[1])}\\>`;case"Response":return"[Response](https://developer.mozilla.org/en-US/docs/Web/API/Response)";case"Promise":return`Promise<${st(t.typeArguments[0])}>`}const r=bs.children.find(o=>o.id===t.target);return r?`[${r.name}](#/api/${r.name})`:t.name}if(t.type==="query"){const r=bs.children.find(o=>o.id===t.queryType.target);return r||t.queryType.name}return t.type==="indexedAccess"?`${st(t.objectType)}[${st(t.indexType)}]`:t.type==="tuple"?`[${t.elements.map(st).join(", ")}]`:t.name}function Zt(t){var e,i,n,s,a,r,o;return(o=((i=(e=t==null?void 0:t.getSignature)==null?void 0:e.comment)==null?void 0:i.summary)||((a=(s=(n=t==null?void 0:t.signatures)==null?void 0:n[0])==null?void 0:s.comment)==null?void 0:a.summary)||((r=t==null?void 0:t.comment)==null?void 0:r.summary))==null?void 0:o.map(l=>l.text).join("")}const x6=["id","href"],C6={__name:"AnchorLink",props:["href"],setup(t){const{href:e}=t,i=Oe(()=>`#/api/${e}`),n=Oe(()=>`/api/${e}`);return(s,a)=>(D(),V("div",null,[x("a",{id:n.value,href:i.value},"#",8,x6)]))}},Ol=We(C6,[["__scopeId","data-v-d2cde500"]]);const Ys=t=>(rn("data-v-537bb5f2"),t=t(),on(),t),F6={class:"card mb-4"},E6=Ys(()=>x("div",{class:"card-header text-uppercase small border-bottom-0 py-1 px-3"}," class ",-1)),k6={class:"card-body pb-0"},M6={class:"mb-3"},I6=["innerHTML"],T6={class:"row"},R6=Ys(()=>x("div",{class:"col-3 text-uppercase text-secondary fw-bold pt-1",style:{"font-size":"0.8em"}}," 📦 constructor ",-1)),L6={class:"col"},S6=["innerHTML"],D6={class:"row"},A6=Ys(()=>x("div",{class:"col-3 text-uppercase text-secondary fw-bold pt-1",style:{"font-size":"0.8em"}}," 💡 property ",-1)),P6={class:"col"},O6=["innerHTML"],G6={class:"row"},Z6=Ys(()=>x("div",{class:"col-3 text-uppercase text-secondary fw-bold pt-1",style:{"font-size":"0.8em"}}," ⚡ method ",-1)),X6={class:"col"},W6=["innerHTML"],V6={class:"row pb-2"},K6=Ys(()=>x("div",{class:"col-3 text-uppercase text-secondary fw-bold pt-1",style:{"font-size":"0.8em"}}," 🌱️ returns ",-1)),U6={class:"col"},B6=["innerHTML"],q6={__name:"ClassCard",props:["apiElement"],setup(t){const i=t.apiElement,n=Oe(()=>i.children.find(h=>h.name==="constructor")),s=Oe(()=>i.children.filter(h=>h.kind&262144)),a=Oe(()=>i.children.filter(h=>h.kind&2048));function r(h){return li(Hf(h))}function o(h){var d,f;return li(st((f=(d=h==null?void 0:h.signatures)==null?void 0:d[0])==null?void 0:f.type))}function l(h){return li(`${h.name}: ${st(h.getSignature.type)}`)}const c=Oe(()=>li(N6(i))),u=Oe(()=>li(w6(i,n.value)));return(h,d)=>(D(),V("div",F6,[B(Ol,{href:be(i).name},null,8,["href"]),E6,x("div",k6,[x("h5",M6,[x("code",{innerHTML:c.value},null,8,I6)]),B(il,{lang:"js",class:"mb-3"},{default:Je(()=>[x("pre",null,"import { "+Ge(be(i).name)+" } from '@camptocamp/ogc-client';",1)]),_:1}),x("div",T6,[R6,x("div",L6,[x("code",{class:"mb-2",innerHTML:u.value},null,8,S6),be(Zt)(n.value)?(D(),xt(Hi,{key:0,class:"mb-2 small",text:be(Zt)(n.value)},null,8,["text"])):De("",!0)])]),(D(!0),V(Re,null,Tt(s.value,f=>(D(),V("div",D6,[A6,x("div",P6,[x("code",{class:"mb-2",innerHTML:l(f)},null,8,O6),be(Zt)(f)?(D(),xt(Hi,{key:0,class:"mb-2 small",text:be(Zt)(f)},null,8,["text"])):De("",!0)])]))),256)),(D(!0),V(Re,null,Tt(a.value,f=>(D(),V("div",G6,[Z6,x("div",X6,[x("code",{class:"mb-2",innerHTML:r(f)},null,8,W6),x("div",V6,[K6,x("div",U6,[x("code",{innerHTML:o(f)},null,8,B6)])]),be(Zt)(f)?(D(),xt(Hi,{key:0,class:"mb-2 small",text:be(Zt)(f)},null,8,["text"])):De("",!0)])]))),256)),B(Hi,{class:"mb-3 mt-2 small",text:be(Zt)(be(i))},null,8,["text"])])]))}},z6=We(q6,[["__scopeId","data-v-537bb5f2"]]);const $f=t=>(rn("data-v-a94003c8"),t=t(),on(),t),Y6={class:"card mb-4"},H6=$f(()=>x("div",{class:"card-header text-uppercase small border-bottom-0 py-1 px-3"}," function ",-1)),$6={class:"card-body pb-0"},j6={class:"mb-3"},J6=["innerHTML"],Q6={key:0,class:"row pb-2"},ew=$f(()=>x("div",{class:"col-3 text-uppercase text-secondary fw-bold pt-1",style:{"font-size":"0.8em"}}," 🌱 returns ",-1)),tw={class:"col"},iw=["innerHTML"],nw={__name:"FunctionCard",props:["apiElement"],setup(t){const i=t.apiElement,n=Oe(()=>li(Hf(i))),s=Oe(()=>{var a,r;return li(st((r=(a=i==null?void 0:i.signatures)==null?void 0:a[0])==null?void 0:r.type))});return(a,r)=>(D(),V("div",Y6,[B(Ol,{href:be(i).name},null,8,["href"]),H6,x("div",$6,[x("h5",j6,[x("code",{innerHTML:n.value},null,8,J6)]),B(il,{lang:"js",class:"mb-3"},{default:Je(()=>[x("pre",null,"import { "+Ge(be(i).name)+" } from '@camptocamp/ogc-client';",1)]),_:1}),s.value&&s.value!=="void"?(D(),V("div",Q6,[ew,x("div",tw,[x("code",{innerHTML:s.value},null,8,iw)])])):De("",!0),B(Hi,{class:"small mt-2",text:be(Zt)(be(i))},null,8,["text"])])]))}},sw=We(nw,[["__scopeId","data-v-a94003c8"]]);const jf=t=>(rn("data-v-0281e21d"),t=t(),on(),t),aw={class:"card mb-4"},rw=jf(()=>x("div",{class:"card-header text-uppercase small border-bottom-0 py-1 px-3"}," type ",-1)),ow={class:"card-body pb-0"},lw={class:"mb-3"},cw=["innerHTML"],uw={key:0,class:"row"},hw={class:"col"},dw=["innerHTML"],fw={class:"row"},mw=jf(()=>x("div",{class:"col-3 text-uppercase text-secondary fw-bold pt-1",style:{"font-size":"0.8em"}}," 💡 property ",-1)),pw={class:"col"},gw=["innerHTML"],yw={__name:"TypeCard",props:["apiElement"],setup(t){const i=t.apiElement,n=Oe(()=>i.kind&256||i.kind&65536||i.kind&2097152&&i.type.type==="reflection"&&i.type.declaration),s=Oe(()=>i.kind&2097152&&!n.value),a=Oe(()=>((i.kind&2097152)>0?i.type.declaration.children:i.children).filter(c=>c.kind&1024));function r(l){return li(`${l.name}: ${st(l.type)}`)}function o(l){return li(st(l))}return(l,c)=>(D(),V("div",aw,[B(Ol,{href:be(i).name},null,8,["href"]),rw,x("div",ow,[x("h5",lw,[x("code",{innerHTML:be(i).name},null,8,cw)]),s.value?(D(),V("div",uw,[x("div",hw,[x("code",{class:"mb-2",innerHTML:o(be(i).type)},null,8,dw)])])):De("",!0),n.value?(D(!0),V(Re,{key:1},Tt(a.value,u=>(D(),V("div",fw,[mw,x("div",pw,[x("code",{class:"mb-2",innerHTML:r(u)},null,8,gw),be(Zt)(u)?(D(),xt(Hi,{key:0,class:"mb-2 small",text:be(Zt)(u)},null,8,["text"])):De("",!0)])]))),256)):De("",!0),B(Hi,{class:"small mt-2",text:be(Zt)(be(i))},null,8,["text"])])]))}},bw=We(yw,[["__scopeId","data-v-0281e21d"]]),Jf={__name:"Api",setup(t){zh(()=>{hljs.highlightAll()});const e=bs.children.filter(s=>s.kind&128),i=bs.children.filter(s=>s.kind&64),n=bs.children.filter(s=>s.kind&256||s.kind&2097152);return(s,a)=>(D(),V("div",null,[(D(!0),V(Re,null,Tt(be(e),r=>(D(),xt(z6,{"api-element":r},null,8,["api-element"]))),256)),(D(!0),V(Re,null,Tt(be(i),r=>(D(),xt(sw,{"api-element":r},null,8,["api-element"]))),256)),(D(!0),V(Re,null,Tt(be(n),r=>(D(),xt(bw,{"api-element":r},null,8,["api-element"]))),256))]))}};const _w={name:"App",components:{Docs:cd,LibLogo:Z1,Demo:Yf,Api:Jf}},vw={class:"container"},Nw={class:"col-8 offset-2"},ww={class:"title text-center",style:{"font-size":"5em",margin:"130px 0 70px"}},xw={class:"d-flex flex-row justify-content-center",style:{"margin-bottom":"70px"}};function Cw(t,e,i,n,s,a){const r=ke("LibLogo"),o=ke("router-link"),l=ke("router-view");return D(),V("div",vw,[x("div",Nw,[x("h1",ww,[B(r)]),x("div",xw,[B(o,{to:"/"},{default:Je(({isActive:c})=>[x("button",{type:"button",class:$i(["btn btn-primary tab-toggle m-3",{"tab-toggle-enabled":c}]),onClick:e[0]||(e[0]=u=>t.tab="docs")}," DOCS ",2)]),_:1}),B(o,{to:"/api"},{default:Je(({isActive:c})=>[x("button",{type:"button",class:$i(["btn btn-primary tab-toggle m-3",{"tab-toggle-enabled":c}]),onClick:e[1]||(e[1]=u=>t.tab="api")}," API ",2)]),_:1}),B(o,{to:"/demo"},{default:Je(({isActive:c})=>[x("button",{type:"button",class:$i(["btn btn-primary tab-toggle m-3",{"tab-toggle-enabled":c}]),onClick:e[2]||(e[2]=u=>t.tab="demo")}," TRY IT! ",2)]),_:1})]),B(l)])])}const Fw=We(_w,[["render",Cw],["__scopeId","data-v-f6302033"]]),Ew=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u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2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35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uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,kw=Object.hasOwnProperty;class Mw{constructor(){this.occurrences,this.reset()}slug(e,i){const n=this;let s=Iw(e,i===!0);const a=s;for(;kw.call(n.occurrences,s);)n.occurrences[a]++,s=a+"-"+n.occurrences[a];return n.occurrences[s]=0,s}reset(){this.occurrences=Object.create(null)}}function Iw(t,e){return typeof t!="string"?"":(e||(t=t.toLowerCase()),t.replace(Ew,"").replace(/ /g,"-"))}let Wu,Vu=[];function Tw({prefix:t=""}={}){return{headerIds:!1,hooks:{preprocess(e){return Vu=[],Wu=new Mw,e}},renderer:{heading(e,i,n){n=n.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"");const s=`${t}${Wu.slug(n)}`,a={level:i,text:e,id:s};return Vu.push(a),`${e} +will be set to null`}]},type:{type:"reflection",declaration:{id:365,name:"__type",variant:"declaration",kind:65536,flags:{},sources:[{fileName:"shared/cache.ts",line:97,character:11,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/cache.ts#L97"}],signatures:[{id:366,name:"__type",variant:"signature",kind:4096,flags:{},sources:[{fileName:"shared/cache.ts",line:97,character:11,url:"https://github.com/camptocamp/ogc-client/blob/377887ee82c2998f9930a5f41076d5e4b55627cc/src/shared/cache.ts#L97"}],type:{type:"union",types:[{type:"reference",target:363,name:"T",package:"@camptocamp/ogc-client",refersToTypeParameter:!0},{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:363,name:"T",package:"@camptocamp/ogc-client",refersToTypeParameter:!0}],name:"Promise",package:"typescript"}]}}]}}},{id:367,name:"keys",variant:"param",kind:32768,flags:{isRest:!0},comment:{summary:[{kind:"text",text:"Keys will be concatenated for storage"}]},type:{type:"array",elementType:{type:"intrinsic",name:"string"}}}],type:{type:"reference",target:{sourceFileName:"node_modules/typescript/lib/lib.es5.d.ts",qualifiedName:"Promise"},typeArguments:[{type:"reference",target:363,name:"T",package:"@camptocamp/ogc-client",refersToTypeParameter:!0}],name:"Promise",package:"typescript"}}]}],yv=[{title:"Classes",children:[253,1,97,155]},{title:"Interfaces",children:[387,237,231,391,424,381,444,449,454,481,205,217,201,225]},{title:"Type Aliases",children:[236,386,380,73,74,244,480,429,471,513,502,498,506,493,490,484,67,75,89,92,57,93,53,52,150,130,144,143,200]},{title:"Variables",children:[385]},{title:"Functions",children:[378,376,373,368,361]}],bv="@camptocamp/ogc-client",_v=[{kind:"text",text:"# ogc-client [![Latest version on NPM](https://img.shields.io/npm/v/%40camptocamp%2Fogc-client)](https://www.npmjs.com/package/@camptocamp/ogc-client) [![Latest"}],vv={0:{sourceFileName:"../src/index.ts",qualifiedName:""},1:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default"},2:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.__constructor"},3:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default"},4:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"url"},10:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.isReady"},11:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.isReady"},12:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getServiceInfo"},13:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getServiceInfo"},14:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureTypes"},15:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureTypes"},19:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureTypeSummary"},20:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureTypeSummary"},21:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"name"},22:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureTypeFull"},23:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureTypeFull"},24:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"name"},25:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getSingleFeatureTypeName"},26:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getSingleFeatureTypeName"},27:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureTypePropDetails"},28:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureTypePropDetails"},29:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"name"},30:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getVersion"},31:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getVersion"},35:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.supportsJson"},36:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.supportsJson"},37:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"featureType"},38:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.supportsStartIndex"},39:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.supportsStartIndex"},40:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureUrl"},41:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"default.getFeatureUrl"},42:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"featureType"},43:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"options"},44:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"__type"},45:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"__type.maxFeatures"},46:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"__type.asJson"},47:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"__type.outputFormat"},48:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"__type.outputCrs"},49:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"__type.extent"},50:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"__type.extentCrs"},51:{sourceFileName:"../src/wfs/endpoint.ts",qualifiedName:"__type.startIndex"},52:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"WfsVersion"},53:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"WfsFeatureWithProps"},54:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type"},55:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.id"},56:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.properties"},57:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"WfsFeatureTypeSummary"},58:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type"},59:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.name"},60:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.title"},61:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.abstract"},62:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.boundingBox"},63:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.defaultCrs"},64:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.otherCrs"},65:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.outputFormats"},66:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.keywords"},67:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"WfsFeatureTypeBrief"},68:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type"},69:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.name"},70:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.title"},71:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.abstract"},72:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.boundingBox"},73:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"FeatureGeometryType"},74:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"FeaturePropertyType"},75:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"WfsFeatureTypeFull"},76:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type"},77:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.name"},78:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.title"},79:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.abstract"},80:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.boundingBox"},81:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.defaultCrs"},82:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.otherCrs"},83:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.outputFormats"},84:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.properties"},85:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.geometryName"},86:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.geometryType"},87:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.objectCount"},88:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.keywords"},89:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"WfsFeatureTypePropDetails"},90:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type"},91:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.uniqueValues"},92:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"WfsFeatureTypePropsDetails"},93:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"WfsFeatureTypeUniqueValue"},94:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type"},95:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.value"},96:{sourceFileName:"../src/wfs/model.ts",qualifiedName:"__type.count"},97:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default"},98:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.__constructor"},99:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default"},100:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"url"},106:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.isReady"},107:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.isReady"},108:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getServiceInfo"},109:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getServiceInfo"},110:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getLayers"},111:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getLayers"},112:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getLayerByName"},113:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getLayerByName"},114:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"name"},115:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getSingleLayerName"},116:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getSingleLayerName"},117:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getVersion"},118:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getVersion"},119:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getMapUrl"},120:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"default.getMapUrl"},121:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"layers"},122:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"options"},123:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"__type"},124:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"__type.widthPx"},125:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"__type.heightPx"},126:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"__type.crs"},127:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"__type.extent"},128:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"__type.outputFormat"},129:{sourceFileName:"../src/wms/endpoint.ts",qualifiedName:"__type.styles"},130:{sourceFileName:"../src/wms/model.ts",qualifiedName:"WmsLayerFull"},131:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type"},132:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.name"},133:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.title"},134:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.abstract"},135:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.availableCrs"},136:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.styles"},137:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.boundingBoxes"},138:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.queryable"},139:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.opaque"},140:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.attribution"},141:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.keywords"},142:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.children"},143:{sourceFileName:"../src/wms/model.ts",qualifiedName:"WmsVersion"},144:{sourceFileName:"../src/wms/model.ts",qualifiedName:"WmsLayerSummary"},145:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type"},146:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.name"},147:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.title"},148:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.abstract"},149:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.children"},150:{sourceFileName:"../src/wms/model.ts",qualifiedName:"WmsLayerAttribution"},151:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type"},152:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.title"},153:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.url"},154:{sourceFileName:"../src/wms/model.ts",qualifiedName:"__type.logoUrl"},155:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default"},156:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.__constructor"},157:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default"},158:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"url"},163:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.isReady"},164:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.isReady"},165:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getServiceInfo"},166:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getServiceInfo"},167:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getLayers"},168:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getLayers"},169:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getMatrixSets"},170:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getMatrixSets"},171:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getMatrixSetByIdentifier"},172:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getMatrixSetByIdentifier"},173:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"identifier"},174:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getLayerByName"},175:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getLayerByName"},176:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"name"},177:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getSingleLayerName"},178:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getSingleLayerName"},179:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getLayerResourceLink"},180:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getLayerResourceLink"},181:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"layerName"},182:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"formatHint"},183:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getTileUrl"},184:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getTileUrl"},185:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"layerName"},186:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"styleName"},187:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"matrixSetName"},188:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"tileMatrix"},189:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"tileRow"},190:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"tileCol"},191:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"outputFormat"},192:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getDefaultDimensions"},193:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getDefaultDimensions"},194:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"layerName"},196:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getOpenLayersTileGrid"},197:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"default.getOpenLayersTileGrid"},198:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"layerName"},199:{sourceFileName:"../src/wmts/endpoint.ts",qualifiedName:"matrixSetIdentifier"},200:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayerDimensionValue"},201:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayerResourceLink"},202:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayerResourceLink.url"},203:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayerResourceLink.encoding"},204:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayerResourceLink.format"},205:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsEndpointInfo"},206:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsEndpointInfo.getTileUrls"},207:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"__type"},208:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"__type.kvp"},209:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"__type.rest"},210:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.name"},211:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.title"},212:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.abstract"},213:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.fees"},214:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.constraints"},215:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.keywords"},216:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.outputFormats"},217:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayer"},218:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayer.name"},219:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayer.resourceLinks"},220:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayer.styles"},221:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayer.defaultStyle"},222:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayer.matrixSets"},223:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayer.latLonBoundingBox"},224:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsLayer.dimensions"},225:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsMatrixSet"},226:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsMatrixSet.identifier"},227:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsMatrixSet.wellKnownScaleSet"},228:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsMatrixSet.crs"},229:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsMatrixSet.boundingBox"},230:{sourceFileName:"../src/wmts/model.ts",qualifiedName:"WmtsMatrixSet.tileMatrices"},231:{sourceFileName:"../src/shared/models.ts",qualifiedName:"LayerStyle"},232:{sourceFileName:"../src/shared/models.ts",qualifiedName:"LayerStyle.name"},233:{sourceFileName:"../src/shared/models.ts",qualifiedName:"LayerStyle.title"},234:{sourceFileName:"../src/shared/models.ts",qualifiedName:"LayerStyle.abstract"},235:{sourceFileName:"../src/shared/models.ts",qualifiedName:"LayerStyle.legendUrl"},236:{sourceFileName:"../src/shared/models.ts",qualifiedName:"BoundingBox"},237:{sourceFileName:"../src/shared/models.ts",qualifiedName:"FetchOptions"},238:{sourceFileName:"../src/shared/models.ts",qualifiedName:"FetchOptions.headers"},239:{sourceFileName:"../src/shared/models.ts",qualifiedName:"FetchOptions.mode"},240:{sourceFileName:"../src/shared/models.ts",qualifiedName:"FetchOptions.credentials"},241:{sourceFileName:"../src/shared/models.ts",qualifiedName:"FetchOptions.redirect"},242:{sourceFileName:"../src/shared/models.ts",qualifiedName:"FetchOptions.referrer"},243:{sourceFileName:"../src/shared/models.ts",qualifiedName:"FetchOptions.integrity"},244:{sourceFileName:"../src/shared/models.ts",qualifiedName:"GenericEndpointInfo"},245:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type"},246:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.name"},247:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.title"},248:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.abstract"},249:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.fees"},250:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.constraints"},251:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.keywords"},252:{sourceFileName:"../src/shared/models.ts",qualifiedName:"__type.outputFormats"},253:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default"},254:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.__constructor"},255:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default"},256:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"baseUrl"},275:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.info"},276:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.info"},277:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.conformanceClasses"},278:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.conformanceClasses"},279:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.allCollections"},280:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.allCollections"},281:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type"},282:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.name"},283:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.hasRecords"},284:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.hasFeatures"},285:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.hasVectorTiles"},286:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.hasMapTiles"},287:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.recordCollections"},288:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.recordCollections"},289:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.featureCollections"},290:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.featureCollections"},291:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.vectorTileCollections"},292:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.vectorTileCollections"},293:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.mapTileCollections"},294:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.mapTileCollections"},295:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.hasTiles"},296:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.hasTiles"},297:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.hasStyles"},298:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.hasStyles"},299:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.hasFeatures"},300:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.hasFeatures"},301:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.hasRecords"},302:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.hasRecords"},303:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.tileMatrixSets"},304:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.tileMatrixSets"},312:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getCollectionInfo"},313:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getCollectionInfo"},314:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"collectionId"},315:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getCollectionItems"},316:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getCollectionItems"},317:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"collectionId"},318:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"limit"},319:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"offset"},320:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"skipGeometry"},321:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"sortby"},322:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"bbox"},323:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"properties"},324:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getCollectionItem"},325:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getCollectionItem"},326:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"collectionId"},327:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"itemId"},328:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getCollectionItemsUrl"},329:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getCollectionItemsUrl"},330:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"collectionId"},331:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"options"},332:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type"},333:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.query"},334:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.asJson"},335:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.outputFormat"},336:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.limit"},337:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.offset"},338:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.outputCrs"},339:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.extent"},340:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"__type.extentCrs"},341:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getVectorTilesetUrl"},342:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getVectorTilesetUrl"},343:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"collectionId"},344:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"tileMatrixSet"},345:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getMapTilesetUrl"},346:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getMapTilesetUrl"},347:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"collectionId"},348:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"tileMatrixSet"},349:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.allStyles"},350:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.allStyles"},351:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"collectionId"},352:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getStyle"},353:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getStyle"},354:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"styleId"},355:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"collectionId"},356:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getStylesheetUrl"},357:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"default.getStylesheetUrl"},358:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"styleId"},359:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"mimeType"},360:{sourceFileName:"../src/ogc-api/endpoint.ts",qualifiedName:"collectionId"},361:{sourceFileName:"../src/shared/cache.ts",qualifiedName:"useCache"},362:{sourceFileName:"../src/shared/cache.ts",qualifiedName:"useCache"},363:{sourceFileName:"../src/shared/cache.ts",qualifiedName:"T"},364:{sourceFileName:"../src/shared/cache.ts",qualifiedName:"factory"},365:{sourceFileName:"../src/shared/cache.ts",qualifiedName:"__type"},366:{sourceFileName:"../src/shared/cache.ts",qualifiedName:"__type"},367:{sourceFileName:"../src/shared/cache.ts",qualifiedName:"keys"},368:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"sharedFetch"},369:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"sharedFetch"},370:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"url"},371:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"method"},372:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"asJson"},373:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"setFetchOptions"},374:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"setFetchOptions"},375:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"options"},376:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"resetFetchOptions"},377:{sourceFileName:"../src/shared/http-utils.ts",qualifiedName:"resetFetchOptions"},378:{sourceFileName:"../src/worker/index.ts",qualifiedName:"enableFallbackWithoutWorker"},379:{sourceFileName:"../src/worker/index.ts",qualifiedName:"enableFallbackWithoutWorker"},380:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"ConformanceClass"},381:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiEndpointInfo"},382:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiEndpointInfo.title"},383:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiEndpointInfo.description"},384:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiEndpointInfo.attribution"},385:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"CollectionParameterTypes"},386:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"CollectionParameterType"},387:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"CollectionParameter"},388:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"CollectionParameter.name"},389:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"CollectionParameter.title"},390:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"CollectionParameter.type"},391:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo"},392:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.links"},393:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.title"},394:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.description"},395:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.id"},396:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.itemType"},397:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.itemFormats"},398:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.bulkDownloadLinks"},399:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.jsonDownloadLink"},400:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.crs"},401:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.storageCrs"},402:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.itemCount"},403:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.keywords"},404:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.language"},405:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.updated"},406:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.extent"},407:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.publisher"},408:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},409:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.individualName"},410:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.organizationName"},411:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.positionName"},412:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.contactInfo"},413:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},414:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.phone"},415:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.email"},416:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},417:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.work"},418:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.license"},419:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.queryables"},420:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.sortables"},421:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.mapTileFormats"},422:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.vectorTileFormats"},423:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionInfo.supportedTileMatrixSets"},424:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiDocumentLink"},425:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiDocumentLink.rel"},426:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiDocumentLink.type"},427:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiDocumentLink.title"},428:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiDocumentLink.href"},429:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiDocument"},430:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},431:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.links"},432:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},433:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.rel"},434:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.type"},435:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.title"},436:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.href"},437:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.tilesets"},438:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},439:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.title"},440:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.tileMatrixSetURI"},441:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.crs"},442:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.dataType"},443:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.links"},444:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordContact"},445:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordContact.name"},446:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordContact.links"},447:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordContact.contactInstructions"},448:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordContact.roles"},449:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordLanguage"},450:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordLanguage.code"},451:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordLanguage.name"},452:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordLanguage.alternate"},453:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordLanguage.dir"},454:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties"},455:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.created"},456:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.updated"},457:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.type"},458:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.title"},459:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.description"},460:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.keywords"},461:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.themes"},462:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.language"},463:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.languages"},464:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.resourceLanguages"},465:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.externalIds"},466:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.formats"},467:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.contacts"},468:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.license"},469:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.rights"},470:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecordProperties.providers"},471:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiRecord"},472:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},473:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.id"},474:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.type"},475:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.time"},476:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.geometry"},477:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.properties"},478:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.links"},479:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.conformsTo"},480:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiCollectionItem"},481:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"TileMatrixSet"},482:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"TileMatrixSet.id"},483:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"TileMatrixSet.uri"},484:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"StyleItem"},485:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},486:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.title"},487:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.id"},488:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.links"},489:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.formats"},490:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcStyleFull"},491:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},492:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.stylesheetFormats"},493:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcStyleBrief"},494:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},495:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.id"},496:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.title"},497:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.formats"},498:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiStylesDocument"},499:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},500:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.styles"},501:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.links"},502:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiStyleRecord"},503:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},504:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.title"},505:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.id"},506:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiStylesheet"},507:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},508:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.link"},509:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.title"},510:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.version"},511:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.specification"},512:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.native"},513:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"OgcApiStyleMetadata"},514:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},515:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.id"},516:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.title"},517:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.description"},518:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.keywords"},519:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.pointOfContact"},520:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.license"},521:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.created"},522:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.updated"},523:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.scope"},524:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.version"},525:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.stylesheets"},526:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.layers"},527:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type"},528:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.id"},529:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.description"},530:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.dataType"},531:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.geometryType"},532:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.propertiesSchema"},533:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.sampleData"},534:{sourceFileName:"../src/ogc-api/model.ts",qualifiedName:"__type.links"}},bs={id:hv,name:dv,variant:mv,kind:fv,flags:pv,children:gv,groups:yv,packageName:bv,readme:_v,symbolIdMap:vv};function Nv(t){return t.name}function Hm(t){var n,s,a,r,o;const e=(((s=(n=t==null?void 0:t.signatures)==null?void 0:n[0])==null?void 0:s.parameters)||[]).map(l=>{var c,u;return`${(c=l.flags)!=null&&c.isRest?"...":""}${l.name}${(u=l.flags)!=null&&u.optional?"?":""}: ${st(l.type)}`}).join(", ");let i="";return(o=(r=(a=t==null?void 0:t.signatures)==null?void 0:a[0])==null?void 0:r.typeParameter)!=null&&o.length&&(i=`<${t.signatures[0].typeParameter.map(l=>l.name).join(", ")}>`),`${t.name}${i}(${e})`}function xv(t,e){var n,s;const i=(((s=(n=e==null?void 0:e.signatures)==null?void 0:n[0])==null?void 0:s.parameters)||[]).map(a=>{var r;return`${(r=a.flags)!=null&&r.isRest?"...":""}${a.name}: ${st(a.type)}`}).join(", ");return`new ${t.name}(${i})`}function st(t){var e,i,n,s,a;if(!t)return"void";if(t.type==="array")return`${st(t.elementType)}[]`;if(t.type==="union")return t.types.map(st).join(" | ");if(t.type==="intersection")return t.types.map(st).join(" & ");if(t.type==="literal")return`'${t.value}'`;if(t.type==="reflection"&&((i=(e=t.declaration)==null?void 0:e.signatures)!=null&&i.length)){const r=(a=(s=(n=t.declaration)==null?void 0:n.signatures)==null?void 0:s[0])==null?void 0:a.type;return`() => ${st(r)}`}if(t.type==="reference"){switch(t.name){case"Record":return`Record\\<${st(t.typeArguments[0])}, ${st(t.typeArguments[1])}\\>`;case"Response":return"[Response](https://developer.mozilla.org/en-US/docs/Web/API/Response)";case"Promise":return`Promise<${st(t.typeArguments[0])}>`}const r=bs.children.find(o=>o.id===t.target);return r?`[${r.name}](#/api/${r.name})`:t.name}if(t.type==="query"){const r=bs.children.find(o=>o.id===t.queryType.target);return r||t.queryType.name}return t.type==="indexedAccess"?`${st(t.objectType)}[${st(t.indexType)}]`:t.type==="tuple"?`[${t.elements.map(st).join(", ")}]`:t.name}function Zt(t){var e,i,n,s,a,r,o;return(o=((i=(e=t==null?void 0:t.getSignature)==null?void 0:e.comment)==null?void 0:i.summary)||((a=(s=(n=t==null?void 0:t.signatures)==null?void 0:n[0])==null?void 0:s.comment)==null?void 0:a.summary)||((r=t==null?void 0:t.comment)==null?void 0:r.summary))==null?void 0:o.map(l=>l.text).join("")}const wv=["id","href"],Cv={__name:"AnchorLink",props:["href"],setup(t){const{href:e}=t,i=Oe(()=>`#/api/${e}`),n=Oe(()=>`/api/${e}`);return(s,a)=>(D(),K("div",null,[w("a",{id:n.value,href:i.value},"#",8,wv)]))}},Ol=We(Cv,[["__scopeId","data-v-d2cde500"]]);const Hs=t=>(rn("data-v-537bb5f2"),t=t(),on(),t),Fv={class:"card mb-4"},Ev=Hs(()=>w("div",{class:"card-header text-uppercase small border-bottom-0 py-1 px-3"}," class ",-1)),kv={class:"card-body pb-0"},Mv={class:"mb-3"},Iv=["innerHTML"],Tv={class:"row"},Rv=Hs(()=>w("div",{class:"col-3 text-uppercase text-secondary fw-bold pt-1",style:{"font-size":"0.8em"}}," 📦 constructor ",-1)),Lv={class:"col"},Sv=["innerHTML"],Dv={class:"row"},Pv=Hs(()=>w("div",{class:"col-3 text-uppercase text-secondary fw-bold pt-1",style:{"font-size":"0.8em"}}," 💡 property ",-1)),Av={class:"col"},Ov=["innerHTML"],Gv={class:"row"},Zv=Hs(()=>w("div",{class:"col-3 text-uppercase text-secondary fw-bold pt-1",style:{"font-size":"0.8em"}}," ⚡ method ",-1)),Xv={class:"col"},Wv=["innerHTML"],Kv={class:"row pb-2"},Vv=Hs(()=>w("div",{class:"col-3 text-uppercase text-secondary fw-bold pt-1",style:{"font-size":"0.8em"}}," 🌱️ returns ",-1)),Uv={class:"col"},Bv=["innerHTML"],qv={__name:"ClassCard",props:["apiElement"],setup(t){const i=t.apiElement,n=Oe(()=>i.children.find(h=>h.name==="constructor")),s=Oe(()=>i.children.filter(h=>h.kind&262144)),a=Oe(()=>i.children.filter(h=>h.kind&2048));function r(h){return li(Hm(h))}function o(h){var d,m;return li(st((m=(d=h==null?void 0:h.signatures)==null?void 0:d[0])==null?void 0:m.type))}function l(h){return li(`${h.name}: ${st(h.getSignature.type)}`)}const c=Oe(()=>li(Nv(i))),u=Oe(()=>li(xv(i,n.value)));return(h,d)=>(D(),K("div",Fv,[B(Ol,{href:be(i).name},null,8,["href"]),Ev,w("div",kv,[w("h5",Mv,[w("code",{innerHTML:c.value},null,8,Iv)]),B(il,{lang:"js",class:"mb-3"},{default:Je(()=>[w("pre",null,"import { "+Ge(be(i).name)+" } from '@camptocamp/ogc-client';",1)]),_:1}),w("div",Tv,[Rv,w("div",Lv,[w("code",{class:"mb-2",innerHTML:u.value},null,8,Sv),be(Zt)(n.value)?(D(),wt(Yi,{key:0,class:"mb-2 small",text:be(Zt)(n.value)},null,8,["text"])):De("",!0)])]),(D(!0),K(Re,null,Tt(s.value,m=>(D(),K("div",Dv,[Pv,w("div",Av,[w("code",{class:"mb-2",innerHTML:l(m)},null,8,Ov),be(Zt)(m)?(D(),wt(Yi,{key:0,class:"mb-2 small",text:be(Zt)(m)},null,8,["text"])):De("",!0)])]))),256)),(D(!0),K(Re,null,Tt(a.value,m=>(D(),K("div",Gv,[Zv,w("div",Xv,[w("code",{class:"mb-2",innerHTML:r(m)},null,8,Wv),w("div",Kv,[Vv,w("div",Uv,[w("code",{innerHTML:o(m)},null,8,Bv)])]),be(Zt)(m)?(D(),wt(Yi,{key:0,class:"mb-2 small",text:be(Zt)(m)},null,8,["text"])):De("",!0)])]))),256)),B(Yi,{class:"mb-3 mt-2 small",text:be(Zt)(be(i))},null,8,["text"])])]))}},zv=We(qv,[["__scopeId","data-v-537bb5f2"]]);const Ym=t=>(rn("data-v-a94003c8"),t=t(),on(),t),Hv={class:"card mb-4"},Yv=Ym(()=>w("div",{class:"card-header text-uppercase small border-bottom-0 py-1 px-3"}," function ",-1)),$v={class:"card-body pb-0"},jv={class:"mb-3"},Jv=["innerHTML"],Qv={key:0,class:"row pb-2"},eN=Ym(()=>w("div",{class:"col-3 text-uppercase text-secondary fw-bold pt-1",style:{"font-size":"0.8em"}}," 🌱 returns ",-1)),tN={class:"col"},iN=["innerHTML"],nN={__name:"FunctionCard",props:["apiElement"],setup(t){const i=t.apiElement,n=Oe(()=>li(Hm(i))),s=Oe(()=>{var a,r;return li(st((r=(a=i==null?void 0:i.signatures)==null?void 0:a[0])==null?void 0:r.type))});return(a,r)=>(D(),K("div",Hv,[B(Ol,{href:be(i).name},null,8,["href"]),Yv,w("div",$v,[w("h5",jv,[w("code",{innerHTML:n.value},null,8,Jv)]),B(il,{lang:"js",class:"mb-3"},{default:Je(()=>[w("pre",null,"import { "+Ge(be(i).name)+" } from '@camptocamp/ogc-client';",1)]),_:1}),s.value&&s.value!=="void"?(D(),K("div",Qv,[eN,w("div",tN,[w("code",{innerHTML:s.value},null,8,iN)])])):De("",!0),B(Yi,{class:"small mt-2",text:be(Zt)(be(i))},null,8,["text"])])]))}},sN=We(nN,[["__scopeId","data-v-a94003c8"]]);const $m=t=>(rn("data-v-0281e21d"),t=t(),on(),t),aN={class:"card mb-4"},rN=$m(()=>w("div",{class:"card-header text-uppercase small border-bottom-0 py-1 px-3"}," type ",-1)),oN={class:"card-body pb-0"},lN={class:"mb-3"},cN=["innerHTML"],uN={key:0,class:"row"},hN={class:"col"},dN=["innerHTML"],mN={class:"row"},fN=$m(()=>w("div",{class:"col-3 text-uppercase text-secondary fw-bold pt-1",style:{"font-size":"0.8em"}}," 💡 property ",-1)),pN={class:"col"},gN=["innerHTML"],yN={__name:"TypeCard",props:["apiElement"],setup(t){const i=t.apiElement,n=Oe(()=>i.kind&256||i.kind&65536||i.kind&2097152&&i.type.type==="reflection"&&i.type.declaration),s=Oe(()=>i.kind&2097152&&!n.value),a=Oe(()=>((i.kind&2097152)>0?i.type.declaration.children:i.children).filter(c=>c.kind&1024));function r(l){return li(`${l.name}: ${st(l.type)}`)}function o(l){return li(st(l))}return(l,c)=>(D(),K("div",aN,[B(Ol,{href:be(i).name},null,8,["href"]),rN,w("div",oN,[w("h5",lN,[w("code",{innerHTML:be(i).name},null,8,cN)]),s.value?(D(),K("div",uN,[w("div",hN,[w("code",{class:"mb-2",innerHTML:o(be(i).type)},null,8,dN)])])):De("",!0),n.value?(D(!0),K(Re,{key:1},Tt(a.value,u=>(D(),K("div",mN,[fN,w("div",pN,[w("code",{class:"mb-2",innerHTML:r(u)},null,8,gN),be(Zt)(u)?(D(),wt(Yi,{key:0,class:"mb-2 small",text:be(Zt)(u)},null,8,["text"])):De("",!0)])]))),256)):De("",!0),B(Yi,{class:"small mt-2",text:be(Zt)(be(i))},null,8,["text"])])]))}},bN=We(yN,[["__scopeId","data-v-0281e21d"]]),jm={__name:"Api",setup(t){zh(()=>{hljs.highlightAll()});const e=bs.children.filter(s=>s.kind&128),i=bs.children.filter(s=>s.kind&64),n=bs.children.filter(s=>s.kind&256||s.kind&2097152);return(s,a)=>(D(),K("div",null,[(D(!0),K(Re,null,Tt(be(e),r=>(D(),wt(zv,{"api-element":r},null,8,["api-element"]))),256)),(D(!0),K(Re,null,Tt(be(i),r=>(D(),wt(sN,{"api-element":r},null,8,["api-element"]))),256)),(D(!0),K(Re,null,Tt(be(n),r=>(D(),wt(bN,{"api-element":r},null,8,["api-element"]))),256))]))}};const _N={name:"App",components:{Docs:cd,LibLogo:Z0,Demo:zm,Api:jm}},vN={class:"container"},NN={class:"col-8 offset-2"},xN={class:"title text-center",style:{"font-size":"5em",margin:"130px 0 70px"}},wN={class:"d-flex flex-row justify-content-center",style:{"margin-bottom":"70px"}};function CN(t,e,i,n,s,a){const r=ke("LibLogo"),o=ke("router-link"),l=ke("router-view");return D(),K("div",vN,[w("div",NN,[w("h1",xN,[B(r)]),w("div",wN,[B(o,{to:"/"},{default:Je(({isActive:c})=>[w("button",{type:"button",class:$i(["btn btn-primary tab-toggle m-3",{"tab-toggle-enabled":c}]),onClick:e[0]||(e[0]=u=>t.tab="docs")}," DOCS ",2)]),_:1}),B(o,{to:"/api"},{default:Je(({isActive:c})=>[w("button",{type:"button",class:$i(["btn btn-primary tab-toggle m-3",{"tab-toggle-enabled":c}]),onClick:e[1]||(e[1]=u=>t.tab="api")}," API ",2)]),_:1}),B(o,{to:"/demo"},{default:Je(({isActive:c})=>[w("button",{type:"button",class:$i(["btn btn-primary tab-toggle m-3",{"tab-toggle-enabled":c}]),onClick:e[2]||(e[2]=u=>t.tab="demo")}," TRY IT! ",2)]),_:1})]),B(l)])])}const FN=We(_N,[["render",CN],["__scopeId","data-v-f6302033"]]),EN=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6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\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB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3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,kN=Object.hasOwnProperty;class MN{constructor(){this.occurrences,this.reset()}slug(e,i){const n=this;let s=IN(e,i===!0);const a=s;for(;kN.call(n.occurrences,s);)n.occurrences[a]++,s=a+"-"+n.occurrences[a];return n.occurrences[s]=0,s}reset(){this.occurrences=Object.create(null)}}function IN(t,e){return typeof t!="string"?"":(e||(t=t.toLowerCase()),t.replace(EN,"").replace(/ /g,"-"))}let Wu,Ku=[];function TN({prefix:t=""}={}){return{headerIds:!1,hooks:{preprocess(e){return Ku=[],Wu=new MN,e}},renderer:{heading(e,i,n){n=n.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"");const s=`${t}${Wu.slug(n)}`,a={level:i,text:e,id:s};return Ku.push(a),`${e} `}}}}/*! * vue-router v4.3.0 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const Nn=typeof document<"u";function Rw(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const xe=Object.assign;function Qr(t,e){const i={};for(const n in e){const s=e[n];i[n]=qt(s)?s.map(t):t(s)}return i}const _s=()=>{},qt=Array.isArray,Qf=/#/g,Lw=/&/g,Sw=/\//g,Dw=/=/g,Aw=/\?/g,em=/\+/g,Pw=/%5B/g,Ow=/%5D/g,tm=/%5E/g,Gw=/%60/g,im=/%7B/g,Zw=/%7C/g,nm=/%7D/g,Xw=/%20/g;function Gl(t){return encodeURI(""+t).replace(Zw,"|").replace(Pw,"[").replace(Ow,"]")}function Ww(t){return Gl(t).replace(im,"{").replace(nm,"}").replace(tm,"^")}function Do(t){return Gl(t).replace(em,"%2B").replace(Xw,"+").replace(Qf,"%23").replace(Lw,"%26").replace(Gw,"`").replace(im,"{").replace(nm,"}").replace(tm,"^")}function Vw(t){return Do(t).replace(Dw,"%3D")}function Kw(t){return Gl(t).replace(Qf,"%23").replace(Aw,"%3F")}function Uw(t){return t==null?"":Kw(t).replace(Sw,"%2F")}function Ds(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const Bw=/\/$/,qw=t=>t.replace(Bw,"");function eo(t,e,i="/"){let n,s={},a="",r="";const o=e.indexOf("#");let l=e.indexOf("?");return o=0&&(l=-1),l>-1&&(n=e.slice(0,l),a=e.slice(l+1,o>-1?o:e.length),s=t(a)),o>-1&&(n=n||e.slice(0,o),r=e.slice(o,e.length)),n=$w(n??e,i),{fullPath:n+(a&&"?")+a+r,path:n,query:s,hash:Ds(r)}}function zw(t,e){const i=e.query?t(e.query):"";return e.path+(i&&"?")+i+(e.hash||"")}function Ku(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function Yw(t,e,i){const n=e.matched.length-1,s=i.matched.length-1;return n>-1&&n===s&&Yn(e.matched[n],i.matched[s])&&sm(e.params,i.params)&&t(e.query)===t(i.query)&&e.hash===i.hash}function Yn(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function sm(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const i in t)if(!Hw(t[i],e[i]))return!1;return!0}function Hw(t,e){return qt(t)?Uu(t,e):qt(e)?Uu(e,t):t===e}function Uu(t,e){return qt(e)?t.length===e.length&&t.every((i,n)=>i===e[n]):t.length===1&&t[0]===e}function $w(t,e){if(t.startsWith("/"))return t;if(!t)return e;const i=e.split("/"),n=t.split("/"),s=n[n.length-1];(s===".."||s===".")&&n.push("");let a=i.length-1,r,o;for(r=0;r1&&a--;else break;return i.slice(0,a).join("/")+"/"+n.slice(r).join("/")}var As;(function(t){t.pop="pop",t.push="push"})(As||(As={}));var vs;(function(t){t.back="back",t.forward="forward",t.unknown=""})(vs||(vs={}));function jw(t){if(!t)if(Nn){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),qw(t)}const Jw=/^[^#]+#/;function Qw(t,e){return t.replace(Jw,"#")+e}function ex(t,e){const i=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{behavior:e.behavior,left:n.left-i.left-(e.left||0),top:n.top-i.top-(e.top||0)}}const Sr=()=>({left:window.scrollX,top:window.scrollY});function tx(t){let e;if("el"in t){const i=t.el,n=typeof i=="string"&&i.startsWith("#"),s=typeof i=="string"?n?document.getElementById(i.slice(1)):document.querySelector(i):i;if(!s)return;e=ex(s,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function Bu(t,e){return(history.state?history.state.position-e:-1)+t}const Ao=new Map;function ix(t,e){Ao.set(t,e)}function nx(t){const e=Ao.get(t);return Ao.delete(t),e}let sx=()=>location.protocol+"//"+location.host;function am(t,e){const{pathname:i,search:n,hash:s}=e,a=t.indexOf("#");if(a>-1){let o=s.includes(t.slice(a))?t.slice(a).length:1,l=s.slice(o);return l[0]!=="/"&&(l="/"+l),Ku(l,"")}return Ku(i,t)+n+s}function ax(t,e,i,n){let s=[],a=[],r=null;const o=({state:d})=>{const f=am(t,location),m=i.value,p=e.value;let y=0;if(d){if(i.value=f,e.value=d,r&&r===m){r=null;return}y=p?d.position-p.position:0}else n(f);s.forEach(_=>{_(i.value,m,{delta:y,type:As.pop,direction:y?y>0?vs.forward:vs.back:vs.unknown})})};function l(){r=i.value}function c(d){s.push(d);const f=()=>{const m=s.indexOf(d);m>-1&&s.splice(m,1)};return a.push(f),f}function u(){const{history:d}=window;d.state&&d.replaceState(xe({},d.state,{scroll:Sr()}),"")}function h(){for(const d of a)d();a=[],window.removeEventListener("popstate",o),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",o),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:h}}function qu(t,e,i,n=!1,s=!1){return{back:t,current:e,forward:i,replaced:n,position:window.history.length,scroll:s?Sr():null}}function rx(t){const{history:e,location:i}=window,n={value:am(t,i)},s={value:e.state};s.value||a(n.value,{back:null,current:n.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function a(l,c,u){const h=t.indexOf("#"),d=h>-1?(i.host&&document.querySelector("base")?t:t.slice(h))+l:sx()+t+l;try{e[u?"replaceState":"pushState"](c,"",d),s.value=c}catch(f){console.error(f),i[u?"replace":"assign"](d)}}function r(l,c){const u=xe({},e.state,qu(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});a(l,u,!0),n.value=l}function o(l,c){const u=xe({},s.value,e.state,{forward:l,scroll:Sr()});a(u.current,u,!0);const h=xe({},qu(n.value,l,null),{position:u.position+1},c);a(l,h,!1),n.value=l}return{location:n,state:s,push:o,replace:r}}function ox(t){t=jw(t);const e=rx(t),i=ax(t,e.state,e.location,e.replace);function n(a,r=!0){r||i.pauseListeners(),history.go(a)}const s=xe({location:"",base:t,go:n,createHref:Qw.bind(null,t)},e,i);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>e.state.value}),s}function lx(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),ox(t)}function cx(t){return typeof t=="string"||t&&typeof t=="object"}function rm(t){return typeof t=="string"||typeof t=="symbol"}const yi={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},om=Symbol("");var zu;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(zu||(zu={}));function Hn(t,e){return xe(new Error,{type:t,[om]:!0},e)}function ai(t,e){return t instanceof Error&&om in t&&(e==null||!!(t.type&e))}const Yu="[^/]+?",ux={sensitive:!1,strict:!1,start:!0,end:!0},hx=/[.+*?^${}()[\]/\\]/g;function dx(t,e){const i=xe({},ux,e),n=[];let s=i.start?"^":"";const a=[];for(const c of t){const u=c.length?[]:[90];i.strict&&!c.length&&(s+="/");for(let h=0;he.length?e.length===1&&e[0]===40+40?1:-1:0}function mx(t,e){let i=0;const n=t.score,s=e.score;for(;i0&&e[e.length-1]<0}const px={type:0,value:""},gx=/[a-zA-Z0-9_]/;function yx(t){if(!t)return[[]];if(t==="/")return[[px]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(f){throw new Error(`ERR (${i})/"${c}": ${f}`)}let i=0,n=i;const s=[];let a;function r(){a&&s.push(a),a=[]}let o=0,l,c="",u="";function h(){c&&(i===0?a.push({type:0,value:c}):i===1||i===2||i===3?(a.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;o{r(v)}:_s}function r(u){if(rm(u)){const h=n.get(u);h&&(n.delete(u),i.splice(i.indexOf(h),1),h.children.forEach(r),h.alias.forEach(r))}else{const h=i.indexOf(u);h>-1&&(i.splice(h,1),u.record.name&&n.delete(u.record.name),u.children.forEach(r),u.alias.forEach(r))}}function o(){return i}function l(u){let h=0;for(;h=0&&(u.record.path!==i[h].record.path||!lm(u,i[h]));)h++;i.splice(h,0,u),u.record.name&&!ju(u)&&n.set(u.record.name,u)}function c(u,h){let d,f={},m,p;if("name"in u&&u.name){if(d=n.get(u.name),!d)throw Hn(1,{location:u});p=d.record.name,f=xe($u(h.params,d.keys.filter(v=>!v.optional).concat(d.parent?d.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),u.params&&$u(u.params,d.keys.map(v=>v.name))),m=d.stringify(f)}else if(u.path!=null)m=u.path,d=i.find(v=>v.re.test(m)),d&&(f=d.parse(m),p=d.record.name);else{if(d=h.name?n.get(h.name):i.find(v=>v.re.test(h.path)),!d)throw Hn(1,{location:u,currentLocation:h});p=d.record.name,f=xe({},h.params,u.params),m=d.stringify(f)}const y=[];let _=d;for(;_;)y.unshift(_.record),_=_.parent;return{name:p,path:m,params:f,matched:y,meta:wx(y)}}return t.forEach(u=>a(u)),{addRoute:a,resolve:c,removeRoute:r,getRoutes:o,getRecordMatcher:s}}function $u(t,e){const i={};for(const n of e)n in t&&(i[n]=t[n]);return i}function vx(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:Nx(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function Nx(t){const e={},i=t.props||!1;if("component"in t)e.default=i;else for(const n in t.components)e[n]=typeof i=="object"?i[n]:i;return e}function ju(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function wx(t){return t.reduce((e,i)=>xe(e,i.meta),{})}function Ju(t,e){const i={};for(const n in t)i[n]=n in e?e[n]:t[n];return i}function lm(t,e){return e.children.some(i=>i===t||lm(t,i))}function xx(t){const e={};if(t===""||t==="?")return e;const n=(t[0]==="?"?t.slice(1):t).split("&");for(let s=0;sa&&Do(a)):[n&&Do(n)]).forEach(a=>{a!==void 0&&(e+=(e.length?"&":"")+i,a!=null&&(e+="="+a))})}return e}function Cx(t){const e={};for(const i in t){const n=t[i];n!==void 0&&(e[i]=qt(n)?n.map(s=>s==null?null:""+s):n==null?n:""+n)}return e}const Fx=Symbol(""),eh=Symbol(""),Zl=Symbol(""),cm=Symbol(""),Po=Symbol("");function rs(){let t=[];function e(n){return t.push(n),()=>{const s=t.indexOf(n);s>-1&&t.splice(s,1)}}function i(){t=[]}return{add:e,list:()=>t.slice(),reset:i}}function wi(t,e,i,n,s,a=r=>r()){const r=n&&(n.enterCallbacks[s]=n.enterCallbacks[s]||[]);return()=>new Promise((o,l)=>{const c=d=>{d===!1?l(Hn(4,{from:i,to:e})):d instanceof Error?l(d):cx(d)?l(Hn(2,{from:e,to:d})):(r&&n.enterCallbacks[s]===r&&typeof d=="function"&&r.push(d),o())},u=a(()=>t.call(n&&n.instances[s],e,i,c));let h=Promise.resolve(u);t.length<3&&(h=h.then(c)),h.catch(d=>l(d))})}function to(t,e,i,n,s=a=>a()){const a=[];for(const r of t)for(const o in r.components){let l=r.components[o];if(!(e!=="beforeRouteEnter"&&!r.instances[o]))if(Ex(l)){const u=(l.__vccOpts||l)[e];u&&a.push(wi(u,i,n,r,o,s))}else{let c=l();a.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${r.path}"`));const h=Rw(u)?u.default:u;r.components[o]=h;const f=(h.__vccOpts||h)[e];return f&&wi(f,i,n,r,o,s)()}))}}return a}function Ex(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function th(t){const e=hi(Zl),i=hi(cm),n=Oe(()=>e.resolve(be(t.to))),s=Oe(()=>{const{matched:l}=n.value,{length:c}=l,u=l[c-1],h=i.matched;if(!u||!h.length)return-1;const d=h.findIndex(Yn.bind(null,u));if(d>-1)return d;const f=ih(l[c-2]);return c>1&&ih(u)===f&&h[h.length-1].path!==f?h.findIndex(Yn.bind(null,l[c-2])):d}),a=Oe(()=>s.value>-1&&Tx(i.params,n.value.params)),r=Oe(()=>s.value>-1&&s.value===i.matched.length-1&&sm(i.params,n.value.params));function o(l={}){return Ix(l)?e[be(t.replace)?"replace":"push"](be(t.to)).catch(_s):Promise.resolve()}return{route:n,href:Oe(()=>n.value.href),isActive:a,isExactActive:r,navigate:o}}const kx=Uh({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:th,setup(t,{slots:e}){const i=ar(th(t)),{options:n}=hi(Zl),s=Oe(()=>({[nh(t.activeClass,n.linkActiveClass,"router-link-active")]:i.isActive,[nh(t.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{const a=e.default&&e.default(i);return t.custom?a:ld("a",{"aria-current":i.isExactActive?t.ariaCurrentValue:null,href:i.href,onClick:i.navigate,class:s.value},a)}}}),Mx=kx;function Ix(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function Tx(t,e){for(const i in e){const n=e[i],s=t[i];if(typeof n=="string"){if(n!==s)return!1}else if(!qt(s)||s.length!==n.length||n.some((a,r)=>a!==s[r]))return!1}return!0}function ih(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const nh=(t,e,i)=>t??e??i,Rx=Uh({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:i}){const n=hi(Po),s=Oe(()=>t.route||n.value),a=hi(eh,0),r=Oe(()=>{let c=be(a);const{matched:u}=s.value;let h;for(;(h=u[c])&&!h.components;)c++;return c}),o=Oe(()=>s.value.matched[r.value]);_a(eh,Oe(()=>r.value+1)),_a(Fx,o),_a(Po,s);const l=pp();return ba(()=>[l.value,o.value,t.name],([c,u,h],[d,f,m])=>{u&&(u.instances[h]=c,f&&f!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=f.leaveGuards),u.updateGuards.size||(u.updateGuards=f.updateGuards))),c&&u&&(!f||!Yn(u,f)||!d)&&(u.enterCallbacks[h]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=s.value,u=t.name,h=o.value,d=h&&h.components[u];if(!d)return sh(i.default,{Component:d,route:c});const f=h.props[u],m=f?f===!0?c.params:typeof f=="function"?f(c):f:null,y=ld(d,xe({},m,e,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return sh(i.default,{Component:y,route:c})||y}}});function sh(t,e){if(!t)return null;const i=t(e);return i.length===1?i[0]:i}const Lx=Rx;function Sx(t){const e=_x(t.routes,t),i=t.parseQuery||xx,n=t.stringifyQuery||Qu,s=t.history,a=rs(),r=rs(),o=rs(),l=gp(yi);let c=yi;Nn&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Qr.bind(null,E=>""+E),h=Qr.bind(null,Uw),d=Qr.bind(null,Ds);function f(E,Z){let A,q;return rm(E)?(A=e.getRecordMatcher(E),q=Z):q=E,e.addRoute(q,A)}function m(E){const Z=e.getRecordMatcher(E);Z&&e.removeRoute(Z)}function p(){return e.getRoutes().map(E=>E.record)}function y(E){return!!e.getRecordMatcher(E)}function _(E,Z){if(Z=xe({},Z||l.value),typeof E=="string"){const N=eo(i,E,Z.path),k=e.resolve({path:N.path},Z),M=s.createHref(N.fullPath);return xe(N,k,{params:d(k.params),hash:Ds(N.hash),redirectedFrom:void 0,href:M})}let A;if(E.path!=null)A=xe({},E,{path:eo(i,E.path,Z.path).path});else{const N=xe({},E.params);for(const k in N)N[k]==null&&delete N[k];A=xe({},E,{params:h(N)}),Z.params=h(Z.params)}const q=e.resolve(A,Z),ce=E.hash||"";q.params=u(d(q.params));const g=zw(n,xe({},E,{hash:Ww(ce),path:q.path})),b=s.createHref(g);return xe({fullPath:g,hash:ce,query:n===Qu?Cx(E.query):E.query||{}},q,{redirectedFrom:void 0,href:b})}function v(E){return typeof E=="string"?eo(i,E,l.value.path):xe({},E)}function C(E,Z){if(c!==E)return Hn(8,{from:Z,to:E})}function w(E){return $(E)}function F(E){return w(xe(v(E),{replace:!0}))}function L(E){const Z=E.matched[E.matched.length-1];if(Z&&Z.redirect){const{redirect:A}=Z;let q=typeof A=="function"?A(E):A;return typeof q=="string"&&(q=q.includes("?")||q.includes("#")?q=v(q):{path:q},q.params={}),xe({query:E.query,hash:E.hash,params:q.path!=null?{}:E.params},q)}}function $(E,Z){const A=c=_(E),q=l.value,ce=E.state,g=E.force,b=E.replace===!0,N=L(A);if(N)return $(xe(v(N),{state:typeof N=="object"?xe({},ce,N.state):ce,force:g,replace:b}),Z||A);const k=A;k.redirectedFrom=Z;let M;return!g&&Yw(n,q,A)&&(M=Hn(16,{to:k,from:q}),ot(q,q,!0,!1)),(M?Promise.resolve(M):oe(k,q)).catch(I=>ai(I)?ai(I,2)?I:$e(I):se(I,k,q)).then(I=>{if(I){if(ai(I,2))return $(xe({replace:b},v(I.to),{state:typeof I.to=="object"?xe({},ce,I.to.state):ce,force:g}),Z||k)}else I=Ye(k,q,!0,b,ce);return _e(k,q,I),I})}function Y(E,Z){const A=C(E,Z);return A?Promise.reject(A):Promise.resolve()}function re(E){const Z=pe.values().next().value;return Z&&typeof Z.runWithContext=="function"?Z.runWithContext(E):E()}function oe(E,Z){let A;const[q,ce,g]=Dx(E,Z);A=to(q.reverse(),"beforeRouteLeave",E,Z);for(const N of q)N.leaveGuards.forEach(k=>{A.push(wi(k,E,Z))});const b=Y.bind(null,E,Z);return A.push(b),Ae(A).then(()=>{A=[];for(const N of a.list())A.push(wi(N,E,Z));return A.push(b),Ae(A)}).then(()=>{A=to(ce,"beforeRouteUpdate",E,Z);for(const N of ce)N.updateGuards.forEach(k=>{A.push(wi(k,E,Z))});return A.push(b),Ae(A)}).then(()=>{A=[];for(const N of g)if(N.beforeEnter)if(qt(N.beforeEnter))for(const k of N.beforeEnter)A.push(wi(k,E,Z));else A.push(wi(N.beforeEnter,E,Z));return A.push(b),Ae(A)}).then(()=>(E.matched.forEach(N=>N.enterCallbacks={}),A=to(g,"beforeRouteEnter",E,Z,re),A.push(b),Ae(A))).then(()=>{A=[];for(const N of r.list())A.push(wi(N,E,Z));return A.push(b),Ae(A)}).catch(N=>ai(N,8)?N:Promise.reject(N))}function _e(E,Z,A){o.list().forEach(q=>re(()=>q(E,Z,A)))}function Ye(E,Z,A,q,ce){const g=C(E,Z);if(g)return g;const b=Z===yi,N=Nn?history.state:{};A&&(q||b?s.replace(E.fullPath,xe({scroll:b&&N&&N.scroll},ce)):s.push(E.fullPath,ce)),l.value=E,ot(E,Z,A,b),$e()}let Ve;function Et(){Ve||(Ve=s.listen((E,Z,A)=>{if(!Se.listening)return;const q=_(E),ce=L(q);if(ce){$(xe(ce,{replace:!0}),q).catch(_s);return}c=q;const g=l.value;Nn&&ix(Bu(g.fullPath,A.delta),Sr()),oe(q,g).catch(b=>ai(b,12)?b:ai(b,2)?($(b.to,q).then(N=>{ai(N,20)&&!A.delta&&A.type===As.pop&&s.go(-1,!1)}).catch(_s),Promise.reject()):(A.delta&&s.go(-A.delta,!1),se(b,q,g))).then(b=>{b=b||Ye(q,g,!1),b&&(A.delta&&!ai(b,8)?s.go(-A.delta,!1):A.type===As.pop&&ai(b,20)&&s.go(-1,!1)),_e(q,g,b)}).catch(_s)}))}let tt=rs(),ve=rs(),j;function se(E,Z,A){$e(E);const q=ve.list();return q.length?q.forEach(ce=>ce(E,Z,A)):console.error(E),Promise.reject(E)}function He(){return j&&l.value!==yi?Promise.resolve():new Promise((E,Z)=>{tt.add([E,Z])})}function $e(E){return j||(j=!E,Et(),tt.list().forEach(([Z,A])=>E?A(E):Z()),tt.reset()),E}function ot(E,Z,A,q){const{scrollBehavior:ce}=t;if(!Nn||!ce)return Promise.resolve();const g=!A&&nx(Bu(E.fullPath,0))||(q||!A)&&history.state&&history.state.scroll||null;return Ph().then(()=>ce(E,Z,g)).then(b=>b&&tx(b)).catch(b=>se(b,E,Z))}const fe=E=>s.go(E);let Ke;const pe=new Set,Se={currentRoute:l,listening:!0,addRoute:f,removeRoute:m,hasRoute:y,getRoutes:p,resolve:_,options:t,push:w,replace:F,go:fe,back:()=>fe(-1),forward:()=>fe(1),beforeEach:a.add,beforeResolve:r.add,afterEach:o.add,onError:ve.add,isReady:He,install(E){const Z=this;E.component("RouterLink",Mx),E.component("RouterView",Lx),E.config.globalProperties.$router=Z,Object.defineProperty(E.config.globalProperties,"$route",{enumerable:!0,get:()=>be(l)}),Nn&&!Ke&&l.value===yi&&(Ke=!0,w(s.location).catch(ce=>{}));const A={};for(const ce in yi)Object.defineProperty(A,ce,{get:()=>l.value[ce],enumerable:!0});E.provide(Zl,Z),E.provide(cm,kh(A)),E.provide(Po,l);const q=E.unmount;pe.add(E),E.unmount=function(){pe.delete(E),pe.size<1&&(c=yi,Ve&&Ve(),Ve=null,l.value=yi,Ke=!1,j=!1),q()}}};function Ae(E){return E.reduce((Z,A)=>Z.then(()=>re(A)),Promise.resolve())}return Se}function Dx(t,e){const i=[],n=[],s=[],a=Math.max(e.matched.length,t.matched.length);for(let r=0;rYn(c,o))?n.push(o):i.push(o));const l=t.matched[r];l&&(e.matched.find(c=>Yn(c,l))||s.push(l))}return[i,n,s]}J.use(Tm());J.use(Tw());const Ax=[{path:"/",component:cd},{path:"/api/:symbol?",component:Jf},{path:"/demo",component:Yf}],Px=Sx({history:lx(),routes:Ax});Hg(Fw).use(Px).mount("#app"); + */const Nn=typeof document<"u";function RN(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const we=Object.assign;function Qr(t,e){const i={};for(const n in e){const s=e[n];i[n]=qt(s)?s.map(t):t(s)}return i}const _s=()=>{},qt=Array.isArray,Jm=/#/g,LN=/&/g,SN=/\//g,DN=/=/g,PN=/\?/g,Qm=/\+/g,AN=/%5B/g,ON=/%5D/g,ef=/%5E/g,GN=/%60/g,tf=/%7B/g,ZN=/%7C/g,nf=/%7D/g,XN=/%20/g;function Gl(t){return encodeURI(""+t).replace(ZN,"|").replace(AN,"[").replace(ON,"]")}function WN(t){return Gl(t).replace(tf,"{").replace(nf,"}").replace(ef,"^")}function Do(t){return Gl(t).replace(Qm,"%2B").replace(XN,"+").replace(Jm,"%23").replace(LN,"%26").replace(GN,"`").replace(tf,"{").replace(nf,"}").replace(ef,"^")}function KN(t){return Do(t).replace(DN,"%3D")}function VN(t){return Gl(t).replace(Jm,"%23").replace(PN,"%3F")}function UN(t){return t==null?"":VN(t).replace(SN,"%2F")}function Ds(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const BN=/\/$/,qN=t=>t.replace(BN,"");function eo(t,e,i="/"){let n,s={},a="",r="";const o=e.indexOf("#");let l=e.indexOf("?");return o=0&&(l=-1),l>-1&&(n=e.slice(0,l),a=e.slice(l+1,o>-1?o:e.length),s=t(a)),o>-1&&(n=n||e.slice(0,o),r=e.slice(o,e.length)),n=$N(n??e,i),{fullPath:n+(a&&"?")+a+r,path:n,query:s,hash:Ds(r)}}function zN(t,e){const i=e.query?t(e.query):"";return e.path+(i&&"?")+i+(e.hash||"")}function Vu(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function HN(t,e,i){const n=e.matched.length-1,s=i.matched.length-1;return n>-1&&n===s&&Hn(e.matched[n],i.matched[s])&&sf(e.params,i.params)&&t(e.query)===t(i.query)&&e.hash===i.hash}function Hn(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function sf(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const i in t)if(!YN(t[i],e[i]))return!1;return!0}function YN(t,e){return qt(t)?Uu(t,e):qt(e)?Uu(e,t):t===e}function Uu(t,e){return qt(e)?t.length===e.length&&t.every((i,n)=>i===e[n]):t.length===1&&t[0]===e}function $N(t,e){if(t.startsWith("/"))return t;if(!t)return e;const i=e.split("/"),n=t.split("/"),s=n[n.length-1];(s===".."||s===".")&&n.push("");let a=i.length-1,r,o;for(r=0;r1&&a--;else break;return i.slice(0,a).join("/")+"/"+n.slice(r).join("/")}var Ps;(function(t){t.pop="pop",t.push="push"})(Ps||(Ps={}));var vs;(function(t){t.back="back",t.forward="forward",t.unknown=""})(vs||(vs={}));function jN(t){if(!t)if(Nn){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),qN(t)}const JN=/^[^#]+#/;function QN(t,e){return t.replace(JN,"#")+e}function e6(t,e){const i=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{behavior:e.behavior,left:n.left-i.left-(e.left||0),top:n.top-i.top-(e.top||0)}}const Sr=()=>({left:window.scrollX,top:window.scrollY});function t6(t){let e;if("el"in t){const i=t.el,n=typeof i=="string"&&i.startsWith("#"),s=typeof i=="string"?n?document.getElementById(i.slice(1)):document.querySelector(i):i;if(!s)return;e=e6(s,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function Bu(t,e){return(history.state?history.state.position-e:-1)+t}const Po=new Map;function i6(t,e){Po.set(t,e)}function n6(t){const e=Po.get(t);return Po.delete(t),e}let s6=()=>location.protocol+"//"+location.host;function af(t,e){const{pathname:i,search:n,hash:s}=e,a=t.indexOf("#");if(a>-1){let o=s.includes(t.slice(a))?t.slice(a).length:1,l=s.slice(o);return l[0]!=="/"&&(l="/"+l),Vu(l,"")}return Vu(i,t)+n+s}function a6(t,e,i,n){let s=[],a=[],r=null;const o=({state:d})=>{const m=af(t,location),f=i.value,p=e.value;let y=0;if(d){if(i.value=m,e.value=d,r&&r===f){r=null;return}y=p?d.position-p.position:0}else n(m);s.forEach(_=>{_(i.value,f,{delta:y,type:Ps.pop,direction:y?y>0?vs.forward:vs.back:vs.unknown})})};function l(){r=i.value}function c(d){s.push(d);const m=()=>{const f=s.indexOf(d);f>-1&&s.splice(f,1)};return a.push(m),m}function u(){const{history:d}=window;d.state&&d.replaceState(we({},d.state,{scroll:Sr()}),"")}function h(){for(const d of a)d();a=[],window.removeEventListener("popstate",o),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",o),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:h}}function qu(t,e,i,n=!1,s=!1){return{back:t,current:e,forward:i,replaced:n,position:window.history.length,scroll:s?Sr():null}}function r6(t){const{history:e,location:i}=window,n={value:af(t,i)},s={value:e.state};s.value||a(n.value,{back:null,current:n.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function a(l,c,u){const h=t.indexOf("#"),d=h>-1?(i.host&&document.querySelector("base")?t:t.slice(h))+l:s6()+t+l;try{e[u?"replaceState":"pushState"](c,"",d),s.value=c}catch(m){console.error(m),i[u?"replace":"assign"](d)}}function r(l,c){const u=we({},e.state,qu(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});a(l,u,!0),n.value=l}function o(l,c){const u=we({},s.value,e.state,{forward:l,scroll:Sr()});a(u.current,u,!0);const h=we({},qu(n.value,l,null),{position:u.position+1},c);a(l,h,!1),n.value=l}return{location:n,state:s,push:o,replace:r}}function o6(t){t=jN(t);const e=r6(t),i=a6(t,e.state,e.location,e.replace);function n(a,r=!0){r||i.pauseListeners(),history.go(a)}const s=we({location:"",base:t,go:n,createHref:QN.bind(null,t)},e,i);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>e.state.value}),s}function l6(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),o6(t)}function c6(t){return typeof t=="string"||t&&typeof t=="object"}function rf(t){return typeof t=="string"||typeof t=="symbol"}const yi={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},of=Symbol("");var zu;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(zu||(zu={}));function Yn(t,e){return we(new Error,{type:t,[of]:!0},e)}function ai(t,e){return t instanceof Error&&of in t&&(e==null||!!(t.type&e))}const Hu="[^/]+?",u6={sensitive:!1,strict:!1,start:!0,end:!0},h6=/[.+*?^${}()[\]/\\]/g;function d6(t,e){const i=we({},u6,e),n=[];let s=i.start?"^":"";const a=[];for(const c of t){const u=c.length?[]:[90];i.strict&&!c.length&&(s+="/");for(let h=0;he.length?e.length===1&&e[0]===40+40?1:-1:0}function f6(t,e){let i=0;const n=t.score,s=e.score;for(;i0&&e[e.length-1]<0}const p6={type:0,value:""},g6=/[a-zA-Z0-9_]/;function y6(t){if(!t)return[[]];if(t==="/")return[[p6]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(m){throw new Error(`ERR (${i})/"${c}": ${m}`)}let i=0,n=i;const s=[];let a;function r(){a&&s.push(a),a=[]}let o=0,l,c="",u="";function h(){c&&(i===0?a.push({type:0,value:c}):i===1||i===2||i===3?(a.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;o{r(v)}:_s}function r(u){if(rf(u)){const h=n.get(u);h&&(n.delete(u),i.splice(i.indexOf(h),1),h.children.forEach(r),h.alias.forEach(r))}else{const h=i.indexOf(u);h>-1&&(i.splice(h,1),u.record.name&&n.delete(u.record.name),u.children.forEach(r),u.alias.forEach(r))}}function o(){return i}function l(u){let h=0;for(;h=0&&(u.record.path!==i[h].record.path||!lf(u,i[h]));)h++;i.splice(h,0,u),u.record.name&&!ju(u)&&n.set(u.record.name,u)}function c(u,h){let d,m={},f,p;if("name"in u&&u.name){if(d=n.get(u.name),!d)throw Yn(1,{location:u});p=d.record.name,m=we($u(h.params,d.keys.filter(v=>!v.optional).concat(d.parent?d.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),u.params&&$u(u.params,d.keys.map(v=>v.name))),f=d.stringify(m)}else if(u.path!=null)f=u.path,d=i.find(v=>v.re.test(f)),d&&(m=d.parse(f),p=d.record.name);else{if(d=h.name?n.get(h.name):i.find(v=>v.re.test(h.path)),!d)throw Yn(1,{location:u,currentLocation:h});p=d.record.name,m=we({},h.params,u.params),f=d.stringify(m)}const y=[];let _=d;for(;_;)y.unshift(_.record),_=_.parent;return{name:p,path:f,params:m,matched:y,meta:x6(y)}}return t.forEach(u=>a(u)),{addRoute:a,resolve:c,removeRoute:r,getRoutes:o,getRecordMatcher:s}}function $u(t,e){const i={};for(const n of e)n in t&&(i[n]=t[n]);return i}function v6(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:N6(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function N6(t){const e={},i=t.props||!1;if("component"in t)e.default=i;else for(const n in t.components)e[n]=typeof i=="object"?i[n]:i;return e}function ju(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function x6(t){return t.reduce((e,i)=>we(e,i.meta),{})}function Ju(t,e){const i={};for(const n in t)i[n]=n in e?e[n]:t[n];return i}function lf(t,e){return e.children.some(i=>i===t||lf(t,i))}function w6(t){const e={};if(t===""||t==="?")return e;const n=(t[0]==="?"?t.slice(1):t).split("&");for(let s=0;sa&&Do(a)):[n&&Do(n)]).forEach(a=>{a!==void 0&&(e+=(e.length?"&":"")+i,a!=null&&(e+="="+a))})}return e}function C6(t){const e={};for(const i in t){const n=t[i];n!==void 0&&(e[i]=qt(n)?n.map(s=>s==null?null:""+s):n==null?n:""+n)}return e}const F6=Symbol(""),eh=Symbol(""),Zl=Symbol(""),cf=Symbol(""),Ao=Symbol("");function rs(){let t=[];function e(n){return t.push(n),()=>{const s=t.indexOf(n);s>-1&&t.splice(s,1)}}function i(){t=[]}return{add:e,list:()=>t.slice(),reset:i}}function xi(t,e,i,n,s,a=r=>r()){const r=n&&(n.enterCallbacks[s]=n.enterCallbacks[s]||[]);return()=>new Promise((o,l)=>{const c=d=>{d===!1?l(Yn(4,{from:i,to:e})):d instanceof Error?l(d):c6(d)?l(Yn(2,{from:e,to:d})):(r&&n.enterCallbacks[s]===r&&typeof d=="function"&&r.push(d),o())},u=a(()=>t.call(n&&n.instances[s],e,i,c));let h=Promise.resolve(u);t.length<3&&(h=h.then(c)),h.catch(d=>l(d))})}function to(t,e,i,n,s=a=>a()){const a=[];for(const r of t)for(const o in r.components){let l=r.components[o];if(!(e!=="beforeRouteEnter"&&!r.instances[o]))if(E6(l)){const u=(l.__vccOpts||l)[e];u&&a.push(xi(u,i,n,r,o,s))}else{let c=l();a.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${r.path}"`));const h=RN(u)?u.default:u;r.components[o]=h;const m=(h.__vccOpts||h)[e];return m&&xi(m,i,n,r,o,s)()}))}}return a}function E6(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function th(t){const e=hi(Zl),i=hi(cf),n=Oe(()=>e.resolve(be(t.to))),s=Oe(()=>{const{matched:l}=n.value,{length:c}=l,u=l[c-1],h=i.matched;if(!u||!h.length)return-1;const d=h.findIndex(Hn.bind(null,u));if(d>-1)return d;const m=ih(l[c-2]);return c>1&&ih(u)===m&&h[h.length-1].path!==m?h.findIndex(Hn.bind(null,l[c-2])):d}),a=Oe(()=>s.value>-1&&T6(i.params,n.value.params)),r=Oe(()=>s.value>-1&&s.value===i.matched.length-1&&sf(i.params,n.value.params));function o(l={}){return I6(l)?e[be(t.replace)?"replace":"push"](be(t.to)).catch(_s):Promise.resolve()}return{route:n,href:Oe(()=>n.value.href),isActive:a,isExactActive:r,navigate:o}}const k6=Uh({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:th,setup(t,{slots:e}){const i=ar(th(t)),{options:n}=hi(Zl),s=Oe(()=>({[nh(t.activeClass,n.linkActiveClass,"router-link-active")]:i.isActive,[nh(t.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{const a=e.default&&e.default(i);return t.custom?a:ld("a",{"aria-current":i.isExactActive?t.ariaCurrentValue:null,href:i.href,onClick:i.navigate,class:s.value},a)}}}),M6=k6;function I6(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function T6(t,e){for(const i in e){const n=e[i],s=t[i];if(typeof n=="string"){if(n!==s)return!1}else if(!qt(s)||s.length!==n.length||n.some((a,r)=>a!==s[r]))return!1}return!0}function ih(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const nh=(t,e,i)=>t??e??i,R6=Uh({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:i}){const n=hi(Ao),s=Oe(()=>t.route||n.value),a=hi(eh,0),r=Oe(()=>{let c=be(a);const{matched:u}=s.value;let h;for(;(h=u[c])&&!h.components;)c++;return c}),o=Oe(()=>s.value.matched[r.value]);_a(eh,Oe(()=>r.value+1)),_a(F6,o),_a(Ao,s);const l=pp();return ba(()=>[l.value,o.value,t.name],([c,u,h],[d,m,f])=>{u&&(u.instances[h]=c,m&&m!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),c&&u&&(!m||!Hn(u,m)||!d)&&(u.enterCallbacks[h]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=s.value,u=t.name,h=o.value,d=h&&h.components[u];if(!d)return sh(i.default,{Component:d,route:c});const m=h.props[u],f=m?m===!0?c.params:typeof m=="function"?m(c):m:null,y=ld(d,we({},f,e,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return sh(i.default,{Component:y,route:c})||y}}});function sh(t,e){if(!t)return null;const i=t(e);return i.length===1?i[0]:i}const L6=R6;function S6(t){const e=_6(t.routes,t),i=t.parseQuery||w6,n=t.stringifyQuery||Qu,s=t.history,a=rs(),r=rs(),o=rs(),l=gp(yi);let c=yi;Nn&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Qr.bind(null,E=>""+E),h=Qr.bind(null,UN),d=Qr.bind(null,Ds);function m(E,Z){let P,q;return rf(E)?(P=e.getRecordMatcher(E),q=Z):q=E,e.addRoute(q,P)}function f(E){const Z=e.getRecordMatcher(E);Z&&e.removeRoute(Z)}function p(){return e.getRoutes().map(E=>E.record)}function y(E){return!!e.getRecordMatcher(E)}function _(E,Z){if(Z=we({},Z||l.value),typeof E=="string"){const N=eo(i,E,Z.path),k=e.resolve({path:N.path},Z),M=s.createHref(N.fullPath);return we(N,k,{params:d(k.params),hash:Ds(N.hash),redirectedFrom:void 0,href:M})}let P;if(E.path!=null)P=we({},E,{path:eo(i,E.path,Z.path).path});else{const N=we({},E.params);for(const k in N)N[k]==null&&delete N[k];P=we({},E,{params:h(N)}),Z.params=h(Z.params)}const q=e.resolve(P,Z),ce=E.hash||"";q.params=u(d(q.params));const g=zN(n,we({},E,{hash:WN(ce),path:q.path})),b=s.createHref(g);return we({fullPath:g,hash:ce,query:n===Qu?C6(E.query):E.query||{}},q,{redirectedFrom:void 0,href:b})}function v(E){return typeof E=="string"?eo(i,E,l.value.path):we({},E)}function C(E,Z){if(c!==E)return Yn(8,{from:Z,to:E})}function x(E){return $(E)}function F(E){return x(we(v(E),{replace:!0}))}function L(E){const Z=E.matched[E.matched.length-1];if(Z&&Z.redirect){const{redirect:P}=Z;let q=typeof P=="function"?P(E):P;return typeof q=="string"&&(q=q.includes("?")||q.includes("#")?q=v(q):{path:q},q.params={}),we({query:E.query,hash:E.hash,params:q.path!=null?{}:E.params},q)}}function $(E,Z){const P=c=_(E),q=l.value,ce=E.state,g=E.force,b=E.replace===!0,N=L(P);if(N)return $(we(v(N),{state:typeof N=="object"?we({},ce,N.state):ce,force:g,replace:b}),Z||P);const k=P;k.redirectedFrom=Z;let M;return!g&&HN(n,q,P)&&(M=Yn(16,{to:k,from:q}),ot(q,q,!0,!1)),(M?Promise.resolve(M):oe(k,q)).catch(I=>ai(I)?ai(I,2)?I:$e(I):se(I,k,q)).then(I=>{if(I){if(ai(I,2))return $(we({replace:b},v(I.to),{state:typeof I.to=="object"?we({},ce,I.to.state):ce,force:g}),Z||k)}else I=He(k,q,!0,b,ce);return _e(k,q,I),I})}function H(E,Z){const P=C(E,Z);return P?Promise.reject(P):Promise.resolve()}function re(E){const Z=pe.values().next().value;return Z&&typeof Z.runWithContext=="function"?Z.runWithContext(E):E()}function oe(E,Z){let P;const[q,ce,g]=D6(E,Z);P=to(q.reverse(),"beforeRouteLeave",E,Z);for(const N of q)N.leaveGuards.forEach(k=>{P.push(xi(k,E,Z))});const b=H.bind(null,E,Z);return P.push(b),Pe(P).then(()=>{P=[];for(const N of a.list())P.push(xi(N,E,Z));return P.push(b),Pe(P)}).then(()=>{P=to(ce,"beforeRouteUpdate",E,Z);for(const N of ce)N.updateGuards.forEach(k=>{P.push(xi(k,E,Z))});return P.push(b),Pe(P)}).then(()=>{P=[];for(const N of g)if(N.beforeEnter)if(qt(N.beforeEnter))for(const k of N.beforeEnter)P.push(xi(k,E,Z));else P.push(xi(N.beforeEnter,E,Z));return P.push(b),Pe(P)}).then(()=>(E.matched.forEach(N=>N.enterCallbacks={}),P=to(g,"beforeRouteEnter",E,Z,re),P.push(b),Pe(P))).then(()=>{P=[];for(const N of r.list())P.push(xi(N,E,Z));return P.push(b),Pe(P)}).catch(N=>ai(N,8)?N:Promise.reject(N))}function _e(E,Z,P){o.list().forEach(q=>re(()=>q(E,Z,P)))}function He(E,Z,P,q,ce){const g=C(E,Z);if(g)return g;const b=Z===yi,N=Nn?history.state:{};P&&(q||b?s.replace(E.fullPath,we({scroll:b&&N&&N.scroll},ce)):s.push(E.fullPath,ce)),l.value=E,ot(E,Z,P,b),$e()}let Ke;function Et(){Ke||(Ke=s.listen((E,Z,P)=>{if(!Se.listening)return;const q=_(E),ce=L(q);if(ce){$(we(ce,{replace:!0}),q).catch(_s);return}c=q;const g=l.value;Nn&&i6(Bu(g.fullPath,P.delta),Sr()),oe(q,g).catch(b=>ai(b,12)?b:ai(b,2)?($(b.to,q).then(N=>{ai(N,20)&&!P.delta&&P.type===Ps.pop&&s.go(-1,!1)}).catch(_s),Promise.reject()):(P.delta&&s.go(-P.delta,!1),se(b,q,g))).then(b=>{b=b||He(q,g,!1),b&&(P.delta&&!ai(b,8)?s.go(-P.delta,!1):P.type===Ps.pop&&ai(b,20)&&s.go(-1,!1)),_e(q,g,b)}).catch(_s)}))}let tt=rs(),ve=rs(),j;function se(E,Z,P){$e(E);const q=ve.list();return q.length?q.forEach(ce=>ce(E,Z,P)):console.error(E),Promise.reject(E)}function Ye(){return j&&l.value!==yi?Promise.resolve():new Promise((E,Z)=>{tt.add([E,Z])})}function $e(E){return j||(j=!E,Et(),tt.list().forEach(([Z,P])=>E?P(E):Z()),tt.reset()),E}function ot(E,Z,P,q){const{scrollBehavior:ce}=t;if(!Nn||!ce)return Promise.resolve();const g=!P&&n6(Bu(E.fullPath,0))||(q||!P)&&history.state&&history.state.scroll||null;return Ah().then(()=>ce(E,Z,g)).then(b=>b&&t6(b)).catch(b=>se(b,E,Z))}const me=E=>s.go(E);let Ve;const pe=new Set,Se={currentRoute:l,listening:!0,addRoute:m,removeRoute:f,hasRoute:y,getRoutes:p,resolve:_,options:t,push:x,replace:F,go:me,back:()=>me(-1),forward:()=>me(1),beforeEach:a.add,beforeResolve:r.add,afterEach:o.add,onError:ve.add,isReady:Ye,install(E){const Z=this;E.component("RouterLink",M6),E.component("RouterView",L6),E.config.globalProperties.$router=Z,Object.defineProperty(E.config.globalProperties,"$route",{enumerable:!0,get:()=>be(l)}),Nn&&!Ve&&l.value===yi&&(Ve=!0,x(s.location).catch(ce=>{}));const P={};for(const ce in yi)Object.defineProperty(P,ce,{get:()=>l.value[ce],enumerable:!0});E.provide(Zl,Z),E.provide(cf,kh(P)),E.provide(Ao,l);const q=E.unmount;pe.add(E),E.unmount=function(){pe.delete(E),pe.size<1&&(c=yi,Ke&&Ke(),Ke=null,l.value=yi,Ve=!1,j=!1),q()}}};function Pe(E){return E.reduce((Z,P)=>Z.then(()=>re(P)),Promise.resolve())}return Se}function D6(t,e){const i=[],n=[],s=[],a=Math.max(e.matched.length,t.matched.length);for(let r=0;rHn(c,o))?n.push(o):i.push(o));const l=t.matched[r];l&&(e.matched.find(c=>Hn(c,l))||s.push(l))}return[i,n,s]}J.use(Tf());J.use(TN());const P6=[{path:"/",component:cd},{path:"/api/:symbol?",component:jm},{path:"/demo",component:zm}],A6=S6({history:l6(),routes:P6});Yg(FN).use(A6).mount("#app"); diff --git a/index.html b/index.html index e3a0406..eb7abdc 100644 --- a/index.html +++ b/index.html @@ -27,7 +27,7 @@ href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/styles/base16/railscasts.min.css" /> - +