Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@americana/maplibre-shield-generator

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@americana/maplibre-shield-generator - npm Package Compare versions

Comparing version 0.0.4-dev0 to 0.0.4

docs/classes/AbstractShieldRenderer.html

4

dist/index.js

@@ -1,3 +0,3 @@

var tt=Object.create;var ye=Object.defineProperty;var nt=Object.getOwnPropertyDescriptor;var it=Object.getOwnPropertyNames;var lt=Object.getPrototypeOf,at=Object.prototype.hasOwnProperty;var ot=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var rt=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of it(e))!at.call(t,l)&&l!==n&&ye(t,l,{get:()=>e[l],enumerable:!(i=nt(e,l))||i.enumerable});return t};var dt=(t,e,n)=>(n=t!=null?tt(lt(t)):{},rt(e||!t||!t.__esModule?ye(n,"default",{value:t,enumerable:!0}):n,t));var me=ot((Ut,Se)=>{"use strict";Se.exports={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]}});var ie=dt(me(),1),we=ht,be={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function ht(t){var e,n=[],i=1,l;if(typeof t=="string")if(ie.default[t])n=ie.default[t].slice(),l="rgb";else if(t==="transparent")i=0,l="rgb",n=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(t)){var a=t.slice(1),o=a.length,u=o<=4;i=1,u?(n=[parseInt(a[0]+a[0],16),parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16)],o===4&&(i=parseInt(a[3]+a[3],16)/255)):(n=[parseInt(a[0]+a[1],16),parseInt(a[2]+a[3],16),parseInt(a[4]+a[5],16)],o===8&&(i=parseInt(a[6]+a[7],16)/255)),n[0]||(n[0]=0),n[1]||(n[1]=0),n[2]||(n[2]=0),l="rgb"}else if(e=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(t)){var h=e[1],c=h==="rgb",a=h.replace(/a$/,"");l=a;var o=a==="cmyk"?4:a==="gray"?1:3;n=e[2].trim().split(/\s*[,\/]\s*|\s+/).map(function(r,f){if(/%$/.test(r))return f===o?parseFloat(r)/100:a==="rgb"?parseFloat(r)*255/100:parseFloat(r);if(a[f]==="h"){if(/deg$/.test(r))return parseFloat(r);if(be[r]!==void 0)return be[r]}return parseFloat(r)}),h===a&&n.push(1),i=c||n[o]===void 0?1:n[o],n=n.slice(0,o)}else t.length>10&&/[0-9](?:\s|\/)/.test(t)&&(n=t.match(/([0-9]+)/g).map(function(g){return parseFloat(g)}),l=t.match(/([a-z])/ig).join("").toLowerCase());else isNaN(t)?Array.isArray(t)||t.length?(n=[t[0],t[1],t[2]],l="rgb",i=t.length===4?t[3]:1):t instanceof Object&&(t.r!=null||t.red!=null||t.R!=null?(l="rgb",n=[t.r||t.red||t.R||0,t.g||t.green||t.G||0,t.b||t.blue||t.B||0]):(l="hsl",n=[t.h||t.hue||t.H||0,t.s||t.saturation||t.S||0,t.l||t.lightness||t.L||t.b||t.brightness]),i=t.a||t.alpha||t.opacity||1,t.opacity!=null&&(i/=100)):(l="rgb",n=[t>>>16,(t&65280)>>>8,t&255]);return{space:l,values:n,alpha:i}}var q={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]};var Q={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(t){var e=t[0]/360,n=t[1]/100,i=t[2]/100,l,a,o,u,h,c=0;if(n===0)return h=i*255,[h,h,h];for(a=i<.5?i*(1+n):i+n-i*n,l=2*i-a,u=[0,0,0];c<3;)o=e+1/3*-(c-1),o<0?o++:o>1&&o--,h=6*o<1?l+(a-l)*6*o:2*o<1?a:3*o<2?l+(a-l)*(2/3-o)*6:l,u[c++]=h*255;return u}};q.hsl=function(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255,l=Math.min(e,n,i),a=Math.max(e,n,i),o=a-l,u,h,c;return a===l?u=0:e===a?u=(n-i)/o:n===a?u=2+(i-e)/o:i===a&&(u=4+(e-n)/o),u=Math.min(u*60,360),u<0&&(u+=360),c=(l+a)/2,a===l?h=0:c<=.5?h=o/(a+l):h=o/(2-a-l),[u,h*100,c*100]};function X(t){Array.isArray(t)&&t.raw&&(t=String.raw(...arguments));var e,n,i,l=we(t);if(!l.space)return[];let a=l.space[0]==="h"?Q.min:q.min,o=l.space[0]==="h"?Q.max:q.max;return e=Array(3),e[0]=Math.min(Math.max(l.values[0],a[0]),o[0]),e[1]=Math.min(Math.max(l.values[1],a[1]),o[1]),e[2]=Math.min(Math.max(l.values[2],a[2]),o[2]),l.space[0]==="h"&&(e=Q.rgb(e)),e.push(Math.min(Math.max(l.alpha,0),1)),e}var ut='"sans-serif-condensed", "Arial Narrow", sans-serif',N=(t,e)=>`bold ${t}px ${e||ut}`,$=12;function le(t,e,n){return 255-t/255*(255-n)-(1-t/255)*(255-e)}function st(t,e,n,i){e[i]=t[n],e[i+1]=t[n+1],e[i+2]=t[n+2],e[i+3]=t[n+3]}function ft(t,e,n,i,l,a){e[i]=le(t[n],l[0],a[0]),e[i+1]=le(t[n+1],l[1],a[1]),e[i+2]=le(t[n+2],l[2],a[2]),e[i+3]=t[n+3]}function ae(t,e,n,i,l,a){let o=t.createImageData(e.data.width,e.data.height),u=l||a?ft:st,h=l?X(l):X("#000"),c=a?X(a):X("#fff");if(i)for(let g=0;g<e.data.height;g++)for(let s=0;s<e.data.width;s++){let f=((e.data.height-g-1)*e.data.width+s)*4,p=(g*e.data.width+s)*4;u(e.data.data,o.data,p,f,h,c)}else for(let g=0;g<e.data.data.length;g+=4)u(e.data.data,o.data,g,g,h,c);t.putImageData(o,0,n)}var H={Middle:"middle",Top:"top",Bottom:"bottom"};function Te(t,e){var n=t.width,i=t.height,l=e.width,a=e.height;return n*i/Math.sqrt(n*n*a*a+i*i*l*l)}function pt(t,e){return{scale:Te(t,e),valign:H.Middle}}function gt(t,e){return{scale:Te(t,{height:e.width/2,width:e.height}),valign:H.Top}}function ve(t,e){var n=t.height/e.height,i=t.width/e.width;return{scale:Math.min(i,n),valign:H.Middle}}function ct(t,e,n){let i=2;return n!==void 0&&n.radius!==void 0&&(i=n.radius),ve({width:t.width-i*(2-Math.sqrt(2)),height:t.height-i*(2-Math.sqrt(2))},e)}function xe(t,e){let n=t.width,i=t.height,l=e.width,a=e.height;return{scale:n*i/(i*l+n*a),valign:H.Middle}}function yt(t,e){return{scale:xe(t,e).scale,valign:H.Top}}function St(t,e,n,i,l,a){var o=t.px(n.top)||0,u=t.px(n.bottom)||0,h=t.px(n.left)||0,c=t.px(n.right)||0,g=t.px(a),s=t.gfxFactory.createGraphics(i);s.font=N($,t.options.shieldFont),s.textAlign="center",s.textBaseline="top";var r=s.measureText(e),f=r.width,p=r.actualBoundingBoxDescent,y=i.height-o-u,d=i.width-h-c,S=h+d/2;let m=Pe[l.constraintFunc],b=m({height:y,width:d},{height:p,width:f},l.options);var k=Math.min(g,$*b.scale);s.font=N(k,t.options.shieldFont),s.textAlign="center",s.textBaseline="top",r=s.measureText(e),p=r.actualBoundingBoxDescent;var w;switch(b.valign){case H.Top:w=o;break;case H.Bottom:w=o+y-p;break;case H.Middle:default:w=o+(y-p)/2;break}return{xBaseline:S,yBaseline:w,fontPx:k}}var mt={padding:{top:0,bottom:0,left:0,right:0}};function Y(t,e,n,i){n==null&&(n=mt);var l=n.padding||{},a={constraintFunc:"rect"},o=14;return typeof n.textLayout!="undefined"&&(a=n.textLayout),typeof n.maxFontSize!="undefined"&&(o=Math.min(o,n.maxFontSize)),St(t,e,l,i,a,o)}function Me(t,e,n,i){Re(t,e,i),e.fillText(n,i.xBaseline,i.yBaseline)}function oe(t,e,n,i){Re(t,e,i),e.shadowColor=e.strokeStyle,e.shadowBlur=0,e.lineWidth=t.px(2),e.strokeText(n,i.xBaseline,i.yBaseline),e.shadowColor=null,e.shadowBlur=null}function Re(t,e,n){e.textAlign="center",e.textBaseline="top",e.font=N(n.fontPx,t.options.shieldFont)}function Fe(t,e,n,i){We(t,e,n,i,!0)}function Be(t,e,n,i){We(t,e,n,i,!1)}function We(t,e,n,i,l){let a={padding:{top:t.options.bannerPadding,bottom:0,left:0,right:0}};var o=Y(t,n,a,{width:e.canvas.width,height:t.px(t.options.bannerHeight-t.options.bannerPadding)});e.font=N(o.fontPx,t.options.shieldFont),e.textBaseline="top",e.textAlign="center",l?(e.fillStyle=t.options.bannerTextColor,e.fillText(n,o.xBaseline,o.yBaseline+i*t.px(t.options.bannerHeight-t.options.bannerPadding))):(e.strokeStyle=e.shadowColor=t.options.bannerTextHaloColor,e.shadowBlur=0,e.lineWidth=t.px(2),e.strokeText(n,o.xBaseline,o.yBaseline+i*t.px(t.options.bannerHeight-t.options.bannerPadding)),e.shadowColor=null,e.shadowBlur=null)}function re(t,e,n){var i=t.emptySprite();return i.font=N(n,t.options.shieldFont),Math.ceil(i.measureText(e).width)}var Pe={};function V(t,e){Pe[t]=e}V("diamond",xe);V("ellipse",pt);V("rect",ve);V("roundedRect",ct);V("southHalfEllipse",gt);V("triangleDown",yt);function bt(t,e,n){K(t,e,{fillColor:"white",strokeColor:"black",outlineWidth:1,radius:2,rectWidth:20});let i=n.fillColor,l=t.px(.5),a=t.shieldSize()/3-l;return e.beginPath(),e.arc(t.shieldSize()/2,t.shieldSize()/2,a,0,2*Math.PI,!1),e.fillStyle=i,e.strokeStyle=n.strokeColor,e.fill(),e.lineWidth=l,e.stroke(),e}function wt(t,e,n){K(t,e,{fillColor:"#006747",strokeColor:"white",outlineWidth:1,radius:2,rectWidth:20});let i=n.fillColor,l=t.px(.5),a=.15*t.shieldSize()+l,o=.7*t.shieldSize()-2*l,u=.4*t.shieldSize()+l,h=.45*t.shieldSize()-2*l;return e.beginPath(),e.rect(a,u,o,h),e.fillStyle=i,e.strokeStyle=n.strokeColor,e.fill(),e.lineWidth=l,e.stroke(),e}function ze(){z("branson",wt,20),z("paBelt",bt,20)}var De=20,_e=34,He=18;function C(t,e,n,i){if(de[i]!==void 0)return t.px(de[i]);let l=e.rectWidth==null?null:e.rectWidth,a=e.angle==null?0:e.angle,o=Math.tan(a);if(l==null){let u=re(t,n,t.px(He))+t.px(2),h=t.px(De);switch(i){case"pentagon":let c=e.offset==null?0:e.offset;u+=(t.shieldSize()-t.px(c))*o/2;break;case"trapezoid":u+=t.shieldSize()*o/2;break;case"triangle":h+=t.px(2);break;case"diamond":case"hexagonHorizontal":h+=t.px(4);break}return Math.max(h,Math.min(t.px(_e),u))}else return t.px(l)}function kt(t,e,n,i){let l=n.fillColor==null?"white":n.fillColor,a=n.strokeColor==null?"black":n.strokeColor,o=C(t,n,i),u=t.px(1),h=o/2-u,c=t.shieldSize()/2-u;return e.beginPath(),e.ellipse(e.canvas.width/2,t.shieldSize()/2,h,c,0,2*Math.PI,!1),e.fillStyle=l,e.fill(),e.lineWidth=u,e.strokeStyle=a,e.stroke(),o}function Le(t,e){var n=re(t,e,t.px(He))+t.px(2),i=Math.max(t.px(De),Math.min(t.px(_e),n));return t.gfxFactory.createGraphics({width:i,height:t.shieldSize()})}function K(t,e,n,i){let l=n.fillColor==null?"white":n.fillColor,a=n.strokeColor==null?"black":n.strokeColor,o=n.radius==null?0:n.radius,u=n.outlineWidth==null?1:n.outlineWidth,h=C(t,n,i),c=t.px(u),g=c/2,s=t.px(o),r=g,f=g+s,p=h-g-s,y=h-g,d=g,S=g+s,m=t.shieldSize()-g-s,b=t.shieldSize()-g;return e.beginPath(),e.moveTo(p,d),e.arcTo(y,d,y,S,s),e.arcTo(y,b,p,b,s),e.arcTo(r,b,r,m,s),e.arcTo(r,d,f,d,s),e.closePath(),e.lineWidth=c,e.fillStyle=l,e.fill(),a!=null&&(e.strokeStyle=a,e.stroke()),h}function Tt(t,e,n,i){let l=n.offset==null?0:n.offset,a=n.fillColor==null?"white":n.fillColor,o=n.strokeColor==null?"black":n.strokeColor,u=n.radius==null?0:n.radius,h=n.outlineWidth==null?1:n.outlineWidth,c=C(t,n,i),g=t.px(h),s=g/2,r=t.px(u),f=t.px(l),p=s,y=c-s,d=s,S=t.shieldSize()-s,m=p+r,b=(p+y)/2,k=d+r,w=S-f,v=(2*p+b)/3,T=(b+2*y)/3,x=(w+S)/2,R=(x+2*S)/3;return e.beginPath(),e.moveTo(b,S),e.bezierCurveTo(v,R,p,x,p,w),e.arcTo(p,d,m,d,r),e.arcTo(y,d,y,k,r),e.lineTo(y,w),e.bezierCurveTo(y,x,T,R,b,S),e.closePath(),e.lineWidth=g,e.fillStyle=a,e.fill(),o!=null&&(e.strokeStyle=o,e.stroke()),c}function vt(t,e,n,i){let l=n.pointUp==null?!1:n.pointUp,a=n.fillColor==null?"white":n.fillColor,o=n.strokeColor==null?"black":n.strokeColor,u=n.outlineWidth==null?1:n.outlineWidth,h=l?-1:1,c=C(t,n,i),g=t.px(u),s=g/2,r=s,f=c-s,p=l?t.shieldSize()-s:s,y=l?s:t.shieldSize()-s,d=r+t.px(1),S=r+t.px(2.5),m=(r+f)/2,b=f-t.px(2.5),k=f-t.px(1),w=p+h*t.px(2),v=p+h*t.px(4.5),T=p+h*t.px(7),x=y-h*t.px(6),R=y-h*t.px(1),M=(r+m)/2,F=(m+f)/2;e.beginPath(),e.moveTo(m,y),e.bezierCurveTo(M,R,r,x,r,T),e.bezierCurveTo(r,v,d,w,S,p),e.lineTo(b,p),e.bezierCurveTo(k,w,f,v,f,T),e.bezierCurveTo(f,x,F,R,m,y),e.closePath(),e.lineWidth=g,e.fillStyle=a,e.fill(),o!=null&&(e.strokeStyle=o,e.stroke())}function xt(t,e,n,i){let l=n.pointUp==null?!1:n.pointUp,a=n.fillColor==null?"white":n.fillColor,o=n.strokeColor==null?"black":n.strokeColor,u=n.radius==null?0:n.radius,h=n.outlineWidth==null?1:n.outlineWidth,c=l?-1:1,g=C(t,n,i,"triangle"),s=t.px(h),r=s/2,f=t.px(u),p=r,y=g-r,d=l?t.shieldSize()-r:r,S=l?r:t.shieldSize()-r,m=p+f,b=(p+y)/2,k=y-f,w=d+c*f,v=Math.atan((b-m)/Math.abs(S-f-w)),T=Math.sin(v),x=Math.cos(v),R=Math.tan(v/2),M=Math.tan(Math.PI/4-v/2),F=m-f*x,B=b-f*M,W=b+f*M,D=k+f*x,I=w+c*f*R,P=w+c*f*T,_=S-c*f*(1-T);return e.beginPath(),e.moveTo(b,S),e.arcTo(B,S,F,P,f),e.arcTo(p,I,p,w,f),e.arcTo(p,d,m,d,f),e.arcTo(y,d,y,w,f),e.arcTo(y,I,D,P,f),e.arcTo(W,S,b,S,f),e.closePath(),e.lineWidth=s,e.fillStyle=a,e.fill(),o!=null&&(e.strokeStyle=o,e.stroke()),g}function Mt(t,e,n,i){let l=n.shortSideUp==null?!1:n.shortSideUp,a=n.angle==null?0:n.angle,o=n.fillColor==null?"white":n.fillColor,u=n.strokeColor==null?"black":n.strokeColor,h=n.radius==null?0:n.radius,c=n.outlineWidth==null?1:n.outlineWidth,g=l?-1:1,s=Math.sin(a),r=Math.cos(a),f=Math.tan(a),p=C(t,n,i,"trapezoid"),y=t.px(c),d=y/2,S=t.px(h),m=d,b=p-d,k=l?t.shieldSize()-d:d,w=l?d:t.shieldSize()-d,v=k+g*S*(1+s),T=w-g*S*(1-s),x=m+(v-k)*f,R=x+S*r,M=m+g*(T-k)*f,F=m+g*(w-k)*f,B=M+g*S*r,W=p-F,D=p-M,I=p-R;return e.beginPath(),e.moveTo(I,k),e.arcTo(b,k,D,T,S),e.arcTo(W,w,B,w,S),e.arcTo(F,w,x,v,S),e.arcTo(m,k,I,k,S),e.closePath(),e.lineWidth=y,e.fillStyle=o,e.fill(),u!=null&&(e.strokeStyle=u,e.stroke()),p}function Rt(t,e,n,i){let l=n.fillColor==null?"white":n.fillColor,a=n.strokeColor==null?"black":n.strokeColor,o=n.radius==null?0:n.radius,u=n.outlineWidth==null?1:n.outlineWidth,h=Z(t,"diamond"),c=C(t,n,i,"diamond"),g=t.px(u),s=g/2,r=t.px(o),f=s,p=c-s,y=s,d=h-s,S=(f+p)/2,m=(y+d)/2,b=Math.atan((S-r-f)/(d-r-m)),k=Math.sin(b),w=Math.cos(b),v=Math.tan(b/2),T=Math.tan(Math.PI/4-b/2),x=f+r*(1-w),R=S-r*w,M=S-r*T,F=S+r*T,B=S+r*w,W=p-r*(1-w),D=y+r*(1-k),I=m-r*k,P=m-r*v,_=m+r*v,L=m+r*k,A=d-r*(1-k);return e.beginPath(),e.moveTo(S,d),e.arcTo(M,d,x,L,r),e.arcTo(f,_,f,m,r),e.arcTo(f,P,R,D,r),e.arcTo(M,y,S,y,r),e.arcTo(F,y,W,I,r),e.arcTo(p,P,p,m,r),e.arcTo(p,_,B,A,r),e.arcTo(F,d,S,d,r),e.closePath(),e.lineWidth=g,e.fillStyle=l,e.fill(),a!=null&&(e.strokeStyle=a,e.stroke()),c}function Ft(t,e,n,i){let l=n.pointUp==null?!0:n.pointUp,a=n.offset==null?0:n.offset,o=n.angle==null?0:n.angle,u=n.fillColor==null?"white":n.fillColor,h=n.strokeColor==null?"black":n.strokeColor,c=n.radius1==null?0:n.radius1,g=n.radius2==null?0:n.radius2,s=n.outlineWidth==null?1:n.outlineWidth,r=l?-1:1,f=Math.sin(o),p=Math.cos(o),y=Math.tan(o),d=C(t,n,i,"pentagon"),S=t.px(s),m=S/2,b=t.px(c),k=t.px(g),w=t.px(a),v=m,T=d-m,x=l?t.shieldSize()-m:m,R=l?m:t.shieldSize()-m,M=R-r*w,F=v+r*(M-x)*y,B=(v+T)/2,W=T-r*(M-x)*y,D=Math.atan(w/(B-v)),I=(Math.PI/2-D+o)/2,P=Math.tan(I),_=(Math.PI/2-o)/2,L=Math.tan(_),A=v+b*P*f,j=F+k*L,U=W-k*L,E=T-b*P*f,J=M-r*b*P*p;return e.beginPath(),e.moveTo(B,R),e.arcTo(v,M,A,J,b),e.arcTo(F,x,j,x,k),e.lineTo(U,x),e.arcTo(W,x,E,J,k),e.arcTo(T,M,B,R,b),e.closePath(),e.lineWidth=S,e.fillStyle=u,e.fill(),h!=null&&(e.strokeStyle=h,e.stroke()),d}function Bt(t,e,n,i){let l=n.offset==null?0:n.offset,a=n.fillColor==null?"white":n.fillColor,o=n.strokeColor==null?"black":n.strokeColor,u=n.radius==null?0:n.radius,h=n.outlineWidth==null?1:n.outlineWidth,c=C(t,n,i),g=t.px(h),s=g/2,r=t.px(u),f=t.px(l),p=s,y=c-s,d=s,S=t.shieldSize()-s,m=(p+y)/2,b=d+f,k=S-f,w=r*Math.tan(Math.PI/4-Math.asin(f/(m-p))/2),v=b+w,T=k-w;return e.beginPath(),e.moveTo(m,S),e.arcTo(p,k,p,T,r),e.arcTo(p,b,m,d,r),e.lineTo(m,d),e.arcTo(y,b,y,v,r),e.arcTo(y,k,m,S,r),e.lineTo(m,S),e.closePath(),e.lineWidth=g,e.fillStyle=a,e.fill(),o!=null&&(e.strokeStyle=o,e.stroke()),c}function Wt(t,e,n,i){let l=n.angle==null?0:n.angle,a=n.fillColor==null?"white":n.fillColor,o=n.strokeColor==null?"black":n.strokeColor,u=n.radius==null?0:n.radius,h=n.outlineWidth==null?1:n.outlineWidth,c=Math.sin(l),g=Math.cos(l),s=Math.tan(l),r=Math.tan(Math.PI/4-l/2),f=C(t,n,i,"hexagonHorizontal"),p=t.px(h),y=p/2,d=t.px(u),S=y,m=f-y,b=y,k=t.shieldSize()-y,w=(b+k)/2,v=b+d*r*g,T=w-d*c,x=w+d*c,R=k-d*r*g,M=S+(w-T)*s,F=S+(w-b)*s,B=m-(w-b)*s,W=m-(w-T)*s,D=F-d*r*c,I=F+d*r,P=B-d*r,_=B+d*r*c;return e.beginPath(),e.moveTo(I,b),e.arcTo(B,b,_,v,d),e.arcTo(m,w,W,x,d),e.arcTo(B,k,P,k,d),e.arcTo(F,k,D,R,d),e.arcTo(S,w,M,T,d),e.arcTo(F,b,I,b,d),e.closePath(),e.lineWidth=p,e.fillStyle=a,e.fill(),o!=null&&(e.strokeStyle=o,e.stroke()),f}function Pt(t,e,n,i){let l=n.offset==null?0:n.offset,a=n.angle==null?0:n.angle,o=n.fillColor==null?"white":n.fillColor,u=n.strokeColor==null?"black":n.strokeColor,h=n.radius==null?0:n.radius,c=n.outlineWidth==null?1:n.outlineWidth,g=Math.sin(a),s=Math.cos(a),r=Math.tan(a),f=C(t,n,i),p=t.px(c),y=p/2,d=t.px(h),S=t.px(l),m=y,b=f-y,k=y,w=t.shieldSize()-y,v=m+d*r*g,T=(m+b)/2,x=b-d*r*g,R=k+S,M=(k+w)/2,F=w-S,B=m+(M-R)*r,W=b-(M-R)*r,D=M-d*r*s,I=M+d*r*s,P=Math.atan(S/(T-B)),_=Math.sin(P),L=Math.cos(P),A=(Math.PI/2-a-P)/2,j=Math.cos(A),U=d*Math.cos(a+A)/j,E=d*Math.sin(a+A)/j,J=B+U-d*s,je=B+U-d*_,Je=W-U+d*_,Qe=W-U+d*s,Ye=R+E-d*L,Ke=R+E-d*g,Ze=F-E+d*g,et=F-E+d*L;return e.beginPath(),e.moveTo(T,w),e.arcTo(B,F,J,Ze,d),e.arcTo(m,M,v,D,d),e.arcTo(B,R,je,Ye,d),e.lineTo(T,k),e.arcTo(W,R,Qe,Ke,d),e.arcTo(b,M,x,I,d),e.arcTo(W,F,Je,et,d),e.lineTo(T,w),e.closePath(),e.lineWidth=p,e.fillStyle=o,e.fill(),u!=null&&(e.strokeStyle=u,e.stroke()),f}function Z(t,e){switch(e){case"diamond":return t.shieldSize()+t.px(4);default:return t.shieldSize()}}function Ae(t,e,n,i,l){return Ge[e](t,n,i,l)}var Ge={},de={};function z(t,e,n){Ge[t]=e,n!==void 0&&(de[t]=n)}z("diamond",Rt);z("ellipse",kt);z("escutcheon",Tt);z("fishhead",vt);z("hexagonVertical",Bt);z("hexagonHorizontal",Wt);z("octagonVertical",Pt);z("pentagon",Ft);z("roundedRectangle",K);z("trapezoid",Mt);z("triangle",xt);ze();function Oe(t,e,n,i){if(n==null||typeof n.banners=="undefined")return e;for(var l=0;l<n.banners.length;l++)i(t,e,n.banners[l],l);return e}function It(t,e,n){return{width:e.width,height:e.height+n*t.px(t.options.bannerHeight+t.options.bannerPadding)}}function he(t){return t!==null&&t.length!==0&&t.length<=6}function ue(t){return t==null||typeof t.banners=="undefined"?0:t.banners.length}function Ue(t,e,n){var i=null,l,a=0,o;if(Array.isArray(e.spriteBlank))for(var u=0;u<e.spriteBlank.length&&(i=t.spriteRepo.getSprite(e.spriteBlank[u]),o=It(t,i.data,a),l=Y(t,n.ref,e,o),!(l.fontPx>t.px($)));u++);else i=t.spriteRepo.getSprite(e.spriteBlank);return i}function zt(t){return t!=null&&typeof t.textColor!="undefined"?t.textColor:"black"}function Ee(t){return typeof t.shapeBlank!="undefined"?(e,n,i)=>Ae(e,t.shapeBlank.drawFunc,n,t.shapeBlank.params,i):Le}function Ct(t,e,n,i){let a=ue(n)*t.px(t.options.bannerHeight);e.save(),e.translate(0,a),Ee(n)(t,e,i.ref),e.restore()}function Dt(t,e){return typeof e.shapeBlank!="undefined"?Z(t,e.shapeBlank.drawFunc):t.shieldSize()}function _t(t,e,n,i){var l=ue(n),a=null,o=Ue(t,n,i);let u=l*t.px(t.options.bannerHeight);if(o==null?(e.translate(0,u),Ee(n)(t,e,i.ref),e.translate(0,-u),a={width:e.canvas.width,height:Dt(t,n)}):a={width:o.data.width,height:o.data.height},n.notext)return e;var h=Y(t,i.ref,n,a);return h.yBaseline+=l*t.px(t.options.bannerHeight),typeof t.options.SHIELD_TEXT_HALO_COLOR_OVERRIDE!="undefined"?(e.strokeStyle=options.SHIELD_TEXT_HALO_COLOR_OVERRIDE,oe(t,e,i.ref,h)):n.textHaloColor&&(e.strokeStyle=n.textHaloColor,oe(t,e,i.ref,h)),e.fillStyle=zt(n),Me(t,e,i.ref,h),t.options.SHIELD_TEXT_BBOX_COLOR&&(e.strokeStyle=t.options.SHIELD_TEXT_BBOX_COLOR,e.lineWidth=t.px(1),e.strokeRect(t.px(n.padding.left-.5),l*t.px(t.options.bannerHeight)+t.px(n.padding.top-.5),a.width-t.px(n.padding.left+n.padding.right-1),a.height-t.px(n.padding.top+n.padding.bottom-1))),e}function Xe(t,e){let n=se(t,e);n==null&&(console.warn("Didn't produce a shield for",JSON.stringify(e)),n=t.gfxFactory.createGraphics({width:1,height:1})),Ne(t,e.spriteID,n)}function Ne(t,e,n){let i=n.getImageData(0,0,n.canvas.width,n.canvas.height);t.spriteRepo.putSprite(e,{width:n.canvas.width,height:n.canvas.height,data:i.data},t.px(1))}function Ve(t,e){Ne(t,e,t.emptySprite())}function qe(t,e){return e.refsByName&&t.name&&e.refsByName[t.name]?e.refsByName[t.name]:t.ref}function Ht(t,e){var n=t[e.network];if(e==null)return null;if(n==null)return console.debug("Generic shield for",JSON.stringify(e)),he(e.ref)?t.default:null;var i=qe(e,n);return n.overrideByRef&&(n={...n,...n.overrideByRef[i]}),n.overrideByName&&(n={...n,...n.overrideByName[e.name||""]}),!he(i)&&"noref"in n&&(n=n.noref,n.notext=!0),!he(i)&&!n.notext&&!(n.refsByName&&e.name)?null:n}function Lt(t){let e=parseInt(t,10);if(isNaN(e))return t;let n="M".repeat(e/1e3)+"D".repeat(e%1e3/500)+"C".repeat(e%500/100)+"L".repeat(e%100/50)+"X".repeat(e%50/10)+"V".repeat(e%10/5)+"I".repeat(e%5);return n=n.replace("DCCCC","CM").replace("CCCC","CD").replace("LXXXX","XC").replace("XXXX","XL").replace("VIIII","IX").replace("IIII","IV"),n+t.slice(e.toString().length)}function At(t,e,n){let i=Math.max(t.shieldSize(),C(t,e.shapeBlank.params,n,e.shapeBlank.drawFunc)),l=Z(t,e.shapeBlank.drawFunc);return{width:i,height:l}}function se(t,e){let n=Ht(t.shieldDef,e);if(n==null)return null;e.ref=qe(e,n);let i=ue(n),l=Ue(t,n,e),a=t.shieldSize(),o=t.shieldSize();if(l==null){if(typeof n.shapeBlank!="undefined"){let c=At(t,n,e.ref);a=c.width,o=c.height}}else a=l.data.width,o=l.data.height;let u=i*t.px(t.options.bannerHeight);o+=u;let h=t.gfxFactory.createGraphics({width:a,height:o});return e.ref&&n.numberingSystem==="roman"&&(e.ref=Lt(e.ref)),Oe(t,h,n,Be),l==null?Ct(t,h,n,e):ae(h,l,u,n.verticalReflect,n.colorLighten,n.colorDarken),_t(t,h,n,e),Oe(t,h,n,Fe),h}function $e(){return(typeof window!="undefined"&&window.devicePixelRatio)>1?2:1}var ee=class{createGraphics(e){var n=document.createElement("canvas").getContext("2d"),n=document.createElement("canvas").getContext("2d",{willReadFrequently:!0});return n.imageSmoothingQuality="high",n.textAlign="center",n.textBaseline="top",n.canvas.width=e.width,n.canvas.height=e.height,n}pixelRatio(){return $e()}};var fe=class{emptySprite(){return this._emptySpriteCache||(this._emptySpriteCache=this.gfxFactory.createGraphics({width:1,height:1})),this._emptySpriteCache}px(e){return e*this.gfxFactory.pixelRatio()}shieldSize(){return this.px(this.options.shieldSize)}},pe=class{constructor(e){this.map=e}getSprite(e){return this.map.style.getImage(e)}putSprite(e,n,i){this.map.addImage(e,n,{pixelRatio:i})}},te=class{constructor(e){this._shieldPredicate=()=>!0;this._networkPredicate=()=>!0;this._shieldDefCallbacks=[];this._routeParser=e,this._renderContext=new fe,this._renderContext.gfxFactory=new ee}setShields(e){this._renderContext.options=e.options,this._renderContext.shieldDef=e.networks,this._shieldDefCallbacks.forEach(n=>n(e.networks))}getShieldDefinitions(){return this._renderContext.shieldDef}debugOptions(e){return this._renderContext.debugOptions=e,this}filterImageID(e){return this._shieldPredicate=e,this}filterNetwork(e){return this._networkPredicate=e,this}graphicsFactory(e){return this._renderContext.gfxFactory=e,this}renderOnMaplibreGL(e){return this.renderOnRepository(new pe(e)),e.on("styleimagemissing",this.getStyleImageMissingHandler()),this}onShieldDefLoad(e){return this._renderContext.shieldDef?e(this._renderContext.shieldDef):this._shieldDefCallbacks.push(e),this}renderOnRepository(e){return this._renderContext.spriteRepo||(this._renderContext.spriteRepo=e),this}getStyleImageMissingHandler(){return e=>{try{if(!this._shieldPredicate(e.id))return;let n=this._routeParser.parse(e.id);if(!this._networkPredicate(n.network)){Ve(this._renderContext,e.id);return}n.spriteID=e.id,this._renderContext.debugOptions=this.debugOptions,n&&Xe(this._renderContext,n)}catch(n){console.error(`Exception while loading image \u2018${e==null?void 0:e.id}\u2019:
`,n)}}}getGraphicForRoute(e,n,i){return se(this._renderContext,{network:e,ref:n,name:i,spriteID:this._routeParser.format(e,n,i)})}emptySprite(){return this._renderContext.emptySprite()}createGraphics(e){return this._renderContext.gfxFactory.createGraphics(e)}pixelRatio(){return this._renderContext.px(1)}},ge=class extends te{constructor(e,n){super(n),this.setShields(e)}},ce=class extends te{constructor(e,n){super(n),this.setShieldURL(e)}async setShieldURL(e){await fetch(e).then(n=>n.json()).then(n=>super.setShields(n)).catch(n=>console.error(n))}},ne=class{constructor(){this.sprites={}}getSprite(e){return this.sprites[e]}hasSprite(e){return e in this.sprites}putSprite(e,n){this.sprites[e]=n}},ln=new ne;function G(t){return{constraintFunc:"roundedRect",options:{radius:t}}}function O(t){return{constraintFunc:t}}function Gt(t,e,n,i){return n=n!=null?n:e,{shapeBlank:{drawFunc:"ellipse",params:{fillColor:t,strokeColor:e,rectWidth:i}},textLayout:O("ellipse"),padding:{left:2,right:2,top:2,bottom:2},textColor:n}}function on(t,e,n){return Gt(t,e,n,20)}function rn(t,e,n,i,l){return n=n!=null?n:e,l=l!=null?l:2,{shapeBlank:{drawFunc:"roundedRectangle",params:{fillColor:t,strokeColor:e,rectWidth:i,radius:l}},textLayout:G(l),padding:{left:3,right:3,top:3,bottom:3},textColor:n}}function dn(t,e,n,i,l,a){return i=i!=null?i:n,l=l!=null?l:0,{shapeBlank:{drawFunc:"escutcheon",params:{offset:t,fillColor:e,strokeColor:n,rectWidth:a,radius:l,outlineWidth:1}},textLayout:G(l),padding:{left:2,right:2,top:2,bottom:0+t/2},textColor:i}}function hn(t,e,n,i){return n=n!=null?n:e,{shapeBlank:{drawFunc:"fishhead",params:{fillColor:t,strokeColor:e,rectWidth:i,outlineWidth:1}},textLayout:O("roundedRect"),padding:{left:3,right:3,top:2,bottom:6},textColor:n}}function un(t,e,n,i,l){return n=n!=null?n:e,i=i!=null?i:2,{shapeBlank:{drawFunc:"triangle",params:{pointUp:!1,fillColor:t,strokeColor:e,rectWidth:l,radius:i}},textLayout:O("triangleDown"),padding:{left:1,right:1,top:2,bottom:1},textColor:n}}function sn(t,e,n,i,l,a){let o=t*Math.PI/180;return i=i!=null?i:n,l=l!=null?l:0,{shapeBlank:{drawFunc:"trapezoid",params:{angle:o,fillColor:e,strokeColor:n,rectWidth:a,radius:l}},textLayout:G(l),padding:{left:2+10*Math.tan(o),right:2+10*Math.tan(o),top:2,bottom:4},textColor:i}}function fn(t,e,n,i,l,a){let o=t*Math.PI/180;return i=i!=null?i:n,l=l!=null?l:0,{shapeBlank:{drawFunc:"trapezoid",params:{shortSideUp:!0,angle:o,fillColor:e,strokeColor:n,rectWidth:a,radius:l}},textLayout:G(l),padding:{left:2+10*Math.tan(o),right:2+10*Math.tan(o),top:4,bottom:2},textColor:i}}function pn(t,e,n,i,l){return n=n!=null?n:e,i=i!=null?i:2,{shapeBlank:{drawFunc:"diamond",params:{fillColor:t,strokeColor:e,radius:i,rectWidth:l}},textLayout:O("diamond"),padding:{left:1,right:1,top:1,bottom:1},textColor:n}}function gn(t,e,n,i,l,a,o,u){let h=e*Math.PI/180;return l=l!=null?l:i,a=a!=null?a:2,o=o!=null?o:0,{shapeBlank:{drawFunc:"pentagon",params:{offset:t,angle:h,fillColor:n,strokeColor:i,radius1:a,radius2:o,rectWidth:u}},textLayout:{constraintFunc:"rect"},padding:{left:2+(20-t)*Math.tan(h)/2,right:2+(20-t)*Math.tan(h)/2,top:1+t/2,bottom:3},textColor:l}}function cn(t,e,n,i,l,a,o){return i=i!=null?i:n,l=l!=null?l:2,a=a!=null?a:2,{shapeBlank:{drawFunc:"pentagon",params:{pointUp:!1,offset:t,angle:0,fillColor:e,strokeColor:n,radius1:l,radius2:a,rectWidth:o}},textLayout:G(a),padding:{left:2,right:2,top:2,bottom:1+t},textColor:i}}function yn(t,e,n,i,l,a,o){return i=i!=null?i:n,l=l!=null?l:2,a=a!=null?a:2,{shapeBlank:{drawFunc:"pentagon",params:{pointUp:!0,offset:t,angle:0,fillColor:e,strokeColor:n,radius1:l,radius2:a,rectWidth:o}},textLayout:G(a),padding:{left:2,right:2,top:1+t,bottom:2},textColor:i}}function Sn(t,e,n,i,l,a){return i=i!=null?i:n,l=l!=null?l:2,{shapeBlank:{drawFunc:"hexagonVertical",params:{offset:t,fillColor:e,strokeColor:n,radius:l,rectWidth:a}},textLayout:G(l),padding:{left:2,right:2,top:1+t,bottom:1+t},textColor:i}}function mn(t,e,n,i,l,a){let o=t*Math.PI/180;return i=i!=null?i:n,l=l!=null?l:2,{shapeBlank:{drawFunc:"hexagonHorizontal",params:{angle:o,fillColor:e,strokeColor:n,radius:l,rectWidth:a}},textLayout:O("ellipse"),padding:{left:3,right:3,top:2,bottom:2},textColor:i}}function bn(t,e,n,i,l,a,o){let u=e*Math.PI/180;return l=l!=null?l:i,a=a!=null?a:2,{shapeBlank:{drawFunc:"octagonVertical",params:{offset:t,angle:u,fillColor:n,strokeColor:i,radius:a,rectWidth:o}},textLayout:O("ellipse"),padding:{left:2,right:2,top:2,bottom:2},textColor:l}}function wn(t,e,n,i){return n=n!=null?n:e,{shapeBlank:{drawFunc:"roundedRectangle",params:{fillColor:t,strokeColor:e,rectWidth:i,radius:10}},textLayout:O("ellipse"),padding:{left:2,right:2,top:2,bottom:2},textColor:n}}function kn(t,e){return{banners:e,...t}}function Tn(t,e){return{notext:!0,shapeBlank:{drawFunc:"paBelt",params:{fillColor:t,strokeColor:e}}}}function vn(t,e){return{notext:!0,shapeBlank:{drawFunc:"branson",params:{fillColor:t,strokeColor:e}}}}export{ne as InMemorySpriteRepository,ge as ShieldRenderer,ce as URLShieldRenderer,kn as banneredShield,vn as bransonRouteShield,on as circleShield,pn as diamondShield,dn as escutcheonDownShield,hn as fishheadDownShield,$e as getDOMPixelRatio,mn as hexagonHorizontalShield,Sn as hexagonVerticalShield,cn as homePlateDownShield,yn as homePlateUpShield,bn as octagonVerticalShield,Gt as ovalShield,Tn as paBeltShield,gn as pentagonUpShield,wn as pillShield,rn as roundedRectShield,G as roundedRectTextConstraint,O as textConstraint,ae as transposeImageData,sn as trapezoidDownShield,fn as trapezoidUpShield,un as triangleDownShield};
var nt=Object.create;var ce=Object.defineProperty;var it=Object.getOwnPropertyDescriptor;var lt=Object.getOwnPropertyNames;var at=Object.getPrototypeOf,rt=Object.prototype.hasOwnProperty;var ot=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var dt=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of lt(e))!rt.call(t,l)&&l!==n&&ce(t,l,{get:()=>e[l],enumerable:!(i=it(e,l))||i.enumerable});return t};var ht=(t,e,n)=>(n=t!=null?nt(at(t)):{},dt(e||!t||!t.__esModule?ce(n,"default",{value:t,enumerable:!0}):n,t));var be=ot((Nt,ye)=>{"use strict";ye.exports={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]}});var ie=ht(be(),1),we=st,xe={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function st(t){var e,n=[],i=1,l;if(typeof t=="string")if(ie.default[t])n=ie.default[t].slice(),l="rgb";else if(t==="transparent")i=0,l="rgb",n=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(t)){var a=t.slice(1),r=a.length,h=r<=4;i=1,h?(n=[parseInt(a[0]+a[0],16),parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16)],r===4&&(i=parseInt(a[3]+a[3],16)/255)):(n=[parseInt(a[0]+a[1],16),parseInt(a[2]+a[3],16),parseInt(a[4]+a[5],16)],r===8&&(i=parseInt(a[6]+a[7],16)/255)),n[0]||(n[0]=0),n[1]||(n[1]=0),n[2]||(n[2]=0),l="rgb"}else if(e=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(t)){var s=e[1],f=s==="rgb",a=s.replace(/a$/,"");l=a;var r=a==="cmyk"?4:a==="gray"?1:3;n=e[2].trim().split(/\s*[,\/]\s*|\s+/).map(function(o,g){if(/%$/.test(o))return g===r?parseFloat(o)/100:a==="rgb"?parseFloat(o)*255/100:parseFloat(o);if(a[g]==="h"){if(/deg$/.test(o))return parseFloat(o);if(xe[o]!==void 0)return xe[o]}return parseFloat(o)}),s===a&&n.push(1),i=f||n[r]===void 0?1:n[r],n=n.slice(0,r)}else t.length>10&&/[0-9](?:\s|\/)/.test(t)&&(n=t.match(/([0-9]+)/g).map(function(m){return parseFloat(m)}),l=t.match(/([a-z])/ig).join("").toLowerCase());else isNaN(t)?Array.isArray(t)||t.length?(n=[t[0],t[1],t[2]],l="rgb",i=t.length===4?t[3]:1):t instanceof Object&&(t.r!=null||t.red!=null||t.R!=null?(l="rgb",n=[t.r||t.red||t.R||0,t.g||t.green||t.G||0,t.b||t.blue||t.B||0]):(l="hsl",n=[t.h||t.hue||t.H||0,t.s||t.saturation||t.S||0,t.l||t.lightness||t.L||t.b||t.brightness]),i=t.a||t.alpha||t.opacity||1,t.opacity!=null&&(i/=100)):(l="rgb",n=[t>>>16,(t&65280)>>>8,t&255]);return{space:l,values:n,alpha:i}}var q={name:"rgb",min:[0,0,0],max:[255,255,255],channel:["red","green","blue"],alias:["RGB"]};var Y={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(t){var e=t[0]/360,n=t[1]/100,i=t[2]/100,l,a,r,h,s,f=0;if(n===0)return s=i*255,[s,s,s];for(a=i<.5?i*(1+n):i+n-i*n,l=2*i-a,h=[0,0,0];f<3;)r=e+1/3*-(f-1),r<0?r++:r>1&&r--,s=6*r<1?l+(a-l)*6*r:2*r<1?a:3*r<2?l+(a-l)*(2/3-r)*6:l,h[f++]=s*255;return h}};q.hsl=function(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255,l=Math.min(e,n,i),a=Math.max(e,n,i),r=a-l,h,s,f;return a===l?h=0:e===a?h=(n-i)/r:n===a?h=2+(i-e)/r:i===a&&(h=4+(e-n)/r),h=Math.min(h*60,360),h<0&&(h+=360),f=(l+a)/2,a===l?s=0:f<=.5?s=r/(a+l):s=r/(2-a-l),[h,s*100,f*100]};function X(t){Array.isArray(t)&&t.raw&&(t=String.raw(...arguments));var e,n,i,l=we(t);if(!l.space)return[];let a=l.space[0]==="h"?Y.min:q.min,r=l.space[0]==="h"?Y.max:q.max;return e=Array(3),e[0]=Math.min(Math.max(l.values[0],a[0]),r[0]),e[1]=Math.min(Math.max(l.values[1],a[1]),r[1]),e[2]=Math.min(Math.max(l.values[2],a[2]),r[2]),l.space[0]==="h"&&(e=Y.rgb(e)),e.push(Math.min(Math.max(l.alpha,0),1)),e}var ut='"sans-serif-condensed", "Arial Narrow", sans-serif',O=(t,e)=>`bold ${t}px ${e||ut}`,$=12;function le(t,e,n){return 255-t/255*(255-n)-(1-t/255)*(255-e)}function gt(t,e,n,i){e[i]=t[n],e[i+1]=t[n+1],e[i+2]=t[n+2],e[i+3]=t[n+3]}function pt(t,e,n,i,l,a){e[i]=le(t[n],l[0],a[0]),e[i+1]=le(t[n+1],l[1],a[1]),e[i+2]=le(t[n+2],l[2],a[2]),e[i+3]=t[n+3]}function ae(t,e,n,i,l,a){let r=t.createImageData(e.data.width,e.data.height),h=l||a?pt:gt,s=l?X(l):X("#000"),f=a?X(a):X("#fff");if(i)for(let m=0;m<e.data.height;m++)for(let u=0;u<e.data.width;u++){let g=((e.data.height-m-1)*e.data.width+u)*4,p=(m*e.data.width+u)*4;h(e.data.data,r.data,p,g,s,f)}else for(let m=0;m<e.data.data.length;m+=4)h(e.data.data,r.data,m,m,s,f);t.putImageData(r,0,n)}var L={Middle:"middle",Top:"top",Bottom:"bottom"},ft={top:0,bottom:0,left:0,right:0};function ke(t,e){var n=t.width,i=t.height,l=e.width,a=e.height;return n*i/Math.sqrt(n*n*a*a+i*i*l*l)}function mt(t,e){return{scale:ke(t,e),valign:L.Middle}}function St(t,e){return{scale:ke(t,{height:e.width/2,width:e.height}),valign:L.Top}}function ve(t,e){var n=t.height/e.height,i=t.width/e.width;return{scale:Math.min(i,n),valign:L.Middle}}function ct(t,e,n){let i=2;return n!==void 0&&n.radius!==void 0&&(i=n.radius),ve({width:t.width-i*(2-Math.sqrt(2)),height:t.height-i*(2-Math.sqrt(2))},e)}function Re(t,e){let n=t.width,i=t.height,l=e.width,a=e.height;return{scale:n*i/(i*l+n*a),valign:L.Middle}}function yt(t,e){return{scale:Re(t,e).scale,valign:L.Top}}function re(t,e,n,i,l,a=14){var r=t.px(n.top)||0,h=t.px(n.bottom)||0,s=t.px(n.left)||0,f=t.px(n.right)||0,m=t.px(a),u=t.gfxFactory.createGraphics(i);u.font=O($,t.options.shieldFont),u.textAlign="center",u.textBaseline="top";var o=u.measureText(e),g=o.width,p=o.actualBoundingBoxDescent,S=i.height-r-h,d=i.width-s-f,c=s+d/2;let y=Pe[l.constraintFunc],b=y({height:S,width:d},{height:p,width:g},l.options);var w=Math.min(m,$*b.scale);u.font=O(w,t.options.shieldFont),u.textAlign="center",u.textBaseline="top",o=u.measureText(e),p=o.actualBoundingBoxDescent;let x;switch(b.valign){case L.Top:x=r;break;case L.Bottom:x=r+S-p;break;case L.Middle:default:x=r+(S-p)/2;break}return{xBaseline:c,yBaseline:x,fontPx:w}}var bt={padding:{top:0,bottom:0,left:0,right:0},shapeBlank:{drawFunc:"rect",params:{fillColor:"white",strokeColor:"black"}}};function oe(t,e,n,i){n==null&&(n=bt);var l=n.padding||ft,a={constraintFunc:"rect"},r=14;return typeof n.textLayout!="undefined"&&(a=n.textLayout),typeof n.maxFontSize!="undefined"&&(r=Math.min(r,n.maxFontSize)),re(t,e,l,i,a,r)}function Ce(t,e,n,i){Be(t,e,i),e.fillText(n,i.xBaseline,i.yBaseline)}function de(t,e,n,i){Be(t,e,i),e.shadowColor=e.strokeStyle.toString(),e.shadowBlur=0,e.lineWidth=t.px(2),e.strokeText(n,i.xBaseline,i.yBaseline),e.shadowColor=null,e.shadowBlur=null}function Be(t,e,n){e.textAlign="center",e.textBaseline="top",e.font=O(n.fontPx,t.options.shieldFont)}function he(t,e,n){var i=t.emptySprite();return i.font=O(n,t.options.shieldFont),Math.ceil(i.measureText(e).width)}var Pe={};function N(t,e){Pe[t]=e}N("diamond",Re);N("ellipse",mt);N("rect",ve);N("roundedRect",ct);N("southHalfEllipse",St);N("triangleDown",yt);function xt(t,e,n){K(t,e,{fillColor:"white",strokeColor:"black",outlineWidth:1,radius:2,rectWidth:20});let i=n.fillColor,l=t.px(.5),a=t.shieldSize()/3-l;return e.beginPath(),e.arc(t.shieldSize()/2,t.shieldSize()/2,a,0,2*Math.PI,!1),e.fillStyle=i,e.strokeStyle=n.strokeColor,e.fill(),e.lineWidth=l,e.stroke(),20}function wt(t,e,n){K(t,e,{fillColor:"#006747",strokeColor:"white",outlineWidth:1,radius:2,rectWidth:20});let i=n.fillColor,l=t.px(.5),a=.15*t.shieldSize()+l,r=.7*t.shieldSize()-2*l,h=.4*t.shieldSize()+l,s=.45*t.shieldSize()-2*l;return e.beginPath(),e.rect(a,h,r,s),e.fillStyle=i,e.strokeStyle=n.strokeColor,e.fill(),e.lineWidth=l,e.stroke(),20}function Me(){W("branson",wt,20),W("paBelt",xt,20)}var We=20,Ie=34,ze=18;function I(t,e,n,i){if(se[i]!==void 0)return t.px(se[i]);let l=e.rectWidth==null?null:e.rectWidth,a=e.sideAngle==null?0:e.sideAngle,r=Math.tan(a);if(l==null){let h=he(t,n,t.px(ze))+t.px(2),s=t.px(We);switch(i){case"pentagon":let f=e.yOffset==null?0:e.yOffset;h+=(t.shieldSize()-t.px(f))*r/2;break;case"trapezoid":h+=t.shieldSize()*r/2;break;case"triangle":s+=t.px(2);break;case"diamond":case"hexagonHorizontal":s+=t.px(4);break}return Math.max(s,Math.min(t.px(Ie),h))}else return t.px(l)}function Tt(t,e,n,i){let l=n.fillColor==null?"white":n.fillColor,a=n.strokeColor==null?"black":n.strokeColor,r=I(t,n,i),h=t.px(1),s=r/2-h,f=t.shieldSize()/2-h;return e.beginPath(),e.ellipse(e.canvas.width/2,t.shieldSize()/2,s,f,0,0,2*Math.PI,!1),e.fillStyle=l,e.fill(),e.lineWidth=h,e.strokeStyle=a,e.stroke(),r}function Ae(t,e){var n=he(t,e,t.px(ze))+t.px(2),i=Math.max(t.px(We),Math.min(t.px(Ie),n));return t.gfxFactory.createGraphics({width:i,height:t.shieldSize()})}function K(t,e,n,i){let l=n.fillColor==null?"white":n.fillColor,a=n.strokeColor==null?"black":n.strokeColor,r=n.radius==null?0:n.radius,h=n.outlineWidth==null?1:n.outlineWidth,s=I(t,n,i),f=t.px(h),m=f/2,u=t.px(r),o=m,g=m+u,p=s-m-u,S=s-m,d=m,c=m+u,y=t.shieldSize()-m-u,b=t.shieldSize()-m;return e.beginPath(),e.moveTo(p,d),e.arcTo(S,d,S,c,u),e.arcTo(S,b,p,b,u),e.arcTo(o,b,o,y,u),e.arcTo(o,d,g,d,u),e.closePath(),e.lineWidth=f,e.fillStyle=l,e.fill(),a!=null&&(e.strokeStyle=a,e.stroke()),s}function kt(t,e,n,i){let l=n.yOffset==null?0:n.yOffset,a=n.fillColor==null?"white":n.fillColor,r=n.strokeColor==null?"black":n.strokeColor,h=n.radius==null?0:n.radius,s=n.outlineWidth==null?1:n.outlineWidth,f=I(t,n,i),m=t.px(s),u=m/2,o=t.px(h),g=t.px(l),p=u,S=f-u,d=u,c=t.shieldSize()-u,y=p+o,b=(p+S)/2,w=d+o,x=c-g,k=(2*p+b)/3,T=(b+2*S)/3,v=(x+c)/2,C=(v+2*c)/3;return e.beginPath(),e.moveTo(b,c),e.bezierCurveTo(k,C,p,v,p,x),e.arcTo(p,d,y,d,o),e.arcTo(S,d,S,w,o),e.lineTo(S,x),e.bezierCurveTo(S,v,T,C,b,c),e.closePath(),e.lineWidth=m,e.fillStyle=a,e.fill(),r!=null&&(e.strokeStyle=r,e.stroke()),f}function vt(t,e,n,i){let l=n.pointUp==null?!1:n.pointUp,a=n.fillColor==null?"white":n.fillColor,r=n.strokeColor==null?"black":n.strokeColor,h=n.outlineWidth==null?1:n.outlineWidth,s=l?-1:1,f=I(t,n,i),m=t.px(h),u=m/2,o=u,g=f-u,p=l?t.shieldSize()-u:u,S=l?u:t.shieldSize()-u,d=o+t.px(1),c=o+t.px(2.5),y=(o+g)/2,b=g-t.px(2.5),w=g-t.px(1),x=p+s*t.px(2),k=p+s*t.px(4.5),T=p+s*t.px(7),v=S-s*t.px(6),C=S-s*t.px(1),R=(o+y)/2,B=(y+g)/2;return e.beginPath(),e.moveTo(y,S),e.bezierCurveTo(R,C,o,v,o,T),e.bezierCurveTo(o,k,d,x,c,p),e.lineTo(b,p),e.bezierCurveTo(w,x,g,k,g,T),e.bezierCurveTo(g,v,B,C,y,S),e.closePath(),e.lineWidth=m,e.fillStyle=a,e.fill(),r!=null&&(e.strokeStyle=r,e.stroke()),f}function Rt(t,e,n,i){let l=n.pointUp==null?!1:n.pointUp,a=n.fillColor==null?"white":n.fillColor,r=n.strokeColor==null?"black":n.strokeColor,h=n.radius==null?0:n.radius,s=n.outlineWidth==null?1:n.outlineWidth,f=l?-1:1,m=I(t,n,i,"triangle"),u=t.px(s),o=u/2,g=t.px(h),p=o,S=m-o,d=l?t.shieldSize()-o:o,c=l?o:t.shieldSize()-o,y=p+g,b=(p+S)/2,w=S-g,x=d+f*g,k=Math.atan((b-y)/Math.abs(c-g-x)),T=Math.sin(k),v=Math.cos(k),C=Math.tan(k/2),R=Math.tan(Math.PI/4-k/2),B=y-g*v,P=b-g*R,D=b+g*R,z=w+g*v,F=x+f*g*C,M=x+f*g*T,A=c-f*g*(1-T);return e.beginPath(),e.moveTo(b,c),e.arcTo(P,c,B,M,g),e.arcTo(p,F,p,x,g),e.arcTo(p,d,y,d,g),e.arcTo(S,d,S,x,g),e.arcTo(S,F,z,M,g),e.arcTo(D,c,b,c,g),e.closePath(),e.lineWidth=u,e.fillStyle=a,e.fill(),r!=null&&(e.strokeStyle=r,e.stroke()),m}function Ct(t,e,n,i){let l=n.shortSideUp==null?!1:n.shortSideUp,a=n.sideAngle==null?0:n.sideAngle,r=n.fillColor==null?"white":n.fillColor,h=n.strokeColor==null?"black":n.strokeColor,s=n.radius==null?0:n.radius,f=n.outlineWidth==null?1:n.outlineWidth,m=l?-1:1,u=Math.sin(a),o=Math.cos(a),g=Math.tan(a),p=I(t,n,i,"trapezoid"),S=t.px(f),d=S/2,c=t.px(s),y=d,b=p-d,w=l?t.shieldSize()-d:d,x=l?d:t.shieldSize()-d,k=w+m*c*(1+u),T=x-m*c*(1-u),v=y+(k-w)*g,C=v+c*o,R=y+m*(T-w)*g,B=y+m*(x-w)*g,P=R+m*c*o,D=p-B,z=p-R,F=p-C;return e.beginPath(),e.moveTo(F,w),e.arcTo(b,w,z,T,c),e.arcTo(D,x,P,x,c),e.arcTo(B,x,v,k,c),e.arcTo(y,w,F,w,c),e.closePath(),e.lineWidth=S,e.fillStyle=r,e.fill(),h!=null&&(e.strokeStyle=h,e.stroke()),p}function Bt(t,e,n,i){let l=n.fillColor==null?"white":n.fillColor,a=n.strokeColor==null?"black":n.strokeColor,r=n.radius==null?0:n.radius,h=n.outlineWidth==null?1:n.outlineWidth,s=Z(t,"diamond"),f=I(t,n,i,"diamond"),m=t.px(h),u=m/2,o=t.px(r),g=u,p=f-u,S=u,d=s-u,c=(g+p)/2,y=(S+d)/2,b=Math.atan((c-o-g)/(d-o-y)),w=Math.sin(b),x=Math.cos(b),k=Math.tan(b/2),T=Math.tan(Math.PI/4-b/2),v=g+o*(1-x),C=c-o*x,R=c-o*T,B=c+o*T,P=c+o*x,D=p-o*(1-x),z=S+o*(1-w),F=y-o*w,M=y-o*k,A=y+o*k,_=y+o*w,H=d-o*(1-w);return e.beginPath(),e.moveTo(c,d),e.arcTo(R,d,v,_,o),e.arcTo(g,A,g,y,o),e.arcTo(g,M,C,z,o),e.arcTo(R,S,c,S,o),e.arcTo(B,S,D,F,o),e.arcTo(p,M,p,y,o),e.arcTo(p,A,P,H,o),e.arcTo(B,d,c,d,o),e.closePath(),e.lineWidth=m,e.fillStyle=l,e.fill(),a!=null&&(e.strokeStyle=a,e.stroke()),f}function Pt(t,e,n,i){let l=n.pointUp==null?!0:n.pointUp,a=n.yOffset==null?0:n.yOffset,r=n.sideAngle==null?0:n.sideAngle,h=n.fillColor==null?"white":n.fillColor,s=n.strokeColor==null?"black":n.strokeColor,f=n.radius1==null?0:n.radius1,m=n.radius2==null?0:n.radius2,u=n.outlineWidth==null?1:n.outlineWidth,o=l?-1:1,g=Math.sin(r),p=Math.cos(r),S=Math.tan(r),d=I(t,n,i,"pentagon"),c=t.px(u),y=c/2,b=t.px(f),w=t.px(m),x=t.px(a),k=y,T=d-y,v=l?t.shieldSize()-y:y,C=l?y:t.shieldSize()-y,R=C-o*x,B=k+o*(R-v)*S,P=(k+T)/2,D=T-o*(R-v)*S,z=Math.atan(x/(P-k)),F=(Math.PI/2-z+r)/2,M=Math.tan(F),A=(Math.PI/2-r)/2,_=Math.tan(A),H=k+b*M*g,J=B+w*_,E=D-w*_,V=T-b*M*g,Q=R-o*b*M*p;return e.beginPath(),e.moveTo(P,C),e.arcTo(k,R,H,Q,b),e.arcTo(B,v,J,v,w),e.lineTo(E,v),e.arcTo(D,v,V,Q,w),e.arcTo(T,R,P,C,b),e.closePath(),e.lineWidth=c,e.fillStyle=h,e.fill(),s!=null&&(e.strokeStyle=s,e.stroke()),d}function Dt(t,e,n,i){let l=n.yOffset==null?0:n.yOffset,a=n.fillColor==null?"white":n.fillColor,r=n.strokeColor==null?"black":n.strokeColor,h=n.radius==null?0:n.radius,s=n.outlineWidth==null?1:n.outlineWidth,f=I(t,n,i),m=t.px(s),u=m/2,o=t.px(h),g=t.px(l),p=u,S=f-u,d=u,c=t.shieldSize()-u,y=(p+S)/2,b=d+g,w=c-g,x=o*Math.tan(Math.PI/4-Math.asin(g/(y-p))/2),k=b+x,T=w-x;return e.beginPath(),e.moveTo(y,c),e.arcTo(p,w,p,T,o),e.arcTo(p,b,y,d,o),e.lineTo(y,d),e.arcTo(S,b,S,k,o),e.arcTo(S,w,y,c,o),e.lineTo(y,c),e.closePath(),e.lineWidth=m,e.fillStyle=a,e.fill(),r!=null&&(e.strokeStyle=r,e.stroke()),f}function Mt(t,e,n,i){let l=n.sideAngle==null?0:n.sideAngle,a=n.fillColor==null?"white":n.fillColor,r=n.strokeColor==null?"black":n.strokeColor,h=n.radius==null?0:n.radius,s=n.outlineWidth==null?1:n.outlineWidth,f=Math.sin(l),m=Math.cos(l),u=Math.tan(l),o=Math.tan(Math.PI/4-l/2),g=I(t,n,i,"hexagonHorizontal"),p=t.px(s),S=p/2,d=t.px(h),c=S,y=g-S,b=S,w=t.shieldSize()-S,x=(b+w)/2,k=b+d*o*m,T=x-d*f,v=x+d*f,C=w-d*o*m,R=c+(x-T)*u,B=c+(x-b)*u,P=y-(x-b)*u,D=y-(x-T)*u,z=B-d*o*f,F=B+d*o,M=P-d*o,A=P+d*o*f;return e.beginPath(),e.moveTo(F,b),e.arcTo(P,b,A,k,d),e.arcTo(y,x,D,v,d),e.arcTo(P,w,M,w,d),e.arcTo(B,w,z,C,d),e.arcTo(c,x,R,T,d),e.arcTo(B,b,F,b,d),e.closePath(),e.lineWidth=p,e.fillStyle=a,e.fill(),r!=null&&(e.strokeStyle=r,e.stroke()),g}function Ft(t,e,n,i){let l=n.yOffset==null?0:n.yOffset,a=n.sideAngle==null?0:n.sideAngle,r=n.fillColor==null?"white":n.fillColor,h=n.strokeColor==null?"black":n.strokeColor,s=n.radius==null?0:n.radius,f=n.outlineWidth==null?1:n.outlineWidth,m=Math.sin(a),u=Math.cos(a),o=Math.tan(a),g=I(t,n,i),p=t.px(f),S=p/2,d=t.px(s),c=t.px(l),y=S,b=g-S,w=S,x=t.shieldSize()-S,k=y+d*o*m,T=(y+b)/2,v=b-d*o*m,C=w+c,R=(w+x)/2,B=x-c,P=y+(R-C)*o,D=b-(R-C)*o,z=R-d*o*u,F=R+d*o*u,M=Math.atan(c/(T-P)),A=Math.sin(M),_=Math.cos(M),H=(Math.PI/2-a-M)/2,J=Math.cos(H),E=d*Math.cos(a+H)/J,V=d*Math.sin(a+H)/J,Q=P+E-d*u,Je=P+E-d*A,Qe=D-E+d*A,Ye=D-E+d*u,Ke=C+V-d*_,Ze=C+V-d*m,et=B-V+d*m,tt=B-V+d*_;return e.beginPath(),e.moveTo(T,x),e.arcTo(P,B,Q,et,d),e.arcTo(y,R,k,z,d),e.arcTo(P,C,Je,Ke,d),e.lineTo(T,w),e.arcTo(D,C,Ye,Ze,d),e.arcTo(b,R,v,F,d),e.arcTo(D,B,Qe,tt,d),e.lineTo(T,x),e.closePath(),e.lineWidth=p,e.fillStyle=r,e.fill(),h!=null&&(e.strokeStyle=h,e.stroke()),g}function Z(t,e){switch(e){case"diamond":return t.shieldSize()+t.px(4);default:return t.shieldSize()}}function Le(t,e,n,i,l){return _e[e](t,n,i,l)}var _e={},se={};function W(t,e,n){_e[t]=e,n!==void 0&&(se[t]=n)}W("diamond",Bt);W("ellipse",Tt);W("escutcheon",kt);W("fishhead",vt);W("hexagonVertical",Dt);W("hexagonHorizontal",Mt);W("octagonVertical",Ft);W("pentagon",Pt);W("roundedRectangle",K);W("trapezoid",Ct);W("triangle",Rt);Me();var Wt={constraintFunc:"rect"};function He(t,e,n){n.bannerTextColor?e.fillStyle=n.bannerTextColor:e.fillStyle=t.options.bannerTextColor,Ge(t,e,n,It)}function Oe(t,e,n){n.bannerTextHaloColor?e.strokeStyle=e.shadowColor=n.bannerTextHaloColor:e.strokeStyle=e.shadowColor=t.options.bannerTextHaloColor,Ge(t,e,n,zt)}function Ge(t,e,n,i){if(!(n==null||typeof n.banners=="undefined"))for(var l=0;l<n.banners.length;l++)i(t,e,n.banners[l],l)}function ee(t){return t==null||typeof t.banners=="undefined"?0:t.banners.length}function It(t,e,n,i){Ue(t,e,n,i,!0)}function zt(t,e,n,i){Ue(t,e,n,i,!1)}function Ue(t,e,n,i,l){let a={top:t.options.bannerPadding,bottom:0,left:0,right:0},r={width:e.canvas.width,height:t.px(t.options.bannerHeight-t.options.bannerPadding)},h=re(t,n,a,r,Wt);e.font=O(h.fontPx,t.options.shieldFont),e.textBaseline="top",e.textAlign="center",l?e.fillText(n,h.xBaseline,h.yBaseline+i*t.px(t.options.bannerHeight-t.options.bannerPadding)):(e.shadowBlur=0,e.lineWidth=t.px(2),e.strokeText(n,h.xBaseline,h.yBaseline+i*t.px(t.options.bannerHeight-t.options.bannerPadding)),e.shadowColor=null,e.shadowBlur=null)}function At(t,e,n){return{width:e.width,height:e.height+n*t.px(t.options.bannerHeight+t.options.bannerPadding)}}function ue(t){return t!==null&&t.length!==0&&t.length<=6}function Ee(t,e,n){var i=null,l,a=0,r;if(Array.isArray(e.spriteBlank))for(var h=0;h<e.spriteBlank.length&&(i=t.spriteRepo.getSprite(e.spriteBlank[h]),r=At(t,i.data,a),l=oe(t,n.ref,e,r),!(l.fontPx>t.px($)));h++);else i=t.spriteRepo.getSprite(e.spriteBlank);return i}function Lt(t){return t!=null&&typeof t.textColor!="undefined"?t.textColor:"black"}function Ve(t){return typeof t.shapeBlank!="undefined"?(e,n,i)=>Le(e,t.shapeBlank.drawFunc,n,t.shapeBlank.params,i):Ae}function _t(t,e,n,i){let a=ee(n)*t.px(t.options.bannerHeight);e.save(),e.translate(0,a),Ve(n)(t,e,i.ref),e.restore()}function Ht(t,e){return typeof e.shapeBlank!="undefined"?Z(t,e.shapeBlank.drawFunc):t.shieldSize()}function Ot(t,e,n,i){var l=ee(n),a=null,r=Ee(t,n,i);let h=l*t.px(t.options.bannerHeight);if(r==null?(e.translate(0,h),Ve(n)(t,e,i.ref),e.translate(0,-h),a={width:e.canvas.width,height:Ht(t,n)}):a={width:r.data.width,height:r.data.height},n.notext)return e;var s=oe(t,i.ref,n,a);return s.yBaseline+=l*t.px(t.options.bannerHeight),typeof t.options.SHIELD_TEXT_HALO_COLOR_OVERRIDE!="undefined"?(e.strokeStyle=options.SHIELD_TEXT_HALO_COLOR_OVERRIDE,de(t,e,i.ref,s)):n.textHaloColor&&(e.strokeStyle=n.textHaloColor,de(t,e,i.ref,s)),e.fillStyle=Lt(n),Ce(t,e,i.ref,s),t.options.SHIELD_TEXT_BBOX_COLOR&&(e.strokeStyle=t.options.SHIELD_TEXT_BBOX_COLOR,e.lineWidth=t.px(1),e.strokeRect(t.px(n.padding.left-.5),l*t.px(t.options.bannerHeight)+t.px(n.padding.top-.5),a.width-t.px(n.padding.left+n.padding.right-1),a.height-t.px(n.padding.top+n.padding.bottom-1))),e}function Xe(t,e,n){let i=ge(t,e);i==null&&(console.warn("Didn't produce a shield for",JSON.stringify(e)),i=t.gfxFactory.createGraphics({width:1,height:1})),Ne(t,n,i)}function Ne(t,e,n){let i=n.getImageData(0,0,n.canvas.width,n.canvas.height);t.spriteRepo.putSprite(e,{width:n.canvas.width,height:n.canvas.height,data:i.data},t.px(1))}function qe(t,e){Ne(t,e,t.emptySprite())}function $e(t,e){return e.refsByName&&t.name&&e.refsByName[t.name]?e.refsByName[t.name]:t.ref}function Gt(t,e){var n=t[e.network];if(e==null)return null;if(n==null)return console.debug("Generic shield for",JSON.stringify(e)),ue(e.ref)?t.default:null;var i=$e(e,n);return n.overrideByRef&&(n={...n,...n.overrideByRef[i]}),n.overrideByName&&(n={...n,...n.overrideByName[e.name||""]}),!ue(i)&&"noref"in n&&(n=n.noref,n.notext=!0),!ue(i)&&!n.notext&&!(n.refsByName&&e.name)?null:n}function Ut(t){let e=parseInt(t,10);if(isNaN(e))return t;let n="M".repeat(e/1e3)+"D".repeat(e%1e3/500)+"C".repeat(e%500/100)+"L".repeat(e%100/50)+"X".repeat(e%50/10)+"V".repeat(e%10/5)+"I".repeat(e%5);return n=n.replace("DCCCC","CM").replace("CCCC","CD").replace("LXXXX","XC").replace("XXXX","XL").replace("VIIII","IX").replace("IIII","IV"),n+t.slice(e.toString().length)}function Et(t,e,n){let i=Math.max(t.shieldSize(),I(t,e.shapeBlank.params,n,e.shapeBlank.drawFunc)),l=Z(t,e.shapeBlank.drawFunc);return{width:i,height:l}}function ge(t,e){let n=Gt(t.shieldDef,e);if(n==null)return null;e.ref=$e(e,n);let i=ee(n),l=Ee(t,n,e),a=t.shieldSize(),r=t.shieldSize();if(l==null){if(typeof n.shapeBlank!="undefined"){let f=Et(t,n,e.ref);a=f.width,r=f.height}}else a=l.data.width,r=l.data.height;let h=i*t.px(t.options.bannerHeight);r+=h;let s=t.gfxFactory.createGraphics({width:a,height:r});return e.ref&&n.numberingSystem==="roman"&&(e.ref=Ut(e.ref)),Oe(t,s,n),l==null?_t(t,s,n,e):ae(s,l,h,n.verticalReflect,n.colorLighten,n.colorDarken),Ot(t,s,n,e),He(t,s,n),s}function je(){return(typeof window!="undefined"&&window.devicePixelRatio)>1?2:1}var te=class{createGraphics(e){var n=document.createElement("canvas").getContext("2d"),n=document.createElement("canvas").getContext("2d",{willReadFrequently:!0});return n.imageSmoothingQuality="high",n.textAlign="center",n.textBaseline="top",n.canvas.width=e.width,n.canvas.height=e.height,n}pixelRatio(){return je()}};var pe=class{emptySprite(){return this._emptySpriteCache||(this._emptySpriteCache=this.gfxFactory.createGraphics({width:1,height:1})),this._emptySpriteCache}px(e){return e*this.gfxFactory.pixelRatio()}shieldSize(){return this.px(this.options.shieldSize)}},fe=class{constructor(e){this.map=e}getSprite(e){return this.map.style.getImage(e)}putSprite(e,n,i){this.map.addImage(e,n,{pixelRatio:i})}},j=class{constructor(e){this._shieldPredicate=()=>!0;this._networkPredicate=()=>!0;this._shieldDefCallbacks=[];this._routeParser=e,this._renderContext=new pe,this._renderContext.gfxFactory=new te}setShields(e){this._renderContext.options=e.options,this._renderContext.shieldDef=e.networks,this._shieldDefCallbacks.forEach(n=>n(e.networks))}getShieldDefinitions(){return this._renderContext.shieldDef}debugOptions(e){return this._renderContext.debugOptions=e,this}filterImageID(e){return this._shieldPredicate=e,this}filterNetwork(e){return this._networkPredicate=e,this}graphicsFactory(e){return this._renderContext.gfxFactory=e,this}renderOnMaplibreGL(e){return this.renderOnRepository(new fe(e)),e.on("styleimagemissing",this.getStyleImageMissingHandler()),this}onShieldDefLoad(e){return this._renderContext.shieldDef?e(this._renderContext.shieldDef):this._shieldDefCallbacks.push(e),this}renderOnRepository(e){return this._renderContext.spriteRepo||(this._renderContext.spriteRepo=e),this}getStyleImageMissingHandler(){return e=>{try{if(!this._shieldPredicate(e.id))return;let n=this._routeParser.parse(e.id);if(!this._networkPredicate(n.network)){qe(this._renderContext,e.id);return}n&&Xe(this._renderContext,n,e.id)}catch(n){console.error(`Exception while loading image \u2018${e==null?void 0:e.id}\u2019:
`,n)}}}getGraphicForRoute(e,n,i){return ge(this._renderContext,{network:e,ref:n,name:i})}emptySprite(){return this._renderContext.emptySprite()}createGraphics(e){return this._renderContext.gfxFactory.createGraphics(e)}pixelRatio(){return this._renderContext.px(1)}},me=class extends j{constructor(e,n){super(n),this.setShields(e)}},Se=class extends j{constructor(e,n){super(n),this.setShieldURL(e)}async setShieldURL(e){await fetch(e).then(n=>n.json()).then(n=>super.setShields(n)).catch(n=>console.error(n))}},ne=class{constructor(){this.sprites={}}getSprite(e){return this.sprites[e]}hasSprite(e){return e in this.sprites}putSprite(e,n){this.sprites[e]=n}},pn=new ne;function G(t){return{constraintFunc:"roundedRect",options:{radius:t}}}function U(t){return{constraintFunc:t}}function Vt(t,e,n,i){return n=n!=null?n:e,{shapeBlank:{drawFunc:"ellipse",params:{fillColor:t,strokeColor:e,rectWidth:i}},textLayout:U("ellipse"),padding:{left:2,right:2,top:2,bottom:2},textColor:n}}function mn(t,e,n){return Vt(t,e,n,20)}function Sn(t,e,n,i,l){return n=n!=null?n:e,l=l!=null?l:2,{shapeBlank:{drawFunc:"roundedRectangle",params:{fillColor:t,strokeColor:e,rectWidth:i,radius:l}},textLayout:G(l),padding:{left:3,right:3,top:3,bottom:3},textColor:n}}function cn(t,e,n,i,l,a){return i=i!=null?i:n,l=l!=null?l:0,{shapeBlank:{drawFunc:"escutcheon",params:{yOffset:t,fillColor:e,strokeColor:n,rectWidth:a,radius:l,outlineWidth:1}},textLayout:G(l),padding:{left:2,right:2,top:2,bottom:0+t/2},textColor:i}}function yn(t,e,n,i){return n=n!=null?n:e,{shapeBlank:{drawFunc:"fishhead",params:{fillColor:t,strokeColor:e,rectWidth:i,outlineWidth:1}},textLayout:U("roundedRect"),padding:{left:3,right:3,top:2,bottom:6},textColor:n}}function bn(t,e,n,i,l){return n=n!=null?n:e,i=i!=null?i:2,{shapeBlank:{drawFunc:"triangle",params:{pointUp:!1,fillColor:t,strokeColor:e,rectWidth:l,radius:i}},textLayout:U("triangleDown"),padding:{left:1,right:1,top:2,bottom:1},textColor:n}}function xn(t,e,n,i,l,a){let r=t*Math.PI/180;return i=i!=null?i:n,l=l!=null?l:0,{shapeBlank:{drawFunc:"trapezoid",params:{sideAngle:r,fillColor:e,strokeColor:n,rectWidth:a,radius:l}},textLayout:G(l),padding:{left:2+10*Math.tan(r),right:2+10*Math.tan(r),top:2,bottom:4},textColor:i}}function wn(t,e,n,i,l,a){let r=t*Math.PI/180;return i=i!=null?i:n,l=l!=null?l:0,{shapeBlank:{drawFunc:"trapezoid",params:{shortSideUp:!0,sideAngle:r,fillColor:e,strokeColor:n,rectWidth:a,radius:l}},textLayout:G(l),padding:{left:2+10*Math.tan(r),right:2+10*Math.tan(r),top:4,bottom:2},textColor:i}}function Tn(t,e,n,i,l){return n=n!=null?n:e,i=i!=null?i:2,{shapeBlank:{drawFunc:"diamond",params:{fillColor:t,strokeColor:e,radius:i,rectWidth:l}},textLayout:U("diamond"),padding:{left:1,right:1,top:1,bottom:1},textColor:n}}function kn(t,e,n,i,l,a,r,h){let s=e*Math.PI/180;return l=l!=null?l:i,a=a!=null?a:2,r=r!=null?r:0,{shapeBlank:{drawFunc:"pentagon",params:{yOffset:t,sideAngle:s,fillColor:n,strokeColor:i,radius1:a,radius2:r,rectWidth:h}},textLayout:{constraintFunc:"rect"},padding:{left:2+(20-t)*Math.tan(s)/2,right:2+(20-t)*Math.tan(s)/2,top:1+t/2,bottom:3},textColor:l}}function vn(t,e,n,i,l,a,r){return i=i!=null?i:n,l=l!=null?l:2,a=a!=null?a:2,{shapeBlank:{drawFunc:"pentagon",params:{pointUp:!1,yOffset:t,sideAngle:0,fillColor:e,strokeColor:n,radius1:l,radius2:a,rectWidth:r}},textLayout:G(a),padding:{left:2,right:2,top:2,bottom:1+t},textColor:i}}function Rn(t,e,n,i,l,a,r){return i=i!=null?i:n,l=l!=null?l:2,a=a!=null?a:2,{shapeBlank:{drawFunc:"pentagon",params:{pointUp:!0,yOffset:t,sideAngle:0,fillColor:e,strokeColor:n,radius1:l,radius2:a,rectWidth:r}},textLayout:G(a),padding:{left:2,right:2,top:1+t,bottom:2},textColor:i}}function Cn(t,e,n,i,l,a){return i=i!=null?i:n,l=l!=null?l:2,{shapeBlank:{drawFunc:"hexagonVertical",params:{yOffset:t,fillColor:e,strokeColor:n,radius:l,rectWidth:a}},textLayout:G(l),padding:{left:2,right:2,top:1+t,bottom:1+t},textColor:i}}function Bn(t,e,n,i,l,a){let r=t*Math.PI/180;return i=i!=null?i:n,l=l!=null?l:2,{shapeBlank:{drawFunc:"hexagonHorizontal",params:{sideAngle:r,fillColor:e,strokeColor:n,radius:l,rectWidth:a}},textLayout:U("ellipse"),padding:{left:3,right:3,top:2,bottom:2},textColor:i}}function Pn(t,e,n,i,l,a,r){let h=e*Math.PI/180;return l=l!=null?l:i,a=a!=null?a:2,{shapeBlank:{drawFunc:"octagonVertical",params:{yOffset:t,sideAngle:h,fillColor:n,strokeColor:i,radius:a,rectWidth:r}},textLayout:U("ellipse"),padding:{left:2,right:2,top:2,bottom:2},textColor:l}}function Dn(t,e,n,i){return n=n!=null?n:e,{shapeBlank:{drawFunc:"roundedRectangle",params:{fillColor:t,strokeColor:e,rectWidth:i,radius:10}},textLayout:U("ellipse"),padding:{left:2,right:2,top:2,bottom:2},textColor:n}}function Mn(t,e,n){return{banners:e,bannerTextColor:n,...t}}function Fn(t,e){return{notext:!0,shapeBlank:{drawFunc:"paBelt",params:{fillColor:t,strokeColor:e}}}}function Wn(t,e){return{notext:!0,shapeBlank:{drawFunc:"branson",params:{fillColor:t,strokeColor:e}}}}export{j as AbstractShieldRenderer,ne as InMemorySpriteRepository,me as ShieldRenderer,Se as URLShieldRenderer,Mn as banneredShield,Wn as bransonRouteShield,mn as circleShield,Tn as diamondShield,cn as escutcheonDownShield,yn as fishheadDownShield,je as getDOMPixelRatio,Bn as hexagonHorizontalShield,Cn as hexagonVerticalShield,vn as homePlateDownShield,Rn as homePlateUpShield,Pn as octagonVerticalShield,Vt as ovalShield,Fn as paBeltShield,kn as pentagonUpShield,Dn as pillShield,Sn as roundedRectShield,G as roundedRectTextConstraint,U as textConstraint,ae as transposeImageData,xn as trapezoidDownShield,wn as trapezoidUpShield,bn as triangleDownShield};
//# sourceMappingURL=index.js.map

