/** 
 * Kendo UI v2016.3.1118 (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!==E}function n(e,n){var i=t(n);return F.round(e*i)/i}function t(e){return e?F.pow(10,e):1}function i(e,n,t){return F.max(F.min(e,t),n)}function r(e){return e*V}function o(e){return e/V}function a(e){return"number"==typeof e&&!isNaN(e)}function s(n,t){return e(n)?n:t}function l(e){return e*e}function u(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;n<e.length;++n)t+=(t<<1)+(t<<4)+(t<<7)+(t<<8)+(t<<24),t^=e.charCodeAt(n);return t>>>0}function h(e){return c(u(e))}function d(e){var n,t=e.length,i=j,r=H;for(n=0;n<t;n++)r=F.max(r,e[n]),i=F.min(i,e[n]);return{min:i,max:r}}function f(e){return d(e).min}function p(e){return d(e).max}function g(e){return v(e).min}function m(e){return v(e).max}function v(e){var n,t,i,r=j,o=H;for(n=0,t=e.length;n<t;n++)i=e[n],null!==i&&isFinite(i)&&(r=F.min(r,i),o=F.max(o,i));return{min:r===j?void 0:r,max:o===H?void 0:o}}function y(e){if(e)return e[e.length-1]}function w(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;n<e.length;n++)t+=b(e[n][0],e[n][1]);return t}function k(n){var t,i,r="";for(t=0;t<n.length;t++)i=n[t][1],e(i)&&(r+=n[t][0]+":"+i+";");if(""!==r)return r}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;t<n.length;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;)e<t[0]?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;r<e.length;++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]:n[i]=e.apply(this,arguments)}}function I(e){for(var n,t,i=[],r=0,o=e.length;r<o;)n=e.charCodeAt(r++),n>=55296&&n<=56319&&r<o?(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("")}function z(e,n){function t(e,t){for(var i=[],r=0,o=0,a=0;r<e.length&&o<t.length;)n(e[r],t[o])<=0?i[a++]=e[r++]:i[a++]=t[o++];return r<e.length&&i.push.apply(i,e.slice(r)),o<t.length&&i.push.apply(i,t.slice(o)),i}return e.length<2?e.slice():function i(e){var n,r,o;return e.length<=1?e:(n=Math.floor(e.length/2),r=e.slice(0,n),o=e.slice(n),r=i(r),o=i(o),t(r,o))}(e)}var F=Math,L=window.kendo,T=L.deepExtend,V=F.PI/180,j=Number.MAX_VALUE,H=-Number.MAX_VALUE,E="undefined",R=Date.now;R||(R=function(){return(new Date).getTime()}),T(L,{util:{MAX_NUM:j,MIN_NUM:H,append:w,arrayLimits:d,arrayMin:f,arrayMax:p,defined:e,deg:o,hashKey:c,hashObject:h,isNumber:a,isTransparent:P,last:y,limitValue:i,now:R,objectKey:u,round:n,rad:r,renderAttr:b,renderAllAttr:_,renderPos:A,renderSize:C,renderStyle:k,renderTemplate:x,sparseArrayLimits:v,sparseArrayMin:g,sparseArrayMax:m,sqr:l,valueOrDefault:s,romanToArabic:S,arabicToRoman:M,memoize:O,ucs2encode:N,ucs2decode:I,mergeSort:z}}),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.min",["kendo.core.min","util/main.min"],e)}(function(){!function(e){function n(){return{width:0,height:0,baseline:0}}function t(e,n,t){return h.current.measure(e,n,t)}function i(e,n){var t=[];if(e.length>0&&document.fonts){try{t=e.map(function(e){return document.fonts.load(e)})}catch(i){o.logToConsole(i)}Promise.all(t).then(n,n)}else n()}var r=document,o=window.kendo,a=o.Class,s=o.util,l=s.defined,u=a.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];if(t)return 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}}),c=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],h=a.extend({init:function(e){this._cache=new u(1e3),this._initOptions(e)},options:{baselineMarkerSize:1},measure:function(t,i,o){var a,u,h,d,f,p,g,m;if(!t)return n();if(a=s.objectKey(i),u=s.hashKey(t+a),h=this._cache.get(u),h)return h;d=n(),f=o?o:c,p=this._baselineMarker().cloneNode(!1);for(g in i)m=i[g],l(m)&&(f.style[g]=m);return e(f).text(t),f.appendChild(p),r.body.appendChild(f),(t+"").length&&(d.width=f.offsetWidth-this.options.baselineMarkerSize,d.height=f.offsetHeight,d.baseline=p.offsetTop+this.options.baselineMarkerSize),d.width>0&&d.height>0&&this._cache.put(u,d),f.parentNode.removeChild(f),d},_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]}});h.current=new h,o.util.TextMetrics=h,o.util.LRUCache=u,o.util.loadFonts=i,o.util.measureText=t}(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,l,u,c="",h=0;for(e=n(e);h<e.length;)t=e.charCodeAt(h++),i=e.charCodeAt(h++),r=e.charCodeAt(h++),a=t>>2,s=(3&t)<<4|i>>4,l=(15&i)<<2|r>>6,u=63&r,isNaN(i)?l=u=64:isNaN(r)&&(u=64),c=c+o.charAt(a)+o.charAt(s)+o.charAt(l)+o.charAt(u);return c}function n(e){var n,t,i="";for(n=0;n<e.length;n++)t=e.charCodeAt(n),t<128?i+=r(t):t<2048?(i+=r(192|t>>>6),i+=r(128|63&t)):t<65536&&(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 t!=-1&&n.splice(t,1),this},trigger:function(e,n){var t,i,r=this._observers;if(r&&!this._suspended)for(i=0;i<r.length;i++)t=r[i],t[e]&&t[e](n);return this},optionsChange:function(e){e=e||{},e.element=this,this.trigger("optionsChange",e)},geometryChange:function(){this.trigger("geometryChange",{element:this})},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,l=i.util,u=l.append,c=i.drawing,h=i.geometry,d=i.dataviz,f=i.drawing.Color,p=d.ChartElement,g=d.PieChartMixin,m=d.PlotAreaBase,v=d.PlotAreaFactory,y=d.Point2D,w=d.Box2D,x=d.SeriesBinder,b=d.TextBox,_=d.autoFormat,k=d.evalOptions,C=l.limitValue,A=d.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 F(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),u(this.options.legend.items,e.legendItems)}}),F=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,l,u,c=this,h=c.options,d=c.plotArea.options.seriesColors||[],f=d.length,p=h.series[0],g=p.data;if(g)for(i=A(p),s=0;s<g.length;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||d[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),l=c.createSegment(o,t),u=c.createLabel(o,t),l&&u&&l.append(u))},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,n){var i,a=this,s=r({},n.series);if(a.evalSegmentOptions(s,e,n),a.createLegendItem(e,s,n),n.visible!==!1)return i=new t(e,s,n),o(i,n),a.append(i),a.points.push(i),i},createLabel:function(e,n){var t,i,o,a=this,l=n.series,u=n.dataItem,c=r({},a.options.labels,l.labels),h=e;if(c.visible)return c.template?(i=s(c.template),h=i({dataItem:u,value:e,percentage:n.percentage,category:n.category,series:l})):c.format&&(h=_(c.format,h)),c.color||"center"!==c.align||(o=new f(l.color).percBrightness(),c.color=o>180?I:N),a.evalSegmentOptions(c,e,n),t=new b(h,r({vAlign:c.position},c)),a.labels.push(t),t},labelPadding:function(){var e,n,t,i,r=this.labels,o={left:0,right:0};for(i=0;i<r.length;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,l,u,c,d,f,p,g=this,m=g.options,v=g.points,y=v.length,w=m.neckRatio<=1,x=n.clone().unpad(g.labelPadding()),b=x.width(),_=0,k=w?0:(b-b/m.neckRatio)/2,A=m.segmentSpacing,P=m.dynamicSlope,M=x.height()-A*(y-1),S=w?m.neckRatio*b:b;if(y){if(P)for(l=v[0],u=l,e.each(v,function(e,n){n.percentage>u.percentage&&(u=n)}),r=l.percentage/u.percentage*b,k=(b-r)/2,t=0;t<y;t++)a=v[t].percentage,c=v[t+1],d=c?c.percentage:a,o=v[t].points=[],i=m.dynamicHeight?M*a:M/y,s=a?(b-r*(d/a))/2:d?0:b/2,s=C(s,0,b),o.push(new h.Point(x.x1+k,x.y1+_)),o.push(new h.Point(x.x1+b-k,x.y1+_)),o.push(new h.Point(x.x1+b-s,x.y1+i+_)),o.push(new h.Point(x.x1+s,x.y1+i+_)),k=s,_+=i+A,r=C(b-2*s,0,b);else for(f=w?b:b-2*k,p=(f-S)/2,t=0;t<y;t++)o=v[t].points=[],a=v[t].percentage,s=m.dynamicHeight?p*a:p/y,i=m.dynamicHeight?M*a:M/y,o.push(new h.Point(x.x1+k,x.y1+_)),o.push(new h.Point(x.x1+b-k,x.y1+_)),o.push(new h.Point(x.x1+b-k-s,x.y1+i+_)),o.push(new h.Point(x.x1+k+s,x.y1+i+_)),k+=s,_+=i+A;for(t=0;t<y;t++)v[t].reflow(n)}}});r(F.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 w(t[0].x,t[0].y,t[1].x,t[2].y),i&&i.reflow(new w(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 y(n.center().x-e/2,n.y1)},formatValue:function(e){var n=this;return n.owner.formatPointValue(n,e)}}),r(t.fn,d.PointEventsMixin),v.current.register(z,[S]),x.current.register([S],[O],[P,M,"visibleInLegend","visible"]),r(d,{FunnelChart:F,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
