text: /**
   * Kendo UI v2016.1.112 (http://www.telerik.com/kendo-ui)
   * Copyright 2016 Telerik AD. All rights reserved.
   *
   * Kendo UI commercial licenses may be obtained at
   * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete
   * If you do not own a commercial license, this file shall be governed by the trial license terms.
  
  */
  !function(e,define){define("util/main.min",["kendo.core.min"],e)}(function(){return function(){function e(e){return typeof e!==H}function n(e,n){var i=t(n);return z.round(e*i)/i}function t(e){return e?z.pow(10,e):1}function i(e,n,t){return z.max(z.min(e,t),n)}function r(e){return e*F}function o(e){return e/F}function a(e){return"number"==typeof e&&!isNaN(e)}function s(n,t){return e(n)?n:t}function u(e){return e*e}function l(e){var n,t=[];for(n in e)t.push(n+e[n]);return t.sort().join("")}function c(e){var n,t=2166136261;for(n=0;e.length>n;++n)t+=(t<<1)+(t<<4)+(t<<7)+(t<<8)+(t<<24),t^=e.charCodeAt(n);return t>>>0}function d(e){return c(l(e))}function h(e){var n,t=e.length,i=T,r=j;for(n=0;t>n;n++)r=z.max(r,e[n]),i=z.min(i,e[n]);return{min:i,max:r}}function f(e){return h(e).min}function p(e){return h(e).max}function g(e){return v(e).min}function m(e){return v(e).max}function v(e){var n,t,i,r=T,o=j;for(n=0,t=e.length;t>n;n++)i=e[n],null!==i&&isFinite(i)&&(r=z.min(r,i),o=z.max(o,i));return{min:r===T?void 0:r,max:o===j?void 0:o}}function w(e){return e?e[e.length-1]:void 0}function y(e,n){return e.push.apply(e,n),e}function x(e){return L.template(e,{useWithBlock:!1,paramName:"d"})}function b(n,t){return e(t)&&null!==t?" "+n+"='"+t+"' ":""}function _(e){var n,t="";for(n=0;e.length>n;n++)t+=b(e[n][0],e[n][1]);return t}function k(n){var t,i,r="";for(t=0;n.length>t;t++)i=n[t][1],e(i)&&(r+=n[t][0]+":"+i+";");return""!==r?r:void 0}function C(e){return"string"!=typeof e&&(e+="px"),e}function A(e){var n,t,i=[];if(e)for(n=L.toHyphens(e).split("-"),t=0;n.length>t;t++)i.push("k-pos-"+n[t]);return i.join(" ")}function P(n){return""===n||null===n||"none"===n||"transparent"===n||!e(n)}function M(e){for(var n={1:"i",10:"x",100:"c",2:"ii",20:"xx",200:"cc",3:"iii",30:"xxx",300:"ccc",4:"iv",40:"xl",400:"cd",5:"v",50:"l",500:"d",6:"vi",60:"lx",600:"dc",7:"vii",70:"lxx",700:"dcc",8:"viii",80:"lxxx",800:"dccc",9:"ix",90:"xc",900:"cm",1e3:"m"},t=[1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],i="";e>0;)t[0]>e?t.shift():(i+=n[t[0]],e-=t[0]);return i}function S(e){var n,t,i,r,o;for(e=e.toLowerCase(),n={i:1,v:5,x:10,l:50,c:100,d:500,m:1e3},t=0,i=0,r=0;e.length>r;++r){if(o=n[e.charAt(r)],!o)return null;t+=o,o>i&&(t-=2*i),i=o}return t}function O(e){var n=Object.create(null);return function(){var t,i="";for(t=arguments.length;--t>=0;)i+=":"+arguments[t];return i in n?n[i]:e.apply(this,arguments)}}function I(e){for(var n,t,i=[],r=0,o=e.length;o>r;)n=e.charCodeAt(r++),n>=55296&&56319>=n&&o>r?(t=e.charCodeAt(r++),56320==(64512&t)?i.push(((1023&n)<<10)+(1023&t)+65536):(i.push(n),r--)):i.push(n);return i}function N(e){return e.map(function(e){var n="";return e>65535&&(e-=65536,n+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),n+=String.fromCharCode(e)}).join("")}var z=Math,L=window.kendo,V=L.deepExtend,F=z.PI/180,T=Number.MAX_VALUE,j=-Number.MAX_VALUE,H="undefined",E=Date.now;E||(E=function(){return(new Date).getTime()}),V(L,{util:{MAX_NUM:T,MIN_NUM:j,append:y,arrayLimits:h,arrayMin:f,arrayMax:p,defined:e,deg:o,hashKey:c,hashObject:d,isNumber:a,isTransparent:P,last:w,limitValue:i,now:E,objectKey:l,round:n,rad:r,renderAttr:b,renderAllAttr:_,renderPos:A,renderSize:C,renderStyle:k,renderTemplate:x,sparseArrayLimits:v,sparseArrayMin:g,sparseArrayMax:m,sqr:u,valueOrDefault:s,romanToArabic:S,arabicToRoman:M,memoize:O,ucs2encode:N,ucs2decode:I}}),L.drawing.util=L.util,L.dataviz.util=L.util}(),window.kendo},"function"==typeof define&&define.amd?define:function(e,n,t){(t||n)()}),function(e,define){define("util/text-metrics",["kendo.core","util/main"],e)}(function(){!function(e){function n(e,n,t){return l.current.measure(e,n,t)}var t=document,i=window.kendo,r=i.Class,o=i.util,a=o.defined,s=r.extend({init:function(e){this._size=e,this._length=0,this._map={}},put:function(e,n){var t=this,i=t._map,r={key:e,value:n};i[e]=r,t._head?(t._tail.newer=r,r.older=t._tail,t._tail=r):t._head=t._tail=r,t._length>=t._size?(i[t._head.key]=null,t._head=t._head.newer,t._head.older=null):t._length++},get:function(e){var n=this,t=n._map[e];return t?(t===n._head&&t!==n._tail&&(n._head=t.newer,n._head.older=null),t!==n._tail&&(t.older&&(t.older.newer=t.newer,t.newer.older=t.older),t.older=n._tail,t.newer=null,n._tail.newer=t,n._tail=t),t.value):void 0}}),u=e("<div style='position: absolute !important; top: -4000px !important; width: auto !important; height: auto !important;padding: 0 !important; margin: 0 !important; border: 0 !important;line-height: normal !important; visibility: hidden !important; white-space: nowrap!important;' />")[0],l=r.extend({init:function(e){this._cache=new s(1e3),this._initOptions(e)},options:{baselineMarkerSize:1},measure:function(n,i,r){var s,l,c,d,h,f=o.objectKey(i),p=o.hashKey(n+f),g=this._cache.get(p);if(g)return g;s={width:0,height:0,baseline:0},l=r?r:u,c=this._baselineMarker().cloneNode(!1);for(d in i)h=i[d],a(h)&&(l.style[d]=h);return e(l).text(n),l.appendChild(c),t.body.appendChild(l),(n+"").length&&(s.width=l.offsetWidth-this.options.baselineMarkerSize,s.height=l.offsetHeight,s.baseline=c.offsetTop+this.options.baselineMarkerSize),s.width>0&&s.height>0&&this._cache.put(p,s),l.parentNode.removeChild(l),s},_baselineMarker:function(){return e("<div class='k-baseline-marker' style='display: inline-block; vertical-align: baseline;width: "+this.options.baselineMarkerSize+"px; height: "+this.options.baselineMarkerSize+"px;overflow: hidden;' />")[0]}});l.current=new l,i.util.TextMetrics=l,i.util.LRUCache=s,i.util.measureText=n}(window.kendo.jQuery)},"function"==typeof define&&define.amd?define:function(e,n,t){(t||n)()}),function(e,define){define("util/base64.min",["util/main.min"],e)}(function(){return function(){function e(e){var t,i,r,a,s,u,l,c="",d=0;for(e=n(e);e.length>d;)t=e.charCodeAt(d++),i=e.charCodeAt(d++),r=e.charCodeAt(d++),a=t>>2,s=(3&t)<<4|i>>4,u=(15&i)<<2|r>>6,l=63&r,isNaN(i)?u=l=64:isNaN(r)&&(l=64),c=c+o.charAt(a)+o.charAt(s)+o.charAt(u)+o.charAt(l);return c}function n(e){var n,t,i="";for(n=0;e.length>n;n++)t=e.charCodeAt(n),128>t?i+=r(t):2048>t?(i+=r(192|t>>>6),i+=r(128|63&t)):65536>t&&(i+=r(224|t>>>12),i+=r(128|t>>>6&63),i+=r(128|63&t));return i}var t=window.kendo,i=t.deepExtend,r=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i(t.util,{encodeBase64:e,encodeUTF8:n})}(),window.kendo},"function"==typeof define&&define.amd?define:function(e,n,t){(t||n)()}),function(e,define){define("mixins/observers.min",["kendo.core.min"],e)}(function(){return function(e){var n=Math,t=window.kendo,i=t.deepExtend,r=e.inArray,o={observers:function(){return this._observers=this._observers||[]},addObserver:function(e){return this._observers?this._observers.push(e):this._observers=[e],this},removeObserver:function(e){var n=this.observers(),t=r(e,n);return-1!=t&&n.splice(t,1),this},trigger:function(e,n){var t,i,r=this._observers;if(r&&!this._suspended)for(i=0;r.length>i;i++)t=r[i],t[e]&&t[e](n);return this},optionsChange:function(e){this.trigger("optionsChange",e)},geometryChange:function(e){this.trigger("geometryChange",e)},suspend:function(){return this._suspended=(this._suspended||0)+1,this},resume:function(){return this._suspended=n.max((this._suspended||0)-1,0),this},_observerField:function(e,n){this[e]&&this[e].removeObserver(this),this[e]=n,n.addObserver(this)}};i(t,{mixins:{ObserversMixin:o}})}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,n,t){(t||n)()}),function(e,define){define("kendo.dataviz.chart.funnel.min",["kendo.dataviz.chart.min","kendo.drawing.min"],e)}(function(){return function(e,n){var t,i=window.kendo,r=i.deepExtend,o=e.extend,a=i.isFunction,s=i.template,u=i.util,l=u.append,c=i.drawing,d=i.geometry,h=i.dataviz,f=i.drawing.Color,p=h.ChartElement,g=h.PieChartMixin,m=h.PlotAreaBase,v=h.PlotAreaFactory,w=h.Point2D,y=h.Box2D,x=h.SeriesBinder,b=h.TextBox,_=h.autoFormat,k=h.evalOptions,C=u.limitValue,A=h.seriesTotal,P="category",M="color",S="funnel",O="value",I="black",N="white",z=m.extend({render:function(){var e=this,n=e.series;e.createFunnelChart(n)},createFunnelChart:function(e){var n=this,t=e[0],i=new L(n,{series:e,legend:n.options.legend,neckRatio:t.neckRatio,dynamicHeight:t.dynamicHeight,dynamicSlope:t.dynamicSlope,segmentSpacing:t.segmentSpacing,highlight:t.highlight});n.appendChart(i)},appendChart:function(e,n){m.fn.appendChart.call(this,e,n),l(this.options.legend.items,e.legendItems)}}),L=p.extend({init:function(e,n){var t=this;p.fn.init.call(t,n),t.plotArea=e,t.points=[],t.labels=[],t.legendItems=[],t.render()},options:{neckRatio:.3,width:300,dynamicSlope:!1,dynamicHeight:!0,segmentSpacing:0,labels:{visible:!1,align:"center",position:"center"}},formatPointValue:function(e,n){return _(n,e.value)},render:function(){var e,t,i,o,s,u,l,c=this,d=c.options,h=c.plotArea.options.seriesColors||[],f=h.length,p=d.series[0],g=p.data;if(g)for(i=A(p),s=0;g.length>s;s++)e=x.current.bindPoint(p,s),o=e.valueFields.value,null!==o&&o!==n&&(t=e.fields,a(p.color)||(p.color=t.color||h[s%f]),t=r({index:s,owner:c,series:p,category:t.category,dataItem:g[s],percentage:Math.abs(o)/i,visibleInLegend:t.visibleInLegend,visible:t.visible},t),u=c.createSegment(o,t),l=c.createLabel(o,t),u&&l&&u.append(l))},evalSegmentOptions:function(e,n,t){var i=t.series;k(e,{value:n,series:i,dataItem:t.dataItem,index:t.index},{defaults:i._defaults,excluded:["data","toggle","visual"]})},createSegment:function(e,i){var a,s=this,u=r({},i.series);return s.evalSegmentOptions(u,e,i),s.createLegendItem(e,u,i),i.visible!==!1?(a=new t(e,u,i),o(a,i),s.append(a),s.points.push(a),a):n},createLabel:function(e,t){var i,o,a,u=this,l=t.series,c=t.dataItem,d=r({},u.options.labels,l.labels),h=e;return d.visible?(d.template?(o=s(d.template),h=o({dataItem:c,value:e,percentage:t.percentage,category:t.category,series:l})):d.format&&(h=_(d.format,h)),d.color||"center"!==d.align||(a=new f(l.color).percBrightness(),d.color=a>180?I:N),u.evalSegmentOptions(d,e,t),i=new b(h,r({vAlign:d.position},d)),u.labels.push(i),i):n},labelPadding:function(){var e,n,t,i,r=this.labels,o={left:0,right:0};for(i=0;r.length>i;i++)e=r[i],n=e.options.align,"center"!==n&&(t=r[i].box.width(),"left"===n?o.left=Math.max(o.left,t):o.right=Math.max(o.right,t));return o},reflow:function(n){var t,i,r,o,a,s,u,l,c,h,f,p,g=this,m=g.options,v=g.points,w=v.length,y=1>=m.neckRatio,x=n.clone().unpad(g.labelPadding()),b=x.width(),_=0,k=y?0:(b-b/m.neckRatio)/2,A=m.segmentSpacing,P=m.dynamicSlope,M=x.height()-A*(w-1),S=y?m.neckRatio*b:b;if(w){if(P)for(u=v[0],l=u,e.each(v,function(e,n){n.percentage>l.percentage&&(l=n)}),r=u.percentage/l.percentage*b,k=(b-r)/2,t=0;w>t;t++)a=v[t].percentage,c=v[t+1],h=c?c.percentage:a,o=v[t].points=[],i=m.dynamicHeight?M*a:M/w,s=a?(b-r*(h/a))/2:h?0:b/2,s=C(s,0,b),o.push(new d.Point(x.x1+k,x.y1+_)),o.push(new d.Point(x.x1+b-k,x.y1+_)),o.push(new d.Point(x.x1+b-s,x.y1+i+_)),o.push(new d.Point(x.x1+s,x.y1+i+_)),k=s,_+=i+A,r=C(b-2*s,0,b);else for(f=y?b:b-2*k,p=(f-S)/2,t=0;w>t;t++)o=v[t].points=[],a=v[t].percentage,s=m.dynamicHeight?p*a:p/w,i=m.dynamicHeight?M*a:M/w,o.push(new d.Point(x.x1+k,x.y1+_)),o.push(new d.Point(x.x1+b-k,x.y1+_)),o.push(new d.Point(x.x1+b-k-s,x.y1+i+_)),o.push(new d.Point(x.x1+k+s,x.y1+i+_)),k+=s,_+=i+A;for(t=0;w>t;t++)v[t].reflow(n)}}});r(L.fn,g),t=p.extend({init:function(e,n,t){var i=this;p.fn.init.call(i,n),i.value=e,i.options.index=t.index},options:{color:N,border:{width:1}},reflow:function(e){var n=this,t=n.points,i=n.children[0];n.box=new y(t[0].x,t[0].y,t[1].x,t[2].y),i&&i.reflow(new y(e.x1,t[0].y,e.x2,t[2].y))},createVisual:function(){var e,n=this,t=n.options;p.fn.createVisual.call(this),e=t.visual?t.visual({category:n.category,dataItem:n.dataItem,value:n.value,series:n.series,percentage:n.percentage,points:n.points,options:t,createVisual:function(){return n.createPath()}}):n.createPath(),e&&this.visual.append(e)},createPath:function(){var e=this.options,n=e.border,t=c.Path.fromPoints(this.points,{fill:{color:e.color,opacity:e.opacity},stroke:{color:n.color,opacity:n.opacity,width:n.width}}).close();return t},createHighlight:function(e){return c.Path.fromPoints(this.points,e)},highlightVisual:function(){return this.visual.children[0]},highlightVisualArgs:function(){var e=c.Path.fromPoints(this.points).close();return{options:this.options,path:e}},highlightOverlay:function(e,n){var t,i,r,a=this.options,s=a.highlight||{};if(s.visible!==!1)return t=s.border||{},i=o({},n,{fill:s.color,stroke:t.color,strokeOpacity:t.opacity,strokeWidth:t.width,fillOpacity:s.opacity}),r=e.createPolyline(this.points,!0,i)},tooltipAnchor:function(e){var n=this.box;return new w(n.center().x-e/2,n.y1)},formatValue:function(e){var n=this;return n.owner.formatPointValue(n,e)}}),r(t.fn,h.PointEventsMixin),v.current.register(z,[S]),x.current.register([S],[O],[P,M,"visibleInLegend","visible"]),r(h,{FunnelChart:L,FunnelSegment:t})}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,n,t){(t||n)()});
  //# sourceMappingURL=kendo.dataviz.chart.funnel.min.js.map