@@ -1,1 +0,1 @@

window.searchData = JSON.parse("{\"rows\":[{\"kind\":4194304,\"name\":\"Bounds\",\"url\":\"types/Bounds.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/Bounds.html#__type\",\"classes\":\"\",\"parent\":\"Bounds\"},{\"kind\":1024,\"name\":\"width\",\"url\":\"types/Bounds.html#__type.width\",\"classes\":\"\",\"parent\":\"Bounds.__type\"},{\"kind\":1024,\"name\":\"height\",\"url\":\"types/Bounds.html#__type.height\",\"classes\":\"\",\"parent\":\"Bounds.__type\"},{\"kind\":256,\"name\":\"GraphicsFactory\",\"url\":\"interfaces/GraphicsFactory.html\",\"classes\":\"\"},{\"kind\":2048,\"name\":\"createGraphics\",\"url\":\"interfaces/GraphicsFactory.html#createGraphics\",\"classes\":\"\",\"parent\":\"GraphicsFactory\"},{\"kind\":2048,\"name\":\"pixelRatio\",\"url\":\"interfaces/GraphicsFactory.html#pixelRatio\",\"classes\":\"\",\"parent\":\"GraphicsFactory\"},{\"kind\":256,\"name\":\"RouteDefinition\",\"url\":\"interfaces/RouteDefinition.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"network\",\"url\":\"interfaces/RouteDefinition.html#network\",\"classes\":\"\",\"parent\":\"RouteDefinition\"},{\"kind\":1024,\"name\":\"ref\",\"url\":\"interfaces/RouteDefinition.html#ref\",\"classes\":\"\",\"parent\":\"RouteDefinition\"},{\"kind\":1024,\"name\":\"name\",\"url\":\"interfaces/RouteDefinition.html#name\",\"classes\":\"\",\"parent\":\"RouteDefinition\"},{\"kind\":1024,\"name\":\"spriteID\",\"url\":\"interfaces/RouteDefinition.html#spriteID\",\"classes\":\"\",\"parent\":\"RouteDefinition\"},{\"kind\":256,\"name\":\"ShieldSpecification\",\"url\":\"interfaces/ShieldSpecification.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"networks\",\"url\":\"interfaces/ShieldSpecification.html#networks\",\"classes\":\"\",\"parent\":\"ShieldSpecification\"},{\"kind\":1024,\"name\":\"options\",\"url\":\"interfaces/ShieldSpecification.html#options\",\"classes\":\"\",\"parent\":\"ShieldSpecification\"},{\"kind\":4194304,\"name\":\"SpriteRepository\",\"url\":\"types/SpriteRepository.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"transposeImageData\",\"url\":\"functions/transposeImageData.html\",\"classes\":\"\"},{\"kind\":128,\"name\":\"URLShieldRenderer\",\"url\":\"classes/URLShieldRenderer.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/URLShieldRenderer.html#constructor\",\"classes\":\"\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"setShieldURL\",\"url\":\"classes/URLShieldRenderer.html#setShieldURL\",\"classes\":\"\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"setShields\",\"url\":\"classes/URLShieldRenderer.html#setShields\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"getShieldDefinitions\",\"url\":\"classes/URLShieldRenderer.html#getShieldDefinitions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"debugOptions\",\"url\":\"classes/URLShieldRenderer.html#debugOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"filterImageID\",\"url\":\"classes/URLShieldRenderer.html#filterImageID\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"filterNetwork\",\"url\":\"classes/URLShieldRenderer.html#filterNetwork\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"graphicsFactory\",\"url\":\"classes/URLShieldRenderer.html#graphicsFactory\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"renderOnMaplibreGL\",\"url\":\"classes/URLShieldRenderer.html#renderOnMaplibreGL\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"onShieldDefLoad\",\"url\":\"classes/URLShieldRenderer.html#onShieldDefLoad\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"renderOnRepository\",\"url\":\"classes/URLShieldRenderer.html#renderOnRepository\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"getStyleImageMissingHandler\",\"url\":\"classes/URLShieldRenderer.html#getStyleImageMissingHandler\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/URLShieldRenderer.html#getStyleImageMissingHandler.getStyleImageMissingHandler-1.__type\",\"classes\":\"\",\"parent\":\"URLShieldRenderer.getStyleImageMissingHandler.getStyleImageMissingHandler\"},{\"kind\":2048,\"name\":\"getGraphicForRoute\",\"url\":\"classes/URLShieldRenderer.html#getGraphicForRoute\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"emptySprite\",\"url\":\"classes/URLShieldRenderer.html#emptySprite\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"createGraphics\",\"url\":\"classes/URLShieldRenderer.html#createGraphics\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"pixelRatio\",\"url\":\"classes/URLShieldRenderer.html#pixelRatio\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":128,\"name\":\"ShieldRenderer\",\"url\":\"classes/ShieldRenderer.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ShieldRenderer.html#constructor\",\"classes\":\"\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"setShields\",\"url\":\"classes/ShieldRenderer.html#setShields\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"getShieldDefinitions\",\"url\":\"classes/ShieldRenderer.html#getShieldDefinitions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"debugOptions\",\"url\":\"classes/ShieldRenderer.html#debugOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"filterImageID\",\"url\":\"classes/ShieldRenderer.html#filterImageID\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"filterNetwork\",\"url\":\"classes/ShieldRenderer.html#filterNetwork\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"graphicsFactory\",\"url\":\"classes/ShieldRenderer.html#graphicsFactory\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"renderOnMaplibreGL\",\"url\":\"classes/ShieldRenderer.html#renderOnMaplibreGL\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"onShieldDefLoad\",\"url\":\"classes/ShieldRenderer.html#onShieldDefLoad\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"renderOnRepository\",\"url\":\"classes/ShieldRenderer.html#renderOnRepository\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"getStyleImageMissingHandler\",\"url\":\"classes/ShieldRenderer.html#getStyleImageMissingHandler\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ShieldRenderer.html#getStyleImageMissingHandler.getStyleImageMissingHandler-1.__type\",\"classes\":\"\",\"parent\":\"ShieldRenderer.getStyleImageMissingHandler.getStyleImageMissingHandler\"},{\"kind\":2048,\"name\":\"getGraphicForRoute\",\"url\":\"classes/ShieldRenderer.html#getGraphicForRoute\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"emptySprite\",\"url\":\"classes/ShieldRenderer.html#emptySprite\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"createGraphics\",\"url\":\"classes/ShieldRenderer.html#createGraphics\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"pixelRatio\",\"url\":\"classes/ShieldRenderer.html#pixelRatio\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":128,\"name\":\"InMemorySpriteRepository\",\"url\":\"classes/InMemorySpriteRepository.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/InMemorySpriteRepository.html#constructor\",\"classes\":\"\",\"parent\":\"InMemorySpriteRepository\"},{\"kind\":1024,\"name\":\"sprites\",\"url\":\"classes/InMemorySpriteRepository.html#sprites\",\"classes\":\"\",\"parent\":\"InMemorySpriteRepository\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/InMemorySpriteRepository.html#sprites.__type\",\"classes\":\"\",\"parent\":\"InMemorySpriteRepository.sprites\"},{\"kind\":2048,\"name\":\"getSprite\",\"url\":\"classes/InMemorySpriteRepository.html#getSprite\",\"classes\":\"\",\"parent\":\"InMemorySpriteRepository\"},{\"kind\":2048,\"name\":\"hasSprite\",\"url\":\"classes/InMemorySpriteRepository.html#hasSprite\",\"classes\":\"\",\"parent\":\"InMemorySpriteRepository\"},{\"kind\":2048,\"name\":\"putSprite\",\"url\":\"classes/InMemorySpriteRepository.html#putSprite\",\"classes\":\"\",\"parent\":\"InMemorySpriteRepository\"},{\"kind\":64,\"name\":\"getDOMPixelRatio\",\"url\":\"functions/getDOMPixelRatio.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"roundedRectTextConstraint\",\"url\":\"functions/roundedRectTextConstraint.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"textConstraint\",\"url\":\"functions/textConstraint.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"ovalShield\",\"url\":\"functions/ovalShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"circleShield\",\"url\":\"functions/circleShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"roundedRectShield\",\"url\":\"functions/roundedRectShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"escutcheonDownShield\",\"url\":\"functions/escutcheonDownShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"fishheadDownShield\",\"url\":\"functions/fishheadDownShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"triangleDownShield\",\"url\":\"functions/triangleDownShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"trapezoidDownShield\",\"url\":\"functions/trapezoidDownShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"trapezoidUpShield\",\"url\":\"functions/trapezoidUpShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"diamondShield\",\"url\":\"functions/diamondShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"pentagonUpShield\",\"url\":\"functions/pentagonUpShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"homePlateDownShield\",\"url\":\"functions/homePlateDownShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"homePlateUpShield\",\"url\":\"functions/homePlateUpShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"hexagonVerticalShield\",\"url\":\"functions/hexagonVerticalShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"hexagonHorizontalShield\",\"url\":\"functions/hexagonHorizontalShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"octagonVerticalShield\",\"url\":\"functions/octagonVerticalShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"pillShield\",\"url\":\"functions/pillShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"banneredShield\",\"url\":\"functions/banneredShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"paBeltShield\",\"url\":\"functions/paBeltShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"bransonRouteShield\",\"url\":\"functions/bransonRouteShield.html\",\"classes\":\"\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,40.013]],[\"comment/0\",[]],[\"name/1\",[1,29.026]],[\"comment/1\",[]],[\"name/2\",[2,40.013]],[\"comment/2\",[]],[\"name/3\",[3,40.013]],[\"comment/3\",[]],[\"name/4\",[4,31.54]],[\"comment/4\",[]],[\"name/5\",[5,31.54]],[\"comment/5\",[]],[\"name/6\",[6,31.54]],[\"comment/6\",[]],[\"name/7\",[7,40.013]],[\"comment/7\",[]],[\"name/8\",[8,40.013]],[\"comment/8\",[]],[\"name/9\",[9,40.013]],[\"comment/9\",[]],[\"name/10\",[10,40.013]],[\"comment/10\",[]],[\"name/11\",[11,40.013]],[\"comment/11\",[]],[\"name/12\",[12,40.013]],[\"comment/12\",[]],[\"name/13\",[13,40.013]],[\"comment/13\",[]],[\"name/14\",[14,40.013]],[\"comment/14\",[]],[\"name/15\",[15,40.013]],[\"comment/15\",[]],[\"name/16\",[16,40.013]],[\"comment/16\",[]],[\"name/17\",[17,40.013]],[\"comment/17\",[]],[\"name/18\",[18,31.54]],[\"comment/18\",[]],[\"name/19\",[19,40.013]],[\"comment/19\",[]],[\"name/20\",[20,34.904]],[\"comment/20\",[]],[\"name/21\",[21,34.904]],[\"comment/21\",[]],[\"name/22\",[22,34.904]],[\"comment/22\",[]],[\"name/23\",[23,34.904]],[\"comment/23\",[]],[\"name/24\",[24,34.904]],[\"comment/24\",[]],[\"name/25\",[4,31.54]],[\"comment/25\",[]],[\"name/26\",[25,34.904]],[\"comment/26\",[]],[\"name/27\",[26,34.904]],[\"comment/27\",[]],[\"name/28\",[27,34.904]],[\"comment/28\",[]],[\"name/29\",[28,34.904]],[\"comment/29\",[]],[\"name/30\",[1,29.026]],[\"comment/30\",[]],[\"name/31\",[29,34.904]],[\"comment/31\",[]],[\"name/32\",[30,34.904]],[\"comment/32\",[]],[\"name/33\",[5,31.54]],[\"comment/33\",[]],[\"name/34\",[6,31.54]],[\"comment/34\",[]],[\"name/35\",[31,40.013]],[\"comment/35\",[]],[\"name/36\",[18,31.54]],[\"comment/36\",[]],[\"name/37\",[20,34.904]],[\"comment/37\",[]],[\"name/38\",[21,34.904]],[\"comment/38\",[]],[\"name/39\",[22,34.904]],[\"comment/39\",[]],[\"name/40\",[23,34.904]],[\"comment/40\",[]],[\"name/41\",[24,34.904]],[\"comment/41\",[]],[\"name/42\",[4,31.54]],[\"comment/42\",[]],[\"name/43\",[25,34.904]],[\"comment/43\",[]],[\"name/44\",[26,34.904]],[\"comment/44\",[]],[\"name/45\",[27,34.904]],[\"comment/45\",[]],[\"name/46\",[28,34.904]],[\"comment/46\",[]],[\"name/47\",[1,29.026]],[\"comment/47\",[]],[\"name/48\",[29,34.904]],[\"comment/48\",[]],[\"name/49\",[30,34.904]],[\"comment/49\",[]],[\"name/50\",[5,31.54]],[\"comment/50\",[]],[\"name/51\",[6,31.54]],[\"comment/51\",[]],[\"name/52\",[32,40.013]],[\"comment/52\",[]],[\"name/53\",[18,31.54]],[\"comment/53\",[]],[\"name/54\",[33,40.013]],[\"comment/54\",[]],[\"name/55\",[1,29.026]],[\"comment/55\",[]],[\"name/56\",[34,40.013]],[\"comment/56\",[]],[\"name/57\",[35,40.013]],[\"comment/57\",[]],[\"name/58\",[36,40.013]],[\"comment/58\",[]],[\"name/59\",[37,40.013]],[\"comment/59\",[]],[\"name/60\",[38,40.013]],[\"comment/60\",[]],[\"name/61\",[39,40.013]],[\"comment/61\",[]],[\"name/62\",[40,40.013]],[\"comment/62\",[]],[\"name/63\",[41,40.013]],[\"comment/63\",[]],[\"name/64\",[42,40.013]],[\"comment/64\",[]],[\"name/65\",[43,40.013]],[\"comment/65\",[]],[\"name/66\",[44,40.013]],[\"comment/66\",[]],[\"name/67\",[45,40.013]],[\"comment/67\",[]],[\"name/68\",[46,40.013]],[\"comment/68\",[]],[\"name/69\",[47,40.013]],[\"comment/69\",[]],[\"name/70\",[48,40.013]],[\"comment/70\",[]],[\"name/71\",[49,40.013]],[\"comment/71\",[]],[\"name/72\",[50,40.013]],[\"comment/72\",[]],[\"name/73\",[51,40.013]],[\"comment/73\",[]],[\"name/74\",[52,40.013]],[\"comment/74\",[]],[\"name/75\",[53,40.013]],[\"comment/75\",[]],[\"name/76\",[54,40.013]],[\"comment/76\",[]],[\"name/77\",[55,40.013]],[\"comment/77\",[]],[\"name/78\",[56,40.013]],[\"comment/78\",[]],[\"name/79\",[57,40.013]],[\"comment/79\",[]],[\"name/80\",[58,40.013]],[\"comment/80\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":1,\"name\":{\"1\":{},\"30\":{},\"47\":{},\"55\":{}},\"comment\":{}}],[\"banneredshield\",{\"_index\":56,\"name\":{\"78\":{}},\"comment\":{}}],[\"bounds\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"bransonrouteshield\",{\"_index\":58,\"name\":{\"80\":{}},\"comment\":{}}],[\"circleshield\",{\"_index\":41,\"name\":{\"63\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":18,\"name\":{\"18\":{},\"36\":{},\"53\":{}},\"comment\":{}}],[\"creategraphics\",{\"_index\":5,\"name\":{\"5\":{},\"33\":{},\"50\":{}},\"comment\":{}}],[\"debugoptions\",{\"_index\":22,\"name\":{\"22\":{},\"39\":{}},\"comment\":{}}],[\"diamondshield\",{\"_index\":48,\"name\":{\"70\":{}},\"comment\":{}}],[\"emptysprite\",{\"_index\":30,\"name\":{\"32\":{},\"49\":{}},\"comment\":{}}],[\"escutcheondownshield\",{\"_index\":43,\"name\":{\"65\":{}},\"comment\":{}}],[\"filterimageid\",{\"_index\":23,\"name\":{\"23\":{},\"40\":{}},\"comment\":{}}],[\"filternetwork\",{\"_index\":24,\"name\":{\"24\":{},\"41\":{}},\"comment\":{}}],[\"fishheaddownshield\",{\"_index\":44,\"name\":{\"66\":{}},\"comment\":{}}],[\"getdompixelratio\",{\"_index\":37,\"name\":{\"59\":{}},\"comment\":{}}],[\"getgraphicforroute\",{\"_index\":29,\"name\":{\"31\":{},\"48\":{}},\"comment\":{}}],[\"getshielddefinitions\",{\"_index\":21,\"name\":{\"21\":{},\"38\":{}},\"comment\":{}}],[\"getsprite\",{\"_index\":34,\"name\":{\"56\":{}},\"comment\":{}}],[\"getstyleimagemissinghandler\",{\"_index\":28,\"name\":{\"29\":{},\"46\":{}},\"comment\":{}}],[\"graphicsfactory\",{\"_index\":4,\"name\":{\"4\":{},\"25\":{},\"42\":{}},\"comment\":{}}],[\"hassprite\",{\"_index\":35,\"name\":{\"57\":{}},\"comment\":{}}],[\"height\",{\"_index\":3,\"name\":{\"3\":{}},\"comment\":{}}],[\"hexagonhorizontalshield\",{\"_index\":53,\"name\":{\"75\":{}},\"comment\":{}}],[\"hexagonverticalshield\",{\"_index\":52,\"name\":{\"74\":{}},\"comment\":{}}],[\"homeplatedownshield\",{\"_index\":50,\"name\":{\"72\":{}},\"comment\":{}}],[\"homeplateupshield\",{\"_index\":51,\"name\":{\"73\":{}},\"comment\":{}}],[\"inmemoryspriterepository\",{\"_index\":32,\"name\":{\"52\":{}},\"comment\":{}}],[\"name\",{\"_index\":10,\"name\":{\"10\":{}},\"comment\":{}}],[\"network\",{\"_index\":8,\"name\":{\"8\":{}},\"comment\":{}}],[\"networks\",{\"_index\":13,\"name\":{\"13\":{}},\"comment\":{}}],[\"octagonverticalshield\",{\"_index\":54,\"name\":{\"76\":{}},\"comment\":{}}],[\"onshielddefload\",{\"_index\":26,\"name\":{\"27\":{},\"44\":{}},\"comment\":{}}],[\"options\",{\"_index\":14,\"name\":{\"14\":{}},\"comment\":{}}],[\"ovalshield\",{\"_index\":40,\"name\":{\"62\":{}},\"comment\":{}}],[\"pabeltshield\",{\"_index\":57,\"name\":{\"79\":{}},\"comment\":{}}],[\"pentagonupshield\",{\"_index\":49,\"name\":{\"71\":{}},\"comment\":{}}],[\"pillshield\",{\"_index\":55,\"name\":{\"77\":{}},\"comment\":{}}],[\"pixelratio\",{\"_index\":6,\"name\":{\"6\":{},\"34\":{},\"51\":{}},\"comment\":{}}],[\"putsprite\",{\"_index\":36,\"name\":{\"58\":{}},\"comment\":{}}],[\"ref\",{\"_index\":9,\"name\":{\"9\":{}},\"comment\":{}}],[\"renderonmaplibregl\",{\"_index\":25,\"name\":{\"26\":{},\"43\":{}},\"comment\":{}}],[\"renderonrepository\",{\"_index\":27,\"name\":{\"28\":{},\"45\":{}},\"comment\":{}}],[\"roundedrectshield\",{\"_index\":42,\"name\":{\"64\":{}},\"comment\":{}}],[\"roundedrecttextconstraint\",{\"_index\":38,\"name\":{\"60\":{}},\"comment\":{}}],[\"routedefinition\",{\"_index\":7,\"name\":{\"7\":{}},\"comment\":{}}],[\"setshields\",{\"_index\":20,\"name\":{\"20\":{},\"37\":{}},\"comment\":{}}],[\"setshieldurl\",{\"_index\":19,\"name\":{\"19\":{}},\"comment\":{}}],[\"shieldrenderer\",{\"_index\":31,\"name\":{\"35\":{}},\"comment\":{}}],[\"shieldspecification\",{\"_index\":12,\"name\":{\"12\":{}},\"comment\":{}}],[\"spriteid\",{\"_index\":11,\"name\":{\"11\":{}},\"comment\":{}}],[\"spriterepository\",{\"_index\":15,\"name\":{\"15\":{}},\"comment\":{}}],[\"sprites\",{\"_index\":33,\"name\":{\"54\":{}},\"comment\":{}}],[\"textconstraint\",{\"_index\":39,\"name\":{\"61\":{}},\"comment\":{}}],[\"transposeimagedata\",{\"_index\":16,\"name\":{\"16\":{}},\"comment\":{}}],[\"trapezoiddownshield\",{\"_index\":46,\"name\":{\"68\":{}},\"comment\":{}}],[\"trapezoidupshield\",{\"_index\":47,\"name\":{\"69\":{}},\"comment\":{}}],[\"triangledownshield\",{\"_index\":45,\"name\":{\"67\":{}},\"comment\":{}}],[\"urlshieldrenderer\",{\"_index\":17,\"name\":{\"17\":{}},\"comment\":{}}],[\"width\",{\"_index\":2,\"name\":{\"2\":{}},\"comment\":{}}]],\"pipeline\":[]}}");
window.searchData = JSON.parse("{\"rows\":[{\"kind\":64,\"name\":\"transposeImageData\",\"url\":\"functions/transposeImageData.html\",\"classes\":\"\"},{\"kind\":128,\"name\":\"URLShieldRenderer\",\"url\":\"classes/URLShieldRenderer.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/URLShieldRenderer.html#constructor\",\"classes\":\"\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"setShieldURL\",\"url\":\"classes/URLShieldRenderer.html#setShieldURL\",\"classes\":\"tsd-is-private\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"setShields\",\"url\":\"classes/URLShieldRenderer.html#setShields\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"getShieldDefinitions\",\"url\":\"classes/URLShieldRenderer.html#getShieldDefinitions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"debugOptions\",\"url\":\"classes/URLShieldRenderer.html#debugOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"filterImageID\",\"url\":\"classes/URLShieldRenderer.html#filterImageID\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"filterNetwork\",\"url\":\"classes/URLShieldRenderer.html#filterNetwork\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"graphicsFactory\",\"url\":\"classes/URLShieldRenderer.html#graphicsFactory\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"renderOnMaplibreGL\",\"url\":\"classes/URLShieldRenderer.html#renderOnMaplibreGL\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"onShieldDefLoad\",\"url\":\"classes/URLShieldRenderer.html#onShieldDefLoad\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"renderOnRepository\",\"url\":\"classes/URLShieldRenderer.html#renderOnRepository\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"getStyleImageMissingHandler\",\"url\":\"classes/URLShieldRenderer.html#getStyleImageMissingHandler\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/URLShieldRenderer.html#getStyleImageMissingHandler.getStyleImageMissingHandler-1.__type\",\"classes\":\"\",\"parent\":\"URLShieldRenderer.getStyleImageMissingHandler.getStyleImageMissingHandler\"},{\"kind\":2048,\"name\":\"getGraphicForRoute\",\"url\":\"classes/URLShieldRenderer.html#getGraphicForRoute\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"emptySprite\",\"url\":\"classes/URLShieldRenderer.html#emptySprite\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"createGraphics\",\"url\":\"classes/URLShieldRenderer.html#createGraphics\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":2048,\"name\":\"pixelRatio\",\"url\":\"classes/URLShieldRenderer.html#pixelRatio\",\"classes\":\"tsd-is-inherited\",\"parent\":\"URLShieldRenderer\"},{\"kind\":128,\"name\":\"ShieldRenderer\",\"url\":\"classes/ShieldRenderer.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/ShieldRenderer.html#constructor\",\"classes\":\"\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"setShields\",\"url\":\"classes/ShieldRenderer.html#setShields\",\"classes\":\"tsd-is-protected tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"getShieldDefinitions\",\"url\":\"classes/ShieldRenderer.html#getShieldDefinitions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"debugOptions\",\"url\":\"classes/ShieldRenderer.html#debugOptions\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"filterImageID\",\"url\":\"classes/ShieldRenderer.html#filterImageID\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"filterNetwork\",\"url\":\"classes/ShieldRenderer.html#filterNetwork\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"graphicsFactory\",\"url\":\"classes/ShieldRenderer.html#graphicsFactory\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"renderOnMaplibreGL\",\"url\":\"classes/ShieldRenderer.html#renderOnMaplibreGL\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"onShieldDefLoad\",\"url\":\"classes/ShieldRenderer.html#onShieldDefLoad\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"renderOnRepository\",\"url\":\"classes/ShieldRenderer.html#renderOnRepository\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"getStyleImageMissingHandler\",\"url\":\"classes/ShieldRenderer.html#getStyleImageMissingHandler\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/ShieldRenderer.html#getStyleImageMissingHandler.getStyleImageMissingHandler-1.__type\",\"classes\":\"\",\"parent\":\"ShieldRenderer.getStyleImageMissingHandler.getStyleImageMissingHandler\"},{\"kind\":2048,\"name\":\"getGraphicForRoute\",\"url\":\"classes/ShieldRenderer.html#getGraphicForRoute\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"emptySprite\",\"url\":\"classes/ShieldRenderer.html#emptySprite\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"createGraphics\",\"url\":\"classes/ShieldRenderer.html#createGraphics\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":2048,\"name\":\"pixelRatio\",\"url\":\"classes/ShieldRenderer.html#pixelRatio\",\"classes\":\"tsd-is-inherited\",\"parent\":\"ShieldRenderer\"},{\"kind\":128,\"name\":\"AbstractShieldRenderer\",\"url\":\"classes/AbstractShieldRenderer.html\",\"classes\":\"\"},{\"kind\":512,\"name\":\"constructor\",\"url\":\"classes/AbstractShieldRenderer.html#constructor\",\"classes\":\"\",\"parent\":\"AbstractShieldRenderer\"},{\"kind\":1024,\"name\":\"_shieldPredicate\",\"url\":\"classes/AbstractShieldRenderer.html#_shieldPredicate\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractShieldRenderer\"},{\"kind\":1024,\"name\":\"_networkPredicate\",\"url\":\"classes/AbstractShieldRenderer.html#_networkPredicate\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractShieldRenderer\"},{\"kind\":1024,\"name\":\"_routeParser\",\"url\":\"classes/AbstractShieldRenderer.html#_routeParser\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractShieldRenderer\"},{\"kind\":1024,\"name\":\"_shieldDefCallbacks\",\"url\":\"classes/AbstractShieldRenderer.html#_shieldDefCallbacks\",\"classes\":\"tsd-is-private\",\"parent\":\"AbstractShieldRenderer\"},{\"kind\":2048,\"name\":\"setShields\",\"url\":\"classes/AbstractShieldRenderer.html#setShields\",\"classes\":\"tsd-is-protected\",\"parent\":\"AbstractShieldRenderer\"},{\"kind\":2048,\"name\":\"getShieldDefinitions\",\"url\":\"classes/AbstractShieldRenderer.html#getShieldDefinitions\",\"classes\":\"\",\"parent\":\"AbstractShieldRenderer\"},{\"kind\":2048,\"name\":\"debugOptions\",\"url\":\"classes/AbstractShieldRenderer.html#debugOptions\",\"classes\":\"\",\"parent\":\"AbstractShieldRenderer\"},{\"kind\":2048,\"name\":\"filterImageID\",\"url\":\"classes/AbstractShieldRenderer.html#filterImageID\",\"classes\":\"\",\"parent\":\"AbstractShieldRenderer\"},{\"kind\":2048,\"name\":\"filterNetwork\",\"url\":\"classes/AbstractShieldRenderer.html#filterNetwork\",\"classes\":\"\",\"parent\":\"AbstractShieldRenderer\"},{\"kind\":2048,\"name\":\"graphicsFactory\",\"url\":\"classes/AbstractShieldRenderer.html#graphicsFactory\",\"classes\":\"\",\"parent\":\"AbstractShieldRenderer\"},{\"kind\":2048,\"name\":\"renderOnMaplibreGL\",\"url\":\"classes/AbstractShieldRenderer.html#renderOnMaplibreGL\",\"classes\":\"\",\"parent\":\"AbstractShieldRenderer\"},{\"kind\":2048,\"name\":\"onShieldDefLoad\",\"url\":\"classes/AbstractShieldRenderer.html#onShieldDefLoad\",\"classes\":\"\",\"parent\":\"AbstractShieldRenderer\"},{\"kind\":2048,\"name\":\"renderOnRepository\",\"url\":\"classes/AbstractShieldRenderer.html#renderOnRepository\",\"classes\":\"\",\"parent\":\"AbstractShieldRenderer\"},{\"kind\":2048,\"name\":\"getStyleImageMissingHandler\",\"url\":\"classes/AbstractShieldRenderer.html#getStyleImageMissingHandler\",\"classes\":\"\",\"parent\":\"AbstractShieldRenderer\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"classes/AbstractShieldRenderer.html#getStyleImageMissingHandler.getStyleImageMissingHandler-1.__type\",\"classes\":\"\",\"parent\":\"AbstractShieldRenderer.getStyleImageMissingHandler.getStyleImageMissingHandler\"},{\"kind\":2048,\"name\":\"getGraphicForRoute\",\"url\":\"classes/AbstractShieldRenderer.html#getGraphicForRoute\",\"classes\":\"\",\"parent\":\"AbstractShieldRenderer\"},{\"kind\":2048,\"name\":\"emptySprite\",\"url\":\"classes/AbstractShieldRenderer.html#emptySprite\",\"classes\":\"\",\"parent\":\"AbstractShieldRenderer\"},{\"kind\":2048,\"name\":\"createGraphics\",\"url\":\"classes/AbstractShieldRenderer.html#createGraphics\",\"classes\":\"\",\"parent\":\"AbstractShieldRenderer\"},{\"kind\":2048,\"name\":\"pixelRatio\",\"url\":\"classes/AbstractShieldRenderer.html#pixelRatio\",\"classes\":\"\",\"parent\":\"AbstractShieldRenderer\"},{\"kind\":64,\"name\":\"getDOMPixelRatio\",\"url\":\"functions/getDOMPixelRatio.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"RouteDefinition\",\"url\":\"interfaces/RouteDefinition.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"network\",\"url\":\"interfaces/RouteDefinition.html#network\",\"classes\":\"\",\"parent\":\"RouteDefinition\"},{\"kind\":1024,\"name\":\"ref\",\"url\":\"interfaces/RouteDefinition.html#ref\",\"classes\":\"\",\"parent\":\"RouteDefinition\"},{\"kind\":1024,\"name\":\"name\",\"url\":\"interfaces/RouteDefinition.html#name\",\"classes\":\"\",\"parent\":\"RouteDefinition\"},{\"kind\":4194304,\"name\":\"Exclusive\",\"url\":\"types/Exclusive.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"ShieldDefinitionBase\",\"url\":\"interfaces/ShieldDefinitionBase.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"textColor\",\"url\":\"interfaces/ShieldDefinitionBase.html#textColor\",\"classes\":\"\",\"parent\":\"ShieldDefinitionBase\"},{\"kind\":1024,\"name\":\"bannerTextColor\",\"url\":\"interfaces/ShieldDefinitionBase.html#bannerTextColor\",\"classes\":\"\",\"parent\":\"ShieldDefinitionBase\"},{\"kind\":1024,\"name\":\"bannerTextHaloColor\",\"url\":\"interfaces/ShieldDefinitionBase.html#bannerTextHaloColor\",\"classes\":\"\",\"parent\":\"ShieldDefinitionBase\"},{\"kind\":1024,\"name\":\"padding\",\"url\":\"interfaces/ShieldDefinitionBase.html#padding\",\"classes\":\"\",\"parent\":\"ShieldDefinitionBase\"},{\"kind\":1024,\"name\":\"textLayout\",\"url\":\"interfaces/ShieldDefinitionBase.html#textLayout\",\"classes\":\"\",\"parent\":\"ShieldDefinitionBase\"},{\"kind\":1024,\"name\":\"banners\",\"url\":\"interfaces/ShieldDefinitionBase.html#banners\",\"classes\":\"\",\"parent\":\"ShieldDefinitionBase\"},{\"kind\":1024,\"name\":\"notext\",\"url\":\"interfaces/ShieldDefinitionBase.html#notext\",\"classes\":\"\",\"parent\":\"ShieldDefinitionBase\"},{\"kind\":1024,\"name\":\"maxFontSize\",\"url\":\"interfaces/ShieldDefinitionBase.html#maxFontSize\",\"classes\":\"\",\"parent\":\"ShieldDefinitionBase\"},{\"kind\":4194304,\"name\":\"ShieldDefinition\",\"url\":\"types/ShieldDefinition.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"ShapeDefinition\",\"url\":\"interfaces/ShapeDefinition.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"drawFunc\",\"url\":\"interfaces/ShapeDefinition.html#drawFunc\",\"classes\":\"\",\"parent\":\"ShapeDefinition\"},{\"kind\":1024,\"name\":\"params\",\"url\":\"interfaces/ShapeDefinition.html#params\",\"classes\":\"\",\"parent\":\"ShapeDefinition\"},{\"kind\":256,\"name\":\"BoxPadding\",\"url\":\"interfaces/BoxPadding.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"left\",\"url\":\"interfaces/BoxPadding.html#left\",\"classes\":\"\",\"parent\":\"BoxPadding\"},{\"kind\":1024,\"name\":\"right\",\"url\":\"interfaces/BoxPadding.html#right\",\"classes\":\"\",\"parent\":\"BoxPadding\"},{\"kind\":1024,\"name\":\"top\",\"url\":\"interfaces/BoxPadding.html#top\",\"classes\":\"\",\"parent\":\"BoxPadding\"},{\"kind\":1024,\"name\":\"bottom\",\"url\":\"interfaces/BoxPadding.html#bottom\",\"classes\":\"\",\"parent\":\"BoxPadding\"},{\"kind\":256,\"name\":\"ShapeBlankParams\",\"url\":\"interfaces/ShapeBlankParams.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"fillColor\",\"url\":\"interfaces/ShapeBlankParams.html#fillColor\",\"classes\":\"\",\"parent\":\"ShapeBlankParams\"},{\"kind\":1024,\"name\":\"strokeColor\",\"url\":\"interfaces/ShapeBlankParams.html#strokeColor\",\"classes\":\"\",\"parent\":\"ShapeBlankParams\"},{\"kind\":1024,\"name\":\"rectWidth\",\"url\":\"interfaces/ShapeBlankParams.html#rectWidth\",\"classes\":\"\",\"parent\":\"ShapeBlankParams\"},{\"kind\":1024,\"name\":\"radius\",\"url\":\"interfaces/ShapeBlankParams.html#radius\",\"classes\":\"\",\"parent\":\"ShapeBlankParams\"},{\"kind\":1024,\"name\":\"radius1\",\"url\":\"interfaces/ShapeBlankParams.html#radius1\",\"classes\":\"\",\"parent\":\"ShapeBlankParams\"},{\"kind\":1024,\"name\":\"radius2\",\"url\":\"interfaces/ShapeBlankParams.html#radius2\",\"classes\":\"\",\"parent\":\"ShapeBlankParams\"},{\"kind\":1024,\"name\":\"yOffset\",\"url\":\"interfaces/ShapeBlankParams.html#yOffset\",\"classes\":\"\",\"parent\":\"ShapeBlankParams\"},{\"kind\":1024,\"name\":\"outlineWidth\",\"url\":\"interfaces/ShapeBlankParams.html#outlineWidth\",\"classes\":\"\",\"parent\":\"ShapeBlankParams\"},{\"kind\":1024,\"name\":\"pointUp\",\"url\":\"interfaces/ShapeBlankParams.html#pointUp\",\"classes\":\"\",\"parent\":\"ShapeBlankParams\"},{\"kind\":1024,\"name\":\"shortSideUp\",\"url\":\"interfaces/ShapeBlankParams.html#shortSideUp\",\"classes\":\"\",\"parent\":\"ShapeBlankParams\"},{\"kind\":1024,\"name\":\"sideAngle\",\"url\":\"interfaces/ShapeBlankParams.html#sideAngle\",\"classes\":\"\",\"parent\":\"ShapeBlankParams\"},{\"kind\":256,\"name\":\"TextLayout\",\"url\":\"interfaces/TextLayout.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"constraintFunc\",\"url\":\"interfaces/TextLayout.html#constraintFunc\",\"classes\":\"\",\"parent\":\"TextLayout\"},{\"kind\":1024,\"name\":\"options\",\"url\":\"interfaces/TextLayout.html#options\",\"classes\":\"\",\"parent\":\"TextLayout\"},{\"kind\":256,\"name\":\"TextLayoutParameters\",\"url\":\"interfaces/TextLayoutParameters.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"radius\",\"url\":\"interfaces/TextLayoutParameters.html#radius\",\"classes\":\"\",\"parent\":\"TextLayoutParameters\"},{\"kind\":4194304,\"name\":\"StringPredicate\",\"url\":\"types/StringPredicate.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/StringPredicate.html#__type\",\"classes\":\"\",\"parent\":\"StringPredicate\"},{\"kind\":256,\"name\":\"RouteParser\",\"url\":\"interfaces/RouteParser.html\",\"classes\":\"\"},{\"kind\":2048,\"name\":\"parse\",\"url\":\"interfaces/RouteParser.html#parse\",\"classes\":\"\",\"parent\":\"RouteParser\"},{\"kind\":2048,\"name\":\"format\",\"url\":\"interfaces/RouteParser.html#format\",\"classes\":\"\",\"parent\":\"RouteParser\"},{\"kind\":256,\"name\":\"SpriteProducer\",\"url\":\"interfaces/SpriteProducer.html\",\"classes\":\"\"},{\"kind\":2048,\"name\":\"getSprite\",\"url\":\"interfaces/SpriteProducer.html#getSprite\",\"classes\":\"\",\"parent\":\"SpriteProducer\"},{\"kind\":256,\"name\":\"SpriteConsumer\",\"url\":\"interfaces/SpriteConsumer.html\",\"classes\":\"\"},{\"kind\":2048,\"name\":\"putSprite\",\"url\":\"interfaces/SpriteConsumer.html#putSprite\",\"classes\":\"\",\"parent\":\"SpriteConsumer\"},{\"kind\":4194304,\"name\":\"SpriteRepository\",\"url\":\"types/SpriteRepository.html\",\"classes\":\"\"},{\"kind\":256,\"name\":\"ShieldDefinitions\",\"url\":\"interfaces/ShieldDefinitions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"shield\",\"url\":\"interfaces/ShieldDefinitions.html#shield\",\"classes\":\"\",\"parent\":\"ShieldDefinitions\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/ShieldDefinitions.html#shield.__type\",\"classes\":\"\",\"parent\":\"ShieldDefinitions.shield\"},{\"kind\":256,\"name\":\"DebugOptions\",\"url\":\"interfaces/DebugOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"shieldTextBboxColor\",\"url\":\"interfaces/DebugOptions.html#shieldTextBboxColor\",\"classes\":\"\",\"parent\":\"DebugOptions\"},{\"kind\":256,\"name\":\"ShieldOptions\",\"url\":\"interfaces/ShieldOptions.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"bannerHeight\",\"url\":\"interfaces/ShieldOptions.html#bannerHeight\",\"classes\":\"\",\"parent\":\"ShieldOptions\"},{\"kind\":1024,\"name\":\"bannerPadding\",\"url\":\"interfaces/ShieldOptions.html#bannerPadding\",\"classes\":\"\",\"parent\":\"ShieldOptions\"},{\"kind\":1024,\"name\":\"bannerTextColor\",\"url\":\"interfaces/ShieldOptions.html#bannerTextColor\",\"classes\":\"\",\"parent\":\"ShieldOptions\"},{\"kind\":1024,\"name\":\"bannerTextHaloColor\",\"url\":\"interfaces/ShieldOptions.html#bannerTextHaloColor\",\"classes\":\"\",\"parent\":\"ShieldOptions\"},{\"kind\":1024,\"name\":\"shieldFont\",\"url\":\"interfaces/ShieldOptions.html#shieldFont\",\"classes\":\"\",\"parent\":\"ShieldOptions\"},{\"kind\":1024,\"name\":\"shieldSize\",\"url\":\"interfaces/ShieldOptions.html#shieldSize\",\"classes\":\"\",\"parent\":\"ShieldOptions\"},{\"kind\":256,\"name\":\"ShieldSpecification\",\"url\":\"interfaces/ShieldSpecification.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"networks\",\"url\":\"interfaces/ShieldSpecification.html#networks\",\"classes\":\"\",\"parent\":\"ShieldSpecification\"},{\"kind\":1024,\"name\":\"options\",\"url\":\"interfaces/ShieldSpecification.html#options\",\"classes\":\"\",\"parent\":\"ShieldSpecification\"},{\"kind\":4194304,\"name\":\"Bounds\",\"url\":\"types/Bounds.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/Bounds.html#__type\",\"classes\":\"\",\"parent\":\"Bounds\"},{\"kind\":1024,\"name\":\"width\",\"url\":\"types/Bounds.html#__type.width\",\"classes\":\"\",\"parent\":\"Bounds.__type\"},{\"kind\":1024,\"name\":\"height\",\"url\":\"types/Bounds.html#__type.height\",\"classes\":\"\",\"parent\":\"Bounds.__type\"},{\"kind\":256,\"name\":\"GraphicsFactory\",\"url\":\"interfaces/GraphicsFactory.html\",\"classes\":\"\"},{\"kind\":2048,\"name\":\"createGraphics\",\"url\":\"interfaces/GraphicsFactory.html#createGraphics\",\"classes\":\"\",\"parent\":\"GraphicsFactory\"},{\"kind\":2048,\"name\":\"pixelRatio\",\"url\":\"interfaces/GraphicsFactory.html#pixelRatio\",\"classes\":\"\",\"parent\":\"GraphicsFactory\"},{\"kind\":256,\"name\":\"Dimension\",\"url\":\"interfaces/Dimension.html\",\"classes\":\"\"},{\"kind\":1024,\"name\":\"width\",\"url\":\"interfaces/Dimension.html#width\",\"classes\":\"\",\"parent\":\"Dimension\"},{\"kind\":1024,\"name\":\"height\",\"url\":\"interfaces/Dimension.html#height\",\"classes\":\"\",\"parent\":\"Dimension\"},{\"kind\":64,\"name\":\"roundedRectTextConstraint\",\"url\":\"functions/roundedRectTextConstraint.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"textConstraint\",\"url\":\"functions/textConstraint.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"ovalShield\",\"url\":\"functions/ovalShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"circleShield\",\"url\":\"functions/circleShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"roundedRectShield\",\"url\":\"functions/roundedRectShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"escutcheonDownShield\",\"url\":\"functions/escutcheonDownShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"fishheadDownShield\",\"url\":\"functions/fishheadDownShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"triangleDownShield\",\"url\":\"functions/triangleDownShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"trapezoidDownShield\",\"url\":\"functions/trapezoidDownShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"trapezoidUpShield\",\"url\":\"functions/trapezoidUpShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"diamondShield\",\"url\":\"functions/diamondShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"pentagonUpShield\",\"url\":\"functions/pentagonUpShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"homePlateDownShield\",\"url\":\"functions/homePlateDownShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"homePlateUpShield\",\"url\":\"functions/homePlateUpShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"hexagonVerticalShield\",\"url\":\"functions/hexagonVerticalShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"hexagonHorizontalShield\",\"url\":\"functions/hexagonHorizontalShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"octagonVerticalShield\",\"url\":\"functions/octagonVerticalShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"pillShield\",\"url\":\"functions/pillShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"banneredShield\",\"url\":\"functions/banneredShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"paBeltShield\",\"url\":\"functions/paBeltShield.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"bransonRouteShield\",\"url\":\"functions/bransonRouteShield.html\",\"classes\":\"\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,46.38]],[\"comment/0\",[]],[\"name/1\",[1,46.38]],[\"comment/1\",[]],[\"name/2\",[2,37.907]],[\"comment/2\",[]],[\"name/3\",[3,46.38]],[\"comment/3\",[]],[\"name/4\",[4,37.907]],[\"comment/4\",[]],[\"name/5\",[5,37.907]],[\"comment/5\",[]],[\"name/6\",[6,35.393]],[\"comment/6\",[]],[\"name/7\",[7,37.907]],[\"comment/7\",[]],[\"name/8\",[8,37.907]],[\"comment/8\",[]],[\"name/9\",[9,35.393]],[\"comment/9\",[]],[\"name/10\",[10,37.907]],[\"comment/10\",[]],[\"name/11\",[11,37.907]],[\"comment/11\",[]],[\"name/12\",[12,37.907]],[\"comment/12\",[]],[\"name/13\",[13,37.907]],[\"comment/13\",[]],[\"name/14\",[14,31.716]],[\"comment/14\",[]],[\"name/15\",[15,37.907]],[\"comment/15\",[]],[\"name/16\",[16,37.907]],[\"comment/16\",[]],[\"name/17\",[17,35.393]],[\"comment/17\",[]],[\"name/18\",[18,35.393]],[\"comment/18\",[]],[\"name/19\",[19,46.38]],[\"comment/19\",[]],[\"name/20\",[2,37.907]],[\"comment/20\",[]],[\"name/21\",[4,37.907]],[\"comment/21\",[]],[\"name/22\",[5,37.907]],[\"comment/22\",[]],[\"name/23\",[6,35.393]],[\"comment/23\",[]],[\"name/24\",[7,37.907]],[\"comment/24\",[]],[\"name/25\",[8,37.907]],[\"comment/25\",[]],[\"name/26\",[9,35.393]],[\"comment/26\",[]],[\"name/27\",[10,37.907]],[\"comment/27\",[]],[\"name/28\",[11,37.907]],[\"comment/28\",[]],[\"name/29\",[12,37.907]],[\"comment/29\",[]],[\"name/30\",[13,37.907]],[\"comment/30\",[]],[\"name/31\",[14,31.716]],[\"comment/31\",[]],[\"name/32\",[15,37.907]],[\"comment/32\",[]],[\"name/33\",[16,37.907]],[\"comment/33\",[]],[\"name/34\",[17,35.393]],[\"comment/34\",[]],[\"name/35\",[18,35.393]],[\"comment/35\",[]],[\"name/36\",[20,46.38]],[\"comment/36\",[]],[\"name/37\",[2,37.907]],[\"comment/37\",[]],[\"name/38\",[21,46.38]],[\"comment/38\",[]],[\"name/39\",[22,46.38]],[\"comment/39\",[]],[\"name/40\",[23,46.38]],[\"comment/40\",[]],[\"name/41\",[24,46.38]],[\"comment/41\",[]],[\"name/42\",[4,37.907]],[\"comment/42\",[]],[\"name/43\",[5,37.907]],[\"comment/43\",[]],[\"name/44\",[6,35.393]],[\"comment/44\",[]],[\"name/45\",[7,37.907]],[\"comment/45\",[]],[\"name/46\",[8,37.907]],[\"comment/46\",[]],[\"name/47\",[9,35.393]],[\"comment/47\",[]],[\"name/48\",[10,37.907]],[\"comment/48\",[]],[\"name/49\",[11,37.907]],[\"comment/49\",[]],[\"name/50\",[12,37.907]],[\"comment/50\",[]],[\"name/51\",[13,37.907]],[\"comment/51\",[]],[\"name/52\",[14,31.716]],[\"comment/52\",[]],[\"name/53\",[15,37.907]],[\"comment/53\",[]],[\"name/54\",[16,37.907]],[\"comment/54\",[]],[\"name/55\",[17,35.393]],[\"comment/55\",[]],[\"name/56\",[18,35.393]],[\"comment/56\",[]],[\"name/57\",[25,46.38]],[\"comment/57\",[]],[\"name/58\",[26,46.38]],[\"comment/58\",[]],[\"name/59\",[27,46.38]],[\"comment/59\",[]],[\"name/60\",[28,46.38]],[\"comment/60\",[]],[\"name/61\",[29,46.38]],[\"comment/61\",[]],[\"name/62\",[30,46.38]],[\"comment/62\",[]],[\"name/63\",[31,46.38]],[\"comment/63\",[]],[\"name/64\",[32,46.38]],[\"comment/64\",[]],[\"name/65\",[33,41.271]],[\"comment/65\",[]],[\"name/66\",[34,41.271]],[\"comment/66\",[]],[\"name/67\",[35,46.38]],[\"comment/67\",[]],[\"name/68\",[36,41.271]],[\"comment/68\",[]],[\"name/69\",[37,46.38]],[\"comment/69\",[]],[\"name/70\",[38,46.38]],[\"comment/70\",[]],[\"name/71\",[39,46.38]],[\"comment/71\",[]],[\"name/72\",[40,46.38]],[\"comment/72\",[]],[\"name/73\",[41,46.38]],[\"comment/73\",[]],[\"name/74\",[42,46.38]],[\"comment/74\",[]],[\"name/75\",[43,46.38]],[\"comment/75\",[]],[\"name/76\",[44,46.38]],[\"comment/76\",[]],[\"name/77\",[45,46.38]],[\"comment/77\",[]],[\"name/78\",[46,46.38]],[\"comment/78\",[]],[\"name/79\",[47,46.38]],[\"comment/79\",[]],[\"name/80\",[48,46.38]],[\"comment/80\",[]],[\"name/81\",[49,46.38]],[\"comment/81\",[]],[\"name/82\",[50,46.38]],[\"comment/82\",[]],[\"name/83\",[51,46.38]],[\"comment/83\",[]],[\"name/84\",[52,46.38]],[\"comment/84\",[]],[\"name/85\",[53,41.271]],[\"comment/85\",[]],[\"name/86\",[54,46.38]],[\"comment/86\",[]],[\"name/87\",[55,46.38]],[\"comment/87\",[]],[\"name/88\",[56,46.38]],[\"comment/88\",[]],[\"name/89\",[57,46.38]],[\"comment/89\",[]],[\"name/90\",[58,46.38]],[\"comment/90\",[]],[\"name/91\",[59,46.38]],[\"comment/91\",[]],[\"name/92\",[60,46.38]],[\"comment/92\",[]],[\"name/93\",[36,41.271]],[\"comment/93\",[]],[\"name/94\",[61,46.38]],[\"comment/94\",[]],[\"name/95\",[62,41.271]],[\"comment/95\",[]],[\"name/96\",[63,46.38]],[\"comment/96\",[]],[\"name/97\",[53,41.271]],[\"comment/97\",[]],[\"name/98\",[64,46.38]],[\"comment/98\",[]],[\"name/99\",[14,31.716]],[\"comment/99\",[]],[\"name/100\",[65,46.38]],[\"comment/100\",[]],[\"name/101\",[66,46.38]],[\"comment/101\",[]],[\"name/102\",[67,46.38]],[\"comment/102\",[]],[\"name/103\",[68,46.38]],[\"comment/103\",[]],[\"name/104\",[69,46.38]],[\"comment/104\",[]],[\"name/105\",[70,46.38]],[\"comment/105\",[]],[\"name/106\",[71,46.38]],[\"comment/106\",[]],[\"name/107\",[72,46.38]],[\"comment/107\",[]],[\"name/108\",[73,46.38]],[\"comment/108\",[]],[\"name/109\",[74,46.38]],[\"comment/109\",[]],[\"name/110\",[14,31.716]],[\"comment/110\",[]],[\"name/111\",[6,35.393]],[\"comment/111\",[]],[\"name/112\",[75,46.38]],[\"comment/112\",[]],[\"name/113\",[76,46.38]],[\"comment/113\",[]],[\"name/114\",[77,46.38]],[\"comment/114\",[]],[\"name/115\",[78,46.38]],[\"comment/115\",[]],[\"name/116\",[33,41.271]],[\"comment/116\",[]],[\"name/117\",[34,41.271]],[\"comment/117\",[]],[\"name/118\",[79,46.38]],[\"comment/118\",[]],[\"name/119\",[80,46.38]],[\"comment/119\",[]],[\"name/120\",[81,46.38]],[\"comment/120\",[]],[\"name/121\",[82,46.38]],[\"comment/121\",[]],[\"name/122\",[62,41.271]],[\"comment/122\",[]],[\"name/123\",[83,46.38]],[\"comment/123\",[]],[\"name/124\",[14,31.716]],[\"comment/124\",[]],[\"name/125\",[84,41.271]],[\"comment/125\",[]],[\"name/126\",[85,41.271]],[\"comment/126\",[]],[\"name/127\",[9,35.393]],[\"comment/127\",[]],[\"name/128\",[17,35.393]],[\"comment/128\",[]],[\"name/129\",[18,35.393]],[\"comment/129\",[]],[\"name/130\",[86,46.38]],[\"comment/130\",[]],[\"name/131\",[84,41.271]],[\"comment/131\",[]],[\"name/132\",[85,41.271]],[\"comment/132\",[]],[\"name/133\",[87,46.38]],[\"comment/133\",[]],[\"name/134\",[88,46.38]],[\"comment/134\",[]],[\"name/135\",[89,46.38]],[\"comment/135\",[]],[\"name/136\",[90,46.38]],[\"comment/136\",[]],[\"name/137\",[91,46.38]],[\"comment/137\",[]],[\"name/138\",[92,46.38]],[\"comment/138\",[]],[\"name/139\",[93,46.38]],[\"comment/139\",[]],[\"name/140\",[94,46.38]],[\"comment/140\",[]],[\"name/141\",[95,46.38]],[\"comment/141\",[]],[\"name/142\",[96,46.38]],[\"comment/142\",[]],[\"name/143\",[97,46.38]],[\"comment/143\",[]],[\"name/144\",[98,46.38]],[\"comment/144\",[]],[\"name/145\",[99,46.38]],[\"comment/145\",[]],[\"name/146\",[100,46.38]],[\"comment/146\",[]],[\"name/147\",[101,46.38]],[\"comment/147\",[]],[\"name/148\",[102,46.38]],[\"comment/148\",[]],[\"name/149\",[103,46.38]],[\"comment/149\",[]],[\"name/150\",[104,46.38]],[\"comment/150\",[]],[\"name/151\",[105,46.38]],[\"comment/151\",[]],[\"name/152\",[106,46.38]],[\"comment/152\",[]],[\"name/153\",[107,46.38]],[\"comment/153\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":14,\"name\":{\"14\":{},\"31\":{},\"52\":{},\"99\":{},\"110\":{},\"124\":{}},\"comment\":{}}],[\"_networkpredicate\",{\"_index\":22,\"name\":{\"39\":{}},\"comment\":{}}],[\"_routeparser\",{\"_index\":23,\"name\":{\"40\":{}},\"comment\":{}}],[\"_shielddefcallbacks\",{\"_index\":24,\"name\":{\"41\":{}},\"comment\":{}}],[\"_shieldpredicate\",{\"_index\":21,\"name\":{\"38\":{}},\"comment\":{}}],[\"abstractshieldrenderer\",{\"_index\":20,\"name\":{\"36\":{}},\"comment\":{}}],[\"banneredshield\",{\"_index\":105,\"name\":{\"151\":{}},\"comment\":{}}],[\"bannerheight\",{\"_index\":77,\"name\":{\"114\":{}},\"comment\":{}}],[\"bannerpadding\",{\"_index\":78,\"name\":{\"115\":{}},\"comment\":{}}],[\"banners\",{\"_index\":37,\"name\":{\"69\":{}},\"comment\":{}}],[\"bannertextcolor\",{\"_index\":33,\"name\":{\"65\":{},\"116\":{}},\"comment\":{}}],[\"bannertexthalocolor\",{\"_index\":34,\"name\":{\"66\":{},\"117\":{}},\"comment\":{}}],[\"bottom\",{\"_index\":48,\"name\":{\"80\":{}},\"comment\":{}}],[\"bounds\",{\"_index\":83,\"name\":{\"123\":{}},\"comment\":{}}],[\"boxpadding\",{\"_index\":44,\"name\":{\"76\":{}},\"comment\":{}}],[\"bransonrouteshield\",{\"_index\":107,\"name\":{\"153\":{}},\"comment\":{}}],[\"circleshield\",{\"_index\":90,\"name\":{\"136\":{}},\"comment\":{}}],[\"constraintfunc\",{\"_index\":61,\"name\":{\"94\":{}},\"comment\":{}}],[\"constructor\",{\"_index\":2,\"name\":{\"2\":{},\"20\":{},\"37\":{}},\"comment\":{}}],[\"creategraphics\",{\"_index\":17,\"name\":{\"17\":{},\"34\":{},\"55\":{},\"128\":{}},\"comment\":{}}],[\"debugoptions\",{\"_index\":6,\"name\":{\"6\":{},\"23\":{},\"44\":{},\"111\":{}},\"comment\":{}}],[\"diamondshield\",{\"_index\":97,\"name\":{\"143\":{}},\"comment\":{}}],[\"dimension\",{\"_index\":86,\"name\":{\"130\":{}},\"comment\":{}}],[\"drawfunc\",{\"_index\":42,\"name\":{\"74\":{}},\"comment\":{}}],[\"emptysprite\",{\"_index\":16,\"name\":{\"16\":{},\"33\":{},\"54\":{}},\"comment\":{}}],[\"escutcheondownshield\",{\"_index\":92,\"name\":{\"138\":{}},\"comment\":{}}],[\"exclusive\",{\"_index\":30,\"name\":{\"62\":{}},\"comment\":{}}],[\"fillcolor\",{\"_index\":50,\"name\":{\"82\":{}},\"comment\":{}}],[\"filterimageid\",{\"_index\":7,\"name\":{\"7\":{},\"24\":{},\"45\":{}},\"comment\":{}}],[\"filternetwork\",{\"_index\":8,\"name\":{\"8\":{},\"25\":{},\"46\":{}},\"comment\":{}}],[\"fishheaddownshield\",{\"_index\":93,\"name\":{\"139\":{}},\"comment\":{}}],[\"format\",{\"_index\":67,\"name\":{\"102\":{}},\"comment\":{}}],[\"getdompixelratio\",{\"_index\":25,\"name\":{\"57\":{}},\"comment\":{}}],[\"getgraphicforroute\",{\"_index\":15,\"name\":{\"15\":{},\"32\":{},\"53\":{}},\"comment\":{}}],[\"getshielddefinitions\",{\"_index\":5,\"name\":{\"5\":{},\"22\":{},\"43\":{}},\"comment\":{}}],[\"getsprite\",{\"_index\":69,\"name\":{\"104\":{}},\"comment\":{}}],[\"getstyleimagemissinghandler\",{\"_index\":13,\"name\":{\"13\":{},\"30\":{},\"51\":{}},\"comment\":{}}],[\"graphicsfactory\",{\"_index\":9,\"name\":{\"9\":{},\"26\":{},\"47\":{},\"127\":{}},\"comment\":{}}],[\"height\",{\"_index\":85,\"name\":{\"126\":{},\"132\":{}},\"comment\":{}}],[\"hexagonhorizontalshield\",{\"_index\":102,\"name\":{\"148\":{}},\"comment\":{}}],[\"hexagonverticalshield\",{\"_index\":101,\"name\":{\"147\":{}},\"comment\":{}}],[\"homeplatedownshield\",{\"_index\":99,\"name\":{\"145\":{}},\"comment\":{}}],[\"homeplateupshield\",{\"_index\":100,\"name\":{\"146\":{}},\"comment\":{}}],[\"left\",{\"_index\":45,\"name\":{\"77\":{}},\"comment\":{}}],[\"maxfontsize\",{\"_index\":39,\"name\":{\"71\":{}},\"comment\":{}}],[\"name\",{\"_index\":29,\"name\":{\"61\":{}},\"comment\":{}}],[\"network\",{\"_index\":27,\"name\":{\"59\":{}},\"comment\":{}}],[\"networks\",{\"_index\":82,\"name\":{\"121\":{}},\"comment\":{}}],[\"notext\",{\"_index\":38,\"name\":{\"70\":{}},\"comment\":{}}],[\"octagonverticalshield\",{\"_index\":103,\"name\":{\"149\":{}},\"comment\":{}}],[\"onshielddefload\",{\"_index\":11,\"name\":{\"11\":{},\"28\":{},\"49\":{}},\"comment\":{}}],[\"options\",{\"_index\":62,\"name\":{\"95\":{},\"122\":{}},\"comment\":{}}],[\"outlinewidth\",{\"_index\":57,\"name\":{\"89\":{}},\"comment\":{}}],[\"ovalshield\",{\"_index\":89,\"name\":{\"135\":{}},\"comment\":{}}],[\"pabeltshield\",{\"_index\":106,\"name\":{\"152\":{}},\"comment\":{}}],[\"padding\",{\"_index\":35,\"name\":{\"67\":{}},\"comment\":{}}],[\"params\",{\"_index\":43,\"name\":{\"75\":{}},\"comment\":{}}],[\"parse\",{\"_index\":66,\"name\":{\"101\":{}},\"comment\":{}}],[\"pentagonupshield\",{\"_index\":98,\"name\":{\"144\":{}},\"comment\":{}}],[\"pillshield\",{\"_index\":104,\"name\":{\"150\":{}},\"comment\":{}}],[\"pixelratio\",{\"_index\":18,\"name\":{\"18\":{},\"35\":{},\"56\":{},\"129\":{}},\"comment\":{}}],[\"pointup\",{\"_index\":58,\"name\":{\"90\":{}},\"comment\":{}}],[\"putsprite\",{\"_index\":71,\"name\":{\"106\":{}},\"comment\":{}}],[\"radius\",{\"_index\":53,\"name\":{\"85\":{},\"97\":{}},\"comment\":{}}],[\"radius1\",{\"_index\":54,\"name\":{\"86\":{}},\"comment\":{}}],[\"radius2\",{\"_index\":55,\"name\":{\"87\":{}},\"comment\":{}}],[\"rectwidth\",{\"_index\":52,\"name\":{\"84\":{}},\"comment\":{}}],[\"ref\",{\"_index\":28,\"name\":{\"60\":{}},\"comment\":{}}],[\"renderonmaplibregl\",{\"_index\":10,\"name\":{\"10\":{},\"27\":{},\"48\":{}},\"comment\":{}}],[\"renderonrepository\",{\"_index\":12,\"name\":{\"12\":{},\"29\":{},\"50\":{}},\"comment\":{}}],[\"right\",{\"_index\":46,\"name\":{\"78\":{}},\"comment\":{}}],[\"roundedrectshield\",{\"_index\":91,\"name\":{\"137\":{}},\"comment\":{}}],[\"roundedrecttextconstraint\",{\"_index\":87,\"name\":{\"133\":{}},\"comment\":{}}],[\"routedefinition\",{\"_index\":26,\"name\":{\"58\":{}},\"comment\":{}}],[\"routeparser\",{\"_index\":65,\"name\":{\"100\":{}},\"comment\":{}}],[\"setshields\",{\"_index\":4,\"name\":{\"4\":{},\"21\":{},\"42\":{}},\"comment\":{}}],[\"setshieldurl\",{\"_index\":3,\"name\":{\"3\":{}},\"comment\":{}}],[\"shapeblankparams\",{\"_index\":49,\"name\":{\"81\":{}},\"comment\":{}}],[\"shapedefinition\",{\"_index\":41,\"name\":{\"73\":{}},\"comment\":{}}],[\"shield\",{\"_index\":74,\"name\":{\"109\":{}},\"comment\":{}}],[\"shielddefinition\",{\"_index\":40,\"name\":{\"72\":{}},\"comment\":{}}],[\"shielddefinitionbase\",{\"_index\":31,\"name\":{\"63\":{}},\"comment\":{}}],[\"shielddefinitions\",{\"_index\":73,\"name\":{\"108\":{}},\"comment\":{}}],[\"shieldfont\",{\"_index\":79,\"name\":{\"118\":{}},\"comment\":{}}],[\"shieldoptions\",{\"_index\":76,\"name\":{\"113\":{}},\"comment\":{}}],[\"shieldrenderer\",{\"_index\":19,\"name\":{\"19\":{}},\"comment\":{}}],[\"shieldsize\",{\"_index\":80,\"name\":{\"119\":{}},\"comment\":{}}],[\"shieldspecification\",{\"_index\":81,\"name\":{\"120\":{}},\"comment\":{}}],[\"shieldtextbboxcolor\",{\"_index\":75,\"name\":{\"112\":{}},\"comment\":{}}],[\"shortsideup\",{\"_index\":59,\"name\":{\"91\":{}},\"comment\":{}}],[\"sideangle\",{\"_index\":60,\"name\":{\"92\":{}},\"comment\":{}}],[\"spriteconsumer\",{\"_index\":70,\"name\":{\"105\":{}},\"comment\":{}}],[\"spriteproducer\",{\"_index\":68,\"name\":{\"103\":{}},\"comment\":{}}],[\"spriterepository\",{\"_index\":72,\"name\":{\"107\":{}},\"comment\":{}}],[\"stringpredicate\",{\"_index\":64,\"name\":{\"98\":{}},\"comment\":{}}],[\"strokecolor\",{\"_index\":51,\"name\":{\"83\":{}},\"comment\":{}}],[\"textcolor\",{\"_index\":32,\"name\":{\"64\":{}},\"comment\":{}}],[\"textconstraint\",{\"_index\":88,\"name\":{\"134\":{}},\"comment\":{}}],[\"textlayout\",{\"_index\":36,\"name\":{\"68\":{},\"93\":{}},\"comment\":{}}],[\"textlayoutparameters\",{\"_index\":63,\"name\":{\"96\":{}},\"comment\":{}}],[\"top\",{\"_index\":47,\"name\":{\"79\":{}},\"comment\":{}}],[\"transposeimagedata\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"trapezoiddownshield\",{\"_index\":95,\"name\":{\"141\":{}},\"comment\":{}}],[\"trapezoidupshield\",{\"_index\":96,\"name\":{\"142\":{}},\"comment\":{}}],[\"triangledownshield\",{\"_index\":94,\"name\":{\"140\":{}},\"comment\":{}}],[\"urlshieldrenderer\",{\"_index\":1,\"name\":{\"1\":{}},\"comment\":{}}],[\"width\",{\"_index\":84,\"name\":{\"125\":{},\"131\":{}},\"comment\":{}}],[\"yoffset\",{\"_index\":56,\"name\":{\"88\":{}},\"comment\":{}}]],\"pipeline\":[]}}");
{
"name": "@americana/maplibre-shield-generator",
"description": "Generate highway shields for maplibre-gl-js maps",
"version": "0.0.4-dev0",
"version": "0.0.4",
"author": "OpenStreetMap Americana Contributors",

@@ -22,2 +22,3 @@ "type": "module",

"@types/color-rgba": "^2.1.0",
"canvas": "^2.11.2",
"esbuild": "^0.17.10",

@@ -24,0 +25,0 @@ "npm-run-all": "^4.1.5",

@@ -130,4 +130,4 @@ # Americana Shield Renderer

"pointUp": false,
"offset": 5,
"angle": 0,
"yOffset": 5,
"sideAngle": 0,
"fillColor": "white",

@@ -140,2 +140,4 @@ "strokeColor": "black",

"banners": ["ALT"],
"bannerTextColor": "#000",
"bannerTextHaloColor": "#FFF",
"textLayout": {

@@ -178,2 +180,4 @@ "constraintFunc": "roundedRect",

- **`bannerTextColor`**: specify the color of the banner text.
- **`bannerTextHaloColor`**: specify the color of the banner knockout halo.
- **`textLayout`**: specify how text should be inscribed within the padded bounds of the shield. The text will be drawn at the maximum size allowed by this constraint. See the [text layout functions](#text-layout-functions) section for text layout options.

@@ -305,5 +309,5 @@ - **`colorLighten`**: specify that the shield artwork should be lightened (multiplied) by the specified color. This means that black areas will be recolor with this color and white areas will remain the same. Alpha values will remain unmodified.

- `angle` - indicates angle (in degrees) at which side edges deviate from vertical. Applies to `trapezoid`, `pentagon`, `hexagonHorizontal`, `octagonVertical`.
- `sideAngle` - indicates angle (in degrees) at which side edges deviate from vertical. Applies to `trapezoid`, `pentagon`, `hexagonHorizontal`, `octagonVertical`.
- `fill` - specifies the internal fill color.
- `offset` - indicates height (in pixels) at which the bottom and/or top edges deviate from horizontal. Applies to `escutcheon`, `pentagon`, `hexagonVertical`, `octagonVertical`.
- `yOffset` - indicates height (in pixels) at which the bottom and/or top edges deviate from horizontal. Applies to `escutcheon`, `pentagon`, `hexagonVertical`, `octagonVertical`.
- `outline` - specifies the outline color.

@@ -323,2 +327,2 @@ - `outlineWidth` - specifies the width of the outline.

See [TypeDoc generated documentation](./docs/index.html) for detailed API information.
See [TypeDoc generated documentation](https://zelonewolf.github.io/openstreetmap-americana/shield-docs/index.html) for detailed API information.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc