1!function e(t,n,r){function a(i,s){if(!n[i]){if(!t[i]){var l="function"==typeof require&&require;if(!s&&l)return l(i,!0);if(o)return o(i,!0);var u=new Error("Cannot find module '"+i+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[i]={exports:{}};t[i][0].call(c.exports,function(e){var n=t[i][1][e];return a(n?n:e)},c,c.exports,e,t,n,r)}return n[i].exports}for(var o="function"==typeof require&&require,i=0;i<r.length;i++)a(r[i]);return a}({1:[function(e,t,n){function r(){"use strict";function e(e){a=e}function t(){return a}function n(e){o=e?"viewchange":"viewchangeend"}function r(){return o}var a={},o="viewchangeend";return{setDefaultMapOptions:e,bindCenterRealtime:n,$get:function(){return{getDefaultMapOptions:t,getCenterBindEvent:r}}}}function a(e){"use strict";function t(t,n,r,a){function o(){t.strokeColor&&(i.hasOwnProperty("shapeOptions")||(i.shapeOptions={}),i.shapeOptions.strokeColor=e.makeMicrosoftColor(t.strokeColor)),t.fillColor&&(i.hasOwnProperty("shapeOptions")||(i.shapeOptions={}),i.shapeOptions.fillColor=e.makeMicrosoftColor(t.fillColor)),t.drawingManager.setOptions(i)}if("undefined"==typeof DrawingTools)return void console.log("You did not include DrawingToolsModule.js. Please include this script and try again");var i={events:{drawingEnded:function(e){t.onShapeChange({shapes:e}),t.$apply()}}};r.hasOwnProperty("withToolbar")&&(i.toolbarContainer=n[0]),t.drawingManager=new DrawingTools.DrawingManager(a.map),o(),t.$watch("drawThisShape",function(e){"none"===e?t.drawingManager.setDrawingMode(null):t.drawingManager.setDrawingMode(e)}),t.$on("DRAWINGTOOLS.CLEAR",function(){t.drawingManager.clear()})}return{link:t,restrict:"EA",scope:{onShapeChange:"&",drawThisShape:"=",strokeColor:"=?",fillColor:"=?"},require:"^bingMap"}}function o(){"use strict";function e(e,t,n,r){if("undefined"==typeof GeoJSONModule)return void console.log("You have not loaded the GeoJSONModule.js. Please include this script and try again");Microsoft.Maps.loadModule("Microsoft.Maps.AdvancedShapes");var a=new GeoJSONModule,o=new Microsoft.Maps.EntityCollection;r.map.entities.push(o),e.$watch("model",function(){e.model?a.ImportGeoJSON(e.model,function(e,t){for(var n=e.pop();n;)o.push(n),n=e.pop()}):o.clear()}),e.$on("$destroy",function(){r.map.entities.remove(o)})}return{link:e,restrict:"EA",scope:{model:"="},require:"^bingMap"}}function i(){"use strict";function e(e,t,n,r){function a(){s.setLocation(new Microsoft.Maps.Location(e.lat,e.lng))}function o(){e.options||(e.options={}),e.title&&(e.options.title=e.title),e.description&&(e.options.description=e.description),e.hasOwnProperty("visible")?e.options.visible=e.visible:e.options.visible=!0,s.setOptions(e.options)}function i(){r[0].map.entities.remove(s)}var s=new Microsoft.Maps.Infobox(new Microsoft.Maps.Location(0,0)),l=r[1];e.$on("positionUpdated",function(e,t){s.setLocation(t)}),l||(e.$watch("lat",a),e.$watch("lng",a)),e.$watch("options",o),e.$watch("title",o),e.$watch("description",o),e.$watch("visible",o),r[0].map.entities.push(s),e.$on("$destroy",i),t.on("$destroy",i)}return{link:e,restrict:"EA",scope:{options:"=?",lat:"=?",lng:"=?",title:"=?",description:"=?",visible:"=?"},require:["^bingMap","?^pushpin"]}}function s(e){"use strict";return{template:"<div ng-transclude></div>",restrict:"EA",transclude:!0,scope:{credentials:"=",center:"=?",zoom:"=?",mapType:"=?",events:"=?",options:"=?",onMapReady:"&?"},controller:["$scope","$element",function(t,n){var r=e.getDefaultMapOptions();angular.extend(r,t.options),r?r.hasOwnProperty("credentials")||(r.credentials=t.credentials):r={credentials:t.credentials},this.map=new Microsoft.Maps.Map(n[0],r);var a={};t.map=this.map;var o=Microsoft.Maps.Events.addHandler(t.map,"viewchangeend",function(){Microsoft.Maps.Events.removeHandler(o);var n=e.getCenterBindEvent();Microsoft.Maps.Events.addHandler(t.map,n,function(e){t.center=t.map.getCenter(),t.$apply()})});t.$watch("center",function(e){t.map.setView({animate:!0,center:e})}),t.$watch("zoom",function(e){t.map.setView({animate:!0,zoom:e})}),t.$watch("mapType",function(e){t.map.setView({animate:!0,mapTypeId:e})}),t.$watch("options",function(e){t.map.setOptions(e)}),t.$watch("events",function(e){angular.forEach(e,function(e,n){a.hasOwnProperty(n)&&Microsoft.Maps.Events.removeHandler(a[n]);var r=Microsoft.Maps.Events.addHandler(t.map,n,function(n){e(n),t.$apply()});a[n]=r})})}],link:function(e,t){e.onMapReady&&e.onMapReady({map:e.map})}}}function l(e){"use strict";function t(t,n,r,a){function o(){s=e.convertToMicrosoftLatLngs(t.locations)}function i(){t.options||(t.options={}),t.fillColor&&(t.options.fillColor=e.makeMicrosoftColor(t.fillColor)),t.strokeColor&&(t.options.strokeColor=e.makeMicrosoftColor(t.strokeColor))}var s=[],l={};o();var u=new Microsoft.Maps.Polygon(s);a.map.entities.push(u),t.$watch("options",function(e){u.setOptions(e)},!0),t.$watch("locations",function(){o(),u.setLocations(s)}),t.$watch("fillColor",i),t.$watch("strokeColor",i),t.$on("$destroy",function(){a.map.entities.remove(u)}),t.$watch("events",function(e){angular.forEach(e,function(e,n){l.hasOwnProperty(n)&&Microsoft.Maps.Events.removeHandler(l[n]);var r=Microsoft.Maps.Events.addHandler(u,n,function(n){"undefined"!=typeof t.trackBy&&(n.target.trackBy=t.trackBy),e(n),t.$apply()});l[n]=r})})}return{link:t,restrict:"EA",scope:{options:"=?",locations:"=",fillColor:"=?",strokeColor:"=?",events:"=?",trackBy:"=?"},require:"^bingMap"}}function u(e){"use strict";function t(t,n,r,a){function o(){s=e.convertToMicrosoftLatLngs(t.locations)}function i(){t.options||(t.options={}),t.strokeColor&&(t.options.strokeColor=e.makeMicrosoftColor(t.strokeColor))}var s=[];o();var l=new Microsoft.Maps.Polyline(s);a.map.entities.push(l),t.$watch("options",function(e){l.setOptions(e)},!0),t.$watch("locations",function(){o(),l.setLocations(s)}),t.$watch("strokeColor",i),t.$on("$destroy",function(){a.map.entities.remove(l)})}return{link:t,restrict:"EA",scope:{options:"=?",locations:"=",strokeColor:"=?"},require:"^bingMap"}}function c(){"use strict";function e(e,t,n,r){function a(){isNaN(e.lat)||isNaN(e.lng)||(e.pin.setLocation(new Microsoft.Maps.Location(e.lat,e.lng)),e.$broadcast("positionUpdated",e.pin.getLocation()))}var o={};a(),r.map.entities.push(e.pin),e.$watch("lat",a),e.$watch("lng",a),e.$watch("options",function(t){e.pin.setOptions(t)}),e.$watch("pushpinData",function(t){e.pin.pushpinData=t}),e.$watch("events",function(t){angular.forEach(t,function(t,n){o.hasOwnProperty(n)&&Microsoft.Maps.Events.removeHandler(o[n]);var r=Microsoft.Maps.Events.addHandler(e.pin,n,function(n){"undefined"!=typeof e.trackBy&&(n.target.trackBy=e.trackBy),t(n),e.$apply()});o[n]=r})}),Microsoft.Maps.Events.addHandler(e.pin,"dragend",function(t){var n=t.entity.getLocation();e.lat=n.latitude,e.lng=n.longitude,e.$apply()}),e.$on("$destroy",function(){r.map.entities.remove(e.pin),angular.forEach(o,function(e,t){Microsoft.Maps.Events.removeHandler(e)})})}return{link:e,controller:["$scope",function(e){this.pin=new Microsoft.Maps.Pushpin,e.pin=this.pin}],template:"<div ng-transclude></div>",restrict:"EA",transclude:!0,scope:{options:"=?",lat:"=",lng:"=",events:"=?",trackBy:"=?",pushpinData:"=?"},require:"^bingMap"}}function h(){"use strict";function e(e,t,n,r){function a(){o=new Microsoft.Maps.TileSource({uriConstructor:e.source}),e.options?angular.extend(e.options,{mercator:o}):e.options={mercator:o},i?i.setOptions(e.options):(i=new Microsoft.Maps.TileLayer(e.options),r.map.entities.push(i))}var o,i;e.$watch("options",a,!0),e.$watch("source",a),e.$on("$destroy",function(){r.map.entities.remove(i)})}return{link:e,template:"<div ng-transclude></div>",restrict:"EA",transclude:!0,scope:{options:"=?",source:"="},require:"^bingMap"}}function p(e){"use strict";return{template:'<div class="directory"></div><div class="map"></div>',restrict:"EA",transclude:!0,scope:{credentials:"=",center:"=?",zoom:"=?",mapType:"=?",venue:"=?",room:"=?"},controller:["$scope","$element",function(t,n){function r(e){for(var t=e.toUpperCase(),n=0;n<s.floors.length;n++)for(var r=0;r<s.floors[n].primitives.length;r++){var a=s.floors[n].primitives[r],o=a.name.toUpperCase();if(t===o)return a}return null}function a(){s&&s.directory&&s.directory.isInDOM()&&e(function(){if("undefined"!=typeof t.room&&null!==t.room){var e=r(t.room);if("undefined"!=typeof e&&null!==e){var n=document.getElementById(e.id).getElementsByTagName("a")[0];return"undefined"!=typeof n&&null!==n&&n.click(),void t.map.setVie
1w({animate:!0,zoom:17})}}})}function o(r){e(function(){s=r,s.directory.isInDOM()||s.directory.createUIElements(),s.directory.addToDOM(n.children()[0],Microsoft.Maps.VenueMaps.DirectorySortOrder.byFloor,Microsoft.Maps.VenueMaps.DirectoryGrouping.none),s.directory.setHeight(1),t.map.setView(s.bestMapView,!0),s.show(),a()})}function i(){var e=new Microsoft.Maps.VenueMaps.VenueMapFactory(t.map);e.create({venueMapId:t.venue,success:o})}this.map=new Microsoft.Maps.Map(n.children()[1],{credentials:t.credentials}),t.map=this.map,t.$watch("center",function(e){t.map.setView({animate:!0,center:e})}),t.$watch("zoom",function(e){t.map.setView({animate:!0,zoom:e})}),t.$watch("mapType",function(e){t.map.setView({animate:!0,mapTypeId:e})});var s;Microsoft.Maps.loadModule("Microsoft.Maps.VenueMaps",{callback:i})}]}}function f(e){"use strict";function t(t,n,r,a){function o(){if(l){var n={};if(t.fillColor&&(n.fillColor=e.makeMicrosoftColor(t.fillColor)),t.strokeColor&&(n.strokeColor=e.makeMicrosoftColor(t.strokeColor)),l instanceof Microsoft.Maps.EntityCollection)for(var r=0;r<l.getLength();r++)l.get(r)instanceof Microsoft.Maps.Polygon&&l.get(r).setOptions(n);else l.setOptions(n)}}function i(e,n,r){var a=Microsoft.Maps.Events.addHandler(e,n,function(e){"undefined"!=typeof t.trackBy&&(e.target.trackBy=t.trackBy),r(e),t.$apply()});u.push(a)}function s(){for(var e=u.pop();"function"==typeof e;)Microsoft.Maps.Events.removeHandler(e),e=u.pop()}if("undefined"==typeof WKTModule)return void console.log("You did not include WKTModule.js. Please include this script and try again");var l=null,u=[];e.loadAdvancedShapesModule().then(function(){t.$watch("text",function(e){l&&a.map.entities.remove(l),e&&"string"==typeof e&&(l=WKTModule.Read(e,t.styles),o(),a.map.entities.push(l))},!0),t.$watch("events",function(e){s(),angular.forEach(e,function(e,t){if(l instanceof Microsoft.Maps.EntityCollection)for(var n=0;n<l.getLength();n++)i(l.get(n),t,e);else i(l,t,e)})}),t.$watch("fillColor",o,!0),t.$watch("strokeColor",o,!0)}),t.$on("$destroy",function(){a.map.entities.remove(l)})}return{link:t,restrict:"EA",scope:{text:"=",events:"=?",trackBy:"=?",fillColor:"=?",strokeColor:"=?",styles:"=?"},require:"^bingMap"}}function d(t){"use strict";function n(e){var t=l(e);return new Microsoft.Maps.Color(Math.floor(255*t.alpha()),t.red(),t.green(),t.blue())}function r(e){return angular.isArray(e)?new Microsoft.Maps.Location(e[1],e[0]):e.hasOwnProperty("latitude")&&e.hasOwnProperty("longitude")?new Microsoft.Maps.Location(e.latitude,e.longitude):e.hasOwnProperty("lat")&&e.hasOwnProperty("lng")?new Microsoft.Maps.Location(e.lat,e.lng):(console&&console.error&&console.error("Your coordinates are in a non-standard form. Please refer to the Angular Bing Maps documentation to see supported coordinate formats"),null)}function a(e){var t=[];if(!e)return t;for(var n=0;n<e.length;n++){var a=r(e[n]);t.push(a)}return t}function o(e){for(var t=i(e),n=new Microsoft.Maps.EntityCollection,r=t.pop();r;)n.push(r),r=t.pop();return n}function i(e){for(var t=[],n=e.pop();n;)!n||n instanceof Microsoft.Maps.EntityCollection?n&&t.concat(i(n)):t.push(n),n=e.pop();return t}function s(){var e=t.defer();return u?e.resolve():Microsoft.Maps.loadModule("Microsoft.Maps.AdvancedShapes",{callback:function(){e.resolve()}}),e.promise}var l=e("color"),u=!1;return{makeMicrosoftColor:n,makeMicrosoftLatLng:r,convertToMicrosoftLatLngs:a,flattenEntityCollection:o,loadAdvancedShapesModule:s}}a.$inject=["MapUtils"],s.$inject=["angularBingMaps"],l.$inject=["MapUtils"],u.$inject=["MapUtils"],p.$inject=["$timeout"],f.$inject=["MapUtils"],d.$inject=["$q"],function(){angular.module("angularBingMaps.config",[]).value("angularBingMaps.config",{debug:!0}),angular.module("angularBingMaps.directives",[]),angular.module("angularBingMaps.filters",[]),angular.module("angularBingMaps.services",[]),angular.module("angularBingMaps.providers",[]),angular.module("angularBingMaps",["angularBingMaps.config","angularBingMaps.directives","angularBingMaps.filters","angularBingMaps.services","angularBingMaps.providers"])}(),angular.module("angularBingMaps.providers").provider("angularBingMaps",r),angular.module("angularBingMaps.directives").directive("drawingTools",a),angular.module("angularBingMaps.directives").directive("geoJson",o),angular.module("angularBingMaps.directives").directive("infoBox",i),angular.module("angularBingMaps.directives").directive("bingMap",s),angular.module("angularBingMaps.directives").directive("abmPolygon",l),angular.module("angularBingMaps.directives").directive("polyline",u),angular.module("angularBingMaps.directives").directive("pushpin",c),angular.module("angularBingMaps.directives").directive("tileLayer",h),angular.module("angularBingMaps.directives").directive("venueMap",p),angular.module("angularBingMaps.directives").directive("wkt",f),angular.module("angularBingMaps.services").service("MapUtils",d)},{color:6}],2:[function(e,t,n){function a(e){var t,n,r,a=e[0]/255,o=e[1]/255,i=e[2]/255,s=Math.min(a,o,i),l=Math.max(a,o,i),u=l-s;return l==s?t=0:a==l?t=(o-i)/u:o==l?t=2+(i-a)/u:i==l&&(t=4+(a-o)/u),t=Math.min(60*t,360),0>t&&(t+=360),r=(s+l)/2,n=l==s?0:.5>=r?u/(l+s):u/(2-l-s),[t,100*n,100*r]}function o(e){var t,n,r,a=e[0],o=e[1],i=e[2],s=Math.min(a,o,i),l=Math.max(a,o,i),u=l-s;return n=0==l?0:u/l*1e3/10,l==s?t=0:a==l?t=(o-i)/u:o==l?t=2+(i-a)/u:i==l&&(t=4+(a-o)/u),t=Math.min(60*t,360),0>t&&(t+=360),r=l/255*1e3/10,[t,n,r]}function i(e){var t=e[0],n=e[1],r=e[2],o=a(e)[0],i=1/255*Math.min(t,Math.min(n,r)),r=1-1/255*Math.max(t,Math.max(n,r));return[o,100*i,100*r]}function s(e){var t,n,r,a,o=e[0]/255,i=e[1]/255,s=e[2]/255;return a=Math.min(1-o,1-i,1-s),t=(1-o-a)/(1-a)||0,n=(1-i-a)/(1-a)||0,r=(1-s-a)/(1-a)||0,[100*t,100*n,100*r,100*a]}function l(e){return Q[JSON.stringify(e)]}function u(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;var a=.4124*t+.3576*n+.1805*r,o=.2126*t+.7152*n+.0722*r,i=.0193*t+.1192*n+.9505*r;return[100*a,100*o,100*i]}function c(e){var t,n,r,a=u(e),o=a[0],i=a[1],s=a[2];return o/=95.047,i/=100,s/=108.883,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,t=116*i-16,n=500*(o-i),r=200*(i-s),[t,n,r]}function h(e){return I(c(e))}function p(e){var t,n,r,a,o,i=e[0]/360,s=e[1]/100,l=e[2]/100;if(0==s)return o=255*l,[o,o,o];n=.5>l?l*(1+s):l+s-l*s,t=2*l-n,a=[0,0,0];for(var u=0;3>u;u++)r=i+1/3*-(u-1),0>r&&r++,r>1&&r--,o=1>6*r?t+6*(n-t)*r:1>2*r?n:2>3*r?t+(n-t)*(2/3-r)*6:t,a[u]=255*o;return a}function f(e){var t,n,r=e[0],a=e[1]/100,o=e[2]/100;return 0===o?[0,0,0]:(o*=2,a*=1>=o?o:2-o,n=(o+a)/2,t=2*a/(o+a),[r,100*t,100*n])}function d(e){return i(p(e))}function v(e){return s(p(e))}function m(e){return l(p(e))}function y(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,a=Math.floor(t)%6,o=t-Math.floor(t),i=255*r*(1-n),s=255*r*(1-n*o),l=255*r*(1-n*(1-o)),r=255*r;switch(a){case 0:return[r,l,i];case 1:return[s,r,i];case 2:return[i,r,l];case 3:return[i,s,r];case 4:return[l,i,r];case 5:return[r,i,s]}}function M(e){var t,n,r=e[0],a=e[1]/100,o=e[2]/100;return n=(2-a)*o,t=a*o,t/=1>=n?n:2-n,t=t||0,n/=2,[r,100*t,100*n]}function w(e){return i(y(e))}function k(e){return s(y(e))}function $(e){return l(y(e))}function C(e){var t,n,a,o,i=e[0]/360,s=e[1]/100,l=e[2]/100,u=s+l;switch(u>1&&(s/=u,l/=u),t=Math.floor(6*i),n=1-l,a=6*i-t,0!=(1&t)&&(a=1-a),o=s+a
1*(n-s),t){default:case 6:case 0:r=n,g=o,b=s;break;case 1:r=o,g=n,b=s;break;case 2:r=s,g=n,b=o;break;case 3:r=s,g=o,b=n;break;case 4:r=o,g=s,b=n;break;case 5:r=n,g=s,b=o}return[255*r,255*g,255*b]}function S(e){return a(C(e))}function O(e){return o(C(e))}function E(e){return s(C(e))}function V(e){return l(C(e))}function B(e){var t,n,r,a=e[0]/100,o=e[1]/100,i=e[2]/100,s=e[3]/100;return t=1-Math.min(1,a*(1-s)+s),n=1-Math.min(1,o*(1-s)+s),r=1-Math.min(1,i*(1-s)+s),[255*t,255*n,255*r]}function A(e){return a(B(e))}function x(e){return o(B(e))}function q(e){return i(B(e))}function L(e){return l(B(e))}function T(e){var t,n,r,a=e[0]/100,o=e[1]/100,i=e[2]/100;return t=3.2406*a+-1.5372*o+i*-.4986,n=a*-.9689+1.8758*o+.0415*i,r=.0557*a+o*-.204+1.057*i,t=t>.0031308?1.055*Math.pow(t,1/2.4)-.055:t=12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n=12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r=12.92*r,t=Math.min(Math.max(0,t),1),n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),[255*t,255*n,255*r]}function P(e){var t,n,r,a=e[0],o=e[1],i=e[2];return a/=95.047,o/=100,i/=108.883,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,t=116*o-16,n=500*(a-o),r=2
100*(o-i),[t,n,r]}function D(e){return I(P(e))}function H(e){var t,n,r,a,o=e[0],i=e[1],s=e[2];return 8>=o?(n=100*o/903.3,a=7.787*(n/100)+16/116):(n=100*Math.pow((o+16)/116,3),a=Math.pow(n/100,1/3)),t=.008856>=t/95.047?t=95.047*(i/500+a-16/116)/7.787:95.047*Math.pow(i/500+a,3),r=.008859>=r/108.883?r=108.883*(a-s/200-16/116)/7.787:108.883*Math.pow(a-s/200,3),[t,n,r]}function I(e){var t,n,r,a=e[0],o=e[1],i=e[2];return t=Math.atan2(i,o),n=360*t/2/Math.PI,0>n&&(n+=360),r=Math.sqrt(o*o+i*i),[a,r,n]}function N(e){return T(H(e))}function z(e){var t,n,r,a=e[0],o=e[1],i=e[2];return r=i/360*2*Math.PI,t=o*Math.cos(r),n=o*Math.sin(r),[a,t,n]}function U(e){return H(z(e))}function j(e){return N(z(e))}function F(e){return _[e]}function R(e){return a(F(e))}function J(e){return o(F(e))}function G(e){return i(F(e))}function W(e){return s(F(e))}function Y(e){return c(F(e))}function K(e){return u(F(e))}t.exports={rgb2hsl:a,rgb2hsv:o,rgb2hwb:i,rgb2cmyk:s,rgb2keyword:l,rgb2xyz:u,rgb2lab:c,rgb2lch:h,hsl2rgb:p,hsl2hsv:f,hsl2hwb:d,hsl2cmyk:v,hsl2keyword:m,hsv2rgb:y,hsv2hsl:M,hsv2hwb:w,hsv2cmyk:k,hsv2keyword:$,hwb2rgb:C,hwb2hsl:S,hwb2hsv:O,hwb2cmyk:E,hwb2keyword:V,cmyk2rgb:B,cmyk2hsl:A,cmyk2hsv:x,cmyk2hwb:q,cmyk2keyword:L,keyword2rgb:F,keyword2hsl:R,keyword2hsv:J,keyword2hwb:G,keyword2cmyk:W,keyword2lab:Y,keyword2xyz:K,xyz2rgb:T,xyz2lab:P,xyz2lch:D,lab2xyz:H,lab2rgb:N,lab2lch:I,lch2lab:z,lch2xyz:U,lch2rgb:j};var _={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
vendor: 4,543 bytes, line 1
1],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]},Q={};for(var X in _)Q[JSON.stringify(_[X])]=X},{}],3:[function(e,t,n){var r=e("./conversions"),a=function(){return new u};for(var o in r){a[o+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(o);var i=/(\w+)2(\w+)/.exec(o),s=i[1],l=i[2];a[s]=a[s]||{},a[s][l]=a[o]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var a=0;a<n.length;a++)n[a]=Math.round(n[a]);return n}}(o)}var u=function(){this.convs={}};u.prototype.routeSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n))},u.prototype.setValues=function(e,t){return this.space=e,this.convs={},this.convs[e]=t,this},u.prototype.getValues=function(e){var t=this.convs[e];if(!t){var n=this.space,r=this.convs[n];t=a[n][e](r),this.convs[e]=t}return t},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(e){u.prototype[e]=function(t){return this.routeSpace(e,arguments)}}),t.exports=a},{"./conversions":2}],4:[function(e,t,n){t.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
1],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]}},{}],5:[function(e,t,n){function r(e){if(e){var t=/^#([a-fA-F0-9]{3})$/,n=/^#([a-fA-F0-9]{6})$/,r=/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d\.]+)\s*)?\)$/,a=/^rgba?\(\s*([\d\.]+)\%\s*,\s*([\d\.]+)\%\s*,\s*([\d\.]+)\%\s*(?:,\s*([\d\.]+)\s*)?\)$/,o=/(\D+)/,i=[0,0,0],s=1,l=e.match(t);if(l){l=l[1];for(var u=0;u<i.length;u++)i[u]=parseInt(l[u]+l[u],16)}else if(l=e.match(n)){l=l[1];for(var u=0;u<i.length;u++)i[u]=parseInt(l.slice(2*u,2*u+2),16)}else if(l=e.match(r)){for(var u=0;u<i.length;u++)i[u]=parseInt(l[u+1]);s=parseFloat(l[4])}else if(l=e.match(a)){for(var u=0;u<i.length;u++)i[u]=Math.round(2.55*parseFloat(l[u+1]));s=parseFloat(l[4])}else if(l=e.match(o)){if("transparent"==l[1])return[0,0,0,0];if(i=w[l[1]],!i)return}for(var u=0;u<i.length;u++)i[u]=y(i[u],0,255);return s=s||0==s?y(s,0,1):1,i[3]=s,i}}function a(e){if(e){var t=/^hsla?\(\s*(\d+)(?:deg)?\s*,\s*([\d\.]+)%\s*,\s*([\d\.]+)%\s*(?:,\s*([\d\.]+)\s*)?\)/,n=e.match(t);if(n){var r=y(parseInt(n[1]),0,360),a=y(parseFloat(n[2]),0,100),o=y(parseFloat(n[3]),0,100),i=y(parseFloat(n[4])||1,0,1);return[r,a,o,i]}}}function o(e){if(e){var t=/^hwb\(\s*(\d+)(?:deg)?\s*,\s*([\d\.]+)%\s*,\s*([\d\.]+)%\s*(?:,\s*([\d\.]+)\s*)?\)/,n=e.match(t);if(n){var r=y(parseInt(n[1]),0,360),a=y(parseFloat(n[2]),0,100),o=y(parseFloat(n[3]),0,100),i=y(parseFloat(n[4])||1,0,1);return[r,a,o,i]}}}function i(e){var t=r(e);return t&&t.slice(0,3)}function s(e){var t=a(e);return t&&t.slice(0,3)}function l(e){var t=r(e);return t?t[3]:(t=a(e))?t[3]:(t=o(e))?t[3]:void 0}function u(e){return"#"+M(e[0])+M(e[1])+M(e[2])}function c(e,t){return 1>t||e[3]&&e[3]<1?h(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"}function h(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function p(e,t){if(1>t||e[3]&&e[3]<1)return f(e,t);var n=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),a=Math.round(e[2]/255*100);return"rgb("+n+"%, "+r+"%, "+a+"%)"}function f(e,t){var n=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),a=Math.round(e[2]/255*100);return"rgba("+n+"%, "+r+"%, "+a+"%, "+(t||e[3]||1)+")"}function d(e,t){return 1>t||e[3]&&e[3]<1?g(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"}function g(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function v(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"}function m(e){return b[e.slice(0,3)]}function y(e,t,n){return Math.min(Math.max(t,e),n)}function M(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var w=e("color-name");t.exports={getRgba:r,getHsla:a,getRgb:i,getHsl:s,getHwb:o,getAlpha:l,hexString:u,rgbString:c,rgbaString:h,percentString:p,percentaString:f,hslString:d,hslaString:g,hwbString:v,keyword:m};var b={};for(var k in w)b[w[k]]=k},{"color-name":4}],6:[function(e,t,n){var r=e("color-convert"),a=e("color-string"),o=function(e){if(e instanceof o)return e;if(!(this instanceof o))return new o(e);if(this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},"string"==typeof e){var t=a.getRgba(e);if(t)this.setValues("rgb",t);else if(t=a.getHsla(e))this.setValues("hsl",t);else{if(!(t=a.getHwb(e)))throw new Error('Unable to parse color from string "'+e+'"');this.setValues("hwb",t)}}else if("object"==typeof e){var t=e;if(void 0!==t.r||void 0!==t.red)this.setValues("rgb",t);else if(void 0!==t.l||void 0!==t.lightness)this.setValues("hsl",t);else if(void 0!==t.v||void 0!==t.value)this.setValues("hsv",t);else if(void 0!==t.w||void 0!==t.whiteness)this.setValues("hwb",t);else{if(void 0===t.c&&void 0===t.cyan)throw new Error("Unable to parse color from object "+JSON.stringify(e));this.setValues("cmyk",t)}}};o.prototype={rgb:function(e){return this.setSpace("rgb",arguments)},hsl:function(e){return this.setSpace("hsl",arguments)},hsv:function(e){return this.setSpace("hsv",arguments)},hwb:function(e){return this.setSpace("hwb",arguments)},cmyk:function(e){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){return 1!==this.values.alpha?this.values.hwb.concat([this.values.alpha]):this.values.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values.rgb;return e.concat([this.values.alpha])},hslaArray:function(){var e=this.values.hsl;return e.concat([this.values.alpha])}
1,alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return a.hexString(this.values.rgb)},rgbString:function(){return a.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){ 2return a.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return a.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return a.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return a.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return a.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return a.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){return this.values.rgb[0]<<16|this.values.rgb[1]<<8|this.values.rgb[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var r=e[n]/255;t[n]=.03928>=r?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb,t=(299*e[0]+587*e[1]+114*e[2])/1e3;return 128>t},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;3>t;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var t=this.values.hsl[0];return t=(t+e)%360,t=0>t?360+t:t,this.values.hsl[0]=t,this.setValues("hsl",this.values.hsl),this},mix:function(e,t){t=1-(null==t?.5:t);for(var n=2*t-1,r=this.alpha()-e.alpha(),a=((n*r==-1?n:(n+r)/(1+n*r))+1)/2,o=1-a,i=this.rgbArray(),s=e.rgbArray(),l=0;l<i.length;l++)i[l]=i[l]*a+s[l]*o;this.setValues("rgb",i);var u=this.alpha()*t+e.alpha()*(1-t);return this.setValues("alpha",u),this},toJSON:function(){return this.rgb()},clone:function(){return new o(this.rgb())}},o.prototype.getValues=function(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=this.values[e][n];return 1!=this.values.alpha&&(t.a=this.values.alpha),t},o.prototype.setValues=function(e,t){var n={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},a={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},o=1;if("alpha"==e)o=t;else if(t.length)this.values[e]=t.slice(0,e.length),o=t[e.length];else if(void 0!==t[e[0]]){for(var i=0;i<e.length;i++)this.values[e][i]=t[e[i]];o=t.a}else if(void 0!==t[n[e][0]]){for(var s=n[e],i=0;i<e.length;i++)this.values[e][i]=t[s[i]];o=t.alpha}if(this.values.alpha=Math.max(0,Math.min(1,void 0!==o?o:this.values.alpha)),"alpha"!=e){for(var i=0;i<e.length;i++){var l=Math.max(0,Math.min(a[e][i],this.values[e][i]));this.values[e][i]=Math.round(l)}for(var u in n){u!=e&&(this.values[u]=r[e][u](this.values[e]));for(var i=0;i<u.length;i++){var l=Math.max(0,Math.min(a[u][i],this.values[u][i]));this.values[u][i]=Math.round(l)}}return!0}},o.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n
2),this)},o.prototype.setChannel=function(e,t,n){return void 0===n?this.values[e][t]:(this.values[e][t]=n,this.setValues(e,this.values[e]),this)},t.exports=o},{"color-convert":3,"color-string":5}]},{},[1]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.