/** 
 * 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(o,define){define("util/main.min",["kendo.core.min"],o)}(function(){return function(){function o(o){return typeof o!==O}function r(o,r){var t=e(r);return E.round(o*t)/t}function e(o){return o?E.pow(10,o):1}function t(o,r,e){return E.max(E.min(o,e),r)}function n(o){return o*R}function d(o){return o/R}function a(o){return"number"==typeof o&&!isNaN(o)}function s(r,e){return o(r)?r:e}function l(o){return o*o}function i(o){var r,e=[];for(r in o)e.push(r+o[r]);return e.sort().join("")}function u(o){var r,e=2166136261;for(r=0;r<o.length;++r)e+=(e<<1)+(e<<4)+(e<<7)+(e<<8)+(e<<24),e^=o.charCodeAt(r);return e>>>0}function c(o){return u(i(o))}function g(o){var r,e=o.length,t=T,n=N;for(r=0;r<e;r++)n=E.max(n,o[r]),t=E.min(t,o[r]);return{min:t,max:n}}function w(o){return g(o).min}function C(o){return g(o).max}function h(o){return p(o).min}function f(o){return p(o).max}function p(o){var r,e,t,n=T,d=N;for(r=0,e=o.length;r<e;r++)t=o[r],null!==t&&isFinite(t)&&(n=E.min(n,t),d=E.max(d,t));return{min:n===T?void 0:n,max:d===N?void 0:d}}function k(o){if(o)return o[o.length-1]}function B(o,r){return o.push.apply(o,r),o}function D(o){return H.template(o,{useWithBlock:!1,paramName:"d"})}function P(r,e){return o(e)&&null!==e?" "+r+"='"+e+"' ":""}function v(o){var r,e="";for(r=0;r<o.length;r++)e+=P(o[r][0],o[r][1]);return e}function m(r){var e,t,n="";for(e=0;e<r.length;e++)t=r[e][1],o(t)&&(n+=r[e][0]+":"+t+";");if(""!==n)return n}function M(o){return"string"!=typeof o&&(o+="px"),o}function _(o){var r,e,t=[];if(o)for(r=H.toHyphens(o).split("-"),e=0;e<r.length;e++)t.push("k-pos-"+r[e]);return t.join(" ")}function L(r){return""===r||null===r||"none"===r||"transparent"===r||!o(r)}function x(o){for(var r={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"},e=[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],t="";o>0;)o<e[0]?e.shift():(t+=r[e[0]],o-=e[0]);return t}function A(o){var r,e,t,n,d;for(o=o.toLowerCase(),r={i:1,v:5,x:10,l:50,c:100,d:500,m:1e3},e=0,t=0,n=0;n<o.length;++n){if(d=r[o.charAt(n)],!d)return null;e+=d,d>t&&(e-=2*t),t=d}return e}function b(o){var r=Object.create(null);return function(){var e,t="";for(e=arguments.length;--e>=0;)t+=":"+arguments[e];return t in r?r[t]:r[t]=o.apply(this,arguments)}}function y(o){for(var r,e,t=[],n=0,d=o.length;n<d;)r=o.charCodeAt(n++),r>=55296&&r<=56319&&n<d?(e=o.charCodeAt(n++),56320==(64512&e)?t.push(((1023&r)<<10)+(1023&e)+65536):(t.push(r),n--)):t.push(r);return t}function S(o){return o.map(function(o){var r="";return o>65535&&(o-=65536,r+=String.fromCharCode(o>>>10&1023|55296),o=56320|1023&o),r+=String.fromCharCode(o)}).join("")}function Q(o,r){function e(o,e){for(var t=[],n=0,d=0,a=0;n<o.length&&d<e.length;)r(o[n],e[d])<=0?t[a++]=o[n++]:t[a++]=e[d++];return n<o.length&&t.push.apply(t,o.slice(n)),d<e.length&&t.push.apply(t,e.slice(d)),t}return o.length<2?o.slice():function t(o){var r,n,d;return o.length<=1?o:(r=Math.floor(o.length/2),n=o.slice(0,r),d=o.slice(r),n=t(n),d=t(d),e(n,d))}(o)}var E=Math,H=window.kendo,I=H.deepExtend,R=E.PI/180,T=Number.MAX_VALUE,N=-Number.MAX_VALUE,O="undefined",U=Date.now;U||(U=function(){return(new Date).getTime()}),I(H,{util:{MAX_NUM:T,MIN_NUM:N,append:B,arrayLimits:g,arrayMin:w,arrayMax:C,defined:o,deg:d,hashKey:u,hashObject:c,isNumber:a,isTransparent:L,last:k,limitValue:t,now:U,objectKey:i,round:r,rad:n,renderAttr:P,renderAllAttr:v,renderPos:_,renderSize:M,renderStyle:m,renderTemplate:D,sparseArrayLimits:p,sparseArrayMin:h,sparseArrayMax:f,sqr:l,valueOrDefault:s,romanToArabic:A,arabicToRoman:x,memoize:b,ucs2encode:S,ucs2decode:y,mergeSort:Q}}),H.drawing.util=H.util,H.dataviz.util=H.util}(),window.kendo},"function"==typeof define&&define.amd?define:function(o,r,e){(e||r)()}),function(o,define){define("util/text-metrics.min",["kendo.core.min","util/main.min"],o)}(function(){!function(o){function r(){return{width:0,height:0,baseline:0}}function e(o,r,e){return c.current.measure(o,r,e)}function t(o,r){var e=[];if(o.length>0&&document.fonts){try{e=o.map(function(o){return document.fonts.load(o)})}catch(t){d.logToConsole(t)}Promise.all(e).then(r,r)}else r()}var n=document,d=window.kendo,a=d.Class,s=d.util,l=s.defined,i=a.extend({init:function(o){this._size=o,this._length=0,this._map={}},put:function(o,r){var e=this,t=e._map,n={key:o,value:r};t[o]=n,e._head?(e._tail.newer=n,n.older=e._tail,e._tail=n):e._head=e._tail=n,e._length>=e._size?(t[e._head.key]=null,e._head=e._head.newer,e._head.older=null):e._length++},get:function(o){var r=this,e=r._map[o];if(e)return e===r._head&&e!==r._tail&&(r._head=e.newer,r._head.older=null),e!==r._tail&&(e.older&&(e.older.newer=e.newer,e.newer.older=e.older),e.older=r._tail,e.newer=null,r._tail.newer=e,r._tail=e),e.value}}),u=o("<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],c=a.extend({init:function(o){this._cache=new i(1e3),this._initOptions(o)},options:{baselineMarkerSize:1},measure:function(e,t,d){var a,i,c,g,w,C,h,f;if(!e)return r();if(a=s.objectKey(t),i=s.hashKey(e+a),c=this._cache.get(i),c)return c;g=r(),w=d?d:u,C=this._baselineMarker().cloneNode(!1);for(h in t)f=t[h],l(f)&&(w.style[h]=f);return o(w).text(e),w.appendChild(C),n.body.appendChild(w),(e+"").length&&(g.width=w.offsetWidth-this.options.baselineMarkerSize,g.height=w.offsetHeight,g.baseline=C.offsetTop+this.options.baselineMarkerSize),g.width>0&&g.height>0&&this._cache.put(i,g),w.parentNode.removeChild(w),g},_baselineMarker:function(){return o("<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]}});c.current=new c,d.util.TextMetrics=c,d.util.LRUCache=i,d.util.loadFonts=t,d.util.measureText=e}(window.kendo.jQuery)},"function"==typeof define&&define.amd?define:function(o,r,e){(e||r)()}),function(o,define){define("util/base64.min",["util/main.min"],o)}(function(){return function(){function o(o){var e,t,n,a,s,l,i,u="",c=0;for(o=r(o);c<o.length;)e=o.charCodeAt(c++),t=o.charCodeAt(c++),n=o.charCodeAt(c++),a=e>>2,s=(3&e)<<4|t>>4,l=(15&t)<<2|n>>6,i=63&n,isNaN(t)?l=i=64:isNaN(n)&&(i=64),u=u+d.charAt(a)+d.charAt(s)+d.charAt(l)+d.charAt(i);return u}function r(o){var r,e,t="";for(r=0;r<o.length;r++)e=o.charCodeAt(r),e<128?t+=n(e):e<2048?(t+=n(192|e>>>6),t+=n(128|63&e)):e<65536&&(t+=n(224|e>>>12),t+=n(128|e>>>6&63),t+=n(128|63&e));return t}var e=window.kendo,t=e.deepExtend,n=String.fromCharCode,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t(e.util,{encodeBase64:o,encodeUTF8:r})}(),window.kendo},"function"==typeof define&&define.amd?define:function(o,r,e){(e||r)()}),function(o,define){define("mixins/observers.min",["kendo.core.min"],o)}(function(){return function(o){var r=Math,e=window.kendo,t=e.deepExtend,n=o.inArray,d={observers:function(){return this._observers=this._observers||[]},addObserver:function(o){return this._observers?this._observers.push(o):this._observers=[o],this},removeObserver:function(o){var r=this.observers(),e=n(o,r);return e!=-1&&r.splice(e,1),this},trigger:function(o,r){var e,t,n=this._observers;if(n&&!this._suspended)for(t=0;t<n.length;t++)e=n[t],e[o]&&e[o](r);return this},optionsChange:function(o){o=o||{},o.element=this,this.trigger("optionsChange",o)},geometryChange:function(){this.trigger("geometryChange",{element:this})},suspend:function(){return this._suspended=(this._suspended||0)+1,this},resume:function(){return this._suspended=r.max((this._suspended||0)-1,0),this},_observerField:function(o,r){this[o]&&this[o].removeObserver(this),this[o]=r,r.addObserver(this)}};t(e,{mixins:{ObserversMixin:d}})}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(o,r,e){(e||r)()}),function(o,define){define("kendo.dataviz.qrcode.min",["kendo.dataviz.core.min","kendo.drawing.min"],o)}(function(){return function(o,r){function e(o){return parseInt(o,2)}function t(o,r){var e=(+o).toString(2);return e.length<r&&(e=Array(r-e.length+1).join(0)+e),e}function n(o,r){for(var e=[],t=0;t<o.length;)e.push(o.substring(t,t+r)),t+=r;return e}function d(o,r,e,t){for(var n=0;n<o.length;n++)o[n][e][t]=r}function a(o,r,e,t){for(var n=0;n<ko.length;n++)o[n][e][t]=ko[n](e,t)?1^r:parseInt(r,10)}function s(){var o,r;for(r=1;r<255;r++)o=2*ao[r-1],o>255&&(o=285^o),ao[r]=o,no[o]=r;o=2*ao[r-1]^285,ao[r]=o,ao[-1]=0}function l(){var o,r,e,t=68;for(o=2;o<=t;o++)r=so[o-1],e=[o,0],so[o]=D(r,e)}function i(o,e){var t=[],n=o.length-1;do t[n]=ao[(o[n]+e)%255],n--;while(o[n]!==r);return t}function u(o,r){return parseInt(o.charAt(r),10)}function c(o,r,e,t,n){r[o][t]=(r[o][t]<<1^n)%128,r[o][t]==po&&(e[o]+=40)}function g(o,r,e,t,n,d){e[o][d]==t?n[o][d]++:(e[o][d]=t,n[o][d]>=5&&(r[o]+=3+n[o][d]-5),n[o][d]=1)}function w(o,r){var e=Math.floor(o/r*100),t=e%5,n=Math.abs(e-t-50),d=Math.abs(e+5-t-50),a=10*Math.min(n/5,d/5);return a}var C,h,f,p,k,B,D,P,v,m,M,_,L,x,A,b,y,S,Q,E,H,I,R,T,N,O,U,V,z,F,j,K,Z,W,G=window.kendo,X=o.extend,q=G.drawing,$=G.dataviz,J=G.ui.Widget,Y=$.Box2D,oo="0000",ro="numeric",eo="alphanumeric",to="byte",no={1:0},ao={0:1},so=[[1,0],[1,25,0]],lo={15:20,16:20,18:24,19:24,22:20,24:22,26:24,28:20,30:20,31:24,32:28,33:24,36:18,37:22,39:20,40:24},io=[{L:{groups:[[1,19]],totalDataCodewords:19,errorCodewordsPerBlock:7},M:{groups:[[1,16]],totalDataCodewords:16,errorCodewordsPerBlock:10},Q:{groups:[[1,13]],totalDataCodewords:13,errorCodewordsPerBlock:13},H:{groups:[[1,9]],totalDataCodewords:9,errorCodewordsPerBlock:17}},{L:{groups:[[1,34]],totalDataCodewords:34,errorCodewordsPerBlock:10},M:{groups:[[1,28]],totalDataCodewords:28,errorCodewordsPerBlock:16},Q:{groups:[[1,22]],totalDataCodewords:22,errorCodewordsPerBlock:22},H:{groups:[[1,16]],totalDataCodewords:16,errorCodewordsPerBlock:28}},{L:{groups:[[1,55]],totalDataCodewords:55,errorCodewordsPerBlock:15},M:{groups:[[1,44]],totalDataCodewords:44,errorCodewordsPerBlock:26},Q:{groups:[[2,17]],totalDataCodewords:34,errorCodewordsPerBlock:18},H:{groups:[[2,13]],totalDataCodewords:26,errorCodewordsPerBlock:22}},{L:{groups:[[1,80]],totalDataCodewords:80,errorCodewordsPerBlock:20},M:{groups:[[2,32]],totalDataCodewords:64,errorCodewordsPerBlock:18},Q:{groups:[[2,24]],totalDataCodewords:48,errorCodewordsPerBlock:26},H:{groups:[[4,9]],totalDataCodewords:36,errorCodewordsPerBlock:16}},{L:{groups:[[1,108]],totalDataCodewords:108,errorCodewordsPerBlock:26},M:{groups:[[2,43]],totalDataCodewords:86,errorCodewordsPerBlock:24},Q:{groups:[[2,15],[2,16]],totalDataCodewords:62,errorCodewordsPerBlock:18},H:{groups:[[2,11],[2,12]],totalDataCodewords:46,errorCodewordsPerBlock:22}},{L:{groups:[[2,68]],totalDataCodewords:136,errorCodewordsPerBlock:18},M:{groups:[[4,27]],totalDataCodewords:108,errorCodewordsPerBlock:16},Q:{groups:[[4,19]],totalDataCodewords:76,errorCodewordsPerBlock:24},H:{groups:[[4,15]],totalDataCodewords:60,errorCodewordsPerBlock:28}},{L:{groups:[[2,78]],totalDataCodewords:156,errorCodewordsPerBlock:20},M:{groups:[[4,31]],totalDataCodewords:124,errorCodewordsPerBlock:18},Q:{groups:[[2,14],[4,15]],totalDataCodewords:88,errorCodewordsPerBlock:18},H:{groups:[[4,13],[1,14]],totalDataCodewords:66,errorCodewordsPerBlock:26}},{L:{groups:[[2,97]],totalDataCodewords:194,errorCodewordsPerBlock:24},M:{groups:[[2,38],[2,39]],totalDataCodewords:154,errorCodewordsPerBlock:22},Q:{groups:[[4,18],[2,19]],totalDataCodewords:110,errorCodewordsPerBlock:22},H:{groups:[[4,14],[2,15]],totalDataCodewords:86,errorCodewordsPerBlock:26}},{L:{groups:[[2,116]],totalDataCodewords:232,errorCodewordsPerBlock:30},M:{groups:[[3,36],[2,37]],totalDataCodewords:182,errorCodewordsPerBlock:22},Q:{groups:[[4,16],[4,17]],totalDataCodewords:132,errorCodewordsPerBlock:20},H:{groups:[[4,12],[4,13]],totalDataCodewords:100,errorCodewordsPerBlock:24}},{L:{groups:[[2,68],[2,69]],totalDataCodewords:274,errorCodewordsPerBlock:18},M:{groups:[[4,43],[1,44]],totalDataCodewords:216,errorCodewordsPerBlock:26},Q:{groups:[[6,19],[2,20]],totalDataCodewords:154,errorCodewordsPerBlock:24},H:{groups:[[6,15],[2,16]],totalDataCodewords:122,errorCodewordsPerBlock:28}},{L:{groups:[[4,81]],totalDataCodewords:324,errorCodewordsPerBlock:20},M:{groups:[[1,50],[4,51]],totalDataCodewords:254,errorCodewordsPerBlock:30},Q:{groups:[[4,22],[4,23]],totalDataCodewords:180,errorCodewordsPerBlock:28},H:{groups:[[3,12],[8,13]],totalDataCodewords:140,errorCodewordsPerBlock:24}},{L:{groups:[[2,92],[2,93]],totalDataCodewords:370,errorCodewordsPerBlock:24},M:{groups:[[6,36],[2,37]],totalDataCodewords:290,errorCodewordsPerBlock:22},Q:{groups:[[4,20],[6,21]],totalDataCodewords:206,errorCodewordsPerBlock:26},H:{groups:[[7,14],[4,15]],totalDataCodewords:158,errorCodewordsPerBlock:28}},{L:{groups:[[4,107]],totalDataCodewords:428,errorCodewordsPerBlock:26},M:{groups:[[8,37],[1,38]],totalDataCodewords:334,errorCodewordsPerBlock:22},Q:{groups:[[8,20],[4,21]],totalDataCodewords:244,errorCodewordsPerBlock:24},H:{groups:[[12,11],[4,12]],totalDataCodewords:180,errorCodewordsPerBlock:22}},{L:{groups:[[3,115],[1,116]],totalDataCodewords:461,errorCodewordsPerBlock:30},M:{groups:[[4,40],[5,41]],totalDataCodewords:365,errorCodewordsPerBlock:24},Q:{groups:[[11,16],[5,17]],totalDataCodewords:261,errorCodewordsPerBlock:20},H:{groups:[[11,12],[5,13]],totalDataCodewords:197,errorCodewordsPerBlock:24}},{L:{groups:[[5,87],[1,88]],totalDataCodewords:523,errorCodewordsPerBlock:22},M:{groups:[[5,41],[5,42]],totalDataCodewords:415,errorCodewordsPerBlock:24},Q:{groups:[[5,24],[7,25]],totalDataCodewords:295,errorCodewordsPerBlock:30},H:{groups:[[11,12],[7,13]],totalDataCodewords:223,errorCodewordsPerBlock:24}},{L:{groups:[[5,98],[1,99]],totalDataCodewords:589,errorCodewordsPerBlock:24},M:{groups:[[7,45],[3,46]],totalDataCodewords:453,errorCodewordsPerBlock:28},Q:{groups:[[15,19],[2,20]],totalDataCodewords:325,errorCodewordsPerBlock:24},H:{groups:[[3,15],[13,16]],totalDataCodewords:253,errorCodewordsPerBlock:30}},{L:{groups:[[1,107],[5,108]],totalDataCodewords:647,errorCodewordsPerBlock:28},M:{groups:[[10,46],[1,47]],totalDataCodewords:507,errorCodewordsPerBlock:28},Q:{groups:[[1,22],[15,23]],totalDataCodewords:367,errorCodewordsPerBlock:28},H:{groups:[[2,14],[17,15]],totalDataCodewords:283,errorCodewordsPerBlock:28}},{L:{groups:[[5,120],[1,121]],totalDataCodewords:721,errorCodewordsPerBlock:30},M:{groups:[[9,43],[4,44]],totalDataCodewords:563,errorCodewordsPerBlock:26},Q:{groups:[[17,22],[1,23]],totalDataCodewords:397,errorCodewordsPerBlock:28},H:{groups:[[2,14],[19,15]],totalDataCodewords:313,errorCodewordsPerBlock:28}},{L:{groups:[[3,113],[4,114]],totalDataCodewords:795,errorCodewordsPerBlock:28},M:{groups:[[3,44],[11,45]],totalDataCodewords:627,errorCodewordsPerBlock:26},Q:{groups:[[17,21],[4,22]],totalDataCodewords:445,errorCodewordsPerBlock:26},H:{groups:[[9,13],[16,14]],totalDataCodewords:341,errorCodewordsPerBlock:26}},{L:{groups:[[3,107],[5,108]],totalDataCodewords:861,errorCodewordsPerBlock:28},M:{groups:[[3,41],[13,42]],totalDataCodewords:669,errorCodewordsPerBlock:26},Q:{groups:[[15,24],[5,25]],totalDataCodewords:485,errorCodewordsPerBlock:30},H:{groups:[[15,15],[10,16]],totalDataCodewords:385,errorCodewordsPerBlock:28}},{L:{groups:[[4,116],[4,117]],totalDataCodewords:932,errorCodewordsPerBlock:28},M:{groups:[[17,42]],totalDataCodewords:714,errorCodewordsPerBlock:26},Q:{groups:[[17,22],[6,23]],totalDataCodewords:512,errorCodewordsPerBlock:28},H:{groups:[[19,16],[6,17]],totalDataCodewords:406,errorCodewordsPerBlock:30}},{L:{groups:[[2,111],[7,112]],totalDataCodewords:1006,errorCodewordsPerBlock:28},M:{groups:[[17,46]],totalDataCodewords:782,errorCodewordsPerBlock:28},Q:{groups:[[7,24],[16,25]],totalDataCodewords:568,errorCodewordsPerBlock:30},H:{groups:[[34,13]],totalDataCodewords:442,errorCodewordsPerBlock:24}},{L:{groups:[[4,121],[5,122]],totalDataCodewords:1094,errorCodewordsPerBlock:30},M:{groups:[[4,47],[14,48]],totalDataCodewords:860,errorCodewordsPerBlock:28},Q:{groups:[[11,24],[14,25]],totalDataCodewords:614,errorCodewordsPerBlock:30},H:{groups:[[16,15],[14,16]],totalDataCodewords:464,errorCodewordsPerBlock:30}},{L:{groups:[[6,117],[4,118]],totalDataCodewords:1174,errorCodewordsPerBlock:30},M:{groups:[[6,45],[14,46]],totalDataCodewords:914,errorCodewordsPerBlock:28},Q:{groups:[[11,24],[16,25]],totalDataCodewords:664,errorCodewordsPerBlock:30},H:{groups:[[30,16],[2,17]],totalDataCodewords:514,errorCodewordsPerBlock:30}},{L:{groups:[[8,106],[4,107]],totalDataCodewords:1276,errorCodewordsPerBlock:26},M:{groups:[[8,47],[13,48]],totalDataCodewords:1e3,errorCodewordsPerBlock:28},Q:{groups:[[7,24],[22,25]],totalDataCodewords:718,errorCodewordsPerBlock:30},H:{groups:[[22,15],[13,16]],totalDataCodewords:538,errorCodewordsPerBlock:30}},{L:{groups:[[10,114],[2,115]],totalDataCodewords:1370,errorCodewordsPerBlock:28},M:{groups:[[19,46],[4,47]],totalDataCodewords:1062,errorCodewordsPerBlock:28},Q:{groups:[[28,22],[6,23]],totalDataCodewords:754,errorCodewordsPerBlock:28},H:{groups:[[33,16],[4,17]],totalDataCodewords:596,errorCodewordsPerBlock:30}},{L:{groups:[[8,122],[4,123]],totalDataCodewords:1468,errorCodewordsPerBlock:30},M:{groups:[[22,45],[3,46]],totalDataCodewords:1128,errorCodewordsPerBlock:28},Q:{groups:[[8,23],[26,24]],totalDataCodewords:808,errorCodewordsPerBlock:30},H:{groups:[[12,15],[28,16]],totalDataCodewords:628,errorCodewordsPerBlock:30}},{L:{groups:[[3,117],[10,118]],totalDataCodewords:1531,errorCodewordsPerBlock:30},M:{groups:[[3,45],[23,46]],totalDataCodewords:1193,errorCodewordsPerBlock:28},Q:{groups:[[4,24],[31,25]],totalDataCodewords:871,errorCodewordsPerBlock:30},H:{groups:[[11,15],[31,16]],totalDataCodewords:661,errorCodewordsPerBlock:30}},{L:{groups:[[7,116],[7,117]],totalDataCodewords:1631,errorCodewordsPerBlock:30},M:{groups:[[21,45],[7,46]],totalDataCodewords:1267,errorCodewordsPerBlock:28},Q:{groups:[[1,23],[37,24]],totalDataCodewords:911,errorCodewordsPerBlock:30},H:{groups:[[19,15],[26,16]],totalDataCodewords:701,errorCodewordsPerBlock:30}},{L:{groups:[[5,115],[10,116]],totalDataCodewords:1735,errorCodewordsPerBlock:30},M:{groups:[[19,47],[10,48]],totalDataCodewords:1373,errorCodewordsPerBlock:28},Q:{groups:[[15,24],[25,25]],totalDataCodewords:985,errorCodewordsPerBlock:30},H:{groups:[[23,15],[25,16]],totalDataCodewords:745,errorCodewordsPerBlock:30}},{L:{groups:[[13,115],[3,116]],totalDataCodewords:1843,errorCodewordsPerBlock:30},M:{groups:[[2,46],[29,47]],totalDataCodewords:1455,errorCodewordsPerBlock:28},Q:{groups:[[42,24],[1,25]],totalDataCodewords:1033,errorCodewordsPerBlock:30},H:{groups:[[23,15],[28,16]],totalDataCodewords:793,errorCodewordsPerBlock:30}},{L:{groups:[[17,115]],totalDataCodewords:1955,errorCodewordsPerBlock:30},M:{groups:[[10,46],[23,47]],totalDataCodewords:1541,errorCodewordsPerBlock:28},Q:{groups:[[10,24],[35,25]],totalDataCodewords:1115,errorCodewordsPerBlock:30},H:{groups:[[19,15],[35,16]],totalDataCodewords:845,errorCodewordsPerBlock:30}},{L:{groups:[[17,115],[1,116]],totalDataCodewords:2071,errorCodewordsPerBlock:30},M:{groups:[[14,46],[21,47]],totalDataCodewords:1631,errorCodewordsPerBlock:28},Q:{groups:[[29,24],[19,25]],totalDataCodewords:1171,errorCodewordsPerBlock:30},H:{groups:[[11,15],[46,16]],totalDataCodewords:901,errorCodewordsPerBlock:30}},{L:{groups:[[13,115],[6,116]],totalDataCodewords:2191,errorCodewordsPerBlock:30},M:{groups:[[14,46],[23,47]],totalDataCodewords:1725,errorCodewordsPerBlock:28},Q:{groups:[[44,24],[7,25]],totalDataCodewords:1231,errorCodewordsPerBlock:30},H:{groups:[[59,16],[1,17]],totalDataCodewords:961,errorCodewordsPerBlock:30}},{L:{groups:[[12,121],[7,122]],totalDataCodewords:2306,errorCodewordsPerBlock:30},M:{groups:[[12,47],[26,48]],totalDataCodewords:1812,errorCodewordsPerBlock:28},Q:{groups:[[39,24],[14,25]],totalDataCodewords:1286,errorCodewordsPerBlock:30},H:{groups:[[22,15],[41,16]],totalDataCodewords:986,errorCodewordsPerBlock:30}},{L:{groups:[[6,121],[14,122]],totalDataCodewords:2434,errorCodewordsPerBlock:30},M:{groups:[[6,47],[34,48]],totalDataCodewords:1914,errorCodewordsPerBlock:28},Q:{groups:[[46,24],[10,25]],totalDataCodewords:1354,errorCodewordsPerBlock:30},H:{groups:[[2,15],[64,16]],totalDataCodewords:1054,errorCodewordsPerBlock:30}},{L:{groups:[[17,122],[4,123]],totalDataCodewords:2566,errorCodewordsPerBlock:30},M:{groups:[[29,46],[14,47]],totalDataCodewords:1992,errorCodewordsPerBlock:28},Q:{groups:[[49,24],[10,25]],totalDataCodewords:1426,errorCodewordsPerBlock:30},H:{groups:[[24,15],[46,16]],totalDataCodewords:1096,errorCodewordsPerBlock:30}},{L:{groups:[[4,122],[18,123]],totalDataCodewords:2702,errorCodewordsPerBlock:30},M:{groups:[[13,46],[32,47]],totalDataCodewords:2102,errorCodewordsPerBlock:28},Q:{groups:[[48,24],[14,25]],totalDataCodewords:1502,errorCodewordsPerBlock:30},H:{groups:[[42,15],[32,16]],totalDataCodewords:1142,errorCodewordsPerBlock:30}},{L:{groups:[[20,117],[4,118]],totalDataCodewords:2812,errorCodewordsPerBlock:30},M:{groups:[[40,47],[7,48]],totalDataCodewords:2216,errorCodewordsPerBlock:28},Q:{groups:[[43,24],[22,25]],totalDataCodewords:1582,errorCodewordsPerBlock:30},H:{groups:[[10,15],[67,16]],totalDataCodewords:1222,errorCodewordsPerBlock:30}},{L:{groups:[[19,118],[6,119]],totalDataCodewords:2956,errorCodewordsPerBlock:30},M:{groups:[[18,47],[31,48]],totalDataCodewords:2334,errorCodewordsPerBlock:28},Q:{groups:[[34,24],[34,25]],totalDataCodewords:1666,errorCodewordsPerBlock:30},H:{groups:[[20,15],[61,16]],totalDataCodewords:1276,errorCodewordsPerBlock:30}}],uo=[1,0,1,1,1],co=[1,0,1],go={L:"01",M:"00",Q:"11",H:"10"},wo="101010000010010",Co="10100110111",ho="1111100100101",fo=["11101100","00010001"],po=93,ko=[function(o,r){return(o+r)%2===0},function(o){return o%2===0},function(o,r){return r%3===0},function(o,r){return(o+r)%3===0},function(o,r){return(Math.floor(o/2)+Math.floor(r/3))%2===0},function(o,r){return o*r%2+o*r%3===0},function(o,r){return(o*r%2+o*r%3)%2===0},function(o,r){return((o+r)%2+o*r%3)%2===0}],Bo=/^\d+/,Do="A-Z0-9 $%*+./:-",Po="A-Z $%*+./:-",vo=RegExp("^["+Po+"]+"),mo=RegExp("^["+Do+"]+"),Mo=RegExp("^[^"+Do+"]+"),_o=8,Lo=5,xo=8,Ao=17,bo=9,yo=16,So=Math.round,Qo=G.Class.extend({getVersionIndex:function(o){return o<10?0:o>26?2:1},getBitsCharacterCount:function(o){var r=this;return r.bitsInCharacterCount[r.getVersionIndex(o||40)]},getModeCountString:function(o,r){var e=this;return e.modeIndicator+t(o,e.getBitsCharacterCount(r))},encode:function(){},getStringBitsLength:function(){},getValue:function(){},modeIndicator:"",bitsInCharacterCount:[]}),Eo={};Eo[ro]=Qo.extend({bitsInCharacterCount:[10,12,14],modeIndicator:"0001",getValue:function(o){return parseInt(o,10)},encode:function(o,r){var e,d=this,a=n(o,3),s=d.getModeCountString(o.length,r);for(e=0;e<a.length-1;e++)s+=t(a[e],10);return s+t(a[e],1+3*a[e].length)},getStringBitsLength:function(o,r){var e=o%3;return 4+this.getBitsCharacterCount(r)+10*Math.floor(o/3)+3*e+(0===e?0:1)}}),Eo[eo]=Qo.extend({characters:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:18,J:19,K:20,L:21,M:22,N:23,O:24,P:25,Q:26,R:27,S:28,T:29,U:30,V:31,W:32,X:33,Y:34,Z:35," ":36,$:37,"%":38,"*":39,"+":40,"-":41,".":42,"/":43,":":44},bitsInCharacterCount:[9,11,13],modeIndicator:"0010",getValue:function(o){return this.characters[o]},encode:function(o,r){var e,d,a=this,s=n(o,2),l=a.getModeCountString(o.length,r);for(d=0;d<s.length-1;d++)e=45*a.getValue(s[d].charAt(0))+a.getValue(s[d].charAt(1)),l+=t(e,11);return e=2==s[d].length?45*a.getValue(s[d].charAt(0))+a.getValue(s[d].charAt(1)):a.getValue(s[d].charAt(0)),l+t(e,1+5*s[d].length)},getStringBitsLength:function(o,r){return 4+this.getBitsCharacterCount(r)+11*Math.floor(o/2)+6*(o%2)}}),Eo[to]=Qo.extend({bitsInCharacterCount:[8,16,16],modeIndicator:"0100",getValue:function(o){var r=o.charCodeAt(0);if(r<=127||160<=r&&r<=255)return r;throw Error("Unsupported character: "+o)},encode:function(o,r){var e,n=this,d=n.getModeCountString(o.length,r);for(e=0;e<o.length;e++)d+=t(n.getValue(o.charAt(e)),8);return d},getStringBitsLength:function(o,r){return 4+this.getBitsCharacterCount(r)+8*o}}),C={};for(h in Eo)C[h]=new Eo[h];f=function(o){var e=this,t=o.length-1,n=o.length-1,d=n,a=-1,s=0;e.move=function(){t+=a*s,s^=1,n=d-s},e.getNextCell=function(){for(;o[t][n]!==r;)e.move(),(t<0||t>=o.length)&&(a=-a,d-=8!=d?2:3,n=d,t=a<0?o.length-1:0);return{row:t,column:n}},e.getNextRemainderCell=function(){if(e.move(),o[t][n]===r)return{row:t,column:n}}},p=function(o,r){var e,t,n,d,s,l,i=new f(o[0]);for(d=0;d<r.length;d++)for(e=r[d],t=0;e.length>0;){for(s=0;s<e.length;s++)for(l=0;l<8;l++)n=i.getNextCell(),a(o,e[s][t].charAt(l),n.row,n.column);for(t++;e[0]&&t==e[0].length;)e.splice(0,1)}for(;n=i.getNextRemainderCell();)a(o,0,n.row,n.column)},k=function(o,r){for(var e=8*r,t=0,n=0;o.length<e&&t<oo.length;)o+=oo.charAt(t++);for(o.length%8!==0&&(o+=Array(9-o.length%8).join("0"));o.length<e;)o+=fo[n],n^=1;return o},B=function(o,r){var e,t=[],n=o.length-2;for(e=n;e>=0;e--)t[e]=o[e]^r[e];return t},D=function(o,e){var t,n,d=[];for(t=0;t<o.length;t++)for(n=0;n<e.length;n++)d[t+n]=d[t+n]===r?(o[t]+(e[n]>=0?e[n]:0))%255:no[ao[d[t+n]]^ao[(o[t]+e[n])%255]];return d},s(),l(),P=function(o,r){var e,n,d=so[r-1],a=Array(r).concat(o),s=Array(a.length-d.length).concat(d),l=o.length,u=[];for(n=0;n<l;n++)e=i(s,no[a[a.length-1]]),s.splice(0,1),a=B(e,a);for(n=a.length-1;n>=0;n--)u[r-1-n]=t(a[n],8);return u},v=function(o,r){var t,n,d,a,s,l,i,u,c=0,g=[],w=[],C=r.groups;for(l=0;l<C.length;l++)for(d=C[l][0],i=0;i<d;i++){for(n=C[l][1],t=[],a=[],u=1;u<=n;u++)s=o.substring(c,c+8),t.push(s),a[n-u]=e(s),c+=8;g.push(t),w.push(P(a,r.errorCodewordsPerBlock))}return[g,w]},m=function(o,r,e,t,n){var d,a,s=Bo.exec(o),l=s?s[0]:"",i=vo.exec(o),u=i?i[0]:"",c=mo.exec(o),g=c?c[0]:"";return l&&(l.length>=r||o.length==l.length||l.length>=e&&!mo.test(o.charAt(l.length)))?(d=ro,a=l):g&&(o.length==g.length||g.length>=t||n==eo)?(d=eo,a=l||u):(d=to,a=g?g+Mo.exec(o.substring(g.length))[0]:Mo.exec(o)[0]),{mode:d,modeString:a}},M=function(o){var r,e,t=[],n=0;for(t.push(m(o,_o,Lo,xo,r)),r=t[0].mode,o=o.substr(t[0].modeString.length);o.length>0;)e=m(o,Ao,bo,yo,r),e.mode!=r?(r=e.mode,t.push(e),n++):t[n].modeString+=e.modeString,o=o.substr(e.modeString.length);return t},_=function(o){var r,e,t=0;for(e=0;e<o.length;e++)r=C[o[e].mode],t+=r.getStringBitsLength(o[e].modeString.length);return Math.ceil(t/8)},L=function(o,r){var e=0,t=io.length-1,n=Math.floor(io.length/2);do o<io[n][r].totalDataCodewords?t=n:e=n,n=e+Math.floor((t-e)/2);while(t-e>1);return o<=io[e][r].totalDataCodewords?n+1:t+1},x=function(o,r){var e,t,n="";for(t=0;t<o.length;t++)e=C[o[t].mode],n+=e.encode(o[t].modeString,r);return n},A=function(o){var r,t,n=e(o),d="";if(0===n)return"101010000010010";for(r=b(e(o),Co,15),t=0;t<r.length;t++)d+=r.charAt(t)^wo.charAt(t);return d},b=function(o,r,n){var d=e(r),a=r.length-1,s=o<<a,l=n-a,i=t(o,l),u=y(s,d);return u=i+t(u,a)},y=function(o,r){var e=r.toString(2).length,t=o.toString(2).length;do o^=r<<t-e,t=o.toString(2).length;while(t>=e);return o},S=function(o){var r,e,t=[],n=17+4*o;for(r=0;r<ko.length;r++)for(t[r]=Array(n),e=0;e<n;e++)t[r][e]=Array(n);return t},Q=function(o,r){var e,t,n=o[0],a=0,s=r.length;for(e=0,t=8;e<=8;e++)6!==e&&d(o,u(r,s-1-a++),e,t);for(e=8,t=7;t>=0;t--)6!==t&&d(o,u(r,s-1-a++),e,t);for(a=0,t=n.length-1,e=8;t>=n.length-8;t--)d(o,u(r,s-1-a++),e,t);for(d(o,1,n.length-8,8),e=n.length-7,t=8;e<n.length;e++)d(o,u(r,s-1-a++),e,t)},E=function(o){return b(o,ho,18)},H=function(o,r){var e,t,n,a,s=o[0],l=s.length,i=0,c=l-11,g=l-11,w=0;for(a=0;a<r.length;a++)e=Math.floor(a/3),t=a%3,n=u(r,r.length-a-1),d(o,n,i+e,c+t),d(o,n,g+t,w+e)},I=function(o,r,e,t){var n,a,s,l=r.length+2,i=r.length+1;for(a=0;a<r.length;a++)for(s=a;s<l-a;s++)n=r[a],d(o,n,e+s,t+a),d(o,n,e+a,t+s),d(o,n,e+i-s,t+i-a),d(o,n,e+i-a,t+i-s)},R=function(o,r,e,t){var n=e,a=t,s=o[0];do d(o,0,n,t),d(o,0,e,a),n+=r[0],a+=r[1];while(n>=0&&n<s.length)},T=function(o){var r=o[0].length;I(o,uo,0,0),R(o,[-1,-1],7,7),I(o,uo,r-7,0),R(o,[1,-1],r-8,7),I(o,uo,0,r-7),R(o,[-1,1],7,r-8)},N=function(o,e){var t,n,d,a,s,l,i,u,c;if(!(e<2)){for(t=o[0],n=t.length,d=Math.floor(e/7),a=[6],i=0,(s=lo[e])?l=(n-13-s)/d:s=l=(n-13)/(d+1),a.push(a[i++]+s);a[i]+l<n;)a.push(a[i++]+l);for(u=0;u<a.length;u++)for(c=0;c<a.length;c++)t[a[u]][a[c]]===r&&I(o,co,a[u]-2,a[c]-2)}},O=function(o){var r,e=6,t=6,n=1,a=o[0].length;for(r=8;r<a-8;r++)d(o,n,e,r),d(o,n,r,t),n^=1},U=function(o){var r,e,t,n,d,a,s,l=[],i=[],u=[],C=[],h=[],f=0,p=1,k=o[0].length;for(e=0;e<o.length;e++)l[e]=0,u[e]=0,h[e]=[0,0],C[e]=[0,0],i[e]=[];for(e=0;e<k;e++)for(t=0;t<k;t++)for(n=0;n<o.length;n++)r=o[n],u[n]+=parseInt(r[e][t],10),i[n][f]===r[e][t]&&e+1<k&&t-1>=0&&r[e+1][t]==i[n][f]&&r[e+1][t-1]==i[n][f]&&(l[n]+=3),c(n,C,l,f,r[e][t]),c(n,C,l,p,r[t][e]),g(n,l,i,r[e][t],h,f),g(n,l,i,r[t][e],h,p);for(d=k*k,s=Number.MAX_VALUE,e=0;e<l.length;e++)l[e]+=w(u[e],d),l[e]<s&&(s=l[e],a=e);return a},V=function(o,r){this.dataString=o,this.version=r},z=function(){this.getEncodingResult=function(o,r){var e=M(o),t=_(e),n=L(t,r),d=x(e,n);return new V(d,n)}},F=function(){this.mode=C[this.encodingMode]},F.fn=F.prototype={encodingMode:to,utfBOM:"111011111011101110111111",initialModeCountStringLength:20,getEncodingResult:function(o,r){var e=this,t=e.encode(o),n=e.getDataCodewordsCount(t),d=L(n,r),a=e.mode.getModeCountString(t.length/8,d)+t;return new V(a,d)},getDataCodewordsCount:function(o){var r=this,e=o.length,t=Math.ceil((r.initialModeCountStringLength+e)/8);return t},encode:function(o){var r,e=this,t=e.utfBOM;for(r=0;r<o.length;r++)t+=e.encodeCharacter(o.charCodeAt(r));return t},encodeCharacter:function(o){var r,e,n=this.getBytesCount(o),d=n-1,a="";if(1==n)a=t(o,8);else{for(r=8-n,e=0;e<d;e++)a=t(o>>6*e&63|128,8)+a;a=(o>>6*d|255>>r<<r).toString(2)+a}return a},getBytesCount:function(o){var r,e=this.ranges;for(r=0;r<e.length;r++)if(o<e[r])return r+1},ranges:[128,2048,65536,2097152,67108864]},j=function(o){return o&&o.toLowerCase().indexOf("utf_8")>=0?new F:new z},K=function(o,r,e){var n,d,a,s=new j(e),l=s.getEncodingResult(o,r),i=l.version,u=io[i-1][r],c=k(l.dataString,u.totalDataCodewords),g=v(c,u),w=S(i);return T(w),N(w,i),O(w),i>=7&&H(w,t(0,18)),Q(w,t(0,15)),p(w,g),n=U(w),d=w[n],i>=7&&H([d],E(i)),a=go[r]+t(n,3),Q([d],A(a)),d},Z={DEFAULT_SIZE:200,QUIET_ZONE_LENGTH:4,DEFAULT_ERROR_CORRECTION_LEVEL:"L",DEFAULT_BACKGROUND:"#fff",DEFAULT_DARK_MODULE_COLOR:"#000",MIN_BASE_UNIT_SIZE:1},W=J.extend({init:function(r,e){var t=this;J.fn.init.call(t,r,e),t.element=o(r),t.wrapper=t.element,t.element.addClass("k-qrcode"),t.surfaceWrap=o("<div />").css("position","relative").appendTo(this.element),t.surface=q.Surface.create(t.surfaceWrap,{type:t.options.renderAs}),t.setOptions(e)},redraw:function(){var o=this._getSize();this.surfaceWrap.css({width:o,height:o}),this.surface.clear(),this.createVisual(),this.surface.draw(this.visual)},getSize:function(){return G.dimensions(this.element)},_resize:function(){this.redraw()},createVisual:function(){this.visual=this._render()},exportVisual:function(){return this._render()},_render:function(){var o,r,e,t,n,d,a,s=this,l=s._value,i=s.options.border||{},u=s.options.padding||0,c=i.width||0;return i.width=c,a=new q.Group,l&&(e=K(l,s.options.errorCorrection,s.options.encoding),t=s._getSize(),d=t-2*(c+u),o=s._calculateBaseUnit(d,e.length),n=e.length*o,r=c+u+(d-n)/2,a.append(s._renderBackground(t,i)),a.append(s._renderMatrix(e,o,r))),a},_getSize:function(){var o,r,e,t=this;return t.options.size?o=parseInt(t.options.size,10):(r=t.element,e=Math.min(r.width(),r.height()),o=e>0?e:Z.DEFAULT_SIZE),o},_calculateBaseUnit:function(o,r){var e=Math.floor(o/r);if(e<Z.MIN_BASE_UNIT_SIZE)throw Error("Insufficient size.");return e*r>=o&&e-1>=Z.MIN_BASE_UNIT_SIZE&&e--,e},_renderMatrix:function(o,r,e){
var t,n,d,a,s,l,i,u,c=new q.MultiPath({fill:{color:this.options.color},stroke:null});for(t=0;t<o.length;t++)for(n=e+t*r,d=0;d<o.length;){for(;0===o[t][d]&&d<o.length;)d++;if(d<o.length){for(a=d;1==o[t][d];)d++;s=So(e+a*r),l=So(n),i=So(e+d*r),u=So(n+r),c.moveTo(s,l).lineTo(s,u).lineTo(i,u).lineTo(i,l).close()}}return c},_renderBackground:function(o,r){var e=Y(0,0,o,o).unpad(r.width/2);return q.Path.fromRect(e.toRect(),{fill:{color:this.options.background},stroke:{color:r.color,width:r.width}})},setOptions:function(o){var e=this;o=o||{},e.options=X(e.options,o),o.value!==r&&(e._value=e.options.value+""),e.redraw()},value:function(o){var e=this;return o===r?e._value:(e._value=o+"",e.redraw(),r)},options:{name:"QRCode",renderAs:"svg",encoding:"ISO_8859_1",value:"",errorCorrection:Z.DEFAULT_ERROR_CORRECTION_LEVEL,background:Z.DEFAULT_BACKGROUND,color:Z.DEFAULT_DARK_MODULE_COLOR,size:"",padding:0,border:{color:"",width:0}}}),$.ExportMixin.extend(W.fn),$.ui.plugin(W),G.deepExtend($,{QRCode:W,QRCodeDefaults:Z,QRCodeFunctions:{FreeCellVisitor:f,fillData:p,padDataString:k,generateErrorCodewords:P,xorPolynomials:B,getBlocks:v,multiplyPolynomials:D,chooseMode:m,getModes:M,getDataCodewordsCount:_,getVersion:L,getDataString:x,encodeFormatInformation:A,encodeBCH:b,dividePolynomials:y,initMatrices:S,addFormatInformation:Q,encodeVersionInformation:E,addVersionInformation:H,addCentricPattern:I,addFinderSeparator:R,addFinderPatterns:T,addAlignmentPatterns:N,addTimingFunctions:O,scoreMaskMatrixes:U,encodeData:K,UTF8Encoder:F},QRCodeFields:{modes:C,powersOfTwo:no,powersOfTwoResult:ao,generatorPolynomials:so}})}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(o,r,e){(e||r)()});
//# sourceMappingURL=kendo.dataviz.qrcode.min.js.map
