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ACb,IACI6B,EAAM,CAAC,EACPC,EAAa1B,KAAK0B,WACtB,SAASC,IACL,OAAO3B,KAAK4B,KAChB,CACA,SAASC,EAAOC,EAAMF,GACG,qBAAVA,EACP5B,KAAK+B,eAAe,KAAMD,EAAMF,GAGhC5B,KAAKgC,kBAAkB,KAAMF,EAErC,CACA,IAAK,IAAIhC,EAAI,EAAGA,EAAI4B,EAAWO,OAAQnC,IAAK,CACxC,IAAIoC,EAAYR,EAAW5B,GAC3B,GAAIoC,GAAaA,EAAUJ,MAAQ,mBAAqBK,KAAKD,EAAUJ,MAAO,CAC1E,IAAIM,EAASF,EAAUJ,KACnBF,EAAQM,EAAUN,MAElBS,EAAWD,EAAOE,OAAO,GAAG9B,MAAM,KAAKiB,KAAI,SAAUc,EAAGzC,GAAK,OAAOA,EAAI,EAAIyC,EAAEC,OAAO,GAAGC,cAAgBF,EAAED,OAAO,GAAKC,CAAG,IAAGG,KAAK,IACrIhD,OAAOC,eAAe8B,EAAKY,EAAU,CACjCd,WAAYvB,KAAKuB,WACjB3B,IAAK+B,EAAOgB,KAAK,CACbf,MAAOA,GAAS,KAEpBgB,IAAKf,EAAOc,KA1BV3C,KA0BwBoC,IAElC,CACJ,CACA,OAAOX,CACX,EACA/B,OAAOC,eAAeT,WAAWC,UAAW,UAAWmC,GAChD,8BACX,CAIH,EA9CwB,E","sources":["webpack://scout/./app/javascript/initializers/map-polyfills.js","webpack://scout/./app/javascript/packs/maps.js","webpack://scout/./node_modules/svg-classlist-polyfill/polyfill.js","webpack://scout/./node_modules/svg-dataset-polyfill/dist/index.js"],"sourcesContent":["import \"svg-dataset-polyfill\";\nimport \"svg-classlist-polyfill\";\n\nif (!SVGElement.prototype.contains)\n SVGElement.prototype.contains = HTMLDivElement.prototype.contains;\n\n// Overwrites native 'children' prototype.\n// Adds Document & DocumentFragment support for IE9 & Safari.\n// Returns array instead of HTMLCollection.\n(function (constructor) {\n if (constructor && constructor.prototype && constructor.prototype.children == null) {\n Object.defineProperty(constructor.prototype, \"children\", {\n get() {\n let i = 0;\n let node;\n const nodes = this.childNodes;\n const children = [];\n\n while ((node = nodes[i++])) {\n if (node.nodeType === 1) {\n children.push(node);\n }\n }\n return children;\n },\n });\n }\n})(window.Node || window.Element);\n","import \"../initializers/turbolinks\";\nimport \"../initializers/jquery\";\nimport \"../initializers/stimulus\";\nimport \"../initializers/moment\";\nimport \"../initializers/sentry\";\nimport \"../initializers/map-polyfills\";\nimport \"../initializers/ie-detect\";\nimport \"../css/maps.css\"; // Load our CSS after all Stimulus controllers (which may pull in library-specific base styles)\n\nwindow.Scout = {};\n","// Inject polyfill if classList not supported for SVG elements.\nif (!('classList' in SVGElement.prototype)) {\n Object.defineProperty(SVGElement.prototype, 'classList', {\n get: function get() {\n var _this = this\n\n return {\n contains: function contains(className) {\n return _this.className.baseVal.split(' ').indexOf(className) !== -1\n },\n add: function add(className) {\n var newClass = (_this.getAttribute('class') + ' ' + className).trim()\n return _this.setAttribute('class', newClass)\n },\n remove: function remove(className) {\n var classes = _this.getAttribute('class') || ''\n var regex = new RegExp('(?:^|\\\\s)' + className + '(?!\\\\S)', 'g')\n classes = classes.replace(regex, '').trim()\n _this.setAttribute('class', classes)\n },\n toggle: function toggle(className) {\n if (this.contains(className)) {\n this.remove(className)\n } else {\n this.add(className)\n }\n },\n }\n },\n })\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar svgDatasetPolyfill = (function () {\n if (!Object.getOwnPropertyDescriptor(SVGElement.prototype, 'dataset') || (!Object.getOwnPropertyDescriptor(SVGElement.prototype, 'dataset')).get) {\n var descriptor = {\n enumerable: true,\n get: undefined\n };\n //\n descriptor.get = function () {\n var element = this;\n var map = {};\n var attributes = this.attributes;\n function getter() {\n return this.value;\n }\n function setter(name, value) {\n if (typeof value !== 'undefined') {\n this.setAttributeNS(null, name, value);\n }\n else {\n this.removeAttributeNS(null, name);\n }\n }\n for (var i = 0; i < attributes.length; i++) {\n var attribute = attributes[i];\n if (attribute && attribute.name && (/^data-\\w[\\w\\-]*$/).test(attribute.name)) {\n var name_1 = attribute.name;\n var value = attribute.value;\n // camelCase multi-dashed data attr: ie: data-example-one to exampleOne\n var propName = name_1.substr(5).split('-').map(function (s, i) { return i > 0 ? s.charAt(0).toUpperCase() + s.substr(1) : s; }).join('');\n Object.defineProperty(map, propName, {\n enumerable: this.enumerable,\n get: getter.bind({\n value: value || ''\n }),\n set: setter.bind(element, name_1)\n });\n }\n }\n return map;\n };\n Object.defineProperty(SVGElement.prototype, 'dataset', descriptor);\n return 'svg-dataset-polyfill in use!';\n }\n else {\n return 'svg-dataset-polyfill not required for this browser';\n }\n})();\nexports.default = svgDatasetPolyfill;\n"],"names":["constructor","SVGElement","prototype","contains","HTMLDivElement","window","Node","Element","children","Object","defineProperty","get","node","i","nodes","this","childNodes","nodeType","push","Scout","_this","className","baseVal","split","indexOf","add","newClass","getAttribute","trim","setAttribute","remove","classes","regex","RegExp","replace","toggle","getOwnPropertyDescriptor","descriptor","enumerable","undefined","map","attributes","getter","value","setter","name","setAttributeNS","removeAttributeNS","length","attribute","test","name_1","propName","substr","s","charAt","toUpperCase","join","bind","set"],"sourceRoot":""}