diff --git a/dist/js/main.js b/dist/js/main.js index 1e5f97c7..7fa14501 100644 --- a/dist/js/main.js +++ b/dist/js/main.js @@ -1,2 +1,2 @@ -var TSExplorer=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=1056)}([function(t,e,n){"use strict";t.exports=n(557)},function(t,e,n){var i=n(4),r=n(11),o=n(24),a=n(20),s=n(34),c=function(t,e,n){var l,u,h,f,d=t&c.F,p=t&c.G,g=t&c.S,m=t&c.P,v=t&c.B,y=p?i:g?i[e]||(i[e]={}):(i[e]||{}).prototype,b=p?r:r[e]||(r[e]={}),x=b.prototype||(b.prototype={});for(l in p&&(n=e),n)h=((u=!d&&y&&void 0!==y[l])?y:n)[l],f=v&&u?s(h,i):m&&"function"==typeof h?s(Function.call,h):h,y&&a(y,l,h,t&c.U),b[l]!=h&&o(b,l,f),m&&x[l]!=h&&(x[l]=h)};i.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){"use strict";n.d(e,"i",function(){return i}),n.d(e,"j",function(){return r}),n.d(e,"o",function(){return o}),n.d(e,"l",function(){return a}),n.d(e,"q",function(){return s}),n.d(e,"w",function(){return c}),n.d(e,"h",function(){return l}),n.d(e,"r",function(){return u}),n.d(e,"a",function(){return h}),n.d(e,"d",function(){return f}),n.d(e,"e",function(){return d}),n.d(e,"g",function(){return p}),n.d(e,"f",function(){return g}),n.d(e,"k",function(){return m}),n.d(e,"n",function(){return v}),n.d(e,"p",function(){return y}),n.d(e,"t",function(){return b}),n.d(e,"s",function(){return x}),n.d(e,"u",function(){return w}),n.d(e,"v",function(){return _}),e.b=function(t){return t>1?0:t<-1?o:Math.acos(t)},e.c=function(t){return t>1?a:t<-1?-a:Math.asin(t)},e.m=function(t){return(t=b(t/2))*t};var i=1e-6,r=1e-12,o=Math.PI,a=o/2,s=o/4,c=2*o,l=180/o,u=o/180,h=Math.abs,f=Math.atan,d=Math.atan2,p=Math.cos,g=Math.ceil,m=Math.exp,v=(Math.floor,Math.log),y=Math.pow,b=Math.sin,x=Math.sign||function(t){return t>0?1:t<0?-1:0},w=Math.sqrt,_=Math.tan},function(t,e,n){"use strict";e.a=function(t){for(var e=t.length/6|0,n=new Array(e),i=0;i0?r(i(t),9007199254740991):0}},function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},function(t,e,n){var i=n(6),r=n(209),o=n(46),a=Object.defineProperty;e.f=n(13)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){t.exports=!n(5)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";n(665),n(114),n(694);var i=n(282);n.d(e,"c",function(){return i.a});var r=n(695);n.d(e,"d",function(){return r.a});var o=n(170);n.d(e,"e",function(){return o.a});n(171),n(115);var a=n(280);n.d(e,"f",function(){return a.a});n(696);var s=n(29);n.d(e,"g",function(){return s.b});var c=n(172);n.d(e,"h",function(){return c.a});var l=n(281);n.d(e,"i",function(){return l.a});var u=n(285);n.d(e,"j",function(){return u.b});var h=n(697);n.d(e,"k",function(){return h.a});n(698),n(173);var f=n(174);n.d(e,"b",function(){return f.c}),n.d(e,"a",function(){return f.a})},function(t,e,n){t.exports=n(566)()},function(t,e,n){"use strict";var i=n(268);n.d(e,"b",function(){return i.a});var r=n(75);n.d(e,"a",function(){return r.a});var o=n(269);n.d(e,"c",function(){return o.a});n(641),n(642),n(271);var a=n(273);n.d(e,"d",function(){return a.a});n(643),n(646),n(647);var s=n(277);n.d(e,"j",function(){return s.a});var c=n(648);n.d(e,"e",function(){return c.a});n(649),n(650);var l=n(651);n.d(e,"f",function(){return l.a});var u=n(278);n.d(e,"g",function(){return u.a});n(270),n(652);var h=n(168);n.d(e,"h",function(){return h.a});var f=n(275);n.d(e,"i",function(){return f.a});n(653),n(654),n(655);var d=n(276);n.d(e,"m",function(){return d.a}),n.d(e,"k",function(){return d.b}),n.d(e,"l",function(){return d.c});n(279),n(272),n(656)},function(t,e,n){"use strict";e.a=function t(e,n,o,a){function s(t){return e(t=new Date(+t)),t}s.floor=s;s.ceil=function(t){return e(t=new Date(t-1)),n(t,1),e(t),t};s.round=function(t){var e=s(t),n=s.ceil(t);return t-e0))return a;do{a.push(o=new Date(+t)),n(t,r),e(t)}while(o=t)for(;e(t),!i(t);)t.setTime(t-1)},function(t,e){if(t>=t)if(e<0)for(;++e<=0;)for(;n(t,-1),!i(t););else for(;--e>=0;)for(;n(t,1),!i(t););})};o&&(s.count=function(t,n){return i.setTime(+t),r.setTime(+n),e(i),e(r),Math.floor(o(i,r))},s.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?s.filter(a?function(e){return a(e)%t===0}:function(e){return s.count(0,e)%t===0}):s:null});return s};var i=new Date,r=new Date},function(t,e,n){var i=n(42);t.exports=function(t){return Object(i(t))}},function(t,e,n){"use strict";var i=function(){};t.exports=i},function(t,e,n){var i=n(4),r=n(24),o=n(23),a=n(52)("src"),s=n(382),c=(""+s).split("toString");n(11).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var l="function"==typeof n;l&&(o(n,"name")||r(n,"name",e)),t[e]!==n&&(l&&(o(n,a)||r(n,a,t[e]?""+t[e]:c.join(String(e)))),t===i?t[e]=n:s?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(t,e,n){var i=n(1),r=n(5),o=n(42),a=/"/g,s=function(t,e,n,i){var r=String(o(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(i).replace(a,""")+'"'),s+">"+r+""};t.exports=function(t,e){var n={};n[t]=e(s),i(i.P+i.F*r(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e,n){"use strict";var i=n(250),r=n(590),o=Object.prototype.toString;function a(t){return"[object Array]"===o.call(t)}function s(t){return null!==t&&"object"===typeof t}function c(t){return"[object Function]"===o.call(t)}function l(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),a(t))for(var n=0,i=t.length;ns)throw new Error("too late; already scheduled");return n},e.h=function(t,e){var n=p(t,e);if(n.state>l)throw new Error("too late; already started");return n},e.f=p;var i=n(76),r=n(117),o=Object(i.a)("start","end","interrupt"),a=[],s=0,c=1,l=2,u=3,h=4,f=5,d=6;function p(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}e.e=function(t,e,n,i,p,g){var m=t.__transition;if(m){if(n in m)return}else t.__transition={};!function(t,e,n){var i,o=t.__transition;function a(f){var g,m,v,y;if(n.state!==c)return p();for(g in o)if((y=o[g]).name===n.name){if(y.state===u)return Object(r.b)(a);y.state===h?(y.state=d,y.timer.stop(),y.on.call("interrupt",t,t.__data__,y.index,y.group),delete o[g]):+g2?t[2]%360*c.r:0,F()):[P*c.h,C*c.h,A*c.h]},N.angle=function(t){return arguments.length?(E=t%360*c.r,F()):E*c.h},N.precision=function(t){return arguments.length?(y=Object(f.a)(b,R=t*t),B()):Object(c.u)(R)},N.fitExtent=function(t,e){return Object(h.a)(N,t,e)},N.fitSize=function(t,e){return Object(h.c)(N,t,e)},N.fitWidth=function(t,e){return Object(h.d)(N,t,e)},N.fitHeight=function(t,e){return Object(h.b)(N,t,e)},function(){return e=t.apply(this,arguments),N.invert=e.invert&&z,F()}}},function(t,e,n){"use strict";function i(t){return"value"===t.representationMode?t.id:t.id+":"+t.representationMode}e.c=i,e.a=function(t,e){return t.find(function(t){return t.getFullSerieId()===e})},e.b=function(t,e){if(!e)return"line";var n={id:t.id,representationMode:t.representationMode};return e[i(n)]}},function(t,e,n){var i=n(35);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e,n){var i=n(84),r=n(51),o=n(25),a=n(46),s=n(23),c=n(209),l=Object.getOwnPropertyDescriptor;e.f=n(13)?l:function(t,e){if(t=o(t),e=a(e,!0),c)try{return l(t,e)}catch(t){}if(s(t,e))return r(!i.f.call(t,e),t[e])}},function(t,e,n){var i=n(1),r=n(11),o=n(5);t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],a={};a[t]=e(n),i(i.S+i.F*o(function(){n(1)}),"Object",a)}},function(t,e,n){var i=n(34),r=n(83),o=n(18),a=n(10),s=n(225);t.exports=function(t,e){var n=1==t,c=2==t,l=3==t,u=4==t,h=6==t,f=5==t||h,d=e||s;return function(e,s,p){for(var g,m,v=o(e),y=r(v),b=i(s,p,3),x=a(y.length),w=0,_=n?d(e,x):c?d(e,0):void 0;x>w;w++)if((f||w in y)&&(m=b(g=y[w],w,v),t))if(n)_[w]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return w;case 2:_.push(g)}else if(u)return!1;return h?-1:l||u?u:_}}},function(t,e,n){"use strict";var i=n(565),r=(n(243),n(569));n.d(e,"a",function(){return i.a}),n.d(e,"b",function(){return r.a})},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";if(n(13)){var i=n(53),r=n(4),o=n(5),a=n(1),s=n(109),c=n(160),l=n(34),u=n(71),h=n(51),f=n(24),d=n(72),p=n(36),g=n(10),m=n(236),v=n(55),y=n(46),b=n(23),x=n(85),w=n(7),_=n(18),S=n(152),k=n(56),O=n(58),M=n(57).f,T=n(154),P=n(52),C=n(9),A=n(39),E=n(99),L=n(86),j=n(156),D=n(69),I=n(102),R=n(70),N=n(155),z=n(227),F=n(12),B=n(37),H=F.f,W=B.f,Y=r.RangeError,U=r.TypeError,G=r.Uint8Array,X=Array.prototype,V=c.ArrayBuffer,q=c.DataView,K=A(0),$=A(2),Z=A(3),Q=A(4),J=A(5),tt=A(6),et=E(!0),nt=E(!1),it=j.values,rt=j.keys,ot=j.entries,at=X.lastIndexOf,st=X.reduce,ct=X.reduceRight,lt=X.join,ut=X.sort,ht=X.slice,ft=X.toString,dt=X.toLocaleString,pt=C("iterator"),gt=C("toStringTag"),mt=P("typed_constructor"),vt=P("def_constructor"),yt=s.CONSTR,bt=s.TYPED,xt=s.VIEW,wt=A(1,function(t,e){return Mt(L(t,t[vt]),e)}),_t=o(function(){return 1===new G(new Uint16Array([1]).buffer)[0]}),St=!!G&&!!G.prototype.set&&o(function(){new G(1).set({})}),kt=function(t,e){var n=p(t);if(n<0||n%e)throw Y("Wrong offset!");return n},Ot=function(t){if(w(t)&&bt in t)return t;throw U(t+" is not a typed array!")},Mt=function(t,e){if(!(w(t)&&mt in t))throw U("It is not a typed array constructor!");return new t(e)},Tt=function(t,e){return Pt(L(t,t[vt]),e)},Pt=function(t,e){for(var n=0,i=e.length,r=Mt(t,i);i>n;)r[n]=e[n++];return r},Ct=function(t,e,n){H(t,e,{get:function(){return this._d[n]}})},At=function(t){var e,n,i,r,o,a,s=_(t),c=arguments.length,u=c>1?arguments[1]:void 0,h=void 0!==u,f=T(s);if(void 0!=f&&!S(f)){for(a=f.call(s),i=[],e=0;!(o=a.next()).done;e++)i.push(o.value);s=i}for(h&&c>2&&(u=l(u,arguments[2],2)),e=0,n=g(s.length),r=Mt(this,n);n>e;e++)r[e]=h?u(s[e],e):s[e];return r},Et=function(){for(var t=0,e=arguments.length,n=Mt(this,e);e>t;)n[t]=arguments[t++];return n},Lt=!!G&&o(function(){dt.call(new G(1))}),jt=function(){return dt.apply(Lt?ht.call(Ot(this)):Ot(this),arguments)},Dt={copyWithin:function(t,e){return z.call(Ot(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return Q(Ot(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return N.apply(Ot(this),arguments)},filter:function(t){return Tt(this,$(Ot(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return J(Ot(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){K(Ot(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(Ot(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return lt.apply(Ot(this),arguments)},lastIndexOf:function(t){return at.apply(Ot(this),arguments)},map:function(t){return wt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(Ot(this),arguments)},reduceRight:function(t){return ct.apply(Ot(this),arguments)},reverse:function(){for(var t,e=Ot(this).length,n=Math.floor(e/2),i=0;i1?arguments[1]:void 0)},sort:function(t){return ut.call(Ot(this),t)},subarray:function(t,e){var n=Ot(this),i=n.length,r=v(t,i);return new(L(n,n[vt]))(n.buffer,n.byteOffset+r*n.BYTES_PER_ELEMENT,g((void 0===e?i:v(e,i))-r))}},It=function(t,e){return Tt(this,ht.call(Ot(this),t,e))},Rt=function(t){Ot(this);var e=kt(arguments[1],1),n=this.length,i=_(t),r=g(i.length),o=0;if(r+e>n)throw Y("Wrong length!");for(;o255?255:255&i),r.v[d](n*e+r.o,i,_t)}(this,n,t)},enumerable:!0})};b?(p=n(function(t,n,i,r){u(t,p,l,"_d");var o,a,s,c,h=0,d=0;if(w(n)){if(!(n instanceof V||"ArrayBuffer"==(c=x(n))||"SharedArrayBuffer"==c))return bt in n?Pt(p,n):At.call(p,n);o=n,d=kt(i,e);var v=n.byteLength;if(void 0===r){if(v%e)throw Y("Wrong length!");if((a=v-d)<0)throw Y("Wrong length!")}else if((a=g(r)*e)+d>v)throw Y("Wrong length!");s=a/e}else s=m(n),o=new V(a=s*e);for(f(t,"_d",{b:o,o:d,l:a,e:s,v:new q(o)});hdocument.F=Object<\/script>"),t.close(),c=t.F;i--;)delete c.prototype[o[i]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=i(t),n=new s,s.prototype=null,n[a]=t):n=c(),void 0===e?n:r(n,e)}},function(t,e,n){var i=n(211),r=n(139).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},function(t,e,n){var i=n(23),r=n(18),o=n(138)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var i=n(9)("unscopables"),r=Array.prototype;void 0==r[i]&&n(24)(r,i,{}),t.exports=function(t){r[i][t]=!0}},function(t,e,n){var i=n(7);t.exports=function(t,e){if(!i(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){"use strict";var i=n(756);n.d(e,"a",function(){return i.a})},function(t,e,n){"use strict";function i(t,e){t&&o.hasOwnProperty(t.type)&&o[t.type](t,e)}var r={Feature:function(t,e){i(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,o=n.length;++re?1:t>=e?0:NaN}},function(t,e,n){"use strict";var i=n(663);n.d(e,"a",function(){return i.a})},function(t,e,n){"use strict";e.c=function(t,e){var n=e-t;return n?r(t,n>180||n<-180?n-360*Math.round(n/360):n):Object(i.a)(isNaN(t)?e:t)},e.b=function(t){return 1===(t=+t)?o:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(i){return Math.pow(t+i*e,n)}}(e,n,t):Object(i.a)(isNaN(e)?n:e)}},e.a=o;var i=n(291);function r(t,e){return function(n){return t+n*e}}function o(t,e){var n=e-t;return n?r(t,n):Object(i.a)(isNaN(t)?e:t)}},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";function i(){this.reset()}e.a=function(){return new i},i.prototype={constructor:i,reset:function(){this.s=this.t=0},add:function(t){o(r,t,this.t),o(this,r.s,this.s),this.s?this.t+=r.t:this.s=r.t},valueOf:function(){return this.s}};var r=new i;function o(t,e,n){var i=t.s=e+n,r=i-e,o=i-r;t.t=e-o+(n-r)}},function(t,e,n){"use strict";e.a=function(){return Math.random()}},function(t,e,n){"use strict";e.b=s,e.a=function t(){var e=Object(o.b)(o.c,r.c);e.copy=function(){return Object(o.a)(e,t())};return s(e)};var i=n(16),r=n(26),o=n(125),a=n(875);function s(t){var e=t.domain;return t.ticks=function(t){var n=e();return Object(i.m)(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){return Object(a.a)(e(),t,n)},t.nice=function(n){null==n&&(n=10);var r,o=e(),a=0,s=o.length-1,c=o[a],l=o[s];return l0?(c=Math.floor(c/r)*r,l=Math.ceil(l/r)*r,r=Object(i.k)(c,l,n)):r<0&&(c=Math.ceil(c*r)/r,l=Math.floor(l*r)/r,r=Object(i.k)(c,l,n)),r>0?(o[a]=Math.floor(c/r)*r,o[s]=Math.ceil(l/r)*r,e(o)):r<0&&(o[a]=Math.ceil(c*r)/r,o[s]=Math.floor(l*r)/r,e(o)),t},t}},function(t,e,n){"use strict";var i=n(0),r=(n.n(i),this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n>>0,i=0;i0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,B=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,H={},W={};function Y(t,e,n,i){var r=i;"string"===typeof i&&(r=function(){return this[i]()}),t&&(W[t]=r),e&&(W[e[0]]=function(){return z(r.apply(this,arguments),e[1],e[2])}),n&&(W[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function U(t,e){return t.isValid()?(e=G(e,t.localeData()),H[e]=H[e]||function(t){var e,n,i,r=t.match(F);for(e=0,n=r.length;e=0&&B.test(t);)t=t.replace(B,i),B.lastIndex=0,n-=1;return t}var X=/\d/,V=/\d\d/,q=/\d{3}/,K=/\d{4}/,$=/[+-]?\d{6}/,Z=/\d\d?/,Q=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,tt=/\d{1,3}/,et=/\d{1,4}/,nt=/[+-]?\d{1,6}/,it=/\d+/,rt=/[+-]?\d+/,ot=/Z|[+-]\d\d:?\d\d/gi,at=/Z|[+-]\d\d(?::?\d\d)?/gi,st=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ct={};function lt(t,e,n){ct[t]=C(e)?e:function(t,i){return t&&n?n:e}}function ut(t,e){return u(ct,t)?ct[t](e._strict,e._locale):new RegExp(ht(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r})))}function ht(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ft={};function dt(t,e){var n,i=e;for("string"===typeof t&&(t=[t]),s(e)&&(i=function(t,n){n[e]=_(t)}),n=0;n68?1900:2e3)};var Tt,Pt=Ct("FullYear",!0);function Ct(t,e){return function(n){return null!=n?(Et(this,t,n),i.updateOffset(this,e),this):At(this,t)}}function At(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Et(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&Mt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Lt(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function Lt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n,i=(e%(n=12)+n)%n;return t+=(e-i)/12,1===i?Mt(t)?29:28:31-i%7%2}Tt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function Wt(t,e,n){var i=7+e-n;return-((7+Ht(t,0,i).getUTCDay()-e)%7)+i-1}function Yt(t,e,n,i,r){var o,a,s=1+7*(e-1)+(7+n-i)%7+Wt(t,i,r);return s<=0?a=Ot(o=t-1)+s:s>Ot(t)?(o=t+1,a=s-Ot(t)):(o=t,a=s),{year:o,dayOfYear:a}}function Ut(t,e,n){var i,r,o=Wt(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?i=a+Gt(r=t.year()-1,e,n):a>Gt(t.year(),e,n)?(i=a-Gt(t.year(),e,n),r=t.year()+1):(r=t.year(),i=a),{week:i,year:r}}function Gt(t,e,n){var i=Wt(t,e,n),r=Wt(t+1,e,n);return(Ot(t)-i+r)/7}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),j("week","w"),j("isoWeek","W"),N("week",5),N("isoWeek",5),lt("w",Z),lt("ww",Z,V),lt("W",Z),lt("WW",Z,V),pt(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=_(t)});Y("d",0,"do","day"),Y("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),Y("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),Y("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),j("day","d"),j("weekday","e"),j("isoWeekday","E"),N("day",11),N("weekday",11),N("isoWeekday",11),lt("d",Z),lt("e",Z),lt("E",Z),lt("dd",function(t,e){return e.weekdaysMinRegex(t)}),lt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),lt("dddd",function(t,e){return e.weekdaysRegex(t)}),pt(["dd","ddd","dddd"],function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:d(n).invalidWeekday=t}),pt(["d","e","E"],function(t,e,n,i){e[i]=_(t)});var Xt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Vt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var qt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var Kt=st;var $t=st;var Zt=st;function Qt(){function t(t,e){return e.length-t.length}var e,n,i,r,o,a=[],s=[],c=[],l=[];for(e=0;e<7;e++)n=f([2e3,1]).day(e),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(i),s.push(r),c.push(o),l.push(i),l.push(r),l.push(o);for(a.sort(t),s.sort(t),c.sort(t),l.sort(t),e=0;e<7;e++)s[e]=ht(s[e]),c[e]=ht(c[e]),l[e]=ht(l[e]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Jt(){return this.hours()%12||12}function te(t,e){Y(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function ee(t,e){return e._meridiemParse}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,Jt),Y("k",["kk",2],0,function(){return this.hours()||24}),Y("hmm",0,0,function(){return""+Jt.apply(this)+z(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+Jt.apply(this)+z(this.minutes(),2)+z(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+z(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+z(this.minutes(),2)+z(this.seconds(),2)}),te("a",!0),te("A",!1),j("hour","h"),N("hour",13),lt("a",ee),lt("A",ee),lt("H",Z),lt("h",Z),lt("k",Z),lt("HH",Z,V),lt("hh",Z,V),lt("kk",Z,V),lt("hmm",Q),lt("hmmss",J),lt("Hmm",Q),lt("Hmmss",J),dt(["H","HH"],bt),dt(["k","kk"],function(t,e,n){var i=_(t);e[bt]=24===i?0:i}),dt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),dt(["h","hh"],function(t,e,n){e[bt]=_(t),d(n).bigHour=!0}),dt("hmm",function(t,e,n){var i=t.length-2;e[bt]=_(t.substr(0,i)),e[xt]=_(t.substr(i)),d(n).bigHour=!0}),dt("hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[bt]=_(t.substr(0,i)),e[xt]=_(t.substr(i,2)),e[wt]=_(t.substr(r)),d(n).bigHour=!0}),dt("Hmm",function(t,e,n){var i=t.length-2;e[bt]=_(t.substr(0,i)),e[xt]=_(t.substr(i))}),dt("Hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[bt]=_(t.substr(0,i)),e[xt]=_(t.substr(i,2)),e[wt]=_(t.substr(r))});var ne,ie=Ct("Hours",!0),re={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Dt,monthsShort:It,week:{dow:0,doy:6},weekdays:Xt,weekdaysMin:qt,weekdaysShort:Vt,meridiemParse:/[ap]\.?m?\.?/i},oe={},ae={};function se(t){return t?t.toLowerCase().replace("_","-"):t}function ce(e){var n=null;if(!oe[e]&&"undefined"!==typeof t&&t&&t.exports)try{n=ne._abbr;!function(){var t=new Error('Cannot find module "./locale"');throw t.code="MODULE_NOT_FOUND",t}(),le(n)}catch(t){}return oe[e]}function le(t,e){var n;return t&&((n=a(e)?he(t):ue(t,e))?ne=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ne._abbr}function ue(t,e){if(null!==e){var n,i=re;if(e.abbr=t,null!=oe[t])P("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=oe[t]._config;else if(null!=e.parentLocale)if(null!=oe[e.parentLocale])i=oe[e.parentLocale]._config;else{if(null==(n=ce(e.parentLocale)))return ae[e.parentLocale]||(ae[e.parentLocale]=[]),ae[e.parentLocale].push({name:t,config:e}),null;i=n._config}return oe[t]=new E(A(i,e)),ae[t]&&ae[t].forEach(function(t){ue(t.name,t.config)}),le(t),oe[t]}return delete oe[t],null}function he(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ne;if(!r(t)){if(e=ce(t))return e;t=[t]}return function(t){for(var e,n,i,r,o=0;o0;){if(i=ce(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&S(r,n,!0)>=e-1)break;e--}o++}return ne}(t)}function fe(t){var e,n=t._a;return n&&-2===d(t).overflow&&(e=n[vt]<0||n[vt]>11?vt:n[yt]<1||n[yt]>Lt(n[mt],n[vt])?yt:n[bt]<0||n[bt]>24||24===n[bt]&&(0!==n[xt]||0!==n[wt]||0!==n[_t])?bt:n[xt]<0||n[xt]>59?xt:n[wt]<0||n[wt]>59?wt:n[_t]<0||n[_t]>999?_t:-1,d(t)._overflowDayOfYear&&(eyt)&&(e=yt),d(t)._overflowWeeks&&-1===e&&(e=St),d(t)._overflowWeekday&&-1===e&&(e=kt),d(t).overflow=e),t}function de(t,e,n){return null!=t?t:null!=e?e:n}function pe(t){var e,n,r,o,a,s=[];if(!t._d){for(r=function(t){var e=new Date(i.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[yt]&&null==t._a[vt]&&function(t){var e,n,i,r,o,a,s,c;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)o=1,a=4,n=de(e.GG,t._a[mt],Ut(Ce(),1,4).year),i=de(e.W,1),((r=de(e.E,1))<1||r>7)&&(c=!0);else{o=t._locale._week.dow,a=t._locale._week.doy;var l=Ut(Ce(),o,a);n=de(e.gg,t._a[mt],l.year),i=de(e.w,l.week),null!=e.d?((r=e.d)<0||r>6)&&(c=!0):null!=e.e?(r=e.e+o,(e.e<0||e.e>6)&&(c=!0)):r=o}i<1||i>Gt(n,o,a)?d(t)._overflowWeeks=!0:null!=c?d(t)._overflowWeekday=!0:(s=Yt(n,i,r,o,a),t._a[mt]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(a=de(t._a[mt],r[mt]),(t._dayOfYear>Ot(a)||0===t._dayOfYear)&&(d(t)._overflowDayOfYear=!0),n=Ht(a,0,t._dayOfYear),t._a[vt]=n.getUTCMonth(),t._a[yt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[bt]&&0===t._a[xt]&&0===t._a[wt]&&0===t._a[_t]&&(t._nextDay=!0,t._a[bt]=0),t._d=(t._useUTC?Ht:function(t,e,n,i,r,o,a){var s=new Date(t,e,n,i,r,o,a);return t<100&&t>=0&&isFinite(s.getFullYear())&&s.setFullYear(t),s}).apply(null,s),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[bt]=24),t._w&&"undefined"!==typeof t._w.d&&t._w.d!==o&&(d(t).weekdayMismatch=!0)}}var ge=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,me=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ve=/Z|[+-]\d\d(?::?\d\d)?/,ye=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],be=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xe=/^\/?Date\((\-?\d+)/i;function we(t){var e,n,i,r,o,a,s=t._i,c=ge.exec(s)||me.exec(s);if(c){for(d(t).iso=!0,e=0,n=ye.length;e0&&d(t).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),l+=n.length),W[o]?(n?d(t).empty=!1:d(t).unusedTokens.push(o),gt(o,n,t)):t._strict&&!n&&d(t).unusedTokens.push(o);d(t).charsLeftOver=c-l,s.length>0&&d(t).unusedInput.push(s),t._a[bt]<=12&&!0===d(t).bigHour&&t._a[bt]>0&&(d(t).bigHour=void 0),d(t).parsedDateParts=t._a.slice(0),d(t).meridiem=t._meridiem,t._a[bt]=function(t,e,n){var i;if(null==n)return e;return null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0),e):e}(t._locale,t._a[bt],t._meridiem),pe(t),fe(t)}else Oe(t);else we(t)}function Te(t){var e=t._i,n=t._f;return t._locale=t._locale||he(t._l),null===e||void 0===n&&""===e?g({nullInput:!0}):("string"===typeof e&&(t._i=e=t._locale.preparse(e)),x(e)?new b(fe(e)):(c(e)?t._d=e:r(n)?function(t){var e,n,i,r,o;if(0===t._f.length)return d(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;rthis?this:t:g()});function Le(t,e){var n,i;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return Ce();for(n=e[0],i=1;i(o=Gt(t,i,r))&&(e=o),function(t,e,n,i,r){var o=Yt(t,e,n,i,r),a=Ht(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,t,e,n,i,r))}Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),nn("gggg","weekYear"),nn("ggggg","weekYear"),nn("GGGG","isoWeekYear"),nn("GGGGG","isoWeekYear"),j("weekYear","gg"),j("isoWeekYear","GG"),N("weekYear",1),N("isoWeekYear",1),lt("G",rt),lt("g",rt),lt("GG",Z,V),lt("gg",Z,V),lt("GGGG",et,K),lt("gggg",et,K),lt("GGGGG",nt,$),lt("ggggg",nt,$),pt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=_(t)}),pt(["gg","GG"],function(t,e,n,r){e[r]=i.parseTwoDigitYear(t)}),Y("Q",0,"Qo","quarter"),j("quarter","Q"),N("quarter",7),lt("Q",X),dt("Q",function(t,e){e[vt]=3*(_(t)-1)}),Y("D",["DD",2],"Do","date"),j("date","D"),N("date",9),lt("D",Z),lt("DD",Z,V),lt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),dt(["D","DD"],yt),dt("Do",function(t,e){e[yt]=_(t.match(Z)[0])});var on=Ct("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),j("dayOfYear","DDD"),N("dayOfYear",4),lt("DDD",tt),lt("DDDD",q),dt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=_(t)}),Y("m",["mm",2],0,"minute"),j("minute","m"),N("minute",14),lt("m",Z),lt("mm",Z,V),dt(["m","mm"],xt);var an=Ct("Minutes",!1);Y("s",["ss",2],0,"second"),j("second","s"),N("second",15),lt("s",Z),lt("ss",Z,V),dt(["s","ss"],wt);var sn,cn=Ct("Seconds",!1);for(Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),j("millisecond","ms"),N("millisecond",16),lt("S",tt,X),lt("SS",tt,V),lt("SSS",tt,q),sn="SSSS";sn.length<=9;sn+="S")lt(sn,it);function ln(t,e){e[_t]=_(1e3*("0."+t))}for(sn="S";sn.length<=9;sn+="S")dt(sn,ln);var un=Ct("Milliseconds",!1);Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var hn=b.prototype;function fn(t){return t}hn.add=$e,hn.calendar=function(t,e){var n=t||Ce(),r=Be(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=e&&(C(e[o])?e[o].call(this,n):e[o]);return this.format(a||this.localeData().calendar(o,this,Ce(n)))},hn.clone=function(){return new b(this)},hn.diff=function(t,e,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=Be(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=D(e)){case"year":o=Qe(this,i)/12;break;case"month":o=Qe(this,i);break;case"quarter":o=Qe(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:w(o)},hn.endOf=function(t){return void 0===(t=D(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))},hn.format=function(t){t||(t=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var e=U(this,t);return this.localeData().postformat(e)},hn.from=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||Ce(t).isValid())?Ge({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},hn.fromNow=function(t){return this.from(Ce(),t)},hn.to=function(t,e){return this.isValid()&&(x(t)&&t.isValid()||Ce(t).isValid())?Ge({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},hn.toNow=function(t){return this.to(Ce(),t)},hn.get=function(t){return C(this[t=D(t)])?this[t]():this},hn.invalidAt=function(){return d(this).overflow},hn.isAfter=function(t,e){var n=x(t)?t:Ce(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=D(a(e)?"millisecond":e))?this.valueOf()>n.valueOf():n.valueOf()9999?U(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):C(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},hn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=e+'[")]';return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+r)},hn.toJSON=function(){return this.isValid()?this.toISOString():null},hn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},hn.unix=function(){return Math.floor(this.valueOf()/1e3)},hn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},hn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},hn.year=Pt,hn.isLeapYear=function(){return Mt(this.year())},hn.weekYear=function(t){return rn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},hn.isoWeekYear=function(t){return rn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},hn.quarter=hn.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},hn.month=Nt,hn.daysInMonth=function(){return Lt(this.year(),this.month())},hn.week=hn.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},hn.isoWeek=hn.isoWeeks=function(t){var e=Ut(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},hn.weeksInYear=function(){var t=this.localeData()._week;return Gt(this.year(),t.dow,t.doy)},hn.isoWeeksInYear=function(){return Gt(this.year(),1,4)},hn.date=on,hn.day=hn.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!==typeof t?t:isNaN(t)?"number"===typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},hn.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},hn.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"===typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},hn.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},hn.hour=hn.hours=ie,hn.minute=hn.minutes=an,hn.second=hn.seconds=cn,hn.millisecond=hn.milliseconds=un,hn.utcOffset=function(t,e,n){var r,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"===typeof t){if(null===(t=Fe(at,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(r=He(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==t&&(!e||this._changeInProgress?Ke(this,Ge(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:He(this)},hn.utc=function(t){return this.utcOffset(0,t)},hn.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(He(this),"m")),this},hn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var t=Fe(ot,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},hn.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ce(t).utcOffset():0,(this.utcOffset()-t)%60===0)},hn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},hn.isLocal=function(){return!!this.isValid()&&!this._isUTC},hn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},hn.isUtc=We,hn.isUTC=We,hn.zoneAbbr=function(){return this._isUTC?"UTC":""},hn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},hn.dates=O("dates accessor is deprecated. Use date instead.",on),hn.months=O("months accessor is deprecated. Use month instead",Nt),hn.years=O("years accessor is deprecated. Use year instead",Pt),hn.zone=O("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!==typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),hn.isDSTShifted=O("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var t={};if(v(t,this),(t=Te(t))._a){var e=t._isUTC?f(t._a):Ce(t._a);this._isDSTShifted=this.isValid()&&S(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var dn=E.prototype;function pn(t,e,n,i){var r=he(),o=f().set(i,e);return r[n](o,t)}function gn(t,e,n){if(s(t)&&(e=t,t=void 0),t=t||"",null!=e)return pn(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=pn(t,i,n,"month");return r}function mn(t,e,n,i){"boolean"===typeof t?(s(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,s(e)&&(n=e,e=void 0),e=e||"");var r,o=he(),a=t?o._week.dow:0;if(null!=n)return pn(e,(n+a)%7,i,"day");var c=[];for(r=0;r<7;r++)c[r]=pn(e,(r+a)%7,i,"day");return c}dn.calendar=function(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return C(i)?i.call(e,n):i},dn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},dn.invalidDate=function(){return this._invalidDate},dn.ordinal=function(t){return this._ordinal.replace("%d",t)},dn.preparse=fn,dn.postformat=fn,dn.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return C(r)?r(t,e,n,i):r.replace(/%d/i,t)},dn.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return C(n)?n(e):n.replace(/%s/i,e)},dn.set=function(t){var e,n;for(n in t)C(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},dn.months=function(t,e){return t?r(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||jt).test(e)?"format":"standalone"][t.month()]:r(this._months)?this._months:this._months.standalone},dn.monthsShort=function(t,e){return t?r(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[jt.test(e)?"format":"standalone"][t.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},dn.monthsParse=function(t,e,n){var i,r,o;if(this._monthsParseExact)return function(t,e,n){var i,r,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=f([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(r=Tt.call(this._shortMonthsParse,a))?r:null:-1!==(r=Tt.call(this._longMonthsParse,a))?r:null:"MMM"===e?-1!==(r=Tt.call(this._shortMonthsParse,a))?r:-1!==(r=Tt.call(this._longMonthsParse,a))?r:null:-1!==(r=Tt.call(this._longMonthsParse,a))?r:-1!==(r=Tt.call(this._shortMonthsParse,a))?r:null}.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=f([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},dn.monthsRegex=function(t){return this._monthsParseExact?(u(this,"_monthsRegex")||Bt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=Ft),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},dn.monthsShortRegex=function(t){return this._monthsParseExact?(u(this,"_monthsRegex")||Bt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=zt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},dn.week=function(t){return Ut(t,this._week.dow,this._week.doy).week},dn.firstDayOfYear=function(){return this._week.doy},dn.firstDayOfWeek=function(){return this._week.dow},dn.weekdays=function(t,e){return t?r(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:r(this._weekdays)?this._weekdays:this._weekdays.standalone},dn.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},dn.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},dn.weekdaysParse=function(t,e,n){var i,r,o;if(this._weekdaysParseExact)return function(t,e,n){var i,r,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=Tt.call(this._weekdaysParse,a))?r:null:"ddd"===e?-1!==(r=Tt.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=Tt.call(this._minWeekdaysParse,a))?r:null:"dddd"===e?-1!==(r=Tt.call(this._weekdaysParse,a))?r:-1!==(r=Tt.call(this._shortWeekdaysParse,a))?r:-1!==(r=Tt.call(this._minWeekdaysParse,a))?r:null:"ddd"===e?-1!==(r=Tt.call(this._shortWeekdaysParse,a))?r:-1!==(r=Tt.call(this._weekdaysParse,a))?r:-1!==(r=Tt.call(this._minWeekdaysParse,a))?r:null:-1!==(r=Tt.call(this._minWeekdaysParse,a))?r:-1!==(r=Tt.call(this._weekdaysParse,a))?r:-1!==(r=Tt.call(this._shortWeekdaysParse,a))?r:null}.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=f([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},dn.weekdaysRegex=function(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Kt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},dn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=$t),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},dn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Zt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},dn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},dn.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},le("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===_(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),i.lang=O("moment.lang is deprecated. Use moment.locale instead.",le),i.langData=O("moment.langData is deprecated. Use moment.localeData instead.",he);var vn=Math.abs;function yn(t,e,n,i){var r=Ge(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function bn(t){return t<0?Math.floor(t):Math.ceil(t)}function xn(t){return 4800*t/146097}function wn(t){return 146097*t/4800}function _n(t){return function(){return this.as(t)}}var Sn=_n("ms"),kn=_n("s"),On=_n("m"),Mn=_n("h"),Tn=_n("d"),Pn=_n("w"),Cn=_n("M"),An=_n("y");function En(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ln=En("milliseconds"),jn=En("seconds"),Dn=En("minutes"),In=En("hours"),Rn=En("days"),Nn=En("months"),zn=En("years");var Fn=Math.round,Bn={ss:44,s:45,m:45,h:22,d:26,M:11};var Hn=Math.abs;function Wn(t){return(t>0)-(t<0)||+t}function Yn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n=Hn(this._milliseconds)/1e3,i=Hn(this._days),r=Hn(this._months);e=w((t=w(n/60))/60),n%=60,t%=60;var o=w(r/12),a=r%=12,s=i,c=e,l=t,u=n?n.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var f=h<0?"-":"",d=Wn(this._months)!==Wn(h)?"-":"",p=Wn(this._days)!==Wn(h)?"-":"",g=Wn(this._milliseconds)!==Wn(h)?"-":"";return f+"P"+(o?d+o+"Y":"")+(a?d+a+"M":"")+(s?p+s+"D":"")+(c||l||u?"T":"")+(c?g+c+"H":"")+(l?g+l+"M":"")+(u?g+u+"S":"")}var Un=De.prototype;return Un.isValid=function(){return this._isValid},Un.abs=function(){var t=this._data;return this._milliseconds=vn(this._milliseconds),this._days=vn(this._days),this._months=vn(this._months),t.milliseconds=vn(t.milliseconds),t.seconds=vn(t.seconds),t.minutes=vn(t.minutes),t.hours=vn(t.hours),t.months=vn(t.months),t.years=vn(t.years),this},Un.add=function(t,e){return yn(this,t,e,1)},Un.subtract=function(t,e){return yn(this,t,e,-1)},Un.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=D(t))||"year"===t)return e=this._days+i/864e5,n=this._months+xn(e),"month"===t?n:n/12;switch(e=this._days+Math.round(wn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},Un.asMilliseconds=Sn,Un.asSeconds=kn,Un.asMinutes=On,Un.asHours=Mn,Un.asDays=Tn,Un.asWeeks=Pn,Un.asMonths=Cn,Un.asYears=An,Un.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*_(this._months/12):NaN},Un._bubble=function(){var t,e,n,i,r,o=this._milliseconds,a=this._days,s=this._months,c=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*bn(wn(s)+a),a=0,s=0),c.milliseconds=o%1e3,t=w(o/1e3),c.seconds=t%60,e=w(t/60),c.minutes=e%60,n=w(e/60),c.hours=n%24,s+=r=w(xn(a+=w(n/24))),a-=bn(wn(r)),i=w(s/12),s%=12,c.days=a,c.months=s,c.years=i,this},Un.clone=function(){return Ge(this)},Un.get=function(t){return t=D(t),this.isValid()?this[t+"s"]():NaN},Un.milliseconds=Ln,Un.seconds=jn,Un.minutes=Dn,Un.hours=In,Un.days=Rn,Un.weeks=function(){return w(this.days()/7)},Un.months=Nn,Un.years=zn,Un.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=function(t,e,n){var i=Ge(t).abs(),r=Fn(i.as("s")),o=Fn(i.as("m")),a=Fn(i.as("h")),s=Fn(i.as("d")),c=Fn(i.as("M")),l=Fn(i.as("y")),u=r<=Bn.ss&&["s",r]||r0,u[4]=n,function(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}.apply(null,u)}(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},Un.toISOString=Yn,Un.toString=Yn,Un.toJSON=Yn,Un.locale=Je,Un.localeData=en,Un.toIsoString=O("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Yn),Un.lang=tn,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),lt("x",rt),lt("X",/[+-]?\d+(\.\d{1,3})?/),dt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),dt("x",function(t,e,n){n._d=new Date(_(t))}),i.version="2.22.2",e=Ce,i.fn=hn,i.min=function(){return Le("isBefore",[].slice.call(arguments,0))},i.max=function(){return Le("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=f,i.unix=function(t){return Ce(1e3*t)},i.months=function(t,e){return gn(t,e,"months")},i.isDate=c,i.locale=le,i.invalid=g,i.duration=Ge,i.isMoment=x,i.weekdays=function(t,e,n){return mn(t,e,n,"weekdays")},i.parseZone=function(){return Ce.apply(null,arguments).parseZone()},i.localeData=he,i.isDuration=Ie,i.monthsShort=function(t,e){return gn(t,e,"monthsShort")},i.weekdaysMin=function(t,e,n){return mn(t,e,n,"weekdaysMin")},i.defineLocale=ue,i.updateLocale=function(t,e){if(null!=e){var n,i,r=re;null!=(i=ce(t))&&(r=i._config),(n=new E(e=A(r,e))).parentLocale=oe[t],oe[t]=n,le(t)}else null!=oe[t]&&(null!=oe[t].parentLocale?oe[t]=oe[t].parentLocale:null!=oe[t]&&delete oe[t]);return oe[t]},i.locales=function(){return M(oe)},i.weekdaysShort=function(t,e,n){return mn(t,e,n,"weekdaysShort")},i.normalizeUnits=D,i.relativeTimeRounding=function(t){return void 0===t?Fn:"function"===typeof t&&(Fn=t,!0)},i.relativeTimeThreshold=function(t,e){return void 0!==Bn[t]&&(void 0===e?Bn[t]:(Bn[t]=e,"s"===t&&(Bn.ss=e-1),!0))},i.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},i.prototype=hn,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},i},t.exports=e()}).call(e,n(610)(t))},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"f",function(){return r}),n.d(e,"c",function(){return o}),n.d(e,"e",function(){return a}),n.d(e,"g",function(){return s}),n.d(e,"d",function(){return c}),n.d(e,"b",function(){return l});var i=function(t){return"/"===t.charAt(0)?t:"/"+t},r=function(t){return"/"===t.charAt(0)?t.substr(1):t},o=function(t,e){return new RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)},a=function(t,e){return o(t,e)?t.substr(e.length):t},s=function(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t},c=function(t){var e=t||"/",n="",i="",r=e.indexOf("#");-1!==r&&(i=e.substr(r),e=e.substr(0,r));var o=e.indexOf("?");return-1!==o&&(n=e.substr(o),e=e.substr(0,o)),{pathname:e,search:"?"===n?"":n,hash:"#"===i?"":i}},l=function(t){var e=t.pathname,n=t.search,i=t.hash,r=e||"/";return n&&"?"!==n&&(r+="?"===n.charAt(0)?n:"?"+n),i&&"#"!==i&&(r+="#"===i.charAt(0)?i:"#"+i),r}},function(t,e,n){"use strict";e.g=function(t){return new Date(t).getTime()},e.a=function(t){var e=t.replace(/([\/\-])/g,"-");return 1===e.split("-").length?e+"-01":e},e.b=function(t){return i(t).format("YYYY-MM-DD")},e.e=function(t){return new Date(t).setUTCHours(3)},e.c=s,e.f=function(t,e){var n=i(e,"YYYY-MM-DD").utcOffset("+00:00"),r="Frecuencia no soportada";"Anual"===t&&(r=n.format("YYYY"));if("Semestral"===t){var o=parseInt(n.format("M"),10),a=Math.ceil(o/6);r=a+"S "+n.format("YY")}if("Trimestral"===t){var o=parseInt(n.format("M"),10),s=Math.ceil(o/3);r=s+"T "+n.format("YY")}"Mensual"===t&&(r=n.format("MMM YY"));"Diaria"===t&&(r=n.format("D MMM YY"));return r},e.d=function(t){return s(void 0!==t.frequency?o.a[t.frequency]:t.accrualPeriodicity,t.data[t.data.length-1].date)};var i=n(87),r=(n.n(i),n(637)),o=(n.n(r),n(74)),a=n(73);function s(t,e){i.locale("es");var n=i(e).utcOffset("+00:00"),r="Frecuencia no soportada";if("Anual"===t&&(r=n.format("YYYY")),"Semestral"===t){var o=parseInt(n.format("M"),10);r=Math.ceil(o/6)+"\xb0 semestre "+n.format("YYYY")}if("Trimestral"===t){o=parseInt(n.format("M"),10);r=Math.ceil(o/3)+"\xb0 trimestre "+n.format("YYYY")}return"Mensual"===t&&(r=Object(a.a)(n.format("MMMM YYYY"))),"Diaria"===t&&(r=Object(a.a)(n.format("DD MMMM, YYYY"),3)),r}},function(t,e,n){"use strict";e.a=function(t){return null===t?NaN:+t}},function(t,e,n){"use strict";e.g=function(t){return[Object(i.e)(t[1],t[0]),Object(i.c)(t[2])]},e.a=function(t){var e=t[0],n=t[1],r=Object(i.g)(n);return[r*Object(i.g)(e),r*Object(i.t)(e),Object(i.t)(n)]},e.d=function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]},e.c=function(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]},e.b=function(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]},e.f=function(t,e){return[t[0]*e,t[1]*e,t[2]*e]},e.e=function(t){var e=Object(i.u)(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e};var i=n(2)},function(t,e,n){"use strict";e.b=function(t){return function(e,n){var r=Object(i.g)(e),o=Object(i.g)(n),a=t(r*o);return[a*o*Object(i.t)(e),a*Object(i.t)(n)]}},e.a=function(t){return function(e,n){var r=Object(i.u)(e*e+n*n),o=t(r),a=Object(i.t)(o),s=Object(i.g)(o);return[Object(i.e)(e*a,r*s),Object(i.c)(r&&n*a/r)]}};var i=n(2)},function(t,e,n){"use strict";e.a=function(t,e,n,i,r){for(var o,a=t.children,s=-1,c=a.length,l=t.value&&(i-e)/t.value;++s1?0:t<-1?h:Math.acos(t)},e.c=function(t){return t>=1?f:t<=-1?-f:Math.asin(t)};var i=Math.abs,r=Math.atan2,o=Math.cos,a=Math.max,s=Math.min,c=Math.sin,l=Math.sqrt,u=1e-12,h=Math.PI,f=h/2,d=2*h},function(t,e,n){"use strict";e.a=function(t,e){if((r=t.length)>1)for(var n,i,r,o=1,a=t[e[0]],s=a.length;o=0;)n[e]=e;return n}},function(t,e,n){"use strict";n.d(e,"f",function(){return f}),n.d(e,"g",function(){return d}),n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r}),n.d(e,"c",function(){return o}),n.d(e,"e",function(){return a}),e.d=g;var i,r,o,a,s=n(969),c=n(349),l=n(350),u=n(206),h=n(205),f=1e-6,d=1e-12;function p(t,e){return e[1]-t[1]||e[0]-t[0]}function g(t,e){var n,f,d,g=t.sort(p).pop();for(a=[],r=new Array(t.length),i=new h.b,o=new h.b;;)if(d=l.c,g&&(!d||g[1]=s)return null;var c=t-r.site[0],l=e-r.site[1],u=c*c+l*l;do{r=o.cells[i=a],a=null,r.halfedges.forEach(function(n){var i=o.edges[n],s=i.left;if(s!==r.site&&s||(s=i.right)){var c=t-s[0],l=e-s[1],h=c*c+l*l;hu;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var i=n(41);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){var i=n(9)("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o=[7],a=o[i]();a.next=function(){return{done:n=!0}},o[i]=function(){return a},t(o)}catch(t){}return n}},function(t,e,n){"use strict";var i=n(6);t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var i=n(85),r=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(t))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},function(t,e,n){"use strict";n(229);var i=n(20),r=n(24),o=n(5),a=n(42),s=n(9),c=n(157),l=s("species"),u=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}),h=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var f=s(t),d=!o(function(){var e={};return e[f]=function(){return 7},7!=""[t](e)}),p=d?!o(function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[l]=function(){return n}),n[f](""),!e}):void 0;if(!d||!p||"replace"===t&&!u||"split"===t&&!h){var g=/./[f],m=n(a,f,""[t],function(t,e,n,i,r){return e.exec===c?d&&!r?{done:!0,value:g.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}}),v=m[0],y=m[1];i(String.prototype,t,v),r(RegExp.prototype,f,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},function(t,e,n){var i=n(34),r=n(224),o=n(152),a=n(6),s=n(10),c=n(154),l={},u={};(e=t.exports=function(t,e,n,h,f){var d,p,g,m,v=f?function(){return t}:c(t),y=i(n,h,e?2:1),b=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(o(v)){for(d=s(t.length);d>b;b++)if((m=e?y(a(p=t[b])[0],p[1]):y(t[b]))===l||m===u)return m}else for(g=v.call(t);!(p=g.next()).done;)if((m=r(g,y,p.value,e))===l||m===u)return m}).BREAK=l,e.RETURN=u},function(t,e,n){var i=n(4).navigator;t.exports=i&&i.userAgent||""},function(t,e,n){"use strict";var i=n(4),r=n(1),o=n(20),a=n(72),s=n(47),c=n(106),l=n(71),u=n(7),h=n(5),f=n(102),d=n(67),p=n(143);t.exports=function(t,e,n,g,m,v){var y=i[t],b=y,x=m?"set":"add",w=b&&b.prototype,_={},S=function(t){var e=w[t];o(w,t,"delete"==t?function(t){return!(v&&!u(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(v&&!u(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return v&&!u(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(v||w.forEach&&!h(function(){(new b).entries().next()}))){var k=new b,O=k[x](v?{}:-0,1)!=k,M=h(function(){k.has(1)}),T=f(function(t){new b(t)}),P=!v&&h(function(){for(var t=new b,e=5;e--;)t[x](e,e);return!t.has(-0)});T||((b=e(function(e,n){l(e,b,t);var i=p(new y,e,b);return void 0!=n&&c(n,m,i[x],i),i})).prototype=w,w.constructor=b),(M||P)&&(S("delete"),S("has"),m&&S("get")),(P||O)&&S(x),v&&w.clear&&delete w.clear}else b=g.getConstructor(e,t,m,x),a(b.prototype,n),s.NEED=!0;return d(b,t),_[t]=b,r(r.G+r.W+r.F*(b!=y),_),v||g.setStrong(b,t,m),b}},function(t,e,n){for(var i,r=n(4),o=n(24),a=n(52),s=a("typed_array"),c=a("view"),l=!(!r.ArrayBuffer||!r.DataView),u=l,h=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");h<9;)(i=r[f[h++]])?(o(i.prototype,s,!0),o(i.prototype,c,!0)):u=!1;t.exports={ABV:l,CONSTR:u,TYPED:s,VIEW:c}},function(t,e,n){"use strict";e.__esModule=!0;e.addLeadingSlash=function(t){return"/"===t.charAt(0)?t:"/"+t},e.stripLeadingSlash=function(t){return"/"===t.charAt(0)?t.substr(1):t};var i=e.hasBasename=function(t,e){return new RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)};e.stripBasename=function(t,e){return i(t,e)?t.substr(e.length):t},e.stripTrailingSlash=function(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t},e.parsePath=function(t){var e=t||"/",n="",i="",r=e.indexOf("#");-1!==r&&(i=e.substr(r),e=e.substr(0,r));var o=e.indexOf("?");return-1!==o&&(n=e.substr(o),e=e.substr(0,o)),{pathname:e,search:"?"===n?"":n,hash:"#"===i?"":i}},e.createPath=function(t){var e=t.pathname,n=t.search,i=t.hash,r=e||"/";return n&&"?"!==n&&(r+="?"===n.charAt(0)?n:"?"+n),i&&"#"!==i&&(r+="#"===i.charAt(0)?i:"#"+i),r}},function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return c});var i=n(259),r=n(260),o=n(88),a=Object.assign||function(t){for(var e=1;e=0)return t;return i.b},e.b=function(t,e,n){if(n&&void 0!==n[t])return n[t];if(void 0===e)return i.a;return e};var i=n(50)},function(t,e,n){"use strict";var i=function(){function t(t){this.ids=t}return t.distinctURLs=function(t,e){var n=new URLSearchParams(t),i=new URLSearchParams(e);return n.getAll("ids").every(function(t){return i.getAll("ids").every(function(e){return t!==e})})||n.get("collapse")!==i.get("collapse")||n.get("collapse_aggregation")!==i.get("collapse_aggregation")||n.get("representation_mode")!==i.get("representation_mode")},t.prototype.getIds=function(){return this.ids.join(",")},t.prototype.getCollapse=function(){return this.collapse},t.prototype.getCollapseAggregation=function(){return this.collapseAggregation},t.prototype.getRepresentationMode=function(){return this.representationMode},t.prototype.getMetadata=function(){return this.metadata},t.prototype.getLast=function(){return this.last},t.prototype.getStart=function(){return this.getLast()?this.start:0},t.prototype.getLimit=function(){return this.getLast()?this.limit:5e3},t.prototype.getChartType=function(){return this.chartType},t.prototype.setCollapse=function(t){this.collapse=t},t.prototype.setStartDate=function(t){this.startDate=t},t.prototype.setEndDate=function(t){this.endDate=t},t.prototype.setRepresentationMode=function(t){this.representationMode=t},t.prototype.setCollapseAggregation=function(t){this.collapseAggregation=t},t.prototype.setMetadata=function(t){this.metadata=t},t.prototype.setLast=function(t){this.last=t},t.prototype.setStart=function(t){this.start=t},t.prototype.setLimit=function(t){this.limit=t},t.prototype.setChartType=function(t){this.chartType=t},t.prototype.addParamsFrom=function(t){this.setCollapse(t.get("collapse")||""),this.setCollapseAggregation(t.get("collapse_aggregation")||""),this.setRepresentationMode(t.get("representation_mode")||""),this.setLast(t.get("last")||"")},t.prototype.asJson=function(){return{chartType:this.getChartType(),collapse:this.getCollapse(),collapse_aggregation:this.getCollapseAggregation(),end_date:this.endDate,ids:this.getIds(),last:this.getLast(),limit:this.getLimit(),metadata:this.getMetadata(),representation_mode:this.getRepresentationMode(),start:this.getStart(),start_date:this.startDate}},t.prototype.asQuery=function(){var t=this.asJson();for(var e in t)""!==t[e]&&void 0!==t[e]||delete t[e];return t},t}();e.a=i},function(t,e,n){"use strict";var i=n(170),r=n(171);e.a=function(t){var e=Object(i.a)(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===r.b&&e.documentElement.namespaceURI===r.b?e.createElement(t):e.createElementNS(n,t)}})(e)}},function(t,e,n){"use strict";e.a=function(t,e){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var i=n.createSVGPoint();return i.x=e.clientX,i.y=e.clientY,[(i=i.matrixTransform(t.getScreenCTM().inverse())).x,i.y]}var r=t.getBoundingClientRect();return[e.clientX-r.left-t.clientLeft,e.clientY-r.top-t.clientTop]}},function(t,e,n){"use strict";e.a=function(t,e){return e-=t=+t,function(n){return t+e*n}}},function(t,e,n){"use strict";var i=n(181);n.d(e,"a",function(){return i.b}),n.d(e,"c",function(){return i.c});var r=n(718);n.d(e,"b",function(){return r.a});n(719)},function(t,e,n){"use strict";e.b=function(t,e,n){var r=t._id;return t.each(function(){var t=Object(i.h)(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return Object(i.f)(t,r).value[e]}};var i=n(31);e.a=function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,o=Object(i.f)(this.node(),n).tween,a=0,s=o.length;ar.o?t-r.w:t<-r.o?t+r.w:t,e]}function a(t,e,n){return(t%=r.w)?e||n?Object(i.a)(c(t),l(e,n)):c(t):e||n?l(e,n):o}function s(t){return function(e,n){return[(e+=t)>r.o?e-r.w:e<-r.o?e+r.w:e,n]}}function c(t){var e=s(t);return e.invert=s(-t),e}function l(t,e){var n=Object(r.g)(t),i=Object(r.t)(t),o=Object(r.g)(e),a=Object(r.t)(e);function s(t,e){var s=Object(r.g)(e),c=Object(r.g)(t)*s,l=Object(r.t)(t)*s,u=Object(r.t)(e),h=u*n+c*i;return[Object(r.e)(l*o-h*a,c*n-u*i),Object(r.c)(h*o+l*a)]}return s.invert=function(t,e){var s=Object(r.g)(e),c=Object(r.g)(t)*s,l=Object(r.t)(t)*s,u=Object(r.t)(e),h=u*o-l*a;return[Object(r.e)(l*o+u*a,c*n+h*i),Object(r.c)(h*n-c*i)]},s}o.invert=o,e.a=function(t){function e(e){return(e=t(e[0]*r.r,e[1]*r.r))[0]*=r.h,e[1]*=r.h,e}return t=a(t[0]*r.r,t[1]*r.r,t.length>2?t[2]*r.r:0),e.invert=function(e){return(e=t.invert(e[0]*r.r,e[1]*r.r))[0]*=r.h,e[1]*=r.h,e},e}},function(t,e,n){"use strict";e.a=function(t,e,n,u){function h(i,r){return t<=i&&i<=n&&e<=r&&r<=u}function f(i,r,o,a){var s=0,c=0;if(null==i||(s=d(i,o))!==(c=d(r,o))||g(i,r)<0^o>0)do{a.point(0===s||3===s?t:n,s>1?u:e)}while((s=(s+o+4)%4)!==c);else a.point(r[0],r[1])}function d(r,o){return Object(i.a)(r[0]-t)0?0:3:Object(i.a)(r[0]-n)0?2:1:Object(i.a)(r[1]-e)0?1:0:o>0?3:2}function p(t,e){return g(t.x,e.x)}function g(t,e){var n=d(t,1),i=d(e,1);return n!==i?n-i:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(i){var d,g,m,v,y,b,x,w,_,S,k,O=i,M=Object(r.a)(),T={point:P,lineStart:function(){T.point=C,g&&g.push(m=[]);S=!0,_=!1,x=w=NaN},lineEnd:function(){d&&(C(v,y),b&&_&&M.rejoin(),d.push(M.result()));T.point=P,_&&O.lineEnd()},polygonStart:function(){O=M,d=[],g=[],k=!0},polygonEnd:function(){var e=function(){for(var e=0,n=0,i=g.length;nu&&(h-r)*(u-o)>(f-o)*(t-r)&&++e:f<=u&&(h-r)*(u-o)<(f-o)*(t-r)&&--e;return e}(),n=k&&e,r=(d=Object(s.f)(d)).length;(n||r)&&(i.polygonStart(),n&&(i.lineStart(),f(null,null,1,i),i.lineEnd()),r&&Object(a.a)(d,p,e,f,i),i.polygonEnd());O=i,d=g=m=null}};function P(t,e){h(t,e)&&O.point(t,e)}function C(i,r){var a=h(i,r);if(g&&m.push([i,r]),S)v=i,y=r,b=a,S=!1,a&&(O.lineStart(),O.point(i,r));else if(a&&_)O.point(i,r);else{var s=[x=Math.max(l,Math.min(c,x)),w=Math.max(l,Math.min(c,w))],f=[i=Math.max(l,Math.min(c,i)),r=Math.max(l,Math.min(c,r))];Object(o.a)(s,f,t,e,n,u)?(_||(O.lineStart(),O.point(s[0],s[1])),O.point(f[0],f[1]),a||O.lineEnd(),k=!1):a&&(O.lineStart(),O.point(i,r),k=!1)}x=i,w=r,_=a}return T}};var i=n(2),r=n(313),o=n(814),a=n(314),s=n(16),c=1e9,l=-c},function(t,e,n){"use strict";e.a=i;function i(t){return function(e){var n=new r;for(var i in t)n[i]=t[i];return n.stream=e,n}}function r(){}r.prototype={constructor:r,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}}},function(t,e,n){"use strict";e.a=function(t,e,n,i,r){for(var o,a=t.children,s=-1,c=a.length,l=t.value&&(r-n)/t.value;++s2?h:u,i=a=null,v}function v(e){return(i||(i=n(f,d,g?function(t){return function(e,n){var i=t(e=+e,n=+n);return function(t){return t<=e?0:t>=n?1:i(t)}}}(t):t,p)))(+e)}return v.invert=function(t){return(a||(a=n(d,f,l,g?function(t){return function(e,n){var i=t(e=+e,n=+n);return function(t){return t<=0?e:t>=1?n:i(t)}}}(e):e)))(+t)},v.domain=function(t){return arguments.length?(f=o.a.call(t,s.a),m()):f.slice()},v.range=function(t){return arguments.length?(d=o.b.call(t),m()):d.slice()},v.rangeRound=function(t){return d=o.b.call(t),p=r.f,m()},v.clamp=function(t){return arguments.length?(g=!!t,m()):g},v.interpolate=function(t){return arguments.length?(p=t,m()):p},m()};var i=n(16),r=n(26),o=n(63),a=n(198),s=n(330),c=[0,1];function l(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:Object(a.a)(e)}function u(t,e,n,i){var r=t[0],o=t[1],a=e[0],s=e[1];return o may have only one child element"),this.unlisten=i.listen(function(){t.setState({match:t.computeMatch(i.location.pathname)})})},e.prototype.componentWillReceiveProps=function(t){r()(this.props.history===t.history,"You cannot change ")},e.prototype.componentWillUnmount=function(){this.unlisten()},e.prototype.render=function(){var t=this.props.children;return t?c.a.Children.only(t):null},e}(c.a.Component);d.propTypes={history:u.a.object.isRequired,children:u.a.node},d.contextTypes={router:u.a.object},d.childContextTypes={router:u.a.object.isRequired},e.a=d},function(t,e,n){"use strict";var i=n(613),r=n.n(i),o={},a=0;e.a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"string"===typeof e&&(e={path:e});var n=e,i=n.path,s=void 0===i?"/":i,c=n.exact,l=void 0!==c&&c,u=n.strict,h=void 0!==u&&u,f=n.sensitive,d=function(t,e){var n=""+e.end+e.strict+e.sensitive,i=o[n]||(o[n]={});if(i[t])return i[t];var s=[],c={re:r()(t,s,e),keys:s};return a<1e4&&(i[t]=c,a++),c}(s,{end:l,strict:h,sensitive:void 0!==f&&f}),p=d.re,g=d.keys,m=p.exec(t);if(!m)return null;var v=m[0],y=m.slice(1),b=t===v;return l&&!b?null:{path:s,url:"/"===s&&""===v?"/":v,isExact:b,params:g.reduce(function(t,e,n){return t[e.name]=y[n],t},{})}}},function(t,e,n){"use strict";e.b=function(t){return{type:i.a.LOAD_FEATURED_IDS,featuredIds:t}},e.a=function(){return{type:i.a.CLEAR_VIEW_SERIES,series:[]}},e.c=function(t){return{type:i.a.LOAD_VIEW_SERIES,series:t}},e.d=function(t){return{type:i.a.LOAD_DATE,date:t}},e.j=function(t){return{type:i.a.SET_SERIES_API,seriesApi:t}},e.i=function(t){return{type:i.a.SET_SERIE_TAGS,serieTags:t}},e.e=function(t){return{type:i.a.SET_UNIT_FORMAT,formatChartUnits:t}},e.f=function(t){return{type:i.a.SET_LAPS,laps:t}},e.g=function(t){return{type:i.a.SET_LOCALE,locale:t}},e.h=function(t){return{type:i.a.SET_MAX_DECIMALS,maxDecimals:t}};var i=n(45)},function(t,e,n){"use strict";e.c=function(t,e){return s(t,e).code},e.a=s,e.b=function(t){var e=Object.values(o);if(void 0===t)return e;return t.map(function(t){if(function(t){return a.test(t)}(t))return new r(t,t);var n=+t%e.length;return e[n]})};var i=n(33),r=function(){return function(t,e){this.name=t,this.code=e}}(),o={a1Blue1:new r("blue1","#0072BB"),a2Green1:new r("green1","#2E7D33"),a3Red1:new r("red1","#C62828"),a4Orange:new r("orange","#F9A822"),a5Violet:new r("violet","#6A1B99"),a6Pink:new r("pink","#EC407A"),a7Red2:new r("red2","#C2185B"),a8Blue2:new r("blue2","#039BE5"),a9Green2:new r("green2","#6EA100")},a=/^#[0-9a-f]{6}$/i;function s(t,e,n){var r=void 0===n?Object.values(o):n;return r[t.findIndex(function(t){return Object(i.c)(t)===e})%r.length]}},function(t,e,n){var i=n(7),r=n(4).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e,n){e.f=n(9)},function(t,e,n){var i=n(98)("keys"),r=n(52);t.exports=function(t){return i[t]||(i[t]=r(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var i=n(4).document;t.exports=i&&i.documentElement},function(t,e,n){var i=n(7),r=n(6),o=function(t,e){if(r(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,i){try{(i=n(34)(Function.call,n(37).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:i(t,n),t}}({},!1):void 0),check:o}},function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},function(t,e,n){var i=n(7),r=n(141).set;t.exports=function(t,e,n){var o,a=e.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&i(o)&&r&&r(t,o),t}},function(t,e,n){"use strict";var i=n(36),r=n(42);t.exports=function(t){var e=String(r(this)),n="",o=i(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){var i=n(36),r=n(42);t.exports=function(t){return function(e,n){var o,a,s=String(r(e)),c=i(n),l=s.length;return c<0||c>=l?t?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536}}},function(t,e,n){"use strict";var i=n(53),r=n(1),o=n(20),a=n(24),s=n(69),c=n(223),l=n(67),u=n(58),h=n(9)("iterator"),f=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,p,g,m,v){c(n,e,p);var y,b,x,w=function(t){if(!f&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},_=e+" Iterator",S="values"==g,k=!1,O=t.prototype,M=O[h]||O["@@iterator"]||g&&O[g],T=M||w(g),P=g?S?w("entries"):T:void 0,C="Array"==e&&O.entries||M;if(C&&(x=u(C.call(new t)))!==Object.prototype&&x.next&&(l(x,_,!0),i||"function"==typeof x[h]||a(x,h,d)),S&&M&&"values"!==M.name&&(k=!0,T=function(){return M.call(this)}),i&&!v||!f&&!k&&O[h]||a(O,h,T),s[e]=T,s[_]=d,g)if(y={values:S?T:w("values"),keys:m?T:w("keys"),entries:P},v)for(b in y)b in O||o(O,b,y[b]);else r(r.P+r.F*(f||k),e,y);return y}},function(t,e,n){var i=n(150),r=n(42);t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(t))}},function(t,e,n){var i=n(7),r=n(41),o=n(9)("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},function(t,e,n){var i=n(9)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){var i=n(69),r=n(9)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},function(t,e,n){"use strict";var i=n(12),r=n(51);t.exports=function(t,e,n){e in t?i.f(t,e,r(0,n)):t[e]=n}},function(t,e,n){var i=n(85),r=n(9)("iterator"),o=n(69);t.exports=n(11).getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[i(t)]}},function(t,e,n){"use strict";var i=n(18),r=n(55),o=n(10);t.exports=function(t){for(var e=i(this),n=o(e.length),a=arguments.length,s=r(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,l=void 0===c?n:r(c,n);l>s;)e[s++]=t;return e}},function(t,e,n){"use strict";var i=n(59),r=n(228),o=n(69),a=n(25);t.exports=n(148)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(t,e,n){"use strict";var i,r,o=n(103),a=RegExp.prototype.exec,s=String.prototype.replace,c=a,l=(i=/a/,r=/b*/g,a.call(i,"a"),a.call(r,"a"),0!==i.lastIndex||0!==r.lastIndex),u=void 0!==/()??/.exec("")[1];(l||u)&&(c=function(t){var e,n,i,r,c=this;return u&&(n=new RegExp("^"+c.source+"$(?!\\s)",o.call(c))),l&&(e=c.lastIndex),i=a.call(c,t),l&&i&&(c.lastIndex=c.global?i.index+i[0].length:e),u&&i&&i.length>1&&s.call(i[0],n,function(){for(r=1;rn;)e.push(arguments[n++]);return v[++m]=function(){s("function"==typeof t?t:Function(t),e)},i(m),m},d=function(t){delete v[t]},"process"==n(41)(h)?i=function(t){h.nextTick(a(y,t,1))}:g&&g.now?i=function(t){g.now(a(y,t,1))}:p?(o=(r=new p).port2,r.port1.onmessage=b,i=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(t){u.postMessage(t+"","*")},u.addEventListener("message",b,!1)):i="onreadystatechange"in l("script")?function(t){c.appendChild(l("script")).onreadystatechange=function(){c.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:f,clear:d}},function(t,e,n){"use strict";var i=n(4),r=n(13),o=n(53),a=n(109),s=n(24),c=n(72),l=n(5),u=n(71),h=n(36),f=n(10),d=n(236),p=n(57).f,g=n(12).f,m=n(155),v=n(67),y="prototype",b="Wrong index!",x=i.ArrayBuffer,w=i.DataView,_=i.Math,S=i.RangeError,k=i.Infinity,O=x,M=_.abs,T=_.pow,P=_.floor,C=_.log,A=_.LN2,E=r?"_b":"buffer",L=r?"_l":"byteLength",j=r?"_o":"byteOffset";function D(t,e,n){var i,r,o,a=new Array(n),s=8*n-e-1,c=(1<>1,u=23===e?T(2,-24)-T(2,-77):0,h=0,f=t<0||0===t&&1/t<0?1:0;for((t=M(t))!=t||t===k?(r=t!=t?1:0,i=c):(i=P(C(t)/A),t*(o=T(2,-i))<1&&(i--,o*=2),(t+=i+l>=1?u/o:u*T(2,1-l))*o>=2&&(i++,o/=2),i+l>=c?(r=0,i=c):i+l>=1?(r=(t*o-1)*T(2,e),i+=l):(r=t*T(2,l-1)*T(2,e),i=0));e>=8;a[h++]=255&r,r/=256,e-=8);for(i=i<0;a[h++]=255&i,i/=256,s-=8);return a[--h]|=128*f,a}function I(t,e,n){var i,r=8*n-e-1,o=(1<>1,s=r-7,c=n-1,l=t[c--],u=127&l;for(l>>=7;s>0;u=256*u+t[c],c--,s-=8);for(i=u&(1<<-s)-1,u>>=-s,s+=e;s>0;i=256*i+t[c],c--,s-=8);if(0===u)u=1-a;else{if(u===o)return i?NaN:l?-k:k;i+=T(2,e),u-=a}return(l?-1:1)*i*T(2,u-e)}function R(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function N(t){return[255&t]}function z(t){return[255&t,t>>8&255]}function F(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function B(t){return D(t,52,8)}function H(t){return D(t,23,4)}function W(t,e,n){g(t[y],e,{get:function(){return this[n]}})}function Y(t,e,n,i){var r=d(+n);if(r+e>t[L])throw S(b);var o=t[E]._b,a=r+t[j],s=o.slice(a,a+e);return i?s:s.reverse()}function U(t,e,n,i,r,o){var a=d(+n);if(a+e>t[L])throw S(b);for(var s=t[E]._b,c=a+t[j],l=i(+r),u=0;uq;)(G=V[q++])in x||s(x,G,O[G]);o||(X.constructor=x)}var K=new w(new x(2)),$=w[y].setInt8;K.setInt8(0,2147483648),K.setInt8(1,2147483649),!K.getInt8(0)&&K.getInt8(1)||c(w[y],{setInt8:function(t,e){$.call(this,t,e<<24>>24)},setUint8:function(t,e){$.call(this,t,e<<24>>24)}},!0)}else x=function(t){u(this,x,"ArrayBuffer");var e=d(t);this._b=m.call(new Array(e),0),this[L]=e},w=function(t,e,n){u(this,w,"DataView"),u(t,x,"DataView");var i=t[L],r=h(e);if(r<0||r>i)throw S("Wrong offset!");if(r+(n=void 0===n?i-r:f(n))>i)throw S("Wrong length!");this[E]=t,this[j]=r,this[L]=n},r&&(W(x,"byteLength","_l"),W(w,"buffer","_b"),W(w,"byteLength","_l"),W(w,"byteOffset","_o")),c(w[y],{getInt8:function(t){return Y(this,1,t)[0]<<24>>24},getUint8:function(t){return Y(this,1,t)[0]},getInt16:function(t){var e=Y(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=Y(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return R(Y(this,4,t,arguments[1]))},getUint32:function(t){return R(Y(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return I(Y(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return I(Y(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){U(this,1,t,N,e)},setUint8:function(t,e){U(this,1,t,N,e)},setInt16:function(t,e){U(this,2,t,z,e,arguments[2])},setUint16:function(t,e){U(this,2,t,z,e,arguments[2])},setInt32:function(t,e){U(this,4,t,F,e,arguments[2])},setUint32:function(t,e){U(this,4,t,F,e,arguments[2])},setFloat32:function(t,e){U(this,4,t,H,e,arguments[2])},setFloat64:function(t,e){U(this,8,t,B,e,arguments[2])}});v(x,"ArrayBuffer"),v(w,"DataView"),s(w[y],a.VIEW,!0),e.ArrayBuffer=x,e.DataView=w},function(t,e,n){"use strict";var i=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(t){i[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,a,s=function(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),c=1;c2&&this.props.seriesApi.searchSeries(t,{offset:0,limit:10}).then(function(t){e.setState({autoCompleteItems:t.result,loading:!1})})},e.prototype.onSearchTermChange=function(t){var e=t.target.value;this.setState({searchTerm:e,loading:!0}),!1===this.props.enterRequired&&e.length>2?this.props.onSearch(e):this.searchPreviewItems(e)},e.prototype.triggerSearch=function(t){t.preventDefault(),this.props.onSearch(this.state.searchTerm)},e.prototype.onSelect=function(t,e){"search"===e.id?this.props.onSearch(this.state.searchTerm):this.props.onSelect(e.id)},e.prototype.render=function(){return r.createElement(c.a,{onSubmit:this.triggerSearch},r.createElement(o.a,{value:this.state.searchTerm,onChange:this.onSearchTermChange,getItemValue:d,items:this.itemsToRender(),renderItem:this.renderItem,onSelect:this.onSelect,wrapperProps:{className:"form-autocomplete"}}),r.createElement(s.a,{onClick:this.triggerSearch}))},e.prototype.itemsToRender=function(){return[{id:"search",title:"Buscar: "+this.state.searchTerm}].concat(this.state.autoCompleteItems)},e.prototype.renderItem=function(t,e){return"search"===t.id?this.renderSearch(t,e):this.renderItemResult(t,e)},e.prototype.renderSearch=function(t,e){var n=this;if(this.state.searchTerm.length>2&&this.state.loading)return r.createElement("div",{key:this.state.searchTerm||"all-values"},r.createElement(l.a,null));return r.createElement("div",{id:t.id,key:t.id,onClick:function(){return n.props.onSearch(n.state.searchTerm)},className:e?"highlight-item pointer":"pointer"},t.title)},e.prototype.renderItemResult=function(t,e){var n=this;return r.createElement(a.a,{key:t.id,item:t,isHighlighted:e,searchTerm:this.state.searchTerm||"",handleClick:function(){return n.onSelect("",t)}})},e}(r.Component);function d(t){return t.title}e.a=f},function(t,e,n){"use strict";var i={AR:",",US:"."},r={AR:".",US:","},o=function(){function t(t){this.decimalSeparator=i[t.code],this.thousandSeparator=r[t.code],this.decimalPlaces=t.decimalPlaces,this.explicitSign=void 0!==t.explicitSign&&t.explicitSign,this.isPercentage=void 0!==t.isPercentage&&t.isPercentage}return t.prototype.formatValue=function(t){var e=this.isPercentage?100*t:t,n=this.explicitSign?"+":"",i=this.isPercentage?"%":"";return""+n+this.applySeparators(e)+i},t.prototype.applyDecimalSeparator=function(t){return t.toFixed(this.decimalPlaces).replace(".",this.decimalSeparator)},t.prototype.applyThousandSeparator=function(t){for(var e=t.split(this.decimalSeparator),n=e[0],i=e.length>1?e[1]:"",r="-"===n[0]?2:1,o=Math.floor((n.length-r)/3),a=1;a<=o;a++){var s=n.length-4*a+1,c=n.slice(0,s),l=n.slice(s);n=""+c+this.thousandSeparator+l}return""!==i?""+n+this.decimalSeparator+i:n},t.prototype.applySeparators=function(t){var e=this.applyDecimalSeparator(t);return this.applyThousandSeparator(e)},t}();e.a=o},function(t,e,n){"use strict";var i=n(90);e.a=function(t,e,n){if(null==n&&(n=i.a),r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,o=(r-1)*e,a=Math.floor(o),s=+n(t[a],a,t);return s+(+n(t[a+1],a+1,t)-s)*(o-a)}}},function(t,e,n){"use strict";n(664);var i=n(286);n.d(e,"a",function(){return i.a}),n.d(e,"b",function(){return i.b})},function(t,e,n){"use strict";var i=n(171);e.a=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),i.a.hasOwnProperty(e)?{space:i.a[e],local:t}:t}},function(t,e,n){"use strict";n.d(e,"b",function(){return i});var i="http://www.w3.org/1999/xhtml";e.a={svg:"http://www.w3.org/2000/svg",xhtml:i,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},function(t,e,n){"use strict";function i(){}e.a=function(t){return null==t?i:function(){return this.querySelector(t)}}},function(t,e,n){"use strict";e.a=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},function(t,e,n){"use strict";n.d(e,"c",function(){return r}),e.a=function(t,e,n,i){var o=r;t.sourceEvent=r,r=t;try{return e.apply(n,i)}finally{r=o}};var i={},r=null;"undefined"!==typeof document&&("onmouseenter"in document.documentElement||(i={mouseenter:"mouseover",mouseleave:"mouseout"}));function o(t,e,n){return t=a(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function a(t,e,n){return function(i){var o=r;r=i;try{t.call(this,this.__data__,e,n)}finally{r=o}}}function s(t){return function(){var e=this.__on;if(e){for(var n,i=0,r=-1,o=e.length;i=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}(t+""),a=o.length;if(!(arguments.length<2)){for(l=e?c:s,null==n&&(n=!1),i=0;i>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=h.exec(t))?x(parseInt(e[1],16)):(e=f.exec(t))?new k(e[1],e[2],e[3],1):(e=d.exec(t))?new k(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=p.exec(t))?w(e[1],e[2],e[3],e[4]):(e=g.exec(t))?w(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=m.exec(t))?M(e[1],e[2]/100,e[3]/100,1):(e=v.exec(t))?M(e[1],e[2]/100,e[3]/100,e[4]):y.hasOwnProperty(t)?x(y[t]):"transparent"===t?new k(NaN,NaN,NaN,0):null}function x(t){return new k(t>>16&255,t>>8&255,255&t,1)}function w(t,e,n,i){return i<=0&&(t=e=n=NaN),new k(t,e,n,i)}function _(t){return t instanceof r||(t=b(t)),t?new k((t=t.rgb()).r,t.g,t.b,t.opacity):new k}function S(t,e,n,i){return 1===arguments.length?_(t):new k(t,e,n,null==i?1:i)}function k(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function O(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function M(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new P(t,e,n,i)}function T(t,e,n,i){return 1===arguments.length?function(t){if(t instanceof P)return new P(t.h,t.s,t.l,t.opacity);if(t instanceof r||(t=b(t)),!t)return new P;if(t instanceof P)return t;var e=(t=t.rgb()).r/255,n=t.g/255,i=t.b/255,o=Math.min(e,n,i),a=Math.max(e,n,i),s=NaN,c=a-o,l=(a+o)/2;return c?(s=e===a?(n-i)/c+6*(n0&&l<1?0:s,new P(s,c,l,t.opacity)}(t):new P(t,e,n,null==i?1:i)}function P(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function C(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}Object(i.a)(r,b,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),Object(i.a)(k,S,Object(i.b)(r,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+O(this.r)+O(this.g)+O(this.b)},toString:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Object(i.a)(P,T,Object(i.b)(r,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new P(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new P(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new k(C(t>=240?t-240:t+120,r,i),C(t,r,i),C(t<120?t+240:t-120,r,i),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(t,e,n){"use strict";e.b=function(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n},e.a=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t}},function(t,e,n){"use strict";function i(t,e,n,i,r){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*i+a*r)/6}e.a=i,e.b=function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),o=t[r],a=t[r+1],s=r>0?t[r-1]:2*o-a,c=r=0&&e._call.call(null,t),e=e._next;--o}()}finally{o=0,function(){var t,e,n=i,o=1/0;for(;n;)n._call?(o>n._time&&(o=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:i=e);r=t,x(o)}(),u=0}}function b(){var t=f.now(),e=t-l;e>c&&(h-=e,l=t)}function x(t){o||(a&&(a=clearTimeout(a)),t-u>24?(t<1/0&&(a=setTimeout(y,t-f.now()-h)),s&&(s=clearInterval(s))):(s||(l=f.now(),s=setInterval(b,c)),o=1,d(y)))}m.prototype=v.prototype={constructor:m,restart:function(t,e,n){if("function"!==typeof t)throw new TypeError("callback is not a function");n=(null==n?p():+n)+(null==e?0:+e),this._next||r===this||(r?r._next=this:i=this,r=this),this._call=t,this._time=n,x()},stop:function(){this._call&&(this._call=null,this._time=1/0,x())}}},function(t,e,n){"use strict";n.d(e,"b",function(){return i});var i="$";function r(){}function o(t,e){var n=new r;if(t instanceof r)t.each(function(t,e){n.set(e,t)});else if(Array.isArray(t)){var i,o=-1,a=t.length;if(null==e)for(;++o=u?d=!0:(c=t.charCodeAt(h++))===a?p=!0:c===s&&(p=!0,t.charCodeAt(h)===a&&++h),t.slice(l+1,e-1).replace(/""/g,'"')}for(;h1?i[0]+i.slice(2):i,+t.slice(n+1)]}},function(t,e,n){"use strict";e.a=function(t){return t}},function(t,e,n){"use strict";var i=n(2),r=n(192),o=n(825);function a(t,e){var n=Object(i.t)(t),r=(n+Object(i.t)(e))/2;if(Object(i.a)(r)=0;--o)l.push(i=n.children[o]=new y(r[o])),i.parent=n,i.depth=n.depth+1;return s.eachBefore(v)}function g(t){return t.children}function m(t){t.data=t.data.data}function v(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function y(t){this.data=t,this.depth=this.height=0,this.parent=null}y.prototype=p.prototype={constructor:y,count:i.a,each:r.a,eachAfter:a.a,eachBefore:o.a,sum:s.a,sort:c.a,path:l.a,ancestors:u.a,descendants:h.a,leaves:f.a,links:d.a,copy:function(){return p(this).eachBefore(m)}}},function(t,e,n){"use strict";function i(t){if("function"!==typeof t)throw new Error;return t}e.a=function(t){return null==t?null:i(t)},e.b=i},function(t,e,n){"use strict";n.d(e,"b",function(){return o}),e.c=a;var i=n(93),r=n(124),o=(1+Math.sqrt(5))/2;function a(t,e,n,o,a,s){for(var c,l,u,h,f,d,p,g,m,v,y,b=[],x=e.children,w=0,_=0,S=x.length,k=e.value;wp&&(p=l),y=f*f*v,(g=Math.max(p/y,y/d))>m){f-=l;break}m=g}b.push(c={value:f,dice:u1?e:1)},n}(o)},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";var i=n(200);n.d(e,"a",function(){return i.a}),n.d(e,"b",function(){return i.b});n(333),n(334),n(895)},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o}),n.d(e,"c",function(){return a});var i,r,o,a,s,c=n(333);s={dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},i=Object(c.a)(s),r=i.format,i.parse,o=i.utcFormat,a=i.utcParse},function(t,e,n){"use strict";var i=n(61),r=n(64),o=n(127),a=n(202);e.a=function(){var t=a.a,e=a.b,n=Object(r.a)(!0),s=null,c=o.a,l=null;function u(r){var o,a,u,h=r.length,f=!1;for(null==s&&(l=c(u=Object(i.a)())),o=0;o<=h;++o)!(oi.f){var c=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*c-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,o=(o*c-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>i.f){var u=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,h=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*u+t._x1*t._l23_2a-e*t._l12_2a)/h,s=(s*u+t._y1*t._l23_2a-n*t._l12_2a)/h}t._context.bezierCurveTo(r,o,a,s,t._x2,t._y2)}function a(t,e){this._context=t,this._alpha=e}a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:o(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};(function t(e){function n(t){return e?new a(t,e):new r.a(t,0)}return n.alpha=function(e){return t(+e)},n})(.5)},function(t,e,n){"use strict";e.b=r;var i=n(96);function r(t){for(var e,n=0,i=-1,r=t.length;++ii.f||Math.abs(s[0][1]-s[1][1])>i.f)||delete i.e[c]};var i=n(97);function r(t,e,n,i){t[0]||t[1]?t.left===n?t[1]=i:t[0]=i:(t[0]=i,t.left=e,t.right=n)}function o(t,e,n,i,r){var o,a=t[0],s=t[1],c=a[0],l=a[1],u=0,h=1,f=s[0]-c,d=s[1]-l;if(o=e-c,f||!(o>0)){if(o/=f,f<0){if(o0){if(o>h)return;o>u&&(u=o)}if(o=i-c,f||!(o<0)){if(o/=f,f<0){if(o>h)return;o>u&&(u=o)}else if(f>0){if(o0)){if(o/=d,d<0){if(o0){if(o>h)return;o>u&&(u=o)}if(o=r-l,d||!(o<0)){if(o/=d,d<0){if(o>h)return;o>u&&(u=o)}else if(d>0){if(o0||h<1)||(u>0&&(t[0]=[c+u*f,l+u*d]),h<1&&(t[1]=[c+h*f,l+h*d]),!0)}}}}}function a(t,e,n,i,r){var o=t[1];if(o)return!0;var a,s,c=t[0],l=t.left,u=t.right,h=l[0],f=l[1],d=u[0],p=u[1],g=(h+d)/2,m=(f+p)/2;if(p===f){if(g=i)return;if(h>d){if(c){if(c[1]>=r)return}else c=[g,n];o=[g,r]}else{if(c){if(c[1]1)if(h>d){if(c){if(c[1]>=r)return}else c=[(n-s)/a,n];o=[(r-s)/a,r]}else{if(c){if(c[1]=i)return}else c=[e,a*e+s];o=[i,a*i+s]}else{if(c){if(c[0] or withRouter() outside a ");var l=e.route,u=(i||l.location).pathname;return r?Object(h.a)(u,{path:r,strict:o,exact:s,sensitive:c}):l.match},e.prototype.componentWillMount=function(){r()(!(this.props.component&&this.props.render),"You should not use and in the same route; will be ignored"),r()(!(this.props.component&&this.props.children&&!p(this.props.children)),"You should not use and in the same route; will be ignored"),r()(!(this.props.render&&this.props.children&&!p(this.props.children)),"You should not use and in the same route; will be ignored")},e.prototype.componentWillReceiveProps=function(t,e){r()(!(t.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),r()(!(!t.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(t,e.router)})},e.prototype.render=function(){var t=this.state.match,e=this.props,n=e.children,i=e.component,r=e.render,o=this.context.router,a=o.history,s=o.route,l=o.staticContext,u={match:t,location:this.props.location||s.location,history:a,staticContext:l};return i?t?c.a.createElement(i,u):null:r?t?r(u):null:n?"function"===typeof n?n(u):p(n)?null:c.a.Children.only(n):null},e}(c.a.Component);g.propTypes={computedMatch:u.a.object,path:u.a.string,exact:u.a.bool,strict:u.a.bool,sensitive:u.a.bool,component:u.a.func,render:u.a.func,children:u.a.oneOfType([u.a.func,u.a.node]),location:u.a.object},g.contextTypes={router:u.a.shape({history:u.a.object.isRequired,route:u.a.object.isRequired,staticContext:u.a.object})},g.childContextTypes={router:u.a.object.isRequired},e.a=g},function(t,e,n){t.exports=!n(13)&&!n(5)(function(){return 7!=Object.defineProperty(n(136)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var i=n(4),r=n(11),o=n(53),a=n(137),s=n(12).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){var i=n(23),r=n(25),o=n(99)(!1),a=n(138)("IE_PROTO");t.exports=function(t,e){var n,s=r(t),c=0,l=[];for(n in s)n!=a&&i(s,n)&&l.push(n);for(;e.length>c;)i(s,n=e[c++])&&(~o(l,n)||l.push(n));return l}},function(t,e,n){var i=n(12),r=n(6),o=n(54);t.exports=n(13)?Object.defineProperties:function(t,e){r(t);for(var n,a=o(e),s=a.length,c=0;s>c;)i.f(t,n=a[c++],e[n]);return t}},function(t,e,n){var i=n(25),r=n(57).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return r(t)}catch(t){return a.slice()}}(t):r(i(t))}},function(t,e,n){"use strict";var i=n(54),r=n(100),o=n(84),a=n(18),s=n(83),c=Object.assign;t.exports=!c||n(5)(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=i})?function(t,e){for(var n=a(t),c=arguments.length,l=1,u=r.f,h=o.f;c>l;)for(var f,d=s(arguments[l++]),p=u?i(d).concat(u(d)):i(d),g=p.length,m=0;g>m;)h.call(d,f=p[m++])&&(n[f]=d[f]);return n}:c},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},function(t,e,n){"use strict";var i=n(35),r=n(7),o=n(217),a=[].slice,s={};t.exports=Function.bind||function(t){var e=i(this),n=a.call(arguments,1),c=function(){var i=n.concat(a.call(arguments));return this instanceof c?function(t,e,n){if(!(e in s)){for(var i=[],r=0;r>>0||(a.test(n)?16:10))}:i},function(t,e,n){var i=n(4).parseFloat,r=n(68).trim;t.exports=1/i(n(142)+"-0")!==-1/0?function(t){var e=r(String(t),3),n=i(e);return 0===n&&"-"==e.charAt(0)?-0:n}:i},function(t,e,n){var i=n(41);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=i(t))throw TypeError(e);return+t}},function(t,e,n){var i=n(7),r=Math.floor;t.exports=function(t){return!i(t)&&isFinite(t)&&r(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){"use strict";var i=n(56),r=n(51),o=n(67),a={};n(24)(a,n(9)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(a,{next:r(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var i=n(6);t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&i(o.call(t)),e}}},function(t,e,n){var i=n(472);t.exports=function(t,e){return new(i(t))(e)}},function(t,e,n){var i=n(35),r=n(18),o=n(83),a=n(10);t.exports=function(t,e,n,s,c){i(e);var l=r(t),u=o(l),h=a(l.length),f=c?h-1:0,d=c?-1:1;if(n<2)for(;;){if(f in u){s=u[f],f+=d;break}if(f+=d,c?f<0:h<=f)throw TypeError("Reduce of empty array with no initial value")}for(;c?f>=0:h>f;f+=d)f in u&&(s=e(s,u[f],f,l));return s}},function(t,e,n){"use strict";var i=n(18),r=n(55),o=n(10);t.exports=[].copyWithin||function(t,e){var n=i(this),a=o(n.length),s=r(t,a),c=r(e,a),l=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===l?a:r(l,a))-c,a-s),h=1;for(c0;)c in n?n[s]=n[c]:delete n[s],s+=h,c+=h;return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var i=n(157);n(1)({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},function(t,e,n){n(13)&&"g"!=/./g.flags&&n(12).f(RegExp.prototype,"flags",{configurable:!0,get:n(103)})},function(t,e,n){"use strict";var i,r,o,a,s=n(53),c=n(4),l=n(34),u=n(85),h=n(1),f=n(7),d=n(35),p=n(71),g=n(106),m=n(86),v=n(159).set,y=n(492)(),b=n(232),x=n(493),w=n(107),_=n(233),S=c.TypeError,k=c.process,O=k&&k.versions,M=O&&O.v8||"",T=c.Promise,P="process"==u(k),C=function(){},A=r=b.f,E=!!function(){try{var t=T.resolve(1),e=(t.constructor={})[n(9)("species")]=function(t){t(C,C)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(C)instanceof e&&0!==M.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),L=function(t){var e;return!(!f(t)||"function"!=typeof(e=t.then))&&e},j=function(t,e){if(!t._n){t._n=!0;var n=t._c;y(function(){for(var i=t._v,r=1==t._s,o=0,a=function(e){var n,o,a,s=r?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{s?(r||(2==t._h&&R(t),t._h=1),!0===s?n=i:(u&&u.enter(),n=s(i),u&&(u.exit(),a=!0)),n===e.promise?l(S("Promise-chain cycle")):(o=L(n))?o.call(n,c,l):c(n)):l(i)}catch(t){u&&!a&&u.exit(),l(t)}};n.length>o;)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&D(t)})}},D=function(t){v.call(c,function(){var e,n,i,r=t._v,o=I(t);if(o&&(e=x(function(){P?k.emit("unhandledRejection",r,t):(n=c.onunhandledrejection)?n({promise:t,reason:r}):(i=c.console)&&i.error&&i.error("Unhandled promise rejection",r)}),t._h=P||I(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},I=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){v.call(c,function(){var e;P?k.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},N=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),j(e,!0))},z=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=L(t))?y(function(){var i={_w:n,_d:!1};try{e.call(t,l(z,i,1),l(N,i,1))}catch(t){N.call(i,t)}}):(n._v=t,n._s=1,j(n,!1))}catch(t){N.call({_w:n,_d:!1},t)}}};E||(T=function(t){p(this,T,"Promise","_h"),d(t),i.call(this);try{t(l(z,this,1),l(N,this,1))}catch(t){N.call(this,t)}},(i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(72)(T.prototype,{then:function(t,e){var n=A(m(this,T));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=P?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new i;this.promise=t,this.resolve=l(z,t,1),this.reject=l(N,t,1)},b.f=A=function(t){return t===T||t===a?new o(t):r(t)}),h(h.G+h.W+h.F*!E,{Promise:T}),n(67)(T,"Promise"),n(70)("Promise"),a=n(11).Promise,h(h.S+h.F*!E,"Promise",{reject:function(t){var e=A(this);return(0,e.reject)(t),e.promise}}),h(h.S+h.F*(s||!E),"Promise",{resolve:function(t){return _(s&&this===a?T:this,t)}}),h(h.S+h.F*!(E&&n(102)(function(t){T.all(t).catch(C)})),"Promise",{all:function(t){var e=this,n=A(e),i=n.resolve,r=n.reject,o=x(function(){var n=[],o=0,a=1;g(t,!1,function(t){var s=o++,c=!1;n.push(void 0),a++,e.resolve(t).then(function(t){c||(c=!0,n[s]=t,--a||i(n))},r)}),--a||i(n)});return o.e&&r(o.v),n.promise},race:function(t){var e=this,n=A(e),i=n.reject,r=x(function(){g(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},function(t,e,n){"use strict";var i=n(35);t.exports.f=function(t){return new function(t){var e,n;this.promise=new t(function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i}),this.resolve=i(e),this.reject=i(n)}(t)}},function(t,e,n){var i=n(6),r=n(7),o=n(232);t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var i=n(12).f,r=n(56),o=n(72),a=n(34),s=n(71),c=n(106),l=n(148),u=n(228),h=n(70),f=n(13),d=n(47).fastKey,p=n(60),g=f?"_s":"size",m=function(t,e){var n,i=d(e);if("F"!==i)return t._i[i];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,l){var u=t(function(t,i){s(t,u,e,"_i"),t._t=e,t._i=r(null),t._f=void 0,t._l=void 0,t[g]=0,void 0!=i&&c(i,n,t[l],t)});return o(u.prototype,{clear:function(){for(var t=p(this,e),n=t._i,i=t._f;i;i=i.n)i.r=!0,i.p&&(i.p=i.p.n=void 0),delete n[i.i];t._f=t._l=void 0,t[g]=0},delete:function(t){var n=p(this,e),i=m(n,t);if(i){var r=i.n,o=i.p;delete n._i[i.i],i.r=!0,o&&(o.n=r),r&&(r.p=o),n._f==i&&(n._f=r),n._l==i&&(n._l=o),n[g]--}return!!i},forEach:function(t){p(this,e);for(var n,i=a(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(i(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!m(p(this,e),t)}}),f&&i(u.prototype,"size",{get:function(){return p(this,e)[g]}}),u},def:function(t,e,n){var i,r,o=m(t,e);return o?o.v=n:(t._l=o={i:r=d(e,!0),k:e,v:n,p:i=t._l,n:void 0,r:!1},t._f||(t._f=o),i&&(i.n=o),t[g]++,"F"!==r&&(t._i[r]=o)),t},getEntry:m,setStrong:function(t,e,n){l(t,e,function(t,n){this._t=p(t,e),this._k=n,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?u(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,u(1))},n?"entries":"values",!n,!0),h(e)}}},function(t,e,n){"use strict";var i=n(72),r=n(47).getWeak,o=n(6),a=n(7),s=n(71),c=n(106),l=n(39),u=n(23),h=n(60),f=l(5),d=l(6),p=0,g=function(t){return t._l||(t._l=new m)},m=function(){this.a=[]},v=function(t,e){return f(t.a,function(t){return t[0]===e})};m.prototype={get:function(t){var e=v(this,t);if(e)return e[1]},has:function(t){return!!v(this,t)},set:function(t,e){var n=v(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=d(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var l=t(function(t,i){s(t,l,e,"_i"),t._t=e,t._i=p++,t._l=void 0,void 0!=i&&c(i,n,t[o],t)});return i(l.prototype,{delete:function(t){if(!a(t))return!1;var n=r(t);return!0===n?g(h(this,e)).delete(t):n&&u(n,this._i)&&delete n[this._i]},has:function(t){if(!a(t))return!1;var n=r(t);return!0===n?g(h(this,e)).has(t):n&&u(n,this._i)}}),l},def:function(t,e,n){var i=r(o(e),!0);return!0===i?g(t).set(e,n):i[t._i]=n,t},ufstore:g}},function(t,e,n){var i=n(36),r=n(10);t.exports=function(t){if(void 0===t)return 0;var e=i(t),n=r(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){var i=n(57),r=n(100),o=n(6),a=n(4).Reflect;t.exports=a&&a.ownKeys||function(t){var e=i.f(o(t)),n=r.f;return n?e.concat(n(t)):e}},function(t,e,n){var i=n(10),r=n(144),o=n(42);t.exports=function(t,e,n,a){var s=String(o(t)),c=s.length,l=void 0===n?" ":String(n),u=i(e);if(u<=c||""==l)return s;var h=u-c,f=r.call(l,Math.ceil(h/l.length));return f.length>h&&(f=f.slice(0,h)),a?f+s:s+f}},function(t,e,n){var i=n(54),r=n(25),o=n(84).f;t.exports=function(t){return function(e){for(var n,a=r(e),s=i(a),c=s.length,l=0,u=[];c>l;)o.call(a,n=s[l++])&&u.push(t?[n,a[n]]:a[n]);return u}}},function(t,e,n){"use strict";var i=n(554);function r(){}var o=null,a={};function s(t){if("object"!==typeof this)throw new TypeError("Promises must be constructed via new");if("function"!==typeof t)throw new TypeError("Promise constructor's argument is not a function");this._75=0,this._83=0,this._18=null,this._38=null,t!==r&&d(t,this)}function c(t,e){for(;3===t._83;)t=t._18;if(s._47&&s._47(t),0===t._83)return 0===t._75?(t._75=1,void(t._38=e)):1===t._75?(t._75=2,void(t._38=[t._38,e])):void t._38.push(e);!function(t,e){i(function(){var n=1===t._83?e.onFulfilled:e.onRejected;if(null!==n){var i=function(t,e){try{return t(e)}catch(t){return o=t,a}}(n,t._18);i===a?u(e.promise,o):l(e.promise,i)}else 1===t._83?l(e.promise,t._18):u(e.promise,t._18)})}(t,e)}function l(t,e){if(e===t)return u(t,new TypeError("A promise cannot be resolved with itself."));if(e&&("object"===typeof e||"function"===typeof e)){var n=function(t){try{return t.then}catch(t){return o=t,a}}(e);if(n===a)return u(t,o);if(n===t.then&&e instanceof s)return t._83=3,t._18=e,void h(t);if("function"===typeof n)return void d(n.bind(e),t)}t._83=1,t._18=e,h(t)}function u(t,e){t._83=2,t._18=e,s._71&&s._71(t,e),h(t)}function h(t){if(1===t._75&&(c(t,t._38),t._38=null),2===t._75){for(var e=0;e1&&void 0!==arguments[1]?arguments[1]:{},o=i.getDisplayName,p=void 0===o?function(t){return"ConnectAdvanced("+t+")"}:o,g=i.methodName,m=void 0===g?"connectAdvanced":g,v=i.renderCountProp,y=void 0===v?void 0:v,b=i.shouldHandleStateChanges,x=void 0===b||b,w=i.storeKey,_=void 0===w?"store":w,S=i.withRef,k=void 0!==S&&S,O=function(t,e){var n={};for(var i in t)e.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}(i,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),M=_+"Subscription",T=h++,P=((e={})[_]=l.a,e[M]=l.b,e),C=((n={})[M]=l.b,n);return function(e){a()("function"==typeof e,"You must pass a component to the function returned by "+m+". Instead received "+JSON.stringify(e));var n=e.displayName||e.name||"Component",i=p(n),o=u({},O,{getDisplayName:p,methodName:m,renderCountProp:y,shouldHandleStateChanges:x,storeKey:_,withRef:k,displayName:i,wrappedComponentName:n,WrappedComponent:e}),l=function(n){function r(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,n.call(this,t,e));return o.version=T,o.state={},o.renderCount=0,o.store=t[_]||e[_],o.propsMode=Boolean(t[_]),o.setWrappedInstance=o.setWrappedInstance.bind(o),a()(o.store,'Could not find "'+_+'" in either the context or props of "'+i+'". Either wrap the root component in a , or explicitly pass "'+_+'" as a prop to "'+i+'".'),o.initSelector(),o.initSubscription(),o}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(r,n),r.prototype.getChildContext=function(){var t,e=this.propsMode?null:this.subscription;return(t={})[M]=e||this.context[M],t},r.prototype.componentDidMount=function(){x&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},r.prototype.componentWillReceiveProps=function(t){this.selector.run(t)},r.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},r.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=d,this.store=null,this.selector.run=d,this.selector.shouldComponentUpdate=!1},r.prototype.getWrappedInstance=function(){return a()(k,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+m+"() call."),this.wrappedInstance},r.prototype.setWrappedInstance=function(t){this.wrappedInstance=t},r.prototype.initSelector=function(){var e=t(this.store.dispatch,o);this.selector=function(t,e){var n={run:function(i){try{var r=t(e.getState(),i);(r!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=r,n.error=null)}catch(t){n.shouldComponentUpdate=!0,n.error=t}}};return n}(e,this.store),this.selector.run(this.props)},r.prototype.initSubscription=function(){if(x){var t=(this.propsMode?this.props:this.context)[M];this.subscription=new c.a(this.store,t,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},r.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(f)):this.notifyNestedSubs()},r.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},r.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},r.prototype.addExtraProps=function(t){if(!k&&!y&&(!this.propsMode||!this.subscription))return t;var e=u({},t);return k&&(e.ref=this.setWrappedInstance),y&&(e[y]=this.renderCount++),this.propsMode&&this.subscription&&(e[M]=this.subscription),e},r.prototype.render=function(){var t=this.selector;if(t.shouldComponentUpdate=!1,t.error)throw t.error;return Object(s.createElement)(e,this.addExtraProps(t.props))},r}(s.Component);return l.WrappedComponent=e,l.displayName=i,l.childContextTypes=C,l.contextTypes=P,l.propTypes=P,r()(l,e)}};var i=n(244),r=n.n(i),o=n(28),a=n.n(o),s=n(0),c=(n.n(s),n(568)),l=n(242),u=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];if(s)throw s;for(var i=!1,r={},o=0;o=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(t){c.headers[t]={}}),i.forEach(["post","put","patch"],function(t){c.headers[t]=i.merge(o)}),t.exports=c}).call(e,n(595))},function(t,e,n){"use strict";var i=n(22),r=n(597),o=n(251),a=n(599),s=n(600),c=n(255);t.exports=function(t){return new Promise(function(e,l){var u=t.data,h=t.headers;i.isFormData(u)&&delete h["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",p=t.auth.password||"";h.Authorization="Basic "+btoa(d+":"+p)}if(f.open(t.method.toUpperCase(),o(t.url,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in f?a(f.getAllResponseHeaders()):null,i={data:t.responseType&&"text"!==t.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:t,request:f};r(e,l,i),f=null}},f.onabort=function(){f&&(l(c("Request aborted",t,"ECONNABORTED",f)),f=null)},f.onerror=function(){l(c("Network Error",t,null,f)),f=null},f.ontimeout=function(){l(c("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",f)),f=null},i.isStandardBrowserEnv()){var g=n(601),m=(t.withCredentials||s(t.url))&&t.xsrfCookieName?g.read(t.xsrfCookieName):void 0;m&&(h[t.xsrfHeaderName]=m)}if("setRequestHeader"in f&&i.forEach(h,function(t,e){"undefined"===typeof u&&"content-type"===e.toLowerCase()?delete h[e]:f.setRequestHeader(e,t)}),t.withCredentials&&(f.withCredentials=!0),t.responseType)try{f.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"===typeof t.onDownloadProgress&&f.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){f&&(f.abort(),l(t),f=null)}),void 0===u&&(u=null),f.send(u)})}},function(t,e,n){"use strict";var i=n(598);t.exports=function(t,e,n,r,o){var a=new Error(t);return i(a,e,n,r,o)}},function(t,e,n){"use strict";var i=n(22);t.exports=function(t,e){e=e||{};var n={};return i.forEach(["url","method","params","data"],function(t){"undefined"!==typeof e[t]&&(n[t]=e[t])}),i.forEach(["headers","auth","proxy"],function(r){i.isObject(e[r])?n[r]=i.deepMerge(t[r],e[r]):"undefined"!==typeof e[r]?n[r]=e[r]:i.isObject(t[r])?n[r]=i.deepMerge(t[r]):"undefined"!==typeof t[r]&&(n[r]=t[r])}),i.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],function(i){"undefined"!==typeof e[i]?n[i]=e[i]:"undefined"!==typeof t[i]&&(n[i]=t[i])}),n}},function(t,e,n){"use strict";function i(t){this.message=t}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,t.exports=i},function(t,e,n){"use strict";e.__esModule=!0,e.locationsAreEqual=e.createLocation=void 0;var i=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:"",n=t&&t.split("/")||[],o=e&&e.split("/")||[],a=t&&i(t),s=e&&i(e),c=a||s;if(t&&i(t)?o=n:n.length&&(o.pop(),o=o.concat(n)),!o.length)return"/";var l=void 0;if(o.length){var u=o[o.length-1];l="."===u||".."===u||""===u}else l=!1;for(var h=0,f=o.length;f>=0;f--){var d=o[f];"."===d?r(o,f):".."===d?(r(o,f),h++):h&&(r(o,f),h--)}if(!c)for(;h--;h)o.unshift("..");!c||""===o[0]||o[0]&&i(o[0])||o.unshift("");var p=o.join("/");return l&&"/"!==p.substr(-1)&&(p+="/"),p}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.default=function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every(function(e,i){return t(e,n[i])});var r="undefined"===typeof e?"undefined":i(e);if(r!==("undefined"===typeof n?"undefined":i(n)))return!1;if("object"===r){var o=e.valueOf(),a=n.valueOf();if(o!==e||a!==n)return t(o,a);var s=Object.keys(e),c=Object.keys(n);return s.length===c.length&&s.every(function(i){return t(e[i],n[i])})}return!1}},function(t,e,n){"use strict";e.__esModule=!0;var i,r=n(19),o=(i=r)&&i.__esModule?i:{default:i};e.default=function(){var t=null,e=[];return{setPrompt:function(e){return(0,o.default)(null==t,"A history supports only one prompt at a time"),t=e,function(){t===e&&(t=null)}},confirmTransitionTo:function(e,n,i,r){if(null!=t){var a="function"===typeof t?t(e,n):t;"string"===typeof a?"function"===typeof i?i(a,r):((0,o.default)(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),r(!0)):r(!1!==a)}else r(!0)},appendListener:function(t){var n=!0,i=function(){n&&t.apply(void 0,arguments)};return e.push(i),function(){n=!1,e=e.filter(function(t){return t!==i})}},notifyListeners:function(){for(var t=arguments.length,n=Array(t),i=0;i>>1;t(e[o],n)<0?i=o+1:r=o}return i},right:function(e,n,i,r){for(null==i&&(i=0),null==r&&(r=e.length);i>>1;t(e[o],n)>0?r=o:i=o+1}return i}}}},function(t,e,n){"use strict";e.a=i;function i(t,e){return[t,e]}},function(t,e,n){"use strict";var i=n(272);e.a=function(t,e){var n=Object(i.a)(t,e);return n?Math.sqrt(n):n}},function(t,e,n){"use strict";var i=n(90);e.a=function(t,e){var n,r,o=t.length,a=0,s=-1,c=0,l=0;if(null==e)for(;++s1)return l/(a-1)}},function(t,e,n){"use strict";e.a=function(t,e){var n,i,r,o=t.length,a=-1;if(null==e){for(;++a=n)for(i=r=n;++an&&(i=n),r=n)for(i=r=n;++an&&(i=n),r=i?s*=10:c>=r?s*=5:c>=o&&(s*=2);return e=0?(c>=i?10:c>=r?5:c>=o?2:1)*Math.pow(10,s):-Math.pow(10,-s)/(c>=i?10:c>=r?5:c>=o?2:1)}e.a=function(t,e,n){var i,r,o,s,c=-1;if(n=+n,(t=+t)===(e=+e)&&n>0)return[t];if((i=e0)for(t=Math.ceil(t/s),e=Math.floor(e/s),o=new Array(r=Math.ceil(e-t+1));++c=n)for(i=n;++on&&(i=n)}else for(;++o=n)for(i=n;++on&&(i=n);return i}},function(t,e,n){"use strict";var i=n(278);function r(t){return t.length}e.a=function(t){if(!(a=t.length))return[];for(var e=-1,n=Object(i.a)(t,r),o=new Array(n);++e1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"===typeof e?function(t,e,n){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):r(this.node(),t)}},function(t,e,n){"use strict";e.b=function(t,e){var n=t.document.documentElement,o=Object(i.f)(t).on("dragstart.drag",null);e&&(o.on("click.drag",r.a,!0),setTimeout(function(){o.on("click.drag",null)},0));"onselectstart"in n?o.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)};var i=n(14),r=n(287);e.a=function(t){var e=t.document.documentElement,n=Object(i.f)(t).on("dragstart.drag",r.a,!0);"onselectstart"in e?n.on("selectstart.drag",r.a,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}},function(t,e,n){"use strict";e.b=function(){i.b.stopImmediatePropagation()};var i=n(14);e.a=function(){i.b.preventDefault(),i.b.stopImmediatePropagation()}},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i=Math.PI/180,r=180/Math.PI},function(t,e,n){"use strict";n.d(e,"b",function(){return c});var i=n(30),r=n(179),o=n(290),a=n(77);function s(t){return function(e){var n,r,o=e.length,a=new Array(o),s=new Array(o),c=new Array(o);for(n=0;nc&&(s=e.slice(c,s),u[l]?u[l]+=s:u[++l]=s),(n=n[0])===(a=a[0])?u[l]?u[l]+=a:u[++l]=a:(u[++l]=null,h.push({i:l,x:Object(i.a)(n,a)})),c=o.lastIndex;return ci.d&&n.state=i,u[c<<1].forEach(g);for(;++o=i,u[s|c<<1].forEach(g);u[c<<0].forEach(g);for(;++a=i,l=n[a*t]>=i,u[c<<1|l<<2].forEach(g);++o=i,h=l,l=n[a*t+o+1]>=i,u[s|c<<1|l<<2|h<<3].forEach(g);u[c|l<<3].forEach(g)}o=-1,l=n[a*t]>=i,u[l<<2].forEach(g);for(;++o=i,u[l<<2|h<<3].forEach(g);function g(t){var e,n,i=[t[0][0]+o,t[0][1]+a],s=[t[1][0]+o,t[1][1]+a],c=p(i),l=p(s);(e=d[c])?(n=f[l])?(delete d[e.end],delete f[n.start],e===n?(e.ring.push(s),r(e.ring)):f[e.start]=d[n.end]={start:e.start,end:n.end,ring:e.ring.concat(n.ring)}):(delete d[e.end],e.ring.push(s),d[e.end=l]=e):(e=f[l])?(n=d[c])?(delete f[e.start],delete d[n.end],e===n?(e.ring.push(s),r(e.ring)):f[n.start]=d[e.end]={start:n.start,end:e.end,ring:n.ring.concat(e.ring)}):(delete f[e.start],e.ring.unshift(i),f[e.start=c]=e):f[c]=d[l]={start:c,end:l,ring:[i,s]}}u[l<<3].forEach(g)}(n,i,function(t){h(t,n,i),Object(a.a)(t)>0?r.push([t]):o.push(t)}),o.forEach(function(t){for(var e,n=0,i=r.length;n0&&a0&&s0)||!(r>0))throw new Error("invalid size");return t=i,e=r,f},f.thresholds=function(t){return arguments.length?(n="function"===typeof t?t:Array.isArray(t)?Object(s.a)(r.a.call(t)):Object(s.a)(t),f):n},f.smooth=function(t){return arguments.length?(h=t?g:l.a,f):h===g},f}},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=Array.prototype.slice},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";var i=n(183);n.d(e,"b",function(){return i.a});var r=n(769);n.d(e,"a",function(){return r.a});var o=n(770);n.d(e,"c",function(){return o.a})},function(t,e,n){"use strict";e.a=function(t){return t.x},e.b=function(t){return t.y};n(76),n(119),n(117);Math.PI,Math.sqrt(5)},function(t,e,n){"use strict";var i=n(120),r=n(800),o=n(801),a=n(306),s=n(802),c=n(803),l=n(307),u=n(805),h=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];e.a=function(t){var e=t.grouping&&t.thousands?Object(r.a)(t.grouping,t.thousands):u.a,n=t.currency,f=t.decimal,d=t.numerals?Object(o.a)(t.numerals):u.a,p=t.percent||"%";function g(t){var i=(t=Object(a.a)(t)).fill,r=t.align,o=t.sign,u=t.symbol,g=t.zero,m=t.width,v=t.comma,y=t.precision,b=t.trim,x=t.type;"n"===x?(v=!0,x="g"):c.a[x]||(null==y&&(y=12),b=!0,x="g"),(g||"0"===i&&"="===r)&&(g=!0,i="0",r="=");var w="$"===u?n[0]:"#"===u&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",_="$"===u?n[1]:/[%p]/.test(x)?p:"",S=c.a[x],k=/[defgprs%]/.test(x);function O(t){var n,a,c,u=w,p=_;if("c"===x)p=S(t)+p,t="";else{var O=(t=+t)<0;if(t=S(Math.abs(t),y),b&&(t=Object(s.a)(t)),O&&0===+t&&(O=!1),u=(O?"("===o?o:"-":"-"===o||"("===o?"":o)+u,p=("s"===x?h[8+l.b/3]:"")+p+(O&&"("===o?")":""),k)for(n=-1,a=t.length;++n(c=t.charCodeAt(n))||c>57){p=(46===c?f+t.slice(n+1):t.slice(n))+p,t=t.slice(0,n);break}}v&&!g&&(t=e(t,1/0));var M=u.length+t.length+p.length,T=M>1)+u+t+p+T.slice(M);break;default:t=T+u+t+p}return d(t)}return y=null==y?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),O.toString=function(){return t+""},O}return{format:g,formatPrefix:function(t,e){var n=g(((t=Object(a.a)(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Object(i.a)(e)/3))),o=Math.pow(10,-r),s=h[8+r/3];return function(t){return n(o*t)+s}}}}},function(t,e,n){"use strict";e.a=r;var i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function r(t){return new o(t)}function o(t){if(!(e=i.exec(t)))throw new Error("invalid format: "+t);var e;this.fill=e[1]||" ",this.align=e[2]||">",this.sign=e[3]||"-",this.symbol=e[4]||"",this.zero=!!e[5],this.width=e[6]&&+e[6],this.comma=!!e[7],this.precision=e[8]&&+e[8].slice(1),this.trim=!!e[9],this.type=e[10]||""}r.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},function(t,e,n){"use strict";n.d(e,"b",function(){return i});var i,r=n(189);e.a=function(t,e){var n=Object(r.a)(t,e);if(!n)return t+"";var o=n[0],a=n[1],s=a-(i=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,c=o.length;return s===c?o:s>c?o+new Array(s-c+1).join("0"):s>0?o.slice(0,s)+"."+o.slice(s):"0."+new Array(1-s).join("0")+Object(r.a)(t,Math.max(0,e+s-1))[0]}},function(t,e,n){"use strict";n.d(e,"a",function(){return h}),n.d(e,"b",function(){return d});var i,r,o,a,s,c=n(79),l=n(2),u=n(49),h=(n(62),Object(c.a)()),f=Object(c.a)(),d={point:u.a,lineStart:u.a,lineEnd:u.a,polygonStart:function(){h.reset(),d.lineStart=p,d.lineEnd=g},polygonEnd:function(){var t=+h;f.add(t<0?l.w+t:t),this.lineStart=this.lineEnd=this.point=u.a},sphere:function(){f.add(l.w)}};function p(){d.point=m}function g(){v(i,r)}function m(t,e){d.point=v,i=t,r=e,t*=l.r,e*=l.r,o=t,a=Object(l.g)(e=e/2+l.q),s=Object(l.t)(e)}function v(t,e){t*=l.r,e=(e*=l.r)/2+l.q;var n=t-o,i=n>=0?1:-1,r=i*n,c=Object(l.g)(e),u=Object(l.t)(e),f=s*u,d=a*c+f*Object(l.g)(r),p=f*i*Object(l.t)(r);h.add(Object(l.e)(p,d)),o=t,a=c,s=u}},function(t,e,n){"use strict";e.a=o;var i=n(91),r=(n(812),n(2));n(121);function o(t,e,n,o,s,c){if(n){var l=Object(r.g)(e),u=Object(r.t)(e),h=o*n;null==s?(s=e+o*r.w,c=e-h/2):(s=a(l,s),c=a(l,c),(o>0?sc)&&(s+=o*r.w));for(var f,d=s;o>0?d>c:d0?r.o:-r.o,l=Object(r.a)(a-n);Object(r.a)(l-r.o)0?r.l:-r.l),t.point(o,i),t.lineEnd(),t.lineStart(),t.point(c,i),t.point(a,i),e=0):o!==c&&l>=r.o&&(Object(r.a)(n-o)r.i?Object(r.d)((Object(r.t)(e)*(a=Object(r.g)(i))*Object(r.t)(n)-Object(r.t)(i)*(o=Object(r.g)(e))*Object(r.t)(t))/(o*a*s)):(e+i)/2}(n,i,a,s),t.point(o,i),t.lineEnd(),t.lineStart(),t.point(c,i),e=0),t.point(n=a,i=s),o=c},lineEnd:function(){t.lineEnd(),n=i=NaN},clean:function(){return 2-e}}},function(t,e,n,i){var o;if(null==t)o=n*r.l,i.point(-r.o,o),i.point(0,o),i.point(r.o,o),i.point(r.o,0),i.point(r.o,-o),i.point(0,-o),i.point(-r.o,-o),i.point(-r.o,0),i.point(-r.o,o);else if(Object(r.a)(t[0]-e[0])>r.i){var a=t[0]1}function l(t,e){return((t=t.x)[0]<0?t[1]-o.l-o.i:o.l-t[1])-((e=e.x)[0]<0?e[1]-o.l-o.i:o.l-e[1])}e.a=function(t,e,n,o){return function(u){var h,f,d,p=e(u),g=Object(i.a)(),m=e(g),v=!1,y={point:b,lineStart:w,lineEnd:_,polygonStart:function(){y.point=S,y.lineStart=k,y.lineEnd=O,f=[],h=[]},polygonEnd:function(){y.point=b,y.lineStart=w,y.lineEnd=_,f=Object(s.f)(f);var t=Object(a.a)(h,o);f.length?(v||(u.polygonStart(),v=!0),Object(r.a)(f,l,t,n,u)):t&&(v||(u.polygonStart(),v=!0),u.lineStart(),n(null,null,1,u),u.lineEnd()),v&&(u.polygonEnd(),v=!1),f=h=null},sphere:function(){u.polygonStart(),u.lineStart(),n(null,null,1,u),u.lineEnd(),u.polygonEnd()}};function b(e,n){t(e,n)&&u.point(e,n)}function x(t,e){p.point(t,e)}function w(){y.point=x,p.lineStart()}function _(){y.point=b,p.lineEnd()}function S(t,e){d.push([t,e]),m.point(t,e)}function k(){m.lineStart(),d=[]}function O(){S(d[0][0],d[0][1]),m.lineEnd();var t,e,n,i,r=m.clean(),o=g.result(),a=o.length;if(d.pop(),h.push(d),d=null,a)if(1&r){if((e=(n=o[0]).length-1)>0){for(v||(u.polygonStart(),v=!0),u.lineStart(),t=0;t1&&2&r&&o.push(o.pop().concat(o.shift())),f.push(o.filter(c))}return y}}},function(t,e,n){"use strict";var i=n(49);e.a=function(){var t,e=[];return{point:function(e,n){t.push([e,n])},lineStart:function(){e.push(t=[])},lineEnd:i.a,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}},function(t,e,n){"use strict";var i=n(315);function r(t,e,n,i){this.x=t,this.z=e,this.o=n,this.e=i,this.v=!1,this.n=this.p=null}function o(t){if(e=t.length){for(var e,n,i=0,r=t[0];++i=0;--c)s.point((d=f[c])[0],d[1]);else a(g.x,g.p.x,-1,s);g=g.p}f=(g=g.o).z,m=!m}while(!g.v);s.lineEnd()}}}},function(t,e,n){"use strict";var i=n(2);e.a=function(t,e){return Object(i.a)(t[0]-e[0])=0?1:-1,P=T*M,C=P>o.o,A=y*k;if(a.add(Object(o.e)(A*T*Object(o.t)(P),b*O+A*Object(o.g)(P))),l+=C?M+T*o.w:M,C^m>=n^_>=n){var E=Object(r.c)(Object(r.a)(g),Object(r.a)(w));Object(r.e)(E);var L=Object(r.c)(c,E);Object(r.e)(L);var j=(C^M>=0?-1:1)*Object(o.c)(L[2]);(i>j||i===j&&(E[0]||E[1]))&&(u+=C^M>=0?1:-1)}}return(l<-o.i||l0,l=Object(o.a)(e)>o.i;function u(t,n){return Object(o.g)(t)*Object(o.g)(n)>e}function h(t,n,r){var a=Object(i.a)(t),s=Object(i.a)(n),c=[1,0,0],l=Object(i.c)(a,s),u=Object(i.d)(l,l),h=l[0],f=u-h*h;if(!f)return!r&&t;var d=e*u/f,p=-e*h/f,g=Object(i.c)(c,l),m=Object(i.f)(c,d),v=Object(i.f)(l,p);Object(i.b)(m,v);var y=g,b=Object(i.d)(m,y),x=Object(i.d)(y,y),w=b*b-x*(Object(i.d)(m,m)-1);if(!(w<0)){var _=Object(o.u)(w),S=Object(i.f)(y,(-b-_)/x);if(Object(i.b)(S,m),S=Object(i.g)(S),!r)return S;var k,O=t[0],M=n[0],T=t[1],P=n[1];M0^S[1]<(Object(o.a)(S[0]-O)o.o^(O<=S[0]&&S[0]<=M)){var L=Object(i.f)(y,(-b+_)/x);return Object(i.b)(L,m),[S,Object(i.g)(L)]}}}function f(e,n){var i=c?t:o.o-t,r=0;return e<-i?r|=1:e>i&&(r|=2),n<-i?r|=4:n>i&&(r|=8),r}return Object(s.a)(u,function(t){var e,n,i,r,s;return{lineStart:function(){r=i=!1,s=1},point:function(d,p){var g,m=[d,p],v=u(d,p),y=c?v?0:f(d,p):v?f(d+(d<0?o.o:-o.o),p):0;if(!e&&(r=i=v)&&t.lineStart(),v!==i&&(!(g=h(e,m))||Object(a.a)(e,g)||Object(a.a)(m,g))&&(m[0]+=o.i,m[1]+=o.i,v=u(m[0],m[1])),v!==i)s=0,v?(t.lineStart(),g=h(m,e),t.point(g[0],g[1])):(g=h(e,m),t.point(g[0],g[1]),t.lineEnd()),e=g;else if(l&&e&&c^v){var b;y&n||!(b=h(m,e,!0))||(s=0,c?(t.lineStart(),t.point(b[0][0],b[0][1]),t.point(b[1][0],b[1][1]),t.lineEnd()):(t.point(b[1][0],b[1][1]),t.lineEnd(),t.lineStart(),t.point(b[0][0],b[0][1])))}!v||e&&Object(a.a)(e,m)||t.point(m[0],m[1]),e=m,i=v,n=y},lineEnd:function(){i&&t.lineEnd(),e=null},clean:function(){return s|(r&&i)<<1}}},function(e,i,o,a){Object(r.a)(a,t,n,o,e,i)},c?[0,-t]:[-o.o,t-o.o])}},function(t,e,n){"use strict";var i=n(319),r=[null,null],o={type:"LineString",coordinates:r};e.a=function(t,e){return r[0]=t,r[1]=e,Object(i.a)(o)}},function(t,e,n){"use strict";var i,r,o,a=n(79),s=n(2),c=n(49),l=n(62),u=Object(a.a)(),h={sphere:c.a,point:c.a,lineStart:function(){h.point=d,h.lineEnd=f},lineEnd:c.a,polygonStart:c.a,polygonEnd:c.a};function f(){h.point=h.lineEnd=c.a}function d(t,e){t*=s.r,e*=s.r,i=t,r=Object(s.t)(e),o=Object(s.g)(e),h.point=p}function p(t,e){t*=s.r,e*=s.r;var n=Object(s.t)(e),a=Object(s.g)(e),c=Object(s.a)(t-i),l=Object(s.g)(c),h=a*Object(s.t)(c),f=o*n-r*a*l,d=r*n+o*a*l;u.add(Object(s.e)(Object(s.u)(h*h+f*f),d)),i=t,r=n,o=a}e.a=function(t){return u.reset(),Object(l.a)(t,h),+u}},function(t,e,n){"use strict";var i=n(49),r=1/0,o=r,a=-r,s=a,c={point:function(t,e){ta&&(a=t);es&&(s=e)},lineStart:i.a,lineEnd:i.a,polygonStart:i.a,polygonEnd:i.a,result:function(){var t=[[r,o],[a,s]];return a=s=-(o=r=1/0),t}};e.a=c},function(t,e,n){"use strict";var i=n(191);e.a=function(){return Object(i.a)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,e,n){"use strict";e.a=i;n(32);function i(t,e){return[t,e]}i.invert=i},function(t,e,n){"use strict";e.a=c;var i=n(324);function r(t,e,n){var i,r,o,a,s=t.x-e.x,c=t.y-e.y,l=s*s+c*c;l?(r=e.r+n.r,r*=r,a=t.r+n.r,r>(a*=a)?(i=(l+a-r)/(2*l),o=Math.sqrt(Math.max(0,a/l-i*i)),n.x=t.x-i*s-o*c,n.y=t.y-i*c+o*s):(i=(l+r-a)/(2*l),o=Math.sqrt(Math.max(0,r/l-i*i)),n.x=e.x+i*s-o*c,n.y=e.y+i*c+o*s)):(n.x=e.x+n.r,n.y=e.y)}function o(t,e){var n=t.r+e.r-1e-6,i=e.x-t.x,r=e.y-t.y;return n>0&&n*n>i*i+r*r}function a(t){var e=t._,n=t.next._,i=e.r+n.r,r=(e.x*n.r+n.x*e.r)/i,o=(e.y*n.r+n.y*e.r)/i;return r*r+o*o}function s(t){this._=t,this.next=null,this.previous=null}function c(t){if(!(l=t.length))return 0;var e,n,c,l,u,h,f,d,p,g,m;if((e=t[0]).x=0,e.y=0,!(l>1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(l>2))return e.r+n.r;r(n,e,c=t[2]),e=new s(e),n=new s(n),c=new s(c),e.next=c.previous=n,n.next=e.previous=c,c.next=n.previous=e;t:for(f=3;f0&&n*n>i*i+r*r}function s(t,e){for(var n=0;n1);return t+n*o*Math.sqrt(-2*Math.log(r)/r)}}return n.source=t,n}(i.a)},function(t,e,n){"use strict";var i=n(80);e.a=function t(e){function n(t){return function(){for(var n=0,i=0;i=12)]},Q:gt,s:mt,S:W,u:Y,U:U,V:G,w:X,W:V,x:null,X:null,y:q,Y:K,Z:$,"%":pt},Ct={a:function(t){return h[t.getUTCDay()]},A:function(t){return u[t.getUTCDay()]},b:function(t){return vt[t.getUTCMonth()]},B:function(t){return f[t.getUTCMonth()]},c:null,d:Z,e:Z,f:nt,H:Q,I:J,j:tt,L:et,m:it,M:rt,p:function(t){return l[+(t.getUTCHours()>=12)]},Q:gt,s:mt,S:ot,u:at,U:st,V:ct,w:lt,W:ut,x:null,X:null,y:ht,Y:ft,Z:dt,"%":pt},At={a:function(t,e,n){var i=_t.exec(e.slice(n));return i?(t.w=St[i[0].toLowerCase()],n+i[0].length):-1},A:function(t,e,n){var i=xt.exec(e.slice(n));return i?(t.w=wt[i[0].toLowerCase()],n+i[0].length):-1},b:function(t,e,n){var i=Mt.exec(e.slice(n));return i?(t.m=Tt[i[0].toLowerCase()],n+i[0].length):-1},B:function(t,e,n){var i=kt.exec(e.slice(n));return i?(t.m=Ot[i[0].toLowerCase()],n+i[0].length):-1},c:function(t,n,i){return jt(t,e,n,i)},d:k,e:k,f:A,H:M,I:M,j:O,L:C,m:S,M:T,p:function(t,e,n){var i=yt.exec(e.slice(n));return i?(t.p=bt[i[0].toLowerCase()],n+i[0].length):-1},Q:L,s:j,S:P,u:m,U:v,V:y,w:g,W:b,x:function(t,e,i){return jt(t,n,e,i)},X:function(t,e,n){return jt(t,c,e,n)},y:w,Y:x,Z:_,"%":E};function Et(t,e){return function(n){var i,r,o,a=[],c=-1,l=0,u=t.length;for(n instanceof Date||(n=new Date(+n));++c53)return null;"w"in c||(c.w=1),"Z"in c?(r=o(a(c.y)),s=r.getUTCDay(),r=s>4||0===s?i.p.ceil(r):Object(i.p)(r),r=i.l.offset(r,7*(c.V-1)),c.y=r.getUTCFullYear(),c.m=r.getUTCMonth(),c.d=r.getUTCDate()+(c.w+6)%7):(r=e(a(c.y)),s=r.getDay(),r=s>4||0===s?i.e.ceil(r):Object(i.e)(r),r=i.a.offset(r,7*(c.V-1)),c.y=r.getFullYear(),c.m=r.getMonth(),c.d=r.getDate()+(c.w+6)%7)}else("W"in c||"U"in c)&&("w"in c||(c.w="u"in c?c.u%7:"W"in c?1:0),s="Z"in c?o(a(c.y)).getUTCDay():e(a(c.y)).getDay(),c.m=0,c.d="W"in c?(c.w+6)%7+7*c.W-(s+5)%7:c.w+7*c.U-(s+6)%7);return"Z"in c?(c.H+=c.Z/100|0,c.M+=c.Z%100,o(c)):e(c)}}function jt(t,e,n,i){for(var r,o,a=0,c=e.length,l=n.length;a=l)return-1;if(37===(r=e.charCodeAt(a++))){if(r=e.charAt(a++),!(o=At[r in s?e.charAt(a++):r])||(i=o(t,n,i))<0)return-1}else if(r!=n.charCodeAt(i++))return-1}return i}return Pt.x=Et(n,Pt),Pt.X=Et(c,Pt),Pt.c=Et(e,Pt),Ct.x=Et(n,Ct),Ct.X=Et(c,Ct),Ct.c=Et(e,Ct),{format:function(t){var e=Et(t+="",Pt);return e.toString=function(){return t},e},parse:function(t){var e=Lt(t+="",r);return e.toString=function(){return t},e},utcFormat:function(t){var e=Et(t+="",Ct);return e.toString=function(){return t},e},utcParse:function(t){var e=Lt(t,o);return e.toString=function(){return t},e}}};var i=n(126);function r(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function o(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function a(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var s={"-":"",_:" ",0:"0"},c=/^\s*\d+/,l=/^%/,u=/[\\^$*+?|[\]().{}]/g;function h(t,e,n){var i=t<0?"-":"",r=(i?-t:t)+"",o=r.length;return i+(o68?1900:2e3),n+i[0].length):-1}function _(t,e,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function S(t,e,n){var i=c.exec(e.slice(n,n+2));return i?(t.m=i[0]-1,n+i[0].length):-1}function k(t,e,n){var i=c.exec(e.slice(n,n+2));return i?(t.d=+i[0],n+i[0].length):-1}function O(t,e,n){var i=c.exec(e.slice(n,n+3));return i?(t.m=0,t.d=+i[0],n+i[0].length):-1}function M(t,e,n){var i=c.exec(e.slice(n,n+2));return i?(t.H=+i[0],n+i[0].length):-1}function T(t,e,n){var i=c.exec(e.slice(n,n+2));return i?(t.M=+i[0],n+i[0].length):-1}function P(t,e,n){var i=c.exec(e.slice(n,n+2));return i?(t.S=+i[0],n+i[0].length):-1}function C(t,e,n){var i=c.exec(e.slice(n,n+3));return i?(t.L=+i[0],n+i[0].length):-1}function A(t,e,n){var i=c.exec(e.slice(n,n+6));return i?(t.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function E(t,e,n){var i=l.exec(e.slice(n,n+1));return i?n+i[0].length:-1}function L(t,e,n){var i=c.exec(e.slice(n));return i?(t.Q=+i[0],n+i[0].length):-1}function j(t,e,n){var i=c.exec(e.slice(n));return i?(t.Q=1e3*+i[0],n+i[0].length):-1}function D(t,e){return h(t.getDate(),e,2)}function I(t,e){return h(t.getHours(),e,2)}function R(t,e){return h(t.getHours()%12||12,e,2)}function N(t,e){return h(1+i.a.count(Object(i.k)(t),t),e,3)}function z(t,e){return h(t.getMilliseconds(),e,3)}function F(t,e){return z(t,e)+"000"}function B(t,e){return h(t.getMonth()+1,e,2)}function H(t,e){return h(t.getMinutes(),e,2)}function W(t,e){return h(t.getSeconds(),e,2)}function Y(t){var e=t.getDay();return 0===e?7:e}function U(t,e){return h(i.h.count(Object(i.k)(t),t),e,2)}function G(t,e){var n=t.getDay();return t=n>=4||0===n?Object(i.i)(t):i.i.ceil(t),h(i.i.count(Object(i.k)(t),t)+(4===Object(i.k)(t).getDay()),e,2)}function X(t){return t.getDay()}function V(t,e){return h(i.e.count(Object(i.k)(t),t),e,2)}function q(t,e){return h(t.getFullYear()%100,e,2)}function K(t,e){return h(t.getFullYear()%1e4,e,4)}function $(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+h(e/60|0,"0",2)+h(e%60,"0",2)}function Z(t,e){return h(t.getUTCDate(),e,2)}function Q(t,e){return h(t.getUTCHours(),e,2)}function J(t,e){return h(t.getUTCHours()%12||12,e,2)}function tt(t,e){return h(1+i.l.count(Object(i.v)(t),t),e,3)}function et(t,e){return h(t.getUTCMilliseconds(),e,3)}function nt(t,e){return et(t,e)+"000"}function it(t,e){return h(t.getUTCMonth()+1,e,2)}function rt(t,e){return h(t.getUTCMinutes(),e,2)}function ot(t,e){return h(t.getUTCSeconds(),e,2)}function at(t){var e=t.getUTCDay();return 0===e?7:e}function st(t,e){return h(i.s.count(Object(i.v)(t),t),e,2)}function ct(t,e){var n=t.getUTCDay();return t=n>=4||0===n?Object(i.t)(t):i.t.ceil(t),h(i.t.count(Object(i.v)(t),t)+(4===Object(i.v)(t).getUTCDay()),e,2)}function lt(t){return t.getUTCDay()}function ut(t,e){return h(i.p.count(Object(i.v)(t),t),e,2)}function ht(t,e){return h(t.getUTCFullYear()%100,e,2)}function ft(t,e){return h(t.getUTCFullYear()%1e4,e,4)}function dt(){return"+0000"}function pt(){return"%"}function gt(t){return+t}function mt(t){return Math.floor(+t/1e3)}},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(200),r="%Y-%m-%dT%H:%M:%S.%LZ";Date.prototype.toISOString||Object(i.b)(r)},function(t,e,n){"use strict";var i=n(61),r=n(64),o=n(127),a=n(201),s=n(202);e.a=function(){var t=s.a,e=null,n=Object(r.a)(0),c=s.b,l=Object(r.a)(!0),u=null,h=o.a,f=null;function d(r){var o,a,s,d,p,g=r.length,m=!1,v=new Array(g),y=new Array(g);for(null==u&&(f=h(p=Object(i.a)())),o=0;o<=g;++o){if(!(o=a;--s)f.point(v[s],y[s]);f.lineEnd(),f.areaEnd()}m&&(v[o]=+t(d,o,r),y[o]=+n(d,o,r),f.point(e?+e(d,o,r):v[o],c?+c(d,o,r):y[o]))}if(p)return f=null,p+""||null}function p(){return Object(a.a)().defined(l).curve(h).context(u)}return d.x=function(n){return arguments.length?(t="function"===typeof n?n:Object(r.a)(+n),e=null,d):t},d.x0=function(e){return arguments.length?(t="function"===typeof e?e:Object(r.a)(+e),d):t},d.x1=function(t){return arguments.length?(e=null==t?null:"function"===typeof t?t:Object(r.a)(+t),d):e},d.y=function(t){return arguments.length?(n="function"===typeof t?t:Object(r.a)(+t),c=null,d):n},d.y0=function(t){return arguments.length?(n="function"===typeof t?t:Object(r.a)(+t),d):n},d.y1=function(t){return arguments.length?(c=null==t?null:"function"===typeof t?t:Object(r.a)(+t),d):c},d.lineX0=d.lineY0=function(){return p().x(t).y(n)},d.lineY1=function(){return p().x(t).y(c)},d.lineX1=function(){return p().x(e).y(n)},d.defined=function(t){return arguments.length?(l="function"===typeof t?t:Object(r.a)(!!t),d):l},d.curve=function(t){return arguments.length?(h=t,null!=u&&(f=h(u)),d):h},d.context=function(t){return arguments.length?(null==t?u=f=null:f=h(u=t),d):u},d}},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),e.b=o;var i=o(n(127).a);function r(t){this._curve=t}function o(t){function e(e){return new r(t(e))}return e._curve=t,e}r.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}}},function(t,e,n){"use strict";e.a=r;var i=n(336);n(201);function r(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(Object(i.b)(t)):e()._curve},t}},function(t,e,n){"use strict";e.a=function(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=Array.prototype.slice},function(t,e,n){"use strict";var i=n(94);e.a={draw:function(t,e){var n=Math.sqrt(e/i.j);t.moveTo(n,0),t.arc(0,0,n,0,i.m)}}},function(t,e,n){"use strict";e.a={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}}},function(t,e,n){"use strict";var i=Math.sqrt(1/3),r=2*i;e.a={draw:function(t,e){var n=Math.sqrt(e/r),o=n*i;t.moveTo(0,-n),t.lineTo(o,0),t.lineTo(0,n),t.lineTo(-o,0),t.closePath()}}},function(t,e,n){"use strict";var i=n(94),r=Math.sin(i.j/10)/Math.sin(7*i.j/10),o=Math.sin(i.m/10)*r,a=-Math.cos(i.m/10)*r;e.a={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),r=o*n,s=a*n;t.moveTo(0,-n),t.lineTo(r,s);for(var c=1;c<5;++c){var l=i.m*c/5,u=Math.cos(l),h=Math.sin(l);t.lineTo(h*n,-u*n),t.lineTo(u*r-h*s,h*r+u*s)}t.closePath()}}},function(t,e,n){"use strict";e.a={draw:function(t,e){var n=Math.sqrt(e),i=-n/2;t.rect(i,i,n,n)}}},function(t,e,n){"use strict";var i=Math.sqrt(3);e.a={draw:function(t,e){var n=-Math.sqrt(e/(3*i));t.moveTo(0,2*n),t.lineTo(-i*n,-n),t.lineTo(i*n,-n),t.closePath()}}},function(t,e,n){"use strict";var i=-.5,r=Math.sqrt(3)/2,o=1/Math.sqrt(12),a=3*(o/2+1);e.a={draw:function(t,e){var n=Math.sqrt(e/a),s=n/2,c=n*o,l=s,u=n*o+n,h=-l,f=u;t.moveTo(s,c),t.lineTo(l,u),t.lineTo(h,f),t.lineTo(i*s-r*c,r*s+i*c),t.lineTo(i*l-r*u,r*l+i*u),t.lineTo(i*h-r*f,r*h+i*f),t.lineTo(i*s+r*c,i*c-r*s),t.lineTo(i*l+r*u,i*u-r*l),t.lineTo(i*h+r*f,i*f-r*h),t.closePath()}}},function(t,e,n){"use strict";e.a=o;var i=n(128),r=n(130);function o(t,e){this._context=t,this._k=(1-e)/6}o.prototype={areaStart:i.a,areaEnd:i.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Object(r.b)(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};(function t(e){function n(t){return new o(t,e)}return n.tension=function(e){return t(+e)},n})(0)},function(t,e,n){"use strict";e.a=r;var i=n(130);function r(t,e){this._context=t,this._k=(1-e)/6}r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Object(i.b)(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};(function t(e){function n(t){return new r(t,e)}return n.tension=function(e){return t(+e)},n})(0)},function(t,e,n){"use strict";e.c=function(t){return r.b[t.index]={site:t,halfedges:[]}},e.a=a,e.d=function(){for(var t,e,n,i,a=0,s=r.b.length;ar.f||Math.abs(b-m)>r.f)&&(f.splice(h,0,r.e.push(Object(i.b)(u,v,Math.abs(y-t)r.f?[t,Math.abs(g-t)r.f?[Math.abs(m-o)r.f?[n,Math.abs(g-n)r.f?[Math.abs(m-e)=-o.g)return;var v=f*f+d*d,y=p*p+g*g,b=(g*v-d*y)/m,x=(f*y-p*v)/m,w=a.pop()||new function(){Object(r.a)(this),this.x=this.y=this.arc=this.site=this.cy=null};w.arc=t,w.site=c,w.x=b+u,w.y=(w.cy=x+h)+Math.sqrt(b*b+x*x),t.circle=w;var _=null,S=o.c._;for(;S;)if(w.ye.length){var n=e.map(u.b),i=t.filter(function(t){return-1===n.indexOf(t)});this.setState({failedSeries:i})}},e.prototype.saveEmptySeries=function(t){var e=t.filter(f.a);this.setState({emptySeries:e.map(u.b)})},e.prototype.saveLastSuccessQuery=function(){this.setState({lastSuccessQueryParams:C(this.props.location)})},e}(r.Component);function P(t){var e=new URLSearchParams(t.search).getAll("ids");return e=e.length?e.join(",").split(","):[]}function C(t){return new URLSearchParams(t.search)}function A(t){if(void 0===t)return function(t){return[]};var e=t.split(",");return function(t){return t.map(function(t){var n=new l.a(t);return n.setPercentChange(e.some(function(e){return e.includes(Object(O.c)(t))&&e.includes("percent_change")})),n.setPercentChangeAYearAgo(e.some(function(e){return e.includes(Object(O.c)(t))&&e.includes("percent_change_a_year_ago")})),n})}}e.a=Object(a.c)(Object(o.b)(function(t){return{formatChartUnits:t.formatChartUnits,heroImageUrl:t.heroImageUrl,maxDecimals:t.maxDecimals,seriesApi:t.seriesApi}})(T))},function(t,e,n){"use strict";e.b=function(t){var e=t.series.reduce(function(t,e){var n=Object(i.c)(e);return t[n]={min:e.minValue,max:e.maxValue},t},{});return t.series.slice().sort(function(t){return t.minValue}).reduce(function(n,o){var a=Object(i.c)(o),s=function(t,e,n){return n[t].min>n[e].max||n[t].max ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},e.prototype.render=function(){return a.a.createElement(h.a,{history:this.history,children:this.props.children})},e}(a.a.Component);d.propTypes={initialEntries:c.a.array,initialIndex:c.a.number,getUserConfirmation:c.a.func,keyLength:c.a.number,children:c.a.node},e.a=d},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(15),a=n.n(o),s=n(28),c=n.n(s);var l=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.enable=function(t){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(t)},e.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},e.prototype.componentWillMount=function(){c()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},e.prototype.componentWillReceiveProps=function(t){t.when?this.props.when&&this.props.message===t.message||this.enable(t.message):this.disable()},e.prototype.componentWillUnmount=function(){this.disable()},e.prototype.render=function(){return null},e}(r.a.Component);l.propTypes={when:a.a.bool,message:a.a.oneOfType([a.a.func,a.a.string]).isRequired},l.defaultProps={when:!0},l.contextTypes={router:a.a.shape({history:a.a.shape({block:a.a.func.isRequired}).isRequired}).isRequired},e.a=l},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(15),a=n.n(o),s=n(19),c=n.n(s),l=n(28),u=n.n(l),h=n(615);var f=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.isStatic=function(){return this.context.router&&this.context.router.staticContext},e.prototype.componentWillMount=function(){u()(this.context.router,"You should not use outside a "),this.isStatic()&&this.perform()},e.prototype.componentDidMount=function(){this.isStatic()||this.perform()},e.prototype.componentDidUpdate=function(t){var e=Object(h.a)(t.to),n=Object(h.a)(this.props.to);Object(h.b)(e,n)?c()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},e.prototype.perform=function(){var t=this.context.router.history,e=this.props,n=e.push,i=e.to;n?t.push(i):t.replace(i)},e.prototype.render=function(){return null},e}(r.a.Component);f.propTypes={push:a.a.bool,from:a.a.string,to:a.a.oneOfType([a.a.string,a.a.object]).isRequired},f.defaultProps={push:!1},f.contextTypes={router:a.a.shape({history:a.a.shape({push:a.a.func.isRequired,replace:a.a.func.isRequired}).isRequired,staticContext:a.a.object}).isRequired},e.a=f},function(t,e,n){"use strict";var i=n(19),r=n.n(i),o=n(28),a=n.n(o),s=n(0),c=n.n(s),l=n(15),u=n.n(l),h=n(110),f=(n.n(h),n(132)),d=Object.assign||function(t){for(var e=1;e",t)}},b=function(){},x=function(t){function e(){var n,i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,o=Array(r),a=0;a ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},e.prototype.render=function(){var t=this.props,e=t.basename,n=(t.context,t.location),i=function(t,e){var n={};for(var i in t)e.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}(t,["basename","context","location"]),r={createHref:this.createHref,action:"POP",location:function(t,e){if(!t)return e;var n=Object(h.addLeadingSlash)(t);return 0!==e.pathname.indexOf(n)?e:d({},e,{pathname:e.pathname.substr(n.length)})}(e,m(n)),push:this.handlePush,replace:this.handleReplace,go:y("go"),goBack:y("goBack"),goForward:y("goForward"),listen:this.handleListen,block:this.handleBlock};return c.a.createElement(f.a,d({},i,{history:r}))},e}(c.a.Component);x.propTypes={basename:u.a.string,context:u.a.object.isRequired,location:u.a.oneOfType([u.a.string,u.a.object])},x.defaultProps={basename:"",location:"/"},x.childContextTypes={router:u.a.object.isRequired},e.a=x},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(15),a=n.n(o),s=n(19),c=n.n(s),l=n(28),u=n.n(l),h=n(133);var f=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,t.apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.componentWillMount=function(){u()(this.context.router,"You should not use outside a ")},e.prototype.componentWillReceiveProps=function(t){c()(!(t.location&&!this.props.location),' elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),c()(!(!t.location&&this.props.location),' elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},e.prototype.render=function(){var t=this.context.router.route,e=this.props.children,n=this.props.location||t.location,i=void 0,o=void 0;return r.a.Children.forEach(e,function(e){if(r.a.isValidElement(e)){var a=e.props,s=a.path,c=a.exact,l=a.strict,u=a.sensitive,f=a.from,d=s||f;null==i&&(o=e,i=d?Object(h.a)(n.pathname,{path:d,exact:c,strict:l,sensitive:u}):t.match)}}),i?r.a.cloneElement(o,{location:n,computedMatch:i}):null},e}(r.a.Component);f.contextTypes={router:a.a.shape({route:a.a.object.isRequired}).isRequired},f.propTypes={children:a.a.node,location:a.a.object},e.a=f},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(15),a=n.n(o),s=n(244),c=n.n(s),l=n(208),u=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n}(e,["wrappedComponentRef"]);return r.a.createElement(l.a,{render:function(e){return r.a.createElement(t,u({},i,e,{ref:n}))}})};return e.displayName="withRouter("+(t.displayName||t.name)+")",e.WrappedComponent=t,e.propTypes={wrappedComponentRef:a.a.func},c()(e,t)}},function(t,e,n){"use strict";n(360),n(361),n(362);var i=n(208);n.d(e,"a",function(){return i.a});n(132),n(363);var r=n(364);n.d(e,"b",function(){return r.a});n(133);var o=n(365);n.d(e,"c",function(){return o.a})},function(t,e,n){"use strict";var i=n(0),r=(n.n(i),n(975));e.a=function(t){return i.createElement("div",{onClick:t.onClick,title:t.title,className:"series-card mg-lg-b "+(t.checked?"card-has-check":""),style:{borderRightColor:t.pegColor?t.pegColor.code:""}},t.children,t.checked&&i.createElement(r.a,{onRemoveSerie:t.onRemoveSerie}))}},function(t,e,n){"use strict";var i=n(0);n.n(i);e.a=function(t){return i.createElement("div",{className:"card-desc v-clamp-2"},i.createElement("p",null,t.children))}},function(t,e,n){"use strict";var i=n(0),r=(n.n(i),this&&this.__assign||Object.assign||function(t){for(var e,n=1,i=arguments.length;n=Object(u.b)(Object(u.e)(e))});return void 0!==n?n.date:""}function y(t,e){if(0===t.length)return{min:0,max:0};var n=t[0].data,i=n.findIndex(function(t){return t.date>=e.start}),r=n.findIndex(function(t){return t.date>=e.end});return i<=0&&(i=0),r<=0&&(r=n.length-1),{min:new Date(n[i].date).getTime(),max:new Date(n[r].date).getTime()}}e.b=Object(a.b)(function(t){return{date:t.date,locale:t.locale,series:t.viewSeries}},{})(m)},function(t,e,n){"use strict";var i,r=n(0),o=(n.n(r),n(134)),a=n(89),s=n(353),c=n(994),l=n(354),u=n(355),h=n(33),f=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),d=n(1008),p=function(t){function e(e){var n=t.call(this,e)||this;return n.afterRender=function(t){n.showLoading(t),n.setExtremes(t),n.props.afterRender&&n.props.afterRender(t)},n.myRef=r.createRef(),Object(l.b)(e.locale),n}return f(e,t),e.prototype.componentDidUpdate=function(){this.notifyChangeSeriesNames(this.yAxisBySeries),this.fixAnimation()},e.prototype.render=function(){var t={axisSides:this.props.seriesAxis,decimalLeftAxis:this.props.decimalLeftAxis,decimalRightAxis:this.props.decimalRightAxis,locale:this.props.locale,series:this.props.series,seriesConfig:this.props.seriesConfig};this.yAxisBySeries=Object(s.b)(t);var e=this.hasSmallTooltip(),n=new c.a(this.props,e).getConfig();n.rangeSelector.inputDateParser=this.inputDateParser();var i=d(n,this.props.chartOptions||{});return r.createElement(u.a,{ref:this.myRef,config:i,callback:this.afterRender})},e.prototype.shouldComponentUpdate=function(t){return this.props.series.every(function(e){return t.series.every(function(t){return e.id!==t.id})})},e.prototype.hasSmallTooltip=function(){var t=this.myRef.current;return null!=t&&void 0!==t.chart.chartElement&&t.chart.chartElement.chartWidth<560},e.prototype.inputDateParser=function(){var t=this;return function(e){var n;if(t.myRef.current.chartRef.getElementsByClassName("highcharts-range-selector")[0].value===e)n=t.props.series[0].data[0].date;else{var i=t.props.series[t.props.series.length-1];n=i.data[i.data.length-1].date}var r=""===e?n:Object(a.a)(e);return Object(a.g)(r)}},e.prototype.showLoading=function(t){0===this.props.series.length&&t.showLoading("Cargando...")},e.prototype.setExtremes=function(t){t.xAxis[0].setExtremes(this.props.range.min,this.props.range.max)},e.prototype.notifyChangeSeriesNames=function(t){if(this.props.dispatch){var e=[];this.props.series.some(function(e){return t[Object(h.c)(e)].opposite})?this.props.series.forEach(function(n){var i=t[Object(h.c)(n)].opposite?n.description+" (der)":n.description+" (izq)";e.push({id:n.id,title:i,representationMode:n.representationMode})}):e=this.props.series.map(function(t){return{id:t.id,title:t.description,representationMode:t.representationMode}}),this.props.dispatch(Object(o.i)(e))}},e.prototype.fixAnimation=function(){this.myRef.current.chart.reflow=function(){}},e}(r.Component);e.a=p},function(t,e,n){"use strict";e.a=function(t){var e=" + ``` * Definir dónde se va a dibujar: @@ -33,7 +33,7 @@ TSExplorer.render('explorer-container', { ```html - +
@@ -144,4 +144,4 @@ TSExplorer.render('explorer-container', { ## Demo online -[https://jsfiddle.net/xoq50pgs/](https://jsfiddle.net/xoq50pgs/) +[https://jsfiddle.net/6mrn5get/](https://jsfiddle.net/6mrn5get/) diff --git a/docs/reference/ts-explorer/index.html b/docs/reference/ts-explorer/index.html index dada70a9..d4afe306 100644 --- a/docs/reference/ts-explorer/index.html +++ b/docs/reference/ts-explorer/index.html @@ -607,14 +607,14 @@

TSExplorer🔗

-

Versión: 2.5.2

+

Versión: 2.5.3

El objeto TSExplorer contiene una one page application con un explorador de series de tiempo, que permite buscar y visualizar series de un catálogo de datos abiertos.

-

Está en el archivo llamado main.js y se aloja versionado en el CDN: https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.2/dist/js/main.js

+

Está en el archivo llamado main.js y se aloja versionado en el CDN: https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.3/dist/js/main.js

¿Cómo lo uso?🔗

  • Importar librería JS:
-
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.2/dist/js/main.js'></script>
+
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.3/dist/js/main.js'></script>
 
@@ -637,7 +637,7 @@

¿Cómo lo uso?<

Ejemplo de uso🔗

<html>
 <body>
-  <script type="text/javascript" src="https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.2/dist/js/main.js"></script>
+  <script type="text/javascript" src="https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.3/dist/js/main.js"></script>
 
   <div id="explorer-container"></div>
 
@@ -748,7 +748,7 @@ 

Tabl

Demo online🔗

-

https://jsfiddle.net/xoq50pgs/

+

https://jsfiddle.net/6mrn5get/

diff --git a/docs/search/search_index.json b/docs/search/search_index.json index 02d4189e..5f114203 100644 --- a/docs/search/search_index.json +++ b/docs/search/search_index.json @@ -1 +1 @@ -{"config":{"lang":["en"],"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"applications/","text":"","title":"Applications"},{"location":"docs/","text":"Explorador de Series de Tiempo \ud83d\udd17 El Explorador de Series de Tiempo es una familia de componentes front-end para desarrollar experiencias web a partir de los datos de la API de Series de Tiempo de la Rep\u00fablica Argentina , donde los organismos de la Administraci\u00f3n P\u00fablica Nacional publican indicadores en formatos abiertos. Si quer\u00e9s integrar un explorador completo en tu sitio web (como el de Datos Argentina ) le\u00e9 la referencia de TSExplorer . Si quer\u00e9s agregar gr\u00e1ficos en tu sitio web le\u00e9 la referencia de TSComponents . Versiones de browsers \ud83d\udd17 El Explorador de Series de Tiempo fue desarrolado utilizando versiones recientes de Firefox y Chrome (57+ y 60+), y soporta Internet Explorer desde la versi\u00f3n 11 en adelante. Si sos usuario de la API de Series de Tiempo y quer\u00e9s estar al tanto de los cambios y novedades, inscribite en la base de contactos de Datos Argentina y eleg\u00ed sobre qu\u00e9 temas quer\u00e9s que te escribamos. \u00bfTen\u00e9s algo que contarnos? Nos encantar\u00eda que nos cuentes por Twitter o por mail qu\u00e9 mejor\u00f3 usar la API en tu trabajo y qu\u00e9 le falta para mejorar a\u00fan m\u00e1s.","title":"Inicio"},{"location":"docs/#explorador-de-series-de-tiempo","text":"El Explorador de Series de Tiempo es una familia de componentes front-end para desarrollar experiencias web a partir de los datos de la API de Series de Tiempo de la Rep\u00fablica Argentina , donde los organismos de la Administraci\u00f3n P\u00fablica Nacional publican indicadores en formatos abiertos. Si quer\u00e9s integrar un explorador completo en tu sitio web (como el de Datos Argentina ) le\u00e9 la referencia de TSExplorer . Si quer\u00e9s agregar gr\u00e1ficos en tu sitio web le\u00e9 la referencia de TSComponents .","title":"Explorador de Series de Tiempo"},{"location":"docs/#versiones-de-browsers","text":"El Explorador de Series de Tiempo fue desarrolado utilizando versiones recientes de Firefox y Chrome (57+ y 60+), y soporta Internet Explorer desde la versi\u00f3n 11 en adelante. Si sos usuario de la API de Series de Tiempo y quer\u00e9s estar al tanto de los cambios y novedades, inscribite en la base de contactos de Datos Argentina y eleg\u00ed sobre qu\u00e9 temas quer\u00e9s que te escribamos. \u00bfTen\u00e9s algo que contarnos? Nos encantar\u00eda que nos cuentes por Twitter o por mail qu\u00e9 mejor\u00f3 usar la API en tu trabajo y qu\u00e9 le falta para mejorar a\u00fan m\u00e1s.","title":"Versiones de browsers"},{"location":"terms/","text":"","title":"Terms"},{"location":"developers/deploy/","text":"Documentaci\u00f3n de deploy \ud83d\udd17 Tenemos 2 formas de deploy: Generaci\u00f3n de github pages y generaci\u00f3n de release para subir al CDN . Github pages \ud83d\udd17 El deploy se puede realizar de dos maneras. Ambas son iguales npm run build-docs make build Y finalmente subir todo al branch default: - git add . - git commit -m \"Deploy a github pages\" - git push Release para CDN \ud83d\udd17 Crear un branch desde la versi\u00f3n que queremos salir: - git checkout -b Generar los archivos para distribuir. Tenemos dos maneras, ambas son iguales: - npm run release - make release Agregar los archivos: - git add dist (basta con agregar s\u00f3lo la carpeta a distribuir) - git commit -m \"Actualizo carpeta dist\" - git push origin Crear un tag: - git tag - git push --tags Con el nombre del tag ya podemos acceder a los archivos que necesitemos: https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@nombreDelTag/dist/js/main.js Actualizar series-tiempo-ar-explorer-demo para usar la versi\u00f3n deseada (en el ejemplo la versi\u00f3n es test_0.4 pero podemos usar cualquiera ya sea para el archivo css o para el js): - Modificar el index.html del directorio root del proyecto demo para cambiar la versi\u00f3n usada de JS y de CSS: - CSS: cambiar la l\u00ednea: ` < link rel = \"stylesheet\" href = \"https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@test_0.4/dist/css/main.css\" type = \"text/css\" > ` . JS: cambiar la l\u00ednea: Las modificaciones de dichas l\u00edneas s\u00f3lo deber\u00edan ser para cambiar la versi\u00f3n, la ruta no deber\u00eda cambiar a menos que se busque usar un archivo distinto.","title":"Despliegue"},{"location":"developers/deploy/#documentacion-de-deploy","text":"Tenemos 2 formas de deploy: Generaci\u00f3n de github pages y generaci\u00f3n de release para subir al CDN .","title":"Documentaci\u00f3n de deploy"},{"location":"developers/deploy/#github-pages","text":"El deploy se puede realizar de dos maneras. Ambas son iguales npm run build-docs make build Y finalmente subir todo al branch default: - git add . - git commit -m \"Deploy a github pages\" - git push","title":"Github pages"},{"location":"developers/deploy/#release-para-cdn","text":"Crear un branch desde la versi\u00f3n que queremos salir: - git checkout -b Generar los archivos para distribuir. Tenemos dos maneras, ambas son iguales: - npm run release - make release Agregar los archivos: - git add dist (basta con agregar s\u00f3lo la carpeta a distribuir) - git commit -m \"Actualizo carpeta dist\" - git push origin Crear un tag: - git tag - git push --tags Con el nombre del tag ya podemos acceder a los archivos que necesitemos: https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@nombreDelTag/dist/js/main.js Actualizar series-tiempo-ar-explorer-demo para usar la versi\u00f3n deseada (en el ejemplo la versi\u00f3n es test_0.4 pero podemos usar cualquiera ya sea para el archivo css o para el js): - Modificar el index.html del directorio root del proyecto demo para cambiar la versi\u00f3n usada de JS y de CSS: - CSS: cambiar la l\u00ednea: ` < link rel = \"stylesheet\" href = \"https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@test_0.4/dist/css/main.css\" type = \"text/css\" > ` . JS: cambiar la l\u00ednea: Las modificaciones de dichas l\u00edneas s\u00f3lo deber\u00edan ser para cambiar la versi\u00f3n, la ruta no deber\u00eda cambiar a menos que se busque usar un archivo distinto.","title":"Release para CDN"},{"location":"developers/install/","text":"Setup \ud83d\udd17 Requerimientos \ud83d\udd17 Este proyecto requiere Node v8.9.4 o superior (npm v6.0.0). Puede ser instalado con nvm Instalar node y npm. nvm install 8.9.4 O v\u00eda package manager: curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - sudo apt-get install -y nodejs Desarrollo \ud83d\udd17 Instalar hooks git hooks install Instalar dependencias: npm install Iniciar web server make watch para levantar el servidor en localhost:3000 Desarrollo de componentes exportables \ud83d\udd17 Se puede iniciar un servidor web para servir un dashboard que utiliza los componentes exportables usando make components-watch Para mas info: react documentation Problemas comunes \ud83d\udd17 npm start : Error al iniciar el server. Soluci\u00f3n: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p Para correr los tests de un archivo en particular: npm test -- -- why the \"--\" magick incantation Debugging en VS code \ud83d\udd17 Usar esta launch configuration { \"name\": \"Debug Jest Tests\", \"type\": \"node\", \"request\": \"launch\", \"runtimeArgs\": [\"--inspect-brk\", \" ${ workspaceRoot } /scripts/test.js\", \"--runInBand\", \"--env=jsdom\"], \"port\": 9229, \"console\": \"integratedTerminal\", \"internalConsoleOptions\": \"neverOpen\" }","title":"Instalaci\u00f3n"},{"location":"developers/install/#setup","text":"","title":"Setup"},{"location":"developers/install/#requerimientos","text":"Este proyecto requiere Node v8.9.4 o superior (npm v6.0.0). Puede ser instalado con nvm Instalar node y npm. nvm install 8.9.4 O v\u00eda package manager: curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - sudo apt-get install -y nodejs","title":"Requerimientos"},{"location":"developers/install/#desarrollo","text":"Instalar hooks git hooks install Instalar dependencias: npm install Iniciar web server make watch para levantar el servidor en localhost:3000","title":"Desarrollo"},{"location":"developers/install/#desarrollo-de-componentes-exportables","text":"Se puede iniciar un servidor web para servir un dashboard que utiliza los componentes exportables usando make components-watch Para mas info: react documentation","title":"Desarrollo de componentes exportables"},{"location":"developers/install/#problemas-comunes","text":"npm start : Error al iniciar el server. Soluci\u00f3n: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p Para correr los tests de un archivo en particular: npm test -- -- why the \"--\" magick incantation","title":"Problemas comunes"},{"location":"developers/install/#debugging-en-vs-code","text":"Usar esta launch configuration { \"name\": \"Debug Jest Tests\", \"type\": \"node\", \"request\": \"launch\", \"runtimeArgs\": [\"--inspect-brk\", \" ${ workspaceRoot } /scripts/test.js\", \"--runInBand\", \"--env=jsdom\"], \"port\": 9229, \"console\": \"integratedTerminal\", \"internalConsoleOptions\": \"neverOpen\" }","title":"Debugging en VS code"},{"location":"reference/ts-components/","text":"TSComponents \ud83d\udd17 Versi\u00f3n : 2.6.8 El objeto TSComponents contiene distintos componentes exportables que se pueden utilizar dentro de una experiencia web. Est\u00e1 en el archivo llamado components.js y se aloja versionado en el CDN: https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js Componentes \ud83d\udd17 graphic : gr\u00e1fico de l\u00edneas, barras o \u00e1rea usado en el explorador de series de tiempo con todas sus funcionalidades. card : tarjeta con informaci\u00f3n de la serie y un gr\u00e1fico inclu\u00eddo con sus datos. \u00bfC\u00f3mo los uso? \ud83d\udd17 Todos los componentes se usan de la misma manera. Importar librer\u00eda JS: < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js' > Importar hoja de estilos CSS: < link rel = 'stylesheet' type = 'text/css' href = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/css/components.css' /> Definir d\u00f3nde se va a dibujar: < div id = \"graphic_01\" > < div id = \"card_01\" > Instanciar el componente que buscamos: TSComponents . Graphic . render ( 'graphic_01' , { ... }) TSComponents . Card . render ( 'card_01' , { ... })","title":"TSComponents"},{"location":"reference/ts-components/#tscomponents","text":"Versi\u00f3n : 2.6.8 El objeto TSComponents contiene distintos componentes exportables que se pueden utilizar dentro de una experiencia web. Est\u00e1 en el archivo llamado components.js y se aloja versionado en el CDN: https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js","title":"TSComponents"},{"location":"reference/ts-components/#componentes","text":"graphic : gr\u00e1fico de l\u00edneas, barras o \u00e1rea usado en el explorador de series de tiempo con todas sus funcionalidades. card : tarjeta con informaci\u00f3n de la serie y un gr\u00e1fico inclu\u00eddo con sus datos.","title":"Componentes"},{"location":"reference/ts-components/#como-los-uso","text":"Todos los componentes se usan de la misma manera. Importar librer\u00eda JS: < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js' > Importar hoja de estilos CSS: < link rel = 'stylesheet' type = 'text/css' href = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/css/components.css' /> Definir d\u00f3nde se va a dibujar: < div id = \"graphic_01\" > < div id = \"card_01\" > Instanciar el componente que buscamos: TSComponents . Graphic . render ( 'graphic_01' , { ... }) TSComponents . Card . render ( 'card_01' , { ... })","title":"\u00bfC\u00f3mo los uso?"},{"location":"reference/ts-explorer/","text":"TSExplorer \ud83d\udd17 Versi\u00f3n : 2.5.2 El objeto TSExplorer contiene una one page application con un explorador de series de tiempo, que permite buscar y visualizar series de un cat\u00e1logo de datos abiertos. Est\u00e1 en el archivo llamado main.js y se aloja versionado en el CDN: https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.2/dist/js/main.js \u00bfC\u00f3mo lo uso? \ud83d\udd17 Importar librer\u00eda JS: < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.2/dist/js/main.js' > Definir d\u00f3nde se va a dibujar: < div id = \"explorer-container\" > Instanciar el explorador: TSExplorer . render ( 'explorer-container' , { ... }) Ejemplo de uso \ud83d\udd17 < html > < body > < script type = \"text/javascript\" src = \"https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.2/dist/js/main.js\" > < div id = \"explorer-container\" > < script > window . onload = function () { TSExplorer . render ( 'explorer-container' , { featured : [ \"103.1_I2N_2016_M_15\" , \"168.1_T_CAMBIOR_D_0_0_26\" , ], seriesApiUri : \"https://apis.datos.gob.ar/series/api\" , catalogId : 'datosgobar' , formatChartUnits : true , laps : { Diaria : 90 , Mensual : 24 , Trimestral : 20 , Semestral : 10 , Anual : 10 , }, locale : 'AR' }) } Tabla de par\u00e1metros \ud83d\udd17 Nombre Requerido Descripci\u00f3n Tipo Default Ejemplos seriesApiUri Si URI a la API donde buscamos los datos. string Ninguno https://apis.datos.gob.ar/series/api featured No Indica los IDs de las series destacadas string[] [] [\"103.1_I2N_2016_M_15\", \"168.1_T_CAMBIOR_D_0_0_26\"] catalogId No Representa el id del cat\u00e1logo de donde busca las series string Ninguno datosgobar formatChartUnits No Indica si debe formatear a porcentaje los valores entre -1 y 1. boolean true true / false laps No Informaci\u00f3n para traer los \u00faltimos _n_ valores de la serie, con _n_ igual al valor por frecuencia. {Diaria: number, Mensual: number, Trimestral: number, Semestral: number, Anual: number} object true true / false locale No Valores posibles: `\"AR\"` o `\"US\"` (pendientes nuevos valores). Representan qu\u00e9 _locale_ usar para formatear n\u00fameros, es decir, separadores de miles o de decimales. string \"AR\" \"AR\" / \"US\" maxDecimals No Cantidad m\u00e1xima de cifras decimales a mostrar para los valores de las series, tanto en sus tarjetas destacadas, como resultados de b\u00fasqueda y notas (tooltips) de los gr\u00e1ficos. int 2 0/4/1 heroImageUrl No URL de la imagen a mostrar de fondo en el banner del encabezado. string https://datos.gob.ar/images/hero_bg.svg 0/4/1 Demo online \ud83d\udd17 https://jsfiddle.net/xoq50pgs/","title":"TSExplorer"},{"location":"reference/ts-explorer/#tsexplorer","text":"Versi\u00f3n : 2.5.2 El objeto TSExplorer contiene una one page application con un explorador de series de tiempo, que permite buscar y visualizar series de un cat\u00e1logo de datos abiertos. Est\u00e1 en el archivo llamado main.js y se aloja versionado en el CDN: https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.2/dist/js/main.js","title":"TSExplorer"},{"location":"reference/ts-explorer/#como-lo-uso","text":"Importar librer\u00eda JS: < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.2/dist/js/main.js' > Definir d\u00f3nde se va a dibujar: < div id = \"explorer-container\" > Instanciar el explorador: TSExplorer . render ( 'explorer-container' , { ... })","title":"\u00bfC\u00f3mo lo uso?"},{"location":"reference/ts-explorer/#ejemplo-de-uso","text":"< html > < body > < script type = \"text/javascript\" src = \"https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.2/dist/js/main.js\" > < div id = \"explorer-container\" > < script > window . onload = function () { TSExplorer . render ( 'explorer-container' , { featured : [ \"103.1_I2N_2016_M_15\" , \"168.1_T_CAMBIOR_D_0_0_26\" , ], seriesApiUri : \"https://apis.datos.gob.ar/series/api\" , catalogId : 'datosgobar' , formatChartUnits : true , laps : { Diaria : 90 , Mensual : 24 , Trimestral : 20 , Semestral : 10 , Anual : 10 , }, locale : 'AR' }) } ","title":"Ejemplo de uso"},{"location":"reference/ts-explorer/#tabla-de-parametros","text":"Nombre Requerido Descripci\u00f3n Tipo Default Ejemplos seriesApiUri Si URI a la API donde buscamos los datos. string Ninguno https://apis.datos.gob.ar/series/api featured No Indica los IDs de las series destacadas string[] [] [\"103.1_I2N_2016_M_15\", \"168.1_T_CAMBIOR_D_0_0_26\"] catalogId No Representa el id del cat\u00e1logo de donde busca las series string Ninguno datosgobar formatChartUnits No Indica si debe formatear a porcentaje los valores entre -1 y 1. boolean true true / false laps No Informaci\u00f3n para traer los \u00faltimos _n_ valores de la serie, con _n_ igual al valor por frecuencia. {Diaria: number, Mensual: number, Trimestral: number, Semestral: number, Anual: number} object true true / false locale No Valores posibles: `\"AR\"` o `\"US\"` (pendientes nuevos valores). Representan qu\u00e9 _locale_ usar para formatear n\u00fameros, es decir, separadores de miles o de decimales. string \"AR\" \"AR\" / \"US\" maxDecimals No Cantidad m\u00e1xima de cifras decimales a mostrar para los valores de las series, tanto en sus tarjetas destacadas, como resultados de b\u00fasqueda y notas (tooltips) de los gr\u00e1ficos. int 2 0/4/1 heroImageUrl No URL de la imagen a mostrar de fondo en el banner del encabezado. string https://datos.gob.ar/images/hero_bg.svg 0/4/1","title":"Tabla de par\u00e1metros"},{"location":"reference/ts-explorer/#demo-online","text":"https://jsfiddle.net/xoq50pgs/","title":"Demo online"},{"location":"reference/ts-components/card/","text":"Componente: card \ud83d\udd17 El componente card permite embeber tarjetas con informaci\u00f3n de la serie, y un gr\u00e1fico inclu\u00eddo dentro de la misma, en sitios web. .row { width: 90%; margin: auto; display: flex; justify-content: space-around; } Ejemplo base \ud83d\udd17 Ver online: https://jsfiddle.net/5skv3ocw/ < link type = \"text/css\" rel = \"stylesheet\" href = \"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/all.min.css\" media = \"all\" /> < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js' > < link rel = 'stylesheet' type = 'text/css' href = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/css/components.css' /> < div id = \"tmi\" > < script > window . onload = function () { TSComponents . Card . render ( 'tmi' , { // ID de la serie solicitada serieId : '143.3_NO_PR_2004_A_21' }) } Tabla de par\u00e1metros \ud83d\udd17 Nombre Requerido Descripci\u00f3n Tipo Default Ejemplos serieId Si ID de la serie a buscar. string Ninguno 143.3_NO_PR_2004_A_21 locale No Valores posibles: \"AR\" o \"US\" (pendientes nuevos valores). Representan qu\u00e9 _locale_ usar para formatear n\u00fameros, es decir, separadores de miles o de decimales. string AR AR o US links No Indica qu\u00e9 enlaces a mostrar bajo la tarjeta para descargar o compartir la misma. string full small color No Indica el color a usar para el n\u00famero y el borde de la tarjeta. string #0072BB red hasChart No Indica el tipo de gr\u00e1fico a usar dentro de la tarjeta. string small full explicitSign No Permite forzar la presencia de un signo antepuesto al valor mostrado; es decir, si dicho valor resultara positivo, ser\u00e1 precedido por un signo de adici\u00f3n ('+'). Por defecto, se encuentra desactivado. booleano false true title No Especifica el t\u00edtulo de la tarjeta. De no definirse, se considera el t\u00edtulo por defecto de la serie; de definirse como '', se lo omite. string Ninguno Un t\u00edtulo personalizado source No Especifica el texto al pie de la tarjeta, que refiere a la fuente de la informaci\u00f3n. De no definirse, se considera la fuente por defecto de la serie; de definirse como '', se la omite. string Ninguno Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud units No Especifica el texto al pie de la tarjeta, que refiere a las unidades en que se mide el valor mostrado. De no definirse, se consideran las unidades por defecto de la serie; de definirse como '', se las omite. string Ninguno Millones de pesos hasFrame No Permite forzar la presencia de un marco alrededor de la tarjeta y un fondo blanco para la misma. De no estar definido, la tarjeta tendr\u00e1 marco si tiene al menos gr\u00e1fico o enlaces. booleano Ninguno true hasColorBar No Permite forzar la presencia de la barra de color (el mismo que posee el n\u00famero) en el borde superior de la tarjeta. De no estar definido, la barr\u00e1 estar\u00e1 presente s\u00f3lo si la tarjeta posee marco. booleano Ninguno false collapse No Permite cambiar la frecuencia en la que se muestra la serie. Mediante este par\u00e1metro se puede hacer, por ejemplo, un agregado anual para una serie que tiene una frecuencia diaria. Las limitaciones del campo son que la frecuencia elegida tiene que ser menor o igual a la frecuencia por defecto de la serie, si no lo es entonces el gr\u00e1fico no se mostrar\u00e1 (Ej: si la serie tiene frecuencia semestral, 'collapse' puede ser solo o 'semester' o 'year'). string Ninguno 'day', 'month', 'quarter', 'semester', 'year' apiBaseUrl No Permite cambiar la URL de la API a la cual se le pedir\u00e1 la serie representada en la tarjeta. A dicha url se le adjuntar\u00e1 el texto '/series/?ids=serieId' al final. string 'http://apis.datos.gob.ar/series/api' 'http://miurl.apis.com/datos' decimals No Permite elegir cu\u00e1ntos d\u00edgitos decimales mostrar en el valor de la tarjeta. Debe ser mayor o igual a 0. Redondea los valores en caso de ser menor a la cantidad de d\u00edgitos original del valor; completa con 0s en caso contrario. int 2 5 Ejemplo completo \ud83d\udd17 < html > < body > < script type = 'text/javascript' src = 'components.js' > < div id = \"card1\" > < script > window . onload = function () { TSComponents . Card . render ( 'card1' , { serieId : '143.3_NO_PR_2004_A_21' , hasChart : 'small' , links : 'full' , locale : 'AR' , color : '#F9A822' , explicitSign : true , title : 'Titulo personalizado' , source : 'Fuente primaria: Mi Fuente' , units : '' , hasFrame : false , hasColorBar : true , collapse : 'year' , apiBaseUrl : 'http://apis.datos.gob.ar/series/api' }) } Demo online \ud83d\udd17 https://jsfiddle.net/5skv3ocw/ Variantes de tarjetas \ud83d\udd17 Card: default \ud83d\udd17 Card: menos links \ud83d\udd17 Card: sin links \ud83d\udd17 Card: m\u00ednima \ud83d\udd17 Card: m\u00ednima (eliminando elementos) \ud83d\udd17 window.onload = function() { TSComponents.Card.render('ipc', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', hasChart: 'small', title: \"Indice de Precios al Consumidor Nacional\", links: \"none\" }) TSComponents.Card.render('exportaciones', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, hasChart: 'small', title: \"Exportaciones\", links: \"none\" }) TSComponents.Card.render('ipc-card', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', hasChart: 'small', title: \"Indice de Precios al Consumidor Nacional\" }) TSComponents.Card.render('exportaciones-card', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, hasChart: 'small', title: \"Exportaciones\" }) TSComponents.Card.render('ipc-card-links2', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', hasChart: 'small', links: \"small\", title: \"Indice de Precios al Consumidor Nacional\" }) TSComponents.Card.render('exportaciones-card-links2', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, hasChart: 'small', links: \"small\", title: \"Exportaciones\" }) TSComponents.Card.render('ipc-card-med', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', hasChart: 'small', links: \"none\", title: \"Indice de Precios al Consumidor Nacional\" }) TSComponents.Card.render('exportaciones-card-med', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, hasChart: 'small', links: \"none\", title: \"Exportaciones\", hasFrame: false }) TSComponents.Card.render('ipc-card-min', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', links: 'none', hasChart: \"none\", title: \"Indice de Precios al Consumidor Nacional\" }) TSComponents.Card.render('exportaciones-card-min', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, links: 'none', hasChart: \"none\", title: \"Exportaciones\", hasColorBar: true }) TSComponents.Card.render('ipc-card-min-xtreme', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', links: 'none', hasChart: \"none\", title: \"\", units: \"\", source: \"\" }) TSComponents.Card.render('exportaciones-card-min-xtreme', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, links: 'none', hasChart: \"none\", title: \"\", units: \"\", source: \"\" }) }","title":"TSComponents: Card"},{"location":"reference/ts-components/card/#componente-card","text":"El componente card permite embeber tarjetas con informaci\u00f3n de la serie, y un gr\u00e1fico inclu\u00eddo dentro de la misma, en sitios web. .row { width: 90%; margin: auto; display: flex; justify-content: space-around; }","title":"Componente: card"},{"location":"reference/ts-components/card/#ejemplo-base","text":"Ver online: https://jsfiddle.net/5skv3ocw/ < link type = \"text/css\" rel = \"stylesheet\" href = \"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/all.min.css\" media = \"all\" /> < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js' > < link rel = 'stylesheet' type = 'text/css' href = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/css/components.css' /> < div id = \"tmi\" > < script > window . onload = function () { TSComponents . Card . render ( 'tmi' , { // ID de la serie solicitada serieId : '143.3_NO_PR_2004_A_21' }) } ","title":"Ejemplo base"},{"location":"reference/ts-components/card/#tabla-de-parametros","text":"Nombre Requerido Descripci\u00f3n Tipo Default Ejemplos serieId Si ID de la serie a buscar. string Ninguno 143.3_NO_PR_2004_A_21 locale No Valores posibles: \"AR\" o \"US\" (pendientes nuevos valores). Representan qu\u00e9 _locale_ usar para formatear n\u00fameros, es decir, separadores de miles o de decimales. string AR AR o US links No Indica qu\u00e9 enlaces a mostrar bajo la tarjeta para descargar o compartir la misma. string full small color No Indica el color a usar para el n\u00famero y el borde de la tarjeta. string #0072BB red hasChart No Indica el tipo de gr\u00e1fico a usar dentro de la tarjeta. string small full explicitSign No Permite forzar la presencia de un signo antepuesto al valor mostrado; es decir, si dicho valor resultara positivo, ser\u00e1 precedido por un signo de adici\u00f3n ('+'). Por defecto, se encuentra desactivado. booleano false true title No Especifica el t\u00edtulo de la tarjeta. De no definirse, se considera el t\u00edtulo por defecto de la serie; de definirse como '', se lo omite. string Ninguno Un t\u00edtulo personalizado source No Especifica el texto al pie de la tarjeta, que refiere a la fuente de la informaci\u00f3n. De no definirse, se considera la fuente por defecto de la serie; de definirse como '', se la omite. string Ninguno Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud units No Especifica el texto al pie de la tarjeta, que refiere a las unidades en que se mide el valor mostrado. De no definirse, se consideran las unidades por defecto de la serie; de definirse como '', se las omite. string Ninguno Millones de pesos hasFrame No Permite forzar la presencia de un marco alrededor de la tarjeta y un fondo blanco para la misma. De no estar definido, la tarjeta tendr\u00e1 marco si tiene al menos gr\u00e1fico o enlaces. booleano Ninguno true hasColorBar No Permite forzar la presencia de la barra de color (el mismo que posee el n\u00famero) en el borde superior de la tarjeta. De no estar definido, la barr\u00e1 estar\u00e1 presente s\u00f3lo si la tarjeta posee marco. booleano Ninguno false collapse No Permite cambiar la frecuencia en la que se muestra la serie. Mediante este par\u00e1metro se puede hacer, por ejemplo, un agregado anual para una serie que tiene una frecuencia diaria. Las limitaciones del campo son que la frecuencia elegida tiene que ser menor o igual a la frecuencia por defecto de la serie, si no lo es entonces el gr\u00e1fico no se mostrar\u00e1 (Ej: si la serie tiene frecuencia semestral, 'collapse' puede ser solo o 'semester' o 'year'). string Ninguno 'day', 'month', 'quarter', 'semester', 'year' apiBaseUrl No Permite cambiar la URL de la API a la cual se le pedir\u00e1 la serie representada en la tarjeta. A dicha url se le adjuntar\u00e1 el texto '/series/?ids=serieId' al final. string 'http://apis.datos.gob.ar/series/api' 'http://miurl.apis.com/datos' decimals No Permite elegir cu\u00e1ntos d\u00edgitos decimales mostrar en el valor de la tarjeta. Debe ser mayor o igual a 0. Redondea los valores en caso de ser menor a la cantidad de d\u00edgitos original del valor; completa con 0s en caso contrario. int 2 5","title":"Tabla de par\u00e1metros"},{"location":"reference/ts-components/card/#ejemplo-completo","text":"< html > < body > < script type = 'text/javascript' src = 'components.js' > < div id = \"card1\" > < script > window . onload = function () { TSComponents . Card . render ( 'card1' , { serieId : '143.3_NO_PR_2004_A_21' , hasChart : 'small' , links : 'full' , locale : 'AR' , color : '#F9A822' , explicitSign : true , title : 'Titulo personalizado' , source : 'Fuente primaria: Mi Fuente' , units : '' , hasFrame : false , hasColorBar : true , collapse : 'year' , apiBaseUrl : 'http://apis.datos.gob.ar/series/api' }) } ","title":"Ejemplo completo"},{"location":"reference/ts-components/card/#demo-online","text":"https://jsfiddle.net/5skv3ocw/","title":"Demo online"},{"location":"reference/ts-components/card/#variantes-de-tarjetas","text":"","title":"Variantes de tarjetas"},{"location":"reference/ts-components/card/#card-default","text":"","title":"Card: default"},{"location":"reference/ts-components/card/#card-menos-links","text":"","title":"Card: menos links"},{"location":"reference/ts-components/card/#card-sin-links","text":"","title":"Card: sin links"},{"location":"reference/ts-components/card/#card-minima","text":"","title":"Card: m\u00ednima"},{"location":"reference/ts-components/card/#card-minima-eliminando-elementos","text":"window.onload = function() { TSComponents.Card.render('ipc', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', hasChart: 'small', title: \"Indice de Precios al Consumidor Nacional\", links: \"none\" }) TSComponents.Card.render('exportaciones', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, hasChart: 'small', title: \"Exportaciones\", links: \"none\" }) TSComponents.Card.render('ipc-card', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', hasChart: 'small', title: \"Indice de Precios al Consumidor Nacional\" }) TSComponents.Card.render('exportaciones-card', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, hasChart: 'small', title: \"Exportaciones\" }) TSComponents.Card.render('ipc-card-links2', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', hasChart: 'small', links: \"small\", title: \"Indice de Precios al Consumidor Nacional\" }) TSComponents.Card.render('exportaciones-card-links2', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, hasChart: 'small', links: \"small\", title: \"Exportaciones\" }) TSComponents.Card.render('ipc-card-med', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', hasChart: 'small', links: \"none\", title: \"Indice de Precios al Consumidor Nacional\" }) TSComponents.Card.render('exportaciones-card-med', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, hasChart: 'small', links: \"none\", title: \"Exportaciones\", hasFrame: false }) TSComponents.Card.render('ipc-card-min', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', links: 'none', hasChart: \"none\", title: \"Indice de Precios al Consumidor Nacional\" }) TSComponents.Card.render('exportaciones-card-min', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, links: 'none', hasChart: \"none\", title: \"Exportaciones\", hasColorBar: true }) TSComponents.Card.render('ipc-card-min-xtreme', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', links: 'none', hasChart: \"none\", title: \"\", units: \"\", source: \"\" }) TSComponents.Card.render('exportaciones-card-min-xtreme', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, links: 'none', hasChart: \"none\", title: \"\", units: \"\", source: \"\" }) }","title":"Card: m\u00ednima (eliminando elementos)"},{"location":"reference/ts-components/examples/","text":".row { width: 90%; margin: auto; display: flex; justify-content: space-around; } .btn-primary { color: #ffffff; background-color: #0072bb; } Ejemplos: \ud83d\udd17 El prop\u00f3sito de este documento es mostrar ejemplos recomendados de implementar los componentes exportables (Card, Graphic). Para conocer la forma de implementar correctamente cada componente, referirse a la documentaci\u00f3n propia del mismo. Ejemplos Card: \ud83d\udd17 Indicadores destacados (m\u00ednimo): \ud83d\udd17 Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"indicador-min\" > < script > window . onload = function () { TSComponents . Card . render ( 'indicador-min' , { serieId : 'tcrse_QpvjK1:percent_change_a_year_ago' , color : '#0072BB' , hasChart : 'none' , title : \"TCRSE. Otros Cultivos.\" , links : \"none\" , hasFrame : false , explicitSign : true , source : \"Fuente: Secretar\u00eda de la Transformaci\u00f3n Productiva\" }) } Indicadores destacados (con mini-gr\u00e1fico): \ud83d\udd17 Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"indicador-graph\" > < script > window . onload = function () { TSComponents . Card . render ( 'indicador-graph' , { serieId : 'tmi_arg' , color : '#2E7D33' , hasChart : 'small' , links : \"none\" , hasFrame : false }) } Indicadores destacados (con tarjeta clickeable): \ud83d\udd17 Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"indicador-click\" > < script > window . onload = function () { TSComponents . Card . render ( 'indicador-click' , { serieId : 'defensa_FAA_0006' , color : '#C62828' , hasChart : 'small' , title : \"Personal Femenino en la Fuerza A\u00e9rea\" , links : \"none\" , }) } Indicadores destacados (con enlaces de descarga): \ud83d\udd17 Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"indicador-link\" > < script > window . onload = function () { TSComponents . Card . render ( 'indicador-min' , { serieId : '77.3_IEB_0_A_24' , color : '#F9A822' , hasChart : 'small' , title : \"Exportaciones FOB a Brasil\" , units : \"Millones de USD\" , }) } Ejemplos Graph: \ud83d\udd17 Graph destacado simple: \ud83d\udd17 Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"container\" > < div class = \"row\" > < div class = \"col-sm-12\" id = \"graph-simple\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'graph-simple' , { \u2003\u2003\u2003\u2003 graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=143.3_NO_PR_2004_A_21:percent_change_a_year_ago,116.4_TCRZE_2015_D_36_4' , \u2003\u2003\u2003\u2003 zoom : false , \u2003\u2003\u2003\u2003 chartTypes : { '143.3_NO_PR_2004_A_21:percent_change_a_year_ago' : 'column' }, \u2003\u2003\u2003\u2003 title : 'Nivel de Actividad y Tipo de Cambio Real Multilateral' , \u2003\u2003\u2003\u2003 source : 'Fuente: Instituto Nacional de Estad\u00edstica y Censos (INDEC), Banco Central de la Rep\u00fablica Argentina (BCRA)' , \u2003\u2003\u2003\u2003 navigator : false }) } Graph destacado con zoom: \ud83d\udd17 Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"graph-zoom\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'graph-zoom' , { graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=33.2_ISAC_SIN_EDAD_0_M_23_56:percent_change_a_year_ago&last=12' , title : 'Indicador sint\u00e9tico de la actividad de la construcci\u00f3n (ISAC)' , source : 'Var % interanual. Fuente: Instituto Nacional de Estad\u00edstica y Censos (INDEC)' , chartTypes : { \"33.2_ISAC_SIN_EDAD_0_M_23_56\" : \"column\" }, zoom : false , navigator : true , }) } Graph destacado con navegador y zoom: \ud83d\udd17 Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"graph-nav-zoom\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'graph-nav-zoom' , { graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=151.1_TL_SIN_TAC_2012_M_15,151.1_TL_ESTADAD_2012_M_20&last=12' , title : 'Cantidad de trabajadores registrados' , source : 'Cantidades. Fuente: Ministerio de Trabajo, Empleo y Seguridad Social' , legendField : 'description' , zoom : true , navigator : true }) } Ejemplos Card + Graph: \ud83d\udd17 Indicador con Graph inferior asociado: \ud83d\udd17 Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"container\" > < div class = \"row\" > < div class = \"text-center\" id = \"graph-indicador1\" > < div class = \"row\" > < div id = \"indicator-graph1\" > < script > window . onload = function () { TSComponents . Card . render ( 'graph-indicador1' , { serieId : 'defensa_FAA_0006' , color : '#C62828' , hasChart : 'none' , title : \"\" , links : \"none\" , hasFrame : false , source : \"\" }) TSComponents . Graphic . render ( 'indicator-graph1' , { graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=defensa_FAA_0006' , title : \"Personal Femenino en la Fuerza A\u00e9rea\" , source : \"Fuente: Ministerio de Defensa\" , colors : [ '#C62828' ] }) } Indicador con Graph lateral asociado: \ud83d\udd17 Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"container row panels-row\" > < div id = 'graph-indicator2' > < div style = \"width: 500px; height: 350px;\" id = 'indicator-graph2' > < script > window . onload = function () { TSComponents . Card . render ( 'graph-indicator2' , { serieId : '148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago' , hasChart : \"small\" , title : \"Indicador IPC interanual\" }) TSComponents . Graphic . render ( 'indicator-graph2' , { graphicUrl : \"https://apis.datos.gob.ar/series/api/series?ids=148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago\" , datePickerEnabled : false , zoom : false , title : \"Gr\u00e1fico IPC interanual\" , navigator : false , legendLabel : { \"148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago\" : \"IPC (% interanual)\" } }) } window.onload = function() { TSComponents.Card.render('indicador-min', { serieId: 'tcrse_QpvjK1:percent_change_a_year_ago', color: '#0072BB', hasChart: 'none', title: \"TCRSE. Otros Cultivos.\", links: \"none\", hasFrame: false, explicitSign: true, source: \"Fuente: Secretar\u00eda de la Transformaci\u00f3n Productiva\" }) TSComponents.Card.render('indicador-graph', { serieId: 'tmi_arg', color: '#2E7D33', hasChart: 'small', links: \"none\", hasFrame: false }) TSComponents.Card.render('indicador-click', { serieId: 'defensa_FAA_0006', color: '#C62828', hasChart: 'small', title: \"Personal Femenino en la Fuerza A\u00e9rea\", links: \"none\", }) TSComponents.Card.render('indicador-link', { serieId: '77.3_IEB_0_A_24', color: '#F9A822', hasChart: 'small', title: \"Exportaciones FOB a Brasil\", units: \"Millones de USD\", }) TSComponents.Graphic.render('graph-simple', { \u2003\u2003\u2003\u2003graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=143.3_NO_PR_2004_A_21:percent_change_a_year_ago,116.4_TCRZE_2015_D_36_4', \u2003\u2003\u2003\u2003zoom: false, \u2003\u2003\u2003\u2003chartTypes: {'143.3_NO_PR_2004_A_21:percent_change_a_year_ago': 'column'}, \u2003\u2003\u2003\u2003title: 'Nivel de Actividad y Tipo de Cambio Real Multilateral', \u2003\u2003\u2003\u2003source: 'Fuente: Instituto Nacional de Estad\u00edstica y Censos (INDEC), Banco Central de la Rep\u00fablica Argentina (BCRA)', \u2003\u2003\u2003\u2003navigator: false }) TSComponents.Graphic.render('graph-zoom', { graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=33.2_ISAC_SIN_EDAD_0_M_23_56:percent_change_a_year_ago&last=12', title: 'Indicador sint\u00e9tico de la actividad de la construcci\u00f3n (ISAC)', source: 'Var % interanual. Fuente: Instituto Nacional de Estad\u00edstica y Censos (INDEC)', chartTypes: { \"33.2_ISAC_SIN_EDAD_0_M_23_56\": \"column\" }, zoom: false, navigator: true, }) TSComponents.Graphic.render('graph-nav-zoom', { graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=151.1_TL_SIN_TAC_2012_M_15,151.1_TL_ESTADAD_2012_M_20&last=12', title: 'Cantidad de trabajadores registrados', source: 'Cantidades. Fuente: Ministerio de Trabajo, Empleo y Seguridad Social', legendField: 'description', zoom: true, navigator: true }) TSComponents.Card.render('graph-indicador1', { serieId: 'defensa_FAA_0006', color: '#C62828', hasChart: 'none', title: \"\", links: \"none\", hasFrame: false, source: \"\" }) TSComponents.Graphic.render('indicator-graph1', { graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=defensa_FAA_0006', title: \"Personal Femenino en la Fuerza A\u00e9rea\", source: \"Fuente: Ministerio de Defensa\", colors: ['#C62828'] }) TSComponents.Card.render('graph-indicator2', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago', hasChart: \"small\", title: \"Indicador IPC interanual\" }) TSComponents.Graphic.render('indicator-graph2', { graphicUrl: \"https://apis.datos.gob.ar/series/api/series?ids=148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago\", datePickerEnabled: false, zoom: false, title: \"Gr\u00e1fico IPC interanual\", navigator: false, legendLabel: { \"148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago\": \"IPC (% interanual)\" } }) }","title":"TSComponents: Ejemplos"},{"location":"reference/ts-components/examples/#ejemplos","text":"El prop\u00f3sito de este documento es mostrar ejemplos recomendados de implementar los componentes exportables (Card, Graphic). Para conocer la forma de implementar correctamente cada componente, referirse a la documentaci\u00f3n propia del mismo.","title":"Ejemplos:"},{"location":"reference/ts-components/examples/#ejemplos-card","text":"","title":"Ejemplos Card:"},{"location":"reference/ts-components/examples/#indicadores-destacados-minimo","text":"","title":"Indicadores destacados (m\u00ednimo):"},{"location":"reference/ts-components/examples/#ejemplo","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/examples/#codigo","text":"< div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"indicador-min\" > < script > window . onload = function () { TSComponents . Card . render ( 'indicador-min' , { serieId : 'tcrse_QpvjK1:percent_change_a_year_ago' , color : '#0072BB' , hasChart : 'none' , title : \"TCRSE. Otros Cultivos.\" , links : \"none\" , hasFrame : false , explicitSign : true , source : \"Fuente: Secretar\u00eda de la Transformaci\u00f3n Productiva\" }) } ","title":"C\u00f3digo:"},{"location":"reference/ts-components/examples/#indicadores-destacados-con-mini-grafico","text":"","title":"Indicadores destacados (con mini-gr\u00e1fico):"},{"location":"reference/ts-components/examples/#ejemplo_1","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/examples/#codigo_1","text":"< div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"indicador-graph\" > < script > window . onload = function () { TSComponents . Card . render ( 'indicador-graph' , { serieId : 'tmi_arg' , color : '#2E7D33' , hasChart : 'small' , links : \"none\" , hasFrame : false }) } ","title":"C\u00f3digo:"},{"location":"reference/ts-components/examples/#indicadores-destacados-con-tarjeta-clickeable","text":"","title":"Indicadores destacados (con tarjeta clickeable):"},{"location":"reference/ts-components/examples/#ejemplo_2","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/examples/#codigo_2","text":"< div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"indicador-click\" > < script > window . onload = function () { TSComponents . Card . render ( 'indicador-click' , { serieId : 'defensa_FAA_0006' , color : '#C62828' , hasChart : 'small' , title : \"Personal Femenino en la Fuerza A\u00e9rea\" , links : \"none\" , }) } ","title":"C\u00f3digo:"},{"location":"reference/ts-components/examples/#indicadores-destacados-con-enlaces-de-descarga","text":"","title":"Indicadores destacados (con enlaces de descarga):"},{"location":"reference/ts-components/examples/#ejemplo_3","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/examples/#codigo_3","text":"< div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"indicador-link\" > < script > window . onload = function () { TSComponents . Card . render ( 'indicador-min' , { serieId : '77.3_IEB_0_A_24' , color : '#F9A822' , hasChart : 'small' , title : \"Exportaciones FOB a Brasil\" , units : \"Millones de USD\" , }) } ","title":"C\u00f3digo:"},{"location":"reference/ts-components/examples/#ejemplos-graph","text":"","title":"Ejemplos Graph:"},{"location":"reference/ts-components/examples/#graph-destacado-simple","text":"","title":"Graph destacado simple:"},{"location":"reference/ts-components/examples/#ejemplo_4","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/examples/#codigo_4","text":"< div class = \"container\" > < div class = \"row\" > < div class = \"col-sm-12\" id = \"graph-simple\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'graph-simple' , { \u2003\u2003\u2003\u2003 graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=143.3_NO_PR_2004_A_21:percent_change_a_year_ago,116.4_TCRZE_2015_D_36_4' , \u2003\u2003\u2003\u2003 zoom : false , \u2003\u2003\u2003\u2003 chartTypes : { '143.3_NO_PR_2004_A_21:percent_change_a_year_ago' : 'column' }, \u2003\u2003\u2003\u2003 title : 'Nivel de Actividad y Tipo de Cambio Real Multilateral' , \u2003\u2003\u2003\u2003 source : 'Fuente: Instituto Nacional de Estad\u00edstica y Censos (INDEC), Banco Central de la Rep\u00fablica Argentina (BCRA)' , \u2003\u2003\u2003\u2003 navigator : false }) } ","title":"C\u00f3digo:"},{"location":"reference/ts-components/examples/#graph-destacado-con-zoom","text":"","title":"Graph destacado con zoom:"},{"location":"reference/ts-components/examples/#ejemplo_5","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/examples/#codigo_5","text":"< div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"graph-zoom\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'graph-zoom' , { graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=33.2_ISAC_SIN_EDAD_0_M_23_56:percent_change_a_year_ago&last=12' , title : 'Indicador sint\u00e9tico de la actividad de la construcci\u00f3n (ISAC)' , source : 'Var % interanual. Fuente: Instituto Nacional de Estad\u00edstica y Censos (INDEC)' , chartTypes : { \"33.2_ISAC_SIN_EDAD_0_M_23_56\" : \"column\" }, zoom : false , navigator : true , }) } ","title":"C\u00f3digo:"},{"location":"reference/ts-components/examples/#graph-destacado-con-navegador-y-zoom","text":"","title":"Graph destacado con navegador y zoom:"},{"location":"reference/ts-components/examples/#ejemplo_6","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/examples/#codigo_6","text":"< div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"graph-nav-zoom\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'graph-nav-zoom' , { graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=151.1_TL_SIN_TAC_2012_M_15,151.1_TL_ESTADAD_2012_M_20&last=12' , title : 'Cantidad de trabajadores registrados' , source : 'Cantidades. Fuente: Ministerio de Trabajo, Empleo y Seguridad Social' , legendField : 'description' , zoom : true , navigator : true }) } ","title":"C\u00f3digo:"},{"location":"reference/ts-components/examples/#ejemplos-card-graph","text":"","title":"Ejemplos Card + Graph:"},{"location":"reference/ts-components/examples/#indicador-con-graph-inferior-asociado","text":"","title":"Indicador con Graph inferior asociado:"},{"location":"reference/ts-components/examples/#ejemplo_7","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/examples/#codigo_7","text":"< div class = \"container\" > < div class = \"row\" > < div class = \"text-center\" id = \"graph-indicador1\" > < div class = \"row\" > < div id = \"indicator-graph1\" > < script > window . onload = function () { TSComponents . Card . render ( 'graph-indicador1' , { serieId : 'defensa_FAA_0006' , color : '#C62828' , hasChart : 'none' , title : \"\" , links : \"none\" , hasFrame : false , source : \"\" }) TSComponents . Graphic . render ( 'indicator-graph1' , { graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=defensa_FAA_0006' , title : \"Personal Femenino en la Fuerza A\u00e9rea\" , source : \"Fuente: Ministerio de Defensa\" , colors : [ '#C62828' ] }) } ","title":"C\u00f3digo:"},{"location":"reference/ts-components/examples/#indicador-con-graph-lateral-asociado","text":"","title":"Indicador con Graph lateral asociado:"},{"location":"reference/ts-components/examples/#ejemplo_8","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/examples/#codigo_8","text":"< div class = \"container row panels-row\" > < div id = 'graph-indicator2' > < div style = \"width: 500px; height: 350px;\" id = 'indicator-graph2' > < script > window . onload = function () { TSComponents . Card . render ( 'graph-indicator2' , { serieId : '148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago' , hasChart : \"small\" , title : \"Indicador IPC interanual\" }) TSComponents . Graphic . render ( 'indicator-graph2' , { graphicUrl : \"https://apis.datos.gob.ar/series/api/series?ids=148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago\" , datePickerEnabled : false , zoom : false , title : \"Gr\u00e1fico IPC interanual\" , navigator : false , legendLabel : { \"148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago\" : \"IPC (% interanual)\" } }) } window.onload = function() { TSComponents.Card.render('indicador-min', { serieId: 'tcrse_QpvjK1:percent_change_a_year_ago', color: '#0072BB', hasChart: 'none', title: \"TCRSE. Otros Cultivos.\", links: \"none\", hasFrame: false, explicitSign: true, source: \"Fuente: Secretar\u00eda de la Transformaci\u00f3n Productiva\" }) TSComponents.Card.render('indicador-graph', { serieId: 'tmi_arg', color: '#2E7D33', hasChart: 'small', links: \"none\", hasFrame: false }) TSComponents.Card.render('indicador-click', { serieId: 'defensa_FAA_0006', color: '#C62828', hasChart: 'small', title: \"Personal Femenino en la Fuerza A\u00e9rea\", links: \"none\", }) TSComponents.Card.render('indicador-link', { serieId: '77.3_IEB_0_A_24', color: '#F9A822', hasChart: 'small', title: \"Exportaciones FOB a Brasil\", units: \"Millones de USD\", }) TSComponents.Graphic.render('graph-simple', { \u2003\u2003\u2003\u2003graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=143.3_NO_PR_2004_A_21:percent_change_a_year_ago,116.4_TCRZE_2015_D_36_4', \u2003\u2003\u2003\u2003zoom: false, \u2003\u2003\u2003\u2003chartTypes: {'143.3_NO_PR_2004_A_21:percent_change_a_year_ago': 'column'}, \u2003\u2003\u2003\u2003title: 'Nivel de Actividad y Tipo de Cambio Real Multilateral', \u2003\u2003\u2003\u2003source: 'Fuente: Instituto Nacional de Estad\u00edstica y Censos (INDEC), Banco Central de la Rep\u00fablica Argentina (BCRA)', \u2003\u2003\u2003\u2003navigator: false }) TSComponents.Graphic.render('graph-zoom', { graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=33.2_ISAC_SIN_EDAD_0_M_23_56:percent_change_a_year_ago&last=12', title: 'Indicador sint\u00e9tico de la actividad de la construcci\u00f3n (ISAC)', source: 'Var % interanual. Fuente: Instituto Nacional de Estad\u00edstica y Censos (INDEC)', chartTypes: { \"33.2_ISAC_SIN_EDAD_0_M_23_56\": \"column\" }, zoom: false, navigator: true, }) TSComponents.Graphic.render('graph-nav-zoom', { graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=151.1_TL_SIN_TAC_2012_M_15,151.1_TL_ESTADAD_2012_M_20&last=12', title: 'Cantidad de trabajadores registrados', source: 'Cantidades. Fuente: Ministerio de Trabajo, Empleo y Seguridad Social', legendField: 'description', zoom: true, navigator: true }) TSComponents.Card.render('graph-indicador1', { serieId: 'defensa_FAA_0006', color: '#C62828', hasChart: 'none', title: \"\", links: \"none\", hasFrame: false, source: \"\" }) TSComponents.Graphic.render('indicator-graph1', { graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=defensa_FAA_0006', title: \"Personal Femenino en la Fuerza A\u00e9rea\", source: \"Fuente: Ministerio de Defensa\", colors: ['#C62828'] }) TSComponents.Card.render('graph-indicator2', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago', hasChart: \"small\", title: \"Indicador IPC interanual\" }) TSComponents.Graphic.render('indicator-graph2', { graphicUrl: \"https://apis.datos.gob.ar/series/api/series?ids=148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago\", datePickerEnabled: false, zoom: false, title: \"Gr\u00e1fico IPC interanual\", navigator: false, legendLabel: { \"148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago\": \"IPC (% interanual)\" } }) }","title":"C\u00f3digo:"},{"location":"reference/ts-components/graphic/","text":"Componente: graphic \ud83d\udd17 El componente graphic permite embeber gr\u00e1ficos de l\u00edneas, \u00e1reas o barras en experiencias web. Permite elegir distintos elementos de filtro de fechas, personalizar los textos, etc. Ejemplo base \ud83d\udd17 Ver online: https://jsfiddle.net/bj1n8tum/ window.onload = function() { TSComponents.Graphic.render('tmi', { graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=tmi_arg', title: 'Tasa de Mortalidad Infantil de Argentina', source: 'Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud' }) } Este gr\u00e1fico se genera a partir del siguiente c\u00f3digo: < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js' > < link rel = 'stylesheet' type = 'text/css' href = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/css/components.css' /> < div id = \"tmi\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'tmi' , { // Llamada a la API de Series de Tiempo graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=tmi_arg' , title : 'Tasa de Mortalidad Infantil de Argentina' , source : 'Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud' }) } Tabla de par\u00e1metros \ud83d\udd17 Nombre Requerido Descripci\u00f3n Tipo Default Ejemplos graphicUrl Si URL completa del llamado a la API. string Ninguno https://apis.datos.gob.ar/series/api/series/?ids=tmi_arg chartOptions No Cualquier opci\u00f3n v\u00e1lida para [Highcharts](https://api.highcharts.com/highcharts/). object {} navigator No Indica si est\u00e1 habilitada la funcionalidad de navegaci\u00f3n de la serie. boolean Din\u00e1mico true / false locale No Valores posibles: \"AR\" o \"US\" (pendientes nuevos valores). Representan qu\u00e9 _locale_ usar para formatear n\u00fameros, es decir, separadores de miles o de decimales. string AR AR o US zoom No Indica si tiene habilitada la funcionalidad de zoom. boolean Din\u00e1mico true / false exportable No Indica si tiene habilitada la funcionalidad de exportar el gr\u00e1fico. boolean Din\u00e1mico true / false colors No Paleta de colores alternativa a la default. Los c\u00f3digos de colores pueden ser tanto hexadecimales (ej. \"#00CC44\") como numeros que son mapeados a la paleta por defecto (del 0 al 8) Ver paleta por defecto m\u00e1s abajo. list [\"#0072BB\", \"#2E7D33\", \"#C62828\", \"#F9A822\", \"#6A1B99\", \"#EC407A\", \"#C2185B\", \"#039BE5\", \"#6EA100\"] [0, 1, 2, 3, 4, 5, 6, 7, 8] [\"#2E7D33\", 2, \"#F9A822\"] backgroundColor No Color de fondo del gr\u00e1fico en formato hexadecimal. string #cdcdcd #cdcdcd datePickerEnabled No Indica si el selector de fechas est\u00e1 habilitado. boolean Din\u00e1mica true / false legendField No Indica el campo de la serie a usar para mostrar la leyenda. string 'title' \"title\", \"description\" o \"id\" chartTypes No Especifica el tipo de gr\u00e1fico a usar para cada serie < ./td> object 'line' para todas las series {'tmi_arg': 'column', 'tmi_02': 'line', 'tmi_06': 'area'} title No Especifica el t\u00edtulo el gr\u00e1fico. string Ninguno Tasa de Mortalidad Infantil de Argentina source No Especifica el texto al pie del gr\u00e1fico. string Ninguno Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud displayUnits No Indica si se muestran las unidades del gr\u00e1fico. boolean Din\u00e1mico true / false legendLabel No Especifica el texto a mostrar como leyenda por cada serie. object {} {'serie01': 'leyenda custom'} seriesAxis No Especifica de qu\u00e9 lado del gr\u00e1fico mostrar las ordenadas y unidades de cada serie representada. Puede haber m\u00e1s de una serie en un mismo lado. Si hay una sola serie, debe ir obligatoriamente del lado izquierdo. object {} {'serie01': 'right', 'serie02': 'left'} chartType No Especifica un tipo de gr\u00e1fico para aplicar a todas las series como default. En caso de estar especificado un tipo para una serie en chartTypes, este \u00faltimo ser\u00e1 priorizado para la misma. string 'line' 'line', 'area' o 'column' decimalLeftAxis No Especifica cu\u00e1ntos d\u00edgitos decimales tendr\u00e1n los valores de las ordenadas del eje izquierdo (principal) del gr\u00e1fico. int Ninguno 6 decimalRightAxis No Especifica cu\u00e1ntos d\u00edgitos decimales tendr\u00e1n los valores de las ordenadas del eje derecho (auxiliar) del gr\u00e1fico. int Ninguno 0 decimalTooltips No Especifica cu\u00e1ntos d\u00edgitos decimales mostrar\u00e1 el texto en el tooltip para cada serie, mapeando ids de series con cantidades de decimales. object Ninguno {'serie01': 4, 'serie02': 1} decimalTooltip No Especifica la cantidad de d\u00edgitos decimales a mostrar en el texto del tooltip para toda serie que no lo haya definido en el par\u00e1metro decimalTooltips. int Ninguno 3 Paleta de colores por defecto \ud83d\udd17 Por defecto, la paleta de colores en los que se grafican las series del componente. Cada uno puede ser identificado con un hexadecimal o un entero decimal: #0072BB o 0 , para azul #2E7D33 o 1 , para verde oscuro #C62828 o 2 , para rojo #F9A822 o 3 , para naranja #6A1B99 o 4 , para violeta #EC407A o 5 , para rosa #C2185B o 6 , para fucsia #039BE5 o 7 , para celeste #6EA100 o 8 , para verde claro Asignaci\u00f3n din\u00e1mica de atributos \ud83d\udd17 Varios componentes del gr\u00e1fico se muestran/ocultan din\u00e1micamente dependiendo de su tama\u00f1o. Los componentes son din\u00e1micos, en tanto no se especifique su valor de inicializaci\u00f3n: Si un par\u00e1metro se especifica con valor true se muestra siempre. Si el par\u00e1metro es false no se muestra nunca. Si no se especifica, corren las siguientes reglas: zoom : Se muestra si el ancho es mayor o igual a 620px navigator : Se muestra si el ancho es mayor o igual a 500px datePickerEnabled : Se muestra si el ancho es mayor o igual a 400px displayUnits : Se muestra si el ancho es mayor o igual a 450px leyenda : Este no es un campo que se pueda ocultar mediante la API de TSComponents.Graphic , pero los valores de la leyenda se muestran s\u00f3lo si hay m\u00e1s de una serie aplicada. Ejemplo completo \ud83d\udd17 < html > < body > < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js' > < link rel = 'stylesheet' type = 'text/css' href = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/css/components.css' /> < div id = \"root\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'root' , { graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=tmi_arg' , title : 'Tasa de Mortalidad Infantil de Argentina' , source : 'Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud' , legendField : 'title' , chartType : 'area' , chartTypes : { 'tmi_arg' : 'column' }, zoom : true , datePickerEnabled : true , displayUnits : true exportable : true , navigator : false , backgroundColor : '#cdcdcd' , colors : [ '#cecece' , '#8d6b22' , '#62848d' ], locale : 'AR' , chartOptions : {}, legendLabel : { 'tmi_arg' : 'Tasa de mortalidad nacional' }, seriesAxis : { 'tmi_arg' : 'left' } }) } ","title":"TSComponents: Graphic"},{"location":"reference/ts-components/graphic/#componente-graphic","text":"El componente graphic permite embeber gr\u00e1ficos de l\u00edneas, \u00e1reas o barras en experiencias web. Permite elegir distintos elementos de filtro de fechas, personalizar los textos, etc.","title":"Componente: graphic"},{"location":"reference/ts-components/graphic/#ejemplo-base","text":"Ver online: https://jsfiddle.net/bj1n8tum/ window.onload = function() { TSComponents.Graphic.render('tmi', { graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=tmi_arg', title: 'Tasa de Mortalidad Infantil de Argentina', source: 'Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud' }) } Este gr\u00e1fico se genera a partir del siguiente c\u00f3digo: < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js' > < link rel = 'stylesheet' type = 'text/css' href = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/css/components.css' /> < div id = \"tmi\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'tmi' , { // Llamada a la API de Series de Tiempo graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=tmi_arg' , title : 'Tasa de Mortalidad Infantil de Argentina' , source : 'Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud' }) } ","title":"Ejemplo base"},{"location":"reference/ts-components/graphic/#tabla-de-parametros","text":"Nombre Requerido Descripci\u00f3n Tipo Default Ejemplos graphicUrl Si URL completa del llamado a la API. string Ninguno https://apis.datos.gob.ar/series/api/series/?ids=tmi_arg chartOptions No Cualquier opci\u00f3n v\u00e1lida para [Highcharts](https://api.highcharts.com/highcharts/). object {} navigator No Indica si est\u00e1 habilitada la funcionalidad de navegaci\u00f3n de la serie. boolean Din\u00e1mico true / false locale No Valores posibles: \"AR\" o \"US\" (pendientes nuevos valores). Representan qu\u00e9 _locale_ usar para formatear n\u00fameros, es decir, separadores de miles o de decimales. string AR AR o US zoom No Indica si tiene habilitada la funcionalidad de zoom. boolean Din\u00e1mico true / false exportable No Indica si tiene habilitada la funcionalidad de exportar el gr\u00e1fico. boolean Din\u00e1mico true / false colors No Paleta de colores alternativa a la default. Los c\u00f3digos de colores pueden ser tanto hexadecimales (ej. \"#00CC44\") como numeros que son mapeados a la paleta por defecto (del 0 al 8) Ver paleta por defecto m\u00e1s abajo. list [\"#0072BB\", \"#2E7D33\", \"#C62828\", \"#F9A822\", \"#6A1B99\", \"#EC407A\", \"#C2185B\", \"#039BE5\", \"#6EA100\"] [0, 1, 2, 3, 4, 5, 6, 7, 8] [\"#2E7D33\", 2, \"#F9A822\"] backgroundColor No Color de fondo del gr\u00e1fico en formato hexadecimal. string #cdcdcd #cdcdcd datePickerEnabled No Indica si el selector de fechas est\u00e1 habilitado. boolean Din\u00e1mica true / false legendField No Indica el campo de la serie a usar para mostrar la leyenda. string 'title' \"title\", \"description\" o \"id\" chartTypes No Especifica el tipo de gr\u00e1fico a usar para cada serie < ./td> object 'line' para todas las series {'tmi_arg': 'column', 'tmi_02': 'line', 'tmi_06': 'area'} title No Especifica el t\u00edtulo el gr\u00e1fico. string Ninguno Tasa de Mortalidad Infantil de Argentina source No Especifica el texto al pie del gr\u00e1fico. string Ninguno Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud displayUnits No Indica si se muestran las unidades del gr\u00e1fico. boolean Din\u00e1mico true / false legendLabel No Especifica el texto a mostrar como leyenda por cada serie. object {} {'serie01': 'leyenda custom'} seriesAxis No Especifica de qu\u00e9 lado del gr\u00e1fico mostrar las ordenadas y unidades de cada serie representada. Puede haber m\u00e1s de una serie en un mismo lado. Si hay una sola serie, debe ir obligatoriamente del lado izquierdo. object {} {'serie01': 'right', 'serie02': 'left'} chartType No Especifica un tipo de gr\u00e1fico para aplicar a todas las series como default. En caso de estar especificado un tipo para una serie en chartTypes, este \u00faltimo ser\u00e1 priorizado para la misma. string 'line' 'line', 'area' o 'column' decimalLeftAxis No Especifica cu\u00e1ntos d\u00edgitos decimales tendr\u00e1n los valores de las ordenadas del eje izquierdo (principal) del gr\u00e1fico. int Ninguno 6 decimalRightAxis No Especifica cu\u00e1ntos d\u00edgitos decimales tendr\u00e1n los valores de las ordenadas del eje derecho (auxiliar) del gr\u00e1fico. int Ninguno 0 decimalTooltips No Especifica cu\u00e1ntos d\u00edgitos decimales mostrar\u00e1 el texto en el tooltip para cada serie, mapeando ids de series con cantidades de decimales. object Ninguno {'serie01': 4, 'serie02': 1} decimalTooltip No Especifica la cantidad de d\u00edgitos decimales a mostrar en el texto del tooltip para toda serie que no lo haya definido en el par\u00e1metro decimalTooltips. int Ninguno 3","title":"Tabla de par\u00e1metros"},{"location":"reference/ts-components/graphic/#paleta-de-colores-por-defecto","text":"Por defecto, la paleta de colores en los que se grafican las series del componente. Cada uno puede ser identificado con un hexadecimal o un entero decimal: #0072BB o 0 , para azul #2E7D33 o 1 , para verde oscuro #C62828 o 2 , para rojo #F9A822 o 3 , para naranja #6A1B99 o 4 , para violeta #EC407A o 5 , para rosa #C2185B o 6 , para fucsia #039BE5 o 7 , para celeste #6EA100 o 8 , para verde claro","title":"Paleta de colores por defecto"},{"location":"reference/ts-components/graphic/#asignacion-dinamica-de-atributos","text":"Varios componentes del gr\u00e1fico se muestran/ocultan din\u00e1micamente dependiendo de su tama\u00f1o. Los componentes son din\u00e1micos, en tanto no se especifique su valor de inicializaci\u00f3n: Si un par\u00e1metro se especifica con valor true se muestra siempre. Si el par\u00e1metro es false no se muestra nunca. Si no se especifica, corren las siguientes reglas: zoom : Se muestra si el ancho es mayor o igual a 620px navigator : Se muestra si el ancho es mayor o igual a 500px datePickerEnabled : Se muestra si el ancho es mayor o igual a 400px displayUnits : Se muestra si el ancho es mayor o igual a 450px leyenda : Este no es un campo que se pueda ocultar mediante la API de TSComponents.Graphic , pero los valores de la leyenda se muestran s\u00f3lo si hay m\u00e1s de una serie aplicada.","title":"Asignaci\u00f3n din\u00e1mica de atributos"},{"location":"reference/ts-components/graphic/#ejemplo-completo","text":"< html > < body > < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js' > < link rel = 'stylesheet' type = 'text/css' href = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/css/components.css' /> < div id = \"root\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'root' , { graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=tmi_arg' , title : 'Tasa de Mortalidad Infantil de Argentina' , source : 'Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud' , legendField : 'title' , chartType : 'area' , chartTypes : { 'tmi_arg' : 'column' }, zoom : true , datePickerEnabled : true , displayUnits : true exportable : true , navigator : false , backgroundColor : '#cdcdcd' , colors : [ '#cecece' , '#8d6b22' , '#62848d' ], locale : 'AR' , chartOptions : {}, legendLabel : { 'tmi_arg' : 'Tasa de mortalidad nacional' }, seriesAxis : { 'tmi_arg' : 'left' } }) } ","title":"Ejemplo completo"},{"location":"reference/ts-components/layout/","text":".btn-primary { color: #ffffff; background-color: #0072bb; } Layout de componentes: \ud83d\udd17 La hoja de estilos components.css incluye tambi\u00e9n selectores de clases aplicables a elementos HTML, inherentes al layout del dashboard o p\u00e1gina donde se inserten los componentes. Fila para componentes: \ud83d\udd17 Selector cuyos elementos internos ser\u00e1n equiespaciados y dispuestos horizontalmente. Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"ts-components-row\" > < div id = \"card-en-row-1\" > < div id = \"card-en-row-2\" > < div id = \"card-en-row-3\" > < script > window . onload = function () { TSComponents . Card . render ( 'card-en-row-1' , { serieId : '46.2_ECTSTG_0_T_40' , color : '#0072BB' , hasChart : 'none' , title : \"Tasa Subocupaci\u00f3n GBA\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) TSComponents . Card . render ( 'card-en-row-2' , { serieId : '46.2_ECTSTSL_0_T_45' , color : '#6B8E23' , hasChart : 'none' , title : \"Tasa Subocupaci\u00f3n San Luis\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) TSComponents . Card . render ( 'card-en-row-3' , { serieId : '46.2_ECTSTC_0_T_47' , color : '#FFA500' , hasChart : 'none' , title : \"Tasa Subocupaci\u00f3n Corrientes\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) } Contenedor de Card: \ud83d\udd17 Selector para div de una Card, con un peque\u00f1o margen abajo y \u00f3ptimo para diversos viewports. Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"card-wrapper\" id = \"card-superior\" > < div class = \"card-wrapper\" id = \"card-inferior\" > < script > window . onload = function () { TSComponents . Card . render ( 'card-superior' , { serieId : '105.1_I2L_2016_M_16' , hasChart : 'none' , color : '#5ED613' , title : \"IPC Lechuga\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) TSComponents . Card . render ( 'card-inferior' , { serieId : '105.1_I2BAT_2016_M_15' , hasChart : 'none' , color : '#969009' , title : \"IPC Batata\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) } window.onload = function() { TSComponents.Card.render('card-en-row-1', { serieId: '46.2_ECTSTG_0_T_40', color: '#0072BB', hasChart: 'none', title: \"Tasa Subocupaci\u00f3n GBA\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) TSComponents.Card.render('card-en-row-2', { serieId: '46.2_ECTSTSL_0_T_45', color: '#6B8E23', hasChart: 'none', title: \"Tasa Subocupaci\u00f3n San Luis\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) TSComponents.Card.render('card-en-row-3', { serieId: '46.2_ECTSTC_0_T_47', color: '#FFA500', hasChart: 'none', title: \"Tasa Subocupaci\u00f3n Corrientes\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) TSComponents.Card.render('card-superior', { serieId: '105.1_I2L_2016_M_16', hasChart: 'none', color:'#5ED613', title: \"IPC Lechuga\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) TSComponents.Card.render('card-inferior', { serieId: '105.1_I2BAT_2016_M_15', hasChart: 'none', color:'#969009', title: \"IPC Batata\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) }","title":"TSComponents: Layout"},{"location":"reference/ts-components/layout/#layout-de-componentes","text":"La hoja de estilos components.css incluye tambi\u00e9n selectores de clases aplicables a elementos HTML, inherentes al layout del dashboard o p\u00e1gina donde se inserten los componentes.","title":"Layout de componentes:"},{"location":"reference/ts-components/layout/#fila-para-componentes","text":"Selector cuyos elementos internos ser\u00e1n equiespaciados y dispuestos horizontalmente.","title":"Fila para componentes:"},{"location":"reference/ts-components/layout/#ejemplo","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/layout/#codigo","text":"< div class = \"ts-components-row\" > < div id = \"card-en-row-1\" > < div id = \"card-en-row-2\" > < div id = \"card-en-row-3\" > < script > window . onload = function () { TSComponents . Card . render ( 'card-en-row-1' , { serieId : '46.2_ECTSTG_0_T_40' , color : '#0072BB' , hasChart : 'none' , title : \"Tasa Subocupaci\u00f3n GBA\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) TSComponents . Card . render ( 'card-en-row-2' , { serieId : '46.2_ECTSTSL_0_T_45' , color : '#6B8E23' , hasChart : 'none' , title : \"Tasa Subocupaci\u00f3n San Luis\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) TSComponents . Card . render ( 'card-en-row-3' , { serieId : '46.2_ECTSTC_0_T_47' , color : '#FFA500' , hasChart : 'none' , title : \"Tasa Subocupaci\u00f3n Corrientes\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) } ","title":"C\u00f3digo:"},{"location":"reference/ts-components/layout/#contenedor-de-card","text":"Selector para div de una Card, con un peque\u00f1o margen abajo y \u00f3ptimo para diversos viewports.","title":"Contenedor de Card:"},{"location":"reference/ts-components/layout/#ejemplo_1","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/layout/#codigo_1","text":"< div class = \"card-wrapper\" id = \"card-superior\" > < div class = \"card-wrapper\" id = \"card-inferior\" > < script > window . onload = function () { TSComponents . Card . render ( 'card-superior' , { serieId : '105.1_I2L_2016_M_16' , hasChart : 'none' , color : '#5ED613' , title : \"IPC Lechuga\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) TSComponents . Card . render ( 'card-inferior' , { serieId : '105.1_I2BAT_2016_M_15' , hasChart : 'none' , color : '#969009' , title : \"IPC Batata\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) } window.onload = function() { TSComponents.Card.render('card-en-row-1', { serieId: '46.2_ECTSTG_0_T_40', color: '#0072BB', hasChart: 'none', title: \"Tasa Subocupaci\u00f3n GBA\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) TSComponents.Card.render('card-en-row-2', { serieId: '46.2_ECTSTSL_0_T_45', color: '#6B8E23', hasChart: 'none', title: \"Tasa Subocupaci\u00f3n San Luis\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) TSComponents.Card.render('card-en-row-3', { serieId: '46.2_ECTSTC_0_T_47', color: '#FFA500', hasChart: 'none', title: \"Tasa Subocupaci\u00f3n Corrientes\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) TSComponents.Card.render('card-superior', { serieId: '105.1_I2L_2016_M_16', hasChart: 'none', color:'#5ED613', title: \"IPC Lechuga\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) TSComponents.Card.render('card-inferior', { serieId: '105.1_I2BAT_2016_M_15', hasChart: 'none', color:'#969009', title: \"IPC Batata\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) }","title":"C\u00f3digo:"}]} \ No newline at end of file +{"config":{"lang":["en"],"prebuild_index":false,"separator":"[\\s\\-]+"},"docs":[{"location":"applications/","text":"","title":"Applications"},{"location":"docs/","text":"Explorador de Series de Tiempo \ud83d\udd17 El Explorador de Series de Tiempo es una familia de componentes front-end para desarrollar experiencias web a partir de los datos de la API de Series de Tiempo de la Rep\u00fablica Argentina , donde los organismos de la Administraci\u00f3n P\u00fablica Nacional publican indicadores en formatos abiertos. Si quer\u00e9s integrar un explorador completo en tu sitio web (como el de Datos Argentina ) le\u00e9 la referencia de TSExplorer . Si quer\u00e9s agregar gr\u00e1ficos en tu sitio web le\u00e9 la referencia de TSComponents . Versiones de browsers \ud83d\udd17 El Explorador de Series de Tiempo fue desarrolado utilizando versiones recientes de Firefox y Chrome (57+ y 60+), y soporta Internet Explorer desde la versi\u00f3n 11 en adelante. Si sos usuario de la API de Series de Tiempo y quer\u00e9s estar al tanto de los cambios y novedades, inscribite en la base de contactos de Datos Argentina y eleg\u00ed sobre qu\u00e9 temas quer\u00e9s que te escribamos. \u00bfTen\u00e9s algo que contarnos? Nos encantar\u00eda que nos cuentes por Twitter o por mail qu\u00e9 mejor\u00f3 usar la API en tu trabajo y qu\u00e9 le falta para mejorar a\u00fan m\u00e1s.","title":"Inicio"},{"location":"docs/#explorador-de-series-de-tiempo","text":"El Explorador de Series de Tiempo es una familia de componentes front-end para desarrollar experiencias web a partir de los datos de la API de Series de Tiempo de la Rep\u00fablica Argentina , donde los organismos de la Administraci\u00f3n P\u00fablica Nacional publican indicadores en formatos abiertos. Si quer\u00e9s integrar un explorador completo en tu sitio web (como el de Datos Argentina ) le\u00e9 la referencia de TSExplorer . Si quer\u00e9s agregar gr\u00e1ficos en tu sitio web le\u00e9 la referencia de TSComponents .","title":"Explorador de Series de Tiempo"},{"location":"docs/#versiones-de-browsers","text":"El Explorador de Series de Tiempo fue desarrolado utilizando versiones recientes de Firefox y Chrome (57+ y 60+), y soporta Internet Explorer desde la versi\u00f3n 11 en adelante. Si sos usuario de la API de Series de Tiempo y quer\u00e9s estar al tanto de los cambios y novedades, inscribite en la base de contactos de Datos Argentina y eleg\u00ed sobre qu\u00e9 temas quer\u00e9s que te escribamos. \u00bfTen\u00e9s algo que contarnos? Nos encantar\u00eda que nos cuentes por Twitter o por mail qu\u00e9 mejor\u00f3 usar la API en tu trabajo y qu\u00e9 le falta para mejorar a\u00fan m\u00e1s.","title":"Versiones de browsers"},{"location":"terms/","text":"","title":"Terms"},{"location":"developers/deploy/","text":"Documentaci\u00f3n de deploy \ud83d\udd17 Tenemos 2 formas de deploy: Generaci\u00f3n de github pages y generaci\u00f3n de release para subir al CDN . Github pages \ud83d\udd17 El deploy se puede realizar de dos maneras. Ambas son iguales npm run build-docs make build Y finalmente subir todo al branch default: - git add . - git commit -m \"Deploy a github pages\" - git push Release para CDN \ud83d\udd17 Crear un branch desde la versi\u00f3n que queremos salir: - git checkout -b Generar los archivos para distribuir. Tenemos dos maneras, ambas son iguales: - npm run release - make release Agregar los archivos: - git add dist (basta con agregar s\u00f3lo la carpeta a distribuir) - git commit -m \"Actualizo carpeta dist\" - git push origin Crear un tag: - git tag - git push --tags Con el nombre del tag ya podemos acceder a los archivos que necesitemos: https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@nombreDelTag/dist/js/main.js Actualizar series-tiempo-ar-explorer-demo para usar la versi\u00f3n deseada (en el ejemplo la versi\u00f3n es test_0.4 pero podemos usar cualquiera ya sea para el archivo css o para el js): - Modificar el index.html del directorio root del proyecto demo para cambiar la versi\u00f3n usada de JS y de CSS: - CSS: cambiar la l\u00ednea: ` < link rel = \"stylesheet\" href = \"https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@test_0.4/dist/css/main.css\" type = \"text/css\" > ` . JS: cambiar la l\u00ednea: Las modificaciones de dichas l\u00edneas s\u00f3lo deber\u00edan ser para cambiar la versi\u00f3n, la ruta no deber\u00eda cambiar a menos que se busque usar un archivo distinto.","title":"Despliegue"},{"location":"developers/deploy/#documentacion-de-deploy","text":"Tenemos 2 formas de deploy: Generaci\u00f3n de github pages y generaci\u00f3n de release para subir al CDN .","title":"Documentaci\u00f3n de deploy"},{"location":"developers/deploy/#github-pages","text":"El deploy se puede realizar de dos maneras. Ambas son iguales npm run build-docs make build Y finalmente subir todo al branch default: - git add . - git commit -m \"Deploy a github pages\" - git push","title":"Github pages"},{"location":"developers/deploy/#release-para-cdn","text":"Crear un branch desde la versi\u00f3n que queremos salir: - git checkout -b Generar los archivos para distribuir. Tenemos dos maneras, ambas son iguales: - npm run release - make release Agregar los archivos: - git add dist (basta con agregar s\u00f3lo la carpeta a distribuir) - git commit -m \"Actualizo carpeta dist\" - git push origin Crear un tag: - git tag - git push --tags Con el nombre del tag ya podemos acceder a los archivos que necesitemos: https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@nombreDelTag/dist/js/main.js Actualizar series-tiempo-ar-explorer-demo para usar la versi\u00f3n deseada (en el ejemplo la versi\u00f3n es test_0.4 pero podemos usar cualquiera ya sea para el archivo css o para el js): - Modificar el index.html del directorio root del proyecto demo para cambiar la versi\u00f3n usada de JS y de CSS: - CSS: cambiar la l\u00ednea: ` < link rel = \"stylesheet\" href = \"https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@test_0.4/dist/css/main.css\" type = \"text/css\" > ` . JS: cambiar la l\u00ednea: Las modificaciones de dichas l\u00edneas s\u00f3lo deber\u00edan ser para cambiar la versi\u00f3n, la ruta no deber\u00eda cambiar a menos que se busque usar un archivo distinto.","title":"Release para CDN"},{"location":"developers/install/","text":"Setup \ud83d\udd17 Requerimientos \ud83d\udd17 Este proyecto requiere Node v8.9.4 o superior (npm v6.0.0). Puede ser instalado con nvm Instalar node y npm. nvm install 8.9.4 O v\u00eda package manager: curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - sudo apt-get install -y nodejs Desarrollo \ud83d\udd17 Instalar hooks git hooks install Instalar dependencias: npm install Iniciar web server make watch para levantar el servidor en localhost:3000 Desarrollo de componentes exportables \ud83d\udd17 Se puede iniciar un servidor web para servir un dashboard que utiliza los componentes exportables usando make components-watch Para mas info: react documentation Problemas comunes \ud83d\udd17 npm start : Error al iniciar el server. Soluci\u00f3n: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p Para correr los tests de un archivo en particular: npm test -- -- why the \"--\" magick incantation Debugging en VS code \ud83d\udd17 Usar esta launch configuration { \"name\": \"Debug Jest Tests\", \"type\": \"node\", \"request\": \"launch\", \"runtimeArgs\": [\"--inspect-brk\", \" ${ workspaceRoot } /scripts/test.js\", \"--runInBand\", \"--env=jsdom\"], \"port\": 9229, \"console\": \"integratedTerminal\", \"internalConsoleOptions\": \"neverOpen\" }","title":"Instalaci\u00f3n"},{"location":"developers/install/#setup","text":"","title":"Setup"},{"location":"developers/install/#requerimientos","text":"Este proyecto requiere Node v8.9.4 o superior (npm v6.0.0). Puede ser instalado con nvm Instalar node y npm. nvm install 8.9.4 O v\u00eda package manager: curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - sudo apt-get install -y nodejs","title":"Requerimientos"},{"location":"developers/install/#desarrollo","text":"Instalar hooks git hooks install Instalar dependencias: npm install Iniciar web server make watch para levantar el servidor en localhost:3000","title":"Desarrollo"},{"location":"developers/install/#desarrollo-de-componentes-exportables","text":"Se puede iniciar un servidor web para servir un dashboard que utiliza los componentes exportables usando make components-watch Para mas info: react documentation","title":"Desarrollo de componentes exportables"},{"location":"developers/install/#problemas-comunes","text":"npm start : Error al iniciar el server. Soluci\u00f3n: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p Para correr los tests de un archivo en particular: npm test -- -- why the \"--\" magick incantation","title":"Problemas comunes"},{"location":"developers/install/#debugging-en-vs-code","text":"Usar esta launch configuration { \"name\": \"Debug Jest Tests\", \"type\": \"node\", \"request\": \"launch\", \"runtimeArgs\": [\"--inspect-brk\", \" ${ workspaceRoot } /scripts/test.js\", \"--runInBand\", \"--env=jsdom\"], \"port\": 9229, \"console\": \"integratedTerminal\", \"internalConsoleOptions\": \"neverOpen\" }","title":"Debugging en VS code"},{"location":"reference/ts-components/","text":"TSComponents \ud83d\udd17 Versi\u00f3n : 2.6.8 El objeto TSComponents contiene distintos componentes exportables que se pueden utilizar dentro de una experiencia web. Est\u00e1 en el archivo llamado components.js y se aloja versionado en el CDN: https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js Componentes \ud83d\udd17 graphic : gr\u00e1fico de l\u00edneas, barras o \u00e1rea usado en el explorador de series de tiempo con todas sus funcionalidades. card : tarjeta con informaci\u00f3n de la serie y un gr\u00e1fico inclu\u00eddo con sus datos. \u00bfC\u00f3mo los uso? \ud83d\udd17 Todos los componentes se usan de la misma manera. Importar librer\u00eda JS: < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js' > Importar hoja de estilos CSS: < link rel = 'stylesheet' type = 'text/css' href = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/css/components.css' /> Definir d\u00f3nde se va a dibujar: < div id = \"graphic_01\" > < div id = \"card_01\" > Instanciar el componente que buscamos: TSComponents . Graphic . render ( 'graphic_01' , { ... }) TSComponents . Card . render ( 'card_01' , { ... })","title":"TSComponents"},{"location":"reference/ts-components/#tscomponents","text":"Versi\u00f3n : 2.6.8 El objeto TSComponents contiene distintos componentes exportables que se pueden utilizar dentro de una experiencia web. Est\u00e1 en el archivo llamado components.js y se aloja versionado en el CDN: https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js","title":"TSComponents"},{"location":"reference/ts-components/#componentes","text":"graphic : gr\u00e1fico de l\u00edneas, barras o \u00e1rea usado en el explorador de series de tiempo con todas sus funcionalidades. card : tarjeta con informaci\u00f3n de la serie y un gr\u00e1fico inclu\u00eddo con sus datos.","title":"Componentes"},{"location":"reference/ts-components/#como-los-uso","text":"Todos los componentes se usan de la misma manera. Importar librer\u00eda JS: < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js' > Importar hoja de estilos CSS: < link rel = 'stylesheet' type = 'text/css' href = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/css/components.css' /> Definir d\u00f3nde se va a dibujar: < div id = \"graphic_01\" > < div id = \"card_01\" > Instanciar el componente que buscamos: TSComponents . Graphic . render ( 'graphic_01' , { ... }) TSComponents . Card . render ( 'card_01' , { ... })","title":"\u00bfC\u00f3mo los uso?"},{"location":"reference/ts-explorer/","text":"TSExplorer \ud83d\udd17 Versi\u00f3n : 2.5.3 El objeto TSExplorer contiene una one page application con un explorador de series de tiempo, que permite buscar y visualizar series de un cat\u00e1logo de datos abiertos. Est\u00e1 en el archivo llamado main.js y se aloja versionado en el CDN: https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.3/dist/js/main.js \u00bfC\u00f3mo lo uso? \ud83d\udd17 Importar librer\u00eda JS: < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.3/dist/js/main.js' > Definir d\u00f3nde se va a dibujar: < div id = \"explorer-container\" > Instanciar el explorador: TSExplorer . render ( 'explorer-container' , { ... }) Ejemplo de uso \ud83d\udd17 < html > < body > < script type = \"text/javascript\" src = \"https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.3/dist/js/main.js\" > < div id = \"explorer-container\" > < script > window . onload = function () { TSExplorer . render ( 'explorer-container' , { featured : [ \"103.1_I2N_2016_M_15\" , \"168.1_T_CAMBIOR_D_0_0_26\" , ], seriesApiUri : \"https://apis.datos.gob.ar/series/api\" , catalogId : 'datosgobar' , formatChartUnits : true , laps : { Diaria : 90 , Mensual : 24 , Trimestral : 20 , Semestral : 10 , Anual : 10 , }, locale : 'AR' }) } Tabla de par\u00e1metros \ud83d\udd17 Nombre Requerido Descripci\u00f3n Tipo Default Ejemplos seriesApiUri Si URI a la API donde buscamos los datos. string Ninguno https://apis.datos.gob.ar/series/api featured No Indica los IDs de las series destacadas string[] [] [\"103.1_I2N_2016_M_15\", \"168.1_T_CAMBIOR_D_0_0_26\"] catalogId No Representa el id del cat\u00e1logo de donde busca las series string Ninguno datosgobar formatChartUnits No Indica si debe formatear a porcentaje los valores entre -1 y 1. boolean true true / false laps No Informaci\u00f3n para traer los \u00faltimos _n_ valores de la serie, con _n_ igual al valor por frecuencia. {Diaria: number, Mensual: number, Trimestral: number, Semestral: number, Anual: number} object true true / false locale No Valores posibles: `\"AR\"` o `\"US\"` (pendientes nuevos valores). Representan qu\u00e9 _locale_ usar para formatear n\u00fameros, es decir, separadores de miles o de decimales. string \"AR\" \"AR\" / \"US\" maxDecimals No Cantidad m\u00e1xima de cifras decimales a mostrar para los valores de las series, tanto en sus tarjetas destacadas, como resultados de b\u00fasqueda y notas (tooltips) de los gr\u00e1ficos. int 2 0/4/1 heroImageUrl No URL de la imagen a mostrar de fondo en el banner del encabezado. string https://datos.gob.ar/images/hero_bg.svg 0/4/1 Demo online \ud83d\udd17 https://jsfiddle.net/6mrn5get/","title":"TSExplorer"},{"location":"reference/ts-explorer/#tsexplorer","text":"Versi\u00f3n : 2.5.3 El objeto TSExplorer contiene una one page application con un explorador de series de tiempo, que permite buscar y visualizar series de un cat\u00e1logo de datos abiertos. Est\u00e1 en el archivo llamado main.js y se aloja versionado en el CDN: https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.3/dist/js/main.js","title":"TSExplorer"},{"location":"reference/ts-explorer/#como-lo-uso","text":"Importar librer\u00eda JS: < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.3/dist/js/main.js' > Definir d\u00f3nde se va a dibujar: < div id = \"explorer-container\" > Instanciar el explorador: TSExplorer . render ( 'explorer-container' , { ... })","title":"\u00bfC\u00f3mo lo uso?"},{"location":"reference/ts-explorer/#ejemplo-de-uso","text":"< html > < body > < script type = \"text/javascript\" src = \"https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@2.5.3/dist/js/main.js\" > < div id = \"explorer-container\" > < script > window . onload = function () { TSExplorer . render ( 'explorer-container' , { featured : [ \"103.1_I2N_2016_M_15\" , \"168.1_T_CAMBIOR_D_0_0_26\" , ], seriesApiUri : \"https://apis.datos.gob.ar/series/api\" , catalogId : 'datosgobar' , formatChartUnits : true , laps : { Diaria : 90 , Mensual : 24 , Trimestral : 20 , Semestral : 10 , Anual : 10 , }, locale : 'AR' }) } ","title":"Ejemplo de uso"},{"location":"reference/ts-explorer/#tabla-de-parametros","text":"Nombre Requerido Descripci\u00f3n Tipo Default Ejemplos seriesApiUri Si URI a la API donde buscamos los datos. string Ninguno https://apis.datos.gob.ar/series/api featured No Indica los IDs de las series destacadas string[] [] [\"103.1_I2N_2016_M_15\", \"168.1_T_CAMBIOR_D_0_0_26\"] catalogId No Representa el id del cat\u00e1logo de donde busca las series string Ninguno datosgobar formatChartUnits No Indica si debe formatear a porcentaje los valores entre -1 y 1. boolean true true / false laps No Informaci\u00f3n para traer los \u00faltimos _n_ valores de la serie, con _n_ igual al valor por frecuencia. {Diaria: number, Mensual: number, Trimestral: number, Semestral: number, Anual: number} object true true / false locale No Valores posibles: `\"AR\"` o `\"US\"` (pendientes nuevos valores). Representan qu\u00e9 _locale_ usar para formatear n\u00fameros, es decir, separadores de miles o de decimales. string \"AR\" \"AR\" / \"US\" maxDecimals No Cantidad m\u00e1xima de cifras decimales a mostrar para los valores de las series, tanto en sus tarjetas destacadas, como resultados de b\u00fasqueda y notas (tooltips) de los gr\u00e1ficos. int 2 0/4/1 heroImageUrl No URL de la imagen a mostrar de fondo en el banner del encabezado. string https://datos.gob.ar/images/hero_bg.svg 0/4/1","title":"Tabla de par\u00e1metros"},{"location":"reference/ts-explorer/#demo-online","text":"https://jsfiddle.net/6mrn5get/","title":"Demo online"},{"location":"reference/ts-components/card/","text":"Componente: card \ud83d\udd17 El componente card permite embeber tarjetas con informaci\u00f3n de la serie, y un gr\u00e1fico inclu\u00eddo dentro de la misma, en sitios web. .row { width: 90%; margin: auto; display: flex; justify-content: space-around; } Ejemplo base \ud83d\udd17 Ver online: https://jsfiddle.net/5skv3ocw/ < link type = \"text/css\" rel = \"stylesheet\" href = \"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/all.min.css\" media = \"all\" /> < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js' > < link rel = 'stylesheet' type = 'text/css' href = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/css/components.css' /> < div id = \"tmi\" > < script > window . onload = function () { TSComponents . Card . render ( 'tmi' , { // ID de la serie solicitada serieId : '143.3_NO_PR_2004_A_21' }) } Tabla de par\u00e1metros \ud83d\udd17 Nombre Requerido Descripci\u00f3n Tipo Default Ejemplos serieId Si ID de la serie a buscar. string Ninguno 143.3_NO_PR_2004_A_21 locale No Valores posibles: \"AR\" o \"US\" (pendientes nuevos valores). Representan qu\u00e9 _locale_ usar para formatear n\u00fameros, es decir, separadores de miles o de decimales. string AR AR o US links No Indica qu\u00e9 enlaces a mostrar bajo la tarjeta para descargar o compartir la misma. string full small color No Indica el color a usar para el n\u00famero y el borde de la tarjeta. string #0072BB red hasChart No Indica el tipo de gr\u00e1fico a usar dentro de la tarjeta. string small full explicitSign No Permite forzar la presencia de un signo antepuesto al valor mostrado; es decir, si dicho valor resultara positivo, ser\u00e1 precedido por un signo de adici\u00f3n ('+'). Por defecto, se encuentra desactivado. booleano false true title No Especifica el t\u00edtulo de la tarjeta. De no definirse, se considera el t\u00edtulo por defecto de la serie; de definirse como '', se lo omite. string Ninguno Un t\u00edtulo personalizado source No Especifica el texto al pie de la tarjeta, que refiere a la fuente de la informaci\u00f3n. De no definirse, se considera la fuente por defecto de la serie; de definirse como '', se la omite. string Ninguno Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud units No Especifica el texto al pie de la tarjeta, que refiere a las unidades en que se mide el valor mostrado. De no definirse, se consideran las unidades por defecto de la serie; de definirse como '', se las omite. string Ninguno Millones de pesos hasFrame No Permite forzar la presencia de un marco alrededor de la tarjeta y un fondo blanco para la misma. De no estar definido, la tarjeta tendr\u00e1 marco si tiene al menos gr\u00e1fico o enlaces. booleano Ninguno true hasColorBar No Permite forzar la presencia de la barra de color (el mismo que posee el n\u00famero) en el borde superior de la tarjeta. De no estar definido, la barr\u00e1 estar\u00e1 presente s\u00f3lo si la tarjeta posee marco. booleano Ninguno false collapse No Permite cambiar la frecuencia en la que se muestra la serie. Mediante este par\u00e1metro se puede hacer, por ejemplo, un agregado anual para una serie que tiene una frecuencia diaria. Las limitaciones del campo son que la frecuencia elegida tiene que ser menor o igual a la frecuencia por defecto de la serie, si no lo es entonces el gr\u00e1fico no se mostrar\u00e1 (Ej: si la serie tiene frecuencia semestral, 'collapse' puede ser solo o 'semester' o 'year'). string Ninguno 'day', 'month', 'quarter', 'semester', 'year' apiBaseUrl No Permite cambiar la URL de la API a la cual se le pedir\u00e1 la serie representada en la tarjeta. A dicha url se le adjuntar\u00e1 el texto '/series/?ids=serieId' al final. string 'http://apis.datos.gob.ar/series/api' 'http://miurl.apis.com/datos' decimals No Permite elegir cu\u00e1ntos d\u00edgitos decimales mostrar en el valor de la tarjeta. Debe ser mayor o igual a 0. Redondea los valores en caso de ser menor a la cantidad de d\u00edgitos original del valor; completa con 0s en caso contrario. int 2 5 Ejemplo completo \ud83d\udd17 < html > < body > < script type = 'text/javascript' src = 'components.js' > < div id = \"card1\" > < script > window . onload = function () { TSComponents . Card . render ( 'card1' , { serieId : '143.3_NO_PR_2004_A_21' , hasChart : 'small' , links : 'full' , locale : 'AR' , color : '#F9A822' , explicitSign : true , title : 'Titulo personalizado' , source : 'Fuente primaria: Mi Fuente' , units : '' , hasFrame : false , hasColorBar : true , collapse : 'year' , apiBaseUrl : 'http://apis.datos.gob.ar/series/api' }) } Demo online \ud83d\udd17 https://jsfiddle.net/5skv3ocw/ Variantes de tarjetas \ud83d\udd17 Card: default \ud83d\udd17 Card: menos links \ud83d\udd17 Card: sin links \ud83d\udd17 Card: m\u00ednima \ud83d\udd17 Card: m\u00ednima (eliminando elementos) \ud83d\udd17 window.onload = function() { TSComponents.Card.render('ipc', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', hasChart: 'small', title: \"Indice de Precios al Consumidor Nacional\", links: \"none\" }) TSComponents.Card.render('exportaciones', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, hasChart: 'small', title: \"Exportaciones\", links: \"none\" }) TSComponents.Card.render('ipc-card', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', hasChart: 'small', title: \"Indice de Precios al Consumidor Nacional\" }) TSComponents.Card.render('exportaciones-card', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, hasChart: 'small', title: \"Exportaciones\" }) TSComponents.Card.render('ipc-card-links2', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', hasChart: 'small', links: \"small\", title: \"Indice de Precios al Consumidor Nacional\" }) TSComponents.Card.render('exportaciones-card-links2', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, hasChart: 'small', links: \"small\", title: \"Exportaciones\" }) TSComponents.Card.render('ipc-card-med', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', hasChart: 'small', links: \"none\", title: \"Indice de Precios al Consumidor Nacional\" }) TSComponents.Card.render('exportaciones-card-med', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, hasChart: 'small', links: \"none\", title: \"Exportaciones\", hasFrame: false }) TSComponents.Card.render('ipc-card-min', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', links: 'none', hasChart: \"none\", title: \"Indice de Precios al Consumidor Nacional\" }) TSComponents.Card.render('exportaciones-card-min', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, links: 'none', hasChart: \"none\", title: \"Exportaciones\", hasColorBar: true }) TSComponents.Card.render('ipc-card-min-xtreme', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', links: 'none', hasChart: \"none\", title: \"\", units: \"\", source: \"\" }) TSComponents.Card.render('exportaciones-card-min-xtreme', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, links: 'none', hasChart: \"none\", title: \"\", units: \"\", source: \"\" }) }","title":"TSComponents: Card"},{"location":"reference/ts-components/card/#componente-card","text":"El componente card permite embeber tarjetas con informaci\u00f3n de la serie, y un gr\u00e1fico inclu\u00eddo dentro de la misma, en sitios web. .row { width: 90%; margin: auto; display: flex; justify-content: space-around; }","title":"Componente: card"},{"location":"reference/ts-components/card/#ejemplo-base","text":"Ver online: https://jsfiddle.net/5skv3ocw/ < link type = \"text/css\" rel = \"stylesheet\" href = \"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/all.min.css\" media = \"all\" /> < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js' > < link rel = 'stylesheet' type = 'text/css' href = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/css/components.css' /> < div id = \"tmi\" > < script > window . onload = function () { TSComponents . Card . render ( 'tmi' , { // ID de la serie solicitada serieId : '143.3_NO_PR_2004_A_21' }) } ","title":"Ejemplo base"},{"location":"reference/ts-components/card/#tabla-de-parametros","text":"Nombre Requerido Descripci\u00f3n Tipo Default Ejemplos serieId Si ID de la serie a buscar. string Ninguno 143.3_NO_PR_2004_A_21 locale No Valores posibles: \"AR\" o \"US\" (pendientes nuevos valores). Representan qu\u00e9 _locale_ usar para formatear n\u00fameros, es decir, separadores de miles o de decimales. string AR AR o US links No Indica qu\u00e9 enlaces a mostrar bajo la tarjeta para descargar o compartir la misma. string full small color No Indica el color a usar para el n\u00famero y el borde de la tarjeta. string #0072BB red hasChart No Indica el tipo de gr\u00e1fico a usar dentro de la tarjeta. string small full explicitSign No Permite forzar la presencia de un signo antepuesto al valor mostrado; es decir, si dicho valor resultara positivo, ser\u00e1 precedido por un signo de adici\u00f3n ('+'). Por defecto, se encuentra desactivado. booleano false true title No Especifica el t\u00edtulo de la tarjeta. De no definirse, se considera el t\u00edtulo por defecto de la serie; de definirse como '', se lo omite. string Ninguno Un t\u00edtulo personalizado source No Especifica el texto al pie de la tarjeta, que refiere a la fuente de la informaci\u00f3n. De no definirse, se considera la fuente por defecto de la serie; de definirse como '', se la omite. string Ninguno Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud units No Especifica el texto al pie de la tarjeta, que refiere a las unidades en que se mide el valor mostrado. De no definirse, se consideran las unidades por defecto de la serie; de definirse como '', se las omite. string Ninguno Millones de pesos hasFrame No Permite forzar la presencia de un marco alrededor de la tarjeta y un fondo blanco para la misma. De no estar definido, la tarjeta tendr\u00e1 marco si tiene al menos gr\u00e1fico o enlaces. booleano Ninguno true hasColorBar No Permite forzar la presencia de la barra de color (el mismo que posee el n\u00famero) en el borde superior de la tarjeta. De no estar definido, la barr\u00e1 estar\u00e1 presente s\u00f3lo si la tarjeta posee marco. booleano Ninguno false collapse No Permite cambiar la frecuencia en la que se muestra la serie. Mediante este par\u00e1metro se puede hacer, por ejemplo, un agregado anual para una serie que tiene una frecuencia diaria. Las limitaciones del campo son que la frecuencia elegida tiene que ser menor o igual a la frecuencia por defecto de la serie, si no lo es entonces el gr\u00e1fico no se mostrar\u00e1 (Ej: si la serie tiene frecuencia semestral, 'collapse' puede ser solo o 'semester' o 'year'). string Ninguno 'day', 'month', 'quarter', 'semester', 'year' apiBaseUrl No Permite cambiar la URL de la API a la cual se le pedir\u00e1 la serie representada en la tarjeta. A dicha url se le adjuntar\u00e1 el texto '/series/?ids=serieId' al final. string 'http://apis.datos.gob.ar/series/api' 'http://miurl.apis.com/datos' decimals No Permite elegir cu\u00e1ntos d\u00edgitos decimales mostrar en el valor de la tarjeta. Debe ser mayor o igual a 0. Redondea los valores en caso de ser menor a la cantidad de d\u00edgitos original del valor; completa con 0s en caso contrario. int 2 5","title":"Tabla de par\u00e1metros"},{"location":"reference/ts-components/card/#ejemplo-completo","text":"< html > < body > < script type = 'text/javascript' src = 'components.js' > < div id = \"card1\" > < script > window . onload = function () { TSComponents . Card . render ( 'card1' , { serieId : '143.3_NO_PR_2004_A_21' , hasChart : 'small' , links : 'full' , locale : 'AR' , color : '#F9A822' , explicitSign : true , title : 'Titulo personalizado' , source : 'Fuente primaria: Mi Fuente' , units : '' , hasFrame : false , hasColorBar : true , collapse : 'year' , apiBaseUrl : 'http://apis.datos.gob.ar/series/api' }) } ","title":"Ejemplo completo"},{"location":"reference/ts-components/card/#demo-online","text":"https://jsfiddle.net/5skv3ocw/","title":"Demo online"},{"location":"reference/ts-components/card/#variantes-de-tarjetas","text":"","title":"Variantes de tarjetas"},{"location":"reference/ts-components/card/#card-default","text":"","title":"Card: default"},{"location":"reference/ts-components/card/#card-menos-links","text":"","title":"Card: menos links"},{"location":"reference/ts-components/card/#card-sin-links","text":"","title":"Card: sin links"},{"location":"reference/ts-components/card/#card-minima","text":"","title":"Card: m\u00ednima"},{"location":"reference/ts-components/card/#card-minima-eliminando-elementos","text":"window.onload = function() { TSComponents.Card.render('ipc', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', hasChart: 'small', title: \"Indice de Precios al Consumidor Nacional\", links: \"none\" }) TSComponents.Card.render('exportaciones', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, hasChart: 'small', title: \"Exportaciones\", links: \"none\" }) TSComponents.Card.render('ipc-card', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', hasChart: 'small', title: \"Indice de Precios al Consumidor Nacional\" }) TSComponents.Card.render('exportaciones-card', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, hasChart: 'small', title: \"Exportaciones\" }) TSComponents.Card.render('ipc-card-links2', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', hasChart: 'small', links: \"small\", title: \"Indice de Precios al Consumidor Nacional\" }) TSComponents.Card.render('exportaciones-card-links2', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, hasChart: 'small', links: \"small\", title: \"Exportaciones\" }) TSComponents.Card.render('ipc-card-med', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', hasChart: 'small', links: \"none\", title: \"Indice de Precios al Consumidor Nacional\" }) TSComponents.Card.render('exportaciones-card-med', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, hasChart: 'small', links: \"none\", title: \"Exportaciones\", hasFrame: false }) TSComponents.Card.render('ipc-card-min', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', color: '#F9A822', links: 'none', hasChart: \"none\", title: \"Indice de Precios al Consumidor Nacional\" }) TSComponents.Card.render('exportaciones-card-min', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, links: 'none', hasChart: \"none\", title: \"Exportaciones\", hasColorBar: true }) TSComponents.Card.render('ipc-card-min-xtreme', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change', links: 'none', hasChart: \"none\", title: \"\", units: \"\", source: \"\" }) TSComponents.Card.render('exportaciones-card-min-xtreme', { serieId: '74.3_IET_0_M_16:percent_change_a_year_ago', explicitSign: true, links: 'none', hasChart: \"none\", title: \"\", units: \"\", source: \"\" }) }","title":"Card: m\u00ednima (eliminando elementos)"},{"location":"reference/ts-components/examples/","text":".row { width: 90%; margin: auto; display: flex; justify-content: space-around; } .btn-primary { color: #ffffff; background-color: #0072bb; } Ejemplos: \ud83d\udd17 El prop\u00f3sito de este documento es mostrar ejemplos recomendados de implementar los componentes exportables (Card, Graphic). Para conocer la forma de implementar correctamente cada componente, referirse a la documentaci\u00f3n propia del mismo. Ejemplos Card: \ud83d\udd17 Indicadores destacados (m\u00ednimo): \ud83d\udd17 Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"indicador-min\" > < script > window . onload = function () { TSComponents . Card . render ( 'indicador-min' , { serieId : 'tcrse_QpvjK1:percent_change_a_year_ago' , color : '#0072BB' , hasChart : 'none' , title : \"TCRSE. Otros Cultivos.\" , links : \"none\" , hasFrame : false , explicitSign : true , source : \"Fuente: Secretar\u00eda de la Transformaci\u00f3n Productiva\" }) } Indicadores destacados (con mini-gr\u00e1fico): \ud83d\udd17 Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"indicador-graph\" > < script > window . onload = function () { TSComponents . Card . render ( 'indicador-graph' , { serieId : 'tmi_arg' , color : '#2E7D33' , hasChart : 'small' , links : \"none\" , hasFrame : false }) } Indicadores destacados (con tarjeta clickeable): \ud83d\udd17 Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"indicador-click\" > < script > window . onload = function () { TSComponents . Card . render ( 'indicador-click' , { serieId : 'defensa_FAA_0006' , color : '#C62828' , hasChart : 'small' , title : \"Personal Femenino en la Fuerza A\u00e9rea\" , links : \"none\" , }) } Indicadores destacados (con enlaces de descarga): \ud83d\udd17 Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"indicador-link\" > < script > window . onload = function () { TSComponents . Card . render ( 'indicador-min' , { serieId : '77.3_IEB_0_A_24' , color : '#F9A822' , hasChart : 'small' , title : \"Exportaciones FOB a Brasil\" , units : \"Millones de USD\" , }) } Ejemplos Graph: \ud83d\udd17 Graph destacado simple: \ud83d\udd17 Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"container\" > < div class = \"row\" > < div class = \"col-sm-12\" id = \"graph-simple\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'graph-simple' , { \u2003\u2003\u2003\u2003 graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=143.3_NO_PR_2004_A_21:percent_change_a_year_ago,116.4_TCRZE_2015_D_36_4' , \u2003\u2003\u2003\u2003 zoom : false , \u2003\u2003\u2003\u2003 chartTypes : { '143.3_NO_PR_2004_A_21:percent_change_a_year_ago' : 'column' }, \u2003\u2003\u2003\u2003 title : 'Nivel de Actividad y Tipo de Cambio Real Multilateral' , \u2003\u2003\u2003\u2003 source : 'Fuente: Instituto Nacional de Estad\u00edstica y Censos (INDEC), Banco Central de la Rep\u00fablica Argentina (BCRA)' , \u2003\u2003\u2003\u2003 navigator : false }) } Graph destacado con zoom: \ud83d\udd17 Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"graph-zoom\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'graph-zoom' , { graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=33.2_ISAC_SIN_EDAD_0_M_23_56:percent_change_a_year_ago&last=12' , title : 'Indicador sint\u00e9tico de la actividad de la construcci\u00f3n (ISAC)' , source : 'Var % interanual. Fuente: Instituto Nacional de Estad\u00edstica y Censos (INDEC)' , chartTypes : { \"33.2_ISAC_SIN_EDAD_0_M_23_56\" : \"column\" }, zoom : false , navigator : true , }) } Graph destacado con navegador y zoom: \ud83d\udd17 Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"graph-nav-zoom\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'graph-nav-zoom' , { graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=151.1_TL_SIN_TAC_2012_M_15,151.1_TL_ESTADAD_2012_M_20&last=12' , title : 'Cantidad de trabajadores registrados' , source : 'Cantidades. Fuente: Ministerio de Trabajo, Empleo y Seguridad Social' , legendField : 'description' , zoom : true , navigator : true }) } Ejemplos Card + Graph: \ud83d\udd17 Indicador con Graph inferior asociado: \ud83d\udd17 Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"container\" > < div class = \"row\" > < div class = \"text-center\" id = \"graph-indicador1\" > < div class = \"row\" > < div id = \"indicator-graph1\" > < script > window . onload = function () { TSComponents . Card . render ( 'graph-indicador1' , { serieId : 'defensa_FAA_0006' , color : '#C62828' , hasChart : 'none' , title : \"\" , links : \"none\" , hasFrame : false , source : \"\" }) TSComponents . Graphic . render ( 'indicator-graph1' , { graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=defensa_FAA_0006' , title : \"Personal Femenino en la Fuerza A\u00e9rea\" , source : \"Fuente: Ministerio de Defensa\" , colors : [ '#C62828' ] }) } Indicador con Graph lateral asociado: \ud83d\udd17 Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"container row panels-row\" > < div id = 'graph-indicator2' > < div style = \"width: 500px; height: 350px;\" id = 'indicator-graph2' > < script > window . onload = function () { TSComponents . Card . render ( 'graph-indicator2' , { serieId : '148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago' , hasChart : \"small\" , title : \"Indicador IPC interanual\" }) TSComponents . Graphic . render ( 'indicator-graph2' , { graphicUrl : \"https://apis.datos.gob.ar/series/api/series?ids=148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago\" , datePickerEnabled : false , zoom : false , title : \"Gr\u00e1fico IPC interanual\" , navigator : false , legendLabel : { \"148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago\" : \"IPC (% interanual)\" } }) } window.onload = function() { TSComponents.Card.render('indicador-min', { serieId: 'tcrse_QpvjK1:percent_change_a_year_ago', color: '#0072BB', hasChart: 'none', title: \"TCRSE. Otros Cultivos.\", links: \"none\", hasFrame: false, explicitSign: true, source: \"Fuente: Secretar\u00eda de la Transformaci\u00f3n Productiva\" }) TSComponents.Card.render('indicador-graph', { serieId: 'tmi_arg', color: '#2E7D33', hasChart: 'small', links: \"none\", hasFrame: false }) TSComponents.Card.render('indicador-click', { serieId: 'defensa_FAA_0006', color: '#C62828', hasChart: 'small', title: \"Personal Femenino en la Fuerza A\u00e9rea\", links: \"none\", }) TSComponents.Card.render('indicador-link', { serieId: '77.3_IEB_0_A_24', color: '#F9A822', hasChart: 'small', title: \"Exportaciones FOB a Brasil\", units: \"Millones de USD\", }) TSComponents.Graphic.render('graph-simple', { \u2003\u2003\u2003\u2003graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=143.3_NO_PR_2004_A_21:percent_change_a_year_ago,116.4_TCRZE_2015_D_36_4', \u2003\u2003\u2003\u2003zoom: false, \u2003\u2003\u2003\u2003chartTypes: {'143.3_NO_PR_2004_A_21:percent_change_a_year_ago': 'column'}, \u2003\u2003\u2003\u2003title: 'Nivel de Actividad y Tipo de Cambio Real Multilateral', \u2003\u2003\u2003\u2003source: 'Fuente: Instituto Nacional de Estad\u00edstica y Censos (INDEC), Banco Central de la Rep\u00fablica Argentina (BCRA)', \u2003\u2003\u2003\u2003navigator: false }) TSComponents.Graphic.render('graph-zoom', { graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=33.2_ISAC_SIN_EDAD_0_M_23_56:percent_change_a_year_ago&last=12', title: 'Indicador sint\u00e9tico de la actividad de la construcci\u00f3n (ISAC)', source: 'Var % interanual. Fuente: Instituto Nacional de Estad\u00edstica y Censos (INDEC)', chartTypes: { \"33.2_ISAC_SIN_EDAD_0_M_23_56\": \"column\" }, zoom: false, navigator: true, }) TSComponents.Graphic.render('graph-nav-zoom', { graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=151.1_TL_SIN_TAC_2012_M_15,151.1_TL_ESTADAD_2012_M_20&last=12', title: 'Cantidad de trabajadores registrados', source: 'Cantidades. Fuente: Ministerio de Trabajo, Empleo y Seguridad Social', legendField: 'description', zoom: true, navigator: true }) TSComponents.Card.render('graph-indicador1', { serieId: 'defensa_FAA_0006', color: '#C62828', hasChart: 'none', title: \"\", links: \"none\", hasFrame: false, source: \"\" }) TSComponents.Graphic.render('indicator-graph1', { graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=defensa_FAA_0006', title: \"Personal Femenino en la Fuerza A\u00e9rea\", source: \"Fuente: Ministerio de Defensa\", colors: ['#C62828'] }) TSComponents.Card.render('graph-indicator2', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago', hasChart: \"small\", title: \"Indicador IPC interanual\" }) TSComponents.Graphic.render('indicator-graph2', { graphicUrl: \"https://apis.datos.gob.ar/series/api/series?ids=148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago\", datePickerEnabled: false, zoom: false, title: \"Gr\u00e1fico IPC interanual\", navigator: false, legendLabel: { \"148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago\": \"IPC (% interanual)\" } }) }","title":"TSComponents: Ejemplos"},{"location":"reference/ts-components/examples/#ejemplos","text":"El prop\u00f3sito de este documento es mostrar ejemplos recomendados de implementar los componentes exportables (Card, Graphic). Para conocer la forma de implementar correctamente cada componente, referirse a la documentaci\u00f3n propia del mismo.","title":"Ejemplos:"},{"location":"reference/ts-components/examples/#ejemplos-card","text":"","title":"Ejemplos Card:"},{"location":"reference/ts-components/examples/#indicadores-destacados-minimo","text":"","title":"Indicadores destacados (m\u00ednimo):"},{"location":"reference/ts-components/examples/#ejemplo","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/examples/#codigo","text":"< div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"indicador-min\" > < script > window . onload = function () { TSComponents . Card . render ( 'indicador-min' , { serieId : 'tcrse_QpvjK1:percent_change_a_year_ago' , color : '#0072BB' , hasChart : 'none' , title : \"TCRSE. Otros Cultivos.\" , links : \"none\" , hasFrame : false , explicitSign : true , source : \"Fuente: Secretar\u00eda de la Transformaci\u00f3n Productiva\" }) } ","title":"C\u00f3digo:"},{"location":"reference/ts-components/examples/#indicadores-destacados-con-mini-grafico","text":"","title":"Indicadores destacados (con mini-gr\u00e1fico):"},{"location":"reference/ts-components/examples/#ejemplo_1","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/examples/#codigo_1","text":"< div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"indicador-graph\" > < script > window . onload = function () { TSComponents . Card . render ( 'indicador-graph' , { serieId : 'tmi_arg' , color : '#2E7D33' , hasChart : 'small' , links : \"none\" , hasFrame : false }) } ","title":"C\u00f3digo:"},{"location":"reference/ts-components/examples/#indicadores-destacados-con-tarjeta-clickeable","text":"","title":"Indicadores destacados (con tarjeta clickeable):"},{"location":"reference/ts-components/examples/#ejemplo_2","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/examples/#codigo_2","text":"< div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"indicador-click\" > < script > window . onload = function () { TSComponents . Card . render ( 'indicador-click' , { serieId : 'defensa_FAA_0006' , color : '#C62828' , hasChart : 'small' , title : \"Personal Femenino en la Fuerza A\u00e9rea\" , links : \"none\" , }) } ","title":"C\u00f3digo:"},{"location":"reference/ts-components/examples/#indicadores-destacados-con-enlaces-de-descarga","text":"","title":"Indicadores destacados (con enlaces de descarga):"},{"location":"reference/ts-components/examples/#ejemplo_3","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/examples/#codigo_3","text":"< div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"indicador-link\" > < script > window . onload = function () { TSComponents . Card . render ( 'indicador-min' , { serieId : '77.3_IEB_0_A_24' , color : '#F9A822' , hasChart : 'small' , title : \"Exportaciones FOB a Brasil\" , units : \"Millones de USD\" , }) } ","title":"C\u00f3digo:"},{"location":"reference/ts-components/examples/#ejemplos-graph","text":"","title":"Ejemplos Graph:"},{"location":"reference/ts-components/examples/#graph-destacado-simple","text":"","title":"Graph destacado simple:"},{"location":"reference/ts-components/examples/#ejemplo_4","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/examples/#codigo_4","text":"< div class = \"container\" > < div class = \"row\" > < div class = \"col-sm-12\" id = \"graph-simple\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'graph-simple' , { \u2003\u2003\u2003\u2003 graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=143.3_NO_PR_2004_A_21:percent_change_a_year_ago,116.4_TCRZE_2015_D_36_4' , \u2003\u2003\u2003\u2003 zoom : false , \u2003\u2003\u2003\u2003 chartTypes : { '143.3_NO_PR_2004_A_21:percent_change_a_year_ago' : 'column' }, \u2003\u2003\u2003\u2003 title : 'Nivel de Actividad y Tipo de Cambio Real Multilateral' , \u2003\u2003\u2003\u2003 source : 'Fuente: Instituto Nacional de Estad\u00edstica y Censos (INDEC), Banco Central de la Rep\u00fablica Argentina (BCRA)' , \u2003\u2003\u2003\u2003 navigator : false }) } ","title":"C\u00f3digo:"},{"location":"reference/ts-components/examples/#graph-destacado-con-zoom","text":"","title":"Graph destacado con zoom:"},{"location":"reference/ts-components/examples/#ejemplo_5","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/examples/#codigo_5","text":"< div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"graph-zoom\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'graph-zoom' , { graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=33.2_ISAC_SIN_EDAD_0_M_23_56:percent_change_a_year_ago&last=12' , title : 'Indicador sint\u00e9tico de la actividad de la construcci\u00f3n (ISAC)' , source : 'Var % interanual. Fuente: Instituto Nacional de Estad\u00edstica y Censos (INDEC)' , chartTypes : { \"33.2_ISAC_SIN_EDAD_0_M_23_56\" : \"column\" }, zoom : false , navigator : true , }) } ","title":"C\u00f3digo:"},{"location":"reference/ts-components/examples/#graph-destacado-con-navegador-y-zoom","text":"","title":"Graph destacado con navegador y zoom:"},{"location":"reference/ts-components/examples/#ejemplo_6","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/examples/#codigo_6","text":"< div class = \"container\" > < div class = \"row panels-row\" > < div class = \"center-block\" id = \"graph-nav-zoom\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'graph-nav-zoom' , { graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=151.1_TL_SIN_TAC_2012_M_15,151.1_TL_ESTADAD_2012_M_20&last=12' , title : 'Cantidad de trabajadores registrados' , source : 'Cantidades. Fuente: Ministerio de Trabajo, Empleo y Seguridad Social' , legendField : 'description' , zoom : true , navigator : true }) } ","title":"C\u00f3digo:"},{"location":"reference/ts-components/examples/#ejemplos-card-graph","text":"","title":"Ejemplos Card + Graph:"},{"location":"reference/ts-components/examples/#indicador-con-graph-inferior-asociado","text":"","title":"Indicador con Graph inferior asociado:"},{"location":"reference/ts-components/examples/#ejemplo_7","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/examples/#codigo_7","text":"< div class = \"container\" > < div class = \"row\" > < div class = \"text-center\" id = \"graph-indicador1\" > < div class = \"row\" > < div id = \"indicator-graph1\" > < script > window . onload = function () { TSComponents . Card . render ( 'graph-indicador1' , { serieId : 'defensa_FAA_0006' , color : '#C62828' , hasChart : 'none' , title : \"\" , links : \"none\" , hasFrame : false , source : \"\" }) TSComponents . Graphic . render ( 'indicator-graph1' , { graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=defensa_FAA_0006' , title : \"Personal Femenino en la Fuerza A\u00e9rea\" , source : \"Fuente: Ministerio de Defensa\" , colors : [ '#C62828' ] }) } ","title":"C\u00f3digo:"},{"location":"reference/ts-components/examples/#indicador-con-graph-lateral-asociado","text":"","title":"Indicador con Graph lateral asociado:"},{"location":"reference/ts-components/examples/#ejemplo_8","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/examples/#codigo_8","text":"< div class = \"container row panels-row\" > < div id = 'graph-indicator2' > < div style = \"width: 500px; height: 350px;\" id = 'indicator-graph2' > < script > window . onload = function () { TSComponents . Card . render ( 'graph-indicator2' , { serieId : '148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago' , hasChart : \"small\" , title : \"Indicador IPC interanual\" }) TSComponents . Graphic . render ( 'indicator-graph2' , { graphicUrl : \"https://apis.datos.gob.ar/series/api/series?ids=148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago\" , datePickerEnabled : false , zoom : false , title : \"Gr\u00e1fico IPC interanual\" , navigator : false , legendLabel : { \"148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago\" : \"IPC (% interanual)\" } }) } window.onload = function() { TSComponents.Card.render('indicador-min', { serieId: 'tcrse_QpvjK1:percent_change_a_year_ago', color: '#0072BB', hasChart: 'none', title: \"TCRSE. Otros Cultivos.\", links: \"none\", hasFrame: false, explicitSign: true, source: \"Fuente: Secretar\u00eda de la Transformaci\u00f3n Productiva\" }) TSComponents.Card.render('indicador-graph', { serieId: 'tmi_arg', color: '#2E7D33', hasChart: 'small', links: \"none\", hasFrame: false }) TSComponents.Card.render('indicador-click', { serieId: 'defensa_FAA_0006', color: '#C62828', hasChart: 'small', title: \"Personal Femenino en la Fuerza A\u00e9rea\", links: \"none\", }) TSComponents.Card.render('indicador-link', { serieId: '77.3_IEB_0_A_24', color: '#F9A822', hasChart: 'small', title: \"Exportaciones FOB a Brasil\", units: \"Millones de USD\", }) TSComponents.Graphic.render('graph-simple', { \u2003\u2003\u2003\u2003graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=143.3_NO_PR_2004_A_21:percent_change_a_year_ago,116.4_TCRZE_2015_D_36_4', \u2003\u2003\u2003\u2003zoom: false, \u2003\u2003\u2003\u2003chartTypes: {'143.3_NO_PR_2004_A_21:percent_change_a_year_ago': 'column'}, \u2003\u2003\u2003\u2003title: 'Nivel de Actividad y Tipo de Cambio Real Multilateral', \u2003\u2003\u2003\u2003source: 'Fuente: Instituto Nacional de Estad\u00edstica y Censos (INDEC), Banco Central de la Rep\u00fablica Argentina (BCRA)', \u2003\u2003\u2003\u2003navigator: false }) TSComponents.Graphic.render('graph-zoom', { graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=33.2_ISAC_SIN_EDAD_0_M_23_56:percent_change_a_year_ago&last=12', title: 'Indicador sint\u00e9tico de la actividad de la construcci\u00f3n (ISAC)', source: 'Var % interanual. Fuente: Instituto Nacional de Estad\u00edstica y Censos (INDEC)', chartTypes: { \"33.2_ISAC_SIN_EDAD_0_M_23_56\": \"column\" }, zoom: false, navigator: true, }) TSComponents.Graphic.render('graph-nav-zoom', { graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=151.1_TL_SIN_TAC_2012_M_15,151.1_TL_ESTADAD_2012_M_20&last=12', title: 'Cantidad de trabajadores registrados', source: 'Cantidades. Fuente: Ministerio de Trabajo, Empleo y Seguridad Social', legendField: 'description', zoom: true, navigator: true }) TSComponents.Card.render('graph-indicador1', { serieId: 'defensa_FAA_0006', color: '#C62828', hasChart: 'none', title: \"\", links: \"none\", hasFrame: false, source: \"\" }) TSComponents.Graphic.render('indicator-graph1', { graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=defensa_FAA_0006', title: \"Personal Femenino en la Fuerza A\u00e9rea\", source: \"Fuente: Ministerio de Defensa\", colors: ['#C62828'] }) TSComponents.Card.render('graph-indicator2', { serieId: '148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago', hasChart: \"small\", title: \"Indicador IPC interanual\" }) TSComponents.Graphic.render('indicator-graph2', { graphicUrl: \"https://apis.datos.gob.ar/series/api/series?ids=148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago\", datePickerEnabled: false, zoom: false, title: \"Gr\u00e1fico IPC interanual\", navigator: false, legendLabel: { \"148.3_INIVELNAL_DICI_M_26:percent_change_a_year_ago\": \"IPC (% interanual)\" } }) }","title":"C\u00f3digo:"},{"location":"reference/ts-components/graphic/","text":"Componente: graphic \ud83d\udd17 El componente graphic permite embeber gr\u00e1ficos de l\u00edneas, \u00e1reas o barras en experiencias web. Permite elegir distintos elementos de filtro de fechas, personalizar los textos, etc. Ejemplo base \ud83d\udd17 Ver online: https://jsfiddle.net/bj1n8tum/ window.onload = function() { TSComponents.Graphic.render('tmi', { graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=tmi_arg', title: 'Tasa de Mortalidad Infantil de Argentina', source: 'Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud' }) } Este gr\u00e1fico se genera a partir del siguiente c\u00f3digo: < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js' > < link rel = 'stylesheet' type = 'text/css' href = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/css/components.css' /> < div id = \"tmi\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'tmi' , { // Llamada a la API de Series de Tiempo graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=tmi_arg' , title : 'Tasa de Mortalidad Infantil de Argentina' , source : 'Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud' }) } Tabla de par\u00e1metros \ud83d\udd17 Nombre Requerido Descripci\u00f3n Tipo Default Ejemplos graphicUrl Si URL completa del llamado a la API. string Ninguno https://apis.datos.gob.ar/series/api/series/?ids=tmi_arg chartOptions No Cualquier opci\u00f3n v\u00e1lida para [Highcharts](https://api.highcharts.com/highcharts/). object {} navigator No Indica si est\u00e1 habilitada la funcionalidad de navegaci\u00f3n de la serie. boolean Din\u00e1mico true / false locale No Valores posibles: \"AR\" o \"US\" (pendientes nuevos valores). Representan qu\u00e9 _locale_ usar para formatear n\u00fameros, es decir, separadores de miles o de decimales. string AR AR o US zoom No Indica si tiene habilitada la funcionalidad de zoom. boolean Din\u00e1mico true / false exportable No Indica si tiene habilitada la funcionalidad de exportar el gr\u00e1fico. boolean Din\u00e1mico true / false colors No Paleta de colores alternativa a la default. Los c\u00f3digos de colores pueden ser tanto hexadecimales (ej. \"#00CC44\") como numeros que son mapeados a la paleta por defecto (del 0 al 8) Ver paleta por defecto m\u00e1s abajo. list [\"#0072BB\", \"#2E7D33\", \"#C62828\", \"#F9A822\", \"#6A1B99\", \"#EC407A\", \"#C2185B\", \"#039BE5\", \"#6EA100\"] [0, 1, 2, 3, 4, 5, 6, 7, 8] [\"#2E7D33\", 2, \"#F9A822\"] backgroundColor No Color de fondo del gr\u00e1fico en formato hexadecimal. string #cdcdcd #cdcdcd datePickerEnabled No Indica si el selector de fechas est\u00e1 habilitado. boolean Din\u00e1mica true / false legendField No Indica el campo de la serie a usar para mostrar la leyenda. string 'title' \"title\", \"description\" o \"id\" chartTypes No Especifica el tipo de gr\u00e1fico a usar para cada serie < ./td> object 'line' para todas las series {'tmi_arg': 'column', 'tmi_02': 'line', 'tmi_06': 'area'} title No Especifica el t\u00edtulo el gr\u00e1fico. string Ninguno Tasa de Mortalidad Infantil de Argentina source No Especifica el texto al pie del gr\u00e1fico. string Ninguno Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud displayUnits No Indica si se muestran las unidades del gr\u00e1fico. boolean Din\u00e1mico true / false legendLabel No Especifica el texto a mostrar como leyenda por cada serie. object {} {'serie01': 'leyenda custom'} seriesAxis No Especifica de qu\u00e9 lado del gr\u00e1fico mostrar las ordenadas y unidades de cada serie representada. Puede haber m\u00e1s de una serie en un mismo lado. Si hay una sola serie, debe ir obligatoriamente del lado izquierdo. object {} {'serie01': 'right', 'serie02': 'left'} chartType No Especifica un tipo de gr\u00e1fico para aplicar a todas las series como default. En caso de estar especificado un tipo para una serie en chartTypes, este \u00faltimo ser\u00e1 priorizado para la misma. string 'line' 'line', 'area' o 'column' decimalLeftAxis No Especifica cu\u00e1ntos d\u00edgitos decimales tendr\u00e1n los valores de las ordenadas del eje izquierdo (principal) del gr\u00e1fico. int Ninguno 6 decimalRightAxis No Especifica cu\u00e1ntos d\u00edgitos decimales tendr\u00e1n los valores de las ordenadas del eje derecho (auxiliar) del gr\u00e1fico. int Ninguno 0 decimalTooltips No Especifica cu\u00e1ntos d\u00edgitos decimales mostrar\u00e1 el texto en el tooltip para cada serie, mapeando ids de series con cantidades de decimales. object Ninguno {'serie01': 4, 'serie02': 1} decimalTooltip No Especifica la cantidad de d\u00edgitos decimales a mostrar en el texto del tooltip para toda serie que no lo haya definido en el par\u00e1metro decimalTooltips. int Ninguno 3 Paleta de colores por defecto \ud83d\udd17 Por defecto, la paleta de colores en los que se grafican las series del componente. Cada uno puede ser identificado con un hexadecimal o un entero decimal: #0072BB o 0 , para azul #2E7D33 o 1 , para verde oscuro #C62828 o 2 , para rojo #F9A822 o 3 , para naranja #6A1B99 o 4 , para violeta #EC407A o 5 , para rosa #C2185B o 6 , para fucsia #039BE5 o 7 , para celeste #6EA100 o 8 , para verde claro Asignaci\u00f3n din\u00e1mica de atributos \ud83d\udd17 Varios componentes del gr\u00e1fico se muestran/ocultan din\u00e1micamente dependiendo de su tama\u00f1o. Los componentes son din\u00e1micos, en tanto no se especifique su valor de inicializaci\u00f3n: Si un par\u00e1metro se especifica con valor true se muestra siempre. Si el par\u00e1metro es false no se muestra nunca. Si no se especifica, corren las siguientes reglas: zoom : Se muestra si el ancho es mayor o igual a 620px navigator : Se muestra si el ancho es mayor o igual a 500px datePickerEnabled : Se muestra si el ancho es mayor o igual a 400px displayUnits : Se muestra si el ancho es mayor o igual a 450px leyenda : Este no es un campo que se pueda ocultar mediante la API de TSComponents.Graphic , pero los valores de la leyenda se muestran s\u00f3lo si hay m\u00e1s de una serie aplicada. Ejemplo completo \ud83d\udd17 < html > < body > < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js' > < link rel = 'stylesheet' type = 'text/css' href = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/css/components.css' /> < div id = \"root\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'root' , { graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=tmi_arg' , title : 'Tasa de Mortalidad Infantil de Argentina' , source : 'Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud' , legendField : 'title' , chartType : 'area' , chartTypes : { 'tmi_arg' : 'column' }, zoom : true , datePickerEnabled : true , displayUnits : true exportable : true , navigator : false , backgroundColor : '#cdcdcd' , colors : [ '#cecece' , '#8d6b22' , '#62848d' ], locale : 'AR' , chartOptions : {}, legendLabel : { 'tmi_arg' : 'Tasa de mortalidad nacional' }, seriesAxis : { 'tmi_arg' : 'left' } }) } ","title":"TSComponents: Graphic"},{"location":"reference/ts-components/graphic/#componente-graphic","text":"El componente graphic permite embeber gr\u00e1ficos de l\u00edneas, \u00e1reas o barras en experiencias web. Permite elegir distintos elementos de filtro de fechas, personalizar los textos, etc.","title":"Componente: graphic"},{"location":"reference/ts-components/graphic/#ejemplo-base","text":"Ver online: https://jsfiddle.net/bj1n8tum/ window.onload = function() { TSComponents.Graphic.render('tmi', { graphicUrl: 'https://apis.datos.gob.ar/series/api/series/?ids=tmi_arg', title: 'Tasa de Mortalidad Infantil de Argentina', source: 'Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud' }) } Este gr\u00e1fico se genera a partir del siguiente c\u00f3digo: < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js' > < link rel = 'stylesheet' type = 'text/css' href = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/css/components.css' /> < div id = \"tmi\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'tmi' , { // Llamada a la API de Series de Tiempo graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=tmi_arg' , title : 'Tasa de Mortalidad Infantil de Argentina' , source : 'Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud' }) } ","title":"Ejemplo base"},{"location":"reference/ts-components/graphic/#tabla-de-parametros","text":"Nombre Requerido Descripci\u00f3n Tipo Default Ejemplos graphicUrl Si URL completa del llamado a la API. string Ninguno https://apis.datos.gob.ar/series/api/series/?ids=tmi_arg chartOptions No Cualquier opci\u00f3n v\u00e1lida para [Highcharts](https://api.highcharts.com/highcharts/). object {} navigator No Indica si est\u00e1 habilitada la funcionalidad de navegaci\u00f3n de la serie. boolean Din\u00e1mico true / false locale No Valores posibles: \"AR\" o \"US\" (pendientes nuevos valores). Representan qu\u00e9 _locale_ usar para formatear n\u00fameros, es decir, separadores de miles o de decimales. string AR AR o US zoom No Indica si tiene habilitada la funcionalidad de zoom. boolean Din\u00e1mico true / false exportable No Indica si tiene habilitada la funcionalidad de exportar el gr\u00e1fico. boolean Din\u00e1mico true / false colors No Paleta de colores alternativa a la default. Los c\u00f3digos de colores pueden ser tanto hexadecimales (ej. \"#00CC44\") como numeros que son mapeados a la paleta por defecto (del 0 al 8) Ver paleta por defecto m\u00e1s abajo. list [\"#0072BB\", \"#2E7D33\", \"#C62828\", \"#F9A822\", \"#6A1B99\", \"#EC407A\", \"#C2185B\", \"#039BE5\", \"#6EA100\"] [0, 1, 2, 3, 4, 5, 6, 7, 8] [\"#2E7D33\", 2, \"#F9A822\"] backgroundColor No Color de fondo del gr\u00e1fico en formato hexadecimal. string #cdcdcd #cdcdcd datePickerEnabled No Indica si el selector de fechas est\u00e1 habilitado. boolean Din\u00e1mica true / false legendField No Indica el campo de la serie a usar para mostrar la leyenda. string 'title' \"title\", \"description\" o \"id\" chartTypes No Especifica el tipo de gr\u00e1fico a usar para cada serie < ./td> object 'line' para todas las series {'tmi_arg': 'column', 'tmi_02': 'line', 'tmi_06': 'area'} title No Especifica el t\u00edtulo el gr\u00e1fico. string Ninguno Tasa de Mortalidad Infantil de Argentina source No Especifica el texto al pie del gr\u00e1fico. string Ninguno Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud displayUnits No Indica si se muestran las unidades del gr\u00e1fico. boolean Din\u00e1mico true / false legendLabel No Especifica el texto a mostrar como leyenda por cada serie. object {} {'serie01': 'leyenda custom'} seriesAxis No Especifica de qu\u00e9 lado del gr\u00e1fico mostrar las ordenadas y unidades de cada serie representada. Puede haber m\u00e1s de una serie en un mismo lado. Si hay una sola serie, debe ir obligatoriamente del lado izquierdo. object {} {'serie01': 'right', 'serie02': 'left'} chartType No Especifica un tipo de gr\u00e1fico para aplicar a todas las series como default. En caso de estar especificado un tipo para una serie en chartTypes, este \u00faltimo ser\u00e1 priorizado para la misma. string 'line' 'line', 'area' o 'column' decimalLeftAxis No Especifica cu\u00e1ntos d\u00edgitos decimales tendr\u00e1n los valores de las ordenadas del eje izquierdo (principal) del gr\u00e1fico. int Ninguno 6 decimalRightAxis No Especifica cu\u00e1ntos d\u00edgitos decimales tendr\u00e1n los valores de las ordenadas del eje derecho (auxiliar) del gr\u00e1fico. int Ninguno 0 decimalTooltips No Especifica cu\u00e1ntos d\u00edgitos decimales mostrar\u00e1 el texto en el tooltip para cada serie, mapeando ids de series con cantidades de decimales. object Ninguno {'serie01': 4, 'serie02': 1} decimalTooltip No Especifica la cantidad de d\u00edgitos decimales a mostrar en el texto del tooltip para toda serie que no lo haya definido en el par\u00e1metro decimalTooltips. int Ninguno 3","title":"Tabla de par\u00e1metros"},{"location":"reference/ts-components/graphic/#paleta-de-colores-por-defecto","text":"Por defecto, la paleta de colores en los que se grafican las series del componente. Cada uno puede ser identificado con un hexadecimal o un entero decimal: #0072BB o 0 , para azul #2E7D33 o 1 , para verde oscuro #C62828 o 2 , para rojo #F9A822 o 3 , para naranja #6A1B99 o 4 , para violeta #EC407A o 5 , para rosa #C2185B o 6 , para fucsia #039BE5 o 7 , para celeste #6EA100 o 8 , para verde claro","title":"Paleta de colores por defecto"},{"location":"reference/ts-components/graphic/#asignacion-dinamica-de-atributos","text":"Varios componentes del gr\u00e1fico se muestran/ocultan din\u00e1micamente dependiendo de su tama\u00f1o. Los componentes son din\u00e1micos, en tanto no se especifique su valor de inicializaci\u00f3n: Si un par\u00e1metro se especifica con valor true se muestra siempre. Si el par\u00e1metro es false no se muestra nunca. Si no se especifica, corren las siguientes reglas: zoom : Se muestra si el ancho es mayor o igual a 620px navigator : Se muestra si el ancho es mayor o igual a 500px datePickerEnabled : Se muestra si el ancho es mayor o igual a 400px displayUnits : Se muestra si el ancho es mayor o igual a 450px leyenda : Este no es un campo que se pueda ocultar mediante la API de TSComponents.Graphic , pero los valores de la leyenda se muestran s\u00f3lo si hay m\u00e1s de una serie aplicada.","title":"Asignaci\u00f3n din\u00e1mica de atributos"},{"location":"reference/ts-components/graphic/#ejemplo-completo","text":"< html > < body > < script type = 'text/javascript' src = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/js/components.js' > < link rel = 'stylesheet' type = 'text/css' href = 'https://cdn.jsdelivr.net/gh/datosgobar/series-tiempo-ar-explorer@ts_components_2.6.8/dist/css/components.css' /> < div id = \"root\" > < script > window . onload = function () { TSComponents . Graphic . render ( 'root' , { graphicUrl : 'https://apis.datos.gob.ar/series/api/series/?ids=tmi_arg' , title : 'Tasa de Mortalidad Infantil de Argentina' , source : 'Direcci\u00f3n de Estad\u00edstica e Informaci\u00f3n en Salud (DEIS). Secretar\u00eda de Gobierno de Salud' , legendField : 'title' , chartType : 'area' , chartTypes : { 'tmi_arg' : 'column' }, zoom : true , datePickerEnabled : true , displayUnits : true exportable : true , navigator : false , backgroundColor : '#cdcdcd' , colors : [ '#cecece' , '#8d6b22' , '#62848d' ], locale : 'AR' , chartOptions : {}, legendLabel : { 'tmi_arg' : 'Tasa de mortalidad nacional' }, seriesAxis : { 'tmi_arg' : 'left' } }) } ","title":"Ejemplo completo"},{"location":"reference/ts-components/layout/","text":".btn-primary { color: #ffffff; background-color: #0072bb; } Layout de componentes: \ud83d\udd17 La hoja de estilos components.css incluye tambi\u00e9n selectores de clases aplicables a elementos HTML, inherentes al layout del dashboard o p\u00e1gina donde se inserten los componentes. Fila para componentes: \ud83d\udd17 Selector cuyos elementos internos ser\u00e1n equiespaciados y dispuestos horizontalmente. Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"ts-components-row\" > < div id = \"card-en-row-1\" > < div id = \"card-en-row-2\" > < div id = \"card-en-row-3\" > < script > window . onload = function () { TSComponents . Card . render ( 'card-en-row-1' , { serieId : '46.2_ECTSTG_0_T_40' , color : '#0072BB' , hasChart : 'none' , title : \"Tasa Subocupaci\u00f3n GBA\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) TSComponents . Card . render ( 'card-en-row-2' , { serieId : '46.2_ECTSTSL_0_T_45' , color : '#6B8E23' , hasChart : 'none' , title : \"Tasa Subocupaci\u00f3n San Luis\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) TSComponents . Card . render ( 'card-en-row-3' , { serieId : '46.2_ECTSTC_0_T_47' , color : '#FFA500' , hasChart : 'none' , title : \"Tasa Subocupaci\u00f3n Corrientes\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) } Contenedor de Card: \ud83d\udd17 Selector para div de una Card, con un peque\u00f1o margen abajo y \u00f3ptimo para diversos viewports. Ejemplo: \ud83d\udd17 C\u00f3digo: \ud83d\udd17 < div class = \"card-wrapper\" id = \"card-superior\" > < div class = \"card-wrapper\" id = \"card-inferior\" > < script > window . onload = function () { TSComponents . Card . render ( 'card-superior' , { serieId : '105.1_I2L_2016_M_16' , hasChart : 'none' , color : '#5ED613' , title : \"IPC Lechuga\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) TSComponents . Card . render ( 'card-inferior' , { serieId : '105.1_I2BAT_2016_M_15' , hasChart : 'none' , color : '#969009' , title : \"IPC Batata\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) } window.onload = function() { TSComponents.Card.render('card-en-row-1', { serieId: '46.2_ECTSTG_0_T_40', color: '#0072BB', hasChart: 'none', title: \"Tasa Subocupaci\u00f3n GBA\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) TSComponents.Card.render('card-en-row-2', { serieId: '46.2_ECTSTSL_0_T_45', color: '#6B8E23', hasChart: 'none', title: \"Tasa Subocupaci\u00f3n San Luis\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) TSComponents.Card.render('card-en-row-3', { serieId: '46.2_ECTSTC_0_T_47', color: '#FFA500', hasChart: 'none', title: \"Tasa Subocupaci\u00f3n Corrientes\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) TSComponents.Card.render('card-superior', { serieId: '105.1_I2L_2016_M_16', hasChart: 'none', color:'#5ED613', title: \"IPC Lechuga\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) TSComponents.Card.render('card-inferior', { serieId: '105.1_I2BAT_2016_M_15', hasChart: 'none', color:'#969009', title: \"IPC Batata\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) }","title":"TSComponents: Layout"},{"location":"reference/ts-components/layout/#layout-de-componentes","text":"La hoja de estilos components.css incluye tambi\u00e9n selectores de clases aplicables a elementos HTML, inherentes al layout del dashboard o p\u00e1gina donde se inserten los componentes.","title":"Layout de componentes:"},{"location":"reference/ts-components/layout/#fila-para-componentes","text":"Selector cuyos elementos internos ser\u00e1n equiespaciados y dispuestos horizontalmente.","title":"Fila para componentes:"},{"location":"reference/ts-components/layout/#ejemplo","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/layout/#codigo","text":"< div class = \"ts-components-row\" > < div id = \"card-en-row-1\" > < div id = \"card-en-row-2\" > < div id = \"card-en-row-3\" > < script > window . onload = function () { TSComponents . Card . render ( 'card-en-row-1' , { serieId : '46.2_ECTSTG_0_T_40' , color : '#0072BB' , hasChart : 'none' , title : \"Tasa Subocupaci\u00f3n GBA\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) TSComponents . Card . render ( 'card-en-row-2' , { serieId : '46.2_ECTSTSL_0_T_45' , color : '#6B8E23' , hasChart : 'none' , title : \"Tasa Subocupaci\u00f3n San Luis\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) TSComponents . Card . render ( 'card-en-row-3' , { serieId : '46.2_ECTSTC_0_T_47' , color : '#FFA500' , hasChart : 'none' , title : \"Tasa Subocupaci\u00f3n Corrientes\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) } ","title":"C\u00f3digo:"},{"location":"reference/ts-components/layout/#contenedor-de-card","text":"Selector para div de una Card, con un peque\u00f1o margen abajo y \u00f3ptimo para diversos viewports.","title":"Contenedor de Card:"},{"location":"reference/ts-components/layout/#ejemplo_1","text":"","title":"Ejemplo:"},{"location":"reference/ts-components/layout/#codigo_1","text":"< div class = \"card-wrapper\" id = \"card-superior\" > < div class = \"card-wrapper\" id = \"card-inferior\" > < script > window . onload = function () { TSComponents . Card . render ( 'card-superior' , { serieId : '105.1_I2L_2016_M_16' , hasChart : 'none' , color : '#5ED613' , title : \"IPC Lechuga\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) TSComponents . Card . render ( 'card-inferior' , { serieId : '105.1_I2BAT_2016_M_15' , hasChart : 'none' , color : '#969009' , title : \"IPC Batata\" , links : \"none\" , hasFrame : true , source : \"Fuente: SSPM\" }) } window.onload = function() { TSComponents.Card.render('card-en-row-1', { serieId: '46.2_ECTSTG_0_T_40', color: '#0072BB', hasChart: 'none', title: \"Tasa Subocupaci\u00f3n GBA\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) TSComponents.Card.render('card-en-row-2', { serieId: '46.2_ECTSTSL_0_T_45', color: '#6B8E23', hasChart: 'none', title: \"Tasa Subocupaci\u00f3n San Luis\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) TSComponents.Card.render('card-en-row-3', { serieId: '46.2_ECTSTC_0_T_47', color: '#FFA500', hasChart: 'none', title: \"Tasa Subocupaci\u00f3n Corrientes\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) TSComponents.Card.render('card-superior', { serieId: '105.1_I2L_2016_M_16', hasChart: 'none', color:'#5ED613', title: \"IPC Lechuga\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) TSComponents.Card.render('card-inferior', { serieId: '105.1_I2BAT_2016_M_15', hasChart: 'none', color:'#969009', title: \"IPC Batata\", links: \"none\", hasFrame: true, source: \"Fuente: SSPM\" }) }","title":"C\u00f3digo:"}]} \ No newline at end of file diff --git a/docs/sitemap.xml.gz b/docs/sitemap.xml.gz index e1e79d04..de36fe2a 100644 Binary files a/docs/sitemap.xml.gz and b/docs/sitemap.xml.gz differ diff --git a/release-steps.md b/release-steps.md index 38e285fa..0017ca39 100644 --- a/release-steps.md +++ b/release-steps.md @@ -35,12 +35,14 @@ Para lanzar una nueva release del TS Explorer, se deben realizar los siguientes 2. Guardar el fiddle, de manera que se le asigne un nuevo hash con los cambios persistidos 3. Reemplazar la URL de dichos fiddles en el archivo .md 3. **Generar los nuevos archivos de CSS y JS** de la carpeta `dist`, ejecutando `make release` desde el directorio raíz del repositorio -4. **Hacer el release desde GitHub**: +4. **Compilar los archivos de la documentación** (si es que hubo cambios en la misma), ejecutando `make docs` desde el directorio raíz del repositorio + - Es posible, previo a esto, ver cómo quedaría la documentación en http://127.0.0.1:8000/docs/, si se ejecuta desde el directorio raíz del repositorio el comando `make servedocs` +5. **Hacer el release desde GitHub**: 1. Agregar todos los cambios, ejecutando `git add .` desde el directorio raíz 2. Confirmar los mismos, ejecutando `git commit -m "Pre-release para versión del Explorer` 3. Subirlos al repositorio global, ejecutando `git push` 4. Desde la web de GitHub, crear una nueva release y asociarla a `master` para que tome los últimos cambios (los recién pusheados). En lo posible, detallar los cambios agregados al realizar la release, y seguir los patrones "Versión _n_ del Explorer" para el nombre descriptivo de la misma y `n` para su identificador. -5. **Realizar el deploy al ambiente de desarrollo**, para que la documentación ya refleje los cambios realizados: +6. **Realizar el deploy al ambiente de desarrollo**, para que la documentación ya refleje los cambios realizados: 1. Ejecutar `npm run build-docs`desde el directorio raíz del repositorio 2. Ejecutar `make build`desde el directorio raíz del repositorio 3. Agregar los cambios, commitear y pushear todo a master (preferentemente con el mensaje "Deploy a GitHub Pages"), tal como en el paso iii. \ No newline at end of file