-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvendors~route-challs~route-profile~route-scoreboard.chunk.4cf6a.esm.js
1 lines (1 loc) · 17.9 KB
/
vendors~route-challs~route-profile~route-scoreboard.chunk.4cf6a.esm.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"5JeM":function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}function n(t){return t.replace(S,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var o=t((function(t){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){return n&&!0===n.clone&&t(e)?o(Array.isArray(e)?[]:{},e,n):e}function n(n,r,i){var u=n.slice();return r.forEach((function(r,c){void 0===u[c]?u[c]=e(r,i):t(r)?u[c]=o(n[c],r,i):-1===n.indexOf(r)&&u.push(e(r,i))})),u}function o(r,i,u){var c=Array.isArray(i),a=(u||{arrayMerge:n}).arrayMerge||n;return c?Array.isArray(r)?a(r,i,u):e(i,u):function(n,r,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(r).forEach((function(c){u[c]=t(r[c])&&n[c]?o(n[c],r[c],i):e(r[c],i)})),u}(r,i,u)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),r=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=r.svg,u=r.xlink,c={};c[i.name]=i.uri,c[u.name]=u.uri;var a,s=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(o(c,e||{}))+">"+t+"</svg>"},l=r.svg,f=r.xlink,p={attrs:(a={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},a[l.name]=l.uri,a[f.name]=f.uri,a)},d=function(t){this.config=o(p,t||{}),this.symbols=[]};d.prototype.add=function(t){var e=this.symbols,n=this.find(t.id);return n?(e[e.indexOf(n)]=t,!1):(e.push(t),!0)},d.prototype.remove=function(t){var e=this.symbols,n=this.find(t);return!!n&&(e.splice(e.indexOf(n),1),n.destroy(),!0)},d.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},d.prototype.has=function(t){return null!==this.find(t)},d.prototype.stringify=function(){var t=this.config.attrs,e=this.symbols.map((function(t){return t.stringify()})).join("");return s(e,t)},d.prototype.toString=function(){return this.stringify()},d.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var h=function(t){var e=t.viewBox,n=t.content;this.id=t.id,this.viewBox=e,this.content=n};h.prototype.stringify=function(){return this.content},h.prototype.toString=function(){return this.stringify()},h.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var v,y=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},m=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return y(s(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(h),_={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},g=function(t){return Array.prototype.slice.call(t,0)},b=function(){return/firefox/i.test(navigator.userAgent)},w=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},E=function(){return/edge/i.test(navigator.userAgent)},x=function(t){return(t||window.location.href).split("#")[0]},O=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,o){var r,i,u;r=t,i={oldUrl:o,newUrl:n},(u=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,i),window.dispatchEvent(u)}))}])},k=function(t,e){return void 0===e&&(e="linearGradient, radialGradient, pattern, mask, clipPath"),g(t.querySelectorAll("symbol")).forEach((function(t){g(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t},C=r.xlink.uri,S=/[{}|\\\^\[\]`"<>]/g,A=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],j=A.map((function(t){return"["+t+"]"})).join(","),N=function(t,e,o,r){var i=n(o),u=n(r);(function(t,e){return g(t).reduce((function(t,n){if(!n.attributes)return t;var o=g(n.attributes),r=e?o.filter(e):o;return t.concat(r)}),[])})(t.querySelectorAll(j),(function(t){var e=t.value;return-1!==A.indexOf(t.localName)&&-1!==e.indexOf("url("+i)})).forEach((function(t){return t.value=t.value.replace(new RegExp(i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),u)})),function(t,e,n){g(t).forEach((function(t){var o=t.getAttribute("xlink:href");if(o&&0===o.indexOf(e)){var r=o.replace(e,n);t.setAttributeNS(C,"xlink:href",r)}}))}(e,i,u)},M="mount",U="symbol_mount",P=function(t){function e(e){var n=this;void 0===e&&(e={}),t.call(this,o(_,e));var r,i=(r=r||Object.create(null),{on:function(t,e){(r[t]||(r[t]=[])).push(e)},off:function(t,e){r[t]&&r[t].splice(r[t].indexOf(e)>>>0,1)},emit:function(t,e){(r[t]||[]).map((function(t){t(e)})),(r["*"]||[]).map((function(n){n(t,e)}))}});this._emitter=i,this.node=null;var u=this.config;if(u.autoConfigure&&this._autoConfigure(e),u.syncUrlsWithBaseTag){var c=document.getElementsByTagName("base")[0].getAttribute("href");i.on(M,(function(){return n.updateUrls("#",c)}))}var a=this._handleLocationChange.bind(this);this._handleLocationChange=a,u.listenLocationChangeEvent&&window.addEventListener(u.locationChangeEvent,a),u.locationChangeAngularEmitter&&O(u.locationChangeEvent),i.on(M,(function(t){u.moveGradientsOutsideSymbol&&k(t)})),i.on(U,(function(t){var e;u.moveGradientsOutsideSymbol&&k(t.parentNode),(w()||E())&&(e=[],g(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})))}))}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this.config;void 0===t.syncUrlsWithBaseTag&&(e.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===t.locationChangeAngularEmitter&&(e.locationChangeAngularEmitter=void 0!==window.angular),void 0===t.moveGradientsOutsideSymbol&&(e.moveGradientsOutsideSymbol=b())},e.prototype._handleLocationChange=function(t){var e=t.detail;this.updateUrls(e.oldUrl,e.newUrl)},e.prototype.add=function(e){var n=t.prototype.add.call(this,e);return this.isMounted&&n&&(e.mount(this.node),this._emitter.emit(U,e.node)),n},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var o="string"==typeof t?document.querySelector(t):t;return n.node=o,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(U,t.node)})),g(o.querySelectorAll("symbol")).forEach((function(t){var e=m.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(M,o),o},e.prototype.destroy=function(){var t=this.config,e=this._emitter;this.symbols.forEach((function(t){return t.destroy()})),e.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){if(void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1),this.isMounted)return this.node;var n="string"==typeof t?document.querySelector(t):t,o=this.render();return this.node=o,e&&n.childNodes[0]?n.insertBefore(o,n.childNodes[0]):n.appendChild(o),this._emitter.emit(M,o),o},e.prototype.render=function(){return y(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return N(this.node,n,x(t)+"#",x(e)+"#"),!0},Object.defineProperties(e.prototype,n),e}(d),T=t((function(t){var e,n,o,r;t.exports=(n=[],o=document,(r=(o.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(o.readyState))||o.addEventListener("DOMContentLoaded",e=function(){for(o.removeEventListener("DOMContentLoaded",e),r=1;e=n.shift();)e()}),function(t){r?setTimeout(t,0):n.push(t)})}));window.__SVG_SPRITE__?v=window.__SVG_SPRITE__:(v=new P({attrs:{id:"__SVG_SPRITE_NODE__"}}),window.__SVG_SPRITE__=v);var L=function(){var t=document.getElementById("__SVG_SPRITE_NODE__");t?v.attach(t):v.mount(document.body,!0)};return document.body?L():T(L),v},t.exports=n()}).call(this,n("fRV1"))},Xjb4:function(t,e,n){"use strict";function o(t,e){for(var n in e)t[n]=e[n];return t}function r(t,e){for(var n in t)if("__source"!==n&&!(n in e))return!0;for(var o in e)if("__source"!==o&&t[o]!==e[o])return!0;return!1}function i(t,e){function n(t){var n=this.props.ref,o=n==t.ref;return!o&&n&&(n.call?n(null):n.current=null),e?!e(this.props,t)||!o:r(this.props,t)}function o(e){return this.shouldComponentUpdate=n,Object(h.createElement)(t,e)}return o.prototype.isReactComponent=!0,o.displayName="Memo("+(t.displayName||t.name)+")",o.t=!0,o}function u(t){return t&&((t=o({},t)).__c=null,t.__k=t.__k&&t.__k.map(u)),t}function c(t){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(c)),t}function a(){this.__u=0,this.o=null,this.__b=null}function s(t){var e=t.__.__c;return e&&e.u&&e.u(t)}function l(){this.i=null,this.l=null}function f(t){var e=this,n=t.container,o=Object(h.createElement)(_,{context:e.context},t.vnode);return e.s&&e.s!==n&&(e.h.parentNode&&e.s.removeChild(e.h),Object(h.__u)(e.v),e.p=!1),t.vnode?e.p?(n.__k=e.__k,Object(h.render)(o,n),e.__k=n.__k):(e.h=document.createTextNode(""),Object(h.hydrate)("",n),n.appendChild(e.h),e.p=!0,e.s=n,Object(h.render)(o,n,e.h),e.__k=e.h.__k):e.p&&(e.h.parentNode&&e.s.removeChild(e.h),Object(h.__u)(e.v)),e.v=o,e.componentWillUnmount=function(){e.h.parentNode&&e.s.removeChild(e.h),Object(h.__u)(e.v)},null}function p(t,e){return Object(h.createElement)(f,{vnode:t,container:e})}function d(t,e){t["UNSAFE_"+e]&&!t[e]&&Object.defineProperty(t,e,{configurable:!1,get:function(){return this["UNSAFE_"+e]},set:function(t){this["UNSAFE_"+e]=t}})}n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return i}));n("+mXV");var h=n("sL3o"),v=(function(t){function e(e){var n;return(n=t.call(this,e)||this).isPureReactComponent=!0,n}var n,o;o=t,(n=e).prototype=Object.create(o.prototype),n.prototype.constructor=n,n.__proto__=o,e.prototype.shouldComponentUpdate=function(t,e){return r(this.props,t)||r(this.state,e)}}(h.Component),h.options.__b);h.options.__b=function(t){t.type&&t.type.t&&t.ref&&(t.props.ref=t.ref,t.ref=null),v&&v(t)};"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var y=h.options.__e;h.options.__e=function(t,e,n){if(t.then)for(var o,r=e;r=r.__;)if((o=r.__c)&&o.__c)return null==e.__e&&(e.__e=n.__e,e.__k=n.__k),o.__c(t,e.__c);y(t,e,n)},(a.prototype=new h.Component).__c=function(t,e){var n=this;null==n.o&&(n.o=[]),n.o.push(e);var o=s(n.__v),r=!1,i=function(){r||(r=!0,e.componentWillUnmount=e.__c,o?o(u):u())};e.__c=e.componentWillUnmount,e.componentWillUnmount=function(){i(),e.__c&&e.__c()};var u=function(){var t;if(!--n.__u)for(n.__v.__k[0]=c(n.state.u),n.setState({u:n.__b=null});t=n.o.pop();)t.forceUpdate()};n.__u++||n.setState({u:n.__b=n.__v.__k[0]}),t.then(i,i)},a.prototype.componentWillUnmount=function(){this.o=[]},a.prototype.render=function(t,e){return this.__b&&(this.__v.__k&&(this.__v.__k[0]=u(this.__b)),this.__b=null),[Object(h.createElement)(h.Fragment,null,e.u?null:t.children),e.u&&t.fallback]};var m=function(t,e,n){if(++n[1]===n[0]&&t.l.delete(e),t.props.revealOrder&&("t"!==t.props.revealOrder[0]||!t.l.size))for(n=t.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.i=n=n[2]}};(l.prototype=new h.Component).u=function(t){var e=this,n=s(e.__v),o=e.l.get(t);return o[0]++,function(r){var i=function(){e.props.revealOrder?(o.push(r),m(e,t,o)):r()};n?n(i):i()}},l.prototype.render=function(t){this.i=null,this.l=new Map;var e=Object(h.toChildArray)(t.children);t.revealOrder&&"b"===t.revealOrder[0]&&e.reverse();for(var n=e.length;n--;)this.l.set(e[n],this.i=[1,0,this.i]);return t.children},l.prototype.componentDidUpdate=l.prototype.componentDidMount=function(){var t=this;t.l.forEach((function(e,n){m(t,n,e)}))};var _=function(){function t(){}var e=t.prototype;return e.getChildContext=function(){return this.props.context},e.render=function(t){return t.children},t}(),g=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/;h.Component.prototype.isReactComponent={};var b="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,w=h.options.event;h.options.event=function(t){w&&(t=w(t)),t.persist=function(){};var e=!1,n=!1,o=t.stopPropagation;t.stopPropagation=function(){o.call(t),e=!0};var r=t.preventDefault;return t.preventDefault=function(){r.call(t),n=!0},t.isPropagationStopped=function(){return e},t.isDefaultPrevented=function(){return n},t.nativeEvent=t};var E={configurable:!0,get:function(){return this.class}},x=h.options.vnode;h.options.vnode=function(t){t.$$typeof=b;var e=t.type,n=t.props;if(e){if(n.class!=n.className&&(E.enumerable="className"in n,null!=n.className&&(n.class=n.className),Object.defineProperty(n,"className",E)),"function"!=typeof e){var o,r,i;for(i in n.defaultValue&&void 0!==n.value&&(n.value||0===n.value||(n.value=n.defaultValue),delete n.defaultValue),Array.isArray(n.value)&&n.multiple&&"select"===e&&(Object(h.toChildArray)(n.children).forEach((function(t){-1!=n.value.indexOf(t.props.value)&&(t.props.selected=!0)})),delete n.value),!0===n.download&&(n.download=""),n)if(o=g.test(i))break;if(o)for(i in r=t.props={},n)r[g.test(i)?i.replace(/[A-Z0-9]/,"-$&").toLowerCase():i]=n[i]}!function(){var e=t.type,n=t.props;if(n&&"string"==typeof e){var o={};for(var r in n)/^on(Ani|Tra|Tou)/.test(r)&&(n[r.toLowerCase()]=n[r],delete n[r]),o[r.toLowerCase()]=r;if(o.ondoubleclick&&(n.ondblclick=n[o.ondoubleclick],delete n[o.ondoubleclick]),o.onbeforeinput&&(n.onbeforeinput=n[o.onbeforeinput],delete n[o.onbeforeinput]),o.onchange&&("textarea"===e||"input"===e.toLowerCase()&&!/^fil|che|ra/i.test(n.type))){var i=o.oninput||"oninput";n[i]||(n[i]=n[o.onchange],delete n[o.onchange])}}}(),"function"==typeof e&&!e.m&&e.prototype&&(d(e.prototype,"componentWillMount"),d(e.prototype,"componentWillReceiveProps"),d(e.prototype,"componentWillUpdate"),e.m=!0)}x&&x(t)}},fRV1:function(t){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},ziER:function(t,e,n){(function(e){var n;n=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}var n=function(t){var e=t.viewBox,n=t.content;this.id=t.id,this.viewBox=e,this.content=n};n.prototype.stringify=function(){return this.content},n.prototype.toString=function(){return this.stringify()},n.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))},"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var o=t((function(t){t.exports=function(){function t(t){return t&&"object"==typeof t&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(e,n){return n&&!0===n.clone&&t(e)?o(Array.isArray(e)?[]:{},e,n):e}function n(n,r,i){var u=n.slice();return r.forEach((function(r,c){void 0===u[c]?u[c]=e(r,i):t(r)?u[c]=o(n[c],r,i):-1===n.indexOf(r)&&u.push(e(r,i))})),u}function o(r,i,u){var c=Array.isArray(i),a=(u||{arrayMerge:n}).arrayMerge||n;return c?Array.isArray(r)?a(r,i,u):e(i,u):function(n,r,i){var u={};return t(n)&&Object.keys(n).forEach((function(t){u[t]=e(n[t],i)})),Object.keys(r).forEach((function(c){u[c]=t(r[c])&&n[c]?o(n[c],r[c],i):e(r[c],i)})),u}(r,i,u)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}()})),r=t((function(t,e){e.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},t.exports=e.default})),i=r.svg,u=r.xlink,c={};c[i.name]=i.uri,c[u.name]=u.uri;var a=function(t,e){return void 0===t&&(t=""),"<svg "+function(t){return Object.keys(t).map((function(e){return e+'="'+t[e].toString().replace(/"/g,""")+'"'})).join(" ")}(o(c,e||{}))+">"+t+"</svg>"};return function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),(e.prototype=Object.create(t&&t.prototype)).constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"==typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n}(a(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(n)},t.exports=n()}).call(this,n("fRV1"))}}]);